fake

package
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 8, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package fake has the automatically generated clients.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeBackendSets

type FakeBackendSets struct {
	Fake *FakeLoadbalancerV1alpha1
	// contains filtered or unexported fields
}

FakeBackendSets implements BackendSetInterface

func (*FakeBackendSets) Create

func (c *FakeBackendSets) Create(ctx context.Context, backendSet *v1alpha1.BackendSet, opts v1.CreateOptions) (result *v1alpha1.BackendSet, err error)

Create takes the representation of a backendSet and creates it. Returns the server's representation of the backendSet, and an error, if there is any.

func (*FakeBackendSets) Delete

func (c *FakeBackendSets) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the backendSet and deletes it. Returns an error if one occurs.

func (*FakeBackendSets) DeleteCollection

func (c *FakeBackendSets) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeBackendSets) Get

func (c *FakeBackendSets) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.BackendSet, err error)

Get takes name of the backendSet, and returns the corresponding backendSet object, and an error if there is any.

func (*FakeBackendSets) List

func (c *FakeBackendSets) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.BackendSetList, err error)

List takes label and field selectors, and returns the list of BackendSets that match those selectors.

func (*FakeBackendSets) Patch

func (c *FakeBackendSets) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.BackendSet, err error)

Patch applies the patch and returns the patched backendSet.

func (*FakeBackendSets) Update

func (c *FakeBackendSets) Update(ctx context.Context, backendSet *v1alpha1.BackendSet, opts v1.UpdateOptions) (result *v1alpha1.BackendSet, err error)

Update takes the representation of a backendSet and updates it. Returns the server's representation of the backendSet, and an error, if there is any.

func (*FakeBackendSets) UpdateStatus

func (c *FakeBackendSets) UpdateStatus(ctx context.Context, backendSet *v1alpha1.BackendSet, opts v1.UpdateOptions) (*v1alpha1.BackendSet, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeBackendSets) Watch

Watch returns a watch.Interface that watches the requested backendSets.

type FakeBackends

type FakeBackends struct {
	Fake *FakeLoadbalancerV1alpha1
	// contains filtered or unexported fields
}

FakeBackends implements BackendInterface

func (*FakeBackends) Create

func (c *FakeBackends) Create(ctx context.Context, backend *v1alpha1.Backend, opts v1.CreateOptions) (result *v1alpha1.Backend, err error)

Create takes the representation of a backend and creates it. Returns the server's representation of the backend, and an error, if there is any.

func (*FakeBackends) Delete

func (c *FakeBackends) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the backend and deletes it. Returns an error if one occurs.

func (*FakeBackends) DeleteCollection

func (c *FakeBackends) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeBackends) Get

func (c *FakeBackends) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Backend, err error)

Get takes name of the backend, and returns the corresponding backend object, and an error if there is any.

func (*FakeBackends) List

func (c *FakeBackends) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.BackendList, err error)

List takes label and field selectors, and returns the list of Backends that match those selectors.

func (*FakeBackends) Patch

func (c *FakeBackends) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Backend, err error)

Patch applies the patch and returns the patched backend.

func (*FakeBackends) Update

func (c *FakeBackends) Update(ctx context.Context, backend *v1alpha1.Backend, opts v1.UpdateOptions) (result *v1alpha1.Backend, err error)

Update takes the representation of a backend and updates it. Returns the server's representation of the backend, and an error, if there is any.

func (*FakeBackends) UpdateStatus

func (c *FakeBackends) UpdateStatus(ctx context.Context, backend *v1alpha1.Backend, opts v1.UpdateOptions) (*v1alpha1.Backend, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeBackends) Watch

func (c *FakeBackends) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)

Watch returns a watch.Interface that watches the requested backends.

type FakeCertificates

type FakeCertificates struct {
	Fake *FakeLoadbalancerV1alpha1
	// contains filtered or unexported fields
}

FakeCertificates implements CertificateInterface

func (*FakeCertificates) Create

func (c *FakeCertificates) Create(ctx context.Context, certificate *v1alpha1.Certificate, opts v1.CreateOptions) (result *v1alpha1.Certificate, err error)

Create takes the representation of a certificate and creates it. Returns the server's representation of the certificate, and an error, if there is any.

