core

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	SocketAddress_Protocol_name = map[int32]string{
		0: "TCP",
		1: "UDP",
	}
	SocketAddress_Protocol_value = map[string]int32{
		"TCP": 0,
		"UDP": 1,
	}
)

Enum value maps for SocketAddress_Protocol.

View Source
var (
	ApiStatus_name = map[int32]string{
		0: "NONE",
		1: "DELETE",
		2: "UPDATE",
		3: "UNCHANGED",
		4: "ALL",
		5: "WAITING",
	}
	ApiStatus_value = map[string]int32{
		"NONE":      0,
		"DELETE":    1,
		"UPDATE":    2,
		"UNCHANGED": 3,
		"ALL":       4,
		"WAITING":   5,
	}
)

Enum value maps for ApiStatus.

View Source
var (
	RoutingPriority_name = map[int32]string{
		0: "DEFAULT",
		1: "HIGH",
	}
	RoutingPriority_value = map[string]int32{
		"DEFAULT": 0,
		"HIGH":    1,
	}
)

Enum value maps for RoutingPriority.

View Source
var File_api_core_address_proto protoreflect.FileDescriptor
View Source
var File_api_core_base_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type ApiStatus

type ApiStatus int32

The status of the control-plane of the current data is identified to determine the corresponding lower control-plane operation.

const (
	ApiStatus_NONE      ApiStatus = 0
	ApiStatus_DELETE    ApiStatus = 1
	ApiStatus_UPDATE    ApiStatus = 2
	ApiStatus_UNCHANGED ApiStatus = 3
	ApiStatus_ALL       ApiStatus = 4
	// Waiting for associated endpoints before updating bpf map
	// Currently only apply to cluster resource.
	ApiStatus_WAITING ApiStatus = 5
)

func (ApiStatus) Descriptor

func (ApiStatus) Descriptor() protoreflect.EnumDescriptor

func (ApiStatus) Enum

func (x ApiStatus) Enum() *ApiStatus

func (ApiStatus) EnumDescriptor deprecated

func (ApiStatus) EnumDescriptor() ([]byte, []int)

Deprecated: Use ApiStatus.Descriptor instead.

func (ApiStatus) Number

func (x ApiStatus) Number() protoreflect.EnumNumber

func (ApiStatus) String

func (x ApiStatus) String() string

func (ApiStatus) Type

type CidrRange

type CidrRange struct {
	AddressPrefix string `protobuf:"bytes,1,opt,name=address_prefix,json=addressPrefix,proto3" json:"address_prefix,omitempty"`
	PrefixLen     uint32 `protobuf:"varint,2,opt,name=prefix_len,json=prefixLen,proto3" json:"prefix_len,omitempty"`
	// contains filtered or unexported fields
}

func (*CidrRange) Descriptor deprecated

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

Deprecated: Use CidrRange.ProtoReflect.Descriptor instead.

func (*CidrRange) GetAddressPrefix

func (x *CidrRange) GetAddressPrefix() string

func (*CidrRange) GetPrefixLen

func (x *CidrRange) GetPrefixLen() uint32

func (*CidrRange) ProtoMessage

func (*CidrRange) ProtoMessage()

func (*CidrRange) ProtoReflect

func (x *CidrRange) ProtoReflect() protoreflect.Message

func (*CidrRange) Reset

func (x *CidrRange) Reset()

func (*CidrRange) String

func (x *CidrRange) String() string

type RoutingPriority

type RoutingPriority int32
const (
	RoutingPriority_DEFAULT RoutingPriority = 0
	RoutingPriority_HIGH    RoutingPriority = 1
)

func (RoutingPriority) Descriptor

func (RoutingPriority) Enum

func (x RoutingPriority) Enum() *RoutingPriority

func (RoutingPriority) EnumDescriptor deprecated

func (RoutingPriority) EnumDescriptor() ([]byte, []int)

Deprecated: Use RoutingPriority.Descriptor instead.

func (RoutingPriority) Number

func (RoutingPriority) String

func (x RoutingPriority) String() string

func (RoutingPriority) Type

type SocketAddress

type SocketAddress struct {
	Protocol SocketAddress_Protocol `protobuf:"varint,1,opt,name=protocol,proto3,enum=core.SocketAddress_Protocol" json:"protocol,omitempty"`
	Port     uint32                 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"`
	Ipv4     uint32                 `protobuf:"varint,3,opt,name=ipv4,proto3" json:"ipv4,omitempty"`
	// contains filtered or unexported fields
}

func (*SocketAddress) Descriptor deprecated

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

Deprecated: Use SocketAddress.ProtoReflect.Descriptor instead.

func (*SocketAddress) GetIpv4

func (x *SocketAddress) GetIpv4() uint32

func (*SocketAddress) GetPort

func (x *SocketAddress) GetPort() uint32

func (*SocketAddress) GetProtocol

func (x *SocketAddress) GetProtocol() SocketAddress_Protocol

func (*SocketAddress) ProtoMessage

func (*SocketAddress) ProtoMessage()

func (*SocketAddress) ProtoReflect

func (x *SocketAddress) ProtoReflect() protoreflect.Message

func (*SocketAddress) Reset

func (x *SocketAddress) Reset()

func (*SocketAddress) String

func (x *SocketAddress) String() string

type SocketAddress_Protocol

type SocketAddress_Protocol int32
const (
	SocketAddress_TCP SocketAddress_Protocol = 0
	SocketAddress_UDP SocketAddress_Protocol = 1
)

func (SocketAddress_Protocol) Descriptor

func (SocketAddress_Protocol) Enum

func (SocketAddress_Protocol) EnumDescriptor deprecated

func (SocketAddress_Protocol) EnumDescriptor() ([]byte, []int)

Deprecated: Use SocketAddress_Protocol.Descriptor instead.

func (SocketAddress_Protocol) Number

func (SocketAddress_Protocol) String

func (x SocketAddress_Protocol) String() string

func (SocketAddress_Protocol) Type

Jump to

Keyboard shortcuts

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