Documentation ¶
Index ¶
- type WorkerToken
- func (t *WorkerToken) Close() error
- func (t *WorkerToken) Config() *config.TokenConfig
- func (t *WorkerToken) Generate(keyName string, keyType token.KeyType, bits uint) (token.Key, error)
- func (t *WorkerToken) GetKey(keyName string) (token.Key, error)
- func (t *WorkerToken) GetKeyContext(ctx context.Context, keyName string) (token.Key, error)
- func (t *WorkerToken) Import(keyName string, privKey crypto.PrivateKey) (token.Key, error)
- func (t *WorkerToken) ImportCertificate(cert *x509.Certificate, labelBase string) error
- func (t *WorkerToken) ListKeys(opts token.ListOptions) error
- func (t *WorkerToken) Ping() error
- func (t *WorkerToken) PingContext(ctx context.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WorkerToken ¶
type WorkerToken struct {
// contains filtered or unexported fields
}
func (*WorkerToken) Close ¶
func (t *WorkerToken) Close() error
func (*WorkerToken) Config ¶
func (t *WorkerToken) Config() *config.TokenConfig
func (*WorkerToken) GetKeyContext ¶
func (*WorkerToken) Import ¶
func (t *WorkerToken) Import(keyName string, privKey crypto.PrivateKey) (token.Key, error)
func (*WorkerToken) ImportCertificate ¶
func (t *WorkerToken) ImportCertificate(cert *x509.Certificate, labelBase string) error
func (*WorkerToken) ListKeys ¶
func (t *WorkerToken) ListKeys(opts token.ListOptions) error
func (*WorkerToken) Ping ¶
func (t *WorkerToken) Ping() error
func (*WorkerToken) PingContext ¶
func (t *WorkerToken) PingContext(ctx context.Context) error
Click to show internal directories.
Click to hide internal directories.