Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeIAMIdentityMappings
- func (c *FakeIAMIdentityMappings) Create(ctx context.Context, iAMIdentityMapping *v1alpha1.IAMIdentityMapping, ...) (result *v1alpha1.IAMIdentityMapping, err error)
- func (c *FakeIAMIdentityMappings) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeIAMIdentityMappings) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeIAMIdentityMappings) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.IAMIdentityMapping, err error)
- func (c *FakeIAMIdentityMappings) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.IAMIdentityMappingList, err error)
- func (c *FakeIAMIdentityMappings) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.IAMIdentityMapping, err error)
- func (c *FakeIAMIdentityMappings) Update(ctx context.Context, iAMIdentityMapping *v1alpha1.IAMIdentityMapping, ...) (result *v1alpha1.IAMIdentityMapping, err error)
- func (c *FakeIAMIdentityMappings) UpdateStatus(ctx context.Context, iAMIdentityMapping *v1alpha1.IAMIdentityMapping, ...) (*v1alpha1.IAMIdentityMapping, error)
- func (c *FakeIAMIdentityMappings) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeIamauthenticatorV1alpha1
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeIAMIdentityMappings ¶
type FakeIAMIdentityMappings struct {
Fake *FakeIamauthenticatorV1alpha1
}
FakeIAMIdentityMappings implements IAMIdentityMappingInterface
func (*FakeIAMIdentityMappings) Create ¶
func (c *FakeIAMIdentityMappings) Create(ctx context.Context, iAMIdentityMapping *v1alpha1.IAMIdentityMapping, opts v1.CreateOptions) (result *v1alpha1.IAMIdentityMapping, err error)
Create takes the representation of a iAMIdentityMapping and creates it. Returns the server's representation of the iAMIdentityMapping, and an error, if there is any.
func (*FakeIAMIdentityMappings) Delete ¶
func (c *FakeIAMIdentityMappings) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the iAMIdentityMapping and deletes it. Returns an error if one occurs.
func (*FakeIAMIdentityMappings) DeleteCollection ¶
func (c *FakeIAMIdentityMappings) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeIAMIdentityMappings) Get ¶
func (c *FakeIAMIdentityMappings) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.IAMIdentityMapping, err error)
Get takes name of the iAMIdentityMapping, and returns the corresponding iAMIdentityMapping object, and an error if there is any.
func (*FakeIAMIdentityMappings) List ¶
func (c *FakeIAMIdentityMappings) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.IAMIdentityMappingList, err error)
List takes label and field selectors, and returns the list of IAMIdentityMappings that match those selectors.
func (*FakeIAMIdentityMappings) Patch ¶
func (c *FakeIAMIdentityMappings) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.IAMIdentityMapping, err error)
Patch applies the patch and returns the patched iAMIdentityMapping.
func (*FakeIAMIdentityMappings) Update ¶
func (c *FakeIAMIdentityMappings) Update(ctx context.Context, iAMIdentityMapping *v1alpha1.IAMIdentityMapping, opts v1.UpdateOptions) (result *v1alpha1.IAMIdentityMapping, err error)
Update takes the representation of a iAMIdentityMapping and updates it. Returns the server's representation of the iAMIdentityMapping, and an error, if there is any.
func (*FakeIAMIdentityMappings) UpdateStatus ¶
func (c *FakeIAMIdentityMappings) UpdateStatus(ctx context.Context, iAMIdentityMapping *v1alpha1.IAMIdentityMapping, opts v1.UpdateOptions) (*v1alpha1.IAMIdentityMapping, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeIAMIdentityMappings) Watch ¶
func (c *FakeIAMIdentityMappings) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested iAMIdentityMappings.
type FakeIamauthenticatorV1alpha1 ¶
func (*FakeIamauthenticatorV1alpha1) IAMIdentityMappings ¶
func (c *FakeIamauthenticatorV1alpha1) IAMIdentityMappings() v1alpha1.IAMIdentityMappingInterface
func (*FakeIamauthenticatorV1alpha1) RESTClient ¶
func (c *FakeIamauthenticatorV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.