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