cli

package
v0.30.11 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultEndpoint               = "https://api.replicated.com/market"
	DefaultGenerateTimeoutSeconds = 60
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Cli

type Cli struct {
}

func NewCli

func NewCli() *Cli

func (*Cli) Generate

func (cli *Cli) Generate(opts GenerateOptions) error

func (*Cli) Upload

func (cli *Cli) Upload(uploadBundlePath, firstName, lastName, email, company, bundleDescription string) error

type GenerateOptions

type GenerateOptions struct {
	CfgFiles            []string
	CfgDocs             []string
	BundlePath          string
	SkipDefault         bool
	TimeoutSeconds      int
	ConfirmUploadPrompt bool
	DenyUploadPrompt    bool
	Quiet               bool
	Endpoint            string
	ChannelID           string

	CustomerID string // Deprecated

	bundle.PlannerOptions
}

Jump to

Keyboard shortcuts

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