v1beta1

package
v2.64.0 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2026 License: Apache-2.0 Imports: 9 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// optional bool unique_names = 80000042;
	E_UniqueNames = &file_config_v1beta1_config_proto_extTypes[0]
)

Extension fields to validate.RepeatedRules.

View Source
var File_config_v1beta1_config_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Auth

type Auth struct {

	// name is the unique identifier for this auth
	Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	// auth_info contains the authentication details
	AuthInfo *AuthInfo `protobuf:"bytes,2,opt,name=auth_info,json=auth-info" json:"auth_info,omitempty"`
	// contains filtered or unexported fields
}

Auth contains authentication information

func (*Auth) Descriptor deprecated

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

Deprecated: Use Auth.ProtoReflect.Descriptor instead.

func (*Auth) GetAuthInfo

func (x *Auth) GetAuthInfo() *AuthInfo

func (*Auth) GetName

func (x *Auth) GetName() string

func (*Auth) ProtoMessage

func (*Auth) ProtoMessage()

func (*Auth) ProtoReflect

func (x *Auth) ProtoReflect() protoreflect.Message

func (*Auth) Reset

func (x *Auth) Reset()

func (*Auth) String

func (x *Auth) String() string

type AuthInfo

type AuthInfo struct {

	// auth_provider specifies the authentication method
	//
	// Types that are valid to be assigned to AuthProvider:
	//
	//	*AuthInfo_PersonalAccessToken
	//	*AuthInfo_JobToken
	//	*AuthInfo_Oauth2
	//	*AuthInfo_BasicAuth
	AuthProvider isAuthInfo_AuthProvider `protobuf_oneof:"auth_provider"`
	// contains filtered or unexported fields
}

AuthInfo contains authentication configuration

func (*AuthInfo) Descriptor deprecated

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

Deprecated: Use AuthInfo.ProtoReflect.Descriptor instead.

func (*AuthInfo) GetAuthProvider

func (x *AuthInfo) GetAuthProvider() isAuthInfo_AuthProvider

func (*AuthInfo) GetBasicAuth

func (x *AuthInfo) GetBasicAuth() *BasicAuth

func (*AuthInfo) GetJobToken

func (x *AuthInfo) GetJobToken() *JobToken

func (*AuthInfo) GetOauth2

func (x *AuthInfo) GetOauth2() *OAuth2

func (*AuthInfo) GetPersonalAccessToken

func (x *AuthInfo) GetPersonalAccessToken() *PersonalAccessToken

func (*AuthInfo) ProtoMessage

func (*AuthInfo) ProtoMessage()

func (*AuthInfo) ProtoReflect

func (x *AuthInfo) ProtoReflect() protoreflect.Message

func (*AuthInfo) Reset

func (x *AuthInfo) Reset()

func (*AuthInfo) String

func (x *AuthInfo) String() string

type AuthInfo_BasicAuth

type AuthInfo_BasicAuth struct {
	BasicAuth *BasicAuth `protobuf:"bytes,4,opt,name=basic_auth,json=basic-auth,oneof"`
}

type AuthInfo_JobToken

type AuthInfo_JobToken struct {
	JobToken *JobToken `protobuf:"bytes,2,opt,name=job_token,json=job-token,oneof"`
}

type AuthInfo_Oauth2

type AuthInfo_Oauth2 struct {
	Oauth2 *OAuth2 `protobuf:"bytes,3,opt,name=oauth2,oneof"`
}

type AuthInfo_PersonalAccessToken

type AuthInfo_PersonalAccessToken struct {
	PersonalAccessToken *PersonalAccessToken `protobuf:"bytes,1,opt,name=personal_access_token,json=personal-access-token,oneof"`
}

type BasicAuth

type BasicAuth struct {

	// Types that are valid to be assigned to BasicAuthUsername:
	//
	//	*BasicAuth_Username
	//	*BasicAuth_UsernameSource
	BasicAuthUsername isBasicAuth_BasicAuthUsername `protobuf_oneof:"basic_auth_username"`
	// Types that are valid to be assigned to BasicAuthPassword:
	//
	//	*BasicAuth_Password
	//	*BasicAuth_PasswordSource
	BasicAuthPassword isBasicAuth_BasicAuthPassword `protobuf_oneof:"basic_auth_password"`
	// contains filtered or unexported fields
}

