Documentation ¶
Index ¶
Constants ¶
View Source
const GroupName = ""
Variables ¶
View Source
var SchemeGroupVersion = unversioned.GroupVersion{Group: GroupName, Version: "v1"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func AddToScheme ¶ added in v1.1.3
Types ¶
type OAuthAccessToken ¶
type OAuthAccessToken struct { unversioned.TypeMeta `json:",inline"` // Standard object's metadata. kapi.ObjectMeta `json:"metadata,omitempty"` // ClientName references the client that created this token. ClientName string `json:"clientName,omitempty" description:"references the client that created this token"` // ExpiresIn is the seconds from CreationTime before this token expires. ExpiresIn int64 `json:"expiresIn,omitempty" description:"is the seconds from creation time before this token expires"` // Scopes is an array of the requested scopes. Scopes []string `json:"scopes,omitempty" description:"list of requested scopes"` // RedirectURI is the redirection associated with the token. RedirectURI string `json:"redirectURI,omitempty" description:"redirection URI associated with the token"` // UserName is the user name associated with this token UserName string `json:"userName,omitempty" description:"user name associated with this token"` // UserUID is the unique UID associated with this token UserUID string `json:"userUID,omitempty" description:"unique UID associated with this token"` // AuthorizeToken contains the token that authorized this token AuthorizeToken string `json:"authorizeToken,omitempty" description:"contains the token that authorized this token"` // RefreshToken is the value by which this token can be renewed. Can be blank. RefreshToken string `json:"refreshToken,omitempty" description:"optional value by which this token can be renewed"` }
OAuthAccessToken describes an OAuth access token
func (*OAuthAccessToken) GetObjectKind ¶ added in v1.1.3
func (obj *OAuthAccessToken) GetObjectKind() unversioned.ObjectKind
func (OAuthAccessToken) SwaggerDoc ¶ added in v1.1.4
func (OAuthAccessToken) SwaggerDoc() map[string]string
type OAuthAccessTokenList ¶
type OAuthAccessTokenList struct { unversioned.TypeMeta `json:",inline"` // Standard object's metadata. unversioned.ListMeta `json:"metadata,omitempty"` // Items is the list of OAuth access tokens Items []OAuthAccessToken `json:"items" description:"list of oauth access tokens"` }
OAuthAccessTokenList is a collection of OAuth access tokens
func (*OAuthAccessTokenList) GetObjectKind ¶ added in v1.1.3
func (obj *OAuthAccessTokenList) GetObjectKind() unversioned.ObjectKind
func (OAuthAccessTokenList) SwaggerDoc ¶ added in v1.1.4
func (OAuthAccessTokenList) SwaggerDoc() map[string]string
type OAuthAuthorizeToken ¶
type OAuthAuthorizeToken struct { unversioned.TypeMeta `json:",inline"` // Standard object's metadata. kapi.ObjectMeta `json:"metadata,omitempty"` // ClientName references the client that created this token. ClientName string `json:"clientName,omitempty" description:"references the client that created this token"` // ExpiresIn is the seconds from CreationTime before this token expires. ExpiresIn int64 `json:"expiresIn,omitempty" description:"seconds from creation time before this token expires"` // Scopes is an array of the requested scopes. Scopes []string `json:"scopes,omitempty" description:"list of requested scopes"` // RedirectURI is the redirection associated with the token. RedirectURI string `json:"redirectURI,omitempty" description:"redirection URI associated with the token"` // State data from request State string `json:"state,omitempty" description:"state data from request"` // UserName is the user name associated with this token UserName string `json:"userName,omitempty" description:"user name associated with this token"` // UserUID is the unique UID associated with this token. UserUID and UserName must both match // for this token to be valid. UserUID string `` /* 142-byte string literal not displayed */ }
OAuthAuthorizeToken describes an OAuth authorization token
func (*OAuthAuthorizeToken) GetObjectKind ¶ added in v1.1.3
func (obj *OAuthAuthorizeToken) GetObjectKind() unversioned.ObjectKind
func (OAuthAuthorizeToken) SwaggerDoc ¶ added in v1.1.4
func (OAuthAuthorizeToken) SwaggerDoc() map[string]string
type OAuthAuthorizeTokenList ¶
type OAuthAuthorizeTokenList struct { unversioned.TypeMeta `json:",inline"` // Standard object's metadata. unversioned.ListMeta `json:"metadata,omitempty"` // Items is the list of OAuth authorization tokens Items []OAuthAuthorizeToken `json:"items" description:"list of oauth authorization tokens"` }
OAuthAuthorizeTokenList is a collection of OAuth authorization tokens
func (*OAuthAuthorizeTokenList) GetObjectKind ¶ added in v1.1.3
func (obj *OAuthAuthorizeTokenList) GetObjectKind() unversioned.ObjectKind
func (OAuthAuthorizeTokenList) SwaggerDoc ¶ added in v1.1.4
func (OAuthAuthorizeTokenList) SwaggerDoc() map[string]string
type OAuthClient ¶
type OAuthClient struct { unversioned.TypeMeta `json:",inline"` // Standard object's metadata. kapi.ObjectMeta `json:"metadata,omitempty"` // Secret is the unique secret associated with a client Secret string `json:"secret,omitempty" description:"unique secret associated with a client"` // RespondWithChallenges indicates whether the client wants authentication needed responses made in the form of challenges instead of redirects RespondWithChallenges bool `` /* 171-byte string literal not displayed */ // RedirectURIs is the valid redirection URIs associated with a client RedirectURIs []string `json:"redirectURIs,omitempty" description:"valid redirection URIs associated with a client"` }
OAuthClient describes an OAuth client
func (*OAuthClient) GetObjectKind ¶ added in v1.1.3
func (obj *OAuthClient) GetObjectKind() unversioned.ObjectKind
func (OAuthClient) SwaggerDoc ¶ added in v1.1.4
func (OAuthClient) SwaggerDoc() map[string]string
type OAuthClientAuthorization ¶
type OAuthClientAuthorization struct { unversioned.TypeMeta `json:",inline"` // Standard object's metadata. kapi.ObjectMeta `json:"metadata,omitempty"` // ClientName references the client that created this authorization ClientName string `json:"clientName,omitempty" description:"references the client that created this authorization"` // UserName is the user name that authorized this client UserName string `json:"userName,omitempty" description:"user name that authorized this client"` // UserUID is the unique UID associated with this authorization. UserUID and UserName // must both match for this authorization to be valid. UserUID string `` /* 157-byte string literal not displayed */ // Scopes is an array of the granted scopes. Scopes []string `json:"scopes,omitempty" description:"list of granted scopes"` }
OAuthClientAuthorization describes an authorization created by an OAuth client
func (*OAuthClientAuthorization) GetObjectKind ¶ added in v1.1.3
func (obj *OAuthClientAuthorization) GetObjectKind() unversioned.ObjectKind
func (OAuthClientAuthorization) SwaggerDoc ¶ added in v1.1.4
func (OAuthClientAuthorization) SwaggerDoc() map[string]string
type OAuthClientAuthorizationList ¶
type OAuthClientAuthorizationList struct { unversioned.TypeMeta `json:",inline"` // Standard object's metadata. unversioned.ListMeta `json:"metadata,omitempty"` // Items is the list of OAuth client authorizations Items []OAuthClientAuthorization `json:"items" description:"list of oauth client authorizations"` }
OAuthClientAuthorizationList is a collection of OAuth client authorizations
func (*OAuthClientAuthorizationList) GetObjectKind ¶ added in v1.1.3
func (obj *OAuthClientAuthorizationList) GetObjectKind() unversioned.ObjectKind
func (OAuthClientAuthorizationList) SwaggerDoc ¶ added in v1.1.4
func (OAuthClientAuthorizationList) SwaggerDoc() map[string]string
type OAuthClientList ¶
type OAuthClientList struct { unversioned.TypeMeta `json:",inline"` // Standard object's metadata. unversioned.ListMeta `json:"metadata,omitempty"` // Items is the list of OAuth clients Items []OAuthClient `json:"items" description:"list of oauth clients"` }
OAuthClientList is a collection of OAuth clients
func (*OAuthClientList) GetObjectKind ¶ added in v1.1.3
func (obj *OAuthClientList) GetObjectKind() unversioned.ObjectKind
func (OAuthClientList) SwaggerDoc ¶ added in v1.1.4
func (OAuthClientList) SwaggerDoc() map[string]string
Click to show internal directories.
Click to hide internal directories.