Documentation ¶
Overview ¶
TODO(https://github.com/kubeflow/gcp-blueprints/issues/27): We should make this configurable and follow the model of image-prefix. This means instead of using a separate main.go we should use kustomize-fns/main.go and just register this function in the dispatcher.
Index ¶
Constants ¶
View Source
const ( Kind = "RemoveNamespace" APIVersion = "kubeflow.org/v1alpha1" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ClusterKind ¶
type Metadata ¶
type Metadata struct { // Name is the name of the RemoveNamespace Resources Name string `yaml:"name"` // Namespace is the namespace of the RemoveNamespace Resources Namespace string `yaml:"namespace"` // Labels are labels applied to the RemoveNamespace Resources Labels map[string]string `yaml:"labels"` // Annotations are annotations applied to the RemoveNamespace Resources Annotations map[string]string `yaml:"annotations"` }
type RemoveNamespaceFunction ¶
type RemoveNamespaceFunction struct { // Kind is the API name. Must be RemoveNamespace. Kind string `yaml:"kind"` // APIVersion is the API version. Must be examples.kpt.dev/v1alpha1 APIVersion string `yaml:"apiVersion"` // Metadata defines instance metadata. Metadata Metadata `yaml:"metadata"` // Spec defines the desired declarative configuration. Spec Spec `yaml:"spec"` }
RemoveNamespaceFunction implements the RemoveNamespace Function
type Spec ¶
type Spec struct {
ClusterKinds []*ClusterKind `yaml:"clusterKinds"`
}
Click to show internal directories.
Click to hide internal directories.