network

package
v0.1.20 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2024 License: Apache-2.0 Imports: 6 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 {
	// contains filtered or unexported fields
}

func NewClient

func NewClient(sess *ibmpisession.IBMPISession, powerinstanceid string) *Client

func (*Client) CreatePort

func (c *Client) CreatePort(id string, params *models.NetworkPortCreate) (*models.NetworkPort, error)

func (*Client) Delete

func (c *Client) Delete(id string) error

func (*Client) DeletePort

func (c *Client) DeletePort(id, portID string) error

func (*Client) Get

func (c *Client) Get(id string) (*models.Network, error)

func (*Client) GetAll

func (c *Client) GetAll() (*models.Networks, error)

func (*Client) GetAllPorts added in v0.1.4

func (c *Client) GetAllPorts(id string) (*models.NetworkPorts, error)

func (*Client) GetAllPublic added in v0.1.4

func (c *Client) GetAllPublic() (*models.Networks, error)

func (*Client) GetAllPurgeable

func (c *Client) GetAllPurgeable(expr string) ([]*models.NetworkReference, error)

func (*Client) GetPort

func (c *Client) GetPort(id, portID string) (*models.NetworkPort, error)

Jump to

Keyboard shortcuts

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