// GetContainerList gets a list of containers
GetContainerList gets a list of containers
// GetContainerList gets a list of containers
func (c *Client) GetContainerList() ([]*types.ContainerListResult, error) {
	ctx, cancel := getContextWithTimeout(hyperContextTimeout)
	defer cancel()
	req := types.ContainerListRequest{}
	containerList, err := c.client.ContainerList(ctx, &req)
	if err != nil {
		return nil, err
	}
	return containerList.ContainerList, nil
}
func ( c * Client ) GetContainerList ( ) ( [ ] * types . ContainerListResult , error ) { ctx , cancel := getContextWithTimeout ( hyperContextTimeout ) defer cancel ( ) req := types . ContainerListRequest { } containerList , err := c . client . ContainerList ( ctx , & req ) if err != nil { return nil , err } return containerList . ContainerList , nil }
GetContainerList gets a list of containers
GetContainerList gets a list of containers