func (*FakeCertificates) Delete

func (c *FakeCertificates) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the certificate and deletes it. Returns an error if one occurs.

func (*FakeCertificates) DeleteCollection

func (c *FakeCertificates) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeCertificates) Get

func (c *FakeCertificates) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Certificate, err error)

Get takes name of the certificate, and returns the corresponding certificate object, and an error if there is any.

func (*FakeCertificates) List

func (c *FakeCertificates) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.CertificateList, err error)

List takes label and field selectors, and returns the list of Certificates that match those selectors.

func (*FakeCertificates) Patch

func (c *FakeCertificates) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Certificate, err error)

Patch applies the patch and returns the patched certificate.

func (*FakeCertificates) Update

func (c *FakeCertificates) Update(ctx context.Context, certificate *v1alpha1.Certificate, opts v1.UpdateOptions) (result *v1alpha1.Certificate, err error)

Update takes the representation of a certificate and updates it. Returns the server's representation of the certificate, and an error, if there is any.

func (*FakeCertificates) UpdateStatus

func (c *FakeCertificates) UpdateStatus(ctx context.Context, certificate *v1alpha1.Certificate, opts v1.UpdateOptions) (*v1alpha1.Certificate, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeCertificates) Watch

Watch returns a watch.Interface that watches the requested certificates.

type FakeHostnames

type FakeHostnames struct {
	Fake *FakeLoadbalancerV1alpha1
	// contains filtered or unexported fields
}

FakeHostnames implements HostnameInterface

func (*FakeHostnames) Create

func (c *FakeHostnames) Create(ctx context.Context, hostname *v1alpha1.Hostname, opts v1.CreateOptions) (result *v1alpha1.Hostname, err error)

Create takes the representation of a hostname and creates it. Returns the server's representation of the hostname, and an error, if there is any.

func (*FakeHostnames) Delete

func (c *FakeHostnames) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the hostname and deletes it. Returns an error if one occurs.

func (*FakeHostnames) DeleteCollection

func (c *FakeHostnames) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeHostnames) Get

func (c *FakeHostnames) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Hostname, err error)

Get takes name of the hostname, and returns the corresponding hostname object, and an error if there is any.

func (*FakeHostnames) List

func (c *FakeHostnames) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.HostnameList, err error)

List takes label and field selectors, and returns the list of Hostnames that match those selectors.

func (*FakeHostnames) Patch

func (c *FakeHostnames) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Hostname, err error)

Patch applies the patch and returns the patched hostname.

func (*FakeHostnames) Update

func (c *FakeHostnames) Update(ctx context.Context, hostname *v1alpha1.Hostname, opts v1.UpdateOptions) (result *v1alpha1.Hostname, err error)

Update takes the representation of a hostname and updates it. Returns the server's representation of the hostname, and an error, if there is any.

func (*FakeHostnames) UpdateStatus

func (c *FakeHostnames) UpdateStatus(ctx context.Context, hostname *v1alpha1.Hostname, opts v1.UpdateOptions) (*v1alpha1.Hostname, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeHostnames) Watch

Watch returns a watch.Interface that watches the requested hostnames.

type FakeListeners

type FakeListeners struct {
	Fake *FakeLoadbalancerV1alpha1
	// contains filtered or unexported fields
}

FakeListeners implements ListenerInterface

func (*FakeListeners) Create

func (c *FakeListeners) Create(ctx context.Context, listener *v1alpha1.Listener, opts v1.CreateOptions) (result *v1alpha1.Listener, err error)

Create takes the representation of a listener and creates it. Returns the server's representation of the listener, and an error, if there is any.

func (*FakeListeners) Delete

func (c *FakeListeners) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the listener and deletes it. Returns an error if one occurs.

func (*FakeListeners) DeleteCollection

func (c *FakeListeners) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeListeners) Get

func (c *FakeListeners) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Listener, err error)

Get takes name of the listener, and returns the corresponding listener object, and an error if there is any.

func (*FakeListeners) List

func (c *FakeListeners) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ListenerList, err error)

List takes label and field selectors, and returns the list of Listeners that match those selectors.

func (*FakeListeners) Patch

func (c *FakeListeners) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Listener, err error)

Patch applies the patch and returns the patched listener.

