reports

package
v0.107.8 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2024 License: MIT Imports: 18 Imported by: 0

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(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(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(clusterName, domainName, gitOwner string, config *providerConfigs.ProviderConfig, silentMode bool)

DigitaloceanHandoffScreen prints the handoff screen

func GoogleHandoffScreen

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

googleHandoffScreen prints the handoff screen

func LocalHandoffScreenV2

func LocalHandoffScreenV2(clusterName, gitDestDescriptor string, gitOwner string, config *k3d.Config, 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(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

type Opts

type Opts struct {
	ClusterName             string
	DomainName              string
	GitOwner                string
	GitProvider             string
	DestinationGitopsRepo   string
	DestinationMetaphorRepo string
	CloudProvider           string
	MkCertClient            string
	CustomOwnerName         string
}

Jump to

Keyboard shortcuts

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