Documentation ¶
Index ¶
- Variables
- type Context
- type Store
- func (s *Store) Context(name string) (ctx Context, err error)
- func (s *Store) Contexts() (names []Context, err error)
- func (s *Store) CreateContext(name, token string) (err error)
- func (s *Store) CurrentContext() (c Context, err error)
- func (s *Store) DeleteContext(name string) (err error)
- func (s *Store) SetCurrentContext(name string) (err error)
- func (s *Store) UpdateContext(name, token string) (err error)
- type YamlAuthContext
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNotFound = errors.New("not found") ErrAlreadyExists = errors.New("already exists") )
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
func (*Store) CreateContext ¶
func (*Store) CurrentContext ¶
func (*Store) DeleteContext ¶
func (*Store) SetCurrentContext ¶
func (*Store) UpdateContext ¶
type YamlAuthContext ¶
Click to show internal directories.
Click to hide internal directories.