project

package
v0.1.17 Latest Latest
Warning

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

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

Documentation

Overview

Contains database types for the project collection.

Index

Constants

View Source
const PROJECT_COLLECTION = "project"

Variables

This section is empty.

Functions

This section is empty.

Types

type BuildResult added in v0.1.10

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

type DedicatedInfrastructure added in v0.1.14

type DedicatedInfrastructure struct {
	StackName        string `bson:"stack_name"`
	EventLogGroup    string `bson:"event_log_group"`
	BuildLogGroup    string `bson:"build_log_group"`
	DeployLogGroup   string `bson:"deploy_log_group"`
	FunctionLogGroup string `bson:"function_log_group"`
}

type DeploymentResult added in v0.1.11

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

type EventResult added in v0.1.11

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

type Project

type Project struct {
	MongoID              interface{}      `bson:"_id"`
	Name                 string           `bson:"name"`
	OwnerId              string           `bson:"owner_id"`
	Deleted              bool             `bson:"deleted"`
	Initialized          bool             `bson:"initialized"`
	Status               string           `bson:"status"`
	Repository           Repository       `bson:"repository"`
	BuildImage           string           `bson:"build_image"`
	BuildCommand         string           `bson:"build_command"`
	OutputDirectory      string           `bson:"output_directory"`
	LastEventResult      EventResult      `bson:"last_event_result"`
	LastBuildResult      BuildResult      `bson:"last_build_result"`
	LastDeploymentResult DeploymentResult `bson:"last_deployment_result"`

	DedicatedInfrastructure DedicatedInfrastructure `bson:"dedicated_infrastructure"`
	SharedInfrastructure    SharedInfrastructure    `bson:"dedicated_infrastructure"`
}

type Repository added in v0.1.10

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

type SharedInfrastructure added in v0.1.14

type SharedInfrastructure struct {
	ApiRoutePath         string `bson:"api_route_path"`
	StaticBucketPath     string `bson:"static_bucket_path"`
	FunctionBucketPath   string `bson:"function_bucket_path"`
	BuildAssetBucketPath string `bson:"build_asset_bucket_path"`
}

Jump to

Keyboard shortcuts

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