credentialplugin

package
v0.9.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 28, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetupCredentialPluginCmd

func SetupCredentialPluginCmd(root *cobra.Command)

Types

type CredentialCache

type CredentialCache struct {
	// contains filtered or unexported fields
}

func NewCredentialCache

func NewCredentialCache(cacheDir string, opts GetCredentialOpts) *CredentialCache

func (*CredentialCache) GetCredential

func (c *CredentialCache) GetCredential() (*types.ExecCredential, error)

func (*CredentialCache) SaveCredential

func (c *CredentialCache) SaveCredential(cred *types.ExecCredential) error

type GetCredentialOpts

type GetCredentialOpts struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL