Documentation
¶
Index ¶
Constants ¶
View Source
const (
ManagedFieldManagerInput = "inputfileloader"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APILoaderFile2APIStoreAndAPI ¶
type APILoaderFile2APIStoreAndAPI struct {
Cfg *genericclioptions.ChoreoConfig
Client resourceclient.Client
APIStore *api.APIStore
Branch string // not relevant in commit case
InternalGVKs sets.Set[schema.GroupVersionKind]
RepoPath string // not relevant in commit case
PathInRepo string
DBPath string
}
Loader to load files from fs and apply them to api and apistore
func (*APILoaderFile2APIStoreAndAPI) Load ¶
func (r *APILoaderFile2APIStoreAndAPI) Load(ctx context.Context) error
func (*APILoaderFile2APIStoreAndAPI) LoadFromCommit ¶
type APILoaderInternal ¶
type APILoaderInternal struct {
APIStore *api.APIStore
Cfg *genericclioptions.ChoreoConfig
DBPath string
PathInRepo string
}
type APIStoreLoader ¶
type APIStoreLoader struct {
APIStore *api.APIStore
InternalGVKs sets.Set[schema.GroupVersionKind]
PathInRepo string
DBPath string
}
func (*APIStoreLoader) Load ¶
func (r *APIStoreLoader) Load(ctx context.Context, u *unstructured.Unstructured) error
Click to show internal directories.
Click to hide internal directories.