Documentation ¶
Index ¶
- Variables
- func ParseError(resp *http.Response) error
- type APIClient
- type APIClientHandler
- type APIKey
- type APIResponse
- type BasicAuth
- type CloudsAPIService
- func (a *CloudsAPIService) GetAllCloudDataStores(ctx context.Context, cloudID int, queryParams map[string]string) (models.DataStoresResp, error)
- func (a *CloudsAPIService) GetAllCloudFolders(ctx context.Context, cloudID int, queryParams map[string]string) (models.GetAllCloudFolders, error)
- func (a *CloudsAPIService) GetAllCloudNetworks(ctx context.Context, cloudID, provisionTypeID int) (models.GetAllCloudNetworks, error)
- func (a *CloudsAPIService) GetAllCloudResourcePools(ctx context.Context, cloudID int, queryParams map[string]string) (models.ResourcePoolsResp, error)
- func (a *CloudsAPIService) GetAllClouds(ctx context.Context, queryParams map[string]string) (models.CloudsResp, error)
- func (a *CloudsAPIService) GetSpecificCloud(ctx context.Context, cloudID int) (models.GetSpecificCloud, error)
- func (a *CloudsAPIService) GetSpecificCloudDataStores(ctx context.Context, cloudID, datastoreID int) (models.GetSpecificCloudDataStores, error)
- func (a *CloudsAPIService) GetSpecificCloudFolder(ctx context.Context, cloudID int, folderID int) (models.GetSpecificCloudFolder, error)
- func (a *CloudsAPIService) GetSpecificCloudResourcePool(ctx context.Context, cloudID int, resourcePoolID int) (models.GetSpecificCloudResourcePool, error)
- type CmpStatus
- type Configuration
- type CustomError
- type DhcpServerAPIService
- func (lb *DhcpServerAPIService) CreateDhcpServer(ctx context.Context, serverID int, ...) (models.CreateNetworkDhcpServerResp, error)
- func (lb *DhcpServerAPIService) DeleteDhcpServer(ctx context.Context, serverID int, dhcpID int) (models.SuccessOrErrorMessage, error)
- func (lb *DhcpServerAPIService) GetDhcpServers(ctx context.Context, serverID int) (models.GetNetworkDhcpServers, error)
- func (lb *DhcpServerAPIService) GetSpecificDhcpServer(ctx context.Context, serverID int, dhcpID int) (models.GetSpecificNetworkDhcpServer, error)
- func (lb *DhcpServerAPIService) UpdateDhcpServer(ctx context.Context, serverID int, dhcpID int, ...) (models.CreateNetworkDhcpServerResp, error)
- type DomainAPIService
- type EnvironmentAPIService
- type GroupsAPIService
- type InstancesAPICloneAnInstanceOpts
- type InstancesAPIDeleteAnIstanceOpts
- type InstancesAPIService
- func (a *InstancesAPIService) CloneAnInstance(ctx context.Context, instanceID int, ...) (models.SuccessOrErrorMessage, error)
- func (a *InstancesAPIService) CreateAnInstance(ctx context.Context, localVarOptionals *models.CreateInstanceBody) (models.GetInstanceResponse, error)
- func (a *InstancesAPIService) DeleteAnInstance(ctx context.Context, instanceID int) (models.SuccessOrErrorMessage, error)
- func (a *InstancesAPIService) GetASpecificInstance(ctx context.Context, instanceID int) (models.GetInstanceResponse, error)
- func (a *InstancesAPIService) GetAllInstances(ctx context.Context, queryParams map[string]string) (models.Instances, error)
- func (a *InstancesAPIService) GetInstanceHistory(ctx context.Context, instanceID int) (models.GetInstanceHistory, error)
- func (a *InstancesAPIService) GetListOfSnapshotsForAnInstance(ctx context.Context, instanceID int) (models.ListSnapshotResponse, error)
- func (a *InstancesAPIService) ImportSnapshotOfAnInstance(ctx context.Context, instanceID int, ...) (models.SuccessOrErrorMessage, error)
- func (a *InstancesAPIService) ResizeAnInstance(ctx context.Context, instanceID int, request *models.ResizeInstanceBody) (models.ResizeInstanceResponse, error)
- func (a *InstancesAPIService) RestartAnInstance(ctx context.Context, instanceID int) (models.InstancePowerResponse, error)
- func (a *InstancesAPIService) SnapshotAnInstance(ctx context.Context, instanceID int, localVarOptionals *models.SnapshotBody) (models.Instances, error)
- func (a *InstancesAPIService) StartAnInstance(ctx context.Context, instanceID int) (models.InstancePowerResponse, error)
- func (a *InstancesAPIService) StopAnInstance(ctx context.Context, instanceID int) (models.InstancePowerResponse, error)
- func (a *InstancesAPIService) SuspendAnInstance(ctx context.Context, instanceID int) (models.InstancePowerResponse, error)
- func (a *InstancesAPIService) UpdatingAnInstance(ctx context.Context, instanceID int, request *models.UpdateInstanceBody) (models.UpdateInstanceResponse, error)
- type LibraryAPIService
- func (a *LibraryAPIService) GetAllInstanceTypes(ctx context.Context, param map[string]string) (models.InstanceTypesResp, error)
- func (a *LibraryAPIService) GetAllLayouts(ctx context.Context, param map[string]string) (models.LayoutsResp, error)
- func (a *LibraryAPIService) GetSpecificLayout(ctx context.Context, layoutID int) (models.GetSpecificLayout, error)
- type LoadBalancerAPIService
- func (lb *LoadBalancerAPIService) CreateLBMonitor(ctx context.Context, request models.CreateLBMonitor, lbID int) (models.CreateLBMonitorResp, error)
- func (lb *LoadBalancerAPIService) CreateLBPool(ctx context.Context, request models.CreateLBPool, lbID int) (models.CreateLBPoolResp, error)
- func (lb *LoadBalancerAPIService) CreateLBProfile(ctx context.Context, request models.CreateLBProfile, lbID int) (models.CreateLBProfileResp, error)
- func (lb *LoadBalancerAPIService) CreateLBVirtualServers(ctx context.Context, request models.CreateLBVirtualServers, lbID int) (models.LBVirtualServersResp, error)
- func (lb *LoadBalancerAPIService) CreateLoadBalancer(ctx context.Context, request models.CreateLoadBalancerRequest) (models.CreateNetworkLoadBalancerResp, error)
- func (lb *LoadBalancerAPIService) DeleteLBMonitor(ctx context.Context, lbID int, lbMonitorID int) (models.SuccessOrErrorMessage, error)
- func (lb *LoadBalancerAPIService) DeleteLBPool(ctx context.Context, lbID int, lbPoolID int) (models.SuccessOrErrorMessage, error)
- func (lb *LoadBalancerAPIService) DeleteLBProfile(ctx context.Context, lbID int, lbProfileID int) (models.SuccessOrErrorMessage, error)
- func (lb *LoadBalancerAPIService) DeleteLBVirtualServers(ctx context.Context, lbID int, lbVirtualServerID int) (models.SuccessOrErrorMessage, error)
- func (lb *LoadBalancerAPIService) DeleteLoadBalancer(ctx context.Context, lbID int) (models.SuccessOrErrorMessage, error)
- func (lb *LoadBalancerAPIService) GetLBMonitors(ctx context.Context, lbID int) (models.GetLBMonitors, error)
- func (lb *LoadBalancerAPIService) GetLBPoolMemberGroup(ctx context.Context, serviceID int) (models.GetMemeberGroupForPool, error)
- func (lb *LoadBalancerAPIService) GetLBPools(ctx context.Context, lbID int) (models.GetLBPools, error)
- func (lb *LoadBalancerAPIService) GetLBProfiles(ctx context.Context, lbID int) (models.GetLBProfile, error)
- func (lb *LoadBalancerAPIService) GetLBVirtualServerSSLCerts(ctx context.Context) (models.GetSSLCertificates, error)
- func (lb *LoadBalancerAPIService) GetLBVirtualServers(ctx context.Context, lbID int) (models.GetLBVirtualServers, error)
- func (lb *LoadBalancerAPIService) GetLoadBalancerTypes(ctx context.Context, queryParams map[string]string) (models.GetLoadBalancerTypes, error)
- func (lb *LoadBalancerAPIService) GetLoadBalancers(ctx context.Context) (models.GetNetworkLoadBalancers, error)
- func (lb *LoadBalancerAPIService) GetSpecificLBMonitor(ctx context.Context, lbID int, lbmonitorID int) (models.GetSpecificLBMonitor, error)
- func (lb *LoadBalancerAPIService) GetSpecificLBPool(ctx context.Context, lbID int, lbPoolID int) (models.GetSpecificLBPool, error)
- func (lb *LoadBalancerAPIService) GetSpecificLBProfile(ctx context.Context, lbID int, lbProfileID int) (models.GetLBSpecificProfile, error)
- func (lb *LoadBalancerAPIService) GetSpecificLBVirtualServer(ctx context.Context, lbID int, lbVSID int) (models.GetSpecificLBVirtualServers, error)
- func (lb *LoadBalancerAPIService) GetSpecificLoadBalancers(ctx context.Context, lbID int) (models.GetSpecificNetworkLoadBalancer, error)
- func (lb *LoadBalancerAPIService) UpdateLBMonitor(ctx context.Context, request models.CreateLBMonitor, lbID int, lbmonitorID int) (models.CreateLBMonitorResp, error)
- func (lb *LoadBalancerAPIService) UpdateLBPool(ctx context.Context, request models.CreateLBPool, lbID int, lbPoolID int) (models.CreateLBPoolResp, error)
- func (lb *LoadBalancerAPIService) UpdateLBProfile(ctx context.Context, request models.CreateLBProfile, lbID int, lbProfileID int) (models.CreateLBProfileResp, error)
- func (lb *LoadBalancerAPIService) UpdateLBVirtualServers(ctx context.Context, request models.CreateLBVirtualServers, lbID int, ...) (models.LBVirtualServersResp, error)
- func (lb *LoadBalancerAPIService) UpdateLoadBalancer(ctx context.Context, lbID int, request models.CreateLoadBalancerRequest) (models.CreateNetworkLoadBalancerResp, error)
- type NetworksAPIService
- func (n *NetworksAPIService) CreateNetwork(ctx context.Context, networkReq models.CreateNetworkRequest) (models.CreateNetworkResponse, error)
- func (n *NetworksAPIService) DeleteNetwork(ctx context.Context, networkID int) (models.SuccessOrErrorMessage, error)
- func (n *NetworksAPIService) GetAllNetworks(ctx context.Context, param map[string]string) (models.ListNetworksBody, error)
- func (n *NetworksAPIService) GetNetworkPool(ctx context.Context, params map[string]string) (models.GetNetworkPoolsResp, error)
- func (n *NetworksAPIService) GetNetworkProxy(ctx context.Context, params map[string]string) (models.GetAllNetworkProxies, error)
- func (n *NetworksAPIService) GetNetworkType(ctx context.Context, params map[string]string) (models.GetNetworkTypesResponse, error)
- func (n *NetworksAPIService) GetSpecificNetwork(ctx context.Context, networkID int) (models.GetSpecificNetworkBody, error)
- func (n *NetworksAPIService) GetSpecificNetworkPool(ctx context.Context, networkPoolID int) (models.GetSpecificNetworkPool, error)
- func (n *NetworksAPIService) GetSpecificNetworkProxy(ctx context.Context, proxyID int) (models.GetSpecificNetworkProxy, error)
- func (n *NetworksAPIService) GetSpecificNetworkType(ctx context.Context, typeID int) (models.GetaNetworkType, error)
- func (n *NetworksAPIService) UpdateNetwork(ctx context.Context, networkID int, request models.CreateNetworkRequest) (models.SuccessOrErrorMessage, error)
- type PlansAPIService
- type PowerSchedulesAPIService
- type ProvisioningAPIService
- type RouterAPIService
- func (r *RouterAPIService) CreateRouter(ctx context.Context, request models.CreateRouterRequest) (models.CreateRouterResp, error)
- func (r *RouterAPIService) CreateRouterBgpNeighbor(ctx context.Context, routerID int, ...) (models.SuccessOrErrorMessage, error)
- func (r *RouterAPIService) CreateRouterFirewallRuleGroup(ctx context.Context, routerID int, ...) (models.SuccessOrErrorMessage, error)
- func (r *RouterAPIService) CreateRouterNat(ctx context.Context, routerID int, request models.CreateRouterNatRequest) (models.SuccessOrErrorMessage, error)
- func (r *RouterAPIService) CreateRouterRoute(ctx context.Context, routerID int, req models.CreateRouterRoute) (models.SuccessOrErrorMessage, error)
- func (r *RouterAPIService) DeleteRouter(ctx context.Context, routerID int) (models.SuccessOrErrorMessage, error)
- func (r *RouterAPIService) DeleteRouterBgpNeighbor(ctx context.Context, routerID, bgpNeighborID int) (models.SuccessOrErrorMessage, error)
- func (r *RouterAPIService) DeleteRouterFirewallRuleGroup(ctx context.Context, routerID, firewallGroupID int) (models.SuccessOrErrorMessage, error)
- func (r *RouterAPIService) DeleteRouterNat(ctx context.Context, routerID, natID int) (models.SuccessOrErrorMessage, error)
- func (r *RouterAPIService) DeleteRouterRoute(ctx context.Context, routerID, routeID int) (models.SuccessOrErrorMessage, error)
- func (r *RouterAPIService) GetAllRouter(ctx context.Context, queryParams map[string]string) (models.GetAllNetworkRouter, error)
- func (r *RouterAPIService) GetEdgeCluster(ctx context.Context, serviceID int, edgeClusterName string) (models.NetworkEdgeClusters, error)
- func (r *RouterAPIService) GetNetworkServices(ctx context.Context, queryParams map[string]string) (models.GetNetworkServicesResp, error)
- func (r *RouterAPIService) GetRouterTypes(ctx context.Context, queryParams map[string]string) (models.GetNetworlRouterTypes, error)
- func (r *RouterAPIService) GetSpecificRouter(ctx context.Context, routerID int) (models.GetSpecificRouterResp, error)
- func (r *RouterAPIService) GetSpecificRouterBgpNeighbor(ctx context.Context, routerID, bgpNeighborID int) (models.GetSpecificNetworkRouterBgpNeighbor, error)
- func (r *RouterAPIService) GetSpecificRouterFirewallRuleGroup(ctx context.Context, routerID, firewallGroupID int) (models.GetSpecificRouterFirewallRuleGroupResponse, error)
- func (r *RouterAPIService) GetSpecificRouterNat(ctx context.Context, routerID, natID int) (models.GetSpecificRouterNatResponse, error)
- func (r *RouterAPIService) GetSpecificRouterRoute(ctx context.Context, routerID, routeID int) (models.GetSpecificRouterRoute, error)
- func (r *RouterAPIService) GetTransportZones(ctx context.Context, serviceID int, transportName string) (models.NetworkScope, error)
- func (r *RouterAPIService) RefreshNetworkServices(ctx context.Context, serverID int, queryParams map[string]string) (models.SuccessOrErrorMessage, error)
- func (r *RouterAPIService) UpdateRouter(ctx context.Context, routerID int, request models.CreateRouterRequest) (models.SuccessOrErrorMessage, error)
- func (r *RouterAPIService) UpdateRouterBgpNeighbor(ctx context.Context, routerID, bgpNeighborID int, ...) (models.SuccessOrErrorMessage, error)
- func (r *RouterAPIService) UpdateRouterNat(ctx context.Context, routerID, natID int, req models.CreateRouterNatRequest) (models.SuccessOrErrorMessage, error)
- type ServersAPIService
- type SetScmClientToken
- type VirtualImagesAPIService
Constants ¶
This section is empty.
Variables ¶
var ( // ContextOAuth2 takes a oauth2.TokenSource as authentication for the request. ContextOAuth2 = contextKey("token") // ContextBasicAuth takes BasicAuth as authentication for the request. ContextBasicAuth = contextKey("basic") // ContextAccessToken takes a string oauth2 access token as authentication for the request. ContextAccessToken = contextKey("accesstoken") // ContextAPIKey takes an APIKey as authentication for the request ContextAPIKey = contextKey("apikey") )
Functions ¶
func ParseError ¶
Types ¶
type APIClient ¶
type APIClient struct {
// contains filtered or unexported fields
}
APIClient manages communication with the GreenLake Private Cloud VMaaS CMP API API v1.0.0 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(cfg *Configuration) *APIClient
NewAPIClient creates a new API Client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.
func (*APIClient) ChangeBasePath ¶
Change base path to allow switching to mocks
func (*APIClient) SetMeta ¶ added in v0.1.1
func (c *APIClient) SetMeta(meta interface{}, fn SetScmClientToken) error
type APIClientHandler ¶
type APIClientHandler interface { ChangeBasePath(path string) SetMeta(meta interface{}, fn SetScmClientToken) error // contains filtered or unexported methods }
type APIKey ¶
APIKey provides API key based authentication to a request passed via context using ContextAPIKey
type APIResponse ¶
type APIResponse struct { *http.Response `json:"-"` Message string `json:"message,omitempty"` // Operation is the name of the swagger operation. Operation string `json:"operation,omitempty"` // RequestURL is the request URL. This value is always available, even if the // embedded *http.Response is nil. RequestURL string `json:"url,omitempty"` // Method is the HTTP method used for the request. This value is always // available, even if the embedded *http.Response is nil. Method string `json:"method,omitempty"` // Payload holds the contents of the response body (which may be nil or empty). // This is provided here as the raw response.Body() reader will have already // been drained. Payload []byte `json:"-"` }
func NewAPIResponse ¶
func NewAPIResponse(r *http.Response) *APIResponse
func NewAPIResponseWithError ¶
func NewAPIResponseWithError(errorMessage string) *APIResponse
type BasicAuth ¶
type BasicAuth struct { UserName string `json:"userName,omitempty"` Password string `json:"password,omitempty"` }
BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth
type CloudsAPIService ¶
type CloudsAPIService struct { Client APIClientHandler Cfg Configuration }
func (*CloudsAPIService) GetAllCloudDataStores ¶
func (a *CloudsAPIService) GetAllCloudDataStores(ctx context.Context, cloudID int, queryParams map[string]string) (models.DataStoresResp, error)
CloudsAPIService Get All Cloud Data Stores
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param serviceInstanceID
- @param cloudID The cloud ID
func (*CloudsAPIService) GetAllCloudFolders ¶
func (a *CloudsAPIService) GetAllCloudFolders( ctx context.Context, cloudID int, queryParams map[string]string, ) (models.GetAllCloudFolders, error)
func (*CloudsAPIService) GetAllCloudNetworks ¶
func (a *CloudsAPIService) GetAllCloudNetworks(ctx context.Context, cloudID, provisionTypeID int) (models.GetAllCloudNetworks, error)
func (*CloudsAPIService) GetAllCloudResourcePools ¶
func (a *CloudsAPIService) GetAllCloudResourcePools(ctx context.Context, cloudID int, queryParams map[string]string) (models.ResourcePoolsResp, error)
CloudsAPIService Get All Cloud Resource Pools
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param serviceInstanceID
- @param cloudID The cloud ID
func (*CloudsAPIService) GetAllClouds ¶
func (a *CloudsAPIService) GetAllClouds(ctx context.Context, queryParams map[string]string) (models.CloudsResp, error)
CloudsAPIService Get All Clouds
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param serviceInstanceID
func (*CloudsAPIService) GetSpecificCloud ¶ added in v0.1.1
func (a *CloudsAPIService) GetSpecificCloud( ctx context.Context, cloudID int, ) (models.GetSpecificCloud, error)
func (*CloudsAPIService) GetSpecificCloudDataStores ¶ added in v0.1.1
func (a *CloudsAPIService) GetSpecificCloudDataStores( ctx context.Context, cloudID, datastoreID int, ) (models.GetSpecificCloudDataStores, error)
func (*CloudsAPIService) GetSpecificCloudFolder ¶
func (a *CloudsAPIService) GetSpecificCloudFolder( ctx context.Context, cloudID int, folderID int, ) (models.GetSpecificCloudFolder, error)
func (*CloudsAPIService) GetSpecificCloudResourcePool ¶ added in v0.1.1
func (a *CloudsAPIService) GetSpecificCloudResourcePool( ctx context.Context, cloudID int, resourcePoolID int, ) (models.GetSpecificCloudResourcePool, error)
type CmpStatus ¶ added in v0.1.1
type CmpStatus struct { Client APIClientHandler Cfg Configuration }
func (*CmpStatus) GetCmpVersion ¶ added in v0.1.1
type Configuration ¶
type Configuration struct { BasePath string `json:"basePath,omitempty"` Host string `json:"host,omitempty"` Scheme string `json:"scheme,omitempty"` DefaultHeader map[string]string `json:"defaultHeader,omitempty"` DefaultQueryParams map[string]string `json:"defaultQueryParams"` UserAgent string `json:"userAgent,omitempty"` HTTPClient *http.Client }
func NewConfiguration ¶
func NewConfiguration() *Configuration
func (*Configuration) AddDefaultHeader ¶
func (c *Configuration) AddDefaultHeader(key string, value string)
func (*Configuration) AddDefaultQueryParams ¶
func (c *Configuration) AddDefaultQueryParams(key string, value string)
type CustomError ¶
type CustomError struct { Errors string `json:"error,omitempty"` Body map[string]interface{} `json:"body,omitempty"` StatusCode int `json:"statuscode,omitempty"` RecommendedActions []string `json:"recommendedActions,omitempty"` }
func (CustomError) Error ¶
func (c CustomError) Error() string
type DhcpServerAPIService ¶ added in v0.1.1
type DhcpServerAPIService struct { Client APIClientHandler Cfg Configuration }
func (*DhcpServerAPIService) CreateDhcpServer ¶ added in v0.1.1
func (lb *DhcpServerAPIService) CreateDhcpServer( ctx context.Context, serverID int, request models.CreateNetworkDhcpServerRequest, ) (models.CreateNetworkDhcpServerResp, error)
func (*DhcpServerAPIService) DeleteDhcpServer ¶ added in v0.1.1
func (lb *DhcpServerAPIService) DeleteDhcpServer( ctx context.Context, serverID int, dhcpID int, ) (models.SuccessOrErrorMessage, error)
func (*DhcpServerAPIService) GetDhcpServers ¶ added in v0.1.1
func (lb *DhcpServerAPIService) GetDhcpServers( ctx context.Context, serverID int, ) (models.GetNetworkDhcpServers, error)
func (*DhcpServerAPIService) GetSpecificDhcpServer ¶ added in v0.1.1
func (lb *DhcpServerAPIService) GetSpecificDhcpServer( ctx context.Context, serverID int, dhcpID int, ) (models.GetSpecificNetworkDhcpServer, error)
func (*DhcpServerAPIService) UpdateDhcpServer ¶ added in v0.1.1
func (lb *DhcpServerAPIService) UpdateDhcpServer( ctx context.Context, serverID int, dhcpID int, request models.CreateNetworkDhcpServerRequest, ) (models.CreateNetworkDhcpServerResp, error)
type DomainAPIService ¶ added in v0.1.1
type DomainAPIService struct { Client APIClientHandler Cfg Configuration }
func (*DomainAPIService) GetAllDomains ¶ added in v0.1.1
func (d *DomainAPIService) GetAllDomains( ctx context.Context, param map[string]string, ) (models.GetAllDomains, error)
func (*DomainAPIService) GetSpecificDomain ¶ added in v0.1.1
func (d *DomainAPIService) GetSpecificDomain( ctx context.Context, domainID int, ) (models.GetSpecificDomain, error)
type EnvironmentAPIService ¶
type EnvironmentAPIService struct { Client APIClientHandler Cfg Configuration }
func (*EnvironmentAPIService) GetAllEnvironment ¶
func (e *EnvironmentAPIService) GetAllEnvironment(ctx context.Context, param map[string]string) (models.GetAllEnvironment, error)
func (*EnvironmentAPIService) GetSpecificEnvironment ¶ added in v0.1.1
func (e *EnvironmentAPIService) GetSpecificEnvironment( ctx context.Context, envID int, ) (models.GetSpecificEnvironment, error)
type GroupsAPIService ¶
type GroupsAPIService struct { Client APIClientHandler Cfg Configuration }
func (*GroupsAPIService) GetASpecificGroup ¶
func (a *GroupsAPIService) GetASpecificGroup(ctx context.Context, groupID int) (models.GroupResp, error)
GroupsAPIService Get a Specific Group
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param serviceInstanceID
- @param groupID The Group ID
func (*GroupsAPIService) GetAllGroups ¶
func (a *GroupsAPIService) GetAllGroups(ctx context.Context, queryParams map[string]string) (models.Groups, error)
GroupsAPIService This endpoint retrieves all groups and a list of zones associated with the group by id.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param serviceInstanceID
type InstancesAPIService ¶
type InstancesAPIService struct { Client APIClientHandler Cfg Configuration }
func (*InstancesAPIService) CloneAnInstance ¶
func (a *InstancesAPIService) CloneAnInstance(ctx context.Context, instanceID int, cloneRequest models.CreateInstanceCloneBody) (models.SuccessOrErrorMessage, error)
func (*InstancesAPIService) CreateAnInstance ¶
func (a *InstancesAPIService) CreateAnInstance(ctx context.Context, localVarOptionals *models.CreateInstanceBody) (models.GetInstanceResponse, error)
func (*InstancesAPIService) DeleteAnInstance ¶
func (a *InstancesAPIService) DeleteAnInstance(ctx context.Context, instanceID int) (models.SuccessOrErrorMessage, error)
func (*InstancesAPIService) GetASpecificInstance ¶
func (a *InstancesAPIService) GetASpecificInstance(ctx context.Context, instanceID int) (models.GetInstanceResponse, error)
InstancesAPIService Get a Specific Instance
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param serviceInstanceID
- @param instanceID
@return models.GetInstanceResponse
func (*InstancesAPIService) GetAllInstances ¶
func (*InstancesAPIService) GetInstanceHistory ¶
func (a *InstancesAPIService) GetInstanceHistory( ctx context.Context, instanceID int) (models.GetInstanceHistory, error)
func (*InstancesAPIService) GetListOfSnapshotsForAnInstance ¶
func (a *InstancesAPIService) GetListOfSnapshotsForAnInstance(ctx context.Context, instanceID int) (models.ListSnapshotResponse, error)
InstancesAPIService Lists VMware Snapshot of the instance
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param serviceInstanceID
- @param instanceID
func (*InstancesAPIService) ImportSnapshotOfAnInstance ¶
func (a *InstancesAPIService) ImportSnapshotOfAnInstance(ctx context.Context, instanceID int, localVarOptionals *models.ImportSnapshotBody) (models.SuccessOrErrorMessage, error)
func (*InstancesAPIService) ResizeAnInstance ¶
func (a *InstancesAPIService) ResizeAnInstance(ctx context.Context, instanceID int, request *models.ResizeInstanceBody) (models.ResizeInstanceResponse, error)
func (*InstancesAPIService) RestartAnInstance ¶
func (a *InstancesAPIService) RestartAnInstance(ctx context.Context, instanceID int) (models.InstancePowerResponse, error)
InstancesAPIService Restarts all VM running within an instance
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param serviceInstanceID
- @param instanceID
func (*InstancesAPIService) SnapshotAnInstance ¶
func (a *InstancesAPIService) SnapshotAnInstance(ctx context.Context, instanceID int, localVarOptionals *models.SnapshotBody) (models.Instances, error)
func (*InstancesAPIService) StartAnInstance ¶
func (a *InstancesAPIService) StartAnInstance(ctx context.Context, instanceID int) (models.InstancePowerResponse, error)
InstancesAPIService Starts all VM running within an instance
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param serviceInstanceID
- @param instanceID
func (*InstancesAPIService) StopAnInstance ¶
func (a *InstancesAPIService) StopAnInstance(ctx context.Context, instanceID int) (models.InstancePowerResponse, error)
InstancesAPIService Stops all VM running within an instance
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param serviceInstanceID
- @param instanceID
func (*InstancesAPIService) SuspendAnInstance ¶
func (a *InstancesAPIService) SuspendAnInstance(ctx context.Context, instanceID int) (models.InstancePowerResponse, error)
InstancesAPIService Suspends all VM running within an instance
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param serviceInstanceID
- @param instanceID
func (*InstancesAPIService) UpdatingAnInstance ¶
func (a *InstancesAPIService) UpdatingAnInstance( ctx context.Context, instanceID int, request *models.UpdateInstanceBody, ) (models.UpdateInstanceResponse, error)
type LibraryAPIService ¶
type LibraryAPIService struct { Client APIClientHandler Cfg Configuration }
func (*LibraryAPIService) GetAllInstanceTypes ¶
func (a *LibraryAPIService) GetAllInstanceTypes(ctx context.Context, param map[string]string) (models.InstanceTypesResp, error)
func (*LibraryAPIService) GetAllLayouts ¶
func (a *LibraryAPIService) GetAllLayouts(ctx context.Context, param map[string]string) (models.LayoutsResp, error)
LibrariesAPIService Get All layouts
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param serviceInstanceID
func (*LibraryAPIService) GetSpecificLayout ¶ added in v0.1.1
func (a *LibraryAPIService) GetSpecificLayout( ctx context.Context, layoutID int, ) (models.GetSpecificLayout, error)
type LoadBalancerAPIService ¶ added in v0.1.1
type LoadBalancerAPIService struct { Client APIClientHandler Cfg Configuration }
func (*LoadBalancerAPIService) CreateLBMonitor ¶ added in v0.1.1
func (lb *LoadBalancerAPIService) CreateLBMonitor( ctx context.Context, request models.CreateLBMonitor, lbID int, ) (models.CreateLBMonitorResp, error)
func (*LoadBalancerAPIService) CreateLBPool ¶ added in v0.1.1
func (lb *LoadBalancerAPIService) CreateLBPool( ctx context.Context, request models.CreateLBPool, lbID int, ) (models.CreateLBPoolResp, error)
func (*LoadBalancerAPIService) CreateLBProfile ¶ added in v0.1.1
func (lb *LoadBalancerAPIService) CreateLBProfile( ctx context.Context, request models.CreateLBProfile, lbID int, ) (models.CreateLBProfileResp, error)
func (*LoadBalancerAPIService) CreateLBVirtualServers ¶ added in v0.1.1
func (lb *LoadBalancerAPIService) CreateLBVirtualServers( ctx context.Context, request models.CreateLBVirtualServers, lbID int, ) (models.LBVirtualServersResp, error)
func (*LoadBalancerAPIService) CreateLoadBalancer ¶ added in v0.1.1
func (lb *LoadBalancerAPIService) CreateLoadBalancer( ctx context.Context, request models.CreateLoadBalancerRequest, ) (models.CreateNetworkLoadBalancerResp, error)
func (*LoadBalancerAPIService) DeleteLBMonitor ¶ added in v0.1.1
func (lb *LoadBalancerAPIService) DeleteLBMonitor( ctx context.Context, lbID int, lbMonitorID int, ) (models.SuccessOrErrorMessage, error)
func (*LoadBalancerAPIService) DeleteLBPool ¶ added in v0.1.1
func (lb *LoadBalancerAPIService) DeleteLBPool( ctx context.Context, lbID int, lbPoolID int, ) (models.SuccessOrErrorMessage, error)
func (*LoadBalancerAPIService) DeleteLBProfile ¶ added in v0.1.1
func (lb *LoadBalancerAPIService) DeleteLBProfile( ctx context.Context, lbID int, lbProfileID int, ) (models.SuccessOrErrorMessage, error)
func (*LoadBalancerAPIService) DeleteLBVirtualServers ¶ added in v0.1.1
func (lb *LoadBalancerAPIService) DeleteLBVirtualServers( ctx context.Context, lbID int, lbVirtualServerID int, ) (models.SuccessOrErrorMessage, error)
func (*LoadBalancerAPIService) DeleteLoadBalancer ¶ added in v0.1.1
func (lb *LoadBalancerAPIService) DeleteLoadBalancer( ctx context.Context, lbID int, ) (models.SuccessOrErrorMessage, error)
func (*LoadBalancerAPIService) GetLBMonitors ¶ added in v0.1.1
func (lb *LoadBalancerAPIService) GetLBMonitors( ctx context.Context, lbID int, ) (models.GetLBMonitors, error)
func (*LoadBalancerAPIService) GetLBPoolMemberGroup ¶ added in v0.1.1
func (lb *LoadBalancerAPIService) GetLBPoolMemberGroup( ctx context.Context, serviceID int, ) (models.GetMemeberGroupForPool, error)
func (*LoadBalancerAPIService) GetLBPools ¶ added in v0.1.1
func (lb *LoadBalancerAPIService) GetLBPools( ctx context.Context, lbID int, ) (models.GetLBPools, error)
func (*LoadBalancerAPIService) GetLBProfiles ¶ added in v0.1.1
func (lb *LoadBalancerAPIService) GetLBProfiles( ctx context.Context, lbID int, ) (models.GetLBProfile, error)
func (*LoadBalancerAPIService) GetLBVirtualServerSSLCerts ¶ added in v0.1.1
func (lb *LoadBalancerAPIService) GetLBVirtualServerSSLCerts( ctx context.Context, ) (models.GetSSLCertificates, error)
func (*LoadBalancerAPIService) GetLBVirtualServers ¶ added in v0.1.1
func (lb *LoadBalancerAPIService) GetLBVirtualServers( ctx context.Context, lbID int, ) (models.GetLBVirtualServers, error)
func (*LoadBalancerAPIService) GetLoadBalancerTypes ¶ added in v0.1.1
func (lb *LoadBalancerAPIService) GetLoadBalancerTypes( ctx context.Context, queryParams map[string]string, ) (models.GetLoadBalancerTypes, error)
func (*LoadBalancerAPIService) GetLoadBalancers ¶ added in v0.1.1
func (lb *LoadBalancerAPIService) GetLoadBalancers( ctx context.Context, ) (models.GetNetworkLoadBalancers, error)
func (*LoadBalancerAPIService) GetSpecificLBMonitor ¶ added in v0.1.1
func (lb *LoadBalancerAPIService) GetSpecificLBMonitor( ctx context.Context, lbID int, lbmonitorID int, ) (models.GetSpecificLBMonitor, error)
func (*LoadBalancerAPIService) GetSpecificLBPool ¶ added in v0.1.1
func (lb *LoadBalancerAPIService) GetSpecificLBPool( ctx context.Context, lbID int, lbPoolID int, ) (models.GetSpecificLBPool, error)
func (*LoadBalancerAPIService) GetSpecificLBProfile ¶ added in v0.1.1
func (lb *LoadBalancerAPIService) GetSpecificLBProfile( ctx context.Context, lbID int, lbProfileID int, ) (models.GetLBSpecificProfile, error)
func (*LoadBalancerAPIService) GetSpecificLBVirtualServer ¶ added in v0.1.1
func (lb *LoadBalancerAPIService) GetSpecificLBVirtualServer( ctx context.Context, lbID int, lbVSID int, ) (models.GetSpecificLBVirtualServers, error)
func (*LoadBalancerAPIService) GetSpecificLoadBalancers ¶ added in v0.1.1
func (lb *LoadBalancerAPIService) GetSpecificLoadBalancers( ctx context.Context, lbID int, ) (models.GetSpecificNetworkLoadBalancer, error)
func (*LoadBalancerAPIService) UpdateLBMonitor ¶ added in v0.1.1
func (lb *LoadBalancerAPIService) UpdateLBMonitor( ctx context.Context, request models.CreateLBMonitor, lbID int, lbmonitorID int, ) (models.CreateLBMonitorResp, error)
func (*LoadBalancerAPIService) UpdateLBPool ¶ added in v0.1.1
func (lb *LoadBalancerAPIService) UpdateLBPool( ctx context.Context, request models.CreateLBPool, lbID int, lbPoolID int, ) (models.CreateLBPoolResp, error)
func (*LoadBalancerAPIService) UpdateLBProfile ¶ added in v0.1.1
func (lb *LoadBalancerAPIService) UpdateLBProfile( ctx context.Context, request models.CreateLBProfile, lbID int, lbProfileID int, ) (models.CreateLBProfileResp, error)
func (*LoadBalancerAPIService) UpdateLBVirtualServers ¶ added in v0.1.1
func (lb *LoadBalancerAPIService) UpdateLBVirtualServers( ctx context.Context, request models.CreateLBVirtualServers, lbID int, lbVirtualServerID int, ) (models.LBVirtualServersResp, error)
func (*LoadBalancerAPIService) UpdateLoadBalancer ¶ added in v0.1.1
func (lb *LoadBalancerAPIService) UpdateLoadBalancer( ctx context.Context, lbID int, request models.CreateLoadBalancerRequest, ) (models.CreateNetworkLoadBalancerResp, error)
type NetworksAPIService ¶
type NetworksAPIService struct { Client APIClientHandler Cfg Configuration }
func (*NetworksAPIService) CreateNetwork ¶
func (n *NetworksAPIService) CreateNetwork( ctx context.Context, networkReq models.CreateNetworkRequest, ) (models.CreateNetworkResponse, error)
func (*NetworksAPIService) DeleteNetwork ¶
func (n *NetworksAPIService) DeleteNetwork( ctx context.Context, networkID int, ) (models.SuccessOrErrorMessage, error)
func (*NetworksAPIService) GetAllNetworks ¶
func (n *NetworksAPIService) GetAllNetworks( ctx context.Context, param map[string]string, ) (models.ListNetworksBody, error)
func (*NetworksAPIService) GetNetworkPool ¶
func (n *NetworksAPIService) GetNetworkPool( ctx context.Context, params map[string]string, ) (models.GetNetworkPoolsResp, error)
func (*NetworksAPIService) GetNetworkProxy ¶ added in v0.1.1
func (n *NetworksAPIService) GetNetworkProxy( ctx context.Context, params map[string]string, ) (models.GetAllNetworkProxies, error)
func (*NetworksAPIService) GetNetworkType ¶
func (n *NetworksAPIService) GetNetworkType( ctx context.Context, params map[string]string, ) (models.GetNetworkTypesResponse, error)
func (*NetworksAPIService) GetSpecificNetwork ¶
func (n *NetworksAPIService) GetSpecificNetwork( ctx context.Context, networkID int, ) (models.GetSpecificNetworkBody, error)
func (*NetworksAPIService) GetSpecificNetworkPool ¶
func (n *NetworksAPIService) GetSpecificNetworkPool( ctx context.Context, networkPoolID int, ) (models.GetSpecificNetworkPool, error)
func (*NetworksAPIService) GetSpecificNetworkProxy ¶ added in v0.1.1
func (n *NetworksAPIService) GetSpecificNetworkProxy( ctx context.Context, proxyID int, ) (models.GetSpecificNetworkProxy, error)
func (*NetworksAPIService) GetSpecificNetworkType ¶ added in v0.1.1
func (n *NetworksAPIService) GetSpecificNetworkType( ctx context.Context, typeID int, ) (models.GetaNetworkType, error)
func (*NetworksAPIService) UpdateNetwork ¶ added in v0.1.1
func (n *NetworksAPIService) UpdateNetwork( ctx context.Context, networkID int, request models.CreateNetworkRequest, ) (models.SuccessOrErrorMessage, error)
type PlansAPIService ¶
type PlansAPIService struct { Client APIClientHandler Cfg Configuration }
func (*PlansAPIService) GetAllServicePlans ¶
func (a *PlansAPIService) GetAllServicePlans(ctx context.Context, param map[string]string) (models.ServicePlans, error)
PlansAPIService Get All Service Plans
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param serviceInstanceID
func (*PlansAPIService) GetSpecificServicePlan ¶ added in v0.1.1
func (a *PlansAPIService) GetSpecificServicePlan( ctx context.Context, planID int, ) (models.GetSpecificServicePlan, error)
type PowerSchedulesAPIService ¶
type PowerSchedulesAPIService struct { Client APIClientHandler Cfg Configuration }
func (*PowerSchedulesAPIService) GetAllPowerSchedules ¶
func (a *PowerSchedulesAPIService) GetAllPowerSchedules(ctx context.Context, param map[string]string) (models.GetAllPowerSchedules, error)
VirtualImageApiService Get All Virtual images
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param serviceInstanceID
- @param name/phrase optional
@return models.VirtualImages
func (*PowerSchedulesAPIService) GetSpecificPowerSchedule ¶ added in v0.1.1
func (a *PowerSchedulesAPIService) GetSpecificPowerSchedule( ctx context.Context, powerID int, ) (models.GetSpecificPowerSchedule, error)
type ProvisioningAPIService ¶
type ProvisioningAPIService struct { Client APIClientHandler Cfg Configuration }
func (*ProvisioningAPIService) GetAllProvisioningTypes ¶
func (a *ProvisioningAPIService) GetAllProvisioningTypes(ctx context.Context, param map[string]string) (models.GetAllProvisioningTypes, error)
type RouterAPIService ¶
type RouterAPIService struct { Client APIClientHandler Cfg Configuration }
func (*RouterAPIService) CreateRouter ¶
func (r *RouterAPIService) CreateRouter( ctx context.Context, request models.CreateRouterRequest, ) (models.CreateRouterResp, error)
func (*RouterAPIService) CreateRouterBgpNeighbor ¶ added in v0.1.1
func (r *RouterAPIService) CreateRouterBgpNeighbor( ctx context.Context, routerID int, req models.CreateNetworkRouterBgpNeighborRequest, ) (models.SuccessOrErrorMessage, error)
func (*RouterAPIService) CreateRouterFirewallRuleGroup ¶ added in v0.1.1
func (r *RouterAPIService) CreateRouterFirewallRuleGroup( ctx context.Context, routerID int, request models.CreateRouterFirewallRuleGroupRequest, ) (models.SuccessOrErrorMessage, error)
func (*RouterAPIService) CreateRouterNat ¶ added in v0.1.1
func (r *RouterAPIService) CreateRouterNat( ctx context.Context, routerID int, request models.CreateRouterNatRequest, ) (models.SuccessOrErrorMessage, error)
func (*RouterAPIService) CreateRouterRoute ¶ added in v0.1.1
func (r *RouterAPIService) CreateRouterRoute( ctx context.Context, routerID int, req models.CreateRouterRoute, ) (models.SuccessOrErrorMessage, error)
func (*RouterAPIService) DeleteRouter ¶
func (r *RouterAPIService) DeleteRouter( ctx context.Context, routerID int, ) (models.SuccessOrErrorMessage, error)
func (*RouterAPIService) DeleteRouterBgpNeighbor ¶ added in v0.1.1
func (r *RouterAPIService) DeleteRouterBgpNeighbor( ctx context.Context, routerID, bgpNeighborID int, ) (models.SuccessOrErrorMessage, error)
func (*RouterAPIService) DeleteRouterFirewallRuleGroup ¶ added in v0.1.1
func (r *RouterAPIService) DeleteRouterFirewallRuleGroup( ctx context.Context, routerID, firewallGroupID int, ) (models.SuccessOrErrorMessage, error)
func (*RouterAPIService) DeleteRouterNat ¶ added in v0.1.1
func (r *RouterAPIService) DeleteRouterNat( ctx context.Context, routerID, natID int, ) (models.SuccessOrErrorMessage, error)
func (*RouterAPIService) DeleteRouterRoute ¶ added in v0.1.1
func (r *RouterAPIService) DeleteRouterRoute( ctx context.Context, routerID, routeID int, ) (models.SuccessOrErrorMessage, error)
func (*RouterAPIService) GetAllRouter ¶
func (r *RouterAPIService) GetAllRouter( ctx context.Context, queryParams map[string]string, ) (models.GetAllNetworkRouter, error)
func (*RouterAPIService) GetEdgeCluster ¶ added in v0.1.1
func (r *RouterAPIService) GetEdgeCluster( ctx context.Context, serviceID int, edgeClusterName string, ) (models.NetworkEdgeClusters, error)
func (*RouterAPIService) GetNetworkServices ¶
func (r *RouterAPIService) GetNetworkServices( ctx context.Context, queryParams map[string]string, ) (models.GetNetworkServicesResp, error)
func (*RouterAPIService) GetRouterTypes ¶
func (r *RouterAPIService) GetRouterTypes( ctx context.Context, queryParams map[string]string, ) (models.GetNetworlRouterTypes, error)
func (*RouterAPIService) GetSpecificRouter ¶
func (r *RouterAPIService) GetSpecificRouter( ctx context.Context, routerID int, ) (models.GetSpecificRouterResp, error)
func (*RouterAPIService) GetSpecificRouterBgpNeighbor ¶ added in v0.1.1
func (r *RouterAPIService) GetSpecificRouterBgpNeighbor( ctx context.Context, routerID, bgpNeighborID int, ) (models.GetSpecificNetworkRouterBgpNeighbor, error)
func (*RouterAPIService) GetSpecificRouterFirewallRuleGroup ¶ added in v0.1.1
func (r *RouterAPIService) GetSpecificRouterFirewallRuleGroup( ctx context.Context, routerID, firewallGroupID int, ) (models.GetSpecificRouterFirewallRuleGroupResponse, error)
func (*RouterAPIService) GetSpecificRouterNat ¶ added in v0.1.1
func (r *RouterAPIService) GetSpecificRouterNat( ctx context.Context, routerID, natID int, ) (models.GetSpecificRouterNatResponse, error)
func (*RouterAPIService) GetSpecificRouterRoute ¶ added in v0.1.1
func (r *RouterAPIService) GetSpecificRouterRoute( ctx context.Context, routerID, routeID int, ) (models.GetSpecificRouterRoute, error)
func (*RouterAPIService) GetTransportZones ¶ added in v0.1.1
func (r *RouterAPIService) GetTransportZones( ctx context.Context, serviceID int, transportName string, ) (models.NetworkScope, error)
func (*RouterAPIService) RefreshNetworkServices ¶ added in v0.1.5
func (r *RouterAPIService) RefreshNetworkServices( ctx context.Context, serverID int, queryParams map[string]string, ) (models.SuccessOrErrorMessage, error)
func (*RouterAPIService) UpdateRouter ¶ added in v0.1.1
func (r *RouterAPIService) UpdateRouter( ctx context.Context, routerID int, request models.CreateRouterRequest, ) (models.SuccessOrErrorMessage, error)
func (*RouterAPIService) UpdateRouterBgpNeighbor ¶ added in v0.1.1
func (r *RouterAPIService) UpdateRouterBgpNeighbor( ctx context.Context, routerID, bgpNeighborID int, req models.CreateNetworkRouterBgpNeighborRequest, ) (models.SuccessOrErrorMessage, error)
func (*RouterAPIService) UpdateRouterNat ¶ added in v0.1.1
func (r *RouterAPIService) UpdateRouterNat( ctx context.Context, routerID, natID int, req models.CreateRouterNatRequest, ) (models.SuccessOrErrorMessage, error)
type ServersAPIService ¶
type ServersAPIService struct { Client APIClientHandler Cfg Configuration }
func (*ServersAPIService) GetAllServers ¶
func (a *ServersAPIService) GetAllServers( ctx context.Context, queryParams map[string]string, ) (models.ServersResponse, error)
ServersApiService Get All Servers
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param name/phrase optional
@return models.Servers
func (*ServersAPIService) GetSpecificServer ¶
func (a *ServersAPIService) GetSpecificServer( ctx context.Context, serverID int) (models.GetSpecificServerResponse, error)
type SetScmClientToken ¶ added in v0.1.1
type VirtualImagesAPIService ¶
type VirtualImagesAPIService struct { Client APIClientHandler Cfg Configuration }
func (*VirtualImagesAPIService) GetAllVirtualImages ¶
func (a *VirtualImagesAPIService) GetAllVirtualImages(ctx context.Context, param map[string]string) (models.VirtualImages, error)
VirtualImageAPIService Get All Virtual images
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param serviceInstanceID
- @param name/phrase optional
@return models.VirtualImages
func (*VirtualImagesAPIService) GetSpecificVirtualImage ¶ added in v0.1.1
func (a *VirtualImagesAPIService) GetSpecificVirtualImage( ctx context.Context, virtualImageID int, ) (models.GetSpecificVirtualImage, error)