func (*FakeListeners) Update

func (c *FakeListeners) Update(ctx context.Context, listener *v1alpha1.Listener, opts v1.UpdateOptions) (result *v1alpha1.Listener, err error)

Update takes the representation of a listener and updates it. Returns the server's representation of the listener, and an error, if there is any.

func (*FakeListeners) UpdateStatus

func (c *FakeListeners) UpdateStatus(ctx context.Context, listener *v1alpha1.Listener, opts v1.UpdateOptions) (*v1alpha1.Listener, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeListeners) Watch

Watch returns a watch.Interface that watches the requested listeners.

type FakeLoadBalancerRoutingPolicies

type FakeLoadBalancerRoutingPolicies struct {
	Fake *FakeLoadbalancerV1alpha1
	// contains filtered or unexported fields
}

FakeLoadBalancerRoutingPolicies implements LoadBalancerRoutingPolicyInterface

func (*FakeLoadBalancerRoutingPolicies) Create

Create takes the representation of a loadBalancerRoutingPolicy and creates it. Returns the server's representation of the loadBalancerRoutingPolicy, and an error, if there is any.

func (*FakeLoadBalancerRoutingPolicies) Delete

Delete takes name of the loadBalancerRoutingPolicy and deletes it. Returns an error if one occurs.

func (*FakeLoadBalancerRoutingPolicies) DeleteCollection

func (c *FakeLoadBalancerRoutingPolicies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeLoadBalancerRoutingPolicies) Get

Get takes name of the loadBalancerRoutingPolicy, and returns the corresponding loadBalancerRoutingPolicy object, and an error if there is any.

func (*FakeLoadBalancerRoutingPolicies) List

List takes label and field selectors, and returns the list of LoadBalancerRoutingPolicies that match those selectors.

func (*FakeLoadBalancerRoutingPolicies) Patch

func (c *FakeLoadBalancerRoutingPolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.LoadBalancerRoutingPolicy, err error)

Patch applies the patch and returns the patched loadBalancerRoutingPolicy.

func (*FakeLoadBalancerRoutingPolicies) Update

Update takes the representation of a loadBalancerRoutingPolicy and updates it. Returns the server's representation of the loadBalancerRoutingPolicy, and an error, if there is any.

func (*FakeLoadBalancerRoutingPolicies) UpdateStatus

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeLoadBalancerRoutingPolicies) Watch

Watch returns a watch.Interface that watches the requested loadBalancerRoutingPolicies.

type FakeLoadBalancers

type FakeLoadBalancers struct {
	Fake *FakeLoadbalancerV1alpha1
	// contains filtered or unexported fields
}

FakeLoadBalancers implements LoadBalancerInterface

func (*FakeLoadBalancers) Create

func (c *FakeLoadBalancers) Create(ctx context.Context, loadBalancer *v1alpha1.LoadBalancer, opts v1.CreateOptions) (result *v1alpha1.LoadBalancer, err error)

Create takes the representation of a loadBalancer and creates it. Returns the server's representation of the loadBalancer, and an error, if there is any.

func (*FakeLoadBalancers) Delete

func (c *FakeLoadBalancers) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the loadBalancer and deletes it. Returns an error if one occurs.

func (*FakeLoadBalancers) DeleteCollection

func (c *FakeLoadBalancers) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeLoadBalancers) Get

func (c *FakeLoadBalancers) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.LoadBalancer, err error)

Get takes name of the loadBalancer, and returns the corresponding loadBalancer object, and an error if there is any.

func (*FakeLoadBalancers) List

func (c *FakeLoadBalancers) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.LoadBalancerList, err error)

List takes label and field selectors, and returns the list of LoadBalancers that match those selectors.

func (*FakeLoadBalancers) Patch

func (c *FakeLoadBalancers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.LoadBalancer, err error)

Patch applies the patch and returns the patched loadBalancer.

func (*FakeLoadBalancers) Update

func (c *FakeLoadBalancers) Update(ctx context.Context, loadBalancer *v1alpha1.LoadBalancer, opts v1.UpdateOptions) (result *v1alpha1.LoadBalancer, err error)

Update takes the representation of a loadBalancer and updates it. Returns the server's representation of the loadBalancer, and an error, if there is any.

