v1

package
v1.12.15 Latest Latest
Warning

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

Go to latest
Published: May 13, 2024 License: Apache-2.0 Imports: 10 Imported by: 15

Documentation

Index

Constants

View Source
const (
	ProtocolIPv4 = "IPv4"
	ProtocolIPv6 = "IPv6"
	ProtocolDual = "Dual"

	GWDistributedType = "distributed"
	GWCentralizedType = "centralized"
)
View Source
const (
	// Ready => controller considers this resource Ready
	Ready = "Ready"
	// Validated => Spec passed validating
	Validated = "Validated"
	// Error => last recorded error
	Error = "Error"

	ReasonInit = "Init"
)

Constants for condition

Variables

View Source
var (
	// SchemeBuilder initializes a scheme builder
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	// AddToScheme is a global function that registers this API group & version to a scheme
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var (
	PolicyAllow = SgPolicy(ovnnb.ACLActionAllow)
	PolicyDrop  = SgPolicy(ovnnb.ACLActionDrop)
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: kubeovn.GroupName, Version: "v1"}

SchemeGroupVersion is group version used to register these objects

Functions

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns back a Group qualified GroupKind

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type ACL added in v1.12.1

type ACL struct {
	Direction string `json:"direction,omitempty"`
	Priority  int    `json:"priority,omitempty"`
	Match     string `json:"match,omitempty"`
	Action    string `json:"action,omitempty"`
}

func (*ACL) DeepCopy added in v1.12.1

func (in *ACL) DeepCopy() *ACL

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

func (*ACL) DeepCopyInto added in v1.12.1

func (in *ACL) DeepCopyInto(out *ACL)

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

type Condition added in v1.12.0

type Condition struct {
	// Type of condition.
	Type ConditionType `json:"type"`
	// Status of the condition, one of True, False, Unknown.
	Status corev1.ConditionStatus `json:"status"`
	// The reason for the condition's last transition.
	// +optional
	Reason string `json:"reason,omitempty"`
	// A human readable message indicating details about the transition.
	// +optional
	Message string `json:"message,omitempty"`
	// Last time the condition was probed
	// +optional
	LastUpdateTime metav1.Time `json:"lastUpdateTime,omitempty"`
	// Last time the condition transitioned from one status to another.
	// +optional
	LastTransitionTime metav1.Time `json:"lastTransitionTime,omitempty"`
}

Condition describes the state of an object at a certain point. +k8s:deepcopy-gen=true

func (*Condition) DeepCopy added in v1.12.0

func (in *Condition) DeepCopy() *Condition

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

func (*Condition) DeepCopyInto added in v1.12.0

func (in *Condition) DeepCopyInto(out *Condition)

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

type ConditionType

type ConditionType string

ConditionType encodes information on the condition

type CustomInterface added in v1.7.1

type CustomInterface struct {
	Interface string   `json:"interface"`
	Nodes     []string `json:"nodes"`
}

func (*CustomInterface) DeepCopy added in v1.7.1

func (in *CustomInterface) DeepCopy() *CustomInterface

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

func (*CustomInterface) DeepCopyInto added in v1.7.1

func (in *CustomInterface) DeepCopyInto(out *CustomInterface)

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

type IP

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

	Spec IPSpec `json:"spec"`
}

func (*IP) DeepCopy

func (in *IP) DeepCopy() *IP

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

func (*IP) DeepCopyInto

func (in *IP) DeepCopyInto(out *IP)

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

func (*IP) DeepCopyObject

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

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

type IPList

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

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

func (*IPList) DeepCopy

func (in *IPList) DeepCopy() *IPList

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

func (*IPList) DeepCopyInto

func (in *IPList) DeepCopyInto(out *IPList)

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

func (*IPList) DeepCopyObject

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

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

type IPPool added in v1.12.0

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

	Spec   IPPoolSpec   `json:"spec"`
	Status IPPoolStatus `json:"status,omitempty"`
}

func (*IPPool) DeepCopy added in v1.12.0

func (in *IPPool) DeepCopy() *IPPool

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

func (*IPPool) DeepCopyInto added in v1.12.0

func (in *IPPool) DeepCopyInto(out *IPPool)

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

func (*IPPool) DeepCopyObject added in v1.12.0

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

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

type IPPoolCondition added in v1.12.0

type IPPoolCondition Condition

IPPoolCondition describes the state of an object at a certain point. +k8s:deepcopy-gen=true

func (*IPPoolCondition) DeepCopy added in v1.12.0

func (in *IPPoolCondition) DeepCopy() *IPPoolCondition

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

func (*IPPoolCondition) DeepCopyInto added in v1.12.0

func (in *IPPoolCondition) DeepCopyInto(out *IPPoolCondition)

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

type IPPoolList added in v1.12.0

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

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

func (*IPPoolList) DeepCopy added in v1.12.0

func (in *IPPoolList) DeepCopy() *IPPoolList

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

func (*IPPoolList) DeepCopyInto added in v1.12.0

func (in *IPPoolList) DeepCopyInto(out *IPPoolList)

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

func (*IPPoolList) DeepCopyObject added in v1.12.0

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

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

type IPPoolSpec added in v1.12.0

type IPPoolSpec struct {
	Subnet     string   `json:"subnet,omitempty"`
	Namespaces []string `json:"namespaces,omitempty"`
	IPs        []string `json:"ips,omitempty"`
}

func (*IPPoolSpec) DeepCopy added in v1.12.0

func (in *IPPoolSpec) DeepCopy() *IPPoolSpec

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

func (*IPPoolSpec) DeepCopyInto added in v1.12.0

func (in *IPPoolSpec) DeepCopyInto(out *IPPoolSpec)

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

type IPPoolStatus added in v1.12.0

type IPPoolStatus struct {
	V4AvailableIPs     internal.BigInt `json:"v4AvailableIPs"`
	V4AvailableIPRange string          `json:"v4AvailableIPRange"`
	V4UsingIPs         internal.BigInt `json:"v4UsingIPs"`
	V4UsingIPRange     string          `json:"v4UsingIPRange"`
	V6AvailableIPs     internal.BigInt `json:"v6AvailableIPs"`
	V6AvailableIPRange string          `json:"v6AvailableIPRange"`
	V6UsingIPs         internal.BigInt `json:"v6UsingIPs"`
	V6UsingIPRange     string          `json:"v6UsingIPRange"`

	// Conditions represents the latest state of the object
	// +optional
	Conditions []IPPoolCondition `json:"conditions,omitempty"`
}

func (*IPPoolStatus) Bytes added in v1.12.0

func (s *IPPoolStatus) Bytes() ([]byte, error)

func (*IPPoolStatus) ClearCondition added in v1.12.0

func (s *IPPoolStatus) ClearCondition(ctype ConditionType, reason, message string)

ClearCondition updates or creates a new condition

func (*IPPoolStatus) ClearError added in v1.12.0

func (s *IPPoolStatus) ClearError()

ClearError - shortcut to set error condition

func (*IPPoolStatus) DeepCopy added in v1.12.0

func (in *IPPoolStatus) DeepCopy() *IPPoolStatus

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

func (*IPPoolStatus) DeepCopyInto added in v1.12.0

func (in *IPPoolStatus) DeepCopyInto(out *IPPoolStatus)

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

func (*IPPoolStatus) EnsureCondition added in v1.12.0

func (s *IPPoolStatus) EnsureCondition(ctype ConditionType)

EnsureCondition useful for adding default conditions

func (*IPPoolStatus) EnsureStandardConditions added in v1.12.0

func (s *IPPoolStatus) EnsureStandardConditions()

EnsureStandardConditions - helper to inject standard conditions

func (*IPPoolStatus) GetCondition added in v1.12.0

func (s *IPPoolStatus) GetCondition(ctype ConditionType) *IPPoolCondition

GetCondition get existing condition

func (IPPoolStatus) IsConditionTrue added in v1.12.0

func (s IPPoolStatus) IsConditionTrue(ctype ConditionType) bool

IsConditionTrue - if condition is true

func (IPPoolStatus) IsReady added in v1.12.0

func (s IPPoolStatus) IsReady() bool

IsReady returns true if ready condition is set

func (*IPPoolStatus) NotReady added in v1.12.0

func (s *IPPoolStatus) NotReady(reason, message string)

NotReady - shortcut to set ready condition to false

func (*IPPoolStatus) Ready added in v1.12.0

func (s *IPPoolStatus) Ready(reason, message string)

Ready - shortcut to set ready condition to true

func (*IPPoolStatus) SetCondition added in v1.12.0

func (s *IPPoolStatus) SetCondition(ctype ConditionType, reason, message string)

SetCondition updates or creates a new condition

func (*IPPoolStatus) SetError added in v1.12.0

func (s *IPPoolStatus) SetError(reason, message string)

SetError - shortcut to set error condition

type IPSpec

type IPSpec struct {
	PodName       string   `json:"podName"`
	Namespace     string   `json:"namespace"`
	Subnet        string   `json:"subnet"`
	AttachSubnets []string `json:"attachSubnets"`
	NodeName      string   `json:"nodeName"`
	IPAddress     string   `json:"ipAddress"`
	V4IPAddress   string   `json:"v4IpAddress"`
	V6IPAddress   string   `json:"v6IpAddress"`
	AttachIPs     []string `json:"attachIps"`
	MacAddress    string   `json:"macAddress"`
	AttachMacs    []string `json:"attachMacs"`
	ContainerID   string   `json:"containerID"`
	PodType       string   `json:"podType"`
}

func (*IPSpec) DeepCopy

func (in *IPSpec) DeepCopy() *IPSpec

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

func (*IPSpec) DeepCopyInto

func (in *IPSpec) DeepCopyInto(out *IPSpec)

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

type IptablesDnatRule added in v1.10.0

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

	Spec   IptablesDnatRuleSpec   `json:"spec"`
	Status IptablesDnatRuleStatus `json:"status,omitempty"`
}

func (*IptablesDnatRule) DeepCopy added in v1.10.0

func (in *IptablesDnatRule) DeepCopy() *IptablesDnatRule

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

func (*IptablesDnatRule) DeepCopyInto added in v1.10.0

