reports

package
v0.1.21 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2024 License: MIT Imports: 17 Imported by: 3

Documentation

Overview

Copyright (C) 2021-2023, Kubefirst

This program is licensed under MIT. See the LICENSE file for more details.

This program is licensed under MIT. See the LICENSE file for more details.

This program is licensed under MIT. See the LICENSE file for more details.

This program is licensed under MIT. See the LICENSE file for more details.

This program is licensed under MIT. See the LICENSE file for more details.

This program is licensed under MIT. See the LICENSE file for more details.

This program is licensed under MIT. See the LICENSE file for more details.

This program is licensed under MIT. See the LICENSE file for more details.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AwsHandoffScreen

func AwsHandoffScreen(argocdAdminPassword, clusterName, domainName string, gitOwner string, config *providerConfigs.ProviderConfig, silentMode bool)

AwsHandoffScreen prints the handoff screen

func BuildCreateHandOffReport

func BuildCreateHandOffReport(clusterData CreateHandOff) bytes.Buffer

func BuildSection

func BuildSection() bytes.Buffer

func CivoHandoffScreen

func CivoHandoffScreen(argocdAdminPassword, clusterName, domainName string, gitOwner string, config *providerConfigs.ProviderConfig, silentMode bool)

CivoHandoffScreen prints the handoff screen

func CommandSummary

func CommandSummary(cleanSummary bytes.Buffer)

CommandSummary receives a well-formatted buffer of bytes, and style it to the output.

func DigitaloceanHandoffScreen

func DigitaloceanHandoffScreen(argocdAdminPassword, clusterName, domainName string, gitOwner string, config *providerConfigs.ProviderConfig, silentMode bool)

DigitaloceanHandoffScreen prints the handoff screen

func GoogleHandoffScreen

func GoogleHandoffScreen(argocdAdminPassword, clusterName, domainName string, gitOwner string, config *providerConfigs.ProviderConfig, silentMode bool)

googleHandoffScreen prints the handoff screen

func LocalHandoffScreenV2

func LocalHandoffScreenV2(argocdAdminPassword, clusterName, gitDestDescriptor string, gitOwner string, config *k3d.K3dConfig, silentMode bool)

LocalHandoffScreenV2 prints the handoff screen

func StyleMessage

func StyleMessage(message string) string

StyleMessage receives a string and return a style string

func StyleMessageBlackAndWhite

func StyleMessageBlackAndWhite(message string) string

StyleMessageBlackAndWhite receives a string and return a style black and white string

func VultrHandoffScreen

func VultrHandoffScreen(argocdAdminPassword, clusterName, domainName string, gitOwner string, config *providerConfigs.ProviderConfig, silentMode bool)

VultrHandoffScreen prints the handoff screen

Types

type CreateHandOff

type CreateHandOff struct {
	AwsAccountId      string
	AwsHostedZoneName string
	AwsRegion         string
	ClusterName       string

	GitlabURL      string
	GitlabUser     string
	GitlabPassword string

	RepoGitops   string
	RepoMetaphor string

	VaultURL   string
	VaultToken string

	ArgoCDURL      string
	ArgoCDUsername string
	ArgoCDPassword string

	ArgoWorkflowsURL string

	AtlantisURL string

	ChartMuseumURL string

	MetaphorDevURL        string
	MetaphorStageURL      string
	MetaphorProductionURL string
}

type Model

type Model struct {
	Content string
	// contains filtered or unexported fields
}

func (Model) Init

func (m Model) Init() tea.Cmd

func (Model) Update

func (m Model) Update(msg tea.Msg) (tea.Model, tea.Cmd)

func (Model) View

func (m Model) View() string

Jump to

Keyboard shortcuts

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