Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BuildControllerFactory ¶
type BuildControllerFactory struct {
OSClient osclient.Interface
KubeClient kclient.Interface
BuildUpdater buildclient.BuildUpdater
DockerBuildStrategy *strategy.DockerBuildStrategy
STIBuildStrategy *strategy.STIBuildStrategy
CustomBuildStrategy *strategy.CustomBuildStrategy
// Stop may be set to allow controllers created by this factory to be terminated.
Stop <-chan struct{}
// contains filtered or unexported fields
}
func (*BuildControllerFactory) Create ¶
func (factory *BuildControllerFactory) Create() *controller.BuildController
type ControllerClient ¶
ControllerClient implements the common interfaces needed for build controllers
func (ControllerClient) DeletePod ¶
func (c ControllerClient) DeletePod(namespace string, pod *kapi.Pod) error
DeletePod destroys a pod using the Kubernetes client.
func (ControllerClient) GetImageRepository ¶
func (c ControllerClient) GetImageRepository(namespace, name string) (*imageapi.ImageRepository, error)
GetImageRepository retrieves an image repository by namespace and name
type ImageChangeControllerFactory ¶
type ImageChangeControllerFactory struct {
Client osclient.Interface
BuildCreator buildclient.BuildCreator
BuildConfigUpdater buildclient.BuildConfigUpdater
// 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 ¶
func (factory *ImageChangeControllerFactory) Create() *controller.ImageChangeController
Create creates a new ImageChangeController which is used to trigger builds when a new image is available
Click to show internal directories.
Click to hide internal directories.