Documentation ¶
Index ¶
- type Client
- func (c *Client) CreatePort(id string, params *models.NetworkPortCreate) (*models.NetworkPort, error)
- func (c *Client) Delete(id string) error
- func (c *Client) DeletePort(id, portID string) error
- func (c *Client) Get(id string) (*models.Network, error)
- func (c *Client) GetAll() (*models.Networks, error)
- func (c *Client) GetAllPorts(id string) (*models.NetworkPorts, error)
- func (c *Client) GetAllPublic() (*models.Networks, error)
- func (c *Client) GetAllPurgeable(expr string) ([]*models.NetworkReference, error)
- func (c *Client) GetPort(id, portID string) (*models.NetworkPort, error)
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) DeletePort ¶
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 (*Client) GetAllPurgeable ¶
func (c *Client) GetAllPurgeable(expr string) ([]*models.NetworkReference, error)
Click to show internal directories.
Click to hide internal directories.