Documentation ¶
Index ¶
Constants ¶
View Source
const ( // GroupName is the name of the group of configsync resources. GroupName = "configsync.gke.io" // ConfigSyncPrefix is the prefix for all ConfigSync annotations and labels. ConfigSyncPrefix = GroupName + "/" // FieldManager is the field manager name for server-side apply. FieldManager = GroupName // ControllerNamespace is the Namespace used for Nomos controllers ControllerNamespace = "config-management-system" )
View Source
const ( // RepoSyncName is the expected name of any RepoSync CR. RepoSyncName = "repo-sync" // RootSyncName is the expected name of any RootSync CR. RootSyncName = "root-sync" )
API type constants
View Source
const ( // DefaultPeriodSecs is the default value in seconds between consecutive syncs. DefaultPeriodSecs = 15 // DefaultReconcilerPollingPeriod defines how often the reconciler should poll // the filesystem for updates to the source or rendered configs. DefaultReconcilerPollingPeriod = 5 * time.Second // DefaultHydrationPollingPeriod defines how often the hydration controller // should poll the filesystem for rendering the DRY configs. DefaultHydrationPollingPeriod = 5 * time.Second // DefaultReconcileTimeout defines the timeout of kpt applier reconcile/prune task DefaultReconcileTimeout = 5 * time.Minute )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthType ¶
type AuthType string
AuthType specifies the type to authenticate to a repository.
const ( // AuthGCENode indicates using gcenode to authenticate to Git or OCI. AuthGCENode AuthType = "gcenode" // AuthSSH indicates using an ssh key to authenticate to Git. It doesn't apply to OCI. AuthSSH AuthType = "ssh" // AuthCookieFile indicates using cookiefile to authenticate to Git. It doesn't apply to OCI. AuthCookieFile AuthType = "cookiefile" // AuthNone indicates no auth token is required for Git or OCI or Helm. AuthNone AuthType = "none" // AuthToken indicates using a username/password to authenticate to Git or Helm. It doesn't apply to OCI. AuthToken AuthType = "token" // AuthGCPServiceAccount indicates using a GCP service account to authenticate to // Git or OCI or Helm, when GKE Workload Identity or Fleet Workload Identity is enabled. AuthGCPServiceAccount AuthType = "gcpserviceaccount" )
Directories ¶
Path | Synopsis |
---|---|
Package v1alpha1 contains the version 1alpha1 data definition for the ConfigSync custom resources.
|
Package v1alpha1 contains the version 1alpha1 data definition for the ConfigSync custom resources. |
Package v1beta1 contains the version 1beta1 data definition for the ConfigSync custom resources.
|
Package v1beta1 contains the version 1beta1 data definition for the ConfigSync custom resources. |
Click to show internal directories.
Click to hide internal directories.