internalversion

package
Version: v3.10.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2018 License: Apache-2.0 Imports: 6 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 BuildClient

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

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

func New

func New(c rest.Interface) *BuildClient

New creates a new BuildClient for the given RESTClient.

func NewForConfig

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

NewForConfig creates a new BuildClient for the given config.

func NewForConfigOrDie

func NewForConfigOrDie(c *rest.Config) *BuildClient

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

func (*BuildClient) BuildConfigs

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

func (*BuildClient) Builds

func (c *BuildClient) Builds(namespace string) BuildResourceInterface

func (*BuildClient) RESTClient

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

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

type BuildConfigExpansion

type BuildConfigExpansion interface{}

type BuildConfigInterface

type BuildConfigInterface interface {
	Create(*build.BuildConfig) (*build.BuildConfig, error)
	Update(*build.BuildConfig) (*build.BuildConfig, error)
	UpdateStatus(*build.BuildConfig) (*build.BuildConfig, error)
	Delete(name string, options *v1.DeleteOptions) error
	DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
	Get(name string, options v1.GetOptions) (*build.BuildConfig, error)
	List(opts v1.ListOptions) (*build.BuildConfigList, error)
	Watch(opts v1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *build.BuildConfig, err error)
	Instantiate(buildConfigName string, buildRequest *build.BuildRequest) (*build.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 BuildInterface

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

type BuildResourceExpansion

type BuildResourceExpansion interface{}

type BuildResourceInterface

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

	BuildResourceExpansion
}

BuildResourceInterface has methods to work with BuildResource resources.

type BuildsGetter

type BuildsGetter interface {
	Builds(namespace string) BuildResourceInterface
}

BuildsGetter has a method to return a BuildResourceInterface. 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
t or T : Toggle theme light dark auto
y or Y : Canonical URL