Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the config v1alpha1 API group +kubebuilder:object:generate=true +groupName=config.snappcloud.io
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "config.snappcloud.io", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type Match ¶
type Match struct {
NodeNamePatterns []string `json:"nodeNamePatterns,omitempty"`
}
func (*Match) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Match.
func (*Match) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Merge ¶
type Merge struct { Labels map[string]string `json:"labels,omitempty"` Annotations map[string]string `json:"annotations,omitempty"` Taints []corev1.Taint `json:"taints,omitempty"` }
func (*Merge) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Merge.
func (*Merge) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NodeConfig ¶
type NodeConfig struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec NodeConfigSpec `json:"spec,omitempty"` Status NodeConfigStatus `json:"status,omitempty"` }
NodeConfig is the Schema for the nodeconfigs API
func (*NodeConfig) DeepCopy ¶
func (in *NodeConfig) DeepCopy() *NodeConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeConfig.
func (*NodeConfig) DeepCopyInto ¶
func (in *NodeConfig) DeepCopyInto(out *NodeConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NodeConfig) DeepCopyObject ¶
func (in *NodeConfig) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NodeConfigList ¶
type NodeConfigList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []NodeConfig `json:"items"` }
NodeConfigList contains a list of NodeConfig
func (*NodeConfigList) DeepCopy ¶
func (in *NodeConfigList) DeepCopy() *NodeConfigList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeConfigList.
func (*NodeConfigList) DeepCopyInto ¶
func (in *NodeConfigList) DeepCopyInto(out *NodeConfigList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NodeConfigList) DeepCopyObject ¶
func (in *NodeConfigList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NodeConfigSpec ¶
type NodeConfigSpec struct { Match Match `json:"match,omitempty"` Merge Merge `json:"merge,omitempty"` }
NodeConfigSpec defines the desired state of NodeConfig
func (*NodeConfigSpec) DeepCopy ¶
func (in *NodeConfigSpec) DeepCopy() *NodeConfigSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeConfigSpec.
func (*NodeConfigSpec) DeepCopyInto ¶
func (in *NodeConfigSpec) DeepCopyInto(out *NodeConfigSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NodeConfigStatus ¶
type NodeConfigStatus struct { }
NodeConfigStatus defines the observed state of NodeConfig
func (*NodeConfigStatus) DeepCopy ¶
func (in *NodeConfigStatus) DeepCopy() *NodeConfigStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeConfigStatus.
func (*NodeConfigStatus) DeepCopyInto ¶
func (in *NodeConfigStatus) DeepCopyInto(out *NodeConfigStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.