func (in *IptablesDnatRule) DeepCopyInto(out *IptablesDnatRule)

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

func (*IptablesDnatRule) DeepCopyObject added in v1.10.0

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

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

type IptablesDnatRuleCondition added in v1.10.0

type IptablesDnatRuleCondition Condition

IptablesDnatRuleCondition describes the state of an object at a certain point. +k8s:deepcopy-gen=true

func (*IptablesDnatRuleCondition) DeepCopy added in v1.10.0

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

func (*IptablesDnatRuleCondition) DeepCopyInto added in v1.10.0

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

type IptablesDnatRuleList added in v1.10.0

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

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

func (*IptablesDnatRuleList) DeepCopy added in v1.10.0

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

func (*IptablesDnatRuleList) DeepCopyInto added in v1.10.0

func (in *IptablesDnatRuleList) DeepCopyInto(out *IptablesDnatRuleList)

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

func (*IptablesDnatRuleList) DeepCopyObject added in v1.10.0

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

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

type IptablesDnatRuleSpec added in v1.10.0

type IptablesDnatRuleSpec struct {
	EIP          string `json:"eip"`
	ExternalPort string `json:"externalPort"`
	Protocol     string `json:"protocol,omitempty"`
	InternalIP   string `json:"internalIp"`
	InternalPort string `json:"internalPort"`
}

func (*IptablesDnatRuleSpec) DeepCopy added in v1.10.0

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

func (*IptablesDnatRuleSpec) DeepCopyInto added in v1.10.0

func (in *IptablesDnatRuleSpec) DeepCopyInto(out *IptablesDnatRuleSpec)

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

type IptablesDnatRuleStatus added in v1.10.0

type IptablesDnatRuleStatus struct {
	// +optional
	// +patchStrategy=merge
	Ready        bool   `json:"ready" patchStrategy:"merge"`
	V4ip         string `json:"v4ip" patchStrategy:"merge"`
	V6ip         string `json:"v6ip" patchStrategy:"merge"`
	NatGwDp      string `json:"natGwDp" patchStrategy:"merge"`
	Redo         string `json:"redo" patchStrategy:"merge"`
	Protocol     string `json:"protocol"  patchStrategy:"merge"`
	InternalIP   string `json:"internalIp"  patchStrategy:"merge"`
	InternalPort string `json:"internalPort"  patchStrategy:"merge"`
	ExternalPort string `json:"externalPort"  patchStrategy:"merge"`

	// Conditions represents the latest state of the object
	// +optional
	// +patchMergeKey=type
	// +patchStrategy=merge
	Conditions []IptablesDnatRuleCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type"`
}

func (*IptablesDnatRuleStatus) Bytes added in v1.10.0

func (idnats *IptablesDnatRuleStatus) Bytes() ([]byte, error)

func (*IptablesDnatRuleStatus) DeepCopy added in v1.10.0

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

func (*IptablesDnatRuleStatus) DeepCopyInto added in v1.10.0

func (in *IptablesDnatRuleStatus) DeepCopyInto(out *IptablesDnatRuleStatus)

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

type IptablesEIP added in v1.10.0

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

	Spec   IptablesEipSpec   `json:"spec"`
	Status IptablesEipStatus `json:"status,omitempty"`
}

func (*IptablesEIP) DeepCopy added in v1.10.0

func (in *IptablesEIP) DeepCopy() *IptablesEIP

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

func (*IptablesEIP) DeepCopyInto added in v1.10.0

func (in *IptablesEIP) DeepCopyInto(out *IptablesEIP)

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

func (*IptablesEIP) DeepCopyObject added in v1.10.0

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

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

type IptablesEIPCondition added in v1.10.0

type IptablesEIPCondition Condition

IptablesEIPCondition describes the state of an object at a certain point. +k8s:deepcopy-gen=true

func (*IptablesEIPCondition) DeepCopy added in v1.10.0

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

func (*IptablesEIPCondition) DeepCopyInto added in v1.10.0

func (in *IptablesEIPCondition) DeepCopyInto(out *IptablesEIPCondition)

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

type IptablesEIPList added in v1.10.0

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

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

func (*IptablesEIPList) DeepCopy added in v1.10.0

func (in *IptablesEIPList) DeepCopy() *IptablesEIPList

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

func (*IptablesEIPList) DeepCopyInto added in v1.10.0

func (in *IptablesEIPList) DeepCopyInto(out *IptablesEIPList)

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

func (*IptablesEIPList) DeepCopyObject added in v1.10.0

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

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

type IptablesEipSpec added in v1.10.0

type IptablesEipSpec struct {
	V4ip           string `json:"v4ip"`
	V6ip           string `json:"v6ip"`
	MacAddress     string `json:"macAddress"`
	NatGwDp        string `json:"natGwDp"`
	QoSPolicy      string `json:"qosPolicy"`
	ExternalSubnet string `json:"externalSubnet"`
}

func (*IptablesEipSpec) DeepCopy added in v1.10.0

func (in *IptablesEipSpec) DeepCopy() *IptablesEipSpec

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

func (*IptablesEipSpec) DeepCopyInto added in v1.10.0

func (in *IptablesEipSpec) DeepCopyInto(out *IptablesEipSpec)

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

type IptablesEipStatus added in v1.10.0

type IptablesEipStatus struct {
	// +optional
	// +patchStrategy=merge
	Ready     bool   `json:"ready" patchStrategy:"merge"`
	IP        string `json:"ip" patchStrategy:"merge"`
	Redo      string `json:"redo" patchStrategy:"merge"`
	Nat       string `json:"nat" patchStrategy:"merge"`
	QoSPolicy string `json:"qosPolicy" patchStrategy:"merge"`
	// Conditions represents the latest state of the object
	// +optional
	// +patchMergeKey=type
	// +patchStrategy=merge
	Conditions []IptablesEIPCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type"`
}

func (*IptablesEipStatus) Bytes added in v1.10.0

func (ieips *IptablesEipStatus) Bytes() ([]byte, error)

func (*IptablesEipStatus) DeepCopy added in v1.10.0

func (in *IptablesEipStatus) DeepCopy() *IptablesEipStatus

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

func (*IptablesEipStatus) DeepCopyInto added in v1.10.0

func (in *IptablesEipStatus) DeepCopyInto(out *IptablesEipStatus)

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

type IptablesFIPRule added in v1.10.0

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

	Spec   IptablesFIPRuleSpec   `json:"spec"`
	Status IptablesFIPRuleStatus `json:"status,omitempty"`
}

func (*IptablesFIPRule) DeepCopy added in v1.10.0

func (in *IptablesFIPRule) DeepCopy() *IptablesFIPRule

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

func (*IptablesFIPRule) DeepCopyInto added in v1.10.0

func (in *IptablesFIPRule) DeepCopyInto(out *IptablesFIPRule)

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

func (*IptablesFIPRule) DeepCopyObject added in v1.10.0

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

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

type IptablesFIPRuleCondition added in v1.10.0

type IptablesFIPRuleCondition Condition

IptablesFIPRuleCondition describes the state of an object at a certain point. +k8s:deepcopy-gen=true

func (*IptablesFIPRuleCondition) DeepCopy added in v1.10.0

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

func (*IptablesFIPRuleCondition) DeepCopyInto added in v1.10.0

func (in *IptablesFIPRuleCondition) DeepCopyInto(out *IptablesFIPRuleCondition)

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

type IptablesFIPRuleList added in v1.10.0

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

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

func (*IptablesFIPRuleList) DeepCopy added in v1.10.0

func (in *IptablesFIPRuleList) DeepCopy() *IptablesFIPRuleList

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

func (*IptablesFIPRuleList) DeepCopyInto added in v1.10.0

func (in *IptablesFIPRuleList) DeepCopyInto(out *IptablesFIPRuleList)

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

func (*IptablesFIPRuleList) DeepCopyObject added in v1.10.0

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

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

type IptablesFIPRuleSpec added in v1.10.0

type IptablesFIPRuleSpec struct {
	EIP        string `json:"eip"`
	InternalIP string `json:"internalIp"`
}

func (*IptablesFIPRuleSpec) DeepCopy added in v1.10.0

func (in *IptablesFIPRuleSpec) DeepCopy() *IptablesFIPRuleSpec

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

func (*IptablesFIPRuleSpec) DeepCopyInto added in v1.10.0

func (in *IptablesFIPRuleSpec) DeepCopyInto(out *IptablesFIPRuleSpec)

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

type IptablesFIPRuleStatus added in v1.10.0

type IptablesFIPRuleStatus struct {
	// +optional
	// +patchStrategy=merge
	Ready      bool   `json:"ready" patchStrategy:"merge"`
	V4ip       string `json:"v4ip" patchStrategy:"merge"`
	V6ip       string `json:"v6ip" patchStrategy:"merge"`
	NatGwDp    string `json:"natGwDp" patchStrategy:"merge"`
	Redo       string `json:"redo" patchStrategy:"merge"`
	InternalIP string `json:"internalIp"  patchStrategy:"merge"`

	// Conditions represents the latest state of the object
	// +optional
	// +patchMergeKey=type
	// +patchStrategy=merge
	Conditions []IptablesFIPRuleCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type"`
}

func (*IptablesFIPRuleStatus) Bytes added in v1.10.0

func (ifips *IptablesFIPRuleStatus) Bytes() ([]byte, error)

func (*IptablesFIPRuleStatus) DeepCopy added in v1.10.0

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

func (*IptablesFIPRuleStatus) DeepCopyInto added in v1.10.0

func (in *IptablesFIPRuleStatus) DeepCopyInto(out *IptablesFIPRuleStatus)

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

type IptablesSnatRule added in v1.10.0

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

	Spec   IptablesSnatRuleSpec   `json:"spec"`
	Status IptablesSnatRuleStatus `json:"status,omitempty"`
}

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

func (*IptablesSnatRule) DeepCopy added in v1.10.0

func (in *IptablesSnatRule) DeepCopy() *IptablesSnatRule

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

func (*IptablesSnatRule) DeepCopyInto added in v1.10.0

func (in *IptablesSnatRule) DeepCopyInto(out *IptablesSnatRule)

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

