Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeNginxconves
- func (c *FakeNginxconves) Create(ctx context.Context, nginxconf *nginxcrdv1.Nginxconf, opts v1.CreateOptions) (result *nginxcrdv1.Nginxconf, err error)
- func (c *FakeNginxconves) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeNginxconves) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeNginxconves) Get(ctx context.Context, name string, options v1.GetOptions) (result *nginxcrdv1.Nginxconf, err error)
- func (c *FakeNginxconves) List(ctx context.Context, opts v1.ListOptions) (result *nginxcrdv1.NginxconfList, err error)
- func (c *FakeNginxconves) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *nginxcrdv1.Nginxconf, err error)
- func (c *FakeNginxconves) Update(ctx context.Context, nginxconf *nginxcrdv1.Nginxconf, opts v1.UpdateOptions) (result *nginxcrdv1.Nginxconf, err error)
- func (c *FakeNginxconves) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeNginxcrdV1
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeNginxconves ¶
type FakeNginxconves struct { Fake *FakeNginxcrdV1 // contains filtered or unexported fields }
FakeNginxconves implements NginxconfInterface
func (*FakeNginxconves) Create ¶
func (c *FakeNginxconves) Create(ctx context.Context, nginxconf *nginxcrdv1.Nginxconf, opts v1.CreateOptions) (result *nginxcrdv1.Nginxconf, err error)
Create takes the representation of a nginxconf and creates it. Returns the server's representation of the nginxconf, and an error, if there is any.
func (*FakeNginxconves) Delete ¶
func (c *FakeNginxconves) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the nginxconf and deletes it. Returns an error if one occurs.
func (*FakeNginxconves) DeleteCollection ¶
func (c *FakeNginxconves) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeNginxconves) Get ¶
func (c *FakeNginxconves) Get(ctx context.Context, name string, options v1.GetOptions) (result *nginxcrdv1.Nginxconf, err error)
Get takes name of the nginxconf, and returns the corresponding nginxconf object, and an error if there is any.
func (*FakeNginxconves) List ¶
func (c *FakeNginxconves) List(ctx context.Context, opts v1.ListOptions) (result *nginxcrdv1.NginxconfList, err error)
List takes label and field selectors, and returns the list of Nginxconves that match those selectors.
func (*FakeNginxconves) Patch ¶
func (c *FakeNginxconves) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *nginxcrdv1.Nginxconf, err error)
Patch applies the patch and returns the patched nginxconf.
func (*FakeNginxconves) Update ¶
func (c *FakeNginxconves) Update(ctx context.Context, nginxconf *nginxcrdv1.Nginxconf, opts v1.UpdateOptions) (result *nginxcrdv1.Nginxconf, err error)
Update takes the representation of a nginxconf and updates it. Returns the server's representation of the nginxconf, and an error, if there is any.
func (*FakeNginxconves) Watch ¶
func (c *FakeNginxconves) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested nginxconves.
type FakeNginxcrdV1 ¶
func (*FakeNginxcrdV1) Nginxconves ¶
func (c *FakeNginxcrdV1) Nginxconves(namespace string) v1.NginxconfInterface
func (*FakeNginxcrdV1) RESTClient ¶
func (c *FakeNginxcrdV1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.