v1alpha1

package
v1.11.2 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

Package v1alpha1 is the v1alpha1 version of the Antrea Stats API.

Index

Constants

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

GroupName is the group name use 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 (
	// SchemeBuilder points to a list of functions added to Scheme.
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)

	// AddToScheme applies all the stored functions to the scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1alpha1"}

SchemeGroupVersion is group version used to register these objects

Functions

func Convert_stats_AntreaClusterNetworkPolicyStatsList_To_v1alpha1_AntreaClusterNetworkPolicyStatsList

func Convert_stats_AntreaClusterNetworkPolicyStatsList_To_v1alpha1_AntreaClusterNetworkPolicyStatsList(in *stats.AntreaClusterNetworkPolicyStatsList, out *AntreaClusterNetworkPolicyStatsList, s conversion.Scope) error

Convert_stats_AntreaClusterNetworkPolicyStatsList_To_v1alpha1_AntreaClusterNetworkPolicyStatsList is an autogenerated conversion function.

func Convert_stats_AntreaClusterNetworkPolicyStats_To_v1alpha1_AntreaClusterNetworkPolicyStats

func Convert_stats_AntreaClusterNetworkPolicyStats_To_v1alpha1_AntreaClusterNetworkPolicyStats(in *stats.AntreaClusterNetworkPolicyStats, out *AntreaClusterNetworkPolicyStats, s conversion.Scope) error

Convert_stats_AntreaClusterNetworkPolicyStats_To_v1alpha1_AntreaClusterNetworkPolicyStats is an autogenerated conversion function.

func Convert_stats_AntreaNetworkPolicyStatsList_To_v1alpha1_AntreaNetworkPolicyStatsList

func Convert_stats_AntreaNetworkPolicyStatsList_To_v1alpha1_AntreaNetworkPolicyStatsList(in *stats.AntreaNetworkPolicyStatsList, out *AntreaNetworkPolicyStatsList, s conversion.Scope) error

Convert_stats_AntreaNetworkPolicyStatsList_To_v1alpha1_AntreaNetworkPolicyStatsList is an autogenerated conversion function.

func Convert_stats_AntreaNetworkPolicyStats_To_v1alpha1_AntreaNetworkPolicyStats

func Convert_stats_AntreaNetworkPolicyStats_To_v1alpha1_AntreaNetworkPolicyStats(in *stats.AntreaNetworkPolicyStats, out *AntreaNetworkPolicyStats, s conversion.Scope) error

Convert_stats_AntreaNetworkPolicyStats_To_v1alpha1_AntreaNetworkPolicyStats is an autogenerated conversion function.

func Convert_stats_MulticastGroupList_To_v1alpha1_MulticastGroupList added in v1.7.0

func Convert_stats_MulticastGroupList_To_v1alpha1_MulticastGroupList(in *stats.MulticastGroupList, out *MulticastGroupList, s conversion.Scope) error

Convert_stats_MulticastGroupList_To_v1alpha1_MulticastGroupList is an autogenerated conversion function.

func Convert_stats_MulticastGroup_To_v1alpha1_MulticastGroup added in v1.7.0

func Convert_stats_MulticastGroup_To_v1alpha1_MulticastGroup(in *stats.MulticastGroup, out *MulticastGroup, s conversion.Scope) error

Convert_stats_MulticastGroup_To_v1alpha1_MulticastGroup is an autogenerated conversion function.

func Convert_stats_NetworkPolicyStatsList_To_v1alpha1_NetworkPolicyStatsList

func Convert_stats_NetworkPolicyStatsList_To_v1alpha1_NetworkPolicyStatsList(in *stats.NetworkPolicyStatsList, out *NetworkPolicyStatsList, s conversion.Scope) error

Convert_stats_NetworkPolicyStatsList_To_v1alpha1_NetworkPolicyStatsList is an autogenerated conversion function.

func Convert_stats_NetworkPolicyStats_To_v1alpha1_NetworkPolicyStats

func Convert_stats_NetworkPolicyStats_To_v1alpha1_NetworkPolicyStats(in *stats.NetworkPolicyStats, out *NetworkPolicyStats, s conversion.Scope) error

Convert_stats_NetworkPolicyStats_To_v1alpha1_NetworkPolicyStats is an autogenerated conversion function.

