constraints

package
v0.0.0-...-e161612 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckCommand

func CheckCommand(command string, subcommand []string) (bool, string)

func CheckConstraints

func CheckConstraints(options ...Option) error

CheckConstraints checks if the constraints are met

func GetOSRelease

func GetOSRelease(configfile string) (map[string]string, error)

Types

type Option

type Option func(*constraints)

func WithAWSProfile

func WithAWSProfile() Option

func WithAWSRegion

func WithAWSRegion() Option

func WithAtunStructure

func WithAtunStructure() Option

func WithBastionHostID

func WithBastionHostID() Option

func WithConfigFile

func WithConfigFile() Option

func WithENV

func WithENV() Option

func WithHostConfig

func WithHostConfig() Option

func WithNVM

func WithNVM() Option

func WithSSMPlugin

func WithSSMPlugin() Option

Jump to

Keyboard shortcuts

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