deps

package
v1.8.2 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2023 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Build

func Build() (*dig.Container, error)

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 ProvideIOStreams() rootcmd.IOStreams

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 ProvideScheme() (*runtime.Scheme, error)

func ProvideUpdater

func ProvideUpdater(scheme *runtime.Scheme) updatecmd.Updater

func ProvideValidator

func ProvideValidator(scheme *runtime.Scheme) validatecmd.Validator

Types

type LogFactory

type LogFactory interface {
	Logger() logr.Logger
}

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

type RootSubCommandResult struct {
	dig.Out

	SubCommand *cobra.Command `group:"rootSubCommands"`
}

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

Jump to

Keyboard shortcuts

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