Documentation ¶
Index ¶
- type SecretStore
- func (s *SecretStore) AppCreate(app *pb.App, req *pb.AppCreateOptions) error
- func (s *SecretStore) AppDelete(name string) error
- func (s *SecretStore) AppGet(name string) (*pb.App, error)
- func (s *SecretStore) AppList() (pb.Apps, error)
- func (s *SecretStore) AppUpdate(app *pb.App) error
- func (s *SecretStore) BuildDelete(app, id string) error
- func (s *SecretStore) BuildGet(app, id string) (*pb.Build, error)
- func (s *SecretStore) BuildList(app string, limit int64) (pb.Builds, error)
- func (s *SecretStore) BuildSave(b *pb.Build) error
- func (s *SecretStore) ReleaseCount(name string) int64
- func (s *SecretStore) ReleaseDelete(app, id string) error
- func (s *SecretStore) ReleaseGet(id string) (*pb.Release, error)
- func (s *SecretStore) ReleaseList(app string, limit int64) (pb.Releases, error)
- func (s *SecretStore) ReleaseSave(r *pb.Release) error
- type SecretValues
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) BuildDelete ¶
func (s *SecretStore) BuildDelete(app, id string) 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 (*SecretStore) ReleaseSave ¶
func (s *SecretStore) ReleaseSave(r *pb.Release) error
type SecretValues ¶
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.
Click to show internal directories.
Click to hide internal directories.