Documentation ¶
Index ¶
- func Build() (*dig.Container, error)
- func ProvideArgs() []string
- func ProvideBuilderFactory(scheme *runtime.Scheme, f LogFactory) buildcmd.BuilderFactory
- func ProvideClientFactory(kcliFactory internalcmd.KubeClientFactory) internalcmd.ClientFactory
- func ProvideIOStreams() rootcmd.IOStreams
- func ProvideKubeClientFactory(cfgFactory internalcmd.RestConfigFactory, scheme *runtime.Scheme) internalcmd.KubeClientFactory
- func ProvideRendererFactory(scheme *runtime.Scheme, f LogFactory) treecmd.RendererFactory
- func ProvideRestConfigFactory() internalcmd.RestConfigFactory
- func ProvideScheme() (*runtime.Scheme, error)
- func ProvideUpdater(scheme *runtime.Scheme) updatecmd.Updater
- func ProvideValidator(scheme *runtime.Scheme) validatecmd.Validator
- type LogFactory
- type RolloutSubCommandResult
- type RootSubCommandResult
- func ProvideBuildCmd(builderFactory buildcmd.BuilderFactory) RootSubCommandResult
- func ProvideRolloutCmd(params rolloutcmd.Params) RootSubCommandResult
- func ProvideTreeCmd(rendererFactory treecmd.RendererFactory) RootSubCommandResult
- func ProvideUpdateCmd(updater updatecmd.Updater) RootSubCommandResult
- func ProvideValidateCmd(validator validatecmd.Validator) RootSubCommandResult
- func ProvideVersionCmd() RootSubCommandResult
- type ZapLogFactory
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ProvideArgs ¶
func ProvideArgs() []string
func ProvideBuilderFactory ¶
func ProvideBuilderFactory(scheme *runtime.Scheme, f LogFactory) buildcmd.BuilderFactory
func ProvideClientFactory ¶
func ProvideClientFactory(kcliFactory internalcmd.KubeClientFactory) internalcmd.ClientFactory
func ProvideIOStreams ¶
func ProvideKubeClientFactory ¶
func ProvideKubeClientFactory(cfgFactory internalcmd.RestConfigFactory, scheme *runtime.Scheme) internalcmd.KubeClientFactory
func ProvideRendererFactory ¶
func ProvideRendererFactory(scheme *runtime.Scheme, f LogFactory) treecmd.RendererFactory
func ProvideRestConfigFactory ¶
func ProvideRestConfigFactory() internalcmd.RestConfigFactory
func ProvideScheme ¶
func ProvideValidator ¶
func ProvideValidator(scheme *runtime.Scheme) validatecmd.Validator
Types ¶
type LogFactory ¶
func ProvideLogFactory ¶
func ProvideLogFactory(streams rootcmd.IOStreams) LogFactory
type RolloutSubCommandResult ¶
type RolloutSubCommandResult struct { dig.Out SubCommand *cobra.Command `group:"rolloutSubCommands"` }
func ProvideRolloutHistoryCmd ¶
func ProvideRolloutHistoryCmd(clientFactory internalcmd.ClientFactory) RolloutSubCommandResult
type RootSubCommandResult ¶
func ProvideBuildCmd ¶
func ProvideBuildCmd(builderFactory buildcmd.BuilderFactory) RootSubCommandResult
func ProvideRolloutCmd ¶
func ProvideRolloutCmd(params rolloutcmd.Params) RootSubCommandResult
func ProvideTreeCmd ¶
func ProvideTreeCmd(rendererFactory treecmd.RendererFactory) RootSubCommandResult
func ProvideUpdateCmd ¶
func ProvideUpdateCmd(updater updatecmd.Updater) RootSubCommandResult
func ProvideValidateCmd ¶
func ProvideValidateCmd(validator validatecmd.Validator) RootSubCommandResult
func ProvideVersionCmd ¶
func ProvideVersionCmd() RootSubCommandResult
type ZapLogFactory ¶
type ZapLogFactory struct {
// contains filtered or unexported fields
}
func (*ZapLogFactory) Logger ¶
func (f *ZapLogFactory) Logger() logr.Logger
Click to show internal directories.
Click to hide internal directories.