1
0
mirror of https://github.com/rancher/rke.git synced 2025-06-25 15:01:58 +00:00
rke/cloudprovider/aws/aws.go

29 lines
494 B
Go
Raw Normal View History

2018-06-06 17:11:47 +00:00
package aws
import "github.com/rancher/types/apis/management.cattle.io/v3"
type CloudProvider struct {
Name string
}
const (
AWSCloudProviderName = "aws"
)
func GetInstance() *CloudProvider {
return &CloudProvider{}
}
func (p *CloudProvider) Init(cloudProviderConfig v3.CloudProvider) error {
p.Name = AWSCloudProviderName
return nil
}
func (p *CloudProvider) GetName() string {
return p.Name
}
func (p *CloudProvider) GenerateCloudConfigFile() (string, error) {
return "", nil
}