cli

package
v0.0.0-...-2b06d51 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2024 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DeviceKind            = "device"
	EnrollmentRequestKind = "enrollmentrequest"
	FleetKind             = "fleet"
	RepositoryKind        = "repository"
	ResourceSyncKind      = "resourcesync"
	TemplateVersionKind   = "templateversion"
)

Variables

This section is empty.

Functions

func NewCmdApply

func NewCmdApply() *cobra.Command

func NewCmdApprove

func NewCmdApprove() *cobra.Command

func NewCmdDebug

func NewCmdDebug() *cobra.Command

func NewCmdDelete

func NewCmdDelete() *cobra.Command

func NewCmdDevSpec

func NewCmdDevSpec() *cobra.Command

func NewCmdGet

func NewCmdGet() *cobra.Command

func RunGetDevSpec

func RunGetDevSpec(ctx context.Context, deviceName string, knownOwner, knownTV *string) error

Types

type ApplyOptions

type ApplyOptions struct {
	Filenames []string
	DryRun    bool
	Recursive bool
}

func (*ApplyOptions) Complete

func (o *ApplyOptions) Complete(cmd *cobra.Command, args []string) error

func (*ApplyOptions) Run

func (o *ApplyOptions) Run(ctx context.Context, args []string) error

func (*ApplyOptions) Validate

func (o *ApplyOptions) Validate(args []string) error

type ApproveOptions

type ApproveOptions struct {
	ApproveLabels []string
	ApproveRegion string
}

func (*ApproveOptions) Complete

func (o *ApproveOptions) Complete(cmd *cobra.Command, args []string) error

func (*ApproveOptions) Run

func (o *ApproveOptions) Run(ctx context.Context, args []string) error

func (*ApproveOptions) Validate

func (o *ApproveOptions) Validate(args []string) error

type DeleteOptions

type DeleteOptions struct {
	Owner     string
	FleetName string
}

func (*DeleteOptions) Complete

func (o *DeleteOptions) Complete(cmd *cobra.Command, args []string) error

func (*DeleteOptions) Run

func (o *DeleteOptions) Run(ctx context.Context, args []string) error

func (*DeleteOptions) Validate

func (o *DeleteOptions) Validate(args []string) error

type GetOptions

type GetOptions struct {
	Owner         string
	LabelSelector string
	Output        string
	Limit         int32
	Continue      string
	FleetName     string
}

func (*GetOptions) Complete

func (o *GetOptions) Complete(cmd *cobra.Command, args []string) error

func (*GetOptions) Run

func (o *GetOptions) Run(ctx context.Context, args []string) error

func (*GetOptions) Validate

func (o *GetOptions) Validate(args []string) error

Jump to

Keyboard shortcuts

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