pbdataplane

package
v0.6.3 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2024 License: MPL-2.0 Imports: 12 Imported by: 2

Documentation

Overview

Code generated by protoc-gen-deepcopy. DO NOT EDIT.

Code generated by protoc-json-shim. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

View Source
var (
	DataplaneFeatures_name = map[int32]string{
		0: "DATAPLANE_FEATURES_UNSPECIFIED",
		1: "DATAPLANE_FEATURES_WATCH_SERVERS",
		2: "DATAPLANE_FEATURES_EDGE_CERTIFICATE_MANAGEMENT",
		3: "DATAPLANE_FEATURES_ENVOY_BOOTSTRAP_CONFIGURATION",
		4: "DATAPLANE_FEATURES_FIPS",
	}
	DataplaneFeatures_value = map[string]int32{
		"DATAPLANE_FEATURES_UNSPECIFIED":                   0,
		"DATAPLANE_FEATURES_WATCH_SERVERS":                 1,
		"DATAPLANE_FEATURES_EDGE_CERTIFICATE_MANAGEMENT":   2,
		"DATAPLANE_FEATURES_ENVOY_BOOTSTRAP_CONFIGURATION": 3,
		"DATAPLANE_FEATURES_FIPS":                          4,
	}
)

Enum value maps for DataplaneFeatures.

View Source
var (
	ServiceKind_name = map[int32]string{
		0: "SERVICE_KIND_UNSPECIFIED",
		1: "SERVICE_KIND_TYPICAL",
		2: "SERVICE_KIND_CONNECT_PROXY",
		3: "SERVICE_KIND_MESH_GATEWAY",
		4: "SERVICE_KIND_TERMINATING_GATEWAY",
		5: "SERVICE_KIND_INGRESS_GATEWAY",
		6: "SERVICE_KIND_API_GATEWAY",
	}
	ServiceKind_value = map[string]int32{
		"SERVICE_KIND_UNSPECIFIED":         0,
		"SERVICE_KIND_TYPICAL":             1,
		"SERVICE_KIND_CONNECT_PROXY":       2,
		"SERVICE_KIND_MESH_GATEWAY":        3,
		"SERVICE_KIND_TERMINATING_GATEWAY": 4,
		"SERVICE_KIND_INGRESS_GATEWAY":     5,
		"SERVICE_KIND_API_GATEWAY":         6,
	}
)

Enum value maps for ServiceKind.

View Source
var (
	DataplaneMarshaler   = &protojson.MarshalOptions{}
	DataplaneUnmarshaler = &protojson.UnmarshalOptions{DiscardUnknown: false}
)
View Source
var DataplaneService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "hashicorp.consul.dataplane.DataplaneService",
	HandlerType: (*DataplaneServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetSupportedDataplaneFeatures",
			Handler:    _DataplaneService_GetSupportedDataplaneFeatures_Handler,
		},
		{
			MethodName: "GetEnvoyBootstrapParams",
			Handler:    _DataplaneService_GetEnvoyBootstrapParams_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "pbdataplane/dataplane.proto",
}

DataplaneService_ServiceDesc is the grpc.ServiceDesc for DataplaneService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_pbdataplane_dataplane_proto protoreflect.FileDescriptor

Functions

func RegisterDataplaneServiceServer

func RegisterDataplaneServiceServer(s grpc.ServiceRegistrar, srv DataplaneServiceServer)

Types

type CloningDataplaneServiceClient added in v0.5.4

type CloningDataplaneServiceClient struct {
	DataplaneServiceClient
}

CloningDataplaneServiceClient implements the DataplaneServiceClient interface by wrapping another implementation and copying all protobuf messages that pass through the client. This is mainly useful to wrap the an in-process client to insulate users of that client from having to care about potential immutability of data they receive or having the server implementation mutate their internal memory.

func (CloningDataplaneServiceClient) GetEnvoyBootstrapParams added in v0.5.4

