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 FakeCookieStickinessPolicies

type FakeCookieStickinessPolicies struct {
	Fake *FakeLbV1alpha1
	// contains filtered or unexported fields
}

FakeCookieStickinessPolicies implements CookieStickinessPolicyInterface

func (*FakeCookieStickinessPolicies) Create

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

func (*FakeCookieStickinessPolicies) Delete

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

func (*FakeCookieStickinessPolicies) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeCookieStickinessPolicies) Get

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

func (*FakeCookieStickinessPolicies) List

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

func (*FakeCookieStickinessPolicies) Patch

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

Patch applies the patch and returns the patched cookieStickinessPolicy.

func (*FakeCookieStickinessPolicies) Update

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

func (*FakeCookieStickinessPolicies) UpdateStatus

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

func (*FakeCookieStickinessPolicies) Watch

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

type FakeLbV1alpha1

type FakeLbV1alpha1 struct {
	*testing.Fake
}

func (*FakeLbV1alpha1) CookieStickinessPolicies

func (c *FakeLbV1alpha1) CookieStickinessPolicies(namespace string) v1alpha1.CookieStickinessPolicyInterface

func (*FakeLbV1alpha1) Lbs

func (c *FakeLbV1alpha1) Lbs(namespace string) v1alpha1.LbInterface

func (*FakeLbV1alpha1) ListenerCertificates

func (c *FakeLbV1alpha1) ListenerCertificates(namespace string) v1alpha1.ListenerCertificateInterface

func (*FakeLbV1alpha1) ListenerRules

func (c *FakeLbV1alpha1) ListenerRules(namespace string) v1alpha1.ListenerRuleInterface

func (*FakeLbV1alpha1) Listeners

func (c *FakeLbV1alpha1) Listeners(namespace string) v1alpha1.ListenerInterface

func (*FakeLbV1alpha1) RESTClient

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

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

func (*FakeLbV1alpha1) SslNegotiationPolicies

func (c *FakeLbV1alpha1) SslNegotiationPolicies(namespace string) v1alpha1.SslNegotiationPolicyInterface

func (*FakeLbV1alpha1) TargetGroupAttachments

func (c *FakeLbV1alpha1) TargetGroupAttachments(namespace string) v1alpha1.TargetGroupAttachmentInterface

func (*FakeLbV1alpha1) TargetGroups

func (c *FakeLbV1alpha1) TargetGroups(namespace string) v1alpha1.TargetGroupInterface

type FakeLbs

type FakeLbs struct {
	Fake *FakeLbV1alpha1
	// contains filtered or unexported fields
}

FakeLbs implements LbInterface

func (*FakeLbs) Create

func (c *FakeLbs) Create(ctx context.Context, lb *v1alpha1.Lb, opts v1.CreateOptions) (result *v1alpha1.Lb, err error)

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

func (*FakeLbs) Delete

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

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

func (*FakeLbs) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeLbs) Get

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

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

func (*FakeLbs) List

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

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

func (*FakeLbs) Patch

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

Patch applies the patch and returns the patched lb.

func (*FakeLbs) Update

func (c *FakeLbs) Update(ctx context.Context, lb *v1alpha1.Lb, opts v1.UpdateOptions) (result *v1alpha1.Lb, err error)

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

func (*FakeLbs) UpdateStatus

func (c *FakeLbs) UpdateStatus(ctx context.Context, lb *v1alpha1.Lb, opts v1.UpdateOptions) (*v1alpha1.Lb, error)

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

func (*FakeLbs) Watch

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

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

type FakeListenerCertificates

type FakeListenerCertificates struct {
	Fake *FakeLbV1alpha1
	// contains filtered or unexported fields
}

FakeListenerCertificates implements ListenerCertificateInterface

func (*FakeListenerCertificates) Create

func (c *FakeListenerCertificates) Create(ctx context.Context, listenerCertificate *v1alpha1.ListenerCertificate, opts v1.CreateOptions) (result *v1alpha1.ListenerCertificate, err error)

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

func (*FakeListenerCertificates) Delete

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

func (*FakeListenerCertificates) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeListenerCertificates) Get

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

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

func (*FakeListenerCertificates) List

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

func (*FakeListenerCertificates) Patch

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

Patch applies the patch and returns the patched listenerCertificate.

func (*FakeListenerCertificates) Update

func (c *FakeListenerCertificates) Update(ctx context.Context, listenerCertificate *v1alpha1.ListenerCertificate, opts v1.UpdateOptions) (result *v1alpha1.ListenerCertificate, err error)

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