func (*BasicAuth) Descriptor deprecated

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

Deprecated: Use BasicAuth.ProtoReflect.Descriptor instead.

func (*BasicAuth) GetBasicAuthPassword

func (x *BasicAuth) GetBasicAuthPassword() isBasicAuth_BasicAuthPassword

func (*BasicAuth) GetBasicAuthUsername

func (x *BasicAuth) GetBasicAuthUsername() isBasicAuth_BasicAuthUsername

func (*BasicAuth) GetPassword

func (x *BasicAuth) GetPassword() string

func (*BasicAuth) GetPasswordSource

func (x *BasicAuth) GetPasswordSource() *CredentialSource

func (*BasicAuth) GetUsername

func (x *BasicAuth) GetUsername() string

func (*BasicAuth) GetUsernameSource

func (x *BasicAuth) GetUsernameSource() *CredentialSource

func (*BasicAuth) ProtoMessage

func (*BasicAuth) ProtoMessage()

func (*BasicAuth) ProtoReflect

func (x *BasicAuth) ProtoReflect() protoreflect.Message

func (*BasicAuth) Reset

func (x *BasicAuth) Reset()

func (*BasicAuth) String

func (x *BasicAuth) String() string

type BasicAuth_Password

type BasicAuth_Password struct {
	Password string `protobuf:"bytes,3,opt,name=password,oneof"`
}

type BasicAuth_PasswordSource

type BasicAuth_PasswordSource struct {
	PasswordSource *CredentialSource `protobuf:"bytes,4,opt,name=password_source,json=password-source,oneof"`
}

type BasicAuth_Username

type BasicAuth_Username struct {
	Username string `protobuf:"bytes,1,opt,name=username,oneof"`
}

type BasicAuth_UsernameSource

type BasicAuth_UsernameSource struct {
	UsernameSource *CredentialSource `protobuf:"bytes,2,opt,name=username_source,json=username-source,oneof"`
}

type Config

type Config struct {

	// version specifies the configuration schema version
	Version *string `protobuf:"bytes,1,opt,name=version" json:"version,omitempty"`
	// preferences contains global client preferences
	Preferences *Preferences `protobuf:"bytes,3,opt,name=preferences" json:"preferences,omitempty"`
	// instances contains the list of GitLab instances
	Instances []*Instance `protobuf:"bytes,4,rep,name=instances" json:"instances,omitempty"`
	// auths contains credential information for different authentication methods
	Auths []*Auth `protobuf:"bytes,5,rep,name=auths" json:"auths,omitempty"`
	// contexts contains the list of available contexts
	Contexts []*Context `protobuf:"bytes,6,rep,name=contexts" json:"contexts,omitempty"`
	// current_context specifies the active context
	CurrentContext *string `protobuf:"bytes,7,opt,name=current_context,json=current-context" json:"current_context,omitempty"`
	// extensions specifies arbitrary custom configuration
	Extensions map[string]*structpb.Struct `` /* 140-byte string literal not displayed */
	// contains filtered or unexported fields
}

Config represents the root configuration structure for GitLab SDK clients. It follows a similar pattern to Kubernetes config with contexts and instances.

func (*Config) Descriptor deprecated

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

Deprecated: Use Config.ProtoReflect.Descriptor instead.

func (*Config) GetAuths

func (x *Config) GetAuths() []*Auth

func (*Config) GetContexts

func (x *Config) GetContexts() []*Context

func (*Config) GetCurrentContext

func (x *Config) GetCurrentContext() string

func (*Config) GetExtensions

func (x *Config) GetExtensions() map[string]*structpb.Struct

func (*Config) GetInstances

func (x *Config) GetInstances() []*Instance

func (*Config) GetPreferences

func (x *Config) GetPreferences() *Preferences

