fake

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: May 8, 2022 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 FakeAccountIamBindings

type FakeAccountIamBindings struct {
	Fake *FakeServiceV1alpha1
	// contains filtered or unexported fields
}

FakeAccountIamBindings implements AccountIamBindingInterface

func (*FakeAccountIamBindings) Create

func (c *FakeAccountIamBindings) Create(ctx context.Context, accountIamBinding *v1alpha1.AccountIamBinding, opts v1.CreateOptions) (result *v1alpha1.AccountIamBinding, err error)

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

func (*FakeAccountIamBindings) Delete

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

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

func (*FakeAccountIamBindings) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeAccountIamBindings) Get

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

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

func (*FakeAccountIamBindings) List

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

func (*FakeAccountIamBindings) Patch

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

Patch applies the patch and returns the patched accountIamBinding.

func (*FakeAccountIamBindings) Update

func (c *FakeAccountIamBindings) Update(ctx context.Context, accountIamBinding *v1alpha1.AccountIamBinding, opts v1.UpdateOptions) (result *v1alpha1.AccountIamBinding, err error)

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

func (*FakeAccountIamBindings) UpdateStatus

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

func (*FakeAccountIamBindings) Watch

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

type FakeAccountIamMembers

type FakeAccountIamMembers struct {
	Fake *FakeServiceV1alpha1
	// contains filtered or unexported fields
}

FakeAccountIamMembers implements AccountIamMemberInterface

func (*FakeAccountIamMembers) Create

func (c *FakeAccountIamMembers) Create(ctx context.Context, accountIamMember *v1alpha1.AccountIamMember, opts v1.CreateOptions) (result *v1alpha1.AccountIamMember, err error)

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

func (*FakeAccountIamMembers) Delete

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

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

func (*FakeAccountIamMembers) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeAccountIamMembers) Get

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

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

func (*FakeAccountIamMembers) List

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

func (*FakeAccountIamMembers) Patch

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

Patch applies the patch and returns the patched accountIamMember.

func (*FakeAccountIamMembers) Update

func (c *FakeAccountIamMembers) Update(ctx context.Context, accountIamMember *v1alpha1.AccountIamMember, opts v1.UpdateOptions) (result *v1alpha1.AccountIamMember, err error)

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

func (*FakeAccountIamMembers) UpdateStatus

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

func (*FakeAccountIamMembers) Watch

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

type FakeAccountIamPolicies

type FakeAccountIamPolicies struct {
	Fake *FakeServiceV1alpha1
	// contains filtered or unexported fields
}

FakeAccountIamPolicies implements AccountIamPolicyInterface

func (*FakeAccountIamPolicies) Create

func (c *FakeAccountIamPolicies) Create(ctx context.Context, accountIamPolicy *v1alpha1.AccountIamPolicy, opts v1.CreateOptions) (result *v1alpha1.AccountIamPolicy, err error)

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

func (*FakeAccountIamPolicies) Delete

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

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

func (*FakeAccountIamPolicies) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeAccountIamPolicies) Get

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

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

func (*FakeAccountIamPolicies) List

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

func (*FakeAccountIamPolicies) Patch

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

Patch applies the patch and returns the patched accountIamPolicy.

func (*FakeAccountIamPolicies) Update

func (c *FakeAccountIamPolicies) Update(ctx context.Context, accountIamPolicy *v1alpha1.AccountIamPolicy, opts v1.UpdateOptions) (result *v1alpha1.AccountIamPolicy, err error)

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

func (*FakeAccountIamPolicies) UpdateStatus

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

func (*FakeAccountIamPolicies) Watch

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

type FakeAccountKeys

type FakeAccountKeys struct {
	Fake *FakeServiceV1alpha1
	// contains filtered or unexported fields
}

FakeAccountKeys implements AccountKeyInterface

func (*FakeAccountKeys) Create

func (c *FakeAccountKeys) Create(ctx context.Context, accountKey *v1alpha1.AccountKey, opts v1.CreateOptions) (result *v1alpha1.AccountKey, err error)

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

func (*FakeAccountKeys) Delete

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

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

func (*FakeAccountKeys) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeAccountKeys) Get

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

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

func (*FakeAccountKeys) List

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

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

func (*FakeAccountKeys) Patch

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

Patch applies the patch and returns the patched accountKey.

func (*FakeAccountKeys) Update

func (c *FakeAccountKeys) Update(ctx context.Context, accountKey *v1alpha1.AccountKey, opts v1.UpdateOptions) (result *v1alpha1.AccountKey, err error)

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

func (*FakeAccountKeys) UpdateStatus

func (c *FakeAccountKeys) UpdateStatus(ctx context.Context, accountKey *v1alpha1.AccountKey, opts v1.UpdateOptions) (*v1alpha1.AccountKey, error)

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

func (*FakeAccountKeys) Watch

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

type FakeAccounts

type FakeAccounts struct {
	Fake *FakeServiceV1alpha1
	// contains filtered or unexported fields
}

