Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeClusterGlobalEgressIPs
- func (c *FakeClusterGlobalEgressIPs) Apply(ctx context.Context, ...) (result *v1.ClusterGlobalEgressIP, err error)
- func (c *FakeClusterGlobalEgressIPs) ApplyStatus(ctx context.Context, ...) (result *v1.ClusterGlobalEgressIP, err error)
- func (c *FakeClusterGlobalEgressIPs) Create(ctx context.Context, clusterGlobalEgressIP *v1.ClusterGlobalEgressIP, ...) (result *v1.ClusterGlobalEgressIP, err error)
- func (c *FakeClusterGlobalEgressIPs) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (c *FakeClusterGlobalEgressIPs) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (c *FakeClusterGlobalEgressIPs) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.ClusterGlobalEgressIP, err error)
- func (c *FakeClusterGlobalEgressIPs) List(ctx context.Context, opts metav1.ListOptions) (result *v1.ClusterGlobalEgressIPList, err error)
- func (c *FakeClusterGlobalEgressIPs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1.ClusterGlobalEgressIP, err error)
- func (c *FakeClusterGlobalEgressIPs) Update(ctx context.Context, clusterGlobalEgressIP *v1.ClusterGlobalEgressIP, ...) (result *v1.ClusterGlobalEgressIP, err error)
- func (c *FakeClusterGlobalEgressIPs) UpdateStatus(ctx context.Context, clusterGlobalEgressIP *v1.ClusterGlobalEgressIP, ...) (*v1.ClusterGlobalEgressIP, error)
- func (c *FakeClusterGlobalEgressIPs) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
- type FakeClusters
- func (c *FakeClusters) Apply(ctx context.Context, cluster *submarineriov1.ClusterApplyConfiguration, ...) (result *v1.Cluster, err error)
- func (c *FakeClusters) Create(ctx context.Context, cluster *v1.Cluster, opts metav1.CreateOptions) (result *v1.Cluster, err error)
- func (c *FakeClusters) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (c *FakeClusters) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (c *FakeClusters) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.Cluster, err error)
- func (c *FakeClusters) List(ctx context.Context, opts metav1.ListOptions) (result *v1.ClusterList, err error)
- func (c *FakeClusters) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1.Cluster, err error)
- func (c *FakeClusters) Update(ctx context.Context, cluster *v1.Cluster, opts metav1.UpdateOptions) (result *v1.Cluster, err error)
- func (c *FakeClusters) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
- type FakeEndpoints
- func (c *FakeEndpoints) Apply(ctx context.Context, endpoint *submarineriov1.EndpointApplyConfiguration, ...) (result *v1.Endpoint, err error)
- func (c *FakeEndpoints) Create(ctx context.Context, endpoint *v1.Endpoint, opts metav1.CreateOptions) (result *v1.Endpoint, err error)
- func (c *FakeEndpoints) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (c *FakeEndpoints) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (c *FakeEndpoints) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.Endpoint, err error)
- func (c *FakeEndpoints) List(ctx context.Context, opts metav1.ListOptions) (result *v1.EndpointList, err error)
- func (c *FakeEndpoints) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1.Endpoint, err error)
- func (c *FakeEndpoints) Update(ctx context.Context, endpoint *v1.Endpoint, opts metav1.UpdateOptions) (result *v1.Endpoint, err error)
- func (c *FakeEndpoints) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
- type FakeGatewayRoutes
- func (c *FakeGatewayRoutes) Apply(ctx context.Context, ...) (result *v1.GatewayRoute, err error)
- func (c *FakeGatewayRoutes) Create(ctx context.Context, gatewayRoute *v1.GatewayRoute, opts metav1.CreateOptions) (result *v1.GatewayRoute, err error)
- func (c *FakeGatewayRoutes) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (c *FakeGatewayRoutes) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (c *FakeGatewayRoutes) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.GatewayRoute, err error)
- func (c *FakeGatewayRoutes) List(ctx context.Context, opts metav1.ListOptions) (result *v1.GatewayRouteList, err error)
- func (c *FakeGatewayRoutes) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1.GatewayRoute, err error)
- func (c *FakeGatewayRoutes) Update(ctx context.Context, gatewayRoute *v1.GatewayRoute, opts metav1.UpdateOptions) (result *v1.GatewayRoute, err error)
- func (c *FakeGatewayRoutes) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
- type FakeGateways
- func (c *FakeGateways) Apply(ctx context.Context, gateway *submarineriov1.GatewayApplyConfiguration, ...) (result *v1.Gateway, err error)
- func (c *FakeGateways) Create(ctx context.Context, gateway *v1.Gateway, opts metav1.CreateOptions) (result *v1.Gateway, err error)
- func (c *FakeGateways) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (c *FakeGateways) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (c *FakeGateways) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.Gateway, err error)
- func (c *FakeGateways) List(ctx context.Context, opts metav1.ListOptions) (result *v1.GatewayList, err error)
- func (c *FakeGateways) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1.Gateway, err error)
- func (c *FakeGateways) Update(ctx context.Context, gateway *v1.Gateway, opts metav1.UpdateOptions) (result *v1.Gateway, err error)
- func (c *FakeGateways) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
- type FakeGlobalEgressIPs
- func (c *FakeGlobalEgressIPs) Apply(ctx context.Context, ...) (result *v1.GlobalEgressIP, err error)
- func (c *FakeGlobalEgressIPs) ApplyStatus(ctx context.Context, ...) (result *v1.GlobalEgressIP, err error)
- func (c *FakeGlobalEgressIPs) Create(ctx context.Context, globalEgressIP *v1.GlobalEgressIP, ...) (result *v1.GlobalEgressIP, err error)
- func (c *FakeGlobalEgressIPs) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (c *FakeGlobalEgressIPs) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (c *FakeGlobalEgressIPs) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.GlobalEgressIP, err error)
- func (c *FakeGlobalEgressIPs) List(ctx context.Context, opts metav1.ListOptions) (result *v1.GlobalEgressIPList, err error)
- func (c *FakeGlobalEgressIPs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1.GlobalEgressIP, err error)
- func (c *FakeGlobalEgressIPs) Update(ctx context.Context, globalEgressIP *v1.GlobalEgressIP, ...) (result *v1.GlobalEgressIP, err error)
- func (c *FakeGlobalEgressIPs) UpdateStatus(ctx context.Context, globalEgressIP *v1.GlobalEgressIP, ...) (*v1.GlobalEgressIP, error)
- func (c *FakeGlobalEgressIPs) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
- type FakeGlobalIngressIPs
- func (c *FakeGlobalIngressIPs) Apply(ctx context.Context, ...) (result *v1.GlobalIngressIP, err error)
- func (c *FakeGlobalIngressIPs) ApplyStatus(ctx context.Context, ...) (result *v1.GlobalIngressIP, err error)
- func (c *FakeGlobalIngressIPs) Create(ctx context.Context, globalIngressIP *v1.GlobalIngressIP, ...) (result *v1.GlobalIngressIP, err error)
- func (c *FakeGlobalIngressIPs) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (c *FakeGlobalIngressIPs) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (c *FakeGlobalIngressIPs) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.GlobalIngressIP, err error)
- func (c *FakeGlobalIngressIPs) List(ctx context.Context, opts metav1.ListOptions) (result *v1.GlobalIngressIPList, err error)
- func (c *FakeGlobalIngressIPs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1.GlobalIngressIP, err error)
- func (c *FakeGlobalIngressIPs) Update(ctx context.Context, globalIngressIP *v1.GlobalIngressIP, ...) (result *v1.GlobalIngressIP, err error)
- func (c *FakeGlobalIngressIPs) UpdateStatus(ctx context.Context, globalIngressIP *v1.GlobalIngressIP, ...) (*v1.GlobalIngressIP, error)
- func (c *FakeGlobalIngressIPs) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
- type FakeNonGatewayRoutes
- func (c *FakeNonGatewayRoutes) Apply(ctx context.Context, ...) (result *v1.NonGatewayRoute, err error)
- func (c *FakeNonGatewayRoutes) Create(ctx context.Context, nonGatewayRoute *v1.NonGatewayRoute, ...) (result *v1.NonGatewayRoute, err error)
- func (c *FakeNonGatewayRoutes) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (c *FakeNonGatewayRoutes) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (c *FakeNonGatewayRoutes) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.NonGatewayRoute, err error)
- func (c *FakeNonGatewayRoutes) List(ctx context.Context, opts metav1.ListOptions) (result *v1.NonGatewayRouteList, err error)
- func (c *FakeNonGatewayRoutes) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1.NonGatewayRoute, err error)
- func (c *FakeNonGatewayRoutes) Update(ctx context.Context, nonGatewayRoute *v1.NonGatewayRoute, ...) (result *v1.NonGatewayRoute, err error)
- func (c *FakeNonGatewayRoutes) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
- type FakeSubmarinerV1
- func (c *FakeSubmarinerV1) ClusterGlobalEgressIPs(namespace string) v1.ClusterGlobalEgressIPInterface
- func (c *FakeSubmarinerV1) Clusters(namespace string) v1.ClusterInterface
- func (c *FakeSubmarinerV1) Endpoints(namespace string) v1.EndpointInterface
- func (c *FakeSubmarinerV1) GatewayRoutes(namespace string) v1.GatewayRouteInterface
- func (c *FakeSubmarinerV1) Gateways(namespace string) v1.GatewayInterface
- func (c *FakeSubmarinerV1) GlobalEgressIPs(namespace string) v1.GlobalEgressIPInterface
- func (c *FakeSubmarinerV1) GlobalIngressIPs(namespace string) v1.GlobalIngressIPInterface
- func (c *FakeSubmarinerV1) NonGatewayRoutes(namespace string) v1.NonGatewayRouteInterface
- func (c *FakeSubmarinerV1) RESTClient() rest.Interface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeClusterGlobalEgressIPs ¶ added in v0.10.1
type FakeClusterGlobalEgressIPs struct { Fake *FakeSubmarinerV1 // contains filtered or unexported fields }
FakeClusterGlobalEgressIPs implements ClusterGlobalEgressIPInterface
func (*FakeClusterGlobalEgressIPs) Apply ¶ added in v0.18.0
func (c *FakeClusterGlobalEgressIPs) Apply(ctx context.Context, clusterGlobalEgressIP *submarineriov1.ClusterGlobalEgressIPApplyConfiguration, opts metav1.ApplyOptions) (result *v1.ClusterGlobalEgressIP, err error)
Apply takes the given apply declarative configuration, applies it and returns the applied clusterGlobalEgressIP.
func (*FakeClusterGlobalEgressIPs) ApplyStatus ¶ added in v0.18.0
func (c *FakeClusterGlobalEgressIPs) ApplyStatus(ctx context.Context, clusterGlobalEgressIP *submarineriov1.ClusterGlobalEgressIPApplyConfiguration, opts metav1.ApplyOptions) (result *v1.ClusterGlobalEgressIP, err error)
ApplyStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating ApplyStatus().
func (*FakeClusterGlobalEgressIPs) Create ¶ added in v0.10.1
func (c *FakeClusterGlobalEgressIPs) Create(ctx context.Context, clusterGlobalEgressIP *v1.ClusterGlobalEgressIP, opts metav1.CreateOptions) (result *v1.ClusterGlobalEgressIP, err error)
Create takes the representation of a clusterGlobalEgressIP and creates it. Returns the server's representation of the clusterGlobalEgressIP, and an error, if there is any.
func (*FakeClusterGlobalEgressIPs) Delete ¶ added in v0.10.1
func (c *FakeClusterGlobalEgressIPs) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
Delete takes name of the clusterGlobalEgressIP and deletes it. Returns an error if one occurs.
func (*FakeClusterGlobalEgressIPs) DeleteCollection ¶ added in v0.10.1
func (c *FakeClusterGlobalEgressIPs) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeClusterGlobalEgressIPs) Get ¶ added in v0.10.1
func (c *FakeClusterGlobalEgressIPs) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.ClusterGlobalEgressIP, err error)
Get takes name of the clusterGlobalEgressIP, and returns the corresponding clusterGlobalEgressIP object, and an error if there is any.
func (*FakeClusterGlobalEgressIPs) List ¶ added in v0.10.1
func (c *FakeClusterGlobalEgressIPs) List(ctx context.Context, opts metav1.ListOptions) (result *v1.ClusterGlobalEgressIPList, err error)
List takes label and field selectors, and returns the list of ClusterGlobalEgressIPs that match those selectors.
func (*FakeClusterGlobalEgressIPs) Patch ¶ added in v0.10.1
func (c *FakeClusterGlobalEgressIPs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.ClusterGlobalEgressIP, err error)
Patch applies the patch and returns the patched clusterGlobalEgressIP.
func (*FakeClusterGlobalEgressIPs) Update ¶ added in v0.10.1
func (c *FakeClusterGlobalEgressIPs) Update(ctx context.Context, clusterGlobalEgressIP *v1.ClusterGlobalEgressIP, opts metav1.UpdateOptions) (result *v1.ClusterGlobalEgressIP, err error)
Update takes the representation of a clusterGlobalEgressIP and updates it. Returns the server's representation of the clusterGlobalEgressIP, and an error, if there is any.
func (*FakeClusterGlobalEgressIPs) UpdateStatus ¶ added in v0.10.1
func (c *FakeClusterGlobalEgressIPs) UpdateStatus(ctx context.Context, clusterGlobalEgressIP *v1.ClusterGlobalEgressIP, opts metav1.UpdateOptions) (*v1.ClusterGlobalEgressIP, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeClusterGlobalEgressIPs) Watch ¶ added in v0.10.1
func (c *FakeClusterGlobalEgressIPs) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested clusterGlobalEgressIPs.
type FakeClusters ¶
type FakeClusters struct { Fake *FakeSubmarinerV1 // contains filtered or unexported fields }
FakeClusters implements ClusterInterface
func (*FakeClusters) Apply ¶ added in v0.18.0
func (c *FakeClusters) Apply(ctx context.Context, cluster *submarineriov1.ClusterApplyConfiguration, opts metav1.ApplyOptions) (result *v1.Cluster, err error)
Apply takes the given apply declarative configuration, applies it and returns the applied cluster.
func (*FakeClusters) Create ¶
func (c *FakeClusters) Create(ctx context.Context, cluster *v1.Cluster, opts metav1.CreateOptions) (result *v1.Cluster, err error)
Create takes the representation of a cluster and creates it. Returns the server's representation of the cluster, and an error, if there is any.
func (*FakeClusters) Delete ¶
func (c *FakeClusters) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
Delete takes name of the cluster and deletes it. Returns an error if one occurs.
func (*FakeClusters) DeleteCollection ¶
func (c *FakeClusters) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeClusters) Get ¶
func (c *FakeClusters) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.Cluster, err error)
Get takes name of the cluster, and returns the corresponding cluster object, and an error if there is any.
func (*FakeClusters) List ¶
func (c *FakeClusters) List(ctx context.Context, opts metav1.ListOptions) (result *v1.ClusterList, err error)
List takes label and field selectors, and returns the list of Clusters that match those selectors.
func (*FakeClusters) Patch ¶
func (c *FakeClusters) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.Cluster, err error)
Patch applies the patch and returns the patched cluster.
func (*FakeClusters) Update ¶
func (c *FakeClusters) Update(ctx context.Context, cluster *v1.Cluster, opts metav1.UpdateOptions) (result *v1.Cluster, err error)
Update takes the representation of a cluster and updates it. Returns the server's representation of the cluster, and an error, if there is any.
func (*FakeClusters) Watch ¶
func (c *FakeClusters) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested clusters.
type FakeEndpoints ¶
type FakeEndpoints struct { Fake *FakeSubmarinerV1 // contains filtered or unexported fields }
FakeEndpoints implements EndpointInterface
func (*FakeEndpoints) Apply ¶ added in v0.18.0
func (c *FakeEndpoints) Apply(ctx context.Context, endpoint *submarineriov1.EndpointApplyConfiguration, opts metav1.ApplyOptions) (result *v1.Endpoint, err error)
Apply takes the given apply declarative configuration, applies it and returns the applied endpoint.
func (*FakeEndpoints) Create ¶
func (c *FakeEndpoints) Create(ctx context.Context, endpoint *v1.Endpoint, opts metav1.CreateOptions) (result *v1.Endpoint, err error)
Create takes the representation of a endpoint and creates it. Returns the server's representation of the endpoint, and an error, if there is any.
func (*FakeEndpoints) Delete ¶
func (c *FakeEndpoints) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
Delete takes name of the endpoint and deletes it. Returns an error if one occurs.
func (*FakeEndpoints) DeleteCollection ¶
func (c *FakeEndpoints) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeEndpoints) Get ¶
func (c *FakeEndpoints) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.Endpoint, err error)
Get takes name of the endpoint, and returns the corresponding endpoint object, and an error if there is any.
func (*FakeEndpoints) List ¶
func (c *FakeEndpoints) List(ctx context.Context, opts metav1.ListOptions) (result *v1.EndpointList, err error)
List takes label and field selectors, and returns the list of Endpoints that match those selectors.
func (*FakeEndpoints) Patch ¶
func (c *FakeEndpoints) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.Endpoint, err error)
Patch applies the patch and returns the patched endpoint.
func (*FakeEndpoints) Update ¶
func (c *FakeEndpoints) Update(ctx context.Context, endpoint *v1.Endpoint, opts metav1.UpdateOptions) (result *v1.Endpoint, err error)
Update takes the representation of a endpoint and updates it. Returns the server's representation of the endpoint, and an error, if there is any.
func (*FakeEndpoints) Watch ¶
func (c *FakeEndpoints) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested endpoints.
type FakeGatewayRoutes ¶ added in v0.16.0
type FakeGatewayRoutes struct { Fake *FakeSubmarinerV1 // contains filtered or unexported fields }
FakeGatewayRoutes implements GatewayRouteInterface
func (*FakeGatewayRoutes) Apply ¶ added in v0.18.0
func (c *FakeGatewayRoutes) Apply(ctx context.Context, gatewayRoute *submarineriov1.GatewayRouteApplyConfiguration, opts metav1.ApplyOptions) (result *v1.GatewayRoute, err error)
Apply takes the given apply declarative configuration, applies it and returns the applied gatewayRoute.
func (*FakeGatewayRoutes) Create ¶ added in v0.16.0
func (c *FakeGatewayRoutes) Create(ctx context.Context, gatewayRoute *v1.GatewayRoute, opts metav1.CreateOptions) (result *v1.GatewayRoute, err error)
Create takes the representation of a gatewayRoute and creates it. Returns the server's representation of the gatewayRoute, and an error, if there is any.
func (*FakeGatewayRoutes) Delete ¶ added in v0.16.0
func (c *FakeGatewayRoutes) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
Delete takes name of the gatewayRoute and deletes it. Returns an error if one occurs.
func (*FakeGatewayRoutes) DeleteCollection ¶ added in v0.16.0
func (c *FakeGatewayRoutes) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeGatewayRoutes) Get ¶ added in v0.16.0
func (c *FakeGatewayRoutes) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.GatewayRoute, err error)
Get takes name of the gatewayRoute, and returns the corresponding gatewayRoute object, and an error if there is any.
func (*FakeGatewayRoutes) List ¶ added in v0.16.0
func (c *FakeGatewayRoutes) List(ctx context.Context, opts metav1.ListOptions) (result *v1.GatewayRouteList, err error)
List takes label and field selectors, and returns the list of GatewayRoutes that match those selectors.
func (*FakeGatewayRoutes) Patch ¶ added in v0.16.0
func (c *FakeGatewayRoutes) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.GatewayRoute, err error)
Patch applies the patch and returns the patched gatewayRoute.
func (*FakeGatewayRoutes) Update ¶ added in v0.16.0
func (c *FakeGatewayRoutes) Update(ctx context.Context, gatewayRoute *v1.GatewayRoute, opts metav1.UpdateOptions) (result *v1.GatewayRoute, err error)
Update takes the representation of a gatewayRoute and updates it. Returns the server's representation of the gatewayRoute, and an error, if there is any.
func (*FakeGatewayRoutes) Watch ¶ added in v0.16.0
func (c *FakeGatewayRoutes) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested gatewayRoutes.
type FakeGateways ¶ added in v0.3.0
type FakeGateways struct { Fake *FakeSubmarinerV1 // contains filtered or unexported fields }
FakeGateways implements GatewayInterface
func (*FakeGateways) Apply ¶ added in v0.18.0
func (c *FakeGateways) Apply(ctx context.Context, gateway *submarineriov1.GatewayApplyConfiguration, opts metav1.ApplyOptions) (result *v1.Gateway, err error)
Apply takes the given apply declarative configuration, applies it and returns the applied gateway.
func (*FakeGateways) Create ¶ added in v0.3.0
func (c *FakeGateways) Create(ctx context.Context, gateway *v1.Gateway, opts metav1.CreateOptions) (result *v1.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 ¶ added in v0.3.0
func (c *FakeGateways) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
Delete takes name of the gateway and deletes it. Returns an error if one occurs.
func (*FakeGateways) DeleteCollection ¶ added in v0.3.0
func (c *FakeGateways) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeGateways) Get ¶ added in v0.3.0
func (c *FakeGateways) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.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 ¶ added in v0.3.0
func (c *FakeGateways) List(ctx context.Context, opts metav1.ListOptions) (result *v1.GatewayList, err error)
List takes label and field selectors, and returns the list of Gateways that match those selectors.
func (*FakeGateways) Patch ¶ added in v0.3.0
func (c *FakeGateways) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.Gateway, err error)
Patch applies the patch and returns the patched gateway.
func (*FakeGateways) Update ¶ added in v0.3.0
func (c *FakeGateways) Update(ctx context.Context, gateway *v1.Gateway, opts metav1.UpdateOptions) (result *v1.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) Watch ¶ added in v0.3.0
func (c *FakeGateways) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested gateways.
type FakeGlobalEgressIPs ¶ added in v0.10.1
type FakeGlobalEgressIPs struct { Fake *FakeSubmarinerV1 // contains filtered or unexported fields }
FakeGlobalEgressIPs implements GlobalEgressIPInterface
func (*FakeGlobalEgressIPs) Apply ¶ added in v0.18.0
func (c *FakeGlobalEgressIPs) Apply(ctx context.Context, globalEgressIP *submarineriov1.GlobalEgressIPApplyConfiguration, opts metav1.ApplyOptions) (result *v1.GlobalEgressIP, err error)
Apply takes the given apply declarative configuration, applies it and returns the applied globalEgressIP.
func (*FakeGlobalEgressIPs) ApplyStatus ¶ added in v0.18.0
func (c *FakeGlobalEgressIPs) ApplyStatus(ctx context.Context, globalEgressIP *submarineriov1.GlobalEgressIPApplyConfiguration, opts metav1.ApplyOptions) (result *v1.GlobalEgressIP, err error)
ApplyStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating ApplyStatus().
func (*FakeGlobalEgressIPs) Create ¶ added in v0.10.1
func (c *FakeGlobalEgressIPs) Create(ctx context.Context, globalEgressIP *v1.GlobalEgressIP, opts metav1.CreateOptions) (result *v1.GlobalEgressIP, err error)
Create takes the representation of a globalEgressIP and creates it. Returns the server's representation of the globalEgressIP, and an error, if there is any.
func (*FakeGlobalEgressIPs) Delete ¶ added in v0.10.1
func (c *FakeGlobalEgressIPs) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
Delete takes name of the globalEgressIP and deletes it. Returns an error if one occurs.
func (*FakeGlobalEgressIPs) DeleteCollection ¶ added in v0.10.1
func (c *FakeGlobalEgressIPs) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeGlobalEgressIPs) Get ¶ added in v0.10.1
func (c *FakeGlobalEgressIPs) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.GlobalEgressIP, err error)
Get takes name of the globalEgressIP, and returns the corresponding globalEgressIP object, and an error if there is any.
func (*FakeGlobalEgressIPs) List ¶ added in v0.10.1
func (c *FakeGlobalEgressIPs) List(ctx context.Context, opts metav1.ListOptions) (result *v1.GlobalEgressIPList, err error)
List takes label and field selectors, and returns the list of GlobalEgressIPs that match those selectors.
func (*FakeGlobalEgressIPs) Patch ¶ added in v0.10.1
func (c *FakeGlobalEgressIPs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.GlobalEgressIP, err error)
Patch applies the patch and returns the patched globalEgressIP.
func (*FakeGlobalEgressIPs) Update ¶ added in v0.10.1
func (c *FakeGlobalEgressIPs) Update(ctx context.Context, globalEgressIP *v1.GlobalEgressIP, opts metav1.UpdateOptions) (result *v1.GlobalEgressIP, err error)
Update takes the representation of a globalEgressIP and updates it. Returns the server's representation of the globalEgressIP, and an error, if there is any.
func (*FakeGlobalEgressIPs) UpdateStatus ¶ added in v0.10.1
func (c *FakeGlobalEgressIPs) UpdateStatus(ctx context.Context, globalEgressIP *v1.GlobalEgressIP, opts metav1.UpdateOptions) (*v1.GlobalEgressIP, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeGlobalEgressIPs) Watch ¶ added in v0.10.1
func (c *FakeGlobalEgressIPs) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested globalEgressIPs.
type FakeGlobalIngressIPs ¶ added in v0.10.1
type FakeGlobalIngressIPs struct { Fake *FakeSubmarinerV1 // contains filtered or unexported fields }
FakeGlobalIngressIPs implements GlobalIngressIPInterface
func (*FakeGlobalIngressIPs) Apply ¶ added in v0.18.0
func (c *FakeGlobalIngressIPs) Apply(ctx context.Context, globalIngressIP *submarineriov1.GlobalIngressIPApplyConfiguration, opts metav1.ApplyOptions) (result *v1.GlobalIngressIP, err error)
Apply takes the given apply declarative configuration, applies it and returns the applied globalIngressIP.
func (*FakeGlobalIngressIPs) ApplyStatus ¶ added in v0.18.0
func (c *FakeGlobalIngressIPs) ApplyStatus(ctx context.Context, globalIngressIP *submarineriov1.GlobalIngressIPApplyConfiguration, opts metav1.ApplyOptions) (result *v1.GlobalIngressIP, err error)
ApplyStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating ApplyStatus().
func (*FakeGlobalIngressIPs) Create ¶ added in v0.10.1
func (c *FakeGlobalIngressIPs) Create(ctx context.Context, globalIngressIP *v1.GlobalIngressIP, opts metav1.CreateOptions) (result *v1.GlobalIngressIP, err error)
Create takes the representation of a globalIngressIP and creates it. Returns the server's representation of the globalIngressIP, and an error, if there is any.
func (*FakeGlobalIngressIPs) Delete ¶ added in v0.10.1
func (c *FakeGlobalIngressIPs) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
Delete takes name of the globalIngressIP and deletes it. Returns an error if one occurs.
func (*FakeGlobalIngressIPs) DeleteCollection ¶ added in v0.10.1
func (c *FakeGlobalIngressIPs) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeGlobalIngressIPs) Get ¶ added in v0.10.1
func (c *FakeGlobalIngressIPs) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.GlobalIngressIP, err error)
Get takes name of the globalIngressIP, and returns the corresponding globalIngressIP object, and an error if there is any.
func (*FakeGlobalIngressIPs) List ¶ added in v0.10.1
func (c *FakeGlobalIngressIPs) List(ctx context.Context, opts metav1.ListOptions) (result *v1.GlobalIngressIPList, err error)
List takes label and field selectors, and returns the list of GlobalIngressIPs that match those selectors.
func (*FakeGlobalIngressIPs) Patch ¶ added in v0.10.1
func (c *FakeGlobalIngressIPs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.GlobalIngressIP, err error)
Patch applies the patch and returns the patched globalIngressIP.
func (*FakeGlobalIngressIPs) Update ¶ added in v0.10.1
func (c *FakeGlobalIngressIPs) Update(ctx context.Context, globalIngressIP *v1.GlobalIngressIP, opts metav1.UpdateOptions) (result *v1.GlobalIngressIP, err error)
Update takes the representation of a globalIngressIP and updates it. Returns the server's representation of the globalIngressIP, and an error, if there is any.
func (*FakeGlobalIngressIPs) UpdateStatus ¶ added in v0.10.1
func (c *FakeGlobalIngressIPs) UpdateStatus(ctx context.Context, globalIngressIP *v1.GlobalIngressIP, opts metav1.UpdateOptions) (*v1.GlobalIngressIP, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeGlobalIngressIPs) Watch ¶ added in v0.10.1
func (c *FakeGlobalIngressIPs) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested globalIngressIPs.
type FakeNonGatewayRoutes ¶ added in v0.16.0
type FakeNonGatewayRoutes struct { Fake *FakeSubmarinerV1 // contains filtered or unexported fields }
FakeNonGatewayRoutes implements NonGatewayRouteInterface
func (*FakeNonGatewayRoutes) Apply ¶ added in v0.18.0
func (c *FakeNonGatewayRoutes) Apply(ctx context.Context, nonGatewayRoute *submarineriov1.NonGatewayRouteApplyConfiguration, opts metav1.ApplyOptions) (result *v1.NonGatewayRoute, err error)
Apply takes the given apply declarative configuration, applies it and returns the applied nonGatewayRoute.
func (*FakeNonGatewayRoutes) Create ¶ added in v0.16.0
func (c *FakeNonGatewayRoutes) Create(ctx context.Context, nonGatewayRoute *v1.NonGatewayRoute, opts metav1.CreateOptions) (result *v1.NonGatewayRoute, err error)
Create takes the representation of a nonGatewayRoute and creates it. Returns the server's representation of the nonGatewayRoute, and an error, if there is any.
func (*FakeNonGatewayRoutes) Delete ¶ added in v0.16.0
func (c *FakeNonGatewayRoutes) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
Delete takes name of the nonGatewayRoute and deletes it. Returns an error if one occurs.
func (*FakeNonGatewayRoutes) DeleteCollection ¶ added in v0.16.0
func (c *FakeNonGatewayRoutes) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeNonGatewayRoutes) Get ¶ added in v0.16.0
func (c *FakeNonGatewayRoutes) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.NonGatewayRoute, err error)
Get takes name of the nonGatewayRoute, and returns the corresponding nonGatewayRoute object, and an error if there is any.
func (*FakeNonGatewayRoutes) List ¶ added in v0.16.0
func (c *FakeNonGatewayRoutes) List(ctx context.Context, opts metav1.ListOptions) (result *v1.NonGatewayRouteList, err error)
List takes label and field selectors, and returns the list of NonGatewayRoutes that match those selectors.
func (*FakeNonGatewayRoutes) Patch ¶ added in v0.16.0
func (c *FakeNonGatewayRoutes) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.NonGatewayRoute, err error)
Patch applies the patch and returns the patched nonGatewayRoute.
func (*FakeNonGatewayRoutes) Update ¶ added in v0.16.0
func (c *FakeNonGatewayRoutes) Update(ctx context.Context, nonGatewayRoute *v1.NonGatewayRoute, opts metav1.UpdateOptions) (result *v1.NonGatewayRoute, err error)
Update takes the representation of a nonGatewayRoute and updates it. Returns the server's representation of the nonGatewayRoute, and an error, if there is any.
func (*FakeNonGatewayRoutes) Watch ¶ added in v0.16.0
func (c *FakeNonGatewayRoutes) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested nonGatewayRoutes.
type FakeSubmarinerV1 ¶
func (*FakeSubmarinerV1) ClusterGlobalEgressIPs ¶ added in v0.10.1
func (c *FakeSubmarinerV1) ClusterGlobalEgressIPs(namespace string) v1.ClusterGlobalEgressIPInterface
func (*FakeSubmarinerV1) Clusters ¶
func (c *FakeSubmarinerV1) Clusters(namespace string) v1.ClusterInterface
func (*FakeSubmarinerV1) Endpoints ¶
func (c *FakeSubmarinerV1) Endpoints(namespace string) v1.EndpointInterface
func (*FakeSubmarinerV1) GatewayRoutes ¶ added in v0.16.0
func (c *FakeSubmarinerV1) GatewayRoutes(namespace string) v1.GatewayRouteInterface
func (*FakeSubmarinerV1) Gateways ¶ added in v0.3.0
func (c *FakeSubmarinerV1) Gateways(namespace string) v1.GatewayInterface
func (*FakeSubmarinerV1) GlobalEgressIPs ¶ added in v0.10.1
func (c *FakeSubmarinerV1) GlobalEgressIPs(namespace string) v1.GlobalEgressIPInterface
func (*FakeSubmarinerV1) GlobalIngressIPs ¶ added in v0.10.1
func (c *FakeSubmarinerV1) GlobalIngressIPs(namespace string) v1.GlobalIngressIPInterface
func (*FakeSubmarinerV1) NonGatewayRoutes ¶ added in v0.16.0
func (c *FakeSubmarinerV1) NonGatewayRoutes(namespace string) v1.NonGatewayRouteInterface
func (*FakeSubmarinerV1) RESTClient ¶
func (c *FakeSubmarinerV1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.