Help us shape the future of Go! Take the 2026 Go Developer Survey

token

package
v0.81.0 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2026 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTokenResource

func NewTokenResource() resource.Resource

NewTokenResource is a helper function to simplify the provider implementation.

Types

type Model

type Model struct {
	Id             types.String `tfsdk:"id"`
	InstanceName   types.String `tfsdk:"instance_name"`
	InstanceId     types.String `tfsdk:"instance_id"`
	ProjectId      types.String `tfsdk:"project_id"`
	TokenId        types.String `tfsdk:"token_id"` // uuid generated internally because token has no identifier
	Token          types.String `tfsdk:"token"`
	Expiration     types.Int64  `tfsdk:"expiration"`
	RecreateBefore types.Int64  `tfsdk:"recreate_before"`
	ExpiresAt      types.String `tfsdk:"expires_at"`
	CreationTime   types.String `tfsdk:"creation_time"`
	Region         types.String `tfsdk:"region"`
}

Jump to

Keyboard shortcuts

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