v1alpha2

package
v0.0.0-...-9331f55 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2023 License: Apache-2.0 Imports: 11 Imported by: 3

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the cni v1alpha1 API group +kubebuilder:object:generate=true +groupName=cni.tanzu.vmware.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "cni.tanzu.vmware.com", Version: "v1alpha2"}

	// 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 Antrea

type Antrea struct {
	AntreaConfigDataValue AntreaConfigDataValue `json:"config,omitempty"`
}

func (*Antrea) DeepCopy

func (in *Antrea) DeepCopy() *Antrea

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

func (*Antrea) DeepCopyInto

func (in *Antrea) DeepCopyInto(out *Antrea)

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

type AntreaConfig

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

	Spec   AntreaConfigSpec   `json:"spec"`
	Status AntreaConfigStatus `json:"status,omitempty"`
}

+kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:resource:path=antreaconfigs,shortName=antreaconf,scope=Namespaced +kubebuilder:printcolumn:name="TrafficEncapMode",type="string",JSONPath=".spec.antrea.config.trafficEncapMode",description="The traffic encapsulation mode. One of the following options => encap, noEncap, hybrid, networkPolicyOnly" +kubebuilder:printcolumn:name="DefaultMTU",type="string",JSONPath=".spec.antrea.config.defaultMTU",description="Default MTU to use for the host gateway interface and the network interface of each Pod. If omitted, antrea-agent will discover the MTU of the Node's primary interface" +kubebuilder:printcolumn:name="AntreaProxy",type="string",JSONPath=".spec.antrea.config.featureGates.AntreaProxy",description="Flag to enable/disable antrea proxy" +kubebuilder:printcolumn:name="AntreaPolicy",type="string",JSONPath=".spec.antrea.config.featureGates.AntreaPolicy",description="Flag to enable/disable antrea policy" +kubebuilder:printcolumn:name="SecretRef",type="string",JSONPath=".status.secretRef",description="Name of the antrea data values secret" +kubebuilder:storageversion +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object AntreaConfig is the Schema for the antreaconfigs API

func (*AntreaConfig) DeepCopy

func (in *AntreaConfig) DeepCopy() *AntreaConfig

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

func (*AntreaConfig) DeepCopyInto

func (in *AntreaConfig) DeepCopyInto(out *AntreaConfig)

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

func (*AntreaConfig) DeepCopyObject

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

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

func (*AntreaConfig) SetupWebhookWithManager

func (r *AntreaConfig) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*AntreaConfig) ValidateCreate

func (r *AntreaConfig) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*AntreaConfig) ValidateDelete

func (r *AntreaConfig) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*AntreaConfig) ValidateUpdate

func (r *AntreaConfig) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type AntreaConfigDataValue