func (*IptablesSnatRule) DeepCopyObject added in v1.10.0

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

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

type IptablesSnatRuleCondition added in v1.10.0

type IptablesSnatRuleCondition Condition

IptablesSnatRuleCondition describes the state of an object at a certain point. +k8s:deepcopy-gen=true

func (*IptablesSnatRuleCondition) DeepCopy added in v1.10.0

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

func (*IptablesSnatRuleCondition) DeepCopyInto added in v1.10.0

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

type IptablesSnatRuleList added in v1.10.0

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

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

func (*IptablesSnatRuleList) DeepCopy added in v1.10.0

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

func (*IptablesSnatRuleList) DeepCopyInto added in v1.10.0

func (in *IptablesSnatRuleList) DeepCopyInto(out *IptablesSnatRuleList)

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

func (*IptablesSnatRuleList) DeepCopyObject added in v1.10.0

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

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

type IptablesSnatRuleSpec added in v1.10.0

type IptablesSnatRuleSpec struct {
	EIP          string `json:"eip"`
	InternalCIDR string `json:"internalCIDR"`
}

func (*IptablesSnatRuleSpec) DeepCopy added in v1.10.0

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

func (*IptablesSnatRuleSpec) DeepCopyInto added in v1.10.0

func (in *IptablesSnatRuleSpec) DeepCopyInto(out *IptablesSnatRuleSpec)

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

type IptablesSnatRuleStatus added in v1.10.0

type IptablesSnatRuleStatus struct {
	// +optional
	// +patchStrategy=merge
	Ready        bool   `json:"ready" patchStrategy:"merge"`
	V4ip         string `json:"v4ip" patchStrategy:"merge"`
	V6ip         string `json:"v6ip" patchStrategy:"merge"`
	NatGwDp      string `json:"natGwDp" patchStrategy:"merge"`
	Redo         string `json:"redo" patchStrategy:"merge"`
	InternalCIDR string `json:"internalCIDR" patchStrategy:"merge"`

	// Conditions represents the latest state of the object
	// +optional
	// +patchMergeKey=type
	// +patchStrategy=merge
	Conditions []IptablesSnatRuleCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type"`
}

func (*IptablesSnatRuleStatus) Bytes added in v1.10.0

func (isnats *IptablesSnatRuleStatus) Bytes() ([]byte, error)

func (*IptablesSnatRuleStatus) DeepCopy added in v1.10.0

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

func (*IptablesSnatRuleStatus) DeepCopyInto added in v1.10.0

func (in *IptablesSnatRuleStatus) DeepCopyInto(out *IptablesSnatRuleStatus)

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

type NatOutGoingPolicyMatch added in v1.12.0

type NatOutGoingPolicyMatch struct {
	SrcIPs string `json:"srcIPs,omitempty"`
	DstIPs string `json:"dstIPs,omitempty"`
}

func (*NatOutGoingPolicyMatch) DeepCopy added in v1.12.0

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

func (*NatOutGoingPolicyMatch) DeepCopyInto added in v1.12.0

func (in *NatOutGoingPolicyMatch) DeepCopyInto(out *NatOutGoingPolicyMatch)

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

type NatOutgoingPolicyRule added in v1.12.0

type NatOutgoingPolicyRule struct {
	Match  NatOutGoingPolicyMatch `json:"match"`
	Action string                 `json:"action"`
}

func (*NatOutgoingPolicyRule) DeepCopy added in v1.12.0

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

func (*NatOutgoingPolicyRule) DeepCopyInto added in v1.12.0

func (in *NatOutgoingPolicyRule) DeepCopyInto(out *NatOutgoingPolicyRule)

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

type NatOutgoingPolicyRuleStatus added in v1.12.0

type NatOutgoingPolicyRuleStatus struct {
	RuleID string `json:"ruleID"`
	NatOutgoingPolicyRule
}

func (*NatOutgoingPolicyRuleStatus) DeepCopy added in v1.12.0

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

func (*NatOutgoingPolicyRuleStatus) DeepCopyInto added in v1.12.0

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

type OvnDnatRule added in v1.12.0

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

	Spec   OvnDnatRuleSpec   `json:"spec"`
	Status OvnDnatRuleStatus `json:"status,omitempty"`
}

func (*OvnDnatRule) DeepCopy added in v1.12.0

func (in *OvnDnatRule) DeepCopy() *OvnDnatRule

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

func (*OvnDnatRule) DeepCopyInto added in v1.12.0

func (in *OvnDnatRule) DeepCopyInto(out *OvnDnatRule)

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

func (*OvnDnatRule) DeepCopyObject added in v1.12.0

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

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

type OvnDnatRuleCondition added in v1.12.0

type OvnDnatRuleCondition Condition

OvnDnatRuleCondition describes the state of an object at a certain point. +k8s:deepcopy-gen=true

func (*OvnDnatRuleCondition) DeepCopy added in v1.12.0

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

func (*OvnDnatRuleCondition) DeepCopyInto added in v1.12.0

func (in *OvnDnatRuleCondition) DeepCopyInto(out *OvnDnatRuleCondition)

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

type OvnDnatRuleList added in v1.12.0

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

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

func (*OvnDnatRuleList) DeepCopy added in v1.12.0

func (in *OvnDnatRuleList) DeepCopy() *OvnDnatRuleList

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

func (*OvnDnatRuleList) DeepCopyInto added in v1.12.0

func (in *OvnDnatRuleList) DeepCopyInto(out *OvnDnatRuleList)

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

func (*OvnDnatRuleList) DeepCopyObject added in v1.12.0

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

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

type OvnDnatRuleSpec added in v1.12.0

type OvnDnatRuleSpec struct {
	OvnEip       string `json:"ovnEip"`
	IPType       string `json:"ipType"` // vip, ip
	IPName       string `json:"ipName"` // vip, ip crd name
	InternalPort string `json:"internalPort"`
	ExternalPort string `json:"externalPort"`
	Protocol     string `json:"protocol,omitempty"`
	Vpc          string `json:"vpc"`
	V4Ip         string `json:"v4Ip"`
}

func (*OvnDnatRuleSpec) DeepCopy added in v1.12.0

func (in *OvnDnatRuleSpec) DeepCopy() *OvnDnatRuleSpec

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

func (*OvnDnatRuleSpec) DeepCopyInto added in v1.12.0

func (in *OvnDnatRuleSpec) DeepCopyInto(out *OvnDnatRuleSpec)

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

type OvnDnatRuleStatus added in v1.12.0

type OvnDnatRuleStatus struct {
	// +optional
	// +patchStrategy=merge
	Vpc          string `json:"vpc" patchStrategy:"merge"`
	V4Eip        string `json:"v4Eip" patchStrategy:"merge"`
	ExternalPort string `json:"externalPort"`
	V4Ip         string `json:"v4Ip" patchStrategy:"merge"`
	InternalPort string `json:"internalPort"`
	Protocol     string `json:"protocol,omitempty"`
	IPName       string `json:"ipName"`
	Ready        bool   `json:"ready" patchStrategy:"merge"`

	// Conditions represents the latest state of the object
	// +optional
	// +patchMergeKey=type
	// +patchStrategy=merge
	Conditions []OvnDnatRuleCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type"`
}

+k8s:deepcopy-gen=true

func (*OvnDnatRuleStatus) Bytes added in v1.12.0

func (odrs *OvnDnatRuleStatus) Bytes() ([]byte, error)

func (*OvnDnatRuleStatus) DeepCopy added in v1.12.0

func (in *OvnDnatRuleStatus) DeepCopy() *OvnDnatRuleStatus

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

func (*OvnDnatRuleStatus) DeepCopyInto added in v1.12.0

func (in *OvnDnatRuleStatus) DeepCopyInto(out *OvnDnatRuleStatus)

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

type OvnEip added in v1.11.0

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

	Spec   OvnEipSpec   `json:"spec"`
	Status OvnEipStatus `json:"status,omitempty"`
}

func (*OvnEip) DeepCopy added in v1.11.0

func (in *OvnEip) DeepCopy() *OvnEip

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

func (*OvnEip) DeepCopyInto added in v1.11.0

func (in *OvnEip) DeepCopyInto(out *OvnEip)

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

func (*OvnEip) DeepCopyObject added in v1.11.0

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

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

type OvnEipCondition added in v1.11.0

type OvnEipCondition Condition

OvnEipCondition describes the state of an object at a certain point. +k8s:deepcopy-gen=true

func (*OvnEipCondition) DeepCopy added in v1.11.0

func (in *OvnEipCondition) DeepCopy() *OvnEipCondition

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

func (*OvnEipCondition) DeepCopyInto added in v1.11.0

func (in *OvnEipCondition) DeepCopyInto(out *OvnEipCondition)

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

type OvnEipList added in v1.11.0

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

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

func (*OvnEipList) DeepCopy added in v1.11.0

func (in *OvnEipList) DeepCopy() *OvnEipList

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

func (*OvnEipList) DeepCopyInto added in v1.11.0

func (in *OvnEipList) DeepCopyInto(out *OvnEipList)

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

func (*OvnEipList) DeepCopyObject added in v1.11.0

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

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

type OvnEipSpec added in v1.11.0

type OvnEipSpec struct {
	ExternalSubnet string `json:"externalSubnet"`
	V4Ip           string `json:"v4Ip"`
	V6Ip           string `json:"v6Ip"`
	MacAddress     string `json:"macAddress"`
	Type           string `json:"type"`
}

func (*OvnEipSpec) DeepCopy added in v1.11.0

func (in *OvnEipSpec) DeepCopy() *OvnEipSpec

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

func (*OvnEipSpec) DeepCopyInto added in v1.11.0

func (in *OvnEipSpec) DeepCopyInto(out *OvnEipSpec)

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

type OvnEipStatus added in v1.11.0

type OvnEipStatus struct {
	// Conditions represents the latest state of the object
	// +optional
	// +patchMergeKey=type
	// +patchStrategy=merge
	Conditions []OvnEipCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type"`

	Type       string `json:"type" patchStrategy:"merge"`
	Nat        string `json:"nat" patchStrategy:"merge"`
	Ready      bool   `json:"ready" patchStrategy:"merge"`
	V4Ip       string `json:"v4Ip" patchStrategy:"merge"`
	V6Ip       string `json:"v6Ip" patchStrategy:"merge"`
	MacAddress string `json:"macAddress" patchStrategy:"merge"`
}