func (CloningDataplaneServiceClient) GetSupportedDataplaneFeatures added in v0.5.4

func (CloningDataplaneServiceClient) IsCloningDataplaneServiceClient added in v0.5.4

func (c CloningDataplaneServiceClient) IsCloningDataplaneServiceClient() bool

IsCloningDataplaneServiceClient implements the IsCloningDataplaneServiceClient interface. This is only used to detect wrapped clients that would be double cloning data and prevent that.

type DataplaneFeatureSupport

type DataplaneFeatureSupport struct {
	FeatureName DataplaneFeatures `` /* 145-byte string literal not displayed */
	Supported   bool              `protobuf:"varint,2,opt,name=supported,proto3" json:"supported,omitempty"`
	// contains filtered or unexported fields
}

func (*DataplaneFeatureSupport) DeepCopy added in v0.5.1

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataplaneFeatureSupport. Required by controller-gen.

func (*DataplaneFeatureSupport) DeepCopyInterface added in v0.5.1

func (in *DataplaneFeatureSupport) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new DataplaneFeatureSupport. Required by controller-gen.

func (*DataplaneFeatureSupport) DeepCopyInto added in v0.5.1

func (in *DataplaneFeatureSupport) DeepCopyInto(out *DataplaneFeatureSupport)

DeepCopyInto supports using DataplaneFeatureSupport within kubernetes types, where deepcopy-gen is used.

func (*DataplaneFeatureSupport) Descriptor deprecated

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

Deprecated: Use DataplaneFeatureSupport.ProtoReflect.Descriptor instead.

func (*DataplaneFeatureSupport) GetFeatureName

func (x *DataplaneFeatureSupport) GetFeatureName() DataplaneFeatures

func (*DataplaneFeatureSupport) GetSupported

func (x *DataplaneFeatureSupport) GetSupported() bool

func (*DataplaneFeatureSupport) MarshalBinary

func (msg *DataplaneFeatureSupport) MarshalBinary() ([]byte, error)

MarshalBinary implements encoding.BinaryMarshaler

func (*DataplaneFeatureSupport) MarshalJSON added in v0.5.1

func (this *DataplaneFeatureSupport) MarshalJSON() ([]byte, error)

MarshalJSON is a custom marshaler for DataplaneFeatureSupport

func (*DataplaneFeatureSupport) ProtoMessage

func (*DataplaneFeatureSupport) ProtoMessage()

func (*DataplaneFeatureSupport) ProtoReflect

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

func (*DataplaneFeatureSupport) Reset

func (x *DataplaneFeatureSupport) Reset()

func (*DataplaneFeatureSupport) String

func (x *DataplaneFeatureSupport) String() string

func (*DataplaneFeatureSupport) UnmarshalBinary

func (msg *DataplaneFeatureSupport) UnmarshalBinary(b []byte) error

UnmarshalBinary implements encoding.BinaryUnmarshaler

func (*DataplaneFeatureSupport) UnmarshalJSON added in v0.5.1

func (this *DataplaneFeatureSupport) UnmarshalJSON(b []byte) error

UnmarshalJSON is a custom unmarshaler for DataplaneFeatureSupport

type DataplaneFeatures

type DataplaneFeatures int32
const (
	DataplaneFeatures_DATAPLANE_FEATURES_UNSPECIFIED                   DataplaneFeatures = 0
	DataplaneFeatures_DATAPLANE_FEATURES_WATCH_SERVERS                 DataplaneFeatures = 1
	DataplaneFeatures_DATAPLANE_FEATURES_EDGE_CERTIFICATE_MANAGEMENT   DataplaneFeatures = 2
	DataplaneFeatures_DATAPLANE_FEATURES_ENVOY_BOOTSTRAP_CONFIGURATION DataplaneFeatures = 3
	DataplaneFeatures_DATAPLANE_FEATURES_FIPS                          DataplaneFeatures = 4
)

