Documentation ¶
Overview ¶
This package has the automatically generated typed clients.
Index ¶
- type ElasticDLJobExpansion
- type ElasticDLJobInterface
- type ElasticDLJobsGetter
- type MPIJobExpansion
- type MPIJobInterface
- type MPIJobsGetter
- type MarsJobExpansion
- type MarsJobInterface
- type MarsJobsGetter
- type PyTorchJobExpansion
- type PyTorchJobInterface
- type PyTorchJobsGetter
- type TFJobExpansion
- type TFJobInterface
- type TFJobsGetter
- type TrainingV1alpha1Client
- func (c *TrainingV1alpha1Client) ElasticDLJobs(namespace string) ElasticDLJobInterface
- func (c *TrainingV1alpha1Client) MPIJobs(namespace string) MPIJobInterface
- func (c *TrainingV1alpha1Client) MarsJobs(namespace string) MarsJobInterface
- func (c *TrainingV1alpha1Client) PyTorchJobs(namespace string) PyTorchJobInterface
- func (c *TrainingV1alpha1Client) RESTClient() rest.Interface
- func (c *TrainingV1alpha1Client) TFJobs(namespace string) TFJobInterface
- func (c *TrainingV1alpha1Client) XDLJobs(namespace string) XDLJobInterface
- func (c *TrainingV1alpha1Client) XGBoostJobs(namespace string) XGBoostJobInterface
- type TrainingV1alpha1Interface
- type XDLJobExpansion
- type XDLJobInterface
- type XDLJobsGetter
- type XGBoostJobExpansion
- type XGBoostJobInterface
- type XGBoostJobsGetter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ElasticDLJobExpansion ¶
type ElasticDLJobExpansion interface{}
type ElasticDLJobInterface ¶
type ElasticDLJobInterface interface { Create(ctx context.Context, elasticDLJob *v1alpha1.ElasticDLJob, opts v1.CreateOptions) (*v1alpha1.ElasticDLJob, error) Update(ctx context.Context, elasticDLJob *v1alpha1.ElasticDLJob, opts v1.UpdateOptions) (*v1alpha1.ElasticDLJob, error) UpdateStatus(ctx context.Context, elasticDLJob *v1alpha1.ElasticDLJob, opts v1.UpdateOptions) (*v1alpha1.ElasticDLJob, error) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error Get(ctx context.Context, name string, opts v1.GetOptions) (*v1alpha1.ElasticDLJob, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.ElasticDLJobList, error) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ElasticDLJob, err error) ElasticDLJobExpansion }
ElasticDLJobInterface has methods to work with ElasticDLJob resources.
type ElasticDLJobsGetter ¶
type ElasticDLJobsGetter interface {
ElasticDLJobs(namespace string) ElasticDLJobInterface
}
ElasticDLJobsGetter has a method to return a ElasticDLJobInterface. A group's client should implement this interface.
type MPIJobExpansion ¶
type MPIJobExpansion interface{}
type MPIJobInterface ¶
type MPIJobInterface interface { Create(ctx context.Context, mPIJob *v1alpha1.MPIJob, opts v1.CreateOptions) (*v1alpha1.MPIJob, error) Update(ctx context.Context, mPIJob *v1alpha1.MPIJob, opts v1.UpdateOptions) (*v1alpha1.MPIJob, error) UpdateStatus(ctx context.Context, mPIJob *v1alpha1.MPIJob, opts v1.UpdateOptions) (*v1alpha1.MPIJob, error) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error Get(ctx context.Context, name string, opts v1.GetOptions) (*v1alpha1.MPIJob, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.MPIJobList, error) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.MPIJob, err error) MPIJobExpansion }
MPIJobInterface has methods to work with MPIJob resources.
type MPIJobsGetter ¶
type MPIJobsGetter interface {
MPIJobs(namespace string) MPIJobInterface
}
MPIJobsGetter has a method to return a MPIJobInterface. A group's client should implement this interface.
type MarsJobExpansion ¶
type MarsJobExpansion interface{}
type MarsJobInterface ¶
type MarsJobInterface interface { Create(ctx context.Context, marsJob *v1alpha1.MarsJob, opts v1.CreateOptions) (*v1alpha1.MarsJob, error) Update(ctx context.Context, marsJob *v1alpha1.MarsJob, opts v1.UpdateOptions) (*v1alpha1.MarsJob, error) UpdateStatus(ctx context.Context, marsJob *v1alpha1.MarsJob, opts v1.UpdateOptions) (*v1alpha1.MarsJob, error) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error Get(ctx context.Context, name string, opts v1.GetOptions) (*v1alpha1.MarsJob, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.MarsJobList, error) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.MarsJob, err error) MarsJobExpansion }
MarsJobInterface has methods to work with MarsJob resources.
type MarsJobsGetter ¶
type MarsJobsGetter interface {
MarsJobs(namespace string) MarsJobInterface
}
MarsJobsGetter has a method to return a MarsJobInterface. A group's client should implement this interface.
type PyTorchJobExpansion ¶
type PyTorchJobExpansion interface{}
type PyTorchJobInterface ¶
type PyTorchJobInterface interface { Create(ctx context.Context, pyTorchJob *v1alpha1.PyTorchJob, opts v1.CreateOptions) (*v1alpha1.PyTorchJob, error) Update(ctx context.Context, pyTorchJob *v1alpha1.PyTorchJob, opts v1.UpdateOptions) (*v1alpha1.PyTorchJob, error) UpdateStatus(ctx context.Context, pyTorchJob *v1alpha1.PyTorchJob, opts v1.UpdateOptions) (*v1alpha1.PyTorchJob, error) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error Get(ctx context.Context, name string, opts v1.GetOptions) (*v1alpha1.PyTorchJob, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.PyTorchJobList, error) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.PyTorchJob, err error) PyTorchJobExpansion }
PyTorchJobInterface has methods to work with PyTorchJob resources.
type PyTorchJobsGetter ¶
type PyTorchJobsGetter interface {
PyTorchJobs(namespace string) PyTorchJobInterface
}
PyTorchJobsGetter has a method to return a PyTorchJobInterface. A group's client should implement this interface.
type TFJobExpansion ¶
type TFJobExpansion interface{}
type TFJobInterface ¶
type TFJobInterface interface { Create(ctx context.Context, tFJob *v1alpha1.TFJob, opts v1.CreateOptions) (*v1alpha1.TFJob, error) Update(ctx context.Context, tFJob *v1alpha1.TFJob, opts v1.UpdateOptions) (*v1alpha1.TFJob, error) UpdateStatus(ctx context.Context, tFJob *v1alpha1.TFJob, opts v1.UpdateOptions) (*v1alpha1.TFJob, error) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error Get(ctx context.Context, name string, opts v1.GetOptions) (*v1alpha1.TFJob, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.TFJobList, error) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.TFJob, err error) TFJobExpansion }
TFJobInterface has methods to work with TFJob resources.
type TFJobsGetter ¶
type TFJobsGetter interface {
TFJobs(namespace string) TFJobInterface
}
TFJobsGetter has a method to return a TFJobInterface. A group's client should implement this interface.
type TrainingV1alpha1Client ¶
type TrainingV1alpha1Client struct {
// contains filtered or unexported fields
}
TrainingV1alpha1Client is used to interact with features provided by the training.kubedl.io group.
func New ¶
func New(c rest.Interface) *TrainingV1alpha1Client
New creates a new TrainingV1alpha1Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*TrainingV1alpha1Client, error)
NewForConfig creates a new TrainingV1alpha1Client for the given config.
func NewForConfigOrDie ¶
func NewForConfigOrDie(c *rest.Config) *TrainingV1alpha1Client
NewForConfigOrDie creates a new TrainingV1alpha1Client for the given config and panics if there is an error in the config.
func (*TrainingV1alpha1Client) ElasticDLJobs ¶
func (c *TrainingV1alpha1Client) ElasticDLJobs(namespace string) ElasticDLJobInterface
func (*TrainingV1alpha1Client) MPIJobs ¶
func (c *TrainingV1alpha1Client) MPIJobs(namespace string) MPIJobInterface
func (*TrainingV1alpha1Client) MarsJobs ¶
func (c *TrainingV1alpha1Client) MarsJobs(namespace string) MarsJobInterface
func (*TrainingV1alpha1Client) PyTorchJobs ¶
func (c *TrainingV1alpha1Client) PyTorchJobs(namespace string) PyTorchJobInterface
func (*TrainingV1alpha1Client) RESTClient ¶
func (c *TrainingV1alpha1Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*TrainingV1alpha1Client) TFJobs ¶
func (c *TrainingV1alpha1Client) TFJobs(namespace string) TFJobInterface
func (*TrainingV1alpha1Client) XDLJobs ¶
func (c *TrainingV1alpha1Client) XDLJobs(namespace string) XDLJobInterface
func (*TrainingV1alpha1Client) XGBoostJobs ¶
func (c *TrainingV1alpha1Client) XGBoostJobs(namespace string) XGBoostJobInterface
type TrainingV1alpha1Interface ¶
type TrainingV1alpha1Interface interface { RESTClient() rest.Interface ElasticDLJobsGetter MPIJobsGetter MarsJobsGetter PyTorchJobsGetter TFJobsGetter XDLJobsGetter XGBoostJobsGetter }
type XDLJobExpansion ¶
type XDLJobExpansion interface{}
type XDLJobInterface ¶
type XDLJobInterface interface { Create(ctx context.Context, xDLJob *v1alpha1.XDLJob, opts v1.CreateOptions) (*v1alpha1.XDLJob, error) Update(ctx context.Context, xDLJob *v1alpha1.XDLJob, opts v1.UpdateOptions) (*v1alpha1.XDLJob, error) UpdateStatus(ctx context.Context, xDLJob *v1alpha1.XDLJob, opts v1.UpdateOptions) (*v1alpha1.XDLJob, error) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error Get(ctx context.Context, name string, opts v1.GetOptions) (*v1alpha1.XDLJob, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.XDLJobList, error) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.XDLJob, err error) XDLJobExpansion }
XDLJobInterface has methods to work with XDLJob resources.
type XDLJobsGetter ¶
type XDLJobsGetter interface {
XDLJobs(namespace string) XDLJobInterface
}
XDLJobsGetter has a method to return a XDLJobInterface. A group's client should implement this interface.
type XGBoostJobExpansion ¶
type XGBoostJobExpansion interface{}
type XGBoostJobInterface ¶
type XGBoostJobInterface interface { Create(ctx context.Context, xGBoostJob *v1alpha1.XGBoostJob, opts v1.CreateOptions) (*v1alpha1.XGBoostJob, error) Update(ctx context.Context, xGBoostJob *v1alpha1.XGBoostJob, opts v1.UpdateOptions) (*v1alpha1.XGBoostJob, error) UpdateStatus(ctx context.Context, xGBoostJob *v1alpha1.XGBoostJob, opts v1.UpdateOptions) (*v1alpha1.XGBoostJob, error) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error Get(ctx context.Context, name string, opts v1.GetOptions) (*v1alpha1.XGBoostJob, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.XGBoostJobList, error) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.XGBoostJob, err error) XGBoostJobExpansion }
XGBoostJobInterface has methods to work with XGBoostJob resources.
type XGBoostJobsGetter ¶
type XGBoostJobsGetter interface {
XGBoostJobs(namespace string) XGBoostJobInterface
}
XGBoostJobsGetter has a method to return a XGBoostJobInterface. A group's client should implement this interface.