 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
- Variables
- type Auth
- type AuthInfo
- func (*AuthInfo) Descriptor() ([]byte, []int)deprecated
- func (x *AuthInfo) GetAuthProvider() isAuthInfo_AuthProvider
- func (x *AuthInfo) GetBasicAuth() *BasicAuth
- func (x *AuthInfo) GetJobToken() *JobToken
- func (x *AuthInfo) GetOauth2() *OAuth2
- func (x *AuthInfo) GetPersonalAccessToken() *PersonalAccessToken
- func (*AuthInfo) ProtoMessage()
- func (x *AuthInfo) ProtoReflect() protoreflect.Message
- func (x *AuthInfo) Reset()
- func (x *AuthInfo) String() string
 
- type AuthInfo_BasicAuth
- type AuthInfo_JobToken
- type AuthInfo_Oauth2
- type AuthInfo_PersonalAccessToken
- type BasicAuth
- func (*BasicAuth) Descriptor() ([]byte, []int)deprecated
- func (x *BasicAuth) GetBasicAuthPassword() isBasicAuth_BasicAuthPassword
- func (x *BasicAuth) GetBasicAuthUsername() isBasicAuth_BasicAuthUsername
- func (x *BasicAuth) GetPassword() string
- func (x *BasicAuth) GetPasswordSource() *CredentialSource
- func (x *BasicAuth) GetUsername() string
- func (x *BasicAuth) GetUsernameSource() *CredentialSource
- func (*BasicAuth) ProtoMessage()
- func (x *BasicAuth) ProtoReflect() protoreflect.Message
- func (x *BasicAuth) Reset()
- func (x *BasicAuth) String() string
 
- type BasicAuth_Password
- type BasicAuth_PasswordSource
- type BasicAuth_Username
- type BasicAuth_UsernameSource
- type Config
- func (*Config) Descriptor() ([]byte, []int)deprecated
- func (x *Config) GetAuths() []*Auth
- func (x *Config) GetContexts() []*Context
- func (x *Config) GetCurrentContext() string
- func (x *Config) GetExtensions() map[string]*structpb.Struct
- func (x *Config) GetInstances() []*Instance
- func (x *Config) GetPreferences() *Preferences
- func (x *Config) GetVersion() string
- func (*Config) ProtoMessage()
- func (x *Config) ProtoReflect() protoreflect.Message
- func (x *Config) Reset()
- func (x *Config) String() string
 
- type Context
- func (*Context) Descriptor() ([]byte, []int)deprecated
- func (x *Context) GetAuth() string
- func (x *Context) GetInstance() string
- func (x *Context) GetName() string
- func (*Context) ProtoMessage()
- func (x *Context) ProtoReflect() protoreflect.Message
- func (x *Context) Reset()
- func (x *Context) String() string
 
- type CredentialSource
- func (*CredentialSource) Descriptor() ([]byte, []int)deprecated
- func (x *CredentialSource) GetEnvVar() string
- func (x *CredentialSource) GetExec() *ExecCredential
- func (x *CredentialSource) GetFile() string
- func (x *CredentialSource) GetKeyring() *KeyringSource
- func (x *CredentialSource) GetSource() isCredentialSource_Source
- func (x *CredentialSource) GetValue() string
- func (*CredentialSource) ProtoMessage()
- func (x *CredentialSource) ProtoReflect() protoreflect.Message
- func (x *CredentialSource) Reset()
- func (x *CredentialSource) String() string
 
- type CredentialSource_EnvVar
- type CredentialSource_Exec
- type CredentialSource_File
- type CredentialSource_Keyring
- type CredentialSource_Value
- type ExecCredential
- func (*ExecCredential) Descriptor() ([]byte, []int)deprecated
- func (x *ExecCredential) GetArgs() []string
- func (x *ExecCredential) GetCommand() string
- func (x *ExecCredential) GetEnv() map[string]string
- func (x *ExecCredential) GetTimeout() *durationpb.Duration
- func (*ExecCredential) ProtoMessage()
- func (x *ExecCredential) ProtoReflect() protoreflect.Message
- func (x *ExecCredential) Reset()
- func (x *ExecCredential) String() string
 
- type Header
- func (*Header) Descriptor() ([]byte, []int)deprecated
- func (x *Header) GetHeaderValue() isHeader_HeaderValue
- func (x *Header) GetName() string
- func (x *Header) GetValue() string
- func (x *Header) GetValueFrom() *CredentialSource
- func (*Header) ProtoMessage()
- func (x *Header) ProtoReflect() protoreflect.Message
- func (x *Header) Reset()
- func (x *Header) String() string
 
