provider

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2024 License: MPL-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

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

func NewEntryCertificateDataSource added in v0.2.0

func NewEntryCertificateDataSource() datasource.DataSource

func NewEntryCertificateResource added in v0.2.0

func NewEntryCertificateResource() resource.Resource

func NewEntryHostDataSource added in v0.3.0

func NewEntryHostDataSource() datasource.DataSource

func NewEntryUserCredentialDataSource added in v0.2.0

func NewEntryUserCredentialDataSource() datasource.DataSource

func NewEntryUserCredentialResource added in v0.2.0

func NewEntryUserCredentialResource() resource.Resource

func NewEntryWebsiteDataSource added in v0.3.0

func NewEntryWebsiteDataSource() datasource.DataSource

func NewVaultDataSource added in v0.2.0

func NewVaultDataSource() datasource.DataSource

func NewVaultResource added in v0.2.0

func NewVaultResource() resource.Resource

Types

type DvlsProvider

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

DvlsProvider defines the provider implementation.

func (*DvlsProvider) Configure

func (*DvlsProvider) DataSources

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

func (*DvlsProvider) Metadata

func (*DvlsProvider) Resources

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

func (*DvlsProvider) Schema

type DvlsProviderModel

type DvlsProviderModel struct {
	BaseUri   types.String `tfsdk:"base_uri"`
	AppId     types.String `tfsdk:"app_id"`
	AppSecret types.String `tfsdk:"app_secret"`
}

DvlsProviderModel describes the provider data model.

type EntryCertificateDataSource added in v0.2.0

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

EntryCertificateDataSource defines the data source implementation.

func (*EntryCertificateDataSource) Configure added in v0.2.0

func (*EntryCertificateDataSource) Metadata added in v0.2.0

func (*EntryCertificateDataSource) Read added in v0.2.0

func (*EntryCertificateDataSource) Schema added in v0.2.0

type EntryCertificateDataSourceModel added in v0.2.0

type EntryCertificateDataSourceModel struct {
	Id          types.String      `tfsdk:"id"`
	VaultId     types.String      `tfsdk:"vault_id"`
	Name        types.String      `tfsdk:"name"`
	Description types.String      `tfsdk:"description"`
	Password    types.String      `tfsdk:"password"`
	Folder      types.String      `tfsdk:"folder"`
	Url         types.Object      `tfsdk:"url"`
	File        types.Object      `tfsdk:"file"`
	Expiration  timetypes.RFC3339 `tfsdk:"expiration"`
	Tags        []types.String    `tfsdk:"tags"`
}

EntryCertificateDataSourceModel describes the data source data model.

type EntryCertificateDataSourceModelData added in v0.2.0

type EntryCertificateDataSourceModelData struct {
	Data *EntryCertificateDataSourceModel
	Url  *EntryCertificateDataSourceModelUrl
	File *EntryCertificateDataSourceModelFile
}

type EntryCertificateDataSourceModelFile added in v0.2.0

type EntryCertificateDataSourceModelFile struct {
	ContentB64 types.String `tfsdk:"content_b64"`
	Name       types.String `tfsdk:"name"`
}

func (EntryCertificateDataSourceModelFile) AttributeTypes added in v0.2.0

func (m EntryCertificateDataSourceModelFile) AttributeTypes() map[string]attr.Type

type EntryCertificateDataSourceModelUrl added in v0.2.0

type EntryCertificateDataSourceModelUrl struct {
	Url                   types.String `tfsdk:"url"`
	UseDefaultCredentials types.Bool   `tfsdk:"use_default_credentials"`
}

func (EntryCertificateDataSourceModelUrl) AttributeTypes added in v0.2.0

func (m EntryCertificateDataSourceModelUrl) AttributeTypes() map[string]attr.Type

type EntryCertificateResource added in v0.2.0

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

EntryCertificateResource defines the resource implementation.

func (*EntryCertificateResource) Configure added in v0.2.0

func (*EntryCertificateResource) Create added in v0.2.0

func (*EntryCertificateResource) Delete added in v0.2.0

func (*EntryCertificateResource) ImportState added in v0.2.0

