Documentation
¶
Index ¶
- type PowerpipeConfig
- func (c *PowerpipeConfig) Equals(other *PowerpipeConfig) bool
- func (c *PowerpipeConfig) GetCloudConnectionString(workspace string) (string, bool)
- func (c *PowerpipeConfig) GetDefaultConnection() connection.ConnectionStringProvider
- func (c *PowerpipeConfig) SetCloudConnectionString(workspace, connStr string)
- func (c *PowerpipeConfig) SetDefaultConnection(defaultConnection connection.PipelingConnection)
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)
Click to show internal directories.
Click to hide internal directories.