Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Options struct { S3Bucket string `long:"s3-bucket" description:"S3 Bucket Name" required:"true"` S3KMSKeyID string `long:"s3-kms-key" description:"KMS Key ID for S3 SSE-KMS"` Email string `long:"email" description:"Email Address"` }
Options for the global command.
Functions ¶
func NewAWSSession ¶
Types ¶
type CertCommand ¶
type CertCommand struct { CommonName string `long:"cn" description:"CommonName to be issued"` Domains []string `long:"domain" description:"Domains to be issued as Subject Alternative Names"` CreateKey bool `long:"create-key" description:"Create a new keypair"` RSAKeySize int `` /* 130-byte string literal not displayed */ }
func (*CertCommand) Execute ¶
func (c *CertCommand) Execute(args []string) error
type CertService ¶
type CertService struct { Email string CommonName string Domains []string CreateKey bool RSAKeySize int Store *agent.Store }
func (*CertService) Run ¶
func (svc *CertService) Run() error
type Certificate ¶
type Domain ¶
type Domain struct { Email string `json:"email"` Domain string `json:"domain"` Certificate Certificate `json:"certificate"` }
type LsCommand ¶
type LsCommand struct {
Format string `long:"format" description:"Format the output" default:"json"`
}
type RegCommand ¶
type RegCommand struct { AgreeTOS bool `long:"agree-tos" description:"Agree with the ToS"` Override bool `long:"override the registration if it already exists with a new key"` }
func (*RegCommand) Execute ¶
func (c *RegCommand) Execute(args []string) error
type SyncCommand ¶
type SyncCommand struct { Domain string `long:"domain" description:"Domain to be synced" required:"true"` // contains filtered or unexported fields }
func (*SyncCommand) Execute ¶
func (c *SyncCommand) Execute(args []string) error
type UploadCommand ¶
type UploadCommand struct {
Domain string `long:"domain" description:"Domain to be uploaded"`
}
func (*UploadCommand) Execute ¶
func (c *UploadCommand) Execute(args []string) error
Click to show internal directories.
Click to hide internal directories.