Documentation ¶
Index ¶
- type API
- func (a *API) CreateDefaultRouteTable(vcnID, igwID string) (*baremetal.RouteTable, error)
- func (a *API) CreateDefaultSecurityList(vcnID string) (*baremetal.SecurityList, error)
- func (a *API) CreateInstance(name, userdata, sshKey string) (*Machine, error)
- func (a *API) CreateInternetGateway(vcnID string) (*baremetal.InternetGateway, error)
- func (a *API) CreateSubnet(...) (*baremetal.Subnet, error)
- func (a *API) CreateVCN(name, cidrBlock string) (*baremetal.VirtualNetwork, error)
- func (a *API) DeleteInternetGateway(ID string) error
- func (a *API) DeleteRouteTable(ID string) error
- func (a *API) DeleteSecurityList(ID string) error
- func (a *API) DeleteSubnet(ID string) error
- func (a *API) DeleteVCN(ID string) error
- func (a *API) GC(gracePeriod time.Duration) error
- func (a *API) GetConsoleOutput(instanceID string) (string, error)
- func (a *API) GetVCN(name string) (*baremetal.VirtualNetwork, error)
- func (a *API) ListAvailabilityDomains() ([]baremetal.AvailabilityDomain, error)
- func (a *API) ListInternetGateways(vcnID string) ([]baremetal.InternetGateway, error)
- func (a *API) ListRouteTables(vcnID string) ([]baremetal.RouteTable, error)
- func (a *API) ListSecurityLists(vcnID string) ([]baremetal.SecurityList, error)
- func (a *API) ListSubnets(vcnID string) ([]baremetal.Subnet, error)
- func (a *API) TerminateInstance(instanceID string) error
- func (a *API) UploadImage(bucketName, name, filePath string) (*baremetal.Object, error)
- type Machine
- type Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API struct {
// contains filtered or unexported fields
}
func (*API) CreateDefaultRouteTable ¶
func (*API) CreateDefaultSecurityList ¶
func (*API) CreateInstance ¶
func (*API) CreateInternetGateway ¶
func (*API) CreateSubnet ¶
func (*API) DeleteInternetGateway ¶
func (*API) DeleteRouteTable ¶
func (*API) DeleteSecurityList ¶
func (*API) DeleteSubnet ¶
func (*API) GetConsoleOutput ¶
ConsoleHistory is deleted when an instance is terminated, as such we just return errors and let the history be deleted when the instance is terminated.
func (*API) ListAvailabilityDomains ¶
func (*API) ListInternetGateways ¶
func (*API) ListRouteTables ¶
func (*API) ListSecurityLists ¶
func (*API) ListSubnets ¶
func (*API) TerminateInstance ¶
func (*API) UploadImage ¶
Click to show internal directories.
Click to hide internal directories.