Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyFlags ¶
ApplyFlags applies applicable fields of the passed-in option pointer to the target flag set. NOTE: The option argument need to be a pointer to the options, so its value becomes addressable.
Types ¶
type Common ¶
func (*Common) ApplyFlags ¶
type FlagApplier ¶
FlagApplier applies flags to a command flag set.
type OCIRepository ¶
type OCIRepository struct { CACertFilePath string UsePlainHTTP bool UseInsecure bool Configs []string Username string PasswordFromStdin bool Password string }
func (*OCIRepository) ApplyFlags ¶
func (opts *OCIRepository) ApplyFlags(fs *pflag.FlagSet)
func (*OCIRepository) Parse ¶
func (opts *OCIRepository) Parse() error
Parse tries to read password with optional cmd prompt.
func (*OCIRepository) Repository ¶ added in v0.1.14
func (opts *OCIRepository) Repository(url string) oci.Repository
type Values ¶
type Values struct { ReuseOtherSauceValues bool NoInput bool CSVDelimiter rune Flags []string ParseEnvironmentVariables bool // contains filtered or unexported fields }
func (*Values) ApplyFlags ¶
type WorkingDirectory ¶
type WorkingDirectory struct {
Dir string
}
func (*WorkingDirectory) ApplyFlags ¶
func (opts *WorkingDirectory) ApplyFlags(fs *pflag.FlagSet)
Click to show internal directories.
Click to hide internal directories.