config

package
v0.0.0-...-8fb4ce3 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2019 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateApp

func CreateApp(appName, description string) (*config.App, error)

func CreateCluster

func CreateCluster(appName, clusterName, description string) (*config.Cluster, error)

func CreateNamespace

func CreateNamespace(appName, clusterName, namespaceName, format, description string) (*config.Namespace, error)

func DeleteApp

func DeleteApp(appName string) error

func DeleteCluster

func DeleteCluster(appName, clusterName string) error

func DeleteNamespace

func DeleteNamespace(appName, clusterName, namespaceName string) error

func Init

func Init(client config.ConfigService)

func ListApps

func ListApps() (*config.Apps, error)

func ListClusters

func ListClusters(appName string) (*config.Clusters, error)

func ListNamespaces

func ListNamespaces(appName, clusterName string) (*config.Namespaces, error)

func ReadConfig

func ReadConfig(appName, clusterName, namespaceName string) (*config.Namespace, error)

func ReleaseConfig

func ReleaseConfig(appName, clusterName, namespaceName, comment string) error

func UpdateConfig

func UpdateConfig(appName, clusterName, namespaceName, value string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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