wizard

package
v0.19.0 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrEmptyListing = errors.New("empty listing")
)

Functions

This section is empty.

Types

type Pagination

type Pagination interface {
	GetPage() int32

	GetItemsPerPage() int32

	GetTotalItems() int32
}

@see lib/pagination.go

type Wizard

type Wizard struct {
	// contains filtered or unexported fields
}

func New

func New(profile *config.Profile) *Wizard

func (*Wizard) GetComponent added in v0.15.0

func (w *Wizard) GetComponent() (*sdk.ComponentItem, error)

func (*Wizard) GetEnvironment added in v0.15.0

func (w *Wizard) GetEnvironment() (*sdk.EnvironmentItem, error)

func (*Wizard) GetOrganization added in v0.15.0

func (w *Wizard) GetOrganization() (*sdk.OrganizationItem, error)

func (*Wizard) GetProject added in v0.15.0

func (w *Wizard) GetProject() (*sdk.ProjectItem, error)

func (*Wizard) HasComponent added in v0.15.0

func (w *Wizard) HasComponent() bool

func (*Wizard) HasEnvironment added in v0.15.0

func (w *Wizard) HasEnvironment() bool

func (*Wizard) HasOrganization added in v0.15.0

func (w *Wizard) HasOrganization() bool

func (*Wizard) HasProject added in v0.15.0

func (w *Wizard) HasProject() bool

func (*Wizard) SelectComponent

func (w *Wizard) SelectComponent() (*sdk.ComponentCollection, error)

func (*Wizard) SelectEnvironment

func (w *Wizard) SelectEnvironment() (*sdk.EnvironmentCollection, error)

func (*Wizard) SelectOrganization

func (w *Wizard) SelectOrganization() (*sdk.OrganizationCollection, error)

func (*Wizard) SelectProject

func (w *Wizard) SelectProject() (*sdk.ProjectCollection, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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