provider

package
v1.0.18 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2024 License: MPL-2.0 Imports: 20 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 NewJwtResource added in v1.0.15

func NewJwtResource() resource.Resource

func NewNkeyResource

func NewNkeyResource() resource.Resource

func UpdateJWT added in v1.0.15

func UpdateJWT(data *JwtResourceModel) error

func UpdateNKey added in v1.0.9

func UpdateNKey(data *NkeyResourceModel) error

Types

type JwtResource added in v1.0.15

type JwtResource struct {
}

JwtResource defines the resource implementation.

func (*JwtResource) Configure added in v1.0.15

func (*JwtResource) Create added in v1.0.15

func (*JwtResource) Delete added in v1.0.15

func (*JwtResource) ImportState added in v1.0.15

func (*JwtResource) Metadata added in v1.0.15

func (*JwtResource) Read added in v1.0.15

func (*JwtResource) Schema added in v1.0.15

func (*JwtResource) Update added in v1.0.15

type JwtResourceModel added in v1.0.15

type JwtResourceModel struct {
	ID        types.String `tfsdk:"id"`
	Name      types.String `tfsdk:"name"`
	Subject   types.String `tfsdk:"sub"`
	Issuer    types.String `tfsdk:"iss"`
	IssuedAt  types.Int64  `tfsdk:"iat"`
	Expires   types.Int64  `tfsdk:"exp"`
	NotBefore types.Int64  `tfsdk:"nbf"`
	Audience  types.String `tfsdk:"aud"`
	Nats      types.String `tfsdk:"nats"`
	Token     types.String `tfsdk:"token"`
}

JwtResourceModel describes the resource data model.

type NkeyResource

type NkeyResource struct {
}

NkeyResource defines the resource implementation.

func (*NkeyResource) Configure

func (*NkeyResource) Create

func (*NkeyResource) Delete

func (*NkeyResource) ImportState

func (*NkeyResource) Metadata

func (*NkeyResource) Read

func (*NkeyResource) Schema

func (*NkeyResource) Update

type NkeyResourceModel

type NkeyResourceModel struct {
	Type    types.String `tfsdk:"type"`
	ID      types.String `tfsdk:"id"`
	Subject types.String `tfsdk:"subject"`
	Private types.String `tfsdk:"private"`
	Public  types.String `tfsdk:"public"`
}

NkeyResourceModel describes the resource data model.

type ScaffoldingProvider

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

ScaffoldingProvider defines the provider implementation.

func (*ScaffoldingProvider) Configure

func (*ScaffoldingProvider) DataSources

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

func (*ScaffoldingProvider) Functions

func (p *ScaffoldingProvider) Functions(ctx context.Context) []func() function.Function

func (*ScaffoldingProvider) Metadata

func (*ScaffoldingProvider) Resources

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

func (*ScaffoldingProvider) Schema

type ScaffoldingProviderModel

type ScaffoldingProviderModel struct {
	Endpoint types.String `tfsdk:"endpoint"`
}

ScaffoldingProviderModel describes the provider data model.

Jump to

Keyboard shortcuts

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