Documentation
¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeAccessCerts
- func (c *FakeAccessCerts) Create(ctx context.Context, accessCert *v1alpha1.AccessCert, opts v1.CreateOptions) (result *v1alpha1.AccessCert, err error)
- func (c *FakeAccessCerts) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeAccessCerts) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeAccessCerts) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.AccessCert, err error)
- func (c *FakeAccessCerts) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.AccessCertList, err error)
- func (c *FakeAccessCerts) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.AccessCert, err error)
- func (c *FakeAccessCerts) Update(ctx context.Context, accessCert *v1alpha1.AccessCert, opts v1.UpdateOptions) (result *v1alpha1.AccessCert, err error)
- func (c *FakeAccessCerts) UpdateStatus(ctx context.Context, accessCert *v1alpha1.AccessCert, opts v1.UpdateOptions) (*v1alpha1.AccessCert, error)
- func (c *FakeAccessCerts) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeAccessControls
- func (c *FakeAccessControls) Create(ctx context.Context, accessControl *v1alpha1.AccessControl, ...) (result *v1alpha1.AccessControl, err error)
- func (c *FakeAccessControls) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeAccessControls) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeAccessControls) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.AccessControl, err error)
- func (c *FakeAccessControls) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.AccessControlList, err error)
- func (c *FakeAccessControls) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.AccessControl, err error)
- func (c *FakeAccessControls) Update(ctx context.Context, accessControl *v1alpha1.AccessControl, ...) (result *v1alpha1.AccessControl, err error)
- func (c *FakeAccessControls) UpdateStatus(ctx context.Context, accessControl *v1alpha1.AccessControl, ...) (*v1alpha1.AccessControl, error)
- func (c *FakeAccessControls) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeEgressGateways
- func (c *FakeEgressGateways) Create(ctx context.Context, egressGateway *v1alpha1.EgressGateway, ...) (result *v1alpha1.EgressGateway, err error)
- func (c *FakeEgressGateways) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeEgressGateways) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeEgressGateways) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.EgressGateway, err error)
- func (c *FakeEgressGateways) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.EgressGatewayList, err error)
- func (c *FakeEgressGateways) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.EgressGateway, err error)
- func (c *FakeEgressGateways) Update(ctx context.Context, egressGateway *v1alpha1.EgressGateway, ...) (result *v1alpha1.EgressGateway, err error)
- func (c *FakeEgressGateways) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeEgresses
- func (c *FakeEgresses) Create(ctx context.Context, egress *v1alpha1.Egress, opts v1.CreateOptions) (result *v1alpha1.Egress, err error)
- func (c *FakeEgresses) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeEgresses) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeEgresses) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Egress, err error)
- func (c *FakeEgresses) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.EgressList, err error)
- func (c *FakeEgresses) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Egress, err error)
- func (c *FakeEgresses) Update(ctx context.Context, egress *v1alpha1.Egress, opts v1.UpdateOptions) (result *v1alpha1.Egress, err error)
- func (c *FakeEgresses) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeIngressBackends
- func (c *FakeIngressBackends) Create(ctx context.Context, ingressBackend *v1alpha1.IngressBackend, ...) (result *v1alpha1.IngressBackend, err error)
- func (c *FakeIngressBackends) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeIngressBackends) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeIngressBackends) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.IngressBackend, err error)
- func (c *FakeIngressBackends) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.IngressBackendList, err error)
- func (c *FakeIngressBackends) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.IngressBackend, err error)
- func (c *FakeIngressBackends) Update(ctx context.Context, ingressBackend *v1alpha1.IngressBackend, ...) (result *v1alpha1.IngressBackend, err error)
- func (c *FakeIngressBackends) UpdateStatus(ctx context.Context, ingressBackend *v1alpha1.IngressBackend, ...) (*v1alpha1.IngressBackend, error)
- func (c *FakeIngressBackends) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakePolicyV1alpha1
- func (c *FakePolicyV1alpha1) AccessCerts(namespace string) v1alpha1.AccessCertInterface
- func (c *FakePolicyV1alpha1) AccessControls(namespace string) v1alpha1.AccessControlInterface
- func (c *FakePolicyV1alpha1) EgressGateways(namespace string) v1alpha1.EgressGatewayInterface
- func (c *FakePolicyV1alpha1) Egresses(namespace string) v1alpha1.EgressInterface
- func (c *FakePolicyV1alpha1) IngressBackends(namespace string) v1alpha1.IngressBackendInterface
- func (c *FakePolicyV1alpha1) RESTClient() rest.Interface
- func (c *FakePolicyV1alpha1) Retries(namespace string) v1alpha1.RetryInterface
- func (c *FakePolicyV1alpha1) UpstreamTrafficSettings(namespace string) v1alpha1.UpstreamTrafficSettingInterface
- type FakeRetries
- func (c *FakeRetries) Create(ctx context.Context, retry *v1alpha1.Retry, opts v1.CreateOptions) (result *v1alpha1.Retry, err error)
- func (c *FakeRetries) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeRetries) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeRetries) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Retry, err error)
- func (c *FakeRetries) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.RetryList, err error)
- func (c *FakeRetries) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Retry, err error)
- func (c *FakeRetries) Update(ctx context.Context, retry *v1alpha1.Retry, opts v1.UpdateOptions) (result *v1alpha1.Retry, err error)
- func (c *FakeRetries) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeUpstreamTrafficSettings
- func (c *FakeUpstreamTrafficSettings) Create(ctx context.Context, upstreamTrafficSetting *v1alpha1.UpstreamTrafficSetting, ...) (result *v1alpha1.UpstreamTrafficSetting, err error)
- func (c *FakeUpstreamTrafficSettings) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeUpstreamTrafficSettings) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeUpstreamTrafficSettings) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.UpstreamTrafficSetting, err error)
- func (c *FakeUpstreamTrafficSettings) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.UpstreamTrafficSettingList, err error)
- func (c *FakeUpstreamTrafficSettings) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.UpstreamTrafficSetting, err error)
- func (c *FakeUpstreamTrafficSettings) Update(ctx context.Context, upstreamTrafficSetting *v1alpha1.UpstreamTrafficSetting, ...) (result *v1alpha1.UpstreamTrafficSetting, err error)
- func (c *FakeUpstreamTrafficSettings) UpdateStatus(ctx context.Context, upstreamTrafficSetting *v1alpha1.UpstreamTrafficSetting, ...) (*v1alpha1.UpstreamTrafficSetting, error)
- func (c *FakeUpstreamTrafficSettings) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeAccessCerts ¶
type FakeAccessCerts struct { Fake *FakePolicyV1alpha1 // contains filtered or unexported fields }
FakeAccessCerts implements AccessCertInterface
func (*FakeAccessCerts) Create ¶
func (c *FakeAccessCerts) Create(ctx context.Context, accessCert *v1alpha1.AccessCert, opts v1.CreateOptions) (result *v1alpha1.AccessCert, err error)
Create takes the representation of a accessCert and creates it. Returns the server's representation of the accessCert, and an error, if there is any.
func (*FakeAccessCerts) Delete ¶
func (c *FakeAccessCerts) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the accessCert and deletes it. Returns an error if one occurs.
func (*FakeAccessCerts) DeleteCollection ¶
func (c *FakeAccessCerts) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeAccessCerts) Get ¶
func (c *FakeAccessCerts) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.AccessCert, err error)
Get takes name of the accessCert, and returns the corresponding accessCert object, and an error if there is any.
func (*FakeAccessCerts) List ¶
func (c *FakeAccessCerts) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.AccessCertList, err error)
List takes label and field selectors, and returns the list of AccessCerts that match those selectors.
func (*FakeAccessCerts) Patch ¶
func (c *FakeAccessCerts) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.AccessCert, err error)
Patch applies the patch and returns the patched accessCert.
func (*FakeAccessCerts) Update ¶
func (c *FakeAccessCerts) Update(ctx context.Context, accessCert *v1alpha1.AccessCert, opts v1.UpdateOptions) (result *v1alpha1.AccessCert, err error)
Update takes the representation of a accessCert and updates it. Returns the server's representation of the accessCert, and an error, if there is any.
func (*FakeAccessCerts) UpdateStatus ¶
func (c *FakeAccessCerts) UpdateStatus(ctx context.Context, accessCert *v1alpha1.AccessCert, opts v1.UpdateOptions) (*v1alpha1.AccessCert, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeAccessCerts) Watch ¶
func (c *FakeAccessCerts) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested accessCerts.
type FakeAccessControls ¶
type FakeAccessControls struct { Fake *FakePolicyV1alpha1 // contains filtered or unexported fields }
FakeAccessControls implements AccessControlInterface
func (*FakeAccessControls) Create ¶
func (c *FakeAccessControls) Create(ctx context.Context, accessControl *v1alpha1.AccessControl, opts v1.CreateOptions) (result *v1alpha1.AccessControl, err error)
Create takes the representation of a accessControl and creates it. Returns the server's representation of the accessControl, and an error, if there is any.
func (*FakeAccessControls) Delete ¶
func (c *FakeAccessControls) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the accessControl and deletes it. Returns an error if one occurs.
func (*FakeAccessControls) DeleteCollection ¶
func (c *FakeAccessControls) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeAccessControls) Get ¶
func (c *FakeAccessControls) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.AccessControl, err error)
Get takes name of the accessControl, and returns the corresponding accessControl object, and an error if there is any.
func (*FakeAccessControls) List ¶
func (c *FakeAccessControls) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.AccessControlList, err error)
List takes label and field selectors, and returns the list of AccessControls that match those selectors.
func (*FakeAccessControls) Patch ¶
func (c *FakeAccessControls) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.AccessControl, err error)
Patch applies the patch and returns the patched accessControl.
func (*FakeAccessControls) Update ¶
func (c *FakeAccessControls) Update(ctx context.Context, accessControl *v1alpha1.AccessControl, opts v1.UpdateOptions) (result *v1alpha1.AccessControl, err error)
Update takes the representation of a accessControl and updates it. Returns the server's representation of the accessControl, and an error, if there is any.
func (*FakeAccessControls) UpdateStatus ¶
func (c *FakeAccessControls) UpdateStatus(ctx context.Context, accessControl *v1alpha1.AccessControl, opts v1.UpdateOptions) (*v1alpha1.AccessControl, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeAccessControls) Watch ¶
func (c *FakeAccessControls) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested accessControls.
type FakeEgressGateways ¶
type FakeEgressGateways struct { Fake *FakePolicyV1alpha1 // contains filtered or unexported fields }
FakeEgressGateways implements EgressGatewayInterface
func (*FakeEgressGateways) Create ¶
func (c *FakeEgressGateways) Create(ctx context.Context, egressGateway *v1alpha1.EgressGateway, opts v1.CreateOptions) (result *v1alpha1.EgressGateway, err error)
Create takes the representation of a egressGateway and creates it. Returns the server's representation of the egressGateway, and an error, if there is any.
func (*FakeEgressGateways) Delete ¶
func (c *FakeEgressGateways) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the egressGateway and deletes it. Returns an error if one occurs.
func (*FakeEgressGateways) DeleteCollection ¶
func (c *FakeEgressGateways) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeEgressGateways) Get ¶
func (c *FakeEgressGateways) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.EgressGateway, err error)
Get takes name of the egressGateway, and returns the corresponding egressGateway object, and an error if there is any.
func (*FakeEgressGateways) List ¶
func (c *FakeEgressGateways) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.EgressGatewayList, err error)
List takes label and field selectors, and returns the list of EgressGateways that match those selectors.
func (*FakeEgressGateways) Patch ¶
func (c *FakeEgressGateways) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.EgressGateway, err error)
Patch applies the patch and returns the patched egressGateway.
func (*FakeEgressGateways) Update ¶
func (c *FakeEgressGateways) Update(ctx context.Context, egressGateway *v1alpha1.EgressGateway, opts v1.UpdateOptions) (result *v1alpha1.EgressGateway, err error)
Update takes the representation of a egressGateway and updates it. Returns the server's representation of the egressGateway, and an error, if there is any.
func (*FakeEgressGateways) Watch ¶
func (c *FakeEgressGateways) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested egressGateways.
type FakeEgresses ¶
type FakeEgresses struct { Fake *FakePolicyV1alpha1 // contains filtered or unexported fields }
FakeEgresses implements EgressInterface
func (*FakeEgresses) Create ¶
func (c *FakeEgresses) Create(ctx context.Context, egress *v1alpha1.Egress, opts v1.CreateOptions) (result *v1alpha1.Egress, err error)
Create takes the representation of a egress and creates it. Returns the server's representation of the egress, and an error, if there is any.
func (*FakeEgresses) Delete ¶
func (c *FakeEgresses) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the egress and deletes it. Returns an error if one occurs.
func (*FakeEgresses) DeleteCollection ¶
func (c *FakeEgresses) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeEgresses) Get ¶
func (c *FakeEgresses) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Egress, err error)
Get takes name of the egress, and returns the corresponding egress object, and an error if there is any.
func (*FakeEgresses) List ¶
func (c *FakeEgresses) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.EgressList, err error)
List takes label and field selectors, and returns the list of Egresses that match those selectors.
func (*FakeEgresses) Patch ¶
func (c *FakeEgresses) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Egress, err error)
Patch applies the patch and returns the patched egress.
func (*FakeEgresses) Update ¶
func (c *FakeEgresses) Update(ctx context.Context, egress *v1alpha1.Egress, opts v1.UpdateOptions) (result *v1alpha1.Egress, err error)
Update takes the representation of a egress and updates it. Returns the server's representation of the egress, and an error, if there is any.
func (*FakeEgresses) Watch ¶
func (c *FakeEgresses) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested egresses.
type FakeIngressBackends ¶
type FakeIngressBackends struct { Fake *FakePolicyV1alpha1 // contains filtered or unexported fields }
FakeIngressBackends implements IngressBackendInterface
func (*FakeIngressBackends) Create ¶
func (c *FakeIngressBackends) Create(ctx context.Context, ingressBackend *v1alpha1.IngressBackend, opts v1.CreateOptions) (result *v1alpha1.IngressBackend, err error)
Create takes the representation of a ingressBackend and creates it. Returns the server's representation of the ingressBackend, and an error, if there is any.
func (*FakeIngressBackends) Delete ¶
func (c *FakeIngressBackends) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the ingressBackend and deletes it. Returns an error if one occurs.
func (*FakeIngressBackends) DeleteCollection ¶
func (c *FakeIngressBackends) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeIngressBackends) Get ¶
func (c *FakeIngressBackends) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.IngressBackend, err error)
Get takes name of the ingressBackend, and returns the corresponding ingressBackend object, and an error if there is any.
func (*FakeIngressBackends) List ¶
func (c *FakeIngressBackends) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.IngressBackendList, err error)
List takes label and field selectors, and returns the list of IngressBackends that match those selectors.
func (*FakeIngressBackends) Patch ¶
func (c *FakeIngressBackends) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.IngressBackend, err error)
Patch applies the patch and returns the patched ingressBackend.
func (*FakeIngressBackends) Update ¶
func (c *FakeIngressBackends) Update(ctx context.Context, ingressBackend *v1alpha1.IngressBackend, opts v1.UpdateOptions) (result *v1alpha1.IngressBackend, err error)
Update takes the representation of a ingressBackend and updates it. Returns the server's representation of the ingressBackend, and an error, if there is any.
func (*FakeIngressBackends) UpdateStatus ¶
func (c *FakeIngressBackends) UpdateStatus(ctx context.Context, ingressBackend *v1alpha1.IngressBackend, opts v1.UpdateOptions) (*v1alpha1.IngressBackend, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeIngressBackends) Watch ¶
func (c *FakeIngressBackends) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested ingressBackends.
type FakePolicyV1alpha1 ¶
func (*FakePolicyV1alpha1) AccessCerts ¶
func (c *FakePolicyV1alpha1) AccessCerts(namespace string) v1alpha1.AccessCertInterface
func (*FakePolicyV1alpha1) AccessControls ¶
func (c *FakePolicyV1alpha1) AccessControls(namespace string) v1alpha1.AccessControlInterface
func (*FakePolicyV1alpha1) EgressGateways ¶
func (c *FakePolicyV1alpha1) EgressGateways(namespace string) v1alpha1.EgressGatewayInterface
func (*FakePolicyV1alpha1) Egresses ¶
func (c *FakePolicyV1alpha1) Egresses(namespace string) v1alpha1.EgressInterface
func (*FakePolicyV1alpha1) IngressBackends ¶
func (c *FakePolicyV1alpha1) IngressBackends(namespace string) v1alpha1.IngressBackendInterface
func (*FakePolicyV1alpha1) RESTClient ¶
func (c *FakePolicyV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakePolicyV1alpha1) Retries ¶
func (c *FakePolicyV1alpha1) Retries(namespace string) v1alpha1.RetryInterface
func (*FakePolicyV1alpha1) UpstreamTrafficSettings ¶
func (c *FakePolicyV1alpha1) UpstreamTrafficSettings(namespace string) v1alpha1.UpstreamTrafficSettingInterface
type FakeRetries ¶
type FakeRetries struct { Fake *FakePolicyV1alpha1 // contains filtered or unexported fields }
FakeRetries implements RetryInterface
func (*FakeRetries) Create ¶
func (c *FakeRetries) Create(ctx context.Context, retry *v1alpha1.Retry, opts v1.CreateOptions) (result *v1alpha1.Retry, err error)
Create takes the representation of a retry and creates it. Returns the server's representation of the retry, and an error, if there is any.
func (*FakeRetries) Delete ¶
func (c *FakeRetries) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the retry and deletes it. Returns an error if one occurs.
func (*FakeRetries) DeleteCollection ¶
func (c *FakeRetries) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeRetries) Get ¶
func (c *FakeRetries) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Retry, err error)
Get takes name of the retry, and returns the corresponding retry object, and an error if there is any.
func (*FakeRetries) List ¶
func (c *FakeRetries) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.RetryList, err error)
List takes label and field selectors, and returns the list of Retries that match those selectors.
func (*FakeRetries) Patch ¶
func (c *FakeRetries) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Retry, err error)
Patch applies the patch and returns the patched retry.
func (*FakeRetries) Update ¶
func (c *FakeRetries) Update(ctx context.Context, retry *v1alpha1.Retry, opts v1.UpdateOptions) (result *v1alpha1.Retry, err error)
Update takes the representation of a retry and updates it. Returns the server's representation of the retry, and an error, if there is any.
func (*FakeRetries) Watch ¶
func (c *FakeRetries) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested retries.
type FakeUpstreamTrafficSettings ¶
type FakeUpstreamTrafficSettings struct { Fake *FakePolicyV1alpha1 // contains filtered or unexported fields }
FakeUpstreamTrafficSettings implements UpstreamTrafficSettingInterface
func (*FakeUpstreamTrafficSettings) Create ¶
func (c *FakeUpstreamTrafficSettings) Create(ctx context.Context, upstreamTrafficSetting *v1alpha1.UpstreamTrafficSetting, opts v1.CreateOptions) (result *v1alpha1.UpstreamTrafficSetting, err error)
Create takes the representation of a upstreamTrafficSetting and creates it. Returns the server's representation of the upstreamTrafficSetting, and an error, if there is any.
func (*FakeUpstreamTrafficSettings) Delete ¶
func (c *FakeUpstreamTrafficSettings) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the upstreamTrafficSetting and deletes it. Returns an error if one occurs.
func (*FakeUpstreamTrafficSettings) DeleteCollection ¶
func (c *FakeUpstreamTrafficSettings) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeUpstreamTrafficSettings) Get ¶
func (c *FakeUpstreamTrafficSettings) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.UpstreamTrafficSetting, err error)
Get takes name of the upstreamTrafficSetting, and returns the corresponding upstreamTrafficSetting object, and an error if there is any.
func (*FakeUpstreamTrafficSettings) List ¶
func (c *FakeUpstreamTrafficSettings) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.UpstreamTrafficSettingList, err error)
List takes label and field selectors, and returns the list of UpstreamTrafficSettings that match those selectors.
func (*FakeUpstreamTrafficSettings) Patch ¶
func (c *FakeUpstreamTrafficSettings) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.UpstreamTrafficSetting, err error)
Patch applies the patch and returns the patched upstreamTrafficSetting.
func (*FakeUpstreamTrafficSettings) Update ¶
func (c *FakeUpstreamTrafficSettings) Update(ctx context.Context, upstreamTrafficSetting *v1alpha1.UpstreamTrafficSetting, opts v1.UpdateOptions) (result *v1alpha1.UpstreamTrafficSetting, err error)
Update takes the representation of a upstreamTrafficSetting and updates it. Returns the server's representation of the upstreamTrafficSetting, and an error, if there is any.
func (*FakeUpstreamTrafficSettings) UpdateStatus ¶
func (c *FakeUpstreamTrafficSettings) UpdateStatus(ctx context.Context, upstreamTrafficSetting *v1alpha1.UpstreamTrafficSetting, opts v1.UpdateOptions) (*v1alpha1.UpstreamTrafficSetting, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeUpstreamTrafficSettings) Watch ¶
func (c *FakeUpstreamTrafficSettings) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested upstreamTrafficSettings.