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.
Click to show internal directories.
Click to hide internal directories.