v1

package
v0.0.0-...-83b2fe5 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2018 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

+groupName=oauth.openshift.io Package v1 is the v1 version of the API.

Package v1 is a generated protocol buffer package.

It is generated from these files:
	github.com/openshift/api/oauth/v1/generated.proto

It has these top-level messages:
	ClusterRoleScopeRestriction
	OAuthAccessToken
	OAuthAccessTokenList
	OAuthAuthorizeToken
	OAuthAuthorizeTokenList
	OAuthClient
	OAuthClientAuthorization
	OAuthClientAuthorizationList
	OAuthClientList
	OAuthRedirectReference
	RedirectReference
	ScopeRestriction

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenerated   = fmt.Errorf("proto: integer overflow")
)
View Source
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
)
View Source
var (
	DeprecatedInstallWithoutGroup = legacySchemeBuilder.AddToScheme
)

Functions

func Resource

func Resource(resource string) schema.GroupResource

Resource generated code relies on this being here, but it logically belongs to the group DEPRECATED

Types

type ClusterRoleScopeRestriction

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

ClusterRoleScopeRestriction describes restrictions on cluster role scopes

func (*ClusterRoleScopeRestriction) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterRoleScopeRestriction.

func (*ClusterRoleScopeRestriction) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ClusterRoleScopeRestriction) Descriptor

func (*ClusterRoleScopeRestriction) Descriptor() ([]byte, []int)

func (*ClusterRoleScopeRestriction) Marshal

func (m *ClusterRoleScopeRestriction) Marshal() (dAtA []byte, err error)

func (*ClusterRoleScopeRestriction) MarshalTo

func (m *ClusterRoleScopeRestriction) MarshalTo(dAtA []byte) (int, error)

func (*ClusterRoleScopeRestriction) ProtoMessage

func (*ClusterRoleScopeRestriction) ProtoMessage()

func (*ClusterRoleScopeRestriction) Reset

func (m *ClusterRoleScopeRestriction) Reset()

func (*ClusterRoleScopeRestriction) Size

func (m *ClusterRoleScopeRestriction) Size() (n int)

func (*ClusterRoleScopeRestriction) String

func (this *ClusterRoleScopeRestriction) String() string

func (ClusterRoleScopeRestriction) SwaggerDoc

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

func (*ClusterRoleScopeRestriction) Unmarshal

func (m *ClusterRoleScopeRestriction) Unmarshal(dAtA []byte) error

type GrantHandlerType

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

type OAuthAccessToken

type OAuthAccessToken struct {
	metav1.TypeMeta `json:",inline"`
	// Standard object's 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"`
}

OAuthAccessToken describes an OAuth access token

func (*OAuthAccessToken) DeepCopy

func (in *OAuthAccessToken) DeepCopy() *OAuthAccessToken

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OAuthAccessToken.

func (*OAuthAccessToken) DeepCopyInto

func (in *OAuthAccessToken) DeepCopyInto(out *OAuthAccessToken)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*OAuthAccessToken) DeepCopyObject

func (in *OAuthAccessToken) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*OAuthAccessToken) Descriptor

func (*OAuthAccessToken) Descriptor() ([]byte, []int)

func (*OAuthAccessToken) Marshal

func (m *OAuthAccessToken) Marshal() (dAtA []byte, err error)

func (*OAuthAccessToken) MarshalTo

func (m *OAuthAccessToken) MarshalTo(dAtA []byte) (int, error)

func (*OAuthAccessToken) ProtoMessage

func (*OAuthAccessToken) ProtoMessage()

func (*OAuthAccessToken) Reset

func (m *OAuthAccessToken) Reset()

func (*OAuthAccessToken) Size

func (m *OAuthAccessToken) Size() (n int)

func (*OAuthAccessToken) String

func (this *OAuthAccessToken) String() string

func (OAuthAccessToken) SwaggerDoc

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

func (*OAuthAccessToken) Unmarshal

func (m *OAuthAccessToken) Unmarshal(dAtA []byte) error

type OAuthAccessTokenList

type OAuthAccessTokenList struct {
	metav1.TypeMeta `json:",inline"`
	// Standard object's 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"`
}

OAuthAccessTokenList is a collection of OAuth access tokens

func (*OAuthAccessTokenList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OAuthAccessTokenList.

func (*OAuthAccessTokenList) DeepCopyInto

func (in *OAuthAccessTokenList) DeepCopyInto(out *OAuthAccessTokenList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*OAuthAccessTokenList) DeepCopyObject

func (in *OAuthAccessTokenList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*OAuthAccessTokenList) Descriptor

func (*OAuthAccessTokenList) Descriptor() ([]byte, []int)

func (*OAuthAccessTokenList) Marshal

func (m *OAuthAccessTokenList) Marshal() (dAtA []byte, err error)

func (*OAuthAccessTokenList) MarshalTo

func (m *OAuthAccessTokenList) MarshalTo(dAtA []byte) (int, error)

func (*OAuthAccessTokenList) ProtoMessage

func (*OAuthAccessTokenList) ProtoMessage()

func (*OAuthAccessTokenList) Reset

func (m *OAuthAccessTokenList) Reset()

func (*OAuthAccessTokenList) Size

func (m *OAuthAccessTokenList) Size() (n int)

func (*OAuthAccessTokenList) String

func (this *OAuthAccessTokenList) String() string

func (OAuthAccessTokenList) SwaggerDoc

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

func (*OAuthAccessTokenList) Unmarshal

func (m *OAuthAccessTokenList) Unmarshal(dAtA []byte) error

type OAuthAuthorizeToken

type OAuthAuthorizeToken struct {
	metav1.TypeMeta `json:",inline"`
	// Standard object's 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"`
}

OAuthAuthorizeToken describes an OAuth authorization token

func (*OAuthAuthorizeToken) DeepCopy

func (in *OAuthAuthorizeToken) DeepCopy() *OAuthAuthorizeToken

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OAuthAuthorizeToken.

func (*OAuthAuthorizeToken) DeepCopyInto

func (in *OAuthAuthorizeToken) DeepCopyInto(out *OAuthAuthorizeToken)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*OAuthAuthorizeToken) DeepCopyObject

func (in *OAuthAuthorizeToken) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*OAuthAuthorizeToken) Descriptor

func (*OAuthAuthorizeToken) Descriptor() ([]byte, []int)

func (*OAuthAuthorizeToken) Marshal

func (m *OAuthAuthorizeToken) Marshal() (dAtA []byte, err error)

func (*OAuthAuthorizeToken) MarshalTo

func (m *OAuthAuthorizeToken) MarshalTo(dAtA []byte) (int, error)

func (*OAuthAuthorizeToken) ProtoMessage

func (*OAuthAuthorizeToken) ProtoMessage()

func (*OAuthAuthorizeToken) Reset

func (m *OAuthAuthorizeToken) Reset()

func (*OAuthAuthorizeToken) Size

func (m *OAuthAuthorizeToken) Size() (n int)

func (*OAuthAuthorizeToken) String

func (this *OAuthAuthorizeToken) String() string

func (OAuthAuthorizeToken) SwaggerDoc

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

func (*OAuthAuthorizeToken) Unmarshal

func (m *OAuthAuthorizeToken) Unmarshal(dAtA []byte) error

type OAuthAuthorizeTokenList

type OAuthAuthorizeTokenList struct {
	metav1.TypeMeta `json:",inline"`
	// Standard object's 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"`
}

OAuthAuthorizeTokenList is a collection of OAuth authorization tokens

func (*OAuthAuthorizeTokenList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OAuthAuthorizeTokenList.

func (*OAuthAuthorizeTokenList) DeepCopyInto

func (in *OAuthAuthorizeTokenList) DeepCopyInto(out *OAuthAuthorizeTokenList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*OAuthAuthorizeTokenList) DeepCopyObject

func (in *OAuthAuthorizeTokenList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*OAuthAuthorizeTokenList) Descriptor

func (*OAuthAuthorizeTokenList) Descriptor() ([]byte, []int)

func (*OAuthAuthorizeTokenList) Marshal

func (m *OAuthAuthorizeTokenList) Marshal() (dAtA []byte, err error)

func (*OAuthAuthorizeTokenList) MarshalTo

func (m *OAuthAuthorizeTokenList) MarshalTo(dAtA []byte) (int, error)

func (*OAuthAuthorizeTokenList) ProtoMessage

func (*OAuthAuthorizeTokenList) ProtoMessage()

func (*OAuthAuthorizeTokenList) Reset

func (m *OAuthAuthorizeTokenList) Reset()

func (*OAuthAuthorizeTokenList) Size

func (m *OAuthAuthorizeTokenList) Size() (n int)

func (*OAuthAuthorizeTokenList) String

func (this *OAuthAuthorizeTokenList) String() string

func (OAuthAuthorizeTokenList) SwaggerDoc

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

func (*OAuthAuthorizeTokenList) Unmarshal

func (m *OAuthAuthorizeTokenList) Unmarshal(dAtA []byte) error

type OAuthClient

type OAuthClient struct {
	metav1.TypeMeta `json:",inline"`
	// Standard object's 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 determines how to handle grants for this client. If no method is provided, the
	// cluster default grant handling method will be used. 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
	//  - deny:   always denies grant requests, useful for black-listed 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)
	AccessTokenInactivityTimeoutSeconds *int32 `json:"accessTokenInactivityTimeoutSeconds,omitempty" protobuf:"varint,9,opt,name=accessTokenInactivityTimeoutSeconds"`
}

OAuthClient describes an OAuth client

func (*OAuthClient) DeepCopy

func (in *OAuthClient) DeepCopy() *OAuthClient

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OAuthClient.

func (*OAuthClient) DeepCopyInto

func (in *OAuthClient) DeepCopyInto(out *OAuthClient)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*OAuthClient) DeepCopyObject

