Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCmdCheckApi ¶
func NewCmdCheckApi(ctx context.Context, ioStreams genericclioptions.IOStreams, factory k8scmdutil.Factory) *cobra.Command
NewCmdCheckApi returns a cobra command for checking creating cert-manager resources against the K8S API server
Types ¶
type Options ¶
type Options struct {
// APIChecker is used to check that the cert-manager CRDs have been installed on the K8S
// API server and that the cert-manager webhooks are all working
APIChecker cmapichecker.Interface
// Time before timeout when waiting
Wait time.Duration
// Time between checks when waiting
Interval time.Duration
// Namespace that is used to dry-run create the certificate resource in
Namespace string
// Print details regarding encountered errors
Verbose bool
genericclioptions.IOStreams
}
Options is a struct to support check api command
func NewOptions ¶
func NewOptions(ioStreams genericclioptions.IOStreams) *Options
NewOptions returns initialized Options
Click to show internal directories.
Click to hide internal directories.