Documentation
¶
Index ¶
Constants ¶
View Source
const (
MetadataAuthorization = "authorization"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AgentInfo ¶
type AgentInfo struct { Meta AgentMeta // Id is the agent's id in the database. Id int64 // ProjectId is the id of the configuration project of the agent. ProjectId int64 // Name is the agent's name. // Can contain only /a-z\d-/ Name string GitalyInfo GitalyInfo Repository gitalypb.Repository }
AgentInfo contains information about an agentk.
type AgentMeta ¶
type AgentMeta struct {
Token AgentToken
}
AgentMeta contains information received from agentk with a request. It's passed as gRPC metadata.
type ProjectInfo ¶
type ProjectInfo struct { ProjectId int64 GitalyInfo GitalyInfo Repository gitalypb.Repository }
Click to show internal directories.
Click to hide internal directories.