func (*OvnEipStatus) Bytes added in v1.11.0

func (oeips *OvnEipStatus) Bytes() ([]byte, error)

func (*OvnEipStatus) DeepCopy added in v1.11.0

func (in *OvnEipStatus) DeepCopy() *OvnEipStatus

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

func (*OvnEipStatus) DeepCopyInto added in v1.11.0

func (in *OvnEipStatus) DeepCopyInto(out *OvnEipStatus)

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

type OvnFip added in v1.11.0

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

	Spec   OvnFipSpec   `json:"spec"`
	Status OvnFipStatus `json:"status,omitempty"`
}

func (*OvnFip) DeepCopy added in v1.11.0

func (in *OvnFip) DeepCopy() *OvnFip

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

func (*OvnFip) DeepCopyInto added in v1.11.0

func (in *OvnFip) DeepCopyInto(out *OvnFip)

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

func (*OvnFip) DeepCopyObject added in v1.11.0

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

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

type OvnFipCondition added in v1.11.0

type OvnFipCondition Condition

OvnFipCondition describes the state of an object at a certain point. +k8s:deepcopy-gen=true

func (*OvnFipCondition) DeepCopy added in v1.11.0

func (in *OvnFipCondition) DeepCopy() *OvnFipCondition

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

func (*OvnFipCondition) DeepCopyInto added in v1.11.0

func (in *OvnFipCondition) DeepCopyInto(out *OvnFipCondition)

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

type OvnFipList added in v1.11.0

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

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

func (*OvnFipList) DeepCopy added in v1.11.0

func (in *OvnFipList) DeepCopy() *OvnFipList

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

func (*OvnFipList) DeepCopyInto added in v1.11.0

func (in *OvnFipList) DeepCopyInto(out *OvnFipList)

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

func (*OvnFipList) DeepCopyObject added in v1.11.0

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

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

type OvnFipSpec added in v1.11.0

type OvnFipSpec struct {
	OvnEip string `json:"ovnEip"`
	IPType string `json:"ipType"` // vip, ip
	IPName string `json:"ipName"` // vip, ip crd name
	Vpc    string `json:"vpc"`
	V4Ip   string `json:"v4Ip"`
}

func (*OvnFipSpec) DeepCopy added in v1.11.0

func (in *OvnFipSpec) DeepCopy() *OvnFipSpec

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

func (*OvnFipSpec) DeepCopyInto added in v1.11.0

func (in *OvnFipSpec) DeepCopyInto(out *OvnFipSpec)

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

type OvnFipStatus added in v1.11.0

type OvnFipStatus struct {
	// +optional
	// +patchStrategy=merge
	Vpc   string `json:"vpc" patchStrategy:"merge"`
	V4Eip string `json:"v4Eip" patchStrategy:"merge"`
	V4Ip  string `json:"v4Ip" patchStrategy:"merge"`
	Ready bool   `json:"ready" patchStrategy:"merge"`

	// Conditions represents the latest state of the object
	// +optional
	// +patchMergeKey=type
	// +patchStrategy=merge
	Conditions []OvnFipCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type"`
}

func (*OvnFipStatus) Bytes added in v1.11.0

func (ofs *OvnFipStatus) Bytes() ([]byte, error)

func (*OvnFipStatus) DeepCopy added in v1.11.0

func (in *OvnFipStatus) DeepCopy() *OvnFipStatus

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

func (*OvnFipStatus) DeepCopyInto added in v1.11.0

func (in *OvnFipStatus) DeepCopyInto(out *OvnFipStatus)

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

type OvnSnatRule added in v1.11.0

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

	Spec   OvnSnatRuleSpec   `json:"spec"`
	Status OvnSnatRuleStatus `json:"status,omitempty"`
}

func (*OvnSnatRule) DeepCopy added in v1.11.0

func (in *OvnSnatRule) DeepCopy() *OvnSnatRule

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

func (*OvnSnatRule) DeepCopyInto added in v1.11.0

func (in *OvnSnatRule) DeepCopyInto(out *OvnSnatRule)

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

func (*OvnSnatRule) DeepCopyObject added in v1.11.0

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

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

type OvnSnatRuleCondition added in v1.11.0

type OvnSnatRuleCondition Condition

OvnSnatRuleCondition describes the state of an object at a certain point. +k8s:deepcopy-gen=true

func (*OvnSnatRuleCondition) DeepCopy added in v1.11.0

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

func (*OvnSnatRuleCondition) DeepCopyInto added in v1.11.0

func (in *OvnSnatRuleCondition) DeepCopyInto(out *OvnSnatRuleCondition)

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

type OvnSnatRuleList added in v1.11.0

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

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

func (*OvnSnatRuleList) DeepCopy added in v1.11.0

func (in *OvnSnatRuleList) DeepCopy() *OvnSnatRuleList

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

func (*OvnSnatRuleList) DeepCopyInto added in v1.11.0

func (in *OvnSnatRuleList) DeepCopyInto(out *OvnSnatRuleList)

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

func (*OvnSnatRuleList) DeepCopyObject added in v1.11.0

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

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

type OvnSnatRuleSpec added in v1.11.0

type OvnSnatRuleSpec struct {
	OvnEip    string `json:"ovnEip"`
	VpcSubnet string `json:"vpcSubnet"`
	IPName    string `json:"ipName"`
	Vpc       string `json:"vpc"`
	V4IpCidr  string `json:"v4IpCidr"` // subnet cidr or pod ip address
}

func (*OvnSnatRuleSpec) DeepCopy added in v1.11.0

func (in *OvnSnatRuleSpec) DeepCopy() *OvnSnatRuleSpec

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

func (*OvnSnatRuleSpec) DeepCopyInto added in v1.11.0

func (in *OvnSnatRuleSpec) DeepCopyInto(out *OvnSnatRuleSpec)

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

type OvnSnatRuleStatus added in v1.11.0

type OvnSnatRuleStatus struct {
	// +optional
	// +patchStrategy=merge
	Vpc      string `json:"vpc" patchStrategy:"merge"`
	V4Eip    string `json:"v4Eip" patchStrategy:"merge"`
	V4IpCidr string `json:"v4IpCidr" patchStrategy:"merge"`
	Ready    bool   `json:"ready" patchStrategy:"merge"`

	// Conditions represents the latest state of the object
	// +optional
	// +patchMergeKey=type
	// +patchStrategy=merge
	Conditions []OvnSnatRuleCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type"`
}

func (*OvnSnatRuleStatus) Bytes added in v1.11.0

func (osrs *OvnSnatRuleStatus) Bytes() ([]byte, error)

func (*OvnSnatRuleStatus) DeepCopy added in v1.11.0

func (in *OvnSnatRuleStatus) DeepCopy() *OvnSnatRuleStatus

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

func (*OvnSnatRuleStatus) DeepCopyInto added in v1.11.0

func (in *OvnSnatRuleStatus) DeepCopyInto(out *OvnSnatRuleStatus)

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

type PolicyRoute added in v1.9.0

type PolicyRoute struct {
	Priority int               `json:"priority,omitempty"`
	Match    string            `json:"match,omitempty"`
	Action   PolicyRouteAction `json:"action,omitempty"`
	// NextHopIP is an optional parameter. It needs to be provided only when 'action' is 'reroute'.
	// +optional
	NextHopIP string `json:"nextHopIP,omitempty"`
}

func (*PolicyRoute) DeepCopy added in v1.9.0

func (in *PolicyRoute) DeepCopy() *PolicyRoute

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

func (*PolicyRoute) DeepCopyInto added in v1.9.0

func (in *PolicyRoute) DeepCopyInto(out *PolicyRoute)

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

type PolicyRouteAction added in v1.9.0

type PolicyRouteAction string

type ProviderNetwork added in v1.7.1

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

	Spec   ProviderNetworkSpec   `json:"spec"`
	Status ProviderNetworkStatus `json:"status"`
}

func (*ProviderNetwork) DeepCopy added in v1.7.1

func (in *ProviderNetwork) DeepCopy() *ProviderNetwork

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

func (*ProviderNetwork) DeepCopyInto added in v1.7.1

func (in *ProviderNetwork) DeepCopyInto(out *ProviderNetwork)

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

func (*ProviderNetwork) DeepCopyObject added in v1.7.1

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

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

type ProviderNetworkCondition added in v1.7.1

type ProviderNetworkCondition struct {
	// Node name
	Node string `json:"node"`
	Condition
}

ProviderNetworkCondition describes the state of an object at a certain point. +k8s:deepcopy-gen=true

func (*ProviderNetworkCondition) DeepCopy added in v1.7.1

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

func (*ProviderNetworkCondition) DeepCopyInto added in v1.7.1

func (in *ProviderNetworkCondition) DeepCopyInto(out *ProviderNetworkCondition)

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

type ProviderNetworkList added in v1.7.1

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

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

func (*ProviderNetworkList) DeepCopy added in v1.7.1

func (in *ProviderNetworkList) DeepCopy() *ProviderNetworkList

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

func (*ProviderNetworkList) DeepCopyInto added in v1.7.1

func (in *ProviderNetworkList) DeepCopyInto(out *ProviderNetworkList)

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

func (*ProviderNetworkList) DeepCopyObject added in v1.7.1

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

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

type ProviderNetworkSpec added in v1.7.1

type ProviderNetworkSpec struct {
	DefaultInterface string            `json:"defaultInterface,omitempty"`
	CustomInterfaces []CustomInterface `json:"customInterfaces,omitempty"`
	ExcludeNodes     []string          `json:"excludeNodes,omitempty"`
	ExchangeLinkName bool              `json:"exchangeLinkName,omitempty"`
}

func (*ProviderNetworkSpec) DeepCopy added in v1.7.1

func (in *ProviderNetworkSpec) DeepCopy() *ProviderNetworkSpec

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

func (*ProviderNetworkSpec) DeepCopyInto added in v1.7.1