func (in *OAuthClient) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*OAuthClient) Descriptor

func (*OAuthClient) Descriptor() ([]byte, []int)

func (*OAuthClient) Marshal

func (m *OAuthClient) Marshal() (dAtA []byte, err error)

func (*OAuthClient) MarshalTo

func (m *OAuthClient) MarshalTo(dAtA []byte) (int, error)

func (*OAuthClient) ProtoMessage

func (*OAuthClient) ProtoMessage()

func (*OAuthClient) Reset

func (m *OAuthClient) Reset()

func (*OAuthClient) Size

func (m *OAuthClient) Size() (n int)

func (*OAuthClient) String

func (this *OAuthClient) String() string

func (OAuthClient) SwaggerDoc

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

func (*OAuthClient) Unmarshal

func (m *OAuthClient) Unmarshal(dAtA []byte) error

type OAuthClientAuthorization

type OAuthClientAuthorization struct {
	metav1.TypeMeta `json:",inline"`
	// Standard object's 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"`
}

OAuthClientAuthorization describes an authorization created by an OAuth client

func (*OAuthClientAuthorization) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OAuthClientAuthorization.

func (*OAuthClientAuthorization) DeepCopyInto

func (in *OAuthClientAuthorization) DeepCopyInto(out *OAuthClientAuthorization)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*OAuthClientAuthorization) DeepCopyObject

func (in *OAuthClientAuthorization) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*OAuthClientAuthorization) Descriptor

func (*OAuthClientAuthorization) Descriptor() ([]byte, []int)

func (*OAuthClientAuthorization) Marshal

func (m *OAuthClientAuthorization) Marshal() (dAtA []byte, err error)

func (*OAuthClientAuthorization) MarshalTo

func (m *OAuthClientAuthorization) MarshalTo(dAtA []byte) (int, error)

func (*OAuthClientAuthorization) ProtoMessage

func (*OAuthClientAuthorization) ProtoMessage()

func (*OAuthClientAuthorization) Reset

func (m *OAuthClientAuthorization) Reset()

func (*OAuthClientAuthorization) Size

func (m *OAuthClientAuthorization) Size() (n int)

func (*OAuthClientAuthorization) String

func (this *OAuthClientAuthorization) String() string

func (OAuthClientAuthorization) SwaggerDoc

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

func (*OAuthClientAuthorization) Unmarshal

func (m *OAuthClientAuthorization) Unmarshal(dAtA []byte) error

type OAuthClientAuthorizationList

type OAuthClientAuthorizationList struct {
	metav1.TypeMeta `json:",inline"`
	// Standard object's 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"`
}

OAuthClientAuthorizationList is a collection of OAuth client authorizations

func (*OAuthClientAuthorizationList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OAuthClientAuthorizationList.

func (*OAuthClientAuthorizationList) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*OAuthClientAuthorizationList) DeepCopyObject

func (in *OAuthClientAuthorizationList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*OAuthClientAuthorizationList) Descriptor

func (*OAuthClientAuthorizationList) Descriptor() ([]byte, []int)

func (*OAuthClientAuthorizationList) Marshal

func (m *OAuthClientAuthorizationList) Marshal() (dAtA []byte, err error)

func (*OAuthClientAuthorizationList) MarshalTo

func (m *OAuthClientAuthorizationList) MarshalTo(dAtA []byte) (int, error)

func (*OAuthClientAuthorizationList) ProtoMessage

func (*OAuthClientAuthorizationList) ProtoMessage()

func (*OAuthClientAuthorizationList) Reset

func (m *OAuthClientAuthorizationList) Reset()

func (*OAuthClientAuthorizationList) Size

func (m *OAuthClientAuthorizationList) Size() (n int)

func (*OAuthClientAuthorizationList) String

func (this *OAuthClientAuthorizationList) String() string

func (OAuthClientAuthorizationList) SwaggerDoc

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

func (*OAuthClientAuthorizationList) Unmarshal

func (m *OAuthClientAuthorizationList) Unmarshal(dAtA []byte) error

type OAuthClientList

type OAuthClientList struct {
	metav1.TypeMeta `json:",inline"`
	// Standard object's 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"`
}

OAuthClientList is a collection of OAuth clients

func (*OAuthClientList) DeepCopy

func (in *OAuthClientList) DeepCopy() *OAuthClientList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OAuthClientList.

func (*OAuthClientList) DeepCopyInto

