Documentation ¶
Index ¶
- type Client
- func (c *Client) CreatePort(id string, params *p_cloud_networks.PcloudNetworksPortsPostParams) (*models.NetworkPort, error)
- func (c *Client) Delete(id string) error
- func (c *Client) DeletePort(id, portID string) (*models.Object, error)
- func (c *Client) Get(id string) (*models.Network, error)
- func (c *Client) GetAll() (*models.Networks, error)
- func (c *Client) GetAllPort(id string) (*models.NetworkPorts, error)
- func (c *Client) GetAllPurgeable(before, since time.Duration, expr string) ([]*models.NetworkReference, error)
- func (c *Client) GetPort(id, portID string) (*models.NetworkPort, error)
- func (c *Client) GetPublic() (*models.Networks, 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 *p_cloud_networks.PcloudNetworksPortsPostParams) (*models.NetworkPort, error)
func (*Client) GetAllPort ¶
func (c *Client) GetAllPort(id string) (*models.NetworkPorts, error)
func (*Client) GetAllPurgeable ¶
Click to show internal directories.
Click to hide internal directories.