Documentation ¶
Index ¶
- type Client
- func (c *Client) CreateVPCTag(ctx context.Context, tagName string, vpc *VPC) (string, error)
- func (c *Client) DeleteVPCTag(ctx context.Context, cloudType, tag string) (string, error)
- func (c *Client) Get(ctx context.Context, cloudType, vpcID string) (*VPC, error)
- func (c *Client) GetByName(ctx context.Context, cloudType, vpcName string) (*VPC, error)
- func (c *Client) List(ctx context.Context, cloudType string) ([]*VPC, error)
- func (c *Client) ListAll(ctx context.Context) ([]*VPC, error)
- func (c *Client) ListWithParameters(ctx context.Context, parameters *ListVPCParameters) ([]*VPC, error)
- func (c *Client) ListWithTag(ctx context.Context, cloudType, tag string) ([]*VPC, error)
- func (c *Client) ListWithTagWithParameters(ctx context.Context, parameters *ListVPCTagParameters) ([]*VPC, error)
- type CommonData
- type CreateTagData
- type HostVPC
- type ListVPCParameters
- type ListVPCTagParameters
- type VPC
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 (*Client) CreateVPCTag ¶
func (*Client) DeleteVPCTag ¶
func (*Client) ListWithParameters ¶
func (*Client) ListWithTag ¶
func (*Client) ListWithTagWithParameters ¶
type CommonData ¶
type CreateTagData ¶
type HostVPC ¶
type HostVPC struct { CommonData HostVPCID string `json:"hostVpcId"` HostVPCName string `json:"hostVpcName"` ID string `json:"id"` Label string `json:"label"` }
type ListVPCParameters ¶
type ListVPCTagParameters ¶
Click to show internal directories.
Click to hide internal directories.