Documentation
¶
Overview ¶
Package services contains the core business logic for the operations supported by phobos
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Catalog ¶
type Catalog struct {
ActivityEventService activityevent.Service
AgentService agent.Service
AnnouncementService announcement.Service
ApprovalRuleService approvalrule.Service
CommentService comment.Service
EnvironmentService environment.Service
JobService job.Service
LifecycleTemplateService lifecycletemplate.Service
MaintenanceService maintenance.Service
MembershipService membership.Service
MetricService metric.Service
OrganizationService organization.Service
PipelineService pipeline.Service
PipelineTemplateService pipelinetemplate.Service
PluginRegistryService pluginregistry.Service
ProjectService project.Service
ProjectVariableService projectvariable.Service
ReleaseService release.Service
ReleaseLifecycleService releaselifecycle.Service
ResourceLimitService resourcelimit.Service
RoleService role.Service
SCIMService scim.Service
ServiceAccountService serviceaccount.Service
TeamService team.Service
ToDoItemService todoitem.Service
UserService user.Service
VCSService vcs.Service
VersionService version.Service
// contains filtered or unexported fields
}
Catalog contains all the services for the application
func (*Catalog) FetchModel ¶ added in v0.41.0
FetchModel retrieves a resource model by its Global ID (GID) or Phobos Resource Name (PRN) It automatically detects the identifier type and uses the appropriate fetcher
func (*Catalog) FetchModelID ¶ added in v0.41.0
FetchModelID extracts a model's unique identifier from either a GID or PRN Returns the raw ID without fetching the entire model when possible
Directories
¶
| Path | Synopsis |
|---|---|
|
Package activityevent provides functionality for the activity events which are used to track changes to Phobos resources.
|
Package activityevent provides functionality for the activity events which are used to track changes to Phobos resources. |
|
Package agent contains all functionalities related to Phobos agents, which are responsible for claiming and running jobs.
|
Package agent contains all functionalities related to Phobos agents, which are responsible for claiming and running jobs. |
|
Package announcement contains the service for managing announcements
|
Package announcement contains the service for managing announcements |
|
Package approvalrule implements functionality related to Phobos approval rules.
|
Package approvalrule implements functionality related to Phobos approval rules. |
|
Package comment implements functionality related to Phobos comments.
|
Package comment implements functionality related to Phobos comments. |
|
Package environment contains all functionalities related to Phobos environments.
|
Package environment contains all functionalities related to Phobos environments. |
|
Package job implements functionality releated to Phobos jobs
|
Package job implements functionality releated to Phobos jobs |
|
Package lifecycletemplate implements functionality related to Phobos lifecycle templates.
|
Package lifecycletemplate implements functionality related to Phobos lifecycle templates. |
|
Package maintenance contains the service for enabling/disabling maintenance mode
|
Package maintenance contains the service for enabling/disabling maintenance mode |
|
Package membership contains all logic for memberships.
|
Package membership contains all logic for memberships. |
|
Package metric provides functionality for collecting / computing metrics on different Phobos resources.
|
Package metric provides functionality for collecting / computing metrics on different Phobos resources. |
|
Package organization implements functionality related to Phobos orgs.
|
Package organization implements functionality related to Phobos orgs. |
|
Package pipeline implements functionality related to Phobos pipelines.
|
Package pipeline implements functionality related to Phobos pipelines. |
|
commands
Package commands provides pipeline command implementations.
|
Package commands provides pipeline command implementations. |
|
eventhandlers
Package eventhandlers provides pipeline event handling functionality.
|
Package eventhandlers provides pipeline event handling functionality. |
|
eventhandlers/email
Package email implements functionality that assists with the handling of pipeline email notifications.
|
Package email implements functionality that assists with the handling of pipeline email notifications. |
|
graph
Package graph provides pipeline graph management functionality.
|
Package graph provides pipeline graph management functionality. |
|
pipelinebuilder
Package pipelinebuilder provides functionality for constructing pipelines
|
Package pipelinebuilder provides functionality for constructing pipelines |
|
transformers
Package transformers provides pipeline transformation functionality.
|
Package transformers provides pipeline transformation functionality. |
|
types
Package types provides type definitions for pipeline services.
|
Package types provides type definitions for pipeline services. |
|
Package pipelinetemplate implements functionality related to Phobos pipeline templates.
|
Package pipelinetemplate implements functionality related to Phobos pipeline templates. |
|
Package pluginregistry implements a service for interacting with the plugin registry.
|
Package pluginregistry implements a service for interacting with the plugin registry. |
|
Package project implements functionality related to Phobos projects.
|
Package project implements functionality related to Phobos projects. |
|
Package projectvariable set implements functionality related to project variables
|
Package projectvariable set implements functionality related to project variables |
|
Package release provides the release service.
|
Package release provides the release service. |
|
Package releaselifecycle implements functionality related to Phobos release lifecycles.
|
Package releaselifecycle implements functionality related to Phobos release lifecycles. |
|
Package resourcelimit package
|
Package resourcelimit package |
|
Package role implements the service layer functionality related to Phobos roles.
|
Package role implements the service layer functionality related to Phobos roles. |
|
Package scim package
|
Package scim package |
|
Package serviceaccount package
|
Package serviceaccount package |
|
Package team package
|
Package team package |
|
Package todoitem contains the core business logic for the todoitem service.
|
Package todoitem contains the core business logic for the todoitem service. |
|
Package user implements functionality relating to users CRUD.
|
Package user implements functionality relating to users CRUD. |
|
Package vcs package
|
Package vcs package |
|
github
Package github package
|
Package github package |
|
gitlab
Package gitlab package
|
Package gitlab package |
|
types
Package types package
|
Package types package |
|
Package version provides functionality to get the current version of the API and its components.
|
Package version provides functionality to get the current version of the API and its components. |
Click to show internal directories.
Click to hide internal directories.