credentialplugin

package
v0.18.1 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 17 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
}

type GetTokenOpts added in v0.11.0

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

Jump to

Keyboard shortcuts

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