Documentation ¶
Index ¶
- func NewOSClientBuildConfigLister(client osclient.BuildConfigsNamespacer) buildlister.BuildConfigLister
- func NewOSClientBuildLister(client osclient.BuildsNamespacer) buildlister.BuildLister
- type BuildCloner
- type BuildConfigGetter
- type BuildConfigInstantiator
- type BuildConfigUpdater
- type BuildDeleter
- type BuildLister
- type BuildPatcher
- type BuildUpdater
- type OSClientBuildClient
- func (c OSClientBuildClient) DeleteBuild(build *buildapi.Build) error
- func (c OSClientBuildClient) List(namespace string, opts metav1.ListOptions) (*buildapi.BuildList, error)
- func (c OSClientBuildClient) Patch(namespace, name string, patch []byte) (*buildapi.Build, error)
- func (c OSClientBuildClient) Update(namespace string, build *buildapi.Build) error
- type OSClientBuildClonerClient
- type OSClientBuildConfigClient
- type OSClientBuildConfigInstantiatorClient
- type OSClientBuildConfigLister
- type OSClientBuildConfigListerNamespacer
- type OSClientBuildLister
- type OSClientBuildListerNamespacer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewOSClientBuildConfigLister ¶
func NewOSClientBuildConfigLister(client osclient.BuildConfigsNamespacer) buildlister.BuildConfigLister
NewOSClientBuildConfigLister creates a new build config client that uses an openshift client.
func NewOSClientBuildLister ¶
func NewOSClientBuildLister(client osclient.BuildsNamespacer) buildlister.BuildLister
NewOSClientBuildClient creates a new build client that uses an openshift client to update builds
Types ¶
type BuildCloner ¶
type BuildCloner interface {
Clone(namespace string, request *buildapi.BuildRequest) (*buildapi.Build, error)
}
BuildCloner provides methods for cloning builds
type BuildConfigGetter ¶
type BuildConfigGetter interface {
Get(namespace, name string, options metav1.GetOptions) (*buildapi.BuildConfig, error)
}
BuildConfigGetter provides methods for getting BuildConfigs
type BuildConfigInstantiator ¶
type BuildConfigInstantiator interface {
Instantiate(namespace string, request *buildapi.BuildRequest) (*buildapi.Build, error)
}
BuildConfigInstantiator provides methods for instantiating builds from build configs
type BuildConfigUpdater ¶
type BuildConfigUpdater interface {
Update(buildConfig *buildapi.BuildConfig) error
}
BuildConfigUpdater provides methods for updating BuildConfigs
type BuildDeleter ¶
type BuildDeleter interface { // DeleteBuild removes the build from OpenShift's storage. DeleteBuild(build *buildapi.Build) error }
BuildDeleter knows how to delete builds from OpenShift.
type BuildLister ¶ added in v1.3.0
type BuildLister interface {
List(namespace string, opts metav1.ListOptions) (*buildapi.BuildList, error)
}
BuildLister provides methods for listing the Builds.
type BuildPatcher ¶
type BuildUpdater ¶
BuildUpdater provides methods for updating existing Builds.
type OSClientBuildClient ¶
OSClientBuildClient delegates build create and update operations to the OpenShift client interface
func NewOSClientBuildClient ¶
func NewOSClientBuildClient(client osclient.Interface) *OSClientBuildClient
NewOSClientBuildClient creates a new build client that uses an openshift client to update builds
func (OSClientBuildClient) DeleteBuild ¶
func (c OSClientBuildClient) DeleteBuild(build *buildapi.Build) error
DeleteBuild deletes a build from OpenShift.
func (OSClientBuildClient) List ¶ added in v1.3.0
func (c OSClientBuildClient) List(namespace string, opts metav1.ListOptions) (*buildapi.BuildList, error)
List lists the builds using the OpenShift client.
type OSClientBuildClonerClient ¶
OSClientBuildClonerClient creates a new build client that uses an openshift client to clone builds
func NewOSClientBuildClonerClient ¶
func NewOSClientBuildClonerClient(client osclient.Interface) *OSClientBuildClonerClient
NewOSClientBuildClonerClient creates a new build client that uses an openshift client to clone builds
func (OSClientBuildClonerClient) Clone ¶
func (c OSClientBuildClonerClient) Clone(namespace string, request *buildapi.BuildRequest) (*buildapi.Build, error)
Clone generates new build for given build name
type OSClientBuildConfigClient ¶
OSClientBuildConfigClient delegates get and update operations to the OpenShift client interface
func NewOSClientBuildConfigClient ¶
func NewOSClientBuildConfigClient(client osclient.Interface) *OSClientBuildConfigClient
NewOSClientBuildConfigClient creates a new build config client that uses an openshift client to create and get BuildConfigs
func (OSClientBuildConfigClient) Get ¶
func (c OSClientBuildConfigClient) Get(namespace, name string, options metav1.GetOptions) (*buildapi.BuildConfig, error)
Get returns a BuildConfig using the OpenShift client.
func (OSClientBuildConfigClient) Update ¶
func (c OSClientBuildConfigClient) Update(buildConfig *buildapi.BuildConfig) error
Update updates a BuildConfig using the OpenShift client.
type OSClientBuildConfigInstantiatorClient ¶
OSClientBuildConfigInstantiatorClient creates a new build client that uses an openshift client to create builds
func NewOSClientBuildConfigInstantiatorClient ¶
func NewOSClientBuildConfigInstantiatorClient(client osclient.Interface) *OSClientBuildConfigInstantiatorClient
NewOSClientBuildConfigInstantiatorClient creates a new build client that uses an openshift client to create builds
func (OSClientBuildConfigInstantiatorClient) Instantiate ¶
func (c OSClientBuildConfigInstantiatorClient) Instantiate(namespace string, request *buildapi.BuildRequest) (*buildapi.Build, error)
Instantiate generates new build for given buildConfig
type OSClientBuildConfigLister ¶
type OSClientBuildConfigLister struct {
// contains filtered or unexported fields
}
OSClientBuildLister implements the build lister interface over a client
func (*OSClientBuildConfigLister) BuildConfigs ¶
func (c *OSClientBuildConfigLister) BuildConfigs(ns string) buildlister.BuildConfigNamespaceLister
func (*OSClientBuildConfigLister) List ¶
func (c *OSClientBuildConfigLister) List(label labels.Selector) ([]*buildapi.BuildConfig, error)
List lists the builds using the OpenShift client.
type OSClientBuildConfigListerNamespacer ¶
type OSClientBuildConfigListerNamespacer struct {
// contains filtered or unexported fields
}
osClientBuildConfigListerNamespacer implements internalversion lister
func (OSClientBuildConfigListerNamespacer) Get ¶
func (c OSClientBuildConfigListerNamespacer) Get(name string) (*buildapi.BuildConfig, error)
func (OSClientBuildConfigListerNamespacer) List ¶
func (c OSClientBuildConfigListerNamespacer) List(label labels.Selector) ([]*buildapi.BuildConfig, error)
List lists the builds using the OpenShift client.
type OSClientBuildLister ¶
type OSClientBuildLister struct {
// contains filtered or unexported fields
}
OSClientBuildLister implements the build lister interface over a client
func (*OSClientBuildLister) Builds ¶
func (c *OSClientBuildLister) Builds(ns string) buildlister.BuildNamespaceLister
type OSClientBuildListerNamespacer ¶
type OSClientBuildListerNamespacer struct {
// contains filtered or unexported fields
}
osClientBuildClientNamespacer implements internalversion lister