atlasaction

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Version string

version holds atlas-action version. When built with cloud packages should be set by build flag, e.g. "-X 'ariga.io/atlas-action/atlasaction.Version=v0.1.2'"

Functions

func MigrateApply

func MigrateApply(ctx context.Context, client *atlasexec.Client, act *githubactions.Action) error

MigrateApply runs the GitHub Action for "ariga/atlas-action/migrate/apply".

func MigrateLint

func MigrateLint(ctx context.Context, client *atlasexec.Client, act *githubactions.Action) error

MigrateLint runs the GitHub Action for "ariga/atlas-action/migrate/lint"

func MigratePush

func MigratePush(ctx context.Context, client *atlasexec.Client, act *githubactions.Action) error

MigratePush runs the GitHub Action for "ariga/atlas-action/migrate/push"

Types

This section is empty.

Jump to

Keyboard shortcuts

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