Documentation ¶
Index ¶
- func NewClientBuildConfigLister(client buildclienttyped.BuildConfigsGetter) buildlister.BuildConfigLister
- func NewClientBuildLister(client buildclienttyped.BuildsGetter) buildlister.BuildLister
- type BuildCloner
- type BuildConfigGetter
- type BuildConfigInstantiator
- type BuildConfigInstantiatorClient
- type BuildConfigUpdater
- type BuildDeleter
- type BuildLister
- type BuildPatcher
- type BuildUpdater
- type ClientBuildClient
- func (c ClientBuildClient) DeleteBuild(build *buildv1.Build) error
- func (c ClientBuildClient) List(namespace string, opts metav1.ListOptions) (*buildv1.BuildList, error)
- func (c ClientBuildClient) Patch(namespace, name string, patch []byte) (*buildv1.Build, error)
- func (c ClientBuildClient) Update(namespace string, build *buildv1.Build) error
- type ClientBuildClonerClient
- type ClientBuildConfigClient
- type ClientBuildConfigInstantiatorClient
- type ClientBuildConfigLister
- type ClientBuildConfigListerNamespacer
- type ClientBuildLister
- type ClientBuildListerNamespacer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewClientBuildConfigLister ¶
func NewClientBuildConfigLister(client buildclienttyped.BuildConfigsGetter) buildlister.BuildConfigLister
NewClientBuildConfigLister creates a new build config client that uses an openshift client.
func NewClientBuildLister ¶
func NewClientBuildLister(client buildclienttyped.BuildsGetter) buildlister.BuildLister
NewClientBuildClient creates a new build client that uses an openshift client to update buildclient
Types ¶
type BuildCloner ¶
type BuildCloner interface {
Clone(namespace string, request *buildv1.BuildRequest) (*buildv1.Build, error)
}
BuildCloner provides methods for cloning buildclient
type BuildConfigGetter ¶
type BuildConfigGetter interface {
Get(namespace, name string, options metav1.GetOptions) (*buildv1.BuildConfig, error)
}
BuildConfigGetter provides methods for getting BuildConfigs
type BuildConfigInstantiator ¶
type BuildConfigInstantiator interface {
Instantiate(namespace string, request *buildv1.BuildRequest) (*buildv1.Build, error)
}
BuildConfigInstantiator provides methods for instantiating buildclient from build configs
type BuildConfigInstantiatorClient ¶
type BuildConfigInstantiatorClient struct {
Client buildclienttyped.BuildV1Interface
}
TODO: Why we need this, seems like an copy of the client above
func (BuildConfigInstantiatorClient) Instantiate ¶
func (c BuildConfigInstantiatorClient) Instantiate(namespace string, request *buildv1.BuildRequest) (*buildv1.Build, error)
type BuildConfigUpdater ¶
type BuildConfigUpdater interface {
Update(buildConfig *buildv1.BuildConfig) error
}
BuildConfigUpdater provides methods for updating BuildConfigs
type BuildDeleter ¶
type BuildDeleter interface { // DeleteBuild removes the build from OpenShift's storage. DeleteBuild(build *buildv1.Build) error }
BuildDeleter knows how to delete buildclient from OpenShift.
type BuildLister ¶ added in v1.3.0
type BuildLister interface {
List(namespace string, opts metav1.ListOptions) (*buildv1.BuildList, error)
}
BuildLister provides methods for listing the Builds.
type BuildPatcher ¶
type BuildUpdater ¶
BuildUpdater provides methods for updating existing Builds.
type ClientBuildClient ¶
type ClientBuildClient struct {
Client buildclient.Interface
}
ClientBuildClient delegates build create and update operations to the OpenShift client interface
func NewClientBuildClient ¶
func NewClientBuildClient(client buildclient.Interface) *ClientBuildClient
NewClientBuildClient creates a new build client that uses an openshift client to update buildclient
func (ClientBuildClient) DeleteBuild ¶
func (c ClientBuildClient) DeleteBuild(build *buildv1.Build) error
DeleteBuild deletes a build from OpenShift.
func (ClientBuildClient) List ¶
func (c ClientBuildClient) List(namespace string, opts metav1.ListOptions) (*buildv1.BuildList, error)
List lists the buildclient using the OpenShift client.
type ClientBuildClonerClient ¶
type ClientBuildClonerClient struct {
Client buildclient.Interface
}
OSClientBuildClonerClient creates a new build client that uses an openshift client to clone buildclient
func NewClientBuildClonerClient ¶
func NewClientBuildClonerClient(client buildclient.Interface) *ClientBuildClonerClient
NewOSClientBuildClonerClient creates a new build client that uses an openshift client to clone buildclient
func (ClientBuildClonerClient) Clone ¶
func (c ClientBuildClonerClient) Clone(namespace string, request *buildv1.BuildRequest) (*buildv1.Build, error)
Clone generates new build for given build name
type ClientBuildConfigClient ¶
type ClientBuildConfigClient struct {
Client buildclient.Interface
}
ClientBuildConfigClient delegates get and update operations to the OpenShift client interface
func NewClientBuildConfigClient ¶
func NewClientBuildConfigClient(client buildclient.Interface) *ClientBuildConfigClient
NewClientBuildConfigClient creates a new build config client that uses an openshift client to create and get BuildConfigs
func (ClientBuildConfigClient) Get ¶
func (c ClientBuildConfigClient) Get(namespace, name string, options metav1.GetOptions) (*buildv1.BuildConfig, error)
Get returns a BuildConfig using the OpenShift client.
func (ClientBuildConfigClient) Update ¶
func (c ClientBuildConfigClient) Update(buildConfig *buildv1.BuildConfig) error
Update updates a BuildConfig using the OpenShift client.
type ClientBuildConfigInstantiatorClient ¶
type ClientBuildConfigInstantiatorClient struct {
Client buildclient.Interface
}
ClientBuildConfigInstantiatorClient creates a new build client that uses an openshift client to create buildclient
func NewClientBuildConfigInstantiatorClient ¶
func NewClientBuildConfigInstantiatorClient(client buildclient.Interface) *ClientBuildConfigInstantiatorClient
NewClientBuildConfigInstantiatorClient creates a new build client that uses an openshift client to create buildclient
func (ClientBuildConfigInstantiatorClient) Instantiate ¶
func (c ClientBuildConfigInstantiatorClient) Instantiate(namespace string, request *buildv1.BuildRequest) (*buildv1.Build, error)
Instantiate generates new build for given buildConfig
type ClientBuildConfigLister ¶
type ClientBuildConfigLister struct {
// contains filtered or unexported fields
}
ClientBuildLister implements the build lister interface over a client
func (*ClientBuildConfigLister) BuildConfigs ¶
func (c *ClientBuildConfigLister) BuildConfigs(ns string) buildlister.BuildConfigNamespaceLister
func (*ClientBuildConfigLister) List ¶
func (c *ClientBuildConfigLister) List(label labels.Selector) ([]*buildv1.BuildConfig, error)
List lists the buildclient using the OpenShift client.
type ClientBuildConfigListerNamespacer ¶
type ClientBuildConfigListerNamespacer struct {
// contains filtered or unexported fields
}
ClientBuildConfigListerNamespacer implements internalversion lister
func (ClientBuildConfigListerNamespacer) Get ¶
func (c ClientBuildConfigListerNamespacer) Get(name string) (*buildv1.BuildConfig, error)
func (ClientBuildConfigListerNamespacer) List ¶
func (c ClientBuildConfigListerNamespacer) List(label labels.Selector) ([]*buildv1.BuildConfig, error)
List lists the buildclient using the OpenShift client.
type ClientBuildLister ¶
type ClientBuildLister struct {
// contains filtered or unexported fields
}
ClientBuildLister implements the build lister interface over a client
func (*ClientBuildLister) Builds ¶
func (c *ClientBuildLister) Builds(ns string) buildlister.BuildNamespaceLister
type ClientBuildListerNamespacer ¶
type ClientBuildListerNamespacer struct {
// contains filtered or unexported fields
}
ClientBuildClientNamespacer implements internalversion lister