Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeBuilders
- func (c *FakeBuilders) Create(ctx context.Context, builder *v1alpha1.Builder, opts v1.CreateOptions) (result *v1alpha1.Builder, err error)
- func (c *FakeBuilders) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeBuilders) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeBuilders) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Builder, err error)
- func (c *FakeBuilders) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.BuilderList, err error)
- func (c *FakeBuilders) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Builder, err error)
- func (c *FakeBuilders) Update(ctx context.Context, builder *v1alpha1.Builder, opts v1.UpdateOptions) (result *v1alpha1.Builder, err error)
- func (c *FakeBuilders) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeOverseerV1alpha1
- func (c *FakeOverseerV1alpha1) Builders(namespace string) v1alpha1.BuilderInterface
- func (c *FakeOverseerV1alpha1) Overseers(namespace string) v1alpha1.OverseerInterface
- func (c *FakeOverseerV1alpha1) RESTClient() rest.Interface
- func (c *FakeOverseerV1alpha1) Servings(namespace string) v1alpha1.ServingInterface
- type FakeOverseers
- func (c *FakeOverseers) Create(ctx context.Context, overseer *v1alpha1.Overseer, opts v1.CreateOptions) (result *v1alpha1.Overseer, err error)
- func (c *FakeOverseers) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeOverseers) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeOverseers) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Overseer, err error)
- func (c *FakeOverseers) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.OverseerList, err error)
- func (c *FakeOverseers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Overseer, err error)
- func (c *FakeOverseers) Update(ctx context.Context, overseer *v1alpha1.Overseer, opts v1.UpdateOptions) (result *v1alpha1.Overseer, err error)
- func (c *FakeOverseers) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeServings
- func (c *FakeServings) Create(ctx context.Context, serving *v1alpha1.Serving, opts v1.CreateOptions) (result *v1alpha1.Serving, err error)
- func (c *FakeServings) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeServings) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeServings) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Serving, err error)
- func (c *FakeServings) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ServingList, err error)
- func (c *FakeServings) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Serving, err error)
- func (c *FakeServings) Update(ctx context.Context, serving *v1alpha1.Serving, opts v1.UpdateOptions) (result *v1alpha1.Serving, err error)
- func (c *FakeServings) 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 FakeBuilders ¶
type FakeBuilders struct { Fake *FakeOverseerV1alpha1 // contains filtered or unexported fields }
FakeBuilders implements BuilderInterface
func (*FakeBuilders) Create ¶
func (c *FakeBuilders) Create(ctx context.Context, builder *v1alpha1.Builder, opts v1.CreateOptions) (result *v1alpha1.Builder, err error)
Create takes the representation of a builder and creates it. Returns the server's representation of the builder, and an error, if there is any.
func (*FakeBuilders) Delete ¶
func (c *FakeBuilders) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the builder and deletes it. Returns an error if one occurs.
func (*FakeBuilders) DeleteCollection ¶
func (c *FakeBuilders) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeBuilders) Get ¶
func (c *FakeBuilders) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Builder, err error)
Get takes name of the builder, and returns the corresponding builder object, and an error if there is any.
func (*FakeBuilders) List ¶
func (c *FakeBuilders) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.BuilderList, err error)
List takes label and field selectors, and returns the list of Builders that match those selectors.
func (*FakeBuilders) Patch ¶
func (c *FakeBuilders) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Builder, err error)
Patch applies the patch and returns the patched builder.
func (*FakeBuilders) Update ¶
func (c *FakeBuilders) Update(ctx context.Context, builder *v1alpha1.Builder, opts v1.UpdateOptions) (result *v1alpha1.Builder, err error)
Update takes the representation of a builder and updates it. Returns the server's representation of the builder, and an error, if there is any.
func (*FakeBuilders) Watch ¶
func (c *FakeBuilders) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested builders.
type FakeOverseerV1alpha1 ¶
func (*FakeOverseerV1alpha1) Builders ¶
func (c *FakeOverseerV1alpha1) Builders(namespace string) v1alpha1.BuilderInterface
func (*FakeOverseerV1alpha1) Overseers ¶
func (c *FakeOverseerV1alpha1) Overseers(namespace string) v1alpha1.OverseerInterface
func (*FakeOverseerV1alpha1) RESTClient ¶
func (c *FakeOverseerV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeOverseerV1alpha1) Servings ¶
func (c *FakeOverseerV1alpha1) Servings(namespace string) v1alpha1.ServingInterface
type FakeOverseers ¶
type FakeOverseers struct { Fake *FakeOverseerV1alpha1 // contains filtered or unexported fields }
FakeOverseers implements OverseerInterface
func (*FakeOverseers) Create ¶
func (c *FakeOverseers) Create(ctx context.Context, overseer *v1alpha1.Overseer, opts v1.CreateOptions) (result *v1alpha1.Overseer, err error)
Create takes the representation of a overseer and creates it. Returns the server's representation of the overseer, and an error, if there is any.
func (*FakeOverseers) Delete ¶
func (c *FakeOverseers) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the overseer and deletes it. Returns an error if one occurs.
func (*FakeOverseers) DeleteCollection ¶
func (c *FakeOverseers) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeOverseers) Get ¶
func (c *FakeOverseers) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Overseer, err error)
Get takes name of the overseer, and returns the corresponding overseer object, and an error if there is any.
func (*FakeOverseers) List ¶
func (c *FakeOverseers) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.OverseerList, err error)
List takes label and field selectors, and returns the list of Overseers that match those selectors.
func (*FakeOverseers) Patch ¶
func (c *FakeOverseers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Overseer, err error)
Patch applies the patch and returns the patched overseer.
func (*FakeOverseers) Update ¶
func (c *FakeOverseers) Update(ctx context.Context, overseer *v1alpha1.Overseer, opts v1.UpdateOptions) (result *v1alpha1.Overseer, err error)
Update takes the representation of a overseer and updates it. Returns the server's representation of the overseer, and an error, if there is any.
func (*FakeOverseers) Watch ¶
func (c *FakeOverseers) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested overseers.
type FakeServings ¶
type FakeServings struct { Fake *FakeOverseerV1alpha1 // contains filtered or unexported fields }
FakeServings implements ServingInterface
func (*FakeServings) Create ¶
func (c *FakeServings) Create(ctx context.Context, serving *v1alpha1.Serving, opts v1.CreateOptions) (result *v1alpha1.Serving, err error)
Create takes the representation of a serving and creates it. Returns the server's representation of the serving, and an error, if there is any.
func (*FakeServings) Delete ¶
func (c *FakeServings) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the serving and deletes it. Returns an error if one occurs.
func (*FakeServings) DeleteCollection ¶
func (c *FakeServings) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeServings) Get ¶
func (c *FakeServings) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Serving, err error)
Get takes name of the serving, and returns the corresponding serving object, and an error if there is any.
func (*FakeServings) List ¶
func (c *FakeServings) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ServingList, err error)
List takes label and field selectors, and returns the list of Servings that match those selectors.
func (*FakeServings) Patch ¶
func (c *FakeServings) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Serving, err error)
Patch applies the patch and returns the patched serving.
func (*FakeServings) Update ¶
func (c *FakeServings) Update(ctx context.Context, serving *v1alpha1.Serving, opts v1.UpdateOptions) (result *v1alpha1.Serving, err error)
Update takes the representation of a serving and updates it. Returns the server's representation of the serving, and an error, if there is any.
func (*FakeServings) Watch ¶
func (c *FakeServings) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested servings.