// Copyright 2019 Altinity Ltd and/or its affiliates. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//     http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

package macro

const (
	// MacrosNamespace is a sanitized namespace name where ClickHouseInstallation runs
	MacrosNamespace = "name for macro: {namespace}"

	// MacrosCRName is a sanitized Custom Resource name
	MacrosCRName = "name for macro: {chi} or {chk}"

	// MacrosClusterName is a sanitized cluster name
	MacrosClusterName = "name for macro: {cluster}"
	// MacrosClusterIndex is an index of the cluster in the CHI - integer number, converted into string
	MacrosClusterIndex = "name for macro: {clusterIndex}"

	// MacrosShardName is a sanitized shard name
	MacrosShardName = "name for macro: {shard}"
	// MacrosShardIndex is an index of the shard in the cluster - integer number, converted into string
	MacrosShardIndex = "name for macro: {shardIndex}"

	// MacrosReplicaName is a sanitized replica name
	MacrosReplicaName = "name for macro: {replica}"
	// MacrosReplicaIndex is an index of the replica in the cluster - integer number, converted into string
	MacrosReplicaIndex = "name for macro: {replicaIndex}"

	// MacrosHostName is a sanitized host name
	MacrosHostName = "name for macro: {host}"
	// MacrosCRScopeIndex is an index of the host on the CHI-scope
	MacrosCRScopeIndex = "name for macro: {chiScopeIndex}"
	// MacrosCRScopeCycleIndex is an index of the host in the CHI-scope cycle - integer number, converted into string
	MacrosCRScopeCycleIndex = "name for macro: {chiScopeCycleIndex}"
	// MacrosCRScopeCycleOffset is an offset of the host in the CHI-scope cycle - integer number, converted into string
	MacrosCRScopeCycleOffset = "name for macro: {chiScopeCycleOffset}"
	// MacrosClusterScopeIndex is an index of the host on the cluster-scope
	MacrosClusterScopeIndex = "name for macro: {clusterScopeIndex}"
	// MacrosClusterScopeCycleIndex is an index of the host in the Cluster-scope cycle - integer number, converted into string
	MacrosClusterScopeCycleIndex = "name for macro: {clusterScopeCycleIndex}"
	// MacrosClusterScopeCycleOffset is an offset of the host in the Cluster-scope cycle - integer number, converted into string
	MacrosClusterScopeCycleOffset = "name for macro: {clusterScopeCycleOffset}"
	// MacrosShardScopeIndex is an index of the host on the shard-scope
	MacrosShardScopeIndex = "name for macro: {shardScopeIndex}"
	// MacrosReplicaScopeIndex is an index of the host on the replica-scope
	MacrosReplicaScopeIndex = "name for macro: {replicaScopeIndex}"
	// MacrosClusterScopeCycleHeadPointsToPreviousCycleTail is {clusterScopeIndex} of previous Cycle Tail
	MacrosClusterScopeCycleHeadPointsToPreviousCycleTail = "name for macro: {clusterScopeCycleHeadPointsToPreviousCycleTail}"
)
