plural

package
v0.9.3 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: MIT Imports: 85 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GitAttributesFile = ".gitattributes"
	GitIgnoreFile     = ".gitignore"
)
View Source
const ApplicationName = "plural"
View Source
const Bootstrap = "bootstrap"
View Source
const DemoingErrorMsg = "" /* 150-byte string literal not displayed */
View Source
const Gitattributes = `` /* 883-byte string literal not displayed */
View Source
const Gitignore = `/**/.terraform
/**/.terraform*
/**/terraform.tfstate*
/bin
*~
.idea
*.swp
*.swo
.DS_STORE
.vscode
`

Variables

View Source
var (
	Version = versionPlaceholder
	Commit  = ""
	Date    = ""
)

Functions

func CheckGitCrypt

func CheckGitCrypt(c *cli.Context) error

CheckGitCrypt method checks if the .gitattributes and .gitignore files exist and have desired content. Some old repos can have fewer files to encrypt and must be updated.

func CreateNewApp

func CreateNewApp(plural *Plural) *cli.App

func RunPlural

func RunPlural(arguments []string) error

Types

type GrafanaDashboard

type GrafanaDashboard struct {
	Title  string
	Panels []struct {
		Title   string
		Targets []struct {
			Expr         string
			LegendFormat string
		}
	}
}

type Plural

type Plural struct {
	api.Client
	ConsoleClient console.ConsoleClient
	kubernetes.Kube
	HelmConfiguration *action.Configuration
}

func (*Plural) InitConsoleClient

func (p *Plural) InitConsoleClient(token, url string) error

func (*Plural) InitKube

func (p *Plural) InitKube() error

func (*Plural) InitPluralClient

func (p *Plural) InitPluralClient()

type ServiceDeploymentAttributesConfiguration

type ServiceDeploymentAttributesConfiguration struct {
	Configuration []*gqlclient.ConfigAttributes
}

Jump to

Keyboard shortcuts

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