Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeCells
- func (c *FakeCells) Create(cell *v1alpha2.Cell) (result *v1alpha2.Cell, err error)
- func (c *FakeCells) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeCells) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeCells) Get(name string, options v1.GetOptions) (result *v1alpha2.Cell, err error)
- func (c *FakeCells) List(opts v1.ListOptions) (result *v1alpha2.CellList, err error)
- func (c *FakeCells) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha2.Cell, err error)
- func (c *FakeCells) Update(cell *v1alpha2.Cell) (result *v1alpha2.Cell, err error)
- func (c *FakeCells) UpdateStatus(cell *v1alpha2.Cell) (*v1alpha2.Cell, error)
- func (c *FakeCells) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeComponents
- func (c *FakeComponents) Create(component *v1alpha2.Component) (result *v1alpha2.Component, err error)
- func (c *FakeComponents) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeComponents) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeComponents) Get(name string, options v1.GetOptions) (result *v1alpha2.Component, err error)
- func (c *FakeComponents) List(opts v1.ListOptions) (result *v1alpha2.ComponentList, err error)
- func (c *FakeComponents) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha2.Component, err error)
- func (c *FakeComponents) Update(component *v1alpha2.Component) (result *v1alpha2.Component, err error)
- func (c *FakeComponents) UpdateStatus(component *v1alpha2.Component) (*v1alpha2.Component, error)
- func (c *FakeComponents) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeComposites
- func (c *FakeComposites) Create(composite *v1alpha2.Composite) (result *v1alpha2.Composite, err error)
- func (c *FakeComposites) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeComposites) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeComposites) Get(name string, options v1.GetOptions) (result *v1alpha2.Composite, err error)
- func (c *FakeComposites) List(opts v1.ListOptions) (result *v1alpha2.CompositeList, err error)
- func (c *FakeComposites) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha2.Composite, err error)
- func (c *FakeComposites) Update(composite *v1alpha2.Composite) (result *v1alpha2.Composite, err error)
- func (c *FakeComposites) UpdateStatus(composite *v1alpha2.Composite) (*v1alpha2.Composite, error)
- func (c *FakeComposites) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeGateways
- func (c *FakeGateways) Create(gateway *v1alpha2.Gateway) (result *v1alpha2.Gateway, err error)
- func (c *FakeGateways) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeGateways) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeGateways) Get(name string, options v1.GetOptions) (result *v1alpha2.Gateway, err error)
- func (c *FakeGateways) List(opts v1.ListOptions) (result *v1alpha2.GatewayList, err error)
- func (c *FakeGateways) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha2.Gateway, err error)
- func (c *FakeGateways) Update(gateway *v1alpha2.Gateway) (result *v1alpha2.Gateway, err error)
- func (c *FakeGateways) UpdateStatus(gateway *v1alpha2.Gateway) (*v1alpha2.Gateway, error)
- func (c *FakeGateways) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeMeshV1alpha2
- func (c *FakeMeshV1alpha2) Cells(namespace string) v1alpha2.CellInterface
- func (c *FakeMeshV1alpha2) Components(namespace string) v1alpha2.ComponentInterface
- func (c *FakeMeshV1alpha2) Composites(namespace string) v1alpha2.CompositeInterface
- func (c *FakeMeshV1alpha2) Gateways(namespace string) v1alpha2.GatewayInterface
- func (c *FakeMeshV1alpha2) RESTClient() rest.Interface
- func (c *FakeMeshV1alpha2) TokenServices(namespace string) v1alpha2.TokenServiceInterface
- type FakeTokenServices
- func (c *FakeTokenServices) Create(tokenService *v1alpha2.TokenService) (result *v1alpha2.TokenService, err error)
- func (c *FakeTokenServices) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeTokenServices) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeTokenServices) Get(name string, options v1.GetOptions) (result *v1alpha2.TokenService, err error)
- func (c *FakeTokenServices) List(opts v1.ListOptions) (result *v1alpha2.TokenServiceList, err error)
- func (c *FakeTokenServices) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha2.TokenService, err error)
- func (c *FakeTokenServices) Update(tokenService *v1alpha2.TokenService) (result *v1alpha2.TokenService, err error)
- func (c *FakeTokenServices) UpdateStatus(tokenService *v1alpha2.TokenService) (*v1alpha2.TokenService, error)
- func (c *FakeTokenServices) Watch(opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeCells ¶
type FakeCells struct { Fake *FakeMeshV1alpha2 // contains filtered or unexported fields }
FakeCells implements CellInterface
func (*FakeCells) Create ¶
Create takes the representation of a cell and creates it. Returns the server's representation of the cell, and an error, if there is any.
func (*FakeCells) Delete ¶
func (c *FakeCells) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the cell and deletes it. Returns an error if one occurs.
func (*FakeCells) DeleteCollection ¶
func (c *FakeCells) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeCells) Get ¶
Get takes name of the cell, and returns the corresponding cell object, and an error if there is any.
func (*FakeCells) List ¶
List takes label and field selectors, and returns the list of Cells that match those selectors.
func (*FakeCells) Patch ¶
func (c *FakeCells) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha2.Cell, err error)
Patch applies the patch and returns the patched cell.
func (*FakeCells) Update ¶
Update takes the representation of a cell and updates it. Returns the server's representation of the cell, and an error, if there is any.
func (*FakeCells) UpdateStatus ¶
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
type FakeComponents ¶
type FakeComponents struct { Fake *FakeMeshV1alpha2 // contains filtered or unexported fields }
FakeComponents implements ComponentInterface
func (*FakeComponents) Create ¶
func (c *FakeComponents) Create(component *v1alpha2.Component) (result *v1alpha2.Component, err error)
Create takes the representation of a component and creates it. Returns the server's representation of the component, and an error, if there is any.
func (*FakeComponents) Delete ¶
func (c *FakeComponents) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the component and deletes it. Returns an error if one occurs.
func (*FakeComponents) DeleteCollection ¶
func (c *FakeComponents) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeComponents) Get ¶
func (c *FakeComponents) Get(name string, options v1.GetOptions) (result *v1alpha2.Component, err error)
Get takes name of the component, and returns the corresponding component object, and an error if there is any.
func (*FakeComponents) List ¶
func (c *FakeComponents) List(opts v1.ListOptions) (result *v1alpha2.ComponentList, err error)
List takes label and field selectors, and returns the list of Components that match those selectors.
func (*FakeComponents) Patch ¶
func (c *FakeComponents) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha2.Component, err error)
Patch applies the patch and returns the patched component.
func (*FakeComponents) Update ¶
func (c *FakeComponents) Update(component *v1alpha2.Component) (result *v1alpha2.Component, err error)
Update takes the representation of a component and updates it. Returns the server's representation of the component, and an error, if there is any.
func (*FakeComponents) UpdateStatus ¶
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeComponents) Watch ¶
func (c *FakeComponents) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested components.
type FakeComposites ¶
type FakeComposites struct { Fake *FakeMeshV1alpha2 // contains filtered or unexported fields }
FakeComposites implements CompositeInterface
func (*FakeComposites) Create ¶
func (c *FakeComposites) Create(composite *v1alpha2.Composite) (result *v1alpha2.Composite, err error)
Create takes the representation of a composite and creates it. Returns the server's representation of the composite, and an error, if there is any.
func (*FakeComposites) Delete ¶
func (c *FakeComposites) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the composite and deletes it. Returns an error if one occurs.
func (*FakeComposites) DeleteCollection ¶
func (c *FakeComposites) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeComposites) Get ¶
func (c *FakeComposites) Get(name string, options v1.GetOptions) (result *v1alpha2.Composite, err error)
Get takes name of the composite, and returns the corresponding composite object, and an error if there is any.
func (*FakeComposites) List ¶
func (c *FakeComposites) List(opts v1.ListOptions) (result *v1alpha2.CompositeList, err error)
List takes label and field selectors, and returns the list of Composites that match those selectors.
func (*FakeComposites) Patch ¶
func (c *FakeComposites) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha2.Composite, err error)
Patch applies the patch and returns the patched composite.
func (*FakeComposites) Update ¶
func (c *FakeComposites) Update(composite *v1alpha2.Composite) (result *v1alpha2.Composite, err error)
Update takes the representation of a composite and updates it. Returns the server's representation of the composite, and an error, if there is any.
func (*FakeComposites) UpdateStatus ¶
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeComposites) Watch ¶
func (c *FakeComposites) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested composites.
type FakeGateways ¶
type FakeGateways struct { Fake *FakeMeshV1alpha2 // contains filtered or unexported fields }
FakeGateways implements GatewayInterface
func (*FakeGateways) Create ¶
Create takes the representation of a gateway and creates it. Returns the server's representation of the gateway, and an error, if there is any.
func (*FakeGateways) Delete ¶
func (c *FakeGateways) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the gateway and deletes it. Returns an error if one occurs.
func (*FakeGateways) DeleteCollection ¶
func (c *FakeGateways) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeGateways) Get ¶
func (c *FakeGateways) Get(name string, options v1.GetOptions) (result *v1alpha2.Gateway, err error)
Get takes name of the gateway, and returns the corresponding gateway object, and an error if there is any.
func (*FakeGateways) List ¶
func (c *FakeGateways) List(opts v1.ListOptions) (result *v1alpha2.GatewayList, err error)
List takes label and field selectors, and returns the list of Gateways that match those selectors.
func (*FakeGateways) Patch ¶
func (c *FakeGateways) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha2.Gateway, err error)
Patch applies the patch and returns the patched gateway.
func (*FakeGateways) Update ¶
Update takes the representation of a gateway and updates it. Returns the server's representation of the gateway, and an error, if there is any.
func (*FakeGateways) UpdateStatus ¶
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeGateways) Watch ¶
func (c *FakeGateways) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested gateways.
type FakeMeshV1alpha2 ¶
func (*FakeMeshV1alpha2) Cells ¶
func (c *FakeMeshV1alpha2) Cells(namespace string) v1alpha2.CellInterface
func (*FakeMeshV1alpha2) Components ¶
func (c *FakeMeshV1alpha2) Components(namespace string) v1alpha2.ComponentInterface
func (*FakeMeshV1alpha2) Composites ¶
func (c *FakeMeshV1alpha2) Composites(namespace string) v1alpha2.CompositeInterface
func (*FakeMeshV1alpha2) Gateways ¶
func (c *FakeMeshV1alpha2) Gateways(namespace string) v1alpha2.GatewayInterface
func (*FakeMeshV1alpha2) RESTClient ¶
func (c *FakeMeshV1alpha2) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeMeshV1alpha2) TokenServices ¶
func (c *FakeMeshV1alpha2) TokenServices(namespace string) v1alpha2.TokenServiceInterface
type FakeTokenServices ¶
type FakeTokenServices struct { Fake *FakeMeshV1alpha2 // contains filtered or unexported fields }
FakeTokenServices implements TokenServiceInterface
func (*FakeTokenServices) Create ¶
func (c *FakeTokenServices) Create(tokenService *v1alpha2.TokenService) (result *v1alpha2.TokenService, err error)
Create takes the representation of a tokenService and creates it. Returns the server's representation of the tokenService, and an error, if there is any.
func (*FakeTokenServices) Delete ¶
func (c *FakeTokenServices) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the tokenService and deletes it. Returns an error if one occurs.
func (*FakeTokenServices) DeleteCollection ¶
func (c *FakeTokenServices) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeTokenServices) Get ¶
func (c *FakeTokenServices) Get(name string, options v1.GetOptions) (result *v1alpha2.TokenService, err error)
Get takes name of the tokenService, and returns the corresponding tokenService object, and an error if there is any.
func (*FakeTokenServices) List ¶
func (c *FakeTokenServices) List(opts v1.ListOptions) (result *v1alpha2.TokenServiceList, err error)
List takes label and field selectors, and returns the list of TokenServices that match those selectors.
func (*FakeTokenServices) Patch ¶
func (c *FakeTokenServices) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha2.TokenService, err error)
Patch applies the patch and returns the patched tokenService.
func (*FakeTokenServices) Update ¶
func (c *FakeTokenServices) Update(tokenService *v1alpha2.TokenService) (result *v1alpha2.TokenService, err error)
Update takes the representation of a tokenService and updates it. Returns the server's representation of the tokenService, and an error, if there is any.
func (*FakeTokenServices) UpdateStatus ¶
func (c *FakeTokenServices) UpdateStatus(tokenService *v1alpha2.TokenService) (*v1alpha2.TokenService, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeTokenServices) Watch ¶
func (c *FakeTokenServices) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested tokenServices.