func (*EntryCertificateResource) Metadata added in v0.2.0

func (*EntryCertificateResource) Read added in v0.2.0

func (*EntryCertificateResource) Schema added in v0.2.0

func (*EntryCertificateResource) Update added in v0.2.0

type EntryCertificateResourceModel added in v0.2.0

type EntryCertificateResourceModel struct {
	Id          types.String      `tfsdk:"id"`
	VaultId     types.String      `tfsdk:"vault_id"`
	Name        types.String      `tfsdk:"name"`
	Description types.String      `tfsdk:"description"`
	Password    types.String      `tfsdk:"password"`
	Folder      types.String      `tfsdk:"folder"`
	Url         types.Object      `tfsdk:"url"`
	File        types.Object      `tfsdk:"file"`
	Expiration  timetypes.RFC3339 `tfsdk:"expiration"`
	Tags        []types.String    `tfsdk:"tags"`
}

EntryCertificateResourceModel describes the resource data model.

type EntryCertificateResourceModelData added in v0.2.0

type EntryCertificateResourceModelData struct {
	Data *EntryCertificateResourceModel
	Url  *EntryCertificateResourceModelUrl
	File *EntryCertificateResourceModelFile
}

type EntryCertificateResourceModelFile added in v0.2.0

type EntryCertificateResourceModelFile struct {
	ContentB64 types.String `tfsdk:"content_b64"`
	Name       types.String `tfsdk:"name"`
}

func (EntryCertificateResourceModelFile) AttributeTypes added in v0.2.0

func (m EntryCertificateResourceModelFile) AttributeTypes() map[string]attr.Type

type EntryCertificateResourceModelUrl added in v0.2.0

type EntryCertificateResourceModelUrl struct {
	Url                   types.String `tfsdk:"url"`
	UseDefaultCredentials types.Bool   `tfsdk:"use_default_credentials"`
}

func (EntryCertificateResourceModelUrl) AttributeTypes added in v0.2.0

func (m EntryCertificateResourceModelUrl) AttributeTypes() map[string]attr.Type

type EntryHostDataSource added in v0.3.0

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

EntryHostDataSource defines the resource implementation.

func (*EntryHostDataSource) Configure added in v0.3.0

func (*EntryHostDataSource) Metadata added in v0.3.0

func (*EntryHostDataSource) Read added in v0.3.0

func (*EntryHostDataSource) Schema added in v0.3.0

type EntryHostDataSourceModel added in v0.3.0

type EntryHostDataSourceModel struct {
	Id          types.String   `tfsdk:"id"`
	VaultId     types.String   `tfsdk:"vault_id"`
	Name        types.String   `tfsdk:"name"`
	Description types.String   `tfsdk:"description"`
	Username    types.String   `tfsdk:"username"`
	Password    types.String   `tfsdk:"password"`
	Host        types.String   `tfsdk:"host"`
	Folder      types.String   `tfsdk:"folder"`
	Tags        []types.String `tfsdk:"tags"`
}

EntryHostDataSourceModel describes the resource data model.

type EntryUserCredentialDataSource added in v0.2.0

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

EntryUserCredentialDataSource defines the data source implementation.

func (*EntryUserCredentialDataSource) Configure added in v0.2.0

func (*EntryUserCredentialDataSource) Metadata added in v0.2.0

func (*EntryUserCredentialDataSource) Read added in v0.2.0

func (*EntryUserCredentialDataSource) Schema added in v0.2.0

type EntryUserCredentialDataSourceModel added in v0.2.0

type EntryUserCredentialDataSourceModel struct {
	Id          types.String   `tfsdk:"id"`
	VaultId     types.String   `tfsdk:"vault_id"`
	Name        types.String   `tfsdk:"name"`
	Description types.String   `tfsdk:"description"`
	Username    types.String   `tfsdk:"username"`
	Password    types.String   `tfsdk:"password"`
	Folder      types.String   `tfsdk:"folder"`
	Tags        []types.String `tfsdk:"tags"`
}

EntryUserCredentialDataSourceModel describes the data source data model.

