dremio

package
v0.99.0 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2026 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewInstanceDataSource

func NewInstanceDataSource() datasource.DataSource

func NewInstanceResource

func NewInstanceResource() resource.Resource

Types

type AuthParameterModel

type AuthParameterModel struct {
	// Required Fields
	Name  types.String `tfsdk:"name"`
	Value types.String `tfsdk:"value"`
}

type AuthenticationModel

type AuthenticationModel struct {
	// Required Fields
	Type types.String `tfsdk:"type"`

	// Optional Fields
	AzureAD *AzureADModel `tfsdk:"azuread"`
	OAuth   *OAuthModel   `tfsdk:"oauth"`
}

AuthenticationModel maps the nested authentication block.

type AzureADModel

type AzureADModel struct {
	// Required Fields
	AuthorityUrl types.String `tfsdk:"authority_url"`
	ClientId     types.String `tfsdk:"client_id"`
	ClientSecret types.String `tfsdk:"client_secret"`

	RedirectUrl types.String `tfsdk:"redirect_url"`
}

type EndpointsModel

type EndpointsModel struct {
	ArrowFlight types.String `tfsdk:"arrow_flight"`
	Catalog     types.String `tfsdk:"catalog"`
	Ui          types.String `tfsdk:"ui"`
}

type InstanceDataSourceModel

type InstanceDataSourceModel struct {
	Model
}

type InstanceModel

type InstanceModel struct {
	Model

	Timeouts timeouts.Value `tfsdk:"timeouts"`
}

InstanceModel maps the resource schema data.

type JwtClaimsModel

type JwtClaimsModel struct {
	// Required Fields
	UserName types.String `tfsdk:"user_name"`
}

type Model

type Model struct {
	Id types.String `tfsdk:"id"`

	ProjectId  types.String `tfsdk:"project_id"`
	Region     types.String `tfsdk:"region"`
	InstanceId types.String `tfsdk:"instance_id"`

	// Required Fields
	DisplayName    types.String         `tfsdk:"display_name"`
	Authentication *AuthenticationModel `tfsdk:"authentication"`

	// Optional Fields
	Description types.String `tfsdk:"description"`

	// Read-only Fields
	Endpoints types.Object `tfsdk:"endpoints"` // see EndpointsModel
}

type OAuthModel

type OAuthModel struct {
	// Required Fields
	AuthorityUrl types.String    `tfsdk:"authority_url"`
	ClientId     types.String    `tfsdk:"client_id"`
	ClientSecret types.String    `tfsdk:"client_secret"`
	JwtClaims    *JwtClaimsModel `tfsdk:"jwt_claims"`

	// Optional Fields
	Scope      types.String         `tfsdk:"scope"`
	Parameters []AuthParameterModel `tfsdk:"parameters"`

	// Read-only Fields
	RedirectUrl types.String `tfsdk:"redirect_url"`
}

Jump to

Keyboard shortcuts

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