Documentation
¶
Overview ¶
Package api defines and registers types for Config objects.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
kapi.TypeMeta `json:",inline" yaml:",inline"`
// Required: Name identifies the Config.
Name string `json:"name" yaml:"name"`
// Optional: Description describes the Config.
Description string `json:"description" yaml:"description"`
// Required: Items is an array of Kubernetes resources of Service,
// Pod and/or ReplicationController kind.
// TODO: Handle unregistered types. Define custom []runtime.Object
// type and its unmarshaller instead of []runtime.Object.
Items []runtime.EmbeddedObject `json:"items" yaml:"items"`
}
Config contains a set of Kubernetes resources to be applied. TODO: Unify with Kubernetes Config
https://github.com/GoogleCloudPlatform/kubernetes/pull/1007
func (*Config) IsAnAPIObject ¶
func (*Config) IsAnAPIObject()
Click to show internal directories.
Click to hide internal directories.