provider

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2024 License: BSD-3-Clause Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NUODB_CP_USER        = "NUODB_CP_USER"
	NUODB_CP_PASSWORD    = "NUODB_CP_PASSWORD"
	NUODB_CP_URL_BASE    = "NUODB_CP_URL_BASE"
	NUODB_CP_SKIP_VERIFY = "NUODB_CP_SKIP_VERIFY"
)

Variables

This section is empty.

Functions

func New

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

Types

type NuoDbaasProvider

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

NuoDbaasProvider defines the provider implementation.

func (*NuoDbaasProvider) Configure

func (*NuoDbaasProvider) DataSources

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

func (*NuoDbaasProvider) Metadata

func (*NuoDbaasProvider) Resources

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

func (*NuoDbaasProvider) Schema

type NuoDbaasProviderModel

type NuoDbaasProviderModel struct {
	User       *string                                `tfsdk:"user" hcl:"user" cty:"user"`
	Password   *string                                `tfsdk:"password" hcl:"password" cty:"password"`
	UrlBase    *string                                `tfsdk:"url_base" hcl:"url_base" cty:"url_base"`
	SkipVerify *bool                                  `tfsdk:"skip_verify" hcl:"skip_verify" cty:"skip_verify"`
	Timeouts   map[string]framework.OperationTimeouts `tfsdk:"timeouts" hcl:"timeouts" cty:"timeouts"`
}

NuoDbaasProviderModel describes the provider data model.

func (*NuoDbaasProviderModel) CreateClient added in v1.0.0

func (pm *NuoDbaasProviderModel) CreateClient() (*openapi.Client, error)

func (*NuoDbaasProviderModel) GetPassword added in v1.0.0

func (pm *NuoDbaasProviderModel) GetPassword() string

func (*NuoDbaasProviderModel) GetSkipVerify added in v1.0.0

func (pm *NuoDbaasProviderModel) GetSkipVerify() bool

func (*NuoDbaasProviderModel) GetUrlBase added in v1.0.0

func (pm *NuoDbaasProviderModel) GetUrlBase() string

func (*NuoDbaasProviderModel) GetUser added in v1.0.0

func (pm *NuoDbaasProviderModel) GetUser() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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