Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Destination ¶
type Destination struct { Password string `credential:"true" mapstructure:"password" description:"SSH Password"` PrivateKey string `credential:"true" mapstructure:"private_key" description:"SSH Private Key"` User string `mapstructure:"user" description:"Username"` Host string `mapstructure:"host" description:"Hostname"` Port string `mapstructure:"port" description:"Port"` CertificateDestination string `mapstructure:"certificate_destination" description:"Full path, including file name, for certificate"` PrivateKeyDestination string `mapstructure:"private_key_destination" description:"Full path, including file name, for private key"` }
func (Destination) Description ¶
func (d Destination) Description() string
func (Destination) Upload ¶
func (d Destination) Upload(request models.CertRequest, cert *certificate.Resource) error
Click to show internal directories.
Click to hide internal directories.