cluster

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2019 License: Apache-2.0 Imports: 10 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateCluster

func CreateCluster(clusterName string, resourceGroupName string, extraflags []string)

CreateCluster creates a cluster

func DeleteCluster

func DeleteCluster(clusterName string, resourceGroupName string)

DeleteCluster deletes a cluster

func Find

func Find(slice []string, val string) (int, bool)

Find takes a slice and looks for an element in it. If found it will return it's key, otherwise it will return -1 and a bool of false.

func GetCluster

func GetCluster(resourceGroupName string, clusterFilter string)

GetCluster will list the available clusters

func GetClusterCredentials

func GetClusterCredentials(clusterName string, resourceGroupName string)

GetClusterCredentials gives the cluster credentials

func UpdateCluster

func UpdateCluster(clusterName string, resourceGroupName string)

UpdateCluster updates a cluster

Types

This section is empty.

Jump to

Keyboard shortcuts

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