func Convert_stats_PodReference_To_v1alpha1_PodReference added in v1.7.0

func Convert_stats_PodReference_To_v1alpha1_PodReference(in *stats.PodReference, out *PodReference, s conversion.Scope) error

Convert_stats_PodReference_To_v1alpha1_PodReference is an autogenerated conversion function.

func Convert_stats_RuleTrafficStats_To_v1alpha1_RuleTrafficStats

func Convert_stats_RuleTrafficStats_To_v1alpha1_RuleTrafficStats(in *stats.RuleTrafficStats, out *RuleTrafficStats, s conversion.Scope) error

Convert_stats_RuleTrafficStats_To_v1alpha1_RuleTrafficStats is an autogenerated conversion function.

func Convert_stats_TrafficStats_To_v1alpha1_TrafficStats

func Convert_stats_TrafficStats_To_v1alpha1_TrafficStats(in *stats.TrafficStats, out *TrafficStats, s conversion.Scope) error

Convert_stats_TrafficStats_To_v1alpha1_TrafficStats is an autogenerated conversion function.

func Convert_v1alpha1_AntreaClusterNetworkPolicyStatsList_To_stats_AntreaClusterNetworkPolicyStatsList

func Convert_v1alpha1_AntreaClusterNetworkPolicyStatsList_To_stats_AntreaClusterNetworkPolicyStatsList(in *AntreaClusterNetworkPolicyStatsList, out *stats.AntreaClusterNetworkPolicyStatsList, s conversion.Scope) error

Convert_v1alpha1_AntreaClusterNetworkPolicyStatsList_To_stats_AntreaClusterNetworkPolicyStatsList is an autogenerated conversion function.

func Convert_v1alpha1_AntreaClusterNetworkPolicyStats_To_stats_AntreaClusterNetworkPolicyStats

func Convert_v1alpha1_AntreaClusterNetworkPolicyStats_To_stats_AntreaClusterNetworkPolicyStats(in *AntreaClusterNetworkPolicyStats, out *stats.AntreaClusterNetworkPolicyStats, s conversion.Scope) error

Convert_v1alpha1_AntreaClusterNetworkPolicyStats_To_stats_AntreaClusterNetworkPolicyStats is an autogenerated conversion function.

func Convert_v1alpha1_AntreaNetworkPolicyStatsList_To_stats_AntreaNetworkPolicyStatsList

func Convert_v1alpha1_AntreaNetworkPolicyStatsList_To_stats_AntreaNetworkPolicyStatsList(in *AntreaNetworkPolicyStatsList, out *stats.AntreaNetworkPolicyStatsList, s conversion.Scope) error

Convert_v1alpha1_AntreaNetworkPolicyStatsList_To_stats_AntreaNetworkPolicyStatsList is an autogenerated conversion function.

func Convert_v1alpha1_AntreaNetworkPolicyStats_To_stats_AntreaNetworkPolicyStats

func Convert_v1alpha1_AntreaNetworkPolicyStats_To_stats_AntreaNetworkPolicyStats(in *AntreaNetworkPolicyStats, out *stats.AntreaNetworkPolicyStats, s conversion.Scope) error

Convert_v1alpha1_AntreaNetworkPolicyStats_To_stats_AntreaNetworkPolicyStats is an autogenerated conversion function.

func Convert_v1alpha1_MulticastGroupList_To_stats_MulticastGroupList added in v1.7.0

func Convert_v1alpha1_MulticastGroupList_To_stats_MulticastGroupList(in *MulticastGroupList, out *stats.MulticastGroupList, s conversion.Scope) error

Convert_v1alpha1_MulticastGroupList_To_stats_MulticastGroupList is an autogenerated conversion function.

func Convert_v1alpha1_MulticastGroup_To_stats_MulticastGroup added in v1.7.0

func Convert_v1alpha1_MulticastGroup_To_stats_MulticastGroup(in *MulticastGroup, out *stats.MulticastGroup, s conversion.Scope) error

Convert_v1alpha1_MulticastGroup_To_stats_MulticastGroup is an autogenerated conversion function.

func Convert_v1alpha1_NetworkPolicyStatsList_To_stats_NetworkPolicyStatsList

