Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeGlobalConfigurations
- func (c *FakeGlobalConfigurations) Create(ctx context.Context, globalConfiguration *v1.GlobalConfiguration, ...) (result *v1.GlobalConfiguration, err error)
- func (c *FakeGlobalConfigurations) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (c *FakeGlobalConfigurations) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (c *FakeGlobalConfigurations) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.GlobalConfiguration, err error)
- func (c *FakeGlobalConfigurations) List(ctx context.Context, opts metav1.ListOptions) (result *v1.GlobalConfigurationList, err error)
- func (c *FakeGlobalConfigurations) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1.GlobalConfiguration, err error)
- func (c *FakeGlobalConfigurations) Update(ctx context.Context, globalConfiguration *v1.GlobalConfiguration, ...) (result *v1.GlobalConfiguration, err error)
- func (c *FakeGlobalConfigurations) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
- type FakeK8sV1
- func (c *FakeK8sV1) GlobalConfigurations(namespace string) v1.GlobalConfigurationInterface
- func (c *FakeK8sV1) Policies(namespace string) v1.PolicyInterface
- func (c *FakeK8sV1) RESTClient() rest.Interface
- func (c *FakeK8sV1) TransportServers(namespace string) v1.TransportServerInterface
- func (c *FakeK8sV1) VirtualServerRoutes(namespace string) v1.VirtualServerRouteInterface
- func (c *FakeK8sV1) VirtualServers(namespace string) v1.VirtualServerInterface
- type FakePolicies
- func (c *FakePolicies) Create(ctx context.Context, policy *v1.Policy, opts metav1.CreateOptions) (result *v1.Policy, err error)
- func (c *FakePolicies) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (c *FakePolicies) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (c *FakePolicies) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.Policy, err error)
- func (c *FakePolicies) List(ctx context.Context, opts metav1.ListOptions) (result *v1.PolicyList, err error)
- func (c *FakePolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1.Policy, err error)
- func (c *FakePolicies) Update(ctx context.Context, policy *v1.Policy, opts metav1.UpdateOptions) (result *v1.Policy, err error)
- func (c *FakePolicies) UpdateStatus(ctx context.Context, policy *v1.Policy, opts metav1.UpdateOptions) (*v1.Policy, error)
- func (c *FakePolicies) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
- type FakeTransportServers
- func (c *FakeTransportServers) Create(ctx context.Context, transportServer *v1.TransportServer, ...) (result *v1.TransportServer, err error)
- func (c *FakeTransportServers) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (c *FakeTransportServers) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (c *FakeTransportServers) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.TransportServer, err error)
- func (c *FakeTransportServers) List(ctx context.Context, opts metav1.ListOptions) (result *v1.TransportServerList, err error)
- func (c *FakeTransportServers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1.TransportServer, err error)
- func (c *FakeTransportServers) Update(ctx context.Context, transportServer *v1.TransportServer, ...) (result *v1.TransportServer, err error)
- func (c *FakeTransportServers) UpdateStatus(ctx context.Context, transportServer *v1.TransportServer, ...) (*v1.TransportServer, error)
- func (c *FakeTransportServers) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
- type FakeVirtualServerRoutes
- func (c *FakeVirtualServerRoutes) Create(ctx context.Context, virtualServerRoute *v1.VirtualServerRoute, ...) (result *v1.VirtualServerRoute, err error)
- func (c *FakeVirtualServerRoutes) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (c *FakeVirtualServerRoutes) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (c *FakeVirtualServerRoutes) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.VirtualServerRoute, err error)
- func (c *FakeVirtualServerRoutes) List(ctx context.Context, opts metav1.ListOptions) (result *v1.VirtualServerRouteList, err error)
- func (c *FakeVirtualServerRoutes) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1.VirtualServerRoute, err error)
- func (c *FakeVirtualServerRoutes) Update(ctx context.Context, virtualServerRoute *v1.VirtualServerRoute, ...) (result *v1.VirtualServerRoute, err error)
- func (c *FakeVirtualServerRoutes) UpdateStatus(ctx context.Context, virtualServerRoute *v1.VirtualServerRoute, ...) (*v1.VirtualServerRoute, error)
- func (c *FakeVirtualServerRoutes) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
- type FakeVirtualServers
- func (c *FakeVirtualServers) Create(ctx context.Context, virtualServer *v1.VirtualServer, ...) (result *v1.VirtualServer, err error)
- func (c *FakeVirtualServers) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (c *FakeVirtualServers) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (c *FakeVirtualServers) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.VirtualServer, err error)
- func (c *FakeVirtualServers) List(ctx context.Context, opts metav1.ListOptions) (result *v1.VirtualServerList, err error)
- func (c *FakeVirtualServers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1.VirtualServer, err error)
- func (c *FakeVirtualServers) Update(ctx context.Context, virtualServer *v1.VirtualServer, ...) (result *v1.VirtualServer, err error)
- func (c *FakeVirtualServers) UpdateStatus(ctx context.Context, virtualServer *v1.VirtualServer, ...) (*v1.VirtualServer, error)
- func (c *FakeVirtualServers) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeGlobalConfigurations ¶
type FakeGlobalConfigurations struct { Fake *FakeK8sV1 // contains filtered or unexported fields }
FakeGlobalConfigurations implements GlobalConfigurationInterface
func (*FakeGlobalConfigurations) Create ¶
func (c *FakeGlobalConfigurations) Create(ctx context.Context, globalConfiguration *v1.GlobalConfiguration, opts metav1.CreateOptions) (result *v1.GlobalConfiguration, err error)
Create takes the representation of a globalConfiguration and creates it. Returns the server's representation of the globalConfiguration, and an error, if there is any.
func (*FakeGlobalConfigurations) Delete ¶
func (c *FakeGlobalConfigurations) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
Delete takes name of the globalConfiguration and deletes it. Returns an error if one occurs.
func (*FakeGlobalConfigurations) DeleteCollection ¶
func (c *FakeGlobalConfigurations) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeGlobalConfigurations) Get ¶
func (c *FakeGlobalConfigurations) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.GlobalConfiguration, err error)
Get takes name of the globalConfiguration, and returns the corresponding globalConfiguration object, and an error if there is any.
func (*FakeGlobalConfigurations) List ¶
func (c *FakeGlobalConfigurations) List(ctx context.Context, opts metav1.ListOptions) (result *v1.GlobalConfigurationList, err error)
List takes label and field selectors, and returns the list of GlobalConfigurations that match those selectors.
func (*FakeGlobalConfigurations) Patch ¶
func (c *FakeGlobalConfigurations) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.GlobalConfiguration, err error)
Patch applies the patch and returns the patched globalConfiguration.
func (*FakeGlobalConfigurations) Update ¶
func (c *FakeGlobalConfigurations) Update(ctx context.Context, globalConfiguration *v1.GlobalConfiguration, opts metav1.UpdateOptions) (result *v1.GlobalConfiguration, err error)
Update takes the representation of a globalConfiguration and updates it. Returns the server's representation of the globalConfiguration, and an error, if there is any.
func (*FakeGlobalConfigurations) Watch ¶
func (c *FakeGlobalConfigurations) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested globalConfigurations.
type FakeK8sV1 ¶
func (*FakeK8sV1) GlobalConfigurations ¶
func (c *FakeK8sV1) GlobalConfigurations(namespace string) v1.GlobalConfigurationInterface
func (*FakeK8sV1) RESTClient ¶
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeK8sV1) TransportServers ¶
func (c *FakeK8sV1) TransportServers(namespace string) v1.TransportServerInterface
func (*FakeK8sV1) VirtualServerRoutes ¶
func (c *FakeK8sV1) VirtualServerRoutes(namespace string) v1.VirtualServerRouteInterface
func (*FakeK8sV1) VirtualServers ¶
func (c *FakeK8sV1) VirtualServers(namespace string) v1.VirtualServerInterface
type FakePolicies ¶
type FakePolicies struct { Fake *FakeK8sV1 // contains filtered or unexported fields }
FakePolicies implements PolicyInterface
func (*FakePolicies) Create ¶
func (c *FakePolicies) Create(ctx context.Context, policy *v1.Policy, opts metav1.CreateOptions) (result *v1.Policy, err error)
Create takes the representation of a policy and creates it. Returns the server's representation of the policy, and an error, if there is any.
func (*FakePolicies) Delete ¶
func (c *FakePolicies) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
Delete takes name of the policy and deletes it. Returns an error if one occurs.
func (*FakePolicies) DeleteCollection ¶
func (c *FakePolicies) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakePolicies) Get ¶
func (c *FakePolicies) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.Policy, err error)
Get takes name of the policy, and returns the corresponding policy object, and an error if there is any.
func (*FakePolicies) List ¶
func (c *FakePolicies) List(ctx context.Context, opts metav1.ListOptions) (result *v1.PolicyList, err error)
List takes label and field selectors, and returns the list of Policies that match those selectors.
func (*FakePolicies) Patch ¶
func (c *FakePolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.Policy, err error)
Patch applies the patch and returns the patched policy.
func (*FakePolicies) Update ¶
func (c *FakePolicies) Update(ctx context.Context, policy *v1.Policy, opts metav1.UpdateOptions) (result *v1.Policy, err error)
Update takes the representation of a policy and updates it. Returns the server's representation of the policy, and an error, if there is any.
func (*FakePolicies) UpdateStatus ¶
func (c *FakePolicies) UpdateStatus(ctx context.Context, policy *v1.Policy, opts metav1.UpdateOptions) (*v1.Policy, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakePolicies) Watch ¶
func (c *FakePolicies) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested policies.
type FakeTransportServers ¶
type FakeTransportServers struct { Fake *FakeK8sV1 // contains filtered or unexported fields }
FakeTransportServers implements TransportServerInterface
func (*FakeTransportServers) Create ¶
func (c *FakeTransportServers) Create(ctx context.Context, transportServer *v1.TransportServer, opts metav1.CreateOptions) (result *v1.TransportServer, err error)
Create takes the representation of a transportServer and creates it. Returns the server's representation of the transportServer, and an error, if there is any.
func (*FakeTransportServers) Delete ¶
func (c *FakeTransportServers) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
Delete takes name of the transportServer and deletes it. Returns an error if one occurs.
func (*FakeTransportServers) DeleteCollection ¶
func (c *FakeTransportServers) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeTransportServers) Get ¶
func (c *FakeTransportServers) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.TransportServer, err error)
Get takes name of the transportServer, and returns the corresponding transportServer object, and an error if there is any.
func (*FakeTransportServers) List ¶
func (c *FakeTransportServers) List(ctx context.Context, opts metav1.ListOptions) (result *v1.TransportServerList, err error)
List takes label and field selectors, and returns the list of TransportServers that match those selectors.
func (*FakeTransportServers) Patch ¶
func (c *FakeTransportServers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.TransportServer, err error)
Patch applies the patch and returns the patched transportServer.
func (*FakeTransportServers) Update ¶
func (c *FakeTransportServers) Update(ctx context.Context, transportServer *v1.TransportServer, opts metav1.UpdateOptions) (result *v1.TransportServer, err error)
Update takes the representation of a transportServer and updates it. Returns the server's representation of the transportServer, and an error, if there is any.
func (*FakeTransportServers) UpdateStatus ¶
func (c *FakeTransportServers) UpdateStatus(ctx context.Context, transportServer *v1.TransportServer, opts metav1.UpdateOptions) (*v1.TransportServer, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeTransportServers) Watch ¶
func (c *FakeTransportServers) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested transportServers.
type FakeVirtualServerRoutes ¶
type FakeVirtualServerRoutes struct { Fake *FakeK8sV1 // contains filtered or unexported fields }
FakeVirtualServerRoutes implements VirtualServerRouteInterface
func (*FakeVirtualServerRoutes) Create ¶
func (c *FakeVirtualServerRoutes) Create(ctx context.Context, virtualServerRoute *v1.VirtualServerRoute, opts metav1.CreateOptions) (result *v1.VirtualServerRoute, err error)
Create takes the representation of a virtualServerRoute and creates it. Returns the server's representation of the virtualServerRoute, and an error, if there is any.
func (*FakeVirtualServerRoutes) Delete ¶
func (c *FakeVirtualServerRoutes) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
Delete takes name of the virtualServerRoute and deletes it. Returns an error if one occurs.
func (*FakeVirtualServerRoutes) DeleteCollection ¶
func (c *FakeVirtualServerRoutes) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeVirtualServerRoutes) Get ¶
func (c *FakeVirtualServerRoutes) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.VirtualServerRoute, err error)
Get takes name of the virtualServerRoute, and returns the corresponding virtualServerRoute object, and an error if there is any.
func (*FakeVirtualServerRoutes) List ¶
func (c *FakeVirtualServerRoutes) List(ctx context.Context, opts metav1.ListOptions) (result *v1.VirtualServerRouteList, err error)
List takes label and field selectors, and returns the list of VirtualServerRoutes that match those selectors.
func (*FakeVirtualServerRoutes) Patch ¶
func (c *FakeVirtualServerRoutes) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.VirtualServerRoute, err error)
Patch applies the patch and returns the patched virtualServerRoute.
func (*FakeVirtualServerRoutes) Update ¶
func (c *FakeVirtualServerRoutes) Update(ctx context.Context, virtualServerRoute *v1.VirtualServerRoute, opts metav1.UpdateOptions) (result *v1.VirtualServerRoute, err error)
Update takes the representation of a virtualServerRoute and updates it. Returns the server's representation of the virtualServerRoute, and an error, if there is any.
func (*FakeVirtualServerRoutes) UpdateStatus ¶
func (c *FakeVirtualServerRoutes) UpdateStatus(ctx context.Context, virtualServerRoute *v1.VirtualServerRoute, opts metav1.UpdateOptions) (*v1.VirtualServerRoute, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeVirtualServerRoutes) Watch ¶
func (c *FakeVirtualServerRoutes) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested virtualServerRoutes.
type FakeVirtualServers ¶
type FakeVirtualServers struct { Fake *FakeK8sV1 // contains filtered or unexported fields }
FakeVirtualServers implements VirtualServerInterface
func (*FakeVirtualServers) Create ¶
func (c *FakeVirtualServers) Create(ctx context.Context, virtualServer *v1.VirtualServer, opts metav1.CreateOptions) (result *v1.VirtualServer, err error)
Create takes the representation of a virtualServer and creates it. Returns the server's representation of the virtualServer, and an error, if there is any.
func (*FakeVirtualServers) Delete ¶
func (c *FakeVirtualServers) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
Delete takes name of the virtualServer and deletes it. Returns an error if one occurs.
func (*FakeVirtualServers) DeleteCollection ¶
func (c *FakeVirtualServers) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeVirtualServers) Get ¶
func (c *FakeVirtualServers) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.VirtualServer, err error)
Get takes name of the virtualServer, and returns the corresponding virtualServer object, and an error if there is any.
func (*FakeVirtualServers) List ¶
func (c *FakeVirtualServers) List(ctx context.Context, opts metav1.ListOptions) (result *v1.VirtualServerList, err error)
List takes label and field selectors, and returns the list of VirtualServers that match those selectors.
func (*FakeVirtualServers) Patch ¶
func (c *FakeVirtualServers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.VirtualServer, err error)
Patch applies the patch and returns the patched virtualServer.
func (*FakeVirtualServers) Update ¶
func (c *FakeVirtualServers) Update(ctx context.Context, virtualServer *v1.VirtualServer, opts metav1.UpdateOptions) (result *v1.VirtualServer, err error)
Update takes the representation of a virtualServer and updates it. Returns the server's representation of the virtualServer, and an error, if there is any.
func (*FakeVirtualServers) UpdateStatus ¶
func (c *FakeVirtualServers) UpdateStatus(ctx context.Context, virtualServer *v1.VirtualServer, opts metav1.UpdateOptions) (*v1.VirtualServer, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeVirtualServers) Watch ¶
func (c *FakeVirtualServers) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested virtualServers.