logic

package
v0.0.0-...-ab87cb8 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2019 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateChange

func GenerateChange(in *pb.Change) (mutators.Change, error)

Types

type ArtifactDBVersion

type ArtifactDBVersion struct {
	Artifact     string `gorm:"PRIMARY_KEY"`
	Cluster      string `gorm:"primary_key"`
	DatabaseName string `gorm:"primary_key"`
	Version      string
}

type ChangeManager

type ChangeManager struct {
	// contains filtered or unexported fields
}
var CM *ChangeManager

func SetupChangeManager

func SetupChangeManager() *ChangeManager

func (*ChangeManager) GetChanges

func (cm *ChangeManager) GetChanges(filter *pb.Filter) []*pb.ChangeStatus

func (*ChangeManager) MangeChange

func (cm *ChangeManager) MangeChange(change mutators.Change) (*pb.ChangeStatus, error)

MangeChange - manages the change flow, validation, auditing, and execution.

type VersionsChangeLog

type VersionsChangeLog struct {
	gorm.Model
	mutators.Change
	Version string
}

Jump to

Keyboard shortcuts

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