var ( ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenerated = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGenerated = fmt.Errorf("proto: unexpected end of group") )
var ( GroupName = "oauth.openshift.io" GroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1"} // Install is a function which adds this version to a scheme Install = schemeBuilder.AddToScheme // SchemeGroupVersion generated code relies on this name // Deprecated SchemeGroupVersion = GroupVersion // AddToScheme exists solely to keep the old generators creating valid code // DEPRECATED AddToScheme = schemeBuilder.AddToScheme )
var ( DeprecatedInstallWithoutGroup = legacySchemeBuilder.AddToScheme )
func Resource(resource string) schema.GroupResource
Resource generated code relies on this being here, but it logically belongs to the group DEPRECATED
ClusterRoleScopeRestriction describes restrictions on cluster role scopes
type ClusterRoleScopeRestriction struct { // RoleNames is the list of cluster roles that can referenced. * means anything RoleNames []string `json:"roleNames" protobuf:"bytes,1,rep,name=roleNames"` // Namespaces is the list of namespaces that can be referenced. * means any of them (including *) Namespaces []string `json:"namespaces" protobuf:"bytes,2,rep,name=namespaces"` // AllowEscalation indicates whether you can request roles and their escalating resources AllowEscalation bool `json:"allowEscalation" protobuf:"varint,3,opt,name=allowEscalation"` }
func (in *ClusterRoleScopeRestriction) DeepCopy() *ClusterRoleScopeRestriction
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterRoleScopeRestriction.
func (in *ClusterRoleScopeRestriction) DeepCopyInto(out *ClusterRoleScopeRestriction)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterRoleScopeRestriction) Descriptor() ([]byte, []int)
func (m *ClusterRoleScopeRestriction) Marshal() (dAtA []byte, err error)
func (m *ClusterRoleScopeRestriction) MarshalTo(dAtA []byte) (int, error)
func (m *ClusterRoleScopeRestriction) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ClusterRoleScopeRestriction) ProtoMessage()
func (m *ClusterRoleScopeRestriction) Reset()
func (m *ClusterRoleScopeRestriction) Size() (n int)
func (this *ClusterRoleScopeRestriction) String() string
func (ClusterRoleScopeRestriction) SwaggerDoc() map[string]string
func (m *ClusterRoleScopeRestriction) Unmarshal(dAtA []byte) error
func (m *ClusterRoleScopeRestriction) XXX_DiscardUnknown()
func (m *ClusterRoleScopeRestriction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *ClusterRoleScopeRestriction) XXX_Merge(src proto.Message)
func (m *ClusterRoleScopeRestriction) XXX_Size() int
func (m *ClusterRoleScopeRestriction) XXX_Unmarshal(b []byte) error
type GrantHandlerType string
const ( // GrantHandlerAuto auto-approves client authorization grant requests GrantHandlerAuto GrantHandlerType = "auto" // GrantHandlerPrompt prompts the user to approve new client authorization grant requests GrantHandlerPrompt GrantHandlerType = "prompt" // GrantHandlerDeny auto-denies client authorization grant requests GrantHandlerDeny GrantHandlerType = "deny" )
OAuthAccessToken describes an OAuth access token. The name of a token must be prefixed with a `sha256~` string, must not contain "/" or "%" characters and must be at least 32 characters long.
The name of the token is constructed from the actual token by sha256-hashing it and using URL-safe unpadded base64-encoding (as described in RFC4648) on the hashed result.
Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer). +openshift:compatibility-gen:level=1
type OAuthAccessToken struct { metav1.TypeMeta `json:",inline"` // metadata is the standard object's metadata. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // ClientName references the client that created this token. ClientName string `json:"clientName,omitempty" protobuf:"bytes,2,opt,name=clientName"` // ExpiresIn is the seconds from CreationTime before this token expires. ExpiresIn int64 `json:"expiresIn,omitempty" protobuf:"varint,3,opt,name=expiresIn"` // Scopes is an array of the requested scopes. Scopes []string `json:"scopes,omitempty" protobuf:"bytes,4,rep,name=scopes"` // RedirectURI is the redirection associated with the token. RedirectURI string `json:"redirectURI,omitempty" protobuf:"bytes,5,opt,name=redirectURI"` // UserName is the user name associated with this token UserName string `json:"userName,omitempty" protobuf:"bytes,6,opt,name=userName"` // UserUID is the unique UID associated with this token UserUID string `json:"userUID,omitempty" protobuf:"bytes,7,opt,name=userUID"` // AuthorizeToken contains the token that authorized this token AuthorizeToken string `json:"authorizeToken,omitempty" protobuf:"bytes,8,opt,name=authorizeToken"` // RefreshToken is the value by which this token can be renewed. Can be blank. RefreshToken string `json:"refreshToken,omitempty" protobuf:"bytes,9,opt,name=refreshToken"` // InactivityTimeoutSeconds is the value in seconds, from the // CreationTimestamp, after which this token can no longer be used. // The value is automatically incremented when the token is used. InactivityTimeoutSeconds int32 `json:"inactivityTimeoutSeconds,omitempty" protobuf:"varint,10,opt,name=inactivityTimeoutSeconds"` }
func (in *OAuthAccessToken) DeepCopy() *OAuthAccessToken
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OAuthAccessToken.
func (in *OAuthAccessToken) DeepCopyInto(out *OAuthAccessToken)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *OAuthAccessToken) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*OAuthAccessToken) Descriptor() ([]byte, []int)
func (m *OAuthAccessToken) Marshal() (dAtA []byte, err error)
func (m *OAuthAccessToken) MarshalTo(dAtA []byte) (int, error)
func (m *OAuthAccessToken) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*OAuthAccessToken) ProtoMessage()
func (m *OAuthAccessToken) Reset()
func (m *OAuthAccessToken) Size() (n int)
func (this *OAuthAccessToken) String() string
func (OAuthAccessToken) SwaggerDoc() map[string]string
func (m *OAuthAccessToken) Unmarshal(dAtA []byte) error
func (m *OAuthAccessToken) XXX_DiscardUnknown()
func (m *OAuthAccessToken) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *OAuthAccessToken) XXX_Merge(src proto.Message)
func (m *OAuthAccessToken) XXX_Size() int
func (m *OAuthAccessToken) XXX_Unmarshal(b []byte) error
OAuthAccessTokenList is a collection of OAuth access tokens
Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer). +openshift:compatibility-gen:level=1
type OAuthAccessTokenList struct { metav1.TypeMeta `json:",inline"` // metadata is the standard list's metadata. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // Items is the list of OAuth access tokens Items []OAuthAccessToken `json:"items" protobuf:"bytes,2,rep,name=items"` }
func (in *OAuthAccessTokenList) DeepCopy() *OAuthAccessTokenList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OAuthAccessTokenList.
func (in *OAuthAccessTokenList) DeepCopyInto(out *OAuthAccessTokenList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *OAuthAccessTokenList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*OAuthAccessTokenList) Descriptor() ([]byte, []int)
func (m *OAuthAccessTokenList) Marshal() (dAtA []byte, err error)
func (m *OAuthAccessTokenList) MarshalTo(dAtA []byte) (int, error)
func (m *OAuthAccessTokenList) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*OAuthAccessTokenList) ProtoMessage()
func (m *OAuthAccessTokenList) Reset()
func (m *OAuthAccessTokenList) Size() (n int)
func (this *OAuthAccessTokenList) String() string
func (OAuthAccessTokenList) SwaggerDoc() map[string]string
func (m *OAuthAccessTokenList) Unmarshal(dAtA []byte) error
func (m *OAuthAccessTokenList) XXX_DiscardUnknown()
func (m *OAuthAccessTokenList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *OAuthAccessTokenList) XXX_Merge(src proto.Message)
func (m *OAuthAccessTokenList) XXX_Size() int
func (m *OAuthAccessTokenList) XXX_Unmarshal(b []byte) error
OAuthAuthorizeToken describes an OAuth authorization token
Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer). +openshift:compatibility-gen:level=1
type OAuthAuthorizeToken struct { metav1.TypeMeta `json:",inline"` // metadata is the standard object's metadata. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // ClientName references the client that created this token. ClientName string `json:"clientName,omitempty" protobuf:"bytes,2,opt,name=clientName"` // ExpiresIn is the seconds from CreationTime before this token expires. ExpiresIn int64 `json:"expiresIn,omitempty" protobuf:"varint,3,opt,name=expiresIn"` // Scopes is an array of the requested scopes. Scopes []string `json:"scopes,omitempty" protobuf:"bytes,4,rep,name=scopes"` // RedirectURI is the redirection associated with the token. RedirectURI string `json:"redirectURI,omitempty" protobuf:"bytes,5,opt,name=redirectURI"` // State data from request State string `json:"state,omitempty" protobuf:"bytes,6,opt,name=state"` // UserName is the user name associated with this token UserName string `json:"userName,omitempty" protobuf:"bytes,7,opt,name=userName"` // 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" protobuf:"bytes,8,opt,name=userUID"` // CodeChallenge is the optional code_challenge associated with this authorization code, as described in rfc7636 CodeChallenge string `json:"codeChallenge,omitempty" protobuf:"bytes,9,opt,name=codeChallenge"` // CodeChallengeMethod is the optional code_challenge_method associated with this authorization code, as described in rfc7636 CodeChallengeMethod string `json:"codeChallengeMethod,omitempty" protobuf:"bytes,10,opt,name=codeChallengeMethod"` }
func (in *OAuthAuthorizeToken) DeepCopy() *OAuthAuthorizeToken
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OAuthAuthorizeToken.
func (in *OAuthAuthorizeToken) DeepCopyInto(out *OAuthAuthorizeToken)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *OAuthAuthorizeToken) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*OAuthAuthorizeToken) Descriptor() ([]byte, []int)
func (m *OAuthAuthorizeToken) Marshal() (dAtA []byte, err error)
func (m *OAuthAuthorizeToken) MarshalTo(dAtA []byte) (int, error)
func (m *OAuthAuthorizeToken) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*OAuthAuthorizeToken) ProtoMessage()
func (m *OAuthAuthorizeToken) Reset()
func (m *OAuthAuthorizeToken) Size() (n int)
func (this *OAuthAuthorizeToken) String() string
func (OAuthAuthorizeToken) SwaggerDoc() map[string]string
func (m *OAuthAuthorizeToken) Unmarshal(dAtA []byte) error
func (m *OAuthAuthorizeToken) XXX_DiscardUnknown()
func (m *OAuthAuthorizeToken) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *OAuthAuthorizeToken) XXX_Merge(src proto.Message)
func (m *OAuthAuthorizeToken) XXX_Size() int
func (m *OAuthAuthorizeToken) XXX_Unmarshal(b []byte) error
OAuthAuthorizeTokenList is a collection of OAuth authorization tokens
Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer). +openshift:compatibility-gen:level=1
type OAuthAuthorizeTokenList struct { metav1.TypeMeta `json:",inline"` // metadata is the standard list's metadata. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // Items is the list of OAuth authorization tokens Items []OAuthAuthorizeToken `json:"items" protobuf:"bytes,2,rep,name=items"` }
func (in *OAuthAuthorizeTokenList) DeepCopy() *OAuthAuthorizeTokenList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OAuthAuthorizeTokenList.
func (in *OAuthAuthorizeTokenList) DeepCopyInto(out *OAuthAuthorizeTokenList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *OAuthAuthorizeTokenList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*OAuthAuthorizeTokenList) Descriptor() ([]byte, []int)
func (m *OAuthAuthorizeTokenList) Marshal() (dAtA []byte, err error)
func (m *OAuthAuthorizeTokenList) MarshalTo(dAtA []byte) (int, error)
func (m *OAuthAuthorizeTokenList) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*OAuthAuthorizeTokenList) ProtoMessage()
func (m *OAuthAuthorizeTokenList) Reset()
func (m *OAuthAuthorizeTokenList) Size() (n int)
func (this *OAuthAuthorizeTokenList) String() string
func (OAuthAuthorizeTokenList) SwaggerDoc() map[string]string
func (m *OAuthAuthorizeTokenList) Unmarshal(dAtA []byte) error
func (m *OAuthAuthorizeTokenList) XXX_DiscardUnknown()
func (m *OAuthAuthorizeTokenList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *OAuthAuthorizeTokenList) XXX_Merge(src proto.Message)
func (m *OAuthAuthorizeTokenList) XXX_Size() int
func (m *OAuthAuthorizeTokenList) XXX_Unmarshal(b []byte) error
OAuthClient describes an OAuth client
Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer). +openshift:compatibility-gen:level=1
type OAuthClient struct { metav1.TypeMeta `json:",inline"` // metadata is the standard object's metadata. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // Secret is the unique secret associated with a client Secret string `json:"secret,omitempty" protobuf:"bytes,2,opt,name=secret"` // 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" protobuf:"bytes,3,rep,name=additionalSecrets"` // RespondWithChallenges indicates whether the client wants authentication needed responses made in the form of challenges instead of redirects RespondWithChallenges bool `json:"respondWithChallenges,omitempty" protobuf:"varint,4,opt,name=respondWithChallenges"` // RedirectURIs is the valid redirection URIs associated with a client // +patchStrategy=merge RedirectURIs []string `json:"redirectURIs,omitempty" patchStrategy:"merge" protobuf:"bytes,5,rep,name=redirectURIs"` // GrantMethod is a required field which determines how to handle grants for this client. // Valid grant handling methods are: // - auto: always approves grant requests, useful for trusted clients // - prompt: prompts the end user for approval of grant requests, useful for third-party clients GrantMethod GrantHandlerType `json:"grantMethod,omitempty" protobuf:"bytes,6,opt,name=grantMethod,casttype=GrantHandlerType"` // 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" protobuf:"bytes,7,rep,name=scopeRestrictions"` // AccessTokenMaxAgeSeconds overrides the default access token max age for tokens granted to this client. // 0 means no expiration. AccessTokenMaxAgeSeconds *int32 `json:"accessTokenMaxAgeSeconds,omitempty" protobuf:"varint,8,opt,name=accessTokenMaxAgeSeconds"` // AccessTokenInactivityTimeoutSeconds overrides the default token // inactivity timeout for tokens granted to this client. // The value represents the maximum amount of time that can occur between // consecutive uses of the token. Tokens become invalid if they are not // used within this temporal window. The user will need to acquire a new // token to regain access once a token times out. // This value needs to be set only if the default set in configuration is // not appropriate for this client. Valid values are: // - 0: Tokens for this client never time out // - X: Tokens time out if there is no activity for X seconds // The current minimum allowed value for X is 300 (5 minutes) // // WARNING: existing tokens' timeout will not be affected (lowered) by changing this value AccessTokenInactivityTimeoutSeconds *int32 `json:"accessTokenInactivityTimeoutSeconds,omitempty" protobuf:"varint,9,opt,name=accessTokenInactivityTimeoutSeconds"` }
func (in *OAuthClient) DeepCopy() *OAuthClient
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OAuthClient.
func (in *OAuthClient) DeepCopyInto(out *OAuthClient)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *OAuthClient) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*OAuthClient) Descriptor() ([]byte, []int)
func (m *OAuthClient) Marshal() (dAtA []byte, err error)
func (m *OAuthClient) MarshalTo(dAtA []byte) (int, error)
func (m *OAuthClient) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*OAuthClient) ProtoMessage()
func (m *OAuthClient) Reset()
func (m *OAuthClient) Size() (n int)
func (this *OAuthClient) String() string
func (OAuthClient) SwaggerDoc() map[string]string
func (m *OAuthClient) Unmarshal(dAtA []byte) error
func (m *OAuthClient) XXX_DiscardUnknown()
func (m *OAuthClient) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *OAuthClient) XXX_Merge(src proto.Message)
func (m *OAuthClient) XXX_Size() int
func (m *OAuthClient) XXX_Unmarshal(b []byte) error
OAuthClientAuthorization describes an authorization created by an OAuth client
Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer). +openshift:compatibility-gen:level=1
type OAuthClientAuthorization struct { metav1.TypeMeta `json:",inline"` // metadata is the standard object's metadata. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // ClientName references the client that created this authorization ClientName string `json:"clientName,omitempty" protobuf:"bytes,2,opt,name=clientName"` // UserName is the user name that authorized this client UserName string `json:"userName,omitempty" protobuf:"bytes,3,opt,name=userName"` // 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" protobuf:"bytes,4,opt,name=userUID"` // Scopes is an array of the granted scopes. Scopes []string `json:"scopes,omitempty" protobuf:"bytes,5,rep,name=scopes"` }
func (in *OAuthClientAuthorization) DeepCopy() *OAuthClientAuthorization
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OAuthClientAuthorization.
func (in *OAuthClientAuthorization) DeepCopyInto(out *OAuthClientAuthorization)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *OAuthClientAuthorization) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*OAuthClientAuthorization) Descriptor() ([]byte, []int)
func (m *OAuthClientAuthorization) Marshal() (dAtA []byte, err error)
func (m *OAuthClientAuthorization) MarshalTo(dAtA []byte) (int, error)
func (m *OAuthClientAuthorization) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*OAuthClientAuthorization) ProtoMessage()
func (m *OAuthClientAuthorization) Reset()
func (m *OAuthClientAuthorization) Size() (n int)
func (this *OAuthClientAuthorization) String() string
func (OAuthClientAuthorization) SwaggerDoc() map[string]string
func (m *OAuthClientAuthorization) Unmarshal(dAtA []byte) error
func (m *OAuthClientAuthorization) XXX_DiscardUnknown()
func (m *OAuthClientAuthorization) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *OAuthClientAuthorization) XXX_Merge(src proto.Message)
func (m *OAuthClientAuthorization) XXX_Size() int
func (m *OAuthClientAuthorization) XXX_Unmarshal(b []byte) error
OAuthClientAuthorizationList is a collection of OAuth client authorizations
Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer). +openshift:compatibility-gen:level=1
type OAuthClientAuthorizationList struct { metav1.TypeMeta `json:",inline"` // metadata is the standard list's metadata. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // Items is the list of OAuth client authorizations Items []OAuthClientAuthorization `json:"items" protobuf:"bytes,2,rep,name=items"` }
func (in *OAuthClientAuthorizationList) DeepCopy() *OAuthClientAuthorizationList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OAuthClientAuthorizationList.
func (in *OAuthClientAuthorizationList) DeepCopyInto(out *OAuthClientAuthorizationList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *OAuthClientAuthorizationList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*OAuthClientAuthorizationList) Descriptor() ([]byte, []int)
func (m *OAuthClientAuthorizationList) Marshal() (dAtA []byte, err error)
func (m *OAuthClientAuthorizationList) MarshalTo(dAtA []byte) (int, error)
func (m *OAuthClientAuthorizationList) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*OAuthClientAuthorizationList) ProtoMessage()
func (m *OAuthClientAuthorizationList) Reset()
func (m *OAuthClientAuthorizationList) Size() (n int)
func (this *OAuthClientAuthorizationList) String() string
func (OAuthClientAuthorizationList) SwaggerDoc() map[string]string
func (m *OAuthClientAuthorizationList) Unmarshal(dAtA []byte) error
func (m *OAuthClientAuthorizationList) XXX_DiscardUnknown()
func (m *OAuthClientAuthorizationList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *OAuthClientAuthorizationList) XXX_Merge(src proto.Message)
func (m *OAuthClientAuthorizationList) XXX_Size() int
func (m *OAuthClientAuthorizationList) XXX_Unmarshal(b []byte) error
OAuthClientList is a collection of OAuth clients
Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer). +openshift:compatibility-gen:level=1
type OAuthClientList struct { metav1.TypeMeta `json:",inline"` // metadata is the standard list's metadata. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // Items is the list of OAuth clients Items []OAuthClient `json:"items" protobuf:"bytes,2,rep,name=items"` }
func (in *OAuthClientList) DeepCopy() *OAuthClientList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OAuthClientList.
func (in *OAuthClientList) DeepCopyInto(out *OAuthClientList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *OAuthClientList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*OAuthClientList) Descriptor() ([]byte, []int)
func (m *OAuthClientList) Marshal() (dAtA []byte, err error)
func (m *OAuthClientList) MarshalTo(dAtA []byte) (int, error)
func (m *OAuthClientList) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*OAuthClientList) ProtoMessage()
func (m *OAuthClientList) Reset()
func (m *OAuthClientList) Size() (n int)
func (this *OAuthClientList) String() string
func (OAuthClientList) SwaggerDoc() map[string]string
func (m *OAuthClientList) Unmarshal(dAtA []byte) error
func (m *OAuthClientList) XXX_DiscardUnknown()
func (m *OAuthClientList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *OAuthClientList) XXX_Merge(src proto.Message)
func (m *OAuthClientList) XXX_Size() int
func (m *OAuthClientList) XXX_Unmarshal(b []byte) error
OAuthRedirectReference is a reference to an OAuth redirect object.
Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer). +openshift:compatibility-gen:level=1
type OAuthRedirectReference struct { metav1.TypeMeta `json:",inline"` // metadata is the standard object's metadata. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // The reference to an redirect object in the current namespace. Reference RedirectReference `json:"reference,omitempty" protobuf:"bytes,2,opt,name=reference"` }
func (in *OAuthRedirectReference) DeepCopy() *OAuthRedirectReference
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OAuthRedirectReference.
func (in *OAuthRedirectReference) DeepCopyInto(out *OAuthRedirectReference)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *OAuthRedirectReference) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*OAuthRedirectReference) Descriptor() ([]byte, []int)
func (m *OAuthRedirectReference) Marshal() (dAtA []byte, err error)
func (m *OAuthRedirectReference) MarshalTo(dAtA []byte) (int, error)
func (m *OAuthRedirectReference) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*OAuthRedirectReference) ProtoMessage()
func (m *OAuthRedirectReference) Reset()
func (m *OAuthRedirectReference) Size() (n int)
func (this *OAuthRedirectReference) String() string
func (OAuthRedirectReference) SwaggerDoc() map[string]string
func (m *OAuthRedirectReference) Unmarshal(dAtA []byte) error
func (m *OAuthRedirectReference) XXX_DiscardUnknown()
func (m *OAuthRedirectReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *OAuthRedirectReference) XXX_Merge(src proto.Message)
func (m *OAuthRedirectReference) XXX_Size() int
func (m *OAuthRedirectReference) XXX_Unmarshal(b []byte) error
RedirectReference specifies the target in the current namespace that resolves into redirect URIs. Only the 'Route' kind is currently allowed.
type RedirectReference struct { // The group of the target that is being referred to. Group string `json:"group" protobuf:"bytes,1,opt,name=group"` // The kind of the target that is being referred to. Currently, only 'Route' is allowed. Kind string `json:"kind" protobuf:"bytes,2,opt,name=kind"` // The name of the target that is being referred to. e.g. name of the Route. Name string `json:"name" protobuf:"bytes,3,opt,name=name"` }
func (in *RedirectReference) DeepCopy() *RedirectReference
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedirectReference.
func (in *RedirectReference) DeepCopyInto(out *RedirectReference)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RedirectReference) Descriptor() ([]byte, []int)
func (m *RedirectReference) Marshal() (dAtA []byte, err error)
func (m *RedirectReference) MarshalTo(dAtA []byte) (int, error)
func (m *RedirectReference) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RedirectReference) ProtoMessage()
func (m *RedirectReference) Reset()
func (m *RedirectReference) Size() (n int)
func (this *RedirectReference) String() string
func (RedirectReference) SwaggerDoc() map[string]string
func (m *RedirectReference) Unmarshal(dAtA []byte) error
func (m *RedirectReference) XXX_DiscardUnknown()
func (m *RedirectReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *RedirectReference) XXX_Merge(src proto.Message)
func (m *RedirectReference) XXX_Size() int
func (m *RedirectReference) XXX_Unmarshal(b []byte) error
ScopeRestriction describe one restriction on scopes. Exactly one option must be non-nil.
type ScopeRestriction struct { // ExactValues means the scope has to match a particular set of strings exactly ExactValues []string `json:"literals,omitempty" protobuf:"bytes,1,rep,name=literals"` // ClusterRole describes a set of restrictions for cluster role scoping. ClusterRole *ClusterRoleScopeRestriction `json:"clusterRole,omitempty" protobuf:"bytes,2,opt,name=clusterRole"` }
func (in *ScopeRestriction) DeepCopy() *ScopeRestriction
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScopeRestriction.
func (in *ScopeRestriction) DeepCopyInto(out *ScopeRestriction)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ScopeRestriction) Descriptor() ([]byte, []int)
func (m *ScopeRestriction) Marshal() (dAtA []byte, err error)
func (m *ScopeRestriction) MarshalTo(dAtA []byte) (int, error)
func (m *ScopeRestriction) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ScopeRestriction) ProtoMessage()
func (m *ScopeRestriction) Reset()
func (m *ScopeRestriction) Size() (n int)
func (this *ScopeRestriction) String() string
func (ScopeRestriction) SwaggerDoc() map[string]string
func (m *ScopeRestriction) Unmarshal(dAtA []byte) error
func (m *ScopeRestriction) XXX_DiscardUnknown()
func (m *ScopeRestriction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *ScopeRestriction) XXX_Merge(src proto.Message)
func (m *ScopeRestriction) XXX_Size() int
func (m *ScopeRestriction) XXX_Unmarshal(b []byte) error
UserOAuthAccessToken is a virtual resource to mirror OAuthAccessTokens to the user the access token was issued for +openshift:compatibility-gen:level=1
type UserOAuthAccessToken OAuthAccessToken
func (in *UserOAuthAccessToken) DeepCopy() *UserOAuthAccessToken
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserOAuthAccessToken.
func (in *UserOAuthAccessToken) DeepCopyInto(out *UserOAuthAccessToken)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *UserOAuthAccessToken) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*UserOAuthAccessToken) Descriptor() ([]byte, []int)
func (m *UserOAuthAccessToken) Marshal() (dAtA []byte, err error)
func (m *UserOAuthAccessToken) MarshalTo(dAtA []byte) (int, error)
func (m *UserOAuthAccessToken) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UserOAuthAccessToken) ProtoMessage()
func (m *UserOAuthAccessToken) Reset()
func (m *UserOAuthAccessToken) Size() (n int)
func (this *UserOAuthAccessToken) String() string
func (m *UserOAuthAccessToken) Unmarshal(dAtA []byte) error
func (m *UserOAuthAccessToken) XXX_DiscardUnknown()
func (m *UserOAuthAccessToken) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *UserOAuthAccessToken) XXX_Merge(src proto.Message)
func (m *UserOAuthAccessToken) XXX_Size() int
func (m *UserOAuthAccessToken) XXX_Unmarshal(b []byte) error
UserOAuthAccessTokenList is a collection of access tokens issued on behalf of the requesting user
Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer). +openshift:compatibility-gen:level=1
type UserOAuthAccessTokenList struct { metav1.TypeMeta `json:",inline"` // metadata is the standard list's metadata. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` Items []UserOAuthAccessToken `json:"items" protobuf:"bytes,2,rep,name=items"` }
func (in *UserOAuthAccessTokenList) DeepCopy() *UserOAuthAccessTokenList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserOAuthAccessTokenList.
func (in *UserOAuthAccessTokenList) DeepCopyInto(out *UserOAuthAccessTokenList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *UserOAuthAccessTokenList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*UserOAuthAccessTokenList) Descriptor() ([]byte, []int)
func (m *UserOAuthAccessTokenList) Marshal() (dAtA []byte, err error)
func (m *UserOAuthAccessTokenList) MarshalTo(dAtA []byte) (int, error)
func (m *UserOAuthAccessTokenList) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UserOAuthAccessTokenList) ProtoMessage()
func (m *UserOAuthAccessTokenList) Reset()
func (m *UserOAuthAccessTokenList) Size() (n int)
func (this *UserOAuthAccessTokenList) String() string
func (UserOAuthAccessTokenList) SwaggerDoc() map[string]string
func (m *UserOAuthAccessTokenList) Unmarshal(dAtA []byte) error
func (m *UserOAuthAccessTokenList) XXX_DiscardUnknown()
func (m *UserOAuthAccessTokenList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *UserOAuthAccessTokenList) XXX_Merge(src proto.Message)
func (m *UserOAuthAccessTokenList) XXX_Size() int
func (m *UserOAuthAccessTokenList) XXX_Unmarshal(b []byte) error