Documentation ¶
Index ¶
Constants ¶
View Source
const ( // AccountingProductID tag to store an accounting product ID AccountingProductID = "accounting.metal-stack.io/productid" // AccountingContractID tag to store an accounting contract ID AccountingContractID = "accounting.metal-stack.io/contractid" // AccountingDebtor tag to store an accounting debtor AccountingDebtor = "accounting.metal-stack.io/debtor" // AccountingNetworkTrafficExternal tag to indicate external network traffic AccountingNetworkTrafficExternal = "accounting.metal-stack.io/network-traffic-external" // AccountingNetworkTrafficInternal tag to indicate internal network traffic AccountingNetworkTrafficInternal = "accounting.metal-stack.io/network-traffic-internal" // AccountingVolumeReplicas tag to store accounting volume replicas AccountingVolumeReplicas = "accounting.metal-stack.io/volume-replicas" // AccountingVolumeQoSPolicyID tag to store accounting volume qos policy ID AccountingVolumeQoSPolicyID = "accounting.metal-stack.io/volume-qos-policy-id" // AccountingVolumeQoSPolicyName tag to store accounting volume qos policy name AccountingVolumeQoSPolicyName = "accounting.metal-stack.io/volume-qos-policy-name" // AccountingVolumeEncryption tag to store accounting volume encryption information AccountingVolumeEncryption = "accounting.metal-stack.io/volume-encryption" // AccountingVolumeSnapshotSource tag to store accounting volume snapshot source uuid AccountingVolumeSnapshotSource = "accounting.metal-stack.io/volume-snapshot-source" )
View Source
const ( // ClusterID tag to store the id of the cluster ClusterID = "cluster.metal-stack.io/id" // ClusterName tag to store the name of the cluster ClusterName = "cluster.metal-stack.io/name" // ClusterDescription tag to store the description of the cluster ClusterDescription = "cluster.metal-stack.io/description" // ClusterProject tag to store the project the cluster belongs to ClusterProject = "cluster.metal-stack.io/project" // ClusterPartition tag to store the partition of the cluster ClusterPartition = "cluster.metal-stack.io/partition" // ClusterTenant tag to store the tenant of the cluster ClusterTenant = "cluster.metal-stack.io/tenant" // ClusterServiceFQN tag to identify a service running in the cluster ClusterServiceFQN = "cluster.metal-stack.io/id/namespace/service" // ClusterEgress tag to identify egress ips used for a cluster ClusterEgress = "cluster.metal-stack.io/id/egress" // ClusterOwner tag to store the name of the cluster owner ClusterOwner = "cluster.metal-stack.io/owner" )
View Source
const ( // MachineID tag to store machine ID MachineID = "machine.metal-stack.io/id" // MachineName tag to store machine name MachineName = "machine.metal-stack.io/name" // MachineDescription tag to store machine description MachineDescription = "machine.metal-stack.io/description" // MachineProject tag to store the project where the machine belongs to MachineProject = "machine.metal-stack.io/project" // MachineTenant tag to store the tenant the machine belongs to MachineTenant = "machine.metal-stack.io/tenant" // MachineNetworkPrimaryASN tag to store the primary BGP ASN the machine announces. MachineNetworkPrimaryASN = "machine.metal-stack.io/network.primary.asn" // MachineRack tag to store the rack that this machine is placed in. MachineRack = "machine.metal-stack.io/rack" // MachineChassis tag to store the machine chassis. MachineChassis = "machine.metal-stack.io/chassis" )
View Source
const ( // NetworkDefault indicates a network that can serve as a default network for cluster creation // there should only be one default network in a metal control plane, otherwise behavior will be non-deterministic NetworkDefault = "network.metal-stack.io/default" // NetworkDefaultExternal indicates a network that can serve as a default for IP allocations NetworkDefaultExternal = "network.metal-stack.io/default-external" // NetworkPartitionStorage indicates a network that can serve as a storage network in a partition NetworkPartitionStorage = "network.metal-stack.io/partition-storage" )
Variables ¶
This section is empty.
Functions ¶
func AccountingTags ¶ added in v0.7.3
AccountingTags returns all accounting tags
Types ¶
type TagMap ¶ added in v0.11.5
func (TagMap) Contains ¶ added in v0.11.5
Contains returns true when the given key is contained in the label map.
Click to show internal directories.
Click to hide internal directories.