v1

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: May 25, 2023 License: Apache-2.0 Imports: 9 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 HephaestusV1Client

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

HephaestusV1Client is used to interact with features provided by the hephaestus.dominodatalab.com group.

func New

New creates a new HephaestusV1Client for the given RESTClient.

func NewForConfig

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

NewForConfig creates a new HephaestusV1Client 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) (*HephaestusV1Client, error)

NewForConfigAndClient creates a new HephaestusV1Client 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) *HephaestusV1Client

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

func (*HephaestusV1Client) ImageBuilds

func (c *HephaestusV1Client) ImageBuilds(namespace string) ImageBuildInterface

func (*HephaestusV1Client) ImageCaches

func (c *HephaestusV1Client) ImageCaches(namespace string) ImageCacheInterface

func (*HephaestusV1Client) RESTClient

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

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

type HephaestusV1Interface

type HephaestusV1Interface interface {
	RESTClient() rest.Interface
	ImageBuildsGetter
	ImageCachesGetter
}

type ImageBuildExpansion

type ImageBuildExpansion interface{}

type ImageBuildInterface

type ImageBuildInterface interface {
	Create(ctx context.Context, imageBuild *v1.ImageBuild, opts metav1.CreateOptions) (*v1.ImageBuild, error)
	Update(ctx context.Context, imageBuild *v1.ImageBuild, opts metav1.UpdateOptions) (*v1.ImageBuild, error)
	UpdateStatus(ctx context.Context, imageBuild *v1.ImageBuild, opts metav1.UpdateOptions) (*v1.ImageBuild, 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.ImageBuild, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.ImageBuildList, 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.ImageBuild, err error)
	ImageBuildExpansion
}

ImageBuildInterface has methods to work with ImageBuild resources.

type ImageBuildsGetter

type ImageBuildsGetter interface {
	ImageBuilds(namespace string) ImageBuildInterface
}

ImageBuildsGetter has a method to return a ImageBuildInterface. A group's client should implement this interface.

type ImageCacheExpansion

type ImageCacheExpansion interface{}

type ImageCacheInterface

type ImageCacheInterface interface {
	Create(ctx context.Context, imageCache *v1.ImageCache, opts metav1.CreateOptions) (*v1.ImageCache, error)
	Update(ctx context.Context, imageCache *v1.ImageCache, opts metav1.UpdateOptions) (*v1.ImageCache, error)
	UpdateStatus(ctx context.Context, imageCache *v1.ImageCache, opts metav1.UpdateOptions) (*v1.ImageCache, 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.ImageCache, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.ImageCacheList, 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.ImageCache, err error)
	ImageCacheExpansion
}

ImageCacheInterface has methods to work with ImageCache resources.

type ImageCachesGetter

type ImageCachesGetter interface {
	ImageCaches(namespace string) ImageCacheInterface
}

ImageCachesGetter has a method to return a ImageCacheInterface. 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