commands

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2023 License: Apache-2.0 Imports: 51 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewBuildCmd

func NewBuildCmd(common *options.Common) *cobra.Command

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

func NewInspectCmd(common *options.Common) *cobra.Command

NewInspectCmd creates a new cobra.Command for the inspect subcommand.

func NewPullCmd

func NewPullCmd(common *options.Common) *cobra.Command

NewPullCmd creates a new cobra.Command for the pull subcommand.

func NewPushCmd

func NewPushCmd(common *options.Common) *cobra.Command

NewPushCmd creates a new cobra.Command for the push subcommand.

func NewRootCmd

func NewRootCmd() *cobra.Command

NewRootCmd creates a new cobra.Command for the command root.

func NewServeCmd

func NewServeCmd(common *options.Common) *cobra.Command

NewServeCmd creates a new cobra.Command for the serve subcommand.

func NewVersionCmd

func NewVersionCmd(common *options.Common) *cobra.Command

NewVersionCmd creates a new cobra.Command for the version 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 (*BuildCollectionOptions) Validate

func (o *BuildCollectionOptions) Validate() error

type BuildOptions

type BuildOptions struct {
	*options.Common
	Destination string
}

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) Run

func (*BuildSchemaOptions) Validate

func (o *BuildSchemaOptions) Validate() error

type InspectOptions

type InspectOptions struct {
	*options.Common
	Source         string
	AttributeQuery string
}

InspectOptions describe configuration options that can be set when using the inspect subcommand.

func (*InspectOptions) Complete

func (o *InspectOptions) Complete(_ []string) error

func (*InspectOptions) Run

func (o *InspectOptions) Run(ctx context.Context) error

func (*InspectOptions) Validate

func (o *InspectOptions) Validate() error

type KeyChainFunc

type KeyChainFunc func(authn.Resource) (authn.Authenticator, error)

func (KeyChainFunc) Resolve

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) Run

func (o *PullOptions) Run(ctx context.Context) 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) Run

func (o *PushOptions) Run(ctx context.Context) error

func (*PushOptions) Validate

func (o *PushOptions) Validate() error

type ServeOptions

type ServeOptions struct {
	*options.Common
	SocketLocation string
	options.Remote
}

ServeOptions describe configuration options that can be set using the serve subcommand.

func (*ServeOptions) Complete

func (o *ServeOptions) Complete(args []string) error

func (*ServeOptions) Run

func (o *ServeOptions) Run(ctx context.Context) error

func (*ServeOptions) Validate

func (o *ServeOptions) Validate() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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