test

package
v3.6.113-1+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2017 License: Apache-2.0 Imports: 5 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 apirequest.Context, token *api.OAuthAccessToken) (*api.OAuthAccessToken, error)

func (*AccessTokenRegistry) DeleteAccessToken

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

func (*AccessTokenRegistry) GetAccessToken

func (r *AccessTokenRegistry) GetAccessToken(ctx apirequest.Context, name string, options *metav1.GetOptions) (*api.OAuthAccessToken, error)

func (*AccessTokenRegistry) ListAccessTokens

type AuthorizeTokenRegistry

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

func (*AuthorizeTokenRegistry) CreateAuthorizeToken

func (*AuthorizeTokenRegistry) DeleteAuthorizeToken

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

func (*AuthorizeTokenRegistry) GetAuthorizeToken

func (r *AuthorizeTokenRegistry) GetAuthorizeToken(ctx apirequest.Context, name string, options *metav1.GetOptions) (*api.OAuthAuthorizeToken, error)

func (*AuthorizeTokenRegistry) ListAuthorizeTokens

type ClientAuthorizationRegistry

type ClientAuthorizationRegistry struct {
	GetErr               error
	ClientAuthorizations *api.OAuthClientAuthorizationList
	ClientAuthorization  *api.OAuthClientAuthorization

	CreateErr            error
	CreatedAuthorization *api.OAuthClientAuthorization

	UpdateErr            error
	UpdatedAuthorization *api.OAuthClientAuthorization

	DeleteErr                      error
	DeletedClientAuthorizationName string
}

func (*ClientAuthorizationRegistry) ClientAuthorizationName added in v0.2.1

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

func (*ClientAuthorizationRegistry) CreateClientAuthorization

func (*ClientAuthorizationRegistry) DeleteClientAuthorization

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

func (*ClientAuthorizationRegistry) GetClientAuthorization

func (r *ClientAuthorizationRegistry) GetClientAuthorization(ctx apirequest.Context, name string, options *metav1.GetOptions) (*api.OAuthClientAuthorization, error)

func (*ClientAuthorizationRegistry) ListClientAuthorizations

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 apirequest.Context, client *api.OAuthClient) (*api.OAuthClient, error)

func (*ClientRegistry) DeleteClient

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

func (*ClientRegistry) GetClient

func (r *ClientRegistry) GetClient(ctx apirequest.Context, name string, options *metav1.GetOptions) (*api.OAuthClient, error)

func (*ClientRegistry) ListClients

func (*ClientRegistry) UpdateClient

func (r *ClientRegistry) UpdateClient(ctx apirequest.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