Help us shape the future of Go! Take the 2026 Go Developer Survey

credentialplugin

package
v0.19.0 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 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