batchclient

package
v0.0.0-...-58c3220 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

func NewClient

func NewClient(client client.Client, namespace string, cfg *rest.Config) *Client

func (*Client) CreateInferenceJob

func (c *Client) CreateInferenceJob(name string, spec *v1alpha1.BatchInferenceJobSpec) error

func (*Client) DeleteInferenceJob

func (c *Client) DeleteInferenceJob(name string) error

func (*Client) GetInferenceJob

func (c *Client) GetInferenceJob(name string) (*v1alpha1.BatchInferenceJob, error)

func (*Client) ListInferenceJob

func (c *Client) ListInferenceJob() (v1alpha1.BatchInferenceJobList, error)

func (*Client) LogInferenceJob

func (c *Client) LogInferenceJob(id string, writer utils.Writer, follow bool) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL