Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeGroups
- func (c *FakeGroups) Apply(ctx context.Context, group *userv1.GroupApplyConfiguration, ...) (result *v1.Group, err error)
- func (c *FakeGroups) Create(ctx context.Context, group *v1.Group, opts metav1.CreateOptions) (result *v1.Group, err error)
- func (c *FakeGroups) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (c *FakeGroups) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (c *FakeGroups) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.Group, err error)
- func (c *FakeGroups) List(ctx context.Context, opts metav1.ListOptions) (result *v1.GroupList, err error)
- func (c *FakeGroups) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1.Group, err error)
- func (c *FakeGroups) Update(ctx context.Context, group *v1.Group, opts metav1.UpdateOptions) (result *v1.Group, err error)
- func (c *FakeGroups) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
- type FakeIdentities
- func (c *FakeIdentities) Apply(ctx context.Context, identity *userv1.IdentityApplyConfiguration, ...) (result *v1.Identity, err error)
- func (c *FakeIdentities) Create(ctx context.Context, identity *v1.Identity, opts metav1.CreateOptions) (result *v1.Identity, err error)
- func (c *FakeIdentities) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (c *FakeIdentities) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (c *FakeIdentities) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.Identity, err error)
- func (c *FakeIdentities) List(ctx context.Context, opts metav1.ListOptions) (result *v1.IdentityList, err error)
- func (c *FakeIdentities) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1.Identity, err error)
- func (c *FakeIdentities) Update(ctx context.Context, identity *v1.Identity, opts metav1.UpdateOptions) (result *v1.Identity, err error)
- func (c *FakeIdentities) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
- type FakeUserIdentityMappings
- func (c *FakeUserIdentityMappings) Create(ctx context.Context, userIdentityMapping *v1.UserIdentityMapping, ...) (result *v1.UserIdentityMapping, err error)
- func (c *FakeUserIdentityMappings) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (c *FakeUserIdentityMappings) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.UserIdentityMapping, err error)
- func (c *FakeUserIdentityMappings) Update(ctx context.Context, userIdentityMapping *v1.UserIdentityMapping, ...) (result *v1.UserIdentityMapping, err error)
- type FakeUserV1
- type FakeUsers
- func (c *FakeUsers) Apply(ctx context.Context, user *userv1.UserApplyConfiguration, ...) (result *v1.User, err error)
- func (c *FakeUsers) Create(ctx context.Context, user *v1.User, opts metav1.CreateOptions) (result *v1.User, err error)
- func (c *FakeUsers) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (c *FakeUsers) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (c *FakeUsers) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.User, err error)
- func (c *FakeUsers) List(ctx context.Context, opts metav1.ListOptions) (result *v1.UserList, err error)
- func (c *FakeUsers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1.User, err error)
- func (c *FakeUsers) Update(ctx context.Context, user *v1.User, opts metav1.UpdateOptions) (result *v1.User, err error)
- func (c *FakeUsers) 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 FakeGroups ¶
type FakeGroups struct {
Fake *FakeUserV1
}
FakeGroups implements GroupInterface
func (*FakeGroups) Apply ¶
func (c *FakeGroups) Apply(ctx context.Context, group *userv1.GroupApplyConfiguration, opts metav1.ApplyOptions) (result *v1.Group, err error)
Apply takes the given apply declarative configuration, applies it and returns the applied group.
func (*FakeGroups) Create ¶
func (c *FakeGroups) Create(ctx context.Context, group *v1.Group, opts metav1.CreateOptions) (result *v1.Group, err error)
Create takes the representation of a group and creates it. Returns the server's representation of the group, and an error, if there is any.
func (*FakeGroups) Delete ¶
func (c *FakeGroups) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
Delete takes name of the group and deletes it. Returns an error if one occurs.
func (*FakeGroups) DeleteCollection ¶
func (c *FakeGroups) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeGroups) Get ¶
func (c *FakeGroups) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.Group, err error)
Get takes name of the group, and returns the corresponding group object, and an error if there is any.
func (*FakeGroups) List ¶
func (c *FakeGroups) List(ctx context.Context, opts metav1.ListOptions) (result *v1.GroupList, err error)
List takes label and field selectors, and returns the list of Groups that match those selectors.
func (*FakeGroups) Patch ¶
func (c *FakeGroups) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.Group, err error)
Patch applies the patch and returns the patched group.
func (*FakeGroups) Update ¶
func (c *FakeGroups) Update(ctx context.Context, group *v1.Group, opts metav1.UpdateOptions) (result *v1.Group, err error)
Update takes the representation of a group and updates it. Returns the server's representation of the group, and an error, if there is any.
func (*FakeGroups) Watch ¶
func (c *FakeGroups) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested groups.
type FakeIdentities ¶
type FakeIdentities struct {
Fake *FakeUserV1
}
FakeIdentities implements IdentityInterface
func (*FakeIdentities) Apply ¶
func (c *FakeIdentities) Apply(ctx context.Context, identity *userv1.IdentityApplyConfiguration, opts metav1.ApplyOptions) (result *v1.Identity, err error)
Apply takes the given apply declarative configuration, applies it and returns the applied identity.
func (*FakeIdentities) Create ¶
func (c *FakeIdentities) Create(ctx context.Context, identity *v1.Identity, opts metav1.CreateOptions) (result *v1.Identity, err error)
Create takes the representation of a identity and creates it. Returns the server's representation of the identity, and an error, if there is any.
func (*FakeIdentities) Delete ¶
func (c *FakeIdentities) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
Delete takes name of the identity and deletes it. Returns an error if one occurs.
func (*FakeIdentities) DeleteCollection ¶
func (c *FakeIdentities) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeIdentities) Get ¶
func (c *FakeIdentities) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.Identity, err error)
Get takes name of the identity, and returns the corresponding identity object, and an error if there is any.
func (*FakeIdentities) List ¶
func (c *FakeIdentities) List(ctx context.Context, opts metav1.ListOptions) (result *v1.IdentityList, err error)
List takes label and field selectors, and returns the list of Identities that match those selectors.
func (*FakeIdentities) Patch ¶
func (c *FakeIdentities) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.Identity, err error)
Patch applies the patch and returns the patched identity.
func (*FakeIdentities) Update ¶
func (c *FakeIdentities) Update(ctx context.Context, identity *v1.Identity, opts metav1.UpdateOptions) (result *v1.Identity, err error)
Update takes the representation of a identity and updates it. Returns the server's representation of the identity, and an error, if there is any.
func (*FakeIdentities) Watch ¶
func (c *FakeIdentities) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested identities.
type FakeUserIdentityMappings ¶
type FakeUserIdentityMappings struct {
Fake *FakeUserV1
}
FakeUserIdentityMappings implements UserIdentityMappingInterface
func (*FakeUserIdentityMappings) Create ¶
func (c *FakeUserIdentityMappings) Create(ctx context.Context, userIdentityMapping *v1.UserIdentityMapping, opts metav1.CreateOptions) (result *v1.UserIdentityMapping, err error)
Create takes the representation of a userIdentityMapping and creates it. Returns the server's representation of the userIdentityMapping, and an error, if there is any.
func (*FakeUserIdentityMappings) Delete ¶
func (c *FakeUserIdentityMappings) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
Delete takes name of the userIdentityMapping and deletes it. Returns an error if one occurs.
func (*FakeUserIdentityMappings) Get ¶
func (c *FakeUserIdentityMappings) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.UserIdentityMapping, err error)
Get takes name of the userIdentityMapping, and returns the corresponding userIdentityMapping object, and an error if there is any.
func (*FakeUserIdentityMappings) Update ¶
func (c *FakeUserIdentityMappings) Update(ctx context.Context, userIdentityMapping *v1.UserIdentityMapping, opts metav1.UpdateOptions) (result *v1.UserIdentityMapping, err error)
Update takes the representation of a userIdentityMapping and updates it. Returns the server's representation of the userIdentityMapping, and an error, if there is any.
type FakeUserV1 ¶
func (*FakeUserV1) Groups ¶
func (c *FakeUserV1) Groups() v1.GroupInterface
func (*FakeUserV1) Identities ¶
func (c *FakeUserV1) Identities() v1.IdentityInterface
func (*FakeUserV1) RESTClient ¶
func (c *FakeUserV1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeUserV1) UserIdentityMappings ¶
func (c *FakeUserV1) UserIdentityMappings() v1.UserIdentityMappingInterface
func (*FakeUserV1) Users ¶
func (c *FakeUserV1) Users() v1.UserInterface
type FakeUsers ¶
type FakeUsers struct {
Fake *FakeUserV1
}
FakeUsers implements UserInterface
func (*FakeUsers) Apply ¶
func (c *FakeUsers) Apply(ctx context.Context, user *userv1.UserApplyConfiguration, opts metav1.ApplyOptions) (result *v1.User, err error)
Apply takes the given apply declarative configuration, applies it and returns the applied user.
func (*FakeUsers) Create ¶
func (c *FakeUsers) Create(ctx context.Context, user *v1.User, opts metav1.CreateOptions) (result *v1.User, err error)
Create takes the representation of a user and creates it. Returns the server's representation of the user, and an error, if there is any.
func (*FakeUsers) Delete ¶
Delete takes name of the user and deletes it. Returns an error if one occurs.
func (*FakeUsers) DeleteCollection ¶
func (c *FakeUsers) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeUsers) Get ¶
func (c *FakeUsers) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.User, err error)
Get takes name of the user, and returns the corresponding user object, and an error if there is any.
func (*FakeUsers) List ¶
func (c *FakeUsers) List(ctx context.Context, opts metav1.ListOptions) (result *v1.UserList, err error)
List takes label and field selectors, and returns the list of Users that match those selectors.
func (*FakeUsers) Patch ¶
func (c *FakeUsers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.User, err error)
Patch applies the patch and returns the patched user.