core

package
v1.1.22 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetBoolOrDefault added in v1.1.6

func GetBoolOrDefault(value basetypes.BoolValue, fallback bool) bool

func ReadCertificatesFromUpstream added in v1.1.22

func ReadCertificatesFromUpstream(ctx context.Context, client *fivetran.Client, id string, serviceType string) (certificates.CertificatesListResponse, error)

func ReadFromSourceFingerprintCommon added in v1.1.22

func ReadFromSourceFingerprintCommon(ctx context.Context, client *fivetran.Client, id string, serviceType string) (fingerprints.FingerprintsListResponse, error)

func RevokeCertificates added in v1.1.22

func RevokeCertificates(ctx context.Context, client *fivetran.Client, id, serviceType string, hashes []string) (common.CommonResponse, error)

func RevokeFingerptints added in v1.1.22

func RevokeFingerptints(ctx context.Context, client *fivetran.Client, id, serviceType string, hashes []string) (common.CommonResponse, error)

Types

type FieldValueType

type FieldValueType int64
const (
	String FieldValueType = iota
	Integer
	Boolean
	StringEnum
)

type ProviderDatasource

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

func (*ProviderDatasource) Configure

func (*ProviderDatasource) GetClient

func (d *ProviderDatasource) GetClient() *fivetran.Client

type ProviderResource

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

func (*ProviderResource) Configure

func (*ProviderResource) GetClient

func (d *ProviderResource) GetClient() *fivetran.Client

type Schema

type Schema struct {
	Fields map[string]SchemaField
}

func (Schema) GetDatasourceSchema

func (s Schema) GetDatasourceSchema() map[string]datasourceSchema.Attribute

func (Schema) GetResourceSchema

func (s Schema) GetResourceSchema() map[string]resourceSchema.Attribute

type SchemaField

type SchemaField struct {
	ValueType FieldValueType

	IsId           bool
	Required       bool
	ForceNew       bool
	DatasourceOnly bool
	ResourceOnly   bool
	Sensitive      bool

	Readonly    bool
	Description string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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