Documentation ¶
Overview ¶
This package has the automatically generated typed clients.
Index ¶
- type APIKeyExpansion
- type APIKeyInterface
- type APIKeysGetter
- type APISigningKeyExpansion
- type APISigningKeyInterface
- type APISigningKeysGetter
- type AuthClient
- func (c *AuthClient) APIKeys() APIKeyInterface
- func (c *AuthClient) APISigningKeys() APISigningKeyInterface
- func (c *AuthClient) Categories() CategoryInterface
- func (c *AuthClient) Clients() ClientInterface
- func (c *AuthClient) ConfigMaps() ConfigMapInterface
- func (c *AuthClient) Groups() GroupInterface
- func (c *AuthClient) IdentityProviders() IdentityProviderInterface
- func (c *AuthClient) LocalGroups() LocalGroupInterface
- func (c *AuthClient) LocalIdentities() LocalIdentityInterface
- func (c *AuthClient) Policies() PolicyInterface
- func (c *AuthClient) RESTClient() rest.Interface
- func (c *AuthClient) Roles() RoleInterface
- func (c *AuthClient) Rules() RuleInterface
- func (c *AuthClient) Users() UserInterface
- type AuthInterface
- type CategoriesGetter
- type CategoryExpansion
- type CategoryInterface
- type ClientExpansion
- type ClientInterface
- type ClientsGetter
- type ConfigMapExpansion
- type ConfigMapInterface
- type ConfigMapsGetter
- type GroupExpansion
- type GroupInterface
- type GroupsGetter
- type IdentityProviderExpansion
- type IdentityProviderInterface
- type IdentityProvidersGetter
- type LocalGroupExpansion
- type LocalGroupInterface
- type LocalGroupsGetter
- type LocalIdentitiesGetter
- type LocalIdentityExpansion
- type LocalIdentityInterface
- type PoliciesGetter
- type PolicyExpansion
- type PolicyInterface
- type RoleExpansion
- type RoleInterface
- type RolesGetter
- type RuleExpansion
- type RuleInterface
- type RulesGetter
- type UserExpansion
- type UserInterface
- type UsersGetter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIKeyExpansion ¶
type APIKeyExpansion interface{}
type APIKeyInterface ¶
type APIKeyInterface interface { Create(*auth.APIKey) (*auth.APIKey, error) Update(*auth.APIKey) (*auth.APIKey, error) UpdateStatus(*auth.APIKey) (*auth.APIKey, error) Delete(name string, options *v1.DeleteOptions) error DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string, options v1.GetOptions) (*auth.APIKey, error) List(opts v1.ListOptions) (*auth.APIKeyList, error) Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *auth.APIKey, err error) APIKeyExpansion }
APIKeyInterface has methods to work with APIKey resources.
type APIKeysGetter ¶
type APIKeysGetter interface {
APIKeys() APIKeyInterface
}
APIKeysGetter has a method to return a APIKeyInterface. A group's client should implement this interface.
type APISigningKeyExpansion ¶
type APISigningKeyExpansion interface{}
type APISigningKeyInterface ¶
type APISigningKeyInterface interface { Create(*auth.APISigningKey) (*auth.APISigningKey, error) Update(*auth.APISigningKey) (*auth.APISigningKey, error) Delete(name string, options *v1.DeleteOptions) error DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string, options v1.GetOptions) (*auth.APISigningKey, error) List(opts v1.ListOptions) (*auth.APISigningKeyList, error) Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *auth.APISigningKey, err error) APISigningKeyExpansion }
APISigningKeyInterface has methods to work with APISigningKey resources.
type APISigningKeysGetter ¶
type APISigningKeysGetter interface {
APISigningKeys() APISigningKeyInterface
}
APISigningKeysGetter has a method to return a APISigningKeyInterface. A group's client should implement this interface.
type AuthClient ¶
type AuthClient struct {
// contains filtered or unexported fields
}
AuthClient is used to interact with features provided by the auth.tkestack.io group.
func New ¶
func New(c rest.Interface) *AuthClient
New creates a new AuthClient for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*AuthClient, error)
NewForConfig creates a new AuthClient for the given config.
func NewForConfigOrDie ¶
func NewForConfigOrDie(c *rest.Config) *AuthClient
NewForConfigOrDie creates a new AuthClient for the given config and panics if there is an error in the config.
func (*AuthClient) APIKeys ¶
func (c *AuthClient) APIKeys() APIKeyInterface
func (*AuthClient) APISigningKeys ¶
func (c *AuthClient) APISigningKeys() APISigningKeyInterface
func (*AuthClient) Categories ¶
func (c *AuthClient) Categories() CategoryInterface
func (*AuthClient) Clients ¶
func (c *AuthClient) Clients() ClientInterface
func (*AuthClient) ConfigMaps ¶
func (c *AuthClient) ConfigMaps() ConfigMapInterface
func (*AuthClient) Groups ¶
func (c *AuthClient) Groups() GroupInterface
func (*AuthClient) IdentityProviders ¶
func (c *AuthClient) IdentityProviders() IdentityProviderInterface
func (*AuthClient) LocalGroups ¶
func (c *AuthClient) LocalGroups() LocalGroupInterface
func (*AuthClient) LocalIdentities ¶
func (c *AuthClient) LocalIdentities() LocalIdentityInterface
func (*AuthClient) Policies ¶
func (c *AuthClient) Policies() PolicyInterface
func (*AuthClient) RESTClient ¶
func (c *AuthClient) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*AuthClient) Roles ¶
func (c *AuthClient) Roles() RoleInterface
func (*AuthClient) Rules ¶
func (c *AuthClient) Rules() RuleInterface
func (*AuthClient) Users ¶
func (c *AuthClient) Users() UserInterface
type AuthInterface ¶
type AuthInterface interface { RESTClient() rest.Interface APIKeysGetter APISigningKeysGetter CategoriesGetter ClientsGetter ConfigMapsGetter GroupsGetter IdentityProvidersGetter LocalGroupsGetter LocalIdentitiesGetter PoliciesGetter RolesGetter RulesGetter UsersGetter }
type CategoriesGetter ¶
type CategoriesGetter interface {
Categories() CategoryInterface
}
CategoriesGetter has a method to return a CategoryInterface. A group's client should implement this interface.
type CategoryExpansion ¶
type CategoryExpansion interface{}
type CategoryInterface ¶
type CategoryInterface interface { Create(*auth.Category) (*auth.Category, error) Update(*auth.Category) (*auth.Category, error) Delete(name string, options *v1.DeleteOptions) error DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string, options v1.GetOptions) (*auth.Category, error) List(opts v1.ListOptions) (*auth.CategoryList, error) Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *auth.Category, err error) CategoryExpansion }
CategoryInterface has methods to work with Category resources.
type ClientExpansion ¶
type ClientExpansion interface{}
type ClientInterface ¶
type ClientInterface interface { Create(*auth.Client) (*auth.Client, error) Update(*auth.Client) (*auth.Client, error) Delete(name string, options *v1.DeleteOptions) error DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string, options v1.GetOptions) (*auth.Client, error) List(opts v1.ListOptions) (*auth.ClientList, error) Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *auth.Client, err error) ClientExpansion }
ClientInterface has methods to work with Client resources.
type ClientsGetter ¶
type ClientsGetter interface {
Clients() ClientInterface
}
ClientsGetter has a method to return a ClientInterface. A group's client should implement this interface.
type ConfigMapExpansion ¶
type ConfigMapExpansion interface{}
type ConfigMapInterface ¶
type ConfigMapInterface interface { Create(*auth.ConfigMap) (*auth.ConfigMap, error) Update(*auth.ConfigMap) (*auth.ConfigMap, error) Delete(name string, options *v1.DeleteOptions) error Get(name string, options v1.GetOptions) (*auth.ConfigMap, error) List(opts v1.ListOptions) (*auth.ConfigMapList, error) Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *auth.ConfigMap, err error) ConfigMapExpansion }
ConfigMapInterface has methods to work with ConfigMap resources.
type ConfigMapsGetter ¶
type ConfigMapsGetter interface {
ConfigMaps() ConfigMapInterface
}
ConfigMapsGetter has a method to return a ConfigMapInterface. A group's client should implement this interface.
type GroupExpansion ¶
type GroupExpansion interface{}
type GroupInterface ¶
type GroupInterface interface { Create(*auth.Group) (*auth.Group, error) Update(*auth.Group) (*auth.Group, error) UpdateStatus(*auth.Group) (*auth.Group, error) Delete(name string, options *v1.DeleteOptions) error DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string, options v1.GetOptions) (*auth.Group, error) List(opts v1.ListOptions) (*auth.GroupList, error) Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *auth.Group, err error) GroupExpansion }
GroupInterface has methods to work with Group resources.
type GroupsGetter ¶
type GroupsGetter interface {
Groups() GroupInterface
}
GroupsGetter has a method to return a GroupInterface. A group's client should implement this interface.
type IdentityProviderExpansion ¶
type IdentityProviderExpansion interface{}
type IdentityProviderInterface ¶
type IdentityProviderInterface interface { Create(*auth.IdentityProvider) (*auth.IdentityProvider, error) Update(*auth.IdentityProvider) (*auth.IdentityProvider, error) Delete(name string, options *v1.DeleteOptions) error DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string, options v1.GetOptions) (*auth.IdentityProvider, error) List(opts v1.ListOptions) (*auth.IdentityProviderList, error) Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *auth.IdentityProvider, err error) IdentityProviderExpansion }
IdentityProviderInterface has methods to work with IdentityProvider resources.
type IdentityProvidersGetter ¶
type IdentityProvidersGetter interface {
IdentityProviders() IdentityProviderInterface
}
IdentityProvidersGetter has a method to return a IdentityProviderInterface. A group's client should implement this interface.
type LocalGroupExpansion ¶
type LocalGroupExpansion interface{}
type LocalGroupInterface ¶
type LocalGroupInterface interface { Create(*auth.LocalGroup) (*auth.LocalGroup, error) Update(*auth.LocalGroup) (*auth.LocalGroup, error) UpdateStatus(*auth.LocalGroup) (*auth.LocalGroup, error) Delete(name string, options *v1.DeleteOptions) error DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string, options v1.GetOptions) (*auth.LocalGroup, error) List(opts v1.ListOptions) (*auth.LocalGroupList, error) Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *auth.LocalGroup, err error) LocalGroupExpansion }
LocalGroupInterface has methods to work with LocalGroup resources.
type LocalGroupsGetter ¶
type LocalGroupsGetter interface {
LocalGroups() LocalGroupInterface
}
LocalGroupsGetter has a method to return a LocalGroupInterface. A group's client should implement this interface.
type LocalIdentitiesGetter ¶
type LocalIdentitiesGetter interface {
LocalIdentities() LocalIdentityInterface
}
LocalIdentitiesGetter has a method to return a LocalIdentityInterface. A group's client should implement this interface.
type LocalIdentityExpansion ¶
type LocalIdentityExpansion interface{}
type LocalIdentityInterface ¶
type LocalIdentityInterface interface { Create(*auth.LocalIdentity) (*auth.LocalIdentity, error) Update(*auth.LocalIdentity) (*auth.LocalIdentity, error) UpdateStatus(*auth.LocalIdentity) (*auth.LocalIdentity, error) Delete(name string, options *v1.DeleteOptions) error DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string, options v1.GetOptions) (*auth.LocalIdentity, error) List(opts v1.ListOptions) (*auth.LocalIdentityList, error) Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *auth.LocalIdentity, err error) LocalIdentityExpansion }
LocalIdentityInterface has methods to work with LocalIdentity resources.
type PoliciesGetter ¶
type PoliciesGetter interface {
Policies() PolicyInterface
}
PoliciesGetter has a method to return a PolicyInterface. A group's client should implement this interface.
type PolicyExpansion ¶
type PolicyExpansion interface{}
type PolicyInterface ¶
type PolicyInterface interface { Create(*auth.Policy) (*auth.Policy, error) Update(*auth.Policy) (*auth.Policy, error) UpdateStatus(*auth.Policy) (*auth.Policy, error) Delete(name string, options *v1.DeleteOptions) error DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string, options v1.GetOptions) (*auth.Policy, error) List(opts v1.ListOptions) (*auth.PolicyList, error) Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *auth.Policy, err error) PolicyExpansion }
PolicyInterface has methods to work with Policy resources.
type RoleExpansion ¶
type RoleExpansion interface{}
type RoleInterface ¶
type RoleInterface interface { Create(*auth.Role) (*auth.Role, error) Update(*auth.Role) (*auth.Role, error) UpdateStatus(*auth.Role) (*auth.Role, error) Delete(name string, options *v1.DeleteOptions) error DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string, options v1.GetOptions) (*auth.Role, error) List(opts v1.ListOptions) (*auth.RoleList, error) Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *auth.Role, err error) RoleExpansion }
RoleInterface has methods to work with Role resources.
type RolesGetter ¶
type RolesGetter interface {
Roles() RoleInterface
}
RolesGetter has a method to return a RoleInterface. A group's client should implement this interface.
type RuleExpansion ¶
type RuleExpansion interface{}
type RuleInterface ¶
type RuleInterface interface { Create(*auth.Rule) (*auth.Rule, error) Update(*auth.Rule) (*auth.Rule, error) Delete(name string, options *v1.DeleteOptions) error DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string, options v1.GetOptions) (*auth.Rule, error) List(opts v1.ListOptions) (*auth.RuleList, error) Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *auth.Rule, err error) RuleExpansion }
RuleInterface has methods to work with Rule resources.
type RulesGetter ¶
type RulesGetter interface {
Rules() RuleInterface
}
RulesGetter has a method to return a RuleInterface. A group's client should implement this interface.
type UserExpansion ¶
type UserExpansion interface{}
type UserInterface ¶
type UserInterface interface { Create(*auth.User) (*auth.User, error) Update(*auth.User) (*auth.User, error) Delete(name string, options *v1.DeleteOptions) error DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string, options v1.GetOptions) (*auth.User, error) List(opts v1.ListOptions) (*auth.UserList, error) Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *auth.User, err error) UserExpansion }
UserInterface has methods to work with User resources.
type UsersGetter ¶
type UsersGetter interface {
Users() UserInterface
}
UsersGetter has a method to return a UserInterface. A group's client should implement this interface.