defaults

package
v0.2.8-dev09 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AppConfigAsset = "assets/defaults/appConfig.yaml"
View Source
var BlueprintsAsset = "assets/defaults/blueprints.json"
View Source
var PagesAsset = "assets/defaults/pages.json"
View Source
var ScorecardsAsset = "assets/defaults/scorecards.json"

Functions

func InitIntegration

func InitIntegration(portClient *cli.PortClient, applicationConfig *port.Config) error

Types

type AbortDefaultCreationError

type AbortDefaultCreationError struct {
	BlueprintsToRollback []string
	PagesToRollback      []string
	Errors               []error
}

func (*AbortDefaultCreationError) Error

func (e *AbortDefaultCreationError) Error() string

type Defaults

type Defaults struct {
	Blueprints []port.Blueprint
	Scorecards []ScorecardDefault
	AppConfig  *port.IntegrationAppConfig
	Pages      []port.Page
}

type ExceptionGroup

type ExceptionGroup struct {
	Message string
	Errors  []error
}

func (*ExceptionGroup) Error

func (e *ExceptionGroup) Error() string

type ScorecardDefault

type ScorecardDefault struct {
	Blueprint  string           `json:"blueprint"`
	Scorecards []port.Scorecard `json:"data"`
}

Jump to

Keyboard shortcuts

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