factory

package
v0.0.0-...-6079644 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2015 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BuildControllerFactory

type BuildControllerFactory struct {
	Client              *osclient.Client
	KubeClient          *kclient.Client
	DockerBuildStrategy *strategy.DockerBuildStrategy
	STIBuildStrategy    *strategy.STIBuildStrategy
	CustomBuildStrategy *strategy.CustomBuildStrategy
	// contains filtered or unexported fields
}

func (*BuildControllerFactory) Create

type ClientBuildConfigUpdater

type ClientBuildConfigUpdater struct {
	Client osclient.Interface
}

ClientBuildConfigUpdater is a buildConfigUpdater which delegates to the OpenShift client interfaces.

func (*ClientBuildConfigUpdater) UpdateBuildConfig

func (c *ClientBuildConfigUpdater) UpdateBuildConfig(buildConfig *buildapi.BuildConfig) error

UpdateBuildConfig updates buildConfig using the OpenShift client.

type ClientBuildCreator

type ClientBuildCreator struct {
	Client osclient.Interface
}

ClientBuildCreator is a buildCreator which delegates to the OpenShift client interfaces.

func (*ClientBuildCreator) CreateBuild

func (c *ClientBuildCreator) CreateBuild(config *buildapi.BuildConfig, imageSubstitutions map[string]string) error

UpdateBuild updates build using the OpenShift client.

type ClientBuildUpdater

type ClientBuildUpdater struct {
	Client osclient.Interface
}

ClientBuildUpdater is a buildUpdater which delegates to the OpenShift client interfaces.

func (ClientBuildUpdater) UpdateBuild

func (c ClientBuildUpdater) UpdateBuild(namespace string, build *buildapi.Build) (*buildapi.Build, error)

UpdateBuild updates build using the OpenShift client.

type ClientPodManager

type ClientPodManager struct {
	KubeClient kclient.Interface
}

ClientPodManager is a PodManager which delegates to the Kubernetes client interface.

func (ClientPodManager) CreatePod

func (c ClientPodManager) CreatePod(namespace string, pod *kapi.Pod) (*kapi.Pod, error)

CreatePod creates a pod using the Kubernetes client.

func (ClientPodManager) DeletePod

func (c ClientPodManager) DeletePod(namespace string, pod *kapi.Pod) error

DeletePod destroys a pod using the Kubernetes client.

type ImageChangeControllerFactory

type ImageChangeControllerFactory struct {
	Client *osclient.Client
	// Stop may be set to allow controllers created by this factory to be terminated.
	Stop <-chan struct{}
}

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

func (*ImageChangeControllerFactory) Create

Create creates a new ImageChangeController which is used to trigger builds when a new image is available

Jump to

Keyboard shortcuts

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