func Convert_v1alpha1_NetworkPolicyStatsList_To_stats_NetworkPolicyStatsList(in *NetworkPolicyStatsList, out *stats.NetworkPolicyStatsList, s conversion.Scope) error

Convert_v1alpha1_NetworkPolicyStatsList_To_stats_NetworkPolicyStatsList is an autogenerated conversion function.

func Convert_v1alpha1_NetworkPolicyStats_To_stats_NetworkPolicyStats

func Convert_v1alpha1_NetworkPolicyStats_To_stats_NetworkPolicyStats(in *NetworkPolicyStats, out *stats.NetworkPolicyStats, s conversion.Scope) error

Convert_v1alpha1_NetworkPolicyStats_To_stats_NetworkPolicyStats is an autogenerated conversion function.

func Convert_v1alpha1_PodReference_To_stats_PodReference added in v1.7.0

func Convert_v1alpha1_PodReference_To_stats_PodReference(in *PodReference, out *stats.PodReference, s conversion.Scope) error

Convert_v1alpha1_PodReference_To_stats_PodReference is an autogenerated conversion function.

func Convert_v1alpha1_RuleTrafficStats_To_stats_RuleTrafficStats

func Convert_v1alpha1_RuleTrafficStats_To_stats_RuleTrafficStats(in *RuleTrafficStats, out *stats.RuleTrafficStats, s conversion.Scope) error

Convert_v1alpha1_RuleTrafficStats_To_stats_RuleTrafficStats is an autogenerated conversion function.

func Convert_v1alpha1_TrafficStats_To_stats_TrafficStats

func Convert_v1alpha1_TrafficStats_To_stats_TrafficStats(in *TrafficStats, out *stats.TrafficStats, s conversion.Scope) error

Convert_v1alpha1_TrafficStats_To_stats_TrafficStats is an autogenerated conversion function.

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 AntreaClusterNetworkPolicyStats

type AntreaClusterNetworkPolicyStats struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	// The traffic stats of the Antrea ClusterNetworkPolicy.
	TrafficStats TrafficStats `json:"trafficStats,omitempty" protobuf:"bytes,2,opt,name=trafficStats"`
	// The traffic stats of the Antrea ClusterNetworkPolicy, from rule perspective.
	RuleTrafficStats []RuleTrafficStats `json:"ruleTrafficStats,omitempty" protobuf:"bytes,3,rep,name=ruleTrafficStats"`
}

AntreaClusterNetworkPolicyStats is the statistics of a Antrea ClusterNetworkPolicy.

func (*AntreaClusterNetworkPolicyStats) DeepCopy

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

func (*AntreaClusterNetworkPolicyStats) DeepCopyInto

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

func (*AntreaClusterNetworkPolicyStats) DeepCopyObject

func (in *AntreaClusterNetworkPolicyStats) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*AntreaClusterNetworkPolicyStats) Descriptor

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

func (*AntreaClusterNetworkPolicyStats) Marshal

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

func (*AntreaClusterNetworkPolicyStats) MarshalTo

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

func (*AntreaClusterNetworkPolicyStats) MarshalToSizedBuffer

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

func (*AntreaClusterNetworkPolicyStats) ProtoMessage

func (*AntreaClusterNetworkPolicyStats) ProtoMessage()

func (*AntreaClusterNetworkPolicyStats) Reset

func (*AntreaClusterNetworkPolicyStats) Size

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

func (*AntreaClusterNetworkPolicyStats) String

func (this *AntreaClusterNetworkPolicyStats) String() string

func (*AntreaClusterNetworkPolicyStats) Unmarshal

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

func (*AntreaClusterNetworkPolicyStats) XXX_DiscardUnknown

func (m *AntreaClusterNetworkPolicyStats) XXX_DiscardUnknown()

func (*AntreaClusterNetworkPolicyStats) XXX_Marshal

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

func (*AntreaClusterNetworkPolicyStats) XXX_Merge

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

func (*AntreaClusterNetworkPolicyStats) XXX_Size

func (m *AntreaClusterNetworkPolicyStats) XXX_Size() int

func (*AntreaClusterNetworkPolicyStats) XXX_Unmarshal

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

type AntreaClusterNetworkPolicyStatsList

type AntreaClusterNetworkPolicyStatsList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// List of AntreaClusterNetworkPolicyStats.
	Items []AntreaClusterNetworkPolicyStats `json:"items" protobuf:"bytes,2,rep,name=items"`
}

AntreaClusterNetworkPolicyStatsList is a list of AntreaClusterNetworkPolicyStats.

func (*AntreaClusterNetworkPolicyStatsList) DeepCopy

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

func (*AntreaClusterNetworkPolicyStatsList) DeepCopyInto

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

func (*AntreaClusterNetworkPolicyStatsList) DeepCopyObject

func (in *AntreaClusterNetworkPolicyStatsList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*AntreaClusterNetworkPolicyStatsList) Descriptor

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

func (*AntreaClusterNetworkPolicyStatsList) Marshal

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

func (*AntreaClusterNetworkPolicyStatsList) MarshalTo

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

func (*AntreaClusterNetworkPolicyStatsList) MarshalToSizedBuffer

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

func (*AntreaClusterNetworkPolicyStatsList) ProtoMessage

func (*AntreaClusterNetworkPolicyStatsList) ProtoMessage()

func (*AntreaClusterNetworkPolicyStatsList) Reset

func (*AntreaClusterNetworkPolicyStatsList) Size

func (*AntreaClusterNetworkPolicyStatsList) String

func (*AntreaClusterNetworkPolicyStatsList) Unmarshal

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

func (*AntreaClusterNetworkPolicyStatsList) XXX_DiscardUnknown

func (m *AntreaClusterNetworkPolicyStatsList) XXX_DiscardUnknown()

func (*AntreaClusterNetworkPolicyStatsList) XXX_Marshal

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

func (*AntreaClusterNetworkPolicyStatsList) XXX_Merge

func (*AntreaClusterNetworkPolicyStatsList) XXX_Size

func (*AntreaClusterNetworkPolicyStatsList) XXX_Unmarshal

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

type AntreaNetworkPolicyStats

type AntreaNetworkPolicyStats struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	// The traffic stats of the Antrea NetworkPolicy.
	TrafficStats TrafficStats `json:"trafficStats,omitempty" protobuf:"bytes,2,opt,name=trafficStats"`
	// The traffic stats of the Antrea NetworkPolicy, from rule perspective.
	RuleTrafficStats []RuleTrafficStats `json:"ruleTrafficStats,omitempty" protobuf:"bytes,3,rep,name=ruleTrafficStats"`
}

AntreaNetworkPolicyStats is the statistics of a Antrea NetworkPolicy.

func (*AntreaNetworkPolicyStats) DeepCopy

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

func (*AntreaNetworkPolicyStats) DeepCopyInto

func (in *AntreaNetworkPolicyStats) DeepCopyInto(out *AntreaNetworkPolicyStats)

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

func (*AntreaNetworkPolicyStats) DeepCopyObject

func (in *AntreaNetworkPolicyStats) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*AntreaNetworkPolicyStats) Descriptor

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

func (*AntreaNetworkPolicyStats) Marshal

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

func (*AntreaNetworkPolicyStats) MarshalTo

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

func (*AntreaNetworkPolicyStats) MarshalToSizedBuffer

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

func (*AntreaNetworkPolicyStats) ProtoMessage

func (*AntreaNetworkPolicyStats) ProtoMessage()

func (*AntreaNetworkPolicyStats) Reset

func (m *AntreaNetworkPolicyStats) Reset()

func (*AntreaNetworkPolicyStats) Size

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

func (*AntreaNetworkPolicyStats) String

func (this *AntreaNetworkPolicyStats) String() string

func (*AntreaNetworkPolicyStats) Unmarshal

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

func (*AntreaNetworkPolicyStats) XXX_DiscardUnknown

func (m *AntreaNetworkPolicyStats) XXX_DiscardUnknown()

func (*AntreaNetworkPolicyStats) XXX_Marshal

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

func (*AntreaNetworkPolicyStats) XXX_Merge

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

func (*AntreaNetworkPolicyStats) XXX_Size

func (m *AntreaNetworkPolicyStats) XXX_Size() int

func (*AntreaNetworkPolicyStats) XXX_Unmarshal

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

type AntreaNetworkPolicyStatsList