func (*Config) GetVersion

func (x *Config) GetVersion() string

func (*Config) ProtoMessage

func (*Config) ProtoMessage()

func (*Config) ProtoReflect

func (x *Config) ProtoReflect() protoreflect.Message

func (*Config) Reset

func (x *Config) Reset()

func (*Config) String

func (x *Config) String() string

type Context

type Context struct {

	// name is the unique identifier for this context
	Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	// instance references an instance by name
	Instance *string `protobuf:"bytes,2,opt,name=instance" json:"instance,omitempty"`
	// auth references an auth by name
	Auth *string `protobuf:"bytes,3,opt,name=auth" json:"auth,omitempty"`
	// contains filtered or unexported fields
}

Context represents a combination of instance and auth

func (*Context) Descriptor deprecated

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

Deprecated: Use Context.ProtoReflect.Descriptor instead.

func (*Context) GetAuth

func (x *Context) GetAuth() string

func (*Context) GetInstance

func (x *Context) GetInstance() string

func (*Context) GetName

func (x *Context) GetName() string

func (*Context) ProtoMessage

func (*Context) ProtoMessage()

func (*Context) ProtoReflect

func (x *Context) ProtoReflect() protoreflect.Message

func (*Context) Reset

func (x *Context) Reset()

func (*Context) String

func (x *Context) String() string

type CredentialSource

type CredentialSource struct {

	// Types that are valid to be assigned to Source:
	//
	//	*CredentialSource_Value
	//	*CredentialSource_EnvVar
	//	*CredentialSource_File
	//	*CredentialSource_Exec
	//	*CredentialSource_Keyring
	Source isCredentialSource_Source `protobuf_oneof:"source"`
	// contains filtered or unexported fields
}

CredentialSource specifies how to obtain credential values

func (*CredentialSource) Descriptor deprecated

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

Deprecated: Use CredentialSource.ProtoReflect.Descriptor instead.

func (*CredentialSource) GetEnvVar

func (x *CredentialSource) GetEnvVar() string

func (*CredentialSource) GetExec

func (x *CredentialSource) GetExec() *ExecCredential

func (*CredentialSource) GetFile

func (x *CredentialSource) GetFile() string

func (*CredentialSource) GetKeyring

func (x *CredentialSource) GetKeyring() *KeyringSource

func (*CredentialSource) GetSource

func (x *CredentialSource) GetSource() isCredentialSource_Source

func (*CredentialSource) GetValue

func (x *CredentialSource) GetValue() string

func (*CredentialSource) ProtoMessage

func (*CredentialSource) ProtoMessage()

func (*CredentialSource) ProtoReflect

func (x *CredentialSource) ProtoReflect() protoreflect.Message

func (*CredentialSource) Reset

func (x *CredentialSource) Reset()

func (*CredentialSource) String

func (x *CredentialSource) String() string

type CredentialSource_EnvVar

type CredentialSource_EnvVar struct {
	// environment variable name
	EnvVar string `protobuf:"bytes,2,opt,name=env_var,json=env-var,oneof"`
}

type CredentialSource_Exec

type CredentialSource_Exec struct {
	// command to execute to get the credential
	Exec *ExecCredential `protobuf:"bytes,4,opt,name=exec,oneof"`
}

type CredentialSource_File

type CredentialSource_File struct {
	// file path containing the credential
	File string `protobuf:"bytes,3,opt,name=file,oneof"`
}

type CredentialSource_Keyring

type CredentialSource_Keyring struct {
	// keyring/keychain entry
	Keyring *KeyringSource `protobuf:"bytes,5,opt,name=keyring,oneof"`
}

type CredentialSource_Value

type CredentialSource_Value struct {
	// literal value stored directly in config
	Value string `protobuf:"bytes,1,opt,name=value,oneof"`
}

type ExecCredential

