Documentation
¶
Index ¶
- Constants
- func BuiltIn() catalog.BuiltIn
- type Configuration
- type Plugin
- func (p *Plugin) Configure(_ context.Context, req *configv1.ConfigureRequest) (*configv1.ConfigureResponse, error)
- func (p *Plugin) MintX509CAAndSubscribe(req *upstreamauthorityv1.MintX509CARequest, ...) error
- func (*Plugin) PublishJWTKeyAndSubscribe(*upstreamauthorityv1.PublishJWTKeyRequest, ...) error
- func (p *Plugin) SetLogger(log hclog.Logger)
- func (p *Plugin) SubscribeToLocalBundle(req *upstreamauthorityv1.SubscribeToLocalBundleRequest, ...) error
- func (p *Plugin) Validate(_ context.Context, req *configv1.ValidateRequest) (*configv1.ValidateResponse, error)
Constants ¶
View Source
const (
PluginConfigMalformed = "plugin configuration is malformed"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Configuration ¶ added in v1.0.0
type Configuration struct {
vault.BaseConfiguration `hcl:",squash"`
// Name of the mount point where PKI secret engine is mounted. (e.g., /<mount_point>/ca/pem)
PKIMountPoint string `hcl:"pki_mount_point" json:"pki_mount_point"`
}
type Plugin ¶
type Plugin struct {
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 ¶ added in v1.0.0
func (p *Plugin) MintX509CAAndSubscribe(req *upstreamauthorityv1.MintX509CARequest, stream upstreamauthorityv1.UpstreamAuthority_MintX509CAAndSubscribeServer) error
func (*Plugin) PublishJWTKeyAndSubscribe ¶ added in v1.0.0
func (*Plugin) PublishJWTKeyAndSubscribe(*upstreamauthorityv1.PublishJWTKeyRequest, upstreamauthorityv1.UpstreamAuthority_PublishJWTKeyAndSubscribeServer) error
PublishJWTKeyAndSubscribe is not implemented by the wrapper and returns a codes.Unimplemented status
func (*Plugin) SubscribeToLocalBundle ¶ added in v1.12.4
func (p *Plugin) SubscribeToLocalBundle(req *upstreamauthorityv1.SubscribeToLocalBundleRequest, stream upstreamauthorityv1.UpstreamAuthority_SubscribeToLocalBundleServer) error
func (*Plugin) Validate ¶ added in v1.11.0
func (p *Plugin) Validate(_ context.Context, req *configv1.ValidateRequest) (*configv1.ValidateResponse, error)
Click to show internal directories.
Click to hide internal directories.