aks

package
v0.0.0-...-cf46bd9 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package aks uses the Azure SDK for Go's armcontainerservice package to work with Azure Kubernetes Service (AKS) clusters.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunCommand

func RunCommand(subscriptionID, resourceGroup, resourceName, command string) (string, error)

RunCommand runs a command on an AKS cluster specified via its subscription, resource group, and cluster name. The command is a string which is run inside a container on the cluster itself. This command authenticates against Azure via the DefaultAzureCredential (see: https://docs.microsoft.com/en-us/azure/developer/go/azure-sdk-authentication?tabs=bash#3-use-defaultazurecredential-to-authenticate-resourceclient ) in the azidentity package.

Types

This section is empty.

Jump to

Keyboard shortcuts

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