type AntreaNetworkPolicyStatsList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// List of AntreaNetworkPolicyStats.
	Items []AntreaNetworkPolicyStats `json:"items" protobuf:"bytes,2,rep,name=items"`
}

AntreaNetworkPolicyStatsList is a list of AntreaNetworkPolicyStats.

func (*AntreaNetworkPolicyStatsList) DeepCopy

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

func (*AntreaNetworkPolicyStatsList) DeepCopyInto

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

func (*AntreaNetworkPolicyStatsList) DeepCopyObject

func (in *AntreaNetworkPolicyStatsList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*AntreaNetworkPolicyStatsList) Descriptor

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

func (*AntreaNetworkPolicyStatsList) Marshal

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

func (*AntreaNetworkPolicyStatsList) MarshalTo

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

func (*AntreaNetworkPolicyStatsList) MarshalToSizedBuffer

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

func (*AntreaNetworkPolicyStatsList) ProtoMessage

func (*AntreaNetworkPolicyStatsList) ProtoMessage()

func (*AntreaNetworkPolicyStatsList) Reset

func (m *AntreaNetworkPolicyStatsList) Reset()

func (*AntreaNetworkPolicyStatsList) Size

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

func (*AntreaNetworkPolicyStatsList) String

func (this *AntreaNetworkPolicyStatsList) String() string

func (*AntreaNetworkPolicyStatsList) Unmarshal

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

func (*AntreaNetworkPolicyStatsList) XXX_DiscardUnknown

func (m *AntreaNetworkPolicyStatsList) XXX_DiscardUnknown()

func (*AntreaNetworkPolicyStatsList) XXX_Marshal

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

func (*AntreaNetworkPolicyStatsList) XXX_Merge

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

func (*AntreaNetworkPolicyStatsList) XXX_Size

func (m *AntreaNetworkPolicyStatsList) XXX_Size() int

func (*AntreaNetworkPolicyStatsList) XXX_Unmarshal

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

type MulticastGroup added in v1.7.0

type MulticastGroup struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

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

MulticastGroup contains the mapping between multicast group and Pods.

func (*MulticastGroup) DeepCopy added in v1.7.0

func (in *MulticastGroup) DeepCopy() *MulticastGroup

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

func (*MulticastGroup) DeepCopyInto added in v1.7.0

func (in *MulticastGroup) DeepCopyInto(out *MulticastGroup)

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

func (*MulticastGroup) DeepCopyObject added in v1.7.0

func (in *MulticastGroup) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*MulticastGroup) Descriptor added in v1.7.0

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

func (*MulticastGroup) Marshal added in v1.7.0

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

func (*MulticastGroup) MarshalTo added in v1.7.0

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

func (*MulticastGroup) MarshalToSizedBuffer added in v1.7.0

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

func (*MulticastGroup) ProtoMessage added in v1.7.0

func (*MulticastGroup) ProtoMessage()

func (*MulticastGroup) Reset added in v1.7.0

func (m *MulticastGroup) Reset()

func (*MulticastGroup) Size added in v1.7.0

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

func (*MulticastGroup) String added in v1.7.0

func (this *MulticastGroup) String() string

func (*MulticastGroup) Unmarshal added in v1.7.0

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

func (*MulticastGroup) XXX_DiscardUnknown added in v1.7.0

func (m *MulticastGroup) XXX_DiscardUnknown()

func (*MulticastGroup) XXX_Marshal added in v1.7.0

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

func (*MulticastGroup) XXX_Merge added in v1.7.0

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

func (*MulticastGroup) XXX_Size added in v1.7.0

func (m *MulticastGroup) XXX_Size() int

func (*MulticastGroup) XXX_Unmarshal added in v1.7.0

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

type MulticastGroupList added in v1.7.0

type MulticastGroupList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// List of MulticastGroup.
	Items []MulticastGroup `json:"items" protobuf:"bytes,2,rep,name=items"`
}

MulticastGroupList is a list of MulticastGroup.

func (*MulticastGroupList) DeepCopy added in v1.7.0

func (in *MulticastGroupList) DeepCopy() *MulticastGroupList

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

func (*MulticastGroupList) DeepCopyInto added in v1.7.0

