Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme )
create a SchemeBuilder which uses functions to add types to the scheme
View Source
var SchemeGroupVersion = schema.GroupVersion{ Group: team.GroupName, Version: "v1", }
GroupVersion is the identifier for the API which includes the name of the group and the version of the API
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Types ¶
type Environment ¶
type Environment struct { Name string `json:"name"` Application string `json:"application,omitempty"` Production bool `json:"production,omitempty"` SourceCode string `json:"sourcecode,omitempty"` }
TeamSpec defines the spec for a Team resource
type Team ¶
type Team struct { meta_v1.TypeMeta `json:",inline"` meta_v1.ObjectMeta `json:"metadata,omitempty"` Spec TeamSpec `json:"spec,omitempty"` Spec Environment `json:"spec,environment,omitempty"` }
Team describes a Team
Click to show internal directories.
Click to hide internal directories.