Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CertOptions ¶
type CertOptions struct { Organization []string ValidityPeriod int64 IPs []string DNSNames []string }
func (*CertOptions) AddFlags ¶
func (opts *CertOptions) AddFlags(fs *flag.FlagSet)
func (*CertOptions) AsConfig ¶
func (opts *CertOptions) AsConfig(cn string, isCA bool, usages []x509.ExtKeyUsage) certutil.Config
func (*CertOptions) GetIPs ¶
func (opts *CertOptions) GetIPs() (ips []net.IP)
type CommonOptions ¶
func (*CommonOptions) AddFlags ¶
func (opts *CommonOptions) AddFlags(fs *flag.FlagSet)
func (*CommonOptions) Remote ¶
func (opts *CommonOptions) Remote() bool
type SaveOptions ¶
type SaveOptions struct {
SecretName string
}
func (*SaveOptions) AddFlags ¶
func (opts *SaveOptions) AddFlags(fs *flag.FlagSet)
Click to show internal directories.
Click to hide internal directories.