v1beta2

package
v1.15.2 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2024 License: Apache-2.0 Imports: 21 Imported by: 2

Documentation

Overview

Package v1beta2 is the v1beta2 version of the Antrea NetworkPolicy API messages.

Index

Constants

View Source
const GroupName = "controlplane.antrea.io"

GroupName is the group name used in this package.

Variables

View Source
var (
	ErrInvalidLengthGenerated        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenerated          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGenerated = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	// SchemeGroupVersion is group version used to register these objects.
	SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1beta2"}

	AppliedToGroupVersionResource = schema.GroupVersionResource{
		Group:    SchemeGroupVersion.Group,
		Version:  SchemeGroupVersion.Version,
		Resource: "appliedtogroups"}
	AddressGroupVersionResource = schema.GroupVersionResource{
		Group:    SchemeGroupVersion.Group,
		Version:  SchemeGroupVersion.Version,
		Resource: "addressgroups"}
	NetworkPolicyVersionResource = schema.GroupVersionResource{
		Group:    SchemeGroupVersion.Group,
		Version:  SchemeGroupVersion.Version,
		Resource: "networkpolicies"}
	GroupVersionResource = schema.GroupVersionResource{
		Group:    SchemeGroupVersion.Group,
		Version:  SchemeGroupVersion.Version,
		Resource: "groups",
	}
)
View Source
var (
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)

	AddToScheme = localSchemeBuilder.AddToScheme
)

Functions

func Convert_controlplane_AddressGroupList_To_v1beta2_AddressGroupList

func Convert_controlplane_AddressGroupList_To_v1beta2_AddressGroupList(in *controlplane.AddressGroupList, out *AddressGroupList, s conversion.Scope) error

Convert_controlplane_AddressGroupList_To_v1beta2_AddressGroupList is an autogenerated conversion function.

func Convert_controlplane_AddressGroupPatch_To_v1beta2_AddressGroupPatch

func Convert_controlplane_AddressGroupPatch_To_v1beta2_AddressGroupPatch(in *controlplane.AddressGroupPatch, out *AddressGroupPatch, s conversion.Scope) error

Convert_controlplane_AddressGroupPatch_To_v1beta2_AddressGroupPatch is an autogenerated conversion function.

func Convert_controlplane_AddressGroup_To_v1beta2_AddressGroup

func Convert_controlplane_AddressGroup_To_v1beta2_AddressGroup(in *controlplane.AddressGroup, out *AddressGroup, s conversion.Scope) error

Convert_controlplane_AddressGroup_To_v1beta2_AddressGroup is an autogenerated conversion function.

func Convert_controlplane_AppliedToGroupList_To_v1beta2_AppliedToGroupList

func Convert_controlplane_AppliedToGroupList_To_v1beta2_AppliedToGroupList(in *controlplane.AppliedToGroupList, out *AppliedToGroupList, s conversion.Scope) error

Convert_controlplane_AppliedToGroupList_To_v1beta2_AppliedToGroupList is an autogenerated conversion function.

func Convert_controlplane_AppliedToGroupPatch_To_v1beta2_AppliedToGroupPatch

func Convert_controlplane_AppliedToGroupPatch_To_v1beta2_AppliedToGroupPatch(in *controlplane.AppliedToGroupPatch, out *AppliedToGroupPatch, s conversion.Scope) error

Convert_controlplane_AppliedToGroupPatch_To_v1beta2_AppliedToGroupPatch is an autogenerated conversion function.

func Convert_controlplane_AppliedToGroup_To_v1beta2_AppliedToGroup

func Convert_controlplane_AppliedToGroup_To_v1beta2_AppliedToGroup(in *controlplane.AppliedToGroup, out *AppliedToGroup, s conversion.Scope) error

Convert_controlplane_AppliedToGroup_To_v1beta2_AppliedToGroup is an autogenerated conversion function.

func Convert_controlplane_BasicAuthentication_To_v1beta2_BasicAuthentication added in v1.10.0

func Convert_controlplane_BasicAuthentication_To_v1beta2_BasicAuthentication(in *controlplane.BasicAuthentication, out *BasicAuthentication, s conversion.Scope) error

Convert_controlplane_BasicAuthentication_To_v1beta2_BasicAuthentication is an autogenerated conversion function.

func Convert_controlplane_BundleFileServer_To_v1beta2_BundleFileServer added in v1.10.0

func Convert_controlplane_BundleFileServer_To_v1beta2_BundleFileServer(in *controlplane.BundleFileServer, out *BundleFileServer, s conversion.Scope) error

Convert_controlplane_BundleFileServer_To_v1beta2_BundleFileServer is an autogenerated conversion function.

func Convert_controlplane_BundleServerAuthConfiguration_To_v1beta2_BundleServerAuthConfiguration added in v1.10.0

func Convert_controlplane_BundleServerAuthConfiguration_To_v1beta2_BundleServerAuthConfiguration(in *controlplane.BundleServerAuthConfiguration, out *BundleServerAuthConfiguration, s conversion.Scope) error

Convert_controlplane_BundleServerAuthConfiguration_To_v1beta2_BundleServerAuthConfiguration is an autogenerated conversion function.

func Convert_controlplane_ClusterGroupMembers_To_v1beta2_ClusterGroupMembers

func Convert_controlplane_ClusterGroupMembers_To_v1beta2_ClusterGroupMembers(in *controlplane.ClusterGroupMembers, out *ClusterGroupMembers, s conversion.Scope) error

Convert_controlplane_ClusterGroupMembers_To_v1beta2_ClusterGroupMembers is an autogenerated conversion function.

func Convert_controlplane_EgressGroupList_To_v1beta2_EgressGroupList

func Convert_controlplane_EgressGroupList_To_v1beta2_EgressGroupList(in *controlplane.EgressGroupList, out *EgressGroupList, s conversion.Scope) error

Convert_controlplane_EgressGroupList_To_v1beta2_EgressGroupList is an autogenerated conversion function.

func Convert_controlplane_EgressGroupPatch_To_v1beta2_EgressGroupPatch

func Convert_controlplane_EgressGroupPatch_To_v1beta2_EgressGroupPatch(in *controlplane.EgressGroupPatch, out *EgressGroupPatch, s conversion.Scope) error

Convert_controlplane_EgressGroupPatch_To_v1beta2_EgressGroupPatch is an autogenerated conversion function.

func Convert_controlplane_EgressGroup_To_v1beta2_EgressGroup

func Convert_controlplane_EgressGroup_To_v1beta2_EgressGroup(in *controlplane.EgressGroup, out *EgressGroup, s conversion.Scope) error

Convert_controlplane_EgressGroup_To_v1beta2_EgressGroup is an autogenerated conversion function.

func Convert_controlplane_ExternalEntityReference_To_v1beta2_ExternalEntityReference

func Convert_controlplane_ExternalEntityReference_To_v1beta2_ExternalEntityReference(in *controlplane.ExternalEntityReference, out *ExternalEntityReference, s conversion.Scope) error

Convert_controlplane_ExternalEntityReference_To_v1beta2_ExternalEntityReference is an autogenerated conversion function.

func Convert_controlplane_GroupAssociation_To_v1beta2_GroupAssociation

func Convert_controlplane_GroupAssociation_To_v1beta2_GroupAssociation(in *controlplane.GroupAssociation, out *GroupAssociation, s conversion.Scope) error

Convert_controlplane_GroupAssociation_To_v1beta2_GroupAssociation is an autogenerated conversion function.

func Convert_controlplane_GroupMember_To_v1beta2_GroupMember

func Convert_controlplane_GroupMember_To_v1beta2_GroupMember(in *controlplane.GroupMember, out *GroupMember, s conversion.Scope) error

Convert_controlplane_GroupMember_To_v1beta2_GroupMember is an autogenerated conversion function.

func Convert_controlplane_GroupMembers_To_v1beta2_GroupMembers added in v1.14.0

func Convert_controlplane_GroupMembers_To_v1beta2_GroupMembers(in *controlplane.GroupMembers, out *GroupMembers, s conversion.Scope) error

Convert_controlplane_GroupMembers_To_v1beta2_GroupMembers is an autogenerated conversion function.

func Convert_controlplane_GroupReference_To_v1beta2_GroupReference

func Convert_controlplane_GroupReference_To_v1beta2_GroupReference(in *controlplane.GroupReference, out *GroupReference, s conversion.Scope) error

Convert_controlplane_GroupReference_To_v1beta2_GroupReference is an autogenerated conversion function.

func Convert_controlplane_HTTPProtocol_To_v1beta2_HTTPProtocol added in v1.10.0

func Convert_controlplane_HTTPProtocol_To_v1beta2_HTTPProtocol(in *controlplane.HTTPProtocol, out *HTTPProtocol, s conversion.Scope) error

Convert_controlplane_HTTPProtocol_To_v1beta2_HTTPProtocol is an autogenerated conversion function.

func Convert_controlplane_IPBlock_To_v1beta2_IPBlock

func Convert_controlplane_IPBlock_To_v1beta2_IPBlock(in *controlplane.IPBlock, out *IPBlock, s conversion.Scope) error

Convert_controlplane_IPBlock_To_v1beta2_IPBlock is an autogenerated conversion function.

func Convert_controlplane_IPGroupAssociation_To_v1beta2_IPGroupAssociation added in v1.12.0

func Convert_controlplane_IPGroupAssociation_To_v1beta2_IPGroupAssociation(in *controlplane.IPGroupAssociation, out *IPGroupAssociation, s conversion.Scope) error

Convert_controlplane_IPGroupAssociation_To_v1beta2_IPGroupAssociation is an autogenerated conversion function.

func Convert_controlplane_IPNet_To_v1beta2_IPNet

func Convert_controlplane_IPNet_To_v1beta2_IPNet(in *controlplane.IPNet, out *IPNet, s conversion.Scope) error

Convert_controlplane_IPNet_To_v1beta2_IPNet is an autogenerated conversion function.

func Convert_controlplane_L7Protocol_To_v1beta2_L7Protocol added in v1.10.0

func Convert_controlplane_L7Protocol_To_v1beta2_L7Protocol(in *controlplane.L7Protocol, out *L7Protocol, s conversion.Scope) error

Convert_controlplane_L7Protocol_To_v1beta2_L7Protocol is an autogenerated conversion function.

func Convert_controlplane_MulticastGroupInfo_To_v1beta2_MulticastGroupInfo added in v1.7.0

func Convert_controlplane_MulticastGroupInfo_To_v1beta2_MulticastGroupInfo(in *controlplane.MulticastGroupInfo, out *MulticastGroupInfo, s conversion.Scope) error

Convert_controlplane_MulticastGroupInfo_To_v1beta2_MulticastGroupInfo is an autogenerated conversion function.

func Convert_controlplane_NamedPort_To_v1beta2_NamedPort

func Convert_controlplane_NamedPort_To_v1beta2_NamedPort(in *controlplane.NamedPort, out *NamedPort, s conversion.Scope) error

Convert_controlplane_NamedPort_To_v1beta2_NamedPort is an autogenerated conversion function.

func Convert_controlplane_NetworkPolicyList_To_v1beta2_NetworkPolicyList

func Convert_controlplane_NetworkPolicyList_To_v1beta2_NetworkPolicyList(in *controlplane.NetworkPolicyList, out *NetworkPolicyList, s conversion.Scope) error

Convert_controlplane_NetworkPolicyList_To_v1beta2_NetworkPolicyList is an autogenerated conversion function.

func Convert_controlplane_NetworkPolicyNodeStatus_To_v1beta2_NetworkPolicyNodeStatus

func Convert_controlplane_NetworkPolicyNodeStatus_To_v1beta2_NetworkPolicyNodeStatus(in *controlplane.NetworkPolicyNodeStatus, out *NetworkPolicyNodeStatus, s conversion.Scope) error

Convert_controlplane_NetworkPolicyNodeStatus_To_v1beta2_NetworkPolicyNodeStatus is an autogenerated conversion function.

func Convert_controlplane_NetworkPolicyPeer_To_v1beta2_NetworkPolicyPeer

func Convert_controlplane_NetworkPolicyPeer_To_v1beta2_NetworkPolicyPeer(in *controlplane.NetworkPolicyPeer, out *NetworkPolicyPeer, s conversion.Scope) error

Convert_controlplane_NetworkPolicyPeer_To_v1beta2_NetworkPolicyPeer is an autogenerated conversion function.

func Convert_controlplane_NetworkPolicyReference_To_v1beta2_NetworkPolicyReference

func Convert_controlplane_NetworkPolicyReference_To_v1beta2_NetworkPolicyReference(in *controlplane.NetworkPolicyReference, out *NetworkPolicyReference, s conversion.Scope) error

Convert_controlplane_NetworkPolicyReference_To_v1beta2_NetworkPolicyReference is an autogenerated conversion function.

func Convert_controlplane_NetworkPolicyRule_To_v1beta2_NetworkPolicyRule

func Convert_controlplane_NetworkPolicyRule_To_v1beta2_NetworkPolicyRule(in *controlplane.NetworkPolicyRule, out *NetworkPolicyRule, s conversion.Scope) error

