Documentation ¶
Index ¶
- Constants
- func GetMetadataName(name, kind string) string
- func NewSpec(id, namespace, label string, labels, stringData map[string]string) *v1.Secret
- type Client
- func (c *Client) Apply(id string, labels, stringData map[string]string) error
- func (c *Client) Create(id string, labels, stringData map[string]string) error
- func (c *Client) Delete(id string) error
- func (c *Client) DeleteAll(selector string) error
- func (c *Client) Get(id string) (map[string]string, error)
- func (c *Client) Update(id string, labels, stringData map[string]string) error
Constants ¶
View Source
const ( // TestkubeTestSecretLabel is testkube test secrets label TestkubeTestSecretLabel = "tests-secrets" // TestkubeTestSourcesSecretLabel is testkube test sources secrets label TestkubeTestSourcesSecretLabel = "test-sources-secrets" )
Variables ¶
This section is empty.
Functions ¶
func GetMetadataName ¶
GetMetadataName returns secret metadata name
Types ¶
type Client ¶
Client provide methods to manage secrets
Click to show internal directories.
Click to hide internal directories.