type ExecCredential struct {

	// command is the executable to run
	Command *string `protobuf:"bytes,1,opt,name=command" json:"command,omitempty"`
	// args contains arguments to pass to the command
	Args []string `protobuf:"bytes,2,rep,name=args" json:"args,omitempty"`
	// env contains environment variables to set
	Env map[string]string `` /* 126-byte string literal not displayed */
	// timeout specifies the execution timeout (in seconds)
	Timeout *durationpb.Duration `protobuf:"bytes,4,opt,name=timeout" json:"timeout,omitempty"`
	// contains filtered or unexported fields
}

ExecCredential contains configuration for executable credential providers

func (*ExecCredential) Descriptor deprecated

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

Deprecated: Use ExecCredential.ProtoReflect.Descriptor instead.

func (*ExecCredential) GetArgs

func (x *ExecCredential) GetArgs() []string

func (*ExecCredential) GetCommand

func (x *ExecCredential) GetCommand() string

func (*ExecCredential) GetEnv

func (x *ExecCredential) GetEnv() map[string]string

func (*ExecCredential) GetTimeout

func (x *ExecCredential) GetTimeout() *durationpb.Duration

func (*ExecCredential) ProtoMessage

func (*ExecCredential) ProtoMessage()

func (*ExecCredential) ProtoReflect

func (x *ExecCredential) ProtoReflect() protoreflect.Message

func (*ExecCredential) Reset

func (x *ExecCredential) Reset()

func (*ExecCredential) String

func (x *ExecCredential) String() string
type Header struct {

	// name contains the name of the header
	Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	// Types that are valid to be assigned to HeaderValue:
	//
	//	*Header_Value
	//	*Header_ValueFrom
	HeaderValue isHeader_HeaderValue `protobuf_oneof:"header_value"`
	// contains filtered or unexported fields
}

Header contains a single HTTP header definition

func (*Header) Descriptor deprecated

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

Deprecated: Use Header.ProtoReflect.Descriptor instead.

func (*Header) GetHeaderValue

func (x *Header) GetHeaderValue() isHeader_HeaderValue

func (*Header) GetName

func (x *Header) GetName() string

func (*Header) GetValue

func (x *Header) GetValue() string

func (*Header) GetValueFrom

func (x *Header) GetValueFrom() *CredentialSource

func (*Header) ProtoMessage

func (*Header) ProtoMessage()

func (*Header) ProtoReflect

func (x *Header) ProtoReflect() protoreflect.Message

func (*Header) Reset

func (x *Header) Reset()

func (*Header) String

func (x *Header) String() string

type Header_Value

type Header_Value struct {
	// value contains the literal value of the header
	Value string `protobuf:"bytes,2,opt,name=value,oneof"`
}

type Header_ValueFrom

type Header_ValueFrom struct {
	// value_from contains a source from where to retrieve the value from.
	ValueFrom *CredentialSource `protobuf:"bytes,3,opt,name=value_from,json=value-from,oneof"`
}

type Instance

type Instance struct {

	// name is the unique identifier for this instance
	Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	// server is the GitLab instance URL
	Server *string `protobuf:"bytes,2,opt,name=server" json:"server,omitempty"`
	// api_version specifies the GitLab API version (defaults to v4)
	ApiVersion *string `protobuf:"bytes,3,opt,name=api_version,json=api-version" json:"api_version,omitempty"`
	// Types that are valid to be assigned to InstanceCa:
	//
	//	*Instance_CertificateAuthority
	//	*Instance_CertificateAuthoritySource
	InstanceCa isInstance_InstanceCa `protobuf_oneof:"instance_ca"`
	// Types that are valid to be assigned to InstanceClientCert:
	//
	//	*Instance_ClientCert
	//	*Instance_ClientCertSource
	InstanceClientCert isInstance_InstanceClientCert `protobuf_oneof:"instance_client_cert"`
	// Types that are valid to be assigned to InstanceClientKey:
	//
	//	*Instance_ClientKey
	//	*Instance_ClientKeySource
	InstanceClientKey isInstance_InstanceClientKey `protobuf_oneof:"instance_client_key"`
	// insecure_skip_tls_verify skips TLS certificate verification
	InsecureSkipTlsVerify *bool `` /* 126-byte string literal not displayed */
	// rate_limit contains rate limiting configuration
	RateLimit *RateLimit `protobuf:"bytes,11,opt,name=rate_limit,json=rate-limit" json:"rate_limit,omitempty"`
	// extensions specifies arbitrary custom configuration
	Extensions map[string]*structpb.Struct `` /* 141-byte string literal not displayed */
	// custom_headers can contain a list of additional headers to add to every request.
	CustomHeaders []*Header `protobuf:"bytes,13,rep,name=custom_headers,json=custom-headers" json:"custom_headers,omitempty"`
	// contains filtered or unexported fields
}

