Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeGlobalRoleBindings
- func (c *FakeGlobalRoleBindings) Create(ctx context.Context, globalRoleBinding *v1alpha2.GlobalRoleBinding, ...) (result *v1alpha2.GlobalRoleBinding, err error)
- func (c *FakeGlobalRoleBindings) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeGlobalRoleBindings) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeGlobalRoleBindings) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha2.GlobalRoleBinding, err error)
- func (c *FakeGlobalRoleBindings) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha2.GlobalRoleBindingList, err error)
- func (c *FakeGlobalRoleBindings) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha2.GlobalRoleBinding, err error)
- func (c *FakeGlobalRoleBindings) Update(ctx context.Context, globalRoleBinding *v1alpha2.GlobalRoleBinding, ...) (result *v1alpha2.GlobalRoleBinding, err error)
- func (c *FakeGlobalRoleBindings) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeGlobalRoles
- func (c *FakeGlobalRoles) Create(ctx context.Context, globalRole *v1alpha2.GlobalRole, opts v1.CreateOptions) (result *v1alpha2.GlobalRole, err error)
- func (c *FakeGlobalRoles) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeGlobalRoles) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeGlobalRoles) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha2.GlobalRole, err error)
- func (c *FakeGlobalRoles) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha2.GlobalRoleList, err error)
- func (c *FakeGlobalRoles) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha2.GlobalRole, err error)
- func (c *FakeGlobalRoles) Update(ctx context.Context, globalRole *v1alpha2.GlobalRole, opts v1.UpdateOptions) (result *v1alpha2.GlobalRole, err error)
- func (c *FakeGlobalRoles) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeGroupBindings
- func (c *FakeGroupBindings) Create(ctx context.Context, groupBinding *v1alpha2.GroupBinding, ...) (result *v1alpha2.GroupBinding, err error)
- func (c *FakeGroupBindings) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeGroupBindings) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeGroupBindings) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha2.GroupBinding, err error)
- func (c *FakeGroupBindings) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha2.GroupBindingList, err error)
- func (c *FakeGroupBindings) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha2.GroupBinding, err error)
- func (c *FakeGroupBindings) Update(ctx context.Context, groupBinding *v1alpha2.GroupBinding, ...) (result *v1alpha2.GroupBinding, err error)
- func (c *FakeGroupBindings) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeGroups
- func (c *FakeGroups) Create(ctx context.Context, group *v1alpha2.Group, opts v1.CreateOptions) (result *v1alpha2.Group, err error)
- func (c *FakeGroups) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeGroups) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeGroups) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha2.Group, err error)
- func (c *FakeGroups) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha2.GroupList, err error)
- func (c *FakeGroups) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha2.Group, err error)
- func (c *FakeGroups) Update(ctx context.Context, group *v1alpha2.Group, opts v1.UpdateOptions) (result *v1alpha2.Group, err error)
- func (c *FakeGroups) UpdateStatus(ctx context.Context, group *v1alpha2.Group, opts v1.UpdateOptions) (*v1alpha2.Group, error)
- func (c *FakeGroups) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeIamV1alpha2
- func (c *FakeIamV1alpha2) GlobalRoleBindings() v1alpha2.GlobalRoleBindingInterface
- func (c *FakeIamV1alpha2) GlobalRoles() v1alpha2.GlobalRoleInterface
- func (c *FakeIamV1alpha2) GroupBindings() v1alpha2.GroupBindingInterface
- func (c *FakeIamV1alpha2) Groups() v1alpha2.GroupInterface
- func (c *FakeIamV1alpha2) LoginRecords() v1alpha2.LoginRecordInterface
- func (c *FakeIamV1alpha2) RESTClient() rest.Interface
- func (c *FakeIamV1alpha2) RoleBases() v1alpha2.RoleBaseInterface
- func (c *FakeIamV1alpha2) Users() v1alpha2.UserInterface
- func (c *FakeIamV1alpha2) WorkspaceRoleBindings() v1alpha2.WorkspaceRoleBindingInterface
- func (c *FakeIamV1alpha2) WorkspaceRoles() v1alpha2.WorkspaceRoleInterface
- type FakeLoginRecords
- func (c *FakeLoginRecords) Create(ctx context.Context, loginRecord *v1alpha2.LoginRecord, opts v1.CreateOptions) (result *v1alpha2.LoginRecord, err error)
- func (c *FakeLoginRecords) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeLoginRecords) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeLoginRecords) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha2.LoginRecord, err error)
- func (c *FakeLoginRecords) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha2.LoginRecordList, err error)
- func (c *FakeLoginRecords) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha2.LoginRecord, err error)
- func (c *FakeLoginRecords) Update(ctx context.Context, loginRecord *v1alpha2.LoginRecord, opts v1.UpdateOptions) (result *v1alpha2.LoginRecord, err error)
- func (c *FakeLoginRecords) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeRoleBases
- func (c *FakeRoleBases) Create(ctx context.Context, roleBase *v1alpha2.RoleBase, opts v1.CreateOptions) (result *v1alpha2.RoleBase, err error)
- func (c *FakeRoleBases) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeRoleBases) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeRoleBases) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha2.RoleBase, err error)
- func (c *FakeRoleBases) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha2.RoleBaseList, err error)
- func (c *FakeRoleBases) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha2.RoleBase, err error)
- func (c *FakeRoleBases) Update(ctx context.Context, roleBase *v1alpha2.RoleBase, opts v1.UpdateOptions) (result *v1alpha2.RoleBase, err error)
- func (c *FakeRoleBases) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeUsers
- func (c *FakeUsers) Create(ctx context.Context, user *v1alpha2.User, opts v1.CreateOptions) (result *v1alpha2.User, err error)
- func (c *FakeUsers) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeUsers) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeUsers) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha2.User, err error)
- func (c *FakeUsers) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha2.UserList, err error)
- func (c *FakeUsers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha2.User, err error)
- func (c *FakeUsers) Update(ctx context.Context, user *v1alpha2.User, opts v1.UpdateOptions) (result *v1alpha2.User, err error)
- func (c *FakeUsers) UpdateStatus(ctx context.Context, user *v1alpha2.User, opts v1.UpdateOptions) (*v1alpha2.User, error)
- func (c *FakeUsers) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeWorkspaceRoleBindings
- func (c *FakeWorkspaceRoleBindings) Create(ctx context.Context, workspaceRoleBinding *v1alpha2.WorkspaceRoleBinding, ...) (result *v1alpha2.WorkspaceRoleBinding, err error)
- func (c *FakeWorkspaceRoleBindings) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeWorkspaceRoleBindings) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeWorkspaceRoleBindings) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha2.WorkspaceRoleBinding, err error)
- func (c *FakeWorkspaceRoleBindings) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha2.WorkspaceRoleBindingList, err error)
- func (c *FakeWorkspaceRoleBindings) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha2.WorkspaceRoleBinding, err error)
- func (c *FakeWorkspaceRoleBindings) Update(ctx context.Context, workspaceRoleBinding *v1alpha2.WorkspaceRoleBinding, ...) (result *v1alpha2.WorkspaceRoleBinding, err error)
- func (c *FakeWorkspaceRoleBindings) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeWorkspaceRoles
- func (c *FakeWorkspaceRoles) Create(ctx context.Context, workspaceRole *v1alpha2.WorkspaceRole, ...) (result *v1alpha2.WorkspaceRole, err error)
- func (c *FakeWorkspaceRoles) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeWorkspaceRoles) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeWorkspaceRoles) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha2.WorkspaceRole, err error)
- func (c *FakeWorkspaceRoles) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha2.WorkspaceRoleList, err error)
- func (c *FakeWorkspaceRoles) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha2.WorkspaceRole, err error)
- func (c *FakeWorkspaceRoles) Update(ctx context.Context, workspaceRole *v1alpha2.WorkspaceRole, ...) (result *v1alpha2.WorkspaceRole, err error)
- func (c *FakeWorkspaceRoles) 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 FakeGlobalRoleBindings ¶
type FakeGlobalRoleBindings struct {
Fake *FakeIamV1alpha2
}
FakeGlobalRoleBindings implements GlobalRoleBindingInterface
func (*FakeGlobalRoleBindings) Create ¶
func (c *FakeGlobalRoleBindings) Create(ctx context.Context, globalRoleBinding *v1alpha2.GlobalRoleBinding, opts v1.CreateOptions) (result *v1alpha2.GlobalRoleBinding, err error)
Create takes the representation of a globalRoleBinding and creates it. Returns the server's representation of the globalRoleBinding, and an error, if there is any.
func (*FakeGlobalRoleBindings) Delete ¶
func (c *FakeGlobalRoleBindings) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the globalRoleBinding and deletes it. Returns an error if one occurs.
func (*FakeGlobalRoleBindings) DeleteCollection ¶
func (c *FakeGlobalRoleBindings) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeGlobalRoleBindings) Get ¶
func (c *FakeGlobalRoleBindings) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha2.GlobalRoleBinding, err error)
Get takes name of the globalRoleBinding, and returns the corresponding globalRoleBinding object, and an error if there is any.
func (*FakeGlobalRoleBindings) List ¶
func (c *FakeGlobalRoleBindings) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha2.GlobalRoleBindingList, err error)
List takes label and field selectors, and returns the list of GlobalRoleBindings that match those selectors.
func (*FakeGlobalRoleBindings) Patch ¶
func (c *FakeGlobalRoleBindings) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha2.GlobalRoleBinding, err error)
Patch applies the patch and returns the patched globalRoleBinding.
func (*FakeGlobalRoleBindings) Update ¶
func (c *FakeGlobalRoleBindings) Update(ctx context.Context, globalRoleBinding *v1alpha2.GlobalRoleBinding, opts v1.UpdateOptions) (result *v1alpha2.GlobalRoleBinding, err error)
Update takes the representation of a globalRoleBinding and updates it. Returns the server's representation of the globalRoleBinding, and an error, if there is any.
func (*FakeGlobalRoleBindings) Watch ¶
func (c *FakeGlobalRoleBindings) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested globalRoleBindings.
type FakeGlobalRoles ¶
type FakeGlobalRoles struct {
Fake *FakeIamV1alpha2
}
FakeGlobalRoles implements GlobalRoleInterface
func (*FakeGlobalRoles) Create ¶
func (c *FakeGlobalRoles) Create(ctx context.Context, globalRole *v1alpha2.GlobalRole, opts v1.CreateOptions) (result *v1alpha2.GlobalRole, err error)
Create takes the representation of a globalRole and creates it. Returns the server's representation of the globalRole, and an error, if there is any.
func (*FakeGlobalRoles) Delete ¶
func (c *FakeGlobalRoles) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the globalRole and deletes it. Returns an error if one occurs.
func (*FakeGlobalRoles) DeleteCollection ¶
func (c *FakeGlobalRoles) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeGlobalRoles) Get ¶
func (c *FakeGlobalRoles) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha2.GlobalRole, err error)
Get takes name of the globalRole, and returns the corresponding globalRole object, and an error if there is any.
func (*FakeGlobalRoles) List ¶
func (c *FakeGlobalRoles) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha2.GlobalRoleList, err error)
List takes label and field selectors, and returns the list of GlobalRoles that match those selectors.
func (*FakeGlobalRoles) Patch ¶
func (c *FakeGlobalRoles) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha2.GlobalRole, err error)
Patch applies the patch and returns the patched globalRole.
func (*FakeGlobalRoles) Update ¶
func (c *FakeGlobalRoles) Update(ctx context.Context, globalRole *v1alpha2.GlobalRole, opts v1.UpdateOptions) (result *v1alpha2.GlobalRole, err error)
Update takes the representation of a globalRole and updates it. Returns the server's representation of the globalRole, and an error, if there is any.
func (*FakeGlobalRoles) Watch ¶
func (c *FakeGlobalRoles) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested globalRoles.
type FakeGroupBindings ¶
type FakeGroupBindings struct {
Fake *FakeIamV1alpha2
}
FakeGroupBindings implements GroupBindingInterface
func (*FakeGroupBindings) Create ¶
func (c *FakeGroupBindings) Create(ctx context.Context, groupBinding *v1alpha2.GroupBinding, opts v1.CreateOptions) (result *v1alpha2.GroupBinding, err error)
Create takes the representation of a groupBinding and creates it. Returns the server's representation of the groupBinding, and an error, if there is any.
func (*FakeGroupBindings) Delete ¶
func (c *FakeGroupBindings) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the groupBinding and deletes it. Returns an error if one occurs.
func (*FakeGroupBindings) DeleteCollection ¶
func (c *FakeGroupBindings) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeGroupBindings) Get ¶
func (c *FakeGroupBindings) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha2.GroupBinding, err error)
Get takes name of the groupBinding, and returns the corresponding groupBinding object, and an error if there is any.
func (*FakeGroupBindings) List ¶
func (c *FakeGroupBindings) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha2.GroupBindingList, err error)
List takes label and field selectors, and returns the list of GroupBindings that match those selectors.
func (*FakeGroupBindings) Patch ¶
func (c *FakeGroupBindings) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha2.GroupBinding, err error)
Patch applies the patch and returns the patched groupBinding.
func (*FakeGroupBindings) Update ¶
func (c *FakeGroupBindings) Update(ctx context.Context, groupBinding *v1alpha2.GroupBinding, opts v1.UpdateOptions) (result *v1alpha2.GroupBinding, err error)
Update takes the representation of a groupBinding and updates it. Returns the server's representation of the groupBinding, and an error, if there is any.
func (*FakeGroupBindings) Watch ¶
func (c *FakeGroupBindings) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested groupBindings.
type FakeGroups ¶
type FakeGroups struct {
Fake *FakeIamV1alpha2
}
FakeGroups implements GroupInterface
func (*FakeGroups) Create ¶
func (c *FakeGroups) Create(ctx context.Context, group *v1alpha2.Group, opts v1.CreateOptions) (result *v1alpha2.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 v1.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 v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeGroups) Get ¶
func (c *FakeGroups) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha2.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 v1.ListOptions) (result *v1alpha2.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 v1.PatchOptions, subresources ...string) (result *v1alpha2.Group, err error)
Patch applies the patch and returns the patched group.
func (*FakeGroups) Update ¶
func (c *FakeGroups) Update(ctx context.Context, group *v1alpha2.Group, opts v1.UpdateOptions) (result *v1alpha2.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) UpdateStatus ¶
func (c *FakeGroups) UpdateStatus(ctx context.Context, group *v1alpha2.Group, opts v1.UpdateOptions) (*v1alpha2.Group, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeGroups) Watch ¶
func (c *FakeGroups) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested groups.
type FakeIamV1alpha2 ¶
func (*FakeIamV1alpha2) GlobalRoleBindings ¶
func (c *FakeIamV1alpha2) GlobalRoleBindings() v1alpha2.GlobalRoleBindingInterface
func (*FakeIamV1alpha2) GlobalRoles ¶
func (c *FakeIamV1alpha2) GlobalRoles() v1alpha2.GlobalRoleInterface
func (*FakeIamV1alpha2) GroupBindings ¶
func (c *FakeIamV1alpha2) GroupBindings() v1alpha2.GroupBindingInterface
func (*FakeIamV1alpha2) Groups ¶
func (c *FakeIamV1alpha2) Groups() v1alpha2.GroupInterface
func (*FakeIamV1alpha2) LoginRecords ¶
func (c *FakeIamV1alpha2) LoginRecords() v1alpha2.LoginRecordInterface
func (*FakeIamV1alpha2) RESTClient ¶
func (c *FakeIamV1alpha2) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeIamV1alpha2) RoleBases ¶
func (c *FakeIamV1alpha2) RoleBases() v1alpha2.RoleBaseInterface
func (*FakeIamV1alpha2) Users ¶
func (c *FakeIamV1alpha2) Users() v1alpha2.UserInterface
func (*FakeIamV1alpha2) WorkspaceRoleBindings ¶
func (c *FakeIamV1alpha2) WorkspaceRoleBindings() v1alpha2.WorkspaceRoleBindingInterface
func (*FakeIamV1alpha2) WorkspaceRoles ¶
func (c *FakeIamV1alpha2) WorkspaceRoles() v1alpha2.WorkspaceRoleInterface
type FakeLoginRecords ¶
type FakeLoginRecords struct {
Fake *FakeIamV1alpha2
}
FakeLoginRecords implements LoginRecordInterface
func (*FakeLoginRecords) Create ¶
func (c *FakeLoginRecords) Create(ctx context.Context, loginRecord *v1alpha2.LoginRecord, opts v1.CreateOptions) (result *v1alpha2.LoginRecord, err error)
Create takes the representation of a loginRecord and creates it. Returns the server's representation of the loginRecord, and an error, if there is any.
func (*FakeLoginRecords) Delete ¶
func (c *FakeLoginRecords) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the loginRecord and deletes it. Returns an error if one occurs.
func (*FakeLoginRecords) DeleteCollection ¶
func (c *FakeLoginRecords) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeLoginRecords) Get ¶
func (c *FakeLoginRecords) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha2.LoginRecord, err error)
Get takes name of the loginRecord, and returns the corresponding loginRecord object, and an error if there is any.
func (*FakeLoginRecords) List ¶
func (c *FakeLoginRecords) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha2.LoginRecordList, err error)
List takes label and field selectors, and returns the list of LoginRecords that match those selectors.
func (*FakeLoginRecords) Patch ¶
func (c *FakeLoginRecords) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha2.LoginRecord, err error)
Patch applies the patch and returns the patched loginRecord.
func (*FakeLoginRecords) Update ¶
func (c *FakeLoginRecords) Update(ctx context.Context, loginRecord *v1alpha2.LoginRecord, opts v1.UpdateOptions) (result *v1alpha2.LoginRecord, err error)
Update takes the representation of a loginRecord and updates it. Returns the server's representation of the loginRecord, and an error, if there is any.
func (*FakeLoginRecords) Watch ¶
func (c *FakeLoginRecords) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested loginRecords.
type FakeRoleBases ¶
type FakeRoleBases struct {
Fake *FakeIamV1alpha2
}
FakeRoleBases implements RoleBaseInterface
func (*FakeRoleBases) Create ¶
func (c *FakeRoleBases) Create(ctx context.Context, roleBase *v1alpha2.RoleBase, opts v1.CreateOptions) (result *v1alpha2.RoleBase, err error)
Create takes the representation of a roleBase and creates it. Returns the server's representation of the roleBase, and an error, if there is any.
func (*FakeRoleBases) Delete ¶
func (c *FakeRoleBases) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the roleBase and deletes it. Returns an error if one occurs.
func (*FakeRoleBases) DeleteCollection ¶
func (c *FakeRoleBases) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeRoleBases) Get ¶
func (c *FakeRoleBases) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha2.RoleBase, err error)
Get takes name of the roleBase, and returns the corresponding roleBase object, and an error if there is any.
func (*FakeRoleBases) List ¶
func (c *FakeRoleBases) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha2.RoleBaseList, err error)
List takes label and field selectors, and returns the list of RoleBases that match those selectors.
func (*FakeRoleBases) Patch ¶
func (c *FakeRoleBases) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha2.RoleBase, err error)
Patch applies the patch and returns the patched roleBase.
func (*FakeRoleBases) Update ¶
func (c *FakeRoleBases) Update(ctx context.Context, roleBase *v1alpha2.RoleBase, opts v1.UpdateOptions) (result *v1alpha2.RoleBase, err error)
Update takes the representation of a roleBase and updates it. Returns the server's representation of the roleBase, and an error, if there is any.
func (*FakeRoleBases) Watch ¶
func (c *FakeRoleBases) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested roleBases.
type FakeUsers ¶
type FakeUsers struct {
Fake *FakeIamV1alpha2
}
FakeUsers implements UserInterface
func (*FakeUsers) Create ¶
func (c *FakeUsers) Create(ctx context.Context, user *v1alpha2.User, opts v1.CreateOptions) (result *v1alpha2.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 v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeUsers) Get ¶
func (c *FakeUsers) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha2.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 v1.ListOptions) (result *v1alpha2.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 v1.PatchOptions, subresources ...string) (result *v1alpha2.User, err error)
Patch applies the patch and returns the patched user.
func (*FakeUsers) Update ¶
func (c *FakeUsers) Update(ctx context.Context, user *v1alpha2.User, opts v1.UpdateOptions) (result *v1alpha2.User, err error)
Update takes the representation of a user and updates it. Returns the server's representation of the user, and an error, if there is any.
func (*FakeUsers) UpdateStatus ¶
func (c *FakeUsers) UpdateStatus(ctx context.Context, user *v1alpha2.User, opts v1.UpdateOptions) (*v1alpha2.User, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
type FakeWorkspaceRoleBindings ¶
type FakeWorkspaceRoleBindings struct {
Fake *FakeIamV1alpha2
}
FakeWorkspaceRoleBindings implements WorkspaceRoleBindingInterface
func (*FakeWorkspaceRoleBindings) Create ¶
func (c *FakeWorkspaceRoleBindings) Create(ctx context.Context, workspaceRoleBinding *v1alpha2.WorkspaceRoleBinding, opts v1.CreateOptions) (result *v1alpha2.WorkspaceRoleBinding, err error)
Create takes the representation of a workspaceRoleBinding and creates it. Returns the server's representation of the workspaceRoleBinding, and an error, if there is any.
func (*FakeWorkspaceRoleBindings) Delete ¶
func (c *FakeWorkspaceRoleBindings) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the workspaceRoleBinding and deletes it. Returns an error if one occurs.
func (*FakeWorkspaceRoleBindings) DeleteCollection ¶
func (c *FakeWorkspaceRoleBindings) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeWorkspaceRoleBindings) Get ¶
func (c *FakeWorkspaceRoleBindings) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha2.WorkspaceRoleBinding, err error)
Get takes name of the workspaceRoleBinding, and returns the corresponding workspaceRoleBinding object, and an error if there is any.
func (*FakeWorkspaceRoleBindings) List ¶
func (c *FakeWorkspaceRoleBindings) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha2.WorkspaceRoleBindingList, err error)
List takes label and field selectors, and returns the list of WorkspaceRoleBindings that match those selectors.
func (*FakeWorkspaceRoleBindings) Patch ¶
func (c *FakeWorkspaceRoleBindings) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha2.WorkspaceRoleBinding, err error)
Patch applies the patch and returns the patched workspaceRoleBinding.
func (*FakeWorkspaceRoleBindings) Update ¶
func (c *FakeWorkspaceRoleBindings) Update(ctx context.Context, workspaceRoleBinding *v1alpha2.WorkspaceRoleBinding, opts v1.UpdateOptions) (result *v1alpha2.WorkspaceRoleBinding, err error)
Update takes the representation of a workspaceRoleBinding and updates it. Returns the server's representation of the workspaceRoleBinding, and an error, if there is any.
func (*FakeWorkspaceRoleBindings) Watch ¶
func (c *FakeWorkspaceRoleBindings) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested workspaceRoleBindings.
type FakeWorkspaceRoles ¶
type FakeWorkspaceRoles struct {
Fake *FakeIamV1alpha2
}
FakeWorkspaceRoles implements WorkspaceRoleInterface
func (*FakeWorkspaceRoles) Create ¶
func (c *FakeWorkspaceRoles) Create(ctx context.Context, workspaceRole *v1alpha2.WorkspaceRole, opts v1.CreateOptions) (result *v1alpha2.WorkspaceRole, err error)
Create takes the representation of a workspaceRole and creates it. Returns the server's representation of the workspaceRole, and an error, if there is any.
func (*FakeWorkspaceRoles) Delete ¶
func (c *FakeWorkspaceRoles) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the workspaceRole and deletes it. Returns an error if one occurs.
func (*FakeWorkspaceRoles) DeleteCollection ¶
func (c *FakeWorkspaceRoles) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeWorkspaceRoles) Get ¶
func (c *FakeWorkspaceRoles) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha2.WorkspaceRole, err error)
Get takes name of the workspaceRole, and returns the corresponding workspaceRole object, and an error if there is any.
func (*FakeWorkspaceRoles) List ¶
func (c *FakeWorkspaceRoles) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha2.WorkspaceRoleList, err error)
List takes label and field selectors, and returns the list of WorkspaceRoles that match those selectors.
func (*FakeWorkspaceRoles) Patch ¶
func (c *FakeWorkspaceRoles) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha2.WorkspaceRole, err error)
Patch applies the patch and returns the patched workspaceRole.
func (*FakeWorkspaceRoles) Update ¶
func (c *FakeWorkspaceRoles) Update(ctx context.Context, workspaceRole *v1alpha2.WorkspaceRole, opts v1.UpdateOptions) (result *v1alpha2.WorkspaceRole, err error)
Update takes the representation of a workspaceRole and updates it. Returns the server's representation of the workspaceRole, and an error, if there is any.
func (*FakeWorkspaceRoles) Watch ¶
func (c *FakeWorkspaceRoles) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested workspaceRoles.