v1

package
v0.0.0-...-d0cda72 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2024 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 DatasetExpansion

type DatasetExpansion interface{}

type DatasetInterface

type DatasetInterface interface {
	Create(ctx context.Context, dataset *v1.Dataset, opts metav1.CreateOptions) (*v1.Dataset, error)
	Update(ctx context.Context, dataset *v1.Dataset, opts metav1.UpdateOptions) (*v1.Dataset, error)
	UpdateStatus(ctx context.Context, dataset *v1.Dataset, opts metav1.UpdateOptions) (*v1.Dataset, 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.Dataset, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.DatasetList, 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.Dataset, err error)
	DatasetExpansion
}

DatasetInterface has methods to work with Dataset resources.

type DatasetsGetter

type DatasetsGetter interface {
	Datasets(namespace string) DatasetInterface
}

DatasetsGetter has a method to return a DatasetInterface. A group's client should implement this interface.

type MLServiceExpansion

type MLServiceExpansion interface{}

type MLServiceInterface

type MLServiceInterface interface {
	Create(ctx context.Context, mLService *v1.MLService, opts metav1.CreateOptions) (*v1.MLService, error)
	Update(ctx context.Context, mLService *v1.MLService, opts metav1.UpdateOptions) (*v1.MLService, error)
	UpdateStatus(ctx context.Context, mLService *v1.MLService, opts metav1.UpdateOptions) (*v1.MLService, 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.MLService, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.MLServiceList, 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.MLService, err error)
	MLServiceExpansion
}

MLServiceInterface has methods to work with MLService resources.

type MLServicesGetter

type MLServicesGetter interface {
	MLServices(namespace string) MLServiceInterface
}

MLServicesGetter has a method to return a MLServiceInterface. A group's client should implement this interface.

type MlV1Client

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

MlV1Client is used to interact with features provided by the ml.oneblock.ai group.

func New

func New(c rest.Interface) *MlV1Client

New creates a new MlV1Client for the given RESTClient.

func NewForConfig

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

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

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

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

func (*MlV1Client) Datasets

func (c *MlV1Client) Datasets(namespace string) DatasetInterface

func (*MlV1Client) MLServices

func (c *MlV1Client) MLServices(namespace string) MLServiceInterface

func (*MlV1Client) ModelTemplateVersions

func (c *MlV1Client) ModelTemplateVersions(namespace string) ModelTemplateVersionInterface

func (*MlV1Client) ModelTemplates

func (c *MlV1Client) ModelTemplates(namespace string) ModelTemplateInterface

func (*MlV1Client) Notebooks

func (c *MlV1Client) Notebooks(namespace string) NotebookInterface

func (*MlV1Client) RESTClient

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

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

type ModelTemplateExpansion

type ModelTemplateExpansion interface{}

type ModelTemplateInterface

type ModelTemplateInterface interface {
	Create(ctx context.Context, modelTemplate *v1.ModelTemplate, opts metav1.CreateOptions) (*v1.ModelTemplate, error)
	Update(ctx context.Context, modelTemplate *v1.ModelTemplate, opts metav1.UpdateOptions) (*v1.ModelTemplate, error)
	UpdateStatus(ctx context.Context, modelTemplate *v1.ModelTemplate, opts metav1.UpdateOptions) (*v1.ModelTemplate, 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.ModelTemplate, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.ModelTemplateList, 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.ModelTemplate, err error)
	ModelTemplateExpansion
}

ModelTemplateInterface has methods to work with ModelTemplate resources.

type ModelTemplateVersionExpansion

type ModelTemplateVersionExpansion interface{}

type ModelTemplateVersionInterface

type ModelTemplateVersionInterface interface {
	Create(ctx context.Context, modelTemplateVersion *v1.ModelTemplateVersion, opts metav1.CreateOptions) (*v1.ModelTemplateVersion, error)
	Update(ctx context.Context, modelTemplateVersion *v1.ModelTemplateVersion, opts metav1.UpdateOptions) (*v1.ModelTemplateVersion, error)
	UpdateStatus(ctx context.Context, modelTemplateVersion *v1.ModelTemplateVersion, opts metav1.UpdateOptions) (*v1.ModelTemplateVersion, 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.ModelTemplateVersion, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.ModelTemplateVersionList, 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.ModelTemplateVersion, err error)
	ModelTemplateVersionExpansion
}

ModelTemplateVersionInterface has methods to work with ModelTemplateVersion resources.

type ModelTemplateVersionsGetter

type ModelTemplateVersionsGetter interface {
	ModelTemplateVersions(namespace string) ModelTemplateVersionInterface
}

ModelTemplateVersionsGetter has a method to return a ModelTemplateVersionInterface. A group's client should implement this interface.

type ModelTemplatesGetter

type ModelTemplatesGetter interface {
	ModelTemplates(namespace string) ModelTemplateInterface
}

ModelTemplatesGetter has a method to return a ModelTemplateInterface. A group's client should implement this interface.

type NotebookExpansion

type NotebookExpansion interface{}

type NotebookInterface

type NotebookInterface interface {
	Create(ctx context.Context, notebook *v1.Notebook, opts metav1.CreateOptions) (*v1.Notebook, error)
	Update(ctx context.Context, notebook *v1.Notebook, opts metav1.UpdateOptions) (*v1.Notebook, error)
	UpdateStatus(ctx context.Context, notebook *v1.Notebook, opts metav1.UpdateOptions) (*v1.Notebook, 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.Notebook, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.NotebookList, 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.Notebook, err error)
	NotebookExpansion
}

NotebookInterface has methods to work with Notebook resources.

type NotebooksGetter

type NotebooksGetter interface {
	Notebooks(namespace string) NotebookInterface
}

NotebooksGetter has a method to return a NotebookInterface. 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