mongodbemployeeaccessgrant

package
v1.21.4 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2024 License: MPL-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DataSource

func DataSource() datasource.DataSource

func DataSourceSchema

func DataSourceSchema(ctx context.Context) schema.Schema

func NewAtlasReq

func NewAtlasReq(tfModel *TFModel) (*admin.EmployeeAccessGrant, error)

func Resource

func Resource() resource.Resource

func ResourceSchema

func ResourceSchema(ctx context.Context) schema.Schema

Types

type TFModel

type TFModel struct {
	ProjectID      types.String `tfsdk:"project_id"`
	ClusterName    types.String `tfsdk:"cluster_name"`
	GrantType      types.String `tfsdk:"grant_type"`
	ExpirationTime types.String `tfsdk:"expiration_time"`
}

func NewTFModel

func NewTFModel(projectID, clusterName string, apiResp *admin.EmployeeAccessGrant) *TFModel

Jump to

Keyboard shortcuts

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