datasources

package
v1.18.0-beta.1 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClusterStatus

type ClusterStatus struct {
	// ClusterName defines the target cluster name
	ClusterName string
	// Exists indicates if the cluster exists
	Exists bool
	// IsValid indicates if the cluster is valid
	IsValid bool
	// NeedsUpdate indicates if the cluster needs a rolling update
	NeedsUpdate bool
	// InstanceGroups contains the name of instance groups to be updated
	InstanceGroups []string
}

ClusterStatus reports status of a cluster

func (*ClusterStatus) GetClusterStatus

func (s *ClusterStatus) GetClusterStatus(clientset simple.Clientset) error

type KubeConfig

type KubeConfig struct {
	// The cluster name
	ClusterName string
	kube.Config
}

KubeConfig represents the kubernets configuration needed to access a cluster

func (*KubeConfig) GetKubeConfig

func (s *KubeConfig) GetKubeConfig(clientset simple.Clientset) error

Jump to

Keyboard shortcuts

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