Convert_controlplane_NetworkPolicyRule_To_v1beta2_NetworkPolicyRule is an autogenerated conversion function.

func Convert_controlplane_NetworkPolicyStats_To_v1beta2_NetworkPolicyStats

func Convert_controlplane_NetworkPolicyStats_To_v1beta2_NetworkPolicyStats(in *controlplane.NetworkPolicyStats, out *NetworkPolicyStats, s conversion.Scope) error

Convert_controlplane_NetworkPolicyStats_To_v1beta2_NetworkPolicyStats is an autogenerated conversion function.

func Convert_controlplane_NetworkPolicyStatus_To_v1beta2_NetworkPolicyStatus

func Convert_controlplane_NetworkPolicyStatus_To_v1beta2_NetworkPolicyStatus(in *controlplane.NetworkPolicyStatus, out *NetworkPolicyStatus, s conversion.Scope) error

Convert_controlplane_NetworkPolicyStatus_To_v1beta2_NetworkPolicyStatus is an autogenerated conversion function.

func Convert_controlplane_NetworkPolicy_To_v1beta2_NetworkPolicy

func Convert_controlplane_NetworkPolicy_To_v1beta2_NetworkPolicy(in *controlplane.NetworkPolicy, out *NetworkPolicy, s conversion.Scope) error

Convert_controlplane_NetworkPolicy_To_v1beta2_NetworkPolicy is an autogenerated conversion function.

func Convert_controlplane_NodeReference_To_v1beta2_NodeReference added in v1.6.0

func Convert_controlplane_NodeReference_To_v1beta2_NodeReference(in *controlplane.NodeReference, out *NodeReference, s conversion.Scope) error

Convert_controlplane_NodeReference_To_v1beta2_NodeReference is an autogenerated conversion function.

func Convert_controlplane_NodeStatsSummary_To_v1beta2_NodeStatsSummary

func Convert_controlplane_NodeStatsSummary_To_v1beta2_NodeStatsSummary(in *controlplane.NodeStatsSummary, out *NodeStatsSummary, s conversion.Scope) error

Convert_controlplane_NodeStatsSummary_To_v1beta2_NodeStatsSummary is an autogenerated conversion function.

func Convert_controlplane_PaginationGetOptions_To_v1beta2_PaginationGetOptions added in v1.6.0

func Convert_controlplane_PaginationGetOptions_To_v1beta2_PaginationGetOptions(in *controlplane.PaginationGetOptions, out *PaginationGetOptions, s conversion.Scope) error

Convert_controlplane_PaginationGetOptions_To_v1beta2_PaginationGetOptions is an autogenerated conversion function.

func Convert_controlplane_PodReference_To_v1beta2_PodReference

func Convert_controlplane_PodReference_To_v1beta2_PodReference(in *controlplane.PodReference, out *PodReference, s conversion.Scope) error

Convert_controlplane_PodReference_To_v1beta2_PodReference is an autogenerated conversion function.

func Convert_controlplane_ServiceReference_To_v1beta2_ServiceReference

func Convert_controlplane_ServiceReference_To_v1beta2_ServiceReference(in *controlplane.ServiceReference, out *ServiceReference, s conversion.Scope) error

Convert_controlplane_ServiceReference_To_v1beta2_ServiceReference is an autogenerated conversion function.

func Convert_controlplane_Service_To_v1beta2_Service

func Convert_controlplane_Service_To_v1beta2_Service(in *controlplane.Service, out *Service, s conversion.Scope) error

Convert_controlplane_Service_To_v1beta2_Service is an autogenerated conversion function.

func Convert_controlplane_SupportBundleCollectionList_To_v1beta2_SupportBundleCollectionList added in v1.10.0

func Convert_controlplane_SupportBundleCollectionList_To_v1beta2_SupportBundleCollectionList(in *controlplane.SupportBundleCollectionList, out *SupportBundleCollectionList, s conversion.Scope) error

Convert_controlplane_SupportBundleCollectionList_To_v1beta2_SupportBundleCollectionList is an autogenerated conversion function.

func Convert_controlplane_SupportBundleCollectionNodeStatus_To_v1beta2_SupportBundleCollectionNodeStatus added in v1.10.0

func Convert_controlplane_SupportBundleCollectionNodeStatus_To_v1beta2_SupportBundleCollectionNodeStatus(in *controlplane.SupportBundleCollectionNodeStatus, out *SupportBundleCollectionNodeStatus, s conversion.Scope) error

Convert_controlplane_SupportBundleCollectionNodeStatus_To_v1beta2_SupportBundleCollectionNodeStatus is an autogenerated conversion function.

func Convert_controlplane_SupportBundleCollectionStatus_To_v1beta2_SupportBundleCollectionStatus added in v1.10.0

func Convert_controlplane_SupportBundleCollectionStatus_To_v1beta2_SupportBundleCollectionStatus(in *controlplane.SupportBundleCollectionStatus, out *SupportBundleCollectionStatus, s conversion.Scope) error

Convert_controlplane_SupportBundleCollectionStatus_To_v1beta2_SupportBundleCollectionStatus is an autogenerated conversion function.

func Convert_controlplane_SupportBundleCollection_To_v1beta2_SupportBundleCollection added in v1.10.0

func Convert_controlplane_SupportBundleCollection_To_v1beta2_SupportBundleCollection(in *controlplane.SupportBundleCollection, out *SupportBundleCollection, s conversion.Scope) error

Convert_controlplane_SupportBundleCollection_To_v1beta2_SupportBundleCollection is an autogenerated conversion function.

func Convert_controlplane_TLSProtocol_To_v1beta2_TLSProtocol added in v1.13.0

func Convert_controlplane_TLSProtocol_To_v1beta2_TLSProtocol(in *controlplane.TLSProtocol, out *TLSProtocol, s conversion.Scope) error

Convert_controlplane_TLSProtocol_To_v1beta2_TLSProtocol is an autogenerated conversion function.

func Convert_url_Values_To_v1beta2_PaginationGetOptions added in v1.6.0

func Convert_url_Values_To_v1beta2_PaginationGetOptions(in *url.Values, out *PaginationGetOptions, s conversion.Scope) error

Convert_url_Values_To_v1beta2_PaginationGetOptions is an autogenerated conversion function.

func Convert_v1beta2_AddressGroupList_To_controlplane_AddressGroupList

func Convert_v1beta2_AddressGroupList_To_controlplane_AddressGroupList(in *AddressGroupList, out *controlplane.AddressGroupList, s conversion.Scope) error

Convert_v1beta2_AddressGroupList_To_controlplane_AddressGroupList is an autogenerated conversion function.

func Convert_v1beta2_AddressGroupPatch_To_controlplane_AddressGroupPatch

func Convert_v1beta2_AddressGroupPatch_To_controlplane_AddressGroupPatch(in *AddressGroupPatch, out *controlplane.AddressGroupPatch, s conversion.Scope) error

Convert_v1beta2_AddressGroupPatch_To_controlplane_AddressGroupPatch is an autogenerated conversion function.

func Convert_v1beta2_AddressGroup_To_controlplane_AddressGroup

func Convert_v1beta2_AddressGroup_To_controlplane_AddressGroup(in *AddressGroup, out *controlplane.AddressGroup, s conversion.Scope) error

Convert_v1beta2_AddressGroup_To_controlplane_AddressGroup is an autogenerated conversion function.

func Convert_v1beta2_AppliedToGroupList_To_controlplane_AppliedToGroupList

func Convert_v1beta2_AppliedToGroupList_To_controlplane_AppliedToGroupList(in *AppliedToGroupList, out *controlplane.AppliedToGroupList, s conversion.Scope) error

Convert_v1beta2_AppliedToGroupList_To_controlplane_AppliedToGroupList is an autogenerated conversion function.

func Convert_v1beta2_AppliedToGroupPatch_To_controlplane_AppliedToGroupPatch

func Convert_v1beta2_AppliedToGroupPatch_To_controlplane_AppliedToGroupPatch(in *AppliedToGroupPatch, out *controlplane.AppliedToGroupPatch, s conversion.Scope) error

Convert_v1beta2_AppliedToGroupPatch_To_controlplane_AppliedToGroupPatch is an autogenerated conversion function.

func Convert_v1beta2_AppliedToGroup_To_controlplane_AppliedToGroup

func Convert_v1beta2_AppliedToGroup_To_controlplane_AppliedToGroup(in *AppliedToGroup, out *controlplane.AppliedToGroup, s conversion.Scope) error

Convert_v1beta2_AppliedToGroup_To_controlplane_AppliedToGroup is an autogenerated conversion function.

func Convert_v1beta2_BasicAuthentication_To_controlplane_BasicAuthentication added in v1.10.0

func Convert_v1beta2_BasicAuthentication_To_controlplane_BasicAuthentication(in *BasicAuthentication, out *controlplane.BasicAuthentication, s conversion.Scope) error

Convert_v1beta2_BasicAuthentication_To_controlplane_BasicAuthentication is an autogenerated conversion function.

func Convert_v1beta2_BundleFileServer_To_controlplane_BundleFileServer added in v1.10.0

func Convert_v1beta2_BundleFileServer_To_controlplane_BundleFileServer(in *BundleFileServer, out *controlplane.BundleFileServer, s conversion.Scope) error

Convert_v1beta2_BundleFileServer_To_controlplane_BundleFileServer is an autogenerated conversion function.

func Convert_v1beta2_BundleServerAuthConfiguration_To_controlplane_BundleServerAuthConfiguration added in v1.10.0

func Convert_v1beta2_BundleServerAuthConfiguration_To_controlplane_BundleServerAuthConfiguration(in *BundleServerAuthConfiguration, out *controlplane.BundleServerAuthConfiguration, s conversion.Scope) error

Convert_v1beta2_BundleServerAuthConfiguration_To_controlplane_BundleServerAuthConfiguration is an autogenerated conversion function.

func Convert_v1beta2_ClusterGroupMembers_To_controlplane_ClusterGroupMembers

func Convert_v1beta2_ClusterGroupMembers_To_controlplane_ClusterGroupMembers(in *ClusterGroupMembers, out *controlplane.ClusterGroupMembers, s conversion.Scope) error

Convert_v1beta2_ClusterGroupMembers_To_controlplane_ClusterGroupMembers is an autogenerated conversion function.

func Convert_v1beta2_EgressGroupList_To_controlplane_EgressGroupList

func Convert_v1beta2_EgressGroupList_To_controlplane_EgressGroupList(in *EgressGroupList, out *controlplane.EgressGroupList, s conversion.Scope) error

Convert_v1beta2_EgressGroupList_To_controlplane_EgressGroupList is an autogenerated conversion function.

func Convert_v1beta2_EgressGroupPatch_To_controlplane_EgressGroupPatch

func Convert_v1beta2_EgressGroupPatch_To_controlplane_EgressGroupPatch(in *EgressGroupPatch, out *controlplane.EgressGroupPatch, s conversion.Scope) error

Convert_v1beta2_EgressGroupPatch_To_controlplane_EgressGroupPatch is an autogenerated conversion function.

func Convert_v1beta2_EgressGroup_To_controlplane_EgressGroup

func Convert_v1beta2_EgressGroup_To_controlplane_EgressGroup(in *EgressGroup, out *controlplane.EgressGroup, s conversion.Scope) error

Convert_v1beta2_EgressGroup_To_controlplane_EgressGroup is an autogenerated conversion function.

func Convert_v1beta2_ExternalEntityReference_To_controlplane_ExternalEntityReference

func Convert_v1beta2_ExternalEntityReference_To_controlplane_ExternalEntityReference(in *ExternalEntityReference, out *controlplane.ExternalEntityReference, s conversion.Scope) error

Convert_v1beta2_ExternalEntityReference_To_controlplane_ExternalEntityReference is an autogenerated conversion function.

func Convert_v1beta2_GroupAssociation_To_controlplane_GroupAssociation

func Convert_v1beta2_GroupAssociation_To_controlplane_GroupAssociation(in *GroupAssociation, out *controlplane.GroupAssociation, s conversion.Scope) error

Convert_v1beta2_GroupAssociation_To_controlplane_GroupAssociation is an autogenerated conversion function.

func Convert_v1beta2_GroupMember_To_controlplane_GroupMember

func Convert_v1beta2_GroupMember_To_controlplane_GroupMember(in *GroupMember, out *controlplane.GroupMember, s conversion.Scope) error

Convert_v1beta2_GroupMember_To_controlplane_GroupMember is an autogenerated conversion function.

func Convert_v1beta2_GroupMembers_To_controlplane_GroupMembers added in v1.14.0

func Convert_v1beta2_GroupMembers_To_controlplane_GroupMembers(in *GroupMembers, out *controlplane.GroupMembers, s conversion.Scope) error

Convert_v1beta2_GroupMembers_To_controlplane_GroupMembers is an autogenerated conversion function.

func Convert_v1beta2_GroupReference_To_controlplane_GroupReference

