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

mongodbflex

package
v0.35.0 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2024 License: Apache-2.0 Imports: 30 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultBackupSchedule = "0 0/6 * * *"
)

Variables

This section is empty.

Functions

func NewInstanceDataSource

func NewInstanceDataSource() datasource.DataSource

NewInstanceDataSource is a helper function to simplify the provider implementation.

func NewInstanceResource

func NewInstanceResource() resource.Resource

NewInstanceResource is a helper function to simplify the provider implementation.

Types

type Model

type Model struct {
	Id             types.String `tfsdk:"id"` // needed by TF
	InstanceId     types.String `tfsdk:"instance_id"`
	ProjectId      types.String `tfsdk:"project_id"`
	Name           types.String `tfsdk:"name"`
	ACL            types.List   `tfsdk:"acl"`
	BackupSchedule types.String `tfsdk:"backup_schedule"`
	Flavor         types.Object `tfsdk:"flavor"`
	Replicas       types.Int64  `tfsdk:"replicas"`
	Storage        types.Object `tfsdk:"storage"`
	Version        types.String `tfsdk:"version"`
	Options        types.Object `tfsdk:"options"`
}

Jump to

Keyboard shortcuts

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