Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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)
Click to show internal directories.
Click to hide internal directories.