directoryv1alpha1connect

package
v1.65.0 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2024 License: MIT Imports: 6 Imported by: 1

Documentation

Index

Constants

View Source
const (
	// DirectoryServiceQueryUsersProcedure is the fully-qualified name of the DirectoryService's
	// QueryUsers RPC.
	DirectoryServiceQueryUsersProcedure = "/commonfate.control.directory.v1alpha1.DirectoryService/QueryUsers"
	// DirectoryServiceGetUserProcedure is the fully-qualified name of the DirectoryService's GetUser
	// RPC.
	DirectoryServiceGetUserProcedure = "/commonfate.control.directory.v1alpha1.DirectoryService/GetUser"
	// DirectoryServiceQueryGroupsProcedure is the fully-qualified name of the DirectoryService's
	// QueryGroups RPC.
	DirectoryServiceQueryGroupsProcedure = "/commonfate.control.directory.v1alpha1.DirectoryService/QueryGroups"
	// DirectoryServiceGetGroupProcedure is the fully-qualified name of the DirectoryService's GetGroup
	// RPC.
	DirectoryServiceGetGroupProcedure = "/commonfate.control.directory.v1alpha1.DirectoryService/GetGroup"
	// DirectoryServiceQueryGroupMembersProcedure is the fully-qualified name of the DirectoryService's
	// QueryGroupMembers RPC.
	DirectoryServiceQueryGroupMembersProcedure = "/commonfate.control.directory.v1alpha1.DirectoryService/QueryGroupMembers"
	// DirectoryServiceQueryChildGroupsProcedure is the fully-qualified name of the DirectoryService's
	// QueryChildGroups RPC.
	DirectoryServiceQueryChildGroupsProcedure = "/commonfate.control.directory.v1alpha1.DirectoryService/QueryChildGroups"
	// DirectoryServiceQueryGroupsForUserProcedure is the fully-qualified name of the DirectoryService's
	// QueryGroupsForUser RPC.
	DirectoryServiceQueryGroupsForUserProcedure = "/commonfate.control.directory.v1alpha1.DirectoryService/QueryGroupsForUser"
	// DirectoryServiceLookupUserAccountProcedure is the fully-qualified name of the DirectoryService's
	// LookupUserAccount RPC.
	DirectoryServiceLookupUserAccountProcedure = "/commonfate.control.directory.v1alpha1.DirectoryService/LookupUserAccount"
	// DirectoryServiceDeleteUserProcedure is the fully-qualified name of the DirectoryService's
	// DeleteUser RPC.
	DirectoryServiceDeleteUserProcedure = "/commonfate.control.directory.v1alpha1.DirectoryService/DeleteUser"
)

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 (
	// DirectoryServiceName is the fully-qualified name of the DirectoryService service.
	DirectoryServiceName = "commonfate.control.directory.v1alpha1.DirectoryService"
)

Variables

This section is empty.

Functions

func NewDirectoryServiceHandler

func NewDirectoryServiceHandler(svc DirectoryServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)

NewDirectoryServiceHandler 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 DirectoryServiceClient

DirectoryServiceClient is a client for the commonfate.control.directory.v1alpha1.DirectoryService service.

func NewDirectoryServiceClient

func NewDirectoryServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) DirectoryServiceClient

NewDirectoryServiceClient constructs a client for the commonfate.control.directory.v1alpha1.DirectoryService 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 DirectoryServiceHandler

DirectoryServiceHandler is an implementation of the commonfate.control.directory.v1alpha1.DirectoryService service.

type UnimplementedDirectoryServiceHandler

type UnimplementedDirectoryServiceHandler struct{}

UnimplementedDirectoryServiceHandler returns CodeUnimplemented from all methods.

func (UnimplementedDirectoryServiceHandler) DeleteUser added in v1.59.0

Jump to

Keyboard shortcuts

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