Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeAccessApprovalSettingses
- func (c *FakeAccessApprovalSettingses) Create(ctx context.Context, accessApprovalSettings *v1alpha1.AccessApprovalSettings, ...) (result *v1alpha1.AccessApprovalSettings, err error)
- func (c *FakeAccessApprovalSettingses) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeAccessApprovalSettingses) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeAccessApprovalSettingses) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.AccessApprovalSettings, err error)
- func (c *FakeAccessApprovalSettingses) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.AccessApprovalSettingsList, err error)
- func (c *FakeAccessApprovalSettingses) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.AccessApprovalSettings, err error)
- func (c *FakeAccessApprovalSettingses) Update(ctx context.Context, accessApprovalSettings *v1alpha1.AccessApprovalSettings, ...) (result *v1alpha1.AccessApprovalSettings, err error)
- func (c *FakeAccessApprovalSettingses) UpdateStatus(ctx context.Context, accessApprovalSettings *v1alpha1.AccessApprovalSettings, ...) (*v1alpha1.AccessApprovalSettings, error)
- func (c *FakeAccessApprovalSettingses) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeIamAuditConfigs
- func (c *FakeIamAuditConfigs) Create(ctx context.Context, iamAuditConfig *v1alpha1.IamAuditConfig, ...) (result *v1alpha1.IamAuditConfig, err error)
- func (c *FakeIamAuditConfigs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeIamAuditConfigs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeIamAuditConfigs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.IamAuditConfig, err error)
- func (c *FakeIamAuditConfigs) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.IamAuditConfigList, err error)
- func (c *FakeIamAuditConfigs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.IamAuditConfig, err error)
- func (c *FakeIamAuditConfigs) Update(ctx context.Context, iamAuditConfig *v1alpha1.IamAuditConfig, ...) (result *v1alpha1.IamAuditConfig, err error)
- func (c *FakeIamAuditConfigs) UpdateStatus(ctx context.Context, iamAuditConfig *v1alpha1.IamAuditConfig, ...) (*v1alpha1.IamAuditConfig, error)
- func (c *FakeIamAuditConfigs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeIamBindings
- func (c *FakeIamBindings) Create(ctx context.Context, iamBinding *v1alpha1.IamBinding, opts v1.CreateOptions) (result *v1alpha1.IamBinding, err error)
- func (c *FakeIamBindings) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeIamBindings) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeIamBindings) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.IamBinding, err error)
- func (c *FakeIamBindings) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.IamBindingList, err error)
- func (c *FakeIamBindings) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.IamBinding, err error)
- func (c *FakeIamBindings) Update(ctx context.Context, iamBinding *v1alpha1.IamBinding, opts v1.UpdateOptions) (result *v1alpha1.IamBinding, err error)
- func (c *FakeIamBindings) UpdateStatus(ctx context.Context, iamBinding *v1alpha1.IamBinding, opts v1.UpdateOptions) (*v1alpha1.IamBinding, error)
- func (c *FakeIamBindings) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeIamCustomRoles
- func (c *FakeIamCustomRoles) Create(ctx context.Context, iamCustomRole *v1alpha1.IamCustomRole, ...) (result *v1alpha1.IamCustomRole, err error)
- func (c *FakeIamCustomRoles) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeIamCustomRoles) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeIamCustomRoles) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.IamCustomRole, err error)
- func (c *FakeIamCustomRoles) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.IamCustomRoleList, err error)
- func (c *FakeIamCustomRoles) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.IamCustomRole, err error)
- func (c *FakeIamCustomRoles) Update(ctx context.Context, iamCustomRole *v1alpha1.IamCustomRole, ...) (result *v1alpha1.IamCustomRole, err error)
- func (c *FakeIamCustomRoles) UpdateStatus(ctx context.Context, iamCustomRole *v1alpha1.IamCustomRole, ...) (*v1alpha1.IamCustomRole, error)
- func (c *FakeIamCustomRoles) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeIamMembers
- func (c *FakeIamMembers) Create(ctx context.Context, iamMember *v1alpha1.IamMember, opts v1.CreateOptions) (result *v1alpha1.IamMember, err error)
- func (c *FakeIamMembers) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeIamMembers) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeIamMembers) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.IamMember, err error)
- func (c *FakeIamMembers) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.IamMemberList, err error)
- func (c *FakeIamMembers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.IamMember, err error)
- func (c *FakeIamMembers) Update(ctx context.Context, iamMember *v1alpha1.IamMember, opts v1.UpdateOptions) (result *v1alpha1.IamMember, err error)
- func (c *FakeIamMembers) UpdateStatus(ctx context.Context, iamMember *v1alpha1.IamMember, opts v1.UpdateOptions) (*v1alpha1.IamMember, error)
- func (c *FakeIamMembers) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeIamPolicies
- func (c *FakeIamPolicies) Create(ctx context.Context, iamPolicy *v1alpha1.IamPolicy, opts v1.CreateOptions) (result *v1alpha1.IamPolicy, err error)
- func (c *FakeIamPolicies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeIamPolicies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeIamPolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.IamPolicy, err error)
- func (c *FakeIamPolicies) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.IamPolicyList, err error)
- func (c *FakeIamPolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.IamPolicy, err error)
- func (c *FakeIamPolicies) Update(ctx context.Context, iamPolicy *v1alpha1.IamPolicy, opts v1.UpdateOptions) (result *v1alpha1.IamPolicy, err error)
- func (c *FakeIamPolicies) UpdateStatus(ctx context.Context, iamPolicy *v1alpha1.IamPolicy, opts v1.UpdateOptions) (*v1alpha1.IamPolicy, error)
- func (c *FakeIamPolicies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeOrganizationV1alpha1
- func (c *FakeOrganizationV1alpha1) AccessApprovalSettingses(namespace string) v1alpha1.AccessApprovalSettingsInterface
- func (c *FakeOrganizationV1alpha1) IamAuditConfigs(namespace string) v1alpha1.IamAuditConfigInterface
- func (c *FakeOrganizationV1alpha1) IamBindings(namespace string) v1alpha1.IamBindingInterface
- func (c *FakeOrganizationV1alpha1) IamCustomRoles(namespace string) v1alpha1.IamCustomRoleInterface
- func (c *FakeOrganizationV1alpha1) IamMembers(namespace string) v1alpha1.IamMemberInterface
- func (c *FakeOrganizationV1alpha1) IamPolicies(namespace string) v1alpha1.IamPolicyInterface
- func (c *FakeOrganizationV1alpha1) Policies(namespace string) v1alpha1.PolicyInterface
- func (c *FakeOrganizationV1alpha1) RESTClient() rest.Interface
- type FakePolicies
- func (c *FakePolicies) Create(ctx context.Context, policy *v1alpha1.Policy, opts v1.CreateOptions) (result *v1alpha1.Policy, err error)
- func (c *FakePolicies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakePolicies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakePolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Policy, err error)
- func (c *FakePolicies) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.PolicyList, err error)
- func (c *FakePolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Policy, err error)
- func (c *FakePolicies) Update(ctx context.Context, policy *v1alpha1.Policy, opts v1.UpdateOptions) (result *v1alpha1.Policy, err error)
- func (c *FakePolicies) UpdateStatus(ctx context.Context, policy *v1alpha1.Policy, opts v1.UpdateOptions) (*v1alpha1.Policy, error)
- func (c *FakePolicies) 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 FakeAccessApprovalSettingses ¶
type FakeAccessApprovalSettingses struct { Fake *FakeOrganizationV1alpha1 // contains filtered or unexported fields }
FakeAccessApprovalSettingses implements AccessApprovalSettingsInterface
func (*FakeAccessApprovalSettingses) Create ¶
func (c *FakeAccessApprovalSettingses) Create(ctx context.Context, accessApprovalSettings *v1alpha1.AccessApprovalSettings, opts v1.CreateOptions) (result *v1alpha1.AccessApprovalSettings, err error)
Create takes the representation of a accessApprovalSettings and creates it. Returns the server's representation of the accessApprovalSettings, and an error, if there is any.
func (*FakeAccessApprovalSettingses) Delete ¶
func (c *FakeAccessApprovalSettingses) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the accessApprovalSettings and deletes it. Returns an error if one occurs.
func (*FakeAccessApprovalSettingses) DeleteCollection ¶
func (c *FakeAccessApprovalSettingses) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeAccessApprovalSettingses) Get ¶
func (c *FakeAccessApprovalSettingses) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.AccessApprovalSettings, err error)
Get takes name of the accessApprovalSettings, and returns the corresponding accessApprovalSettings object, and an error if there is any.
func (*FakeAccessApprovalSettingses) List ¶
func (c *FakeAccessApprovalSettingses) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.AccessApprovalSettingsList, err error)
List takes label and field selectors, and returns the list of AccessApprovalSettingses that match those selectors.
func (*FakeAccessApprovalSettingses) Patch ¶
func (c *FakeAccessApprovalSettingses) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.AccessApprovalSettings, err error)
Patch applies the patch and returns the patched accessApprovalSettings.
func (*FakeAccessApprovalSettingses) Update ¶
func (c *FakeAccessApprovalSettingses) Update(ctx context.Context, accessApprovalSettings *v1alpha1.AccessApprovalSettings, opts v1.UpdateOptions) (result *v1alpha1.AccessApprovalSettings, err error)
Update takes the representation of a accessApprovalSettings and updates it. Returns the server's representation of the accessApprovalSettings, and an error, if there is any.
func (*FakeAccessApprovalSettingses) UpdateStatus ¶
func (c *FakeAccessApprovalSettingses) UpdateStatus(ctx context.Context, accessApprovalSettings *v1alpha1.AccessApprovalSettings, opts v1.UpdateOptions) (*v1alpha1.AccessApprovalSettings, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeAccessApprovalSettingses) Watch ¶
func (c *FakeAccessApprovalSettingses) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested accessApprovalSettingses.
type FakeIamAuditConfigs ¶
type FakeIamAuditConfigs struct { Fake *FakeOrganizationV1alpha1 // contains filtered or unexported fields }
FakeIamAuditConfigs implements IamAuditConfigInterface
func (*FakeIamAuditConfigs) Create ¶
func (c *FakeIamAuditConfigs) Create(ctx context.Context, iamAuditConfig *v1alpha1.IamAuditConfig, opts v1.CreateOptions) (result *v1alpha1.IamAuditConfig, err error)
Create takes the representation of a iamAuditConfig and creates it. Returns the server's representation of the iamAuditConfig, and an error, if there is any.
func (*FakeIamAuditConfigs) Delete ¶
func (c *FakeIamAuditConfigs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the iamAuditConfig and deletes it. Returns an error if one occurs.
func (*FakeIamAuditConfigs) DeleteCollection ¶
func (c *FakeIamAuditConfigs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeIamAuditConfigs) Get ¶
func (c *FakeIamAuditConfigs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.IamAuditConfig, err error)
Get takes name of the iamAuditConfig, and returns the corresponding iamAuditConfig object, and an error if there is any.
func (*FakeIamAuditConfigs) List ¶
func (c *FakeIamAuditConfigs) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.IamAuditConfigList, err error)
List takes label and field selectors, and returns the list of IamAuditConfigs that match those selectors.
func (*FakeIamAuditConfigs) Patch ¶
func (c *FakeIamAuditConfigs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.IamAuditConfig, err error)
Patch applies the patch and returns the patched iamAuditConfig.
func (*FakeIamAuditConfigs) Update ¶
func (c *FakeIamAuditConfigs) Update(ctx context.Context, iamAuditConfig *v1alpha1.IamAuditConfig, opts v1.UpdateOptions) (result *v1alpha1.IamAuditConfig, err error)
Update takes the representation of a iamAuditConfig and updates it. Returns the server's representation of the iamAuditConfig, and an error, if there is any.
func (*FakeIamAuditConfigs) UpdateStatus ¶
func (c *FakeIamAuditConfigs) UpdateStatus(ctx context.Context, iamAuditConfig *v1alpha1.IamAuditConfig, opts v1.UpdateOptions) (*v1alpha1.IamAuditConfig, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeIamAuditConfigs) Watch ¶
func (c *FakeIamAuditConfigs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested iamAuditConfigs.
type FakeIamBindings ¶
type FakeIamBindings struct { Fake *FakeOrganizationV1alpha1 // contains filtered or unexported fields }
FakeIamBindings implements IamBindingInterface
func (*FakeIamBindings) Create ¶
func (c *FakeIamBindings) Create(ctx context.Context, iamBinding *v1alpha1.IamBinding, opts v1.CreateOptions) (result *v1alpha1.IamBinding, err error)
Create takes the representation of a iamBinding and creates it. Returns the server's representation of the iamBinding, and an error, if there is any.
func (*FakeIamBindings) Delete ¶
func (c *FakeIamBindings) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the iamBinding and deletes it. Returns an error if one occurs.
func (*FakeIamBindings) DeleteCollection ¶
func (c *FakeIamBindings) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeIamBindings) Get ¶
func (c *FakeIamBindings) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.IamBinding, err error)
Get takes name of the iamBinding, and returns the corresponding iamBinding object, and an error if there is any.
func (*FakeIamBindings) List ¶
func (c *FakeIamBindings) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.IamBindingList, err error)
List takes label and field selectors, and returns the list of IamBindings that match those selectors.
func (*FakeIamBindings) Patch ¶
func (c *FakeIamBindings) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.IamBinding, err error)
Patch applies the patch and returns the patched iamBinding.
func (*FakeIamBindings) Update ¶
func (c *FakeIamBindings) Update(ctx context.Context, iamBinding *v1alpha1.IamBinding, opts v1.UpdateOptions) (result *v1alpha1.IamBinding, err error)
Update takes the representation of a iamBinding and updates it. Returns the server's representation of the iamBinding, and an error, if there is any.
func (*FakeIamBindings) UpdateStatus ¶
func (c *FakeIamBindings) UpdateStatus(ctx context.Context, iamBinding *v1alpha1.IamBinding, opts v1.UpdateOptions) (*v1alpha1.IamBinding, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeIamBindings) Watch ¶
func (c *FakeIamBindings) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested iamBindings.
type FakeIamCustomRoles ¶
type FakeIamCustomRoles struct { Fake *FakeOrganizationV1alpha1 // contains filtered or unexported fields }
FakeIamCustomRoles implements IamCustomRoleInterface
func (*FakeIamCustomRoles) Create ¶
func (c *FakeIamCustomRoles) Create(ctx context.Context, iamCustomRole *v1alpha1.IamCustomRole, opts v1.CreateOptions) (result *v1alpha1.IamCustomRole, err error)
Create takes the representation of a iamCustomRole and creates it. Returns the server's representation of the iamCustomRole, and an error, if there is any.
func (*FakeIamCustomRoles) Delete ¶
func (c *FakeIamCustomRoles) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the iamCustomRole and deletes it. Returns an error if one occurs.
func (*FakeIamCustomRoles) DeleteCollection ¶
func (c *FakeIamCustomRoles) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeIamCustomRoles) Get ¶
func (c *FakeIamCustomRoles) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.IamCustomRole, err error)
Get takes name of the iamCustomRole, and returns the corresponding iamCustomRole object, and an error if there is any.
func (*FakeIamCustomRoles) List ¶
func (c *FakeIamCustomRoles) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.IamCustomRoleList, err error)
List takes label and field selectors, and returns the list of IamCustomRoles that match those selectors.
func (*FakeIamCustomRoles) Patch ¶
func (c *FakeIamCustomRoles) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.IamCustomRole, err error)
Patch applies the patch and returns the patched iamCustomRole.
func (*FakeIamCustomRoles) Update ¶
func (c *FakeIamCustomRoles) Update(ctx context.Context, iamCustomRole *v1alpha1.IamCustomRole, opts v1.UpdateOptions) (result *v1alpha1.IamCustomRole, err error)
Update takes the representation of a iamCustomRole and updates it. Returns the server's representation of the iamCustomRole, and an error, if there is any.
func (*FakeIamCustomRoles) UpdateStatus ¶
func (c *FakeIamCustomRoles) UpdateStatus(ctx context.Context, iamCustomRole *v1alpha1.IamCustomRole, opts v1.UpdateOptions) (*v1alpha1.IamCustomRole, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeIamCustomRoles) Watch ¶
func (c *FakeIamCustomRoles) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested iamCustomRoles.
type FakeIamMembers ¶
type FakeIamMembers struct { Fake *FakeOrganizationV1alpha1 // contains filtered or unexported fields }
FakeIamMembers implements IamMemberInterface
func (*FakeIamMembers) Create ¶
func (c *FakeIamMembers) Create(ctx context.Context, iamMember *v1alpha1.IamMember, opts v1.CreateOptions) (result *v1alpha1.IamMember, err error)
Create takes the representation of a iamMember and creates it. Returns the server's representation of the iamMember, and an error, if there is any.
func (*FakeIamMembers) Delete ¶
func (c *FakeIamMembers) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the iamMember and deletes it. Returns an error if one occurs.
func (*FakeIamMembers) DeleteCollection ¶
func (c *FakeIamMembers) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeIamMembers) Get ¶
func (c *FakeIamMembers) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.IamMember, err error)
Get takes name of the iamMember, and returns the corresponding iamMember object, and an error if there is any.
func (*FakeIamMembers) List ¶
func (c *FakeIamMembers) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.IamMemberList, err error)
List takes label and field selectors, and returns the list of IamMembers that match those selectors.
func (*FakeIamMembers) Patch ¶
func (c *FakeIamMembers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.IamMember, err error)
Patch applies the patch and returns the patched iamMember.
func (*FakeIamMembers) Update ¶
func (c *FakeIamMembers) Update(ctx context.Context, iamMember *v1alpha1.IamMember, opts v1.UpdateOptions) (result *v1alpha1.IamMember, err error)
Update takes the representation of a iamMember and updates it. Returns the server's representation of the iamMember, and an error, if there is any.
func (*FakeIamMembers) UpdateStatus ¶
func (c *FakeIamMembers) UpdateStatus(ctx context.Context, iamMember *v1alpha1.IamMember, opts v1.UpdateOptions) (*v1alpha1.IamMember, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeIamMembers) Watch ¶
func (c *FakeIamMembers) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested iamMembers.
type FakeIamPolicies ¶
type FakeIamPolicies struct { Fake *FakeOrganizationV1alpha1 // contains filtered or unexported fields }
FakeIamPolicies implements IamPolicyInterface
func (*FakeIamPolicies) Create ¶
func (c *FakeIamPolicies) Create(ctx context.Context, iamPolicy *v1alpha1.IamPolicy, opts v1.CreateOptions) (result *v1alpha1.IamPolicy, err error)
Create takes the representation of a iamPolicy and creates it. Returns the server's representation of the iamPolicy, and an error, if there is any.
func (*FakeIamPolicies) Delete ¶
func (c *FakeIamPolicies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the iamPolicy and deletes it. Returns an error if one occurs.
func (*FakeIamPolicies) DeleteCollection ¶
func (c *FakeIamPolicies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeIamPolicies) Get ¶
func (c *FakeIamPolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.IamPolicy, err error)
Get takes name of the iamPolicy, and returns the corresponding iamPolicy object, and an error if there is any.
func (*FakeIamPolicies) List ¶
func (c *FakeIamPolicies) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.IamPolicyList, err error)
List takes label and field selectors, and returns the list of IamPolicies that match those selectors.
func (*FakeIamPolicies) Patch ¶
func (c *FakeIamPolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.IamPolicy, err error)
Patch applies the patch and returns the patched iamPolicy.
func (*FakeIamPolicies) Update ¶
func (c *FakeIamPolicies) Update(ctx context.Context, iamPolicy *v1alpha1.IamPolicy, opts v1.UpdateOptions) (result *v1alpha1.IamPolicy, err error)
Update takes the representation of a iamPolicy and updates it. Returns the server's representation of the iamPolicy, and an error, if there is any.
func (*FakeIamPolicies) UpdateStatus ¶
func (c *FakeIamPolicies) UpdateStatus(ctx context.Context, iamPolicy *v1alpha1.IamPolicy, opts v1.UpdateOptions) (*v1alpha1.IamPolicy, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeIamPolicies) Watch ¶
func (c *FakeIamPolicies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested iamPolicies.
type FakeOrganizationV1alpha1 ¶
func (*FakeOrganizationV1alpha1) AccessApprovalSettingses ¶
func (c *FakeOrganizationV1alpha1) AccessApprovalSettingses(namespace string) v1alpha1.AccessApprovalSettingsInterface
func (*FakeOrganizationV1alpha1) IamAuditConfigs ¶
func (c *FakeOrganizationV1alpha1) IamAuditConfigs(namespace string) v1alpha1.IamAuditConfigInterface
func (*FakeOrganizationV1alpha1) IamBindings ¶
func (c *FakeOrganizationV1alpha1) IamBindings(namespace string) v1alpha1.IamBindingInterface
func (*FakeOrganizationV1alpha1) IamCustomRoles ¶
func (c *FakeOrganizationV1alpha1) IamCustomRoles(namespace string) v1alpha1.IamCustomRoleInterface
func (*FakeOrganizationV1alpha1) IamMembers ¶
func (c *FakeOrganizationV1alpha1) IamMembers(namespace string) v1alpha1.IamMemberInterface
func (*FakeOrganizationV1alpha1) IamPolicies ¶
func (c *FakeOrganizationV1alpha1) IamPolicies(namespace string) v1alpha1.IamPolicyInterface
func (*FakeOrganizationV1alpha1) Policies ¶
func (c *FakeOrganizationV1alpha1) Policies(namespace string) v1alpha1.PolicyInterface
func (*FakeOrganizationV1alpha1) RESTClient ¶
func (c *FakeOrganizationV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type FakePolicies ¶
type FakePolicies struct { Fake *FakeOrganizationV1alpha1 // contains filtered or unexported fields }
FakePolicies implements PolicyInterface
func (*FakePolicies) Create ¶
func (c *FakePolicies) Create(ctx context.Context, policy *v1alpha1.Policy, opts v1.CreateOptions) (result *v1alpha1.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 v1.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 v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakePolicies) Get ¶
func (c *FakePolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.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 v1.ListOptions) (result *v1alpha1.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 v1.PatchOptions, subresources ...string) (result *v1alpha1.Policy, err error)
Patch applies the patch and returns the patched policy.
func (*FakePolicies) Update ¶
func (c *FakePolicies) Update(ctx context.Context, policy *v1alpha1.Policy, opts v1.UpdateOptions) (result *v1alpha1.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) UpdateStatus ¶
func (c *FakePolicies) UpdateStatus(ctx context.Context, policy *v1alpha1.Policy, opts v1.UpdateOptions) (*v1alpha1.Policy, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakePolicies) Watch ¶
func (c *FakePolicies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested policies.