Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CompletedOptions ¶
type CompletedOptions struct {
// contains filtered or unexported fields
}
func (*CompletedOptions) Validate ¶
func (o *CompletedOptions) Validate() []error
type ExtraOptions ¶
type ExtraOptions struct{}
type GenericOptions ¶ added in v0.25.0
type GenericOptions struct {
RootDirectory string
}
func NewGeneric ¶ added in v0.25.0
func NewGeneric(rootDir string) *GenericOptions
func (*GenericOptions) AddFlags ¶ added in v0.25.0
func (o *GenericOptions) AddFlags(fss *cliflag.NamedFlagSets)
func (*GenericOptions) Complete ¶ added in v0.25.0
func (o *GenericOptions) Complete() (*GenericOptions, error)
func (*GenericOptions) Validate ¶ added in v0.25.0
func (o *GenericOptions) Validate() []error
type Options ¶
type Options struct { Output io.Writer Generic GenericOptions Server serveroptions.Options Extra ExtraOptions }
func NewOptions ¶
func (*Options) AddFlags ¶
func (o *Options) AddFlags(fss *cliflag.NamedFlagSets)
func (*Options) Complete ¶
func (o *Options) Complete() (*CompletedOptions, error)
Click to show internal directories.
Click to hide internal directories.