Documentation ¶
Index ¶
- type Factory
- func (v *Factory) GetSecret(ctx context.Context, ref smv1alpha1.RemoteReference) ([]byte, error)
- func (v *Factory) GetSecretMap(ctx context.Context, ref smv1alpha1.RemoteReference) (map[string][]byte, error)
- func (v *Factory) New(ctx context.Context, log logr.Logger, store smv1alpha1.GenericStore, ...) (store.Client, error)
- func (v *Factory) WithGetSecret(secData []byte, err error) *Factory
- func (v *Factory) WithGetSecretMap(secData map[string][]byte, err error) *Factory
- func (v *Factory) WithNew(...) *Factory
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Factory ¶
type Factory struct { NewFn func(context.Context, logr.Logger, client.Client, client.Reader, smv1alpha1.GenericStore, string) (*Factory, error) GetSecretFn func(context.Context, smv1alpha1.RemoteReference) ([]byte, error) GetSecretMapFn func(context.Context, smv1alpha1.RemoteReference) (map[string][]byte, error) }
func (*Factory) GetSecret ¶
func (v *Factory) GetSecret(ctx context.Context, ref smv1alpha1.RemoteReference) ([]byte, error)
func (*Factory) GetSecretMap ¶
func (v *Factory) GetSecretMap(ctx context.Context, ref smv1alpha1.RemoteReference) (map[string][]byte, error)
func (*Factory) WithGetSecretMap ¶
Click to show internal directories.
Click to hide internal directories.