service

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2017 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type K8sSecretsService

type K8sSecretsService struct {
	EntityStore entitystore.EntityStore
	SecretsAPI  v1.SecretInterface
	OrgID       string
}

func (*K8sSecretsService) AddSecret

func (secretsService *K8sSecretsService) AddSecret(secret models.Secret) (*models.Secret, error)

func (*K8sSecretsService) DeleteSecret

func (secretsService *K8sSecretsService) DeleteSecret(name string) error

func (*K8sSecretsService) GetSecret

func (secretsService *K8sSecretsService) GetSecret(name string) (*models.Secret, error)

func (*K8sSecretsService) GetSecrets

func (secretsService *K8sSecretsService) GetSecrets() ([]*models.Secret, error)

func (*K8sSecretsService) UpdateSecret

func (secretsService *K8sSecretsService) UpdateSecret(secret models.Secret) (*models.Secret, error)

type SecretsService

type SecretsService interface {
	AddSecret(secret models.Secret) (*models.Secret, error)
	GetSecrets() ([]*models.Secret, error)
	GetSecret(name string) (*models.Secret, error)
	UpdateSecret(secret models.Secret) (*models.Secret, error)
	DeleteSecret(name string) error
}

Jump to

Keyboard shortcuts

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