cli

package
v0.0.0-...-a4e3ea3 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (

	// App contains flags, arguments and commands for an application:
	App = kingpin.New("kubencrypt", "Letsencrypt on Kubernetes.")

	// FlgNamespace contains the namespace name:
	FlgNamespace = App.Flag("namespace",
		"If present, the namespace scope for this request.").
		Default(apiv1.NamespaceAll).HintAction(listNamespaces).String()

	// FlgIngress contains the ingress name:
	FlgIngress = App.Flag("ingress",
		"Name of the ingress object to be altered.").
		Required().HintAction(listIngresses).String()

	// FlgSecret contains the secret name:
	FlgSecret = App.Flag("secret",
		"Name of the secret object to be altered.").
		Required().HintAction(listSecrets).String()

	// FlgServiceName contains the service name:
	FlgServiceName = App.Flag("service-name",
		"Name of the k8s letsencrypt service.").
		Required().String()

	// FlgServicePort contains the service port:
	FlgServicePort = App.Flag("service-port",
		"Port of the k8s letsencrypt service.").
		Required().Int()

	// FlgDomain contains the domain name:
	FlgDomain = App.Flag("domain",
		"Prove control of this domain.").
		Required().String()
)

Functions

func K8sConnect

func K8sConnect() (*kubernetes.Clientset, error)

K8sConnect establishes a k8s connection.

Types

This section is empty.

Jump to

Keyboard shortcuts

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