ports

package
v0.10.3 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2022 License: MIT Imports: 8 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
	PortService packngo.PortService
	VLANService packngo.VLANAssignmentService
	Out         outputs.Outputer
}

func NewClient

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

func (*Client) Convert

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

func (*Client) NewCommand

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

func (*Client) Retrieve

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

func (*Client) Vlans

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

type Servicer

type Servicer interface {
	API(*cobra.Command) *packngo.Client
	ListOptions(defaultIncludes, defaultExcludes []string) *packngo.ListOptions
}

Jump to

Keyboard shortcuts

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