client

package
v1.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 21, 2017 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

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) (*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 BuildLister added in v1.3.0

type BuildLister interface {
	List(namespace string, opts kapi.ListOptions) (*buildapi.BuildList, error)
}

BuildLister provides methods for listing the Builds.

type BuildUpdater

type BuildUpdater interface {
	Update(namespace string, build *buildapi.Build) error
}

BuildUpdater provides methods for updating existing Builds.

type OSClientBuildClient

type OSClientBuildClient struct {
	Client osclient.Interface
}

OSClientBuildClient deletes 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) List added in v1.3.0

func (c OSClientBuildClient) List(namespace string, opts kapi.ListOptions) (*buildapi.BuildList, error)

List lists the builds using the OpenShift client.

func (OSClientBuildClient) Update

func (c OSClientBuildClient) Update(namespace string, build *buildapi.Build) error

Update updates builds using the OpenShift client.

type OSClientBuildClonerClient

type OSClientBuildClonerClient struct {
	Client osclient.Interface
}

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

type OSClientBuildConfigClient struct {
	Client osclient.Interface
}

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) (*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

type OSClientBuildConfigInstantiatorClient struct {
	Client osclient.Interface
}

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

Directories

Path Synopsis
clientset_generated
internalclientset
This package has the automatically generated clientset.
This package has the automatically generated clientset.
internalclientset/fake
This package has the automatically generated fake clientset.
This package has the automatically generated fake clientset.
internalclientset/typed/core/internalversion
This package has the automatically generated typed clients.
This package has the automatically generated typed clients.
internalclientset/typed/core/internalversion/fake
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.
release_v1_5
This package has the automatically generated clientset.
This package has the automatically generated clientset.
release_v1_5/fake
This package has the automatically generated fake clientset.
This package has the automatically generated fake clientset.
release_v1_5/typed/core/v1
This package has the automatically generated typed clients.
This package has the automatically generated typed clients.
release_v1_5/typed/core/v1/fake
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL