credentials

package
v0.0.0-...-601a7b6 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Credentials

type Credentials struct {
	Helper    Helper
	Namespace string
}

func (*Credentials) Delete

func (c *Credentials) Delete(name string) error

func (*Credentials) Get

func (c *Credentials) Get(name string) (string, string, error)

func (*Credentials) Set

func (c *Credentials) Set(name, user, secret string) error

type Helper

type Helper interface {
	Add(creds *credentials.Credentials) error
	Get(name string) (string, string, error)
	Delete(name string) error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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