certificate

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2020 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAuthHookCommand

func NewAuthHookCommand() *cobra.Command

NewAuthHookCommand returns a command that will create a DNS authentication entry in the given DNS hosted zone

func NewCertificateCommand

func NewCertificateCommand() *cobra.Command

NewCertificateCommand returns a utility command to help create a certificate for OpenShift clusters on AWS

func NewCleanupHookCommand

func NewCleanupHookCommand() *cobra.Command

NewCleanupHookCommand returns a command that will cleanup a DNS authentication entry in the given DNS hosted zone

func NewCreateCertifcateCommand

func NewCreateCertifcateCommand() *cobra.Command

NewCreateCertifcateCommand returns a command that will create a letsencrypt serving cert for OpenShift clusters on AWS.

Types

type HookOptions

type HookOptions struct {
	HostedZoneID string
	Domain       string
	Value        string
	Region       string
	WaitTime     time.Duration
}

HookOptions is the set of options to create/delete DNS authentication entries

func (*HookOptions) Complete

func (o *HookOptions) Complete(cmd *cobra.Command, args []string) error

Complete finalizes options by using arguments and environment variables

func (*HookOptions) Create

func (o *HookOptions) Create() error

Create creates an authentication DNS record in the specified zone

func (*HookOptions) Delete

func (o *HookOptions) Delete() error

Delete removes the authentication DNS record from the specified zone

type Options

type Options struct {
	Name       string
	BaseDomain string
	Email      string
	Region     string
	OutputDir  string
	WaitTime   time.Duration
}

Options is the set of options to create a new server certificate

func (*Options) Complete

func (o *Options) Complete(cmd *cobra.Command, args []string) error

Complete finalizes command options

func (*Options) Run

func (o *Options) Run() error

Run executes the command

Jump to

Keyboard shortcuts

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