v1beta1

package
Version: v1.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 4, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	SchemeBuilder runtime.SchemeBuilder

	AddToScheme = localSchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{
	Group:   "clusterinformation.antrea.tanzu.vmware.com",
	Version: "v1beta1",
}

Functions

func Resource

func Resource(resource string) schema.GroupResource

Types

type AntreaAgentInfo

type AntreaAgentInfo struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Version                     string                                 `json:"version,omitempty"`                     // Antrea binary version
	PodRef                      corev1.ObjectReference                 `json:"podRef,omitempty"`                      // The Pod that Antrea Agent is running in
	NodeRef                     corev1.ObjectReference                 `json:"nodeRef,omitempty"`                     // The Node that Antrea Agent is running in
	NodeSubnets                 []string                               `json:"nodeSubnets,omitempty"`                 // Node subnets
	OVSInfo                     crdv1beta1.OVSInfo                     `json:"ovsInfo,omitempty"`                     // OVS Information
	NetworkPolicyControllerInfo crdv1beta1.NetworkPolicyControllerInfo `json:"networkPolicyControllerInfo,omitempty"` // Antrea Agent NetworkPolicy information
	LocalPodNum                 int32                                  `json:"localPodNum,omitempty"`                 // The number of Pods which the agent is in charge of
	AgentConditions             []crdv1beta1.AgentCondition            `json:"agentConditions,omitempty"`             // Agent condition contains types like AgentHealthy
	APIPort                     int                                    `json:"apiPort,omitempty"`                     // The port of antrea agent API Server
}

+genclient +genclient:nonNamespaced +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*AntreaAgentInfo) DeepCopy

func (in *AntreaAgentInfo) DeepCopy() *AntreaAgentInfo

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AntreaAgentInfo.

func (*AntreaAgentInfo) DeepCopyInto

func (in *AntreaAgentInfo) DeepCopyInto(out *AntreaAgentInfo)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*AntreaAgentInfo) DeepCopyObject

func (in *AntreaAgentInfo) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type AntreaAgentInfoList

type AntreaAgentInfoList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`

	Items []AntreaAgentInfo `json:"items"`
}

+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*AntreaAgentInfoList) DeepCopy

func (in *AntreaAgentInfoList) DeepCopy() *AntreaAgentInfoList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AntreaAgentInfoList.

func (*AntreaAgentInfoList) DeepCopyInto

func (in *AntreaAgentInfoList) DeepCopyInto(out *AntreaAgentInfoList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*AntreaAgentInfoList) DeepCopyObject

func (in *AntreaAgentInfoList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type AntreaControllerInfo

type AntreaControllerInfo struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Version                     string                                 `json:"version,omitempty"`                     // Antrea binary version
	PodRef                      corev1.ObjectReference                 `json:"podRef,omitempty"`                      // The Pod that Antrea Controller is running in
	NodeRef                     corev1.ObjectReference                 `json:"nodeRef,omitempty"`                     // The Node that Antrea Controller is running in
	ServiceRef                  corev1.ObjectReference                 `json:"serviceRef,omitempty"`                  // Antrea Controller Service
	NetworkPolicyControllerInfo crdv1beta1.NetworkPolicyControllerInfo `json:"networkPolicyControllerInfo,omitempty"` // Antrea Controller NetworkPolicy information
	ConnectedAgentNum           int32                                  `json:"connectedAgentNum,omitempty"`           // Number of agents which are connected to this controller
	ControllerConditions        []crdv1beta1.ControllerCondition       `json:"controllerConditions,omitempty"`        // Controller condition contains types like ControllerHealthy
	APIPort                     int                                    `json:"apiPort,omitempty"`                     // The port of antrea controller API Server
}

+genclient +genclient:nonNamespaced +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*AntreaControllerInfo) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AntreaControllerInfo.

func (*AntreaControllerInfo) DeepCopyInto

func (in *AntreaControllerInfo) DeepCopyInto(out *AntreaControllerInfo)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*AntreaControllerInfo) DeepCopyObject

func (in *AntreaControllerInfo) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type AntreaControllerInfoList

type AntreaControllerInfoList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`

	Items []AntreaControllerInfo `json:"items"`
}

+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*AntreaControllerInfoList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AntreaControllerInfoList.

func (*AntreaControllerInfoList) DeepCopyInto

func (in *AntreaControllerInfoList) DeepCopyInto(out *AntreaControllerInfoList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*AntreaControllerInfoList) DeepCopyObject

func (in *AntreaControllerInfoList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL