v1

package
v1.3.0-alpha.2 Latest Latest
Warning

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

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

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

func AddToScheme(scheme *runtime.Scheme)

func Convert_api_ClusterRoleScopeRestriction_To_v1_ClusterRoleScopeRestriction added in v1.3.0

func Convert_api_ClusterRoleScopeRestriction_To_v1_ClusterRoleScopeRestriction(in *oauth_api.ClusterRoleScopeRestriction, out *ClusterRoleScopeRestriction, s conversion.Scope) error

func Convert_api_OAuthAccessTokenList_To_v1_OAuthAccessTokenList added in v1.3.0

func Convert_api_OAuthAccessTokenList_To_v1_OAuthAccessTokenList(in *oauth_api.OAuthAccessTokenList, out *OAuthAccessTokenList, s conversion.Scope) error

func Convert_api_OAuthAccessToken_To_v1_OAuthAccessToken added in v1.3.0

func Convert_api_OAuthAccessToken_To_v1_OAuthAccessToken(in *oauth_api.OAuthAccessToken, out *OAuthAccessToken, s conversion.Scope) error

func Convert_api_OAuthAuthorizeTokenList_To_v1_OAuthAuthorizeTokenList added in v1.3.0

func Convert_api_OAuthAuthorizeTokenList_To_v1_OAuthAuthorizeTokenList(in *oauth_api.OAuthAuthorizeTokenList, out *OAuthAuthorizeTokenList, s conversion.Scope) error

func Convert_api_OAuthAuthorizeToken_To_v1_OAuthAuthorizeToken added in v1.3.0

func Convert_api_OAuthAuthorizeToken_To_v1_OAuthAuthorizeToken(in *oauth_api.OAuthAuthorizeToken, out *OAuthAuthorizeToken, s conversion.Scope) error

func Convert_api_OAuthClientAuthorizationList_To_v1_OAuthClientAuthorizationList added in v1.3.0

func Convert_api_OAuthClientAuthorizationList_To_v1_OAuthClientAuthorizationList(in *oauth_api.OAuthClientAuthorizationList, out *OAuthClientAuthorizationList, s conversion.Scope) error

func Convert_api_OAuthClientAuthorization_To_v1_OAuthClientAuthorization added in v1.3.0

func Convert_api_OAuthClientAuthorization_To_v1_OAuthClientAuthorization(in *oauth_api.OAuthClientAuthorization, out *OAuthClientAuthorization, s conversion.Scope) error

func Convert_api_OAuthClientList_To_v1_OAuthClientList added in v1.3.0

func Convert_api_OAuthClientList_To_v1_OAuthClientList(in *oauth_api.OAuthClientList, out *OAuthClientList, s conversion.Scope) error

func Convert_api_OAuthClient_To_v1_OAuthClient added in v1.3.0

func Convert_api_OAuthClient_To_v1_OAuthClient(in *oauth_api.OAuthClient, out *OAuthClient, s conversion.Scope) error

func Convert_api_ScopeRestriction_To_v1_ScopeRestriction added in v1.3.0

func Convert_api_ScopeRestriction_To_v1_ScopeRestriction(in *oauth_api.ScopeRestriction, out *ScopeRestriction, s conversion.Scope) error

func Convert_v1_ClusterRoleScopeRestriction_To_api_ClusterRoleScopeRestriction added in v1.3.0

func Convert_v1_ClusterRoleScopeRestriction_To_api_ClusterRoleScopeRestriction(in *ClusterRoleScopeRestriction, out *oauth_api.ClusterRoleScopeRestriction, s conversion.Scope) error

func Convert_v1_OAuthAccessTokenList_To_api_OAuthAccessTokenList added in v1.3.0

func Convert_v1_OAuthAccessTokenList_To_api_OAuthAccessTokenList(in *OAuthAccessTokenList, out *oauth_api.OAuthAccessTokenList, s conversion.Scope) error

func Convert_v1_OAuthAccessToken_To_api_OAuthAccessToken added in v1.3.0

func Convert_v1_OAuthAccessToken_To_api_OAuthAccessToken(in *OAuthAccessToken, out *oauth_api.OAuthAccessToken, s conversion.Scope) error

func Convert_v1_OAuthAuthorizeTokenList_To_api_OAuthAuthorizeTokenList added in v1.3.0

