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 JobSetExpansion ¶
type JobSetExpansion interface{}
type JobSetInterface ¶
type JobSetInterface interface { Create(ctx context.Context, jobSet *jobsetv1alpha2.JobSet, opts v1.CreateOptions) (*jobsetv1alpha2.JobSet, error) Update(ctx context.Context, jobSet *jobsetv1alpha2.JobSet, opts v1.UpdateOptions) (*jobsetv1alpha2.JobSet, error) // Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus(). UpdateStatus(ctx context.Context, jobSet *jobsetv1alpha2.JobSet, opts v1.UpdateOptions) (*jobsetv1alpha2.JobSet, 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) (*jobsetv1alpha2.JobSet, error) List(ctx context.Context, opts v1.ListOptions) (*jobsetv1alpha2.JobSetList, 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 *jobsetv1alpha2.JobSet, err error) Apply(ctx context.Context, jobSet *applyconfigurationjobsetv1alpha2.JobSetApplyConfiguration, opts v1.ApplyOptions) (result *jobsetv1alpha2.JobSet, err error) // Add a +genclient:noStatus comment above the type to avoid generating ApplyStatus(). ApplyStatus(ctx context.Context, jobSet *applyconfigurationjobsetv1alpha2.JobSetApplyConfiguration, opts v1.ApplyOptions) (result *jobsetv1alpha2.JobSet, err error) JobSetExpansion }
JobSetInterface has methods to work with JobSet resources.
type JobSetsGetter ¶
type JobSetsGetter interface {
JobSets(namespace string) JobSetInterface
}
JobSetsGetter has a method to return a JobSetInterface. A group's client should implement this interface.
type JobsetV1alpha2Client ¶
type JobsetV1alpha2Client struct {
// contains filtered or unexported fields
}
JobsetV1alpha2Client is used to interact with features provided by the jobset.x-k8s.io group.
func New ¶
func New(c rest.Interface) *JobsetV1alpha2Client
New creates a new JobsetV1alpha2Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*JobsetV1alpha2Client, error)
NewForConfig creates a new JobsetV1alpha2Client for the given config. NewForConfig is equivalent to NewForConfigAndClient(c, httpClient), where httpClient was generated with rest.HTTPClientFor(c).
func NewForConfigAndClient ¶
NewForConfigAndClient creates a new JobsetV1alpha2Client 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) *JobsetV1alpha2Client
NewForConfigOrDie creates a new JobsetV1alpha2Client for the given config and panics if there is an error in the config.
func (*JobsetV1alpha2Client) JobSets ¶
func (c *JobsetV1alpha2Client) JobSets(namespace string) JobSetInterface
func (*JobsetV1alpha2Client) RESTClient ¶
func (c *JobsetV1alpha2Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type JobsetV1alpha2Interface ¶
type JobsetV1alpha2Interface interface { RESTClient() rest.Interface JobSetsGetter }