Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeAPIKeys
- func (c *FakeAPIKeys) Create(aPIKey *authv1.APIKey) (result *authv1.APIKey, err error)
- func (c *FakeAPIKeys) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeAPIKeys) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeAPIKeys) Get(name string, options v1.GetOptions) (result *authv1.APIKey, err error)
- func (c *FakeAPIKeys) List(opts v1.ListOptions) (result *authv1.APIKeyList, err error)
- func (c *FakeAPIKeys) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *authv1.APIKey, err error)
- func (c *FakeAPIKeys) Update(aPIKey *authv1.APIKey) (result *authv1.APIKey, err error)
- func (c *FakeAPIKeys) UpdateStatus(aPIKey *authv1.APIKey) (*authv1.APIKey, error)
- func (c *FakeAPIKeys) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeAPISigningKeys
- func (c *FakeAPISigningKeys) Create(aPISigningKey *authv1.APISigningKey) (result *authv1.APISigningKey, err error)
- func (c *FakeAPISigningKeys) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeAPISigningKeys) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeAPISigningKeys) Get(name string, options v1.GetOptions) (result *authv1.APISigningKey, err error)
- func (c *FakeAPISigningKeys) List(opts v1.ListOptions) (result *authv1.APISigningKeyList, err error)
- func (c *FakeAPISigningKeys) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *authv1.APISigningKey, err error)
- func (c *FakeAPISigningKeys) Update(aPISigningKey *authv1.APISigningKey) (result *authv1.APISigningKey, err error)
- func (c *FakeAPISigningKeys) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeAuthV1
- func (c *FakeAuthV1) APIKeys() v1.APIKeyInterface
- func (c *FakeAuthV1) APISigningKeys() v1.APISigningKeyInterface
- func (c *FakeAuthV1) Categories() v1.CategoryInterface
- func (c *FakeAuthV1) Clients() v1.ClientInterface
- func (c *FakeAuthV1) ConfigMaps() v1.ConfigMapInterface
- func (c *FakeAuthV1) Groups() v1.GroupInterface
- func (c *FakeAuthV1) IdentityProviders() v1.IdentityProviderInterface
- func (c *FakeAuthV1) LocalGroups() v1.LocalGroupInterface
- func (c *FakeAuthV1) LocalIdentities() v1.LocalIdentityInterface
- func (c *FakeAuthV1) Policies() v1.PolicyInterface
- func (c *FakeAuthV1) RESTClient() rest.Interface
- func (c *FakeAuthV1) Roles() v1.RoleInterface
- func (c *FakeAuthV1) Rules() v1.RuleInterface
- func (c *FakeAuthV1) Users() v1.UserInterface
- type FakeCategories
- func (c *FakeCategories) Create(category *authv1.Category) (result *authv1.Category, err error)
- func (c *FakeCategories) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeCategories) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeCategories) Get(name string, options v1.GetOptions) (result *authv1.Category, err error)
- func (c *FakeCategories) List(opts v1.ListOptions) (result *authv1.CategoryList, err error)
- func (c *FakeCategories) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *authv1.Category, err error)
- func (c *FakeCategories) Update(category *authv1.Category) (result *authv1.Category, err error)
- func (c *FakeCategories) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeClients
- func (c *FakeClients) Create(client *authv1.Client) (result *authv1.Client, err error)
- func (c *FakeClients) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeClients) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeClients) Get(name string, options v1.GetOptions) (result *authv1.Client, err error)
- func (c *FakeClients) List(opts v1.ListOptions) (result *authv1.ClientList, err error)
- func (c *FakeClients) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *authv1.Client, err error)
- func (c *FakeClients) Update(client *authv1.Client) (result *authv1.Client, err error)
- func (c *FakeClients) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeConfigMaps
- func (c *FakeConfigMaps) Create(configMap *authv1.ConfigMap) (result *authv1.ConfigMap, err error)
- func (c *FakeConfigMaps) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeConfigMaps) Get(name string, options v1.GetOptions) (result *authv1.ConfigMap, err error)
- func (c *FakeConfigMaps) List(opts v1.ListOptions) (result *authv1.ConfigMapList, err error)
- func (c *FakeConfigMaps) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *authv1.ConfigMap, err error)
- func (c *FakeConfigMaps) Update(configMap *authv1.ConfigMap) (result *authv1.ConfigMap, err error)
- func (c *FakeConfigMaps) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeGroups
- func (c *FakeGroups) Create(group *authv1.Group) (result *authv1.Group, err error)
- func (c *FakeGroups) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeGroups) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeGroups) Get(name string, options v1.GetOptions) (result *authv1.Group, err error)
- func (c *FakeGroups) List(opts v1.ListOptions) (result *authv1.GroupList, err error)
- func (c *FakeGroups) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *authv1.Group, err error)
- func (c *FakeGroups) Update(group *authv1.Group) (result *authv1.Group, err error)
- func (c *FakeGroups) UpdateStatus(group *authv1.Group) (*authv1.Group, error)
- func (c *FakeGroups) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeIdentityProviders
- func (c *FakeIdentityProviders) Create(identityProvider *authv1.IdentityProvider) (result *authv1.IdentityProvider, err error)
- func (c *FakeIdentityProviders) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeIdentityProviders) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeIdentityProviders) Get(name string, options v1.GetOptions) (result *authv1.IdentityProvider, err error)
- func (c *FakeIdentityProviders) List(opts v1.ListOptions) (result *authv1.IdentityProviderList, err error)
- func (c *FakeIdentityProviders) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *authv1.IdentityProvider, err error)
- func (c *FakeIdentityProviders) Update(identityProvider *authv1.IdentityProvider) (result *authv1.IdentityProvider, err error)
- func (c *FakeIdentityProviders) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeLocalGroups
- func (c *FakeLocalGroups) Create(localGroup *authv1.LocalGroup) (result *authv1.LocalGroup, err error)
- func (c *FakeLocalGroups) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeLocalGroups) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeLocalGroups) Get(name string, options v1.GetOptions) (result *authv1.LocalGroup, err error)
- func (c *FakeLocalGroups) List(opts v1.ListOptions) (result *authv1.LocalGroupList, err error)
- func (c *FakeLocalGroups) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *authv1.LocalGroup, err error)
- func (c *FakeLocalGroups) Update(localGroup *authv1.LocalGroup) (result *authv1.LocalGroup, err error)
- func (c *FakeLocalGroups) UpdateStatus(localGroup *authv1.LocalGroup) (*authv1.LocalGroup, error)
- func (c *FakeLocalGroups) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeLocalIdentities
- func (c *FakeLocalIdentities) Create(localIdentity *authv1.LocalIdentity) (result *authv1.LocalIdentity, err error)
- func (c *FakeLocalIdentities) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeLocalIdentities) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeLocalIdentities) Get(name string, options v1.GetOptions) (result *authv1.LocalIdentity, err error)
- func (c *FakeLocalIdentities) List(opts v1.ListOptions) (result *authv1.LocalIdentityList, err error)
- func (c *FakeLocalIdentities) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *authv1.LocalIdentity, err error)
- func (c *FakeLocalIdentities) Update(localIdentity *authv1.LocalIdentity) (result *authv1.LocalIdentity, err error)
- func (c *FakeLocalIdentities) UpdateStatus(localIdentity *authv1.LocalIdentity) (*authv1.LocalIdentity, error)
- func (c *FakeLocalIdentities) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakePolicies
- func (c *FakePolicies) Create(policy *authv1.Policy) (result *authv1.Policy, err error)
- func (c *FakePolicies) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakePolicies) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakePolicies) Get(name string, options v1.GetOptions) (result *authv1.Policy, err error)
- func (c *FakePolicies) List(opts v1.ListOptions) (result *authv1.PolicyList, err error)
- func (c *FakePolicies) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *authv1.Policy, err error)
- func (c *FakePolicies) Update(policy *authv1.Policy) (result *authv1.Policy, err error)
- func (c *FakePolicies) UpdateStatus(policy *authv1.Policy) (*authv1.Policy, error)
- func (c *FakePolicies) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeRoles
- func (c *FakeRoles) Create(role *authv1.Role) (result *authv1.Role, err error)
- func (c *FakeRoles) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeRoles) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeRoles) Get(name string, options v1.GetOptions) (result *authv1.Role, err error)
- func (c *FakeRoles) List(opts v1.ListOptions) (result *authv1.RoleList, err error)
- func (c *FakeRoles) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *authv1.Role, err error)
- func (c *FakeRoles) Update(role *authv1.Role) (result *authv1.Role, err error)
- func (c *FakeRoles) UpdateStatus(role *authv1.Role) (*authv1.Role, error)
- func (c *FakeRoles) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeRules
- func (c *FakeRules) Create(rule *authv1.Rule) (result *authv1.Rule, err error)
- func (c *FakeRules) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeRules) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeRules) Get(name string, options v1.GetOptions) (result *authv1.Rule, err error)
- func (c *FakeRules) List(opts v1.ListOptions) (result *authv1.RuleList, err error)
- func (c *FakeRules) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *authv1.Rule, err error)
- func (c *FakeRules) Update(rule *authv1.Rule) (result *authv1.Rule, err error)
- func (c *FakeRules) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeUsers
- func (c *FakeUsers) Create(user *authv1.User) (result *authv1.User, err error)
- func (c *FakeUsers) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeUsers) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeUsers) Get(name string, options v1.GetOptions) (result *authv1.User, err error)
- func (c *FakeUsers) List(opts v1.ListOptions) (result *authv1.UserList, err error)
- func (c *FakeUsers) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *authv1.User, err error)
- func (c *FakeUsers) Update(user *authv1.User) (result *authv1.User, err error)
- func (c *FakeUsers) Watch(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 *FakeAuthV1
}
FakeAPIKeys implements APIKeyInterface
func (*FakeAPIKeys) Create ¶
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(name string, options *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(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeAPIKeys) Get ¶
func (c *FakeAPIKeys) Get(name string, options v1.GetOptions) (result *authv1.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(opts v1.ListOptions) (result *authv1.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(name string, pt types.PatchType, data []byte, subresources ...string) (result *authv1.APIKey, err error)
Patch applies the patch and returns the patched aPIKey.
func (*FakeAPIKeys) Update ¶
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 ¶
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(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested aPIKeys.
type FakeAPISigningKeys ¶
type FakeAPISigningKeys struct {
Fake *FakeAuthV1
}
FakeAPISigningKeys implements APISigningKeyInterface
func (*FakeAPISigningKeys) Create ¶
func (c *FakeAPISigningKeys) Create(aPISigningKey *authv1.APISigningKey) (result *authv1.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(name string, options *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(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeAPISigningKeys) Get ¶
func (c *FakeAPISigningKeys) Get(name string, options v1.GetOptions) (result *authv1.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(opts v1.ListOptions) (result *authv1.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(name string, pt types.PatchType, data []byte, subresources ...string) (result *authv1.APISigningKey, err error)
Patch applies the patch and returns the patched aPISigningKey.
func (*FakeAPISigningKeys) Update ¶
func (c *FakeAPISigningKeys) Update(aPISigningKey *authv1.APISigningKey) (result *authv1.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(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested aPISigningKeys.
type FakeAuthV1 ¶
func (*FakeAuthV1) APIKeys ¶
func (c *FakeAuthV1) APIKeys() v1.APIKeyInterface
func (*FakeAuthV1) APISigningKeys ¶
func (c *FakeAuthV1) APISigningKeys() v1.APISigningKeyInterface
func (*FakeAuthV1) Categories ¶
func (c *FakeAuthV1) Categories() v1.CategoryInterface
func (*FakeAuthV1) Clients ¶
func (c *FakeAuthV1) Clients() v1.ClientInterface
func (*FakeAuthV1) ConfigMaps ¶
func (c *FakeAuthV1) ConfigMaps() v1.ConfigMapInterface
func (*FakeAuthV1) Groups ¶
func (c *FakeAuthV1) Groups() v1.GroupInterface
func (*FakeAuthV1) IdentityProviders ¶
func (c *FakeAuthV1) IdentityProviders() v1.IdentityProviderInterface
func (*FakeAuthV1) LocalGroups ¶
func (c *FakeAuthV1) LocalGroups() v1.LocalGroupInterface
func (*FakeAuthV1) LocalIdentities ¶
func (c *FakeAuthV1) LocalIdentities() v1.LocalIdentityInterface
func (*FakeAuthV1) Policies ¶
func (c *FakeAuthV1) Policies() v1.PolicyInterface
func (*FakeAuthV1) RESTClient ¶
func (c *FakeAuthV1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeAuthV1) Roles ¶
func (c *FakeAuthV1) Roles() v1.RoleInterface
func (*FakeAuthV1) Rules ¶
func (c *FakeAuthV1) Rules() v1.RuleInterface
func (*FakeAuthV1) Users ¶
func (c *FakeAuthV1) Users() v1.UserInterface
type FakeCategories ¶
type FakeCategories struct {
Fake *FakeAuthV1
}
FakeCategories implements CategoryInterface
func (*FakeCategories) Create ¶
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(name string, options *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(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeCategories) Get ¶
func (c *FakeCategories) Get(name string, options v1.GetOptions) (result *authv1.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(opts v1.ListOptions) (result *authv1.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(name string, pt types.PatchType, data []byte, subresources ...string) (result *authv1.Category, err error)
Patch applies the patch and returns the patched category.
func (*FakeCategories) Update ¶
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(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested categories.
type FakeClients ¶
type FakeClients struct {
Fake *FakeAuthV1
}
FakeClients implements ClientInterface
func (*FakeClients) Create ¶
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(name string, options *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(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeClients) Get ¶
func (c *FakeClients) Get(name string, options v1.GetOptions) (result *authv1.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(opts v1.ListOptions) (result *authv1.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(name string, pt types.PatchType, data []byte, subresources ...string) (result *authv1.Client, err error)
Patch applies the patch and returns the patched client.
func (*FakeClients) Update ¶
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(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested clients.
type FakeConfigMaps ¶
type FakeConfigMaps struct {
Fake *FakeAuthV1
}
FakeConfigMaps implements ConfigMapInterface
func (*FakeConfigMaps) Create ¶
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(name string, options *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(name string, options v1.GetOptions) (result *authv1.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(opts v1.ListOptions) (result *authv1.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(name string, pt types.PatchType, data []byte, subresources ...string) (result *authv1.ConfigMap, err error)
Patch applies the patch and returns the patched configMap.
func (*FakeConfigMaps) Update ¶
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(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested configMaps.
type FakeGroups ¶
type FakeGroups struct {
Fake *FakeAuthV1
}
FakeGroups implements GroupInterface
func (*FakeGroups) Create ¶
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(name string, options *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(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeGroups) Get ¶
func (c *FakeGroups) Get(name string, options v1.GetOptions) (result *authv1.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(opts v1.ListOptions) (result *authv1.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(name string, pt types.PatchType, data []byte, subresources ...string) (result *authv1.Group, err error)
Patch applies the patch and returns the patched group.
func (*FakeGroups) Update ¶
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 ¶
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(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested groups.
type FakeIdentityProviders ¶
type FakeIdentityProviders struct {
Fake *FakeAuthV1
}
FakeIdentityProviders implements IdentityProviderInterface
func (*FakeIdentityProviders) Create ¶
func (c *FakeIdentityProviders) Create(identityProvider *authv1.IdentityProvider) (result *authv1.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(name string, options *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(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeIdentityProviders) Get ¶
func (c *FakeIdentityProviders) Get(name string, options v1.GetOptions) (result *authv1.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(opts v1.ListOptions) (result *authv1.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(name string, pt types.PatchType, data []byte, subresources ...string) (result *authv1.IdentityProvider, err error)
Patch applies the patch and returns the patched identityProvider.
func (*FakeIdentityProviders) Update ¶
func (c *FakeIdentityProviders) Update(identityProvider *authv1.IdentityProvider) (result *authv1.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(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested identityProviders.
type FakeLocalGroups ¶
type FakeLocalGroups struct {
Fake *FakeAuthV1
}
FakeLocalGroups implements LocalGroupInterface
func (*FakeLocalGroups) Create ¶
func (c *FakeLocalGroups) Create(localGroup *authv1.LocalGroup) (result *authv1.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(name string, options *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(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeLocalGroups) Get ¶
func (c *FakeLocalGroups) Get(name string, options v1.GetOptions) (result *authv1.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(opts v1.ListOptions) (result *authv1.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(name string, pt types.PatchType, data []byte, subresources ...string) (result *authv1.LocalGroup, err error)
Patch applies the patch and returns the patched localGroup.
func (*FakeLocalGroups) Update ¶
func (c *FakeLocalGroups) Update(localGroup *authv1.LocalGroup) (result *authv1.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(localGroup *authv1.LocalGroup) (*authv1.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(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested localGroups.
type FakeLocalIdentities ¶
type FakeLocalIdentities struct {
Fake *FakeAuthV1
}
FakeLocalIdentities implements LocalIdentityInterface
func (*FakeLocalIdentities) Create ¶
func (c *FakeLocalIdentities) Create(localIdentity *authv1.LocalIdentity) (result *authv1.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(name string, options *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(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeLocalIdentities) Get ¶
func (c *FakeLocalIdentities) Get(name string, options v1.GetOptions) (result *authv1.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(opts v1.ListOptions) (result *authv1.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(name string, pt types.PatchType, data []byte, subresources ...string) (result *authv1.LocalIdentity, err error)
Patch applies the patch and returns the patched localIdentity.
func (*FakeLocalIdentities) Update ¶
func (c *FakeLocalIdentities) Update(localIdentity *authv1.LocalIdentity) (result *authv1.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(localIdentity *authv1.LocalIdentity) (*authv1.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(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested localIdentities.
type FakePolicies ¶
type FakePolicies struct {
Fake *FakeAuthV1
}
FakePolicies implements PolicyInterface
func (*FakePolicies) Create ¶
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(name string, options *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(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakePolicies) Get ¶
func (c *FakePolicies) Get(name string, options v1.GetOptions) (result *authv1.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(opts v1.ListOptions) (result *authv1.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(name string, pt types.PatchType, data []byte, subresources ...string) (result *authv1.Policy, err error)
Patch applies the patch and returns the patched policy.
func (*FakePolicies) Update ¶
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 ¶
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(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested policies.
type FakeRoles ¶
type FakeRoles struct {
Fake *FakeAuthV1
}
FakeRoles implements RoleInterface
func (*FakeRoles) Create ¶
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 ¶
func (c *FakeRoles) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the role and deletes it. Returns an error if one occurs.
func (*FakeRoles) DeleteCollection ¶
func (c *FakeRoles) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeRoles) Get ¶
Get takes name of the role, and returns the corresponding role object, and an error if there is any.
func (*FakeRoles) List ¶
List takes label and field selectors, and returns the list of Roles that match those selectors.
func (*FakeRoles) Patch ¶
func (c *FakeRoles) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *authv1.Role, err error)
Patch applies the patch and returns the patched role.
func (*FakeRoles) Update ¶
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 ¶
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 *FakeAuthV1
}
FakeRules implements RuleInterface
func (*FakeRules) Create ¶
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 ¶
func (c *FakeRules) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the rule and deletes it. Returns an error if one occurs.
func (*FakeRules) DeleteCollection ¶
func (c *FakeRules) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeRules) Get ¶
Get takes name of the rule, and returns the corresponding rule object, and an error if there is any.
func (*FakeRules) List ¶
List takes label and field selectors, and returns the list of Rules that match those selectors.
func (*FakeRules) Patch ¶
func (c *FakeRules) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *authv1.Rule, err error)
Patch applies the patch and returns the patched rule.
type FakeUsers ¶
type FakeUsers struct {
Fake *FakeAuthV1
}
FakeUsers implements UserInterface
func (*FakeUsers) Create ¶
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 ¶
func (c *FakeUsers) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the user and deletes it. Returns an error if one occurs.
func (*FakeUsers) DeleteCollection ¶
func (c *FakeUsers) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeUsers) Get ¶
Get takes name of the user, and returns the corresponding user object, and an error if there is any.
func (*FakeUsers) List ¶
List takes label and field selectors, and returns the list of Users that match those selectors.
func (*FakeUsers) Patch ¶
func (c *FakeUsers) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *authv1.User, err error)
Patch applies the patch and returns the patched user.