adapter

package
v0.0.0-...-e90a610 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 20, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AWSClient

type AWSClient struct{}

func (*AWSClient) RunInstance

func (a *AWSClient) RunInstance(cpu, mem int) error

type AWSClientAdapter

type AWSClientAdapter struct {
	// contains filtered or unexported fields
}

AWSClientAdapter is the adatper

func (*AWSClientAdapter) CreateServer

func (a *AWSClientAdapter) CreateServer(cpu, mem int) error

CreateServer implements CreateServer interface

type CreateServer

type CreateServer interface {
	CreateServer(cpu, mem int) error
}

type TencentCloudClient

type TencentCloudClient struct{}

func (*TencentCloudClient) RunInstance

func (t *TencentCloudClient) RunInstance(cpu, mem int) error

type TencentCloudClientAdapter

type TencentCloudClientAdapter struct {
	// contains filtered or unexported fields
}

TencentCloudClientAdapter is the adatper

func (*TencentCloudClientAdapter) CreateServer

func (t *TencentCloudClientAdapter) CreateServer(cpu, mem int) error

CreateServer implements CreateServer interface

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL