snowflake

package
v1.4.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 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,optional"`
	PrivateKeyPath       string            `alloy:"private_key_path,attr,optional"`
	PrivateKeyPassword   alloytypes.Secret `alloy:"private_key_password,attr,optional"`
	Role                 string            `alloy:"role,attr,optional"`
	Warehouse            string            `alloy:"warehouse,attr"`
	ExcludeDeletedTables bool              `alloy:"exclude_deleted_tables,attr,optional"`
}

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