func (DataplaneFeatures) Descriptor

func (DataplaneFeatures) Enum

func (DataplaneFeatures) EnumDescriptor deprecated

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

Deprecated: Use DataplaneFeatures.Descriptor instead.

func (DataplaneFeatures) Number

func (DataplaneFeatures) String

func (x DataplaneFeatures) String() string

func (DataplaneFeatures) Type

type DataplaneServiceClient

type DataplaneServiceClient interface {
	GetSupportedDataplaneFeatures(ctx context.Context, in *GetSupportedDataplaneFeaturesRequest, opts ...grpc.CallOption) (*GetSupportedDataplaneFeaturesResponse, error)
	GetEnvoyBootstrapParams(ctx context.Context, in *GetEnvoyBootstrapParamsRequest, opts ...grpc.CallOption) (*GetEnvoyBootstrapParamsResponse, error)
}

DataplaneServiceClient is the client API for DataplaneService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewCloningDataplaneServiceClient added in v0.5.4

func NewCloningDataplaneServiceClient(client DataplaneServiceClient) DataplaneServiceClient

type DataplaneServiceServer

type DataplaneServiceServer interface {
	GetSupportedDataplaneFeatures(context.Context, *GetSupportedDataplaneFeaturesRequest) (*GetSupportedDataplaneFeaturesResponse, error)
	GetEnvoyBootstrapParams(context.Context, *GetEnvoyBootstrapParamsRequest) (*GetEnvoyBootstrapParamsResponse, error)
}

DataplaneServiceServer is the server API for DataplaneService service. All implementations should embed UnimplementedDataplaneServiceServer for forward compatibility

type GetEnvoyBootstrapParamsRequest

