v1

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2019 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SliceToMap

func SliceToMap(slice []string) (map[string]string, error)

SliceToMap convert a slice of strings in the format `key=value` to a map of strings of strings to store the key/value pairs

Types

type KubeKitService

type KubeKitService struct {
	// contains filtered or unexported fields
}

KubeKitService implement the interface rpc.KubeKitServiceClient and encapsulate all the properties of a KubeKit service

func NewKubeKitService

func NewKubeKitService(clustersPath string, parentUI *ui.UI, dry bool) *KubeKitService

NewKubeKitService creates a new KubeKit service

func (*KubeKitService) Apply

Apply creates a configuration file for the given kind (`cluster` or `template`)

func (*KubeKitService) Delete

Delete deletes or terminate an existing cluster, removing all the cluster resources.

func (*KubeKitService) DeleteClusterConfig

DeleteClusterConfig deletes an existing cluster configuration and all related files

func (*KubeKitService) Describe

Describe request to the server the description of one cluster with the given name

func (*KubeKitService) GetClusters

GetClusters request to the server the list of clusters

func (*KubeKitService) Init

Init creates a configuration file for the given kind (`cluster` or `template`)

func (*KubeKitService) Register

func (s *KubeKitService) Register(server *grpc.Server)

Register registers this service to the given gRPC server

func (*KubeKitService) Token

Token mimics the token command from aws-iam-authenticator

func (*KubeKitService) UpdateCluster

UpdateCluster updates an existing cluster using the parameters received.

func (*KubeKitService) Version

Version return the current version of KubeKit

Jump to

Keyboard shortcuts

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