services

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2024 License: BSD-3-Clause Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildQSFilters

func BuildQSFilters(flg flags.Accumulator, fallbackLimit string) string

func ConfirmationPrompt

func ConfirmationPrompt(prompt, weighting string, autoAccept bool) bool

ConfirmationPrompt - The 'weighting' param should be one of [ "y", "n" ].

func CreateProjectTar

func CreateProjectTar(flg flags.Accumulator) (string, error)

CreateProjectTar - Create a project tarball in tmp

func GetCLIEmail

func GetCLIEmail(args []string) (string, error)

func GetCLIMFAPasscode

func GetCLIMFAPasscode() (string, error)

func GetCLIPassword

func GetCLIPassword(passwordFlag string) (string, error)

func GetCLIProjectName

func GetCLIProjectName() (string, error)

func GetDeployID

func GetDeployID(args []string, deployFlag string) (string, error)

GetDeployID

func GetProjectData

func GetProjectData(autoAccept bool) (types.ProjectConfig, error)

func GetProjectDataSkipNew

func GetProjectDataSkipNew() (types.ProjectConfig, error)

func GetRemoteCommandID added in v1.3.0

func GetRemoteCommandID(args []string) (string, error)

GetRemoteCommandID

func InitializeIronstarProject

func InitializeIronstarProject() error

func LinkSubscriptionToProject

func LinkSubscriptionToProject(config types.ProjectConfig, sub types.Subscription) error

func PullActiveCredentials

func PullActiveCredentials() (types.Keylink, error)

func PullCredentialsByLogin

func PullCredentialsByLogin(login string) (types.Keylink, error)

func ReadInCredentials

func ReadInCredentials() (types.Credentials, error)

func ReadInProjectConfig

func ReadInProjectConfig(projectRoot string) (types.ProjectConfig, error)

func RemoveCredentials

func RemoveCredentials(oldCreds types.Keylink) error

func ResolveUserCredentials

func ResolveUserCredentials(loginFlag string) (types.Keylink, error)

func SafeTouchConfigYAML

func SafeTouchConfigYAML(path string) error

func SafeTouchCredentialsYAML

func SafeTouchCredentialsYAML() error

func StdinPrompt

func StdinPrompt(prompt string) (string, error)

StdinPrompt ...

func StdinSecret

func StdinSecret(prompt string) (string, error)

StdinSecret ...

func UpdateActiveCredentials

func UpdateActiveCredentials(login string) (types.Keylink, error)

func UpdateCredentialsFile

func UpdateCredentialsFile(newCreds types.Keylink) error

func ValidateEmail

func ValidateEmail(email string) error

ValidateEmail - Ensure the supplied email address is valid

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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