type AntreaConfigDataValue struct {
	// Specifies Egress related configuration.
	// +kubebuilder:validation:Optional
	Egress AntreaEgress `json:"egress,omitempty"`

	// Specifies NodePortLocal related configuration.
	// +kubebuilder:validation:Optional
	NodePortLocal AntreaNodePortLocal `json:"nodePortLocal,omitempty"`

	// Specifies AntreaProxy related configuration.
	// +kubebuilder:validation:Optional
	AntreaProxy AntreaProxy `json:"antreaProxy,omitempty"`

	// Specifies FlowExporter related configuration.
	// +kubebuilder:validation:Optional
	AntreaFlowExporter AntreaFlowExporter `json:"flowExporter,omitempty"`

	// Provide the address of Kubernetes apiserver, to override any value provided in kubeconfig or InClusterConfig.
	// +kubebuilder:validation:Optional
	KubeAPIServerOverride string `json:"kubeAPIServerOverride,omitempty"`

	// Multicast related configuration.
	// +kubebuilder:validation:Optional
	Multicast AntreaMulticast `json:"multicast,omitempty"`

	// MultiCluster realted configuration.
	// +kubebuilder:validation:Optional
	MultiCluster AntreaMultiCluster `json:"multicluster,omitempty"`

	// The name of the interface on Node which is used for tunneling or routing.
	// +kubebuilder:validation:Optional
	TransportInterface string `json:"transportInterface,omitempty"`

	// The network CIDRs of the interface on Node which is used for tunneling or routing.
	// +kubebuilder:validation:Optional
	TransportInterfaceCIDRs []string `json:"transportInterfaceCIDRs,omitempty"`

	// The names of the interfaces on Nodes that are used to forward multicast traffic.
	// +kubebuilder:validation:Optional
	MulticastInterfaces []string `json:"multicastInterfaces,omitempty"`

	// Tunnel protocols used for encapsulating traffic across Nodes. One of the following options =:> geneve, vxlan, gre, stt
	// +kubebuilder:validation:Optional
	TunnelType string `json:"tunnelType,omitempty"`

	// TunnelPort is the destination port for UDP and TCP based tunnel protocols (Geneve, VXLAN, and STT).If zero, it will use the assigned IANA port for the protocol.
	// +kubebuilder:validation:Optional
	// +kubebuilder:default:=0
	TunnelPort int `json:"tunnelPort,omitempty"`

	// TunnelCsum determines whether to compute UDP encapsulation header (Geneve or VXLAN) checksums on outgoing packets
	// +kubebuilder:validation:Optional
	// +kubebuilder:default:=false
	TunnelCsum bool `json:"tunnelCsum,omitempty"`

	// Determines how tunnel traffic is encrypted. One of the following options =:> none, ipsec, wireguard
	// +kubebuilder:validation:Optional
	TrafficEncryptionMode string `json:"trafficEncryptionMode,omitempty"`

	// Enable usage reporting (telemetry) to VMware.
	// +kubebuilder:validation:Optional
	// +kubebuilder:default:=false
	EnableUsageReporting bool `json:"enableUsageReporting,omitempty"`

	// Specifies WireGuard related configuration.
	// +kubebuilder:validation:Optional
	WireGuard AntreaWireGuard `json:"wireGuard,omitempty"`

	// ClusterIP CIDR range for Services.
	// +kubebuilder:validation:Optional
	ServiceCIDR string `json:"serviceCIDR,omitempty"`

	// The traffic encapsulation mode. One of the following options => encap, noEncap, hybrid, networkPolicyOnly
	// +kubebuilder:validation:Optional
	// +kubebuilder:validation:Enum="encap";"noEncap";"hybrid";"networkPolicyOnly"
	// +kubebuilder:default:=encap
	TrafficEncapMode string `json:"trafficEncapMode,omitempty"`

	// Flag to enable/disable SNAT for the egress traffic from a Pod to the external network
	// +kubebuilder:validation:Optional
	// +kubebuilder:default:=false
	NoSNAT bool `json:"noSNAT,omitempty"`

	// Disable UDP tunnel offload feature on default NIC
	// +kubebuilder:validation:Optional
	// +kubebuilder:default:=false
	DisableUDPTunnelOffload bool `json:"disableUdpTunnelOffload,omitempty"`

	// Default MTU to use for the host gateway interface and the network interface of each Pod. If omitted, antrea-agent will discover the MTU of the Node's primary interface
	// +kubebuilder:validation:Optional
	// +kubebuilder:default:=""
	DefaultMTU string `json:"defaultMTU,omitempty"`

	// List of allowed cipher suites. If omitted, the default Go Cipher Suites will be used
	// +kubebuilder:validation:Optional
	// +kubebuilder:default:="TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384,TLS_RSA_WITH_AES_256_GCM_SHA384"
	TLSCipherSuites string `json:"tlsCipherSuites,omitempty"`

	// Enable bridging mode of Pod network on Nodes
	// +kubebuilder:validation:Optional
	// +kubebuilder:default:=false
	EnableBridgingMode bool `json:"enableBridgingMode,omitempty"`

	// Disable TX checksum offloading for container network interfaces
	// +kubebuilder:validation:Optional
	// +kubebuilder:default:=false
	DisableTXChecksumOffload bool `json:"disableTXChecksumOffload,omitempty"`

	// Provide the address of DNS server, to override the kube-dns service
	// +kubebuilder:validation:Optional
	// +kubebuilder:default:=""
	DNSServerOverride string `json:"dnsServerOverride,omitempty"`

	// FeatureGates is a map of feature names to flags that enable or disable experimental features
	// +kubebuilder:validation:Optional
	FeatureGates AntreaFeatureGates `json:"featureGates,omitempty"`
}

func (*AntreaConfigDataValue) DeepCopy

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

func (*AntreaConfigDataValue) DeepCopyInto

func (in *AntreaConfigDataValue) DeepCopyInto(out *AntreaConfigDataValue)

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

type AntreaConfigList

type AntreaConfigList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []AntreaConfig `json:"items"`
}

AntreaConfigList contains a list of AntreaConfig

func (*AntreaConfigList) DeepCopy

func (in *AntreaConfigList) DeepCopy() *AntreaConfigList

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

func (*AntreaConfigList) DeepCopyInto

