Documentation ¶
Overview ¶
Package v1 is the v1 version of the API. +groupName=aci.pc
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes. SchemeBuilder runtime.SchemeBuilder AddToScheme = localSchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: pc.GroupName, Version: "v1"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type ProactiveConf ¶
type ProactiveConf struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ProactiveConfSpec `json:"spec,omitempty"` }
+genclient +genclient:noStatus +genclient:nonNamespaced +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +kubebuilder:resource:scope=Cluster +kubebuilder:validation:XValidation:rule="self.metadata.name == 'proactiveconf'",message="Only one instance allowed with name proactiveconf" ProactiveConf is the Schema for the proactiveconfs API
func (*ProactiveConf) DeepCopy ¶
func (in *ProactiveConf) DeepCopy() *ProactiveConf
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProactiveConf.
func (*ProactiveConf) DeepCopyInto ¶
func (in *ProactiveConf) DeepCopyInto(out *ProactiveConf)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ProactiveConf) DeepCopyObject ¶
func (in *ProactiveConf) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ProactiveConfList ¶
type ProactiveConfList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ProactiveConf `json:"items"` }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object ProactiveConfList contains a list of ProactiveConf
func (*ProactiveConfList) DeepCopy ¶
func (in *ProactiveConfList) DeepCopy() *ProactiveConfList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProactiveConfList.
func (*ProactiveConfList) DeepCopyInto ¶
func (in *ProactiveConfList) DeepCopyInto(out *ProactiveConfList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ProactiveConfList) DeepCopyObject ¶
func (in *ProactiveConfList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ProactiveConfSpec ¶
type ProactiveConfSpec struct { TunnelEpAdvertisementInterval uint64 `json:"TunnelEpAdvertisementInterval,omitempty"` VmmEpgDeploymentImmediacy VmmEpgDeploymentImmediacyType `json:"VmmEpgDeploymentImmediacy,omitempty"` }
func (*ProactiveConfSpec) DeepCopy ¶
func (in *ProactiveConfSpec) DeepCopy() *ProactiveConfSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProactiveConfSpec.
func (*ProactiveConfSpec) DeepCopyInto ¶
func (in *ProactiveConfSpec) DeepCopyInto(out *ProactiveConfSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VmmEpgDeploymentImmediacyType ¶
type VmmEpgDeploymentImmediacyType string
+kubebuilder:validation:Enum=Immediate;OnDemand
const ( VmmEpgDeploymentImmediacyTypeImmediate VmmEpgDeploymentImmediacyType = "Immediate" VmmEpgDeploymentImmediacyTypeOnDemand VmmEpgDeploymentImmediacyType = "OnDemand" )