- type Header_Value
- type Header_ValueFrom
- type Instance
- func (*Instance) Descriptor() ([]byte, []int)deprecated
- func (x *Instance) GetApiVersion() string
- func (x *Instance) GetCertificateAuthority() string
- func (x *Instance) GetCertificateAuthoritySource() *CredentialSource
- func (x *Instance) GetClientCert() string
- func (x *Instance) GetClientCertSource() *CredentialSource
- func (x *Instance) GetClientKey() string
- func (x *Instance) GetClientKeySource() *CredentialSource
- func (x *Instance) GetCustomHeaders() []*Header
- func (x *Instance) GetExtensions() map[string]*structpb.Struct
- func (x *Instance) GetInsecureSkipTlsVerify() bool
- func (x *Instance) GetInstanceCa() isInstance_InstanceCa
- func (x *Instance) GetInstanceClientCert() isInstance_InstanceClientCert
- func (x *Instance) GetInstanceClientKey() isInstance_InstanceClientKey
- func (x *Instance) GetName() string
- func (x *Instance) GetRateLimit() *RateLimit
- func (x *Instance) GetServer() string
- func (*Instance) ProtoMessage()
- func (x *Instance) ProtoReflect() protoreflect.Message
- func (x *Instance) Reset()
- func (x *Instance) String() string
 
- type Instance_CertificateAuthority
- type Instance_CertificateAuthoritySource
- type Instance_ClientCert
- type Instance_ClientCertSource
- type Instance_ClientKey
- type Instance_ClientKeySource
- type JobToken
- func (*JobToken) Descriptor() ([]byte, []int)deprecated
- func (x *JobToken) GetJobToken() isJobToken_JobToken
- func (x *JobToken) GetToken() string
- func (x *JobToken) GetTokenSource() *CredentialSource
- func (*JobToken) ProtoMessage()
- func (x *JobToken) ProtoReflect() protoreflect.Message
- func (x *JobToken) Reset()
- func (x *JobToken) String() string
 
- type JobToken_Token
- type JobToken_TokenSource
- type KeyringSource
- func (*KeyringSource) Descriptor() ([]byte, []int)deprecated
- func (x *KeyringSource) GetService() string
- func (x *KeyringSource) GetUser() string
- func (*KeyringSource) ProtoMessage()
- func (x *KeyringSource) ProtoReflect() protoreflect.Message
- func (x *KeyringSource) Reset()
- func (x *KeyringSource) String() string
 
- type OAuth2
- func (*OAuth2) Descriptor() ([]byte, []int)deprecated
- func (x *OAuth2) GetAccessToken() string
- func (x *OAuth2) GetAccessTokenSource() *CredentialSource
- func (x *OAuth2) GetClientId() string
- func (x *OAuth2) GetClientSecret() string
- func (x *OAuth2) GetClientSecretSource() *CredentialSource
- func (x *OAuth2) GetExpiresAt() *timestamppb.Timestamp
- func (x *OAuth2) GetOauth2AccessToken() isOAuth2_Oauth2AccessToken
- func (x *OAuth2) GetOauth2ClientSecret() isOAuth2_Oauth2ClientSecret
- func (x *OAuth2) GetOauth2RefreshToken() isOAuth2_Oauth2RefreshToken
- func (x *OAuth2) GetRefreshToken() string
- func (x *OAuth2) GetRefreshTokenSource() *CredentialSource
- func (*OAuth2) ProtoMessage()
- func (x *OAuth2) ProtoReflect() protoreflect.Message
- func (x *OAuth2) Reset()
- func (x *OAuth2) String() string
 
- type OAuth2_AccessToken
- type OAuth2_AccessTokenSource
- type OAuth2_ClientSecret
- type OAuth2_ClientSecretSource
- type OAuth2_RefreshToken
- type OAuth2_RefreshTokenSource
- type PersonalAccessToken
- func (*PersonalAccessToken) Descriptor() ([]byte, []int)deprecated
- func (x *PersonalAccessToken) GetPersonalAccessToken() isPersonalAccessToken_PersonalAccessToken
- func (x *PersonalAccessToken) GetToken() string
- func (x *PersonalAccessToken) GetTokenSource() *CredentialSource
- func (*PersonalAccessToken) ProtoMessage()
- func (x *PersonalAccessToken) ProtoReflect() protoreflect.Message
- func (x *PersonalAccessToken) Reset()
- func (x *PersonalAccessToken) String() string
 
- type PersonalAccessToken_Token
- type PersonalAccessToken_TokenSource
- type Preferences
- func (*Preferences) Descriptor() ([]byte, []int)deprecated
- func (x *Preferences) GetRetryMax() int32
- func (x *Preferences) GetRetryWaitMax() *durationpb.Duration
- func (x *Preferences) GetRetryWaitMin() *durationpb.Duration
- func (*Preferences) ProtoMessage()
- func (x *Preferences) ProtoReflect() protoreflect.Message
- func (x *Preferences) Reset()
- func (x *Preferences) String() string
 