func (in *AntreaConfigList) DeepCopyInto(out *AntreaConfigList)

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

func (*AntreaConfigList) DeepCopyObject

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

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

type AntreaConfigSpec

type AntreaConfigSpec struct {
	Antrea Antrea `json:"antrea,omitempty"`
	// AntreaNsx defines nsxt adapter related configurations
	AntreaNsx AntreaNsx `json:"antreaNsx,omitempty"`
}

AntreaConfigSpec defines the desired state of AntreaConfig

func (*AntreaConfigSpec) DeepCopy

func (in *AntreaConfigSpec) DeepCopy() *AntreaConfigSpec

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

func (*AntreaConfigSpec) DeepCopyInto

func (in *AntreaConfigSpec) DeepCopyInto(out *AntreaConfigSpec)

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

type AntreaConfigStatus

type AntreaConfigStatus struct {
	// Message to indicate failure reason
	// +kubebuilder:validation:Optional
	Message string `json:"message,omitempty"`
	// Reference to the data value secret created by controller
	// +kubebuilder:validation:Optional
	SecretRef string `json:"secretRef,omitempty"`
}

AntreaConfigStatus defines the observed state of AntreaConfig

func (*AntreaConfigStatus) DeepCopy

func (in *AntreaConfigStatus) DeepCopy() *AntreaConfigStatus

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

func (*AntreaConfigStatus) DeepCopyInto

func (in *AntreaConfigStatus) DeepCopyInto(out *AntreaConfigStatus)

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

type AntreaEgress

type AntreaEgress struct {
	//+ kubebuilder:validation:Optional
	EgressExceptCIDRs []string `json:"exceptCIDRs,omitempty"`
}

func (*AntreaEgress) DeepCopy

func (in *AntreaEgress) DeepCopy() *AntreaEgress

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

func (*AntreaEgress) DeepCopyInto

func (in *AntreaEgress) DeepCopyInto(out *AntreaEgress)

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

type AntreaFeatureGates

type AntreaFeatureGates struct {
	// Flag to enable/disable antrea proxy
	// +kubebuilder:validation:Optional
	// +kubebuilder:default:=true
	AntreaProxy bool `json:"AntreaProxy,omitempty"`

	// Flag to enable/disable EndpointSlice support in AntreaProxy. If AntreaProxy is not enabled, this flag will not take effect
	// +kubebuilder:validation:Optional
	// +kubebuilder:default:=false
	EndpointSlice bool `json:"EndpointSlice,omitempty"`

	// Flag to enable/disable antrea policy
	// +kubebuilder:validation:Optional
	// +kubebuilder:default:=true
	AntreaPolicy bool `json:"AntreaPolicy,omitempty"`

	// Flag to enable/disable flow exporter
	// +kubebuilder:validation:Optional
	// +kubebuilder:default:=false
	FlowExporter bool `json:"FlowExporter,omitempty"`

	// Flag to enable/disable SNAT IPs of Pod egress traffic
	// +kubebuilder:validation:Optional
	// +kubebuilder:default:=true
	Egress bool `json:"Egress,omitempty"`

	// Flag to enable/disable NodePortLocal feature to make the pods reachable externally through NodePort
	// +kubebuilder:validation:Optional
	// +kubebuilder:default:=true
	NodePortLocal bool `json:"NodePortLocal,omitempty"`

	// Flag to enable/disable antrea traceflow
	// +kubebuilder:validation:Optional
	// +kubebuilder:default:=true
	AntreaTraceflow bool `json:"AntreaTraceflow,omitempty"`

	// Flag to enable/disable network policy stats
	// +kubebuilder:validation:Optional
	// +kubebuilder:default:=false
	NetworkPolicyStats bool `json:"NetworkPolicyStats,omitempty"`

	// Flag to enable/disable antrea IPAM
	// +kubebuilder:validation:Optional
	// +kubebuilder:default:=false
	AntreaIPAM bool `json:"AntreaIPAM,omitempty"`

	// Flag to enable/disable service external IP
	// +kubebuilder:validation:Optional
	// +kubebuilder:default:=false
	ServiceExternalIP bool `json:"ServiceExternalIP,omitempty"`

	// Flag to enable/disable multicast
	// +kubebuilder:validation:Optional
	// +kubebuilder:default:=false
	Multicast bool `json:"Multicast,omitempty"`

	// Enable Antrea Multi-cluster Gateway to support cross-cluster traffic.
	// +kubebuilder:validation:Optional
	// +kubebuilder:default:=false
	MultiCluster bool `json:"Multicluster,omitempty"`

	// Enable support for provisioning secondary network interfaces for Pods (using Pod annotations).
	// +kubebuilder:validation:Optional
	// +kubebuilder:default:=false
	SecondaryNetwork bool `json:"SecondaryNetwork,omitempty"`

	// Enable mirroring or redirecting the traffic Pods send or receive.
	// +kubebuilder:validation:Optional
	// +kubebuilder:default:=false
	TrafficControl bool `json:"TrafficControl,omitempty"`

	// Enable TopologyAwareHints in AntreaProxy. This requires AntreaProxy and EndpointSlice to be enabled, otherwise this flag will not take effect.
	// +kubebuilder:validation:Optional
	// +kubebuilder:default:=false
	TopologyAwareHints bool `json:"TopologyAwareHints,omitempty"`
}

