Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { Accounts storage.AccountsClient ActivityLogs insights.ActivityLogsClient Applications managedapplications.ApplicationsClient BlobStorage storage.BlobStorageClient OpenShiftManagedClusters externalapi.OpenShiftManagedClustersClient OpenShiftManagedClustersAdmin *adminapi.Client VirtualMachineScaleSets compute.VirtualMachineScaleSetsClient VirtualMachineScaleSetExtensions compute.VirtualMachineScaleSetExtensionsClient VirtualMachineScaleSetVMs compute.VirtualMachineScaleSetVMsClient Resources resources.ResourcesClient VirtualNetworks network.VirtualNetworksClient VirtualNetworksPeerings network.VirtualNetworksPeeringsClient Groups resources.GroupsClient }
Client is the main controller for azure client objects
func NewClientFromEnvironment ¶
func NewClientFromEnvironment(ctx context.Context, log *logrus.Entry, setStorageClient bool) (*Client, error)
NewClientFromEnvironment creates a new azure client from environment variables. Setting the storage client is optional and should only be used selectively by tests that need access to the config storage blob because configblob.GetService makes api calls to Azure in order to setup the blob client.
Click to show internal directories.
Click to hide internal directories.