fake

package
v0.24.2 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 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 FakeApplicationStatuses

type FakeApplicationStatuses struct {
	Fake *FakeFiaasV1
	// contains filtered or unexported fields
}

FakeApplicationStatuses implements ApplicationStatusInterface

func (*FakeApplicationStatuses) Create

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

func (*FakeApplicationStatuses) Delete

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

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

func (*FakeApplicationStatuses) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeApplicationStatuses) Get

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

func (*FakeApplicationStatuses) List

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

func (*FakeApplicationStatuses) Patch

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

Patch applies the patch and returns the patched applicationStatus.

func (*FakeApplicationStatuses) Update

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

func (*FakeApplicationStatuses) Watch

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

type FakeApplications

type FakeApplications struct {
	Fake *FakeFiaasV1
	// contains filtered or unexported fields
}

FakeApplications implements ApplicationInterface

func (*FakeApplications) Create

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

func (*FakeApplications) Delete

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

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

func (*FakeApplications) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeApplications) Get

func (c *FakeApplications) Get(ctx context.Context, name string, options v1.GetOptions) (result *fiaasschibstediov1.Application, err error)

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

func (*FakeApplications) List

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

func (*FakeApplications) Patch

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

Patch applies the patch and returns the patched application.

func (*FakeApplications) Update

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

func (*FakeApplications) Watch

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

type FakeFiaasV1

type FakeFiaasV1 struct {
	*testing.Fake
}

func (*FakeFiaasV1) ApplicationStatuses

func (c *FakeFiaasV1) ApplicationStatuses(namespace string) v1.ApplicationStatusInterface

func (*FakeFiaasV1) Applications

func (c *FakeFiaasV1) Applications(namespace string) v1.ApplicationInterface

func (*FakeFiaasV1) RESTClient

func (c *FakeFiaasV1) 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