stackit

package
v0.16.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

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

New is a helper function to simplify provider server and testing implementation.

Types

type Provider

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

Provider is the provider implementation.

func (*Provider) Configure

Configure prepares a stackit API client for data sources and resources.

func (*Provider) DataSources

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

DataSources defines the data sources implemented in the provider.

func (*Provider) Metadata

func (*Provider) Resources

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

Resources defines the resources implemented in the provider.

func (*Provider) Schema

Schema defines the provider-level schema for configuration data.

Jump to

Keyboard shortcuts

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