func (*FakeLoadBalancers) UpdateStatus

func (c *FakeLoadBalancers) UpdateStatus(ctx context.Context, loadBalancer *v1alpha1.LoadBalancer, opts v1.UpdateOptions) (*v1alpha1.LoadBalancer, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeLoadBalancers) Watch

Watch returns a watch.Interface that watches the requested loadBalancers.

type FakeLoadbalancerV1alpha1

type FakeLoadbalancerV1alpha1 struct {
	*testing.Fake
}

func (*FakeLoadbalancerV1alpha1) BackendSets

func (c *FakeLoadbalancerV1alpha1) BackendSets(namespace string) v1alpha1.BackendSetInterface

func (*FakeLoadbalancerV1alpha1) Backends

func (*FakeLoadbalancerV1alpha1) Certificates

func (c *FakeLoadbalancerV1alpha1) Certificates(namespace string) v1alpha1.CertificateInterface

func (*FakeLoadbalancerV1alpha1) Hostnames

func (*FakeLoadbalancerV1alpha1) Listeners

func (*FakeLoadbalancerV1alpha1) LoadBalancerRoutingPolicies

func (c *FakeLoadbalancerV1alpha1) LoadBalancerRoutingPolicies(namespace string) v1alpha1.LoadBalancerRoutingPolicyInterface

func (*FakeLoadbalancerV1alpha1) LoadBalancers

func (c *FakeLoadbalancerV1alpha1) LoadBalancers(namespace string) v1alpha1.LoadBalancerInterface

func (*FakeLoadbalancerV1alpha1) PathRouteSets

func (c *FakeLoadbalancerV1alpha1) PathRouteSets(namespace string) v1alpha1.PathRouteSetInterface

func (*FakeLoadbalancerV1alpha1) RESTClient

func (c *FakeLoadbalancerV1alpha1) RESTClient() rest.Interface

RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.

func (*FakeLoadbalancerV1alpha1) RuleSets

func (*FakeLoadbalancerV1alpha1) SslCipherSuites

func (c *FakeLoadbalancerV1alpha1) SslCipherSuites(namespace string) v1alpha1.SslCipherSuiteInterface

type FakePathRouteSets

type FakePathRouteSets struct {
	Fake *FakeLoadbalancerV1alpha1
	// contains filtered or unexported fields
}

FakePathRouteSets implements PathRouteSetInterface

func (*FakePathRouteSets) Create

func (c *FakePathRouteSets) Create(ctx context.Context, pathRouteSet *v1alpha1.PathRouteSet, opts v1.CreateOptions) (result *v1alpha1.PathRouteSet, err error)

Create takes the representation of a pathRouteSet and creates it. Returns the server's representation of the pathRouteSet, and an error, if there is any.

func (*FakePathRouteSets) Delete

func (c *FakePathRouteSets) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the pathRouteSet and deletes it. Returns an error if one occurs.

func (*FakePathRouteSets) DeleteCollection

func (c *FakePathRouteSets) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakePathRouteSets) Get

func (c *FakePathRouteSets) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.PathRouteSet, err error)

Get takes name of the pathRouteSet, and returns the corresponding pathRouteSet object, and an error if there is any.

func (*FakePathRouteSets) List

func (c *FakePathRouteSets) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.PathRouteSetList, err error)

List takes label and field selectors, and returns the list of PathRouteSets that match those selectors.

func (*FakePathRouteSets) Patch

func (c *FakePathRouteSets) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.PathRouteSet, err error)

Patch applies the patch and returns the patched pathRouteSet.

func (*FakePathRouteSets) Update

func (c *FakePathRouteSets) Update(ctx context.Context, pathRouteSet *v1alpha1.PathRouteSet, opts v1.UpdateOptions) (result *v1alpha1.PathRouteSet, err error)

Update takes the representation of a pathRouteSet and updates it. Returns the server's representation of the pathRouteSet, and an error, if there is any.

func (*FakePathRouteSets) UpdateStatus

func (c *FakePathRouteSets) UpdateStatus(ctx context.Context, pathRouteSet *v1alpha1.PathRouteSet, opts v1.UpdateOptions) (*v1alpha1.PathRouteSet, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakePathRouteSets) Watch

Watch returns a watch.Interface that watches the requested pathRouteSets.

