Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeApps
- func (c *FakeApps) Create(app *riocattleiov1.App) (result *riocattleiov1.App, err error)
- func (c *FakeApps) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeApps) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeApps) Get(name string, options v1.GetOptions) (result *riocattleiov1.App, err error)
- func (c *FakeApps) List(opts v1.ListOptions) (result *riocattleiov1.AppList, err error)
- func (c *FakeApps) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *riocattleiov1.App, err error)
- func (c *FakeApps) Update(app *riocattleiov1.App) (result *riocattleiov1.App, err error)
- func (c *FakeApps) UpdateStatus(app *riocattleiov1.App) (*riocattleiov1.App, error)
- func (c *FakeApps) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeExternalServices
- func (c *FakeExternalServices) Create(externalService *riocattleiov1.ExternalService) (result *riocattleiov1.ExternalService, err error)
- func (c *FakeExternalServices) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeExternalServices) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeExternalServices) Get(name string, options v1.GetOptions) (result *riocattleiov1.ExternalService, err error)
- func (c *FakeExternalServices) List(opts v1.ListOptions) (result *riocattleiov1.ExternalServiceList, err error)
- func (c *FakeExternalServices) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *riocattleiov1.ExternalService, err error)
- func (c *FakeExternalServices) Update(externalService *riocattleiov1.ExternalService) (result *riocattleiov1.ExternalService, err error)
- func (c *FakeExternalServices) UpdateStatus(externalService *riocattleiov1.ExternalService) (*riocattleiov1.ExternalService, error)
- func (c *FakeExternalServices) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeRioV1
- func (c *FakeRioV1) Apps(namespace string) v1.AppInterface
- func (c *FakeRioV1) ExternalServices(namespace string) v1.ExternalServiceInterface
- func (c *FakeRioV1) RESTClient() rest.Interface
- func (c *FakeRioV1) Routers(namespace string) v1.RouterInterface
- func (c *FakeRioV1) Services(namespace string) v1.ServiceInterface
- type FakeRouters
- func (c *FakeRouters) Create(router *riocattleiov1.Router) (result *riocattleiov1.Router, err error)
- func (c *FakeRouters) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeRouters) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeRouters) Get(name string, options v1.GetOptions) (result *riocattleiov1.Router, err error)
- func (c *FakeRouters) List(opts v1.ListOptions) (result *riocattleiov1.RouterList, err error)
- func (c *FakeRouters) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *riocattleiov1.Router, err error)
- func (c *FakeRouters) Update(router *riocattleiov1.Router) (result *riocattleiov1.Router, err error)
- func (c *FakeRouters) UpdateStatus(router *riocattleiov1.Router) (*riocattleiov1.Router, error)
- func (c *FakeRouters) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeServices
- func (c *FakeServices) Create(service *riocattleiov1.Service) (result *riocattleiov1.Service, err error)
- func (c *FakeServices) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeServices) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeServices) Get(name string, options v1.GetOptions) (result *riocattleiov1.Service, err error)
- func (c *FakeServices) List(opts v1.ListOptions) (result *riocattleiov1.ServiceList, err error)
- func (c *FakeServices) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *riocattleiov1.Service, err error)
- func (c *FakeServices) Update(service *riocattleiov1.Service) (result *riocattleiov1.Service, err error)
- func (c *FakeServices) UpdateStatus(service *riocattleiov1.Service) (*riocattleiov1.Service, error)
- func (c *FakeServices) Watch(opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeApps ¶
type FakeApps struct { Fake *FakeRioV1 // contains filtered or unexported fields }
FakeApps implements AppInterface
func (*FakeApps) Create ¶
func (c *FakeApps) Create(app *riocattleiov1.App) (result *riocattleiov1.App, err error)
Create takes the representation of a app and creates it. Returns the server's representation of the app, and an error, if there is any.
func (*FakeApps) Delete ¶
func (c *FakeApps) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the app and deletes it. Returns an error if one occurs.
func (*FakeApps) DeleteCollection ¶
func (c *FakeApps) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeApps) Get ¶
func (c *FakeApps) Get(name string, options v1.GetOptions) (result *riocattleiov1.App, err error)
Get takes name of the app, and returns the corresponding app object, and an error if there is any.
func (*FakeApps) List ¶
func (c *FakeApps) List(opts v1.ListOptions) (result *riocattleiov1.AppList, err error)
List takes label and field selectors, and returns the list of Apps that match those selectors.
func (*FakeApps) Patch ¶
func (c *FakeApps) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *riocattleiov1.App, err error)
Patch applies the patch and returns the patched app.
func (*FakeApps) Update ¶
func (c *FakeApps) Update(app *riocattleiov1.App) (result *riocattleiov1.App, err error)
Update takes the representation of a app and updates it. Returns the server's representation of the app, and an error, if there is any.
func (*FakeApps) UpdateStatus ¶
func (c *FakeApps) UpdateStatus(app *riocattleiov1.App) (*riocattleiov1.App, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
type FakeExternalServices ¶
type FakeExternalServices struct { Fake *FakeRioV1 // contains filtered or unexported fields }
FakeExternalServices implements ExternalServiceInterface
func (*FakeExternalServices) Create ¶
func (c *FakeExternalServices) Create(externalService *riocattleiov1.ExternalService) (result *riocattleiov1.ExternalService, err error)
Create takes the representation of a externalService and creates it. Returns the server's representation of the externalService, and an error, if there is any.
func (*FakeExternalServices) Delete ¶
func (c *FakeExternalServices) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the externalService and deletes it. Returns an error if one occurs.
func (*FakeExternalServices) DeleteCollection ¶
func (c *FakeExternalServices) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeExternalServices) Get ¶
func (c *FakeExternalServices) Get(name string, options v1.GetOptions) (result *riocattleiov1.ExternalService, err error)
Get takes name of the externalService, and returns the corresponding externalService object, and an error if there is any.
func (*FakeExternalServices) List ¶
func (c *FakeExternalServices) List(opts v1.ListOptions) (result *riocattleiov1.ExternalServiceList, err error)
List takes label and field selectors, and returns the list of ExternalServices that match those selectors.
func (*FakeExternalServices) Patch ¶
func (c *FakeExternalServices) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *riocattleiov1.ExternalService, err error)
Patch applies the patch and returns the patched externalService.
func (*FakeExternalServices) Update ¶
func (c *FakeExternalServices) Update(externalService *riocattleiov1.ExternalService) (result *riocattleiov1.ExternalService, err error)
Update takes the representation of a externalService and updates it. Returns the server's representation of the externalService, and an error, if there is any.
func (*FakeExternalServices) UpdateStatus ¶
func (c *FakeExternalServices) UpdateStatus(externalService *riocattleiov1.ExternalService) (*riocattleiov1.ExternalService, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeExternalServices) Watch ¶
func (c *FakeExternalServices) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested externalServices.
type FakeRioV1 ¶
func (*FakeRioV1) ExternalServices ¶
func (c *FakeRioV1) ExternalServices(namespace string) v1.ExternalServiceInterface
func (*FakeRioV1) RESTClient ¶
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type FakeRouters ¶
type FakeRouters struct { Fake *FakeRioV1 // contains filtered or unexported fields }
FakeRouters implements RouterInterface
func (*FakeRouters) Create ¶
func (c *FakeRouters) Create(router *riocattleiov1.Router) (result *riocattleiov1.Router, err error)
Create takes the representation of a router and creates it. Returns the server's representation of the router, and an error, if there is any.
func (*FakeRouters) Delete ¶
func (c *FakeRouters) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the router and deletes it. Returns an error if one occurs.
func (*FakeRouters) DeleteCollection ¶
func (c *FakeRouters) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeRouters) Get ¶
func (c *FakeRouters) Get(name string, options v1.GetOptions) (result *riocattleiov1.Router, err error)
Get takes name of the router, and returns the corresponding router object, and an error if there is any.
func (*FakeRouters) List ¶
func (c *FakeRouters) List(opts v1.ListOptions) (result *riocattleiov1.RouterList, err error)
List takes label and field selectors, and returns the list of Routers that match those selectors.
func (*FakeRouters) Patch ¶
func (c *FakeRouters) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *riocattleiov1.Router, err error)
Patch applies the patch and returns the patched router.
func (*FakeRouters) Update ¶
func (c *FakeRouters) Update(router *riocattleiov1.Router) (result *riocattleiov1.Router, err error)
Update takes the representation of a router and updates it. Returns the server's representation of the router, and an error, if there is any.
func (*FakeRouters) UpdateStatus ¶
func (c *FakeRouters) UpdateStatus(router *riocattleiov1.Router) (*riocattleiov1.Router, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeRouters) Watch ¶
func (c *FakeRouters) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested routers.
type FakeServices ¶
type FakeServices struct { Fake *FakeRioV1 // contains filtered or unexported fields }
FakeServices implements ServiceInterface
func (*FakeServices) Create ¶
func (c *FakeServices) Create(service *riocattleiov1.Service) (result *riocattleiov1.Service, err error)
Create takes the representation of a service and creates it. Returns the server's representation of the service, and an error, if there is any.
func (*FakeServices) Delete ¶
func (c *FakeServices) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the service and deletes it. Returns an error if one occurs.
func (*FakeServices) DeleteCollection ¶
func (c *FakeServices) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeServices) Get ¶
func (c *FakeServices) Get(name string, options v1.GetOptions) (result *riocattleiov1.Service, err error)
Get takes name of the service, and returns the corresponding service object, and an error if there is any.
func (*FakeServices) List ¶
func (c *FakeServices) List(opts v1.ListOptions) (result *riocattleiov1.ServiceList, err error)
List takes label and field selectors, and returns the list of Services that match those selectors.
func (*FakeServices) Patch ¶
func (c *FakeServices) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *riocattleiov1.Service, err error)
Patch applies the patch and returns the patched service.
func (*FakeServices) Update ¶
func (c *FakeServices) Update(service *riocattleiov1.Service) (result *riocattleiov1.Service, err error)
Update takes the representation of a service and updates it. Returns the server's representation of the service, and an error, if there is any.
func (*FakeServices) UpdateStatus ¶
func (c *FakeServices) UpdateStatus(service *riocattleiov1.Service) (*riocattleiov1.Service, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeServices) Watch ¶
func (c *FakeServices) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested services.