Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Create ¶
func Create(ctx context.Context, opts *CreateOptions) (*kccertificates.CreateResponseItem, error)
Create a KraftCloud certificate.
Types ¶
type CreateOptions ¶
type CreateOptions struct { Auth *config.AuthConfig `noattribute:"true"` Client kccertificates.CertificatesService `noattribute:"true"` Metro string `noattribute:"true"` Chain string `local:"true" long:"chain" short:"C" usage:"The chain of the certificate"` CN string `local:"true" long:"cn" short:"c" usage:"The common name of the certificate"` Name string `local:"true" size:"name" short:"n" usage:"The name of the certificate"` PKey string `local:"true" long:"pkey" short:"p" usage:"The private key of the certificate in PEM format"` Token string `noattribute:"true"` }
Click to show internal directories.
Click to hide internal directories.