util

package
v1.11.0 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2024 License: GPL-3.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateJob added in v1.7.0

func CreateJob(ctx context.Context, conf *config.Global, opts SetupOptions) error

func DefaultSetup

func DefaultSetup(cmd *cobra.Command, conf *config.Global, opts SetupOptions) (err error)

func GetCommit added in v1.6.6

func GetCommit() string

func GetVersion added in v1.6.6

func GetVersion() string

func ReadAndClose added in v1.11.0

func ReadAndClose(r io.ReadCloser)

func Teardown added in v1.6.0

func Teardown(conf *config.Global)

Types

type SetupOptions added in v1.6.0

type SetupOptions struct {
	Name             string
	DisableAuthFlags bool
	NoSurvey         bool
}

Jump to

Keyboard shortcuts

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