cmd

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2022 License: MIT Imports: 8 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateCmd

type CreateCmd interface {
	CreateEnvironment(opts CreateOptions) error
}

func NewCreateCmd

func NewCreateCmd(client client.Client) CreateCmd

type CreateOptions

type CreateOptions struct {
	Name                 string
	WaitTimer            int
	Reviewers            *string
	ProtectedBranches    *bool
	CustomBranchPolicies *bool
}

type DeleteCmd

type DeleteCmd interface {
	Delete(opts DeleteOptions) error
}

func NewDeleteCmd

func NewDeleteCmd(client client.Client) DeleteCmd

type DeleteOptions

type DeleteOptions struct {
	Name  string
	Force bool
}

type ListCmd

type ListCmd interface {
	AsJSON(opts ListOptions) error
	AsTable(opts ListOptions) error
}

func NewListCmd

func NewListCmd(client client.Client) ListCmd

type ListOptions

type ListOptions struct {
	PerPage int
	Query   string
}

type ViewCmd

type ViewCmd interface {
	AsJSON(opts ViewOptions) error
}

func NewViewCmd

func NewViewCmd(client client.Client) ViewCmd

type ViewOptions

type ViewOptions struct {
	Name string
}

Jump to

Keyboard shortcuts

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