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 FakeBillingaccountV1alpha1

type FakeBillingaccountV1alpha1 struct {
	*testing.Fake
}

func (*FakeBillingaccountV1alpha1) IamBindings

func (*FakeBillingaccountV1alpha1) IamMembers

func (*FakeBillingaccountV1alpha1) IamPolicies

func (*FakeBillingaccountV1alpha1) RESTClient

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

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

type FakeIamBindings

type FakeIamBindings struct {
	Fake *FakeBillingaccountV1alpha1
	// contains filtered or unexported fields
}

FakeIamBindings implements IamBindingInterface

func (*FakeIamBindings) Create

func (c *FakeIamBindings) Create(ctx context.Context, iamBinding *v1alpha1.IamBinding, opts v1.CreateOptions) (result *v1alpha1.IamBinding, err error)

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

func (*FakeIamBindings) Delete

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

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

func (*FakeIamBindings) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeIamBindings) Get

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

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

func (*FakeIamBindings) List

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

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

func (*FakeIamBindings) Patch

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

Patch applies the patch and returns the patched iamBinding.

func (*FakeIamBindings) Update

func (c *FakeIamBindings) Update(ctx context.Context, iamBinding *v1alpha1.IamBinding, opts v1.UpdateOptions) (result *v1alpha1.IamBinding, err error)

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

func (*FakeIamBindings) UpdateStatus

func (c *FakeIamBindings) UpdateStatus(ctx context.Context, iamBinding *v1alpha1.IamBinding, opts v1.UpdateOptions) (*v1alpha1.IamBinding, error)

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

func (*FakeIamBindings) Watch

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

type FakeIamMembers

type FakeIamMembers struct {
	Fake *FakeBillingaccountV1alpha1
	// contains filtered or unexported fields
}

FakeIamMembers implements IamMemberInterface

func (*FakeIamMembers) Create

func (c *FakeIamMembers) Create(ctx context.Context, iamMember *v1alpha1.IamMember, opts v1.CreateOptions) (result *v1alpha1.IamMember, err error)

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

func (*FakeIamMembers) Delete

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

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

func (*FakeIamMembers) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeIamMembers) Get

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

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

func (*FakeIamMembers) List

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

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

func (*FakeIamMembers) Patch

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

Patch applies the patch and returns the patched iamMember.

func (*FakeIamMembers) Update

func (c *FakeIamMembers) Update(ctx context.Context, iamMember *v1alpha1.IamMember, opts v1.UpdateOptions) (result *v1alpha1.IamMember, err error)

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

func (*FakeIamMembers) UpdateStatus

func (c *FakeIamMembers) UpdateStatus(ctx context.Context, iamMember *v1alpha1.IamMember, opts v1.UpdateOptions) (*v1alpha1.IamMember, error)

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

func (*FakeIamMembers) Watch

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

type FakeIamPolicies

type FakeIamPolicies struct {
	Fake *FakeBillingaccountV1alpha1
	// contains filtered or unexported fields
}

FakeIamPolicies implements IamPolicyInterface

func (*FakeIamPolicies) Create

func (c *FakeIamPolicies) Create(ctx context.Context, iamPolicy *v1alpha1.IamPolicy, opts v1.CreateOptions) (result *v1alpha1.IamPolicy, err error)

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

func (*FakeIamPolicies) Delete

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

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

func (*FakeIamPolicies) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeIamPolicies) Get

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

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

func (*FakeIamPolicies) List

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

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

func (*FakeIamPolicies) Patch

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

Patch applies the patch and returns the patched iamPolicy.

func (*FakeIamPolicies) Update

func (c *FakeIamPolicies) Update(ctx context.Context, iamPolicy *v1alpha1.IamPolicy, opts v1.UpdateOptions) (result *v1alpha1.IamPolicy, err error)

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

func (*FakeIamPolicies) UpdateStatus

func (c *FakeIamPolicies) UpdateStatus(ctx context.Context, iamPolicy *v1alpha1.IamPolicy, opts v1.UpdateOptions) (*v1alpha1.IamPolicy, error)

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

func (*FakeIamPolicies) Watch

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

Jump to

Keyboard shortcuts

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