type EntryUserCredentialResource added in v0.2.0

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

EntryUserCredentialResource defines the resource implementation.

func (*EntryUserCredentialResource) Configure added in v0.2.0

func (*EntryUserCredentialResource) Create added in v0.2.0

func (*EntryUserCredentialResource) Delete added in v0.2.0

func (*EntryUserCredentialResource) ImportState added in v0.2.0

func (*EntryUserCredentialResource) Metadata added in v0.2.0

func (*EntryUserCredentialResource) Read added in v0.2.0

func (*EntryUserCredentialResource) Schema added in v0.2.0

func (*EntryUserCredentialResource) Update added in v0.2.0

type EntryUserCredentialResourceModel added in v0.2.0

type EntryUserCredentialResourceModel struct {
	Id          types.String   `tfsdk:"id"`
	VaultId     types.String   `tfsdk:"vault_id"`
	Name        types.String   `tfsdk:"name"`
	Description types.String   `tfsdk:"description"`
	Username    types.String   `tfsdk:"username"`
	Password    types.String   `tfsdk:"password"`
	Folder      types.String   `tfsdk:"folder"`
	Tags        []types.String `tfsdk:"tags"`
}

EntryUserCredentialResourceModel describes the resource data model.

type EntryWebsiteDataSource added in v0.3.0

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

EntryWebsiteDataSource defines the resource implementation.

func (*EntryWebsiteDataSource) Configure added in v0.3.0

func (*EntryWebsiteDataSource) Metadata added in v0.3.0

func (*EntryWebsiteDataSource) Read added in v0.3.0

func (*EntryWebsiteDataSource) Schema added in v0.3.0

type EntryWebsiteDataSourceModel added in v0.3.0

type EntryWebsiteDataSourceModel struct {
	Id                    types.String   `tfsdk:"id"`
	VaultId               types.String   `tfsdk:"vault_id"`
	Name                  types.String   `tfsdk:"name"`
	Description           types.String   `tfsdk:"description"`
	Username              types.String   `tfsdk:"username"`
	Password              types.String   `tfsdk:"password"`
	Url                   types.String   `tfsdk:"url"`
	Folder                types.String   `tfsdk:"folder"`
	Tags                  []types.String `tfsdk:"tags"`
	WebBrowserApplication types.Int64    `tfsdk:"web_browser_application"`
}

EntryWebsiteDataSourceModel describes the resource data model.

type VaultDataSource added in v0.2.0

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

VaultDataSource defines the data source implementation.

func (*VaultDataSource) Configure added in v0.2.0

func (*VaultDataSource) Metadata added in v0.2.0

func (*VaultDataSource) Read added in v0.2.0

func (*VaultDataSource) Schema added in v0.2.0

type VaultDataSourceModel added in v0.2.0

type VaultDataSourceModel struct {
	Id            types.String `tfsdk:"id"`
	Name          types.String `tfsdk:"name"`
	Description   types.String `tfsdk:"description"`
	SecurityLevel types.String `tfsdk:"security_level"`
	Visibility    types.String `tfsdk:"visibility"`
}

VaultDataSourceModel describes the data source data model.

type VaultResource added in v0.2.0

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

VaultResource defines the resource implementation.

func (*VaultResource) Configure added in v0.2.0

func (*VaultResource) Create added in v0.2.0

func (*VaultResource) Delete added in v0.2.0

func (*VaultResource) ImportState added in v0.2.0

func (*VaultResource) Metadata added in v0.2.0

func (*VaultResource) Read added in v0.2.0

func (*VaultResource) Schema added in v0.2.0

func (*VaultResource) Update added in v0.2.0

type VaultResourceModel added in v0.2.0

type VaultResourceModel struct {
	Id             types.String `tfsdk:"id"`
	Name           types.String `tfsdk:"name"`
	Description    types.String `tfsdk:"description"`
	SecurityLevel  types.String `tfsdk:"security_level"`
	Visibility     types.String `tfsdk:"visibility"`
	MasterPassword types.String `tfsdk:"master_password"`
}

VaultResourceModel describes the resource data model.

Jump to

Keyboard shortcuts

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