Documentation
¶
Index ¶
- type BuildConfigControllerFactory
- type BuildControllerFactory
- type BuildPodControllerFactory
- type ControllerClient
- func (c ControllerClient) CreatePod(namespace string, pod *kapi.Pod) (*kapi.Pod, error)
- func (c ControllerClient) DeletePod(namespace string, pod *kapi.Pod) error
- func (c ControllerClient) GetImageStream(namespace, name string) (*imageapi.ImageStream, error)
- func (c ControllerClient) GetPod(namespace, name string) (*kapi.Pod, error)
- type ImageChangeControllerFactory
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BuildConfigControllerFactory ¶ added in v1.0.5
type BuildConfigControllerFactory struct {
Client osclient.Interface
KubeClient kclient.Interface
BuildConfigInstantiator buildclient.BuildConfigInstantiator
// Stop may be set to allow controllers created by this factory to be terminated.
Stop <-chan struct{}
}
func (*BuildConfigControllerFactory) Create ¶ added in v1.0.5
func (factory *BuildConfigControllerFactory) Create() controller.RunnableController
Create creates a new ConfigChangeController which is used to trigger builds on creation
type BuildControllerFactory ¶
type BuildControllerFactory struct {
OSClient osclient.Interface
KubeClient kclient.Interface
BuildUpdater buildclient.BuildUpdater
BuildLister buildclient.BuildLister
DockerBuildStrategy *strategy.DockerBuildStrategy
SourceBuildStrategy *strategy.SourceBuildStrategy
CustomBuildStrategy *strategy.CustomBuildStrategy
// Stop may be set to allow controllers created by this factory to be terminated.
Stop <-chan struct{}
}
BuildControllerFactory constructs BuildController objects
func (*BuildControllerFactory) Create ¶
func (factory *BuildControllerFactory) Create()