domainFlags

package
v0.1.12 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CertTypeAuto   = "auto"
	CertTypeInline = "inline"
)

Variables

View Source
var (
	CertTypeOptions = []string{CertTypeInline, CertTypeAuto}

	Certificate = &cli.StringFlag{
		Name:    "certificate",
		Aliases: []string{"c"},
		Usage:   i18n.NotImplemented,
	}

	Key = &cli.StringFlag{
		Name:    "key",
		Aliases: []string{"k"},
		Usage:   i18n.NotImplemented,
	}

	CertType = &cli.StringFlag{
		Name:    "cert-type",
		Aliases: []string{"type"},
		Usage:   fmt.Sprintf("Type of certificate to use, currently inline is %s; %s", i18n.NotImplementedLC, flags.UsageOneOfOption(CertTypeOptions)),
	}
)
View Source
var (
	Generated = &flags.BoolWithInverseFlag{
		BoolFlag: &cli.BoolFlag{
			Name:    "generated-fqdn",
			Aliases: []string{"g-fqdn"},
			Usage:   "Generate an FQDN based on the project ID",
		},
	}

	GeneratedPrefix = &cli.StringFlag{
		Name:    "generated-fqdn-prefix",
		Aliases: []string{"g-prefix"},
		Usage:   "Prefix to use when generating an FQDN (Ex: `prefix`-<generated>)",
	}
)
View Source
var FQDN = &cli.StringFlag{
	Name:    "fqdn",
	Aliases: []string{"f"},
	Usage:   "Fully-qualified domain name",
}

Functions

func GetCertType

func GetCertType(c *cli.Context) (certType string, isSet bool, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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