Documentation
¶
Index ¶
- Variables
- func AddAdminToTeams(tx migration.LimitedTx) error
- func AddAttemptsToContainers(tx migration.LimitedTx) error
- func AddAuthFieldsToTeams(tx migration.LimitedTx) error
- func AddBaggageclaimURLToWorkers(tx migration.LimitedTx) error
- func AddBestIfUsedByToContainers(tx migration.LimitedTx) error
- func AddBuildEvents(tx migration.LimitedTx) error
- func AddBuildPreparation(tx migration.LimitedTx) error
- func AddCaseInsenstiveUniqueIndexToTeamsName(tx migration.LimitedTx) error
- func AddCheckErrorToResources(tx migration.LimitedTx) error
- func AddCheckTypeAndCheckSourceToContainers(tx migration.LimitedTx) error
- func AddCheckingToResources(tx migration.LimitedTx) error
- func AddCompletedToBuilds(tx migration.LimitedTx) error
- func AddCompositeUniqueConstraintToVolumes(tx migration.LimitedTx) error
- func AddConfig(tx migration.LimitedTx) error
- func AddContainerIDToVolumes(tx migration.LimitedTx) error
- func AddContainers(tx migration.LimitedTx) error
- func AddEnabledToBuilds(tx migration.LimitedTx) error
- func AddEngineAndEngineMetadataToBuilds(tx migration.LimitedTx) error
- func AddEnvVariablesToContainers(tx migration.LimitedTx) error
- func AddExplicitToBuildOutputs(tx migration.LimitedTx) error
- func AddFirstLoggedBuildIDToJobsAndReapTimeToBuildsAndLeases(tx migration.LimitedTx) error
- func AddHijackURLToBuilds(tx migration.LimitedTx) error
- func AddHostPathVersionToVolumes(tx migration.LimitedTx) error
- func AddHttpProxyHttpsProxyNoProxyToWorkers(tx migration.LimitedTx) error
- func AddIdToConfig(tx migration.LimitedTx) error
- func AddImageResourceTypeAndSourceToContainers(tx migration.LimitedTx) error
- func AddImageResourceVersions(tx migration.LimitedTx) error
- func AddIndexesToABunchOfStuff(tx migration.LimitedTx) error
- func AddInputsDeterminedToBuilds(tx migration.LimitedTx) error
- func AddInputsSatisfiedToBuildPreparation(tx migration.LimitedTx) error
- func AddLastCheckedAndCheckingToResourceTypes(tx migration.LimitedTx) error
- func AddLastCheckedToResources(tx migration.LimitedTx) error
- func AddLastScheduledToBuilds(tx migration.LimitedTx) error
- func AddLastScheduledToPipelines(tx migration.LimitedTx) error
- func AddLastTrackedToBuilds(tx migration.LimitedTx) error
- func AddLocks(tx migration.LimitedTx) error
- func AddMissingInputReasonsToBuildPreparation(tx migration.LimitedTx) error
- func AddModifiedTimeToBuildInputs(tx migration.LimitedTx) error
- func AddModifiedTimeToVersionedResourcesAndBuildOutputs(tx migration.LimitedTx) error
- func AddNameToBuildInputs(tx migration.LimitedTx) error
- func AddNameToPipelines(tx migration.LimitedTx) error
- func AddNameToWorkers(tx migration.LimitedTx) error
- func AddNextBuildInputs(tx migration.LimitedTx) error
- func AddNonEmptyConstraintToTeamName(tx migration.LimitedTx) error
- func AddOnDeleteSetNullToFKeyContainerId(tx migration.LimitedTx) error
- func AddOneOffNameSequence(tx migration.LimitedTx) error
- func AddOrderToVersionedResources(tx migration.LimitedTx) error
- func AddOrderingToPipelines(tx migration.LimitedTx) error
- func AddOriginalVolumeHandleToVolumes(tx migration.LimitedTx) error
- func AddOutputNameToVolumes(tx migration.LimitedTx) error
- func AddPathToVolumes(tx migration.LimitedTx) error
- func AddPausedToJobs(tx migration.LimitedTx) error
- func AddPausedToPipelines(tx migration.LimitedTx) error
- func AddPausedToResources(tx migration.LimitedTx) error
- func AddPipelineBuildEventsTables(tx migration.LimitedTx) error
- func AddPipelineIDToJobs(tx migration.LimitedTx) error
- func AddPipelineIDToResources(tx migration.LimitedTx) error
- func AddPlatformAndTagsToWorkers(tx migration.LimitedTx) error
- func AddPublicToPipelines(tx migration.LimitedTx) error
- func AddReplicatedFromToVolumes(tx migration.LimitedTx) error
- func AddResourceTypesToWorkers(tx migration.LimitedTx) error
- func AddSizeToVolumes(tx migration.LimitedTx) error
- func AddStageToContainers(tx migration.LimitedTx) error
- func AddStartTimeToWorkers(tx migration.LimitedTx) error
- func AddStepLocationToContainers(tx migration.LimitedTx) error
- func AddTTLToContainers(tx migration.LimitedTx) error
- func AddTeamIDToBuilds(tx migration.LimitedTx) error
- func AddTeamIDToContainers(tx migration.LimitedTx) error
- func AddTeamIDToPipelineNameUniqueness(tx migration.LimitedTx) error
- func AddTeamIDToVolumes(tx migration.LimitedTx) error
- func AddTeamIDToWorkers(tx migration.LimitedTx) error
- func AddTeamsColumnToPipelinesAndTeamsTable(tx migration.LimitedTx) error
- func AddTimestampsToBuilds(tx migration.LimitedTx) error
- func AddTypeToVersionedResources(tx migration.LimitedTx) error
- func AddUAAAuthToTeams(tx migration.LimitedTx) error
- func AddUniqueConstraintToResources(tx migration.LimitedTx) error
- func AddUserToContainer(tx migration.LimitedTx) error
- func AddVersionToBuildEvents(tx migration.LimitedTx) error
- func AddVolumesAndCacheInvalidator(tx migration.LimitedTx) error
- func AddWorkerIDToVolumes(tx migration.LimitedTx) error
- func AddWorkers(tx migration.LimitedTx) error
- func AddWorkingDirectoryToContainers(tx migration.LimitedTx) error
- func CascadePipelineDeletes(tx migration.LimitedTx) error
- func CleanUpMassiveUniqueConstraint(tx migration.LimitedTx) error
- func ConvertJobBuildConfigToJobPlans(tx migration.LimitedTx) error
- func CreateEventIDSequencesForInFlightBuilds(tx migration.LimitedTx) error
- func CreateJobsSerialGroups(tx migration.LimitedTx) error
- func CreateLocks(tx migration.LimitedTx) error
- func CreatePipes(tx migration.LimitedTx) error
- func CreateResourceTypes(tx migration.LimitedTx) error
- func DropCompletedFromBuildPreparation(tx migration.LimitedTx) error
- func DropLocks(tx migration.LimitedTx) error
- func DropNotNullResourceConstraintsOnVolumes(tx migration.LimitedTx) error
- func DropOldLocks(tx migration.LimitedTx) error
- func InitialSchema(tx migration.LimitedTx) error
- func LockDBAndMigrate(logger lager.Logger, sqlDriver string, sqlDataSource string) (db.Conn, error)
- func MakeContainerIdentifiersUnique(tx migration.LimitedTx) error
- func MakeContainerWorkingDirectoryNotNull(tx migration.LimitedTx) error
- func MakeContainersBuildIdsNullable(tx migration.LimitedTx) error
- func MakeContainersExpiresAtNullable(tx migration.LimitedTx) error
- func MakeContainersLinkToPipelineIds(tx migration.LimitedTx) error
- func MakeContainersLinkToResourceIds(tx migration.LimitedTx) error
- func MakeContainersLinkToWorkerIds(tx migration.LimitedTx) error
- func MakeVolumeSizeBigint(tx migration.LimitedTx) error
- func MakeVolumesExpiresAtNullable(tx migration.LimitedTx) error
- func MoveSourceAndMetadataToVersionedResources(tx migration.LimitedTx) error
- func NonNullableVersionInfo(tx migration.LimitedTx) error
- func RemoveSourceFromVersionedResources(tx migration.LimitedTx) error
- func RemoveTransitionalCurrentVersions(tx migration.LimitedTx) error
- func RemoveVolumesWithExpiredWorkers(tx migration.LimitedTx) error
- func RemoveWorkerIds(tx migration.LimitedTx) error
- func RenameConfigToPipelines(tx migration.LimitedTx) error
- func RenamePipelineIDToVersionAddPrimaryKey(tx migration.LimitedTx) error
- func ReplaceBuildEventsIDWithEventID(tx migration.LimitedTx) error
- func ReplaceBuildsAbortHijackURLsWithGuidAndEndpoint(tx migration.LimitedTx) error
- func ReplaceStepLocationWithPlanID(tx migration.LimitedTx) error
- func ResetCheckOrder(tx migration.LimitedTx) error
- func ResetPendingBuilds(tx migration.LimitedTx) error
- func Translogrifier(logger lager.Logger, migrations []migration.Migrator) []migration.Migrator
- func WithLogger(logger lager.Logger, mig migration.Migrator) migration.Migrator
- type Condition
- type Conditions
- type Config
- type Duration
- type GroupConfig
- type GroupConfigs
- type JobConfig
- type JobConfigs
- type JobInputConfig
- type JobOutputConfig
- type LimitedTx
- type Params
- type PlanConfig
- type PlanSequence
- type ResourceConfig
- type ResourceConfigs
- type Source
- type TaskConfig
- type TaskInputConfig
- type TaskRunConfig
- type Version
Constants ¶
This section is empty.
Variables ¶
View Source
var Migrations = []migration.Migrator{}/* 117 elements not displayed */
Functions ¶
func AddAdminToTeams ¶
func AddAttemptsToContainers ¶
func AddAuthFieldsToTeams ¶
func AddBuildEvents ¶
func AddBuildPreparation ¶
func AddCheckingToResources ¶
func AddCompletedToBuilds ¶
func AddContainerIDToVolumes ¶
func AddContainers ¶
func AddEnabledToBuilds ¶
func AddHijackURLToBuilds ¶
func AddIdToConfig ¶
func AddLastTrackedToBuilds ¶
func AddNameToBuildInputs ¶
func AddNameToPipelines ¶
func AddNameToWorkers ¶
func AddNextBuildInputs ¶
func AddOneOffNameSequence ¶
func AddOrderingToPipelines ¶
func AddOutputNameToVolumes ¶
func AddPathToVolumes ¶
func AddPausedToJobs ¶
func AddPausedToPipelines ¶
func AddPausedToResources ¶
func AddPipelineIDToJobs ¶
func AddPublicToPipelines ¶
func AddSizeToVolumes ¶
func AddStageToContainers ¶
func AddStartTimeToWorkers ¶
func AddTTLToContainers ¶
func AddTeamIDToBuilds ¶
func AddTeamIDToContainers ¶
func AddTeamIDToVolumes ¶
func AddTeamIDToWorkers ¶
func AddTimestampsToBuilds ¶
func AddUAAAuthToTeams ¶
func AddUserToContainer ¶
func AddVersionToBuildEvents ¶
func AddWorkerIDToVolumes ¶
func AddWorkers ¶
func CascadePipelineDeletes ¶
func CreateJobsSerialGroups ¶
func CreateLocks ¶
func CreatePipes ¶
func CreateResourceTypes ¶
func DropOldLocks ¶
func InitialSchema ¶
func LockDBAndMigrate ¶
func MakeVolumeSizeBigint ¶
func NonNullableVersionInfo ¶
func RemoveWorkerIds ¶
func RenameConfigToPipelines ¶
func ResetCheckOrder ¶
func ResetPendingBuilds ¶
func Translogrifier ¶
Types ¶
type Conditions ¶
type Conditions []Condition
type Config ¶
type Config struct { Groups GroupConfigs `json:"groups,omitempty"` Resources ResourceConfigs `json:"resources,omitempty"` Jobs JobConfigs `json:"jobs,omitempty"` }
type GroupConfig ¶
type GroupConfigs ¶
type GroupConfigs []GroupConfig
type JobConfig ¶
type JobConfig struct { Name string `json:"name"` Public bool `json:"public,omitempty"` Serial bool `json:"serial,omitempty"` Privileged bool `json:"privileged,omitempty"` TaskConfigPath string `json:"build,omitempty"` TaskConfig *TaskConfig `json:"config,omitempty"` InputConfigs []JobInputConfig `json:"inputs,omitempty"` OutputConfigs []JobOutputConfig `json:"outputs,omitempty"` Plan PlanSequence `json:"plan,omitempty"` }
type JobConfigs ¶
type JobConfigs []JobConfig
type JobInputConfig ¶
type JobOutputConfig ¶
type PlanConfig ¶
type PlanConfig struct { Conditions *Conditions `json:"conditions,omitempty"` RawName string `json:"name,omitempty"` Do *PlanSequence `json:"do,omitempty"` Aggregate *PlanSequence `json:"aggregate,omitempty"` Get string `json:"get,omitempty"` Passed []string `json:"passed,omitempty"` RawTrigger *bool `json:"trigger,omitempty"` Put string `json:"put,omitempty"` Resource string `json:"resource,omitempty"` Task string `json:"task,omitempty"` Privileged bool `json:"privileged,omitempty"` TaskConfigPath string `json:"file,omitempty"` TaskConfig *TaskConfig `json:"config,omitempty"` Params Params `json:"params,omitempty"` }
type PlanSequence ¶
type PlanSequence []PlanConfig
type ResourceConfig ¶
type ResourceConfigs ¶
type ResourceConfigs []ResourceConfig
type TaskConfig ¶
type TaskConfig struct { Platform string `json:"platform,omitempty"` Tags []string `json:"tags,omitempty"` Image string `json:"image,omitempty"` Params map[string]string `json:"params,omitempty"` Run *TaskRunConfig `json:"run,omitempty"` Inputs []TaskInputConfig `json:"inputs,omitempty"` }
type TaskInputConfig ¶
type TaskRunConfig ¶
Source Files
¶
- 01_initial_schema.go
- 02_move_source_and_metadata_to_versioned_resources.go
- 03_add_type_to_versioned_resources.go
- 04_remove_transitional_current_versions.go
- 05_non_nullable_version_info.go
- 06_add_one_off_name_sequence.go
- 07_add_hijack_url_to_builds.go
- 08_add_timestamps_to_builds.go
- 09_create_locks.go
- 100_add_replicated_from_to_volumes.go
- 101_add_size_to_volumes.go
- 102_add_first_logged_build_id_to_jobs_and_reap_time_to_builds_and_leases.go
- 103_add_missing_input_reasons_to_build_preparation.go
- 104_make_volume_size_bigint.go
- 105_make_containers_expire_at_nullable.go
- 106_add_container_id_to_volumes.go
- 10_add_build_events.go
- 110_add_on_delete_set_null_to_fkey_container_id.go
- 111_add_uaa_auth_to_teams.go
- 112_add_team_id_to_builds.go
- 113_add_public_to_pipelines.go
- 114_add_team_id_to_workers.go
- 115_add_team_id_to_containers.go
- 116_add_team_id_to_volumes.go
- 117_add_next_build_inputs.go
- 118_add_case_insenstive_unique_index_to_teams_name.go
- 119_add_non_empty_constraint_to_team_name.go
- 11_replace_builds_abort_hijack_urls_with_guid_and_endpoint.go
- 12_replace_build_events_id_with_event_id.go
- 13_add_locks.go
- 14_add_config.go
- 15_drop_old_locks.go
- 16_add_name_to_build_inputs.go
- 17_add_engine_and_engine_metadata_to_builds.go
- 18_add_version_to_build_events.go
- 19_add_completed_to_builds.go
- 20_add_workers.go
- 21_add_enabled_to_versioned_resources.go
- 22_create_event_id_sequences_for_in_flight_builds.go
- 23_add_resource_types_to_workers.go
- 24_add_platform_and_tags_to_workers.go
- 25_add_id_to_config.go
- 26_convert_job_build_config_to_job_plans.go
- 27_add_check_error_to_resources.go
- 28_add_paused_to_resources.go
- 29_add_paused_to_jobs.go
- 30_create_jobs_serial_groups.go
- 31_create_pipes.go
- 32_rename_config_to_pipelines.go
- 33_rename_pipeline_id_to_version_add_primary_key.go
- 34_add_name_to_pipelines.go
- 35_add_pipeline_id_to_resources.go
- 36_add_pipeline_id_to_jobs.go
- 37_add_paused_to_pipelines.go
- 38_add_ordering_to_pipelines.go
- 39_add_inputs_determined_to_builds.go
- 40_add_explicit_to_build_outputs.go
- 41_add_last_checked_to_resources.go
- 42_add_last_tracked_to_builds.go
- 43_add_last_scheduled_to_pipelines.go
- 44_add_checking_to_resources.go
- 45_add_unique_constraint_to_versioned_resources.go
- 46_remove_source_from_versioned_resources.go
- 47_add_indexes_to_a_bunch_of_stuff.go
- 48_drop_locks.go
- 49_add_baggageclaim_addr_to_workers.go
- 50_add_containers.go
- 51_add_name_to_workers.go
- 52_add_last_scheduled_to_builds.go
- 53_add_check_type_and_check_source_to_containers.go
- 54_add_step_location_to_containers.go
- 55_add_volumes_and_cache_invalidator.go
- 56_add_composite_unique_constraint_to_volumes.go
- 57_add_working_directory_to_containers.go
- 58_make_container_working_directory_not_null.go
- 59_add_env_variables_to_containers.go
- 60_add_modified_time_to_versioned_resources_and_build_outputs.go
- 61_replace_step_location_with_plan_id.go
- 62_add_teams_column_to_pipelines_and_teams_table.go
- 63_cascade_pipeline_deletes.go
- 64_add_team_id_to_pipeline_name_uniqueness.go
- 65_make_volumes_expires_at_nullable.go
- 66_add_auth_fields_to_teams.go
- 67_add_admin_to_teams.go
- 68_make_containers_link_to_pipeline_ids.go
- 69_make_containers_link_to_resource_ids.go
- 70_make_containers_build_ids_nullable.go
- 71_make_containers_link_to_worker_ids.go
- 72_remove_volumes_with_expired_workers.go
- 73_add_worker_id_to_volumes.go
- 74_remove_worker_ids.go
- 75_add_attempts_to_containers.go
- 76_add_stage_to_containers.go
- 77_add_image_resource_versions.go
- 78_make_container_identifiers_unique.go
- 79_clean_up_massive_unique_constraint.go
- 80_add_pipeline_build_events_tables.go
- 81_add_build_preparation.go
- 82_drop_completed_from_build_preparation.go
- 83_add_inputs_satisfied_to_build_preparation.go
- 84_add_order_to_versioned_resources.go
- 85_add_image_resource_type_and_source_to_containers.go
- 86_add_user_to_container.go
- 87_reset_pending_builds.go
- 88_reset_check_order.go
- 89_add_ttl_to_containers.go
- 90_add_original_volume_handle_to_volumes.go
- 91_drop_not_null_resource_constraints_on_volumes.go
- 92_add_output_name_to_volumes.go
- 93_create_resource_types.go
- 94_add_last_checked_and_checking_to_resource_types.go
- 95_add_http_proxy_https_proxy_no_proxy_to_workers.go
- 95_add_path_to_volumes.go
- 96_add_modified_time_to_build_inputs.go
- 97_add_host_path_version_to_volumes.go
- 98_add_best_if_used_by_to_containers.go
- 99_add_start_time_to_workers.go
- lock_and_migrate.go
- log.go
- migrations.go
Directories
¶
Path | Synopsis |
---|---|
This file was generated by counterfeiter
|
This file was generated by counterfeiter |
Click to show internal directories.
Click to hide internal directories.