Documentation ¶
Overview ¶
Package controlplane contains the latest (or "internal") version of the Antrea NetworkPolicy API messages. This is the API messages as represented in memory. The contract presented to clients is located in the versioned packages, which are sub-directories. The first one is "v1beta1". The messages are generated based on the stored NetworkPolicy objects, i.e. the objects defined in antrea/pkg/controller/types/networkpolicy.go.
Index ¶
- Constants
- Variables
- func IsSourceAntreaNativePolicy(npRef *NetworkPolicyReference) bool
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type AddressGroup
- type AddressGroupList
- type AddressGroupPatch
- type AppliedToGroup
- type AppliedToGroupList
- type AppliedToGroupPatch
- type BasicAuthentication
- type BundleFileServer
- type BundleServerAuthConfiguration
- type ClusterGroupMembers
- type Direction
- type EgressGroup
- type EgressGroupList
- type EgressGroupPatch
- type ExternalEntityReference
- type GroupAssociation
- type GroupMember
- type GroupMemberSet
- func (s GroupMemberSet) Delete(items ...*GroupMember)
- func (s GroupMemberSet) Difference(o GroupMemberSet) GroupMemberSet
- func (s GroupMemberSet) Equal(o GroupMemberSet) bool
- func (s GroupMemberSet) Has(item *GroupMember) bool
- func (s GroupMemberSet) IPDifference(o GroupMemberSet) sets.Set[string]
- func (s GroupMemberSet) Insert(items ...*GroupMember)
- func (s GroupMemberSet) IsSuperset(o GroupMemberSet) bool
- func (s GroupMemberSet) Items() []*GroupMember
- func (s GroupMemberSet) Merge(o GroupMemberSet) GroupMemberSet
- func (s GroupMemberSet) Union(o GroupMemberSet) GroupMemberSet
- type GroupMembers
- type GroupReference
- type HTTPProtocol
- type IPAddress
- type IPBlock
- type IPGroupAssociation
- type IPNet
- type L7Protocol
- type MulticastGroupInfo
- type NamedPort
- type NetworkPolicy
- type NetworkPolicyList
- type NetworkPolicyNodeStatus
- type NetworkPolicyPeer
- type NetworkPolicyReference
- type NetworkPolicyRule
- type NetworkPolicyStats
- type NetworkPolicyStatus
- type NetworkPolicyType
- type NodeReference
- type NodeStatsSummary
- type PaginationGetOptions
- type PodReference
- type Protocol
- type Service
- type ServiceReference
- type SupportBundleCollection
- type SupportBundleCollectionList
- type SupportBundleCollectionNodeStatus
- type SupportBundleCollectionNodeType
- type SupportBundleCollectionStatus
- type TLSProtocol
Constants ¶
const GroupName = "controlplane.antrea.io"
GroupName is the group name used in this package.
Variables ¶
var ( // SchemeBuilder points to a list of functions added to Scheme. SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) // AddToScheme applies all the stored functions to the scheme. AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: runtime.APIVersionInternal}
SchemeGroupVersion is group version used to register these objects.
Functions ¶
func IsSourceAntreaNativePolicy ¶ added in v1.13.0
func IsSourceAntreaNativePolicy(npRef *NetworkPolicyReference) bool
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource.
Types ¶
type AddressGroup ¶
type AddressGroup struct { metav1.TypeMeta metav1.ObjectMeta // GroupMembers is a list of GroupMember selected by this group. GroupMembers []GroupMember }
AddressGroup is the message format of antrea/pkg/controller/types.AddressGroup in an API response.
func (*AddressGroup) DeepCopy ¶
func (in *AddressGroup) DeepCopy() *AddressGroup
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AddressGroup.
func (*AddressGroup) DeepCopyInto ¶
func (in *AddressGroup) DeepCopyInto(out *AddressGroup)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AddressGroup) DeepCopyObject ¶
func (in *AddressGroup) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AddressGroupList ¶
type AddressGroupList struct { metav1.TypeMeta metav1.ListMeta Items []AddressGroup }
AddressGroupList is a list of AddressGroup objects.
func (*AddressGroupList) DeepCopy ¶
func (in *AddressGroupList) DeepCopy() *AddressGroupList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AddressGroupList.
func (*AddressGroupList) DeepCopyInto ¶
func (in *AddressGroupList) DeepCopyInto(out *AddressGroupList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AddressGroupList) DeepCopyObject ¶
func (in *AddressGroupList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AddressGroupPatch ¶
type AddressGroupPatch struct { metav1.TypeMeta metav1.ObjectMeta AddedGroupMembers []GroupMember RemovedGroupMembers []GroupMember }
AddressGroupPatch describes the incremental update of an AddressGroup.
func (*AddressGroupPatch) DeepCopy ¶
func (in *AddressGroupPatch) DeepCopy() *AddressGroupPatch
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AddressGroupPatch.
func (*AddressGroupPatch) DeepCopyInto ¶
func (in *AddressGroupPatch) DeepCopyInto(out *AddressGroupPatch)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AddressGroupPatch) DeepCopyObject ¶
func (in *AddressGroupPatch) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AppliedToGroup ¶
type AppliedToGroup struct { metav1.TypeMeta metav1.ObjectMeta // GroupMembers is a list of resources selected by this group. GroupMembers []GroupMember }
AppliedToGroup is the message format of antrea/pkg/controller/types.AppliedToGroup in an API response.
func (*AppliedToGroup) DeepCopy ¶
func (in *AppliedToGroup) DeepCopy() *AppliedToGroup
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppliedToGroup.
func (*AppliedToGroup) DeepCopyInto ¶
func (in *AppliedToGroup) DeepCopyInto(out *AppliedToGroup)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AppliedToGroup) DeepCopyObject ¶
func (in *AppliedToGroup) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AppliedToGroupList ¶
type AppliedToGroupList struct { metav1.TypeMeta metav1.ListMeta Items []AppliedToGroup }
AppliedToGroupList is a list of AppliedToGroup objects.
func (*AppliedToGroupList) DeepCopy ¶
func (in *AppliedToGroupList) DeepCopy() *AppliedToGroupList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppliedToGroupList.
func (*AppliedToGroupList) DeepCopyInto ¶
func (in *AppliedToGroupList) DeepCopyInto(out *AppliedToGroupList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AppliedToGroupList) DeepCopyObject ¶
func (in *AppliedToGroupList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AppliedToGroupPatch ¶
type AppliedToGroupPatch struct { metav1.TypeMeta metav1.ObjectMeta AddedGroupMembers []GroupMember RemovedGroupMembers []GroupMember }
AppliedToGroupPatch describes the incremental update of an AppliedToGroup.
func (*AppliedToGroupPatch) DeepCopy ¶
func (in *AppliedToGroupPatch) DeepCopy() *AppliedToGroupPatch
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppliedToGroupPatch.
func (*AppliedToGroupPatch) DeepCopyInto ¶
func (in *AppliedToGroupPatch) DeepCopyInto(out *AppliedToGroupPatch)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AppliedToGroupPatch) DeepCopyObject ¶
func (in *AppliedToGroupPatch) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type BasicAuthentication ¶ added in v1.10.0
func (*BasicAuthentication) DeepCopy ¶ added in v1.10.0
func (in *BasicAuthentication) DeepCopy() *BasicAuthentication
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BasicAuthentication.
func (*BasicAuthentication) DeepCopyInto ¶ added in v1.10.0
func (in *BasicAuthentication) DeepCopyInto(out *BasicAuthentication)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BundleFileServer ¶ added in v1.10.0
type BundleFileServer struct { // The URL of the bundle file server. It is set with format: scheme://host[:port][/path], // e.g, https://api.example.com:8443/v1/supportbundles/. If scheme is not set, https is used by default. URL string }
BundleFileServer specifies the bundle file server information.
func (*BundleFileServer) DeepCopy ¶ added in v1.10.0
func (in *BundleFileServer) DeepCopy() *BundleFileServer
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BundleFileServer.
func (*BundleFileServer) DeepCopyInto ¶ added in v1.10.0
func (in *BundleFileServer) DeepCopyInto(out *BundleFileServer)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BundleServerAuthConfiguration ¶ added in v1.10.0
type BundleServerAuthConfiguration struct { BearerToken string APIKey string BasicAuthentication *BasicAuthentication }
func (*BundleServerAuthConfiguration) DeepCopy ¶ added in v1.10.0
func (in *BundleServerAuthConfiguration) DeepCopy() *BundleServerAuthConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BundleServerAuthConfiguration.
func (*BundleServerAuthConfiguration) DeepCopyInto ¶ added in v1.10.0
func (in *BundleServerAuthConfiguration) DeepCopyInto(out *BundleServerAuthConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterGroupMembers ¶
type ClusterGroupMembers struct { metav1.TypeMeta metav1.ObjectMeta EffectiveMembers []GroupMember EffectiveIPBlocks []IPNet TotalMembers int64 TotalPages int64 CurrentPage int64 }
ClusterGroupMembers is a list of GroupMember objects or IPBlocks that are currently selected by a ClusterGroup.
func (*ClusterGroupMembers) DeepCopy ¶
func (in *ClusterGroupMembers) DeepCopy() *ClusterGroupMembers
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterGroupMembers.
func (*ClusterGroupMembers) DeepCopyInto ¶
func (in *ClusterGroupMembers) DeepCopyInto(out *ClusterGroupMembers)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterGroupMembers) DeepCopyObject ¶
func (in *ClusterGroupMembers) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type EgressGroup ¶
type EgressGroup struct { metav1.TypeMeta metav1.ObjectMeta // GroupMembers is a list of GroupMember selected by this group. GroupMembers []GroupMember }
func (*EgressGroup) DeepCopy ¶
func (in *EgressGroup) DeepCopy() *EgressGroup
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EgressGroup.
func (*EgressGroup) DeepCopyInto ¶
func (in *EgressGroup) DeepCopyInto(out *EgressGroup)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*EgressGroup) DeepCopyObject ¶
func (in *EgressGroup) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type EgressGroupList ¶
type EgressGroupList struct { metav1.TypeMeta metav1.ListMeta Items []EgressGroup }
EgressGroupList is a list of EgressGroup objects.
func (*EgressGroupList) DeepCopy ¶
func (in *EgressGroupList) DeepCopy() *EgressGroupList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EgressGroupList.
func (*EgressGroupList) DeepCopyInto ¶
func (in *EgressGroupList) DeepCopyInto(out *EgressGroupList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*EgressGroupList) DeepCopyObject ¶
func (in *EgressGroupList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type EgressGroupPatch ¶
type EgressGroupPatch struct { metav1.TypeMeta metav1.ObjectMeta AddedGroupMembers []GroupMember RemovedGroupMembers []GroupMember }
EgressGroupPatch describes the incremental update of an EgressGroup.
func (*EgressGroupPatch) DeepCopy ¶
func (in *EgressGroupPatch) DeepCopy() *EgressGroupPatch
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EgressGroupPatch.
func (*EgressGroupPatch) DeepCopyInto ¶
func (in *EgressGroupPatch) DeepCopyInto(out *EgressGroupPatch)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*EgressGroupPatch) DeepCopyObject ¶
func (in *EgressGroupPatch) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ExternalEntityReference ¶
type ExternalEntityReference struct { // The name of this ExternalEntity. Name string // The Namespace of this ExternalEntity. Namespace string }
ExternalEntityReference represents a ExternalEntity Reference.
func (*ExternalEntityReference) DeepCopy ¶
func (in *ExternalEntityReference) DeepCopy() *ExternalEntityReference
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalEntityReference.
func (*ExternalEntityReference) DeepCopyInto ¶
func (in *ExternalEntityReference) DeepCopyInto(out *ExternalEntityReference)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GroupAssociation ¶
type GroupAssociation struct { metav1.TypeMeta metav1.ObjectMeta // AssociatedGroups is a list of GroupReferences that is associated with the // Pod/ExternalEntity being queried. AssociatedGroups []GroupReference }
GroupAssociation is a list of GroupReferences for responses to groupassociation queries.
func (*GroupAssociation) DeepCopy ¶
func (in *GroupAssociation) DeepCopy() *GroupAssociation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupAssociation.
func (*GroupAssociation) DeepCopyInto ¶
func (in *GroupAssociation) DeepCopyInto(out *GroupAssociation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GroupAssociation) DeepCopyObject ¶
func (in *GroupAssociation) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type GroupMember ¶
type GroupMember struct { // Pod maintains the reference to the Pod. Pod *PodReference // ExternalEntity maintains the reference to the ExternalEntity. ExternalEntity *ExternalEntityReference // IP is the IP address of the Endpoints associated with the GroupMember. IPs []IPAddress // Ports is the list NamedPort of the GroupMember. Ports []NamedPort // Node maintains the reference to the Node. Node *NodeReference // Service is the reference to the Service. It can only be used in an AppliedTo // Group and only a NodePort type Service can be referred by this field. Service *ServiceReference }
GroupMember represents a resource member to be populated in Groups.
func (*GroupMember) DeepCopy ¶
func (in *GroupMember) DeepCopy() *GroupMember
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupMember.
func (*GroupMember) DeepCopyInto ¶
func (in *GroupMember) DeepCopyInto(out *GroupMember)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GroupMemberSet ¶
type GroupMemberSet map[groupMemberKey]*GroupMember
GroupMemberSet is a set of GroupMembers. +k8s:openapi-gen=false +k8s:deepcopy-gen=false
func NewGroupMemberSet ¶
func NewGroupMemberSet(items ...*GroupMember) GroupMemberSet
NewGroupMemberSet builds a GroupMemberSet from a list of GroupMember.
func (GroupMemberSet) Delete ¶
func (s GroupMemberSet) Delete(items ...*GroupMember)
Delete removes all items from the set.
func (GroupMemberSet) Difference ¶
func (s GroupMemberSet) Difference(o GroupMemberSet) GroupMemberSet
Difference returns a set of GroupMembers that are not in o.
func (GroupMemberSet) Equal ¶
func (s GroupMemberSet) Equal(o GroupMemberSet) bool
Equal returns true if and only if s1 is equal (as a set) to s2. Two sets are equal if their membership is identical. (In practice, this means same elements, order doesn't matter)
func (GroupMemberSet) Has ¶
func (s GroupMemberSet) Has(item *GroupMember) bool
Has returns true if and only if item is contained in the set.
func (GroupMemberSet) IPDifference ¶
func (s GroupMemberSet) IPDifference(o GroupMemberSet) sets.Set[string]
IPDifference returns a String set of GroupMember IPs that are not in o.
func (GroupMemberSet) Insert ¶
func (s GroupMemberSet) Insert(items ...*GroupMember)
Insert adds items to the set.
func (GroupMemberSet) IsSuperset ¶
func (s GroupMemberSet) IsSuperset(o GroupMemberSet) bool
IsSuperset returns true if and only if s1 is a superset of s2.
func (GroupMemberSet) Items ¶
func (s GroupMemberSet) Items() []*GroupMember
Items returns the slice with contents in random order.
func (GroupMemberSet) Merge ¶ added in v1.2.1
func (s GroupMemberSet) Merge(o GroupMemberSet) GroupMemberSet
Merge merges the other set into the set. For example: s1 = {a1, a2, a3} s2 = {a1, a2, a4, a5} s1.Merge(s2) = {a1, a2, a3, a4, a5} s1 = {a1, a2, a3, a4, a5}
It should be used instead of s1.Union(s2) when constructing a new set is not required.
func (GroupMemberSet) Union ¶
func (s GroupMemberSet) Union(o GroupMemberSet) GroupMemberSet
Union returns a new set which includes items in either m or o.
type GroupMembers ¶ added in v1.14.0
type GroupMembers struct { metav1.TypeMeta metav1.ObjectMeta EffectiveMembers []GroupMember EffectiveIPBlocks []IPNet TotalMembers int64 TotalPages int64 CurrentPage int64 }
GroupMembers is a list of GroupMember objects or IPBlocks that are currently selected by a Group.
func (*GroupMembers) DeepCopy ¶ added in v1.14.0
func (in *GroupMembers) DeepCopy() *GroupMembers
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupMembers.
func (*GroupMembers) DeepCopyInto ¶ added in v1.14.0
func (in *GroupMembers) DeepCopyInto(out *GroupMembers)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GroupMembers) DeepCopyObject ¶ added in v1.14.0
func (in *GroupMembers) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type GroupReference ¶
type GroupReference struct { // Namespace of the Group. Empty for ClusterGroup. Namespace string // Name of the Group. Name string // UID of the Group. UID types.UID }
func (*GroupReference) DeepCopy ¶
func (in *GroupReference) DeepCopy() *GroupReference
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupReference.
func (*GroupReference) DeepCopyInto ¶
func (in *GroupReference) DeepCopyInto(out *GroupReference)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GroupReference) ToGroupName ¶ added in v1.8.0
func (r *GroupReference) ToGroupName() string
func (*GroupReference) ToTypedString ¶ added in v1.8.0
func (r *GroupReference) ToTypedString() string
ToTypedString returns the Group or ClusterGroup namespaced name as a string along with its type. Typed strings are typically used in log messages.
type HTTPProtocol ¶ added in v1.10.0
type HTTPProtocol struct { // Host represents the hostname present in the URI or the HTTP Host header to match. // It does not contain the port associated with the host. Host string // Method represents the HTTP method to match. // It could be GET, POST, PUT, HEAD, DELETE, TRACE, OPTIONS, CONNECT and PATCH. Method string // Path represents the URI path to match (Ex. "/index.html", "/admin"). Path string }
HTTPProtocol matches HTTP requests with specific host, method, and path. All fields could be used alone or together. If all fields are not provided, this matches all HTTP requests.
func (*HTTPProtocol) DeepCopy ¶ added in v1.10.0
func (in *HTTPProtocol) DeepCopy() *HTTPProtocol
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPProtocol.
func (*HTTPProtocol) DeepCopyInto ¶ added in v1.10.0
func (in *HTTPProtocol) DeepCopyInto(out *HTTPProtocol)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IPAddress ¶
type IPAddress []byte
IPAddress describes a single IP address. Either an IPv4 or IPv6 address must be set.
func (IPAddress) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPAddress.
func (IPAddress) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IPBlock ¶
type IPBlock struct { // CIDR is an IPNet represents the IP Block. CIDR IPNet // Except is a slice of IPNets that should not be included within an IP Block. // Except values will be rejected if they are outside the CIDR range. // +optional Except []IPNet }
IPBlock describes a particular CIDR (Ex. "192.168.1.1/24"). The except entry describes CIDRs that should not be included within this rule.
func (*IPBlock) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPBlock.
func (*IPBlock) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IPGroupAssociation ¶ added in v1.12.0
type IPGroupAssociation struct { metav1.TypeMeta metav1.ObjectMeta // AssociatedGroups is a list of GroupReferences that is associated with the // IP address being queried. AssociatedGroups []GroupReference }
IPGroupAssociation is a list of GroupReferences for responses to IP association queries.
func (*IPGroupAssociation) DeepCopy ¶ added in v1.12.0
func (in *IPGroupAssociation) DeepCopy() *IPGroupAssociation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPGroupAssociation.
func (*IPGroupAssociation) DeepCopyInto ¶ added in v1.12.0
func (in *IPGroupAssociation) DeepCopyInto(out *IPGroupAssociation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IPGroupAssociation) DeepCopyObject ¶ added in v1.12.0
func (in *IPGroupAssociation) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type IPNet ¶
IPNet describes an IP network.
func (*IPNet) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPNet.
func (*IPNet) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type L7Protocol ¶ added in v1.10.0
type L7Protocol struct { HTTP *HTTPProtocol TLS *TLSProtocol }
L7Protocol defines application layer protocol to match.
func (*L7Protocol) DeepCopy ¶ added in v1.10.0
func (in *L7Protocol) DeepCopy() *L7Protocol
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new L7Protocol.
func (*L7Protocol) DeepCopyInto ¶ added in v1.10.0
func (in *L7Protocol) DeepCopyInto(out *L7Protocol)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MulticastGroupInfo ¶ added in v1.7.0
type MulticastGroupInfo struct { // Group is the IP of the multicast group. Group string // Pods is the list of Pods that have joined the multicast group. Pods []PodReference }
MulticastGroupInfo contains the list of Pods that have joined a multicast group, for a given Node.
func (*MulticastGroupInfo) DeepCopy ¶ added in v1.7.0
func (in *MulticastGroupInfo) DeepCopy() *MulticastGroupInfo
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MulticastGroupInfo.
func (*MulticastGroupInfo) DeepCopyInto ¶ added in v1.7.0
func (in *MulticastGroupInfo) DeepCopyInto(out *MulticastGroupInfo)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NamedPort ¶
type NamedPort struct { // Port represents the Port number. Port int32 // Name represents the associated name with this Port number. Name string // Protocol for port. Must be UDP, TCP, or SCTP. Protocol Protocol }
NamedPort represents a Port with a name on Pod.
func (*NamedPort) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamedPort.
func (*NamedPort) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkPolicy ¶
type NetworkPolicy struct { metav1.TypeMeta metav1.ObjectMeta // Rules is a list of rules to be applied to the selected GroupMembers. Rules []NetworkPolicyRule // AppliedToGroups is a list of names of AppliedToGroups to which this policy applies. // Cannot be set in conjunction with any NetworkPolicyRule.AppliedToGroups in Rules. AppliedToGroups []string // Priority represents the relative priority of this NetworkPolicy as compared to // other NetworkPolicies. Priority will be unset (nil) for K8s NetworkPolicy. Priority *float64 // TierPriority represents the priority of the Tier associated with this NetworkPolicy. // The TierPriority will remain nil for K8s NetworkPolicy. TierPriority *int32 // Reference to the original NetworkPolicy that the internal NetworkPolicy is created for. SourceRef *NetworkPolicyReference }
NetworkPolicy is the message format of antrea/pkg/controller/types.NetworkPolicy in an API response.
func (*NetworkPolicy) DeepCopy ¶
func (in *NetworkPolicy) DeepCopy() *NetworkPolicy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicy.
func (*NetworkPolicy) DeepCopyInto ¶
func (in *NetworkPolicy) DeepCopyInto(out *NetworkPolicy)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NetworkPolicy) DeepCopyObject ¶
func (in *NetworkPolicy) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NetworkPolicyList ¶
type NetworkPolicyList struct { metav1.TypeMeta metav1.ListMeta Items []NetworkPolicy }
NetworkPolicyList is a list of NetworkPolicy objects.
func (*NetworkPolicyList) DeepCopy ¶
func (in *NetworkPolicyList) DeepCopy() *NetworkPolicyList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyList.
func (*NetworkPolicyList) DeepCopyInto ¶
func (in *NetworkPolicyList) DeepCopyInto(out *NetworkPolicyList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NetworkPolicyList) DeepCopyObject ¶
func (in *NetworkPolicyList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NetworkPolicyNodeStatus ¶
type NetworkPolicyNodeStatus struct { // The name of the Node that produces the status. NodeName string // The generation realized by the Node. Generation int64 // The flag to mark the NetworkPolicy realization is failed on the Node or not. RealizationFailure bool // The error message to describe why the NetworkPolicy realization is failed on the Node. Message string }
NetworkPolicyNodeStatus is the status of a NetworkPolicy on a Node.
func (*NetworkPolicyNodeStatus) DeepCopy ¶
func (in *NetworkPolicyNodeStatus) DeepCopy() *NetworkPolicyNodeStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyNodeStatus.
func (*NetworkPolicyNodeStatus) DeepCopyInto ¶
func (in *NetworkPolicyNodeStatus) DeepCopyInto(out *NetworkPolicyNodeStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkPolicyPeer ¶
type NetworkPolicyPeer struct { // A list of names of AddressGroups. AddressGroups []string // A list of IPBlock. IPBlocks []IPBlock // A list of exact FQDN names or FQDN wildcard expressions. // This field can only be possibly set for NetworkPolicyPeer of egress rules. FQDNs []string // A list of ServiceReference. // This field can only be possibly set for NetworkPolicyPeer of egress rules. ToServices []ServiceReference // A list of labelIdentities selected as ingress peers for stretched policy. // This field can only be possibly set for NetworkPolicyPeer of ingress rules. LabelIdentities []uint32 }
NetworkPolicyPeer describes a peer of NetworkPolicyRules. It could contain one of the subfields or a combination of them.
func (*NetworkPolicyPeer) DeepCopy ¶
func (in *NetworkPolicyPeer) DeepCopy() *NetworkPolicyPeer
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyPeer.
func (*NetworkPolicyPeer) DeepCopyInto ¶
func (in *NetworkPolicyPeer) DeepCopyInto(out *NetworkPolicyPeer)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkPolicyReference ¶
type NetworkPolicyReference struct { // Type of the NetworkPolicy. Type NetworkPolicyType // Namespace of the NetworkPolicy. It's empty for Antrea ClusterNetworkPolicy. Namespace string // Name of the NetworkPolicy. Name string // UID of the NetworkPolicy. UID types.UID }
func (*NetworkPolicyReference) DeepCopy ¶
func (in *NetworkPolicyReference) DeepCopy() *NetworkPolicyReference
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyReference.
func (*NetworkPolicyReference) DeepCopyInto ¶
func (in *NetworkPolicyReference) DeepCopyInto(out *NetworkPolicyReference)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NetworkPolicyReference) ToString ¶
func (r *NetworkPolicyReference) ToString() string
type NetworkPolicyRule ¶
type NetworkPolicyRule struct { // The direction of this rule. // If it's set to In, From must be set and To must not be set. // If it's set to Out, To must be set and From must not be set. Direction Direction // From represents sources which should be able to access the GroupMembers selected by the policy. From NetworkPolicyPeer // To represents destinations which should be able to be accessed by the GroupMembers selected by the policy. To NetworkPolicyPeer // Services is a list of services which should be matched. Services []Service // Name describes the intention of this rule. // Name should be unique within the policy. Name string // Priority defines the priority of the Rule as compared to other rules in the // NetworkPolicy. Priority int32 // Action specifies the action to be applied on the rule. i.e. Allow/Drop. An empty // action “nil” defaults to Allow action, which would be the case for rules created for // K8s NetworkPolicy. Action *crdv1beta1.RuleAction // EnableLogging is used to indicate if agent should generate logs // when rules are matched. Should be default to false. EnableLogging bool // AppliedToGroups is a list of names of AppliedToGroups to which this rule applies. // Cannot be set in conjunction with NetworkPolicy.AppliedToGroups of the NetworkPolicy // that this Rule is referred to. AppliedToGroups []string // L7Protocols is a list of application layer protocols which should be matched. L7Protocols []L7Protocol // LogLabel is a user-defined arbitrary string which will be printed in the NetworkPolicy logs. LogLabel string }
NetworkPolicyRule describes a particular set of traffic that is allowed.
func (*NetworkPolicyRule) DeepCopy ¶
func (in *NetworkPolicyRule) DeepCopy() *NetworkPolicyRule
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyRule.
func (*NetworkPolicyRule) DeepCopyInto ¶
func (in *NetworkPolicyRule) DeepCopyInto(out *NetworkPolicyRule)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkPolicyStats ¶
type NetworkPolicyStats struct { // The reference of the NetworkPolicy. NetworkPolicy NetworkPolicyReference // The stats of the NetworkPolicy. TrafficStats statsv1alpha1.TrafficStats // The stats of the NetworkPolicy rules. It's empty for K8s NetworkPolicies as they don't have rule name to identify a rule. RuleTrafficStats []statsv1alpha1.RuleTrafficStats }
NetworkPolicyStats contains the information and traffic stats of a NetworkPolicy.
func (*NetworkPolicyStats) DeepCopy ¶
func (in *NetworkPolicyStats) DeepCopy() *NetworkPolicyStats
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyStats.
func (*NetworkPolicyStats) DeepCopyInto ¶
func (in *NetworkPolicyStats) DeepCopyInto(out *NetworkPolicyStats)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkPolicyStatus ¶
type NetworkPolicyStatus struct { metav1.TypeMeta metav1.ObjectMeta // Nodes contains statuses produced on a list of Nodes. Nodes []NetworkPolicyNodeStatus }
NetworkPolicyStatus is the status of a NetworkPolicy.
func (*NetworkPolicyStatus) DeepCopy ¶
func (in *NetworkPolicyStatus) DeepCopy() *NetworkPolicyStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyStatus.
func (*NetworkPolicyStatus) DeepCopyInto ¶
func (in *NetworkPolicyStatus) DeepCopyInto(out *NetworkPolicyStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NetworkPolicyStatus) DeepCopyObject ¶
func (in *NetworkPolicyStatus) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NetworkPolicyType ¶
type NetworkPolicyType string
const ( K8sNetworkPolicy NetworkPolicyType = "K8sNetworkPolicy" AntreaClusterNetworkPolicy NetworkPolicyType = "AntreaClusterNetworkPolicy" AntreaNetworkPolicy NetworkPolicyType = "AntreaNetworkPolicy" AdminNetworkPolicy NetworkPolicyType = "AdminNetworkPolicy" BaselineAdminNetworkPolicy NetworkPolicyType = "BaselineAdminNetworkPolicy" )
type NodeReference ¶ added in v1.6.0
type NodeReference struct { // The name of this Node. Name string }
NodeReference represents a Node Reference.
func (*NodeReference) DeepCopy ¶ added in v1.6.0
func (in *NodeReference) DeepCopy() *NodeReference
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeReference.
func (*NodeReference) DeepCopyInto ¶ added in v1.6.0
func (in *NodeReference) DeepCopyInto(out *NodeReference)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NodeStatsSummary ¶
type NodeStatsSummary struct { metav1.TypeMeta metav1.ObjectMeta // The TrafficStats of K8s NetworkPolicies collected from the Node. NetworkPolicies []NetworkPolicyStats // The TrafficStats of Antrea ClusterNetworkPolicies collected from the Node. AntreaClusterNetworkPolicies []NetworkPolicyStats // The TrafficStats of Antrea NetworkPolicies collected from the Node. AntreaNetworkPolicies []NetworkPolicyStats // Multicast group information from the Node. Multicast []MulticastGroupInfo }
NodeStatsSummary contains stats produced on a Node. It's used by the antrea-agents to report stats to the antrea-controller.
func (*NodeStatsSummary) DeepCopy ¶
func (in *NodeStatsSummary) DeepCopy() *NodeStatsSummary
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeStatsSummary.
func (*NodeStatsSummary) DeepCopyInto ¶
func (in *NodeStatsSummary) DeepCopyInto(out *NodeStatsSummary)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NodeStatsSummary) DeepCopyObject ¶
func (in *NodeStatsSummary) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PaginationGetOptions ¶ added in v1.6.0
PaginationGetOptions is used to retrieve page number and page limit info from the request.
func (*PaginationGetOptions) DeepCopy ¶ added in v1.6.0
func (in *PaginationGetOptions) DeepCopy() *PaginationGetOptions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PaginationGetOptions.
func (*PaginationGetOptions) DeepCopyInto ¶ added in v1.6.0
func (in *PaginationGetOptions) DeepCopyInto(out *PaginationGetOptions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PaginationGetOptions) DeepCopyObject ¶ added in v1.6.0
func (in *PaginationGetOptions) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PodReference ¶
type PodReference struct { // The name of this Pod. Name string // The Namespace of this Pod. Namespace string }
PodReference represents a Pod Reference.
func (*PodReference) DeepCopy ¶
func (in *PodReference) DeepCopy() *PodReference
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodReference.
func (*PodReference) DeepCopyInto ¶
func (in *PodReference) DeepCopyInto(out *PodReference)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Protocol ¶
type Protocol string
Protocol defines network protocols supported for things like container ports.
const ( // ProtocolTCP is the TCP protocol. ProtocolTCP Protocol = "TCP" // ProtocolUDP is the UDP protocol. ProtocolUDP Protocol = "UDP" // ProtocolSCTP is the SCTP protocol. ProtocolSCTP Protocol = "SCTP" // ProtocolICMP is the ICMP protocol. ProtocolICMP Protocol = "ICMP" ProtocolIGMP Protocol = "IGMP" )
type Service ¶
type Service struct { // The protocol (TCP, UDP, SCTP, or ICMP) which traffic must match. If not specified, this // field defaults to TCP. // +optional Protocol *Protocol // Port and EndPort can only be specified, when the Protocol is TCP, UDP, or SCTP. // Port defines the port name or number on the given protocol. If not specified // and the Protocol is TCP, UDP, or SCTP, this matches all port numbers. // +optional Port *intstr.IntOrString // EndPort defines the end of the port range, inclusive. // It can only be specified when a numerical `port` is specified. // +optional EndPort *int32 // SrcPort and SrcEndPort can only be specified, when the Protocol is TCP, UDP, or SCTP. // It restricts the source port of the traffic. // +optional SrcPort *int32 // +optional SrcEndPort *int32 // ICMPType and ICMPCode can only be specified, when the Protocol is ICMP. If they // both are not specified and the Protocol is ICMP, this matches all ICMP traffic. ICMPType *int32 ICMPCode *int32 // IGMPType and GroupAddress can only be specified when the Protocol is IGMP. IGMPType *int32 GroupAddress string }
Service describes a port to allow traffic on.
func (*Service) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Service.
func (*Service) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceReference ¶
type ServiceReference struct { // The name of this Service. Name string // The Namespace of this Service. Namespace string }
ServiceReference represents reference to a v1.Service.
func (*ServiceReference) DeepCopy ¶
func (in *ServiceReference) DeepCopy() *ServiceReference
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceReference.
func (*ServiceReference) DeepCopyInto ¶
func (in *ServiceReference) DeepCopyInto(out *ServiceReference)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SupportBundleCollection ¶ added in v1.10.0
type SupportBundleCollection struct { metav1.TypeMeta metav1.ObjectMeta ExpiredAt metav1.Time SinceTime string FileServer BundleFileServer Authentication BundleServerAuthConfiguration }
func (*SupportBundleCollection) DeepCopy ¶ added in v1.10.0
func (in *SupportBundleCollection) DeepCopy() *SupportBundleCollection
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SupportBundleCollection.
func (*SupportBundleCollection) DeepCopyInto ¶ added in v1.10.0
func (in *SupportBundleCollection) DeepCopyInto(out *SupportBundleCollection)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SupportBundleCollection) DeepCopyObject ¶ added in v1.10.0
func (in *SupportBundleCollection) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SupportBundleCollectionList ¶ added in v1.10.0
type SupportBundleCollectionList struct { metav1.TypeMeta metav1.ListMeta Items []SupportBundleCollection }
SupportBundleCollectionList is a list of SupportBundleCollection objects.
func (*SupportBundleCollectionList) DeepCopy ¶ added in v1.10.0
func (in *SupportBundleCollectionList) DeepCopy() *SupportBundleCollectionList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SupportBundleCollectionList.
func (*SupportBundleCollectionList) DeepCopyInto ¶ added in v1.10.0
func (in *SupportBundleCollectionList) DeepCopyInto(out *SupportBundleCollectionList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SupportBundleCollectionList) DeepCopyObject ¶ added in v1.10.0
func (in *SupportBundleCollectionList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SupportBundleCollectionNodeStatus ¶ added in v1.10.0
type SupportBundleCollectionNodeStatus struct { // The name of the Node that produces the status. NodeName string // The Namespace of the Node produces the status. It is set only when NodeType is externalNode NodeNamespace string // The type of the Node that produces the status. The supported values are "Node" and "ExternalNode". NodeType SupportBundleCollectionNodeType // Completed shows if the SupportBundleCollection is successfully processed on the Node or ExternalNode or not. Completed bool // Error is the reason for which the SupportBundleCollection is failed on the Node. Error string }
SupportBundleCollectionNodeStatus is the status of a SupportBundleCollection on a Node.
func (*SupportBundleCollectionNodeStatus) DeepCopy ¶ added in v1.10.0
func (in *SupportBundleCollectionNodeStatus) DeepCopy() *SupportBundleCollectionNodeStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SupportBundleCollectionNodeStatus.
func (*SupportBundleCollectionNodeStatus) DeepCopyInto ¶ added in v1.10.0
func (in *SupportBundleCollectionNodeStatus) DeepCopyInto(out *SupportBundleCollectionNodeStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SupportBundleCollectionNodeType ¶ added in v1.10.0
type SupportBundleCollectionNodeType string
const ( SupportBundleCollectionNodeTypeNode SupportBundleCollectionNodeType = "Node" SupportBundleCollectionNodeTypeExternalNode SupportBundleCollectionNodeType = "ExternalNode" )
type SupportBundleCollectionStatus ¶ added in v1.10.0
type SupportBundleCollectionStatus struct { metav1.TypeMeta metav1.ObjectMeta // Nodes contains statuses produced on a list of Nodes. Nodes []SupportBundleCollectionNodeStatus }
SupportBundleCollectionStatus is the status of a SupportBundleCollection.
func (*SupportBundleCollectionStatus) DeepCopy ¶ added in v1.10.0
func (in *SupportBundleCollectionStatus) DeepCopy() *SupportBundleCollectionStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SupportBundleCollectionStatus.
func (*SupportBundleCollectionStatus) DeepCopyInto ¶ added in v1.10.0
func (in *SupportBundleCollectionStatus) DeepCopyInto(out *SupportBundleCollectionStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SupportBundleCollectionStatus) DeepCopyObject ¶ added in v1.10.0
func (in *SupportBundleCollectionStatus) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TLSProtocol ¶ added in v1.13.0
type TLSProtocol struct { // SNI (Server Name Indication) indicates the server domain name in the TLS/SSL hello message. SNI string `json:"sni,omitempty" protobuf:"bytes,1,opt,name=sni"` }
TLSProtocol matches TLS handshake packets with specific SNI. If the field is not provided, this matches all TLS handshake packets.
func (*TLSProtocol) DeepCopy ¶ added in v1.13.0
func (in *TLSProtocol) DeepCopy() *TLSProtocol
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TLSProtocol.
func (*TLSProtocol) DeepCopyInto ¶ added in v1.13.0
func (in *TLSProtocol) DeepCopyInto(out *TLSProtocol)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.