contexts

package
v0.1.0-preview.7.rc Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const LatestVersion = "0.1.1"

Set the latest version

Variables

View Source
var ContextYamls = map[string][]byte{
	"0.0.1": v0_0_1_default,
	"0.0.2": v0_0_2_default,
	"0.0.3": v0_0_3_default,
	"0.0.4": v0_0_4_default,
	"0.0.5": v0_0_5_default,
	"0.0.6": v0_0_6_default,
	"0.0.7": v0_0_7_default,
	"0.0.8": v0_0_8_default,
	"0.0.9": v0_0_9_default,
	"0.1.0": v0_1_0_default,
	"0.1.1": v0_1_1_default,
}

Map of context name -> content

View Source
var DefaultContexts = [...]string{
	"devnet",
}

Array of default contexts to create in project

View Source
var MigrationChain = []migration.MigrationStep{
	{
		From:    "0.0.1",
		To:      "0.0.2",
		Apply:   contextMigrations.Migration_0_0_1_to_0_0_2,
		OldYAML: v0_0_1_default,
		NewYAML: v0_0_2_default,
	},
	{
		From:    "0.0.2",
		To:      "0.0.3",
		Apply:   contextMigrations.Migration_0_0_2_to_0_0_3,
		OldYAML: v0_0_2_default,
		NewYAML: v0_0_3_default,
	},
	{
		From:    "0.0.3",
		To:      "0.0.4",
		Apply:   contextMigrations.Migration_0_0_3_to_0_0_4,
		OldYAML: v0_0_3_default,
		NewYAML: v0_0_4_default,
	},
	{
		From:    "0.0.4",
		To:      "0.0.5",
		Apply:   contextMigrations.Migration_0_0_4_to_0_0_5,
		OldYAML: v0_0_4_default,
		NewYAML: v0_0_5_default,
	},
	{
		From:    "0.0.5",
		To:      "0.0.6",
		Apply:   contextMigrations.Migration_0_0_5_to_0_0_6,
		OldYAML: v0_0_5_default,
		NewYAML: v0_0_6_default,
	},
	{
		From:    "0.0.6",
		To:      "0.0.7",
		Apply:   contextMigrations.Migration_0_0_6_to_0_0_7,
		OldYAML: v0_0_6_default,
		NewYAML: v0_0_7_default,
	},
	{
		From:    "0.0.7",
		To:      "0.0.8",
		Apply:   contextMigrations.Migration_0_0_7_to_0_0_8,
		OldYAML: v0_0_7_default,
		NewYAML: v0_0_8_default,
	},
	{
		From:    "0.0.8",
		To:      "0.0.9",
		Apply:   contextMigrations.Migration_0_0_8_to_0_0_9,
		OldYAML: v0_0_8_default,
		NewYAML: v0_0_9_default,
	},
	{
		From:    "0.0.9",
		To:      "0.1.0",
		Apply:   contextMigrations.Migration_0_0_9_to_0_1_0,
		OldYAML: v0_0_9_default,
		NewYAML: v0_1_0_default,
	},
	{
		From:    "0.1.0",
		To:      "0.1.1",
		Apply:   contextMigrations.Migration_0_1_0_to_0_1_1,
		OldYAML: v0_1_0_default,
		NewYAML: v0_1_1_default,
	},
}

Map of sequential migrations

Functions

func MigrateContexts added in v0.0.10

func MigrateContexts(logger iface.Logger) (int, error)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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