plans

package
v0.21.0 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	Servicer Servicer
	Service  metal.PlansApiService
	Out      outputs.Outputer
}

func NewClient

func NewClient(s Servicer, out outputs.Outputer) *Client

func (*Client) NewCommand

func (c *Client) NewCommand() *cobra.Command

func (*Client) Retrieve

func (c *Client) Retrieve() *cobra.Command

type Servicer

type Servicer interface {
	MetalAPI(*cobra.Command) *metal.APIClient
	Filters() map[string]string
	Includes(defaultIncludes []string) (incl []string)
	Excludes(defaultExcludes []string) (excl []string)
}

Jump to

Keyboard shortcuts

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