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 ¶
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 ¶
func NewFakeDynClient(scheme *runtime.Scheme, dynObjects ...runtime.Object) *dynfake.FakeDynamicClient
NewFakeDynClient creates a new dynamic client with the external secrets
Types ¶
type FakeVaultSecrets ¶
func LoadFakeVaultSecrets ¶
func (*FakeVaultSecrets) AssertHasValue ¶
func (s *FakeVaultSecrets) AssertHasValue(t *testing.T, objectName, propertyName string) string
AssertHasValue asserts the given property has a value populated
func (*FakeVaultSecrets) AssertValueEquals ¶
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.