Documentation ¶
Index ¶
- Variables
- func BoolCompletion(_ *cobra.Command, _ []string, _ string) ([]string, cobra.ShellCompDirective)
- func CreateJob(ctx context.Context, conf *config.Global, opts SetupOptions) error
- func DefaultSetup(cmd *cobra.Command, conf *config.Global, opts SetupOptions) error
- func FilterExts(exts []string, path string) bool
- func GetCommit() string
- func GetVersion() string
- func OnFinalize(y ...func(err error))
- func PostRun(err error)
- func Teardown(conf *config.Global)
- type SetupOptions
- type SizeWriter
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func BoolCompletion ¶ added in v1.12.0
func DefaultSetup ¶
func FilterExts ¶ added in v1.15.0
func GetVersion ¶ added in v1.6.6
func GetVersion() string
func OnFinalize ¶ added in v1.12.0
func OnFinalize(y ...func(err error))
Types ¶
type SetupOptions ¶ added in v1.6.0
type SizeWriter ¶ added in v1.13.0
type SizeWriter struct {
// contains filtered or unexported fields
}
func (*SizeWriter) Size ¶ added in v1.13.0
func (s *SizeWriter) Size() uint64
func (*SizeWriter) String ¶ added in v1.13.0
func (s *SizeWriter) String() string
Click to show internal directories.
Click to hide internal directories.