Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BindAPIServiceOptions ¶
type BindAPIServiceOptions struct {
Options *base.Options
Logs *logs.Options
JSONYamlPrintFlags *genericclioptions.JSONYamlPrintFlags
OutputFormat string
Print *genericclioptions.PrintFlags
// skipKonnector skips the deployment of the konnector.
SkipKonnector bool
KonnectorImageOverride string
DowngradeKonnector bool
NoBanner bool
// contains filtered or unexported fields
}
BindAPIServiceOptions are the options for the kubectl-bind-apiservice command.
func NewBindAPIServiceOptions ¶
func NewBindAPIServiceOptions(streams genericclioptions.IOStreams) *BindAPIServiceOptions
NewBindAPIServiceOptions returns new BindAPIServiceOptions.
func (*BindAPIServiceOptions) AddCmdFlags ¶ added in v0.0.14
func (b *BindAPIServiceOptions) AddCmdFlags(cmd *cobra.Command)
AddCmdFlags binds fields to cmd's flagset.
func (*BindAPIServiceOptions) Complete ¶
func (b *BindAPIServiceOptions) Complete(args []string) error
Complete ensures all fields are initialized.
func (*BindAPIServiceOptions) Run ¶
func (b *BindAPIServiceOptions) Run(ctx context.Context) error
Run starts the binding process.
func (*BindAPIServiceOptions) Validate ¶
func (b *BindAPIServiceOptions) Validate() error
Validate validates the BindAPIServiceOptions are complete and usable.
Click to show internal directories.
Click to hide internal directories.