migrate

package
v0.15.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2018 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package migrate is responsible for converting to and from the various API type versions that are in use in Pulumi. This package can migrate "up" for every versioned API that needs to be migrated between versions. Today, there are three versionable entities that can be migrated with this package:

  • Checkpoint, the on-disk format for Fire-and-Forget stack state,
  • Deployment, the wire format for service-managed stacks,
  • Resource, the wire format for resources saved in deployments,

The migrations in this package are designed to preserve semantics between versions. It is always safe to migrate an entity up from one version to another.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UpToCheckpointV2

func UpToCheckpointV2(v1 apitype.CheckpointV1) apitype.CheckpointV2

UpToCheckpointV2 migrates a CheckpointV1 to a CheckpointV2.

func UpToDeploymentV2

func UpToDeploymentV2(v1 apitype.DeploymentV1) apitype.DeploymentV2

UpToDeploymentV2 migrates a deployment from DeploymentV1 to DeploymentV2.

func UpToResourceV2

func UpToResourceV2(v1 apitype.ResourceV1) apitype.ResourceV2

UpToResourceV2 migrates a resource from ResourceV1 to ResourceV2.

Types

This section is empty.

Jump to

Keyboard shortcuts

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