Documentation ¶
Index ¶
- func Execute(f Factory, out io.Writer) error
- func NewCmdApply(f Factory, out io.Writer) *cobra.Command
- func NewCmdApplyChannel(f Factory, out io.Writer) *cobra.Command
- func NewCmdGet(f Factory, out io.Writer) *cobra.Command
- func NewCmdGetAddons(f Factory, out io.Writer) *cobra.Command
- func NewCmdRoot(f Factory, out io.Writer) *cobra.Command
- func RunApplyChannel(ctx context.Context, f Factory, out io.Writer, options *ApplyChannelOptions, ...) error
- func RunGetAddons(ctx context.Context, f Factory, out io.Writer, options *GetAddonsOptions) error
- type ApplyChannelOptions
- type CmdRootOptions
- type DefaultFactory
- func (f *DefaultFactory) CertManagerClient() (certmanager.Interface, error)
- func (f *DefaultFactory) DynamicClient() (dynamic.Interface, error)
- func (f *DefaultFactory) KubernetesClient() (kubernetes.Interface, error)
- func (f *DefaultFactory) RESTMapper() (*restmapper.DeferredDiscoveryRESTMapper, error)
- type Factory
- type GetAddonsOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunApplyChannel ¶
func RunGetAddons ¶
Types ¶
type ApplyChannelOptions ¶
type CmdRootOptions ¶
type CmdRootOptions struct {
// contains filtered or unexported fields
}
type DefaultFactory ¶
type DefaultFactory struct { ConfigFlags genericclioptions.ConfigFlags // contains filtered or unexported fields }
func (*DefaultFactory) CertManagerClient ¶ added in v1.20.0
func (f *DefaultFactory) CertManagerClient() (certmanager.Interface, error)
func (*DefaultFactory) DynamicClient ¶ added in v1.23.0
func (f *DefaultFactory) DynamicClient() (dynamic.Interface, error)
func (*DefaultFactory) KubernetesClient ¶
func (f *DefaultFactory) KubernetesClient() (kubernetes.Interface, error)
func (*DefaultFactory) RESTMapper ¶ added in v1.23.0
func (f *DefaultFactory) RESTMapper() (*restmapper.DeferredDiscoveryRESTMapper, error)
type Factory ¶
type Factory interface { KubernetesClient() (kubernetes.Interface, error) CertManagerClient() (certmanager.Interface, error) RESTMapper() (*restmapper.DeferredDiscoveryRESTMapper, error) DynamicClient() (dynamic.Interface, error) }
type GetAddonsOptions ¶
type GetAddonsOptions struct{}
Click to show internal directories.
Click to hide internal directories.