func (in *ProviderNetworkSpec) DeepCopyInto(out *ProviderNetworkSpec)

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

type ProviderNetworkStatus added in v1.7.1

type ProviderNetworkStatus struct {
	// +optional
	Ready bool `json:"ready"`

	// +optional
	ReadyNodes []string `json:"readyNodes,omitempty"`

	// +optional
	NotReadyNodes []string `json:"notReadyNodes,omitempty"`

	// +optional
	Vlans []string `json:"vlans,omitempty"`

	// Conditions represents the latest state of the object
	// +optional
	Conditions []ProviderNetworkCondition `json:"conditions,omitempty"`
}

func (*ProviderNetworkStatus) ClearNodeCondition added in v1.7.1

func (s *ProviderNetworkStatus) ClearNodeCondition(node string, ctype ConditionType, reason, message string) bool

ClearNodeCondition updates or creates a new condition

func (*ProviderNetworkStatus) ConditionReason added in v1.7.1

func (s *ProviderNetworkStatus) ConditionReason(node string, ctype ConditionType) string

ConditionReason - return condition reason

func (*ProviderNetworkStatus) DeepCopy added in v1.7.1

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

func (*ProviderNetworkStatus) DeepCopyInto added in v1.7.1

func (in *ProviderNetworkStatus) DeepCopyInto(out *ProviderNetworkStatus)

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

func (*ProviderNetworkStatus) EnsureNodeCondition added in v1.7.1

func (s *ProviderNetworkStatus) EnsureNodeCondition(node string, ctype ConditionType) bool

EnsureNodeCondition useful for adding default conditions

func (*ProviderNetworkStatus) EnsureNodeStandardConditions added in v1.7.1

func (s *ProviderNetworkStatus) EnsureNodeStandardConditions(node string) bool

EnsureNodeStandardConditions - helper to inject standard conditions

func (*ProviderNetworkStatus) GetNodeCondition added in v1.7.1

func (s *ProviderNetworkStatus) GetNodeCondition(node string, ctype ConditionType) *ProviderNetworkCondition

GetNodeCondition get existing condition

func (*ProviderNetworkStatus) IsNodeConditionTrue added in v1.7.1

func (s *ProviderNetworkStatus) IsNodeConditionTrue(node string, ctype ConditionType) bool

IsNodeConditionTrue - if condition is true

func (*ProviderNetworkStatus) IsReady added in v1.7.1

func (s *ProviderNetworkStatus) IsReady() bool

IsReady returns true if ready condition is set

func (*ProviderNetworkStatus) NodeIsReady added in v1.7.1

func (s *ProviderNetworkStatus) NodeIsReady(node string) bool

NodeIsReady returns true if ready condition is set

func (*ProviderNetworkStatus) RemoveNodeCondition added in v1.7.1

func (s *ProviderNetworkStatus) RemoveNodeCondition(node string, ctype ConditionType)

RemoveNodeCondition removes the condition with the provided type.

func (*ProviderNetworkStatus) RemoveNodeConditions added in v1.7.1

func (s *ProviderNetworkStatus) RemoveNodeConditions(node string) bool

RemoveNodeConditions updates or creates a new condition

func (*ProviderNetworkStatus) SetNodeCondition added in v1.7.1

func (s *ProviderNetworkStatus) SetNodeCondition(node string, ctype ConditionType, reason, message string) bool

SetNodeCondition updates or creates a new condition

func (*ProviderNetworkStatus) SetNodeNotReady added in v1.7.1

func (s *ProviderNetworkStatus) SetNodeNotReady(node, reason, message string) bool

SetNodeNotReady - shortcut to set ready condition to false

func (*ProviderNetworkStatus) SetNodeReady added in v1.7.1

func (s *ProviderNetworkStatus) SetNodeReady(node, reason, message string) bool

SetNodeReady - shortcut to set ready condition to true

type QoSPolicy added in v1.12.0

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

	Spec   QoSPolicySpec   `json:"spec"`
	Status QoSPolicyStatus `json:"status,omitempty"`
}

func (*QoSPolicy) DeepCopy added in v1.12.0

func (in *QoSPolicy) DeepCopy() *QoSPolicy

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

func (*QoSPolicy) DeepCopyInto added in v1.12.0

func (in *QoSPolicy) DeepCopyInto(out *QoSPolicy)

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

func (*QoSPolicy) DeepCopyObject added in v1.12.0

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

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

type QoSPolicyBandwidthLimitRule added in v1.12.0

type QoSPolicyBandwidthLimitRule struct {
	Name       string                 `json:"name"`
	Interface  string                 `json:"interface,omitempty"`
	RateMax    string                 `json:"rateMax,omitempty"`
	BurstMax   string                 `json:"burstMax,omitempty"`
	Priority   int                    `json:"priority,omitempty"`
	Direction  QoSPolicyRuleDirection `json:"direction,omitempty"`
	MatchType  QoSPolicyRuleMatchType `json:"matchType,omitempty"`
	MatchValue string                 `json:"matchValue,omitempty"`
}

BandwidthLimitRule describes the rule of an bandwidth limit.

func (*QoSPolicyBandwidthLimitRule) DeepCopy added in v1.12.0

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

func (*QoSPolicyBandwidthLimitRule) DeepCopyInto added in v1.12.0

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

type QoSPolicyBandwidthLimitRules added in v1.12.0

type QoSPolicyBandwidthLimitRules []*QoSPolicyBandwidthLimitRule

func (QoSPolicyBandwidthLimitRules) DeepCopy added in v1.12.0

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

func (QoSPolicyBandwidthLimitRules) DeepCopyInto added in v1.12.0

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

func (QoSPolicyBandwidthLimitRules) Strings added in v1.12.0

type QoSPolicyBindingType added in v1.12.0

type QoSPolicyBindingType string
const (
	QoSBindingTypeEIP   QoSPolicyBindingType = "EIP"
	QoSBindingTypeNatGw QoSPolicyBindingType = "NATGW"
)

type QoSPolicyCondition added in v1.12.0

type QoSPolicyCondition Condition

Condition describes the state of an object at a certain point. +k8s:deepcopy-gen=true

func (*QoSPolicyCondition) DeepCopy added in v1.12.0

func (in *QoSPolicyCondition) DeepCopy() *QoSPolicyCondition

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

func (*QoSPolicyCondition) DeepCopyInto added in v1.12.0

func (in *QoSPolicyCondition) DeepCopyInto(out *QoSPolicyCondition)

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

type QoSPolicyList added in v1.12.0

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

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

func (*QoSPolicyList) DeepCopy added in v1.12.0

func (in *QoSPolicyList) DeepCopy() *QoSPolicyList

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

func (*QoSPolicyList) DeepCopyInto added in v1.12.0

func (in *QoSPolicyList) DeepCopyInto(out *QoSPolicyList)

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

func (*QoSPolicyList) DeepCopyObject added in v1.12.0

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

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

type QoSPolicyRuleDirection added in v1.12.0

type QoSPolicyRuleDirection string
const (
	DirectionIngress QoSPolicyRuleDirection = "ingress"
	DirectionEgress  QoSPolicyRuleDirection = "egress"
)

type QoSPolicyRuleMatchType added in v1.12.0

type QoSPolicyRuleMatchType string
const (
	MatchTypeIP QoSPolicyRuleMatchType = "ip"
)

type QoSPolicySpec added in v1.12.0

type QoSPolicySpec struct {
	BandwidthLimitRules QoSPolicyBandwidthLimitRules `json:"bandwidthLimitRules"`
	Shared              bool                         `json:"shared"`
	BindingType         QoSPolicyBindingType         `json:"bindingType"`
}

func (*QoSPolicySpec) DeepCopy added in v1.12.0

func (in *QoSPolicySpec) DeepCopy() *QoSPolicySpec

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

func (*QoSPolicySpec) DeepCopyInto added in v1.12.0

func (in *QoSPolicySpec) DeepCopyInto(out *QoSPolicySpec)

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

type QoSPolicyStatus added in v1.12.0

type QoSPolicyStatus struct {
	BandwidthLimitRules QoSPolicyBandwidthLimitRules `json:"bandwidthLimitRules" patchStrategy:"merge"`
	Shared              bool                         `json:"shared" patchStrategy:"merge"`
	BindingType         QoSPolicyBindingType         `json:"bindingType"`

	// Conditions represents the latest state of the object
	// +optional
	// +patchMergeKey=type
	// +patchStrategy=merge
	Conditions []QoSPolicyCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type"`
}

func (*QoSPolicyStatus) Bytes added in v1.12.0

func (qoss *QoSPolicyStatus) Bytes() ([]byte, error)

func (*QoSPolicyStatus) DeepCopy added in v1.12.0

func (in *QoSPolicyStatus) DeepCopy() *QoSPolicyStatus

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

func (*QoSPolicyStatus) DeepCopyInto added in v1.12.0

func (in *QoSPolicyStatus) DeepCopyInto(out *QoSPolicyStatus)

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

type RoutePolicy

type RoutePolicy string
const (
	PolicySrc RoutePolicy = "policySrc"
	PolicyDst RoutePolicy = "policyDst"
)

type SecurityGroup added in v1.8.0

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

	Spec   SecurityGroupSpec   `json:"spec"`
	Status SecurityGroupStatus `json:"status"`
}

func (*SecurityGroup) DeepCopy added in v1.8.0

func (in *SecurityGroup) DeepCopy() *SecurityGroup

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

func (*SecurityGroup) DeepCopyInto added in v1.8.0

func (in *SecurityGroup) DeepCopyInto(out *SecurityGroup)

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

func (*SecurityGroup) DeepCopyObject added in v1.8.0

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

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

type SecurityGroupList added in v1.8.0

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

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

func (*SecurityGroupList) DeepCopy added in v1.8.0

func (in *SecurityGroupList) DeepCopy() *SecurityGroupList

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

func (*SecurityGroupList) DeepCopyInto added in v1.8.0

func (in *SecurityGroupList) DeepCopyInto(out *SecurityGroupList)

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

func (*SecurityGroupList) DeepCopyObject added in v1.8.0

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

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

type SecurityGroupSpec added in v1.8.0

type SecurityGroupSpec struct {
	IngressRules          []*SgRule `json:"ingressRules,omitempty"`
	EgressRules           []*SgRule `json:"egressRules,omitempty"`
	AllowSameGroupTraffic bool      `json:"allowSameGroupTraffic,omitempty"`
}

func (*SecurityGroupSpec) DeepCopy added in v1.8.0

func (in *SecurityGroupSpec) DeepCopy() *SecurityGroupSpec

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

func (*SecurityGroupSpec) DeepCopyInto added in v1.8.0

func (in *SecurityGroupSpec) DeepCopyInto(out *SecurityGroupSpec)

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

type SecurityGroupStatus added in v1.8.0

type SecurityGroupStatus struct {
	PortGroup              string `json:"portGroup"`
	AllowSameGroupTraffic  bool   `json:"allowSameGroupTraffic"`
	IngressMd5             string `json:"ingressMd5"`
	EgressMd5              string `json:"egressMd5"`
	IngressLastSyncSuccess bool   `json:"ingressLastSyncSuccess"`
	EgressLastSyncSuccess  bool   `json:"egressLastSyncSuccess"`
}

func (*SecurityGroupStatus) Bytes added in v1.8.0

func (sgs *SecurityGroupStatus) Bytes() ([]byte, error)

func (*SecurityGroupStatus) DeepCopy added in v1.8.0

func (in *SecurityGroupStatus) DeepCopy() *SecurityGroupStatus

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

func (*SecurityGroupStatus) DeepCopyInto added in v1.8.0

func (in *SecurityGroupStatus) DeepCopyInto(out *SecurityGroupStatus)

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

type SgPolicy added in v1.8.0

type SgPolicy string

type SgProtocol added in v1.8.0

type SgProtocol string
const (
	ProtocolALL  SgProtocol = "all"
	ProtocolICMP SgProtocol = "icmp"
	ProtocolTCP  SgProtocol = "tcp"
	ProtocolUDP  SgProtocol = "udp"
)

type SgRemoteType added in v1.8.0

type SgRemoteType string
const (
	SgRemoteTypeAddress SgRemoteType = "address"
	SgRemoteTypeSg      SgRemoteType = "securityGroup"
)

type SgRule added in v1.8.0

type SgRule struct {
	IPVersion           string       `json:"ipVersion"`
	Protocol            SgProtocol   `json:"protocol,omitempty"`
	Priority            int          `json:"priority,omitempty"`
	RemoteType          SgRemoteType `json:"remoteType"`
	RemoteAddress       string       `json:"remoteAddress,omitempty"`
	RemoteSecurityGroup string       `json:"remoteSecurityGroup,omitempty"`
	PortRangeMin        int          `json:"portRangeMin,omitempty"`
	PortRangeMax        int          `json:"portRangeMax,omitempty"`
	Policy              SgPolicy     `json:"policy"`
}

func (*SgRule) DeepCopy added in v1.8.0

func (in *SgRule) DeepCopy() *SgRule

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

func (*SgRule) DeepCopyInto added in v1.8.0

func (in *SgRule) DeepCopyInto(out *SgRule)

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

type SlrPort added in v1.11.0

type SlrPort struct {
	Name       string `json:"name"`
	Port       int32  `json:"port"`
	TargetPort int32  `json:"targetPort,omitempty"`
	Protocol   string `json:"protocol"`
}

func (*SlrPort) DeepCopy added in v1.11.0

func (in *SlrPort) DeepCopy() *SlrPort

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

func (*SlrPort) DeepCopyInto added in v1.11.0

func (in *SlrPort) DeepCopyInto(out *SlrPort)

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

type StaticRoute

type StaticRoute struct {
	Policy     RoutePolicy `json:"policy,omitempty"`
	CIDR       string      `json:"cidr"`
	NextHopIP  string      `json:"nextHopIP"`
	ECMPMode   string      `json:"ecmpMode"`
	BfdID      string      `json:"bfdId"`
	RouteTable string      `json:"routeTable"`
}

func (*StaticRoute) DeepCopy

func (in *StaticRoute) DeepCopy() *StaticRoute

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

func (*StaticRoute) DeepCopyInto

func (in *StaticRoute) DeepCopyInto(out *StaticRoute)

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

type Subnet

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

	Spec   SubnetSpec   `json:"spec"`
	Status SubnetStatus `json:"status,omitempty"`
}

func (*Subnet) DeepCopy

func (in *Subnet) DeepCopy() *Subnet

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

func (*Subnet) DeepCopyInto

func (in *Subnet) DeepCopyInto(out *Subnet)

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

func (*Subnet) DeepCopyObject

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

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

type SubnetCondition

type SubnetCondition Condition

SubnetCondition describes the state of an object at a certain point. +k8s:deepcopy-gen=true

func (*SubnetCondition) DeepCopy

func (in *SubnetCondition) DeepCopy() *SubnetCondition

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

func (*SubnetCondition) DeepCopyInto

func (in *SubnetCondition) DeepCopyInto(out *SubnetCondition)

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

type SubnetList

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

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

func (*SubnetList) DeepCopy

func (in *SubnetList) DeepCopy() *SubnetList

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

func (*SubnetList) DeepCopyInto

func (in *SubnetList) DeepCopyInto(out *SubnetList)

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

func (*SubnetList) DeepCopyObject

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

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

type SubnetSpec

type SubnetSpec struct {
	Default    bool     `json:"default"`
	Vpc        string   `json:"vpc,omitempty"`
	Protocol   string   `json:"protocol,omitempty"`
	Namespaces []string `json:"namespaces,omitempty"`
	CIDRBlock  string   `json:"cidrBlock"`
	Gateway    string   `json:"gateway"`
	ExcludeIps []string `json:"excludeIps,omitempty"`
	Provider   string   `json:"provider,omitempty"`

	GatewayType string `json:"gatewayType,omitempty"`
	GatewayNode string `json:"gatewayNode"`
	NatOutgoing bool   `json:"natOutgoing"`

	ExternalEgressGateway string `json:"externalEgressGateway,omitempty"`
	PolicyRoutingPriority uint32 `json:"policyRoutingPriority,omitempty"`
	PolicyRoutingTableID  uint32 `json:"policyRoutingTableID,omitempty"`
	Mtu                   uint32 `json:"mtu,omitempty"`

	Private      bool     `json:"private"`
	AllowSubnets []string `json:"allowSubnets,omitempty"`

	Vlan string   `json:"vlan,omitempty"`
	Vips []string `json:"vips,omitempty"`

	LogicalGateway         bool `json:"logicalGateway,omitempty"`
	DisableGatewayCheck    bool `json:"disableGatewayCheck,omitempty"`
	DisableInterConnection bool `json:"disableInterConnection,omitempty"`

	EnableDHCP    bool   `json:"enableDHCP,omitempty"`
	DHCPv4Options string `json:"dhcpV4Options,omitempty"`
	DHCPv6Options string `json:"dhcpV6Options,omitempty"`

	EnableIPv6RA  bool   `json:"enableIPv6RA,omitempty"`
	IPv6RAConfigs string `json:"ipv6RAConfigs,omitempty"`

	Acls []ACL `json:"acls,omitempty"`

	NatOutgoingPolicyRules []NatOutgoingPolicyRule `json:"natOutgoingPolicyRules,omitempty"`

	U2OInterconnectionIP string `json:"u2oInterconnectionIP,omitempty"`
	U2OInterconnection   bool   `json:"u2oInterconnection,omitempty"`
	EnableLb             *bool  `json:"enableLb,omitempty"`
	EnableEcmp           bool   `json:"enableEcmp,omitempty"`

	RouteTable string `json:"routeTable,omitempty"`
}

func (*SubnetSpec) DeepCopy

func (in *SubnetSpec) DeepCopy() *SubnetSpec

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

func (*SubnetSpec) DeepCopyInto

func (in *SubnetSpec) DeepCopyInto(out *SubnetSpec)

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

type SubnetStatus

type SubnetStatus struct {
	// Conditions represents the latest state of the object
	// +optional
	// +patchMergeKey=type
	// +patchStrategy=merge
	Conditions []SubnetCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type"`

	V4AvailableIPs         float64                       `json:"v4availableIPs"`
	V4AvailableIPRange     string                        `json:"v4availableIPrange"`
	V4UsingIPs             float64                       `json:"v4usingIPs"`
	V4UsingIPRange         string                        `json:"v4usingIPrange"`
	V6AvailableIPs         float64                       `json:"v6availableIPs"`
	V6AvailableIPRange     string                        `json:"v6availableIPrange"`
	V6UsingIPs             float64                       `json:"v6usingIPs"`
	V6UsingIPRange         string                        `json:"v6usingIPrange"`
	ActivateGateway        string                        `json:"activateGateway"`
	DHCPv4OptionsUUID      string                        `json:"dhcpV4OptionsUUID"`
	DHCPv6OptionsUUID      string                        `json:"dhcpV6OptionsUUID"`
	U2OInterconnectionIP   string                        `json:"u2oInterconnectionIP"`
	U2OInterconnectionVPC  string                        `json:"u2oInterconnectionVPC"`
	NatOutgoingPolicyRules []NatOutgoingPolicyRuleStatus `json:"natOutgoingPolicyRules"`
}

func (*SubnetStatus) Bytes

func (ss *SubnetStatus) Bytes() ([]byte, error)

func (*SubnetStatus) ClearAllConditions

func (m *SubnetStatus) ClearAllConditions()

ClearAllConditions updates or creates a new condition

func (*SubnetStatus) ClearCondition

func (m *SubnetStatus) ClearCondition(ctype ConditionType, reason, message string)

ClearCondition updates or creates a new condition

func (*SubnetStatus) ClearError

func (m *SubnetStatus) ClearError()

ClearError - shortcut to set error condition

func (*SubnetStatus) ConditionReason

func (m *SubnetStatus) ConditionReason(ctype ConditionType) string

ConditionReason - return condition reason

func (*SubnetStatus) DeepCopy

func (in *SubnetStatus) DeepCopy() *SubnetStatus

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

func (*SubnetStatus) DeepCopyInto

