Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeEvents
- func (c *FakeEvents) Create(ctx context.Context, event *v1alpha1.Event, opts v1.CreateOptions) (result *v1alpha1.Event, err error)
- func (c *FakeEvents) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeEvents) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeEvents) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Event, err error)
- func (c *FakeEvents) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.EventList, err error)
- func (c *FakeEvents) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Event, err error)
- func (c *FakeEvents) Update(ctx context.Context, event *v1alpha1.Event, opts v1.UpdateOptions) (result *v1alpha1.Event, err error)
- func (c *FakeEvents) UpdateStatus(ctx context.Context, event *v1alpha1.Event, opts v1.UpdateOptions) (*v1alpha1.Event, error)
- func (c *FakeEvents) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeEventsrunnerV1alpha1
- func (c *FakeEventsrunnerV1alpha1) Events(namespace string) v1alpha1.EventInterface
- func (c *FakeEventsrunnerV1alpha1) RESTClient() rest.Interface
- func (c *FakeEventsrunnerV1alpha1) RunnerBindings(namespace string) v1alpha1.RunnerBindingInterface
- func (c *FakeEventsrunnerV1alpha1) Runners(namespace string) v1alpha1.RunnerInterface
- type FakeRunnerBindings
- func (c *FakeRunnerBindings) Create(ctx context.Context, runnerBinding *v1alpha1.RunnerBinding, ...) (result *v1alpha1.RunnerBinding, err error)
- func (c *FakeRunnerBindings) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeRunnerBindings) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeRunnerBindings) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.RunnerBinding, err error)
- func (c *FakeRunnerBindings) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.RunnerBindingList, err error)
- func (c *FakeRunnerBindings) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.RunnerBinding, err error)
- func (c *FakeRunnerBindings) Update(ctx context.Context, runnerBinding *v1alpha1.RunnerBinding, ...) (result *v1alpha1.RunnerBinding, err error)
- func (c *FakeRunnerBindings) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeRunners
- func (c *FakeRunners) Create(ctx context.Context, runner *v1alpha1.Runner, opts v1.CreateOptions) (result *v1alpha1.Runner, err error)
- func (c *FakeRunners) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeRunners) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeRunners) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Runner, err error)
- func (c *FakeRunners) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.RunnerList, err error)
- func (c *FakeRunners) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Runner, err error)
- func (c *FakeRunners) Update(ctx context.Context, runner *v1alpha1.Runner, opts v1.UpdateOptions) (result *v1alpha1.Runner, err error)
- func (c *FakeRunners) 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 FakeEvents ¶
type FakeEvents struct { Fake *FakeEventsrunnerV1alpha1 // contains filtered or unexported fields }
FakeEvents implements EventInterface
func (*FakeEvents) Create ¶
func (c *FakeEvents) Create(ctx context.Context, event *v1alpha1.Event, opts v1.CreateOptions) (result *v1alpha1.Event, err error)
Create takes the representation of a event and creates it. Returns the server's representation of the event, and an error, if there is any.
func (*FakeEvents) Delete ¶
func (c *FakeEvents) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the event and deletes it. Returns an error if one occurs.
func (*FakeEvents) DeleteCollection ¶
func (c *FakeEvents) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeEvents) Get ¶
func (c *FakeEvents) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Event, err error)
Get takes name of the event, and returns the corresponding event object, and an error if there is any.
func (*FakeEvents) List ¶
func (c *FakeEvents) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.EventList, err error)
List takes label and field selectors, and returns the list of Events that match those selectors.
func (*FakeEvents) Patch ¶
func (c *FakeEvents) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Event, err error)
Patch applies the patch and returns the patched event.
func (*FakeEvents) Update ¶
func (c *FakeEvents) Update(ctx context.Context, event *v1alpha1.Event, opts v1.UpdateOptions) (result *v1alpha1.Event, err error)
Update takes the representation of a event and updates it. Returns the server's representation of the event, and an error, if there is any.
func (*FakeEvents) UpdateStatus ¶
func (c *FakeEvents) UpdateStatus(ctx context.Context, event *v1alpha1.Event, opts v1.UpdateOptions) (*v1alpha1.Event, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeEvents) Watch ¶
func (c *FakeEvents) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested events.
type FakeEventsrunnerV1alpha1 ¶
func (*FakeEventsrunnerV1alpha1) Events ¶
func (c *FakeEventsrunnerV1alpha1) Events(namespace string) v1alpha1.EventInterface
func (*FakeEventsrunnerV1alpha1) RESTClient ¶
func (c *FakeEventsrunnerV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeEventsrunnerV1alpha1) RunnerBindings ¶
func (c *FakeEventsrunnerV1alpha1) RunnerBindings(namespace string) v1alpha1.RunnerBindingInterface
func (*FakeEventsrunnerV1alpha1) Runners ¶
func (c *FakeEventsrunnerV1alpha1) Runners(namespace string) v1alpha1.RunnerInterface
type FakeRunnerBindings ¶
type FakeRunnerBindings struct { Fake *FakeEventsrunnerV1alpha1 // contains filtered or unexported fields }
FakeRunnerBindings implements RunnerBindingInterface
func (*FakeRunnerBindings) Create ¶
func (c *FakeRunnerBindings) Create(ctx context.Context, runnerBinding *v1alpha1.RunnerBinding, opts v1.CreateOptions) (result *v1alpha1.RunnerBinding, err error)
Create takes the representation of a runnerBinding and creates it. Returns the server's representation of the runnerBinding, and an error, if there is any.
func (*FakeRunnerBindings) Delete ¶
func (c *FakeRunnerBindings) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the runnerBinding and deletes it. Returns an error if one occurs.
func (*FakeRunnerBindings) DeleteCollection ¶
func (c *FakeRunnerBindings) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeRunnerBindings) Get ¶
func (c *FakeRunnerBindings) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.RunnerBinding, err error)
Get takes name of the runnerBinding, and returns the corresponding runnerBinding object, and an error if there is any.
func (*FakeRunnerBindings) List ¶
func (c *FakeRunnerBindings) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.RunnerBindingList, err error)
List takes label and field selectors, and returns the list of RunnerBindings that match those selectors.
func (*FakeRunnerBindings) Patch ¶
func (c *FakeRunnerBindings) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.RunnerBinding, err error)
Patch applies the patch and returns the patched runnerBinding.
func (*FakeRunnerBindings) Update ¶
func (c *FakeRunnerBindings) Update(ctx context.Context, runnerBinding *v1alpha1.RunnerBinding, opts v1.UpdateOptions) (result *v1alpha1.RunnerBinding, err error)
Update takes the representation of a runnerBinding and updates it. Returns the server's representation of the runnerBinding, and an error, if there is any.
func (*FakeRunnerBindings) Watch ¶
func (c *FakeRunnerBindings) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested runnerBindings.
type FakeRunners ¶
type FakeRunners struct { Fake *FakeEventsrunnerV1alpha1 // contains filtered or unexported fields }
FakeRunners implements RunnerInterface
func (*FakeRunners) Create ¶
func (c *FakeRunners) Create(ctx context.Context, runner *v1alpha1.Runner, opts v1.CreateOptions) (result *v1alpha1.Runner, err error)
Create takes the representation of a runner and creates it. Returns the server's representation of the runner, and an error, if there is any.
func (*FakeRunners) Delete ¶
func (c *FakeRunners) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the runner and deletes it. Returns an error if one occurs.
func (*FakeRunners) DeleteCollection ¶
func (c *FakeRunners) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeRunners) Get ¶
func (c *FakeRunners) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Runner, err error)
Get takes name of the runner, and returns the corresponding runner object, and an error if there is any.
func (*FakeRunners) List ¶
func (c *FakeRunners) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.RunnerList, err error)
List takes label and field selectors, and returns the list of Runners that match those selectors.
func (*FakeRunners) Patch ¶
func (c *FakeRunners) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Runner, err error)
Patch applies the patch and returns the patched runner.
func (*FakeRunners) Update ¶
func (c *FakeRunners) Update(ctx context.Context, runner *v1alpha1.Runner, opts v1.UpdateOptions) (result *v1alpha1.Runner, err error)
Update takes the representation of a runner and updates it. Returns the server's representation of the runner, and an error, if there is any.
func (*FakeRunners) Watch ¶
func (c *FakeRunners) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested runners.