func Convert_v1_OAuthAuthorizeTokenList_To_api_OAuthAuthorizeTokenList(in *OAuthAuthorizeTokenList, out *oauth_api.OAuthAuthorizeTokenList, s conversion.Scope) error

func Convert_v1_OAuthAuthorizeToken_To_api_OAuthAuthorizeToken added in v1.3.0

func Convert_v1_OAuthAuthorizeToken_To_api_OAuthAuthorizeToken(in *OAuthAuthorizeToken, out *oauth_api.OAuthAuthorizeToken, s conversion.Scope) error

func Convert_v1_OAuthClientAuthorizationList_To_api_OAuthClientAuthorizationList added in v1.3.0

func Convert_v1_OAuthClientAuthorizationList_To_api_OAuthClientAuthorizationList(in *OAuthClientAuthorizationList, out *oauth_api.OAuthClientAuthorizationList, s conversion.Scope) error

func Convert_v1_OAuthClientAuthorization_To_api_OAuthClientAuthorization added in v1.3.0

func Convert_v1_OAuthClientAuthorization_To_api_OAuthClientAuthorization(in *OAuthClientAuthorization, out *oauth_api.OAuthClientAuthorization, s conversion.Scope) error

func Convert_v1_OAuthClientList_To_api_OAuthClientList added in v1.3.0

func Convert_v1_OAuthClientList_To_api_OAuthClientList(in *OAuthClientList, out *oauth_api.OAuthClientList, s conversion.Scope) error

func Convert_v1_OAuthClient_To_api_OAuthClient added in v1.3.0

func Convert_v1_OAuthClient_To_api_OAuthClient(in *OAuthClient, out *oauth_api.OAuthClient, s conversion.Scope) error

func Convert_v1_ScopeRestriction_To_api_ScopeRestriction added in v1.3.0

func Convert_v1_ScopeRestriction_To_api_ScopeRestriction(in *ScopeRestriction, out *oauth_api.ScopeRestriction, s conversion.Scope) error

func DeepCopy_v1_ClusterRoleScopeRestriction added in v1.3.0

func DeepCopy_v1_ClusterRoleScopeRestriction(in ClusterRoleScopeRestriction, out *ClusterRoleScopeRestriction, c *conversion.Cloner) error

func DeepCopy_v1_OAuthAccessToken added in v1.3.0

func DeepCopy_v1_OAuthAccessToken(in OAuthAccessToken, out *OAuthAccessToken, c *conversion.Cloner) error

func DeepCopy_v1_OAuthAccessTokenList added in v1.3.0

func DeepCopy_v1_OAuthAccessTokenList(in OAuthAccessTokenList, out *OAuthAccessTokenList, c *conversion.Cloner) error

func DeepCopy_v1_OAuthAuthorizeToken added in v1.3.0

func DeepCopy_v1_OAuthAuthorizeToken(in OAuthAuthorizeToken, out *OAuthAuthorizeToken, c *conversion.Cloner) error

func DeepCopy_v1_OAuthAuthorizeTokenList added in v1.3.0

func DeepCopy_v1_OAuthAuthorizeTokenList(in OAuthAuthorizeTokenList, out *OAuthAuthorizeTokenList, c *conversion.Cloner) error

func DeepCopy_v1_OAuthClient added in v1.3.0

func DeepCopy_v1_OAuthClient(in OAuthClient, out *OAuthClient, c *conversion.Cloner) error

func DeepCopy_v1_OAuthClientAuthorization added in v1.3.0

func DeepCopy_v1_OAuthClientAuthorization(in OAuthClientAuthorization, out *OAuthClientAuthorization, c *conversion.Cloner) error

func DeepCopy_v1_OAuthClientAuthorizationList added in v1.3.0

func DeepCopy_v1_OAuthClientAuthorizationList(in OAuthClientAuthorizationList, out *OAuthClientAuthorizationList, c *conversion.Cloner) error

func DeepCopy_v1_OAuthClientList added in v1.3.0

func DeepCopy_v1_OAuthClientList(in OAuthClientList, out *OAuthClientList, c *conversion.Cloner) error

func DeepCopy_v1_ScopeRestriction added in v1.3.0

func DeepCopy_v1_ScopeRestriction(in ScopeRestriction, out *ScopeRestriction, c *conversion.Cloner) error

