Documentation ¶
Index ¶
- Constants
- Variables
- func GetAgentInfo(ctx context.Context, client gitlab.ClientInterface, agentToken api.AgentToken, ...) (*api.AgentInfo, error)
- func GetProjectInfo(ctx context.Context, client gitlab.ClientInterface, agentToken api.AgentToken, ...) (*api.ProjectInfo, error)
- func IsCacheableError(err error) bool
- func MakeModuleRequest(ctx context.Context, client gitlab.ClientInterface, agentToken api.AgentToken, ...) (*http.Response, error)
- func PostAgentConfiguration(ctx context.Context, client gitlab.ClientInterface, agentID int64, ...) 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, agentToken api.AgentToken, ...) (bool, error)
- type AccessAsAgentAuthorization
- func (*AccessAsAgentAuthorization) Descriptor() ([]byte, []int)deprecated
- func (*AccessAsAgentAuthorization) ProtoMessage()
- func (x *AccessAsAgentAuthorization) ProtoReflect() protoreflect.Message
- func (x *AccessAsAgentAuthorization) Reset()
- func (x *AccessAsAgentAuthorization) String() string
- func (m *AccessAsAgentAuthorization) Validate() error
- func (m *AccessAsAgentAuthorization) ValidateAll() error
- type AccessAsAgentAuthorizationMultiError
- type AccessAsAgentAuthorizationValidationError
- func (e AccessAsAgentAuthorizationValidationError) Cause() error
- func (e AccessAsAgentAuthorizationValidationError) Error() string
- func (e AccessAsAgentAuthorizationValidationError) ErrorName() string
- func (e AccessAsAgentAuthorizationValidationError) Field() string
- func (e AccessAsAgentAuthorizationValidationError) Key() bool
- func (e AccessAsAgentAuthorizationValidationError) Reason() string
- type AccessAsProxyAuthorization
- func (*AccessAsProxyAuthorization) Descriptor() ([]byte, []int)deprecated
- func (m *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
- func (m *AccessAsProxyAuthorization) Validate() error
- func (m *AccessAsProxyAuthorization) ValidateAll() error
- type AccessAsProxyAuthorizationMultiError
- type AccessAsProxyAuthorizationValidationError
- func (e AccessAsProxyAuthorizationValidationError) Cause() error
- func (e AccessAsProxyAuthorizationValidationError) Error() string
- func (e AccessAsProxyAuthorizationValidationError) ErrorName() string
- func (e AccessAsProxyAuthorizationValidationError) Field() string
- func (e AccessAsProxyAuthorizationValidationError) Key() bool
- func (e AccessAsProxyAuthorizationValidationError) Reason() 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
- func (m *AccessAsUserAuthorization) Validate() error
- func (m *AccessAsUserAuthorization) ValidateAll() error
- type AccessAsUserAuthorizationMultiError
- type AccessAsUserAuthorizationValidationError
- func (e AccessAsUserAuthorizationValidationError) Cause() error
- func (e AccessAsUserAuthorizationValidationError) Error() string
- func (e AccessAsUserAuthorizationValidationError) ErrorName() string
- func (e AccessAsUserAuthorizationValidationError) Field() string
- func (e AccessAsUserAuthorizationValidationError) Key() bool
- func (e AccessAsUserAuthorizationValidationError) Reason() string
- type AgentConfigurationRequest
- func (*AgentConfigurationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AgentConfigurationRequest) GetAgentConfig() *agentcfg.ConfigurationFile
- func (x *AgentConfigurationRequest) GetAgentId() int64
- func (*AgentConfigurationRequest) ProtoMessage()
- func (x *AgentConfigurationRequest) ProtoReflect() protoreflect.Message
- func (x *AgentConfigurationRequest) Reset()
- func (x *AgentConfigurationRequest) String() string
- func (m *AgentConfigurationRequest) Validate() error
- func (m *AgentConfigurationRequest) ValidateAll() error
- type AgentConfigurationRequestMultiError
- type AgentConfigurationRequestValidationError
- func (e AgentConfigurationRequestValidationError) Cause() error
- func (e AgentConfigurationRequestValidationError) Error() string
- func (e AgentConfigurationRequestValidationError) ErrorName() string
- func (e AgentConfigurationRequestValidationError) Field() string
- func (e AgentConfigurationRequestValidationError) Key() bool
- func (e AgentConfigurationRequestValidationError) Reason() 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
- func (m *AllowedAgent) Validate() error
- func (m *AllowedAgent) ValidateAll() error
- type AllowedAgentMultiError
- type AllowedAgentValidationError
- func (e AllowedAgentValidationError) Cause() error
- func (e AllowedAgentValidationError) Error() string
- func (e AllowedAgentValidationError) ErrorName() string
- func (e AllowedAgentValidationError) Field() string
- func (e AllowedAgentValidationError) Key() bool
- func (e AllowedAgentValidationError) Reason() 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
- func (m *AllowedAgentsForJob) Validate() error
- func (m *AllowedAgentsForJob) ValidateAll() error
- type AllowedAgentsForJobMultiError
- type AllowedAgentsForJobValidationError
- func (e AllowedAgentsForJobValidationError) Cause() error
- func (e AllowedAgentsForJobValidationError) Error() string
- func (e AllowedAgentsForJobValidationError) ErrorName() string
- func (e AllowedAgentsForJobValidationError) Field() string
- func (e AllowedAgentsForJobValidationError) Key() bool
- func (e AllowedAgentsForJobValidationError) Reason() 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
- func (m *AuthorizeProxyUserRequest) Validate() error
- func (m *AuthorizeProxyUserRequest) ValidateAll() error
- type AuthorizeProxyUserRequestMultiError
- type AuthorizeProxyUserRequestValidationError
- func (e AuthorizeProxyUserRequestValidationError) Cause() error
- func (e AuthorizeProxyUserRequestValidationError) Error() string
- func (e AuthorizeProxyUserRequestValidationError) ErrorName() string
- func (e AuthorizeProxyUserRequestValidationError) Field() string
- func (e AuthorizeProxyUserRequestValidationError) Key() bool
- func (e AuthorizeProxyUserRequestValidationError) Reason() 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
- func (m *AuthorizeProxyUserResponse) Validate() error
- func (m *AuthorizeProxyUserResponse) ValidateAll() error
- type AuthorizeProxyUserResponseMultiError
- type AuthorizeProxyUserResponseValidationError
- func (e AuthorizeProxyUserResponseValidationError) Cause() error
- func (e AuthorizeProxyUserResponseValidationError) Error() string
- func (e AuthorizeProxyUserResponseValidationError) ErrorName() string
- func (e AuthorizeProxyUserResponseValidationError) Field() string
- func (e AuthorizeProxyUserResponseValidationError) Key() bool
- func (e AuthorizeProxyUserResponseValidationError) Reason() 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
- func (m *AuthorizedAgentForUser) Validate() error
- func (m *AuthorizedAgentForUser) ValidateAll() error
- type AuthorizedAgentForUserMultiError
- type AuthorizedAgentForUserValidationError
- func (e AuthorizedAgentForUserValidationError) Cause() error
- func (e AuthorizedAgentForUserValidationError) Error() string
- func (e AuthorizedAgentForUserValidationError) ErrorName() string
- func (e AuthorizedAgentForUserValidationError) Field() string
- func (e AuthorizedAgentForUserValidationError) Key() bool
- func (e AuthorizedAgentForUserValidationError) Reason() string
- type ConfigProject
- func (*ConfigProject) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigProject) GetId() int64
- func (*ConfigProject) ProtoMessage()
- func (x *ConfigProject) ProtoReflect() protoreflect.Message
- func (x *ConfigProject) Reset()
- func (x *ConfigProject) String() string
- func (m *ConfigProject) Validate() error
- func (m *ConfigProject) ValidateAll() error
- type ConfigProjectMultiError
- type ConfigProjectValidationError
- func (e ConfigProjectValidationError) Cause() error
- func (e ConfigProjectValidationError) Error() string
- func (e ConfigProjectValidationError) ErrorName() string
- func (e ConfigProjectValidationError) Field() string
- func (e ConfigProjectValidationError) Key() bool
- func (e ConfigProjectValidationError) Reason() string
- 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
- func (m *Configuration) Validate() error
- func (m *Configuration) ValidateAll() error
- type ConfigurationMultiError
- type ConfigurationValidationError
- func (e ConfigurationValidationError) Cause() error
- func (e ConfigurationValidationError) Error() string
- func (e ConfigurationValidationError) ErrorName() string
- func (e ConfigurationValidationError) Field() string
- func (e ConfigurationValidationError) Key() bool
- func (e ConfigurationValidationError) Reason() string
- type Environment
- func (*Environment) Descriptor() ([]byte, []int)deprecated
- func (x *Environment) GetSlug() string
- func (x *Environment) GetTier() string
- func (*Environment) ProtoMessage()
- func (x *Environment) ProtoReflect() protoreflect.Message
- func (x *Environment) Reset()
- func (x *Environment) String() string
- func (m *Environment) Validate() error
- func (m *Environment) ValidateAll() error
- type EnvironmentMultiError
- type EnvironmentValidationError
- func (e EnvironmentValidationError) Cause() error
- func (e EnvironmentValidationError) Error() string
- func (e EnvironmentValidationError) ErrorName() string
- func (e EnvironmentValidationError) Field() string
- func (e EnvironmentValidationError) Key() bool
- func (e EnvironmentValidationError) Reason() string
- type Event
- type EventData
- type GetAgentInfoResponse
- func (*GetAgentInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetAgentInfoResponse) GetAgentId() int64
- func (x *GetAgentInfoResponse) GetAgentName() string
- func (x *GetAgentInfoResponse) GetDefaultBranch() string
- func (x *GetAgentInfoResponse) GetGitalyInfo() *entity.GitalyInfo
- func (x *GetAgentInfoResponse) GetGitalyRepository() *entity.GitalyRepository
- func (x *GetAgentInfoResponse) GetProjectId() int64
- func (*GetAgentInfoResponse) ProtoMessage()
- func (x *GetAgentInfoResponse) ProtoReflect() protoreflect.Message
- func (x *GetAgentInfoResponse) Reset()
- func (x *GetAgentInfoResponse) String() string
- func (a *GetAgentInfoResponse) ToAPIAgentInfo() *api.AgentInfo
- func (m *GetAgentInfoResponse) Validate() error
- func (m *GetAgentInfoResponse) ValidateAll() error
- type GetAgentInfoResponseMultiError
- type GetAgentInfoResponseValidationError
- func (e GetAgentInfoResponseValidationError) Cause() error
- func (e GetAgentInfoResponseValidationError) Error() string
- func (e GetAgentInfoResponseValidationError) ErrorName() string
- func (e GetAgentInfoResponseValidationError) Field() string
- func (e GetAgentInfoResponseValidationError) Key() bool
- func (e GetAgentInfoResponseValidationError) Reason() string
- type GetProjectInfoResponse
- func (*GetProjectInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetProjectInfoResponse) GetDefaultBranch() string
- func (x *GetProjectInfoResponse) GetGitalyInfo() *entity.GitalyInfo
- func (x *GetProjectInfoResponse) GetGitalyRepository() *entity.GitalyRepository
- func (x *GetProjectInfoResponse) GetProjectId() int64
- func (*GetProjectInfoResponse) ProtoMessage()
- func (x *GetProjectInfoResponse) ProtoReflect() protoreflect.Message
- func (x *GetProjectInfoResponse) Reset()
- func (x *GetProjectInfoResponse) String() string
- func (p *GetProjectInfoResponse) ToAPIProjectInfo() *api.ProjectInfo
- func (m *GetProjectInfoResponse) Validate() error
- func (m *GetProjectInfoResponse) ValidateAll() error
- type GetProjectInfoResponseMultiError
- type GetProjectInfoResponseValidationError
- func (e GetProjectInfoResponseValidationError) Cause() error
- func (e GetProjectInfoResponseValidationError) Error() string
- func (e GetProjectInfoResponseValidationError) ErrorName() string
- func (e GetProjectInfoResponseValidationError) Field() string
- func (e GetProjectInfoResponseValidationError) Key() bool
- func (e GetProjectInfoResponseValidationError) Reason() string
- 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
- func (m *GetReceptiveAgentsResponse) Validate() error
- func (m *GetReceptiveAgentsResponse) ValidateAll() error
- type GetReceptiveAgentsResponseMultiError
- type GetReceptiveAgentsResponseValidationError
- func (e GetReceptiveAgentsResponseValidationError) Cause() error
- func (e GetReceptiveAgentsResponseValidationError) Error() string
- func (e GetReceptiveAgentsResponseValidationError) ErrorName() string
- func (e GetReceptiveAgentsResponseValidationError) Field() string
- func (e GetReceptiveAgentsResponseValidationError) Key() bool
- func (e GetReceptiveAgentsResponseValidationError) Reason() string
- 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
- func (m *GroupAccessCF) Validate() error
- func (m *GroupAccessCF) ValidateAll() error
- type GroupAccessCFMultiError
- type GroupAccessCFValidationError
- func (e GroupAccessCFValidationError) Cause() error
- func (e GroupAccessCFValidationError) Error() string
- func (e GroupAccessCFValidationError) ErrorName() string
- func (e GroupAccessCFValidationError) Field() string
- func (e GroupAccessCFValidationError) Key() bool
- func (e GroupAccessCFValidationError) Reason() string
- type GroupMultiError
- type GroupValidationError
- type Job
- type JobMultiError
- type JobValidationError
- type Pipeline
- func (*Pipeline) Descriptor() ([]byte, []int)deprecated
- func (x *Pipeline) GetId() int64
- func (*Pipeline) ProtoMessage()
- func (x *Pipeline) ProtoReflect() protoreflect.Message
- func (x *Pipeline) Reset()
- func (x *Pipeline) String() string
- func (m *Pipeline) Validate() error
- func (m *Pipeline) ValidateAll() error
- type PipelineMultiError
- type PipelineValidationError
- type Project
- func (*Project) Descriptor() ([]byte, []int)deprecated
- func (x *Project) GetGroups() []*Group
- func (x *Project) GetId() int64
- func (*Project) ProtoMessage()
- func (x *Project) ProtoReflect() protoreflect.Message
- func (x *Project) Reset()
- func (x *Project) String() string
- func (m *Project) Validate() error
- func (m *Project) ValidateAll() error
- 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
- func (m *ProjectAccessCF) Validate() error
- func (m *ProjectAccessCF) ValidateAll() error
- type ProjectAccessCFMultiError
- type ProjectAccessCFValidationError
- func (e ProjectAccessCFValidationError) Cause() error
- func (e ProjectAccessCFValidationError) Error() string
- func (e ProjectAccessCFValidationError) ErrorName() string
- func (e ProjectAccessCFValidationError) Field() string
- func (e ProjectAccessCFValidationError) Key() bool
- func (e ProjectAccessCFValidationError) Reason() string
- type ProjectMultiError
- type ProjectValidationError
- type ReceptiveAgent
- func (*ReceptiveAgent) Descriptor() ([]byte, []int)deprecated
- func (x *ReceptiveAgent) GetCaCert() string
- func (x *ReceptiveAgent) GetClientCert() string
- func (x *ReceptiveAgent) GetClientKey() string
- func (x *ReceptiveAgent) GetId() int64
- func (x *ReceptiveAgent) GetTlsHost() string
- func (x *ReceptiveAgent) GetToken() string
- func (x *ReceptiveAgent) GetUrl() string
- func (*ReceptiveAgent) ProtoMessage()
- func (x *ReceptiveAgent) ProtoReflect() protoreflect.Message
- func (x *ReceptiveAgent) Reset()
- func (x *ReceptiveAgent) String() string
- func (m *ReceptiveAgent) Validate() error
- func (m *ReceptiveAgent) ValidateAll() error
- type ReceptiveAgentMultiError
- type ReceptiveAgentValidationError
- func (e ReceptiveAgentValidationError) Cause() error
- func (e ReceptiveAgentValidationError) Error() string
- func (e ReceptiveAgentValidationError) ErrorName() string
- func (e ReceptiveAgentValidationError) Field() string
- func (e ReceptiveAgentValidationError) Key() bool
- func (e ReceptiveAgentValidationError) Reason() string
- type UsagePingData
- type User
- func (*User) Descriptor() ([]byte, []int)deprecated
- func (x *User) GetId() int64
- func (x *User) GetUsername() string
- func (*User) ProtoMessage()
- func (x *User) ProtoReflect() protoreflect.Message
- func (x *User) Reset()
- func (x *User) String() string
- func (m *User) Validate() error
- func (m *User) ValidateAll() error
- type UserMultiError
- type UserValidationError
Constants ¶
const ( ProjectInfoAPIPath = "/api/v4/internal/kubernetes/project_info" ProjectIDQueryParam = "id" )
const (
AgentConfigurationAPIPath = "/api/v4/internal/kubernetes/agent_configuration"
)
const (
AgentInfoAPIPath = "/api/v4/internal/kubernetes/agent_info"
)
const (
AllowedAgentsAPIPath = "/api/v4/job/allowed_agents"
)
const (
AuthorizeProxyUserAPIPath = "/api/v4/internal/kubernetes/authorize_proxy_user"
)
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"
)
const (
VerifyProjectAccessAPIPath = "/api/v4/internal/kubernetes/verify_project_access"
)
Variables ¶
var File_internal_gitlab_api_api_proto protoreflect.FileDescriptor
Functions ¶
func GetAgentInfo ¶
func GetProjectInfo ¶
func GetProjectInfo(ctx context.Context, client gitlab.ClientInterface, agentToken api.AgentToken, projectID string, opts ...gitlab.DoOption) (*api.ProjectInfo, error)
func IsCacheableError ¶
IsCacheableError checks if an error is cacheable.
func MakeModuleRequest ¶
func PostAgentConfiguration ¶
func PostAgentConfiguration(ctx context.Context, client gitlab.ClientInterface, agentID int64, config *agentcfg.ConfigurationFile, opts ...gitlab.DoOption) error
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
func (*AccessAsAgentAuthorization) Validate ¶
func (m *AccessAsAgentAuthorization) Validate() error
Validate checks the field values on AccessAsAgentAuthorization with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*AccessAsAgentAuthorization) ValidateAll ¶
func (m *AccessAsAgentAuthorization) ValidateAll() error
ValidateAll checks the field values on AccessAsAgentAuthorization with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AccessAsAgentAuthorizationMultiError, or nil if none found.
type AccessAsAgentAuthorizationMultiError ¶
type AccessAsAgentAuthorizationMultiError []error
AccessAsAgentAuthorizationMultiError is an error wrapping multiple validation errors returned by AccessAsAgentAuthorization.ValidateAll() if the designated constraints aren't met.
func (AccessAsAgentAuthorizationMultiError) AllErrors ¶
func (m AccessAsAgentAuthorizationMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AccessAsAgentAuthorizationMultiError) Error ¶
func (m AccessAsAgentAuthorizationMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AccessAsAgentAuthorizationValidationError ¶
type AccessAsAgentAuthorizationValidationError struct {
// contains filtered or unexported fields
}
AccessAsAgentAuthorizationValidationError is the validation error returned by AccessAsAgentAuthorization.Validate if the designated constraints aren't met.
func (AccessAsAgentAuthorizationValidationError) Cause ¶
func (e AccessAsAgentAuthorizationValidationError) Cause() error
Cause function returns cause value.
func (AccessAsAgentAuthorizationValidationError) Error ¶
func (e AccessAsAgentAuthorizationValidationError) Error() string
Error satisfies the builtin error interface
func (AccessAsAgentAuthorizationValidationError) ErrorName ¶
func (e AccessAsAgentAuthorizationValidationError) ErrorName() string
ErrorName returns error name.
func (AccessAsAgentAuthorizationValidationError) Field ¶
func (e AccessAsAgentAuthorizationValidationError) Field() string
Field function returns field value.
func (AccessAsAgentAuthorizationValidationError) Key ¶
func (e AccessAsAgentAuthorizationValidationError) Key() bool
Key function returns key value.
func (AccessAsAgentAuthorizationValidationError) Reason ¶
func (e AccessAsAgentAuthorizationValidationError) Reason() string
Reason function returns reason value.
type AccessAsProxyAuthorization ¶
type AccessAsProxyAuthorization struct { // Types that are assignable 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 (m *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
func (*AccessAsProxyAuthorization) Validate ¶
func (m *AccessAsProxyAuthorization) Validate() error
Validate checks the field values on AccessAsProxyAuthorization with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*AccessAsProxyAuthorization) ValidateAll ¶
func (m *AccessAsProxyAuthorization) ValidateAll() error
ValidateAll checks the field values on AccessAsProxyAuthorization with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AccessAsProxyAuthorizationMultiError, or nil if none found.
type AccessAsProxyAuthorizationMultiError ¶
type AccessAsProxyAuthorizationMultiError []error
AccessAsProxyAuthorizationMultiError is an error wrapping multiple validation errors returned by AccessAsProxyAuthorization.ValidateAll() if the designated constraints aren't met.
func (AccessAsProxyAuthorizationMultiError) AllErrors ¶
func (m AccessAsProxyAuthorizationMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AccessAsProxyAuthorizationMultiError) Error ¶
func (m AccessAsProxyAuthorizationMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AccessAsProxyAuthorizationValidationError ¶
type AccessAsProxyAuthorizationValidationError struct {
// contains filtered or unexported fields
}
AccessAsProxyAuthorizationValidationError is the validation error returned by AccessAsProxyAuthorization.Validate if the designated constraints aren't met.
func (AccessAsProxyAuthorizationValidationError) Cause ¶
func (e AccessAsProxyAuthorizationValidationError) Cause() error
Cause function returns cause value.
func (AccessAsProxyAuthorizationValidationError) Error ¶
func (e AccessAsProxyAuthorizationValidationError) Error() string
Error satisfies the builtin error interface
func (AccessAsProxyAuthorizationValidationError) ErrorName ¶
func (e AccessAsProxyAuthorizationValidationError) ErrorName() string
ErrorName returns error name.
func (AccessAsProxyAuthorizationValidationError) Field ¶
func (e AccessAsProxyAuthorizationValidationError) Field() string
Field function returns field value.
func (AccessAsProxyAuthorizationValidationError) Key ¶
func (e AccessAsProxyAuthorizationValidationError) Key() bool
Key function returns key value.
func (AccessAsProxyAuthorizationValidationError) Reason ¶
func (e AccessAsProxyAuthorizationValidationError) Reason() string
Reason function returns reason value.
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
func (*AccessAsUserAuthorization) Validate ¶
func (m *AccessAsUserAuthorization) Validate() error
Validate checks the field values on AccessAsUserAuthorization with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*AccessAsUserAuthorization) ValidateAll ¶
func (m *AccessAsUserAuthorization) ValidateAll() error
ValidateAll checks the field values on AccessAsUserAuthorization with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AccessAsUserAuthorizationMultiError, or nil if none found.
type AccessAsUserAuthorizationMultiError ¶
type AccessAsUserAuthorizationMultiError []error
AccessAsUserAuthorizationMultiError is an error wrapping multiple validation errors returned by AccessAsUserAuthorization.ValidateAll() if the designated constraints aren't met.
func (AccessAsUserAuthorizationMultiError) AllErrors ¶
func (m AccessAsUserAuthorizationMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AccessAsUserAuthorizationMultiError) Error ¶
func (m AccessAsUserAuthorizationMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AccessAsUserAuthorizationValidationError ¶
type AccessAsUserAuthorizationValidationError struct {
// contains filtered or unexported fields
}
AccessAsUserAuthorizationValidationError is the validation error returned by AccessAsUserAuthorization.Validate if the designated constraints aren't met.
func (AccessAsUserAuthorizationValidationError) Cause ¶
func (e AccessAsUserAuthorizationValidationError) Cause() error
Cause function returns cause value.
func (AccessAsUserAuthorizationValidationError) Error ¶
func (e AccessAsUserAuthorizationValidationError) Error() string
Error satisfies the builtin error interface
func (AccessAsUserAuthorizationValidationError) ErrorName ¶
func (e AccessAsUserAuthorizationValidationError) ErrorName() string
ErrorName returns error name.
func (AccessAsUserAuthorizationValidationError) Field ¶
func (e AccessAsUserAuthorizationValidationError) Field() string
Field function returns field value.
func (AccessAsUserAuthorizationValidationError) Key ¶
func (e AccessAsUserAuthorizationValidationError) Key() bool
Key function returns key value.
func (AccessAsUserAuthorizationValidationError) Reason ¶
func (e AccessAsUserAuthorizationValidationError) Reason() string
Reason function returns reason value.
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"` // 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) 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
func (*AgentConfigurationRequest) Validate ¶
func (m *AgentConfigurationRequest) Validate() error
Validate checks the field values on AgentConfigurationRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*AgentConfigurationRequest) ValidateAll ¶
func (m *AgentConfigurationRequest) ValidateAll() error
ValidateAll checks the field values on AgentConfigurationRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AgentConfigurationRequestMultiError, or nil if none found.
type AgentConfigurationRequestMultiError ¶
type AgentConfigurationRequestMultiError []error
AgentConfigurationRequestMultiError is an error wrapping multiple validation errors returned by AgentConfigurationRequest.ValidateAll() if the designated constraints aren't met.
func (AgentConfigurationRequestMultiError) AllErrors ¶
func (m AgentConfigurationRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AgentConfigurationRequestMultiError) Error ¶
func (m AgentConfigurationRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AgentConfigurationRequestValidationError ¶
type AgentConfigurationRequestValidationError struct {
// contains filtered or unexported fields
}
AgentConfigurationRequestValidationError is the validation error returned by AgentConfigurationRequest.Validate if the designated constraints aren't met.
func (AgentConfigurationRequestValidationError) Cause ¶
func (e AgentConfigurationRequestValidationError) Cause() error
Cause function returns cause value.
func (AgentConfigurationRequestValidationError) Error ¶
func (e AgentConfigurationRequestValidationError) Error() string
Error satisfies the builtin error interface
func (AgentConfigurationRequestValidationError) ErrorName ¶
func (e AgentConfigurationRequestValidationError) ErrorName() string
ErrorName returns error name.
func (AgentConfigurationRequestValidationError) Field ¶
func (e AgentConfigurationRequestValidationError) Field() string
Field function returns field value.
func (AgentConfigurationRequestValidationError) Key ¶
func (e AgentConfigurationRequestValidationError) Key() bool
Key function returns key value.
func (AgentConfigurationRequestValidationError) Reason ¶
func (e AgentConfigurationRequestValidationError) Reason() string
Reason function returns reason value.
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
func (*AllowedAgent) Validate ¶
func (m *AllowedAgent) Validate() error
Validate checks the field values on AllowedAgent with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*AllowedAgent) ValidateAll ¶
func (m *AllowedAgent) ValidateAll() error
ValidateAll checks the field values on AllowedAgent with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AllowedAgentMultiError, or nil if none found.
type AllowedAgentMultiError ¶
type AllowedAgentMultiError []error
AllowedAgentMultiError is an error wrapping multiple validation errors returned by AllowedAgent.ValidateAll() if the designated constraints aren't met.
func (AllowedAgentMultiError) AllErrors ¶
func (m AllowedAgentMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AllowedAgentMultiError) Error ¶
func (m AllowedAgentMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AllowedAgentValidationError ¶
type AllowedAgentValidationError struct {
// contains filtered or unexported fields
}
AllowedAgentValidationError is the validation error returned by AllowedAgent.Validate if the designated constraints aren't met.
func (AllowedAgentValidationError) Cause ¶
func (e AllowedAgentValidationError) Cause() error
Cause function returns cause value.
func (AllowedAgentValidationError) Error ¶
func (e AllowedAgentValidationError) Error() string
Error satisfies the builtin error interface
func (AllowedAgentValidationError) ErrorName ¶
func (e AllowedAgentValidationError) ErrorName() string
ErrorName returns error name.
func (AllowedAgentValidationError) Field ¶
func (e AllowedAgentValidationError) Field() string
Field function returns field value.
func (AllowedAgentValidationError) Key ¶
func (e AllowedAgentValidationError) Key() bool
Key function returns key value.
func (AllowedAgentValidationError) Reason ¶
func (e AllowedAgentValidationError) Reason() string
Reason function returns reason value.
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
func (*AllowedAgentsForJob) Validate ¶
func (m *AllowedAgentsForJob) Validate() error
Validate checks the field values on AllowedAgentsForJob with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*AllowedAgentsForJob) ValidateAll ¶
func (m *AllowedAgentsForJob) ValidateAll() error
ValidateAll checks the field values on AllowedAgentsForJob with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AllowedAgentsForJobMultiError, or nil if none found.
type AllowedAgentsForJobMultiError ¶
type AllowedAgentsForJobMultiError []error
AllowedAgentsForJobMultiError is an error wrapping multiple validation errors returned by AllowedAgentsForJob.ValidateAll() if the designated constraints aren't met.
func (AllowedAgentsForJobMultiError) AllErrors ¶
func (m AllowedAgentsForJobMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AllowedAgentsForJobMultiError) Error ¶
func (m AllowedAgentsForJobMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AllowedAgentsForJobValidationError ¶
type AllowedAgentsForJobValidationError struct {
// contains filtered or unexported fields
}
AllowedAgentsForJobValidationError is the validation error returned by AllowedAgentsForJob.Validate if the designated constraints aren't met.
func (AllowedAgentsForJobValidationError) Cause ¶
func (e AllowedAgentsForJobValidationError) Cause() error
Cause function returns cause value.
func (AllowedAgentsForJobValidationError) Error ¶
func (e AllowedAgentsForJobValidationError) Error() string
Error satisfies the builtin error interface
func (AllowedAgentsForJobValidationError) ErrorName ¶
func (e AllowedAgentsForJobValidationError) ErrorName() string
ErrorName returns error name.
func (AllowedAgentsForJobValidationError) Field ¶
func (e AllowedAgentsForJobValidationError) Field() string
Field function returns field value.
func (AllowedAgentsForJobValidationError) Key ¶
func (e AllowedAgentsForJobValidationError) Key() bool
Key function returns key value.
func (AllowedAgentsForJobValidationError) Reason ¶
func (e AllowedAgentsForJobValidationError) Reason() string
Reason function returns reason value.
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
func (*AuthorizeProxyUserRequest) Validate ¶
func (m *AuthorizeProxyUserRequest) Validate() error
Validate checks the field values on AuthorizeProxyUserRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*AuthorizeProxyUserRequest) ValidateAll ¶
func (m *AuthorizeProxyUserRequest) ValidateAll() error
ValidateAll checks the field values on AuthorizeProxyUserRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AuthorizeProxyUserRequestMultiError, or nil if none found.
type AuthorizeProxyUserRequestMultiError ¶
type AuthorizeProxyUserRequestMultiError []error
AuthorizeProxyUserRequestMultiError is an error wrapping multiple validation errors returned by AuthorizeProxyUserRequest.ValidateAll() if the designated constraints aren't met.
func (AuthorizeProxyUserRequestMultiError) AllErrors ¶
func (m AuthorizeProxyUserRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AuthorizeProxyUserRequestMultiError) Error ¶
func (m AuthorizeProxyUserRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AuthorizeProxyUserRequestValidationError ¶
type AuthorizeProxyUserRequestValidationError struct {
// contains filtered or unexported fields
}
AuthorizeProxyUserRequestValidationError is the validation error returned by AuthorizeProxyUserRequest.Validate if the designated constraints aren't met.
func (AuthorizeProxyUserRequestValidationError) Cause ¶
func (e AuthorizeProxyUserRequestValidationError) Cause() error
Cause function returns cause value.
func (AuthorizeProxyUserRequestValidationError) Error ¶
func (e AuthorizeProxyUserRequestValidationError) Error() string
Error satisfies the builtin error interface
func (AuthorizeProxyUserRequestValidationError) ErrorName ¶
func (e AuthorizeProxyUserRequestValidationError) ErrorName() string
ErrorName returns error name.
func (AuthorizeProxyUserRequestValidationError) Field ¶
func (e AuthorizeProxyUserRequestValidationError) Field() string
Field function returns field value.
func (AuthorizeProxyUserRequestValidationError) Key ¶
func (e AuthorizeProxyUserRequestValidationError) Key() bool
Key function returns key value.
func (AuthorizeProxyUserRequestValidationError) Reason ¶
func (e AuthorizeProxyUserRequestValidationError) Reason() string
Reason function returns reason value.
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, agentID int64, 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
func (*AuthorizeProxyUserResponse) Validate ¶
func (m *AuthorizeProxyUserResponse) Validate() error
Validate checks the field values on AuthorizeProxyUserResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*AuthorizeProxyUserResponse) ValidateAll ¶
func (m *AuthorizeProxyUserResponse) ValidateAll() error
ValidateAll checks the field values on AuthorizeProxyUserResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AuthorizeProxyUserResponseMultiError, or nil if none found.
type AuthorizeProxyUserResponseMultiError ¶
type AuthorizeProxyUserResponseMultiError []error
AuthorizeProxyUserResponseMultiError is an error wrapping multiple validation errors returned by AuthorizeProxyUserResponse.ValidateAll() if the designated constraints aren't met.
func (AuthorizeProxyUserResponseMultiError) AllErrors ¶
func (m AuthorizeProxyUserResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AuthorizeProxyUserResponseMultiError) Error ¶
func (m AuthorizeProxyUserResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AuthorizeProxyUserResponseValidationError ¶
type AuthorizeProxyUserResponseValidationError struct {
// contains filtered or unexported fields
}
AuthorizeProxyUserResponseValidationError is the validation error returned by AuthorizeProxyUserResponse.Validate if the designated constraints aren't met.
func (AuthorizeProxyUserResponseValidationError) Cause ¶
func (e AuthorizeProxyUserResponseValidationError) Cause() error
Cause function returns cause value.
func (AuthorizeProxyUserResponseValidationError) Error ¶
func (e AuthorizeProxyUserResponseValidationError) Error() string
Error satisfies the builtin error interface
func (AuthorizeProxyUserResponseValidationError) ErrorName ¶
func (e AuthorizeProxyUserResponseValidationError) ErrorName() string
ErrorName returns error name.
func (AuthorizeProxyUserResponseValidationError) Field ¶
func (e AuthorizeProxyUserResponseValidationError) Field() string
Field function returns field value.
func (AuthorizeProxyUserResponseValidationError) Key ¶
func (e AuthorizeProxyUserResponseValidationError) Key() bool
Key function returns key value.
func (AuthorizeProxyUserResponseValidationError) Reason ¶
func (e AuthorizeProxyUserResponseValidationError) Reason() string
Reason function returns reason value.
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
func (*AuthorizedAgentForUser) Validate ¶
func (m *AuthorizedAgentForUser) Validate() error
Validate checks the field values on AuthorizedAgentForUser with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*AuthorizedAgentForUser) ValidateAll ¶
func (m *AuthorizedAgentForUser) ValidateAll() error
ValidateAll checks the field values on AuthorizedAgentForUser with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AuthorizedAgentForUserMultiError, or nil if none found.
type AuthorizedAgentForUserMultiError ¶
type AuthorizedAgentForUserMultiError []error
AuthorizedAgentForUserMultiError is an error wrapping multiple validation errors returned by AuthorizedAgentForUser.ValidateAll() if the designated constraints aren't met.
func (AuthorizedAgentForUserMultiError) AllErrors ¶
func (m AuthorizedAgentForUserMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AuthorizedAgentForUserMultiError) Error ¶
func (m AuthorizedAgentForUserMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AuthorizedAgentForUserValidationError ¶
type AuthorizedAgentForUserValidationError struct {
// contains filtered or unexported fields
}
AuthorizedAgentForUserValidationError is the validation error returned by AuthorizedAgentForUser.Validate if the designated constraints aren't met.
func (AuthorizedAgentForUserValidationError) Cause ¶
func (e AuthorizedAgentForUserValidationError) Cause() error
Cause function returns cause value.
func (AuthorizedAgentForUserValidationError) Error ¶
func (e AuthorizedAgentForUserValidationError) Error() string
Error satisfies the builtin error interface
func (AuthorizedAgentForUserValidationError) ErrorName ¶
func (e AuthorizedAgentForUserValidationError) ErrorName() string
ErrorName returns error name.
func (AuthorizedAgentForUserValidationError) Field ¶
func (e AuthorizedAgentForUserValidationError) Field() string
Field function returns field value.
func (AuthorizedAgentForUserValidationError) Key ¶
func (e AuthorizedAgentForUserValidationError) Key() bool
Key function returns key value.
func (AuthorizedAgentForUserValidationError) Reason ¶
func (e AuthorizedAgentForUserValidationError) Reason() string
Reason function returns reason value.
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
func (*ConfigProject) Validate ¶
func (m *ConfigProject) Validate() error
Validate checks the field values on ConfigProject with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ConfigProject) ValidateAll ¶
func (m *ConfigProject) ValidateAll() error
ValidateAll checks the field values on ConfigProject with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ConfigProjectMultiError, or nil if none found.
type ConfigProjectMultiError ¶
type ConfigProjectMultiError []error
ConfigProjectMultiError is an error wrapping multiple validation errors returned by ConfigProject.ValidateAll() if the designated constraints aren't met.
func (ConfigProjectMultiError) AllErrors ¶
func (m ConfigProjectMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ConfigProjectMultiError) Error ¶
func (m ConfigProjectMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ConfigProjectValidationError ¶
type ConfigProjectValidationError struct {
// contains filtered or unexported fields
}
ConfigProjectValidationError is the validation error returned by ConfigProject.Validate if the designated constraints aren't met.
func (ConfigProjectValidationError) Cause ¶
func (e ConfigProjectValidationError) Cause() error
Cause function returns cause value.
func (ConfigProjectValidationError) Error ¶
func (e ConfigProjectValidationError) Error() string
Error satisfies the builtin error interface
func (ConfigProjectValidationError) ErrorName ¶
func (e ConfigProjectValidationError) ErrorName() string
ErrorName returns error name.
func (ConfigProjectValidationError) Field ¶
func (e ConfigProjectValidationError) Field() string
Field function returns field value.
func (ConfigProjectValidationError) Key ¶
func (e ConfigProjectValidationError) Key() bool
Key function returns key value.
func (ConfigProjectValidationError) Reason ¶
func (e ConfigProjectValidationError) Reason() string
Reason function returns reason value.
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
func (*Configuration) Validate ¶
func (m *Configuration) Validate() error
Validate checks the field values on Configuration with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Configuration) ValidateAll ¶
func (m *Configuration) ValidateAll() error
ValidateAll checks the field values on Configuration with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ConfigurationMultiError, or nil if none found.
type ConfigurationMultiError ¶
type ConfigurationMultiError []error
ConfigurationMultiError is an error wrapping multiple validation errors returned by Configuration.ValidateAll() if the designated constraints aren't met.
func (ConfigurationMultiError) AllErrors ¶
func (m ConfigurationMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ConfigurationMultiError) Error ¶
func (m ConfigurationMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ConfigurationValidationError ¶
type ConfigurationValidationError struct {
// contains filtered or unexported fields
}
ConfigurationValidationError is the validation error returned by Configuration.Validate if the designated constraints aren't met.
func (ConfigurationValidationError) Cause ¶
func (e ConfigurationValidationError) Cause() error
Cause function returns cause value.
func (ConfigurationValidationError) Error ¶
func (e ConfigurationValidationError) Error() string
Error satisfies the builtin error interface
func (ConfigurationValidationError) ErrorName ¶
func (e ConfigurationValidationError) ErrorName() string
ErrorName returns error name.
func (ConfigurationValidationError) Field ¶
func (e ConfigurationValidationError) Field() string
Field function returns field value.
func (ConfigurationValidationError) Key ¶
func (e ConfigurationValidationError) Key() bool
Key function returns key value.
func (ConfigurationValidationError) Reason ¶
func (e ConfigurationValidationError) Reason() string
Reason function returns reason value.
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
func (*Environment) Validate ¶
func (m *Environment) Validate() error
Validate checks the field values on Environment with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Environment) ValidateAll ¶
func (m *Environment) ValidateAll() error
ValidateAll checks the field values on Environment with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in EnvironmentMultiError, or nil if none found.
type EnvironmentMultiError ¶
type EnvironmentMultiError []error
EnvironmentMultiError is an error wrapping multiple validation errors returned by Environment.ValidateAll() if the designated constraints aren't met.
func (EnvironmentMultiError) AllErrors ¶
func (m EnvironmentMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (EnvironmentMultiError) Error ¶
func (m EnvironmentMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type EnvironmentValidationError ¶
type EnvironmentValidationError struct {
// contains filtered or unexported fields
}
EnvironmentValidationError is the validation error returned by Environment.Validate if the designated constraints aren't met.
func (EnvironmentValidationError) Cause ¶
func (e EnvironmentValidationError) Cause() error
Cause function returns cause value.
func (EnvironmentValidationError) Error ¶
func (e EnvironmentValidationError) Error() string
Error satisfies the builtin error interface
func (EnvironmentValidationError) ErrorName ¶
func (e EnvironmentValidationError) ErrorName() string
ErrorName returns error name.
func (EnvironmentValidationError) Field ¶
func (e EnvironmentValidationError) Field() string
Field function returns field value.
func (EnvironmentValidationError) Key ¶
func (e EnvironmentValidationError) Key() bool
Key function returns key value.
func (EnvironmentValidationError) Reason ¶
func (e EnvironmentValidationError) Reason() string
Reason function returns reason value.
type GetAgentInfoResponse ¶
type GetAgentInfoResponse 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 (*GetAgentInfoResponse) Descriptor
deprecated
func (*GetAgentInfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetAgentInfoResponse.ProtoReflect.Descriptor instead.
func (*GetAgentInfoResponse) GetAgentId ¶
func (x *GetAgentInfoResponse) GetAgentId() int64
func (*GetAgentInfoResponse) GetAgentName ¶
func (x *GetAgentInfoResponse) GetAgentName() string
func (*GetAgentInfoResponse) GetDefaultBranch ¶
func (x *GetAgentInfoResponse) GetDefaultBranch() string
func (*GetAgentInfoResponse) GetGitalyInfo ¶
func (x *GetAgentInfoResponse) GetGitalyInfo() *entity.GitalyInfo
func (*GetAgentInfoResponse) GetGitalyRepository ¶
func (x *GetAgentInfoResponse) GetGitalyRepository() *entity.GitalyRepository
func (*GetAgentInfoResponse) GetProjectId ¶
func (x *GetAgentInfoResponse) GetProjectId() int64
func (*GetAgentInfoResponse) ProtoMessage ¶
func (*GetAgentInfoResponse) ProtoMessage()
func (*GetAgentInfoResponse) ProtoReflect ¶
func (x *GetAgentInfoResponse) ProtoReflect() protoreflect.Message
func (*GetAgentInfoResponse) Reset ¶
func (x *GetAgentInfoResponse) Reset()
func (*GetAgentInfoResponse) String ¶
func (x *GetAgentInfoResponse) String() string
func (*GetAgentInfoResponse) ToAPIAgentInfo ¶
func (a *GetAgentInfoResponse) ToAPIAgentInfo() *api.AgentInfo
func (*GetAgentInfoResponse) Validate ¶
func (m *GetAgentInfoResponse) Validate() error
Validate checks the field values on GetAgentInfoResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetAgentInfoResponse) ValidateAll ¶
func (m *GetAgentInfoResponse) ValidateAll() error
ValidateAll checks the field values on GetAgentInfoResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetAgentInfoResponseMultiError, or nil if none found.
type GetAgentInfoResponseMultiError ¶
type GetAgentInfoResponseMultiError []error
GetAgentInfoResponseMultiError is an error wrapping multiple validation errors returned by GetAgentInfoResponse.ValidateAll() if the designated constraints aren't met.
func (GetAgentInfoResponseMultiError) AllErrors ¶
func (m GetAgentInfoResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetAgentInfoResponseMultiError) Error ¶
func (m GetAgentInfoResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetAgentInfoResponseValidationError ¶
type GetAgentInfoResponseValidationError struct {
// contains filtered or unexported fields
}
GetAgentInfoResponseValidationError is the validation error returned by GetAgentInfoResponse.Validate if the designated constraints aren't met.
func (GetAgentInfoResponseValidationError) Cause ¶
func (e GetAgentInfoResponseValidationError) Cause() error
Cause function returns cause value.
func (GetAgentInfoResponseValidationError) Error ¶
func (e GetAgentInfoResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetAgentInfoResponseValidationError) ErrorName ¶
func (e GetAgentInfoResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetAgentInfoResponseValidationError) Field ¶
func (e GetAgentInfoResponseValidationError) Field() string
Field function returns field value.
func (GetAgentInfoResponseValidationError) Key ¶
func (e GetAgentInfoResponseValidationError) Key() bool
Key function returns key value.
func (GetAgentInfoResponseValidationError) Reason ¶
func (e GetAgentInfoResponseValidationError) Reason() string
Reason function returns reason value.
type GetProjectInfoResponse ¶
type GetProjectInfoResponse 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 (*GetProjectInfoResponse) Descriptor
deprecated
func (*GetProjectInfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetProjectInfoResponse.ProtoReflect.Descriptor instead.
func (*GetProjectInfoResponse) GetDefaultBranch ¶
func (x *GetProjectInfoResponse) GetDefaultBranch() string
func (*GetProjectInfoResponse) GetGitalyInfo ¶
func (x *GetProjectInfoResponse) GetGitalyInfo() *entity.GitalyInfo
func (*GetProjectInfoResponse) GetGitalyRepository ¶
func (x *GetProjectInfoResponse) GetGitalyRepository() *entity.GitalyRepository
func (*GetProjectInfoResponse) GetProjectId ¶
func (x *GetProjectInfoResponse) GetProjectId() int64
func (*GetProjectInfoResponse) ProtoMessage ¶
func (*GetProjectInfoResponse) ProtoMessage()
func (*GetProjectInfoResponse) ProtoReflect ¶
func (x *GetProjectInfoResponse) ProtoReflect() protoreflect.Message
func (*GetProjectInfoResponse) Reset ¶
func (x *GetProjectInfoResponse) Reset()
func (*GetProjectInfoResponse) String ¶
func (x *GetProjectInfoResponse) String() string
func (*GetProjectInfoResponse) ToAPIProjectInfo ¶
func (p *GetProjectInfoResponse) ToAPIProjectInfo() *api.ProjectInfo
func (*GetProjectInfoResponse) Validate ¶
func (m *GetProjectInfoResponse) Validate() error
Validate checks the field values on GetProjectInfoResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetProjectInfoResponse) ValidateAll ¶
func (m *GetProjectInfoResponse) ValidateAll() error
ValidateAll checks the field values on GetProjectInfoResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetProjectInfoResponseMultiError, or nil if none found.
type GetProjectInfoResponseMultiError ¶
type GetProjectInfoResponseMultiError []error
GetProjectInfoResponseMultiError is an error wrapping multiple validation errors returned by GetProjectInfoResponse.ValidateAll() if the designated constraints aren't met.
func (GetProjectInfoResponseMultiError) AllErrors ¶
func (m GetProjectInfoResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetProjectInfoResponseMultiError) Error ¶
func (m GetProjectInfoResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetProjectInfoResponseValidationError ¶
type GetProjectInfoResponseValidationError struct {
// contains filtered or unexported fields
}
GetProjectInfoResponseValidationError is the validation error returned by GetProjectInfoResponse.Validate if the designated constraints aren't met.
func (GetProjectInfoResponseValidationError) Cause ¶
func (e GetProjectInfoResponseValidationError) Cause() error
Cause function returns cause value.
func (GetProjectInfoResponseValidationError) Error ¶
func (e GetProjectInfoResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetProjectInfoResponseValidationError) ErrorName ¶
func (e GetProjectInfoResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetProjectInfoResponseValidationError) Field ¶
func (e GetProjectInfoResponseValidationError) Field() string
Field function returns field value.
func (GetProjectInfoResponseValidationError) Key ¶
func (e GetProjectInfoResponseValidationError) Key() bool
Key function returns key value.
func (GetProjectInfoResponseValidationError) Reason ¶
func (e GetProjectInfoResponseValidationError) Reason() string
Reason function returns reason value.
type GetReceptiveAgentsResponse ¶ added in v17.2.0
type GetReceptiveAgentsResponse struct { Agents []*ReceptiveAgent `protobuf:"bytes,1,rep,name=agents,proto3" json:"agents,omitempty"` // contains filtered or unexported fields }
func GetReceptiveAgents ¶ added in v17.2.0
func GetReceptiveAgents(ctx context.Context, client gitlab.ClientInterface, opts ...gitlab.DoOption) (*GetReceptiveAgentsResponse, error)
func (*GetReceptiveAgentsResponse) Descriptor
deprecated
added in
v17.2.0
func (*GetReceptiveAgentsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetReceptiveAgentsResponse.ProtoReflect.Descriptor instead.
func (*GetReceptiveAgentsResponse) GetAgents ¶ added in v17.2.0
func (x *GetReceptiveAgentsResponse) GetAgents() []*ReceptiveAgent
func (*GetReceptiveAgentsResponse) ProtoMessage ¶ added in v17.2.0
func (*GetReceptiveAgentsResponse) ProtoMessage()
func (*GetReceptiveAgentsResponse) ProtoReflect ¶ added in v17.2.0
func (x *GetReceptiveAgentsResponse) ProtoReflect() protoreflect.Message
func (*GetReceptiveAgentsResponse) Reset ¶ added in v17.2.0
func (x *GetReceptiveAgentsResponse) Reset()
func (*GetReceptiveAgentsResponse) String ¶ added in v17.2.0
func (x *GetReceptiveAgentsResponse) String() string
func (*GetReceptiveAgentsResponse) Validate ¶ added in v17.2.0
func (m *GetReceptiveAgentsResponse) Validate() error
Validate checks the field values on GetReceptiveAgentsResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetReceptiveAgentsResponse) ValidateAll ¶ added in v17.2.0
func (m *GetReceptiveAgentsResponse) ValidateAll() error
ValidateAll checks the field values on GetReceptiveAgentsResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetReceptiveAgentsResponseMultiError, or nil if none found.
type GetReceptiveAgentsResponseMultiError ¶ added in v17.2.0
type GetReceptiveAgentsResponseMultiError []error
GetReceptiveAgentsResponseMultiError is an error wrapping multiple validation errors returned by GetReceptiveAgentsResponse.ValidateAll() if the designated constraints aren't met.
func (GetReceptiveAgentsResponseMultiError) AllErrors ¶ added in v17.2.0
func (m GetReceptiveAgentsResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetReceptiveAgentsResponseMultiError) Error ¶ added in v17.2.0
func (m GetReceptiveAgentsResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetReceptiveAgentsResponseValidationError ¶ added in v17.2.0
type GetReceptiveAgentsResponseValidationError struct {
// contains filtered or unexported fields
}
GetReceptiveAgentsResponseValidationError is the validation error returned by GetReceptiveAgentsResponse.Validate if the designated constraints aren't met.
func (GetReceptiveAgentsResponseValidationError) Cause ¶ added in v17.2.0
func (e GetReceptiveAgentsResponseValidationError) Cause() error
Cause function returns cause value.
func (GetReceptiveAgentsResponseValidationError) Error ¶ added in v17.2.0
func (e GetReceptiveAgentsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetReceptiveAgentsResponseValidationError) ErrorName ¶ added in v17.2.0
func (e GetReceptiveAgentsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetReceptiveAgentsResponseValidationError) Field ¶ added in v17.2.0
func (e GetReceptiveAgentsResponseValidationError) Field() string
Field function returns field value.
func (GetReceptiveAgentsResponseValidationError) Key ¶ added in v17.2.0
func (e GetReceptiveAgentsResponseValidationError) Key() bool
Key function returns key value.
func (GetReceptiveAgentsResponseValidationError) Reason ¶ added in v17.2.0
func (e GetReceptiveAgentsResponseValidationError) Reason() string
Reason function returns reason value.
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
func (*Group) Validate ¶
Validate checks the field values on Group with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Group) ValidateAll ¶
ValidateAll checks the field values on Group with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GroupMultiError, or nil if none found.
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
func (*GroupAccessCF) Validate ¶
func (m *GroupAccessCF) Validate() error
Validate checks the field values on GroupAccessCF with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GroupAccessCF) ValidateAll ¶
func (m *GroupAccessCF) ValidateAll() error
ValidateAll checks the field values on GroupAccessCF with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GroupAccessCFMultiError, or nil if none found.
type GroupAccessCFMultiError ¶
type GroupAccessCFMultiError []error
GroupAccessCFMultiError is an error wrapping multiple validation errors returned by GroupAccessCF.ValidateAll() if the designated constraints aren't met.
func (GroupAccessCFMultiError) AllErrors ¶
func (m GroupAccessCFMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GroupAccessCFMultiError) Error ¶
func (m GroupAccessCFMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GroupAccessCFValidationError ¶
type GroupAccessCFValidationError struct {
// contains filtered or unexported fields
}
GroupAccessCFValidationError is the validation error returned by GroupAccessCF.Validate if the designated constraints aren't met.
func (GroupAccessCFValidationError) Cause ¶
func (e GroupAccessCFValidationError) Cause() error
Cause function returns cause value.
func (GroupAccessCFValidationError) Error ¶
func (e GroupAccessCFValidationError) Error() string
Error satisfies the builtin error interface
func (GroupAccessCFValidationError) ErrorName ¶
func (e GroupAccessCFValidationError) ErrorName() string
ErrorName returns error name.
func (GroupAccessCFValidationError) Field ¶
func (e GroupAccessCFValidationError) Field() string
Field function returns field value.
func (GroupAccessCFValidationError) Key ¶
func (e GroupAccessCFValidationError) Key() bool
Key function returns key value.
func (GroupAccessCFValidationError) Reason ¶
func (e GroupAccessCFValidationError) Reason() string
Reason function returns reason value.
type GroupMultiError ¶
type GroupMultiError []error
GroupMultiError is an error wrapping multiple validation errors returned by Group.ValidateAll() if the designated constraints aren't met.
func (GroupMultiError) AllErrors ¶
func (m GroupMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GroupMultiError) Error ¶
func (m GroupMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GroupValidationError ¶
type GroupValidationError struct {
// contains filtered or unexported fields
}
GroupValidationError is the validation error returned by Group.Validate if the designated constraints aren't met.
func (GroupValidationError) Cause ¶
func (e GroupValidationError) Cause() error
Cause function returns cause value.
func (GroupValidationError) Error ¶
func (e GroupValidationError) Error() string
Error satisfies the builtin error interface
func (GroupValidationError) ErrorName ¶
func (e GroupValidationError) ErrorName() string
ErrorName returns error name.
func (GroupValidationError) Field ¶
func (e GroupValidationError) Field() string
Field function returns field value.
func (GroupValidationError) Key ¶
func (e GroupValidationError) Key() bool
Key function returns key value.
func (GroupValidationError) Reason ¶
func (e GroupValidationError) Reason() string
Reason function returns reason value.
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
func (*Job) Validate ¶
Validate checks the field values on Job with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Job) ValidateAll ¶
ValidateAll checks the field values on Job with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in JobMultiError, or nil if none found.
type JobMultiError ¶
type JobMultiError []error
JobMultiError is an error wrapping multiple validation errors returned by Job.ValidateAll() if the designated constraints aren't met.
func (JobMultiError) AllErrors ¶
func (m JobMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (JobMultiError) Error ¶
func (m JobMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type JobValidationError ¶
type JobValidationError struct {
// contains filtered or unexported fields
}
JobValidationError is the validation error returned by Job.Validate if the designated constraints aren't met.
func (JobValidationError) Cause ¶
func (e JobValidationError) Cause() error
Cause function returns cause value.
func (JobValidationError) Error ¶
func (e JobValidationError) Error() string
Error satisfies the builtin error interface
func (JobValidationError) ErrorName ¶
func (e JobValidationError) ErrorName() string
ErrorName returns error name.
func (JobValidationError) Field ¶
func (e JobValidationError) Field() string
Field function returns field value.
func (JobValidationError) Key ¶
func (e JobValidationError) Key() bool
Key function returns key value.
func (JobValidationError) Reason ¶
func (e JobValidationError) Reason() string
Reason function returns reason value.
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
func (*Pipeline) Validate ¶
Validate checks the field values on Pipeline with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Pipeline) ValidateAll ¶
ValidateAll checks the field values on Pipeline with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PipelineMultiError, or nil if none found.
type PipelineMultiError ¶
type PipelineMultiError []error
PipelineMultiError is an error wrapping multiple validation errors returned by Pipeline.ValidateAll() if the designated constraints aren't met.
func (PipelineMultiError) AllErrors ¶
func (m PipelineMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PipelineMultiError) Error ¶
func (m PipelineMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PipelineValidationError ¶
type PipelineValidationError struct {
// contains filtered or unexported fields
}
PipelineValidationError is the validation error returned by Pipeline.Validate if the designated constraints aren't met.
func (PipelineValidationError) Cause ¶
func (e PipelineValidationError) Cause() error
Cause function returns cause value.
func (PipelineValidationError) Error ¶
func (e PipelineValidationError) Error() string
Error satisfies the builtin error interface
func (PipelineValidationError) ErrorName ¶
func (e PipelineValidationError) ErrorName() string
ErrorName returns error name.
func (PipelineValidationError) Field ¶
func (e PipelineValidationError) Field() string
Field function returns field value.
func (PipelineValidationError) Key ¶
func (e PipelineValidationError) Key() bool
Key function returns key value.
func (PipelineValidationError) Reason ¶
func (e PipelineValidationError) Reason() string
Reason function returns reason value.
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
func (*Project) Validate ¶
Validate checks the field values on Project with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Project) ValidateAll ¶
ValidateAll checks the field values on Project with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ProjectMultiError, or nil if none found.
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
func (*ProjectAccessCF) Validate ¶
func (m *ProjectAccessCF) Validate() error
Validate checks the field values on ProjectAccessCF with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ProjectAccessCF) ValidateAll ¶
func (m *ProjectAccessCF) ValidateAll() error
ValidateAll checks the field values on ProjectAccessCF with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ProjectAccessCFMultiError, or nil if none found.
type ProjectAccessCFMultiError ¶
type ProjectAccessCFMultiError []error
ProjectAccessCFMultiError is an error wrapping multiple validation errors returned by ProjectAccessCF.ValidateAll() if the designated constraints aren't met.
func (ProjectAccessCFMultiError) AllErrors ¶
func (m ProjectAccessCFMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ProjectAccessCFMultiError) Error ¶
func (m ProjectAccessCFMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ProjectAccessCFValidationError ¶
type ProjectAccessCFValidationError struct {
// contains filtered or unexported fields
}
ProjectAccessCFValidationError is the validation error returned by ProjectAccessCF.Validate if the designated constraints aren't met.
func (ProjectAccessCFValidationError) Cause ¶
func (e ProjectAccessCFValidationError) Cause() error
Cause function returns cause value.
func (ProjectAccessCFValidationError) Error ¶
func (e ProjectAccessCFValidationError) Error() string
Error satisfies the builtin error interface
func (ProjectAccessCFValidationError) ErrorName ¶
func (e ProjectAccessCFValidationError) ErrorName() string
ErrorName returns error name.
func (ProjectAccessCFValidationError) Field ¶
func (e ProjectAccessCFValidationError) Field() string
Field function returns field value.
func (ProjectAccessCFValidationError) Key ¶
func (e ProjectAccessCFValidationError) Key() bool
Key function returns key value.
func (ProjectAccessCFValidationError) Reason ¶
func (e ProjectAccessCFValidationError) Reason() string
Reason function returns reason value.
type ProjectMultiError ¶
type ProjectMultiError []error
ProjectMultiError is an error wrapping multiple validation errors returned by Project.ValidateAll() if the designated constraints aren't met.
func (ProjectMultiError) AllErrors ¶
func (m ProjectMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ProjectMultiError) Error ¶
func (m ProjectMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ProjectValidationError ¶
type ProjectValidationError struct {
// contains filtered or unexported fields
}
ProjectValidationError is the validation error returned by Project.Validate if the designated constraints aren't met.
func (ProjectValidationError) Cause ¶
func (e ProjectValidationError) Cause() error
Cause function returns cause value.
func (ProjectValidationError) Error ¶
func (e ProjectValidationError) Error() string
Error satisfies the builtin error interface
func (ProjectValidationError) ErrorName ¶
func (e ProjectValidationError) ErrorName() string
ErrorName returns error name.
func (ProjectValidationError) Field ¶
func (e ProjectValidationError) Field() string
Field function returns field value.
func (ProjectValidationError) Key ¶
func (e ProjectValidationError) Key() bool
Key function returns key value.
func (ProjectValidationError) Reason ¶
func (e ProjectValidationError) Reason() string
Reason function returns reason value.
type ReceptiveAgent ¶ added in v17.2.0
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"` Token string `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"` CaCert string `protobuf:"bytes,4,opt,name=ca_cert,proto3" json:"ca_cert,omitempty"` ClientCert string `protobuf:"bytes,5,opt,name=client_cert,proto3" json:"client_cert,omitempty"` ClientKey string `protobuf:"bytes,6,opt,name=client_key,proto3" json:"client_key,omitempty"` TlsHost string `protobuf:"bytes,7,opt,name=tls_host,proto3" json:"tls_host,omitempty"` // contains filtered or unexported fields }
func (*ReceptiveAgent) Descriptor
deprecated
added in
v17.2.0
func (*ReceptiveAgent) Descriptor() ([]byte, []int)
Deprecated: Use ReceptiveAgent.ProtoReflect.Descriptor instead.
func (*ReceptiveAgent) GetCaCert ¶ added in v17.2.0
func (x *ReceptiveAgent) GetCaCert() string
func (*ReceptiveAgent) GetClientCert ¶ added in v17.2.0
func (x *ReceptiveAgent) GetClientCert() string
func (*ReceptiveAgent) GetClientKey ¶ added in v17.2.0
func (x *ReceptiveAgent) GetClientKey() string
func (*ReceptiveAgent) GetId ¶ added in v17.2.0
func (x *ReceptiveAgent) GetId() int64
func (*ReceptiveAgent) GetTlsHost ¶ added in v17.2.0
func (x *ReceptiveAgent) GetTlsHost() string
func (*ReceptiveAgent) GetToken ¶ added in v17.2.0
func (x *ReceptiveAgent) GetToken() string
func (*ReceptiveAgent) GetUrl ¶ added in v17.2.0
func (x *ReceptiveAgent) GetUrl() string
func (*ReceptiveAgent) ProtoMessage ¶ added in v17.2.0
func (*ReceptiveAgent) ProtoMessage()
func (*ReceptiveAgent) ProtoReflect ¶ added in v17.2.0
func (x *ReceptiveAgent) ProtoReflect() protoreflect.Message
func (*ReceptiveAgent) Reset ¶ added in v17.2.0
func (x *ReceptiveAgent) Reset()
func (*ReceptiveAgent) String ¶ added in v17.2.0
func (x *ReceptiveAgent) String() string
func (*ReceptiveAgent) Validate ¶ added in v17.2.0
func (m *ReceptiveAgent) Validate() error
Validate checks the field values on ReceptiveAgent with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ReceptiveAgent) ValidateAll ¶ added in v17.2.0
func (m *ReceptiveAgent) ValidateAll() error
ValidateAll checks the field values on ReceptiveAgent with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ReceptiveAgentMultiError, or nil if none found.
type ReceptiveAgentMultiError ¶ added in v17.2.0
type ReceptiveAgentMultiError []error
ReceptiveAgentMultiError is an error wrapping multiple validation errors returned by ReceptiveAgent.ValidateAll() if the designated constraints aren't met.
func (ReceptiveAgentMultiError) AllErrors ¶ added in v17.2.0
func (m ReceptiveAgentMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ReceptiveAgentMultiError) Error ¶ added in v17.2.0
func (m ReceptiveAgentMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ReceptiveAgentValidationError ¶ added in v17.2.0
type ReceptiveAgentValidationError struct {
// contains filtered or unexported fields
}
ReceptiveAgentValidationError is the validation error returned by ReceptiveAgent.Validate if the designated constraints aren't met.
func (ReceptiveAgentValidationError) Cause ¶ added in v17.2.0
func (e ReceptiveAgentValidationError) Cause() error
Cause function returns cause value.
func (ReceptiveAgentValidationError) Error ¶ added in v17.2.0
func (e ReceptiveAgentValidationError) Error() string
Error satisfies the builtin error interface
func (ReceptiveAgentValidationError) ErrorName ¶ added in v17.2.0
func (e ReceptiveAgentValidationError) ErrorName() string
ErrorName returns error name.
func (ReceptiveAgentValidationError) Field ¶ added in v17.2.0
func (e ReceptiveAgentValidationError) Field() string
Field function returns field value.
func (ReceptiveAgentValidationError) Key ¶ added in v17.2.0
func (e ReceptiveAgentValidationError) Key() bool
Key function returns key value.
func (ReceptiveAgentValidationError) Reason ¶ added in v17.2.0
func (e ReceptiveAgentValidationError) Reason() string
Reason function returns reason value.
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
func (*User) Validate ¶
Validate checks the field values on User with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*User) ValidateAll ¶
ValidateAll checks the field values on User with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UserMultiError, or nil if none found.
type UserMultiError ¶
type UserMultiError []error
UserMultiError is an error wrapping multiple validation errors returned by User.ValidateAll() if the designated constraints aren't met.
func (UserMultiError) AllErrors ¶
func (m UserMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UserMultiError) Error ¶
func (m UserMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UserValidationError ¶
type UserValidationError struct {
// contains filtered or unexported fields
}
UserValidationError is the validation error returned by User.Validate if the designated constraints aren't met.
func (UserValidationError) Cause ¶
func (e UserValidationError) Cause() error
Cause function returns cause value.
func (UserValidationError) Error ¶
func (e UserValidationError) Error() string
Error satisfies the builtin error interface
func (UserValidationError) ErrorName ¶
func (e UserValidationError) ErrorName() string
ErrorName returns error name.
func (UserValidationError) Field ¶
func (e UserValidationError) Field() string
Field function returns field value.
func (UserValidationError) Key ¶
func (e UserValidationError) Key() bool
Key function returns key value.
func (UserValidationError) Reason ¶
func (e UserValidationError) Reason() string
Reason function returns reason value.