type GetEnvoyBootstrapParamsRequest struct {

	// Types that are assignable to NodeSpec:
	//
	//	*GetEnvoyBootstrapParamsRequest_NodeId
	//	*GetEnvoyBootstrapParamsRequest_NodeName
	NodeSpec isGetEnvoyBootstrapParamsRequest_NodeSpec `protobuf_oneof:"node_spec"`
	// The proxy service ID
	//
	// Deprecated: Marked as deprecated in pbdataplane/dataplane.proto.
	ServiceId string `protobuf:"bytes,3,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"`
	ProxyId   string `protobuf:"bytes,6,opt,name=proxy_id,json=proxyId,proto3" json:"proxy_id,omitempty"`
	Partition string `protobuf:"bytes,4,opt,name=partition,proto3" json:"partition,omitempty"`
	Namespace string `protobuf:"bytes,5,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// contains filtered or unexported fields
}

func (*GetEnvoyBootstrapParamsRequest) DeepCopy added in v0.5.1

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GetEnvoyBootstrapParamsRequest. Required by controller-gen.

func (*GetEnvoyBootstrapParamsRequest) DeepCopyInterface added in v0.5.1

func (in *GetEnvoyBootstrapParamsRequest) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new GetEnvoyBootstrapParamsRequest. Required by controller-gen.

func (*GetEnvoyBootstrapParamsRequest) DeepCopyInto added in v0.5.1

DeepCopyInto supports using GetEnvoyBootstrapParamsRequest within kubernetes types, where deepcopy-gen is used.

func (*GetEnvoyBootstrapParamsRequest) Descriptor deprecated

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

Deprecated: Use GetEnvoyBootstrapParamsRequest.ProtoReflect.Descriptor instead.

func (*GetEnvoyBootstrapParamsRequest) GetNamespace

func (x *GetEnvoyBootstrapParamsRequest) GetNamespace() string

func (*GetEnvoyBootstrapParamsRequest) GetNodeId

func (x *GetEnvoyBootstrapParamsRequest) GetNodeId() string

func (*GetEnvoyBootstrapParamsRequest) GetNodeName

func (x *GetEnvoyBootstrapParamsRequest) GetNodeName() string

func (*GetEnvoyBootstrapParamsRequest) GetNodeSpec

func (m *GetEnvoyBootstrapParamsRequest) GetNodeSpec() isGetEnvoyBootstrapParamsRequest_NodeSpec

func (*GetEnvoyBootstrapParamsRequest) GetPartition

func (x *GetEnvoyBootstrapParamsRequest) GetPartition() string

func (*GetEnvoyBootstrapParamsRequest) GetProxyId added in v0.5.1

func (x *GetEnvoyBootstrapParamsRequest) GetProxyId() string

func (*GetEnvoyBootstrapParamsRequest) GetServiceId deprecated

func (x *GetEnvoyBootstrapParamsRequest) GetServiceId() string

Deprecated: Marked as deprecated in pbdataplane/dataplane.proto.

func (*GetEnvoyBootstrapParamsRequest) MarshalBinary

func (msg *GetEnvoyBootstrapParamsRequest) MarshalBinary() ([]byte, error)

MarshalBinary implements encoding.BinaryMarshaler

func (*GetEnvoyBootstrapParamsRequest) MarshalJSON added in v0.5.1

func (this *GetEnvoyBootstrapParamsRequest) MarshalJSON() ([]byte, error)

MarshalJSON is a custom marshaler for GetEnvoyBootstrapParamsRequest

func (*GetEnvoyBootstrapParamsRequest) ProtoMessage

func (*GetEnvoyBootstrapParamsRequest) ProtoMessage()

func (*GetEnvoyBootstrapParamsRequest) ProtoReflect

func (*GetEnvoyBootstrapParamsRequest) Reset

func (x *GetEnvoyBootstrapParamsRequest) Reset()

func (*GetEnvoyBootstrapParamsRequest) String

func (*GetEnvoyBootstrapParamsRequest) UnmarshalBinary

func (msg *GetEnvoyBootstrapParamsRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary implements encoding.BinaryUnmarshaler

func (*GetEnvoyBootstrapParamsRequest) UnmarshalJSON added in v0.5.1

func (this *GetEnvoyBootstrapParamsRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON is a custom unmarshaler for GetEnvoyBootstrapParamsRequest

type GetEnvoyBootstrapParamsRequest_NodeId

type GetEnvoyBootstrapParamsRequest_NodeId struct {
	NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3,oneof"`
}

type GetEnvoyBootstrapParamsRequest_NodeName

type GetEnvoyBootstrapParamsRequest_NodeName struct {
	NodeName string `protobuf:"bytes,2,opt,name=node_name,json=nodeName,proto3,oneof"`
}

type GetEnvoyBootstrapParamsResponse

