Documentation
¶
Index ¶
- type Loader
- func (r *Loader) AddRef(ctx context.Context, schema *invv1alpha1.Schema)
- func (r *Loader) DelRef(ctx context.Context, key string) error
- func (r *Loader) GetRef(ctx context.Context, key string) (*invv1alpha1.Schema, bool, error)
- func (r *Loader) Load(ctx context.Context, key string) ([]invv1alpha1.SchemaRepositoryStatus, error)
- type RepoMgr
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, schema *invv1alpha1.Schema)
AddRef overwrites the provider schema version The schemaRef is immutable
func (*Loader) GetRef ¶
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
func (*Loader) Load ¶
func (r *Loader) Load(ctx context.Context, key string) ([]invv1alpha1.SchemaRepositoryStatus, error)
Click to show internal directories.
Click to hide internal directories.