Documentation ¶
Index ¶
- Constants
- Variables
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type ACL
- type Condition
- type ConditionType
- type CustomInterface
- type IP
- type IPList
- type IPPool
- type IPPoolCondition
- type IPPoolList
- type IPPoolSpec
- type IPPoolStatus
- func (s *IPPoolStatus) Bytes() ([]byte, error)
- func (s *IPPoolStatus) ClearCondition(ctype ConditionType, reason, message string)
- func (s *IPPoolStatus) ClearError()
- func (in *IPPoolStatus) DeepCopy() *IPPoolStatus
- func (in *IPPoolStatus) DeepCopyInto(out *IPPoolStatus)
- func (s *IPPoolStatus) EnsureCondition(ctype ConditionType)
- func (s *IPPoolStatus) EnsureStandardConditions()
- func (s *IPPoolStatus) GetCondition(ctype ConditionType) *IPPoolCondition
- func (s IPPoolStatus) IsConditionTrue(ctype ConditionType) bool
- func (s IPPoolStatus) IsReady() bool
- func (s *IPPoolStatus) NotReady(reason, message string)
- func (s *IPPoolStatus) Ready(reason, message string)
- func (s *IPPoolStatus) SetCondition(ctype ConditionType, reason, message string)
- func (s *IPPoolStatus) SetError(reason, message string)
- type IPSpec
- type IptablesDnatRule
- type IptablesDnatRuleCondition
- type IptablesDnatRuleList
- type IptablesDnatRuleSpec
- type IptablesDnatRuleStatus
- type IptablesEIP
- type IptablesEIPCondition
- type IptablesEIPList
- type IptablesEipSpec
- type IptablesEipStatus
- type IptablesFIPRule
- type IptablesFIPRuleCondition
- type IptablesFIPRuleList
- type IptablesFIPRuleSpec
- type IptablesFIPRuleStatus
- type IptablesSnatRule
- type IptablesSnatRuleCondition
- type IptablesSnatRuleList
- type IptablesSnatRuleSpec
- type IptablesSnatRuleStatus
- type NatOutGoingPolicyMatch
- type NatOutgoingPolicyRule
- type NatOutgoingPolicyRuleStatus
- type OvnDnatRule
- type OvnDnatRuleCondition
- type OvnDnatRuleList
- type OvnDnatRuleSpec
- type OvnDnatRuleStatus
- type OvnEip
- type OvnEipCondition
- type OvnEipList
- type OvnEipSpec
- type OvnEipStatus
- type OvnFip
- type OvnFipCondition
- type OvnFipList
- type OvnFipSpec
- type OvnFipStatus
- type OvnSnatRule
- type OvnSnatRuleCondition
- type OvnSnatRuleList
- type OvnSnatRuleSpec
- type OvnSnatRuleStatus
- type PolicyRoute
- type PolicyRouteAction
- type ProviderNetwork
- type ProviderNetworkCondition
- type ProviderNetworkList
- type ProviderNetworkSpec
- type ProviderNetworkStatus
- func (s *ProviderNetworkStatus) ClearNodeCondition(node string, ctype ConditionType, reason, message string) bool
- func (s *ProviderNetworkStatus) ConditionReason(node string, ctype ConditionType) string
- func (in *ProviderNetworkStatus) DeepCopy() *ProviderNetworkStatus
- func (in *ProviderNetworkStatus) DeepCopyInto(out *ProviderNetworkStatus)
- func (s *ProviderNetworkStatus) EnsureNodeCondition(node string, ctype ConditionType) bool
- func (s *ProviderNetworkStatus) EnsureNodeStandardConditions(node string) bool
- func (s *ProviderNetworkStatus) GetNodeCondition(node string, ctype ConditionType) *ProviderNetworkCondition
- func (s *ProviderNetworkStatus) IsNodeConditionTrue(node string, ctype ConditionType) bool
- func (s *ProviderNetworkStatus) IsReady() bool
- func (s *ProviderNetworkStatus) NodeIsReady(node string) bool
- func (s *ProviderNetworkStatus) RemoveNodeCondition(node string, ctype ConditionType)
- func (s *ProviderNetworkStatus) RemoveNodeConditions(node string) bool
- func (s *ProviderNetworkStatus) SetNodeCondition(node string, ctype ConditionType, reason, message string) bool
- func (s *ProviderNetworkStatus) SetNodeNotReady(node, reason, message string) bool
- func (s *ProviderNetworkStatus) SetNodeReady(node, reason, message string) bool
- type QoSPolicy
- type QoSPolicyBandwidthLimitRule
- type QoSPolicyBandwidthLimitRules
- type QoSPolicyBindingType
- type QoSPolicyCondition
- type QoSPolicyList
- type QoSPolicyRuleDirection
- type QoSPolicyRuleMatchType
- type QoSPolicySpec
- type QoSPolicyStatus
- type RoutePolicy
- type SecurityGroup
- type SecurityGroupList
- type SecurityGroupSpec
- type SecurityGroupStatus
- type SgPolicy
- type SgProtocol
- type SgRemoteType
- type SgRule
- type SlrPort
- type StaticRoute
- type Subnet
- type SubnetCondition
- type SubnetList
- type SubnetSpec
- type SubnetStatus
- func (ss *SubnetStatus) Bytes() ([]byte, error)
- func (m *SubnetStatus) ClearAllConditions()
- func (m *SubnetStatus) ClearCondition(ctype ConditionType, reason, message string)
- func (m *SubnetStatus) ClearError()
- func (m *SubnetStatus) ConditionReason(ctype ConditionType) string
- func (in *SubnetStatus) DeepCopy() *SubnetStatus
- func (in *SubnetStatus) DeepCopyInto(out *SubnetStatus)
- func (m *SubnetStatus) EnsureCondition(ctype ConditionType)
- func (m *SubnetStatus) EnsureStandardConditions()
- func (m *SubnetStatus) GetCondition(ctype ConditionType) *SubnetCondition
- func (m *SubnetStatus) IsConditionTrue(ctype ConditionType) bool
- func (m *SubnetStatus) IsNotReady() bool
- func (m *SubnetStatus) IsNotValidated() bool
- func (m *SubnetStatus) IsReady() bool
- func (m *SubnetStatus) IsValidated() bool
- func (m *SubnetStatus) NotReady(reason, message string)
- func (m *SubnetStatus) NotValidated(reason, message string)
- func (m *SubnetStatus) Ready(reason, message string)
- func (m *SubnetStatus) RemoveAllConditions()
- func (m *SubnetStatus) RemoveCondition(ctype ConditionType)
- func (m *SubnetStatus) SetCondition(ctype ConditionType, reason, message string)
- func (m *SubnetStatus) SetError(reason, message string)
- func (m *SubnetStatus) Validated(reason, message string)
- type SwitchLBRule
- type SwitchLBRuleCondition
- type SwitchLBRuleList
- type SwitchLBRuleSpec
- type SwitchLBRuleStatus
- type Vip
- type VipCondition
- type VipList
- type VipSpec
- type VipStatus
- type Vlan
- type VlanCondition
- type VlanList
- type VlanSpec
- type VlanStatus
- type Vpc
- type VpcBgpSpeaker
- type VpcCondition
- type VpcDNSCondition
- type VpcDNSSpec
- type VpcDNSStatus
- type VpcDns
- type VpcDnsList
- type VpcList
- type VpcNatGateway
- type VpcNatGatewayList
- type VpcNatSpec
- type VpcNatStatus
- type VpcPeering
- type VpcSpec
- type VpcStatus
Constants ¶
const ( ProtocolIPv4 = "IPv4" ProtocolIPv6 = "IPv6" ProtocolDual = "Dual" GWDistributedType = "distributed" GWCentralizedType = "centralized" )
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 ¶
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 )
var ( PolicyAllow = SgPolicy(ovnnb.ACLActionAllow) PolicyDrop = SgPolicy(ovnnb.ACLActionDrop) )
var ( PolicyRouteActionAllow = PolicyRouteAction(ovnnb.LogicalRouterPolicyActionAllow) PolicyRouteActionDrop = PolicyRouteAction(ovnnb.LogicalRouterPolicyActionDrop) PolicyRouteActionReroute = PolicyRouteAction(ovnnb.LogicalRouterPolicyActionReroute) )
var SchemeGroupVersion = schema.GroupVersion{Group: kubeovn.GroupName, Version: "v1"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type ACL ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ACL.
func (*ACL) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Condition ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Condition.
func (*Condition) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CustomInterface ¶
func (*CustomInterface) DeepCopy ¶
func (in *CustomInterface) DeepCopy() *CustomInterface
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomInterface.
func (*CustomInterface) DeepCopyInto ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IP.
func (*IP) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IP) DeepCopyObject ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPList.
func (*IPList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IPList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type IPPool ¶
type IPPool struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec IPPoolSpec `json:"spec"` Status IPPoolStatus `json:"status,omitempty"` }
func (*IPPool) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPPool.
func (*IPPool) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IPPool) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type IPPoolCondition ¶
type IPPoolCondition Condition
IPPoolCondition describes the state of an object at a certain point. +k8s:deepcopy-gen=true
func (*IPPoolCondition) DeepCopy ¶
func (in *IPPoolCondition) DeepCopy() *IPPoolCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPPoolCondition.
func (*IPPoolCondition) DeepCopyInto ¶
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 ¶
type IPPoolList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []IPPool `json:"items"` }
func (*IPPoolList) DeepCopy ¶
func (in *IPPoolList) DeepCopy() *IPPoolList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPPoolList.
func (*IPPoolList) DeepCopyInto ¶
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 ¶
func (in *IPPoolList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type IPPoolSpec ¶
type IPPoolSpec struct { Subnet string `json:"subnet,omitempty"` Namespaces []string `json:"namespaces,omitempty"` IPs []string `json:"ips,omitempty"` }
func (*IPPoolSpec) DeepCopy ¶
func (in *IPPoolSpec) DeepCopy() *IPPoolSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPPoolSpec.
func (*IPPoolSpec) DeepCopyInto ¶
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 ¶
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 ¶
func (s *IPPoolStatus) Bytes() ([]byte, error)
func (*IPPoolStatus) ClearCondition ¶
func (s *IPPoolStatus) ClearCondition(ctype ConditionType, reason, message string)
ClearCondition updates or creates a new condition
func (*IPPoolStatus) ClearError ¶
func (s *IPPoolStatus) ClearError()
ClearError - shortcut to set error condition
func (*IPPoolStatus) DeepCopy ¶
func (in *IPPoolStatus) DeepCopy() *IPPoolStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPPoolStatus.
func (*IPPoolStatus) DeepCopyInto ¶
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 ¶
func (s *IPPoolStatus) EnsureCondition(ctype ConditionType)
EnsureCondition useful for adding default conditions
func (*IPPoolStatus) EnsureStandardConditions ¶
func (s *IPPoolStatus) EnsureStandardConditions()
EnsureStandardConditions - helper to inject standard conditions
func (*IPPoolStatus) GetCondition ¶
func (s *IPPoolStatus) GetCondition(ctype ConditionType) *IPPoolCondition
GetCondition get existing condition
func (IPPoolStatus) IsConditionTrue ¶
func (s IPPoolStatus) IsConditionTrue(ctype ConditionType) bool
IsConditionTrue - if condition is true
func (IPPoolStatus) IsReady ¶
func (s IPPoolStatus) IsReady() bool
IsReady returns true if ready condition is set
func (*IPPoolStatus) NotReady ¶
func (s *IPPoolStatus) NotReady(reason, message string)
NotReady - shortcut to set ready condition to false
func (*IPPoolStatus) Ready ¶
func (s *IPPoolStatus) Ready(reason, message string)
Ready - shortcut to set ready condition to true
func (*IPPoolStatus) SetCondition ¶
func (s *IPPoolStatus) SetCondition(ctype ConditionType, reason, message string)
SetCondition updates or creates a new condition
func (*IPPoolStatus) SetError ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPSpec.
func (*IPSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IptablesDnatRule ¶
type IptablesDnatRule struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec IptablesDnatRuleSpec `json:"spec"` Status IptablesDnatRuleStatus `json:"status,omitempty"` }
func (*IptablesDnatRule) DeepCopy ¶
func (in *IptablesDnatRule) DeepCopy() *IptablesDnatRule
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IptablesDnatRule.
func (*IptablesDnatRule) DeepCopyInto ¶
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 ¶
func (in *IptablesDnatRule) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type IptablesDnatRuleCondition ¶
type IptablesDnatRuleCondition Condition
IptablesDnatRuleCondition describes the state of an object at a certain point. +k8s:deepcopy-gen=true
func (*IptablesDnatRuleCondition) DeepCopy ¶
func (in *IptablesDnatRuleCondition) DeepCopy() *IptablesDnatRuleCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IptablesDnatRuleCondition.
func (*IptablesDnatRuleCondition) DeepCopyInto ¶
func (in *IptablesDnatRuleCondition) DeepCopyInto(out *IptablesDnatRuleCondition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IptablesDnatRuleList ¶
type IptablesDnatRuleList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []IptablesDnatRule `json:"items"` }
func (*IptablesDnatRuleList) DeepCopy ¶
func (in *IptablesDnatRuleList) DeepCopy() *IptablesDnatRuleList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IptablesDnatRuleList.
func (*IptablesDnatRuleList) DeepCopyInto ¶
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 ¶
func (in *IptablesDnatRuleList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type IptablesDnatRuleSpec ¶
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 ¶
func (in *IptablesDnatRuleSpec) DeepCopy() *IptablesDnatRuleSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IptablesDnatRuleSpec.
func (*IptablesDnatRuleSpec) DeepCopyInto ¶
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 ¶
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 ¶
func (idnats *IptablesDnatRuleStatus) Bytes() ([]byte, error)
func (*IptablesDnatRuleStatus) DeepCopy ¶
func (in *IptablesDnatRuleStatus) DeepCopy() *IptablesDnatRuleStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IptablesDnatRuleStatus.
func (*IptablesDnatRuleStatus) DeepCopyInto ¶
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 ¶
type IptablesEIP struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec IptablesEipSpec `json:"spec"` Status IptablesEipStatus `json:"status,omitempty"` }
func (*IptablesEIP) DeepCopy ¶
func (in *IptablesEIP) DeepCopy() *IptablesEIP
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IptablesEIP.
func (*IptablesEIP) DeepCopyInto ¶
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 ¶
func (in *IptablesEIP) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type IptablesEIPCondition ¶
type IptablesEIPCondition Condition
IptablesEIPCondition describes the state of an object at a certain point. +k8s:deepcopy-gen=true
func (*IptablesEIPCondition) DeepCopy ¶
func (in *IptablesEIPCondition) DeepCopy() *IptablesEIPCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IptablesEIPCondition.
func (*IptablesEIPCondition) DeepCopyInto ¶
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 ¶
type IptablesEIPList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []IptablesEIP `json:"items"` }
func (*IptablesEIPList) DeepCopy ¶
func (in *IptablesEIPList) DeepCopy() *IptablesEIPList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IptablesEIPList.
func (*IptablesEIPList) DeepCopyInto ¶
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 ¶
func (in *IptablesEIPList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type IptablesEipSpec ¶
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 ¶
func (in *IptablesEipSpec) DeepCopy() *IptablesEipSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IptablesEipSpec.
func (*IptablesEipSpec) DeepCopyInto ¶
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 ¶
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 ¶
func (ieips *IptablesEipStatus) Bytes() ([]byte, error)
func (*IptablesEipStatus) DeepCopy ¶
func (in *IptablesEipStatus) DeepCopy() *IptablesEipStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IptablesEipStatus.
func (*IptablesEipStatus) DeepCopyInto ¶
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 ¶
type IptablesFIPRule struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec IptablesFIPRuleSpec `json:"spec"` Status IptablesFIPRuleStatus `json:"status,omitempty"` }
func (*IptablesFIPRule) DeepCopy ¶
func (in *IptablesFIPRule) DeepCopy() *IptablesFIPRule
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IptablesFIPRule.
func (*IptablesFIPRule) DeepCopyInto ¶
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 ¶
func (in *IptablesFIPRule) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type IptablesFIPRuleCondition ¶
type IptablesFIPRuleCondition Condition
IptablesFIPRuleCondition describes the state of an object at a certain point. +k8s:deepcopy-gen=true
func (*IptablesFIPRuleCondition) DeepCopy ¶
func (in *IptablesFIPRuleCondition) DeepCopy() *IptablesFIPRuleCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IptablesFIPRuleCondition.
func (*IptablesFIPRuleCondition) DeepCopyInto ¶
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 ¶
type IptablesFIPRuleList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []IptablesFIPRule `json:"items"` }
func (*IptablesFIPRuleList) DeepCopy ¶
func (in *IptablesFIPRuleList) DeepCopy() *IptablesFIPRuleList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IptablesFIPRuleList.
func (*IptablesFIPRuleList) DeepCopyInto ¶
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 ¶
func (in *IptablesFIPRuleList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type IptablesFIPRuleSpec ¶
func (*IptablesFIPRuleSpec) DeepCopy ¶
func (in *IptablesFIPRuleSpec) DeepCopy() *IptablesFIPRuleSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IptablesFIPRuleSpec.
func (*IptablesFIPRuleSpec) DeepCopyInto ¶
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 ¶
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 ¶
func (ifips *IptablesFIPRuleStatus) Bytes() ([]byte, error)
func (*IptablesFIPRuleStatus) DeepCopy ¶
func (in *IptablesFIPRuleStatus) DeepCopy() *IptablesFIPRuleStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IptablesFIPRuleStatus.
func (*IptablesFIPRuleStatus) DeepCopyInto ¶
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 ¶
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 ¶
func (in *IptablesSnatRule) DeepCopy() *IptablesSnatRule
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IptablesSnatRule.
func (*IptablesSnatRule) DeepCopyInto ¶
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 ¶
func (in *IptablesSnatRule) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type IptablesSnatRuleCondition ¶
type IptablesSnatRuleCondition Condition
IptablesSnatRuleCondition describes the state of an object at a certain point. +k8s:deepcopy-gen=true
func (*IptablesSnatRuleCondition) DeepCopy ¶
func (in *IptablesSnatRuleCondition) DeepCopy() *IptablesSnatRuleCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IptablesSnatRuleCondition.
func (*IptablesSnatRuleCondition) DeepCopyInto ¶
func (in *IptablesSnatRuleCondition) DeepCopyInto(out *IptablesSnatRuleCondition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IptablesSnatRuleList ¶
type IptablesSnatRuleList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []IptablesSnatRule `json:"items"` }
func (*IptablesSnatRuleList) DeepCopy ¶
func (in *IptablesSnatRuleList) DeepCopy() *IptablesSnatRuleList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IptablesSnatRuleList.
func (*IptablesSnatRuleList) DeepCopyInto ¶
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 ¶
func (in *IptablesSnatRuleList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type IptablesSnatRuleSpec ¶
type IptablesSnatRuleSpec struct { EIP string `json:"eip"` InternalCIDR string `json:"internalCIDR"` }
func (*IptablesSnatRuleSpec) DeepCopy ¶
func (in *IptablesSnatRuleSpec) DeepCopy() *IptablesSnatRuleSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IptablesSnatRuleSpec.
func (*IptablesSnatRuleSpec) DeepCopyInto ¶
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 ¶
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 ¶
func (isnats *IptablesSnatRuleStatus) Bytes() ([]byte, error)
func (*IptablesSnatRuleStatus) DeepCopy ¶
func (in *IptablesSnatRuleStatus) DeepCopy() *IptablesSnatRuleStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IptablesSnatRuleStatus.
func (*IptablesSnatRuleStatus) DeepCopyInto ¶
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 ¶
type NatOutGoingPolicyMatch struct { SrcIPs string `json:"srcIPs,omitempty"` DstIPs string `json:"dstIPs,omitempty"` }
func (*NatOutGoingPolicyMatch) DeepCopy ¶
func (in *NatOutGoingPolicyMatch) DeepCopy() *NatOutGoingPolicyMatch
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NatOutGoingPolicyMatch.
func (*NatOutGoingPolicyMatch) DeepCopyInto ¶
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 ¶
type NatOutgoingPolicyRule struct { Match NatOutGoingPolicyMatch `json:"match"` Action string `json:"action"` }
func (*NatOutgoingPolicyRule) DeepCopy ¶
func (in *NatOutgoingPolicyRule) DeepCopy() *NatOutgoingPolicyRule
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NatOutgoingPolicyRule.
func (*NatOutgoingPolicyRule) DeepCopyInto ¶
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 ¶
type NatOutgoingPolicyRuleStatus struct { RuleID string `json:"ruleID"` NatOutgoingPolicyRule }
func (*NatOutgoingPolicyRuleStatus) DeepCopy ¶
func (in *NatOutgoingPolicyRuleStatus) DeepCopy() *NatOutgoingPolicyRuleStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NatOutgoingPolicyRuleStatus.
func (*NatOutgoingPolicyRuleStatus) DeepCopyInto ¶
func (in *NatOutgoingPolicyRuleStatus) DeepCopyInto(out *NatOutgoingPolicyRuleStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OvnDnatRule ¶
type OvnDnatRule struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec OvnDnatRuleSpec `json:"spec"` Status OvnDnatRuleStatus `json:"status,omitempty"` }
func (*OvnDnatRule) DeepCopy ¶
func (in *OvnDnatRule) DeepCopy() *OvnDnatRule
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OvnDnatRule.
func (*OvnDnatRule) DeepCopyInto ¶
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 ¶
func (in *OvnDnatRule) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type OvnDnatRuleCondition ¶
type OvnDnatRuleCondition Condition
OvnDnatRuleCondition describes the state of an object at a certain point. +k8s:deepcopy-gen=true
func (*OvnDnatRuleCondition) DeepCopy ¶
func (in *OvnDnatRuleCondition) DeepCopy() *OvnDnatRuleCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OvnDnatRuleCondition.
func (*OvnDnatRuleCondition) DeepCopyInto ¶
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 ¶
type OvnDnatRuleList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []OvnDnatRule `json:"items"` }
func (*OvnDnatRuleList) DeepCopy ¶
func (in *OvnDnatRuleList) DeepCopy() *OvnDnatRuleList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OvnDnatRuleList.
func (*OvnDnatRuleList) DeepCopyInto ¶
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 ¶
func (in *OvnDnatRuleList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type OvnDnatRuleSpec ¶
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"` V6Ip string `json:"v6Ip"` }
func (*OvnDnatRuleSpec) DeepCopy ¶
func (in *OvnDnatRuleSpec) DeepCopy() *OvnDnatRuleSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OvnDnatRuleSpec.
func (*OvnDnatRuleSpec) DeepCopyInto ¶
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 ¶
type OvnDnatRuleStatus struct { // +optional // +patchStrategy=merge Vpc string `json:"vpc" patchStrategy:"merge"` V4Eip string `json:"v4Eip" patchStrategy:"merge"` V6Eip string `json:"v6Eip" patchStrategy:"merge"` ExternalPort string `json:"externalPort"` V4Ip string `json:"v4Ip" patchStrategy:"merge"` V6Ip string `json:"v6Ip" 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 ¶
func (odrs *OvnDnatRuleStatus) Bytes() ([]byte, error)
func (*OvnDnatRuleStatus) DeepCopy ¶
func (in *OvnDnatRuleStatus) DeepCopy() *OvnDnatRuleStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OvnDnatRuleStatus.
func (*OvnDnatRuleStatus) DeepCopyInto ¶
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 ¶
type OvnEip struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec OvnEipSpec `json:"spec"` Status OvnEipStatus `json:"status,omitempty"` }
func (*OvnEip) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OvnEip.
func (*OvnEip) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OvnEip) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type OvnEipCondition ¶
type OvnEipCondition Condition
OvnEipCondition describes the state of an object at a certain point. +k8s:deepcopy-gen=true
func (*OvnEipCondition) DeepCopy ¶
func (in *OvnEipCondition) DeepCopy() *OvnEipCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OvnEipCondition.
func (*OvnEipCondition) DeepCopyInto ¶
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 ¶
type OvnEipList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []OvnEip `json:"items"` }
func (*OvnEipList) DeepCopy ¶
func (in *OvnEipList) DeepCopy() *OvnEipList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OvnEipList.
func (*OvnEipList) DeepCopyInto ¶
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 ¶
func (in *OvnEipList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type OvnEipSpec ¶
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 ¶
func (in *OvnEipSpec) DeepCopy() *OvnEipSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OvnEipSpec.
func (*OvnEipSpec) DeepCopyInto ¶
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 ¶
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 ¶
func (oeips *OvnEipStatus) Bytes() ([]byte, error)
func (*OvnEipStatus) DeepCopy ¶
func (in *OvnEipStatus) DeepCopy() *OvnEipStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OvnEipStatus.
func (*OvnEipStatus) DeepCopyInto ¶
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 ¶
type OvnFip struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec OvnFipSpec `json:"spec"` Status OvnFipStatus `json:"status,omitempty"` }
func (*OvnFip) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OvnFip.
func (*OvnFip) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OvnFip) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type OvnFipCondition ¶
type OvnFipCondition Condition
OvnFipCondition describes the state of an object at a certain point. +k8s:deepcopy-gen=true
func (*OvnFipCondition) DeepCopy ¶
func (in *OvnFipCondition) DeepCopy() *OvnFipCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OvnFipCondition.
func (*OvnFipCondition) DeepCopyInto ¶
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 ¶
type OvnFipList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []OvnFip `json:"items"` }
func (*OvnFipList) DeepCopy ¶
func (in *OvnFipList) DeepCopy() *OvnFipList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OvnFipList.
func (*OvnFipList) DeepCopyInto ¶
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 ¶
func (in *OvnFipList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type OvnFipSpec ¶
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"` V6Ip string `json:"v6Ip"` }
func (*OvnFipSpec) DeepCopy ¶
func (in *OvnFipSpec) DeepCopy() *OvnFipSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OvnFipSpec.
func (*OvnFipSpec) DeepCopyInto ¶
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 ¶
type OvnFipStatus struct { // +optional // +patchStrategy=merge Vpc string `json:"vpc" patchStrategy:"merge"` V4Eip string `json:"v4Eip" patchStrategy:"merge"` V6Eip string `json:"v6Eip" patchStrategy:"merge"` V4Ip string `json:"v4Ip" patchStrategy:"merge"` V6Ip string `json:"v6Ip" 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 ¶
func (ofs *OvnFipStatus) Bytes() ([]byte, error)
func (*OvnFipStatus) DeepCopy ¶
func (in *OvnFipStatus) DeepCopy() *OvnFipStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OvnFipStatus.
func (*OvnFipStatus) DeepCopyInto ¶
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 ¶
type OvnSnatRule struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec OvnSnatRuleSpec `json:"spec"` Status OvnSnatRuleStatus `json:"status,omitempty"` }
func (*OvnSnatRule) DeepCopy ¶
func (in *OvnSnatRule) DeepCopy() *OvnSnatRule
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OvnSnatRule.
func (*OvnSnatRule) DeepCopyInto ¶
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 ¶
func (in *OvnSnatRule) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type OvnSnatRuleCondition ¶
type OvnSnatRuleCondition Condition
OvnSnatRuleCondition describes the state of an object at a certain point. +k8s:deepcopy-gen=true
func (*OvnSnatRuleCondition) DeepCopy ¶
func (in *OvnSnatRuleCondition) DeepCopy() *OvnSnatRuleCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OvnSnatRuleCondition.
func (*OvnSnatRuleCondition) DeepCopyInto ¶
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 ¶
type OvnSnatRuleList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []OvnSnatRule `json:"items"` }
func (*OvnSnatRuleList) DeepCopy ¶
func (in *OvnSnatRuleList) DeepCopy() *OvnSnatRuleList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OvnSnatRuleList.
func (*OvnSnatRuleList) DeepCopyInto ¶
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 ¶
func (in *OvnSnatRuleList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type OvnSnatRuleSpec ¶
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 V6IpCidr string `json:"v6IpCidr"` // subnet cidr or pod ip address }
func (*OvnSnatRuleSpec) DeepCopy ¶
func (in *OvnSnatRuleSpec) DeepCopy() *OvnSnatRuleSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OvnSnatRuleSpec.
func (*OvnSnatRuleSpec) DeepCopyInto ¶
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 ¶
type OvnSnatRuleStatus struct { // +optional // +patchStrategy=merge Vpc string `json:"vpc" patchStrategy:"merge"` V4Eip string `json:"v4Eip" patchStrategy:"merge"` V6Eip string `json:"v6Eip" patchStrategy:"merge"` V4IpCidr string `json:"v4IpCidr" patchStrategy:"merge"` V6IpCidr string `json:"v6IpCidr" 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 ¶
func (osrs *OvnSnatRuleStatus) Bytes() ([]byte, error)
func (*OvnSnatRuleStatus) DeepCopy ¶
func (in *OvnSnatRuleStatus) DeepCopy() *OvnSnatRuleStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OvnSnatRuleStatus.
func (*OvnSnatRuleStatus) DeepCopyInto ¶
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 ¶
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 ¶
func (in *PolicyRoute) DeepCopy() *PolicyRoute
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyRoute.
func (*PolicyRoute) DeepCopyInto ¶
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 ¶
type PolicyRouteAction string
type ProviderNetwork ¶
type ProviderNetwork struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ProviderNetworkSpec `json:"spec"` Status ProviderNetworkStatus `json:"status"` }
func (*ProviderNetwork) DeepCopy ¶
func (in *ProviderNetwork) DeepCopy() *ProviderNetwork
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProviderNetwork.
func (*ProviderNetwork) DeepCopyInto ¶
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 ¶
func (in *ProviderNetwork) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ProviderNetworkCondition ¶
ProviderNetworkCondition describes the state of an object at a certain point. +k8s:deepcopy-gen=true
func (*ProviderNetworkCondition) DeepCopy ¶
func (in *ProviderNetworkCondition) DeepCopy() *ProviderNetworkCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProviderNetworkCondition.
func (*ProviderNetworkCondition) DeepCopyInto ¶
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 ¶
type ProviderNetworkList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []ProviderNetwork `json:"items"` }
func (*ProviderNetworkList) DeepCopy ¶
func (in *ProviderNetworkList) DeepCopy() *ProviderNetworkList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProviderNetworkList.
func (*ProviderNetworkList) DeepCopyInto ¶
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 ¶
func (in *ProviderNetworkList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ProviderNetworkSpec ¶
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 ¶
func (in *ProviderNetworkSpec) DeepCopy() *ProviderNetworkSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProviderNetworkSpec.
func (*ProviderNetworkSpec) DeepCopyInto ¶
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 ¶
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 ¶
func (s *ProviderNetworkStatus) ClearNodeCondition(node string, ctype ConditionType, reason, message string) bool
ClearNodeCondition updates or creates a new condition
func (*ProviderNetworkStatus) ConditionReason ¶
func (s *ProviderNetworkStatus) ConditionReason(node string, ctype ConditionType) string
ConditionReason - return condition reason
func (*ProviderNetworkStatus) DeepCopy ¶
func (in *ProviderNetworkStatus) DeepCopy() *ProviderNetworkStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProviderNetworkStatus.
func (*ProviderNetworkStatus) DeepCopyInto ¶
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 ¶
func (s *ProviderNetworkStatus) EnsureNodeCondition(node string, ctype ConditionType) bool
EnsureNodeCondition useful for adding default conditions
func (*ProviderNetworkStatus) EnsureNodeStandardConditions ¶
func (s *ProviderNetworkStatus) EnsureNodeStandardConditions(node string) bool
EnsureNodeStandardConditions - helper to inject standard conditions
func (*ProviderNetworkStatus) GetNodeCondition ¶
func (s *ProviderNetworkStatus) GetNodeCondition(node string, ctype ConditionType) *ProviderNetworkCondition
GetNodeCondition get existing condition
func (*ProviderNetworkStatus) IsNodeConditionTrue ¶
func (s *ProviderNetworkStatus) IsNodeConditionTrue(node string, ctype ConditionType) bool
IsNodeConditionTrue - if condition is true
func (*ProviderNetworkStatus) IsReady ¶
func (s *ProviderNetworkStatus) IsReady() bool
IsReady returns true if ready condition is set
func (*ProviderNetworkStatus) NodeIsReady ¶
func (s *ProviderNetworkStatus) NodeIsReady(node string) bool
NodeIsReady returns true if ready condition is set
func (*ProviderNetworkStatus) RemoveNodeCondition ¶
func (s *ProviderNetworkStatus) RemoveNodeCondition(node string, ctype ConditionType)
RemoveNodeCondition removes the condition with the provided type.
func (*ProviderNetworkStatus) RemoveNodeConditions ¶
func (s *ProviderNetworkStatus) RemoveNodeConditions(node string) bool
RemoveNodeConditions updates or creates a new condition
func (*ProviderNetworkStatus) SetNodeCondition ¶
func (s *ProviderNetworkStatus) SetNodeCondition(node string, ctype ConditionType, reason, message string) bool
SetNodeCondition updates or creates a new condition
func (*ProviderNetworkStatus) SetNodeNotReady ¶
func (s *ProviderNetworkStatus) SetNodeNotReady(node, reason, message string) bool
SetNodeNotReady - shortcut to set ready condition to false
func (*ProviderNetworkStatus) SetNodeReady ¶
func (s *ProviderNetworkStatus) SetNodeReady(node, reason, message string) bool
SetNodeReady - shortcut to set ready condition to true
type QoSPolicy ¶
type QoSPolicy struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec QoSPolicySpec `json:"spec"` Status QoSPolicyStatus `json:"status,omitempty"` }
func (*QoSPolicy) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new QoSPolicy.
func (*QoSPolicy) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*QoSPolicy) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type QoSPolicyBandwidthLimitRule ¶
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 ¶
func (in *QoSPolicyBandwidthLimitRule) DeepCopy() *QoSPolicyBandwidthLimitRule
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new QoSPolicyBandwidthLimitRule.
func (*QoSPolicyBandwidthLimitRule) DeepCopyInto ¶
func (in *QoSPolicyBandwidthLimitRule) DeepCopyInto(out *QoSPolicyBandwidthLimitRule)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type QoSPolicyBandwidthLimitRules ¶
type QoSPolicyBandwidthLimitRules []*QoSPolicyBandwidthLimitRule
func (QoSPolicyBandwidthLimitRules) DeepCopy ¶
func (in QoSPolicyBandwidthLimitRules) DeepCopy() QoSPolicyBandwidthLimitRules
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new QoSPolicyBandwidthLimitRules.
func (QoSPolicyBandwidthLimitRules) DeepCopyInto ¶
func (in QoSPolicyBandwidthLimitRules) DeepCopyInto(out *QoSPolicyBandwidthLimitRules)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (QoSPolicyBandwidthLimitRules) Strings ¶
func (s QoSPolicyBandwidthLimitRules) Strings() string
type QoSPolicyBindingType ¶
type QoSPolicyBindingType string
const ( QoSBindingTypeEIP QoSPolicyBindingType = "EIP" QoSBindingTypeNatGw QoSPolicyBindingType = "NATGW" )
type QoSPolicyCondition ¶
type QoSPolicyCondition Condition
Condition describes the state of an object at a certain point. +k8s:deepcopy-gen=true
func (*QoSPolicyCondition) DeepCopy ¶
func (in *QoSPolicyCondition) DeepCopy() *QoSPolicyCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new QoSPolicyCondition.
func (*QoSPolicyCondition) DeepCopyInto ¶
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 ¶
type QoSPolicyList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []QoSPolicy `json:"items"` }
func (*QoSPolicyList) DeepCopy ¶
func (in *QoSPolicyList) DeepCopy() *QoSPolicyList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new QoSPolicyList.
func (*QoSPolicyList) DeepCopyInto ¶
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 ¶
func (in *QoSPolicyList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type QoSPolicyRuleDirection ¶
type QoSPolicyRuleDirection string
const ( DirectionIngress QoSPolicyRuleDirection = "ingress" DirectionEgress QoSPolicyRuleDirection = "egress" )
type QoSPolicyRuleMatchType ¶
type QoSPolicyRuleMatchType string
const (
MatchTypeIP QoSPolicyRuleMatchType = "ip"
)
type QoSPolicySpec ¶
type QoSPolicySpec struct { BandwidthLimitRules QoSPolicyBandwidthLimitRules `json:"bandwidthLimitRules"` BindingType QoSPolicyBindingType `json:"bindingType"` }
func (*QoSPolicySpec) DeepCopy ¶
func (in *QoSPolicySpec) DeepCopy() *QoSPolicySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new QoSPolicySpec.
func (*QoSPolicySpec) DeepCopyInto ¶
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 ¶
type QoSPolicyStatus struct { BandwidthLimitRules QoSPolicyBandwidthLimitRules `json:"bandwidthLimitRules" 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 ¶
func (qoss *QoSPolicyStatus) Bytes() ([]byte, error)
func (*QoSPolicyStatus) DeepCopy ¶
func (in *QoSPolicyStatus) DeepCopy() *QoSPolicyStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new QoSPolicyStatus.
func (*QoSPolicyStatus) DeepCopyInto ¶
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 ¶
type SecurityGroup struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec SecurityGroupSpec `json:"spec"` Status SecurityGroupStatus `json:"status"` }
func (*SecurityGroup) DeepCopy ¶
func (in *SecurityGroup) DeepCopy() *SecurityGroup
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroup.
func (*SecurityGroup) DeepCopyInto ¶
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 ¶
func (in *SecurityGroup) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SecurityGroupList ¶
type SecurityGroupList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []SecurityGroup `json:"items"` }
func (*SecurityGroupList) DeepCopy ¶
func (in *SecurityGroupList) DeepCopy() *SecurityGroupList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroupList.
func (*SecurityGroupList) DeepCopyInto ¶
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 ¶
func (in *SecurityGroupList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SecurityGroupSpec ¶
type SecurityGroupSpec struct { IngressRules []*SgRule `json:"ingressRules,omitempty"` EgressRules []*SgRule `json:"egressRules,omitempty"` AllowSameGroupTraffic bool `json:"allowSameGroupTraffic,omitempty"` }
func (*SecurityGroupSpec) DeepCopy ¶
func (in *SecurityGroupSpec) DeepCopy() *SecurityGroupSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroupSpec.
func (*SecurityGroupSpec) DeepCopyInto ¶
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 ¶
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 ¶
func (sgs *SecurityGroupStatus) Bytes() ([]byte, error)
func (*SecurityGroupStatus) DeepCopy ¶
func (in *SecurityGroupStatus) DeepCopy() *SecurityGroupStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroupStatus.
func (*SecurityGroupStatus) DeepCopyInto ¶
func (in *SecurityGroupStatus) DeepCopyInto(out *SecurityGroupStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SgProtocol ¶
type SgProtocol string
const ( ProtocolALL SgProtocol = "all" ProtocolICMP SgProtocol = "icmp" ProtocolTCP SgProtocol = "tcp" ProtocolUDP SgProtocol = "udp" )
type SgRemoteType ¶
type SgRemoteType string
const ( SgRemoteTypeAddress SgRemoteType = "address" SgRemoteTypeSg SgRemoteType = "securityGroup" )
type SgRule ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SgRule.
func (*SgRule) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SlrPort ¶
type SlrPort struct { Name string `json:"name"` Port int32 `json:"port"` TargetPort int32 `json:"targetPort,omitempty"` Protocol string `json:"protocol"` }
func (*SlrPort) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SlrPort.
func (*SlrPort) DeepCopyInto ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Subnet.
func (*Subnet) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Subnet) DeepCopyObject ¶
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"` AllowEWTraffic bool `json:"allowEWTraffic,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"` EnableMulticastSnoop bool `json:"enableMulticastSnoop,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"` U2OInterconnectionMAC string `json:"u2oInterconnectionMAC"` U2OInterconnectionVPC string `json:"u2oInterconnectionVPC"` NatOutgoingPolicyRules []NatOutgoingPolicyRuleStatus `json:"natOutgoingPolicyRules"` McastQuerierIP string `json:"mcastQuerierIP"` McastQuerierMAC string `json:"mcastQuerierMAC"` }
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 ¶
type SwitchLBRule struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec SwitchLBRuleSpec `json:"spec"` Status SwitchLBRuleStatus `json:"status,omitempty"` }
func (*SwitchLBRule) DeepCopy ¶
func (in *SwitchLBRule) DeepCopy() *SwitchLBRule
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SwitchLBRule.
func (*SwitchLBRule) DeepCopyInto ¶
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 ¶
func (in *SwitchLBRule) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SwitchLBRuleCondition ¶
type SwitchLBRuleCondition Condition
SwitchLBRuleCondition describes the state of an object at a certain point. +k8s:deepcopy-gen=true
func (*SwitchLBRuleCondition) DeepCopy ¶
func (in *SwitchLBRuleCondition) DeepCopy() *SwitchLBRuleCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SwitchLBRuleCondition.
func (*SwitchLBRuleCondition) DeepCopyInto ¶
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 ¶
type SwitchLBRuleList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []SwitchLBRule `json:"items"` }
func (*SwitchLBRuleList) DeepCopy ¶
func (in *SwitchLBRuleList) DeepCopy() *SwitchLBRuleList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SwitchLBRuleList.
func (*SwitchLBRuleList) DeepCopyInto ¶
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 ¶
func (in *SwitchLBRuleList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SwitchLBRuleSpec ¶
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 ¶
func (in *SwitchLBRuleSpec) DeepCopy() *SwitchLBRuleSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SwitchLBRuleSpec.
func (*SwitchLBRuleSpec) DeepCopyInto ¶
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 ¶
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 ¶
func (in *SwitchLBRuleStatus) DeepCopy() *SwitchLBRuleStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SwitchLBRuleStatus.
func (*SwitchLBRuleStatus) DeepCopyInto ¶
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 ¶
type Vip struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec VipSpec `json:"spec"` Status VipStatus `json:"status,omitempty"` }
func (*Vip) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Vip.
func (*Vip) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Vip) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type VipCondition ¶
type VipCondition Condition
VipCondition describes the state of an object at a certain point. +k8s:deepcopy-gen=true
func (*VipCondition) DeepCopy ¶
func (in *VipCondition) DeepCopy() *VipCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VipCondition.
func (*VipCondition) DeepCopyInto ¶
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 ¶
type VipList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []Vip `json:"items"` }
func (*VipList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VipList.
func (*VipList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VipList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type VipSpec ¶
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"` Selector []string `json:"selector"` AttachSubnets []string `json:"attachSubnets"` }
func (*VipSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VipSpec.
func (*VipSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VipStatus ¶
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) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VipStatus.
func (*VipStatus) DeepCopyInto ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Vlan.
func (*Vlan) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Vlan) DeepCopyObject ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VlanList.
func (*VlanList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VlanList) DeepCopyObject ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VlanSpec.
func (*VlanSpec) DeepCopyInto ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Vpc.
func (*Vpc) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Vpc) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type VpcBgpSpeaker ¶
type VpcBgpSpeaker struct { Enabled bool `json:"enabled"` ASN uint32 `json:"asn"` RemoteASN uint32 `json:"remoteAsn"` Neighbors []string `json:"neighbors"` HoldTime metav1.Duration `json:"holdTime"` RouterID string `json:"routerId"` Password string `json:"password"` EnableGracefulRestart bool `json:"enableGracefulRestart"` ExtraArgs []string `json:"extraArgs"` }
func (*VpcBgpSpeaker) DeepCopy ¶
func (in *VpcBgpSpeaker) DeepCopy() *VpcBgpSpeaker
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VpcBgpSpeaker.
func (*VpcBgpSpeaker) DeepCopyInto ¶
func (in *VpcBgpSpeaker) DeepCopyInto(out *VpcBgpSpeaker)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
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 ¶
type VpcDNSCondition Condition
VpcDNSCondition describes the state of an object at a certain point. +k8s:deepcopy-gen=true
func (*VpcDNSCondition) DeepCopy ¶
func (in *VpcDNSCondition) DeepCopy() *VpcDNSCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VpcDNSCondition.
func (*VpcDNSCondition) DeepCopyInto ¶
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 ¶
type VpcDNSSpec struct { Replicas int32 `json:"replicas"` Vpc string `json:"vpc"` Subnet string `json:"subnet"` }
func (*VpcDNSSpec) DeepCopy ¶
func (in *VpcDNSSpec) DeepCopy() *VpcDNSSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VpcDNSSpec.
func (*VpcDNSSpec) DeepCopyInto ¶
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 ¶
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 ¶
func (in *VpcDNSStatus) DeepCopy() *VpcDNSStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VpcDNSStatus.
func (*VpcDNSStatus) DeepCopyInto ¶
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 ¶
type VpcDns struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec VpcDNSSpec `json:"spec"` Status VpcDNSStatus `json:"status,omitempty"` }
func (*VpcDns) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VpcDns.
func (*VpcDns) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VpcDns) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type VpcDnsList ¶
type VpcDnsList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []VpcDns `json:"items"` }
func (*VpcDnsList) DeepCopy ¶
func (in *VpcDnsList) DeepCopy() *VpcDnsList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VpcDnsList.
func (*VpcDnsList) DeepCopyInto ¶
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 ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VpcList.
func (*VpcList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VpcList) DeepCopyObject ¶
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"` BgpSpeaker VpcBgpSpeaker `json:"bgpSpeaker"` }
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 ¶
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 ¶
func (vns *VpcNatStatus) Bytes() ([]byte, error)
func (*VpcNatStatus) DeepCopy ¶
func (in *VpcNatStatus) DeepCopy() *VpcNatStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VpcNatStatus.
func (*VpcNatStatus) DeepCopyInto ¶
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 ¶
type VpcPeering struct { RemoteVpc string `json:"remoteVpc,omitempty"` LocalConnectIP string `json:"localConnectIP,omitempty"` }
func (*VpcPeering) DeepCopy ¶
func (in *VpcPeering) DeepCopy() *VpcPeering
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VpcPeering.
func (*VpcPeering) DeepCopyInto ¶
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 { DefaultSubnet string `json:"defaultSubnet,omitempty"` 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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VpcSpec.
func (*VpcSpec) DeepCopyInto ¶
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) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VpcStatus.
func (*VpcStatus) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.