cloud

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CertificateProvider

type CertificateProvider interface {
	ListCertificates(context.Context) ([]*types.Certificate, error)
	ImportCertificate(ctx context.Context, cert []byte, pkey []byte, chain []byte, existingID string) (*types.Certificate, error)
}

type KubernetesProvider

type KubernetesProvider interface {
	ListClusters(context.Context) ([]*types.Cluster, error)
	GetAvailableVersions(context.Context) ([]string, error)
	GetCluster(context.Context, string) (*types.Cluster, error)
	GetAuthToken(ctx context.Context, cluster string, status types.ClusterStatus) (*types.AuthToken, error)
	IsNodepoolReady(ctx context.Context, clusterName string, nodepoolName string) (bool, error)
	CreateNodepool(ctx context.Context, cc *v1alpha1.ClusterConfig, np *v1alpha1.Nodepool) error
}

type StorageProvider

type StorageProvider interface {
	GetObject(ctx context.Context, key string) (io.ReadCloser, error)
	PutObject(ctx context.Context, key string, obj io.ReadCloser) error
}

type VPCProvider

type VPCProvider interface {
	GetVPC(ctx context.Context, vpcId string) (vpc *types.VPC, err error)
	ListVPCs(ctx context.Context) ([]*types.VPC, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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