provider

package
v0.0.0-...-342e3d9 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2020 License: Apache-2.0 Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Amazon

type Amazon struct {
}

func NewAmazon

func NewAmazon() *Amazon

NewAmazon is used to create a new client for using Amazon client to create RHEL 7 server cluster.

func (*Amazon) ProvisionCluster

func (amz *Amazon) ProvisionCluster() ([]deploy.CloudServer, error)

type CloudProvider

type CloudProvider interface {
	ProvisionCluster() ([]deploy.CloudServer, error)
}

CloudProvider is used to deploy kubernetes cluster on any of the supported cloud providers.

func New

func New(providerType string) CloudProvider

New is used to instantiate a CloudProvider to use to provision the cluster.

type DigitalOcean

type DigitalOcean struct{}

func NewDigitalOcean

func NewDigitalOcean() *DigitalOcean

func (*DigitalOcean) ProvisionCluster

func (do *DigitalOcean) ProvisionCluster() ([]deploy.CloudServer, error)

Jump to

Keyboard shortcuts

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