v1

package
v1.11.11 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2023 License: Apache-2.0 Imports: 9 Imported by: 16

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.10.0

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.10.0

func (in *Acl) DeepCopy() *Acl

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

func (*Acl) DeepCopyInto added in v1.10.0

func (in *Acl) DeepCopyInto(out *Acl)

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 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 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 (*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 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 (*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"`
}

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"`

	// 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 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 (*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"`

	// 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 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 (*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"`

	// 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 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 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 (*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"`
	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"`

	V4Ip       string `json:"v4ip" 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 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 (*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"`
	IpName string `json:"ipName"`
}

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
	Ready      bool   `json:"ready" patchStrategy:"merge"`
	V4Eip      string `json:"v4Eip" patchStrategy:"merge"`
	V4Ip       string `json:"v4Ip" patchStrategy:"merge"`
	MacAddress string `json:"macAddress" patchStrategy:"merge"`
	Vpc        string `json:"vpc" 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"`
}

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

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 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 (*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"`
}

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
	Ready    bool   `json:"ready" patchStrategy:"merge"`
	V4Eip    string `json:"v4Eip" patchStrategy:"merge"`
	V4IpCidr string `json:"v4ipCidr" patchStrategy:"merge"`
	Vpc      string `json:"vpc" 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 int32             `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"`
	// 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 (*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

EnsureStandardConditions - helper to inject standard conditions

func (*ProviderNetworkStatus) GetNodeCondition added in v1.7.1

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

GetCondition 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)

RemoveCondition 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

NodeNotReady - shortcut to set ready condition to false

func (*ProviderNetworkStatus) SetNodeReady added in v1.7.1

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

NodeReady - shortcut to set ready condition to true

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"`
}

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 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 (*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"`
	U2oRouting  bool   `json:"u2oRouting,omitempty"`

	ExternalEgressGateway string `json:"externalEgressGateway,omitempty"`
	PolicyRoutingPriority uint32 `json:"policyRoutingPriority,omitempty"`
	PolicyRoutingTableID  uint32 `json:"policyRoutingTableID,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"`

	U2OInterconnection   bool   `json:"u2oInterconnection,omitempty"`
	U2OInterconnectionIP string `json:"u2oInterconnectionIP,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"`
	V4UsingIPs            float64 `json:"v4usingIPs"`
	V6AvailableIPs        float64 `json:"v6availableIPs"`
	V6UsingIPs            float64 `json:"v6usingIPs"`
	ActivateGateway       string  `json:"activateGateway"`
	DHCPv4OptionsUUID     string  `json:"dhcpV4OptionsUUID"`
	DHCPv6OptionsUUID     string  `json:"dhcpV6OptionsUUID"`
	U2OInterconnectionIP  string  `json:"u2oInterconnectionIP"`
	U2OInterconnectionVPC string  `json:"u2oInterconnectionVPC"`
}

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"`
}

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

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 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 (*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"`
}

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

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"`
	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 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 (*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"`
	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"`
	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 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 (*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)

SetCondition updates or creates a new condition

func (*VlanStatus) SetVlanError

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

SetError - 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 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 (*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 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 VpcDnsCondition added in v1.11.0

type VpcDnsCondition 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 (*VpcDnsCondition) DeepCopy added in v1.11.0

func (in *VpcDnsCondition) DeepCopy() *VpcDnsCondition

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

func (*VpcDnsCondition) DeepCopyInto added in v1.11.0

func (in *VpcDnsCondition) DeepCopyInto(out *VpcDnsCondition)

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

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 VpcDnsSpec added in v1.11.0

type VpcDnsSpec struct {
	Vpc    string `json:"vpc"`
	Subnet string `json:"subnet"`
}

func (*VpcDnsSpec) DeepCopy added in v1.11.0

func (in *VpcDnsSpec) DeepCopy() *VpcDnsSpec

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

func (*VpcDnsSpec) DeepCopyInto added in v1.11.0

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.11.0

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.11.0

func (in *VpcDnsStatus) DeepCopy() *VpcDnsStatus

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

func (*VpcDnsStatus) DeepCopyInto added in v1.11.0

func (in *VpcDnsStatus) DeepCopyInto(out *VpcDnsStatus)

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

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"`
}

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"`
	LanIp       string             `json:"lanIp"`
	Selector    []string           `json:"selector"`
	Tolerations []VpcNatToleration `json:"tolerations"`
}

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 VpcNatToleration added in v1.11.0

type VpcNatToleration struct {
	Key               string `json:"key"`
	Operator          string `json:"operator"`
	Value             string `json:"value"`
	Effect            string `json:"effect"`
	TolerationSeconds int64  `json:"tolerationSeconds"`
}

func (*VpcNatToleration) DeepCopy added in v1.11.0

func (in *VpcNatToleration) DeepCopy() *VpcNatToleration

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

func (*VpcNatToleration) DeepCopyInto added in v1.11.0

func (in *VpcNatToleration) DeepCopyInto(out *VpcNatToleration)

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"`
}

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"`
}

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