validate

package
v2.8.1 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2025 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DeploymentSet = 1 << iota
	ServerlessSet
	FlexSet
)

Variables

This section is empty.

Functions

func AtlasDeployment

func AtlasDeployment(atlasDeployment *akov2.AtlasDeployment, isGov bool, regionUsageRestrictions string) error

func BackupSchedule

func BackupSchedule(bSchedule *akov2.AtlasBackupSchedule, deployment *akov2.AtlasDeployment) error

func CompareInstanceSizes

func CompareInstanceSizes(is1 InstanceSize, is2 InstanceSize) int

func DatabaseUser

func DatabaseUser(_ *akov2.AtlasDatabaseUser) error

func Project

func Project(project *akov2.AtlasProject, isGov bool) error

func Tags

func Tags(tags []*akov2.TagSpec) error

Types

type InstanceSize

type InstanceSize struct {
	Family string
	Size   int
	IsNVME bool
}

func NewFromInstanceSizeName

func NewFromInstanceSizeName(instanceSizeName string) (InstanceSize, error)

func (*InstanceSize) String

func (i *InstanceSize) String() string

Jump to

Keyboard shortcuts

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