powerplatform

package
v1.0.0-preview Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2024 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnvDefaultFunc

func EnvDefaultFunc(k string, dv interface{}) string

EnvDefaultFunc is a helper function that returns the value of the given environment variable, if one exists, or the default value otherwise.

func MultiEnvDefaultFunc

func MultiEnvDefaultFunc(ks []string) string

MultiEnvDefaultFunc is a helper function that returns the value of the first environment variable in the given list that returns a non-empty value. If none of the environment variables return a value, the default value is returned.

func NewPowerPlatformProvider

func NewPowerPlatformProvider(ctx context.Context, testModeEnabled ...bool) func() provider.Provider

Types

type PowerPlatformProvider

type PowerPlatformProvider struct {
	Config *config.ProviderConfig
	Api    *api.ApiClient
}

func (*PowerPlatformProvider) Configure

func (*PowerPlatformProvider) DataSources

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

func (*PowerPlatformProvider) Metadata

func (*PowerPlatformProvider) Resources

func (p *PowerPlatformProvider) Resources(ctx context.Context) []func() resource.Resource

func (*PowerPlatformProvider) Schema

Jump to

Keyboard shortcuts

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