control_planeconnect

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// TrustMaterialServiceChainsProcedure is the fully-qualified name of the TrustMaterialService's
	// Chains RPC.
	TrustMaterialServiceChainsProcedure = "/proto.control_plane.v1.TrustMaterialService/Chains"
	// TrustMaterialServiceTRCProcedure is the fully-qualified name of the TrustMaterialService's TRC
	// RPC.
	TrustMaterialServiceTRCProcedure = "/proto.control_plane.v1.TrustMaterialService/TRC"
)

These constants are the fully-qualified names of the RPCs defined in this package. They're exposed at runtime as Spec.Procedure and as the final two segments of the HTTP route.

Note that these are different from the fully-qualified method names used by google.golang.org/protobuf/reflect/protoreflect. To convert from these constants to reflection-formatted method names, remove the leading slash and convert the remaining slash to a period.

View Source
const (
	// DRKeyInterServiceName is the fully-qualified name of the DRKeyInterService service.
	DRKeyInterServiceName = "proto.control_plane.v1.DRKeyInterService"
	// DRKeyIntraServiceName is the fully-qualified name of the DRKeyIntraService service.
	DRKeyIntraServiceName = "proto.control_plane.v1.DRKeyIntraService"
)
View Source
const (
	// DRKeyInterServiceDRKeyLevel1Procedure is the fully-qualified name of the DRKeyInterService's
	// DRKeyLevel1 RPC.
	DRKeyInterServiceDRKeyLevel1Procedure = "/proto.control_plane.v1.DRKeyInterService/DRKeyLevel1"
	// DRKeyIntraServiceDRKeyIntraLevel1Procedure is the fully-qualified name of the DRKeyIntraService's
	// DRKeyIntraLevel1 RPC.
	DRKeyIntraServiceDRKeyIntraLevel1Procedure = "/proto.control_plane.v1.DRKeyIntraService/DRKeyIntraLevel1"
	// DRKeyIntraServiceDRKeyASHostProcedure is the fully-qualified name of the DRKeyIntraService's
	// DRKeyASHost RPC.
	DRKeyIntraServiceDRKeyASHostProcedure = "/proto.control_plane.v1.DRKeyIntraService/DRKeyASHost"
	// DRKeyIntraServiceDRKeyHostASProcedure is the fully-qualified name of the DRKeyIntraService's
	// DRKeyHostAS RPC.
	DRKeyIntraServiceDRKeyHostASProcedure = "/proto.control_plane.v1.DRKeyIntraService/DRKeyHostAS"
	// DRKeyIntraServiceDRKeyHostHostProcedure is the fully-qualified name of the DRKeyIntraService's
	// DRKeyHostHost RPC.
	DRKeyIntraServiceDRKeyHostHostProcedure = "/proto.control_plane.v1.DRKeyIntraService/DRKeyHostHost"
	// DRKeyIntraServiceDRKeySecretValueProcedure is the fully-qualified name of the DRKeyIntraService's
	// DRKeySecretValue RPC.
	DRKeyIntraServiceDRKeySecretValueProcedure = "/proto.control_plane.v1.DRKeyIntraService/DRKeySecretValue"
)

These constants are the fully-qualified names of the RPCs defined in this package. They're exposed at runtime as Spec.Procedure and as the final two segments of the HTTP route.

Note that these are different from the fully-qualified method names used by google.golang.org/protobuf/reflect/protoreflect. To convert from these constants to reflection-formatted method names, remove the leading slash and convert the remaining slash to a period.

View Source
const (
	// SegmentLookupServiceName is the fully-qualified name of the SegmentLookupService service.
	SegmentLookupServiceName = "proto.control_plane.v1.SegmentLookupService"
	// SegmentRegistrationServiceName is the fully-qualified name of the SegmentRegistrationService
	// service.
	SegmentRegistrationServiceName = "proto.control_plane.v1.SegmentRegistrationService"
	// SegmentCreationServiceName is the fully-qualified name of the SegmentCreationService service.
	SegmentCreationServiceName = "proto.control_plane.v1.SegmentCreationService"
)
View Source
const (
	// SegmentLookupServiceSegmentsProcedure is the fully-qualified name of the SegmentLookupService's
	// Segments RPC.
	SegmentLookupServiceSegmentsProcedure = "/proto.control_plane.v1.SegmentLookupService/Segments"
	// SegmentRegistrationServiceSegmentsRegistrationProcedure is the fully-qualified name of the
	// SegmentRegistrationService's SegmentsRegistration RPC.
	SegmentRegistrationServiceSegmentsRegistrationProcedure = "/proto.control_plane.v1.SegmentRegistrationService/SegmentsRegistration"
	// SegmentCreationServiceBeaconProcedure is the fully-qualified name of the SegmentCreationService's
	// Beacon RPC.
	SegmentCreationServiceBeaconProcedure = "/proto.control_plane.v1.SegmentCreationService/Beacon"
)

