crd

package
v1.3.4 Latest Latest
Warning

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

Go to latest
Published: May 28, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildResourceName

func BuildResourceName(project, robot string) (string, error)

Types

type Store

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

func New

func New(kubeClient client.Client) (*Store, error)

New returns a new Store

func (*Store) Get

func (s *Store) Get(project, name string) (*crdv1.RobotAccountCredential, error)

func (*Store) Has

func (s *Store) Has(project, name string) bool

func (*Store) Reset

func (s *Store) Reset() error

func (*Store) Set

func (s *Store) Set(project string, cred crdv1.RobotAccountCredential) error

Jump to

Keyboard shortcuts

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