Documentation
¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeCodeengineV1beta1
- type FakeJobDefinitions
- func (c *FakeJobDefinitions) Create(ctx context.Context, jobDefinition *v1beta1.JobDefinition, ...) (result *v1beta1.JobDefinition, err error)
- func (c *FakeJobDefinitions) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeJobDefinitions) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeJobDefinitions) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.JobDefinition, err error)
- func (c *FakeJobDefinitions) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.JobDefinitionList, err error)
- func (c *FakeJobDefinitions) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.JobDefinition, err error)
- func (c *FakeJobDefinitions) Update(ctx context.Context, jobDefinition *v1beta1.JobDefinition, ...) (result *v1beta1.JobDefinition, err error)
- func (c *FakeJobDefinitions) UpdateStatus(ctx context.Context, jobDefinition *v1beta1.JobDefinition, ...) (*v1beta1.JobDefinition, error)
- func (c *FakeJobDefinitions) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeJobRuns
- func (c *FakeJobRuns) Create(ctx context.Context, jobRun *v1beta1.JobRun, opts v1.CreateOptions) (result *v1beta1.JobRun, err error)
- func (c *FakeJobRuns) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeJobRuns) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeJobRuns) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.JobRun, err error)
- func (c *FakeJobRuns) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.JobRunList, err error)
- func (c *FakeJobRuns) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.JobRun, err error)
- func (c *FakeJobRuns) Update(ctx context.Context, jobRun *v1beta1.JobRun, opts v1.UpdateOptions) (result *v1beta1.JobRun, err error)
- func (c *FakeJobRuns) UpdateStatus(ctx context.Context, jobRun *v1beta1.JobRun, opts v1.UpdateOptions) (*v1beta1.JobRun, error)
- func (c *FakeJobRuns) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeCodeengineV1beta1 ¶
func (*FakeCodeengineV1beta1) JobDefinitions ¶
func (c *FakeCodeengineV1beta1) JobDefinitions(namespace string) v1beta1.JobDefinitionInterface
func (*FakeCodeengineV1beta1) JobRuns ¶
func (c *FakeCodeengineV1beta1) JobRuns(namespace string) v1beta1.JobRunInterface
func (*FakeCodeengineV1beta1) RESTClient ¶
func (c *FakeCodeengineV1beta1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type FakeJobDefinitions ¶
type FakeJobDefinitions struct { Fake *FakeCodeengineV1beta1 // contains filtered or unexported fields }
FakeJobDefinitions implements JobDefinitionInterface
func (*FakeJobDefinitions) Create ¶
func (c *FakeJobDefinitions) Create(ctx context.Context, jobDefinition *v1beta1.JobDefinition, opts v1.CreateOptions) (result *v1beta1.JobDefinition, err error)
Create takes the representation of a jobDefinition and creates it. Returns the server's representation of the jobDefinition, and an error, if there is any.
func (*FakeJobDefinitions) Delete ¶
func (c *FakeJobDefinitions) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the jobDefinition and deletes it. Returns an error if one occurs.
func (*FakeJobDefinitions) DeleteCollection ¶
func (c *FakeJobDefinitions) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeJobDefinitions) Get ¶
func (c *FakeJobDefinitions) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.JobDefinition, err error)
Get takes name of the jobDefinition, and returns the corresponding jobDefinition object, and an error if there is any.
func (*FakeJobDefinitions) List ¶
func (c *FakeJobDefinitions) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.JobDefinitionList, err error)
List takes label and field selectors, and returns the list of JobDefinitions that match those selectors.
func (*FakeJobDefinitions) Patch ¶
func (c *FakeJobDefinitions) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.JobDefinition, err error)
Patch applies the patch and returns the patched jobDefinition.
func (*FakeJobDefinitions) Update ¶
func (c *FakeJobDefinitions) Update(ctx context.Context, jobDefinition *v1beta1.JobDefinition, opts v1.UpdateOptions) (result *v1beta1.JobDefinition, err error)
Update takes the representation of a jobDefinition and updates it. Returns the server's representation of the jobDefinition, and an error, if there is any.
func (*FakeJobDefinitions) UpdateStatus ¶
func (c *FakeJobDefinitions) UpdateStatus(ctx context.Context, jobDefinition *v1beta1.JobDefinition, opts v1.UpdateOptions) (*v1beta1.JobDefinition, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeJobDefinitions) Watch ¶
func (c *FakeJobDefinitions) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested jobDefinitions.
type FakeJobRuns ¶
type FakeJobRuns struct { Fake *FakeCodeengineV1beta1 // contains filtered or unexported fields }
FakeJobRuns implements JobRunInterface
func (*FakeJobRuns) Create ¶
func (c *FakeJobRuns) Create(ctx context.Context, jobRun *v1beta1.JobRun, opts v1.CreateOptions) (result *v1beta1.JobRun, err error)
Create takes the representation of a jobRun and creates it. Returns the server's representation of the jobRun, and an error, if there is any.
func (*FakeJobRuns) Delete ¶
func (c *FakeJobRuns) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the jobRun and deletes it. Returns an error if one occurs.
func (*FakeJobRuns) DeleteCollection ¶
func (c *FakeJobRuns) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeJobRuns) Get ¶
func (c *FakeJobRuns) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.JobRun, err error)
Get takes name of the jobRun, and returns the corresponding jobRun object, and an error if there is any.
func (*FakeJobRuns) List ¶
func (c *FakeJobRuns) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.JobRunList, err error)
List takes label and field selectors, and returns the list of JobRuns that match those selectors.
func (*FakeJobRuns) Patch ¶
func (c *FakeJobRuns) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.JobRun, err error)
Patch applies the patch and returns the patched jobRun.
func (*FakeJobRuns) Update ¶
func (c *FakeJobRuns) Update(ctx context.Context, jobRun *v1beta1.JobRun, opts v1.UpdateOptions) (result *v1beta1.JobRun, err error)
Update takes the representation of a jobRun and updates it. Returns the server's representation of the jobRun, and an error, if there is any.
func (*FakeJobRuns) UpdateStatus ¶
func (c *FakeJobRuns) UpdateStatus(ctx context.Context, jobRun *v1beta1.JobRun, opts v1.UpdateOptions) (*v1beta1.JobRun, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeJobRuns) Watch ¶
func (c *FakeJobRuns) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested jobRuns.