provider

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2023 License: MPL-2.0 Imports: 24 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 NewKeytabResource

func NewKeytabResource() resource.Resource

func NewTokenDataSource

func NewTokenDataSource() datasource.DataSource

Types

type KerberosProvider

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

KerberosProvider defines the provider implementation.

func (*KerberosProvider) Configure

func (*KerberosProvider) DataSources

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

func (*KerberosProvider) Metadata

func (*KerberosProvider) Resources

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

func (*KerberosProvider) Schema

type KerberosProviderModel

type KerberosProviderModel struct{}

KerberosProviderModel describes the provider data model.

type KeytabEntryModel

type KeytabEntryModel struct {
	Principal      types.String `tfsdk:"principal"`
	Realm          types.String `tfsdk:"realm"`
	Key            types.String `tfsdk:"key"`
	KeyVersion     types.Int64  `tfsdk:"key_version"`
	EncryptionType types.String `tfsdk:"encryption_type"`
	Timestamp      types.String `tfsdk:"timestamp"`
}

type KeytabResource

type KeytabResource struct {
}

KeytabResource defines the resource implementation.

func (*KeytabResource) Configure

func (*KeytabResource) Create

func (*KeytabResource) Delete

func (*KeytabResource) Metadata

func (*KeytabResource) Read

func (*KeytabResource) Schema

func (*KeytabResource) Update

type KeytabResourceModel

type KeytabResourceModel struct {
	Entries       []KeytabEntryModel `tfsdk:"entry"`
	ContentBase64 types.String       `tfsdk:"content_base64"`
	Id            types.String       `tfsdk:"id"`
}

KeytabResourceModel describes the resource data model.

type TokenDataSource

type TokenDataSource struct {
}

TokenDataSource defines the data source implementation.

func (*TokenDataSource) Configure

func (*TokenDataSource) Metadata

func (*TokenDataSource) Read

func (*TokenDataSource) Schema

type TokenDataSourceModel

type TokenDataSourceModel struct {
	Username               types.String `tfsdk:"username"`
	Password               types.String `tfsdk:"password"`
	Realm                  types.String `tfsdk:"realm"`
	Service                types.String `tfsdk:"service"`
	Kdc                    types.String `tfsdk:"kdc"`
	DisableFASTNegotiation types.Bool   `tfsdk:"disable_fast_negotiation"`
	Token                  types.String `tfsdk:"token"`
	Id                     types.String `tfsdk:"id"`
}

TokenDataSourceModel describes the data source data model.

Jump to

Keyboard shortcuts

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