applicationregion

package
v0.0.0-...-d125d34 Latest Latest
Warning

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

Go to latest
Published: May 8, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApplicationRegion

type ApplicationRegion []*Region

type Controller

type Controller interface {
	List(ctx context.Context, applicationID uint) (ApplicationRegion, error)
	Update(ctx context.Context, applicationID uint, regions ApplicationRegion) error
}

func NewController

func NewController(param *param.Param) Controller

type Region

type Region struct {
	Environment string `json:"environment"`
	Region      string `json:"region"`
}

type RegionList

type RegionList []*Region

func (RegionList) Len

func (r RegionList) Len() int

func (RegionList) Less

func (r RegionList) Less(i, j int) bool

func (RegionList) Swap

func (r RegionList) Swap(i, j int)

Jump to

Keyboard shortcuts

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