Documentation
¶
Index ¶
- func BuiltIn() catalog.BuiltIn
- type Config
- type Plugin
- func (p *Plugin) Configure(_ context.Context, req *configv1.ConfigureRequest) (*configv1.ConfigureResponse, error)
- func (p *Plugin) MintX509CAAndSubscribe(request *upstreamauthorityv1.MintX509CARequest, ...) error
- func (*Plugin) PublishJWTKeyAndSubscribe(*upstreamauthorityv1.PublishJWTKeyRequest, ...) error
- func (p *Plugin) SetLogger(log hclog.Logger)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
// Options which are used for configuring the target issuer to sign requests.
// The CertificateRequest will be created in the configured namespace.
IssuerName string `hcl:"issuer_name" json:"issuer_name"`
IssuerKind string `hcl:"issuer_kind" json:"issuer_kind"`
IssuerGroup string `hcl:"issuer_group" json:"issuer_group"`
Namespace string `hcl:"namespace" json:"namespace"`
// File path to the kubeconfig used to build the generic Kubernetes client.
KubeConfigFilePath string `hcl:"kube_config_file" json:"kube_config_file"`
}
type Plugin ¶
type Plugin struct {
// gRPC requires embedding either the "Unimplemented" or "Unsafe" stub as
// a way of opting in or out of forward build compatibility.
upstreamauthorityv1.UnsafeUpstreamAuthorityServer
configv1.UnsafeConfigServer
// contains filtered or unexported fields
}
func (*Plugin) Configure ¶
func (p *Plugin) Configure(_ context.Context, req *configv1.ConfigureRequest) (*configv1.ConfigureResponse, error)
func (*Plugin) MintX509CAAndSubscribe ¶
func (p *Plugin) MintX509CAAndSubscribe(request *upstreamauthorityv1.MintX509CARequest, stream upstreamauthorityv1.UpstreamAuthority_MintX509CAAndSubscribeServer) error
func (*Plugin) PublishJWTKeyAndSubscribe ¶
func (*Plugin) PublishJWTKeyAndSubscribe(*upstreamauthorityv1.PublishJWTKeyRequest, upstreamauthorityv1.UpstreamAuthority_PublishJWTKeyAndSubscribeServer) error
PublishJWTKey is not implemented by the wrapper and returns a codes.Unimplemented status
Click to show internal directories.
Click to hide internal directories.