Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeApplicationProtocols
- func (c *FakeApplicationProtocols) Apply(ctx context.Context, ...) (result *v1alpha1.ApplicationProtocol, err error)
- func (c *FakeApplicationProtocols) ApplyStatus(ctx context.Context, ...) (result *v1alpha1.ApplicationProtocol, err error)
- func (c *FakeApplicationProtocols) Create(ctx context.Context, applicationProtocol *v1alpha1.ApplicationProtocol, ...) (result *v1alpha1.ApplicationProtocol, err error)
- func (c *FakeApplicationProtocols) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeApplicationProtocols) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeApplicationProtocols) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ApplicationProtocol, err error)
- func (c *FakeApplicationProtocols) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ApplicationProtocolList, err error)
- func (c *FakeApplicationProtocols) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ApplicationProtocol, err error)
- func (c *FakeApplicationProtocols) Update(ctx context.Context, applicationProtocol *v1alpha1.ApplicationProtocol, ...) (result *v1alpha1.ApplicationProtocol, err error)
- func (c *FakeApplicationProtocols) UpdateStatus(ctx context.Context, applicationProtocol *v1alpha1.ApplicationProtocol, ...) (*v1alpha1.ApplicationProtocol, error)
- func (c *FakeApplicationProtocols) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeMetaRouters
- func (c *FakeMetaRouters) Apply(ctx context.Context, ...) (result *v1alpha1.MetaRouter, err error)
- func (c *FakeMetaRouters) ApplyStatus(ctx context.Context, ...) (result *v1alpha1.MetaRouter, err error)
- func (c *FakeMetaRouters) Create(ctx context.Context, metaRouter *v1alpha1.MetaRouter, opts v1.CreateOptions) (result *v1alpha1.MetaRouter, err error)
- func (c *FakeMetaRouters) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeMetaRouters) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeMetaRouters) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.MetaRouter, err error)
- func (c *FakeMetaRouters) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.MetaRouterList, err error)
- func (c *FakeMetaRouters) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.MetaRouter, err error)
- func (c *FakeMetaRouters) Update(ctx context.Context, metaRouter *v1alpha1.MetaRouter, opts v1.UpdateOptions) (result *v1alpha1.MetaRouter, err error)
- func (c *FakeMetaRouters) UpdateStatus(ctx context.Context, metaRouter *v1alpha1.MetaRouter, opts v1.UpdateOptions) (*v1alpha1.MetaRouter, error)
- func (c *FakeMetaRouters) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeMetaprotocolV1alpha1
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeApplicationProtocols ¶
type FakeApplicationProtocols struct { Fake *FakeMetaprotocolV1alpha1 // contains filtered or unexported fields }
FakeApplicationProtocols implements ApplicationProtocolInterface
func (*FakeApplicationProtocols) Apply ¶
func (c *FakeApplicationProtocols) Apply(ctx context.Context, applicationProtocol *metaprotocolv1alpha1.ApplicationProtocolApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.ApplicationProtocol, err error)
Apply takes the given apply declarative configuration, applies it and returns the applied applicationProtocol.
func (*FakeApplicationProtocols) ApplyStatus ¶
func (c *FakeApplicationProtocols) ApplyStatus(ctx context.Context, applicationProtocol *metaprotocolv1alpha1.ApplicationProtocolApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.ApplicationProtocol, err error)
ApplyStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating ApplyStatus().
func (*FakeApplicationProtocols) Create ¶
func (c *FakeApplicationProtocols) Create(ctx context.Context, applicationProtocol *v1alpha1.ApplicationProtocol, opts v1.CreateOptions) (result *v1alpha1.ApplicationProtocol, err error)
Create takes the representation of a applicationProtocol and creates it. Returns the server's representation of the applicationProtocol, and an error, if there is any.
func (*FakeApplicationProtocols) Delete ¶
func (c *FakeApplicationProtocols) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the applicationProtocol and deletes it. Returns an error if one occurs.
func (*FakeApplicationProtocols) DeleteCollection ¶
func (c *FakeApplicationProtocols) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeApplicationProtocols) Get ¶
func (c *FakeApplicationProtocols) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ApplicationProtocol, err error)
Get takes name of the applicationProtocol, and returns the corresponding applicationProtocol object, and an error if there is any.
func (*FakeApplicationProtocols) List ¶
func (c *FakeApplicationProtocols) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ApplicationProtocolList, err error)
List takes label and field selectors, and returns the list of ApplicationProtocols that match those selectors.
func (*FakeApplicationProtocols) Patch ¶
func (c *FakeApplicationProtocols) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ApplicationProtocol, err error)
Patch applies the patch and returns the patched applicationProtocol.
func (*FakeApplicationProtocols) Update ¶
func (c *FakeApplicationProtocols) Update(ctx context.Context, applicationProtocol *v1alpha1.ApplicationProtocol, opts v1.UpdateOptions) (result *v1alpha1.ApplicationProtocol, err error)
Update takes the representation of a applicationProtocol and updates it. Returns the server's representation of the applicationProtocol, and an error, if there is any.
func (*FakeApplicationProtocols) UpdateStatus ¶
func (c *FakeApplicationProtocols) UpdateStatus(ctx context.Context, applicationProtocol *v1alpha1.ApplicationProtocol, opts v1.UpdateOptions) (*v1alpha1.ApplicationProtocol, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeApplicationProtocols) Watch ¶
func (c *FakeApplicationProtocols) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested applicationProtocols.
type FakeMetaRouters ¶
type FakeMetaRouters struct { Fake *FakeMetaprotocolV1alpha1 // contains filtered or unexported fields }
FakeMetaRouters implements MetaRouterInterface
func (*FakeMetaRouters) Apply ¶
func (c *FakeMetaRouters) Apply(ctx context.Context, metaRouter *metaprotocolv1alpha1.MetaRouterApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.MetaRouter, err error)
Apply takes the given apply declarative configuration, applies it and returns the applied metaRouter.
func (*FakeMetaRouters) ApplyStatus ¶
func (c *FakeMetaRouters) ApplyStatus(ctx context.Context, metaRouter *metaprotocolv1alpha1.MetaRouterApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.MetaRouter, err error)
ApplyStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating ApplyStatus().
func (*FakeMetaRouters) Create ¶
func (c *FakeMetaRouters) Create(ctx context.Context, metaRouter *v1alpha1.MetaRouter, opts v1.CreateOptions) (result *v1alpha1.MetaRouter, err error)
Create takes the representation of a metaRouter and creates it. Returns the server's representation of the metaRouter, and an error, if there is any.
func (*FakeMetaRouters) Delete ¶
func (c *FakeMetaRouters) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the metaRouter and deletes it. Returns an error if one occurs.
func (*FakeMetaRouters) DeleteCollection ¶
func (c *FakeMetaRouters) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeMetaRouters) Get ¶
func (c *FakeMetaRouters) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.MetaRouter, err error)
Get takes name of the metaRouter, and returns the corresponding metaRouter object, and an error if there is any.
func (*FakeMetaRouters) List ¶
func (c *FakeMetaRouters) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.MetaRouterList, err error)
List takes label and field selectors, and returns the list of MetaRouters that match those selectors.
func (*FakeMetaRouters) Patch ¶
func (c *FakeMetaRouters) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.MetaRouter, err error)
Patch applies the patch and returns the patched metaRouter.
func (*FakeMetaRouters) Update ¶
func (c *FakeMetaRouters) Update(ctx context.Context, metaRouter *v1alpha1.MetaRouter, opts v1.UpdateOptions) (result *v1alpha1.MetaRouter, err error)
Update takes the representation of a metaRouter and updates it. Returns the server's representation of the metaRouter, and an error, if there is any.
func (*FakeMetaRouters) UpdateStatus ¶
func (c *FakeMetaRouters) UpdateStatus(ctx context.Context, metaRouter *v1alpha1.MetaRouter, opts v1.UpdateOptions) (*v1alpha1.MetaRouter, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeMetaRouters) Watch ¶
func (c *FakeMetaRouters) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested metaRouters.
type FakeMetaprotocolV1alpha1 ¶
func (*FakeMetaprotocolV1alpha1) ApplicationProtocols ¶
func (c *FakeMetaprotocolV1alpha1) ApplicationProtocols(namespace string) v1alpha1.ApplicationProtocolInterface
func (*FakeMetaprotocolV1alpha1) MetaRouters ¶
func (c *FakeMetaprotocolV1alpha1) MetaRouters(namespace string) v1alpha1.MetaRouterInterface
func (*FakeMetaprotocolV1alpha1) RESTClient ¶
func (c *FakeMetaprotocolV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.