Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- 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) 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
- func (c *FakeRioV1) Stacks(namespace string) v1.StackInterface
- 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)
- type FakeStacks
- func (c *FakeStacks) Create(stack *riocattleiov1.Stack) (result *riocattleiov1.Stack, err error)
- func (c *FakeStacks) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeStacks) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeStacks) Get(name string, options v1.GetOptions) (result *riocattleiov1.Stack, err error)
- func (c *FakeStacks) List(opts v1.ListOptions) (result *riocattleiov1.StackList, err error)
- func (c *FakeStacks) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *riocattleiov1.Stack, err error)
- func (c *FakeStacks) Update(stack *riocattleiov1.Stack) (result *riocattleiov1.Stack, err error)
- func (c *FakeStacks) UpdateStatus(stack *riocattleiov1.Stack) (*riocattleiov1.Stack, error)
- func (c *FakeStacks) Watch(opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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.
type FakeStacks ¶ added in v0.3.0
type FakeStacks struct { Fake *FakeRioV1 // contains filtered or unexported fields }
FakeStacks implements StackInterface
func (*FakeStacks) Create ¶ added in v0.3.0
func (c *FakeStacks) Create(stack *riocattleiov1.Stack) (result *riocattleiov1.Stack, err error)
Create takes the representation of a stack and creates it. Returns the server's representation of the stack, and an error, if there is any.
func (*FakeStacks) Delete ¶ added in v0.3.0
func (c *FakeStacks) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the stack and deletes it. Returns an error if one occurs.
func (*FakeStacks) DeleteCollection ¶ added in v0.3.0
func (c *FakeStacks) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeStacks) Get ¶ added in v0.3.0
func (c *FakeStacks) Get(name string, options v1.GetOptions) (result *riocattleiov1.Stack, err error)
Get takes name of the stack, and returns the corresponding stack object, and an error if there is any.
func (*FakeStacks) List ¶ added in v0.3.0
func (c *FakeStacks) List(opts v1.ListOptions) (result *riocattleiov1.StackList, err error)
List takes label and field selectors, and returns the list of Stacks that match those selectors.
func (*FakeStacks) Patch ¶ added in v0.3.0
func (c *FakeStacks) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *riocattleiov1.Stack, err error)
Patch applies the patch and returns the patched stack.
func (*FakeStacks) Update ¶ added in v0.3.0
func (c *FakeStacks) Update(stack *riocattleiov1.Stack) (result *riocattleiov1.Stack, err error)
Update takes the representation of a stack and updates it. Returns the server's representation of the stack, and an error, if there is any.
func (*FakeStacks) UpdateStatus ¶ added in v0.3.0
func (c *FakeStacks) UpdateStatus(stack *riocattleiov1.Stack) (*riocattleiov1.Stack, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeStacks) Watch ¶ added in v0.3.0
func (c *FakeStacks) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested stacks.