stackit

package
v1.30.25 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2024 License: Apache-2.0 Imports: 51 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Token Flow
	ServiceAccountEmail = "STACKIT_SERVICE_ACCOUNT_EMAIL"
	ServiceAccountToken = "STACKIT_SERVICE_ACCOUNT_TOKEN"

	// Key Flow optional env variable (1)
	ServiceAccountKey = "STACKIT_SERVICE_ACCOUNT_KEY"
	PrivateKey        = "STACKIT_PRIVATE_KEY"

	// Key Flow optional env variable (2) using file paths
	ServiceAccountKeyPath = "STACKIT_SERVICE_ACCOUNT_KEY_PATH"
	PrivateKeyPath        = "STACKIT_PRIVATE_KEY_PATH"
)

Variables

This section is empty.

Functions

func New

func New(version string) func() provider.Provider

New returns a new STACKIT provider function

Types

type StackitProvider

type StackitProvider struct {
	// contains filtered or unexported fields
}

func (*StackitProvider) Configure

func (*StackitProvider) DataSources

func (p *StackitProvider) DataSources(context.Context) []func() datasource.DataSource

GetDataSources - Defines provider data sources

func (*StackitProvider) Metadata added in v0.3.0

func (*StackitProvider) Resources

func (p *StackitProvider) Resources(_ context.Context) []func() resource.Resource

GetResources - Defines provider resources

func (*StackitProvider) Schema added in v1.9.0

Schema returns the provider's schema

Jump to

Keyboard shortcuts

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