cmd

package
v0.0.0-...-f132488 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGenerateCertificateCmd

func NewGenerateCertificateCmd() *cobra.Command

NewGenerateCertificateCmd creates a generate certificate commmand

Types

type GenerateCertificate

type GenerateCertificate struct {
	RootCommand
	DNSName string
}

GenerateCertificate represents the command to generate a certificate

type RootCommand

type RootCommand struct {
	cobra.Command
	Debug           bool
	Port            int
	ProjectID       string
	KeyFile         string
	CertificateFile string
}

RootCommand the root command with all the global flags

func (*RootCommand) AddPersistentFlags

func (c *RootCommand) AddPersistentFlags()

AddPersistentFlags adds all the persistent flags to the command

Jump to

Keyboard shortcuts

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