package
0.8.2
Repository: https://github.com/g-core/gcorelabscloud-go.git
Documentation: pkg.go.dev

# Packages

instances unit tests.

# Functions

AssignSecurityGroup adds a security groups to the instance.
AttachInterface adds a interface to the instance.
Create creates an instance.
No description provided by the author
DetachInterface removes a interface from the instance.
No description provided by the author
ExtractInstanceInterfaces accepts a Page struct, specifically a InstanceInterfacePage struct, and extracts the elements into a slice of instance interface structs.
No description provided by the author
No description provided by the author
No description provided by the author
ExtractInstancePorts accepts a Page struct, specifically a InstancePortsPage struct, and extracts the elements into a slice of instance security group structs.
ExtractInstances accepts a Page struct, specifically a InstancePage struct, and extracts the elements into a slice of instance structs.
No description provided by the author
ExtractInstanceSecurityGroups accepts a Page struct, specifically a InstanceSecurityGroupPage struct, and extracts the elements into a slice of instance security group structs.
No description provided by the author
ExtractMetadata accepts a Page struct, specifically a MetadataPage struct, and extracts the elements into a slice of instance metadata structs.
No description provided by the author
Get retrieves a specific instance based on its unique ID.
GetInstanceConsole retrieves a specific spice console based on instance unique ID.
GetSpiceConsole retrieves a specific spice console based on instance unique ID.
No description provided by the author
ListAll is a convenience function that returns all instances.
ListAvailableFlavors get available flavors for the instance to resize into.
ListInstanceLocation get flavors available for the instance to resize into.
ListInstanceMetrics retrieves instance's metrics.
ListInterfaces retrieves network interfaces for instance.
ListInterfacesAll is a convenience function that returns all instance interfaces.
ListPorts retrieves ports for instance.
ListPortsAll is a convenience function that returns all instance ports.
ListSecurityGroups retrieves security groups interfaces for instance.
ListSecurityGroupsAll is a convenience function that returns all instance security groups.
MetadataCreate creates a metadata for an instance.
MetadataDelete deletes defined metadata key for an instance.
MetadataGet gets defined metadata key for an instance.
No description provided by the author
No description provided by the author
MetadataUpdate updates a metadata for an instance.
PowerCycle instance.
Reboot instance.
RenameInstance rename instance.
Resize instance.
Resume instance.
Start instance.
Stop instance.
Suspend instance.
UnAssignSecurityGroup removes a security groups from the instance.

# Constants

No description provided by the author

# Structs

No description provided by the author
No description provided by the author
CreateOpts represents options used to create a instance.
CreateResult represents the result of a create operation.
CreateVolumeOpts represents options used to create a volume.
DeleteOpts.
DeleteResult represents the result of a delete operation.
No description provided by the author
FloatingIP represents a floating ip of instance port.
GetResult represents the result of a get operation.
Instance represents a instance structure.
No description provided by the author
InstanceInterfacePage is the page returned by a pager when traversing over a collection of instance interfaces.
No description provided by the author
InstanceMetrics represent a instance metrics struct.
InstancePage is the page returned by a pager when traversing over a collection of instances.
No description provided by the author
InstancePortsPage is the page returned by a pager when traversing over a collection of instance ports.
InstanceSecurityGroupPage is the page returned by a pager when traversing over a collection of instance security groups.
No description provided by the author
No description provided by the author
Interface represents a instance port interface.
InterfaceActionResult represents the result of a actions operation(no content).
No description provided by the author
No description provided by the author
ListInstanceLocationOpts set parameters for search instance location operation.
No description provided by the author
No description provided by the author
ListOpts allows the filtering and sorting of paginated collections through the API.
MetadataActionResult represents the result of a create, delete or update operation(no content).
MetadataOpts.
MetadataPage is the page returned by a pager when traversing over a collection of instance metadata objects.
MetadataResult represents the result of a get operation.
MetadataSetOpts.
NetworkDetail represents a NetworkDetails of instance port.
PortIP.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
SecurityGroupActionResult represents the result of a actions operation(no content).
No description provided by the author
Subnet port subnet.
SubPort represent a instance sub port interface.
UpdateResult represents the result of an update operation.

# Interfaces

ChangeFlavorOptsBuilder builds parameters or change flavor request.
CreateOptsBuilder allows extensions to add additional parameters to the Create request.
DeleteOptsBuilder allows extensions to add additional parameters to the Delete request.
InterfaceOptsBuilder allows extensions to add parameters to the interface request.
ListInstanceLocationOptsBuilder allows extensions to add additional parameters to the ListInstanceLocation request.
ListMetricsOptsBuilder builds parameters or change flavor request.
ListOptsBuilder allows extensions to add additional parameters to the List request.
MetadataOptsBuilder allows extensions to add additional parameters to the metadata Create and Update request.
RenameInstanceOptsBuilder allows extensions to add parameters to rename instance request.
SecurityGroupOptsBuilder allows extensions to add parameters to the security groups request.