internal

package
v1.20.2 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

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

Functions

This section is empty.

Types

type ClusterEndpointSlice

type ClusterEndpointSlice struct {
	Cluster   string `json:"cluster" protobuf:"bytes,1,name=cluster"`
	ClusterID uint32 `json:"clusterID" protobuf:"varint,2,name=clusterID"`

	Namespace string `json:"namespace" protobuf:"bytes,3,name=namespace"`
	Name      string `json:"name" protobuf:"bytes,4,name=name"`

	Labels      map[string]string `json:"labels,omitempty" protobuf:"bytes,5,rep,name=labels"`
	Annotations map[string]string `json:"annotations,omitempty" protobuf:"bytes,6,rep,name=annotations"`

	AddressType slim_discovery_v1.AddressType    `json:"addressType" protobuf:"bytes,7,name=addressType"`
	Endpoints   []slim_discovery_v1.Endpoint     `json:"endpoints" protobuf:"bytes,8,rep,name=endpoints"`
	Ports       []slim_discovery_v1.EndpointPort `json:"ports" protobuf:"bytes,9,rep,name=ports"`
}

ClusterEndpointSlice is the definition of an EndpointSlice in a cluster. It is split out from the main ClusterEndpointSlice so generated protobuf Marshal/Unmarshal methods do not conflict with Marshal/Unmarshal from the Key interface that also perform zstd compression.

WARNING - STABLE API: Any change to this structure must be done in a backwards compatible way.

func (*ClusterEndpointSlice) Marshal

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

func (*ClusterEndpointSlice) MarshalTo

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

func (*ClusterEndpointSlice) MarshalToSizedBuffer

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

func (*ClusterEndpointSlice) Reset

func (m *ClusterEndpointSlice) Reset()

func (*ClusterEndpointSlice) Size

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

func (*ClusterEndpointSlice) String

func (this *ClusterEndpointSlice) String() string

func (*ClusterEndpointSlice) Unmarshal

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

Jump to

Keyboard shortcuts

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