- type RateLimit
Constants ¶
This section is empty.
Variables ¶
var (
	// optional bool unique_names = 80000042;
	E_UniqueNames = &file_config_v1beta1_config_proto_extTypes[0]
)
    Extension fields to validate.RepeatedRules.
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) GetAuthInfo ¶
func (*Auth) ProtoMessage ¶
func (*Auth) ProtoMessage()
func (*Auth) ProtoReflect ¶
func (x *Auth) ProtoReflect() protoreflect.Message
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) GetAuthProvider ¶
func (x *AuthInfo) GetAuthProvider() isAuthInfo_AuthProvider
func (*AuthInfo) GetBasicAuth ¶
func (*AuthInfo) GetJobToken ¶
func (*AuthInfo) GetPersonalAccessToken ¶
func (x *AuthInfo) GetPersonalAccessToken() *PersonalAccessToken
func (*AuthInfo) ProtoMessage ¶
func (*AuthInfo) ProtoMessage()
func (*AuthInfo) ProtoReflect ¶
func (x *AuthInfo) ProtoReflect() protoreflect.Message
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) GetBasicAuthPassword ¶
func (x *BasicAuth) GetBasicAuthPassword() isBasicAuth_BasicAuthPassword
func (*BasicAuth) GetBasicAuthUsername ¶
func (x *BasicAuth) GetBasicAuthUsername() isBasicAuth_BasicAuthUsername
func (*BasicAuth) GetPassword ¶
func (*BasicAuth) GetPasswordSource ¶
func (x *BasicAuth) GetPasswordSource() *CredentialSource
func (*BasicAuth) GetUsername ¶
func (*BasicAuth) GetUsernameSource ¶
func (x *BasicAuth) GetUsernameSource() *CredentialSource
func (*BasicAuth) ProtoMessage ¶
func (*BasicAuth) ProtoMessage()
func (*BasicAuth) ProtoReflect ¶
func (x *BasicAuth) ProtoReflect() protoreflect.Message
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) GetContexts ¶
func (*Config) GetCurrentContext ¶
func (*Config) GetInstances ¶
func (*Config) GetPreferences ¶
func (x *Config) GetPreferences() *Preferences
func (*Config) GetVersion ¶
func (*Config) ProtoMessage ¶
func (*Config) ProtoMessage()
func (*Config) ProtoReflect ¶
func (x *Config) ProtoReflect() protoreflect.Message
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) GetInstance ¶
func (*Context) ProtoMessage ¶
func (*Context) ProtoMessage()
func (*Context) ProtoReflect ¶
func (x *Context) ProtoReflect() protoreflect.Message
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 ¶ added in v0.141.1
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
            
          
  
    
      added in
      v0.141.1
    
  
      
      
    func (*Header) GetHeaderValue ¶ added in v0.141.1
func (x *Header) GetHeaderValue() isHeader_HeaderValue
func (*Header) GetValueFrom ¶ added in v0.141.1
func (x *Header) GetValueFrom() *CredentialSource
func (*Header) ProtoMessage ¶ added in v0.141.1
func (*Header) ProtoMessage()
func (*Header) ProtoReflect ¶ added in v0.141.1
func (x *Header) ProtoReflect() protoreflect.Message
type Header_Value ¶ added in v0.141.1
type Header_Value struct {
	// value contains the literal value of the header
	Value string `protobuf:"bytes,2,opt,name=value,oneof"`
}
    type Header_ValueFrom ¶ added in v0.141.1
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) GetApiVersion ¶
func (*Instance) GetCertificateAuthority ¶
func (*Instance) GetCertificateAuthoritySource ¶
func (x *Instance) GetCertificateAuthoritySource() *CredentialSource
func (*Instance) GetClientCert ¶
func (*Instance) GetClientCertSource ¶
func (x *Instance) GetClientCertSource() *CredentialSource
func (*Instance) GetClientKey ¶
func (*Instance) GetClientKeySource ¶
func (x *Instance) GetClientKeySource() *CredentialSource
func (*Instance) GetCustomHeaders ¶ added in v0.141.1
func (*Instance) GetInsecureSkipTlsVerify ¶
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) GetRateLimit ¶
func (*Instance) ProtoMessage ¶
func (*Instance) ProtoMessage()
func (*Instance) ProtoReflect ¶
func (x *Instance) ProtoReflect() protoreflect.Message
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) GetJobToken ¶
func (x *JobToken) GetJobToken() isJobToken_JobToken
func (*JobToken) GetTokenSource ¶
func (x *JobToken) GetTokenSource() *CredentialSource
func (*JobToken) ProtoMessage ¶
func (*JobToken) ProtoMessage()
func (*JobToken) ProtoReflect ¶
func (x *JobToken) ProtoReflect() protoreflect.Message
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) GetAccessToken ¶
func (*OAuth2) GetAccessTokenSource ¶
func (x *OAuth2) GetAccessTokenSource() *CredentialSource
func (*OAuth2) GetClientId ¶
func (*OAuth2) GetClientSecret ¶
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 (*OAuth2) GetRefreshTokenSource ¶
func (x *OAuth2) GetRefreshTokenSource() *CredentialSource
func (*OAuth2) ProtoMessage ¶
func (*OAuth2) ProtoMessage()
func (*OAuth2) ProtoReflect ¶
func (x *OAuth2) ProtoReflect() protoreflect.Message
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) GetRequestsPerSecond ¶
func (*RateLimit) ProtoMessage ¶
func (*RateLimit) ProtoMessage()
func (*RateLimit) ProtoReflect ¶
func (x *RateLimit) ProtoReflect() protoreflect.Message