create

package
v0.8.7-58-gef3c4671 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 17, 2024 License: BSD-3-Clause Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

Create a KraftCloud certificate.

func NewCmd

func NewCmd() *cobra.Command

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"`
}

func (*CreateOptions) Pre

func (opts *CreateOptions) Pre(cmd *cobra.Command, _ []string) error

func (*CreateOptions) Run

func (opts *CreateOptions) Run(ctx context.Context, _ []string) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL