aks

package
v1.3.853 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 7, 2019 License: Apache-2.0 Imports: 5 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetResourceGroupLocation

func GetResourceGroupLocation() []string

func GetSizes

func GetSizes() []string

Types

type AzureRunner

type AzureRunner struct {
	Runner util.Commander
}

AzureRunner an Azure CLI runner to interact with Azure

func NewAzureRunner

func NewAzureRunner() *AzureRunner

NewAzureRunner return a new AzureRunner

func NewAzureRunnerWithCommander

func NewAzureRunnerWithCommander(runner util.Commander) *AzureRunner

NewAzureRunnerWithCommander specific the command runner for Azure CLI.

func (*AzureRunner) AssignRole

func (az *AzureRunner) AssignRole(client string, registry string)

AssignRole Assign the client a reader role for registry.

func (*AzureRunner) GetClusterClient

func (az *AzureRunner) GetClusterClient(server string) (string, string, string, error)

GetClusterClient return AKS resource group, name and client ID.

func (*AzureRunner) GetRegistry

func (az *AzureRunner) GetRegistry(resourceGroup string, name string, registry string) (string, string, string, error)

GetRegistry Return the docker registry config, registry login server and resource id, error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL