Documentation
¶
Index ¶
- Constants
- Variables
- func GetAgentInfo(ctx context.Context, client gitlab.ClientInterface, ...) (api.AgentInfo, error)
- func GetRepositoryInfo(ctx context.Context, client gitlab.ClientInterface, projectID string, ...) (*api.ProjectInfo, error)
- func IsCacheableError(err error) bool
- func MakeModuleRequest(ctx context.Context, client gitlab.ClientInterface, ...) (*http.Response, error)
- func PostAgentkConfiguration(ctx context.Context, client gitlab.ClientInterface, agentKey api.AgentKey, ...) error
- func SendEvent(ctx context.Context, client gitlab.ClientInterface, data EventData, ...) error
- func SendUsagePing(ctx context.Context, client gitlab.ClientInterface, data UsagePingData, ...) error
- func VerifyProjectAccess(ctx context.Context, client gitlab.ClientInterface, ...) (bool, error)
- type AccessAsAgentAuthorization
- type AccessAsProxyAuthorization
- func (*AccessAsProxyAuthorization) Descriptor() ([]byte, []int)deprecated
- func (x *AccessAsProxyAuthorization) GetAccessAs() isAccessAsProxyAuthorization_AccessAs
- func (x *AccessAsProxyAuthorization) GetAgent() *AccessAsAgentAuthorization
- func (x *AccessAsProxyAuthorization) GetUser() *AccessAsUserAuthorization
- func (*AccessAsProxyAuthorization) ProtoMessage()
- func (x *AccessAsProxyAuthorization) ProtoReflect() protoreflect.Message
- func (x *AccessAsProxyAuthorization) Reset()
- func (x *AccessAsProxyAuthorization) String() string
- type AccessAsProxyAuthorization_Agent
- type AccessAsProxyAuthorization_User
- type AccessAsUserAuthorization
- func (*AccessAsUserAuthorization) Descriptor() ([]byte, []int)deprecated
- func (x *AccessAsUserAuthorization) GetGroups() []*GroupAccessCF
- func (x *AccessAsUserAuthorization) GetProjects() []*ProjectAccessCF
- func (*AccessAsUserAuthorization) ProtoMessage()
- func (x *AccessAsUserAuthorization) ProtoReflect() protoreflect.Message
- func (x *AccessAsUserAuthorization) Reset()
- func (x *AccessAsUserAuthorization) String() string
- type AccessType
- type AgentConfigurationRequest
- func (*AgentConfigurationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AgentConfigurationRequest) GetAgentConfig() *agentcfg.ConfigurationFile
- func (x *AgentConfigurationRequest) GetAgentConfigCommitId() string
- func (x *AgentConfigurationRequest) GetAgentId() int64
- func (*AgentConfigurationRequest) ProtoMessage()
- func (x *AgentConfigurationRequest) ProtoReflect() protoreflect.Message
- func (x *AgentConfigurationRequest) Reset()
- func (x *AgentConfigurationRequest) String() string
- type AllowedAgent
- func (*AllowedAgent) Descriptor() ([]byte, []int)deprecated
- func (x *AllowedAgent) GetConfigProject() *ConfigProject
- func (x *AllowedAgent) GetConfiguration() *Configuration
- func (x *AllowedAgent) GetId() int64
- func (*AllowedAgent) ProtoMessage()
- func (x *AllowedAgent) ProtoReflect() protoreflect.Message
- func (x *AllowedAgent) Reset()
- func (x *AllowedAgent) String() string
- type AllowedAgentsForJob
- func (*AllowedAgentsForJob) Descriptor() ([]byte, []int)deprecated
- func (x *AllowedAgentsForJob) GetAllowedAgents() []*AllowedAgent
- func (x *AllowedAgentsForJob) GetEnvironment() *Environment
- func (x *AllowedAgentsForJob) GetJob() *Job
- func (x *AllowedAgentsForJob) GetPipeline() *Pipeline
- func (x *AllowedAgentsForJob) GetProject() *Project
- func (x *AllowedAgentsForJob) GetUser() *User
- func (*AllowedAgentsForJob) ProtoMessage()
- func (x *AllowedAgentsForJob) ProtoReflect() protoreflect.Message
- func (x *AllowedAgentsForJob) Reset()
- func (x *AllowedAgentsForJob) String() string
- type AuthorizeProxyUserRequest
- func (*AuthorizeProxyUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AuthorizeProxyUserRequest) GetAccessKey() string
- func (x *AuthorizeProxyUserRequest) GetAccessType() string
- func (x *AuthorizeProxyUserRequest) GetAgentId() int64
- func (x *AuthorizeProxyUserRequest) GetCsrfToken() string
- func (*AuthorizeProxyUserRequest) ProtoMessage()
- func (x *AuthorizeProxyUserRequest) ProtoReflect() protoreflect.Message
- func (x *AuthorizeProxyUserRequest) Reset()
- func (x *AuthorizeProxyUserRequest) String() string
- type AuthorizeProxyUserResponse
- func (*AuthorizeProxyUserResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AuthorizeProxyUserResponse) GetAccessAs() *AccessAsProxyAuthorization
- func (x *AuthorizeProxyUserResponse) GetAgent() *AuthorizedAgentForUser
- func (x *AuthorizeProxyUserResponse) GetUser() *User
- func (*AuthorizeProxyUserResponse) ProtoMessage()
- func (x *AuthorizeProxyUserResponse) ProtoReflect() protoreflect.Message
- func (x *AuthorizeProxyUserResponse) Reset()
- func (x *AuthorizeProxyUserResponse) String() string
- type AuthorizedAgentForUser
- func (*AuthorizedAgentForUser) Descriptor() ([]byte, []int)deprecated
- func (x *AuthorizedAgentForUser) GetConfigProject() *ConfigProject
- func (x *AuthorizedAgentForUser) GetId() int64
- func (*AuthorizedAgentForUser) ProtoMessage()
- func (x *AuthorizedAgentForUser) ProtoReflect() protoreflect.Message
- func (x *AuthorizedAgentForUser) Reset()
- func (x *AuthorizedAgentForUser) String() string
- type ConfigProject
- type Configuration
- func (*Configuration) Descriptor() ([]byte, []int)deprecated
- func (x *Configuration) GetAccessAs() *agentcfg.CiAccessAsCF
- func (x *Configuration) GetDefaultNamespace() string
- func (*Configuration) ProtoMessage()
- func (x *Configuration) ProtoReflect() protoreflect.Message
- func (x *Configuration) Reset()
- func (x *Configuration) String() string
- type Environment
- type Event
- type EventData
- type GetAgentkInfoResponse
- func (*GetAgentkInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetAgentkInfoResponse) GetAgentId() int64
- func (x *GetAgentkInfoResponse) GetAgentName() string
- func (x *GetAgentkInfoResponse) GetDefaultBranch() string
- func (x *GetAgentkInfoResponse) GetGitalyInfo() *entity.GitalyInfo
- func (x *GetAgentkInfoResponse) GetGitalyRepository() *entity.GitalyRepository
- func (x *GetAgentkInfoResponse) GetProjectId() int64
- func (*GetAgentkInfoResponse) ProtoMessage()
- func (x *GetAgentkInfoResponse) ProtoReflect() protoreflect.Message
- func (x *GetAgentkInfoResponse) Reset()
- func (x *GetAgentkInfoResponse) String() string
- func (a *GetAgentkInfoResponse) ToAPIAgentInfo() *api.AgentkInfo
- type GetAgentwInfoResponse
- func (*GetAgentwInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetAgentwInfoResponse) GetAgentId() int64
- func (*GetAgentwInfoResponse) ProtoMessage()
- func (x *GetAgentwInfoResponse) ProtoReflect() protoreflect.Message
- func (x *GetAgentwInfoResponse) Reset()
- func (x *GetAgentwInfoResponse) String() string
- func (a *GetAgentwInfoResponse) ToAPIAgentInfo() *api.AgentwInfo
- type GetReceptiveAgentsResponse
- func (*GetReceptiveAgentsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetReceptiveAgentsResponse) GetAgents() []*ReceptiveAgent
- func (*GetReceptiveAgentsResponse) ProtoMessage()
- func (x *GetReceptiveAgentsResponse) ProtoReflect() protoreflect.Message
- func (x *GetReceptiveAgentsResponse) Reset()
- func (x *GetReceptiveAgentsResponse) String() string
- type GetRepositoryInfoResponse
- func (*GetRepositoryInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetRepositoryInfoResponse) GetDefaultBranch() string
- func (x *GetRepositoryInfoResponse) GetGitalyInfo() *entity.GitalyInfo
- func (x *GetRepositoryInfoResponse) GetGitalyRepository() *entity.GitalyRepository
- func (x *GetRepositoryInfoResponse) GetProjectId() int64
- func (*GetRepositoryInfoResponse) ProtoMessage()
- func (x *GetRepositoryInfoResponse) ProtoReflect() protoreflect.Message
- func (x *GetRepositoryInfoResponse) Reset()
- func (x *GetRepositoryInfoResponse) String() string
- func (p *GetRepositoryInfoResponse) ToAPIProjectInfo() *api.ProjectInfo
- type Group
- type GroupAccessCF
- func (*GroupAccessCF) Descriptor() ([]byte, []int)deprecated
- func (x *GroupAccessCF) GetId() int64
- func (x *GroupAccessCF) GetRoles() []string
- func (*GroupAccessCF) ProtoMessage()
- func (x *GroupAccessCF) ProtoReflect() protoreflect.Message
- func (x *GroupAccessCF) Reset()
- func (x *GroupAccessCF) String() string
- type Job
- type Pipeline
- type Project
- type ProjectAccessCF
- func (*ProjectAccessCF) Descriptor() ([]byte, []int)deprecated
- func (x *ProjectAccessCF) GetId() int64
- func (x *ProjectAccessCF) GetRoles() []string
- func (*ProjectAccessCF) ProtoMessage()
- func (x *ProjectAccessCF) ProtoReflect() protoreflect.Message
- func (x *ProjectAccessCF) Reset()
- func (x *ProjectAccessCF) String() string
- type ReceptiveAgent
- func (*ReceptiveAgent) Descriptor() ([]byte, []int)deprecated
- func (x *ReceptiveAgent) GetAuthConfig() isReceptiveAgent_AuthConfig
- func (x *ReceptiveAgent) GetCaCert() string
- func (x *ReceptiveAgent) GetId() int64
- func (x *ReceptiveAgent) GetJwt() *ReceptiveAgentJWTAuth
- func (x *ReceptiveAgent) GetMtls() *ReceptiveAgentMutualTLSAuth
- func (x *ReceptiveAgent) GetTlsHost() string
- func (x *ReceptiveAgent) GetUrl() string
- func (*ReceptiveAgent) ProtoMessage()
- func (x *ReceptiveAgent) ProtoReflect() protoreflect.Message
- func (x *ReceptiveAgent) Reset()
- func (x *ReceptiveAgent) String() string
- type ReceptiveAgentJWTAuth
- func (*ReceptiveAgentJWTAuth) Descriptor() ([]byte, []int)deprecated
- func (x *ReceptiveAgentJWTAuth) GetPrivateKey() string
- func (*ReceptiveAgentJWTAuth) ProtoMessage()
- func (x *ReceptiveAgentJWTAuth) ProtoReflect() protoreflect.Message
- func (x *ReceptiveAgentJWTAuth) Reset()
- func (x *ReceptiveAgentJWTAuth) String() string
- type ReceptiveAgentMutualTLSAuth
- func (*ReceptiveAgentMutualTLSAuth) Descriptor() ([]byte, []int)deprecated
- func (x *ReceptiveAgentMutualTLSAuth) GetClientCert() string
- func (x *ReceptiveAgentMutualTLSAuth) GetClientKey() string
- func (*ReceptiveAgentMutualTLSAuth) ProtoMessage()
- func (x *ReceptiveAgentMutualTLSAuth) ProtoReflect() protoreflect.Message
- func (x *ReceptiveAgentMutualTLSAuth) Reset()
- func (x *ReceptiveAgentMutualTLSAuth) String() string
- type ReceptiveAgent_Jwt
- type ReceptiveAgent_Mtls
- type UsagePingData
- type User
Constants ¶
const ( AgentkInfoAPIPath = "/api/v4/internal/agents/agentk/agent_info" AgentwInfoAPIPath = "/api/v4/internal/agents/agentw/agent_info" )
const ( RepositoryInfoAPIPath = "/api/v4/internal/autoflow/repository_info" RepositoryInfoProjectIDQueryParam = "id" )
const ( ProjectIDQueryParam = "id" VerifyProjectAccessAPIPath = "/api/v4/internal/kubernetes/verify_project_access" )
const (
AgentConfigurationAPIPath = "/api/v4/internal/kubernetes/agent_configuration"
)
const (
AllowedAgentsAPIPath = "/api/v4/job/allowed_agents"
)
const (
EventAPIPath = "/api/v4/internal/kubernetes/agent_events"
)
const (
ModuleRequestAPIPath = "/api/v4/internal/kubernetes/modules/"
)
const (
ReceptiveAgentsAPIPath = "/api/v4/internal/kubernetes/receptive_agents"
)
const (
UsagePingAPIPath = "/api/v4/internal/kubernetes/usage_metrics"
)
Variables ¶
var File_internal_gitlab_api_api_proto protoreflect.FileDescriptor
Functions ¶
func GetAgentInfo ¶
func GetRepositoryInfo ¶
func GetRepositoryInfo(ctx context.Context, client gitlab.ClientInterface, projectID string, opts ...gitlab.DoOption) (*api.ProjectInfo, error)
func IsCacheableError ¶
IsCacheableError checks if an error is cacheable.
func MakeModuleRequest ¶
func PostAgentkConfiguration ¶ added in v18.1.0
func SendUsagePing ¶
func SendUsagePing(ctx context.Context, client gitlab.ClientInterface, data UsagePingData, opts ...gitlab.DoOption) error
func VerifyProjectAccess ¶
Types ¶
type AccessAsAgentAuthorization ¶
type AccessAsAgentAuthorization struct {
// contains filtered or unexported fields
}
func (*AccessAsAgentAuthorization) Descriptor
deprecated
func (*AccessAsAgentAuthorization) Descriptor() ([]byte, []int)
Deprecated: Use AccessAsAgentAuthorization.ProtoReflect.Descriptor instead.
func (*AccessAsAgentAuthorization) ProtoMessage ¶
func (*AccessAsAgentAuthorization) ProtoMessage()
func (*AccessAsAgentAuthorization) ProtoReflect ¶
func (x *AccessAsAgentAuthorization) ProtoReflect() protoreflect.Message
func (*AccessAsAgentAuthorization) Reset ¶
func (x *AccessAsAgentAuthorization) Reset()
func (*AccessAsAgentAuthorization) String ¶
func (x *AccessAsAgentAuthorization) String() string
type AccessAsProxyAuthorization ¶
type AccessAsProxyAuthorization struct { // Types that are valid to be assigned to AccessAs: // // *AccessAsProxyAuthorization_Agent // *AccessAsProxyAuthorization_User AccessAs isAccessAsProxyAuthorization_AccessAs `protobuf_oneof:"access_as"` // contains filtered or unexported fields }
func (*AccessAsProxyAuthorization) Descriptor
deprecated
func (*AccessAsProxyAuthorization) Descriptor() ([]byte, []int)
Deprecated: Use AccessAsProxyAuthorization.ProtoReflect.Descriptor instead.
func (*AccessAsProxyAuthorization) GetAccessAs ¶
func (x *AccessAsProxyAuthorization) GetAccessAs() isAccessAsProxyAuthorization_AccessAs
func (*AccessAsProxyAuthorization) GetAgent ¶
func (x *AccessAsProxyAuthorization) GetAgent() *AccessAsAgentAuthorization
func (*AccessAsProxyAuthorization) GetUser ¶
func (x *AccessAsProxyAuthorization) GetUser() *AccessAsUserAuthorization
func (*AccessAsProxyAuthorization) ProtoMessage ¶
func (*AccessAsProxyAuthorization) ProtoMessage()
func (*AccessAsProxyAuthorization) ProtoReflect ¶
func (x *AccessAsProxyAuthorization) ProtoReflect() protoreflect.Message
func (*AccessAsProxyAuthorization) Reset ¶
func (x *AccessAsProxyAuthorization) Reset()
func (*AccessAsProxyAuthorization) String ¶
func (x *AccessAsProxyAuthorization) String() string
type AccessAsProxyAuthorization_Agent ¶
type AccessAsProxyAuthorization_Agent struct {
Agent *AccessAsAgentAuthorization `protobuf:"bytes,1,opt,name=agent,proto3,oneof"`
}
type AccessAsProxyAuthorization_User ¶
type AccessAsProxyAuthorization_User struct {
User *AccessAsUserAuthorization `protobuf:"bytes,2,opt,name=user,proto3,oneof"`
}
type AccessAsUserAuthorization ¶
type AccessAsUserAuthorization struct { Projects []*ProjectAccessCF `protobuf:"bytes,1,rep,name=projects,proto3" json:"projects,omitempty"` Groups []*GroupAccessCF `protobuf:"bytes,2,rep,name=groups,proto3" json:"groups,omitempty"` // contains filtered or unexported fields }
func (*AccessAsUserAuthorization) Descriptor
deprecated
func (*AccessAsUserAuthorization) Descriptor() ([]byte, []int)
Deprecated: Use AccessAsUserAuthorization.ProtoReflect.Descriptor instead.
func (*AccessAsUserAuthorization) GetGroups ¶
func (x *AccessAsUserAuthorization) GetGroups() []*GroupAccessCF
func (*AccessAsUserAuthorization) GetProjects ¶
func (x *AccessAsUserAuthorization) GetProjects() []*ProjectAccessCF
func (*AccessAsUserAuthorization) ProtoMessage ¶
func (*AccessAsUserAuthorization) ProtoMessage()
func (*AccessAsUserAuthorization) ProtoReflect ¶
func (x *AccessAsUserAuthorization) ProtoReflect() protoreflect.Message
func (*AccessAsUserAuthorization) Reset ¶
func (x *AccessAsUserAuthorization) Reset()
func (*AccessAsUserAuthorization) String ¶
func (x *AccessAsUserAuthorization) String() string
type AccessType ¶ added in v18.2.0
type AccessType string
AccessType represents the type of the access key when authorizing proxy users. These values must match the possible values accepted by the Rails API and the ones from api.proto of this package. See AuthorizeProxyUserRequest message.
const ( AuthorizeProxyUserAPIPath = "/api/v4/internal/kubernetes/authorize_proxy_user" SessionCookieAccessType AccessType = "session_cookie" PersonalAccessTokenAccessType AccessType = "personal_access_token" )
type AgentConfigurationRequest ¶
type AgentConfigurationRequest struct { AgentId int64 `protobuf:"varint,1,opt,name=agent_id,proto3" json:"agent_id,omitempty"` AgentConfig *agentcfg.ConfigurationFile `protobuf:"bytes,2,opt,name=agent_config,proto3" json:"agent_config,omitempty"` AgentConfigCommitId string `protobuf:"bytes,3,opt,name=agent_config_commit_id,proto3" json:"agent_config_commit_id,omitempty"` // contains filtered or unexported fields }
func (*AgentConfigurationRequest) Descriptor
deprecated
func (*AgentConfigurationRequest) Descriptor() ([]byte, []int)
Deprecated: Use AgentConfigurationRequest.ProtoReflect.Descriptor instead.
func (*AgentConfigurationRequest) GetAgentConfig ¶
func (x *AgentConfigurationRequest) GetAgentConfig() *agentcfg.ConfigurationFile
func (*AgentConfigurationRequest) GetAgentConfigCommitId ¶
func (x *AgentConfigurationRequest) GetAgentConfigCommitId() string
func (*AgentConfigurationRequest) GetAgentId ¶
func (x *AgentConfigurationRequest) GetAgentId() int64
func (*AgentConfigurationRequest) ProtoMessage ¶
func (*AgentConfigurationRequest) ProtoMessage()
func (*AgentConfigurationRequest) ProtoReflect ¶
func (x *AgentConfigurationRequest) ProtoReflect() protoreflect.Message
func (*AgentConfigurationRequest) Reset ¶
func (x *AgentConfigurationRequest) Reset()
func (*AgentConfigurationRequest) String ¶
func (x *AgentConfigurationRequest) String() string
type AllowedAgent ¶
type AllowedAgent struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` ConfigProject *ConfigProject `protobuf:"bytes,2,opt,name=config_project,proto3" json:"config_project,omitempty"` Configuration *Configuration `protobuf:"bytes,3,opt,name=configuration,proto3" json:"configuration,omitempty"` // contains filtered or unexported fields }
func (*AllowedAgent) Descriptor
deprecated
func (*AllowedAgent) Descriptor() ([]byte, []int)
Deprecated: Use AllowedAgent.ProtoReflect.Descriptor instead.
func (*AllowedAgent) GetConfigProject ¶
func (x *AllowedAgent) GetConfigProject() *ConfigProject
func (*AllowedAgent) GetConfiguration ¶
func (x *AllowedAgent) GetConfiguration() *Configuration
func (*AllowedAgent) GetId ¶
func (x *AllowedAgent) GetId() int64
func (*AllowedAgent) ProtoMessage ¶
func (*AllowedAgent) ProtoMessage()
func (*AllowedAgent) ProtoReflect ¶
func (x *AllowedAgent) ProtoReflect() protoreflect.Message
func (*AllowedAgent) Reset ¶
func (x *AllowedAgent) Reset()
func (*AllowedAgent) String ¶
func (x *AllowedAgent) String() string
type AllowedAgentsForJob ¶
type AllowedAgentsForJob struct { AllowedAgents []*AllowedAgent `protobuf:"bytes,1,rep,name=allowed_agents,proto3" json:"allowed_agents,omitempty"` Job *Job `protobuf:"bytes,2,opt,name=job,proto3" json:"job,omitempty"` Pipeline *Pipeline `protobuf:"bytes,3,opt,name=pipeline,proto3" json:"pipeline,omitempty"` Project *Project `protobuf:"bytes,4,opt,name=project,proto3" json:"project,omitempty"` User *User `protobuf:"bytes,5,opt,name=user,proto3" json:"user,omitempty"` Environment *Environment `protobuf:"bytes,6,opt,name=environment,proto3" json:"environment,omitempty"` // contains filtered or unexported fields }
func GetAllowedAgentsForJob ¶
func GetAllowedAgentsForJob(ctx context.Context, client gitlab.ClientInterface, jobToken string, opts ...gitlab.DoOption) (*AllowedAgentsForJob, error)
func (*AllowedAgentsForJob) Descriptor
deprecated
func (*AllowedAgentsForJob) Descriptor() ([]byte, []int)
Deprecated: Use AllowedAgentsForJob.ProtoReflect.Descriptor instead.
func (*AllowedAgentsForJob) GetAllowedAgents ¶
func (x *AllowedAgentsForJob) GetAllowedAgents() []*AllowedAgent
func (*AllowedAgentsForJob) GetEnvironment ¶
func (x *AllowedAgentsForJob) GetEnvironment() *Environment
func (*AllowedAgentsForJob) GetJob ¶
func (x *AllowedAgentsForJob) GetJob() *Job
func (*AllowedAgentsForJob) GetPipeline ¶
func (x *AllowedAgentsForJob) GetPipeline() *Pipeline
func (*AllowedAgentsForJob) GetProject ¶
func (x *AllowedAgentsForJob) GetProject() *Project
func (*AllowedAgentsForJob) GetUser ¶
func (x *AllowedAgentsForJob) GetUser() *User
func (*AllowedAgentsForJob) ProtoMessage ¶
func (*AllowedAgentsForJob) ProtoMessage()
func (*AllowedAgentsForJob) ProtoReflect ¶
func (x *AllowedAgentsForJob) ProtoReflect() protoreflect.Message
func (*AllowedAgentsForJob) Reset ¶
func (x *AllowedAgentsForJob) Reset()
func (*AllowedAgentsForJob) String ¶
func (x *AllowedAgentsForJob) String() string
type AuthorizeProxyUserRequest ¶
type AuthorizeProxyUserRequest struct { AgentId int64 `protobuf:"varint,1,opt,name=agent_id,proto3" json:"agent_id,omitempty"` AccessType string `protobuf:"bytes,2,opt,name=access_type,proto3" json:"access_type,omitempty"` AccessKey string `protobuf:"bytes,3,opt,name=access_key,proto3" json:"access_key,omitempty"` CsrfToken string `protobuf:"bytes,4,opt,name=csrf_token,proto3" json:"csrf_token,omitempty"` // contains filtered or unexported fields }
func (*AuthorizeProxyUserRequest) Descriptor
deprecated
func (*AuthorizeProxyUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use AuthorizeProxyUserRequest.ProtoReflect.Descriptor instead.
func (*AuthorizeProxyUserRequest) GetAccessKey ¶
func (x *AuthorizeProxyUserRequest) GetAccessKey() string
func (*AuthorizeProxyUserRequest) GetAccessType ¶
func (x *AuthorizeProxyUserRequest) GetAccessType() string
func (*AuthorizeProxyUserRequest) GetAgentId ¶
func (x *AuthorizeProxyUserRequest) GetAgentId() int64
func (*AuthorizeProxyUserRequest) GetCsrfToken ¶
func (x *AuthorizeProxyUserRequest) GetCsrfToken() string
func (*AuthorizeProxyUserRequest) ProtoMessage ¶
func (*AuthorizeProxyUserRequest) ProtoMessage()
func (*AuthorizeProxyUserRequest) ProtoReflect ¶
func (x *AuthorizeProxyUserRequest) ProtoReflect() protoreflect.Message
func (*AuthorizeProxyUserRequest) Reset ¶
func (x *AuthorizeProxyUserRequest) Reset()
func (*AuthorizeProxyUserRequest) String ¶
func (x *AuthorizeProxyUserRequest) String() string
type AuthorizeProxyUserResponse ¶
type AuthorizeProxyUserResponse struct { Agent *AuthorizedAgentForUser `protobuf:"bytes,1,opt,name=agent,proto3" json:"agent,omitempty"` User *User `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` AccessAs *AccessAsProxyAuthorization `protobuf:"bytes,3,opt,name=access_as,proto3" json:"access_as,omitempty"` // contains filtered or unexported fields }
func AuthorizeProxyUser ¶
func AuthorizeProxyUser(ctx context.Context, client gitlab.ClientInterface, agentKey api.AgentKey, accessType AccessType, accessKey, csrfToken string, opts ...gitlab.DoOption) (*AuthorizeProxyUserResponse, error)
func (*AuthorizeProxyUserResponse) Descriptor
deprecated
func (*AuthorizeProxyUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use AuthorizeProxyUserResponse.ProtoReflect.Descriptor instead.
func (*AuthorizeProxyUserResponse) GetAccessAs ¶
func (x *AuthorizeProxyUserResponse) GetAccessAs() *AccessAsProxyAuthorization
func (*AuthorizeProxyUserResponse) GetAgent ¶
func (x *AuthorizeProxyUserResponse) GetAgent() *AuthorizedAgentForUser
func (*AuthorizeProxyUserResponse) GetUser ¶
func (x *AuthorizeProxyUserResponse) GetUser() *User
func (*AuthorizeProxyUserResponse) ProtoMessage ¶
func (*AuthorizeProxyUserResponse) ProtoMessage()
func (*AuthorizeProxyUserResponse) ProtoReflect ¶
func (x *AuthorizeProxyUserResponse) ProtoReflect() protoreflect.Message
func (*AuthorizeProxyUserResponse) Reset ¶
func (x *AuthorizeProxyUserResponse) Reset()
func (*AuthorizeProxyUserResponse) String ¶
func (x *AuthorizeProxyUserResponse) String() string
type AuthorizedAgentForUser ¶
type AuthorizedAgentForUser struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` ConfigProject *ConfigProject `protobuf:"bytes,2,opt,name=config_project,proto3" json:"config_project,omitempty"` // contains filtered or unexported fields }
func (*AuthorizedAgentForUser) Descriptor
deprecated
func (*AuthorizedAgentForUser) Descriptor() ([]byte, []int)
Deprecated: Use AuthorizedAgentForUser.ProtoReflect.Descriptor instead.
func (*AuthorizedAgentForUser) GetConfigProject ¶
func (x *AuthorizedAgentForUser) GetConfigProject() *ConfigProject
func (*AuthorizedAgentForUser) GetId ¶
func (x *AuthorizedAgentForUser) GetId() int64
func (*AuthorizedAgentForUser) ProtoMessage ¶
func (*AuthorizedAgentForUser) ProtoMessage()
func (*AuthorizedAgentForUser) ProtoReflect ¶
func (x *AuthorizedAgentForUser) ProtoReflect() protoreflect.Message
func (*AuthorizedAgentForUser) Reset ¶
func (x *AuthorizedAgentForUser) Reset()
func (*AuthorizedAgentForUser) String ¶
func (x *AuthorizedAgentForUser) String() string
type ConfigProject ¶
type ConfigProject struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*ConfigProject) Descriptor
deprecated
func (*ConfigProject) Descriptor() ([]byte, []int)
Deprecated: Use ConfigProject.ProtoReflect.Descriptor instead.
func (*ConfigProject) GetId ¶
func (x *ConfigProject) GetId() int64
func (*ConfigProject) ProtoMessage ¶
func (*ConfigProject) ProtoMessage()
func (*ConfigProject) ProtoReflect ¶
func (x *ConfigProject) ProtoReflect() protoreflect.Message
func (*ConfigProject) Reset ¶
func (x *ConfigProject) Reset()
func (*ConfigProject) String ¶
func (x *ConfigProject) String() string
type Configuration ¶
type Configuration struct { DefaultNamespace string `protobuf:"bytes,1,opt,name=default_namespace,proto3" json:"default_namespace,omitempty"` AccessAs *agentcfg.CiAccessAsCF `protobuf:"bytes,2,opt,name=access_as,proto3" json:"access_as,omitempty"` // contains filtered or unexported fields }
func (*Configuration) Descriptor
deprecated
func (*Configuration) Descriptor() ([]byte, []int)
Deprecated: Use Configuration.ProtoReflect.Descriptor instead.
func (*Configuration) GetAccessAs ¶
func (x *Configuration) GetAccessAs() *agentcfg.CiAccessAsCF
func (*Configuration) GetDefaultNamespace ¶
func (x *Configuration) GetDefaultNamespace() string
func (*Configuration) ProtoMessage ¶
func (*Configuration) ProtoMessage()
func (*Configuration) ProtoReflect ¶
func (x *Configuration) ProtoReflect() protoreflect.Message
func (*Configuration) Reset ¶
func (x *Configuration) Reset()
func (*Configuration) String ¶
func (x *Configuration) String() string
type Environment ¶
type Environment struct { Slug string `protobuf:"bytes,1,opt,name=slug,proto3" json:"slug,omitempty"` Tier string `protobuf:"bytes,2,opt,name=tier,proto3" json:"tier,omitempty"` // contains filtered or unexported fields }
func (*Environment) Descriptor
deprecated
func (*Environment) Descriptor() ([]byte, []int)
Deprecated: Use Environment.ProtoReflect.Descriptor instead.
func (*Environment) GetSlug ¶
func (x *Environment) GetSlug() string
func (*Environment) GetTier ¶
func (x *Environment) GetTier() string
func (*Environment) ProtoMessage ¶
func (*Environment) ProtoMessage()
func (*Environment) ProtoReflect ¶
func (x *Environment) ProtoReflect() protoreflect.Message
func (*Environment) Reset ¶
func (x *Environment) Reset()
func (*Environment) String ¶
func (x *Environment) String() string
type GetAgentkInfoResponse ¶ added in v18.2.0
type GetAgentkInfoResponse struct { ProjectId int64 `protobuf:"varint,1,opt,name=project_id,proto3" json:"project_id,omitempty"` AgentId int64 `protobuf:"varint,2,opt,name=agent_id,proto3" json:"agent_id,omitempty"` AgentName string `protobuf:"bytes,3,opt,name=agent_name,proto3" json:"agent_name,omitempty"` GitalyInfo *entity.GitalyInfo `protobuf:"bytes,4,opt,name=gitaly_info,proto3" json:"gitaly_info,omitempty"` GitalyRepository *entity.GitalyRepository `protobuf:"bytes,5,opt,name=gitaly_repository,proto3" json:"gitaly_repository,omitempty"` DefaultBranch string `protobuf:"bytes,6,opt,name=default_branch,proto3" json:"default_branch,omitempty"` // contains filtered or unexported fields }
func (*GetAgentkInfoResponse) Descriptor
deprecated
added in
v18.2.0
func (*GetAgentkInfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetAgentkInfoResponse.ProtoReflect.Descriptor instead.
func (*GetAgentkInfoResponse) GetAgentId ¶ added in v18.2.0
func (x *GetAgentkInfoResponse) GetAgentId() int64
func (*GetAgentkInfoResponse) GetAgentName ¶ added in v18.2.0
func (x *GetAgentkInfoResponse) GetAgentName() string
func (*GetAgentkInfoResponse) GetDefaultBranch ¶ added in v18.2.0
func (x *GetAgentkInfoResponse) GetDefaultBranch() string
func (*GetAgentkInfoResponse) GetGitalyInfo ¶ added in v18.2.0
func (x *GetAgentkInfoResponse) GetGitalyInfo() *entity.GitalyInfo
func (*GetAgentkInfoResponse) GetGitalyRepository ¶ added in v18.2.0
func (x *GetAgentkInfoResponse) GetGitalyRepository() *entity.GitalyRepository
func (*GetAgentkInfoResponse) GetProjectId ¶ added in v18.2.0
func (x *GetAgentkInfoResponse) GetProjectId() int64
func (*GetAgentkInfoResponse) ProtoMessage ¶ added in v18.2.0
func (*GetAgentkInfoResponse) ProtoMessage()
func (*GetAgentkInfoResponse) ProtoReflect ¶ added in v18.2.0
func (x *GetAgentkInfoResponse) ProtoReflect() protoreflect.Message
func (*GetAgentkInfoResponse) Reset ¶ added in v18.2.0
func (x *GetAgentkInfoResponse) Reset()
func (*GetAgentkInfoResponse) String ¶ added in v18.2.0
func (x *GetAgentkInfoResponse) String() string
func (*GetAgentkInfoResponse) ToAPIAgentInfo ¶ added in v18.2.0
func (a *GetAgentkInfoResponse) ToAPIAgentInfo() *api.AgentkInfo
type GetAgentwInfoResponse ¶ added in v18.2.0
type GetAgentwInfoResponse struct { AgentId int64 `protobuf:"varint,1,opt,name=agent_id,proto3" json:"agent_id,omitempty"` // contains filtered or unexported fields }
func (*GetAgentwInfoResponse) Descriptor
deprecated
added in
v18.2.0
func (*GetAgentwInfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetAgentwInfoResponse.ProtoReflect.Descriptor instead.
func (*GetAgentwInfoResponse) GetAgentId ¶ added in v18.2.0
func (x *GetAgentwInfoResponse) GetAgentId() int64
func (*GetAgentwInfoResponse) ProtoMessage ¶ added in v18.2.0
func (*GetAgentwInfoResponse) ProtoMessage()
func (*GetAgentwInfoResponse) ProtoReflect ¶ added in v18.2.0
func (x *GetAgentwInfoResponse) ProtoReflect() protoreflect.Message
func (*GetAgentwInfoResponse) Reset ¶ added in v18.2.0
func (x *GetAgentwInfoResponse) Reset()
func (*GetAgentwInfoResponse) String ¶ added in v18.2.0
func (x *GetAgentwInfoResponse) String() string
func (*GetAgentwInfoResponse) ToAPIAgentInfo ¶ added in v18.2.0
func (a *GetAgentwInfoResponse) ToAPIAgentInfo() *api.AgentwInfo
type GetReceptiveAgentsResponse ¶
type GetReceptiveAgentsResponse struct { Agents []*ReceptiveAgent `protobuf:"bytes,1,rep,name=agents,proto3" json:"agents,omitempty"` // contains filtered or unexported fields }
func GetReceptiveAgents ¶
func GetReceptiveAgents(ctx context.Context, client gitlab.ClientInterface, opts ...gitlab.DoOption) (*GetReceptiveAgentsResponse, error)
func (*GetReceptiveAgentsResponse) Descriptor
deprecated
func (*GetReceptiveAgentsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetReceptiveAgentsResponse.ProtoReflect.Descriptor instead.
func (*GetReceptiveAgentsResponse) GetAgents ¶
func (x *GetReceptiveAgentsResponse) GetAgents() []*ReceptiveAgent
func (*GetReceptiveAgentsResponse) ProtoMessage ¶
func (*GetReceptiveAgentsResponse) ProtoMessage()
func (*GetReceptiveAgentsResponse) ProtoReflect ¶
func (x *GetReceptiveAgentsResponse) ProtoReflect() protoreflect.Message
func (*GetReceptiveAgentsResponse) Reset ¶
func (x *GetReceptiveAgentsResponse) Reset()
func (*GetReceptiveAgentsResponse) String ¶
func (x *GetReceptiveAgentsResponse) String() string
type GetRepositoryInfoResponse ¶
type GetRepositoryInfoResponse struct { ProjectId int64 `protobuf:"varint,1,opt,name=project_id,proto3" json:"project_id,omitempty"` GitalyInfo *entity.GitalyInfo `protobuf:"bytes,2,opt,name=gitaly_info,proto3" json:"gitaly_info,omitempty"` GitalyRepository *entity.GitalyRepository `protobuf:"bytes,3,opt,name=gitaly_repository,proto3" json:"gitaly_repository,omitempty"` DefaultBranch string `protobuf:"bytes,4,opt,name=default_branch,proto3" json:"default_branch,omitempty"` // contains filtered or unexported fields }
func (*GetRepositoryInfoResponse) Descriptor
deprecated
func (*GetRepositoryInfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetRepositoryInfoResponse.ProtoReflect.Descriptor instead.
func (*GetRepositoryInfoResponse) GetDefaultBranch ¶
func (x *GetRepositoryInfoResponse) GetDefaultBranch() string
func (*GetRepositoryInfoResponse) GetGitalyInfo ¶
func (x *GetRepositoryInfoResponse) GetGitalyInfo() *entity.GitalyInfo
func (*GetRepositoryInfoResponse) GetGitalyRepository ¶
func (x *GetRepositoryInfoResponse) GetGitalyRepository() *entity.GitalyRepository
func (*GetRepositoryInfoResponse) GetProjectId ¶
func (x *GetRepositoryInfoResponse) GetProjectId() int64
func (*GetRepositoryInfoResponse) ProtoMessage ¶
func (*GetRepositoryInfoResponse) ProtoMessage()
func (*GetRepositoryInfoResponse) ProtoReflect ¶
func (x *GetRepositoryInfoResponse) ProtoReflect() protoreflect.Message
func (*GetRepositoryInfoResponse) Reset ¶
func (x *GetRepositoryInfoResponse) Reset()
func (*GetRepositoryInfoResponse) String ¶
func (x *GetRepositoryInfoResponse) String() string
func (*GetRepositoryInfoResponse) ToAPIProjectInfo ¶
func (p *GetRepositoryInfoResponse) ToAPIProjectInfo() *api.ProjectInfo
type Group ¶
type Group struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*Group) Descriptor
deprecated
func (*Group) ProtoMessage ¶
func (*Group) ProtoMessage()
func (*Group) ProtoReflect ¶
func (x *Group) ProtoReflect() protoreflect.Message
type GroupAccessCF ¶
type GroupAccessCF struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Roles []string `protobuf:"bytes,2,rep,name=roles,proto3" json:"roles,omitempty"` // contains filtered or unexported fields }
func (*GroupAccessCF) Descriptor
deprecated
func (*GroupAccessCF) Descriptor() ([]byte, []int)
Deprecated: Use GroupAccessCF.ProtoReflect.Descriptor instead.
func (*GroupAccessCF) GetId ¶
func (x *GroupAccessCF) GetId() int64
func (*GroupAccessCF) GetRoles ¶
func (x *GroupAccessCF) GetRoles() []string
func (*GroupAccessCF) ProtoMessage ¶
func (*GroupAccessCF) ProtoMessage()
func (*GroupAccessCF) ProtoReflect ¶
func (x *GroupAccessCF) ProtoReflect() protoreflect.Message
func (*GroupAccessCF) Reset ¶
func (x *GroupAccessCF) Reset()
func (*GroupAccessCF) String ¶
func (x *GroupAccessCF) String() string
type Job ¶
type Job struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*Job) Descriptor
deprecated
func (*Job) ProtoMessage ¶
func (*Job) ProtoMessage()
func (*Job) ProtoReflect ¶
func (x *Job) ProtoReflect() protoreflect.Message
type Pipeline ¶
type Pipeline struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*Pipeline) Descriptor
deprecated
func (*Pipeline) ProtoMessage ¶
func (*Pipeline) ProtoMessage()
func (*Pipeline) ProtoReflect ¶
func (x *Pipeline) ProtoReflect() protoreflect.Message
type Project ¶
type Project struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Groups []*Group `protobuf:"bytes,2,rep,name=groups,proto3" json:"groups,omitempty"` // contains filtered or unexported fields }
func (*Project) Descriptor
deprecated
func (*Project) ProtoMessage ¶
func (*Project) ProtoMessage()
func (*Project) ProtoReflect ¶
func (x *Project) ProtoReflect() protoreflect.Message
type ProjectAccessCF ¶
type ProjectAccessCF struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Roles []string `protobuf:"bytes,2,rep,name=roles,proto3" json:"roles,omitempty"` // contains filtered or unexported fields }
func (*ProjectAccessCF) Descriptor
deprecated
func (*ProjectAccessCF) Descriptor() ([]byte, []int)
Deprecated: Use ProjectAccessCF.ProtoReflect.Descriptor instead.
func (*ProjectAccessCF) GetId ¶
func (x *ProjectAccessCF) GetId() int64
func (*ProjectAccessCF) GetRoles ¶
func (x *ProjectAccessCF) GetRoles() []string
func (*ProjectAccessCF) ProtoMessage ¶
func (*ProjectAccessCF) ProtoMessage()
func (*ProjectAccessCF) ProtoReflect ¶
func (x *ProjectAccessCF) ProtoReflect() protoreflect.Message
func (*ProjectAccessCF) Reset ¶
func (x *ProjectAccessCF) Reset()
func (*ProjectAccessCF) String ¶
func (x *ProjectAccessCF) String() string
type ReceptiveAgent ¶
type ReceptiveAgent struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` CaCert string `protobuf:"bytes,3,opt,name=ca_cert,proto3" json:"ca_cert,omitempty"` TlsHost string `protobuf:"bytes,4,opt,name=tls_host,proto3" json:"tls_host,omitempty"` // Types that are valid to be assigned to AuthConfig: // // *ReceptiveAgent_Jwt // *ReceptiveAgent_Mtls AuthConfig isReceptiveAgent_AuthConfig `protobuf_oneof:"auth_config"` // contains filtered or unexported fields }
func (*ReceptiveAgent) Descriptor
deprecated
func (*ReceptiveAgent) Descriptor() ([]byte, []int)
Deprecated: Use ReceptiveAgent.ProtoReflect.Descriptor instead.
func (*ReceptiveAgent) GetAuthConfig ¶
func (x *ReceptiveAgent) GetAuthConfig() isReceptiveAgent_AuthConfig
func (*ReceptiveAgent) GetCaCert ¶
func (x *ReceptiveAgent) GetCaCert() string
func (*ReceptiveAgent) GetId ¶
func (x *ReceptiveAgent) GetId() int64
func (*ReceptiveAgent) GetJwt ¶
func (x *ReceptiveAgent) GetJwt() *ReceptiveAgentJWTAuth
func (*ReceptiveAgent) GetMtls ¶
func (x *ReceptiveAgent) GetMtls() *ReceptiveAgentMutualTLSAuth
func (*ReceptiveAgent) GetTlsHost ¶
func (x *ReceptiveAgent) GetTlsHost() string
func (*ReceptiveAgent) GetUrl ¶
func (x *ReceptiveAgent) GetUrl() string
func (*ReceptiveAgent) ProtoMessage ¶
func (*ReceptiveAgent) ProtoMessage()
func (*ReceptiveAgent) ProtoReflect ¶
func (x *ReceptiveAgent) ProtoReflect() protoreflect.Message
func (*ReceptiveAgent) Reset ¶
func (x *ReceptiveAgent) Reset()
func (*ReceptiveAgent) String ¶
func (x *ReceptiveAgent) String() string
type ReceptiveAgentJWTAuth ¶
type ReceptiveAgentJWTAuth struct { PrivateKey string `protobuf:"bytes,1,opt,name=private_key,proto3" json:"private_key,omitempty"` // contains filtered or unexported fields }
func (*ReceptiveAgentJWTAuth) Descriptor
deprecated
func (*ReceptiveAgentJWTAuth) Descriptor() ([]byte, []int)
Deprecated: Use ReceptiveAgentJWTAuth.ProtoReflect.Descriptor instead.
func (*ReceptiveAgentJWTAuth) GetPrivateKey ¶
func (x *ReceptiveAgentJWTAuth) GetPrivateKey() string
func (*ReceptiveAgentJWTAuth) ProtoMessage ¶
func (*ReceptiveAgentJWTAuth) ProtoMessage()
func (*ReceptiveAgentJWTAuth) ProtoReflect ¶
func (x *ReceptiveAgentJWTAuth) ProtoReflect() protoreflect.Message
func (*ReceptiveAgentJWTAuth) Reset ¶
func (x *ReceptiveAgentJWTAuth) Reset()
func (*ReceptiveAgentJWTAuth) String ¶
func (x *ReceptiveAgentJWTAuth) String() string
type ReceptiveAgentMutualTLSAuth ¶
type ReceptiveAgentMutualTLSAuth struct { ClientCert string `protobuf:"bytes,1,opt,name=client_cert,proto3" json:"client_cert,omitempty"` ClientKey string `protobuf:"bytes,2,opt,name=client_key,proto3" json:"client_key,omitempty"` // contains filtered or unexported fields }
func (*ReceptiveAgentMutualTLSAuth) Descriptor
deprecated
func (*ReceptiveAgentMutualTLSAuth) Descriptor() ([]byte, []int)
Deprecated: Use ReceptiveAgentMutualTLSAuth.ProtoReflect.Descriptor instead.
func (*ReceptiveAgentMutualTLSAuth) GetClientCert ¶
func (x *ReceptiveAgentMutualTLSAuth) GetClientCert() string
func (*ReceptiveAgentMutualTLSAuth) GetClientKey ¶
func (x *ReceptiveAgentMutualTLSAuth) GetClientKey() string
func (*ReceptiveAgentMutualTLSAuth) ProtoMessage ¶
func (*ReceptiveAgentMutualTLSAuth) ProtoMessage()
func (*ReceptiveAgentMutualTLSAuth) ProtoReflect ¶
func (x *ReceptiveAgentMutualTLSAuth) ProtoReflect() protoreflect.Message
func (*ReceptiveAgentMutualTLSAuth) Reset ¶
func (x *ReceptiveAgentMutualTLSAuth) Reset()
func (*ReceptiveAgentMutualTLSAuth) String ¶
func (x *ReceptiveAgentMutualTLSAuth) String() string
type ReceptiveAgent_Jwt ¶
type ReceptiveAgent_Jwt struct {
Jwt *ReceptiveAgentJWTAuth `protobuf:"bytes,5,opt,name=jwt,proto3,oneof"`
}
type ReceptiveAgent_Mtls ¶
type ReceptiveAgent_Mtls struct {
Mtls *ReceptiveAgentMutualTLSAuth `protobuf:"bytes,6,opt,name=mtls,proto3,oneof"`
}
type UsagePingData ¶
type User ¶
type User struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"` // contains filtered or unexported fields }
func (*User) Descriptor
deprecated
func (*User) GetUsername ¶
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) ProtoReflect ¶
func (x *User) ProtoReflect() protoreflect.Message