Documentation
¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeBillingaccountV1alpha1
- func (c *FakeBillingaccountV1alpha1) IamBindings(namespace string) v1alpha1.IamBindingInterface
- func (c *FakeBillingaccountV1alpha1) IamMembers(namespace string) v1alpha1.IamMemberInterface
- func (c *FakeBillingaccountV1alpha1) IamPolicies(namespace string) v1alpha1.IamPolicyInterface
- func (c *FakeBillingaccountV1alpha1) RESTClient() rest.Interface
- type FakeIamBindings
- func (c *FakeIamBindings) Create(ctx context.Context, iamBinding *v1alpha1.IamBinding, opts v1.CreateOptions) (result *v1alpha1.IamBinding, err error)
- func (c *FakeIamBindings) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeIamBindings) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeIamBindings) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.IamBinding, err error)
- func (c *FakeIamBindings) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.IamBindingList, err error)
- func (c *FakeIamBindings) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.IamBinding, err error)
- func (c *FakeIamBindings) Update(ctx context.Context, iamBinding *v1alpha1.IamBinding, opts v1.UpdateOptions) (result *v1alpha1.IamBinding, err error)
- func (c *FakeIamBindings) UpdateStatus(ctx context.Context, iamBinding *v1alpha1.IamBinding, opts v1.UpdateOptions) (*v1alpha1.IamBinding, error)
- func (c *FakeIamBindings) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeIamMembers
- func (c *FakeIamMembers) Create(ctx context.Context, iamMember *v1alpha1.IamMember, opts v1.CreateOptions) (result *v1alpha1.IamMember, err error)
- func (c *FakeIamMembers) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeIamMembers) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeIamMembers) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.IamMember, err error)
- func (c *FakeIamMembers) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.IamMemberList, err error)
- func (c *FakeIamMembers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.IamMember, err error)
- func (c *FakeIamMembers) Update(ctx context.Context, iamMember *v1alpha1.IamMember, opts v1.UpdateOptions) (result *v1alpha1.IamMember, err error)
- func (c *FakeIamMembers) UpdateStatus(ctx context.Context, iamMember *v1alpha1.IamMember, opts v1.UpdateOptions) (*v1alpha1.IamMember, error)
- func (c *FakeIamMembers) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeIamPolicies
- func (c *FakeIamPolicies) Create(ctx context.Context, iamPolicy *v1alpha1.IamPolicy, opts v1.CreateOptions) (result *v1alpha1.IamPolicy, err error)
- func (c *FakeIamPolicies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeIamPolicies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeIamPolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.IamPolicy, err error)
- func (c *FakeIamPolicies) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.IamPolicyList, err error)
- func (c *FakeIamPolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.IamPolicy, err error)
- func (c *FakeIamPolicies) Update(ctx context.Context, iamPolicy *v1alpha1.IamPolicy, opts v1.UpdateOptions) (result *v1alpha1.IamPolicy, err error)
- func (c *FakeIamPolicies) UpdateStatus(ctx context.Context, iamPolicy *v1alpha1.IamPolicy, opts v1.UpdateOptions) (*v1alpha1.IamPolicy, error)
- func (c *FakeIamPolicies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeBillingaccountV1alpha1 ¶
func (*FakeBillingaccountV1alpha1) IamBindings ¶
func (c *FakeBillingaccountV1alpha1) IamBindings(namespace string) v1alpha1.IamBindingInterface
func (*FakeBillingaccountV1alpha1) IamMembers ¶
func (c *FakeBillingaccountV1alpha1) IamMembers(namespace string) v1alpha1.IamMemberInterface
func (*FakeBillingaccountV1alpha1) IamPolicies ¶
func (c *FakeBillingaccountV1alpha1) IamPolicies(namespace string) v1alpha1.IamPolicyInterface
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 ¶
func (c *FakeIamBindings) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
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 ¶
func (c *FakeIamMembers) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
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 ¶
func (c *FakeIamPolicies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested iamPolicies.