Documentation ¶
Index ¶
Constants ¶
View Source
const CertValidDays int = 999 * 365
Variables ¶
This section is empty.
Functions ¶
func NewCmdGenCert ¶
func NewCmdGenCert(sailOption *models.SailOption) *cobra.Command
Types ¶
type GenCertOptions ¶
type GenCertOptions struct { TargetName string `json:"target_name"` ZoneName string `json:"zone_name"` OutputDir string `json:"output_dir"` CAName string `json:"ca_name"` Names []string `json:"names"` // contains filtered or unexported fields }
func NewGenCertOptions ¶
func NewGenCertOptions(sailOption *models.SailOption) *GenCertOptions
func (*GenCertOptions) Complete ¶
func (o *GenCertOptions) Complete(cmd *cobra.Command, args []string) error
func (*GenCertOptions) Run ¶
func (o *GenCertOptions) Run(args []string) error
func (*GenCertOptions) Validate ¶
func (o *GenCertOptions) Validate() error
Click to show internal directories.
Click to hide internal directories.