func (in *OAuthClientList) DeepCopyInto(out *OAuthClientList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*OAuthClientList) DeepCopyObject

func (in *OAuthClientList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*OAuthClientList) Descriptor

func (*OAuthClientList) Descriptor() ([]byte, []int)

func (*OAuthClientList) Marshal

func (m *OAuthClientList) Marshal() (dAtA []byte, err error)

func (*OAuthClientList) MarshalTo

func (m *OAuthClientList) MarshalTo(dAtA []byte) (int, error)

func (*OAuthClientList) ProtoMessage

func (*OAuthClientList) ProtoMessage()

func (*OAuthClientList) Reset

func (m *OAuthClientList) Reset()

func (*OAuthClientList) Size

func (m *OAuthClientList) Size() (n int)

func (*OAuthClientList) String

func (this *OAuthClientList) String() string

func (OAuthClientList) SwaggerDoc

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

func (*OAuthClientList) Unmarshal

func (m *OAuthClientList) Unmarshal(dAtA []byte) error

type OAuthRedirectReference

type OAuthRedirectReference struct {
	metav1.TypeMeta `json:",inline"`
	// Standard object's 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"`
}

OAuthRedirectReference is a reference to an OAuth redirect object.

func (*OAuthRedirectReference) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OAuthRedirectReference.

func (*OAuthRedirectReference) DeepCopyInto

func (in *OAuthRedirectReference) DeepCopyInto(out *OAuthRedirectReference)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*OAuthRedirectReference) DeepCopyObject

func (in *OAuthRedirectReference) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*OAuthRedirectReference) Descriptor

func (*OAuthRedirectReference) Descriptor() ([]byte, []int)

func (*OAuthRedirectReference) Marshal

func (m *OAuthRedirectReference) Marshal() (dAtA []byte, err error)

func (*OAuthRedirectReference) MarshalTo

func (m *OAuthRedirectReference) MarshalTo(dAtA []byte) (int, error)

func (*OAuthRedirectReference) ProtoMessage

func (*OAuthRedirectReference) ProtoMessage()

func (*OAuthRedirectReference) Reset

func (m *OAuthRedirectReference) Reset()

func (*OAuthRedirectReference) Size

func (m *OAuthRedirectReference) Size() (n int)

func (*OAuthRedirectReference) String

func (this *OAuthRedirectReference) String() string

func (OAuthRedirectReference) SwaggerDoc

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

func (*OAuthRedirectReference) Unmarshal

func (m *OAuthRedirectReference) Unmarshal(dAtA []byte) error

type RedirectReference

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

RedirectReference specifies the target in the current namespace that resolves into redirect URIs. Only the 'Route' kind is currently allowed.

func (*RedirectReference) DeepCopy

func (in *RedirectReference) DeepCopy() *RedirectReference

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedirectReference.

func (*RedirectReference) DeepCopyInto

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

func (*RedirectReference) Descriptor() ([]byte, []int)

func (*RedirectReference) Marshal

func (m *RedirectReference) Marshal() (dAtA []byte, err error)

func (*RedirectReference) MarshalTo

func (m *RedirectReference) MarshalTo(dAtA []byte) (int, error)

func (*RedirectReference) ProtoMessage

func (*RedirectReference) ProtoMessage()

func (*RedirectReference) Reset

func (m *RedirectReference) Reset()

func (*RedirectReference) Size

func (m *RedirectReference) Size() (n int)

func (*RedirectReference) String

func (this *RedirectReference) String() string

func (RedirectReference) SwaggerDoc

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

func (*RedirectReference) Unmarshal

func (m *RedirectReference) Unmarshal(dAtA []byte) error

type ScopeRestriction

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

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

func (*ScopeRestriction) DeepCopy

func (in *ScopeRestriction) DeepCopy() *ScopeRestriction

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScopeRestriction.

func (*ScopeRestriction) DeepCopyInto

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

func (*ScopeRestriction) Descriptor() ([]byte, []int)

func (*ScopeRestriction) Marshal

func (m *ScopeRestriction) Marshal() (dAtA []byte, err error)

func (*ScopeRestriction) MarshalTo

func (m *ScopeRestriction) MarshalTo(dAtA []byte) (int, error)

func (*ScopeRestriction) ProtoMessage

func (*ScopeRestriction) ProtoMessage()

func (*ScopeRestriction) Reset

func (m *ScopeRestriction) Reset()

func (*ScopeRestriction) Size

func (m *ScopeRestriction) Size() (n int)

func (*ScopeRestriction) String

func (this *ScopeRestriction) String() string

func (ScopeRestriction) SwaggerDoc

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

func (*ScopeRestriction) Unmarshal

func (m *ScopeRestriction) Unmarshal(dAtA []byte) error

Jump to

Keyboard shortcuts

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