offering

package
v1.12.0 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ListOfferingsCmd

type ListOfferingsCmd struct {
	*cmd.Context
	// contains filtered or unexported fields
}

ListOfferingsCmd wraps the smctl list-offerings command

func NewListOfferingsCmd

func NewListOfferingsCmd(context *cmd.Context) *ListOfferingsCmd

NewListOfferingsCmd returns new list-offerings command with context

func (*ListOfferingsCmd) HideUsage

func (lo *ListOfferingsCmd) HideUsage() bool

HideUsage hide command's usage

func (*ListOfferingsCmd) Prepare

func (lo *ListOfferingsCmd) Prepare(prepare cmd.PrepareFunc) *cobra.Command

Prepare returns cobra command

func (*ListOfferingsCmd) Run

func (lo *ListOfferingsCmd) Run() error

Run runs the command's logic

func (*ListOfferingsCmd) SetOutputFormat

func (lo *ListOfferingsCmd) SetOutputFormat(format output.Format)

SetOutputFormat set output format

type MarketplaceCmd added in v1.7.0

type MarketplaceCmd struct {
	*cmd.Context
	// contains filtered or unexported fields
}

MarketplaceCmd wraps the smctl marketplace command

func NewMarketplaceCmd added in v1.7.0

func NewMarketplaceCmd(context *cmd.Context) *MarketplaceCmd

NewMarketplaceCmd returns new list-offerings command with context

func (*MarketplaceCmd) HideUsage added in v1.7.0

func (m *MarketplaceCmd) HideUsage() bool

HideUsage hide command's usage

func (*MarketplaceCmd) Prepare added in v1.7.0

func (m *MarketplaceCmd) Prepare(prepare cmd.PrepareFunc) *cobra.Command

Prepare returns cobra command

func (*MarketplaceCmd) Run added in v1.7.0

func (m *MarketplaceCmd) Run() error

Run runs the command's logic

func (*MarketplaceCmd) SetOutputFormat added in v1.7.0

func (m *MarketplaceCmd) SetOutputFormat(format output.Format)

SetOutputFormat set output format

Jump to

Keyboard shortcuts

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