factory

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2014 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package factory contains code used to create deployment controllers.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BasicDeploymentControllerFactory

type BasicDeploymentControllerFactory struct {
	Client     *osclient.Client
	KubeClient *kclient.Client
}

BasicDeploymentControllerFactory can create a BasicDeploymentController which obtains Deployments from a queue populated from a watch of Deployments whose strategy DeploymentStrategyTypeBasic.

func (*BasicDeploymentControllerFactory) Create

type CustomPodDeploymentControllerFactory

type CustomPodDeploymentControllerFactory struct {
	Client         *osclient.Client
	KubeClient     *kclient.Client
	Environment    []kapi.EnvVar
	DefaultImage   string
	UseLocalImages bool
}

CustomPodDeploymentControllerFactory can create a CustomPodDeploymentController which obtains Deployments from a queue populated from a watch of Deployments whose strategy is DeploymentStrategyTypeCustomPod. Pods are obtained from a queue populated from a watch of all pods.

func (*CustomPodDeploymentControllerFactory) Create

type DeploymentConfigChangeControllerFactory

type DeploymentConfigChangeControllerFactory struct {
	Client osclient.Interface
}

DeploymentConfigChangeControllerFactory can create a DeploymentConfigChangeController which obtains DeploymentConfigs from a queue populated from a watch of all DeploymentConfigs.

func (*DeploymentConfigChangeControllerFactory) Create

type DeploymentConfigControllerFactory

type DeploymentConfigControllerFactory struct {
	Client *osclient.Client
}

DeploymentConfigControllerFactory can create a DeploymentConfigController which obtains DeploymentConfigs from a queue populated from a watch of all DeploymentConfigs.

func (*DeploymentConfigControllerFactory) Create

type ImageChangeControllerFactory

type ImageChangeControllerFactory struct {
	Client *osclient.Client
}

ImageChangeControllerFactory can create an ImageChangeController which obtains ImageRepositories from a queue populated from a watch of all ImageRepositories.

func (*ImageChangeControllerFactory) Create

Jump to

Keyboard shortcuts

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