test

package
v1.2.0-rc1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 21, 2016 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

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.OAuthAccessTokenList
	AccessToken            *api.OAuthAccessToken
	DeletedAccessTokenName string
}

func (*AccessTokenRegistry) CreateAccessToken

func (r *AccessTokenRegistry) CreateAccessToken(ctx kapi.Context, token *api.OAuthAccessToken) (*api.OAuthAccessToken, error)

func (*AccessTokenRegistry) DeleteAccessToken

func (r *AccessTokenRegistry) DeleteAccessToken(ctx kapi.Context, name string) error

func (*AccessTokenRegistry) GetAccessToken

func (r *AccessTokenRegistry) GetAccessToken(ctx kapi.Context, name string) (*api.OAuthAccessToken, error)

func (*AccessTokenRegistry) ListAccessTokens

func (r *AccessTokenRegistry) ListAccessTokens(ctx kapi.Context, options *kapi.ListOptions) (*api.OAuthAccessTokenList, error)

type AuthorizeTokenRegistry

type AuthorizeTokenRegistry struct {
	Err                       error
	AuthorizeTokens           *api.OAuthAuthorizeTokenList
	AuthorizeToken            *api.OAuthAuthorizeToken
	DeletedAuthorizeTokenName string
}

func (*AuthorizeTokenRegistry) CreateAuthorizeToken

func (r *AuthorizeTokenRegistry) CreateAuthorizeToken(ctx kapi.Context, token *api.OAuthAuthorizeToken) (*api.OAuthAuthorizeToken, error)

func (*AuthorizeTokenRegistry) DeleteAuthorizeToken

func (r *AuthorizeTokenRegistry) DeleteAuthorizeToken(ctx kapi.Context, name string) error

func (*AuthorizeTokenRegistry) GetAuthorizeToken

func (r *AuthorizeTokenRegistry) GetAuthorizeToken(ctx kapi.Context, name string) (*api.OAuthAuthorizeToken, error)

func (*AuthorizeTokenRegistry) ListAuthorizeTokens

func (r *AuthorizeTokenRegistry) ListAuthorizeTokens(ctx kapi.Context, options *kapi.ListOptions) (*api.OAuthAuthorizeTokenList, error)

type ClientAuthorizationRegistry

type ClientAuthorizationRegistry struct {
	Err                            error
	ClientAuthorizations           *api.OAuthClientAuthorizationList
	ClientAuthorization            *api.OAuthClientAuthorization
	CreatedAuthorization           *api.OAuthClientAuthorization
	UpdatedAuthorization           *api.OAuthClientAuthorization
	DeletedClientAuthorizationName string
}

func (*ClientAuthorizationRegistry) ClientAuthorizationName

func (r *ClientAuthorizationRegistry) ClientAuthorizationName(userName, clientName string) string

func (*ClientAuthorizationRegistry) CreateClientAuthorization

func (*ClientAuthorizationRegistry) DeleteClientAuthorization

func (r *ClientAuthorizationRegistry) DeleteClientAuthorization(ctx kapi.Context, name string) error

func (*ClientAuthorizationRegistry) GetClientAuthorization

func (r *ClientAuthorizationRegistry) GetClientAuthorization(ctx kapi.Context, name string) (*api.OAuthClientAuthorization, error)

func (*ClientAuthorizationRegistry) ListClientAuthorizations

func (r *ClientAuthorizationRegistry) ListClientAuthorizations(ctx kapi.Context, options *kapi.ListOptions) (*api.OAuthClientAuthorizationList, error)

func (*ClientAuthorizationRegistry) UpdateClientAuthorization

type ClientRegistry

type ClientRegistry struct {
	Err               error
	Clients           *api.OAuthClientList
	Client            *api.OAuthClient
	DeletedClientName string
}

func (*ClientRegistry) CreateClient

func (r *ClientRegistry) CreateClient(ctx kapi.Context, client *api.OAuthClient) (*api.OAuthClient, error)

func (*ClientRegistry) DeleteClient

func (r *ClientRegistry) DeleteClient(ctx kapi.Context, name string) error

func (*ClientRegistry) GetClient

func (r *ClientRegistry) GetClient(ctx kapi.Context, name string) (*api.OAuthClient, error)

func (*ClientRegistry) ListClients

func (r *ClientRegistry) ListClients(ctx kapi.Context, options *kapi.ListOptions) (*api.OAuthClientList, error)

func (*ClientRegistry) UpdateClient

func (r *ClientRegistry) UpdateClient(ctx kapi.Context, client *api.OAuthClient) (*api.OAuthClient, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL