 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
      View Source
      
  var Strategy = strategy{kapi.Scheme}
    Strategy is the default logic that applies when creating OAuthAccessToken objects via the REST API.
Functions ¶
Types ¶
type Registry ¶
type Registry interface {
	// ListAccessTokens obtains a list of access tokens that match a selector.
	ListAccessTokens(ctx kapi.Context, selector labels.Selector) (*api.OAuthAccessTokenList, error)
	// GetAccessToken retrieves a specific access token.
	GetAccessToken(ctx kapi.Context, name string) (*api.OAuthAccessToken, error)
	// CreateAccessToken creates a new access token.
	CreateAccessToken(ctx kapi.Context, token *api.OAuthAccessToken) (*api.OAuthAccessToken, error)
	// DeleteAccessToken deletes an access token.
	DeleteAccessToken(ctx kapi.Context, name string) error
}
    Registry is an interface for things that know how to store AccessToken objects.
func NewRegistry ¶
NewRegistry returns a new Registry interface for the given Storage. Any mismatched types will panic.
 Click to show internal directories. 
   Click to hide internal directories.