func Convert_v1beta2_GroupReference_To_controlplane_GroupReference(in *GroupReference, out *controlplane.GroupReference, s conversion.Scope) error

Convert_v1beta2_GroupReference_To_controlplane_GroupReference is an autogenerated conversion function.

func Convert_v1beta2_HTTPProtocol_To_controlplane_HTTPProtocol added in v1.10.0

func Convert_v1beta2_HTTPProtocol_To_controlplane_HTTPProtocol(in *HTTPProtocol, out *controlplane.HTTPProtocol, s conversion.Scope) error

Convert_v1beta2_HTTPProtocol_To_controlplane_HTTPProtocol is an autogenerated conversion function.

func Convert_v1beta2_IPBlock_To_controlplane_IPBlock

func Convert_v1beta2_IPBlock_To_controlplane_IPBlock(in *IPBlock, out *controlplane.IPBlock, s conversion.Scope) error

Convert_v1beta2_IPBlock_To_controlplane_IPBlock is an autogenerated conversion function.

func Convert_v1beta2_IPGroupAssociation_To_controlplane_IPGroupAssociation added in v1.12.0

func Convert_v1beta2_IPGroupAssociation_To_controlplane_IPGroupAssociation(in *IPGroupAssociation, out *controlplane.IPGroupAssociation, s conversion.Scope) error

Convert_v1beta2_IPGroupAssociation_To_controlplane_IPGroupAssociation is an autogenerated conversion function.

func Convert_v1beta2_IPNet_To_controlplane_IPNet

func Convert_v1beta2_IPNet_To_controlplane_IPNet(in *IPNet, out *controlplane.IPNet, s conversion.Scope) error

Convert_v1beta2_IPNet_To_controlplane_IPNet is an autogenerated conversion function.

func Convert_v1beta2_L7Protocol_To_controlplane_L7Protocol added in v1.10.0

func Convert_v1beta2_L7Protocol_To_controlplane_L7Protocol(in *L7Protocol, out *controlplane.L7Protocol, s conversion.Scope) error

Convert_v1beta2_L7Protocol_To_controlplane_L7Protocol is an autogenerated conversion function.

func Convert_v1beta2_MulticastGroupInfo_To_controlplane_MulticastGroupInfo added in v1.7.0

func Convert_v1beta2_MulticastGroupInfo_To_controlplane_MulticastGroupInfo(in *MulticastGroupInfo, out *controlplane.MulticastGroupInfo, s conversion.Scope) error

Convert_v1beta2_MulticastGroupInfo_To_controlplane_MulticastGroupInfo is an autogenerated conversion function.

func Convert_v1beta2_NamedPort_To_controlplane_NamedPort

func Convert_v1beta2_NamedPort_To_controlplane_NamedPort(in *NamedPort, out *controlplane.NamedPort, s conversion.Scope) error

Convert_v1beta2_NamedPort_To_controlplane_NamedPort is an autogenerated conversion function.

func Convert_v1beta2_NetworkPolicyList_To_controlplane_NetworkPolicyList

func Convert_v1beta2_NetworkPolicyList_To_controlplane_NetworkPolicyList(in *NetworkPolicyList, out *controlplane.NetworkPolicyList, s conversion.Scope) error

Convert_v1beta2_NetworkPolicyList_To_controlplane_NetworkPolicyList is an autogenerated conversion function.

func Convert_v1beta2_NetworkPolicyNodeStatus_To_controlplane_NetworkPolicyNodeStatus

func Convert_v1beta2_NetworkPolicyNodeStatus_To_controlplane_NetworkPolicyNodeStatus(in *NetworkPolicyNodeStatus, out *controlplane.NetworkPolicyNodeStatus, s conversion.Scope) error

Convert_v1beta2_NetworkPolicyNodeStatus_To_controlplane_NetworkPolicyNodeStatus is an autogenerated conversion function.

func Convert_v1beta2_NetworkPolicyPeer_To_controlplane_NetworkPolicyPeer

func Convert_v1beta2_NetworkPolicyPeer_To_controlplane_NetworkPolicyPeer(in *NetworkPolicyPeer, out *controlplane.NetworkPolicyPeer, s conversion.Scope) error

Convert_v1beta2_NetworkPolicyPeer_To_controlplane_NetworkPolicyPeer is an autogenerated conversion function.

func Convert_v1beta2_NetworkPolicyReference_To_controlplane_NetworkPolicyReference

func Convert_v1beta2_NetworkPolicyReference_To_controlplane_NetworkPolicyReference(in *NetworkPolicyReference, out *controlplane.NetworkPolicyReference, s conversion.Scope) error

Convert_v1beta2_NetworkPolicyReference_To_controlplane_NetworkPolicyReference is an autogenerated conversion function.

func Convert_v1beta2_NetworkPolicyRule_To_controlplane_NetworkPolicyRule

func Convert_v1beta2_NetworkPolicyRule_To_controlplane_NetworkPolicyRule(in *NetworkPolicyRule, out *controlplane.NetworkPolicyRule, s conversion.Scope) error

Convert_v1beta2_NetworkPolicyRule_To_controlplane_NetworkPolicyRule is an autogenerated conversion function.

func Convert_v1beta2_NetworkPolicyStats_To_controlplane_NetworkPolicyStats

func Convert_v1beta2_NetworkPolicyStats_To_controlplane_NetworkPolicyStats(in *NetworkPolicyStats, out *controlplane.NetworkPolicyStats, s conversion.Scope) error

Convert_v1beta2_NetworkPolicyStats_To_controlplane_NetworkPolicyStats is an autogenerated conversion function.

func Convert_v1beta2_NetworkPolicyStatus_To_controlplane_NetworkPolicyStatus

func Convert_v1beta2_NetworkPolicyStatus_To_controlplane_NetworkPolicyStatus(in *NetworkPolicyStatus, out *controlplane.NetworkPolicyStatus, s conversion.Scope) error

Convert_v1beta2_NetworkPolicyStatus_To_controlplane_NetworkPolicyStatus is an autogenerated conversion function.

func Convert_v1beta2_NetworkPolicy_To_controlplane_NetworkPolicy

func Convert_v1beta2_NetworkPolicy_To_controlplane_NetworkPolicy(in *NetworkPolicy, out *controlplane.NetworkPolicy, s conversion.Scope) error

Convert_v1beta2_NetworkPolicy_To_controlplane_NetworkPolicy is an autogenerated conversion function.

func Convert_v1beta2_NodeReference_To_controlplane_NodeReference added in v1.6.0

func Convert_v1beta2_NodeReference_To_controlplane_NodeReference(in *NodeReference, out *controlplane.NodeReference, s conversion.Scope) error

Convert_v1beta2_NodeReference_To_controlplane_NodeReference is an autogenerated conversion function.

func Convert_v1beta2_NodeStatsSummary_To_controlplane_NodeStatsSummary

func Convert_v1beta2_NodeStatsSummary_To_controlplane_NodeStatsSummary(in *NodeStatsSummary, out *controlplane.NodeStatsSummary, s conversion.Scope) error

Convert_v1beta2_NodeStatsSummary_To_controlplane_NodeStatsSummary is an autogenerated conversion function.

func Convert_v1beta2_PaginationGetOptions_To_controlplane_PaginationGetOptions added in v1.6.0

func Convert_v1beta2_PaginationGetOptions_To_controlplane_PaginationGetOptions(in *PaginationGetOptions, out *controlplane.PaginationGetOptions, s conversion.Scope) error

Convert_v1beta2_PaginationGetOptions_To_controlplane_PaginationGetOptions is an autogenerated conversion function.

func Convert_v1beta2_PodReference_To_controlplane_PodReference

func Convert_v1beta2_PodReference_To_controlplane_PodReference(in *PodReference, out *controlplane.PodReference, s conversion.Scope) error

Convert_v1beta2_PodReference_To_controlplane_PodReference is an autogenerated conversion function.

func Convert_v1beta2_ServiceReference_To_controlplane_ServiceReference

func Convert_v1beta2_ServiceReference_To_controlplane_ServiceReference(in *ServiceReference, out *controlplane.ServiceReference, s conversion.Scope) error

Convert_v1beta2_ServiceReference_To_controlplane_ServiceReference is an autogenerated conversion function.

func Convert_v1beta2_Service_To_controlplane_Service

func Convert_v1beta2_Service_To_controlplane_Service(in *Service, out *controlplane.Service, s conversion.Scope) error

Convert_v1beta2_Service_To_controlplane_Service is an autogenerated conversion function.

func Convert_v1beta2_SupportBundleCollectionList_To_controlplane_SupportBundleCollectionList added in v1.10.0

func Convert_v1beta2_SupportBundleCollectionList_To_controlplane_SupportBundleCollectionList(in *SupportBundleCollectionList, out *controlplane.SupportBundleCollectionList, s conversion.Scope) error

Convert_v1beta2_SupportBundleCollectionList_To_controlplane_SupportBundleCollectionList is an autogenerated conversion function.

func Convert_v1beta2_SupportBundleCollectionNodeStatus_To_controlplane_SupportBundleCollectionNodeStatus added in v1.10.0

func Convert_v1beta2_SupportBundleCollectionNodeStatus_To_controlplane_SupportBundleCollectionNodeStatus(in *SupportBundleCollectionNodeStatus, out *controlplane.SupportBundleCollectionNodeStatus, s conversion.Scope) error

Convert_v1beta2_SupportBundleCollectionNodeStatus_To_controlplane_SupportBundleCollectionNodeStatus is an autogenerated conversion function.

func Convert_v1beta2_SupportBundleCollectionStatus_To_controlplane_SupportBundleCollectionStatus added in v1.10.0

func Convert_v1beta2_SupportBundleCollectionStatus_To_controlplane_SupportBundleCollectionStatus(in *SupportBundleCollectionStatus, out *controlplane.SupportBundleCollectionStatus, s conversion.Scope) error

Convert_v1beta2_SupportBundleCollectionStatus_To_controlplane_SupportBundleCollectionStatus is an autogenerated conversion function.

func Convert_v1beta2_SupportBundleCollection_To_controlplane_SupportBundleCollection added in v1.10.0

func Convert_v1beta2_SupportBundleCollection_To_controlplane_SupportBundleCollection(in *SupportBundleCollection, out *controlplane.SupportBundleCollection, s conversion.Scope) error

Convert_v1beta2_SupportBundleCollection_To_controlplane_SupportBundleCollection is an autogenerated conversion function.

func Convert_v1beta2_TLSProtocol_To_controlplane_TLSProtocol added in v1.13.0

func Convert_v1beta2_TLSProtocol_To_controlplane_TLSProtocol(in *TLSProtocol, out *controlplane.TLSProtocol, s conversion.Scope) error

Convert_v1beta2_TLSProtocol_To_controlplane_TLSProtocol is an autogenerated conversion function.

func IsSourceAntreaNativePolicy added in v1.13.0

func IsSourceAntreaNativePolicy(npRef *NetworkPolicyReference) bool

func RegisterConversions

func RegisterConversions(s *runtime.Scheme) error

RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.

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   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	GroupMembers      []GroupMember `json:"groupMembers,omitempty" protobuf:"bytes,2,rep,name=groupMembers"`
}

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.

func (*AddressGroup) Descriptor

func (*AddressGroup) Descriptor() ([]byte, []int)

func (*AddressGroup) Marshal

func (m *AddressGroup) Marshal() (dAtA []byte, err error)

func (*AddressGroup) MarshalTo

func (m *AddressGroup) MarshalTo(dAtA []byte) (int, error)

func (*AddressGroup) MarshalToSizedBuffer

func (m *AddressGroup) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AddressGroup) ProtoMessage

func (*AddressGroup) ProtoMessage()

func (*AddressGroup) Reset

func (m *AddressGroup) Reset()

func (*AddressGroup) Size

func (m *AddressGroup) Size() (n int)

func (*AddressGroup) String

func (this *AddressGroup) String() string

func (*AddressGroup) Unmarshal

func (m *AddressGroup) Unmarshal(dAtA []byte) error

func (*AddressGroup) XXX_DiscardUnknown

func (m *AddressGroup) XXX_DiscardUnknown()

func (*AddressGroup) XXX_Marshal

func (m *AddressGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AddressGroup) XXX_Merge

func (m *AddressGroup) XXX_Merge(src proto.Message)

func (*AddressGroup) XXX_Size

func (m *AddressGroup) XXX_Size() int

func (*AddressGroup) XXX_Unmarshal

func (m *AddressGroup) XXX_Unmarshal(b []byte) error

type AddressGroupList

type AddressGroupList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	Items           []AddressGroup `json:"items" protobuf:"bytes,2,rep,name=items"`
}

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.

func (*AddressGroupList) Descriptor

func (*AddressGroupList) Descriptor() ([]byte, []int)

func (*AddressGroupList) Marshal

func (m *AddressGroupList) Marshal() (dAtA []byte, err error)

func (*AddressGroupList) MarshalTo

func (m *AddressGroupList) MarshalTo(dAtA []byte) (int, error)

func (*AddressGroupList) MarshalToSizedBuffer

func (m *AddressGroupList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AddressGroupList) ProtoMessage

