Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIConfiguration ¶
APIConfiguration has the api details and credentials for communicating directly with the Concord API as part of the process
type ProcessConfig ¶ added in v0.2.0
type ProcessConfig struct { // ID is the UUID of the process ID string // WorkingDirectory is the current working directory of the process WorkingDirectory string // ProjectInfo has the information about the Project in which the process is running (optional) ProjectInfo ProjectInfo // RepositoryInfo has information about to the Repository inside the Project that spawned the process (optional) RepositoryInfo RepositoryInfo // APIConfiguration contains connection details to the Concord API APIConfiguration APIConfiguration }
ProcessConfig is the configuration of the running process
type ProjectInfo ¶
type ProjectInfo struct { // OrgID is the UUID of the Organization OrgID string // OrgName is the name of the Organization OrgName string // ProjectID is the UUID of the Project ProjectID string // ProjectName is the name of the Project ProjectName string }
ProjectInfo contains information about the project in which the process is running
type RepositoryInfo ¶
type RepositoryInfo struct { // ID is the UUID of the Repository ID string // Name is the name of the Repository Name string // URL is the URL of the Repository URL string }
RepositoryInfo contains details about the repository that is configured for the process
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service gets task configuration
func NewService ¶
func NewService(conn grpc.ClientConnInterface) *Service
NewService creates a new config.Service for getting task configuration
func (*Service) Configuration ¶
func (c *Service) Configuration(ctx context.Context) (*ProcessConfig, error)
Configuration returns the task configuration
Click to show internal directories.
Click to hide internal directories.