Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ResourceMeta = yaml.ResourceMeta{ TypeMeta: yaml.TypeMeta{ APIVersion: "config.google.com/v1alpha1", Kind: "Plan", }, ObjectMeta: yaml.ObjectMeta{ NameMeta: yaml.NameMeta{ Name: "plan", }, Annotations: map[string]string{ "config.kubernetes.io/local-config": "true", }, }, }
Functions ¶
This section is empty.
Types ¶
type Action ¶
type Action struct {
Type ActionType `json:"action,omitempty" yaml:"action,omitempty"`
Group string `json:"apiVersion,omitempty" yaml:"apiVersion,omitempty"`
Kind string `json:"kind,omitempty" yaml:"kind,omitempty"`
Name string `json:"name,omitempty" yaml:"name,omitempty"`
Namespace string `json:"namespace,omitempty" yaml:"namespace,omitempty"`
Before *unstructured.Unstructured `json:"before,omitempty" yaml:"before,omitempty"`
After *unstructured.Unstructured `json:"after,omitempty" yaml:"after,omitempty"`
Error string `json:"error,omitempty" yaml:"error,omitempty"`
}
type ActionType ¶
type ActionType string
const ( Create ActionType = "Create" Unchanged ActionType = "Unchanged" Delete ActionType = "Delete" Update ActionType = "Update" Skip ActionType = "Skip" Error ActionType = "Error" )
type Plan ¶
type Plan struct {
yaml.ResourceMeta `yaml:",inline" json:",inline"`
Spec PlanSpec `json:"spec,omitempty" yaml:"spec,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.