deny

package
v0.0.0-...-b2f5b69 Latest Latest
Warning

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

Go to latest
Published: May 12, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdDeny

func NewCmdDeny(ctx context.Context, ioStreams genericclioptions.IOStreams) *cobra.Command

Types

type Options

type Options struct {
	// Reason is the string that will be set on the Reason field of the Denied
	// condition.
	Reason string
	// Message is the string that will be set on the Message field of the
	// Denied condition.
	Message string

	genericclioptions.IOStreams
	*factory.Factory
}

Options is a struct to support create certificaterequest command

func NewOptions

func NewOptions(ioStreams genericclioptions.IOStreams) *Options

NewOptions returns initialized Options

func (*Options) Run

func (o *Options) Run(ctx context.Context, args []string) error

Run executes deny command

func (*Options) Validate

func (o *Options) Validate(args []string) error

Validate validates the provided options

Jump to

Keyboard shortcuts

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