Documentation
¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeIamV1
- type FakeJwtIssuers
- func (c *FakeJwtIssuers) Apply(ctx context.Context, jwtIssuer *iamv1.JwtIssuerApplyConfiguration, ...) (result *v1.JwtIssuer, err error)
- func (c *FakeJwtIssuers) Create(ctx context.Context, jwtIssuer *v1.JwtIssuer, opts metav1.CreateOptions) (result *v1.JwtIssuer, err error)
- func (c *FakeJwtIssuers) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (c *FakeJwtIssuers) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (c *FakeJwtIssuers) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.JwtIssuer, err error)
- func (c *FakeJwtIssuers) List(ctx context.Context, opts metav1.ListOptions) (result *v1.JwtIssuerList, err error)
- func (c *FakeJwtIssuers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1.JwtIssuer, err error)
- func (c *FakeJwtIssuers) Update(ctx context.Context, jwtIssuer *v1.JwtIssuer, opts metav1.UpdateOptions) (result *v1.JwtIssuer, err error)
- func (c *FakeJwtIssuers) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
- type FakePolicies
- func (c *FakePolicies) Apply(ctx context.Context, policy *iamv1.PolicyApplyConfiguration, ...) (result *v1.Policy, err error)
- func (c *FakePolicies) Create(ctx context.Context, policy *v1.Policy, opts metav1.CreateOptions) (result *v1.Policy, err error)
- func (c *FakePolicies) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (c *FakePolicies) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (c *FakePolicies) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.Policy, err error)
- func (c *FakePolicies) List(ctx context.Context, opts metav1.ListOptions) (result *v1.PolicyList, err error)
- func (c *FakePolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1.Policy, err error)
- func (c *FakePolicies) Update(ctx context.Context, policy *v1.Policy, opts metav1.UpdateOptions) (result *v1.Policy, err error)
- func (c *FakePolicies) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
- type FakeRoles
- func (c *FakeRoles) Apply(ctx context.Context, role *iamv1.RoleApplyConfiguration, ...) (result *v1.Role, err error)
- func (c *FakeRoles) Create(ctx context.Context, role *v1.Role, opts metav1.CreateOptions) (result *v1.Role, err error)
- func (c *FakeRoles) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (c *FakeRoles) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (c *FakeRoles) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.Role, err error)
- func (c *FakeRoles) List(ctx context.Context, opts metav1.ListOptions) (result *v1.RoleList, err error)
- func (c *FakeRoles) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1.Role, err error)
- func (c *FakeRoles) Update(ctx context.Context, role *v1.Role, opts metav1.UpdateOptions) (result *v1.Role, err error)
- func (c *FakeRoles) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeIamV1 ¶
func (*FakeIamV1) JwtIssuers ¶
func (c *FakeIamV1) JwtIssuers(namespace string) v1.JwtIssuerInterface
func (*FakeIamV1) RESTClient ¶
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type FakeJwtIssuers ¶
type FakeJwtIssuers struct { Fake *FakeIamV1 // contains filtered or unexported fields }
FakeJwtIssuers implements JwtIssuerInterface
func (*FakeJwtIssuers) Apply ¶
func (c *FakeJwtIssuers) Apply(ctx context.Context, jwtIssuer *iamv1.JwtIssuerApplyConfiguration, opts metav1.ApplyOptions) (result *v1.JwtIssuer, err error)
Apply takes the given apply declarative configuration, applies it and returns the applied jwtIssuer.
func (*FakeJwtIssuers) Create ¶
func (c *FakeJwtIssuers) Create(ctx context.Context, jwtIssuer *v1.JwtIssuer, opts metav1.CreateOptions) (result *v1.JwtIssuer, err error)
Create takes the representation of a jwtIssuer and creates it. Returns the server's representation of the jwtIssuer, and an error, if there is any.
func (*FakeJwtIssuers) Delete ¶
func (c *FakeJwtIssuers) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
Delete takes name of the jwtIssuer and deletes it. Returns an error if one occurs.
func (*FakeJwtIssuers) DeleteCollection ¶
func (c *FakeJwtIssuers) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeJwtIssuers) Get ¶
func (c *FakeJwtIssuers) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.JwtIssuer, err error)
Get takes name of the jwtIssuer, and returns the corresponding jwtIssuer object, and an error if there is any.
func (*FakeJwtIssuers) List ¶
func (c *FakeJwtIssuers) List(ctx context.Context, opts metav1.ListOptions) (result *v1.JwtIssuerList, err error)
List takes label and field selectors, and returns the list of JwtIssuers that match those selectors.
func (*FakeJwtIssuers) Patch ¶
func (c *FakeJwtIssuers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.JwtIssuer, err error)
Patch applies the patch and returns the patched jwtIssuer.
func (*FakeJwtIssuers) Update ¶
func (c *FakeJwtIssuers) Update(ctx context.Context, jwtIssuer *v1.JwtIssuer, opts metav1.UpdateOptions) (result *v1.JwtIssuer, err error)
Update takes the representation of a jwtIssuer and updates it. Returns the server's representation of the jwtIssuer, and an error, if there is any.
func (*FakeJwtIssuers) Watch ¶
func (c *FakeJwtIssuers) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested jwtIssuers.
type FakePolicies ¶
type FakePolicies struct { Fake *FakeIamV1 // contains filtered or unexported fields }
FakePolicies implements PolicyInterface
func (*FakePolicies) Apply ¶
func (c *FakePolicies) Apply(ctx context.Context, policy *iamv1.PolicyApplyConfiguration, opts metav1.ApplyOptions) (result *v1.Policy, err error)
Apply takes the given apply declarative configuration, applies it and returns the applied policy.
func (*FakePolicies) Create ¶
func (c *FakePolicies) Create(ctx context.Context, policy *v1.Policy, opts metav1.CreateOptions) (result *v1.Policy, err error)
Create takes the representation of a policy and creates it. Returns the server's representation of the policy, and an error, if there is any.
func (*FakePolicies) Delete ¶
func (c *FakePolicies) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
Delete takes name of the policy and deletes it. Returns an error if one occurs.
func (*FakePolicies) DeleteCollection ¶
func (c *FakePolicies) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakePolicies) Get ¶
func (c *FakePolicies) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.Policy, err error)
Get takes name of the policy, and returns the corresponding policy object, and an error if there is any.
func (*FakePolicies) List ¶
func (c *FakePolicies) List(ctx context.Context, opts metav1.ListOptions) (result *v1.PolicyList, err error)
List takes label and field selectors, and returns the list of Policies that match those selectors.
func (*FakePolicies) Patch ¶
func (c *FakePolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.Policy, err error)
Patch applies the patch and returns the patched policy.
func (*FakePolicies) Update ¶
func (c *FakePolicies) Update(ctx context.Context, policy *v1.Policy, opts metav1.UpdateOptions) (result *v1.Policy, err error)
Update takes the representation of a policy and updates it. Returns the server's representation of the policy, and an error, if there is any.
func (*FakePolicies) Watch ¶
func (c *FakePolicies) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested policies.
type FakeRoles ¶
type FakeRoles struct { Fake *FakeIamV1 // contains filtered or unexported fields }
FakeRoles implements RoleInterface
func (*FakeRoles) Apply ¶
func (c *FakeRoles) Apply(ctx context.Context, role *iamv1.RoleApplyConfiguration, opts metav1.ApplyOptions) (result *v1.Role, err error)
Apply takes the given apply declarative configuration, applies it and returns the applied role.
func (*FakeRoles) Create ¶
func (c *FakeRoles) Create(ctx context.Context, role *v1.Role, opts metav1.CreateOptions) (result *v1.Role, err error)
Create takes the representation of a role and creates it. Returns the server's representation of the role, and an error, if there is any.
func (*FakeRoles) Delete ¶
Delete takes name of the role and deletes it. Returns an error if one occurs.
func (*FakeRoles) DeleteCollection ¶
func (c *FakeRoles) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeRoles) Get ¶
func (c *FakeRoles) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.Role, err error)
Get takes name of the role, and returns the corresponding role object, and an error if there is any.
func (*FakeRoles) List ¶
func (c *FakeRoles) List(ctx context.Context, opts metav1.ListOptions) (result *v1.RoleList, err error)
List takes label and field selectors, and returns the list of Roles that match those selectors.
func (*FakeRoles) Patch ¶
func (c *FakeRoles) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.Role, err error)
Patch applies the patch and returns the patched role.