Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StorageToDBSyncer ¶
type StorageToDBSyncer interface { // SyncGitRepo operates on a local git repo to sync contained yaml files (depth 1). workPath is the relative // path to sync objects from (sets workdir = gitRepoPath/workPath). If left empty, the workdir is gitRepoPath. SyncGitRepo(ctx context.Context, base64UserIdentity string, base64UserGroup string, gitRepoPath string, workPath string, forceReconcile bool) bool }
StorageToDBSyncer abstracts the functionality needed from a storage to DB syncer.
func NewManagedClusterSetStorageToDBSyncer ¶
func NewManagedClusterSetStorageToDBSyncer(specDB db.SpecDB, k8sClient client.Client, rbacAuthorizer authorizer.Authorizer, ) StorageToDBSyncer
NewManagedClusterSetStorageToDBSyncer returns a new instance of ManagedClusterSetStorageToDBSyncer.
func NewManagedClustersGroupStorageToDBSyncer ¶
func NewManagedClustersGroupStorageToDBSyncer(specDB db.SpecDB, rbacAuthorizer authorizer.Authorizer, ) StorageToDBSyncer
NewManagedClustersGroupStorageToDBSyncer returns a new instance of ManagedClustersGroupStorageToDBSyncer.
Click to show internal directories.
Click to hide internal directories.