Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme )
Create a SchemeBuilder which uses functions to add types to the scheme
var SchemeGroupVersion = schema.GroupVersion{ Group: selectivedeployment.GroupName, Version: "v1alpha", }
SchemeGroupVersion 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
Resource handles adding types to the schemes
Types ¶
type Controller ¶
Controller indicates deployment, daemonset or statefulsets and their names
func (*Controller) DeepCopy ¶
func (in *Controller) DeepCopy() *Controller
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Controller.
func (*Controller) DeepCopyInto ¶
func (in *Controller) DeepCopyInto(out *Controller)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Crash ¶
type Crash struct { Controller Controller `json:"controller"` Reason string `json:"reason"` }
Crash is the list of controllers that the object cannot take them under control
func (*Crash) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Crash.
func (*Crash) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SelectiveDeployment ¶
type SelectiveDeployment struct { // TypeMeta is the metadata for the resource, like kind and apiversion meta_v1.TypeMeta `json:",inline"` // ObjectMeta contains the metadata for the particular object, including meta_v1.ObjectMeta `json:"metadata,omitempty"` // Spec is the selectivedeployment resource spec Spec SelectiveDeploymentSpec `json:"spec"` // Status is the selectivedeployment resource status Status SelectiveDeploymentStatus `json:"status,omitempty"` }
SelectiveDeployment describes a SelectiveDeployment resource
func (*SelectiveDeployment) DeepCopy ¶
func (in *SelectiveDeployment) DeepCopy() *SelectiveDeployment
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SelectiveDeployment.
func (*SelectiveDeployment) DeepCopyInto ¶
func (in *SelectiveDeployment) DeepCopyInto(out *SelectiveDeployment)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SelectiveDeployment) DeepCopyObject ¶
func (in *SelectiveDeployment) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SelectiveDeploymentList ¶
type SelectiveDeploymentList struct { meta_v1.TypeMeta `json:",inline"` meta_v1.ListMeta `json:"metadata"` Items []SelectiveDeployment `json:"items"` }
SelectiveDeploymentList is a list of SelectiveDeployment resources
func (*SelectiveDeploymentList) DeepCopy ¶
func (in *SelectiveDeploymentList) DeepCopy() *SelectiveDeploymentList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SelectiveDeploymentList.
func (*SelectiveDeploymentList) DeepCopyInto ¶
func (in *SelectiveDeploymentList) DeepCopyInto(out *SelectiveDeploymentList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SelectiveDeploymentList) DeepCopyObject ¶
func (in *SelectiveDeploymentList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SelectiveDeploymentSpec ¶
type SelectiveDeploymentSpec struct { // The controller indicates the name and type of controller desired to configure // Controllers: deployment, daemonset, and statefulsets // The type is for defining which kind of selectivedeployment it is, you could find the list of active types below. // Types: city, state, country, continent, and polygon // The value represents the desired filter and it must be compatible with the type of selectivedeployment Controller []Controller `json:"controller"` Type string `json:"type"` Selector []Selector `json:"selector"` }
SelectiveDeploymentSpec is the spec for a SelectiveDeployment resource
func (*SelectiveDeploymentSpec) DeepCopy ¶
func (in *SelectiveDeploymentSpec) DeepCopy() *SelectiveDeploymentSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SelectiveDeploymentSpec.
func (*SelectiveDeploymentSpec) DeepCopyInto ¶
func (in *SelectiveDeploymentSpec) DeepCopyInto(out *SelectiveDeploymentSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SelectiveDeploymentStatus ¶
type SelectiveDeploymentStatus struct { Ready string `json:"ready"` State string `json:"state"` Message string `json:"message"` Crash []Crash `json:"crash"` }
SelectiveDeploymentStatus is the status for a SelectiveDeployment resource
func (*SelectiveDeploymentStatus) DeepCopy ¶
func (in *SelectiveDeploymentStatus) DeepCopy() *SelectiveDeploymentStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SelectiveDeploymentStatus.
func (*SelectiveDeploymentStatus) DeepCopyInto ¶
func (in *SelectiveDeploymentStatus) DeepCopyInto(out *SelectiveDeploymentStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Selector ¶
type Selector struct { Value string `json:"value"` Operator string `json:"operator"` Count int `json:"count"` }
Selector to define desired node filtering parameters
func (*Selector) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Selector.
func (*Selector) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.