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