project

package
v1.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 2, 2024 License: GPL-3.0 Imports: 0 Imported by: 14

Documentation

Overview

Contains database types for the project collection.

Index

Constants

View Source
const GSI_OWNER_ID = "gsi_owner_id"

Variables

This section is empty.

Functions

This section is empty.

Types

type BuildResult added in v0.1.10

type BuildResult struct {
	ExecutionIdentifier string `dynamodbav:"execution_identifier"`
	Timepoint           int64  `dynamodbav:"timepoint"`
	Successful          bool   `dynamodbav:"successful"`
}

type CDNInfrastructure added in v0.2.0

type CDNInfrastructure struct {
	Enabled   bool   `dynamodbav:"enabled"`
	StackName string `dynamodbav:"stack_name"`
}

structure is not implemented and will be used for dedicated cdn feature in the future.

type DedicatedInfrastructure added in v0.1.14

type DedicatedInfrastructure struct {
	StackName      string `dynamodbav:"stack_name"`
	EventLogGroup  string `dynamodbav:"event_log_group"`
	BuildLogGroup  string `dynamodbav:"build_log_group"`
	DeployLogGroup string `dynamodbav:"deploy_log_group"`
	ServerLogGroup string `dynamodbav:"server_log_group"`
}

type DeploymentResult added in v0.1.11

type DeploymentResult struct {
	ExecutionIdentifier string `dynamodbav:"execution_identifier"`
	Timepoint           int64  `dynamodbav:"timepoint"`
	Successful          bool   `dynamodbav:"successful"`
}

type EventResult added in v0.1.11

type EventResult struct {
	ExecutionIdentifier string `dynamodbav:"execution_identifier"`
	Timepoint           int64  `dynamodbav:"timepoint"`
	Successful          bool   `dynamodbav:"successful"`
}

type Project

type Project struct {
	ProjectName string `dynamodbav:"project_name"`
	OwnerId     string `dynamodbav:"owner_id"`
	Deleted     bool   `dynamodbav:"deleted"`
	Initialized bool   `dynamodbav:"initialized"`
	Status      string `dynamodbav:"status"`

	Repository           Repository          `dynamodbav:"repository"`
	Aliases              map[string]struct{} `dynamodbav:"aliases"`
	BuildImage           string              `dynamodbav:"build_image"`
	BuildCommand         string              `dynamodbav:"build_command"`
	OutputDirectory      string              `dynamodbav:"output_directory"`
	LastEventResult      EventResult         `dynamodbav:"last_event_result"`
	LastBuildResult      BuildResult         `dynamodbav:"last_build_result"`
	LastDeploymentResult DeploymentResult    `dynamodbav:"last_deployment_result"`

	PipelineLock            bool                    `dynamodbav:"pipeline_lock"`
	DedicatedInfrastructure DedicatedInfrastructure `dynamodbav:"dedicated_infrastructure"`
	SharedInfrastructure    SharedInfrastructure    `dynamodbav:"shared_infrastructure"`
	CDNInfrastructure       CDNInfrastructure       `dynamodbav:"cdn_infrastructure"`
}

type Repository added in v0.1.10

type Repository struct {
	Id     int64  `dynamodbav:"id"`
	URL    string `dynamodbav:"url"`
	Branch string `dynamodbav:"branch"`
}

type SharedInfrastructure added in v0.1.14

type SharedInfrastructure struct {
	StaticBucketPath     string            `dynamodbav:"static_bucket_path"`
	BuildAssetBucketPath string            `dynamodbav:"build_asset_bucket_path"`
	PrerenderPageKeys    map[string]string `dynamodbav:"prerender_page_keys"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL