 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Matcher ¶
Matchtoken returns a generic matcher for a given label and field selector.
func NewStrategy ¶ added in v1.3.0
func NewStrategy(clientGetter oauthclient.Getter) strategy
Types ¶
type Registry ¶
type Registry interface {
	// ListAuthorizeTokens obtains a list of authorize tokens that match a selector.
	ListAuthorizeTokens(ctx kapi.Context, options *kapi.ListOptions) (*api.OAuthAuthorizeTokenList, error)
	// GetAuthorizeToken retrieves a specific authorize token.
	GetAuthorizeToken(ctx kapi.Context, name string) (*api.OAuthAuthorizeToken, error)
	// CreateAuthorizeToken creates a new authorize token.
	CreateAuthorizeToken(ctx kapi.Context, token *api.OAuthAuthorizeToken) (*api.OAuthAuthorizeToken, error)
	// DeleteAuthorizeToken deletes an authorize token.
	DeleteAuthorizeToken(ctx kapi.Context, name string) error
}
    Registry is an interface for things that know how to store AuthorizeToken objects.
       Source Files
      ¶
      Source Files
      ¶
    
- registry.go
- strategy.go
 Click to show internal directories. 
   Click to hide internal directories.