Documentation ¶
Index ¶
Constants ¶
View Source
const ( // OCPClusterIDTagKeyPrefix is the cluster identifying tag key prefix that is added to // the Azure resources created by OCP. OCPClusterIDTagKeyPrefix = "kubernetes.io_cluster" // OCPClusterIDTagValue is the value of the cluster identifying tag that is added to // the Azure resources created by OCP. OCPClusterIDTagValue = "owned" )
Variables ¶
This section is empty.
Functions ¶
func GetTagList ¶
func GetTagList(infraStatus *configv1.InfrastructureStatus) map[string]*string
GetTagList returns a list of tags by merging the OCP default tags and the user-defined tags present in the Infrastructure.Status
func NewFakeProvider ¶
Types ¶
type Config ¶
type Config struct { // Environment is the azure cloud environment. Environment string // ClientID is an azure service principal appID. ClientID string // ClientSecret is an azure service principal's credential. ClientSecret string // FederatedTokenFile is an azure federated token file. FederatedTokenFile string // TenantID is the azure identity's tenant ID. TenantID string // SubscriptionID is the azure identity's subscription ID. SubscriptionID string // ARMEndpoint specifies a URL to use for resource management in non-sovereign clouds such as Azure Stack. // The value is not needed for public Azure, Azure Government as it can be determined by the SDK. ARMEndpoint string // InfraID is the generated ID that is used to identify cloud resources created by the installer. InfraID string // Tags is a map of user-defined tags which should be applied to new resources created by the operator. Tags map[string]*string }
Config is the necessary input to configure the manager for azure.
Click to show internal directories.
Click to hide internal directories.