Documentation ¶
Index ¶
- type BuildConfigControllerFactory
- type BuildControllerFactory
- 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)
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 kclientset.Interface ExternalKubeClient kclientsetexternal.Interface BuildConfigInstantiator buildclient.BuildConfigInstantiator BuildConfigGetter buildclient.BuildConfigGetter BuildLister buildclient.BuildLister BuildDeleter buildclient.BuildDeleter // 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 kclientset.Interface ExternalKubeClient kclientsetexternal.Interface BuildUpdater buildclient.BuildUpdater BuildLister buildclient.BuildLister BuildConfigGetter buildclient.BuildConfigGetter BuildDeleter buildclient.BuildDeleter DockerBuildStrategy *strategy.DockerBuildStrategy SourceBuildStrategy *strategy.SourceBuildStrategy CustomBuildStrategy *strategy.CustomBuildStrategy BuildDefaults builddefaults.BuildDefaults BuildOverrides buildoverrides.BuildOverrides // 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() controller.RunnableController
Create constructs a BuildController
func (*BuildControllerFactory) CreateDeleteController ¶ added in v0.5.3
func (factory *BuildControllerFactory) CreateDeleteController() controller.RunnableController
CreateDeleteController constructs a BuildDeleteController
type ControllerClient ¶ added in v0.2.1
type ControllerClient struct { KubeClient kclientset.Interface Client osclient.Interface }
ControllerClient implements the common interfaces needed for build controllers
func (ControllerClient) CreatePod ¶ added in v0.2.1
CreatePod creates a pod using the Kubernetes client.
func (ControllerClient) DeletePod ¶ added in v0.2.1
func (c ControllerClient) DeletePod(namespace string, pod *kapi.Pod) error
DeletePod destroys a pod using the Kubernetes client.
func (ControllerClient) GetImageStream ¶ added in v0.4.3
func (c ControllerClient) GetImageStream(namespace, name string) (*imageapi.ImageStream, error)
GetImageStream retrieves an image repository by namespace and name
Click to show internal directories.
Click to hide internal directories.