Documentation
¶
Index ¶
- func MockSecret(name, namespace string, data map[string][]byte) *corev1.Secret
- func NewMockClient(obj ...runtime.Object) *kube.K8sClient
- type Service
- func (ss *Service) DeleteEntry(appName, scope, name string) error
- func (ss *Service) GetCurrentVersion(appName, scope string) (int64, error)
- func (ss *Service) GetEntries(appName, scope string) (map[string]interface{}, error)
- func (ss *Service) GetEntry(appName, scope, name string) (interface{}, error)
- func (ss *Service) GetLatestVersion(appName, scope string) (int64, error)
- func (ss *Service) ListAppNames() ([]string, error)
- func (ss *Service) ListEntries(appName, scope string) ([]string, error)
- func (ss *Service) Read(appName, scope string) error
- func (ss *Service) SetEntries(appName, scope string, data map[string]interface{}) error
- func (ss *Service) SetEntry(appName, scope, name string, value interface{}) error
- func (ss *Service) Write(appName, scope string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service contains a K8s client
func NewService ¶
func (*Service) DeleteEntry ¶
func (*Service) GetCurrentVersion ¶
func (*Service) GetEntries ¶
func (*Service) GetLatestVersion ¶
func (*Service) ListAppNames ¶
func (*Service) ListEntries ¶
func (*Service) SetEntries ¶
Click to show internal directories.
Click to hide internal directories.