cmd

package
v0.0.0-...-e218867 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2019 License: Apache-2.0 Imports: 33 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RootCmd = &cobra.Command{
	Use:   "teresa",
	Short: "Teresa",
	Long: `Teresa. You can manage teams, users and create and deploy applications with it.

Teresa works by sending HTTP requests to Kubernetes clusters that have a
Teresa server running. You can have multiple clusters configured on your
local box, one for each cloud provider or one for each environment or a mix
of those.

Teresa doesn't start using any cluster by it's own: you have to tell her which
one to use.

To set a cluster, eg.:

  $ teresa config set-cluster my_cluster_name --server mycluster.mydomain.com

You can also pass extra flags:

  --tls          Use TLS when communicating with the server
  --tlsinsecure  Don't check the server certificate with the default CA certificate bundle
  --current      Set this cluster as the current one
  --port         TCP port to use when communicating with the server

To use that cluster:

  $ teresa config use-cluster my_cluster_name

From that point on, all the operations will be directed to that cluster. You can
view the whole configuration anytime by running:

  $ teresa config view
	`,
}

RootCmd represents the base command when called without any subcommands

Functions

func ValidateLimits

func ValidateLimits(lims *appb.CreateRequest_Limits) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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