Versions in this module Expand all Collapse all v0 v0.34.1 Apr 15, 2019 v0.34.0 Apr 9, 2019 Changes in this version + const AADContributorRoleID + const AADRoleReferenceTemplate + const AADRoleResourceGroupScopeTemplate + const ApplicationDir + const DefaultARMOperationTimeout + var RequiredResourceProviders = []string + func DeepCopy(dst, src interface{}) error + func DeployTemplateSync(az armhelpers.AKSEngineClient, logger *logrus.Entry, ...) error + type AzureClient struct + func NewAzureClientWithClientCertificate(env azure.Environment, subscriptionID, clientID string, ...) (*AzureClient, error) + func NewAzureClientWithClientCertificateExternalTenant(env azure.Environment, subscriptionID, tenantID, clientID string, ...) (*AzureClient, error) + func NewAzureClientWithClientCertificateFile(env azure.Environment, ...) (*AzureClient, error) + func NewAzureClientWithClientCertificateFileExternalTenant(env azure.Environment, ...) (*AzureClient, error) + func NewAzureClientWithClientSecret(env azure.Environment, subscriptionID, clientID, clientSecret string) (*AzureClient, error) + func NewAzureClientWithClientSecretExternalTenant(env azure.Environment, subscriptionID, tenantID, clientID, clientSecret string) (*AzureClient, error) + func (az *AzureClient) AddAcceptLanguages(languages []string) + func (az *AzureClient) AddAuxiliaryTokens(tokens []string) + func (az *AzureClient) CheckDeploymentExistence(ctx context.Context, resourceGroupName string, deploymentName string) (result autorest.Response, err error) + func (az *AzureClient) CheckResourceGroupExistence(ctx context.Context, name string) (result autorest.Response, err error) + func (az *AzureClient) CreateApp(ctx context.Context, appName, appURL string, replyURLs *[]string, ...) (applicationResp graphrbac.Application, ...) + func (az *AzureClient) CreateGraphApplication(ctx context.Context, ...) (graphrbac.Application, error) + func (az *AzureClient) CreateGraphPrincipal(ctx context.Context, ...) (graphrbac.ServicePrincipal, error) + func (az *AzureClient) CreateRoleAssignment(ctx context.Context, scope string, roleAssignmentName string, ...) (authorization.RoleAssignment, error) + func (az *AzureClient) CreateRoleAssignmentSimple(ctx context.Context, resourceGroup, servicePrincipalObjectID string) error + func (az *AzureClient) CreateUserAssignedID(location string, resourceGroup string, userAssignedID string) (id *msi.Identity, err error) + func (az *AzureClient) DeleteApp(ctx context.Context, applicationName, applicationObjectID string) (autorest.Response, error) + func (az *AzureClient) DeleteGraphApplication(ctx context.Context, applicationObjectID string) (result autorest.Response, err error) + func (az *AzureClient) DeleteManagedDisk(ctx context.Context, resourceGroupName string, diskName string) error + func (az *AzureClient) DeleteNetworkInterface(ctx context.Context, resourceGroup, nicName string) error + func (az *AzureClient) DeleteResourceGroup(ctx context.Context, name string) error + func (az *AzureClient) DeleteRoleAssignmentByID(ctx context.Context, roleAssignmentID string) (authorization.RoleAssignment, error) + func (az *AzureClient) DeleteVirtualMachine(ctx context.Context, resourceGroup, name string) error + func (az *AzureClient) DeleteVirtualMachineScaleSet(ctx context.Context, resourceGroup, vmssName string) error + func (az *AzureClient) DeleteVirtualMachineScaleSetVM(ctx context.Context, resourceGroup, virtualMachineScaleSet, instanceID string) error + func (az *AzureClient) DeployTemplate(ctx context.Context, resourceGroupName, deploymentName string, ...) (de resources.DeploymentExtended, err error) + func (az *AzureClient) EnsureProvidersRegistered(subscriptionID string) error + func (az *AzureClient) EnsureResourceGroup(ctx context.Context, name, location string, managedBy *string) (resourceGroup *resources.Group, err error) + func (az *AzureClient) GetDeployment(ctx context.Context, resourceGroupName, deploymentName string) (result resources.DeploymentExtended, err error) + func (az *AzureClient) GetKubernetesClient(masterURL, kubeConfig string, interval, timeout time.Duration) (armhelpers.KubernetesClient, error) + func (az *AzureClient) GetStorageClient(ctx context.Context, resourceGroup, accountName string) (armhelpers.AKSStorageClient, error) + func (az *AzureClient) GetVirtualMachine(ctx context.Context, resourceGroup, name string) (azcompute.VirtualMachine, error) + func (az *AzureClient) ListDeploymentOperations(ctx context.Context, resourceGroupName string, deploymentName string, ...) (armhelpers.DeploymentOperationsListResultPage, error) + func (az *AzureClient) ListManagedDisksByResourceGroup(ctx context.Context, resourceGroupName string) (result armhelpers.DiskListPage, err error) + func (az *AzureClient) ListProviders(ctx context.Context) (armhelpers.ProviderListResultPage, error) + func (az *AzureClient) ListRoleAssignmentsForPrincipal(ctx context.Context, scope string, principalID string) (armhelpers.RoleAssignmentListResultPage, error) + func (az *AzureClient) ListVirtualMachineScaleSetVMs(ctx context.Context, resourceGroup, virtualMachineScaleSet string) (armhelpers.VirtualMachineScaleSetVMListResultPage, error) + func (az *AzureClient) ListVirtualMachineScaleSets(ctx context.Context, resourceGroup string) (armhelpers.VirtualMachineScaleSetListResultPage, error) + func (az *AzureClient) ListVirtualMachines(ctx context.Context, resourceGroup string) (armhelpers.VirtualMachineListResultPage, error) + func (az *AzureClient) SetVirtualMachineScaleSetCapacity(ctx context.Context, resourceGroup, virtualMachineScaleSet string, ...) error + func (az *AzureClient) ValidateTemplate(ctx context.Context, resourceGroupName string, deploymentName string, ...) (result resources.DeploymentValidateResult, err error) + type AzureStorageClient struct + func (as *AzureStorageClient) CreateContainer(containerName string, options *azStorage.CreateContainerOptions) (bool, error) + func (as *AzureStorageClient) DeleteBlob(vhdContainer, vhdBlob string, options *azStorage.DeleteBlobOptions) error + func (as *AzureStorageClient) SaveBlockBlob(containerName, blobName string, b []byte, options *azStorage.PutBlobOptions) error + type DeploymentError struct + DeploymentName string + OperationsLists []resources.DeploymentOperationsListResult + ProvisioningState string + ResourceGroup string + Response []byte + StatusCode int + TopError error + func (e *DeploymentError) Error() string + type DeploymentValidationError struct + Err error + func (e *DeploymentValidationError) Error() string + type DiskListPageClient struct + func (page *DiskListPageClient) Next() error + func (page *DiskListPageClient) NextWithContext(ctx context.Context) (err error) + func (page DiskListPageClient) NotDone() bool + func (page DiskListPageClient) Response() azcompute.DiskList + func (page DiskListPageClient) Values() []azcompute.Disk + type HTTPMockClient struct + ComputeAPIVersion string + DeploymentAPIVersion string + DeploymentName string + DeploymentStatus string + Location string + NetworkAPIVersion string + OperationID string + ResourceGroup string + ResponseDeployVirtualMachine string + ResponseDeployVirtualMachineError string + ResponseGetVirtualMachine string + ResponseListVirtualMachineScaleSetVMs string + ResponseListVirtualMachineScaleSets string + ResponseListVirtualMachines string + SubscriptionID string + TenantID string + TokenResponse string + VirtualMachineName string + VirtualMachineScaleSetName string + VirtualNicName string + VirutalDiskName string + func NewHTTPMockClient() HTTPMockClient + func (mc HTTPMockClient) Activate() + func (mc HTTPMockClient) DeactivateAndReset() + func (mc HTTPMockClient) GetEnvironment() azure.Environment + func (mc HTTPMockClient) RegisterDeleteManagedDisk() + func (mc HTTPMockClient) RegisterDeleteNetworkInterface() + func (mc HTTPMockClient) RegisterDeleteVirtualMachine() + func (mc HTTPMockClient) RegisterDeployTemplate() + func (mc HTTPMockClient) RegisterDeployTemplateSync() + func (mc HTTPMockClient) RegisterGetVirtualMachine() + func (mc HTTPMockClient) RegisterListVirtualMachineScaleSetVMs() + func (mc HTTPMockClient) RegisterListVirtualMachineScaleSets() + func (mc HTTPMockClient) RegisterListVirtualMachines() + func (mc HTTPMockClient) RegisterLogin() + type KubernetesClientSetClient struct + func (c *KubernetesClientSetClient) DeleteNode(name string) error + func (c *KubernetesClientSetClient) DeletePod(pod *v1.Pod) error + func (c *KubernetesClientSetClient) EvictPod(pod *v1.Pod, policyGroupVersion string) error + func (c *KubernetesClientSetClient) GetNode(name string) (*v1.Node, error) + func (c *KubernetesClientSetClient) ListPods(node *v1.Node) (*v1.PodList, error) + func (c *KubernetesClientSetClient) SupportEviction() (string, error) + func (c *KubernetesClientSetClient) UpdateNode(node *v1.Node) (*v1.Node, error) + func (c *KubernetesClientSetClient) WaitForDelete(logger *log.Entry, pods []v1.Pod, usingEviction bool) ([]v1.Pod, error) + type VirtualMachineListResultPageClient struct + func (page *VirtualMachineListResultPageClient) Next() error + func (page *VirtualMachineListResultPageClient) NextWithContext(ctx context.Context) (err error) + func (page VirtualMachineListResultPageClient) NotDone() bool + func (page VirtualMachineListResultPageClient) Response() azcompute.VirtualMachineListResult + func (page VirtualMachineListResultPageClient) Values() []azcompute.VirtualMachine + type VirtualMachineScaleSetListResultPageClient struct + func (page *VirtualMachineScaleSetListResultPageClient) Next() error + func (page *VirtualMachineScaleSetListResultPageClient) NextWithContext(ctx context.Context) (err error) + func (page VirtualMachineScaleSetListResultPageClient) NotDone() bool + func (page VirtualMachineScaleSetListResultPageClient) Response() azcompute.VirtualMachineScaleSetListResult + func (page VirtualMachineScaleSetListResultPageClient) Values() []azcompute.VirtualMachineScaleSet + type VirtualMachineScaleSetListValues struct + Value []compute.VirtualMachineScaleSet + type VirtualMachineScaleSetVMListResultPageClient struct + func (page *VirtualMachineScaleSetVMListResultPageClient) Next() error + func (page *VirtualMachineScaleSetVMListResultPageClient) NextWithContext(ctx context.Context) (err error) + func (page VirtualMachineScaleSetVMListResultPageClient) NotDone() bool + func (page VirtualMachineScaleSetVMListResultPageClient) Response() azcompute.VirtualMachineScaleSetVMListResult + func (page VirtualMachineScaleSetVMListResultPageClient) Values() []azcompute.VirtualMachineScaleSetVM + type VirtualMachineScaleSetVMValues struct + Value []compute.VirtualMachineScaleSetVM + type VirtualMachineVMValues struct + Value []compute.VirtualMachine