operations

package
v0.0.0-...-ba942e0 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2020 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PortalConfigName = "litmus-portal-config"
	DefaultNamespace = "litmus"
)

Variables

View Source
var (
	Ctx = context.Background()
)

Functions

func ClusterOperations

func ClusterOperations(manifest string, requestType string) (*unstructured.Unstructured, error)

This function handles cluster operations

func ClusterRegister

func ClusterRegister(clusterData map[string]string) (bool, error)

ClusterRegister function creates litmus-portal config map in the litmus namespace

func IsClusterConfirmed

func IsClusterConfirmed(clusterData map[string]string) (bool, string, error)

IsClusterConfirmed checks if the config map with "is_cluster_confirmed" is true or not.

Types

This section is empty.

Jump to

Keyboard shortcuts

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