Documentation
¶
Overview ¶
Package provisionworker processes managed instance provisioning jobs from SQS.
Index ¶
- Constants
- func New(opts ...apptheory.Option) *apptheory.App
- func Register(app *apptheory.App, srv *Server) *apptheory.App
- func ValidateManagedLesserBodyReleaseCompatibility(ctx context.Context, client *http.Client, owner string, repo string, ...) error
- func ValidateManagedLesserBodyReleaseTemplatePreflight(ctx context.Context, client *http.Client, owner string, repo string, ...) (string, error)
- func ValidateManagedLesserBodyReleaseVersionSupported(version string) error
- func ValidateManagedLesserReleaseCompatibility(ctx context.Context, client *http.Client, owner string, repo string, ...) error
- func ValidateManagedLesserReleaseVersionSupported(version string) error
- type ManagedLesserBodyCompatibilityContract
- type ManagedLesserBodyDeployContract
- type ManagedLesserBodyDeployManifestContract
- type ManagedLesserBodyDeployTemplatesContract
- type ManagedLesserBodyPathContract
- type ManagedLesserCompatibilityContract
- type ManagedLesserLambdaBundleContract
- type ManagedReleaseChecksumsContract
- type Server
Constants ¶
View Source
const ServiceName = "provision-worker"
ServiceName is the canonical service identifier for the provisioning worker.
Variables ¶
This section is empty.
Functions ¶
func ValidateManagedLesserBodyReleaseCompatibility ¶ added in v0.2.3
func ValidateManagedLesserBodyReleaseTemplatePreflight ¶ added in v0.2.3
func ValidateManagedLesserBodyReleaseVersionSupported ¶ added in v0.2.3
func ValidateManagedLesserReleaseCompatibility ¶ added in v0.2.3
func ValidateManagedLesserReleaseVersionSupported ¶ added in v0.2.3
Types ¶
type ManagedLesserBodyCompatibilityContract ¶ added in v0.2.3
type ManagedLesserBodyCompatibilityContract struct {
SchemaVersion int `json:"schema_version"`
ReleaseName string `json:"release_name"`
MinimumReleaseVersion string `json:"minimum_release_version"`
ReleaseManifestAsset string `json:"release_manifest_asset"`
ReleaseManifestSchema int `json:"release_manifest_schema"`
Checksums ManagedReleaseChecksumsContract `json:"checksums"`
DeployManifest ManagedLesserBodyDeployManifestContract `json:"deploy_manifest"`
Deploy ManagedLesserBodyDeployContract `json:"deploy"`
LambdaZip ManagedLesserBodyPathContract `json:"lambda_zip"`
DeployScript ManagedLesserBodyPathContract `json:"deploy_script"`
SupportedStages []string `json:"supported_stages"`
DeployTemplates ManagedLesserBodyDeployTemplatesContract `json:"deploy_templates"`
}
func CurrentManagedLesserBodyCompatibilityContract ¶ added in v0.2.3
func CurrentManagedLesserBodyCompatibilityContract() ManagedLesserBodyCompatibilityContract
type ManagedLesserBodyDeployContract ¶ added in v0.2.3
type ManagedLesserBodyDeployContract struct {
SchemaVersion int `json:"schema_version"`
ManifestPath string `json:"manifest_path"`
TemplateSelection string `json:"template_selection"`
SourceCheckoutRequired bool `json:"source_checkout_required"`
NPMInstallRequired bool `json:"npm_install_required"`
}
type ManagedLesserBodyDeployManifestContract ¶ added in v0.2.3
type ManagedLesserBodyDeployTemplatesContract ¶ added in v0.2.3
type ManagedLesserBodyDeployTemplatesContract struct {
Format string `json:"format"`
}
type ManagedLesserBodyPathContract ¶ added in v0.2.3
type ManagedLesserBodyPathContract struct {
Path string `json:"path"`
}
type ManagedLesserCompatibilityContract ¶ added in v0.2.3
type ManagedLesserCompatibilityContract struct {
SchemaVersion int `json:"schema_version"`
ReleaseName string `json:"release_name"`
MinimumReleaseVersion string `json:"minimum_release_version"`
ReleaseManifestAsset string `json:"release_manifest_asset"`
ReleaseManifestSchema int `json:"release_manifest_schema"`
MinimumReceiptSchema int `json:"minimum_receipt_schema_version"`
DeployArtifactsSchema int `json:"deploy_artifacts_schema_version"`
LambdaBundle ManagedLesserLambdaBundleContract `json:"lambda_bundle"`
}
func CurrentManagedLesserCompatibilityContract ¶ added in v0.2.3
func CurrentManagedLesserCompatibilityContract() ManagedLesserCompatibilityContract
type ManagedLesserLambdaBundleContract ¶ added in v0.2.3
type ManagedReleaseChecksumsContract ¶ added in v0.2.3
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server processes provisioning jobs from the worker queue.
Source Files
¶
- advance_body_mcp.go
- app.go
- codebuild_idempotency.go
- constants.go
- doc.go
- managed_instance_key_secrets.go
- managed_stage.go
- outbound_ssrf.go
- provision_instance_config_helpers.go
- receipts.go
- release_compatibility.go
- release_compatibility_lesser_body.go
- release_preflight.go
- release_preflight_lesser_body.go
- server.go
- server_helpers.go
- store_helpers.go
- tokens.go
- update_builder_helpers.go
- update_job_phase_helpers.go
- update_jobs.go
- update_jobs_body_artifacts.go
- update_jobs_body_failures.go
- update_jobs_receipts.go
- update_jobs_recovery.go
Click to show internal directories.
Click to hide internal directories.