cli

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package cli contains generic implementation of CLI tools build around types.Resource interface.

Index

Constants

View Source
const (
	// ExitError is returned by Run(), if any error occurs.
	ExitError = 1
	// ExitOK is successful return code from Run().
	ExitOK = 0
)

Variables

This section is empty.

Functions

func Run

func Run(rc types.ResourceConfig) int

Run is a generic function, which runs Flexkube CLI tools. If any error occurs, non-zero exit code is returned.

Types

This section is empty.

Directories

Path Synopsis
Package apiloadbalancers contains implementation of CLI tool for managing kube-apiserver load balancers.
Package apiloadbalancers contains implementation of CLI tool for managing kube-apiserver load balancers.
Package containerrunner contains implementation of CLI tool for creating any managing any containers.
Package containerrunner contains implementation of CLI tool for creating any managing any containers.
Package controlplane contains implementation of CLI tool for managing static Kubernetes controlplanes.
Package controlplane contains implementation of CLI tool for managing static Kubernetes controlplanes.
Package etcdcluster contains implementation of CLI tool for managing etcd clusters.
Package etcdcluster contains implementation of CLI tool for managing etcd clusters.
Package kubeletpool contains implementation of CLI tool for managing kubelet instances.
Package kubeletpool contains implementation of CLI tool for managing kubelet instances.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