Documentation ¶
Overview ¶
Package v1beta1 is the v1beta1 version of the Antrea NetworkPolicy API messages.
Package v1beta1 is a generated protocol buffer package. It is generated from these files: github.com/vmware-tanzu/antrea/pkg/apis/networking/v1beta1/generated.proto It has these top-level messages: AddressGroup AddressGroupList AddressGroupPatch AppliedToGroup AppliedToGroupList AppliedToGroupPatch GroupMemberPod IPBlock IPNet NamedPort NetworkPolicy NetworkPolicyList NetworkPolicyPeer NetworkPolicyRule PodReference Service
Index ¶
- Constants
- Variables
- func Convert_networking_AddressGroupList_To_v1beta1_AddressGroupList(in *networking.AddressGroupList, out *AddressGroupList, s conversion.Scope) error
- func Convert_networking_AddressGroupPatch_To_v1beta1_AddressGroupPatch(in *networking.AddressGroupPatch, out *AddressGroupPatch, s conversion.Scope) error
- func Convert_networking_AddressGroup_To_v1beta1_AddressGroup(in *networking.AddressGroup, out *AddressGroup, s conversion.Scope) error
- func Convert_networking_AppliedToGroupList_To_v1beta1_AppliedToGroupList(in *networking.AppliedToGroupList, out *AppliedToGroupList, s conversion.Scope) error
- func Convert_networking_AppliedToGroupPatch_To_v1beta1_AppliedToGroupPatch(in *networking.AppliedToGroupPatch, out *AppliedToGroupPatch, ...) error
- func Convert_networking_AppliedToGroup_To_v1beta1_AppliedToGroup(in *networking.AppliedToGroup, out *AppliedToGroup, s conversion.Scope) error
- func Convert_networking_GroupMemberPod_To_v1beta1_GroupMemberPod(in *networking.GroupMemberPod, out *GroupMemberPod, s conversion.Scope) error
- func Convert_networking_IPBlock_To_v1beta1_IPBlock(in *networking.IPBlock, out *IPBlock, s conversion.Scope) error
- func Convert_networking_IPNet_To_v1beta1_IPNet(in *networking.IPNet, out *IPNet, s conversion.Scope) error
- func Convert_networking_NamedPort_To_v1beta1_NamedPort(in *networking.NamedPort, out *NamedPort, s conversion.Scope) error
- func Convert_networking_NetworkPolicyList_To_v1beta1_NetworkPolicyList(in *networking.NetworkPolicyList, out *NetworkPolicyList, s conversion.Scope) error
- func Convert_networking_NetworkPolicyPeer_To_v1beta1_NetworkPolicyPeer(in *networking.NetworkPolicyPeer, out *NetworkPolicyPeer, s conversion.Scope) error
- func Convert_networking_NetworkPolicyRule_To_v1beta1_NetworkPolicyRule(in *networking.NetworkPolicyRule, out *NetworkPolicyRule, s conversion.Scope) error
- func Convert_networking_NetworkPolicy_To_v1beta1_NetworkPolicy(in *networking.NetworkPolicy, out *NetworkPolicy, s conversion.Scope) error
- func Convert_networking_PodReference_To_v1beta1_PodReference(in *networking.PodReference, out *PodReference, s conversion.Scope) error
- func Convert_networking_Service_To_v1beta1_Service(in *networking.Service, out *Service, s conversion.Scope) error
- func Convert_v1beta1_AddressGroupList_To_networking_AddressGroupList(in *AddressGroupList, out *networking.AddressGroupList, s conversion.Scope) error
- func Convert_v1beta1_AddressGroupPatch_To_networking_AddressGroupPatch(in *AddressGroupPatch, out *networking.AddressGroupPatch, s conversion.Scope) error
- func Convert_v1beta1_AddressGroup_To_networking_AddressGroup(in *AddressGroup, out *networking.AddressGroup, s conversion.Scope) error
- func Convert_v1beta1_AppliedToGroupList_To_networking_AppliedToGroupList(in *AppliedToGroupList, out *networking.AppliedToGroupList, s conversion.Scope) error
- func Convert_v1beta1_AppliedToGroupPatch_To_networking_AppliedToGroupPatch(in *AppliedToGroupPatch, out *networking.AppliedToGroupPatch, ...) error
- func Convert_v1beta1_AppliedToGroup_To_networking_AppliedToGroup(in *AppliedToGroup, out *networking.AppliedToGroup, s conversion.Scope) error
- func Convert_v1beta1_GroupMemberPod_To_networking_GroupMemberPod(in *GroupMemberPod, out *networking.GroupMemberPod, s conversion.Scope) error
- func Convert_v1beta1_IPBlock_To_networking_IPBlock(in *IPBlock, out *networking.IPBlock, s conversion.Scope) error
- func Convert_v1beta1_IPNet_To_networking_IPNet(in *IPNet, out *networking.IPNet, s conversion.Scope) error
- func Convert_v1beta1_NamedPort_To_networking_NamedPort(in *NamedPort, out *networking.NamedPort, s conversion.Scope) error
- func Convert_v1beta1_NetworkPolicyList_To_networking_NetworkPolicyList(in *NetworkPolicyList, out *networking.NetworkPolicyList, s conversion.Scope) error
- func Convert_v1beta1_NetworkPolicyPeer_To_networking_NetworkPolicyPeer(in *NetworkPolicyPeer, out *networking.NetworkPolicyPeer, s conversion.Scope) error
- func Convert_v1beta1_NetworkPolicyRule_To_networking_NetworkPolicyRule(in *NetworkPolicyRule, out *networking.NetworkPolicyRule, s conversion.Scope) error
- func Convert_v1beta1_NetworkPolicy_To_networking_NetworkPolicy(in *NetworkPolicy, out *networking.NetworkPolicy, s conversion.Scope) error
- func Convert_v1beta1_PodReference_To_networking_PodReference(in *PodReference, out *networking.PodReference, s conversion.Scope) error
- func Convert_v1beta1_Service_To_networking_Service(in *Service, out *networking.Service, s conversion.Scope) error
- func RegisterConversions(s *runtime.Scheme) error
- func Resource(resource string) schema.GroupResource
- type AddressGroup
- func (in *AddressGroup) DeepCopy() *AddressGroup
- func (in *AddressGroup) DeepCopyInto(out *AddressGroup)
- func (in *AddressGroup) DeepCopyObject() runtime.Object
- func (*AddressGroup) Descriptor() ([]byte, []int)
- func (m *AddressGroup) Marshal() (dAtA []byte, err error)
- func (m *AddressGroup) MarshalTo(dAtA []byte) (int, error)
- func (*AddressGroup) ProtoMessage()
- func (m *AddressGroup) Reset()
- func (m *AddressGroup) Size() (n int)
- func (this *AddressGroup) String() string
- func (m *AddressGroup) Unmarshal(dAtA []byte) error
- type AddressGroupList
- func (in *AddressGroupList) DeepCopy() *AddressGroupList
- func (in *AddressGroupList) DeepCopyInto(out *AddressGroupList)
- func (in *AddressGroupList) DeepCopyObject() runtime.Object
- func (*AddressGroupList) Descriptor() ([]byte, []int)
- func (m *AddressGroupList) Marshal() (dAtA []byte, err error)
- func (m *AddressGroupList) MarshalTo(dAtA []byte) (int, error)
- func (*AddressGroupList) ProtoMessage()
- func (m *AddressGroupList) Reset()
- func (m *AddressGroupList) Size() (n int)
- func (this *AddressGroupList) String() string
- func (m *AddressGroupList) Unmarshal(dAtA []byte) error
- type AddressGroupPatch
- func (in *AddressGroupPatch) DeepCopy() *AddressGroupPatch
- func (in *AddressGroupPatch) DeepCopyInto(out *AddressGroupPatch)
- func (in *AddressGroupPatch) DeepCopyObject() runtime.Object
- func (*AddressGroupPatch) Descriptor() ([]byte, []int)
- func (m *AddressGroupPatch) Marshal() (dAtA []byte, err error)
- func (m *AddressGroupPatch) MarshalTo(dAtA []byte) (int, error)
- func (*AddressGroupPatch) ProtoMessage()
- func (m *AddressGroupPatch) Reset()
- func (m *AddressGroupPatch) Size() (n int)
- func (this *AddressGroupPatch) String() string
- func (m *AddressGroupPatch) Unmarshal(dAtA []byte) error
- type AppliedToGroup
- func (in *AppliedToGroup) DeepCopy() *AppliedToGroup
- func (in *AppliedToGroup) DeepCopyInto(out *AppliedToGroup)
- func (in *AppliedToGroup) DeepCopyObject() runtime.Object
- func (*AppliedToGroup) Descriptor() ([]byte, []int)
- func (m *AppliedToGroup) Marshal() (dAtA []byte, err error)
- func (m *AppliedToGroup) MarshalTo(dAtA []byte) (int, error)
- func (*AppliedToGroup) ProtoMessage()
- func (m *AppliedToGroup) Reset()
- func (m *AppliedToGroup) Size() (n int)
- func (this *AppliedToGroup) String() string
- func (m *AppliedToGroup) Unmarshal(dAtA []byte) error
- type AppliedToGroupList
- func (in *AppliedToGroupList) DeepCopy() *AppliedToGroupList
- func (in *AppliedToGroupList) DeepCopyInto(out *AppliedToGroupList)
- func (in *AppliedToGroupList) DeepCopyObject() runtime.Object
- func (*AppliedToGroupList) Descriptor() ([]byte, []int)
- func (m *AppliedToGroupList) Marshal() (dAtA []byte, err error)
- func (m *AppliedToGroupList) MarshalTo(dAtA []byte) (int, error)
- func (*AppliedToGroupList) ProtoMessage()
- func (m *AppliedToGroupList) Reset()
- func (m *AppliedToGroupList) Size() (n int)
- func (this *AppliedToGroupList) String() string
- func (m *AppliedToGroupList) Unmarshal(dAtA []byte) error
- type AppliedToGroupPatch
- func (in *AppliedToGroupPatch) DeepCopy() *AppliedToGroupPatch
- func (in *AppliedToGroupPatch) DeepCopyInto(out *AppliedToGroupPatch)
- func (in *AppliedToGroupPatch) DeepCopyObject() runtime.Object
- func (*AppliedToGroupPatch) Descriptor() ([]byte, []int)
- func (m *AppliedToGroupPatch) Marshal() (dAtA []byte, err error)
- func (m *AppliedToGroupPatch) MarshalTo(dAtA []byte) (int, error)
- func (*AppliedToGroupPatch) ProtoMessage()
- func (m *AppliedToGroupPatch) Reset()
- func (m *AppliedToGroupPatch) Size() (n int)
- func (this *AppliedToGroupPatch) String() string
- func (m *AppliedToGroupPatch) Unmarshal(dAtA []byte) error
- type Direction
- type GroupMemberPod
- func (in *GroupMemberPod) DeepCopy() *GroupMemberPod
- func (in *GroupMemberPod) DeepCopyInto(out *GroupMemberPod)
- func (*GroupMemberPod) Descriptor() ([]byte, []int)
- func (m *GroupMemberPod) Marshal() (dAtA []byte, err error)
- func (m *GroupMemberPod) MarshalTo(dAtA []byte) (int, error)
- func (*GroupMemberPod) ProtoMessage()
- func (m *GroupMemberPod) Reset()
- func (m *GroupMemberPod) Size() (n int)
- func (this *GroupMemberPod) String() string
- func (m *GroupMemberPod) Unmarshal(dAtA []byte) error
- type GroupMemberPodSet
- func (in GroupMemberPodSet) DeepCopy() GroupMemberPodSet
- func (in GroupMemberPodSet) DeepCopyInto(out *GroupMemberPodSet)
- func (s GroupMemberPodSet) Delete(items ...*GroupMemberPod)
- func (s GroupMemberPodSet) Difference(o GroupMemberPodSet) GroupMemberPodSet
- func (s GroupMemberPodSet) Equal(o GroupMemberPodSet) bool
- func (s GroupMemberPodSet) Has(item *GroupMemberPod) bool
- func (s GroupMemberPodSet) Insert(items ...*GroupMemberPod)
- func (s GroupMemberPodSet) IsSuperset(o GroupMemberPodSet) bool
- func (s GroupMemberPodSet) Items() []*GroupMemberPod
- func (s GroupMemberPodSet) Union(o GroupMemberPodSet) GroupMemberPodSet
- type IPAddress
- type IPBlock
- func (in *IPBlock) DeepCopy() *IPBlock
- func (in *IPBlock) DeepCopyInto(out *IPBlock)
- func (*IPBlock) Descriptor() ([]byte, []int)
- func (m *IPBlock) Marshal() (dAtA []byte, err error)
- func (m *IPBlock) MarshalTo(dAtA []byte) (int, error)
- func (*IPBlock) ProtoMessage()
- func (m *IPBlock) Reset()
- func (m *IPBlock) Size() (n int)
- func (this *IPBlock) String() string
- func (m *IPBlock) Unmarshal(dAtA []byte) error
- type IPNet
- func (in *IPNet) DeepCopy() *IPNet
- func (in *IPNet) DeepCopyInto(out *IPNet)
- func (*IPNet) Descriptor() ([]byte, []int)
- func (m *IPNet) Marshal() (dAtA []byte, err error)
- func (m *IPNet) MarshalTo(dAtA []byte) (int, error)
- func (*IPNet) ProtoMessage()
- func (m *IPNet) Reset()
- func (m *IPNet) Size() (n int)
- func (this *IPNet) String() string
- func (m *IPNet) Unmarshal(dAtA []byte) error
- type NamedPort
- func (in *NamedPort) DeepCopy() *NamedPort
- func (in *NamedPort) DeepCopyInto(out *NamedPort)
- func (*NamedPort) Descriptor() ([]byte, []int)
- func (m *NamedPort) Marshal() (dAtA []byte, err error)
- func (m *NamedPort) MarshalTo(dAtA []byte) (int, error)
- func (*NamedPort) ProtoMessage()
- func (m *NamedPort) Reset()
- func (m *NamedPort) Size() (n int)
- func (this *NamedPort) String() string
- func (m *NamedPort) Unmarshal(dAtA []byte) error
- type NetworkPolicy
- func (in *NetworkPolicy) DeepCopy() *NetworkPolicy
- func (in *NetworkPolicy) DeepCopyInto(out *NetworkPolicy)
- func (in *NetworkPolicy) DeepCopyObject() runtime.Object
- func (*NetworkPolicy) Descriptor() ([]byte, []int)
- func (m *NetworkPolicy) Marshal() (dAtA []byte, err error)
- func (m *NetworkPolicy) MarshalTo(dAtA []byte) (int, error)
- func (*NetworkPolicy) ProtoMessage()
- func (m *NetworkPolicy) Reset()
- func (m *NetworkPolicy) Size() (n int)
- func (this *NetworkPolicy) String() string
- func (m *NetworkPolicy) Unmarshal(dAtA []byte) error
- type NetworkPolicyList
- func (in *NetworkPolicyList) DeepCopy() *NetworkPolicyList
- func (in *NetworkPolicyList) DeepCopyInto(out *NetworkPolicyList)
- func (in *NetworkPolicyList) DeepCopyObject() runtime.Object
- func (*NetworkPolicyList) Descriptor() ([]byte, []int)
- func (m *NetworkPolicyList) Marshal() (dAtA []byte, err error)
- func (m *NetworkPolicyList) MarshalTo(dAtA []byte) (int, error)
- func (*NetworkPolicyList) ProtoMessage()
- func (m *NetworkPolicyList) Reset()
- func (m *NetworkPolicyList) Size() (n int)
- func (this *NetworkPolicyList) String() string
- func (m *NetworkPolicyList) Unmarshal(dAtA []byte) error
- type NetworkPolicyPeer
- func (in *NetworkPolicyPeer) DeepCopy() *NetworkPolicyPeer
- func (in *NetworkPolicyPeer) DeepCopyInto(out *NetworkPolicyPeer)
- func (*NetworkPolicyPeer) Descriptor() ([]byte, []int)
- func (m *NetworkPolicyPeer) Marshal() (dAtA []byte, err error)
- func (m *NetworkPolicyPeer) MarshalTo(dAtA []byte) (int, error)
- func (*NetworkPolicyPeer) ProtoMessage()
- func (m *NetworkPolicyPeer) Reset()
- func (m *NetworkPolicyPeer) Size() (n int)
- func (this *NetworkPolicyPeer) String() string
- func (m *NetworkPolicyPeer) Unmarshal(dAtA []byte) error
- type NetworkPolicyRule
- func (in *NetworkPolicyRule) DeepCopy() *NetworkPolicyRule
- func (in *NetworkPolicyRule) DeepCopyInto(out *NetworkPolicyRule)
- func (*NetworkPolicyRule) Descriptor() ([]byte, []int)
- func (m *NetworkPolicyRule) Marshal() (dAtA []byte, err error)
- func (m *NetworkPolicyRule) MarshalTo(dAtA []byte) (int, error)
- func (*NetworkPolicyRule) ProtoMessage()
- func (m *NetworkPolicyRule) Reset()
- func (m *NetworkPolicyRule) Size() (n int)
- func (this *NetworkPolicyRule) String() string
- func (m *NetworkPolicyRule) Unmarshal(dAtA []byte) error
- type PodReference
- func (in *PodReference) DeepCopy() *PodReference
- func (in *PodReference) DeepCopyInto(out *PodReference)
- func (*PodReference) Descriptor() ([]byte, []int)
- func (m *PodReference) Marshal() (dAtA []byte, err error)
- func (m *PodReference) MarshalTo(dAtA []byte) (int, error)
- func (*PodReference) ProtoMessage()
- func (m *PodReference) Reset()
- func (m *PodReference) Size() (n int)
- func (this *PodReference) String() string
- func (m *PodReference) Unmarshal(dAtA []byte) error
- type Protocol
- type Service
- func (in *Service) DeepCopy() *Service
- func (in *Service) DeepCopyInto(out *Service)
- func (*Service) Descriptor() ([]byte, []int)
- func (m *Service) Marshal() (dAtA []byte, err error)
- func (m *Service) MarshalTo(dAtA []byte) (int, error)
- func (*Service) ProtoMessage()
- func (m *Service) Reset()
- func (m *Service) Size() (n int)
- func (this *Service) String() string
- func (m *Service) Unmarshal(dAtA []byte) error
Constants ¶
const GroupName = "networking.antrea.tanzu.vmware.com"
GroupName is the group name used in this package.
Variables ¶
var ( ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenerated = fmt.Errorf("proto: integer overflow") )
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = localSchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1beta1"}
SchemeGroupVersion is group version used to register these objects.
Functions ¶
func Convert_networking_AddressGroupList_To_v1beta1_AddressGroupList ¶
func Convert_networking_AddressGroupList_To_v1beta1_AddressGroupList(in *networking.AddressGroupList, out *AddressGroupList, s conversion.Scope) error
Convert_networking_AddressGroupList_To_v1beta1_AddressGroupList is an autogenerated conversion function.
func Convert_networking_AddressGroupPatch_To_v1beta1_AddressGroupPatch ¶
func Convert_networking_AddressGroupPatch_To_v1beta1_AddressGroupPatch(in *networking.AddressGroupPatch, out *AddressGroupPatch, s conversion.Scope) error
Convert_networking_AddressGroupPatch_To_v1beta1_AddressGroupPatch is an autogenerated conversion function.
func Convert_networking_AddressGroup_To_v1beta1_AddressGroup ¶
func Convert_networking_AddressGroup_To_v1beta1_AddressGroup(in *networking.AddressGroup, out *AddressGroup, s conversion.Scope) error
Convert_networking_AddressGroup_To_v1beta1_AddressGroup is an autogenerated conversion function.
func Convert_networking_AppliedToGroupList_To_v1beta1_AppliedToGroupList ¶
func Convert_networking_AppliedToGroupList_To_v1beta1_AppliedToGroupList(in *networking.AppliedToGroupList, out *AppliedToGroupList, s conversion.Scope) error
Convert_networking_AppliedToGroupList_To_v1beta1_AppliedToGroupList is an autogenerated conversion function.
func Convert_networking_AppliedToGroupPatch_To_v1beta1_AppliedToGroupPatch ¶
func Convert_networking_AppliedToGroupPatch_To_v1beta1_AppliedToGroupPatch(in *networking.AppliedToGroupPatch, out *AppliedToGroupPatch, s conversion.Scope) error
Convert_networking_AppliedToGroupPatch_To_v1beta1_AppliedToGroupPatch is an autogenerated conversion function.
func Convert_networking_AppliedToGroup_To_v1beta1_AppliedToGroup ¶
func Convert_networking_AppliedToGroup_To_v1beta1_AppliedToGroup(in *networking.AppliedToGroup, out *AppliedToGroup, s conversion.Scope) error
Convert_networking_AppliedToGroup_To_v1beta1_AppliedToGroup is an autogenerated conversion function.
func Convert_networking_GroupMemberPod_To_v1beta1_GroupMemberPod ¶ added in v0.4.0
func Convert_networking_GroupMemberPod_To_v1beta1_GroupMemberPod(in *networking.GroupMemberPod, out *GroupMemberPod, s conversion.Scope) error
Convert_networking_GroupMemberPod_To_v1beta1_GroupMemberPod is an autogenerated conversion function.
func Convert_networking_IPBlock_To_v1beta1_IPBlock ¶
func Convert_networking_IPBlock_To_v1beta1_IPBlock(in *networking.IPBlock, out *IPBlock, s conversion.Scope) error
Convert_networking_IPBlock_To_v1beta1_IPBlock is an autogenerated conversion function.
func Convert_networking_IPNet_To_v1beta1_IPNet ¶
func Convert_networking_IPNet_To_v1beta1_IPNet(in *networking.IPNet, out *IPNet, s conversion.Scope) error
Convert_networking_IPNet_To_v1beta1_IPNet is an autogenerated conversion function.
func Convert_networking_NamedPort_To_v1beta1_NamedPort ¶ added in v0.4.0
func Convert_networking_NamedPort_To_v1beta1_NamedPort(in *networking.NamedPort, out *NamedPort, s conversion.Scope) error
Convert_networking_NamedPort_To_v1beta1_NamedPort is an autogenerated conversion function.
func Convert_networking_NetworkPolicyList_To_v1beta1_NetworkPolicyList ¶
func Convert_networking_NetworkPolicyList_To_v1beta1_NetworkPolicyList(in *networking.NetworkPolicyList, out *NetworkPolicyList, s conversion.Scope) error
Convert_networking_NetworkPolicyList_To_v1beta1_NetworkPolicyList is an autogenerated conversion function.
func Convert_networking_NetworkPolicyPeer_To_v1beta1_NetworkPolicyPeer ¶
func Convert_networking_NetworkPolicyPeer_To_v1beta1_NetworkPolicyPeer(in *networking.NetworkPolicyPeer, out *NetworkPolicyPeer, s conversion.Scope) error
Convert_networking_NetworkPolicyPeer_To_v1beta1_NetworkPolicyPeer is an autogenerated conversion function.
func Convert_networking_NetworkPolicyRule_To_v1beta1_NetworkPolicyRule ¶
func Convert_networking_NetworkPolicyRule_To_v1beta1_NetworkPolicyRule(in *networking.NetworkPolicyRule, out *NetworkPolicyRule, s conversion.Scope) error
Convert_networking_NetworkPolicyRule_To_v1beta1_NetworkPolicyRule is an autogenerated conversion function.
func Convert_networking_NetworkPolicy_To_v1beta1_NetworkPolicy ¶
func Convert_networking_NetworkPolicy_To_v1beta1_NetworkPolicy(in *networking.NetworkPolicy, out *NetworkPolicy, s conversion.Scope) error
Convert_networking_NetworkPolicy_To_v1beta1_NetworkPolicy is an autogenerated conversion function.
func Convert_networking_PodReference_To_v1beta1_PodReference ¶
func Convert_networking_PodReference_To_v1beta1_PodReference(in *networking.PodReference, out *PodReference, s conversion.Scope) error
Convert_networking_PodReference_To_v1beta1_PodReference is an autogenerated conversion function.
func Convert_networking_Service_To_v1beta1_Service ¶
func Convert_networking_Service_To_v1beta1_Service(in *networking.Service, out *Service, s conversion.Scope) error
Convert_networking_Service_To_v1beta1_Service is an autogenerated conversion function.
func Convert_v1beta1_AddressGroupList_To_networking_AddressGroupList ¶
func Convert_v1beta1_AddressGroupList_To_networking_AddressGroupList(in *AddressGroupList, out *networking.AddressGroupList, s conversion.Scope) error
Convert_v1beta1_AddressGroupList_To_networking_AddressGroupList is an autogenerated conversion function.
func Convert_v1beta1_AddressGroupPatch_To_networking_AddressGroupPatch ¶
func Convert_v1beta1_AddressGroupPatch_To_networking_AddressGroupPatch(in *AddressGroupPatch, out *networking.AddressGroupPatch, s conversion.Scope) error
Convert_v1beta1_AddressGroupPatch_To_networking_AddressGroupPatch is an autogenerated conversion function.
func Convert_v1beta1_AddressGroup_To_networking_AddressGroup ¶
func Convert_v1beta1_AddressGroup_To_networking_AddressGroup(in *AddressGroup, out *networking.AddressGroup, s conversion.Scope) error
Convert_v1beta1_AddressGroup_To_networking_AddressGroup is an autogenerated conversion function.
func Convert_v1beta1_AppliedToGroupList_To_networking_AppliedToGroupList ¶
func Convert_v1beta1_AppliedToGroupList_To_networking_AppliedToGroupList(in *AppliedToGroupList, out *networking.AppliedToGroupList, s conversion.Scope) error
Convert_v1beta1_AppliedToGroupList_To_networking_AppliedToGroupList is an autogenerated conversion function.
func Convert_v1beta1_AppliedToGroupPatch_To_networking_AppliedToGroupPatch ¶
func Convert_v1beta1_AppliedToGroupPatch_To_networking_AppliedToGroupPatch(in *AppliedToGroupPatch, out *networking.AppliedToGroupPatch, s conversion.Scope) error
Convert_v1beta1_AppliedToGroupPatch_To_networking_AppliedToGroupPatch is an autogenerated conversion function.
func Convert_v1beta1_AppliedToGroup_To_networking_AppliedToGroup ¶
func Convert_v1beta1_AppliedToGroup_To_networking_AppliedToGroup(in *AppliedToGroup, out *networking.AppliedToGroup, s conversion.Scope) error
Convert_v1beta1_AppliedToGroup_To_networking_AppliedToGroup is an autogenerated conversion function.
func Convert_v1beta1_GroupMemberPod_To_networking_GroupMemberPod ¶ added in v0.4.0
func Convert_v1beta1_GroupMemberPod_To_networking_GroupMemberPod(in *GroupMemberPod, out *networking.GroupMemberPod, s conversion.Scope) error
Convert_v1beta1_GroupMemberPod_To_networking_GroupMemberPod is an autogenerated conversion function.
func Convert_v1beta1_IPBlock_To_networking_IPBlock ¶
func Convert_v1beta1_IPBlock_To_networking_IPBlock(in *IPBlock, out *networking.IPBlock, s conversion.Scope) error
Convert_v1beta1_IPBlock_To_networking_IPBlock is an autogenerated conversion function.
func Convert_v1beta1_IPNet_To_networking_IPNet ¶
func Convert_v1beta1_IPNet_To_networking_IPNet(in *IPNet, out *networking.IPNet, s conversion.Scope) error
Convert_v1beta1_IPNet_To_networking_IPNet is an autogenerated conversion function.
func Convert_v1beta1_NamedPort_To_networking_NamedPort ¶ added in v0.4.0
func Convert_v1beta1_NamedPort_To_networking_NamedPort(in *NamedPort, out *networking.NamedPort, s conversion.Scope) error
Convert_v1beta1_NamedPort_To_networking_NamedPort is an autogenerated conversion function.
func Convert_v1beta1_NetworkPolicyList_To_networking_NetworkPolicyList ¶
func Convert_v1beta1_NetworkPolicyList_To_networking_NetworkPolicyList(in *NetworkPolicyList, out *networking.NetworkPolicyList, s conversion.Scope) error
Convert_v1beta1_NetworkPolicyList_To_networking_NetworkPolicyList is an autogenerated conversion function.
func Convert_v1beta1_NetworkPolicyPeer_To_networking_NetworkPolicyPeer ¶
func Convert_v1beta1_NetworkPolicyPeer_To_networking_NetworkPolicyPeer(in *NetworkPolicyPeer, out *networking.NetworkPolicyPeer, s conversion.Scope) error
Convert_v1beta1_NetworkPolicyPeer_To_networking_NetworkPolicyPeer is an autogenerated conversion function.
func Convert_v1beta1_NetworkPolicyRule_To_networking_NetworkPolicyRule ¶
func Convert_v1beta1_NetworkPolicyRule_To_networking_NetworkPolicyRule(in *NetworkPolicyRule, out *networking.NetworkPolicyRule, s conversion.Scope) error
Convert_v1beta1_NetworkPolicyRule_To_networking_NetworkPolicyRule is an autogenerated conversion function.
func Convert_v1beta1_NetworkPolicy_To_networking_NetworkPolicy ¶
func Convert_v1beta1_NetworkPolicy_To_networking_NetworkPolicy(in *NetworkPolicy, out *networking.NetworkPolicy, s conversion.Scope) error
Convert_v1beta1_NetworkPolicy_To_networking_NetworkPolicy is an autogenerated conversion function.
func Convert_v1beta1_PodReference_To_networking_PodReference ¶
func Convert_v1beta1_PodReference_To_networking_PodReference(in *PodReference, out *networking.PodReference, s conversion.Scope) error
Convert_v1beta1_PodReference_To_networking_PodReference is an autogenerated conversion function.
func Convert_v1beta1_Service_To_networking_Service ¶
func Convert_v1beta1_Service_To_networking_Service(in *Service, out *networking.Service, s conversion.Scope) error
Convert_v1beta1_Service_To_networking_Service is an autogenerated conversion function.
func RegisterConversions ¶
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"` Pods []GroupMemberPod `json:"pods,omitempty" protobuf:"bytes,2,rep,name=pods"` }
+genclient +genclient:nonNamespaced +genclient:onlyVerbs=list,get,watch +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object 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) 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
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"` }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object 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) 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
type AddressGroupPatch ¶
type AddressGroupPatch struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` AddedPods []GroupMemberPod `json:"addedPods,omitempty" protobuf:"bytes,2,rep,name=addedPods"` RemovedPods []GroupMemberPod `json:"removedPods,omitempty" protobuf:"bytes,3,rep,name=removedPods"` }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object 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) 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
type AppliedToGroup ¶
type AppliedToGroup struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // Pods is a list of Pods selected by this group. Pods []GroupMemberPod `json:"pods,omitempty" protobuf:"bytes,2,rep,name=pods"` }
+genclient +genclient:nonNamespaced +genclient:onlyVerbs=list,get,watch +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object 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) 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
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"` }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object 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) 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
type AppliedToGroupPatch ¶
type AppliedToGroupPatch struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` AddedPods []GroupMemberPod `json:"addedPods,omitempty" protobuf:"bytes,2,rep,name=addedPods"` RemovedPods []GroupMemberPod `json:"removedPods,omitempty" protobuf:"bytes,3,rep,name=removedPods"` }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object 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) 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
type GroupMemberPod ¶ added in v0.4.0
type GroupMemberPod struct { // Pod maintains the reference to the Pod. Pod *PodReference `json:"pod,omitempty" protobuf:"bytes,1,opt,name=pod"` // IP maintains the IPAddress associated with the Pod. IP IPAddress `json:"ip,omitempty" protobuf:"bytes,2,opt,name=ip"` // Ports maintain the named port mapping of this Pod. Ports []NamedPort `json:"ports,omitempty" protobuf:"bytes,3,rep,name=ports"` }
GroupMemberPod represents a GroupMember related to Pods.
func (*GroupMemberPod) DeepCopy ¶ added in v0.4.0
func (in *GroupMemberPod) DeepCopy() *GroupMemberPod
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupMemberPod.
func (*GroupMemberPod) DeepCopyInto ¶ added in v0.4.0
func (in *GroupMemberPod) DeepCopyInto(out *GroupMemberPod)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GroupMemberPod) Descriptor ¶ added in v0.4.0
func (*GroupMemberPod) Descriptor() ([]byte, []int)
func (*GroupMemberPod) Marshal ¶ added in v0.4.0
func (m *GroupMemberPod) Marshal() (dAtA []byte, err error)
func (*GroupMemberPod) MarshalTo ¶ added in v0.4.0
func (m *GroupMemberPod) MarshalTo(dAtA []byte) (int, error)
func (*GroupMemberPod) ProtoMessage ¶ added in v0.4.0
func (*GroupMemberPod) ProtoMessage()
func (*GroupMemberPod) Reset ¶ added in v0.4.0
func (m *GroupMemberPod) Reset()
func (*GroupMemberPod) Size ¶ added in v0.4.0
func (m *GroupMemberPod) Size() (n int)
func (*GroupMemberPod) String ¶ added in v0.4.0
func (this *GroupMemberPod) String() string
func (*GroupMemberPod) Unmarshal ¶ added in v0.4.0
func (m *GroupMemberPod) Unmarshal(dAtA []byte) error
type GroupMemberPodSet ¶ added in v0.4.0
type GroupMemberPodSet map[groupMemberPodHash]*GroupMemberPod
GroupMemberPodSet is a set of GroupMemberPods.
func NewGroupMemberPodSet ¶ added in v0.4.0
func NewGroupMemberPodSet(items ...*GroupMemberPod) GroupMemberPodSet
NewGroupMemberPodSet builds a GroupMemberPodSet from a list of GroupMemberPod.
func (GroupMemberPodSet) DeepCopy ¶ added in v0.4.0
func (in GroupMemberPodSet) DeepCopy() GroupMemberPodSet
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupMemberPodSet.
func (GroupMemberPodSet) DeepCopyInto ¶ added in v0.4.0
func (in GroupMemberPodSet) DeepCopyInto(out *GroupMemberPodSet)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (GroupMemberPodSet) Delete ¶ added in v0.4.0
func (s GroupMemberPodSet) Delete(items ...*GroupMemberPod)
Delete removes all items from the set.
func (GroupMemberPodSet) Difference ¶ added in v0.4.0
func (s GroupMemberPodSet) Difference(o GroupMemberPodSet) GroupMemberPodSet
Difference returns a set of Pod references that are not in o.
func (GroupMemberPodSet) Equal ¶ added in v0.4.0
func (s GroupMemberPodSet) Equal(o GroupMemberPodSet) 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 (GroupMemberPodSet) Has ¶ added in v0.4.0
func (s GroupMemberPodSet) Has(item *GroupMemberPod) bool
Has returns true if and only if item is contained in the set.
func (GroupMemberPodSet) Insert ¶ added in v0.4.0
func (s GroupMemberPodSet) Insert(items ...*GroupMemberPod)
Insert adds items to the set.
func (GroupMemberPodSet) IsSuperset ¶ added in v0.4.0
func (s GroupMemberPodSet) IsSuperset(o GroupMemberPodSet) bool
IsSuperset returns true if and only if s1 is a superset of s2.
func (GroupMemberPodSet) Items ¶ added in v0.4.0
func (s GroupMemberPodSet) Items() []*GroupMemberPod
Items returns the slice with contents in random order.
func (GroupMemberPodSet) Union ¶ added in v0.4.0
func (s GroupMemberPodSet) Union(o GroupMemberPodSet) GroupMemberPodSet
Union returns a new set which includes items in either m or o.
type IPAddress ¶
type IPAddress []byte
IPAddress describes a single IP address. Either an IPv4 or IPv6 address must be set.
func (IPAddress) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPAddress.
func (IPAddress) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IPBlock ¶
type IPBlock struct { // CIDR is an IPNet represents the IP Block. CIDR IPNet `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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPBlock.
func (*IPBlock) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IPBlock) Descriptor ¶
func (*IPBlock) ProtoMessage ¶
func (*IPBlock) ProtoMessage()
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPNet.
func (*IPNet) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IPNet) Descriptor ¶
func (*IPNet) ProtoMessage ¶
func (*IPNet) ProtoMessage()
type NamedPort ¶ added in v0.4.0
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 ¶ added in v0.4.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamedPort.
func (*NamedPort) DeepCopyInto ¶ added in v0.4.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NamedPort) Descriptor ¶ added in v0.4.0
func (*NamedPort) ProtoMessage ¶ added in v0.4.0
func (*NamedPort) ProtoMessage()
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 Pods. Rules []NetworkPolicyRule `json:"rules,omitempty" protobuf:"bytes,2,rep,name=rules"` // AppliedToGroups is a list of names of AppliedToGroups to which this policy applies. AppliedToGroups []string `json:"appliedToGroups,omitempty" protobuf:"bytes,3,rep,name=appliedToGroups"` }
+genclient +genclient:onlyVerbs=list,get,watch +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object 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) 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
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"` }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object 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) 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
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"` }
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) 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
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 pods 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 pods 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"` }
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) 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
type PodReference ¶
type PodReference struct { // The name of this pod. Name string `json:"name,omitempty" protobuf:"bytes,1,opt,name=name"` // The namespace of this pod. Namespace string `json:"namespace,omitempty" protobuf:"bytes,2,opt,name=namespace"` }
PodReference represents a Pod Reference.
func (*PodReference) DeepCopy ¶
func (in *PodReference) DeepCopy() *PodReference
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodReference.
func (*PodReference) DeepCopyInto ¶
func (in *PodReference) DeepCopyInto(out *PodReference)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PodReference) Descriptor ¶
func (*PodReference) Descriptor() ([]byte, []int)
func (*PodReference) Marshal ¶
func (m *PodReference) Marshal() (dAtA []byte, err error)
func (*PodReference) ProtoMessage ¶
func (*PodReference) ProtoMessage()
func (*PodReference) Reset ¶
func (m *PodReference) Reset()
func (*PodReference) Size ¶
func (m *PodReference) Size() (n int)
func (*PodReference) String ¶
func (this *PodReference) String() string
func (*PodReference) Unmarshal ¶
func (m *PodReference) Unmarshal(dAtA []byte) error
type Protocol ¶
type Protocol string
Protocol defines network protocols supported for things like container ports.
type Service ¶
type Service struct { // The protocol (TCP, UDP, or SCTP) which traffic must match. If not specified, this // field defaults to TCP. // +optional Protocol *Protocol `json:"protocol,omitempty" protobuf:"bytes,1,opt,name=protocol"` // The port name or number on the given protocol. If not specified, this matches all port numbers. // +optional Port *intstr.IntOrString `json:"port,omitempty" protobuf:"bytes,2,opt,name=port"` }
Service describes a port to allow traffic on.
func (*Service) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Service.
func (*Service) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Service) Descriptor ¶
func (*Service) ProtoMessage ¶
func (*Service) ProtoMessage()