Documentation ¶
Index ¶
- Constants
- func NewExileCertificateManagerServiceHandler(svc ExileCertificateManagerServiceHandler, opts ...connect_go.HandlerOption) (string, http.Handler)
- type ExileCertificateManagerServiceClient
- type ExileCertificateManagerServiceHandler
- type UnimplementedExileCertificateManagerServiceHandler
- func (UnimplementedExileCertificateManagerServiceHandler) AssignExileConfiguration(context.Context, *connect_go.Request[v1alpha1.AssignExileConfigurationRequest]) (*connect_go.Response[v1alpha1.AssignExileConfigurationResponse], error)
- func (UnimplementedExileCertificateManagerServiceHandler) CreateExileCertificate(context.Context, *connect_go.Request[v1alpha1.CreateExileCertificateRequest]) (*connect_go.Response[v1alpha1.CreateExileCertificateResponse], error)
- func (UnimplementedExileCertificateManagerServiceHandler) CreateExileConfiguration(context.Context, *connect_go.Request[v1alpha1.CreateExileConfigurationRequest]) (*connect_go.Response[v1alpha1.CreateExileConfigurationResponse], error)
- func (UnimplementedExileCertificateManagerServiceHandler) DeleteExileConfiguration(context.Context, *connect_go.Request[v1alpha1.DeleteExileConfigurationRequest]) (*connect_go.Response[v1alpha1.DeleteExileConfigurationResponse], error)
- func (UnimplementedExileCertificateManagerServiceHandler) ListExileCertificates(context.Context, *connect_go.Request[v1alpha1.ListExileCertificatesRequest]) (*connect_go.Response[v1alpha1.ListExileCertificatesResponse], error)
- func (UnimplementedExileCertificateManagerServiceHandler) ListExileConfigurations(context.Context, *connect_go.Request[v1alpha1.ListExileConfigurationsRequest]) (*connect_go.Response[v1alpha1.ListExileConfigurationsResponse], error)
- func (UnimplementedExileCertificateManagerServiceHandler) RevokeExileCertificate(context.Context, *connect_go.Request[v1alpha1.RevokeExileCertificateRequest]) (*connect_go.Response[v1alpha1.RevokeExileCertificateResponse], error)
- func (UnimplementedExileCertificateManagerServiceHandler) UnassignExileConfiguration(context.Context, ...) (*connect_go.Response[v1alpha1.UnassignExileConfigurationResponse], error)
- func (UnimplementedExileCertificateManagerServiceHandler) UpdateExileConfiguration(context.Context, *connect_go.Request[v1alpha1.UpdateExileConfigurationRequest]) (*connect_go.Response[v1alpha1.UpdateExileConfigurationResponse], error)
Constants ¶
const ( // ExileCertificateManagerServiceCreateExileCertificateProcedure is the fully-qualified name of the // ExileCertificateManagerService's CreateExileCertificate RPC. ExileCertificateManagerServiceCreateExileCertificateProcedure = "/services.org.exile_certificate_manager.v1alpha1.ExileCertificateManagerService/CreateExileCertificate" // ExileCertificateManagerServiceRevokeExileCertificateProcedure is the fully-qualified name of the // ExileCertificateManagerService's RevokeExileCertificate RPC. ExileCertificateManagerServiceRevokeExileCertificateProcedure = "/services.org.exile_certificate_manager.v1alpha1.ExileCertificateManagerService/RevokeExileCertificate" // ExileCertificateManagerServiceAssignExileConfigurationProcedure is the fully-qualified name of // the ExileCertificateManagerService's AssignExileConfiguration RPC. ExileCertificateManagerServiceAssignExileConfigurationProcedure = "/services.org.exile_certificate_manager.v1alpha1.ExileCertificateManagerService/AssignExileConfiguration" // ExileCertificateManagerServiceUnassignExileConfigurationProcedure is the fully-qualified name of // the ExileCertificateManagerService's UnassignExileConfiguration RPC. ExileCertificateManagerServiceUnassignExileConfigurationProcedure = "/services.org.exile_certificate_manager.v1alpha1.ExileCertificateManagerService/UnassignExileConfiguration" // ExileCertificateManagerServiceListExileCertificatesProcedure is the fully-qualified name of the // ExileCertificateManagerService's ListExileCertificates RPC. ExileCertificateManagerServiceListExileCertificatesProcedure = "/services.org.exile_certificate_manager.v1alpha1.ExileCertificateManagerService/ListExileCertificates" // ExileCertificateManagerServiceCreateExileConfigurationProcedure is the fully-qualified name of // the ExileCertificateManagerService's CreateExileConfiguration RPC. ExileCertificateManagerServiceCreateExileConfigurationProcedure = "/services.org.exile_certificate_manager.v1alpha1.ExileCertificateManagerService/CreateExileConfiguration" // ExileCertificateManagerServiceUpdateExileConfigurationProcedure is the fully-qualified name of // the ExileCertificateManagerService's UpdateExileConfiguration RPC. ExileCertificateManagerServiceUpdateExileConfigurationProcedure = "/services.org.exile_certificate_manager.v1alpha1.ExileCertificateManagerService/UpdateExileConfiguration" // ExileCertificateManagerServiceDeleteExileConfigurationProcedure is the fully-qualified name of // the ExileCertificateManagerService's DeleteExileConfiguration RPC. ExileCertificateManagerServiceDeleteExileConfigurationProcedure = "/services.org.exile_certificate_manager.v1alpha1.ExileCertificateManagerService/DeleteExileConfiguration" // ExileCertificateManagerServiceListExileConfigurationsProcedure is the fully-qualified name of the // ExileCertificateManagerService's ListExileConfigurations RPC. ExileCertificateManagerServiceListExileConfigurationsProcedure = "/services.org.exile_certificate_manager.v1alpha1.ExileCertificateManagerService/ListExileConfigurations" )
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.
const ( // ExileCertificateManagerServiceName is the fully-qualified name of the // ExileCertificateManagerService service. ExileCertificateManagerServiceName = "services.org.exile_certificate_manager.v1alpha1.ExileCertificateManagerService" )
Variables ¶
This section is empty.
Functions ¶
func NewExileCertificateManagerServiceHandler ¶
func NewExileCertificateManagerServiceHandler(svc ExileCertificateManagerServiceHandler, opts ...connect_go.HandlerOption) (string, http.Handler)
NewExileCertificateManagerServiceHandler 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 ExileCertificateManagerServiceClient ¶
type ExileCertificateManagerServiceClient interface { // CreateExileCertificate creates a new TLS certificate and // returns the exile ceritificate for the current organization. CreateExileCertificate(context.Context, *connect_go.Request[v1alpha1.CreateExileCertificateRequest]) (*connect_go.Response[v1alpha1.CreateExileCertificateResponse], error) // RevokeExileCertificate deletes a exile ceritificate for the current organization. RevokeExileCertificate(context.Context, *connect_go.Request[v1alpha1.RevokeExileCertificateRequest]) (*connect_go.Response[v1alpha1.RevokeExileCertificateResponse], error) // AssignExileConfiguration assigns a configuration to a certificate. AssignExileConfiguration(context.Context, *connect_go.Request[v1alpha1.AssignExileConfigurationRequest]) (*connect_go.Response[v1alpha1.AssignExileConfigurationResponse], error) // UnassignExileConfiguration unassigns a configuration from a certificate. UnassignExileConfiguration(context.Context, *connect_go.Request[v1alpha1.UnassignExileConfigurationRequest]) (*connect_go.Response[v1alpha1.UnassignExileConfigurationResponse], error) // ListExileCertificates returns a list of exile ceritificate for the current organization. ListExileCertificates(context.Context, *connect_go.Request[v1alpha1.ListExileCertificatesRequest]) (*connect_go.Response[v1alpha1.ListExileCertificatesResponse], error) // CreateExileConfiguration creates a new exile configuration for the current organization. CreateExileConfiguration(context.Context, *connect_go.Request[v1alpha1.CreateExileConfigurationRequest]) (*connect_go.Response[v1alpha1.CreateExileConfigurationResponse], error) // UpdateExileConfiguration updates a exile configuration for the current organization. UpdateExileConfiguration(context.Context, *connect_go.Request[v1alpha1.UpdateExileConfigurationRequest]) (*connect_go.Response[v1alpha1.UpdateExileConfigurationResponse], error) // DeleteExileConfiguration deletes a exile configuration for the current organization. // The configuration can only be deleted if it is not assigned to any certificates. DeleteExileConfiguration(context.Context, *connect_go.Request[v1alpha1.DeleteExileConfigurationRequest]) (*connect_go.Response[v1alpha1.DeleteExileConfigurationResponse], error) // ListExileConfigurations returns a list of exile configurations for the current organization. ListExileConfigurations(context.Context, *connect_go.Request[v1alpha1.ListExileConfigurationsRequest]) (*connect_go.Response[v1alpha1.ListExileConfigurationsResponse], error) }
ExileCertificateManagerServiceClient is a client for the services.org.exile_certificate_manager.v1alpha1.ExileCertificateManagerService service.
func NewExileCertificateManagerServiceClient ¶
func NewExileCertificateManagerServiceClient(httpClient connect_go.HTTPClient, baseURL string, opts ...connect_go.ClientOption) ExileCertificateManagerServiceClient
NewExileCertificateManagerServiceClient constructs a client for the services.org.exile_certificate_manager.v1alpha1.ExileCertificateManagerService 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 ExileCertificateManagerServiceHandler ¶
type ExileCertificateManagerServiceHandler interface { // CreateExileCertificate creates a new TLS certificate and // returns the exile ceritificate for the current organization. CreateExileCertificate(context.Context, *connect_go.Request[v1alpha1.CreateExileCertificateRequest]) (*connect_go.Response[v1alpha1.CreateExileCertificateResponse], error) // RevokeExileCertificate deletes a exile ceritificate for the current organization. RevokeExileCertificate(context.Context, *connect_go.Request[v1alpha1.RevokeExileCertificateRequest]) (*connect_go.Response[v1alpha1.RevokeExileCertificateResponse], error) // AssignExileConfiguration assigns a configuration to a certificate. AssignExileConfiguration(context.Context, *connect_go.Request[v1alpha1.AssignExileConfigurationRequest]) (*connect_go.Response[v1alpha1.AssignExileConfigurationResponse], error) // UnassignExileConfiguration unassigns a configuration from a certificate. UnassignExileConfiguration(context.Context, *connect_go.Request[v1alpha1.UnassignExileConfigurationRequest]) (*connect_go.Response[v1alpha1.UnassignExileConfigurationResponse], error) // ListExileCertificates returns a list of exile ceritificate for the current organization. ListExileCertificates(context.Context, *connect_go.Request[v1alpha1.ListExileCertificatesRequest]) (*connect_go.Response[v1alpha1.ListExileCertificatesResponse], error) // CreateExileConfiguration creates a new exile configuration for the current organization. CreateExileConfiguration(context.Context, *connect_go.Request[v1alpha1.CreateExileConfigurationRequest]) (*connect_go.Response[v1alpha1.CreateExileConfigurationResponse], error) // UpdateExileConfiguration updates a exile configuration for the current organization. UpdateExileConfiguration(context.Context, *connect_go.Request[v1alpha1.UpdateExileConfigurationRequest]) (*connect_go.Response[v1alpha1.UpdateExileConfigurationResponse], error) // DeleteExileConfiguration deletes a exile configuration for the current organization. // The configuration can only be deleted if it is not assigned to any certificates. DeleteExileConfiguration(context.Context, *connect_go.Request[v1alpha1.DeleteExileConfigurationRequest]) (*connect_go.Response[v1alpha1.DeleteExileConfigurationResponse], error) // ListExileConfigurations returns a list of exile configurations for the current organization. ListExileConfigurations(context.Context, *connect_go.Request[v1alpha1.ListExileConfigurationsRequest]) (*connect_go.Response[v1alpha1.ListExileConfigurationsResponse], error) }
ExileCertificateManagerServiceHandler is an implementation of the services.org.exile_certificate_manager.v1alpha1.ExileCertificateManagerService service.
type UnimplementedExileCertificateManagerServiceHandler ¶
type UnimplementedExileCertificateManagerServiceHandler struct{}
UnimplementedExileCertificateManagerServiceHandler returns CodeUnimplemented from all methods.
func (UnimplementedExileCertificateManagerServiceHandler) AssignExileConfiguration ¶
func (UnimplementedExileCertificateManagerServiceHandler) AssignExileConfiguration(context.Context, *connect_go.Request[v1alpha1.AssignExileConfigurationRequest]) (*connect_go.Response[v1alpha1.AssignExileConfigurationResponse], error)
func (UnimplementedExileCertificateManagerServiceHandler) CreateExileCertificate ¶
func (UnimplementedExileCertificateManagerServiceHandler) CreateExileCertificate(context.Context, *connect_go.Request[v1alpha1.CreateExileCertificateRequest]) (*connect_go.Response[v1alpha1.CreateExileCertificateResponse], error)
func (UnimplementedExileCertificateManagerServiceHandler) CreateExileConfiguration ¶
func (UnimplementedExileCertificateManagerServiceHandler) CreateExileConfiguration(context.Context, *connect_go.Request[v1alpha1.CreateExileConfigurationRequest]) (*connect_go.Response[v1alpha1.CreateExileConfigurationResponse], error)
func (UnimplementedExileCertificateManagerServiceHandler) DeleteExileConfiguration ¶
func (UnimplementedExileCertificateManagerServiceHandler) DeleteExileConfiguration(context.Context, *connect_go.Request[v1alpha1.DeleteExileConfigurationRequest]) (*connect_go.Response[v1alpha1.DeleteExileConfigurationResponse], error)
func (UnimplementedExileCertificateManagerServiceHandler) ListExileCertificates ¶
func (UnimplementedExileCertificateManagerServiceHandler) ListExileCertificates(context.Context, *connect_go.Request[v1alpha1.ListExileCertificatesRequest]) (*connect_go.Response[v1alpha1.ListExileCertificatesResponse], error)
func (UnimplementedExileCertificateManagerServiceHandler) ListExileConfigurations ¶
func (UnimplementedExileCertificateManagerServiceHandler) ListExileConfigurations(context.Context, *connect_go.Request[v1alpha1.ListExileConfigurationsRequest]) (*connect_go.Response[v1alpha1.ListExileConfigurationsResponse], error)
func (UnimplementedExileCertificateManagerServiceHandler) RevokeExileCertificate ¶
func (UnimplementedExileCertificateManagerServiceHandler) RevokeExileCertificate(context.Context, *connect_go.Request[v1alpha1.RevokeExileCertificateRequest]) (*connect_go.Response[v1alpha1.RevokeExileCertificateResponse], error)
func (UnimplementedExileCertificateManagerServiceHandler) UnassignExileConfiguration ¶
func (UnimplementedExileCertificateManagerServiceHandler) UnassignExileConfiguration(context.Context, *connect_go.Request[v1alpha1.UnassignExileConfigurationRequest]) (*connect_go.Response[v1alpha1.UnassignExileConfigurationResponse], error)
func (UnimplementedExileCertificateManagerServiceHandler) UpdateExileConfiguration ¶
func (UnimplementedExileCertificateManagerServiceHandler) UpdateExileConfiguration(context.Context, *connect_go.Request[v1alpha1.UpdateExileConfigurationRequest]) (*connect_go.Response[v1alpha1.UpdateExileConfigurationResponse], error)