snowflake

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultArguments = Arguments{
	Role: "ACCOUNTADMIN",
}

DefaultArguments holds the default settings for the snowflake exporter

Functions

This section is empty.

Types

type Arguments

type Arguments struct {
	AccountName string            `alloy:"account_name,attr"`
	Username    string            `alloy:"username,attr"`
	Password    alloytypes.Secret `alloy:"password,attr"`
	Role        string            `alloy:"role,attr,optional"`
	Warehouse   string            `alloy:"warehouse,attr"`
}

Arguments controls the snowflake exporter.

func (*Arguments) Convert

func (a *Arguments) Convert() *snowflake_exporter.Config

func (*Arguments) SetToDefault

func (a *Arguments) SetToDefault()

SetToDefault implements syntax.Defaulter.

Jump to

Keyboard shortcuts

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