v1

package
v0.0.0-...-6c851f4 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: Apache-2.0 Imports: 12 Imported by: 584

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(ctx context.Context, buildConfig *v1.BuildConfig, opts metav1.CreateOptions) (*v1.BuildConfig, error)
	Update(ctx context.Context, buildConfig *v1.BuildConfig, opts metav1.UpdateOptions) (*v1.BuildConfig, error)
	UpdateStatus(ctx context.Context, buildConfig *v1.BuildConfig, opts metav1.UpdateOptions) (*v1.BuildConfig, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.BuildConfig, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.BuildConfigList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.BuildConfig, err error)
	Apply(ctx context.Context, buildConfig *buildv1.BuildConfigApplyConfiguration, opts metav1.ApplyOptions) (result *v1.BuildConfig, err error)
	ApplyStatus(ctx context.Context, buildConfig *buildv1.BuildConfigApplyConfiguration, opts metav1.ApplyOptions) (result *v1.BuildConfig, err error)
	Instantiate(ctx context.Context, buildConfigName string, buildRequest *v1.BuildRequest, opts metav1.CreateOptions) (*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(ctx context.Context, build *v1.Build, opts metav1.CreateOptions) (*v1.Build, error)
	Update(ctx context.Context, build *v1.Build, opts metav1.UpdateOptions) (*v1.Build, error)
	UpdateStatus(ctx context.Context, build *v1.Build, opts metav1.UpdateOptions) (*v1.Build, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.Build, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.BuildList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.Build, err error)
	Apply(ctx context.Context, build *buildv1.BuildApplyConfiguration, opts metav1.ApplyOptions) (result *v1.Build, err error)
	ApplyStatus(ctx context.Context, build *buildv1.BuildApplyConfiguration, opts metav1.ApplyOptions) (result *v1.Build, err error)
	UpdateDetails(ctx context.Context, buildName string, build *v1.Build, opts metav1.UpdateOptions) (*v1.Build, error)
	Clone(ctx context.Context, buildName string, buildRequest *v1.BuildRequest, opts metav1.CreateOptions) (*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. NewForConfig is equivalent to NewForConfigAndClient(c, httpClient), where httpClient was generated with rest.HTTPClientFor(c).

func NewForConfigAndClient

func NewForConfigAndClient(c *rest.Config, h *http.Client) (*BuildV1Client, error)

NewForConfigAndClient creates a new BuildV1Client for the given config and http client. Note the http client provided takes precedence over the configured transport values.

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