type GetEnvoyBootstrapParamsResponse struct {

	// deprecated: use identity instead.
	// service is used to identify the service (as the local cluster name and
	// in metric tags). If the service is a connect proxy it will be the name of
	// the proxy's destination service, for gateways it will be the gateway
	// service's name.
	//
	// Deprecated: Marked as deprecated in pbdataplane/dataplane.proto.
	Service string `protobuf:"bytes,2,opt,name=service,proto3" json:"service,omitempty"`
	// identity is used to identify this proxy (as the local cluster name and
	// in metric tags). For v1, this should be the service name.
	// If the service is a connect proxy it will be the name of
	// the proxy's destination service, for gateways it will be the gateway
	// service's name.
	Identity   string           `protobuf:"bytes,10,opt,name=identity,proto3" json:"identity,omitempty"`
	Namespace  string           `protobuf:"bytes,3,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Partition  string           `protobuf:"bytes,4,opt,name=partition,proto3" json:"partition,omitempty"`
	Datacenter string           `protobuf:"bytes,5,opt,name=datacenter,proto3" json:"datacenter,omitempty"`
	Config     *structpb.Struct `protobuf:"bytes,6,opt,name=config,proto3" json:"config,omitempty"`
	NodeName   string           `protobuf:"bytes,8,opt,name=node_name,json=nodeName,proto3" json:"node_name,omitempty"`
	AccessLogs []string         `protobuf:"bytes,9,rep,name=access_logs,json=accessLogs,proto3" json:"access_logs,omitempty"`
	// contains filtered or unexported fields
}

func (*GetEnvoyBootstrapParamsResponse) DeepCopy added in v0.5.1

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GetEnvoyBootstrapParamsResponse. Required by controller-gen.

func (*GetEnvoyBootstrapParamsResponse) DeepCopyInterface added in v0.5.1

func (in *GetEnvoyBootstrapParamsResponse) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new GetEnvoyBootstrapParamsResponse. Required by controller-gen.

func (*GetEnvoyBootstrapParamsResponse) DeepCopyInto added in v0.5.1

DeepCopyInto supports using GetEnvoyBootstrapParamsResponse within kubernetes types, where deepcopy-gen is used.

func (*GetEnvoyBootstrapParamsResponse) Descriptor deprecated

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

Deprecated: Use GetEnvoyBootstrapParamsResponse.ProtoReflect.Descriptor instead.

func (*GetEnvoyBootstrapParamsResponse) GetAccessLogs added in v0.3.0

func (x *GetEnvoyBootstrapParamsResponse) GetAccessLogs() []string

func (*GetEnvoyBootstrapParamsResponse) GetConfig

func (*GetEnvoyBootstrapParamsResponse) GetDatacenter

func (x *GetEnvoyBootstrapParamsResponse) GetDatacenter() string

func (*GetEnvoyBootstrapParamsResponse) GetIdentity added in v0.5.1

func (x *GetEnvoyBootstrapParamsResponse) GetIdentity() string

func (*GetEnvoyBootstrapParamsResponse) GetNamespace

func (x *GetEnvoyBootstrapParamsResponse) GetNamespace() string

func (*GetEnvoyBootstrapParamsResponse) GetNodeName

func (x *GetEnvoyBootstrapParamsResponse) GetNodeName() string

func (*GetEnvoyBootstrapParamsResponse) GetPartition

func (x *GetEnvoyBootstrapParamsResponse) GetPartition() string

func (*GetEnvoyBootstrapParamsResponse) GetService deprecated

func (x *GetEnvoyBootstrapParamsResponse) GetService() string

Deprecated: Marked as deprecated in pbdataplane/dataplane.proto.

func (*GetEnvoyBootstrapParamsResponse) MarshalBinary

func (msg *GetEnvoyBootstrapParamsResponse) MarshalBinary() ([]byte, error)

MarshalBinary implements encoding.BinaryMarshaler

func (*GetEnvoyBootstrapParamsResponse) MarshalJSON added in v0.5.1

func (this *GetEnvoyBootstrapParamsResponse) MarshalJSON() ([]byte, error)

MarshalJSON is a custom marshaler for GetEnvoyBootstrapParamsResponse

func (*GetEnvoyBootstrapParamsResponse) ProtoMessage

func (*GetEnvoyBootstrapParamsResponse) ProtoMessage()

func (*GetEnvoyBootstrapParamsResponse) ProtoReflect

func (*GetEnvoyBootstrapParamsResponse) Reset

func (*GetEnvoyBootstrapParamsResponse) String

func (*GetEnvoyBootstrapParamsResponse) UnmarshalBinary

func (msg *GetEnvoyBootstrapParamsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary implements encoding.BinaryUnmarshaler

func (*GetEnvoyBootstrapParamsResponse) UnmarshalJSON added in v0.5.1

func (this *GetEnvoyBootstrapParamsResponse) UnmarshalJSON(b []byte) error

UnmarshalJSON is a custom unmarshaler for GetEnvoyBootstrapParamsResponse

type GetSupportedDataplaneFeaturesRequest

type GetSupportedDataplaneFeaturesRequest struct {
	// contains filtered or unexported fields
}

func (*GetSupportedDataplaneFeaturesRequest) DeepCopy added in v0.5.1

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GetSupportedDataplaneFeaturesRequest. Required by controller-gen.

func (*GetSupportedDataplaneFeaturesRequest) DeepCopyInterface added in v0.5.1

func (in *GetSupportedDataplaneFeaturesRequest) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new GetSupportedDataplaneFeaturesRequest. Required by controller-gen.

func (*GetSupportedDataplaneFeaturesRequest) DeepCopyInto added in v0.5.1

DeepCopyInto supports using GetSupportedDataplaneFeaturesRequest within kubernetes types, where deepcopy-gen is used.

func (*GetSupportedDataplaneFeaturesRequest) Descriptor deprecated

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

Deprecated: Use GetSupportedDataplaneFeaturesRequest.ProtoReflect.Descriptor instead.

func (*GetSupportedDataplaneFeaturesRequest) MarshalBinary

func (msg *GetSupportedDataplaneFeaturesRequest) MarshalBinary() ([]byte, error)

MarshalBinary implements encoding.BinaryMarshaler

func (*GetSupportedDataplaneFeaturesRequest) MarshalJSON added in v0.5.1

func (this *GetSupportedDataplaneFeaturesRequest) MarshalJSON() ([]byte, error)

MarshalJSON is a custom marshaler for GetSupportedDataplaneFeaturesRequest

func (*GetSupportedDataplaneFeaturesRequest) ProtoMessage

func (*GetSupportedDataplaneFeaturesRequest) ProtoMessage()

func (*GetSupportedDataplaneFeaturesRequest) ProtoReflect

func (*GetSupportedDataplaneFeaturesRequest) Reset

func (*GetSupportedDataplaneFeaturesRequest) String

func (*GetSupportedDataplaneFeaturesRequest) UnmarshalBinary

func (msg *GetSupportedDataplaneFeaturesRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary implements encoding.BinaryUnmarshaler

func (*GetSupportedDataplaneFeaturesRequest) UnmarshalJSON added in v0.5.1

func (this *GetSupportedDataplaneFeaturesRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON is a custom unmarshaler for GetSupportedDataplaneFeaturesRequest

type GetSupportedDataplaneFeaturesResponse

type GetSupportedDataplaneFeaturesResponse struct {
	SupportedDataplaneFeatures []*DataplaneFeatureSupport `` /* 141-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*GetSupportedDataplaneFeaturesResponse) DeepCopy added in v0.5.1

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GetSupportedDataplaneFeaturesResponse. Required by controller-gen.

func (*GetSupportedDataplaneFeaturesResponse) DeepCopyInterface added in v0.5.1

func (in *GetSupportedDataplaneFeaturesResponse) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new GetSupportedDataplaneFeaturesResponse. Required by controller-gen.

func (*GetSupportedDataplaneFeaturesResponse) DeepCopyInto added in v0.5.1

DeepCopyInto supports using GetSupportedDataplaneFeaturesResponse within kubernetes types, where deepcopy-gen is used.

func (*GetSupportedDataplaneFeaturesResponse) Descriptor deprecated

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

Deprecated: Use GetSupportedDataplaneFeaturesResponse.ProtoReflect.Descriptor instead.

func (*GetSupportedDataplaneFeaturesResponse) GetSupportedDataplaneFeatures

func (x *GetSupportedDataplaneFeaturesResponse) GetSupportedDataplaneFeatures() []*DataplaneFeatureSupport

func (*GetSupportedDataplaneFeaturesResponse) MarshalBinary

func (msg *GetSupportedDataplaneFeaturesResponse) MarshalBinary() ([]byte, error)

MarshalBinary implements encoding.BinaryMarshaler

func (*GetSupportedDataplaneFeaturesResponse) MarshalJSON added in v0.5.1

func (this *GetSupportedDataplaneFeaturesResponse) MarshalJSON() ([]byte, error)

MarshalJSON is a custom marshaler for GetSupportedDataplaneFeaturesResponse

func (*GetSupportedDataplaneFeaturesResponse) ProtoMessage

func (*GetSupportedDataplaneFeaturesResponse) ProtoMessage()

func (*GetSupportedDataplaneFeaturesResponse) ProtoReflect

func (*GetSupportedDataplaneFeaturesResponse) Reset

func (*GetSupportedDataplaneFeaturesResponse) String

func (*GetSupportedDataplaneFeaturesResponse) UnmarshalBinary

func (msg *GetSupportedDataplaneFeaturesResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary implements encoding.BinaryUnmarshaler

func (*GetSupportedDataplaneFeaturesResponse) UnmarshalJSON added in v0.5.1

func (this *GetSupportedDataplaneFeaturesResponse) UnmarshalJSON(b []byte) error

UnmarshalJSON is a custom unmarshaler for GetSupportedDataplaneFeaturesResponse

type IsCloningDataplaneServiceClient added in v0.5.4

type IsCloningDataplaneServiceClient interface {
	IsCloningDataplaneServiceClient() bool
}

IsCloningDataplaneServiceClient is an interface that can be used to detect that a DataplaneServiceClient is using the in-memory transport and has already been wrapped with a with a CloningDataplaneServiceClient.

type ServiceKind

type ServiceKind int32
const (
	// ServiceKind UNSPECIFIED is a sentinel value for when a request
	// did not specify a service kind. This will be treated the same
	// as if TYPICAL was explicitly used.
	ServiceKind_SERVICE_KIND_UNSPECIFIED ServiceKind = 0
	// ServiceKind Typical is a typical, classic Consul service. This is
	// represented by the absence of a value. This was chosen for ease of
	// backwards compatibility: existing services in the catalog would
	// default to the typical service.
	ServiceKind_SERVICE_KIND_TYPICAL ServiceKind = 1
	// ServiceKind Connect Proxy is a proxy for the Connect feature. This
	// service proxies another service within Consul and speaks the connect
	// protocol.
	ServiceKind_SERVICE_KIND_CONNECT_PROXY ServiceKind = 2
	// ServiceKind Mesh Gateway is a Mesh Gateway for the Connect feature. This
	// service will proxy connections based off the SNI header set by other
	// connect proxies.
	ServiceKind_SERVICE_KIND_MESH_GATEWAY ServiceKind = 3
	// ServiceKind Terminating Gateway is a Terminating Gateway for the Connect
	// feature. This service will proxy connections to services outside the mesh.
	ServiceKind_SERVICE_KIND_TERMINATING_GATEWAY ServiceKind = 4
	// ServiceKind Ingress Gateway is an Ingress Gateway for the Connect feature.
	// This service will ingress connections into the service mesh.
	ServiceKind_SERVICE_KIND_INGRESS_GATEWAY ServiceKind = 5
	// ServiceKind API Gateway is an API Gateway for the Connect feature.
	// This service will ingress connections in to the service mesh.
	ServiceKind_SERVICE_KIND_API_GATEWAY ServiceKind = 6
)

func (ServiceKind) Descriptor

func (ServiceKind) Enum

func (x ServiceKind) Enum() *ServiceKind

func (ServiceKind) EnumDescriptor deprecated

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

Deprecated: Use ServiceKind.Descriptor instead.

func (ServiceKind) Number

func (x ServiceKind) Number() protoreflect.EnumNumber

func (ServiceKind) String

func (x ServiceKind) String() string

func (ServiceKind) Type

type UnimplementedDataplaneServiceServer

type UnimplementedDataplaneServiceServer struct {
}

UnimplementedDataplaneServiceServer should be embedded to have forward compatible implementations.

type UnsafeDataplaneServiceServer

type UnsafeDataplaneServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeDataplaneServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DataplaneServiceServer will result in compilation errors.

Jump to

Keyboard shortcuts

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