Documentation
¶
Overview ¶
Package v1 contains API Schema definitions for the operator v1 API group +kubebuilder:object:generate=true +groupName=operator.antrea.vmware.com
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "operator.antrea.vmware.com", Version: "v1"} // 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 AntreaInstall ¶
type AntreaInstall struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec AntreaInstallSpec `json:"spec,omitempty"`
Status AntreaInstallStatus `json:"status,omitempty"`
}
AntreaInstall is the Schema for the antreainstalls API +operator-sdk:csv:customresourcedefinitions:resources={{Deployment,v1,"A Kubernetes Deployment for the Operator"},{AntreaInstall,v1,"this operator's CR"},{ClusterOperator,v1,"antrea cluster operator"},{Network,v1,"Openshift's cluster network"}}
func (*AntreaInstall) DeepCopy ¶
func (in *AntreaInstall) DeepCopy() *AntreaInstall
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AntreaInstall.
func (*AntreaInstall) DeepCopyInto ¶
func (in *AntreaInstall) DeepCopyInto(out *AntreaInstall)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AntreaInstall) DeepCopyObject ¶
func (in *AntreaInstall) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AntreaInstallList ¶
type AntreaInstallList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []AntreaInstall `json:"items"`
}
AntreaInstallList contains a list of AntreaInstall
func (*AntreaInstallList) DeepCopy ¶
func (in *AntreaInstallList) DeepCopy() *AntreaInstallList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AntreaInstallList.
func (*AntreaInstallList) DeepCopyInto ¶
func (in *AntreaInstallList) DeepCopyInto(out *AntreaInstallList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AntreaInstallList) DeepCopyObject ¶
func (in *AntreaInstallList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AntreaInstallSpec ¶
type AntreaInstallSpec struct {
// AntreaAgentConfig holds the configurations for antrea-agent.
// +operator-sdk:csv:customresourcedefinitions:type=spec
// +required
AntreaAgentConfig string `json:"antreaAgentConfig"`
// AntreaCNIConfig holds the configuration of CNI.
// +operator-sdk:csv:customresourcedefinitions:type=spec
// +required
AntreaCNIConfig string `json:"antreaCNIConfig"`
// AntreaControllerConfig holds the configurations for antrea-controller.
// +operator-sdk:csv:customresourcedefinitions:type=spec
// +required
AntreaControllerConfig string `json:"antreaControllerConfig"`
// AntreaPlatform is the platform on which antrea will be deployed.
// +operator-sdk:csv:customresourcedefinitions:type=spec
// +required
AntreaPlatform string `json:"antreaPlatform"`
// AntreaImage is the Docker image name used by antrea-agent and antrea-controller.
// +operator-sdk:csv:customresourcedefinitions:type=spec
// +optional
AntreaImage string `json:"antreaImage,omitempty"`
}
AntreaInstallSpec defines the desired state of AntreaInstall
func (*AntreaInstallSpec) DeepCopy ¶
func (in *AntreaInstallSpec) DeepCopy() *AntreaInstallSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AntreaInstallSpec.
func (*AntreaInstallSpec) DeepCopyInto ¶
func (in *AntreaInstallSpec) DeepCopyInto(out *AntreaInstallSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AntreaInstallStatus ¶
type AntreaInstallStatus struct {
// Conditions describes the state of Antrea installation.
// +operator-sdk:csv:customresourcedefinitions:type=status
// +optional
Conditions []InstallCondition `json:"conditions,omitempty"`
}
AntreaInstallStatus defines the observed state of AntreaInstall
func (*AntreaInstallStatus) DeepCopy ¶
func (in *AntreaInstallStatus) DeepCopy() *AntreaInstallStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AntreaInstallStatus.
func (*AntreaInstallStatus) DeepCopyInto ¶
func (in *AntreaInstallStatus) DeepCopyInto(out *AntreaInstallStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InstallCondition ¶
type InstallCondition = configv1.ClusterOperatorStatusCondition
+kubebuilder:object:generate=false