fake

package
v1.4.84 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2024 License: MIT Imports: 9 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 FakePlatformCredentialsSets added in v1.4.32

type FakePlatformCredentialsSets struct {
	Fake *FakeZalandoV1
	// contains filtered or unexported fields
}

FakePlatformCredentialsSets implements PlatformCredentialsSetInterface

func (*FakePlatformCredentialsSets) Create added in v1.4.32

func (c *FakePlatformCredentialsSets) Create(ctx context.Context, platformCredentialsSet *v1.PlatformCredentialsSet, opts metav1.CreateOptions) (result *v1.PlatformCredentialsSet, err error)

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

func (*FakePlatformCredentialsSets) Delete added in v1.4.32

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

func (*FakePlatformCredentialsSets) DeleteCollection added in v1.4.32

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

DeleteCollection deletes a collection of objects.

func (*FakePlatformCredentialsSets) Get added in v1.4.32

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

func (*FakePlatformCredentialsSets) List added in v1.4.32

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

func (*FakePlatformCredentialsSets) Patch added in v1.4.32

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

Patch applies the patch and returns the patched platformCredentialsSet.

func (*FakePlatformCredentialsSets) Update added in v1.4.32

func (c *FakePlatformCredentialsSets) Update(ctx context.Context, platformCredentialsSet *v1.PlatformCredentialsSet, opts metav1.UpdateOptions) (result *v1.PlatformCredentialsSet, err error)

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

func (*FakePlatformCredentialsSets) UpdateStatus added in v1.4.32

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

func (*FakePlatformCredentialsSets) Watch added in v1.4.32

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

type FakeStackSets

type FakeStackSets struct {
	Fake *FakeZalandoV1
	// contains filtered or unexported fields
}

FakeStackSets implements StackSetInterface

func (*FakeStackSets) Create

func (c *FakeStackSets) Create(ctx context.Context, stackSet *v1.StackSet, opts metav1.CreateOptions) (result *v1.StackSet, err error)

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

func (*FakeStackSets) Delete

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

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

func (*FakeStackSets) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeStackSets) Get

func (c *FakeStackSets) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.StackSet, err error)

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

func (*FakeStackSets) List

func (c *FakeStackSets) List(ctx context.Context, opts metav1.ListOptions) (result *v1.StackSetList, err error)

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

func (*FakeStackSets) Patch

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

Patch applies the patch and returns the patched stackSet.

func (*FakeStackSets) Update

func (c *FakeStackSets) Update(ctx context.Context, stackSet *v1.StackSet, opts metav1.UpdateOptions) (result *v1.StackSet, err error)

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

func (*FakeStackSets) UpdateStatus

func (c *FakeStackSets) UpdateStatus(ctx context.Context, stackSet *v1.StackSet, opts metav1.UpdateOptions) (*v1.StackSet, error)

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

func (*FakeStackSets) Watch

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

type FakeStacks

type FakeStacks struct {
	Fake *FakeZalandoV1
	// contains filtered or unexported fields
}

FakeStacks implements StackInterface

func (*FakeStacks) Create

func (c *FakeStacks) Create(ctx context.Context, stack *v1.Stack, opts metav1.CreateOptions) (result *v1.Stack, err error)

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

func (*FakeStacks) Delete

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

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

func (*FakeStacks) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeStacks) Get

func (c *FakeStacks) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.Stack, err error)

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

func (*FakeStacks) List

func (c *FakeStacks) List(ctx context.Context, opts metav1.ListOptions) (result *v1.StackList, err error)

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

func (*FakeStacks) Patch

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

Patch applies the patch and returns the patched stack.

func (*FakeStacks) Update

func (c *FakeStacks) Update(ctx context.Context, stack *v1.Stack, opts metav1.UpdateOptions) (result *v1.Stack, err error)

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

func (*FakeStacks) UpdateStatus

func (c *FakeStacks) UpdateStatus(ctx context.Context, stack *v1.Stack, opts metav1.UpdateOptions) (*v1.Stack, error)

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

func (*FakeStacks) Watch

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

type FakeZalandoV1

type FakeZalandoV1 struct {
	*testing.Fake
}

func (*FakeZalandoV1) PlatformCredentialsSets added in v1.4.32

func (c *FakeZalandoV1) PlatformCredentialsSets(namespace string) v1.PlatformCredentialsSetInterface

func (*FakeZalandoV1) RESTClient

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

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

func (*FakeZalandoV1) StackSets

func (c *FakeZalandoV1) StackSets(namespace string) v1.StackSetInterface

func (*FakeZalandoV1) Stacks

func (c *FakeZalandoV1) Stacks(namespace string) v1.StackInterface

Jump to

Keyboard shortcuts

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