Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type OSTemplate ¶
type OSTemplate struct { ApiVersion string `yaml:"apiVersion"` Kind string `yaml:"kind"` Message string `yaml:"message,omitempty"` Metadata struct { CreationTimestamp string `yaml:"creationTimestamp"` Name string `yaml:"name"` Annotations map[string]interface{} //annotations have a unkown structure so we use a generic interface } Objects []struct { ApiVersion string `yaml:"apiVersion"` Kind string `yaml:"kind"` Metadata map[string]interface{} //metadata has a unkown structure so we use a generic interface Spec map[string]interface{} //specs are dependent on the kind so we use a generic interface Data map[string]interface{} //specs are dependent on the kind so we use a generic interface } Parameters []struct { Name string `yaml:"name"` // DisplayName string `yaml:"displayName,omitempty"` Description string `yaml:"description,omitempty"` Required bool `yaml:"required,omitempty"` Value string `yaml:"value,omitempty"` } }
Click to show internal directories.
Click to hide internal directories.