accept

package
v0.8.2 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 21 Imported by: 1

Documentation

Overview

Copyright Contributors to the Open Cluster Management project

Copyright Contributors to the Open Cluster Management project

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCertApprovalCondition

func GetCertApprovalCondition(status *certificatesv1.CertificateSigningRequestStatus) (approved bool, denied bool)

func NewCmd

NewCmd ...

Types

type Options

type Options struct {
	//ClusteradmFlags: The generic options from the clusteradm cli-runtime.
	ClusteradmFlags *genericclioptionsclusteradm.ClusteradmFlags
	//A list of comma separated cluster names
	ClusterOptions *genericclioptionsclusteradm.ClusterOption
	//Wait to wait for managedcluster and CSR
	Wait bool
	//If true the csr will approve directly and check of requester will skip.
	SkipApproveCheck bool

	Values Values

	Requesters []string

	Streams genericclioptions.IOStreams
}

func NewOptions added in v0.3.0

func NewOptions(clusteradmFlags *genericclioptionsclusteradm.ClusteradmFlags, streams genericclioptions.IOStreams) *Options

func (*Options) Run added in v0.3.0

func (o *Options) Run() error

func (*Options) Validate added in v0.3.0

func (o *Options) Validate() error

type Values

type Values struct {
	Clusters []string
}

Values used in the template

Jump to

Keyboard shortcuts

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