Documentation ¶
Index ¶
Constants ¶
View Source
const RegistrationFormat = "<name>[:<artifact type>[:<media type>]]=<JSON target config"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Registration ¶
type Registration struct { Name string ArtifactType string MediaType string Config json.RawMessage }
type RegistrationOption ¶
type RegistrationOption struct { Registrations []*Registration // contains filtered or unexported fields }
func NewRegistrationOption ¶
func NewRegistrationOption(name, short, desc, usage string) RegistrationOption
func (*RegistrationOption) AddFlags ¶
func (o *RegistrationOption) AddFlags(fs *pflag.FlagSet)
func (*RegistrationOption) Configure ¶
func (o *RegistrationOption) Configure(ctx clictx.Context) error
func (*RegistrationOption) HasRegistrations ¶
func (o *RegistrationOption) HasRegistrations() bool
func (*RegistrationOption) Usage ¶
func (o *RegistrationOption) Usage() string
Click to show internal directories.
Click to hide internal directories.