clustermanagers

package
v0.0.0-...-264ff9f Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2018 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateUniqueDeploymentName

func CreateUniqueDeploymentName(familyName string) string

Types

type Deployer

type Deployer interface {
	CreateDeployment(uploadedFiles map[string]string) (interface{}, error)
	UpdateDeployment(updateDeployment *apis.Deployment) error
	DeployExtensions(extensions *apis.Deployment, mergedDeployment *apis.Deployment) error
	DeleteDeployment() error
	ReloadClusterState(storeInfo interface{}) error
	GetStoreInfo() interface{}
	NewStoreInfo() interface{}
	// TODO(tnachen): Eventually we should support multiple clouds, then we need to abstract AWSCluster
	GetCluster() clusters.Cluster
	GetLog() *log.FileLog
	GetScheduler() *job.Scheduler
	SetScheduler(sheduler *job.Scheduler)
	GetServiceUrl(serviceName string) (string, error)
	GetServiceAddress(serviceName string) (*apis.ServiceAddress, error)
	GetServiceMappings() (map[string]interface{}, error)
	GetKubeConfigPath() (string, error)
}

Cluster manager specific Deployer, able to deployer containers and services

func NewDeployer

func NewDeployer(
	config *viper.Viper,
	userProfile clusters.UserProfile,
	deployType string,
	deployment *apis.Deployment,
	createName bool) (Deployer, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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