Documentation
¶
Index ¶
- type Loader
- func (r *Loader) AddRef(ctx context.Context, spec *invv1alpha1.SchemaSpec)
- func (r *Loader) DelRef(ctx context.Context, key string) error
- func (r *Loader) GetRef(ctx context.Context, key string) (*invv1alpha1.SchemaSpec, bool, error)
- func (r *Loader) Load(ctx context.Context, key string, credentialNSN types.NamespacedName) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Loader ¶
type Loader struct {
// contains filtered or unexported fields
}
func (*Loader) AddRef ¶
func (r *Loader) AddRef(ctx context.Context, spec *invv1alpha1.SchemaSpec)
AddRef overwrites the provider schema version The schemaRef is immutable
func (*Loader) GetRef ¶
func (r *Loader) GetRef(ctx context.Context, key string) (*invv1alpha1.SchemaSpec, bool, error)
GetRef return an error if the ref does not exist If the ref exists the ref is retrieved with an indication if the base provider schema version dir exists
Click to show internal directories.
Click to hide internal directories.