func (*AddressGroupList) ProtoMessage()

func (*AddressGroupList) Reset

func (m *AddressGroupList) Reset()

func (*AddressGroupList) Size

func (m *AddressGroupList) Size() (n int)

func (*AddressGroupList) String

func (this *AddressGroupList) String() string

func (*AddressGroupList) Unmarshal

func (m *AddressGroupList) Unmarshal(dAtA []byte) error

func (*AddressGroupList) XXX_DiscardUnknown

func (m *AddressGroupList) XXX_DiscardUnknown()

func (*AddressGroupList) XXX_Marshal

func (m *AddressGroupList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AddressGroupList) XXX_Merge

func (m *AddressGroupList) XXX_Merge(src proto.Message)

func (*AddressGroupList) XXX_Size

func (m *AddressGroupList) XXX_Size() int

func (*AddressGroupList) XXX_Unmarshal

func (m *AddressGroupList) XXX_Unmarshal(b []byte) error

type AddressGroupPatch

type AddressGroupPatch struct {
	metav1.TypeMeta     `json:",inline"`
	metav1.ObjectMeta   `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	AddedGroupMembers   []GroupMember `json:"addedGroupMembers,omitempty" protobuf:"bytes,2,rep,name=addedGroupMembers"`
	RemovedGroupMembers []GroupMember `json:"removedGroupMembers,omitempty" protobuf:"bytes,3,rep,name=removedGroupMembers"`
}

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.

func (*AddressGroupPatch) Descriptor

func (*AddressGroupPatch) Descriptor() ([]byte, []int)

func (*AddressGroupPatch) Marshal

func (m *AddressGroupPatch) Marshal() (dAtA []byte, err error)

func (*AddressGroupPatch) MarshalTo

func (m *AddressGroupPatch) MarshalTo(dAtA []byte) (int, error)

func (*AddressGroupPatch) MarshalToSizedBuffer

func (m *AddressGroupPatch) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AddressGroupPatch) ProtoMessage

func (*AddressGroupPatch) ProtoMessage()

func (*AddressGroupPatch) Reset

func (m *AddressGroupPatch) Reset()

func (*AddressGroupPatch) Size

func (m *AddressGroupPatch) Size() (n int)

func (*AddressGroupPatch) String

func (this *AddressGroupPatch) String() string

func (*AddressGroupPatch) Unmarshal

func (m *AddressGroupPatch) Unmarshal(dAtA []byte) error

func (*AddressGroupPatch) XXX_DiscardUnknown

func (m *AddressGroupPatch) XXX_DiscardUnknown()

func (*AddressGroupPatch) XXX_Marshal

func (m *AddressGroupPatch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AddressGroupPatch) XXX_Merge

func (m *AddressGroupPatch) XXX_Merge(src proto.Message)

func (*AddressGroupPatch) XXX_Size

func (m *AddressGroupPatch) XXX_Size() int

func (*AddressGroupPatch) XXX_Unmarshal

func (m *AddressGroupPatch) XXX_Unmarshal(b []byte) error

type AppliedToGroup

type AppliedToGroup struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	// GroupMembers is list of resources selected by this group.
	GroupMembers []GroupMember `json:"groupMembers,omitempty" protobuf:"bytes,2,rep,name=groupMembers"`
}

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.

func (*AppliedToGroup) Descriptor

func (*AppliedToGroup) Descriptor() ([]byte, []int)

func (*AppliedToGroup) Marshal

func (m *AppliedToGroup) Marshal() (dAtA []byte, err error)

func (*AppliedToGroup) MarshalTo

func (m *AppliedToGroup) MarshalTo(dAtA []byte) (int, error)

func (*AppliedToGroup) MarshalToSizedBuffer

func (m *AppliedToGroup) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AppliedToGroup) ProtoMessage

func (*AppliedToGroup) ProtoMessage()

func (*AppliedToGroup) Reset

func (m *AppliedToGroup) Reset()

func (*AppliedToGroup) Size

func (m *AppliedToGroup) Size() (n int)

func (*AppliedToGroup) String

func (this *AppliedToGroup) String() string

func (*AppliedToGroup) Unmarshal

func (m *AppliedToGroup) Unmarshal(dAtA []byte) error

func (*AppliedToGroup) XXX_DiscardUnknown

func (m *AppliedToGroup) XXX_DiscardUnknown()

func (*AppliedToGroup) XXX_Marshal

func (m *AppliedToGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AppliedToGroup) XXX_Merge

func (m *AppliedToGroup) XXX_Merge(src proto.Message)

func (*AppliedToGroup) XXX_Size

func (m *AppliedToGroup) XXX_Size() int

func (*AppliedToGroup) XXX_Unmarshal

func (m *AppliedToGroup) XXX_Unmarshal(b []byte) error

type AppliedToGroupList

type AppliedToGroupList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	Items           []AppliedToGroup `json:"items" protobuf:"bytes,2,rep,name=items"`
}

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.

func (*AppliedToGroupList) Descriptor

func (*AppliedToGroupList) Descriptor() ([]byte, []int)

func (*AppliedToGroupList) Marshal

func (m *AppliedToGroupList) Marshal() (dAtA []byte, err error)

func (*AppliedToGroupList) MarshalTo

func (m *AppliedToGroupList) MarshalTo(dAtA []byte) (int, error)

func (*AppliedToGroupList) MarshalToSizedBuffer

func (m *AppliedToGroupList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AppliedToGroupList) ProtoMessage

func (*AppliedToGroupList) ProtoMessage()

func (*AppliedToGroupList) Reset

func (m *AppliedToGroupList) Reset()

func (*AppliedToGroupList) Size

func (m *AppliedToGroupList) Size() (n int)

func (*AppliedToGroupList) String

func (this *AppliedToGroupList) String() string

func (*AppliedToGroupList) Unmarshal

func (m *AppliedToGroupList) Unmarshal(dAtA []byte) error

func (*AppliedToGroupList) XXX_DiscardUnknown

func (m *AppliedToGroupList) XXX_DiscardUnknown()

func (*AppliedToGroupList) XXX_Marshal

func (m *AppliedToGroupList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AppliedToGroupList) XXX_Merge

func (m *AppliedToGroupList) XXX_Merge(src proto.Message)

func (*AppliedToGroupList) XXX_Size

func (m *AppliedToGroupList) XXX_Size() int

func (*AppliedToGroupList) XXX_Unmarshal

func (m *AppliedToGroupList) XXX_Unmarshal(b []byte) error

type AppliedToGroupPatch

type AppliedToGroupPatch struct {
	metav1.TypeMeta     `json:",inline"`
	metav1.ObjectMeta   `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	AddedGroupMembers   []GroupMember `json:"addedGroupMembers,omitempty" protobuf:"bytes,2,rep,name=addedGroupMembers"`
	RemovedGroupMembers []GroupMember `json:"removedGroupMembers,omitempty" protobuf:"bytes,3,rep,name=removedGroupMembers"`
}

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.

func (*AppliedToGroupPatch) Descriptor

func (*AppliedToGroupPatch) Descriptor() ([]byte, []int)

func (*AppliedToGroupPatch) Marshal

func (m *AppliedToGroupPatch) Marshal() (dAtA []byte, err error)

func (*AppliedToGroupPatch) MarshalTo

func (m *AppliedToGroupPatch) MarshalTo(dAtA []byte) (int, error)

func (*AppliedToGroupPatch) MarshalToSizedBuffer

func (m *AppliedToGroupPatch) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AppliedToGroupPatch) ProtoMessage

func (*AppliedToGroupPatch) ProtoMessage()

func (*AppliedToGroupPatch) Reset

func (m *AppliedToGroupPatch) Reset()

func (*AppliedToGroupPatch) Size

func (m *AppliedToGroupPatch) Size() (n int)

func (*AppliedToGroupPatch) String

func (this *AppliedToGroupPatch) String() string

func (*AppliedToGroupPatch) Unmarshal

func (m *AppliedToGroupPatch) Unmarshal(dAtA []byte) error

func (*AppliedToGroupPatch) XXX_DiscardUnknown

func (m *AppliedToGroupPatch) XXX_DiscardUnknown()

func (*AppliedToGroupPatch) XXX_Marshal

func (m *AppliedToGroupPatch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AppliedToGroupPatch) XXX_Merge

func (m *AppliedToGroupPatch) XXX_Merge(src proto.Message)

func (*AppliedToGroupPatch) XXX_Size

func (m *AppliedToGroupPatch) XXX_Size() int

func (*AppliedToGroupPatch) XXX_Unmarshal

func (m *AppliedToGroupPatch) XXX_Unmarshal(b []byte) error

type BasicAuthentication added in v1.10.0

type BasicAuthentication struct {
	Username string `json:"username" protobuf:"bytes,1,opt,name=username"`
	Password string `json:"password" protobuf:"bytes,2,opt,name=password"`
}

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.

func (*BasicAuthentication) Descriptor added in v1.10.0

func (*BasicAuthentication) Descriptor() ([]byte, []int)

func (*BasicAuthentication) Marshal added in v1.10.0

func (m *BasicAuthentication) Marshal() (dAtA []byte, err error)

func (*BasicAuthentication) MarshalTo added in v1.10.0

func (m *BasicAuthentication) MarshalTo(dAtA []byte) (int, error)

func (*BasicAuthentication) MarshalToSizedBuffer added in v1.10.0

func (m *BasicAuthentication) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BasicAuthentication) ProtoMessage added in v1.10.0

func (*BasicAuthentication) ProtoMessage()

func (*BasicAuthentication) Reset added in v1.10.0

func (m *BasicAuthentication) Reset()

func (*BasicAuthentication) Size added in v1.10.0

func (m *BasicAuthentication) Size() (n int)

func (*BasicAuthentication) String added in v1.10.0

func (this *BasicAuthentication) String() string

func (*BasicAuthentication) Unmarshal added in v1.10.0

func (m *BasicAuthentication) Unmarshal(dAtA []byte) error

func (*BasicAuthentication) XXX_DiscardUnknown added in v1.10.0

func (m *BasicAuthentication) XXX_DiscardUnknown()

func (*BasicAuthentication) XXX_Marshal added in v1.10.0

func (m *BasicAuthentication) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BasicAuthentication) XXX_Merge added in v1.10.0

func (m *BasicAuthentication) XXX_Merge(src proto.Message)

func (*BasicAuthentication) XXX_Size added in v1.10.0

func (m *BasicAuthentication) XXX_Size() int

func (*BasicAuthentication) XXX_Unmarshal added in v1.10.0

func (m *BasicAuthentication) XXX_Unmarshal(b []byte) error

type BundleFileServer added in v1.10.0

type BundleFileServer struct {
	URL string `json:"url" protobuf:"bytes,1,opt,name=url"`
}

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.

func (*BundleFileServer) Descriptor added in v1.10.0

func (*BundleFileServer) Descriptor() ([]byte, []int)

func (*BundleFileServer) Marshal added in v1.10.0

func (m *BundleFileServer) Marshal() (dAtA []byte, err error)

func (*BundleFileServer) MarshalTo added in v1.10.0

func (m *BundleFileServer) MarshalTo(dAtA []byte) (int, error)

func (*BundleFileServer) MarshalToSizedBuffer added in v1.10.0

func (m *BundleFileServer) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BundleFileServer) ProtoMessage added in v1.10.0

func (*BundleFileServer) ProtoMessage()

func (*BundleFileServer) Reset added in v1.10.0

func (m *BundleFileServer) Reset()

func (*BundleFileServer) Size added in v1.10.0

func (m *BundleFileServer) Size() (n int)

func (*BundleFileServer) String added in v1.10.0

func (this *BundleFileServer) String() string

func (*BundleFileServer) Unmarshal added in v1.10.0

func (m *BundleFileServer) Unmarshal(dAtA []byte) error

func (*BundleFileServer) XXX_DiscardUnknown added in v1.10.0

func (m *BundleFileServer) XXX_DiscardUnknown()

func (*BundleFileServer) XXX_Marshal added in v1.10.0

func (m *BundleFileServer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BundleFileServer) XXX_Merge added in v1.10.0

func (m *BundleFileServer) XXX_Merge(src proto.Message)

func (*BundleFileServer) XXX_Size added in v1.10.0

func (m *BundleFileServer) XXX_Size() int

func (*BundleFileServer) XXX_Unmarshal added in v1.10.0

func (m *BundleFileServer) XXX_Unmarshal(b []byte) error

type BundleServerAuthConfiguration added in v1.10.0

type BundleServerAuthConfiguration struct {
	BearerToken         string               `json:"bearerToken,omitempty" protobuf:"bytes,1,opt,name=bearerToken"`
	APIKey              string               `json:"apiKey,omitempty" protobuf:"bytes,2,opt,name=apiKey"`
	BasicAuthentication *BasicAuthentication `json:"basicAuthentication,omitempty" protobuf:"bytes,3,opt,name=basicAuthentication"`
}

func (*BundleServerAuthConfiguration) DeepCopy added in v1.10.0

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

