Documentation
¶
Index ¶
Constants ¶
View Source
const ( // SourceFormat is the key used for storing whether a repository is // unstructured or in hierarchy mode. Used in many objects related to this // behavior. SourceFormat = "source-format" // ClusterNameKey is the OS env variable key for the name // of the cluster. ClusterNameKey = "CLUSTER_NAME" // ScopeKey is the OS env variable key for the scope of the // reconciler and hydration controller. ScopeKey = "SCOPE" // SyncNameKey is the OS env variable key for the name of // the RootSync or RepoSync object. SyncNameKey = "SYNC_NAME" // ReconcilerNameKey is the OS env variable key for the name of // the Reconciler Deployment. ReconcilerNameKey = "RECONCILER_NAME" // NamespaceNameKey is the OS env variable key for the name of // the Reconciler's namespace NamespaceNameKey = "NAMESPACE_NAME" // SyncDirKey is the OS env variable key for the sync directory // read by the hydration controller and the reconciler. SyncDirKey = "SYNC_DIR" // GitSync is the name of the git-sync container in reconciler pods. GitSync = "git-sync" // OciSync is the name of the oci-sync container in reconciler pods. OciSync = "oci-sync" // HelmSync is the name of the helm-sync container in reconciler pods. HelmSync = "helm-sync" // HydrationController is the name of the hydration-controller container in reconciler pods. HydrationController = "hydration-controller" //HydrationControllerWithShell is the name of the hydration-controller image that has shell HydrationControllerWithShell = "hydration-controller-with-shell" // Reconciler is a common building block for many resource names associated // with reconciling resources. Reconciler = "reconciler" // ReconcileTimeout is to control the kpt applier reconcile/prune task timeout ReconcileTimeout = "RECONCILE_TIMEOUT" // StatusMode is to control if the kpt applier needs to inject the actuation data // into the ResourceGroup object. StatusMode = "STATUS_MODE" )
View Source
const ( // SourceTypeKey is the OS env variable key for the type of the source repo, must be git or oci or helm. SourceTypeKey = "SOURCE_TYPE" // SourceRepoKey is the OS env variable key for the git or OCI or Helm repo URL. SourceRepoKey = "SOURCE_REPO" // SourceBranchKey is the OS env variable key for the git branch name. It doesn't apply to OCI and helm. SourceBranchKey = "SOURCE_BRANCH" // SourceRevKey is the OS env variable key for the git or helm revision. SourceRevKey = "SOURCE_REV" )
View Source
const ( // ReconcilerPollingPeriod defines how often the reconciler should poll the // filesystem for updates to the source or rendered configs. ReconcilerPollingPeriod = "RECONCILER_POLLING_PERIOD" // HydrationPollingPeriod defines how often the hydration controller should // poll the filesystem for rendering the DRY configs. HydrationPollingPeriod = "HYDRATION_POLLING_PERIOD" )
View Source
const ( // OciSyncImage is the OS env variable key for the OCI image URL. OciSyncImage = "OCI_SYNC_IMAGE" // OciSyncAuth is the OS env variable key for the OCI sync auth type. OciSyncAuth = "OCI_SYNC_AUTH" // OciSyncWait is the OS env variable key for the OCI sync wait period in seconds. OciSyncWait = "OCI_SYNC_WAIT" )
View Source
const ( // HelmRepo is the OS env variable key for the Helm repository URL. HelmRepo = "HELM_REPO" // HelmChart is the OS env variable key for the Helm chart name. HelmChart = "HELM_CHART" // HelmChartVersion is the OS env variable key for the Helm chart version. HelmChartVersion = "HELM_CHART_VERSION" // HelmReleaseName is the OS env variable key for the Helm release name. HelmReleaseName = "HELM_RELEASE_NAME" //HelmReleaseNamespace is the OS env variable key for the Helm release namespace. HelmReleaseNamespace = "HELM_RELEASE_NAMESPACE" // HelmValues is the OS env variable key for the Helm chart values. HelmValues = "HELM_VALUES" //HelmValuesFiles is the OS env variable key for Helm values files. HelmValuesFiles = "HELM_VALUES_FILES" //HelmIncludeCRDs is the OS env variable key for whether to include CRDs in helm rendering output. HelmIncludeCRDs = "HELM_INCLUDE_CRDS" //HelmAuthType is the OS env variable key for Helm sync auth type. HelmAuthType = "HELM_AUTH_TYPE" // HelmSyncWait is the OS env variable key for the Helm sync wait period in seconds. HelmSyncWait = "HELM_SYNC_WAIT" )
View Source
const (
// ManagerName is the name of the controller which creates reconcilers.
ManagerName = "reconciler-manager"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.