Documentation
¶
Index ¶
- func DeleteHarborSyncConfig(cl client.Client, name string)
- func DeleteNamespace(cl client.Client, namespace string)
- func DeleteSecret(cl client.Client, ns, name string)
- func EnsureHarborSyncConfig(cl client.Client, name string) crdv1.HarborSync
- func EnsureHarborSyncConfigWithParams(cl client.Client, name, projectName string, mapping *crdv1.ProjectMapping, ...) crdv1.HarborSync
- func EnsureNamespace(cl client.Client, namespace string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteHarborSyncConfig ¶
DeleteHarborSyncConfig deletes a HarborSync config
func DeleteNamespace ¶
DeleteNamespace deletes a namespace
func DeleteSecret ¶
DeleteSecret deletes a secret
func EnsureHarborSyncConfig ¶
func EnsureHarborSyncConfig(cl client.Client, name string) crdv1.HarborSync
EnsureHarborSyncConfig creates a HarborSync config with defaults
func EnsureHarborSyncConfigWithParams ¶
func EnsureHarborSyncConfigWithParams( cl client.Client, name, projectName string, mapping *crdv1.ProjectMapping, whc []crdv1.WebhookConfig, ) crdv1.HarborSync
EnsureHarborSyncConfigWithParams does the same as EnsureHarborSyncConfig but gives you more params
func EnsureNamespace ¶
EnsureNamespace ensures that a namespace is present
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.