These constants are the fully-qualified names of the RPCs defined in this package. They're exposed at runtime as Spec.Procedure and as the final two segments of the HTTP route.

Note that these are different from the fully-qualified method names used by google.golang.org/protobuf/reflect/protoreflect. To convert from these constants to reflection-formatted method names, remove the leading slash and convert the remaining slash to a period.

View Source
const (
	// ChainRenewalServiceChainRenewalProcedure is the fully-qualified name of the ChainRenewalService's
	// ChainRenewal RPC.
	ChainRenewalServiceChainRenewalProcedure = "/proto.control_plane.v1.ChainRenewalService/ChainRenewal"
)

These constants are the fully-qualified names of the RPCs defined in this package. They're exposed at runtime as Spec.Procedure and as the final two segments of the HTTP route.

Note that these are different from the fully-qualified method names used by google.golang.org/protobuf/reflect/protoreflect. To convert from these constants to reflection-formatted method names, remove the leading slash and convert the remaining slash to a period.

View Source
const (
	// ChainRenewalServiceName is the fully-qualified name of the ChainRenewalService service.
	ChainRenewalServiceName = "proto.control_plane.v1.ChainRenewalService"
)
View Source
const (
	// TrustMaterialServiceName is the fully-qualified name of the TrustMaterialService service.
	TrustMaterialServiceName = "proto.control_plane.v1.TrustMaterialService"
)

Variables

This section is empty.

Functions

func NewChainRenewalServiceHandler

func NewChainRenewalServiceHandler(svc ChainRenewalServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)

NewChainRenewalServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.

By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.

func NewDRKeyInterServiceHandler

func NewDRKeyInterServiceHandler(svc DRKeyInterServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)

NewDRKeyInterServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.

By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.

func NewDRKeyIntraServiceHandler

func NewDRKeyIntraServiceHandler(svc DRKeyIntraServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)

NewDRKeyIntraServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.

By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.

func NewSegmentCreationServiceHandler

func NewSegmentCreationServiceHandler(svc SegmentCreationServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)

NewSegmentCreationServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.

By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.

func NewSegmentLookupServiceHandler

func NewSegmentLookupServiceHandler(svc SegmentLookupServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)

NewSegmentLookupServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.

By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.

func NewSegmentRegistrationServiceHandler

func NewSegmentRegistrationServiceHandler(svc SegmentRegistrationServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)

NewSegmentRegistrationServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.

By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.

func NewTrustMaterialServiceHandler

func NewTrustMaterialServiceHandler(svc TrustMaterialServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)

NewTrustMaterialServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.

By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.

Types

type ChainRenewalServiceClient

type ChainRenewalServiceClient interface {
	ChainRenewal(context.Context, *connect.Request[control_plane.ChainRenewalRequest]) (*connect.Response[control_plane.ChainRenewalResponse], error)
}

ChainRenewalServiceClient is a client for the proto.control_plane.v1.ChainRenewalService service.

func NewChainRenewalServiceClient

func NewChainRenewalServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) ChainRenewalServiceClient

NewChainRenewalServiceClient constructs a client for the proto.control_plane.v1.ChainRenewalService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.

The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).

type ChainRenewalServiceHandler

type ChainRenewalServiceHandler interface {
	ChainRenewal(context.Context, *connect.Request[control_plane.ChainRenewalRequest]) (*connect.Response[control_plane.ChainRenewalResponse], error)
}

ChainRenewalServiceHandler is an implementation of the proto.control_plane.v1.ChainRenewalService service.

type DRKeyInterServiceClient

type DRKeyInterServiceClient interface {
	DRKeyLevel1(context.Context, *connect.Request[control_plane.DRKeyLevel1Request]) (*connect.Response[control_plane.DRKeyLevel1Response], error)
}

DRKeyInterServiceClient is a client for the proto.control_plane.v1.DRKeyInterService service.

func NewDRKeyInterServiceClient

func NewDRKeyInterServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) DRKeyInterServiceClient

NewDRKeyInterServiceClient constructs a client for the proto.control_plane.v1.DRKeyInterService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.

The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).

type DRKeyInterServiceHandler

type DRKeyInterServiceHandler interface {
	DRKeyLevel1(context.Context, *connect.Request[control_plane.DRKeyLevel1Request]) (*connect.Response[control_plane.DRKeyLevel1Response], error)
}

DRKeyInterServiceHandler is an implementation of the proto.control_plane.v1.DRKeyInterService service.

type DRKeyIntraServiceClient

DRKeyIntraServiceClient is a client for the proto.control_plane.v1.DRKeyIntraService service.

func NewDRKeyIntraServiceClient

func NewDRKeyIntraServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) DRKeyIntraServiceClient

NewDRKeyIntraServiceClient constructs a client for the proto.control_plane.v1.DRKeyIntraService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.

