An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 3.1% on proxy.golang.org
Top 3.4% dependent packages on proxy.golang.org
Top 2.1% dependent repos on proxy.golang.org
Top 3.1% forks on proxy.golang.org
Top 2.1% docker downloads on proxy.golang.org

proxy.golang.org : github.com/GoogleContainerTools/kpt-functions-catalog/thirdparty/kyaml/fnsdk

Package fnsdk provides an SDK for writing KRM functions in Go. The function specification is defined at: https://github.com/kubernetes-sigs/kustomize/blob/master/cmd/config/docs/api-conventions/functions-spec.md Note: this package is an alpha package. A KRM functions can generate, mutate or validate Kubernetes resources in a ResourceList. The ResourceList type and the KubeObject type are the core part of this package. The ResourceList type maps to the ResourceList in the function spec. The KubeObject represent a kubernetes resource in a ResourceList, and it's the basic unit to perform most CRUD operations. A KRM function does the following things: In most cases, you only need to do #2 which is implementing a ResourceListProcessor and then pass it to AsMain. In the following example, we use ResourceListProcessorFunc that implements the ResourceListProcessor interface. KubeObject hides all the details about yaml.Node and yaml.RNode. It is always recommended converting a KubeObject to a strong typed object or getting a field as a strong typed object. Then do the CRUD operation on the strong typed objects.

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/%21google%21container%21tools/kpt-functions-catalog/thirdparty/kyaml/fnsdk
Keywords: config-as-data , config-management , configuration , configuration-management , continuous-integration , customization , gitops , kpt , krm , kubernetes , kustomize , policy , shift-left , shift-left-security , typescript , unix-philosophy , validation
License: Apache-2.0
Latest release: almost 3 years ago
First release: almost 3 years ago
Namespace: github.com/GoogleContainerTools/kpt-functions-catalog/thirdparty/kyaml
Dependent packages: 3
Dependent repositories: 6
Stars: 78 on GitHub
Forks: 64 on GitHub
Docker dependents: 2
Docker downloads: 804
See more repository details: repos.ecosyste.ms
Last synced: 26 days ago

    Loading...
    Readme
    Loading...