type FakeRuleSets

type FakeRuleSets struct {
	Fake *FakeLoadbalancerV1alpha1
	// contains filtered or unexported fields
}

FakeRuleSets implements RuleSetInterface

func (*FakeRuleSets) Create

func (c *FakeRuleSets) Create(ctx context.Context, ruleSet *v1alpha1.RuleSet, opts v1.CreateOptions) (result *v1alpha1.RuleSet, err error)

Create takes the representation of a ruleSet and creates it. Returns the server's representation of the ruleSet, and an error, if there is any.

func (*FakeRuleSets) Delete

func (c *FakeRuleSets) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the ruleSet and deletes it. Returns an error if one occurs.

func (*FakeRuleSets) DeleteCollection

func (c *FakeRuleSets) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeRuleSets) Get

func (c *FakeRuleSets) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.RuleSet, err error)

Get takes name of the ruleSet, and returns the corresponding ruleSet object, and an error if there is any.

func (*FakeRuleSets) List

func (c *FakeRuleSets) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.RuleSetList, err error)

List takes label and field selectors, and returns the list of RuleSets that match those selectors.

func (*FakeRuleSets) Patch

func (c *FakeRuleSets) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.RuleSet, err error)

Patch applies the patch and returns the patched ruleSet.

func (*FakeRuleSets) Update

func (c *FakeRuleSets) Update(ctx context.Context, ruleSet *v1alpha1.RuleSet, opts v1.UpdateOptions) (result *v1alpha1.RuleSet, err error)

Update takes the representation of a ruleSet and updates it. Returns the server's representation of the ruleSet, and an error, if there is any.

func (*FakeRuleSets) UpdateStatus

func (c *FakeRuleSets) UpdateStatus(ctx context.Context, ruleSet *v1alpha1.RuleSet, opts v1.UpdateOptions) (*v1alpha1.RuleSet, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeRuleSets) Watch

func (c *FakeRuleSets) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)

Watch returns a watch.Interface that watches the requested ruleSets.

type FakeSslCipherSuites

type FakeSslCipherSuites struct {
	Fake *FakeLoadbalancerV1alpha1
	// contains filtered or unexported fields
}

FakeSslCipherSuites implements SslCipherSuiteInterface

func (*FakeSslCipherSuites) Create

func (c *FakeSslCipherSuites) Create(ctx context.Context, sslCipherSuite *v1alpha1.SslCipherSuite, opts v1.CreateOptions) (result *v1alpha1.SslCipherSuite, err error)

Create takes the representation of a sslCipherSuite and creates it. Returns the server's representation of the sslCipherSuite, and an error, if there is any.

func (*FakeSslCipherSuites) Delete

func (c *FakeSslCipherSuites) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the sslCipherSuite and deletes it. Returns an error if one occurs.

func (*FakeSslCipherSuites) DeleteCollection

func (c *FakeSslCipherSuites) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeSslCipherSuites) Get

func (c *FakeSslCipherSuites) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.SslCipherSuite, err error)

Get takes name of the sslCipherSuite, and returns the corresponding sslCipherSuite object, and an error if there is any.

func (*FakeSslCipherSuites) List

List takes label and field selectors, and returns the list of SslCipherSuites that match those selectors.

func (*FakeSslCipherSuites) Patch

func (c *FakeSslCipherSuites) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.SslCipherSuite, err error)

Patch applies the patch and returns the patched sslCipherSuite.

func (*FakeSslCipherSuites) Update

func (c *FakeSslCipherSuites) Update(ctx context.Context, sslCipherSuite *v1alpha1.SslCipherSuite, opts v1.UpdateOptions) (result *v1alpha1.SslCipherSuite, err error)

Update takes the representation of a sslCipherSuite and updates it. Returns the server's representation of the sslCipherSuite, and an error, if there is any.

func (*FakeSslCipherSuites) UpdateStatus

func (c *FakeSslCipherSuites) UpdateStatus(ctx context.Context, sslCipherSuite *v1alpha1.SslCipherSuite, opts v1.UpdateOptions) (*v1alpha1.SslCipherSuite, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeSslCipherSuites) Watch

Watch returns a watch.Interface that watches the requested sslCipherSuites.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL