powerpipeconfig

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2024 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PowerpipeConfig

type PowerpipeConfig struct {
	// todo only config folder??
	ConfigPaths []string

	PipelingConnections map[string]connection.PipelingConnection
	// contains filtered or unexported fields
}
var GlobalConfig *PowerpipeConfig

func LoadPowerpipeConfig

func LoadPowerpipeConfig(configPaths ...string) (res *PowerpipeConfig, errorsAndWarnings error_helpers.ErrorAndWarnings)

func NewPowerpipeConfig

func NewPowerpipeConfig() *PowerpipeConfig

func (*PowerpipeConfig) Equals

func (c *PowerpipeConfig) Equals(other *PowerpipeConfig) bool

func (*PowerpipeConfig) GetCloudConnectionString

func (c *PowerpipeConfig) GetCloudConnectionString(workspace string) (string, bool)

func (*PowerpipeConfig) GetDefaultConnection

func (c *PowerpipeConfig) GetDefaultConnection() connection.ConnectionStringProvider

func (*PowerpipeConfig) SetCloudConnectionString

func (c *PowerpipeConfig) SetCloudConnectionString(workspace, connStr string)

func (*PowerpipeConfig) SetDefaultConnection

func (c *PowerpipeConfig) SetDefaultConnection(defaultConnection connection.PipelingConnection)

Jump to

Keyboard shortcuts

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