fake

package
v0.0.0-...-85ffd96 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2019 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 FakeAWSAccessKeyRequests

type FakeAWSAccessKeyRequests struct {
	Fake *FakeEngineV1alpha1
	// contains filtered or unexported fields
}

FakeAWSAccessKeyRequests implements AWSAccessKeyRequestInterface

func (*FakeAWSAccessKeyRequests) Create

func (c *FakeAWSAccessKeyRequests) Create(aWSAccessKeyRequest *v1alpha1.AWSAccessKeyRequest) (result *v1alpha1.AWSAccessKeyRequest, err error)

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

func (*FakeAWSAccessKeyRequests) Delete

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

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

func (*FakeAWSAccessKeyRequests) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeAWSAccessKeyRequests) Get

func (c *FakeAWSAccessKeyRequests) Get(name string, options v1.GetOptions) (result *v1alpha1.AWSAccessKeyRequest, err error)

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

func (*FakeAWSAccessKeyRequests) List

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

func (*FakeAWSAccessKeyRequests) Patch

func (c *FakeAWSAccessKeyRequests) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.AWSAccessKeyRequest, err error)

Patch applies the patch and returns the patched aWSAccessKeyRequest.

func (*FakeAWSAccessKeyRequests) Update

func (c *FakeAWSAccessKeyRequests) Update(aWSAccessKeyRequest *v1alpha1.AWSAccessKeyRequest) (result *v1alpha1.AWSAccessKeyRequest, err error)

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

func (*FakeAWSAccessKeyRequests) UpdateStatus

func (c *FakeAWSAccessKeyRequests) UpdateStatus(aWSAccessKeyRequest *v1alpha1.AWSAccessKeyRequest) (*v1alpha1.AWSAccessKeyRequest, error)

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

func (*FakeAWSAccessKeyRequests) Watch

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

type FakeAWSRoles

type FakeAWSRoles struct {
	Fake *FakeEngineV1alpha1
	// contains filtered or unexported fields
}

FakeAWSRoles implements AWSRoleInterface

func (*FakeAWSRoles) Create

func (c *FakeAWSRoles) Create(aWSRole *v1alpha1.AWSRole) (result *v1alpha1.AWSRole, err error)

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

func (*FakeAWSRoles) Delete

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

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

func (*FakeAWSRoles) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeAWSRoles) Get

func (c *FakeAWSRoles) Get(name string, options v1.GetOptions) (result *v1alpha1.AWSRole, err error)

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

func (*FakeAWSRoles) List

func (c *FakeAWSRoles) List(opts v1.ListOptions) (result *v1alpha1.AWSRoleList, err error)

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

func (*FakeAWSRoles) Patch

func (c *FakeAWSRoles) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.AWSRole, err error)

Patch applies the patch and returns the patched aWSRole.

func (*FakeAWSRoles) Update

func (c *FakeAWSRoles) Update(aWSRole *v1alpha1.AWSRole) (result *v1alpha1.AWSRole, err error)

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

func (*FakeAWSRoles) UpdateStatus

func (c *FakeAWSRoles) UpdateStatus(aWSRole *v1alpha1.AWSRole) (*v1alpha1.AWSRole, error)

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

func (*FakeAWSRoles) Watch

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

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

type FakeAzureAccessKeyRequests

type FakeAzureAccessKeyRequests struct {
	Fake *FakeEngineV1alpha1
	// contains filtered or unexported fields
}

FakeAzureAccessKeyRequests implements AzureAccessKeyRequestInterface

func (*FakeAzureAccessKeyRequests) Create

func (c *FakeAzureAccessKeyRequests) Create(azureAccessKeyRequest *v1alpha1.AzureAccessKeyRequest) (result *v1alpha1.AzureAccessKeyRequest, err error)

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

func (*FakeAzureAccessKeyRequests) Delete

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

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

func (*FakeAzureAccessKeyRequests) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeAzureAccessKeyRequests) Get

func (c *FakeAzureAccessKeyRequests) Get(name string, options v1.GetOptions) (result *v1alpha1.AzureAccessKeyRequest, err error)

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

func (*FakeAzureAccessKeyRequests) List

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

func (*FakeAzureAccessKeyRequests) Patch

func (c *FakeAzureAccessKeyRequests) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.AzureAccessKeyRequest, err error)

Patch applies the patch and returns the patched azureAccessKeyRequest.

func (*FakeAzureAccessKeyRequests) Update

func (c *FakeAzureAccessKeyRequests) Update(azureAccessKeyRequest *v1alpha1.AzureAccessKeyRequest) (result *v1alpha1.AzureAccessKeyRequest, err error)

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

func (*FakeAzureAccessKeyRequests) UpdateStatus

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

func (*FakeAzureAccessKeyRequests) Watch

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

type FakeAzureRoles

type FakeAzureRoles struct {
	Fake *FakeEngineV1alpha1
	// contains filtered or unexported fields
}

FakeAzureRoles implements AzureRoleInterface

func (*FakeAzureRoles) Create

func (c *FakeAzureRoles) Create(azureRole *v1alpha1.AzureRole) (result *v1alpha1.AzureRole, err error)

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

func (*FakeAzureRoles) Delete

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

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

func (*FakeAzureRoles) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeAzureRoles) Get

func (c *FakeAzureRoles) Get(name string, options v1.GetOptions) (result *v1alpha1.AzureRole, err error)

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

