Documentation ¶
Overview ¶
Provides interfaces and adapters for the UpstreamCA service
Generated code. Do not modify by hand.
Index ¶
Constants ¶
View Source
const (
Type = "UpstreamCA"
)
Variables ¶
View Source
var PluginClient catalog.PluginClient = pluginClient{}
PluginClient is a catalog PluginClient implementation for the UpstreamCA plugin.
Functions ¶
func PluginServer ¶
func PluginServer(server UpstreamCAServer) catalog.PluginServer
PluginServer returns a catalog PluginServer implementation for the UpstreamCA plugin.
Types ¶
type Plugin ¶
type Plugin interface { Configure(context.Context, *spi.ConfigureRequest) (*spi.ConfigureResponse, error) GetPluginInfo(context.Context, *spi.GetPluginInfoRequest) (*spi.GetPluginInfoResponse, error) SubmitCSR(context.Context, *SubmitCSRRequest) (*SubmitCSRResponse, error) }
Plugin is the client interface for the service with the plugin related methods used by the catalog to initialize the plugin.
type SignedCertificate ¶
type SignedCertificate = upstreamca.SignedCertificate //nolint: golint
type SubmitCSRRequest ¶
type SubmitCSRRequest = upstreamca.SubmitCSRRequest //nolint: golint
type SubmitCSRResponse ¶
type SubmitCSRResponse = upstreamca.SubmitCSRResponse //nolint: golint
type UnimplementedUpstreamCAServer ¶
type UnimplementedUpstreamCAServer = upstreamca.UnimplementedUpstreamCAServer //nolint: golint
type UpstreamCA ¶
type UpstreamCA interface {
SubmitCSR(context.Context, *SubmitCSRRequest) (*SubmitCSRResponse, error)
}
UpstreamCA is the client interface for the service type UpstreamCA interface.
func AdaptPluginClient ¶
func AdaptPluginClient(client UpstreamCAClient) UpstreamCA
type UpstreamCAClient ¶
type UpstreamCAClient = upstreamca.UpstreamCAClient //nolint: golint
type UpstreamCAServer ¶
type UpstreamCAServer = upstreamca.UpstreamCAServer //nolint: golint
Click to show internal directories.
Click to hide internal directories.