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

accesstoken

package
v0.111.0 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2026 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewLogsAccessTokenDataSource

func NewLogsAccessTokenDataSource() datasource.DataSource

func NewLogsAccessTokenResource

func NewLogsAccessTokenResource() resource.Resource

Types

type DataSourceModel

type DataSourceModel struct {
	ID            types.String `tfsdk:"id"` // Required by Terraform
	AccessTokenID types.String `tfsdk:"access_token_id"`
	InstanceID    types.String `tfsdk:"instance_id"`
	Region        types.String `tfsdk:"region"`
	ProjectID     types.String `tfsdk:"project_id"`
	Creator       types.String `tfsdk:"creator"`
	Description   types.String `tfsdk:"description"`
	DisplayName   types.String `tfsdk:"display_name"`
	Expires       types.Bool   `tfsdk:"expires"`
	ValidUntil    types.String `tfsdk:"valid_until"`
	Permissions   types.List   `tfsdk:"permissions"`
	Status        types.String `tfsdk:"status"`
}

type Model

type Model struct {
	ID            types.String `tfsdk:"id"` // Required by Terraform
	AccessTokenID types.String `tfsdk:"access_token_id"`
	InstanceID    types.String `tfsdk:"instance_id"`
	Region        types.String `tfsdk:"region"`
	ProjectID     types.String `tfsdk:"project_id"`
	Creator       types.String `tfsdk:"creator"`
	Description   types.String `tfsdk:"description"`
	DisplayName   types.String `tfsdk:"display_name"`
	AccessToken   types.String `tfsdk:"access_token"`
	Expires       types.Bool   `tfsdk:"expires"`
	ValidUntil    types.String `tfsdk:"valid_until"`
	Lifetime      types.Int32  `tfsdk:"lifetime"`
	Permissions   types.List   `tfsdk:"permissions"`
	Status        types.String `tfsdk:"status"`
	// RotateWhenChanged is a map of arbitrary key/value pairs that will force
	// recreation of the resource when they change, enabling resource rotation based on
	// external conditions such as a rotating timestamp. Changing this forces a new
	// resource to be created.
	RotateWhenChanged types.Map `tfsdk:"rotate_when_changed"`
}

Jump to

Keyboard shortcuts

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