func (*BundleServerAuthConfiguration) DeepCopyInto added in v1.10.0

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

func (*BundleServerAuthConfiguration) Descriptor added in v1.10.0

func (*BundleServerAuthConfiguration) Descriptor() ([]byte, []int)

func (*BundleServerAuthConfiguration) Marshal added in v1.10.0

func (m *BundleServerAuthConfiguration) Marshal() (dAtA []byte, err error)

func (*BundleServerAuthConfiguration) MarshalTo added in v1.10.0

func (m *BundleServerAuthConfiguration) MarshalTo(dAtA []byte) (int, error)

func (*BundleServerAuthConfiguration) MarshalToSizedBuffer added in v1.10.0

func (m *BundleServerAuthConfiguration) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BundleServerAuthConfiguration) ProtoMessage added in v1.10.0

func (*BundleServerAuthConfiguration) ProtoMessage()

func (*BundleServerAuthConfiguration) Reset added in v1.10.0

func (m *BundleServerAuthConfiguration) Reset()

func (*BundleServerAuthConfiguration) Size added in v1.10.0

func (m *BundleServerAuthConfiguration) Size() (n int)

func (*BundleServerAuthConfiguration) String added in v1.10.0

func (this *BundleServerAuthConfiguration) String() string

func (*BundleServerAuthConfiguration) Unmarshal added in v1.10.0

func (m *BundleServerAuthConfiguration) Unmarshal(dAtA []byte) error

func (*BundleServerAuthConfiguration) XXX_DiscardUnknown added in v1.10.0

func (m *BundleServerAuthConfiguration) XXX_DiscardUnknown()

func (*BundleServerAuthConfiguration) XXX_Marshal added in v1.10.0

func (m *BundleServerAuthConfiguration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BundleServerAuthConfiguration) XXX_Merge added in v1.10.0

func (m *BundleServerAuthConfiguration) XXX_Merge(src proto.Message)

func (*BundleServerAuthConfiguration) XXX_Size added in v1.10.0

func (m *BundleServerAuthConfiguration) XXX_Size() int

func (*BundleServerAuthConfiguration) XXX_Unmarshal added in v1.10.0

func (m *BundleServerAuthConfiguration) XXX_Unmarshal(b []byte) error

type ClusterGroupMembers

type ClusterGroupMembers struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	EffectiveMembers  []GroupMember `json:"effectiveMembers" protobuf:"bytes,2,rep,name=effectiveMembers"`
	EffectiveIPBlocks []IPNet       `json:"effectiveIPBlocks" protobuf:"bytes,3,rep,name=effectiveIPBlocks"`
	TotalMembers      int64         `json:"totalMembers" protobuf:"varint,4,opt,name=totalMembers"`
	TotalPages        int64         `json:"totalPages" protobuf:"varint,5,opt,name=totalPages"`
	CurrentPage       int64         `json:"currentPage" protobuf:"varint,6,opt,name=currentPage"`
}

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.

func (*ClusterGroupMembers) Descriptor

func (*ClusterGroupMembers) Descriptor() ([]byte, []int)

func (*ClusterGroupMembers) Marshal

func (m *ClusterGroupMembers) Marshal() (dAtA []byte, err error)

func (*ClusterGroupMembers) MarshalTo

func (m *ClusterGroupMembers) MarshalTo(dAtA []byte) (int, error)

func (*ClusterGroupMembers) MarshalToSizedBuffer

func (m *ClusterGroupMembers) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ClusterGroupMembers) ProtoMessage

func (*ClusterGroupMembers) ProtoMessage()

func (*ClusterGroupMembers) Reset

func (m *ClusterGroupMembers) Reset()

func (*ClusterGroupMembers) Size

func (m *ClusterGroupMembers) Size() (n int)

func (*ClusterGroupMembers) String

func (this *ClusterGroupMembers) String() string

func (*ClusterGroupMembers) Unmarshal

func (m *ClusterGroupMembers) Unmarshal(dAtA []byte) error

func (*ClusterGroupMembers) XXX_DiscardUnknown

func (m *ClusterGroupMembers) XXX_DiscardUnknown()

func (*ClusterGroupMembers) XXX_Marshal

func (m *ClusterGroupMembers) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClusterGroupMembers) XXX_Merge

func (m *ClusterGroupMembers) XXX_Merge(src proto.Message)

func (*ClusterGroupMembers) XXX_Size

func (m *ClusterGroupMembers) XXX_Size() int

func (*ClusterGroupMembers) XXX_Unmarshal

func (m *ClusterGroupMembers) XXX_Unmarshal(b []byte) error

type Direction

type Direction string

Direction defines traffic direction of NetworkPolicyRule.

const (
	DirectionIn  Direction = "In"
	DirectionOut Direction = "Out"
)

type EgressGroup

type EgressGroup struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	// GroupMembers is list of resources selected by this group.
	GroupMembers []GroupMember `json:"groupMembers,omitempty" protobuf:"bytes,2,rep,name=groupMembers"`
}

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.

func (*EgressGroup) Descriptor

func (*EgressGroup) Descriptor() ([]byte, []int)

func (*EgressGroup) Marshal

func (m *EgressGroup) Marshal() (dAtA []byte, err error)

func (*EgressGroup) MarshalTo

func (m *EgressGroup) MarshalTo(dAtA []byte) (int, error)

func (*EgressGroup) MarshalToSizedBuffer

func (m *EgressGroup) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EgressGroup) ProtoMessage

func (*EgressGroup) ProtoMessage()

func (*EgressGroup) Reset

func (m *EgressGroup) Reset()

func (*EgressGroup) Size

func (m *EgressGroup) Size() (n int)

func (*EgressGroup) String

func (this *EgressGroup) String() string

func (*EgressGroup) Unmarshal

func (m *EgressGroup) Unmarshal(dAtA []byte) error

func (*EgressGroup) XXX_DiscardUnknown

func (m *EgressGroup) XXX_DiscardUnknown()

func (*EgressGroup) XXX_Marshal

func (m *EgressGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EgressGroup) XXX_Merge

func (m *EgressGroup) XXX_Merge(src proto.Message)

func (*EgressGroup) XXX_Size

func (m *EgressGroup) XXX_Size() int

func (*EgressGroup) XXX_Unmarshal

func (m *EgressGroup) XXX_Unmarshal(b []byte) error

type EgressGroupList

type EgressGroupList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	Items           []EgressGroup `json:"items" protobuf:"bytes,2,rep,name=items"`
}

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.

func (*EgressGroupList) Descriptor

func (*EgressGroupList) Descriptor() ([]byte, []int)

func (*EgressGroupList) Marshal

func (m *EgressGroupList) Marshal() (dAtA []byte, err error)

func (*EgressGroupList) MarshalTo

func (m *EgressGroupList) MarshalTo(dAtA []byte) (int, error)

func (*EgressGroupList) MarshalToSizedBuffer

func (m *EgressGroupList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EgressGroupList) ProtoMessage

func (*EgressGroupList) ProtoMessage()

func (*EgressGroupList) Reset

func (m *EgressGroupList) Reset()

func (*EgressGroupList) Size

func (m *EgressGroupList) Size() (n int)

func (*EgressGroupList) String

func (this *EgressGroupList) String() string

func (*EgressGroupList) Unmarshal

func (m *EgressGroupList) Unmarshal(dAtA []byte) error

func (*EgressGroupList) XXX_DiscardUnknown

func (m *EgressGroupList) XXX_DiscardUnknown()

func (*EgressGroupList) XXX_Marshal

func (m *EgressGroupList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EgressGroupList) XXX_Merge

func (m *EgressGroupList) XXX_Merge(src proto.Message)

func (*EgressGroupList) XXX_Size

func (m *EgressGroupList) XXX_Size() int

func (*EgressGroupList) XXX_Unmarshal

func (m *EgressGroupList) XXX_Unmarshal(b []byte) error

type EgressGroupPatch

type EgressGroupPatch struct {
	metav1.TypeMeta
	metav1.ObjectMeta   `protobuf:"bytes,1,opt,name=objectMeta"`
	AddedGroupMembers   []GroupMember `protobuf:"bytes,2,rep,name=addedGroupMembers"`
	RemovedGroupMembers []GroupMember `protobuf:"bytes,3,rep,name=removedGroupMembers"`
}

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.

func (*EgressGroupPatch) Descriptor

func (*EgressGroupPatch) Descriptor() ([]byte, []int)

func (*EgressGroupPatch) Marshal

func (m *EgressGroupPatch) Marshal() (dAtA []byte, err error)

func (*EgressGroupPatch) MarshalTo

func (m *EgressGroupPatch) MarshalTo(dAtA []byte) (int, error)

func (*EgressGroupPatch) MarshalToSizedBuffer

func (m *EgressGroupPatch) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EgressGroupPatch) ProtoMessage

func (*EgressGroupPatch) ProtoMessage()

func (*EgressGroupPatch) Reset

func (m *EgressGroupPatch) Reset()

func (*EgressGroupPatch) Size

func (m *EgressGroupPatch) Size() (n int)

func (*EgressGroupPatch) String

func (this *EgressGroupPatch) String() string

func (*EgressGroupPatch) Unmarshal

func (m *EgressGroupPatch) Unmarshal(dAtA []byte) error

func (*EgressGroupPatch) XXX_DiscardUnknown

func (m *EgressGroupPatch) XXX_DiscardUnknown()

func (*EgressGroupPatch) XXX_Marshal

func (m *EgressGroupPatch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EgressGroupPatch) XXX_Merge

func (m *EgressGroupPatch) XXX_Merge(src proto.Message)

func (*EgressGroupPatch) XXX_Size

func (m *EgressGroupPatch) XXX_Size() int

func (*EgressGroupPatch) XXX_Unmarshal

func (m *EgressGroupPatch) XXX_Unmarshal(b []byte) error

type ExternalEntityReference

type ExternalEntityReference struct {
	// The name of this ExternalEntity.
	Name string `json:"name,omitempty" protobuf:"bytes,1,opt,name=name"`
	// The Namespace of this ExternalEntity.
	Namespace string `json:"namespace,omitempty" protobuf:"bytes,2,opt,name=namespace"`
}

ExternalEntityReference represents a ExternalEntity Reference.

func (*ExternalEntityReference) DeepCopy

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.

func (*ExternalEntityReference) Descriptor

func (*ExternalEntityReference) Descriptor() ([]byte, []int)

func (*ExternalEntityReference) Marshal

func (m *ExternalEntityReference) Marshal() (dAtA []byte, err error)

func (*ExternalEntityReference) MarshalTo

func (m *ExternalEntityReference) MarshalTo(dAtA []byte) (int, error)

func (*ExternalEntityReference) MarshalToSizedBuffer

func (m *ExternalEntityReference) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ExternalEntityReference) ProtoMessage

func (*ExternalEntityReference) ProtoMessage()

func (*ExternalEntityReference) Reset

func (m *ExternalEntityReference) Reset()

func (*ExternalEntityReference) Size

func (m *ExternalEntityReference) Size() (n int)

func (*ExternalEntityReference) String

func (this *ExternalEntityReference) String() string

func (*ExternalEntityReference) Unmarshal

func (m *ExternalEntityReference) Unmarshal(dAtA []byte) error

func (*ExternalEntityReference) XXX_DiscardUnknown

func (m *ExternalEntityReference) XXX_DiscardUnknown()

func (*ExternalEntityReference) XXX_Marshal

func (m *ExternalEntityReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ExternalEntityReference) XXX_Merge

func (m *ExternalEntityReference) XXX_Merge(src proto.Message)

func (*ExternalEntityReference) XXX_Size

func (m *ExternalEntityReference) XXX_Size() int

func (*ExternalEntityReference) XXX_Unmarshal

func (m *ExternalEntityReference) XXX_Unmarshal(b []byte) error

type GroupAssociation

type GroupAssociation struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	// AssociatedGroups is a list of GroupReferences that is associated with the
	// Pod/ExternalEntity being queried.
	AssociatedGroups []GroupReference `json:"associatedGroups" protobuf:"bytes,2,rep,name=associatedGroups"`
}

GroupAssociation is the message format in an API response for 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.

func (*GroupAssociation) Descriptor

func (*GroupAssociation) Descriptor() ([]byte, []int)

func (*GroupAssociation) Marshal

func (m *GroupAssociation) Marshal() (dAtA []byte, err error)

func (*GroupAssociation) MarshalTo

func (m *GroupAssociation) MarshalTo(dAtA []byte) (int, error)

func (*GroupAssociation) MarshalToSizedBuffer

func (m *GroupAssociation) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GroupAssociation) ProtoMessage

func (*GroupAssociation) ProtoMessage()

func (*GroupAssociation) Reset

func (m *GroupAssociation) Reset()

func (*GroupAssociation) Size

func (m *GroupAssociation) Size() (n int)

func (*GroupAssociation) String

func (this *GroupAssociation) String() string

func (*GroupAssociation) Unmarshal

func (m *GroupAssociation) Unmarshal(dAtA []byte) error

func (*GroupAssociation) XXX_DiscardUnknown

