Documentation ¶
Index ¶
- func AddVaultSecrets(objects ...runtime.Object) []runtime.Object
- func LoadExtSecretDir(t *testing.T, ns, dir string) []runtime.Object
- func LoadExtSecretFiles(t *testing.T, ns string, fileNames ...string) []runtime.Object
- func NewFakeDynClient(scheme *runtime.Scheme, dynObjects ...runtime.Object) *dynfake.FakeDynamicClient
- type FakeVaultSecrets
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadExtSecretDir ¶ added in v0.0.49
LoadExtSecretDir loads the given YAML files in the given directory as external secrets for a test case
func LoadExtSecretFiles ¶
LoadExtSecretFiles loads the given YAML files as external secrets for a test case
func NewFakeDynClient ¶ added in v0.0.206
func NewFakeDynClient(scheme *runtime.Scheme, dynObjects ...runtime.Object) *dynfake.FakeDynamicClient
NewFakeDynClient creates a new dynamic client with the external secrets
Types ¶
type FakeVaultSecrets ¶ added in v0.0.49
func LoadFakeVaultSecrets ¶ added in v0.0.49
func (*FakeVaultSecrets) AssertHasValue ¶ added in v0.0.49
func (s *FakeVaultSecrets) AssertHasValue(t *testing.T, objectName, propertyName string) string
AssertHasValue asserts the given property has a value populated
func (*FakeVaultSecrets) AssertValueEquals ¶ added in v0.0.81
func (s *FakeVaultSecrets) AssertValueEquals(t *testing.T, objectName, propertyName, expectedValue string)
AssertValueEquals asserts the given property value
Click to show internal directories.
Click to hide internal directories.