Types

type ClusterRoleScopeRestriction added in v1.3.0

type ClusterRoleScopeRestriction struct {
	// RoleNames is the list of cluster roles that can referenced.  * means anything
	RoleNames []string `json:"roleNames"`
	// Namespaces is the list of namespaces that can be referenced.  * means any of them (including *)
	Namespaces []string `json:"namespaces"`
	// AllowEscalation indicates whether you can request roles and their escalating resources
	AllowEscalation bool `json:"allowEscalation"`
}

ClusterRoleScopeRestriction describes restrictions on cluster role scopes

func (ClusterRoleScopeRestriction) SwaggerDoc added in v1.3.0

func (ClusterRoleScopeRestriction) SwaggerDoc() map[string]string

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"`

	// ExpiresIn is the seconds from CreationTime before this token expires.
	ExpiresIn int64 `json:"expiresIn,omitempty"`

	// Scopes is an array of the requested scopes.
	Scopes []string `json:"scopes,omitempty"`

	// RedirectURI is the redirection associated with the token.
	RedirectURI string `json:"redirectURI,omitempty"`

	// UserName is the user name associated with this token
	UserName string `json:"userName,omitempty"`

	// UserUID is the unique UID associated with this token
	UserUID string `json:"userUID,omitempty"`

	// AuthorizeToken contains the token that authorized this token
	AuthorizeToken string `json:"authorizeToken,omitempty"`

	// RefreshToken is the value by which this token can be renewed. Can be blank.
	RefreshToken string `json:"refreshToken,omitempty"`
}

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"`
}

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"`

	// ExpiresIn is the seconds from CreationTime before this token expires.
	ExpiresIn int64 `json:"expiresIn,omitempty"`

	// Scopes is an array of the requested scopes.
	Scopes []string `json:"scopes,omitempty"`

	// RedirectURI is the redirection associated with the token.
	RedirectURI string `json:"redirectURI,omitempty"`

	// State data from request
	State string `json:"state,omitempty"`

	// UserName is the user name associated with this token
	UserName string `json:"userName,omitempty"`

	// UserUID is the unique UID associated with this token. UserUID and UserName must both match
	// for this token to be valid.
	UserUID string `json:"userUID,omitempty"`
}

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"`
}

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"`

	// AdditionalSecrets holds other secrets that may be used to identify the client.  This is useful for rotation
	// and for service account token validation
	AdditionalSecrets []string `json:"additionalSecrets,omitempty"`

	// RespondWithChallenges indicates whether the client wants authentication needed responses made in the form of challenges instead of redirects
	RespondWithChallenges bool `json:"respondWithChallenges,omitempty"`

	// RedirectURIs is the valid redirection URIs associated with a client
	RedirectURIs []string `json:"redirectURIs,omitempty"`

	// ScopeRestrictions describes which scopes this client can request.  Each requested scope
	// is checked against each restriction.  If any restriction matches, then the scope is allowed.
	// If no restriction matches, then the scope is denied.
	ScopeRestrictions []ScopeRestriction `json:"scopeRestrictions,omitempty"`
}

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"`

	// UserName is the user name that authorized this client
	UserName string `json:"userName,omitempty"`

	// UserUID is the unique UID associated with this authorization. UserUID and UserName
	// must both match for this authorization to be valid.
	UserUID string `json:"userUID,omitempty"`

	// Scopes is an array of the granted scopes.
	Scopes []string `json:"scopes,omitempty"`
}

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"`
}

OAuthClientAuthorizationList is a collection of OAuth client authorizations

func (*OAuthClientAuthorizationList) GetObjectKind added in v1.1.3

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"`
}

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

type ScopeRestriction added in v1.3.0

type ScopeRestriction struct {
	// ExactValues means the scope has to match a particular set of strings exactly
	ExactValues []string `json:"literals,omitempty"`

	// ClusterRole describes a set of restrictions for cluster role scoping.
	ClusterRole *ClusterRoleScopeRestriction `json:"clusterRole,omitempty"`
}

ScopeRestriction describe one restriction on scopes. Exactly one option must be non-nil.

func (ScopeRestriction) SwaggerDoc added in v1.3.0

func (ScopeRestriction) SwaggerDoc() map[string]string

Jump to

Keyboard shortcuts

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