func (m *GroupAssociation) XXX_DiscardUnknown()

func (*GroupAssociation) XXX_Marshal

func (m *GroupAssociation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GroupAssociation) XXX_Merge

func (m *GroupAssociation) XXX_Merge(src proto.Message)

func (*GroupAssociation) XXX_Size

func (m *GroupAssociation) XXX_Size() int

func (*GroupAssociation) XXX_Unmarshal

func (m *GroupAssociation) XXX_Unmarshal(b []byte) error

type GroupMember

type GroupMember struct {
	// Pod maintains the reference to the Pod.
	Pod *PodReference `json:"pod,omitempty" protobuf:"bytes,1,opt,name=pod"`
	// ExternalEntity maintains the reference to the ExternalEntity.
	ExternalEntity *ExternalEntityReference `json:"externalEntity,omitempty" protobuf:"bytes,2,opt,name=externalEntity"`
	// IP is the IP address of the Endpoints associated with the GroupMember.
	IPs []IPAddress `json:"ips,omitempty" protobuf:"bytes,3,rep,name=ips"`
	// Ports is the list NamedPort of the GroupMember.
	Ports []NamedPort `json:"ports,omitempty" protobuf:"bytes,4,rep,name=ports"`
	// Node maintains the reference to the Node.
	Node *NodeReference `json:"node,omitempty" protobuf:"bytes,5,opt,name=node"`
	// 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 `json:"service,omitempty" protobuf:"bytes,6,opt,name=service"`
}

GroupMember represents 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.

func (*GroupMember) Descriptor

func (*GroupMember) Descriptor() ([]byte, []int)

func (*GroupMember) Marshal

func (m *GroupMember) Marshal() (dAtA []byte, err error)

func (*GroupMember) MarshalTo

func (m *GroupMember) MarshalTo(dAtA []byte) (int, error)

func (*GroupMember) MarshalToSizedBuffer

func (m *GroupMember) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GroupMember) ProtoMessage

func (*GroupMember) ProtoMessage()

func (*GroupMember) Reset

func (m *GroupMember) Reset()

func (*GroupMember) Size

func (m *GroupMember) Size() (n int)

func (*GroupMember) String

func (this *GroupMember) String() string

func (*GroupMember) Unmarshal

func (m *GroupMember) Unmarshal(dAtA []byte) error

func (*GroupMember) XXX_DiscardUnknown

func (m *GroupMember) XXX_DiscardUnknown()

func (*GroupMember) XXX_Marshal

func (m *GroupMember) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GroupMember) XXX_Merge

func (m *GroupMember) XXX_Merge(src proto.Message)

func (*GroupMember) XXX_Size

func (m *GroupMember) XXX_Size() int

func (*GroupMember) XXX_Unmarshal

func (m *GroupMember) XXX_Unmarshal(b []byte) error

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

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

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

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   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	EffectiveMembers  []GroupMember `json:"effectiveMembers" protobuf:"bytes,2,rep,name=effectiveMembers"`
	EffectiveIPBlocks []IPNet       `json:"effectiveIPBlocks" protobuf:"bytes,3,rep,name=effectiveIPBlocks"`
	TotalMembers      int64         `json:"totalMembers" protobuf:"varint,4,opt,name=totalMembers"`
	TotalPages        int64         `json:"totalPages" protobuf:"varint,5,opt,name=totalPages"`
	CurrentPage       int64         `json:"currentPage" protobuf:"varint,6,opt,name=currentPage"`
}

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.

func (*GroupMembers) Descriptor added in v1.14.0

func (*GroupMembers) Descriptor() ([]byte, []int)

func (*GroupMembers) Marshal added in v1.14.0

func (m *GroupMembers) Marshal() (dAtA []byte, err error)

func (*GroupMembers) MarshalTo added in v1.14.0

func (m *GroupMembers) MarshalTo(dAtA []byte) (int, error)

func (*GroupMembers) MarshalToSizedBuffer added in v1.14.0

func (m *GroupMembers) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GroupMembers) ProtoMessage added in v1.14.0

func (*GroupMembers) ProtoMessage()

func (*GroupMembers) Reset added in v1.14.0

func (m *GroupMembers) Reset()

func (*GroupMembers) Size added in v1.14.0

func (m *GroupMembers) Size() (n int)

func (*GroupMembers) String added in v1.14.0

func (this *GroupMembers) String() string

func (*GroupMembers) Unmarshal added in v1.14.0

func (m *GroupMembers) Unmarshal(dAtA []byte) error

func (*GroupMembers) XXX_DiscardUnknown added in v1.14.0

func (m *GroupMembers) XXX_DiscardUnknown()

func (*GroupMembers) XXX_Marshal added in v1.14.0

func (m *GroupMembers) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GroupMembers) XXX_Merge added in v1.14.0

func (m *GroupMembers) XXX_Merge(src proto.Message)

func (*GroupMembers) XXX_Size added in v1.14.0

func (m *GroupMembers) XXX_Size() int

func (*GroupMembers) XXX_Unmarshal added in v1.14.0

func (m *GroupMembers) XXX_Unmarshal(b []byte) error

type GroupReference