func (in *MulticastGroupList) DeepCopyInto(out *MulticastGroupList)

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

func (*MulticastGroupList) DeepCopyObject added in v1.7.0

func (in *MulticastGroupList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*MulticastGroupList) Descriptor added in v1.7.0

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

func (*MulticastGroupList) Marshal added in v1.7.0

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

func (*MulticastGroupList) MarshalTo added in v1.7.0

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

func (*MulticastGroupList) MarshalToSizedBuffer added in v1.7.0

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

func (*MulticastGroupList) ProtoMessage added in v1.7.0

func (*MulticastGroupList) ProtoMessage()

func (*MulticastGroupList) Reset added in v1.7.0

func (m *MulticastGroupList) Reset()

func (*MulticastGroupList) Size added in v1.7.0

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

func (*MulticastGroupList) String added in v1.7.0

func (this *MulticastGroupList) String() string

func (*MulticastGroupList) Unmarshal added in v1.7.0

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

func (*MulticastGroupList) XXX_DiscardUnknown added in v1.7.0

func (m *MulticastGroupList) XXX_DiscardUnknown()

func (*MulticastGroupList) XXX_Marshal added in v1.7.0

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

func (*MulticastGroupList) XXX_Merge added in v1.7.0

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

func (*MulticastGroupList) XXX_Size added in v1.7.0

func (m *MulticastGroupList) XXX_Size() int

func (*MulticastGroupList) XXX_Unmarshal added in v1.7.0

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

type NetworkPolicyStats

type NetworkPolicyStats struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// The traffic stats of the K8s NetworkPolicy.
	TrafficStats TrafficStats `json:"trafficStats,omitempty" protobuf:"bytes,2,opt,name=trafficStats"`
}

NetworkPolicyStats is the statistics of a K8s 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) DeepCopyObject

func (in *NetworkPolicyStats) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

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

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

func (*NetworkPolicyStats) XXX_Size

func (m *NetworkPolicyStats) XXX_Size() int

func (*NetworkPolicyStats) XXX_Unmarshal

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

type NetworkPolicyStatsList

type NetworkPolicyStatsList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// List of NetworkPolicyStats.
	Items []NetworkPolicyStats `json:"items" protobuf:"bytes,2,rep,name=items"`
}

NetworkPolicyStatsList is a list of NetworkPolicyStats.

func (*NetworkPolicyStatsList) DeepCopy

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

func (*NetworkPolicyStatsList) DeepCopyInto

func (in *NetworkPolicyStatsList) DeepCopyInto(out *NetworkPolicyStatsList)

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

func (*NetworkPolicyStatsList) DeepCopyObject

func (in *NetworkPolicyStatsList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*NetworkPolicyStatsList) Descriptor

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

func (*NetworkPolicyStatsList) Marshal

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

func (*NetworkPolicyStatsList) MarshalTo

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

func (*NetworkPolicyStatsList) MarshalToSizedBuffer

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

func (*NetworkPolicyStatsList) ProtoMessage

func (*NetworkPolicyStatsList) ProtoMessage()

func (*NetworkPolicyStatsList) Reset

func (m *NetworkPolicyStatsList) Reset()

func (*NetworkPolicyStatsList) Size

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

func (*NetworkPolicyStatsList) String

func (this *NetworkPolicyStatsList) String() string

func (*NetworkPolicyStatsList) Unmarshal

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

func (*NetworkPolicyStatsList) XXX_DiscardUnknown

func (m *NetworkPolicyStatsList) XXX_DiscardUnknown()

func (*NetworkPolicyStatsList) XXX_Marshal

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

func (*NetworkPolicyStatsList) XXX_Merge

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

func (*NetworkPolicyStatsList) XXX_Size

func (m *NetworkPolicyStatsList) XXX_Size() int

func (*NetworkPolicyStatsList) XXX_Unmarshal

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

type PodReference added in v1.7.0

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

func (in *PodReference) DeepCopy() *PodReference

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

func (*PodReference) DeepCopyInto added in v1.7.0

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

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

func (*PodReference) Marshal added in v1.7.0

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

func (*PodReference) MarshalTo added in v1.7.0

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

func (*PodReference) MarshalToSizedBuffer added in v1.7.0

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

func (*PodReference) ProtoMessage added in v1.7.0

