Documentation
¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeAttributes
- func (c *FakeAttributes) Create(attribute *solo_io_v1.Attribute) (result *solo_io_v1.Attribute, err error)
- func (c *FakeAttributes) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeAttributes) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeAttributes) Get(name string, options v1.GetOptions) (result *solo_io_v1.Attribute, err error)
- func (c *FakeAttributes) List(opts v1.ListOptions) (result *solo_io_v1.AttributeList, err error)
- func (c *FakeAttributes) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *solo_io_v1.Attribute, err error)
- func (c *FakeAttributes) Update(attribute *solo_io_v1.Attribute) (result *solo_io_v1.Attribute, err error)
- func (c *FakeAttributes) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeGlooV1
- func (c *FakeGlooV1) Attributes(namespace string) v1.AttributeInterface
- func (c *FakeGlooV1) RESTClient() rest.Interface
- func (c *FakeGlooV1) Roles(namespace string) v1.RoleInterface
- func (c *FakeGlooV1) Upstreams(namespace string) v1.UpstreamInterface
- func (c *FakeGlooV1) VirtualServices(namespace string) v1.VirtualServiceInterface
- type FakeRoles
- func (c *FakeRoles) Create(role *solo_io_v1.Role) (result *solo_io_v1.Role, err error)
- func (c *FakeRoles) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeRoles) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeRoles) Get(name string, options v1.GetOptions) (result *solo_io_v1.Role, err error)
- func (c *FakeRoles) List(opts v1.ListOptions) (result *solo_io_v1.RoleList, err error)
- func (c *FakeRoles) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *solo_io_v1.Role, err error)
- func (c *FakeRoles) Update(role *solo_io_v1.Role) (result *solo_io_v1.Role, err error)
- func (c *FakeRoles) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeUpstreams
- func (c *FakeUpstreams) Create(upstream *solo_io_v1.Upstream) (result *solo_io_v1.Upstream, err error)
- func (c *FakeUpstreams) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeUpstreams) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeUpstreams) Get(name string, options v1.GetOptions) (result *solo_io_v1.Upstream, err error)
- func (c *FakeUpstreams) List(opts v1.ListOptions) (result *solo_io_v1.UpstreamList, err error)
- func (c *FakeUpstreams) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *solo_io_v1.Upstream, err error)
- func (c *FakeUpstreams) Update(upstream *solo_io_v1.Upstream) (result *solo_io_v1.Upstream, err error)
- func (c *FakeUpstreams) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeVirtualServices
- func (c *FakeVirtualServices) Create(virtualService *solo_io_v1.VirtualService) (result *solo_io_v1.VirtualService, err error)
- func (c *FakeVirtualServices) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeVirtualServices) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeVirtualServices) Get(name string, options v1.GetOptions) (result *solo_io_v1.VirtualService, err error)
- func (c *FakeVirtualServices) List(opts v1.ListOptions) (result *solo_io_v1.VirtualServiceList, err error)
- func (c *FakeVirtualServices) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *solo_io_v1.VirtualService, err error)
- func (c *FakeVirtualServices) Update(virtualService *solo_io_v1.VirtualService) (result *solo_io_v1.VirtualService, err error)
- func (c *FakeVirtualServices) Watch(opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeAttributes ¶
type FakeAttributes struct { Fake *FakeGlooV1 // contains filtered or unexported fields }
FakeAttributes implements AttributeInterface
func (*FakeAttributes) Create ¶
func (c *FakeAttributes) Create(attribute *solo_io_v1.Attribute) (result *solo_io_v1.Attribute, err error)
Create takes the representation of a attribute and creates it. Returns the server's representation of the attribute, and an error, if there is any.
func (*FakeAttributes) Delete ¶
func (c *FakeAttributes) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the attribute and deletes it. Returns an error if one occurs.
func (*FakeAttributes) DeleteCollection ¶
func (c *FakeAttributes) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeAttributes) Get ¶
func (c *FakeAttributes) Get(name string, options v1.GetOptions) (result *solo_io_v1.Attribute, err error)
Get takes name of the attribute, and returns the corresponding attribute object, and an error if there is any.
func (*FakeAttributes) List ¶
func (c *FakeAttributes) List(opts v1.ListOptions) (result *solo_io_v1.AttributeList, err error)
List takes label and field selectors, and returns the list of Attributes that match those selectors.
func (*FakeAttributes) Patch ¶
func (c *FakeAttributes) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *solo_io_v1.Attribute, err error)
Patch applies the patch and returns the patched attribute.
func (*FakeAttributes) Update ¶
func (c *FakeAttributes) Update(attribute *solo_io_v1.Attribute) (result *solo_io_v1.Attribute, err error)
Update takes the representation of a attribute and updates it. Returns the server's representation of the attribute, and an error, if there is any.
func (*FakeAttributes) Watch ¶
func (c *FakeAttributes) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested attributes.
type FakeGlooV1 ¶
func (*FakeGlooV1) Attributes ¶
func (c *FakeGlooV1) Attributes(namespace string) v1.AttributeInterface
func (*FakeGlooV1) RESTClient ¶
func (c *FakeGlooV1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeGlooV1) Roles ¶
func (c *FakeGlooV1) Roles(namespace string) v1.RoleInterface
func (*FakeGlooV1) Upstreams ¶
func (c *FakeGlooV1) Upstreams(namespace string) v1.UpstreamInterface
func (*FakeGlooV1) VirtualServices ¶
func (c *FakeGlooV1) VirtualServices(namespace string) v1.VirtualServiceInterface
type FakeRoles ¶
type FakeRoles struct { Fake *FakeGlooV1 // contains filtered or unexported fields }
FakeRoles implements RoleInterface
func (*FakeRoles) Create ¶
func (c *FakeRoles) Create(role *solo_io_v1.Role) (result *solo_io_v1.Role, err error)
Create takes the representation of a role and creates it. Returns the server's representation of the role, and an error, if there is any.
func (*FakeRoles) Delete ¶
func (c *FakeRoles) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the role and deletes it. Returns an error if one occurs.
func (*FakeRoles) DeleteCollection ¶
func (c *FakeRoles) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeRoles) Get ¶
func (c *FakeRoles) Get(name string, options v1.GetOptions) (result *solo_io_v1.Role, err error)
Get takes name of the role, and returns the corresponding role object, and an error if there is any.
func (*FakeRoles) List ¶
func (c *FakeRoles) List(opts v1.ListOptions) (result *solo_io_v1.RoleList, err error)
List takes label and field selectors, and returns the list of Roles that match those selectors.
func (*FakeRoles) Patch ¶
func (c *FakeRoles) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *solo_io_v1.Role, err error)
Patch applies the patch and returns the patched role.
func (*FakeRoles) Update ¶
func (c *FakeRoles) Update(role *solo_io_v1.Role) (result *solo_io_v1.Role, err error)
Update takes the representation of a role and updates it. Returns the server's representation of the role, and an error, if there is any.
type FakeUpstreams ¶
type FakeUpstreams struct { Fake *FakeGlooV1 // contains filtered or unexported fields }
FakeUpstreams implements UpstreamInterface
func (*FakeUpstreams) Create ¶
func (c *FakeUpstreams) Create(upstream *solo_io_v1.Upstream) (result *solo_io_v1.Upstream, err error)
Create takes the representation of a upstream and creates it. Returns the server's representation of the upstream, and an error, if there is any.
func (*FakeUpstreams) Delete ¶
func (c *FakeUpstreams) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the upstream and deletes it. Returns an error if one occurs.
func (*FakeUpstreams) DeleteCollection ¶
func (c *FakeUpstreams) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeUpstreams) Get ¶
func (c *FakeUpstreams) Get(name string, options v1.GetOptions) (result *solo_io_v1.Upstream, err error)
Get takes name of the upstream, and returns the corresponding upstream object, and an error if there is any.
func (*FakeUpstreams) List ¶
func (c *FakeUpstreams) List(opts v1.ListOptions) (result *solo_io_v1.UpstreamList, err error)
List takes label and field selectors, and returns the list of Upstreams that match those selectors.
func (*FakeUpstreams) Patch ¶
func (c *FakeUpstreams) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *solo_io_v1.Upstream, err error)
Patch applies the patch and returns the patched upstream.
func (*FakeUpstreams) Update ¶
func (c *FakeUpstreams) Update(upstream *solo_io_v1.Upstream) (result *solo_io_v1.Upstream, err error)
Update takes the representation of a upstream and updates it. Returns the server's representation of the upstream, and an error, if there is any.
func (*FakeUpstreams) Watch ¶
func (c *FakeUpstreams) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested upstreams.
type FakeVirtualServices ¶
type FakeVirtualServices struct { Fake *FakeGlooV1 // contains filtered or unexported fields }
FakeVirtualServices implements VirtualServiceInterface
func (*FakeVirtualServices) Create ¶
func (c *FakeVirtualServices) Create(virtualService *solo_io_v1.VirtualService) (result *solo_io_v1.VirtualService, err error)
Create takes the representation of a virtualService and creates it. Returns the server's representation of the virtualService, and an error, if there is any.
func (*FakeVirtualServices) Delete ¶
func (c *FakeVirtualServices) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the virtualService and deletes it. Returns an error if one occurs.
func (*FakeVirtualServices) DeleteCollection ¶
func (c *FakeVirtualServices) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeVirtualServices) Get ¶
func (c *FakeVirtualServices) Get(name string, options v1.GetOptions) (result *solo_io_v1.VirtualService, err error)
Get takes name of the virtualService, and returns the corresponding virtualService object, and an error if there is any.
func (*FakeVirtualServices) List ¶
func (c *FakeVirtualServices) List(opts v1.ListOptions) (result *solo_io_v1.VirtualServiceList, err error)
List takes label and field selectors, and returns the list of VirtualServices that match those selectors.
func (*FakeVirtualServices) Patch ¶
func (c *FakeVirtualServices) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *solo_io_v1.VirtualService, err error)
Patch applies the patch and returns the patched virtualService.
func (*FakeVirtualServices) Update ¶
func (c *FakeVirtualServices) Update(virtualService *solo_io_v1.VirtualService) (result *solo_io_v1.VirtualService, err error)
Update takes the representation of a virtualService and updates it. Returns the server's representation of the virtualService, and an error, if there is any.
func (*FakeVirtualServices) Watch ¶
func (c *FakeVirtualServices) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested virtualServices.