FakeAccounts implements AccountInterface

func (*FakeAccounts) Create

func (c *FakeAccounts) Create(ctx context.Context, account *v1alpha1.Account, opts v1.CreateOptions) (result *v1alpha1.Account, err error)

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

func (*FakeAccounts) Delete

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

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

func (*FakeAccounts) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeAccounts) Get

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

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

func (*FakeAccounts) List

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

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

func (*FakeAccounts) Patch

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

Patch applies the patch and returns the patched account.

func (*FakeAccounts) Update

func (c *FakeAccounts) Update(ctx context.Context, account *v1alpha1.Account, opts v1.UpdateOptions) (result *v1alpha1.Account, err error)

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

func (*FakeAccounts) UpdateStatus

func (c *FakeAccounts) UpdateStatus(ctx context.Context, account *v1alpha1.Account, opts v1.UpdateOptions) (*v1alpha1.Account, error)

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

func (*FakeAccounts) Watch

func (c *FakeAccounts) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)

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

type FakeNetworkingConnections

type FakeNetworkingConnections struct {
	Fake *FakeServiceV1alpha1
	// contains filtered or unexported fields
}

FakeNetworkingConnections implements NetworkingConnectionInterface

func (*FakeNetworkingConnections) Create

func (c *FakeNetworkingConnections) Create(ctx context.Context, networkingConnection *v1alpha1.NetworkingConnection, opts v1.CreateOptions) (result *v1alpha1.NetworkingConnection, err error)

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

func (*FakeNetworkingConnections) Delete

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

func (*FakeNetworkingConnections) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeNetworkingConnections) Get

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

func (*FakeNetworkingConnections) List

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

func (*FakeNetworkingConnections) Patch

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

Patch applies the patch and returns the patched networkingConnection.

func (*FakeNetworkingConnections) Update

func (c *FakeNetworkingConnections) Update(ctx context.Context, networkingConnection *v1alpha1.NetworkingConnection, opts v1.UpdateOptions) (result *v1alpha1.NetworkingConnection, err error)

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

func (*FakeNetworkingConnections) UpdateStatus

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

func (*FakeNetworkingConnections) Watch

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

type FakeNetworkingPeeredDNSDomains added in v0.4.0

type FakeNetworkingPeeredDNSDomains struct {
	Fake *FakeServiceV1alpha1
	// contains filtered or unexported fields
}

FakeNetworkingPeeredDNSDomains implements NetworkingPeeredDNSDomainInterface

func (*FakeNetworkingPeeredDNSDomains) Create added in v0.4.0

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

func (*FakeNetworkingPeeredDNSDomains) Delete added in v0.4.0

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

func (*FakeNetworkingPeeredDNSDomains) DeleteCollection added in v0.4.0

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

DeleteCollection deletes a collection of objects.

func (*FakeNetworkingPeeredDNSDomains) Get added in v0.4.0

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

func (*FakeNetworkingPeeredDNSDomains) List added in v0.4.0

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

func (*FakeNetworkingPeeredDNSDomains) Patch added in v0.4.0

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

Patch applies the patch and returns the patched networkingPeeredDNSDomain.

func (*FakeNetworkingPeeredDNSDomains) Update added in v0.4.0

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

func (*FakeNetworkingPeeredDNSDomains) UpdateStatus added in v0.4.0

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

func (*FakeNetworkingPeeredDNSDomains) Watch added in v0.4.0

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

type FakeServiceV1alpha1

type FakeServiceV1alpha1 struct {
	*testing.Fake
}

func (*FakeServiceV1alpha1) AccountIamBindings

func (c *FakeServiceV1alpha1) AccountIamBindings(namespace string) v1alpha1.AccountIamBindingInterface

func (*FakeServiceV1alpha1) AccountIamMembers

func (c *FakeServiceV1alpha1) AccountIamMembers(namespace string) v1alpha1.AccountIamMemberInterface

func (*FakeServiceV1alpha1) AccountIamPolicies

func (c *FakeServiceV1alpha1) AccountIamPolicies(namespace string) v1alpha1.AccountIamPolicyInterface

func (*FakeServiceV1alpha1) AccountKeys

func (c *FakeServiceV1alpha1) AccountKeys(namespace string) v1alpha1.AccountKeyInterface

func (*FakeServiceV1alpha1) Accounts

func (c *FakeServiceV1alpha1) Accounts(namespace string) v1alpha1.AccountInterface

func (*FakeServiceV1alpha1) NetworkingConnections

func (c *FakeServiceV1alpha1) NetworkingConnections(namespace string) v1alpha1.NetworkingConnectionInterface

func (*FakeServiceV1alpha1) NetworkingPeeredDNSDomains added in v0.4.0

func (c *FakeServiceV1alpha1) NetworkingPeeredDNSDomains(namespace string) v1alpha1.NetworkingPeeredDNSDomainInterface

func (*FakeServiceV1alpha1) RESTClient

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