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 PaddlepaddleV1Client ¶
type PaddlepaddleV1Client struct {
// contains filtered or unexported fields
}
PaddlepaddleV1Client is used to interact with features provided by the paddlepaddle.org group.
func New ¶
func New(c rest.Interface) *PaddlepaddleV1Client
New creates a new PaddlepaddleV1Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*PaddlepaddleV1Client, error)
NewForConfig creates a new PaddlepaddleV1Client for the given config.
func NewForConfigOrDie ¶
func NewForConfigOrDie(c *rest.Config) *PaddlepaddleV1Client
NewForConfigOrDie creates a new PaddlepaddleV1Client for the given config and panics if there is an error in the config.
func (*PaddlepaddleV1Client) RESTClient ¶
func (c *PaddlepaddleV1Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*PaddlepaddleV1Client) TrainingJobs ¶
func (c *PaddlepaddleV1Client) TrainingJobs(namespace string) TrainingJobInterface
type PaddlepaddleV1Interface ¶
type PaddlepaddleV1Interface interface { RESTClient() rest.Interface TrainingJobsGetter }
type TrainingJobExpansion ¶
type TrainingJobExpansion interface{}
type TrainingJobInterface ¶
type TrainingJobInterface interface { Create(*v1.TrainingJob) (*v1.TrainingJob, error) Update(*v1.TrainingJob) (*v1.TrainingJob, error) Delete(name string, options *meta_v1.DeleteOptions) error DeleteCollection(options *meta_v1.DeleteOptions, listOptions meta_v1.ListOptions) error Get(name string, options meta_v1.GetOptions) (*v1.TrainingJob, error) List(opts meta_v1.ListOptions) (*v1.TrainingJobList, error) Watch(opts meta_v1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.TrainingJob, err error) TrainingJobExpansion }
TrainingJobInterface has methods to work with TrainingJob resources.
type TrainingJobsGetter ¶
type TrainingJobsGetter interface {
TrainingJobs(namespace string) TrainingJobInterface
}
TrainingJobsGetter has a method to return a TrainingJobInterface. A group's client should implement this interface.