store

package
v1.0.0-alpha.19 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2019 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SecretStore

type SecretStore struct {
	Client *kubernetes.Clientset

	// Kubernetes Namespace where secrets will be stored
	Namespace string

	// Datacol Stack name
	Stack string
}

func (*SecretStore) AppCreate

func (s *SecretStore) AppCreate(app *pb.App, req *pb.AppCreateOptions) error

func (*SecretStore) AppDelete

func (s *SecretStore) AppDelete(name string) error

func (*SecretStore) AppGet

func (s *SecretStore) AppGet(name string) (*pb.App, error)

func (*SecretStore) AppList

func (s *SecretStore) AppList() (pb.Apps, error)

func (*SecretStore) AppUpdate

func (s *SecretStore) AppUpdate(app *pb.App) error

func (*SecretStore) BuildDelete

func (s *SecretStore) BuildDelete(app, id string) error

func (*SecretStore) BuildGet

func (s *SecretStore) BuildGet(app, id string) (*pb.Build, error)

func (*SecretStore) BuildList

func (s *SecretStore) BuildList(app string, limit int64) (pb.Builds, error)

func (*SecretStore) BuildSave

func (s *SecretStore) BuildSave(b *pb.Build) error

func (*SecretStore) ReleaseCount

func (s *SecretStore) ReleaseCount(name string) int64

func (*SecretStore) ReleaseDelete

func (s *SecretStore) ReleaseDelete(app, id string) error

func (*SecretStore) ReleaseGet

func (s *SecretStore) ReleaseGet(id string) (*pb.Release, error)

func (*SecretStore) ReleaseList

func (s *SecretStore) ReleaseList(app string, limit int64) (pb.Releases, error)

func (*SecretStore) ReleaseSave

func (s *SecretStore) ReleaseSave(r *pb.Release) error

type SecretValues

type SecretValues map[string][]byte

SecretValues provides accessor methods for secrets.

func (SecretValues) Array

func (sv SecretValues) Array(key string) []string

Bytes returns the string value in the map for the provided key.

func (SecretValues) Bytes

func (sv SecretValues) Bytes(key string) []byte

Bytes returns the value in the map for the provided key.

func (SecretValues) String

func (sv SecretValues) String(key string) string

Bytes returns the string value in the map for the provided key.

Jump to

Keyboard shortcuts

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