The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).

type SegmentCreationServiceClient

type SegmentCreationServiceClient interface {
	Beacon(context.Context, *connect.Request[control_plane.BeaconRequest]) (*connect.Response[control_plane.BeaconResponse], error)
}

SegmentCreationServiceClient is a client for the proto.control_plane.v1.SegmentCreationService service.

func NewSegmentCreationServiceClient

func NewSegmentCreationServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) SegmentCreationServiceClient

NewSegmentCreationServiceClient constructs a client for the proto.control_plane.v1.SegmentCreationService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.

The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).

type SegmentCreationServiceHandler

type SegmentCreationServiceHandler interface {
	Beacon(context.Context, *connect.Request[control_plane.BeaconRequest]) (*connect.Response[control_plane.BeaconResponse], error)
}

SegmentCreationServiceHandler is an implementation of the proto.control_plane.v1.SegmentCreationService service.

type SegmentLookupServiceClient

type SegmentLookupServiceClient interface {
	Segments(context.Context, *connect.Request[control_plane.SegmentsRequest]) (*connect.Response[control_plane.SegmentsResponse], error)
}

SegmentLookupServiceClient is a client for the proto.control_plane.v1.SegmentLookupService service.

func NewSegmentLookupServiceClient

func NewSegmentLookupServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) SegmentLookupServiceClient

NewSegmentLookupServiceClient constructs a client for the proto.control_plane.v1.SegmentLookupService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.

The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).

type SegmentLookupServiceHandler

type SegmentLookupServiceHandler interface {
	Segments(context.Context, *connect.Request[control_plane.SegmentsRequest]) (*connect.Response[control_plane.SegmentsResponse], error)
}

SegmentLookupServiceHandler is an implementation of the proto.control_plane.v1.SegmentLookupService service.

type SegmentRegistrationServiceClient

type SegmentRegistrationServiceClient interface {
	SegmentsRegistration(context.Context, *connect.Request[control_plane.SegmentsRegistrationRequest]) (*connect.Response[control_plane.SegmentsRegistrationResponse], error)
}

SegmentRegistrationServiceClient is a client for the proto.control_plane.v1.SegmentRegistrationService service.

func NewSegmentRegistrationServiceClient

func NewSegmentRegistrationServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) SegmentRegistrationServiceClient

NewSegmentRegistrationServiceClient constructs a client for the proto.control_plane.v1.SegmentRegistrationService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.

The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).

type SegmentRegistrationServiceHandler

type SegmentRegistrationServiceHandler interface {
	SegmentsRegistration(context.Context, *connect.Request[control_plane.SegmentsRegistrationRequest]) (*connect.Response[control_plane.SegmentsRegistrationResponse], error)
}

SegmentRegistrationServiceHandler is an implementation of the proto.control_plane.v1.SegmentRegistrationService service.

type TrustMaterialServiceClient

TrustMaterialServiceClient is a client for the proto.control_plane.v1.TrustMaterialService service.

func NewTrustMaterialServiceClient

func NewTrustMaterialServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) TrustMaterialServiceClient

NewTrustMaterialServiceClient constructs a client for the proto.control_plane.v1.TrustMaterialService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.

The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).

type TrustMaterialServiceHandler

TrustMaterialServiceHandler is an implementation of the proto.control_plane.v1.TrustMaterialService service.

type UnimplementedChainRenewalServiceHandler

type UnimplementedChainRenewalServiceHandler struct{}

UnimplementedChainRenewalServiceHandler returns CodeUnimplemented from all methods.

type UnimplementedDRKeyInterServiceHandler

type UnimplementedDRKeyInterServiceHandler struct{}

UnimplementedDRKeyInterServiceHandler returns CodeUnimplemented from all methods.

type UnimplementedDRKeyIntraServiceHandler

type UnimplementedDRKeyIntraServiceHandler struct{}

UnimplementedDRKeyIntraServiceHandler returns CodeUnimplemented from all methods.

type UnimplementedSegmentCreationServiceHandler

type UnimplementedSegmentCreationServiceHandler struct{}

UnimplementedSegmentCreationServiceHandler returns CodeUnimplemented from all methods.

type UnimplementedSegmentLookupServiceHandler

type UnimplementedSegmentLookupServiceHandler struct{}

UnimplementedSegmentLookupServiceHandler returns CodeUnimplemented from all methods.

type UnimplementedSegmentRegistrationServiceHandler

type UnimplementedSegmentRegistrationServiceHandler struct{}

UnimplementedSegmentRegistrationServiceHandler returns CodeUnimplemented from all methods.

type UnimplementedTrustMaterialServiceHandler

type UnimplementedTrustMaterialServiceHandler struct{}

UnimplementedTrustMaterialServiceHandler returns CodeUnimplemented from all methods.

Jump to

Keyboard shortcuts

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