Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeAPIKeys
- func (c *FakeAPIKeys) Create(ctx context.Context, aPIKey *auth.APIKey, opts v1.CreateOptions) (result *auth.APIKey, err error)
- func (c *FakeAPIKeys) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeAPIKeys) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeAPIKeys) Get(ctx context.Context, name string, options v1.GetOptions) (result *auth.APIKey, err error)
- func (c *FakeAPIKeys) List(ctx context.Context, opts v1.ListOptions) (result *auth.APIKeyList, err error)
- func (c *FakeAPIKeys) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *auth.APIKey, err error)
- func (c *FakeAPIKeys) Update(ctx context.Context, aPIKey *auth.APIKey, opts v1.UpdateOptions) (result *auth.APIKey, err error)
- func (c *FakeAPIKeys) UpdateStatus(ctx context.Context, aPIKey *auth.APIKey, opts v1.UpdateOptions) (*auth.APIKey, error)
- func (c *FakeAPIKeys) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeAPISigningKeys
- func (c *FakeAPISigningKeys) Create(ctx context.Context, aPISigningKey *auth.APISigningKey, opts v1.CreateOptions) (result *auth.APISigningKey, err error)
- func (c *FakeAPISigningKeys) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeAPISigningKeys) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeAPISigningKeys) Get(ctx context.Context, name string, options v1.GetOptions) (result *auth.APISigningKey, err error)
- func (c *FakeAPISigningKeys) List(ctx context.Context, opts v1.ListOptions) (result *auth.APISigningKeyList, err error)
- func (c *FakeAPISigningKeys) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *auth.APISigningKey, err error)
- func (c *FakeAPISigningKeys) Update(ctx context.Context, aPISigningKey *auth.APISigningKey, opts v1.UpdateOptions) (result *auth.APISigningKey, err error)
- func (c *FakeAPISigningKeys) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeAuth
- func (c *FakeAuth) APIKeys() internalversion.APIKeyInterface
- func (c *FakeAuth) APISigningKeys() internalversion.APISigningKeyInterface
- func (c *FakeAuth) Categories() internalversion.CategoryInterface
- func (c *FakeAuth) Clients() internalversion.ClientInterface
- func (c *FakeAuth) ConfigMaps() internalversion.ConfigMapInterface
- func (c *FakeAuth) CustomPolicyBindings(namespace string) internalversion.CustomPolicyBindingInterface
- func (c *FakeAuth) Groups() internalversion.GroupInterface
- func (c *FakeAuth) IdentityProviders() internalversion.IdentityProviderInterface
- func (c *FakeAuth) LocalGroups() internalversion.LocalGroupInterface
- func (c *FakeAuth) LocalIdentities() internalversion.LocalIdentityInterface
- func (c *FakeAuth) Policies() internalversion.PolicyInterface
- func (c *FakeAuth) ProjectPolicyBindings() internalversion.ProjectPolicyBindingInterface
- func (c *FakeAuth) Projects() internalversion.ProjectInterface
- func (c *FakeAuth) RESTClient() rest.Interface
- func (c *FakeAuth) Roles() internalversion.RoleInterface
- func (c *FakeAuth) Rules() internalversion.RuleInterface
- func (c *FakeAuth) Users() internalversion.UserInterface
- type FakeCategories
- func (c *FakeCategories) Create(ctx context.Context, category *auth.Category, opts v1.CreateOptions) (result *auth.Category, err error)
- func (c *FakeCategories) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeCategories) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeCategories) Get(ctx context.Context, name string, options v1.GetOptions) (result *auth.Category, err error)
- func (c *FakeCategories) List(ctx context.Context, opts v1.ListOptions) (result *auth.CategoryList, err error)
- func (c *FakeCategories) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *auth.Category, err error)
- func (c *FakeCategories) Update(ctx context.Context, category *auth.Category, opts v1.UpdateOptions) (result *auth.Category, err error)
- func (c *FakeCategories) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeClients
- func (c *FakeClients) Create(ctx context.Context, client *auth.Client, opts v1.CreateOptions) (result *auth.Client, err error)
- func (c *FakeClients) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeClients) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeClients) Get(ctx context.Context, name string, options v1.GetOptions) (result *auth.Client, err error)
- func (c *FakeClients) List(ctx context.Context, opts v1.ListOptions) (result *auth.ClientList, err error)
- func (c *FakeClients) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *auth.Client, err error)
- func (c *FakeClients) Update(ctx context.Context, client *auth.Client, opts v1.UpdateOptions) (result *auth.Client, err error)
- func (c *FakeClients) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeConfigMaps
- func (c *FakeConfigMaps) Create(ctx context.Context, configMap *auth.ConfigMap, opts v1.CreateOptions) (result *auth.ConfigMap, err error)
- func (c *FakeConfigMaps) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeConfigMaps) Get(ctx context.Context, name string, options v1.GetOptions) (result *auth.ConfigMap, err error)
- func (c *FakeConfigMaps) List(ctx context.Context, opts v1.ListOptions) (result *auth.ConfigMapList, err error)
- func (c *FakeConfigMaps) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *auth.ConfigMap, err error)
- func (c *FakeConfigMaps) Update(ctx context.Context, configMap *auth.ConfigMap, opts v1.UpdateOptions) (result *auth.ConfigMap, err error)
- func (c *FakeConfigMaps) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeCustomPolicyBindings
- func (c *FakeCustomPolicyBindings) Create(ctx context.Context, customPolicyBinding *auth.CustomPolicyBinding, ...) (result *auth.CustomPolicyBinding, err error)
- func (c *FakeCustomPolicyBindings) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeCustomPolicyBindings) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeCustomPolicyBindings) Get(ctx context.Context, name string, options v1.GetOptions) (result *auth.CustomPolicyBinding, err error)
- func (c *FakeCustomPolicyBindings) List(ctx context.Context, opts v1.ListOptions) (result *auth.CustomPolicyBindingList, err error)
- func (c *FakeCustomPolicyBindings) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *auth.CustomPolicyBinding, err error)
- func (c *FakeCustomPolicyBindings) Update(ctx context.Context, customPolicyBinding *auth.CustomPolicyBinding, ...) (result *auth.CustomPolicyBinding, err error)
- func (c *FakeCustomPolicyBindings) UpdateStatus(ctx context.Context, customPolicyBinding *auth.CustomPolicyBinding, ...) (*auth.CustomPolicyBinding, error)
- func (c *FakeCustomPolicyBindings) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeGroups
- func (c *FakeGroups) Create(ctx context.Context, group *auth.Group, opts v1.CreateOptions) (result *auth.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 *auth.Group, err error)
- func (c *FakeGroups) List(ctx context.Context, opts v1.ListOptions) (result *auth.GroupList, err error)
- func (c *FakeGroups) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *auth.Group, err error)
- func (c *FakeGroups) Update(ctx context.Context, group *auth.Group, opts v1.UpdateOptions) (result *auth.Group, err error)
- func (c *FakeGroups) UpdateStatus(ctx context.Context, group *auth.Group, opts v1.UpdateOptions) (*auth.Group, error)
- func (c *FakeGroups) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeIdentityProviders
- func (c *FakeIdentityProviders) Create(ctx context.Context, identityProvider *auth.IdentityProvider, ...) (result *auth.IdentityProvider, err error)
- func (c *FakeIdentityProviders) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeIdentityProviders) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeIdentityProviders) Get(ctx context.Context, name string, options v1.GetOptions) (result *auth.IdentityProvider, err error)
- func (c *FakeIdentityProviders) List(ctx context.Context, opts v1.ListOptions) (result *auth.IdentityProviderList, err error)
- func (c *FakeIdentityProviders) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *auth.IdentityProvider, err error)
- func (c *FakeIdentityProviders) Update(ctx context.Context, identityProvider *auth.IdentityProvider, ...) (result *auth.IdentityProvider, err error)
- func (c *FakeIdentityProviders) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeLocalGroups
- func (c *FakeLocalGroups) Create(ctx context.Context, localGroup *auth.LocalGroup, opts v1.CreateOptions) (result *auth.LocalGroup, err error)
- func (c *FakeLocalGroups) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeLocalGroups) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeLocalGroups) Get(ctx context.Context, name string, options v1.GetOptions) (result *auth.LocalGroup, err error)
- func (c *FakeLocalGroups) List(ctx context.Context, opts v1.ListOptions) (result *auth.LocalGroupList, err error)
- func (c *FakeLocalGroups) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *auth.LocalGroup, err error)
- func (c *FakeLocalGroups) Update(ctx context.Context, localGroup *auth.LocalGroup, opts v1.UpdateOptions) (result *auth.LocalGroup, err error)
- func (c *FakeLocalGroups) UpdateStatus(ctx context.Context, localGroup *auth.LocalGroup, opts v1.UpdateOptions) (*auth.LocalGroup, error)
- func (c *FakeLocalGroups) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeLocalIdentities
- func (c *FakeLocalIdentities) Create(ctx context.Context, localIdentity *auth.LocalIdentity, opts v1.CreateOptions) (result *auth.LocalIdentity, err error)
- func (c *FakeLocalIdentities) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeLocalIdentities) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeLocalIdentities) Get(ctx context.Context, name string, options v1.GetOptions) (result *auth.LocalIdentity, err error)
- func (c *FakeLocalIdentities) List(ctx context.Context, opts v1.ListOptions) (result *auth.LocalIdentityList, err error)
- func (c *FakeLocalIdentities) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *auth.LocalIdentity, err error)
- func (c *FakeLocalIdentities) Update(ctx context.Context, localIdentity *auth.LocalIdentity, opts v1.UpdateOptions) (result *auth.LocalIdentity, err error)
- func (c *FakeLocalIdentities) UpdateStatus(ctx context.Context, localIdentity *auth.LocalIdentity, opts v1.UpdateOptions) (*auth.LocalIdentity, error)
- func (c *FakeLocalIdentities) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakePolicies
- func (c *FakePolicies) Create(ctx context.Context, policy *auth.Policy, opts v1.CreateOptions) (result *auth.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 *auth.Policy, err error)
- func (c *FakePolicies) List(ctx context.Context, opts v1.ListOptions) (result *auth.PolicyList, err error)
- func (c *FakePolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *auth.Policy, err error)
- func (c *FakePolicies) Update(ctx context.Context, policy *auth.Policy, opts v1.UpdateOptions) (result *auth.Policy, err error)
- func (c *FakePolicies) UpdateStatus(ctx context.Context, policy *auth.Policy, opts v1.UpdateOptions) (*auth.Policy, error)
- func (c *FakePolicies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeProjectPolicyBindings
- func (c *FakeProjectPolicyBindings) Create(ctx context.Context, projectPolicyBinding *auth.ProjectPolicyBinding, ...) (result *auth.ProjectPolicyBinding, err error)
- func (c *FakeProjectPolicyBindings) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeProjectPolicyBindings) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeProjectPolicyBindings) Get(ctx context.Context, name string, options v1.GetOptions) (result *auth.ProjectPolicyBinding, err error)
- func (c *FakeProjectPolicyBindings) List(ctx context.Context, opts v1.ListOptions) (result *auth.ProjectPolicyBindingList, err error)
- func (c *FakeProjectPolicyBindings) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *auth.ProjectPolicyBinding, err error)
- func (c *FakeProjectPolicyBindings) Update(ctx context.Context, projectPolicyBinding *auth.ProjectPolicyBinding, ...) (result *auth.ProjectPolicyBinding, err error)
- func (c *FakeProjectPolicyBindings) UpdateStatus(ctx context.Context, projectPolicyBinding *auth.ProjectPolicyBinding, ...) (*auth.ProjectPolicyBinding, error)
- func (c *FakeProjectPolicyBindings) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeProjects
- func (c *FakeProjects) Create(ctx context.Context, project *auth.Project, opts v1.CreateOptions) (result *auth.Project, err error)
- func (c *FakeProjects) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeProjects) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeProjects) Get(ctx context.Context, name string, options v1.GetOptions) (result *auth.Project, err error)
- func (c *FakeProjects) List(ctx context.Context, opts v1.ListOptions) (result *auth.ProjectList, err error)
- func (c *FakeProjects) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *auth.Project, err error)
- func (c *FakeProjects) Update(ctx context.Context, project *auth.Project, opts v1.UpdateOptions) (result *auth.Project, err error)
- func (c *FakeProjects) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeRoles
- func (c *FakeRoles) Create(ctx context.Context, role *auth.Role, opts v1.CreateOptions) (result *auth.Role, err error)
- func (c *FakeRoles) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeRoles) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeRoles) Get(ctx context.Context, name string, options v1.GetOptions) (result *auth.Role, err error)
- func (c *FakeRoles) List(ctx context.Context, opts v1.ListOptions) (result *auth.RoleList, err error)
- func (c *FakeRoles) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *auth.Role, err error)
- func (c *FakeRoles) Update(ctx context.Context, role *auth.Role, opts v1.UpdateOptions) (result *auth.Role, err error)
- func (c *FakeRoles) UpdateStatus(ctx context.Context, role *auth.Role, opts v1.UpdateOptions) (*auth.Role, error)
- func (c *FakeRoles) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeRules
- func (c *FakeRules) Create(ctx context.Context, rule *auth.Rule, opts v1.CreateOptions) (result *auth.Rule, err error)
- func (c *FakeRules) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeRules) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeRules) Get(ctx context.Context, name string, options v1.GetOptions) (result *auth.Rule, err error)
- func (c *FakeRules) List(ctx context.Context, opts v1.ListOptions) (result *auth.RuleList, err error)
- func (c *FakeRules) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *auth.Rule, err error)
- func (c *FakeRules) Update(ctx context.Context, rule *auth.Rule, opts v1.UpdateOptions) (result *auth.Rule, err error)
- func (c *FakeRules) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeUsers
- func (c *FakeUsers) Create(ctx context.Context, user *auth.User, opts v1.CreateOptions) (result *auth.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 *auth.User, err error)
- func (c *FakeUsers) List(ctx context.Context, opts v1.ListOptions) (result *auth.UserList, err error)
- func (c *FakeUsers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *auth.User, err error)
- func (c *FakeUsers) Update(ctx context.Context, user *auth.User, opts v1.UpdateOptions) (result *auth.User, err error)
- func (c *FakeUsers) 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 FakeAPIKeys ¶
type FakeAPIKeys struct {
Fake *FakeAuth
}
FakeAPIKeys implements APIKeyInterface
func (*FakeAPIKeys) Create ¶
func (c *FakeAPIKeys) Create(ctx context.Context, aPIKey *auth.APIKey, opts v1.CreateOptions) (result *auth.APIKey, err error)
Create takes the representation of a aPIKey and creates it. Returns the server's representation of the aPIKey, and an error, if there is any.
func (*FakeAPIKeys) Delete ¶
func (c *FakeAPIKeys) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the aPIKey and deletes it. Returns an error if one occurs.
func (*FakeAPIKeys) DeleteCollection ¶
func (c *FakeAPIKeys) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeAPIKeys) Get ¶
func (c *FakeAPIKeys) Get(ctx context.Context, name string, options v1.GetOptions) (result *auth.APIKey, err error)
Get takes name of the aPIKey, and returns the corresponding aPIKey object, and an error if there is any.
func (*FakeAPIKeys) List ¶
func (c *FakeAPIKeys) List(ctx context.Context, opts v1.ListOptions) (result *auth.APIKeyList, err error)
List takes label and field selectors, and returns the list of APIKeys that match those selectors.
func (*FakeAPIKeys) Patch ¶
func (c *FakeAPIKeys) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *auth.APIKey, err error)
Patch applies the patch and returns the patched aPIKey.
func (*FakeAPIKeys) Update ¶
func (c *FakeAPIKeys) Update(ctx context.Context, aPIKey *auth.APIKey, opts v1.UpdateOptions) (result *auth.APIKey, err error)
Update takes the representation of a aPIKey and updates it. Returns the server's representation of the aPIKey, and an error, if there is any.
func (*FakeAPIKeys) UpdateStatus ¶
func (c *FakeAPIKeys) UpdateStatus(ctx context.Context, aPIKey *auth.APIKey, opts v1.UpdateOptions) (*auth.APIKey, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeAPIKeys) Watch ¶
func (c *FakeAPIKeys) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested aPIKeys.
type FakeAPISigningKeys ¶
type FakeAPISigningKeys struct {
Fake *FakeAuth
}
FakeAPISigningKeys implements APISigningKeyInterface
func (*FakeAPISigningKeys) Create ¶
func (c *FakeAPISigningKeys) Create(ctx context.Context, aPISigningKey *auth.APISigningKey, opts v1.CreateOptions) (result *auth.APISigningKey, err error)
Create takes the representation of a aPISigningKey and creates it. Returns the server's representation of the aPISigningKey, and an error, if there is any.
func (*FakeAPISigningKeys) Delete ¶
func (c *FakeAPISigningKeys) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the aPISigningKey and deletes it. Returns an error if one occurs.
func (*FakeAPISigningKeys) DeleteCollection ¶
func (c *FakeAPISigningKeys) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeAPISigningKeys) Get ¶
func (c *FakeAPISigningKeys) Get(ctx context.Context, name string, options v1.GetOptions) (result *auth.APISigningKey, err error)
Get takes name of the aPISigningKey, and returns the corresponding aPISigningKey object, and an error if there is any.
func (*FakeAPISigningKeys) List ¶
func (c *FakeAPISigningKeys) List(ctx context.Context, opts v1.ListOptions) (result *auth.APISigningKeyList, err error)
List takes label and field selectors, and returns the list of APISigningKeys that match those selectors.
func (*FakeAPISigningKeys) Patch ¶
func (c *FakeAPISigningKeys) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *auth.APISigningKey, err error)
Patch applies the patch and returns the patched aPISigningKey.
func (*FakeAPISigningKeys) Update ¶
func (c *FakeAPISigningKeys) Update(ctx context.Context, aPISigningKey *auth.APISigningKey, opts v1.UpdateOptions) (result *auth.APISigningKey, err error)
Update takes the representation of a aPISigningKey and updates it. Returns the server's representation of the aPISigningKey, and an error, if there is any.
func (*FakeAPISigningKeys) Watch ¶
func (c *FakeAPISigningKeys) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested aPISigningKeys.
type FakeAuth ¶
func (*FakeAuth) APIKeys ¶
func (c *FakeAuth) APIKeys() internalversion.APIKeyInterface
func (*FakeAuth) APISigningKeys ¶
func (c *FakeAuth) APISigningKeys() internalversion.APISigningKeyInterface
func (*FakeAuth) Categories ¶
func (c *FakeAuth) Categories() internalversion.CategoryInterface
func (*FakeAuth) Clients ¶
func (c *FakeAuth) Clients() internalversion.ClientInterface
func (*FakeAuth) ConfigMaps ¶
func (c *FakeAuth) ConfigMaps() internalversion.ConfigMapInterface
func (*FakeAuth) CustomPolicyBindings ¶ added in v1.4.0
func (c *FakeAuth) CustomPolicyBindings(namespace string) internalversion.CustomPolicyBindingInterface
func (*FakeAuth) Groups ¶
func (c *FakeAuth) Groups() internalversion.GroupInterface
func (*FakeAuth) IdentityProviders ¶
func (c *FakeAuth) IdentityProviders() internalversion.IdentityProviderInterface
func (*FakeAuth) LocalGroups ¶
func (c *FakeAuth) LocalGroups() internalversion.LocalGroupInterface
func (*FakeAuth) LocalIdentities ¶
func (c *FakeAuth) LocalIdentities() internalversion.LocalIdentityInterface
func (*FakeAuth) Policies ¶
func (c *FakeAuth) Policies() internalversion.PolicyInterface
func (*FakeAuth) ProjectPolicyBindings ¶ added in v1.3.1
func (c *FakeAuth) ProjectPolicyBindings() internalversion.ProjectPolicyBindingInterface
func (*FakeAuth) Projects ¶ added in v1.3.1
func (c *FakeAuth) Projects() internalversion.ProjectInterface
func (*FakeAuth) RESTClient ¶
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeAuth) Roles ¶
func (c *FakeAuth) Roles() internalversion.RoleInterface
func (*FakeAuth) Rules ¶
func (c *FakeAuth) Rules() internalversion.RuleInterface
func (*FakeAuth) Users ¶
func (c *FakeAuth) Users() internalversion.UserInterface
type FakeCategories ¶
type FakeCategories struct {
Fake *FakeAuth
}
FakeCategories implements CategoryInterface
func (*FakeCategories) Create ¶
func (c *FakeCategories) Create(ctx context.Context, category *auth.Category, opts v1.CreateOptions) (result *auth.Category, err error)
Create takes the representation of a category and creates it. Returns the server's representation of the category, and an error, if there is any.
func (*FakeCategories) Delete ¶
func (c *FakeCategories) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the category and deletes it. Returns an error if one occurs.
func (*FakeCategories) DeleteCollection ¶
func (c *FakeCategories) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeCategories) Get ¶
func (c *FakeCategories) Get(ctx context.Context, name string, options v1.GetOptions) (result *auth.Category, err error)
Get takes name of the category, and returns the corresponding category object, and an error if there is any.
func (*FakeCategories) List ¶
func (c *FakeCategories) List(ctx context.Context, opts v1.ListOptions) (result *auth.CategoryList, err error)
List takes label and field selectors, and returns the list of Categories that match those selectors.
func (*FakeCategories) Patch ¶
func (c *FakeCategories) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *auth.Category, err error)
Patch applies the patch and returns the patched category.
func (*FakeCategories) Update ¶
func (c *FakeCategories) Update(ctx context.Context, category *auth.Category, opts v1.UpdateOptions) (result *auth.Category, err error)
Update takes the representation of a category and updates it. Returns the server's representation of the category, and an error, if there is any.
func (*FakeCategories) Watch ¶
func (c *FakeCategories) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested categories.
type FakeClients ¶
type FakeClients struct {
Fake *FakeAuth
}
FakeClients implements ClientInterface
func (*FakeClients) Create ¶
func (c *FakeClients) Create(ctx context.Context, client *auth.Client, opts v1.CreateOptions) (result *auth.Client, err error)
Create takes the representation of a client and creates it. Returns the server's representation of the client, and an error, if there is any.
func (*FakeClients) Delete ¶
func (c *FakeClients) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the client and deletes it. Returns an error if one occurs.
func (*FakeClients) DeleteCollection ¶
func (c *FakeClients) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeClients) Get ¶
func (c *FakeClients) Get(ctx context.Context, name string, options v1.GetOptions) (result *auth.Client, err error)
Get takes name of the client, and returns the corresponding client object, and an error if there is any.
func (*FakeClients) List ¶
func (c *FakeClients) List(ctx context.Context, opts v1.ListOptions) (result *auth.ClientList, err error)
List takes label and field selectors, and returns the list of Clients that match those selectors.
func (*FakeClients) Patch ¶
func (c *FakeClients) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *auth.Client, err error)
Patch applies the patch and returns the patched client.
func (*FakeClients) Update ¶
func (c *FakeClients) Update(ctx context.Context, client *auth.Client, opts v1.UpdateOptions) (result *auth.Client, err error)
Update takes the representation of a client and updates it. Returns the server's representation of the client, and an error, if there is any.
func (*FakeClients) Watch ¶
func (c *FakeClients) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested clients.
type FakeConfigMaps ¶
type FakeConfigMaps struct {
Fake *FakeAuth
}
FakeConfigMaps implements ConfigMapInterface
func (*FakeConfigMaps) Create ¶
func (c *FakeConfigMaps) Create(ctx context.Context, configMap *auth.ConfigMap, opts v1.CreateOptions) (result *auth.ConfigMap, err error)
Create takes the representation of a configMap and creates it. Returns the server's representation of the configMap, and an error, if there is any.
func (*FakeConfigMaps) Delete ¶
func (c *FakeConfigMaps) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the configMap and deletes it. Returns an error if one occurs.
func (*FakeConfigMaps) Get ¶
func (c *FakeConfigMaps) Get(ctx context.Context, name string, options v1.GetOptions) (result *auth.ConfigMap, err error)
Get takes name of the configMap, and returns the corresponding configMap object, and an error if there is any.
func (*FakeConfigMaps) List ¶
func (c *FakeConfigMaps) List(ctx context.Context, opts v1.ListOptions) (result *auth.ConfigMapList, err error)
List takes label and field selectors, and returns the list of ConfigMaps that match those selectors.
func (*FakeConfigMaps) Patch ¶
func (c *FakeConfigMaps) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *auth.ConfigMap, err error)
Patch applies the patch and returns the patched configMap.
func (*FakeConfigMaps) Update ¶
func (c *FakeConfigMaps) Update(ctx context.Context, configMap *auth.ConfigMap, opts v1.UpdateOptions) (result *auth.ConfigMap, err error)
Update takes the representation of a configMap and updates it. Returns the server's representation of the configMap, and an error, if there is any.
func (*FakeConfigMaps) Watch ¶
func (c *FakeConfigMaps) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested configMaps.
type FakeCustomPolicyBindings ¶ added in v1.4.0
type FakeCustomPolicyBindings struct { Fake *FakeAuth // contains filtered or unexported fields }
FakeCustomPolicyBindings implements CustomPolicyBindingInterface
func (*FakeCustomPolicyBindings) Create ¶ added in v1.4.0
func (c *FakeCustomPolicyBindings) Create(ctx context.Context, customPolicyBinding *auth.CustomPolicyBinding, opts v1.CreateOptions) (result *auth.CustomPolicyBinding, err error)
Create takes the representation of a customPolicyBinding and creates it. Returns the server's representation of the customPolicyBinding, and an error, if there is any.
func (*FakeCustomPolicyBindings) Delete ¶ added in v1.4.0
func (c *FakeCustomPolicyBindings) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the customPolicyBinding and deletes it. Returns an error if one occurs.
func (*FakeCustomPolicyBindings) DeleteCollection ¶ added in v1.4.0
func (c *FakeCustomPolicyBindings) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeCustomPolicyBindings) Get ¶ added in v1.4.0
func (c *FakeCustomPolicyBindings) Get(ctx context.Context, name string, options v1.GetOptions) (result *auth.CustomPolicyBinding, err error)
Get takes name of the customPolicyBinding, and returns the corresponding customPolicyBinding object, and an error if there is any.
func (*FakeCustomPolicyBindings) List ¶ added in v1.4.0
func (c *FakeCustomPolicyBindings) List(ctx context.Context, opts v1.ListOptions) (result *auth.CustomPolicyBindingList, err error)
List takes label and field selectors, and returns the list of CustomPolicyBindings that match those selectors.
func (*FakeCustomPolicyBindings) Patch ¶ added in v1.4.0
func (c *FakeCustomPolicyBindings) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *auth.CustomPolicyBinding, err error)
Patch applies the patch and returns the patched customPolicyBinding.
func (*FakeCustomPolicyBindings) Update ¶ added in v1.4.0
func (c *FakeCustomPolicyBindings) Update(ctx context.Context, customPolicyBinding *auth.CustomPolicyBinding, opts v1.UpdateOptions) (result *auth.CustomPolicyBinding, err error)
Update takes the representation of a customPolicyBinding and updates it. Returns the server's representation of the customPolicyBinding, and an error, if there is any.
func (*FakeCustomPolicyBindings) UpdateStatus ¶ added in v1.4.0
func (c *FakeCustomPolicyBindings) UpdateStatus(ctx context.Context, customPolicyBinding *auth.CustomPolicyBinding, opts v1.UpdateOptions) (*auth.CustomPolicyBinding, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeCustomPolicyBindings) Watch ¶ added in v1.4.0
func (c *FakeCustomPolicyBindings) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested customPolicyBindings.
type FakeGroups ¶
type FakeGroups struct {
Fake *FakeAuth
}
FakeGroups implements GroupInterface
func (*FakeGroups) Create ¶
func (c *FakeGroups) Create(ctx context.Context, group *auth.Group, opts v1.CreateOptions) (result *auth.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 *auth.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 *auth.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 *auth.Group, err error)
Patch applies the patch and returns the patched group.
func (*FakeGroups) Update ¶
func (c *FakeGroups) Update(ctx context.Context, group *auth.Group, opts v1.UpdateOptions) (result *auth.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 *auth.Group, opts v1.UpdateOptions) (*auth.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 FakeIdentityProviders ¶
type FakeIdentityProviders struct {
Fake *FakeAuth
}
FakeIdentityProviders implements IdentityProviderInterface
func (*FakeIdentityProviders) Create ¶
func (c *FakeIdentityProviders) Create(ctx context.Context, identityProvider *auth.IdentityProvider, opts v1.CreateOptions) (result *auth.IdentityProvider, err error)
Create takes the representation of a identityProvider and creates it. Returns the server's representation of the identityProvider, and an error, if there is any.
func (*FakeIdentityProviders) Delete ¶
func (c *FakeIdentityProviders) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the identityProvider and deletes it. Returns an error if one occurs.
func (*FakeIdentityProviders) DeleteCollection ¶
func (c *FakeIdentityProviders) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeIdentityProviders) Get ¶
func (c *FakeIdentityProviders) Get(ctx context.Context, name string, options v1.GetOptions) (result *auth.IdentityProvider, err error)
Get takes name of the identityProvider, and returns the corresponding identityProvider object, and an error if there is any.
func (*FakeIdentityProviders) List ¶
func (c *FakeIdentityProviders) List(ctx context.Context, opts v1.ListOptions) (result *auth.IdentityProviderList, err error)
List takes label and field selectors, and returns the list of IdentityProviders that match those selectors.
func (*FakeIdentityProviders) Patch ¶
func (c *FakeIdentityProviders) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *auth.IdentityProvider, err error)
Patch applies the patch and returns the patched identityProvider.
func (*FakeIdentityProviders) Update ¶
func (c *FakeIdentityProviders) Update(ctx context.Context, identityProvider *auth.IdentityProvider, opts v1.UpdateOptions) (result *auth.IdentityProvider, err error)
Update takes the representation of a identityProvider and updates it. Returns the server's representation of the identityProvider, and an error, if there is any.
func (*FakeIdentityProviders) Watch ¶
func (c *FakeIdentityProviders) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested identityProviders.
type FakeLocalGroups ¶
type FakeLocalGroups struct {
Fake *FakeAuth
}
FakeLocalGroups implements LocalGroupInterface
func (*FakeLocalGroups) Create ¶
func (c *FakeLocalGroups) Create(ctx context.Context, localGroup *auth.LocalGroup, opts v1.CreateOptions) (result *auth.LocalGroup, err error)
Create takes the representation of a localGroup and creates it. Returns the server's representation of the localGroup, and an error, if there is any.
func (*FakeLocalGroups) Delete ¶
func (c *FakeLocalGroups) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the localGroup and deletes it. Returns an error if one occurs.
func (*FakeLocalGroups) DeleteCollection ¶
func (c *FakeLocalGroups) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeLocalGroups) Get ¶
func (c *FakeLocalGroups) Get(ctx context.Context, name string, options v1.GetOptions) (result *auth.LocalGroup, err error)
Get takes name of the localGroup, and returns the corresponding localGroup object, and an error if there is any.
func (*FakeLocalGroups) List ¶
func (c *FakeLocalGroups) List(ctx context.Context, opts v1.ListOptions) (result *auth.LocalGroupList, err error)
List takes label and field selectors, and returns the list of LocalGroups that match those selectors.
func (*FakeLocalGroups) Patch ¶
func (c *FakeLocalGroups) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *auth.LocalGroup, err error)
Patch applies the patch and returns the patched localGroup.
func (*FakeLocalGroups) Update ¶
func (c *FakeLocalGroups) Update(ctx context.Context, localGroup *auth.LocalGroup, opts v1.UpdateOptions) (result *auth.LocalGroup, err error)
Update takes the representation of a localGroup and updates it. Returns the server's representation of the localGroup, and an error, if there is any.
func (*FakeLocalGroups) UpdateStatus ¶
func (c *FakeLocalGroups) UpdateStatus(ctx context.Context, localGroup *auth.LocalGroup, opts v1.UpdateOptions) (*auth.LocalGroup, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeLocalGroups) Watch ¶
func (c *FakeLocalGroups) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested localGroups.
type FakeLocalIdentities ¶
type FakeLocalIdentities struct {
Fake *FakeAuth
}
FakeLocalIdentities implements LocalIdentityInterface
func (*FakeLocalIdentities) Create ¶
func (c *FakeLocalIdentities) Create(ctx context.Context, localIdentity *auth.LocalIdentity, opts v1.CreateOptions) (result *auth.LocalIdentity, err error)
Create takes the representation of a localIdentity and creates it. Returns the server's representation of the localIdentity, and an error, if there is any.
func (*FakeLocalIdentities) Delete ¶
func (c *FakeLocalIdentities) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the localIdentity and deletes it. Returns an error if one occurs.
func (*FakeLocalIdentities) DeleteCollection ¶
func (c *FakeLocalIdentities) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeLocalIdentities) Get ¶
func (c *FakeLocalIdentities) Get(ctx context.Context, name string, options v1.GetOptions) (result *auth.LocalIdentity, err error)
Get takes name of the localIdentity, and returns the corresponding localIdentity object, and an error if there is any.
func (*FakeLocalIdentities) List ¶
func (c *FakeLocalIdentities) List(ctx context.Context, opts v1.ListOptions) (result *auth.LocalIdentityList, err error)
List takes label and field selectors, and returns the list of LocalIdentities that match those selectors.
func (*FakeLocalIdentities) Patch ¶
func (c *FakeLocalIdentities) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *auth.LocalIdentity, err error)
Patch applies the patch and returns the patched localIdentity.
func (*FakeLocalIdentities) Update ¶
func (c *FakeLocalIdentities) Update(ctx context.Context, localIdentity *auth.LocalIdentity, opts v1.UpdateOptions) (result *auth.LocalIdentity, err error)
Update takes the representation of a localIdentity and updates it. Returns the server's representation of the localIdentity, and an error, if there is any.
func (*FakeLocalIdentities) UpdateStatus ¶
func (c *FakeLocalIdentities) UpdateStatus(ctx context.Context, localIdentity *auth.LocalIdentity, opts v1.UpdateOptions) (*auth.LocalIdentity, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeLocalIdentities) Watch ¶
func (c *FakeLocalIdentities) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested localIdentities.
type FakePolicies ¶
type FakePolicies struct {
Fake *FakeAuth
}
FakePolicies implements PolicyInterface
func (*FakePolicies) Create ¶
func (c *FakePolicies) Create(ctx context.Context, policy *auth.Policy, opts v1.CreateOptions) (result *auth.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 *auth.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 *auth.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 *auth.Policy, err error)
Patch applies the patch and returns the patched policy.
func (*FakePolicies) Update ¶
func (c *FakePolicies) Update(ctx context.Context, policy *auth.Policy, opts v1.UpdateOptions) (result *auth.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 *auth.Policy, opts v1.UpdateOptions) (*auth.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.
type FakeProjectPolicyBindings ¶ added in v1.3.1
type FakeProjectPolicyBindings struct {
Fake *FakeAuth
}
FakeProjectPolicyBindings implements ProjectPolicyBindingInterface
func (*FakeProjectPolicyBindings) Create ¶ added in v1.3.1
func (c *FakeProjectPolicyBindings) Create(ctx context.Context, projectPolicyBinding *auth.ProjectPolicyBinding, opts v1.CreateOptions) (result *auth.ProjectPolicyBinding, err error)
Create takes the representation of a projectPolicyBinding and creates it. Returns the server's representation of the projectPolicyBinding, and an error, if there is any.
func (*FakeProjectPolicyBindings) Delete ¶ added in v1.3.1
func (c *FakeProjectPolicyBindings) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the projectPolicyBinding and deletes it. Returns an error if one occurs.
func (*FakeProjectPolicyBindings) DeleteCollection ¶ added in v1.3.1
func (c *FakeProjectPolicyBindings) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeProjectPolicyBindings) Get ¶ added in v1.3.1
func (c *FakeProjectPolicyBindings) Get(ctx context.Context, name string, options v1.GetOptions) (result *auth.ProjectPolicyBinding, err error)
Get takes name of the projectPolicyBinding, and returns the corresponding projectPolicyBinding object, and an error if there is any.
func (*FakeProjectPolicyBindings) List ¶ added in v1.3.1
func (c *FakeProjectPolicyBindings) List(ctx context.Context, opts v1.ListOptions) (result *auth.ProjectPolicyBindingList, err error)
List takes label and field selectors, and returns the list of ProjectPolicyBindings that match those selectors.
func (*FakeProjectPolicyBindings) Patch ¶ added in v1.3.1
func (c *FakeProjectPolicyBindings) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *auth.ProjectPolicyBinding, err error)
Patch applies the patch and returns the patched projectPolicyBinding.
func (*FakeProjectPolicyBindings) Update ¶ added in v1.3.1
func (c *FakeProjectPolicyBindings) Update(ctx context.Context, projectPolicyBinding *auth.ProjectPolicyBinding, opts v1.UpdateOptions) (result *auth.ProjectPolicyBinding, err error)
Update takes the representation of a projectPolicyBinding and updates it. Returns the server's representation of the projectPolicyBinding, and an error, if there is any.
func (*FakeProjectPolicyBindings) UpdateStatus ¶ added in v1.3.1
func (c *FakeProjectPolicyBindings) UpdateStatus(ctx context.Context, projectPolicyBinding *auth.ProjectPolicyBinding, opts v1.UpdateOptions) (*auth.ProjectPolicyBinding, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeProjectPolicyBindings) Watch ¶ added in v1.3.1
func (c *FakeProjectPolicyBindings) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested projectPolicyBindings.
type FakeProjects ¶ added in v1.3.1
type FakeProjects struct {
Fake *FakeAuth
}
FakeProjects implements ProjectInterface
func (*FakeProjects) Create ¶ added in v1.3.1
func (c *FakeProjects) Create(ctx context.Context, project *auth.Project, opts v1.CreateOptions) (result *auth.Project, err error)
Create takes the representation of a project and creates it. Returns the server's representation of the project, and an error, if there is any.
func (*FakeProjects) Delete ¶ added in v1.3.1
func (c *FakeProjects) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the project and deletes it. Returns an error if one occurs.
func (*FakeProjects) DeleteCollection ¶ added in v1.3.1
func (c *FakeProjects) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeProjects) Get ¶ added in v1.3.1
func (c *FakeProjects) Get(ctx context.Context, name string, options v1.GetOptions) (result *auth.Project, err error)
Get takes name of the project, and returns the corresponding project object, and an error if there is any.
func (*FakeProjects) List ¶ added in v1.3.1
func (c *FakeProjects) List(ctx context.Context, opts v1.ListOptions) (result *auth.ProjectList, err error)
List takes label and field selectors, and returns the list of Projects that match those selectors.
func (*FakeProjects) Patch ¶ added in v1.3.1
func (c *FakeProjects) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *auth.Project, err error)
Patch applies the patch and returns the patched project.
func (*FakeProjects) Update ¶ added in v1.3.1
func (c *FakeProjects) Update(ctx context.Context, project *auth.Project, opts v1.UpdateOptions) (result *auth.Project, err error)
Update takes the representation of a project and updates it. Returns the server's representation of the project, and an error, if there is any.
func (*FakeProjects) Watch ¶ added in v1.3.1
func (c *FakeProjects) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested projects.
type FakeRoles ¶
type FakeRoles struct {
Fake *FakeAuth
}
FakeRoles implements RoleInterface
func (*FakeRoles) Create ¶
func (c *FakeRoles) Create(ctx context.Context, role *auth.Role, opts v1.CreateOptions) (result *auth.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 v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeRoles) Get ¶
func (c *FakeRoles) Get(ctx context.Context, name string, options v1.GetOptions) (result *auth.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 v1.ListOptions) (result *auth.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 v1.PatchOptions, subresources ...string) (result *auth.Role, err error)
Patch applies the patch and returns the patched role.
func (*FakeRoles) Update ¶
func (c *FakeRoles) Update(ctx context.Context, role *auth.Role, opts v1.UpdateOptions) (result *auth.Role, err error)
Update takes the representation of a role and updates it. Returns the server's representation of the role, and an error, if there is any.
func (*FakeRoles) UpdateStatus ¶
func (c *FakeRoles) UpdateStatus(ctx context.Context, role *auth.Role, opts v1.UpdateOptions) (*auth.Role, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
type FakeRules ¶
type FakeRules struct {
Fake *FakeAuth
}
FakeRules implements RuleInterface
func (*FakeRules) Create ¶
func (c *FakeRules) Create(ctx context.Context, rule *auth.Rule, opts v1.CreateOptions) (result *auth.Rule, err error)
Create takes the representation of a rule and creates it. Returns the server's representation of the rule, and an error, if there is any.
func (*FakeRules) Delete ¶
Delete takes name of the rule and deletes it. Returns an error if one occurs.
func (*FakeRules) DeleteCollection ¶
func (c *FakeRules) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeRules) Get ¶
func (c *FakeRules) Get(ctx context.Context, name string, options v1.GetOptions) (result *auth.Rule, err error)
Get takes name of the rule, and returns the corresponding rule object, and an error if there is any.
func (*FakeRules) List ¶
func (c *FakeRules) List(ctx context.Context, opts v1.ListOptions) (result *auth.RuleList, err error)
List takes label and field selectors, and returns the list of Rules that match those selectors.
func (*FakeRules) Patch ¶
func (c *FakeRules) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *auth.Rule, err error)
Patch applies the patch and returns the patched rule.
type FakeUsers ¶
type FakeUsers struct {
Fake *FakeAuth
}
FakeUsers implements UserInterface
func (*FakeUsers) Create ¶
func (c *FakeUsers) Create(ctx context.Context, user *auth.User, opts v1.CreateOptions) (result *auth.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 *auth.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 *auth.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 *auth.User, err error)
Patch applies the patch and returns the patched user.
Source Files ¶
- doc.go
- fake_apikey.go
- fake_apisigningkey.go
- fake_auth_client.go
- fake_category.go
- fake_client.go
- fake_configmap.go
- fake_custompolicybinding.go
- fake_group.go
- fake_identityprovider.go
- fake_localgroup.go
- fake_localidentity.go
- fake_policy.go
- fake_project.go
- fake_projectpolicybinding.go
- fake_role.go
- fake_rule.go
- fake_user.go