func (*FakeListenerCertificates) UpdateStatus

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

func (*FakeListenerCertificates) Watch

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

type FakeListenerRules

type FakeListenerRules struct {
	Fake *FakeLbV1alpha1
	// contains filtered or unexported fields
}

FakeListenerRules implements ListenerRuleInterface

func (*FakeListenerRules) Create

func (c *FakeListenerRules) Create(ctx context.Context, listenerRule *v1alpha1.ListenerRule, opts v1.CreateOptions) (result *v1alpha1.ListenerRule, err error)

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

func (*FakeListenerRules) Delete

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

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

func (*FakeListenerRules) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeListenerRules) Get

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

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

func (*FakeListenerRules) List

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

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

func (*FakeListenerRules) Patch

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

Patch applies the patch and returns the patched listenerRule.

func (*FakeListenerRules) Update

func (c *FakeListenerRules) Update(ctx context.Context, listenerRule *v1alpha1.ListenerRule, opts v1.UpdateOptions) (result *v1alpha1.ListenerRule, err error)

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

func (*FakeListenerRules) UpdateStatus

func (c *FakeListenerRules) UpdateStatus(ctx context.Context, listenerRule *v1alpha1.ListenerRule, opts v1.UpdateOptions) (*v1alpha1.ListenerRule, error)

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

func (*FakeListenerRules) Watch

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

type FakeListeners

type FakeListeners struct {
	Fake *FakeLbV1alpha1
	// 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 FakeSslNegotiationPolicies

type FakeSslNegotiationPolicies struct {
	Fake *FakeLbV1alpha1
	// contains filtered or unexported fields
}

FakeSslNegotiationPolicies implements SslNegotiationPolicyInterface

func (*FakeSslNegotiationPolicies) Create

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

func (*FakeSslNegotiationPolicies) Delete

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

func (*FakeSslNegotiationPolicies) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeSslNegotiationPolicies) Get

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

func (*FakeSslNegotiationPolicies) List

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

func (*FakeSslNegotiationPolicies) Patch

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

Patch applies the patch and returns the patched sslNegotiationPolicy.

func (*FakeSslNegotiationPolicies) Update

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

func (*FakeSslNegotiationPolicies) UpdateStatus

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

func (*FakeSslNegotiationPolicies) Watch

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

type FakeTargetGroupAttachments

type FakeTargetGroupAttachments struct {
	Fake *FakeLbV1alpha1
	// contains filtered or unexported fields
}

FakeTargetGroupAttachments implements TargetGroupAttachmentInterface

func (*FakeTargetGroupAttachments) Create

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

func (*FakeTargetGroupAttachments) Delete

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

func (*FakeTargetGroupAttachments) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeTargetGroupAttachments) Get

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

func (*FakeTargetGroupAttachments) List

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

func (*FakeTargetGroupAttachments) Patch

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

Patch applies the patch and returns the patched targetGroupAttachment.

func (*FakeTargetGroupAttachments) Update

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

func (*FakeTargetGroupAttachments) UpdateStatus

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

func (*FakeTargetGroupAttachments) Watch

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

type FakeTargetGroups

type FakeTargetGroups struct {
	Fake *FakeLbV1alpha1
	// contains filtered or unexported fields
}

FakeTargetGroups implements TargetGroupInterface

func (*FakeTargetGroups) Create

func (c *FakeTargetGroups) Create(ctx context.Context, targetGroup *v1alpha1.TargetGroup, opts v1.CreateOptions) (result *v1alpha1.TargetGroup, err error)

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

func (*FakeTargetGroups) Delete

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

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

func (*FakeTargetGroups) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeTargetGroups) Get

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

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

func (*FakeTargetGroups) List

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

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

func (*FakeTargetGroups) Patch

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

Patch applies the patch and returns the patched targetGroup.

func (*FakeTargetGroups) Update

func (c *FakeTargetGroups) Update(ctx context.Context, targetGroup *v1alpha1.TargetGroup, opts v1.UpdateOptions) (result *v1alpha1.TargetGroup, err error)

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

func (*FakeTargetGroups) UpdateStatus

func (c *FakeTargetGroups) UpdateStatus(ctx context.Context, targetGroup *v1alpha1.TargetGroup, opts v1.UpdateOptions) (*v1alpha1.TargetGroup, error)

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

func (*FakeTargetGroups) Watch

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

Jump to

Keyboard shortcuts

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