Instance represents a GitLab instance configuration

func (*Instance) Descriptor deprecated

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

Deprecated: Use Instance.ProtoReflect.Descriptor instead.

func (*Instance) GetApiVersion

func (x *Instance) GetApiVersion() string

func (*Instance) GetCertificateAuthority

func (x *Instance) GetCertificateAuthority() string

func (*Instance) GetCertificateAuthoritySource

func (x *Instance) GetCertificateAuthoritySource() *CredentialSource

func (*Instance) GetClientCert

func (x *Instance) GetClientCert() string

func (*Instance) GetClientCertSource

func (x *Instance) GetClientCertSource() *CredentialSource

func (*Instance) GetClientKey

func (x *Instance) GetClientKey() string

func (*Instance) GetClientKeySource

func (x *Instance) GetClientKeySource() *CredentialSource

func (*Instance) GetCustomHeaders

func (x *Instance) GetCustomHeaders() []*Header

func (*Instance) GetExtensions

func (x *Instance) GetExtensions() map[string]*structpb.Struct

func (*Instance) GetInsecureSkipTlsVerify

func (x *Instance) GetInsecureSkipTlsVerify() bool

func (*Instance) GetInstanceCa

func (x *Instance) GetInstanceCa() isInstance_InstanceCa

func (*Instance) GetInstanceClientCert

func (x *Instance) GetInstanceClientCert() isInstance_InstanceClientCert

func (*Instance) GetInstanceClientKey

func (x *Instance) GetInstanceClientKey() isInstance_InstanceClientKey

func (*Instance) GetName

func (x *Instance) GetName() string

func (*Instance) GetRateLimit

func (x *Instance) GetRateLimit() *RateLimit

func (*Instance) GetServer

func (x *Instance) GetServer() string

func (*Instance) ProtoMessage

func (*Instance) ProtoMessage()

func (*Instance) ProtoReflect

func (x *Instance) ProtoReflect() protoreflect.Message

func (*Instance) Reset

func (x *Instance) Reset()

func (*Instance) String

func (x *Instance) String() string

type Instance_CertificateAuthority

type Instance_CertificateAuthority struct {
	// certificate_authority contains the CA certificate data
	CertificateAuthority string `protobuf:"bytes,4,opt,name=certificate_authority,json=certificate-authority,oneof"`
}

type Instance_CertificateAuthoritySource

type Instance_CertificateAuthoritySource struct {
	// certificate_authority_source specifies how to get the CA certificate
	CertificateAuthoritySource *CredentialSource `protobuf:"bytes,5,opt,name=certificate_authority_source,json=certificate-authority-source,oneof"`
}

type Instance_ClientCert

type Instance_ClientCert struct {
	// client_cert contains the client certificate data for mTLS
	ClientCert string `protobuf:"bytes,6,opt,name=client_cert,json=client-cert,oneof"`
}

type Instance_ClientCertSource

type Instance_ClientCertSource struct {
	// client_cert_source specifies how to get the client certificate for mTLS
	ClientCertSource *CredentialSource `protobuf:"bytes,7,opt,name=client_cert_source,json=client-cert-source,oneof"`
}

type Instance_ClientKey

type Instance_ClientKey struct {
	// client_key contains the client key data for mTLS
	ClientKey string `protobuf:"bytes,8,opt,name=client_key,json=client-key,oneof"`
}

type Instance_ClientKeySource

