fake

package
v0.0.0-...-0e4f5d7 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2022 License: Apache-2.0 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 FakeAddressSpaceSchemas

type FakeAddressSpaceSchemas struct {
	Fake *FakeEnmasseV1beta1
}

FakeAddressSpaceSchemas implements AddressSpaceSchemaInterface

func (*FakeAddressSpaceSchemas) Create

func (c *FakeAddressSpaceSchemas) Create(addressSpaceSchema *v1beta1.AddressSpaceSchema) (result *v1beta1.AddressSpaceSchema, err error)

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

func (*FakeAddressSpaceSchemas) Delete

func (c *FakeAddressSpaceSchemas) Delete(name string, options *v1.DeleteOptions) error

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

func (*FakeAddressSpaceSchemas) DeleteCollection

func (c *FakeAddressSpaceSchemas) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeAddressSpaceSchemas) Get

func (c *FakeAddressSpaceSchemas) Get(name string, options v1.GetOptions) (result *v1beta1.AddressSpaceSchema, err error)

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

func (*FakeAddressSpaceSchemas) List

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

func (*FakeAddressSpaceSchemas) Patch

func (c *FakeAddressSpaceSchemas) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.AddressSpaceSchema, err error)

Patch applies the patch and returns the patched addressSpaceSchema.

func (*FakeAddressSpaceSchemas) Update

func (c *FakeAddressSpaceSchemas) Update(addressSpaceSchema *v1beta1.AddressSpaceSchema) (result *v1beta1.AddressSpaceSchema, err error)

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

func (*FakeAddressSpaceSchemas) Watch

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

type FakeAddressSpaces

type FakeAddressSpaces struct {
	Fake *FakeEnmasseV1beta1
	// contains filtered or unexported fields
}

FakeAddressSpaces implements AddressSpaceInterface

func (*FakeAddressSpaces) Create

func (c *FakeAddressSpaces) Create(addressSpace *v1beta1.AddressSpace) (result *v1beta1.AddressSpace, err error)

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

func (*FakeAddressSpaces) Delete

func (c *FakeAddressSpaces) Delete(name string, options *v1.DeleteOptions) error

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

func (*FakeAddressSpaces) DeleteCollection

func (c *FakeAddressSpaces) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeAddressSpaces) Get

func (c *FakeAddressSpaces) Get(name string, options v1.GetOptions) (result *v1beta1.AddressSpace, err error)

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

func (*FakeAddressSpaces) List

func (c *FakeAddressSpaces) List(opts v1.ListOptions) (result *v1beta1.AddressSpaceList, err error)

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

func (*FakeAddressSpaces) Patch

func (c *FakeAddressSpaces) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.AddressSpace, err error)

Patch applies the patch and returns the patched addressSpace.

func (*FakeAddressSpaces) Update

func (c *FakeAddressSpaces) Update(addressSpace *v1beta1.AddressSpace) (result *v1beta1.AddressSpace, err error)

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

func (*FakeAddressSpaces) UpdateStatus

func (c *FakeAddressSpaces) UpdateStatus(addressSpace *v1beta1.AddressSpace) (*v1beta1.AddressSpace, error)

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

func (*FakeAddressSpaces) Watch

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

type FakeAddresses

type FakeAddresses struct {
	Fake *FakeEnmasseV1beta1
	// contains filtered or unexported fields
}

FakeAddresses implements AddressInterface

func (*FakeAddresses) Create

func (c *FakeAddresses) Create(address *v1beta1.Address) (result *v1beta1.Address, err error)

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

func (*FakeAddresses) Delete

func (c *FakeAddresses) Delete(name string, options *v1.DeleteOptions) error

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

func (*FakeAddresses) DeleteCollection

func (c *FakeAddresses) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeAddresses) Get

func (c *FakeAddresses) Get(name string, options v1.GetOptions) (result *v1beta1.Address, err error)

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

func (*FakeAddresses) List

func (c *FakeAddresses) List(opts v1.ListOptions) (result *v1beta1.AddressList, err error)

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

func (*FakeAddresses) Patch

func (c *FakeAddresses) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.Address, err error)

Patch applies the patch and returns the patched address.

func (*FakeAddresses) Update

func (c *FakeAddresses) Update(address *v1beta1.Address) (result *v1beta1.Address, err error)

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

func (*FakeAddresses) Watch

func (c *FakeAddresses) Watch(opts v1.ListOptions) (watch.Interface, error)

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

type FakeAuthenticationServices

type FakeAuthenticationServices struct {
	Fake *FakeEnmasseV1beta1
	// contains filtered or unexported fields
}

FakeAuthenticationServices implements AuthenticationServiceInterface

func (*FakeAuthenticationServices) Create

func (c *FakeAuthenticationServices) Create(authenticationService *v1beta1.AuthenticationService) (result *v1beta1.AuthenticationService, err error)

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

func (*FakeAuthenticationServices) Delete

func (c *FakeAuthenticationServices) Delete(name string, options *v1.DeleteOptions) error

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

func (*FakeAuthenticationServices) DeleteCollection

func (c *FakeAuthenticationServices) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeAuthenticationServices) Get

func (c *FakeAuthenticationServices) Get(name string, options v1.GetOptions) (result *v1beta1.AuthenticationService, err error)

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

func (*FakeAuthenticationServices) List

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

func (*FakeAuthenticationServices) Patch

func (c *FakeAuthenticationServices) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.AuthenticationService, err error)

Patch applies the patch and returns the patched authenticationService.

func (*FakeAuthenticationServices) Update

func (c *FakeAuthenticationServices) Update(authenticationService *v1beta1.AuthenticationService) (result *v1beta1.AuthenticationService, err error)

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

func (*FakeAuthenticationServices) Watch

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

type FakeEnmasseV1beta1

type FakeEnmasseV1beta1 struct {
	*testing.Fake
}

func (*FakeEnmasseV1beta1) AddressSpaceSchemas

func (c *FakeEnmasseV1beta1) AddressSpaceSchemas() v1beta1.AddressSpaceSchemaInterface

func (*FakeEnmasseV1beta1) AddressSpaces

func (c *FakeEnmasseV1beta1) AddressSpaces(namespace string) v1beta1.AddressSpaceInterface

func (*FakeEnmasseV1beta1) Addresses

func (c *FakeEnmasseV1beta1) Addresses(namespace string) v1beta1.AddressInterface

func (*FakeEnmasseV1beta1) AuthenticationServices

func (c *FakeEnmasseV1beta1) AuthenticationServices(namespace string) v1beta1.AuthenticationServiceInterface

func (*FakeEnmasseV1beta1) RESTClient

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