dioscuri

package
v0.0.0-...-1cf5c76 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunMigration

func RunMigration(c client.Client, rData *ReturnData, podName, podNamespace string) error

Types

type MigratedIngress

type MigratedIngress struct {
	NewIngress          *networkv1.Ingress
	OldIngressNamespace string
}

MigratedIngress .

type ReturnData

type ReturnData struct {
	Status                      string `json:"status"`
	ProductionEnvironment       string `json:"productionEnvironment"`
	StandbyProdutionEnvironment string `json:"standbyProductionEnvironment"`
	ProductionRoutes            string `json:"productionRoutes"`
	StandbyRoutes               string `json:"standbyRoutes"`
	SourceNamespace             string `json:"sourceNamespace"`
	DestinationNamespace        string `json:"DestinationNamespace"`
}

this is the return data structure for the active standby task. this will be sent back to lagoon as a payload to be processed.

Jump to

Keyboard shortcuts

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