type Instance_ClientKeySource struct {
	// client_key_source specifies how to get the client key for mTLS
	ClientKeySource *CredentialSource `protobuf:"bytes,9,opt,name=client_key_source,json=client-key-source,oneof"`
}

type JobToken

type JobToken struct {

	// Types that are valid to be assigned to JobToken:
	//
	//	*JobToken_Token
	//	*JobToken_TokenSource
	JobToken isJobToken_JobToken `protobuf_oneof:"job_token"`
	// contains filtered or unexported fields
}

JobToken contains CI job token authentication

func (*JobToken) Descriptor deprecated

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

Deprecated: Use JobToken.ProtoReflect.Descriptor instead.

func (*JobToken) GetJobToken

func (x *JobToken) GetJobToken() isJobToken_JobToken

func (*JobToken) GetToken

func (x *JobToken) GetToken() string

func (*JobToken) GetTokenSource

func (x *JobToken) GetTokenSource() *CredentialSource

func (*JobToken) ProtoMessage

func (*JobToken) ProtoMessage()

func (*JobToken) ProtoReflect

func (x *JobToken) ProtoReflect() protoreflect.Message

func (*JobToken) Reset

func (x *JobToken) Reset()

func (*JobToken) String

func (x *JobToken) String() string

type JobToken_Token

type JobToken_Token struct {
	// token contains the actual token value
	Token string `protobuf:"bytes,1,opt,name=token,oneof"`
}

type JobToken_TokenSource

type JobToken_TokenSource struct {
	// token_source specifies how to obtain the token
	TokenSource *CredentialSource `protobuf:"bytes,2,opt,name=token_source,json=token-source,oneof"`
}

type KeyringSource

type KeyringSource struct {

	// service name in the keyring
	Service *string `protobuf:"bytes,1,opt,name=service" json:"service,omitempty"`
	// user name is the keyring
	User *string `protobuf:"bytes,2,opt,name=user" json:"user,omitempty"`
	// contains filtered or unexported fields
}

KeyringSource specifies keyring/keychain credential storage

func (*KeyringSource) Descriptor deprecated

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

Deprecated: Use KeyringSource.ProtoReflect.Descriptor instead.

func (*KeyringSource) GetService

func (x *KeyringSource) GetService() string

func (*KeyringSource) GetUser

func (x *KeyringSource) GetUser() string

func (*KeyringSource) ProtoMessage

func (*KeyringSource) ProtoMessage()

func (*KeyringSource) ProtoReflect

func (x *KeyringSource) ProtoReflect() protoreflect.Message

func (*KeyringSource) Reset

func (x *KeyringSource) Reset()

func (*KeyringSource) String

func (x *KeyringSource) String() string

type OAuth2

type OAuth2 struct {

	// client_id contains the client_id for the OAuth2 app. If not set, then a default client_id is used
	ClientId *string `protobuf:"bytes,1,opt,name=client_id,json=client-id" json:"client_id,omitempty"`
	// Types that are valid to be assigned to Oauth2ClientSecret:
	//
	//	*OAuth2_ClientSecret
	//	*OAuth2_ClientSecretSource
	Oauth2ClientSecret isOAuth2_Oauth2ClientSecret `protobuf_oneof:"oauth2_client_secret"`
	// Types that are valid to be assigned to Oauth2AccessToken:
	//
	//	*OAuth2_AccessToken
	//	*OAuth2_AccessTokenSource
	Oauth2AccessToken isOAuth2_Oauth2AccessToken `protobuf_oneof:"oauth2_access_token"`
	// Types that are valid to be assigned to Oauth2RefreshToken:
	//
	//	*OAuth2_RefreshToken
	//	*OAuth2_RefreshTokenSource
	Oauth2RefreshToken isOAuth2_Oauth2RefreshToken `protobuf_oneof:"oauth2_refresh_token"`
	// expires_at contains the token expiration time
	ExpiresAt *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=expires_at,json=expires-at" json:"expires_at,omitempty"`
	// contains filtered or unexported fields
}

OAuth2 contains OAuth2 token authentication

func (*OAuth2) Descriptor deprecated

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

Deprecated: Use OAuth2.ProtoReflect.Descriptor instead.

func (*OAuth2) GetAccessToken

func (x *OAuth2) GetAccessToken() string

func (*OAuth2) GetAccessTokenSource

func (x *OAuth2) GetAccessTokenSource() *CredentialSource

func (*OAuth2) GetClientId

func (x *OAuth2) GetClientId() string

func (*OAuth2) GetClientSecret

func (x *OAuth2) GetClientSecret() string

func (*OAuth2) GetClientSecretSource

func (x *OAuth2) GetClientSecretSource() *CredentialSource

func (*OAuth2) GetExpiresAt

func (x *OAuth2) GetExpiresAt() *timestamppb.Timestamp

func (*OAuth2) GetOauth2AccessToken

func (x *OAuth2) GetOauth2AccessToken() isOAuth2_Oauth2AccessToken

func (*OAuth2) GetOauth2ClientSecret

func (x *OAuth2) GetOauth2ClientSecret() isOAuth2_Oauth2ClientSecret

func (*OAuth2) GetOauth2RefreshToken

func (x *OAuth2) GetOauth2RefreshToken() isOAuth2_Oauth2RefreshToken

func (*OAuth2) GetRefreshToken

func (x *OAuth2) GetRefreshToken() string

func (*OAuth2) GetRefreshTokenSource

func (x *OAuth2) GetRefreshTokenSource() *CredentialSource

func (*OAuth2) ProtoMessage

func (*OAuth2) ProtoMessage()

func (*OAuth2) ProtoReflect

func (x *OAuth2) ProtoReflect() protoreflect.Message

func (*OAuth2) Reset

func (x *OAuth2) Reset()

func (*OAuth2) String

func (x *OAuth2) String() string

type OAuth2_AccessToken

type OAuth2_AccessToken struct {
	// access_token contains the OAuth access token
	AccessToken string `protobuf:"bytes,4,opt,name=access_token,json=access-token,oneof"`
}

type OAuth2_AccessTokenSource

type OAuth2_AccessTokenSource struct {
	// access_token_source specifies how to obtain the access token
	AccessTokenSource *CredentialSource `protobuf:"bytes,5,opt,name=access_token_source,json=access-token-source,oneof"`
}

type OAuth2_ClientSecret

type OAuth2_ClientSecret struct {
	// client_secret contains the client secret for the OAuth2 app. If not set, then a default client secret might be used
	ClientSecret string `protobuf:"bytes,2,opt,name=client_secret,json=client-secret,oneof"`
}

type OAuth2_ClientSecretSource

type OAuth2_ClientSecretSource struct {
	// client_secret specifies how to obtain the client secret
	ClientSecretSource *CredentialSource `protobuf:"bytes,3,opt,name=client_secret_source,json=client-secret-source,oneof"`
}

type OAuth2_RefreshToken

type OAuth2_RefreshToken struct {
	// refresh_token contains the OAuth refresh token
	RefreshToken string `protobuf:"bytes,6,opt,name=refresh_token,json=refresh-token,oneof"`
}

type OAuth2_RefreshTokenSource

type OAuth2_RefreshTokenSource struct {
	// token_source specifies how to obtain the refresh token
	RefreshTokenSource *CredentialSource `protobuf:"bytes,7,opt,name=refresh_token_source,json=refresh-token-source,oneof"`
}

type PersonalAccessToken

type PersonalAccessToken struct {

	// Types that are valid to be assigned to PersonalAccessToken:
	//
	//	*PersonalAccessToken_Token
	//	*PersonalAccessToken_TokenSource
	PersonalAccessToken isPersonalAccessToken_PersonalAccessToken `protobuf_oneof:"personal_access_token"`
	// contains filtered or unexported fields
}

PersonalAccessToken contains personal access token authentication

func (*PersonalAccessToken) Descriptor deprecated

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

Deprecated: Use PersonalAccessToken.ProtoReflect.Descriptor instead.

