Documentation ¶
Index ¶
- type AccessTokenRegistry
- func (r *AccessTokenRegistry) CreateAccessToken(token *api.AccessToken) error
- func (r *AccessTokenRegistry) DeleteAccessToken(id string) error
- func (r *AccessTokenRegistry) GetAccessToken(id string) (*api.AccessToken, error)
- func (r *AccessTokenRegistry) ListAccessTokens(labels labels.Selector) (*api.AccessTokenList, error)
- func (r *AccessTokenRegistry) UpdateAccessToken(token *api.AccessToken) error
- type AuthorizeTokenRegistry
- func (r *AuthorizeTokenRegistry) CreateAuthorizeToken(token *api.AuthorizeToken) error
- func (r *AuthorizeTokenRegistry) DeleteAuthorizeToken(id string) error
- func (r *AuthorizeTokenRegistry) GetAuthorizeToken(id string) (*api.AuthorizeToken, error)
- func (r *AuthorizeTokenRegistry) ListAuthorizeTokens(labels labels.Selector) (*api.AuthorizeTokenList, error)
- func (r *AuthorizeTokenRegistry) UpdateAuthorizeToken(token *api.AuthorizeToken) error
- type ClientAuthorizationRegistry
- func (r *ClientAuthorizationRegistry) ClientAuthorizationID(userName, clientName string) string
- func (r *ClientAuthorizationRegistry) CreateClientAuthorization(grant *api.ClientAuthorization) error
- func (r *ClientAuthorizationRegistry) DeleteClientAuthorization(id string) error
- func (r *ClientAuthorizationRegistry) GetClientAuthorization(id string) (*api.ClientAuthorization, error)
- func (r *ClientAuthorizationRegistry) ListClientAuthorizations(label, field labels.Selector) (*api.ClientAuthorizationList, error)
- func (r *ClientAuthorizationRegistry) UpdateClientAuthorization(grant *api.ClientAuthorization) error
- type ClientRegistry
- func (r *ClientRegistry) CreateClient(client *api.Client) error
- func (r *ClientRegistry) DeleteClient(id string) error
- func (r *ClientRegistry) GetClient(id string) (*api.Client, error)
- func (r *ClientRegistry) ListClients(labels labels.Selector) (*api.ClientList, error)
- func (r *ClientRegistry) UpdateClient(client *api.Client) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessTokenRegistry ¶
type AccessTokenRegistry struct { Err error AccessTokens *api.AccessTokenList AccessToken *api.AccessToken DeletedAccessTokenId string }
func (*AccessTokenRegistry) CreateAccessToken ¶
func (r *AccessTokenRegistry) CreateAccessToken(token *api.AccessToken) error
func (*AccessTokenRegistry) DeleteAccessToken ¶
func (r *AccessTokenRegistry) DeleteAccessToken(id string) error
func (*AccessTokenRegistry) GetAccessToken ¶
func (r *AccessTokenRegistry) GetAccessToken(id string) (*api.AccessToken, error)
func (*AccessTokenRegistry) ListAccessTokens ¶
func (r *AccessTokenRegistry) ListAccessTokens(labels labels.Selector) (*api.AccessTokenList, error)
func (*AccessTokenRegistry) UpdateAccessToken ¶
func (r *AccessTokenRegistry) UpdateAccessToken(token *api.AccessToken) error
type AuthorizeTokenRegistry ¶
type AuthorizeTokenRegistry struct { Err error AuthorizeTokens *api.AuthorizeTokenList AuthorizeToken *api.AuthorizeToken DeletedAuthorizeTokenId string }
func (*AuthorizeTokenRegistry) CreateAuthorizeToken ¶
func (r *AuthorizeTokenRegistry) CreateAuthorizeToken(token *api.AuthorizeToken) error
func (*AuthorizeTokenRegistry) DeleteAuthorizeToken ¶
func (r *AuthorizeTokenRegistry) DeleteAuthorizeToken(id string) error
func (*AuthorizeTokenRegistry) GetAuthorizeToken ¶
func (r *AuthorizeTokenRegistry) GetAuthorizeToken(id string) (*api.AuthorizeToken, error)
func (*AuthorizeTokenRegistry) ListAuthorizeTokens ¶
func (r *AuthorizeTokenRegistry) ListAuthorizeTokens(labels labels.Selector) (*api.AuthorizeTokenList, error)
func (*AuthorizeTokenRegistry) UpdateAuthorizeToken ¶
func (r *AuthorizeTokenRegistry) UpdateAuthorizeToken(token *api.AuthorizeToken) error
type ClientAuthorizationRegistry ¶
type ClientAuthorizationRegistry struct { Err error ClientAuthorizations *api.ClientAuthorizationList ClientAuthorization *api.ClientAuthorization DeletedClientAuthorizationId string }
func (*ClientAuthorizationRegistry) ClientAuthorizationID ¶
func (r *ClientAuthorizationRegistry) ClientAuthorizationID(userName, clientName string) string
func (*ClientAuthorizationRegistry) CreateClientAuthorization ¶
func (r *ClientAuthorizationRegistry) CreateClientAuthorization(grant *api.ClientAuthorization) error
func (*ClientAuthorizationRegistry) DeleteClientAuthorization ¶
func (r *ClientAuthorizationRegistry) DeleteClientAuthorization(id string) error
func (*ClientAuthorizationRegistry) GetClientAuthorization ¶
func (r *ClientAuthorizationRegistry) GetClientAuthorization(id string) (*api.ClientAuthorization, error)
func (*ClientAuthorizationRegistry) ListClientAuthorizations ¶
func (r *ClientAuthorizationRegistry) ListClientAuthorizations(label, field labels.Selector) (*api.ClientAuthorizationList, error)
func (*ClientAuthorizationRegistry) UpdateClientAuthorization ¶
func (r *ClientAuthorizationRegistry) UpdateClientAuthorization(grant *api.ClientAuthorization) error
type ClientRegistry ¶
type ClientRegistry struct { Err error Clients *api.ClientList Client *api.Client DeletedClientId string }
func (*ClientRegistry) CreateClient ¶
func (r *ClientRegistry) CreateClient(client *api.Client) error
func (*ClientRegistry) DeleteClient ¶
func (r *ClientRegistry) DeleteClient(id string) error
func (*ClientRegistry) GetClient ¶
func (r *ClientRegistry) GetClient(id string) (*api.Client, error)
func (*ClientRegistry) ListClients ¶
func (r *ClientRegistry) ListClients(labels labels.Selector) (*api.ClientList, error)
func (*ClientRegistry) UpdateClient ¶
func (r *ClientRegistry) UpdateClient(client *api.Client) error
Click to show internal directories.
Click to hide internal directories.