func (*FakeAzureRoles) List

func (c *FakeAzureRoles) List(opts v1.ListOptions) (result *v1alpha1.AzureRoleList, err error)

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

func (*FakeAzureRoles) Patch

func (c *FakeAzureRoles) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.AzureRole, err error)

Patch applies the patch and returns the patched azureRole.

func (*FakeAzureRoles) Update

func (c *FakeAzureRoles) Update(azureRole *v1alpha1.AzureRole) (result *v1alpha1.AzureRole, err error)

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

func (*FakeAzureRoles) UpdateStatus

func (c *FakeAzureRoles) UpdateStatus(azureRole *v1alpha1.AzureRole) (*v1alpha1.AzureRole, error)

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

func (*FakeAzureRoles) Watch

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

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

type FakeEngineV1alpha1

type FakeEngineV1alpha1 struct {
	*testing.Fake
}

func (*FakeEngineV1alpha1) AWSAccessKeyRequests

func (c *FakeEngineV1alpha1) AWSAccessKeyRequests(namespace string) v1alpha1.AWSAccessKeyRequestInterface

func (*FakeEngineV1alpha1) AWSRoles

func (c *FakeEngineV1alpha1) AWSRoles(namespace string) v1alpha1.AWSRoleInterface

func (*FakeEngineV1alpha1) AzureAccessKeyRequests

func (c *FakeEngineV1alpha1) AzureAccessKeyRequests(namespace string) v1alpha1.AzureAccessKeyRequestInterface

func (*FakeEngineV1alpha1) AzureRoles

func (c *FakeEngineV1alpha1) AzureRoles(namespace string) v1alpha1.AzureRoleInterface

func (*FakeEngineV1alpha1) GCPAccessKeyRequests

func (c *FakeEngineV1alpha1) GCPAccessKeyRequests(namespace string) v1alpha1.GCPAccessKeyRequestInterface

func (*FakeEngineV1alpha1) GCPRoles

func (c *FakeEngineV1alpha1) GCPRoles(namespace string) v1alpha1.GCPRoleInterface

func (*FakeEngineV1alpha1) RESTClient

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

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

type FakeGCPAccessKeyRequests

type FakeGCPAccessKeyRequests struct {
	Fake *FakeEngineV1alpha1
	// contains filtered or unexported fields
}

FakeGCPAccessKeyRequests implements GCPAccessKeyRequestInterface

func (*FakeGCPAccessKeyRequests) Create

func (c *FakeGCPAccessKeyRequests) Create(gCPAccessKeyRequest *v1alpha1.GCPAccessKeyRequest) (result *v1alpha1.GCPAccessKeyRequest, err error)

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

func (*FakeGCPAccessKeyRequests) Delete

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

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

func (*FakeGCPAccessKeyRequests) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeGCPAccessKeyRequests) Get

func (c *FakeGCPAccessKeyRequests) Get(name string, options v1.GetOptions) (result *v1alpha1.GCPAccessKeyRequest, err error)

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

func (*FakeGCPAccessKeyRequests) List

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

func (*FakeGCPAccessKeyRequests) Patch

func (c *FakeGCPAccessKeyRequests) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.GCPAccessKeyRequest, err error)

Patch applies the patch and returns the patched gCPAccessKeyRequest.

func (*FakeGCPAccessKeyRequests) Update

func (c *FakeGCPAccessKeyRequests) Update(gCPAccessKeyRequest *v1alpha1.GCPAccessKeyRequest) (result *v1alpha1.GCPAccessKeyRequest, err error)

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

func (*FakeGCPAccessKeyRequests) UpdateStatus

func (c *FakeGCPAccessKeyRequests) UpdateStatus(gCPAccessKeyRequest *v1alpha1.GCPAccessKeyRequest) (*v1alpha1.GCPAccessKeyRequest, error)

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

func (*FakeGCPAccessKeyRequests) Watch

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

type FakeGCPRoles

type FakeGCPRoles struct {
	Fake *FakeEngineV1alpha1
	// contains filtered or unexported fields
}

FakeGCPRoles implements GCPRoleInterface

func (*FakeGCPRoles) Create

func (c *FakeGCPRoles) Create(gCPRole *v1alpha1.GCPRole) (result *v1alpha1.GCPRole, err error)

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

func (*FakeGCPRoles) Delete

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

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

func (*FakeGCPRoles) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeGCPRoles) Get

func (c *FakeGCPRoles) Get(name string, options v1.GetOptions) (result *v1alpha1.GCPRole, err error)

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

func (*FakeGCPRoles) List

func (c *FakeGCPRoles) List(opts v1.ListOptions) (result *v1alpha1.GCPRoleList, err error)

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

func (*FakeGCPRoles) Patch

func (c *FakeGCPRoles) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.GCPRole, err error)

Patch applies the patch and returns the patched gCPRole.

func (*FakeGCPRoles) Update

func (c *FakeGCPRoles) Update(gCPRole *v1alpha1.GCPRole) (result *v1alpha1.GCPRole, err error)

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

func (*FakeGCPRoles) UpdateStatus

func (c *FakeGCPRoles) UpdateStatus(gCPRole *v1alpha1.GCPRole) (*v1alpha1.GCPRole, error)

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

func (*FakeGCPRoles) Watch

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

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

Jump to

Keyboard shortcuts

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