client

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2015 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BuildConfigGetter

type BuildConfigGetter interface {
	Get(namespace, name string) (*buildapi.BuildConfig, error)
}

BuildConfigGetter provides methods for getting BuildConfigs

type BuildConfigUpdater

type BuildConfigUpdater interface {
	Update(buildConfig *buildapi.BuildConfig) error
}

BuildConfigUpdater provides methods for updating BuildConfigs

type BuildCreator

type BuildCreator interface {
	Create(namespace string, build *buildapi.Build) error
}

BuildCreator provides methods for creating new 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 create builds

func (OSClientBuildClient) Create

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

Create creates 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 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.

Jump to

Keyboard shortcuts

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