Documentation ¶
Index ¶
- func NewBuildCmd(common *options.Common) *cobra.Command
- func NewBuildCollectionCmd(buildOpts *BuildOptions) *cobra.Command
- func NewBuildSchemaCmd(buildOpts *BuildOptions) *cobra.Command
- func NewInspectCmd(common *options.Common) *cobra.Command
- func NewPullCmd(common *options.Common) *cobra.Command
- func NewPushCmd(common *options.Common) *cobra.Command
- func NewRootCmd() *cobra.Command
- func NewServeCmd(common *options.Common) *cobra.Command
- func NewVersionCmd(common *options.Common) *cobra.Command
- type BuildCollectionOptions
- type BuildOptions
- type BuildSchemaOptions
- type InspectOptions
- type KeyChainFunc
- type PullOptions
- type PushOptions
- type ServeOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewBuildCmd ¶
NewBuildCmd creates a new cobra.Command for the build subcommand.
func NewBuildCollectionCmd ¶
func NewBuildCollectionCmd(buildOpts *BuildOptions) *cobra.Command
NewBuildCollectionCmd creates a new cobra.Command for the build collection subcommand.
func NewBuildSchemaCmd ¶
func NewBuildSchemaCmd(buildOpts *BuildOptions) *cobra.Command
NewBuildSchemaCmd creates a new cobra.Command for the build schema subcommand.
func NewInspectCmd ¶
NewInspectCmd creates a new cobra.Command for the inspect subcommand.
func NewPullCmd ¶
NewPullCmd creates a new cobra.Command for the pull subcommand.
func NewPushCmd ¶
NewPushCmd creates a new cobra.Command for the push subcommand.
func NewRootCmd ¶
NewRootCmd creates a new cobra.Command for the command root.
func NewServeCmd ¶
NewServeCmd creates a new cobra.Command for the serve subcommand.
Types ¶
type BuildCollectionOptions ¶
type BuildCollectionOptions struct { *BuildOptions options.Remote options.RemoteAuth NoVerify bool RootDir string // Dataset Config DSConfig string }
BuildCollectionOptions describe configuration options that can be set using the build collection subcommand.
func (*BuildCollectionOptions) Complete ¶
func (o *BuildCollectionOptions) Complete(args []string) error
func (*BuildCollectionOptions) Run ¶
func (o *BuildCollectionOptions) Run(ctx context.Context) error
func (*BuildCollectionOptions) Validate ¶
func (o *BuildCollectionOptions) Validate() error
type BuildOptions ¶
BuildOptions describe configuration options that can be set using the build subcommand.
type BuildSchemaOptions ¶
type BuildSchemaOptions struct { *BuildOptions SchemaConfig string }
BuildSchemaOptions describe configuration options that can be set using the build schema subcommand.
func (*BuildSchemaOptions) Complete ¶
func (o *BuildSchemaOptions) Complete(args []string) error
func (*BuildSchemaOptions) Validate ¶
func (o *BuildSchemaOptions) Validate() error
type InspectOptions ¶
InspectOptions describe configuration options that can be set when using the inspect subcommand.
func (*InspectOptions) Complete ¶
func (o *InspectOptions) Complete(_ []string) error
func (*InspectOptions) Validate ¶
func (o *InspectOptions) Validate() error
type KeyChainFunc ¶
type KeyChainFunc func(authn.Resource) (authn.Authenticator, error)
func (KeyChainFunc) Resolve ¶
func (fn KeyChainFunc) Resolve(r authn.Resource) (authn.Authenticator, error)
type PullOptions ¶
type PullOptions struct { *options.Common options.Remote options.RemoteAuth Source string Output string PullAll bool AttributeQuery string NoVerify bool }
PullOptions describe configuration options that can be set using the pull subcommand.
func (*PullOptions) Complete ¶
func (o *PullOptions) Complete(args []string) error
func (*PullOptions) Validate ¶
func (o *PullOptions) Validate() error
type PushOptions ¶
type PushOptions struct { *options.Common options.Remote options.RemoteAuth Destination string Sign bool }
PushOptions describe configuration options that can be set using the push subcommand.
func (*PushOptions) Complete ¶
func (o *PushOptions) Complete(args []string) error
func (*PushOptions) Validate ¶
func (o *PushOptions) Validate() error
type ServeOptions ¶
ServeOptions describe configuration options that can be set using the serve subcommand.
func (*ServeOptions) Complete ¶
func (o *ServeOptions) Complete(args []string) error
func (*ServeOptions) Validate ¶
func (o *ServeOptions) Validate() error