func (*AntreaFeatureGates) DeepCopy

func (in *AntreaFeatureGates) DeepCopy() *AntreaFeatureGates

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

func (*AntreaFeatureGates) DeepCopyInto

func (in *AntreaFeatureGates) DeepCopyInto(out *AntreaFeatureGates)

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

type AntreaFlowExporter

type AntreaFlowExporter struct {
	//+ kubebuilder:validation:Optional
	CollectorAddress string `json:"collectorAddress,omitempty"`

	//+ kubebuilder:validation:Optional
	PollInterval string `json:"pollInterval,omitempty"`

	//+ kubebuilder:validation:Optional
	ActiveFlowTimeout string `json:"activeFlowTimeout,omitempty"`

	//+ kubebuilder:validation:Optional
	IdleFlowTimeout string `json:"idleFlowTimeout,omitempty"`
}

func (*AntreaFlowExporter) DeepCopy

func (in *AntreaFlowExporter) DeepCopy() *AntreaFlowExporter

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

func (*AntreaFlowExporter) DeepCopyInto

func (in *AntreaFlowExporter) DeepCopyInto(out *AntreaFlowExporter)

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

type AntreaMultiCluster

type AntreaMultiCluster struct {
	//+ kubebuilder:validation:Optional
	Enable bool `json:"enable,omitempty"`
	//+ kubebuilder:validation:Optional
	Namespace string `json:"namespace,omitempty"`
}

func (*AntreaMultiCluster) DeepCopy

func (in *AntreaMultiCluster) DeepCopy() *AntreaMultiCluster

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

func (*AntreaMultiCluster) DeepCopyInto

func (in *AntreaMultiCluster) DeepCopyInto(out *AntreaMultiCluster)

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

type AntreaMulticast

type AntreaMulticast struct {
	//+ kubebuilder:validation:Optional
	IGMPQueryInterval string `json:"igmpQueryInterval,omitempty"`
}

func (*AntreaMulticast) DeepCopy

func (in *AntreaMulticast) DeepCopy() *AntreaMulticast

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

func (*AntreaMulticast) DeepCopyInto

func (in *AntreaMulticast) DeepCopyInto(out *AntreaMulticast)

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

type AntreaNodePortLocal

type AntreaNodePortLocal struct {
	//+ kubebuilder:validation:Optional
	Enabled bool `json:"enabled,omitempty"`

	//+ kubebuilder:validation:Optional
	PortRange string `json:"portRange,omitempty"`
}

func (*AntreaNodePortLocal) DeepCopy

func (in *AntreaNodePortLocal) DeepCopy() *AntreaNodePortLocal

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

func (*AntreaNodePortLocal) DeepCopyInto

func (in *AntreaNodePortLocal) DeepCopyInto(out *AntreaNodePortLocal)

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

type AntreaNsx

type AntreaNsx struct {
	// Enable indicates whether nsxt adapter shall be enabled in the cluster
	// +kubebuilder:validation:Optional
	// +kubebuilder:default:=false
	Enable bool `json:"enable,omitempty"`
	// BootstrapFrom either providerRef or inline configs
	// +kubebuilder:validation:Optional
	BootstrapFrom AntreaNsxBootstrapFrom `json:"bootstrapFrom,omitempty"`
	// Config is  configuration for nsxt adapter
	// +kubebuilder:validation:Optional
	AntreaNsxConfig AntreaNsxConfig `json:"config,omitempty"`
}

func (*AntreaNsx) DeepCopy

func (in *AntreaNsx) DeepCopy() *AntreaNsx

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

func (*AntreaNsx) DeepCopyInto

func (in *AntreaNsx) DeepCopyInto(out *AntreaNsx)

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

type AntreaNsxBootstrapFrom

type AntreaNsxBootstrapFrom struct {
	// ProviderRef is used with uTKG, which will be filled by uTKG Addon Controller
	// +kubebuilder:validation:Optional
	ProviderRef *AntreaNsxProvider `json:"providerRef,omitempty"`
	// Inline is used with TKGm, user need to fill in manually
	// +kubebuilder:validation:Optional
	Inline *AntreaNsxInline `json:"inline,omitempty"`
}

func (*AntreaNsxBootstrapFrom) DeepCopy

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

func (*AntreaNsxBootstrapFrom) DeepCopyInto

func (in *AntreaNsxBootstrapFrom) DeepCopyInto(out *AntreaNsxBootstrapFrom)

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

type AntreaNsxConfig

type AntreaNsxConfig struct {
	// InfraType is the type for infrastructure, so far it is vSphere, VMC, AWS, Azure
	// +kubebuilder:validation:Optional
	InfraType string `json:"infraType,omitempty"`
}

func (*AntreaNsxConfig) DeepCopy

func (in *AntreaNsxConfig) DeepCopy() *AntreaNsxConfig

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

func (*AntreaNsxConfig) DeepCopyInto

func (in *AntreaNsxConfig) DeepCopyInto(out *AntreaNsxConfig)

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

type AntreaNsxInline

type AntreaNsxInline struct {
	// NsxManagers is the list for nsx managers, it can be either IP address or domain name
	// +kubebuilder:validation:Optional
	NsxManagers []string `json:"nsxManagers,omitempty"`
	// ClusterName is the name for the created cluster
	// +kubebuilder:validation:Optional
	ClusterName string `json:"clusterName,omitempty"`
	// NsxCertName is cert files to access nsx manager
	// +kubebuilder:validation:Optional
	NsxCertName string `json:"nsxCertName,omitempty"`
}

func (*AntreaNsxInline) DeepCopy

func (in *AntreaNsxInline) DeepCopy() *AntreaNsxInline

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

func (*AntreaNsxInline) DeepCopyInto

func (in *AntreaNsxInline) DeepCopyInto(out *AntreaNsxInline)

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

type AntreaNsxProvider

type AntreaNsxProvider struct {
	// Api version for nsxServiceAccount, its value is "nsx.vmware.com/v1alpha1" now
	// +kubebuilder:validation:Optional
	ApiGroup string `json:"apigroup,omitempty"`
	// Kind is the kind for crd, here its value is NsxServiceAccount
	// +kubebuilder:validation:Optional
	Kind string `json:"kind,omitempty"`
	// Name is the name for NsxServiceAccount
	// +kubebuilder:validation:Optional
	Name string `json:"name,omitempty"`
}

func (*AntreaNsxProvider) DeepCopy

func (in *AntreaNsxProvider) DeepCopy() *AntreaNsxProvider

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

func (*AntreaNsxProvider) DeepCopyInto

func (in *AntreaNsxProvider) DeepCopyInto(out *AntreaNsxProvider)

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

type AntreaProxy

type AntreaProxy struct {
	//+ kubebuilder:validation:Optional
	ProxyAll bool `json:"proxyAll,omitempty"`

	//+ kubebuilder:validation:Optional
	NodePortAddresses []string `json:"nodePortAddresses,omitempty"`

	//+ kubebuilder:validation:Optional
	SkipServices []string `json:"skipServices,omitempty"`

	//+ kubebuilder:validation:Optional
	ProxyLoadBalancerIPs bool `json:"proxyLoadBalancerIPs,omitempty"`
}

func (*AntreaProxy) DeepCopy

func (in *AntreaProxy) DeepCopy() *AntreaProxy

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

func (*AntreaProxy) DeepCopyInto

func (in *AntreaProxy) DeepCopyInto(out *AntreaProxy)

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

type AntreaProxyNodePortAddress

type AntreaProxyNodePortAddress []string

func (AntreaProxyNodePortAddress) DeepCopy

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

func (AntreaProxyNodePortAddress) DeepCopyInto

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

type AntreaWireGuard

type AntreaWireGuard struct {
	//+ kubebuilder:validation:Optional
	Port int `json:"port,omitempty"`
}

func (*AntreaWireGuard) DeepCopy

func (in *AntreaWireGuard) DeepCopy() *AntreaWireGuard

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

func (*AntreaWireGuard) DeepCopyInto

func (in *AntreaWireGuard) DeepCopyInto(out *AntreaWireGuard)

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

Jump to

Keyboard shortcuts

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