Help us shape the future of Go! Take the 2026 Go Developer Survey

provider

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2024 License: MPL-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(dataSources []func() datasource.DataSource, resources []func() resource.Resource) provider.Provider

Types

type MsGraphProvider

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

func (*MsGraphProvider) Configure

func (*MsGraphProvider) DataSources

func (provider *MsGraphProvider) DataSources(ctx context.Context) []func() datasource.DataSource

func (*MsGraphProvider) Metadata

func (*MsGraphProvider) Resources

func (provider *MsGraphProvider) Resources(ctx context.Context) []func() resource.Resource

func (*MsGraphProvider) Schema

type MsGraphProviderData

type MsGraphProviderData struct {
	ApiVersion types.String `tfsdk:"api_version"`
	Scopes     types.Set    `tfsdk:"scopes"`

	TenantID types.String `tfsdk:"tenant_id"`
	ClientID types.String `tfsdk:"client_id"`

	UseOIDC types.Bool `tfsdk:"use_oidc"`
	UseMSI  types.Bool `tfsdk:"use_msi"`
	UseCLI  types.Bool `tfsdk:"use_cli"`

	OIDCRequestToken  types.String `tfsdk:"oidc_request_token"`
	OIDCRequestURL    types.String `tfsdk:"oidc_request_url"`
	OIDCToken         types.String `tfsdk:"oidc_token"`
	OIDCTokenFilePath types.String `tfsdk:"oidc_token_file_path"`
}

func (*MsGraphProviderData) Configure

func (data *MsGraphProviderData) Configure() diag.Diagnostics

func (*MsGraphProviderData) NewClient

func (data *MsGraphProviderData) NewClient() (*msGraphProviderClient, error)

Jump to

Keyboard shortcuts

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