fake

package
v0.0.0-...-e1628ab Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 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 FakeEndpointGroups

type FakeEndpointGroups struct {
	Fake *FakeGroupV1alpha1
}

FakeEndpointGroups implements EndpointGroupInterface

func (*FakeEndpointGroups) Create

func (c *FakeEndpointGroups) Create(ctx context.Context, endpointGroup *v1alpha1.EndpointGroup, opts v1.CreateOptions) (result *v1alpha1.EndpointGroup, err error)

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

func (*FakeEndpointGroups) Delete

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

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

func (*FakeEndpointGroups) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeEndpointGroups) Get

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

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

func (*FakeEndpointGroups) List

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

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

func (*FakeEndpointGroups) Patch

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

Patch applies the patch and returns the patched endpointGroup.

func (*FakeEndpointGroups) Update

func (c *FakeEndpointGroups) Update(ctx context.Context, endpointGroup *v1alpha1.EndpointGroup, opts v1.UpdateOptions) (result *v1alpha1.EndpointGroup, err error)

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

func (*FakeEndpointGroups) Watch

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

type FakeGroupMembersPatches

type FakeGroupMembersPatches struct {
	Fake *FakeGroupV1alpha1
}

FakeGroupMembersPatches implements GroupMembersPatchInterface

func (*FakeGroupMembersPatches) Create

func (c *FakeGroupMembersPatches) Create(ctx context.Context, groupMembersPatch *v1alpha1.GroupMembersPatch, opts v1.CreateOptions) (result *v1alpha1.GroupMembersPatch, err error)

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

func (*FakeGroupMembersPatches) Delete

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

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

func (*FakeGroupMembersPatches) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeGroupMembersPatches) Get

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

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

func (*FakeGroupMembersPatches) List

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

func (*FakeGroupMembersPatches) Patch

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

Patch applies the patch and returns the patched groupMembersPatch.

func (*FakeGroupMembersPatches) Update

func (c *FakeGroupMembersPatches) Update(ctx context.Context, groupMembersPatch *v1alpha1.GroupMembersPatch, opts v1.UpdateOptions) (result *v1alpha1.GroupMembersPatch, err error)

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

func (*FakeGroupMembersPatches) Watch

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

type FakeGroupMemberses

type FakeGroupMemberses struct {
	Fake *FakeGroupV1alpha1
}

FakeGroupMemberses implements GroupMembersInterface

func (*FakeGroupMemberses) Create

func (c *FakeGroupMemberses) Create(ctx context.Context, groupMembers *v1alpha1.GroupMembers, opts v1.CreateOptions) (result *v1alpha1.GroupMembers, err error)

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

func (*FakeGroupMemberses) Delete

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

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

func (*FakeGroupMemberses) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeGroupMemberses) Get

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

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

func (*FakeGroupMemberses) List

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

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

func (*FakeGroupMemberses) Patch

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

Patch applies the patch and returns the patched groupMembers.

func (*FakeGroupMemberses) Update

func (c *FakeGroupMemberses) Update(ctx context.Context, groupMembers *v1alpha1.GroupMembers, opts v1.UpdateOptions) (result *v1alpha1.GroupMembers, err error)

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

func (*FakeGroupMemberses) Watch

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

type FakeGroupV1alpha1

type FakeGroupV1alpha1 struct {
	*testing.Fake
}

func (*FakeGroupV1alpha1) EndpointGroups

func (*FakeGroupV1alpha1) GroupMembersPatches

func (c *FakeGroupV1alpha1) GroupMembersPatches() v1alpha1.GroupMembersPatchInterface

func (*FakeGroupV1alpha1) GroupMemberses

func (c *FakeGroupV1alpha1) GroupMemberses() v1alpha1.GroupMembersInterface

func (*FakeGroupV1alpha1) RESTClient

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

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

Jump to

Keyboard shortcuts

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