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 KubeflowV1Client ¶
type KubeflowV1Client struct {
// contains filtered or unexported fields
}
KubeflowV1Client is used to interact with features provided by the kubeflow.org group.
func New ¶
func New(c rest.Interface) *KubeflowV1Client
New creates a new KubeflowV1Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*KubeflowV1Client, error)
NewForConfig creates a new KubeflowV1Client for the given config. NewForConfig is equivalent to NewForConfigAndClient(c, httpClient), where httpClient was generated with rest.HTTPClientFor(c).
func NewForConfigAndClient ¶ added in v0.4.2
NewForConfigAndClient creates a new KubeflowV1Client 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) *KubeflowV1Client
NewForConfigOrDie creates a new KubeflowV1Client for the given config and panics if there is an error in the config.
func (*KubeflowV1Client) RESTClient ¶
func (c *KubeflowV1Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*KubeflowV1Client) TestJobs ¶
func (c *KubeflowV1Client) TestJobs(namespace string) TestJobInterface
type KubeflowV1Interface ¶
type KubeflowV1Interface interface { RESTClient() rest.Interface TestJobsGetter }
type TestJobExpansion ¶
type TestJobExpansion interface{}
type TestJobInterface ¶
type TestJobInterface interface { Create(ctx context.Context, testJob *v1.TestJob, opts metav1.CreateOptions) (*v1.TestJob, error) Update(ctx context.Context, testJob *v1.TestJob, opts metav1.UpdateOptions) (*v1.TestJob, error) UpdateStatus(ctx context.Context, testJob *v1.TestJob, opts metav1.UpdateOptions) (*v1.TestJob, 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.TestJob, error) List(ctx context.Context, opts metav1.ListOptions) (*v1.TestJobList, 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.TestJob, err error) TestJobExpansion }
TestJobInterface has methods to work with TestJob resources.
type TestJobsGetter ¶
type TestJobsGetter interface {
TestJobs(namespace string) TestJobInterface
}
TestJobsGetter has a method to return a TestJobInterface. A group's client should implement this interface.