type GroupReference struct {
	// Namespace of the Group. Empty for ClusterGroup.
	Namespace string `json:"namespace,omitempty" protobuf:"bytes,1,opt,name=namespace"`
	// Name of the Group.
	Name string `json:"name,omitempty" protobuf:"bytes,2,opt,name=name"`
	// UID of the Group.
	UID types.UID `json:"uid,omitempty" protobuf:"bytes,3,opt,name=uid,casttype=k8s.io/apimachinery/pkg/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) Descriptor

func (*GroupReference) Descriptor() ([]byte, []int)

func (*GroupReference) Marshal

func (m *GroupReference) Marshal() (dAtA []byte, err error)

func (*GroupReference) MarshalTo

func (m *GroupReference) MarshalTo(dAtA []byte) (int, error)

func (*GroupReference) MarshalToSizedBuffer

func (m *GroupReference) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GroupReference) ProtoMessage

func (*GroupReference) ProtoMessage()

func (*GroupReference) Reset

func (m *GroupReference) Reset()

func (*GroupReference) Size

func (m *GroupReference) Size() (n int)

func (*GroupReference) String

func (this *GroupReference) String() string

func (*GroupReference) Unmarshal

func (m *GroupReference) Unmarshal(dAtA []byte) error

func (*GroupReference) XXX_DiscardUnknown

func (m *GroupReference) XXX_DiscardUnknown()

func (*GroupReference) XXX_Marshal

func (m *GroupReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GroupReference) XXX_Merge

func (m *GroupReference) XXX_Merge(src proto.Message)

func (*GroupReference) XXX_Size

func (m *GroupReference) XXX_Size() int

func (*GroupReference) XXX_Unmarshal

func (m *GroupReference) XXX_Unmarshal(b []byte) error

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 `json:"host,omitempty" protobuf:"bytes,1,opt,name=host"`
	// Method represents the HTTP method to match.
	// It could be GET, POST, PUT, HEAD, DELETE, TRACE, OPTIONS, CONNECT and PATCH.
	Method string `json:"method,omitempty" protobuf:"bytes,2,opt,name=method"`
	// Path represents the URI path to match (Ex. "/index.html", "/admin").
	Path string `json:"path,omitempty" protobuf:"bytes,3,opt,name=path"`
}

HTTPProtocol matches HTTP requests with specific host, method, and path. All fields could be used alone or together. If all fields are not provided, it 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.

func (*HTTPProtocol) Descriptor added in v1.10.0

func (*HTTPProtocol) Descriptor() ([]byte, []int)

func (*HTTPProtocol) Marshal added in v1.10.0

func (m *HTTPProtocol) Marshal() (dAtA []byte, err error)

func (*HTTPProtocol) MarshalTo added in v1.10.0

func (m *HTTPProtocol) MarshalTo(dAtA []byte) (int, error)

func (*HTTPProtocol) MarshalToSizedBuffer added in v1.10.0

func (m *HTTPProtocol) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*HTTPProtocol) ProtoMessage added in v1.10.0

func (*HTTPProtocol) ProtoMessage()

func (*HTTPProtocol) Reset added in v1.10.0

func (m *HTTPProtocol) Reset()

func (*HTTPProtocol) Size added in v1.10.0

func (m *HTTPProtocol) Size() (n int)

func (*HTTPProtocol) String added in v1.10.0

func (this *HTTPProtocol) String() string

func (*HTTPProtocol) Unmarshal added in v1.10.0

func (m *HTTPProtocol) Unmarshal(dAtA []byte) error

func (*HTTPProtocol) XXX_DiscardUnknown added in v1.10.0

func (m *HTTPProtocol) XXX_DiscardUnknown()

func (*HTTPProtocol) XXX_Marshal added in v1.10.0

func (m *HTTPProtocol) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HTTPProtocol) XXX_Merge added in v1.10.0

func (m *HTTPProtocol) XXX_Merge(src proto.Message)

func (*HTTPProtocol) XXX_Size added in v1.10.0

func (m *HTTPProtocol) XXX_Size() int

func (*HTTPProtocol) XXX_Unmarshal added in v1.10.0

func (m *HTTPProtocol) XXX_Unmarshal(b []byte) error

type IPAddress

type IPAddress []byte

IPAddress describes a single IP address. Either an IPv4 or IPv6 address must be set.

func (IPAddress) DeepCopy

func (in IPAddress) DeepCopy() IPAddress

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

func (IPAddress) DeepCopyInto

func (in IPAddress) DeepCopyInto(out *IPAddress)

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

func (IPAddress) MarshalYAML added in v1.2.4

func (a IPAddress) MarshalYAML() (interface{}, error)

type IPBlock

type IPBlock struct {
	// CIDR is an IPNet represents the IP Block.
	CIDR IPNet `json:"cidr" protobuf:"bytes,1,name=cidr"`
	// 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 `json:"except,omitempty" protobuf:"bytes,2,rep,name=except"`
}

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

func (in *IPBlock) DeepCopy() *IPBlock

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

func (*IPBlock) DeepCopyInto

func (in *IPBlock) DeepCopyInto(out *IPBlock)

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

func (*IPBlock) Descriptor

func (*IPBlock) Descriptor() ([]byte, []int)

func (*IPBlock) Marshal

func (m *IPBlock) Marshal() (dAtA []byte, err error)

func (*IPBlock) MarshalTo

func (m *IPBlock) MarshalTo(dAtA []byte) (int, error)

func (*IPBlock) MarshalToSizedBuffer

func (m *IPBlock) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*IPBlock) ProtoMessage

func (*IPBlock) ProtoMessage()

func (*IPBlock) Reset

func (m *IPBlock) Reset()

func (*IPBlock) Size

func (m *IPBlock) Size() (n int)

func (*IPBlock) String

func (this *IPBlock) String() string

func (*IPBlock) Unmarshal

func (m *IPBlock) Unmarshal(dAtA []byte) error

func (*IPBlock) XXX_DiscardUnknown

func (m *IPBlock) XXX_DiscardUnknown()

func (*IPBlock) XXX_Marshal

func (m *IPBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*IPBlock) XXX_Merge

func (m *IPBlock) XXX_Merge(src proto.Message)

func (*IPBlock) XXX_Size

func (m *IPBlock) XXX_Size() int

func (*IPBlock) XXX_Unmarshal

func (m *IPBlock) XXX_Unmarshal(b []byte) error

type IPGroupAssociation added in v1.12.0

type IPGroupAssociation struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	// AssociatedGroups is a list of GroupReferences that is associated with the
	// IP address being queried.
	AssociatedGroups []GroupReference `json:"associatedGroups" protobuf:"bytes,2,rep,name=associatedGroups"`
}

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.

func (*IPGroupAssociation) Descriptor added in v1.12.0

func (*IPGroupAssociation) Descriptor() ([]byte, []int)

func (*IPGroupAssociation) Marshal added in v1.12.0

func (m *IPGroupAssociation) Marshal() (dAtA []byte, err error)

func (*IPGroupAssociation) MarshalTo added in v1.12.0

func (m *IPGroupAssociation) MarshalTo(dAtA []byte) (int, error)

func (*IPGroupAssociation) MarshalToSizedBuffer added in v1.12.0

func (m *IPGroupAssociation) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*IPGroupAssociation) ProtoMessage added in v1.12.0

func (*IPGroupAssociation) ProtoMessage()

func (*IPGroupAssociation) Reset added in v1.12.0

func (m *IPGroupAssociation) Reset()

func (*IPGroupAssociation) Size added in v1.12.0

func (m *IPGroupAssociation) Size() (n int)

func (*IPGroupAssociation) String added in v1.12.0

func (this *IPGroupAssociation) String() string

func (*IPGroupAssociation) Unmarshal added in v1.12.0

func (m *IPGroupAssociation) Unmarshal(dAtA []byte) error

func (*IPGroupAssociation) XXX_DiscardUnknown added in v1.12.0

func (m *IPGroupAssociation) XXX_DiscardUnknown()

func (*IPGroupAssociation) XXX_Marshal added in v1.12.0

func (m *IPGroupAssociation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*IPGroupAssociation) XXX_Merge added in v1.12.0

func (m *IPGroupAssociation) XXX_Merge(src proto.Message)

func (*IPGroupAssociation) XXX_Size added in v1.12.0

func (m *IPGroupAssociation) XXX_Size() int

func (*IPGroupAssociation) XXX_Unmarshal added in v1.12.0

func (m *IPGroupAssociation) XXX_Unmarshal(b []byte) error

type IPNet

type IPNet struct {
	IP           IPAddress `json:"ip,omitempty" protobuf:"bytes,1,opt,name=ip"`
	PrefixLength int32     `json:"prefixLength,omitempty" protobuf:"varint,2,opt,name=prefixLength"`
}

IPNet describes an IP network.

func (*IPNet) DeepCopy

func (in *IPNet) DeepCopy() *IPNet

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

func (*IPNet) DeepCopyInto

func (in *IPNet) DeepCopyInto(out *IPNet)

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

func (*IPNet) Descriptor

func (*IPNet) Descriptor() ([]byte, []int)

func (*IPNet) Marshal

func (m *IPNet) Marshal() (dAtA []byte, err error)

func (*IPNet) MarshalTo

func (m *IPNet) MarshalTo(dAtA []byte) (int, error)

func (*IPNet) MarshalToSizedBuffer

func (m *IPNet) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*IPNet) ProtoMessage

func (*IPNet) ProtoMessage()

func (*IPNet) Reset

func (m *IPNet) Reset()

func (*IPNet) Size

func (m *IPNet) Size() (n int)

func (*IPNet) String

func (this *IPNet) String() string

func (*IPNet) Unmarshal

func (m *IPNet) Unmarshal(dAtA []byte) error

func (*IPNet) XXX_DiscardUnknown

func (m *IPNet) XXX_DiscardUnknown()

func (*IPNet) XXX_Marshal

func (m *IPNet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*IPNet) XXX_Merge

func (m *IPNet) XXX_Merge(src proto.Message)

func (*IPNet) XXX_Size

func (m *IPNet) XXX_Size() int

func (*IPNet) XXX_Unmarshal

func (m *IPNet) XXX_Unmarshal(b []byte) error

type L7Protocol added in v1.10.0

type L7Protocol struct {
	HTTP *HTTPProtocol `json:"http,omitempty" protobuf:"bytes,1,opt,name=http"`
	TLS  *TLSProtocol  `json:"tls,omitempty" protobuf:"bytes,2,opt,name=tls"`
}

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.

func (*L7Protocol) Descriptor added in v1.10.0

func (*L7Protocol) Descriptor() ([]byte, []int)

func (*L7Protocol) Marshal added in v1.10.0

func (m *L7Protocol) Marshal() (dAtA []byte, err error)

func (*L7Protocol) MarshalTo added in v1.10.0

func (m *L7Protocol) MarshalTo(dAtA []byte) (int, error)

func (*L7Protocol) MarshalToSizedBuffer added in v1.10.0

func (m *L7Protocol) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*L7Protocol) ProtoMessage added in v1.10.0

func (*L7Protocol) ProtoMessage()

func (*L7Protocol) Reset added in v1.10.0

func (m *L7Protocol) Reset()

func (*L7Protocol) Size added in v1.10.0

func (m *L7Protocol) Size() (n int)

func (*L7Protocol) String added in v1.10.0

func (this *L7Protocol) String() string

func (*L7Protocol) Unmarshal added in v1.10.0

func (m *L7Protocol) Unmarshal(dAtA []byte) error

func (*L7Protocol) XXX_DiscardUnknown added in v1.10.0

func (m *L7Protocol) XXX_DiscardUnknown()

func (*L7Protocol) XXX_Marshal added in v1.10.0

func (m *L7Protocol) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*L7Protocol) XXX_Merge added in v1.10.0

func (m *L7Protocol) XXX_Merge(src proto.Message)

func (*L7Protocol) XXX_Size added in v1.10.0

func (m *L7Protocol) XXX_Size() int

func (*L7Protocol) XXX_Unmarshal added in v1.10.0

func (m *L7Protocol) XXX_Unmarshal(b []byte) error

type MulticastGroupInfo added in v1.7.0

type MulticastGroupInfo struct {
	// Group is the IP of the multicast group.
	Group string `json:"group,omitempty" protobuf:"bytes,1,opt,name=group"`
	// Pods is the list of Pods that have joined the multicast group.
	Pods []PodReference `json:"pods,omitempty" protobuf:"bytes,2,rep,name=pods"`
}

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.

func (*MulticastGroupInfo) Descriptor added in v1.7.0

func (*MulticastGroupInfo) Descriptor() ([]byte, []int)

func (*MulticastGroupInfo) Marshal added in v1.7.0

func (m *MulticastGroupInfo) Marshal() (dAtA []byte, err error)

func (*MulticastGroupInfo) MarshalTo added in v1.7.0

func (m *MulticastGroupInfo) MarshalTo(dAtA []byte) (int, error)

func (*MulticastGroupInfo) MarshalToSizedBuffer added in v1.7.0

func (m *MulticastGroupInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MulticastGroupInfo) ProtoMessage added in v1.7.0

func (*MulticastGroupInfo) ProtoMessage()

func (*MulticastGroupInfo) Reset added in v1.7.0

func (m *MulticastGroupInfo) Reset()

func (*MulticastGroupInfo) Size added in v1.7.0

func (m *MulticastGroupInfo) Size() (n int)

func (*MulticastGroupInfo) String added in v1.7.0

func (this *MulticastGroupInfo) String() string

func (*MulticastGroupInfo) Unmarshal added in v1.7.0

func (m *MulticastGroupInfo) Unmarshal(dAtA []byte) error

func (*MulticastGroupInfo) XXX_DiscardUnknown added in v1.7.0

func (m *MulticastGroupInfo) XXX_DiscardUnknown()

func (*MulticastGroupInfo) XXX_Marshal added in v1.7.0

func (m *MulticastGroupInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MulticastGroupInfo) XXX_Merge added in v1.7.0

func (m *MulticastGroupInfo) XXX_Merge(src proto.Message)

func (*MulticastGroupInfo) XXX_Size added in v1.7.0

func (m *MulticastGroupInfo) XXX_Size() int

func (*MulticastGroupInfo) XXX_Unmarshal added in v1.7.0

func (m *MulticastGroupInfo) XXX_Unmarshal(b []byte) error

type NamedPort

type NamedPort struct {
	// Port represents the Port number.
	Port int32 `json:"port,omitempty" protobuf:"varint,1,opt,name=port"`
	// Name represents the associated name with this Port number.
	Name string `json:"name,omitempty" protobuf:"bytes,2,opt,name=name"`
	// Protocol for port. Must be UDP, TCP, or SCTP.
	Protocol Protocol `json:"protocol,omitempty" protobuf:"bytes,3,opt,name=protocol"`
}

NamedPort represents a Port with a name on Pod.

func (*NamedPort) DeepCopy

func (in *NamedPort) DeepCopy() *NamedPort

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

func (*NamedPort) DeepCopyInto

func (in *NamedPort) DeepCopyInto(out *NamedPort)

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

func (*NamedPort) Descriptor

func (*NamedPort) Descriptor() ([]byte, []int)

func (*NamedPort) Marshal

func (m *NamedPort) Marshal() (dAtA []byte, err error)

func (*NamedPort) MarshalTo

func (m *NamedPort) MarshalTo(dAtA []byte) (int, error)

func (*NamedPort) MarshalToSizedBuffer

func (m *NamedPort) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NamedPort) ProtoMessage

func (*NamedPort) ProtoMessage()

func (*NamedPort) Reset

func (m *NamedPort) Reset()

func (*NamedPort) Size

func (m *NamedPort) Size() (n int)

func (*NamedPort) String

func (this *NamedPort) String() string

func (*NamedPort) Unmarshal

func (m *NamedPort) Unmarshal(dAtA []byte) error

func (*NamedPort) XXX_DiscardUnknown

func (m *NamedPort) XXX_DiscardUnknown()

func (*NamedPort) XXX_Marshal

func (m *NamedPort) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NamedPort) XXX_Merge

func (m *NamedPort) XXX_Merge(src proto.Message)

func (*NamedPort) XXX_Size

func (m *NamedPort) XXX_Size() int

func (*NamedPort) XXX_Unmarshal

func (m *NamedPort) XXX_Unmarshal(b []byte) error

type NetworkPolicy

type NetworkPolicy struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	// Rules is a list of rules to be applied to the selected GroupMembers.
	Rules []NetworkPolicyRule `json:"rules,omitempty" protobuf:"bytes,2,rep,name=rules"`
	// 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 `json:"appliedToGroups,omitempty" protobuf:"bytes,3,rep,name=appliedToGroups"`
	// Priority represents the relative priority of this Network Policy as compared to
	// other Network Policies. Priority will be unset (nil) for K8s NetworkPolicy.
	Priority *float64 `json:"priority,omitempty" protobuf:"fixed64,4,opt,name=priority"`
	// TierPriority represents the priority of the Tier associated with this Network
	// Policy. The TierPriority will remain nil for K8s NetworkPolicy.
	TierPriority *int32 `json:"tierPriority,omitempty" protobuf:"varint,5,opt,name=tierPriority"`
	// Reference to the original NetworkPolicy that the internal NetworkPolicy is created for.
	SourceRef *NetworkPolicyReference `json:"sourceRef,omitempty" protobuf:"bytes,6,opt,name=sourceRef"`
}

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.

func (*NetworkPolicy) Descriptor

func (*NetworkPolicy) Descriptor() ([]byte, []int)

func (*NetworkPolicy) Marshal

func (m *NetworkPolicy) Marshal() (dAtA []byte, err error)

func (*NetworkPolicy) MarshalTo

func (m *NetworkPolicy) MarshalTo(dAtA []byte) (int, error)

func (*NetworkPolicy) MarshalToSizedBuffer

func (m *NetworkPolicy) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NetworkPolicy) ProtoMessage

func (*NetworkPolicy) ProtoMessage()

func (*NetworkPolicy) Reset

func (m *NetworkPolicy) Reset()

func (*NetworkPolicy) Size

func (m *NetworkPolicy) Size() (n int)

func (*NetworkPolicy) String

func (this *NetworkPolicy) String() string

func (*NetworkPolicy) Unmarshal

func (m *NetworkPolicy) Unmarshal(dAtA []byte) error

func (*NetworkPolicy) XXX_DiscardUnknown

func (m *NetworkPolicy) XXX_DiscardUnknown()

func (*NetworkPolicy) XXX_Marshal

func (m *NetworkPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NetworkPolicy) XXX_Merge

func (m *NetworkPolicy) XXX_Merge(src proto.Message)

func (*NetworkPolicy) XXX_Size

func (m *NetworkPolicy) XXX_Size() int

func (*NetworkPolicy) XXX_Unmarshal

func (m *NetworkPolicy) XXX_Unmarshal(b []byte) error

type NetworkPolicyList

type NetworkPolicyList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	Items           []NetworkPolicy `json:"items" protobuf:"bytes,2,rep,name=items"`
}

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.

func (*NetworkPolicyList) Descriptor

func (*NetworkPolicyList) Descriptor() ([]byte, []int)

func (*NetworkPolicyList) Marshal

func (m *NetworkPolicyList) Marshal() (dAtA []byte, err error)

func (*NetworkPolicyList) MarshalTo

func (m *NetworkPolicyList) MarshalTo(dAtA []byte) (int, error)

func (*NetworkPolicyList) MarshalToSizedBuffer

func (m *NetworkPolicyList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NetworkPolicyList) ProtoMessage

func (*NetworkPolicyList) ProtoMessage()

func (*NetworkPolicyList) Reset

func (m *NetworkPolicyList) Reset()

func (*NetworkPolicyList) Size

func (m *NetworkPolicyList) Size() (n int)

func (*NetworkPolicyList) String

func (this *NetworkPolicyList) String() string

func (*NetworkPolicyList) Unmarshal

func (m *NetworkPolicyList) Unmarshal(dAtA []byte) error

func (*NetworkPolicyList) XXX_DiscardUnknown

func (m *NetworkPolicyList) XXX_DiscardUnknown()

func (*NetworkPolicyList) XXX_Marshal

func (m *NetworkPolicyList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NetworkPolicyList) XXX_Merge

func (m *NetworkPolicyList) XXX_Merge(src proto.Message)

func (*NetworkPolicyList) XXX_Size

func (m *NetworkPolicyList) XXX_Size() int

func (*NetworkPolicyList) XXX_Unmarshal

func (m *NetworkPolicyList) XXX_Unmarshal(b []byte) error

type NetworkPolicyNodeStatus

type NetworkPolicyNodeStatus struct {
	// The name of the Node that produces the status.
	NodeName string `json:"nodeName,omitempty" protobuf:"bytes,1,opt,name=nodeName"`
	// The generation realized by the Node.
	Generation int64 `json:"generation,omitempty" protobuf:"varint,2,opt,name=generation"`
	// The flag to mark the NetworkPolicy realization is failed on the Node or not.
	RealizationFailure bool `json:"realizationFailure" protobuf:"varint,3,opt,name=realizationFailure"`
	// The error message to describe why the NetworkPolicy realization is failed on the Node.
	Message string `json:"message,omitempty" protobuf:"bytes,4,opt,name=message"`
}

NetworkPolicyNodeStatus is the status of a NetworkPolicy on a Node.

func (*NetworkPolicyNodeStatus) DeepCopy

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.

func (*NetworkPolicyNodeStatus) Descriptor

func (*NetworkPolicyNodeStatus) Descriptor() ([]byte, []int)

func (*NetworkPolicyNodeStatus) Marshal

func (m *NetworkPolicyNodeStatus) Marshal() (dAtA []byte, err error)

func (*NetworkPolicyNodeStatus) MarshalTo

func (m *NetworkPolicyNodeStatus) MarshalTo(dAtA []byte) (int, error)

func (*NetworkPolicyNodeStatus) MarshalToSizedBuffer

func (m *NetworkPolicyNodeStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NetworkPolicyNodeStatus) ProtoMessage

func (*NetworkPolicyNodeStatus) ProtoMessage()

func (*NetworkPolicyNodeStatus) Reset

func (m *NetworkPolicyNodeStatus) Reset()

func (*NetworkPolicyNodeStatus) Size

func (m *NetworkPolicyNodeStatus) Size() (n int)

func (*NetworkPolicyNodeStatus) String

func (this *NetworkPolicyNodeStatus) String() string

func (*NetworkPolicyNodeStatus) Unmarshal

func (m *NetworkPolicyNodeStatus) Unmarshal(dAtA []byte) error

func (*NetworkPolicyNodeStatus) XXX_DiscardUnknown

func (m *NetworkPolicyNodeStatus) XXX_DiscardUnknown()

func (*NetworkPolicyNodeStatus) XXX_Marshal

func (m *NetworkPolicyNodeStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NetworkPolicyNodeStatus) XXX_Merge

func (m *NetworkPolicyNodeStatus) XXX_Merge(src proto.Message)

func (*NetworkPolicyNodeStatus) XXX_Size

func (m *NetworkPolicyNodeStatus) XXX_Size() int

func (*NetworkPolicyNodeStatus) XXX_Unmarshal

func (m *NetworkPolicyNodeStatus) XXX_Unmarshal(b []byte) error

type NetworkPolicyPeer

type NetworkPolicyPeer struct {
	// A list of names of AddressGroups.
	AddressGroups []string `json:"addressGroups,omitempty" protobuf:"bytes,1,rep,name=addressGroups"`
	// A list of IPBlock.
	IPBlocks []IPBlock `json:"ipBlocks,omitempty" protobuf:"bytes,2,rep,name=ipBlocks"`
	// A list of exact FQDN names or FQDN wildcard expressions.
	// This field can only be possibly set for NetworkPolicyPeer of egress rules.
	FQDNs []string `json:"fqdns,omitempty" protobuf:"bytes,3,rep,name=fqdns"`
	// A list of ServiceReference.
	// This field can only be possibly set for NetworkPolicyPeer of egress rules.
	ToServices []ServiceReference `json:"toServices,omitempty" protobuf:"bytes,4,rep,name=toServices"`
	// 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 `json:"labelIdentities,omitempty" protobuf:"bytes,5,rep,name=labelIdentities"`
}

NetworkPolicyPeer describes a peer of NetworkPolicyRules. It could be a list of names of AddressGroups and/or a list of IPBlock.

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.

func (*NetworkPolicyPeer) Descriptor

func (*NetworkPolicyPeer) Descriptor() ([]byte, []int)

func (*NetworkPolicyPeer) Marshal

func (m *NetworkPolicyPeer) Marshal() (dAtA []byte, err error)

func (*NetworkPolicyPeer) MarshalTo

func (m *NetworkPolicyPeer) MarshalTo(dAtA []byte) (int, error)

func (*NetworkPolicyPeer) MarshalToSizedBuffer

func (m *NetworkPolicyPeer) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NetworkPolicyPeer) ProtoMessage

func (*NetworkPolicyPeer) ProtoMessage()

func (*NetworkPolicyPeer) Reset

func (m *NetworkPolicyPeer) Reset()

func (*NetworkPolicyPeer) Size

func (m *NetworkPolicyPeer) Size() (n int)

func (*NetworkPolicyPeer) String

func (this *NetworkPolicyPeer) String() string

func (*NetworkPolicyPeer) Unmarshal

func (m *NetworkPolicyPeer) Unmarshal(dAtA []byte) error

func (*NetworkPolicyPeer) XXX_DiscardUnknown

func (m *NetworkPolicyPeer) XXX_DiscardUnknown()

func (*NetworkPolicyPeer) XXX_Marshal

func (m *NetworkPolicyPeer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NetworkPolicyPeer) XXX_Merge

func (m *NetworkPolicyPeer) XXX_Merge(src proto.Message)

func (*NetworkPolicyPeer) XXX_Size

func (m *NetworkPolicyPeer) XXX_Size() int

func (*NetworkPolicyPeer) XXX_Unmarshal

func (m *NetworkPolicyPeer) XXX_Unmarshal(b []byte) error

type NetworkPolicyReference

type NetworkPolicyReference struct {
	// Type of the NetworkPolicy.
	Type NetworkPolicyType `json:"type,omitempty" protobuf:"bytes,1,opt,name=type,casttype=NetworkPolicyType"`
	// Namespace of the NetworkPolicy. It's empty for Antrea ClusterNetworkPolicy.
	Namespace string `json:"namespace,omitempty" protobuf:"bytes,2,opt,name=namespace"`
	// Name of the NetworkPolicy.
	Name string `json:"name,omitempty" protobuf:"bytes,3,opt,name=name"`
	// UID of the NetworkPolicy.
	UID types.UID `json:"uid,omitempty" protobuf:"bytes,4,opt,name=uid,casttype=k8s.io/apimachinery/pkg/types.UID"`
}

func (*NetworkPolicyReference) DeepCopy

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

func (*NetworkPolicyReference) Descriptor() ([]byte, []int)

func (*NetworkPolicyReference) Marshal

func (m *NetworkPolicyReference) Marshal() (dAtA []byte, err error)

func (*NetworkPolicyReference) MarshalTo

func (m *NetworkPolicyReference) MarshalTo(dAtA []byte) (int, error)

func (*NetworkPolicyReference) MarshalToSizedBuffer

func (m *NetworkPolicyReference) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NetworkPolicyReference) ProtoMessage

func (*NetworkPolicyReference) ProtoMessage()

func (*NetworkPolicyReference) Reset

func (m *NetworkPolicyReference) Reset()

func (*NetworkPolicyReference) Size

func (m *NetworkPolicyReference) Size() (n int)

func (*NetworkPolicyReference) String

func (this *NetworkPolicyReference) String() string

func (*NetworkPolicyReference) ToString

func (r *NetworkPolicyReference) ToString() string

func (*NetworkPolicyReference) Unmarshal

func (m *NetworkPolicyReference) Unmarshal(dAtA []byte) error

func (*NetworkPolicyReference) XXX_DiscardUnknown

func (m *NetworkPolicyReference) XXX_DiscardUnknown()

func (*NetworkPolicyReference) XXX_Marshal

func (m *NetworkPolicyReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NetworkPolicyReference) XXX_Merge

func (m *NetworkPolicyReference) XXX_Merge(src proto.Message)

func (*NetworkPolicyReference) XXX_Size

func (m *NetworkPolicyReference) XXX_Size() int

func (*NetworkPolicyReference) XXX_Unmarshal

func (m *NetworkPolicyReference) XXX_Unmarshal(b []byte) error

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 `json:"direction,omitempty" protobuf:"bytes,1,opt,name=direction"`
	// From represents sources which should be able to access the GroupMembers selected by the policy.
	From NetworkPolicyPeer `json:"from,omitempty" protobuf:"bytes,2,opt,name=from"`
	// To represents destinations which should be able to be accessed by the GroupMembers selected by the policy.
	To NetworkPolicyPeer `json:"to,omitempty" protobuf:"bytes,3,opt,name=to"`
	// Services is a list of services which should be matched.
	Services []Service `json:"services,omitempty" protobuf:"bytes,4,rep,name=services"`
	// Priority defines the priority of the Rule as compared to other rules in the
	// NetworkPolicy.
	Priority int32 `json:"priority,omitempty" protobuf:"varint,5,opt,name=priority"`
	// 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 Network Policy.
	Action *crdv1beta1.RuleAction `json:"action,omitempty" protobuf:"bytes,6,opt,name=action,casttype=antrea.io/antrea/pkg/apis/security/v1beta1.RuleAction"`
	// EnableLogging indicates whether or not to generate logs when rules are matched. Default to false.
	EnableLogging bool `json:"enableLogging" protobuf:"varint,7,opt,name=enableLogging"`
	// 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 `json:"appliedToGroups,omitempty" protobuf:"bytes,8,opt,name=appliedToGroups"`
	// Name describes the intention of this rule.
	// Name should be unique within the policy.
	Name string `json:"name,omitempty" protobuf:"bytes,9,opt,name=name"`
	// L7Protocols is a list of application layer protocols which should be matched.
	L7Protocols []L7Protocol `json:"l7Protocols,omitempty" protobuf:"bytes,10,rep,name=l7Protocols"`
	// LogLabel is a user-defined arbitrary string which will be printed in the NetworkPolicy logs.
	LogLabel string `json:"logLabel,omitempty" protobuf:"bytes,11,opt,name=logLabel"`
}

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.

func (*NetworkPolicyRule) Descriptor

func (*NetworkPolicyRule) Descriptor() ([]byte, []int)

func (*NetworkPolicyRule) Marshal

func (m *NetworkPolicyRule) Marshal() (dAtA []byte, err error)

func (*NetworkPolicyRule) MarshalTo

func (m *NetworkPolicyRule) MarshalTo(dAtA []byte) (int, error)

func (*NetworkPolicyRule) MarshalToSizedBuffer

func (m *NetworkPolicyRule) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NetworkPolicyRule) ProtoMessage

func (*NetworkPolicyRule) ProtoMessage()

func (*NetworkPolicyRule) Reset

func (m *NetworkPolicyRule) Reset()

func (*NetworkPolicyRule) Size

func (m *NetworkPolicyRule) Size() (n int)

func (*NetworkPolicyRule) String

func (this *NetworkPolicyRule) String() string

func (*NetworkPolicyRule) Unmarshal

func (m *NetworkPolicyRule) Unmarshal(dAtA []byte) error

func (*NetworkPolicyRule) XXX_DiscardUnknown

func (m *NetworkPolicyRule) XXX_DiscardUnknown()

func (*NetworkPolicyRule) XXX_Marshal

func (m *NetworkPolicyRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NetworkPolicyRule) XXX_Merge

func (m *NetworkPolicyRule) XXX_Merge(src proto.Message)

func (*NetworkPolicyRule) XXX_Size

func (m *NetworkPolicyRule) XXX_Size() int

func (*NetworkPolicyRule) XXX_Unmarshal

func (m *NetworkPolicyRule) XXX_Unmarshal(b []byte) error

type NetworkPolicyStats

type NetworkPolicyStats struct {
	// The reference of the NetworkPolicy.
	NetworkPolicy NetworkPolicyReference `json:"networkPolicy,omitempty" protobuf:"bytes,1,opt,name=networkPolicy"`
	// The stats of the NetworkPolicy.
	TrafficStats statsv1alpha1.TrafficStats `json:"trafficStats,omitempty" protobuf:"bytes,2,opt,name=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 `json:"ruleTrafficStats,omitempty" protobuf:"bytes,3,rep,name=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.

func (*NetworkPolicyStats) Descriptor

func (*NetworkPolicyStats) Descriptor() ([]byte, []int)

func (*NetworkPolicyStats) Marshal

func (m *NetworkPolicyStats) Marshal() (dAtA []byte, err error)

func (*NetworkPolicyStats) MarshalTo

func (m *NetworkPolicyStats) MarshalTo(dAtA []byte) (int, error)

func (*NetworkPolicyStats) MarshalToSizedBuffer

func (m *NetworkPolicyStats) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NetworkPolicyStats) ProtoMessage

func (*NetworkPolicyStats) ProtoMessage()

func (*NetworkPolicyStats) Reset

func (m *NetworkPolicyStats) Reset()

func (*NetworkPolicyStats) Size

func (m *NetworkPolicyStats) Size() (n int)

func (*NetworkPolicyStats) String

func (this *NetworkPolicyStats) String() string

func (*NetworkPolicyStats) Unmarshal

func (m *NetworkPolicyStats) Unmarshal(dAtA []byte) error

func (*NetworkPolicyStats) XXX_DiscardUnknown

func (m *NetworkPolicyStats) XXX_DiscardUnknown()

func (*NetworkPolicyStats) XXX_Marshal

func (m *NetworkPolicyStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NetworkPolicyStats) XXX_Merge