func (in *SubnetStatus) DeepCopyInto(out *SubnetStatus)

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

func (*SubnetStatus) EnsureCondition

func (m *SubnetStatus) EnsureCondition(ctype ConditionType)

EnsureCondition useful for adding default conditions

func (*SubnetStatus) EnsureStandardConditions

func (m *SubnetStatus) EnsureStandardConditions()

EnsureStandardConditions - helper to inject standard conditions

func (*SubnetStatus) GetCondition

func (m *SubnetStatus) GetCondition(ctype ConditionType) *SubnetCondition

GetCondition get existing condition

func (*SubnetStatus) IsConditionTrue

func (m *SubnetStatus) IsConditionTrue(ctype ConditionType) bool

IsConditionTrue - if condition is true

func (*SubnetStatus) IsNotReady

func (m *SubnetStatus) IsNotReady() bool

IsNotReady returns true if ready condition is set

func (*SubnetStatus) IsNotValidated

func (m *SubnetStatus) IsNotValidated() bool

IsNotValidated returns true if ready condition is set

func (*SubnetStatus) IsReady

func (m *SubnetStatus) IsReady() bool

IsReady returns true if ready condition is set

func (*SubnetStatus) IsValidated

func (m *SubnetStatus) IsValidated() bool

IsValidated returns true if ready condition is set

func (*SubnetStatus) NotReady

func (m *SubnetStatus) NotReady(reason, message string)

NotReady - shortcut to set ready condition to false

func (*SubnetStatus) NotValidated

func (m *SubnetStatus) NotValidated(reason, message string)

NotValidated - shortcut to set validated condition to false

func (*SubnetStatus) Ready

func (m *SubnetStatus) Ready(reason, message string)

Ready - shortcut to set ready condition to true

func (*SubnetStatus) RemoveAllConditions

func (m *SubnetStatus) RemoveAllConditions()

RemoveAllConditions updates or creates a new condition

func (*SubnetStatus) RemoveCondition

func (m *SubnetStatus) RemoveCondition(ctype ConditionType)

RemoveCondition removes the condition with the provided type.

func (*SubnetStatus) SetCondition

func (m *SubnetStatus) SetCondition(ctype ConditionType, reason, message string)

SetCondition updates or creates a new condition

func (*SubnetStatus) SetError

func (m *SubnetStatus) SetError(reason, message string)

SetError - shortcut to set error condition

func (*SubnetStatus) Validated

func (m *SubnetStatus) Validated(reason, message string)

Validated - shortcut to set validated condition to true

type SwitchLBRule added in v1.11.0

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

	Spec   SwitchLBRuleSpec   `json:"spec"`
	Status SwitchLBRuleStatus `json:"status,omitempty"`
}

func (*SwitchLBRule) DeepCopy added in v1.11.0

func (in *SwitchLBRule) DeepCopy() *SwitchLBRule

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

func (*SwitchLBRule) DeepCopyInto added in v1.11.0

func (in *SwitchLBRule) DeepCopyInto(out *SwitchLBRule)

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

func (*SwitchLBRule) DeepCopyObject added in v1.11.0

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

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

type SwitchLBRuleCondition added in v1.11.0

type SwitchLBRuleCondition Condition

SwitchLBRuleCondition describes the state of an object at a certain point. +k8s:deepcopy-gen=true

func (*SwitchLBRuleCondition) DeepCopy added in v1.11.0

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

func (*SwitchLBRuleCondition) DeepCopyInto added in v1.11.0

func (in *SwitchLBRuleCondition) DeepCopyInto(out *SwitchLBRuleCondition)

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

type SwitchLBRuleList added in v1.11.0

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

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

func (*SwitchLBRuleList) DeepCopy added in v1.11.0

func (in *SwitchLBRuleList) DeepCopy() *SwitchLBRuleList

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

func (*SwitchLBRuleList) DeepCopyInto added in v1.11.0

func (in *SwitchLBRuleList) DeepCopyInto(out *SwitchLBRuleList)

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

func (*SwitchLBRuleList) DeepCopyObject added in v1.11.0

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

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

type SwitchLBRuleSpec added in v1.11.0

type SwitchLBRuleSpec struct {
	Vip             string    `json:"vip"`
	Namespace       string    `json:"namespace"`
	Selector        []string  `json:"selector"`
	Endpoints       []string  `json:"endpoints"`
	SessionAffinity string    `json:"sessionAffinity,omitempty"`
	Ports           []SlrPort `json:"ports"`
}

func (*SwitchLBRuleSpec) DeepCopy added in v1.11.0

func (in *SwitchLBRuleSpec) DeepCopy() *SwitchLBRuleSpec

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

func (*SwitchLBRuleSpec) DeepCopyInto added in v1.11.0

func (in *SwitchLBRuleSpec) DeepCopyInto(out *SwitchLBRuleSpec)

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

type SwitchLBRuleStatus added in v1.11.0

type SwitchLBRuleStatus struct {
	// Conditions represents the latest state of the object
	// +optional
	// +patchMergeKey=type
	// +patchStrategy=merge
	Conditions []SwitchLBRuleCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type"`

	Ports   string `json:"ports" patchStrategy:"merge"`
	Service string `json:"service" patchStrategy:"merge"`
}

func (*SwitchLBRuleStatus) DeepCopy added in v1.11.0

func (in *SwitchLBRuleStatus) DeepCopy() *SwitchLBRuleStatus

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

func (*SwitchLBRuleStatus) DeepCopyInto added in v1.11.0

func (in *SwitchLBRuleStatus) DeepCopyInto(out *SwitchLBRuleStatus)

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

type Vip added in v1.10.0

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

	Spec   VipSpec   `json:"spec"`
	Status VipStatus `json:"status,omitempty"`
}

func (*Vip) DeepCopy added in v1.10.0

func (in *Vip) DeepCopy() *Vip

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

func (*Vip) DeepCopyInto added in v1.10.0

func (in *Vip) DeepCopyInto(out *Vip)

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

func (*Vip) DeepCopyObject added in v1.10.0

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

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

type VipCondition added in v1.10.0

type VipCondition Condition

VipCondition describes the state of an object at a certain point. +k8s:deepcopy-gen=true

func (*VipCondition) DeepCopy added in v1.10.0

func (in *VipCondition) DeepCopy() *VipCondition

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

func (*VipCondition) DeepCopyInto added in v1.10.0

func (in *VipCondition) DeepCopyInto(out *VipCondition)

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

type VipList added in v1.10.0

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

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

func (*VipList) DeepCopy added in v1.10.0

func (in *VipList) DeepCopy() *VipList

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

func (*VipList) DeepCopyInto added in v1.10.0

func (in *VipList) DeepCopyInto(out *VipList)

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

func (*VipList) DeepCopyObject added in v1.10.0

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

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

type VipSpec added in v1.10.0

type VipSpec struct {
	Namespace string `json:"namespace"`
	Subnet    string `json:"subnet"`
	Type      string `json:"type"`
	// usage type: switch lb vip, allowed address pair vip by default
	V4ip          string   `json:"v4ip"`
	V6ip          string   `json:"v6ip"`
	MacAddress    string   `json:"macAddress"`
	ParentV4ip    string   `json:"parentV4ip"`
	ParentV6ip    string   `json:"parentV6ip"`
	ParentMac     string   `json:"parentMac"`
	AttachSubnets []string `json:"attachSubnets"`
}

func (*VipSpec) DeepCopy added in v1.10.0

func (in *VipSpec) DeepCopy() *VipSpec

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

func (*VipSpec) DeepCopyInto added in v1.10.0

func (in *VipSpec) DeepCopyInto(out *VipSpec)

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

type VipStatus added in v1.10.0

type VipStatus struct {
	// Conditions represents the latest state of the object
	// +optional
	// +patchMergeKey=type
	// +patchStrategy=merge
	Conditions []VipCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type"`

	Ready bool   `json:"ready" patchStrategy:"merge"`
	Type  string `json:"type"`
	V4ip  string `json:"v4ip" patchStrategy:"merge"`
	V6ip  string `json:"v6ip" patchStrategy:"merge"`
	Mac   string `json:"mac" patchStrategy:"merge"`
	Pv4ip string `json:"pv4ip" patchStrategy:"merge"`
	Pv6ip string `json:"pv6ip" patchStrategy:"merge"`
	Pmac  string `json:"pmac" patchStrategy:"merge"`
}

func (*VipStatus) Bytes added in v1.10.0

func (vipst *VipStatus) Bytes() ([]byte, error)

func (*VipStatus) DeepCopy added in v1.10.0

func (in *VipStatus) DeepCopy() *VipStatus

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

func (*VipStatus) DeepCopyInto added in v1.10.0

func (in *VipStatus) DeepCopyInto(out *VipStatus)

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

type Vlan

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

	Spec   VlanSpec   `json:"spec"`
	Status VlanStatus `json:"status"`
}

func (*Vlan) DeepCopy

func (in *Vlan) DeepCopy() *Vlan

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

func (*Vlan) DeepCopyInto

func (in *Vlan) DeepCopyInto(out *Vlan)

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

func (*Vlan) DeepCopyObject

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

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

type VlanCondition

type VlanCondition Condition

VlanCondition describes the state of an object at a certain point. +k8s:deepcopy-gen=true

func (*VlanCondition) DeepCopy

func (in *VlanCondition) DeepCopy() *VlanCondition

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

func (*VlanCondition) DeepCopyInto

func (in *VlanCondition) DeepCopyInto(out *VlanCondition)

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

type VlanList

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

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

func (*VlanList) DeepCopy

func (in *VlanList) DeepCopy() *VlanList

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

func (*VlanList) DeepCopyInto

func (in *VlanList) DeepCopyInto(out *VlanList)

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

func (*VlanList) DeepCopyObject

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

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

type VlanSpec

type VlanSpec struct {
	// deprecated fields, use ID & Provider instead
	VlanID                int    `json:"vlanId,omitempty"`
	ProviderInterfaceName string `json:"providerInterfaceName,omitempty"`

	ID       int    `json:"id"`
	Provider string `json:"provider,omitempty"`
}

func (*VlanSpec) DeepCopy

func (in *VlanSpec) DeepCopy() *VlanSpec

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

func (*VlanSpec) DeepCopyInto

func (in *VlanSpec) DeepCopyInto(out *VlanSpec)

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

type VlanStatus

type VlanStatus struct {
	// +optional
	// +patchStrategy=merge
	Subnets []string `json:"subnets,omitempty"`

	// Conditions represents the latest state of the object
	// +optional
	Conditions []VlanCondition `json:"conditions,omitempty"`
}

func (*VlanStatus) DeepCopy

func (in *VlanStatus) DeepCopy() *VlanStatus

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

func (*VlanStatus) DeepCopyInto

func (in *VlanStatus) DeepCopyInto(out *VlanStatus)

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

func (*VlanStatus) SetVlanCondition

func (v *VlanStatus) SetVlanCondition(ctype ConditionType, reason, message string)

SetVlanCondition updates or creates a new condition

func (*VlanStatus) SetVlanError

func (v *VlanStatus) SetVlanError(reason, message string)

SetVlanError - shortcut to set error condition

type Vpc

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

	Spec   VpcSpec   `json:"spec"`
	Status VpcStatus `json:"status,omitempty"`
}

func (*Vpc) DeepCopy

func (in *Vpc) DeepCopy() *Vpc

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

func (*Vpc) DeepCopyInto

func (in *Vpc) DeepCopyInto(out *Vpc)

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

func (*Vpc) DeepCopyObject

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

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

type VpcCondition

type VpcCondition Condition

VpcCondition describes the state of an object at a certain point. +k8s:deepcopy-gen=true

func (*VpcCondition) DeepCopy

func (in *VpcCondition) DeepCopy() *VpcCondition

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

func (*VpcCondition) DeepCopyInto

func (in *VpcCondition) DeepCopyInto(out *VpcCondition)

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

type VpcDNSCondition added in v1.12.1

type VpcDNSCondition Condition

VpcDNSCondition describes the state of an object at a certain point. +k8s:deepcopy-gen=true

func (*VpcDNSCondition) DeepCopy added in v1.12.1

func (in *VpcDNSCondition) DeepCopy() *VpcDNSCondition

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

func (*VpcDNSCondition) DeepCopyInto added in v1.12.1

func (in *VpcDNSCondition) DeepCopyInto(out *VpcDNSCondition)

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

type VpcDNSSpec added in v1.12.1

type VpcDNSSpec struct {
	Replicas int32  `json:"replicas"`
	Vpc      string `json:"vpc"`
	Subnet   string `json:"subnet"`
}

func (*VpcDNSSpec) DeepCopy added in v1.12.1

func (in *VpcDNSSpec) DeepCopy() *VpcDNSSpec

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

func (*VpcDNSSpec) DeepCopyInto added in v1.12.1

func (in *VpcDNSSpec) DeepCopyInto(out *VpcDNSSpec)

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

type VpcDNSStatus added in v1.12.1

type VpcDNSStatus struct {
	// +optional
	// +patchMergeKey=type
	// +patchStrategy=merge
	Conditions []VpcDNSCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type"`

	Active bool `json:"active" patchStrategy:"merge"`
}

func (*VpcDNSStatus) DeepCopy added in v1.12.1

func (in *VpcDNSStatus) DeepCopy() *VpcDNSStatus

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

func (*VpcDNSStatus) DeepCopyInto added in v1.12.1

func (in *VpcDNSStatus) DeepCopyInto(out *VpcDNSStatus)

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

type VpcDns added in v1.11.0

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

	Spec   VpcDNSSpec   `json:"spec"`
	Status VpcDNSStatus `json:"status,omitempty"`
}

func (*VpcDns) DeepCopy added in v1.11.0

func (in *VpcDns) DeepCopy() *VpcDns

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

func (*VpcDns) DeepCopyInto added in v1.11.0

func (in *VpcDns) DeepCopyInto(out *VpcDns)

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

func (*VpcDns) DeepCopyObject added in v1.11.0

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

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

type VpcDnsList added in v1.11.0

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

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

func (*VpcDnsList) DeepCopy added in v1.11.0

func (in *VpcDnsList) DeepCopy() *VpcDnsList

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

func (*VpcDnsList) DeepCopyInto added in v1.11.0

func (in *VpcDnsList) DeepCopyInto(out *VpcDnsList)

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

func (*VpcDnsList) DeepCopyObject added in v1.11.0

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

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

type VpcList

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

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

func (*VpcList) DeepCopy

func (in *VpcList) DeepCopy() *VpcList

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

func (*VpcList) DeepCopyInto

func (in *VpcList) DeepCopyInto(out *VpcList)

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

func (*VpcList) DeepCopyObject

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

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

type VpcNatGateway

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

	Spec   VpcNatSpec   `json:"spec"`
	Status VpcNatStatus `json:"status,omitempty"`
}

func (*VpcNatGateway) DeepCopy

func (in *VpcNatGateway) DeepCopy() *VpcNatGateway

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

func (*VpcNatGateway) DeepCopyInto

func (in *VpcNatGateway) DeepCopyInto(out *VpcNatGateway)

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

func (*VpcNatGateway) DeepCopyObject

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

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

type VpcNatGatewayList

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

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

func (*VpcNatGatewayList) DeepCopy

func (in *VpcNatGatewayList) DeepCopy() *VpcNatGatewayList

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

func (*VpcNatGatewayList) DeepCopyInto

func (in *VpcNatGatewayList) DeepCopyInto(out *VpcNatGatewayList)

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

func (*VpcNatGatewayList) DeepCopyObject

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

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

type VpcNatSpec

type VpcNatSpec struct {
	Vpc             string              `json:"vpc"`
	Subnet          string              `json:"subnet"`
	ExternalSubnets []string            `json:"externalSubnets"`
	LanIP           string              `json:"lanIp"`
	Selector        []string            `json:"selector"`
	Tolerations     []corev1.Toleration `json:"tolerations"`
	Affinity        corev1.Affinity     `json:"affinity"`
	QoSPolicy       string              `json:"qosPolicy"`
}

func (*VpcNatSpec) DeepCopy

func (in *VpcNatSpec) DeepCopy() *VpcNatSpec

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

func (*VpcNatSpec) DeepCopyInto

func (in *VpcNatSpec) DeepCopyInto(out *VpcNatSpec)

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

type VpcNatStatus added in v1.12.0

type VpcNatStatus struct {
	QoSPolicy       string              `json:"qosPolicy" patchStrategy:"merge"`
	ExternalSubnets []string            `json:"externalSubnets" patchStrategy:"merge"`
	Selector        []string            `json:"selector" patchStrategy:"merge"`
	Tolerations     []corev1.Toleration `json:"tolerations" patchStrategy:"merge"`
	Affinity        corev1.Affinity     `json:"affinity" patchStrategy:"merge"`
}

func (*VpcNatStatus) Bytes added in v1.12.0

func (vns *VpcNatStatus) Bytes() ([]byte, error)

func (*VpcNatStatus) DeepCopy added in v1.12.0

func (in *VpcNatStatus) DeepCopy() *VpcNatStatus

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

func (*VpcNatStatus) DeepCopyInto added in v1.12.0

func (in *VpcNatStatus) DeepCopyInto(out *VpcNatStatus)

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

type VpcPeering added in v1.9.6

type VpcPeering struct {
	RemoteVpc      string `json:"remoteVpc,omitempty"`
	LocalConnectIP string `json:"localConnectIP,omitempty"`
}

func (*VpcPeering) DeepCopy added in v1.9.6

func (in *VpcPeering) DeepCopy() *VpcPeering

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

func (*VpcPeering) DeepCopyInto added in v1.9.6

func (in *VpcPeering) DeepCopyInto(out *VpcPeering)

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

type VpcSpec

type VpcSpec struct {
	Namespaces           []string       `json:"namespaces,omitempty"`
	StaticRoutes         []*StaticRoute `json:"staticRoutes,omitempty"`
	PolicyRoutes         []*PolicyRoute `json:"policyRoutes,omitempty"`
	VpcPeerings          []*VpcPeering  `json:"vpcPeerings,omitempty"`
	EnableExternal       bool           `json:"enableExternal,omitempty"`
	ExtraExternalSubnets []string       `json:"extraExternalSubnets,omitempty"`
	EnableBfd            bool           `json:"enableBfd,omitempty"`
}

func (*VpcSpec) DeepCopy

func (in *VpcSpec) DeepCopy() *VpcSpec

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

func (*VpcSpec) DeepCopyInto

func (in *VpcSpec) DeepCopyInto(out *VpcSpec)

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

type VpcStatus

type VpcStatus struct {
	// Conditions represents the latest state of the object
	// +optional
	// +patchMergeKey=type
	// +patchStrategy=merge
	Conditions []VpcCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type"`

	Standby                 bool     `json:"standby"`
	Default                 bool     `json:"default"`
	DefaultLogicalSwitch    string   `json:"defaultLogicalSwitch"`
	Router                  string   `json:"router"`
	TCPLoadBalancer         string   `json:"tcpLoadBalancer"`
	UDPLoadBalancer         string   `json:"udpLoadBalancer"`
	SctpLoadBalancer        string   `json:"sctpLoadBalancer"`
	TCPSessionLoadBalancer  string   `json:"tcpSessionLoadBalancer"`
	UDPSessionLoadBalancer  string   `json:"udpSessionLoadBalancer"`
	SctpSessionLoadBalancer string   `json:"sctpSessionLoadBalancer"`
	Subnets                 []string `json:"subnets"`
	VpcPeerings             []string `json:"vpcPeerings"`
	EnableExternal          bool     `json:"enableExternal"`
	ExtraExternalSubnets    []string `json:"extraExternalSubnets"`
	EnableBfd               bool     `json:"enableBfd"`
}

func (*VpcStatus) Bytes

func (vs *VpcStatus) Bytes() ([]byte, error)

func (*VpcStatus) DeepCopy

func (in *VpcStatus) DeepCopy() *VpcStatus

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

func (*VpcStatus) DeepCopyInto

func (in *VpcStatus) DeepCopyInto(out *VpcStatus)

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