v1

package
v3.9.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2018 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

This package has the automatically generated typed clients.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BuildConfigExpansion

type BuildConfigExpansion interface{}

type BuildConfigInterface

type BuildConfigInterface interface {
	Create(*v1.BuildConfig) (*v1.BuildConfig, error)
	Update(*v1.BuildConfig) (*v1.BuildConfig, error)
	UpdateStatus(*v1.BuildConfig) (*v1.BuildConfig, error)
	Delete(name string, options *meta_v1.DeleteOptions) error
	DeleteCollection(options *meta_v1.DeleteOptions, listOptions meta_v1.ListOptions) error
	Get(name string, options meta_v1.GetOptions) (*v1.BuildConfig, error)
	List(opts meta_v1.ListOptions) (*v1.BuildConfigList, error)
	Watch(opts meta_v1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.BuildConfig, err error)
	Instantiate(buildConfigName string, buildRequest *v1.BuildRequest) (*v1.Build, error)

	BuildConfigExpansion
}

BuildConfigInterface has methods to work with BuildConfig resources.

type BuildConfigsGetter

type BuildConfigsGetter interface {
	BuildConfigs(namespace string) BuildConfigInterface
}

BuildConfigsGetter has a method to return a BuildConfigInterface. A group's client should implement this interface.

type BuildExpansion

type BuildExpansion interface{}

type BuildInterface

type BuildInterface interface {
	Create(*v1.Build) (*v1.Build, error)
	Update(*v1.Build) (*v1.Build, error)
	UpdateStatus(*v1.Build) (*v1.Build, error)
	Delete(name string, options *meta_v1.DeleteOptions) error
	DeleteCollection(options *meta_v1.DeleteOptions, listOptions meta_v1.ListOptions) error
	Get(name string, options meta_v1.GetOptions) (*v1.Build, error)
	List(opts meta_v1.ListOptions) (*v1.BuildList, error)
	Watch(opts meta_v1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.Build, err error)
	UpdateDetails(buildName string, build *v1.Build) (*v1.Build, error)
	Clone(buildName string, buildRequest *v1.BuildRequest) (*v1.Build, error)

	BuildExpansion
}

BuildInterface has methods to work with Build resources.

type BuildV1Client

type BuildV1Client struct {
	// contains filtered or unexported fields
}

BuildV1Client is used to interact with features provided by the build.openshift.io group.

func New

New creates a new BuildV1Client for the given RESTClient.

func NewForConfig

func NewForConfig(c *rest.Config) (*BuildV1Client, error)

NewForConfig creates a new BuildV1Client for the given config.

func NewForConfigOrDie

func NewForConfigOrDie(c *rest.Config) *BuildV1Client

NewForConfigOrDie creates a new BuildV1Client for the given config and panics if there is an error in the config.

func (*BuildV1Client) BuildConfigs

func (c *BuildV1Client) BuildConfigs(namespace string) BuildConfigInterface

func (*BuildV1Client) Builds

func (c *BuildV1Client) Builds(namespace string) BuildInterface

func (*BuildV1Client) RESTClient

func (c *BuildV1Client) RESTClient() rest.Interface

RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.

type BuildV1Interface

type BuildV1Interface interface {
	RESTClient() rest.Interface
	BuildsGetter
	BuildConfigsGetter
}

type BuildsGetter

type BuildsGetter interface {
	Builds(namespace string) BuildInterface
}

BuildsGetter has a method to return a BuildInterface. A group's client should implement this interface.

Directories

Path Synopsis
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