func (*PodReference) ProtoMessage()

func (*PodReference) Reset added in v1.7.0

func (m *PodReference) Reset()

func (*PodReference) Size added in v1.7.0

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

func (*PodReference) String added in v1.7.0

func (this *PodReference) String() string

func (*PodReference) Unmarshal added in v1.7.0

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

func (*PodReference) XXX_DiscardUnknown added in v1.7.0

func (m *PodReference) XXX_DiscardUnknown()

func (*PodReference) XXX_Marshal added in v1.7.0

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

func (*PodReference) XXX_Merge added in v1.7.0

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

func (*PodReference) XXX_Size added in v1.7.0

func (m *PodReference) XXX_Size() int

func (*PodReference) XXX_Unmarshal added in v1.7.0

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

type RuleTrafficStats

type RuleTrafficStats struct {
	Name         string       `json:"name,omitempty" protobuf:"bytes,1,opt,name=name"`
	TrafficStats TrafficStats `json:"trafficStats,omitempty" protobuf:"bytes,2,opt,name=trafficStats"`
}

RuleTrafficStats contains TrafficStats of single rule inside a NetworkPolicy.

func (*RuleTrafficStats) DeepCopy

func (in *RuleTrafficStats) DeepCopy() *RuleTrafficStats

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

func (*RuleTrafficStats) DeepCopyInto

func (in *RuleTrafficStats) DeepCopyInto(out *RuleTrafficStats)

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

func (*RuleTrafficStats) Descriptor

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

func (*RuleTrafficStats) Marshal

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

func (*RuleTrafficStats) MarshalTo

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

func (*RuleTrafficStats) MarshalToSizedBuffer

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

func (*RuleTrafficStats) ProtoMessage

func (*RuleTrafficStats) ProtoMessage()

func (*RuleTrafficStats) Reset

func (m *RuleTrafficStats) Reset()

func (*RuleTrafficStats) Size

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

func (*RuleTrafficStats) String

func (this *RuleTrafficStats) String() string

func (*RuleTrafficStats) Unmarshal

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

func (*RuleTrafficStats) XXX_DiscardUnknown

func (m *RuleTrafficStats) XXX_DiscardUnknown()

func (*RuleTrafficStats) XXX_Marshal

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

func (*RuleTrafficStats) XXX_Merge

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

func (*RuleTrafficStats) XXX_Size

func (m *RuleTrafficStats) XXX_Size() int

func (*RuleTrafficStats) XXX_Unmarshal

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

type TrafficStats

type TrafficStats struct {
	// Packets is the packets count hit by the NetworkPolicy.
	Packets int64 `json:"packets,omitempty" protobuf:"varint,1,opt,name=packets"`
	// Bytes is the bytes count hit by the NetworkPolicy.
	Bytes int64 `json:"bytes,omitempty" protobuf:"varint,2,opt,name=bytes"`
	// Sessions is the sessions count hit by the NetworkPolicy.
	Sessions int64 `json:"sessions,omitempty" protobuf:"varint,3,opt,name=sessions"`
}

TrafficStats contains the traffic stats of a NetworkPolicy.

func (*TrafficStats) DeepCopy

func (in *TrafficStats) DeepCopy() *TrafficStats

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

func (*TrafficStats) DeepCopyInto

func (in *TrafficStats) DeepCopyInto(out *TrafficStats)

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

func (*TrafficStats) Descriptor

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

func (*TrafficStats) Marshal

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

func (*TrafficStats) MarshalTo

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

func (*TrafficStats) MarshalToSizedBuffer

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

func (*TrafficStats) ProtoMessage

func (*TrafficStats) ProtoMessage()

func (*TrafficStats) Reset

func (m *TrafficStats) Reset()

func (*TrafficStats) Size

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

func (*TrafficStats) String

func (this *TrafficStats) String() string

func (*TrafficStats) Unmarshal

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

func (*TrafficStats) XXX_DiscardUnknown

func (m *TrafficStats) XXX_DiscardUnknown()

func (*TrafficStats) XXX_Marshal

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

func (*TrafficStats) XXX_Merge

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

func (*TrafficStats) XXX_Size

func (m *TrafficStats) XXX_Size() int

func (*TrafficStats) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL