Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeGatewayConnections
- func (c *FakeGatewayConnections) Create(ctx context.Context, gatewayConnection *v1alpha1.GatewayConnection, ...) (result *v1alpha1.GatewayConnection, err error)
- func (c *FakeGatewayConnections) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeGatewayConnections) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeGatewayConnections) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.GatewayConnection, err error)
- func (c *FakeGatewayConnections) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.GatewayConnectionList, err error)
- func (c *FakeGatewayConnections) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.GatewayConnection, err error)
- func (c *FakeGatewayConnections) Update(ctx context.Context, gatewayConnection *v1alpha1.GatewayConnection, ...) (result *v1alpha1.GatewayConnection, err error)
- func (c *FakeGatewayConnections) UpdateStatus(ctx context.Context, gatewayConnection *v1alpha1.GatewayConnection, ...) (*v1alpha1.GatewayConnection, error)
- func (c *FakeGatewayConnections) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeGateways
- func (c *FakeGateways) Create(ctx context.Context, gateway *v1alpha1.Gateway, opts v1.CreateOptions) (result *v1alpha1.Gateway, err error)
- func (c *FakeGateways) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeGateways) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeGateways) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Gateway, err error)
- func (c *FakeGateways) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.GatewayList, err error)
- func (c *FakeGateways) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Gateway, err error)
- func (c *FakeGateways) Update(ctx context.Context, gateway *v1alpha1.Gateway, opts v1.UpdateOptions) (result *v1alpha1.Gateway, err error)
- func (c *FakeGateways) UpdateStatus(ctx context.Context, gateway *v1alpha1.Gateway, opts v1.UpdateOptions) (*v1alpha1.Gateway, error)
- func (c *FakeGateways) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeServerConfigurations
- func (c *FakeServerConfigurations) Create(ctx context.Context, serverConfiguration *v1alpha1.ServerConfiguration, ...) (result *v1alpha1.ServerConfiguration, err error)
- func (c *FakeServerConfigurations) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeServerConfigurations) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeServerConfigurations) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ServerConfiguration, err error)
- func (c *FakeServerConfigurations) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ServerConfigurationList, err error)
- func (c *FakeServerConfigurations) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ServerConfiguration, err error)
- func (c *FakeServerConfigurations) Update(ctx context.Context, serverConfiguration *v1alpha1.ServerConfiguration, ...) (result *v1alpha1.ServerConfiguration, err error)
- func (c *FakeServerConfigurations) UpdateStatus(ctx context.Context, serverConfiguration *v1alpha1.ServerConfiguration, ...) (*v1alpha1.ServerConfiguration, error)
- func (c *FakeServerConfigurations) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeSites
- func (c *FakeSites) Create(ctx context.Context, site *v1alpha1.Site, opts v1.CreateOptions) (result *v1alpha1.Site, err error)
- func (c *FakeSites) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeSites) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeSites) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Site, err error)
- func (c *FakeSites) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.SiteList, err error)
- func (c *FakeSites) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Site, err error)
- func (c *FakeSites) Update(ctx context.Context, site *v1alpha1.Site, opts v1.UpdateOptions) (result *v1alpha1.Site, err error)
- func (c *FakeSites) UpdateStatus(ctx context.Context, site *v1alpha1.Site, opts v1.UpdateOptions) (*v1alpha1.Site, error)
- func (c *FakeSites) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeVpnV1alpha1
- func (c *FakeVpnV1alpha1) GatewayConnections(namespace string) v1alpha1.GatewayConnectionInterface
- func (c *FakeVpnV1alpha1) Gateways(namespace string) v1alpha1.GatewayInterface
- func (c *FakeVpnV1alpha1) RESTClient() rest.Interface
- func (c *FakeVpnV1alpha1) ServerConfigurations(namespace string) v1alpha1.ServerConfigurationInterface
- func (c *FakeVpnV1alpha1) Sites(namespace string) v1alpha1.SiteInterface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeGatewayConnections ¶
type FakeGatewayConnections struct { Fake *FakeVpnV1alpha1 // contains filtered or unexported fields }
FakeGatewayConnections implements GatewayConnectionInterface
func (*FakeGatewayConnections) Create ¶
func (c *FakeGatewayConnections) Create(ctx context.Context, gatewayConnection *v1alpha1.GatewayConnection, opts v1.CreateOptions) (result *v1alpha1.GatewayConnection, err error)
Create takes the representation of a gatewayConnection and creates it. Returns the server's representation of the gatewayConnection, and an error, if there is any.
func (*FakeGatewayConnections) Delete ¶
func (c *FakeGatewayConnections) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the gatewayConnection and deletes it. Returns an error if one occurs.
func (*FakeGatewayConnections) DeleteCollection ¶
func (c *FakeGatewayConnections) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeGatewayConnections) Get ¶
func (c *FakeGatewayConnections) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.GatewayConnection, err error)
Get takes name of the gatewayConnection, and returns the corresponding gatewayConnection object, and an error if there is any.
func (*FakeGatewayConnections) List ¶
func (c *FakeGatewayConnections) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.GatewayConnectionList, err error)
List takes label and field selectors, and returns the list of GatewayConnections that match those selectors.
func (*FakeGatewayConnections) Patch ¶
func (c *FakeGatewayConnections) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.GatewayConnection, err error)
Patch applies the patch and returns the patched gatewayConnection.
func (*FakeGatewayConnections) Update ¶
func (c *FakeGatewayConnections) Update(ctx context.Context, gatewayConnection *v1alpha1.GatewayConnection, opts v1.UpdateOptions) (result *v1alpha1.GatewayConnection, err error)
Update takes the representation of a gatewayConnection and updates it. Returns the server's representation of the gatewayConnection, and an error, if there is any.
func (*FakeGatewayConnections) UpdateStatus ¶
func (c *FakeGatewayConnections) UpdateStatus(ctx context.Context, gatewayConnection *v1alpha1.GatewayConnection, opts v1.UpdateOptions) (*v1alpha1.GatewayConnection, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeGatewayConnections) Watch ¶
func (c *FakeGatewayConnections) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested gatewayConnections.
type FakeGateways ¶
type FakeGateways struct { Fake *FakeVpnV1alpha1 // contains filtered or unexported fields }
FakeGateways implements GatewayInterface
func (*FakeGateways) Create ¶
func (c *FakeGateways) Create(ctx context.Context, gateway *v1alpha1.Gateway, opts v1.CreateOptions) (result *v1alpha1.Gateway, err error)
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(ctx context.Context, name string, opts 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(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeGateways) Get ¶
func (c *FakeGateways) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.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(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.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(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Gateway, err error)
Patch applies the patch and returns the patched gateway.
func (*FakeGateways) Update ¶
func (c *FakeGateways) Update(ctx context.Context, gateway *v1alpha1.Gateway, opts v1.UpdateOptions) (result *v1alpha1.Gateway, err error)
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 ¶
func (c *FakeGateways) UpdateStatus(ctx context.Context, gateway *v1alpha1.Gateway, opts v1.UpdateOptions) (*v1alpha1.Gateway, error)
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(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested gateways.
type FakeServerConfigurations ¶
type FakeServerConfigurations struct { Fake *FakeVpnV1alpha1 // contains filtered or unexported fields }
FakeServerConfigurations implements ServerConfigurationInterface
func (*FakeServerConfigurations) Create ¶
func (c *FakeServerConfigurations) Create(ctx context.Context, serverConfiguration *v1alpha1.ServerConfiguration, opts v1.CreateOptions) (result *v1alpha1.ServerConfiguration, err error)
Create takes the representation of a serverConfiguration and creates it. Returns the server's representation of the serverConfiguration, and an error, if there is any.
func (*FakeServerConfigurations) Delete ¶
func (c *FakeServerConfigurations) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the serverConfiguration and deletes it. Returns an error if one occurs.
func (*FakeServerConfigurations) DeleteCollection ¶
func (c *FakeServerConfigurations) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeServerConfigurations) Get ¶
func (c *FakeServerConfigurations) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ServerConfiguration, err error)
Get takes name of the serverConfiguration, and returns the corresponding serverConfiguration object, and an error if there is any.
func (*FakeServerConfigurations) List ¶
func (c *FakeServerConfigurations) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ServerConfigurationList, err error)
List takes label and field selectors, and returns the list of ServerConfigurations that match those selectors.
func (*FakeServerConfigurations) Patch ¶
func (c *FakeServerConfigurations) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ServerConfiguration, err error)
Patch applies the patch and returns the patched serverConfiguration.
func (*FakeServerConfigurations) Update ¶
func (c *FakeServerConfigurations) Update(ctx context.Context, serverConfiguration *v1alpha1.ServerConfiguration, opts v1.UpdateOptions) (result *v1alpha1.ServerConfiguration, err error)
Update takes the representation of a serverConfiguration and updates it. Returns the server's representation of the serverConfiguration, and an error, if there is any.
func (*FakeServerConfigurations) UpdateStatus ¶
func (c *FakeServerConfigurations) UpdateStatus(ctx context.Context, serverConfiguration *v1alpha1.ServerConfiguration, opts v1.UpdateOptions) (*v1alpha1.ServerConfiguration, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeServerConfigurations) Watch ¶
func (c *FakeServerConfigurations) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested serverConfigurations.
type FakeSites ¶
type FakeSites struct { Fake *FakeVpnV1alpha1 // contains filtered or unexported fields }
FakeSites implements SiteInterface
func (*FakeSites) Create ¶
func (c *FakeSites) Create(ctx context.Context, site *v1alpha1.Site, opts v1.CreateOptions) (result *v1alpha1.Site, err error)
Create takes the representation of a site and creates it. Returns the server's representation of the site, and an error, if there is any.
func (*FakeSites) Delete ¶
Delete takes name of the site and deletes it. Returns an error if one occurs.
func (*FakeSites) DeleteCollection ¶
func (c *FakeSites) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeSites) Get ¶
func (c *FakeSites) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Site, err error)
Get takes name of the site, and returns the corresponding site object, and an error if there is any.
func (*FakeSites) List ¶
func (c *FakeSites) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.SiteList, err error)
List takes label and field selectors, and returns the list of Sites that match those selectors.
func (*FakeSites) Patch ¶
func (c *FakeSites) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Site, err error)
Patch applies the patch and returns the patched site.
func (*FakeSites) Update ¶
func (c *FakeSites) Update(ctx context.Context, site *v1alpha1.Site, opts v1.UpdateOptions) (result *v1alpha1.Site, err error)
Update takes the representation of a site and updates it. Returns the server's representation of the site, and an error, if there is any.
func (*FakeSites) UpdateStatus ¶
func (c *FakeSites) UpdateStatus(ctx context.Context, site *v1alpha1.Site, opts v1.UpdateOptions) (*v1alpha1.Site, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
type FakeVpnV1alpha1 ¶
func (*FakeVpnV1alpha1) GatewayConnections ¶
func (c *FakeVpnV1alpha1) GatewayConnections(namespace string) v1alpha1.GatewayConnectionInterface
func (*FakeVpnV1alpha1) Gateways ¶
func (c *FakeVpnV1alpha1) Gateways(namespace string) v1alpha1.GatewayInterface
func (*FakeVpnV1alpha1) RESTClient ¶
func (c *FakeVpnV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeVpnV1alpha1) ServerConfigurations ¶
func (c *FakeVpnV1alpha1) ServerConfigurations(namespace string) v1alpha1.ServerConfigurationInterface
func (*FakeVpnV1alpha1) Sites ¶
func (c *FakeVpnV1alpha1) Sites(namespace string) v1alpha1.SiteInterface