Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeBuilders
- func (c *FakeBuilders) Create(ctx context.Context, builder *v1beta1.Builder, opts v1.CreateOptions) (result *v1beta1.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 *v1beta1.Builder, err error)
- func (c *FakeBuilders) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.BuilderList, err error)
- func (c *FakeBuilders) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.Builder, err error)
- func (c *FakeBuilders) Update(ctx context.Context, builder *v1beta1.Builder, opts v1.UpdateOptions) (result *v1beta1.Builder, err error)
- func (c *FakeBuilders) UpdateStatus(ctx context.Context, builder *v1beta1.Builder, opts v1.UpdateOptions) (*v1beta1.Builder, error)
- func (c *FakeBuilders) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeCoreV1beta1
- type FakeFunctions
- func (c *FakeFunctions) Create(ctx context.Context, function *v1beta1.Function, opts v1.CreateOptions) (result *v1beta1.Function, err error)
- func (c *FakeFunctions) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeFunctions) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeFunctions) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.Function, err error)
- func (c *FakeFunctions) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.FunctionList, err error)
- func (c *FakeFunctions) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.Function, err error)
- func (c *FakeFunctions) Update(ctx context.Context, function *v1beta1.Function, opts v1.UpdateOptions) (result *v1beta1.Function, err error)
- func (c *FakeFunctions) UpdateStatus(ctx context.Context, function *v1beta1.Function, opts v1.UpdateOptions) (*v1beta1.Function, error)
- func (c *FakeFunctions) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeServings
- func (c *FakeServings) Create(ctx context.Context, serving *v1beta1.Serving, opts v1.CreateOptions) (result *v1beta1.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 *v1beta1.Serving, err error)
- func (c *FakeServings) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.ServingList, err error)
- func (c *FakeServings) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.Serving, err error)
- func (c *FakeServings) Update(ctx context.Context, serving *v1beta1.Serving, opts v1.UpdateOptions) (result *v1beta1.Serving, err error)
- func (c *FakeServings) UpdateStatus(ctx context.Context, serving *v1beta1.Serving, opts v1.UpdateOptions) (*v1beta1.Serving, 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 *FakeCoreV1beta1 // contains filtered or unexported fields }
FakeBuilders implements BuilderInterface
func (*FakeBuilders) Create ¶
func (c *FakeBuilders) Create(ctx context.Context, builder *v1beta1.Builder, opts v1.CreateOptions) (result *v1beta1.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 *v1beta1.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 *v1beta1.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 *v1beta1.Builder, err error)
Patch applies the patch and returns the patched builder.
func (*FakeBuilders) Update ¶
func (c *FakeBuilders) Update(ctx context.Context, builder *v1beta1.Builder, opts v1.UpdateOptions) (result *v1beta1.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) UpdateStatus ¶
func (c *FakeBuilders) UpdateStatus(ctx context.Context, builder *v1beta1.Builder, opts v1.UpdateOptions) (*v1beta1.Builder, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
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 FakeCoreV1beta1 ¶
func (*FakeCoreV1beta1) Builders ¶
func (c *FakeCoreV1beta1) Builders(namespace string) v1beta1.BuilderInterface
func (*FakeCoreV1beta1) Functions ¶
func (c *FakeCoreV1beta1) Functions(namespace string) v1beta1.FunctionInterface
func (*FakeCoreV1beta1) RESTClient ¶
func (c *FakeCoreV1beta1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeCoreV1beta1) Servings ¶
func (c *FakeCoreV1beta1) Servings(namespace string) v1beta1.ServingInterface
type FakeFunctions ¶
type FakeFunctions struct { Fake *FakeCoreV1beta1 // contains filtered or unexported fields }
FakeFunctions implements FunctionInterface
func (*FakeFunctions) Create ¶
func (c *FakeFunctions) Create(ctx context.Context, function *v1beta1.Function, opts v1.CreateOptions) (result *v1beta1.Function, err error)
Create takes the representation of a function and creates it. Returns the server's representation of the function, and an error, if there is any.
func (*FakeFunctions) Delete ¶
func (c *FakeFunctions) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the function and deletes it. Returns an error if one occurs.
func (*FakeFunctions) DeleteCollection ¶
func (c *FakeFunctions) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeFunctions) Get ¶
func (c *FakeFunctions) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.Function, err error)
Get takes name of the function, and returns the corresponding function object, and an error if there is any.
func (*FakeFunctions) List ¶
func (c *FakeFunctions) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.FunctionList, err error)
List takes label and field selectors, and returns the list of Functions that match those selectors.
func (*FakeFunctions) Patch ¶
func (c *FakeFunctions) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.Function, err error)
Patch applies the patch and returns the patched function.
func (*FakeFunctions) Update ¶
func (c *FakeFunctions) Update(ctx context.Context, function *v1beta1.Function, opts v1.UpdateOptions) (result *v1beta1.Function, err error)
Update takes the representation of a function and updates it. Returns the server's representation of the function, and an error, if there is any.
func (*FakeFunctions) UpdateStatus ¶
func (c *FakeFunctions) UpdateStatus(ctx context.Context, function *v1beta1.Function, opts v1.UpdateOptions) (*v1beta1.Function, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeFunctions) Watch ¶
func (c *FakeFunctions) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested functions.
type FakeServings ¶
type FakeServings struct { Fake *FakeCoreV1beta1 // contains filtered or unexported fields }
FakeServings implements ServingInterface
func (*FakeServings) Create ¶
func (c *FakeServings) Create(ctx context.Context, serving *v1beta1.Serving, opts v1.CreateOptions) (result *v1beta1.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 *v1beta1.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 *v1beta1.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 *v1beta1.Serving, err error)
Patch applies the patch and returns the patched serving.
func (*FakeServings) Update ¶
func (c *FakeServings) Update(ctx context.Context, serving *v1beta1.Serving, opts v1.UpdateOptions) (result *v1beta1.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) UpdateStatus ¶
func (c *FakeServings) UpdateStatus(ctx context.Context, serving *v1beta1.Serving, opts v1.UpdateOptions) (*v1beta1.Serving, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
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.