func (*PersonalAccessToken) GetPersonalAccessToken

func (x *PersonalAccessToken) GetPersonalAccessToken() isPersonalAccessToken_PersonalAccessToken

func (*PersonalAccessToken) GetToken

func (x *PersonalAccessToken) GetToken() string

func (*PersonalAccessToken) GetTokenSource

func (x *PersonalAccessToken) GetTokenSource() *CredentialSource

func (*PersonalAccessToken) ProtoMessage

func (*PersonalAccessToken) ProtoMessage()

func (*PersonalAccessToken) ProtoReflect

func (x *PersonalAccessToken) ProtoReflect() protoreflect.Message

func (*PersonalAccessToken) Reset

func (x *PersonalAccessToken) Reset()

func (*PersonalAccessToken) String

func (x *PersonalAccessToken) String() string

type PersonalAccessToken_Token

type PersonalAccessToken_Token struct {
	// token contains the actual token value
	Token string `protobuf:"bytes,1,opt,name=token,oneof"`
}

type PersonalAccessToken_TokenSource

type PersonalAccessToken_TokenSource struct {
	// token_source specifies how to obtain the token
	TokenSource *CredentialSource `protobuf:"bytes,2,opt,name=token_source,json=token-source,oneof"`
}

type Preferences

type Preferences struct {

	// retry_max specifies the maximum number of retries
	RetryMax *int32 `protobuf:"varint,2,opt,name=retry_max,json=retry-max" json:"retry_max,omitempty"`
	// retry_wait_min specifies the minimum wait time between retries (in milliseconds)
	RetryWaitMin *durationpb.Duration `protobuf:"bytes,3,opt,name=retry_wait_min,json=retry-wait-min" json:"retry_wait_min,omitempty"`
	// retry_wait_max specifies the maximum wait time between retries (in milliseconds)
	RetryWaitMax *durationpb.Duration `protobuf:"bytes,4,opt,name=retry_wait_max,json=retry-wait-max" json:"retry_wait_max,omitempty"`
	// contains filtered or unexported fields
}

Preferences contains global client configuration preferences

func (*Preferences) Descriptor deprecated

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

Deprecated: Use Preferences.ProtoReflect.Descriptor instead.

func (*Preferences) GetRetryMax

func (x *Preferences) GetRetryMax() int32

func (*Preferences) GetRetryWaitMax

func (x *Preferences) GetRetryWaitMax() *durationpb.Duration

func (*Preferences) GetRetryWaitMin

func (x *Preferences) GetRetryWaitMin() *durationpb.Duration

func (*Preferences) ProtoMessage

func (*Preferences) ProtoMessage()

func (*Preferences) ProtoReflect

func (x *Preferences) ProtoReflect() protoreflect.Message

func (*Preferences) Reset

func (x *Preferences) Reset()

func (*Preferences) String

func (x *Preferences) String() string

type RateLimit

type RateLimit struct {

	// requests_per_second specifies the maximum requests per second
	RequestsPerSecond *float64 `protobuf:"fixed64,2,opt,name=requests_per_second,json=requests-per-second" json:"requests_per_second,omitempty"`
	// burst specifies the maximum burst size
	Burst *int32 `protobuf:"varint,3,opt,name=burst" json:"burst,omitempty"`
	// contains filtered or unexported fields
}

RateLimit contains rate limiting configuration

func (*RateLimit) Descriptor deprecated

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

Deprecated: Use RateLimit.ProtoReflect.Descriptor instead.

func (*RateLimit) GetBurst

func (x *RateLimit) GetBurst() int32

func (*RateLimit) GetRequestsPerSecond

func (x *RateLimit) GetRequestsPerSecond() float64

func (*RateLimit) ProtoMessage

func (*RateLimit) ProtoMessage()

func (*RateLimit) ProtoReflect

func (x *RateLimit) ProtoReflect() protoreflect.Message

func (*RateLimit) Reset

func (x *RateLimit) Reset()

func (*RateLimit) String

func (x *RateLimit) String() string

Jump to

Keyboard shortcuts

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