models

package
v0.4.3 Latest Latest
Warning

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

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

Documentation

Overview

Package models contains all the Terraform schema representations of the resources created by the Redpanda Terraform provider.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ACL

type ACL struct {
	ResourceType        types.String `tfsdk:"resource_type"`
	ResourceName        types.String `tfsdk:"resource_name"`
	ResourcePatternType types.String `tfsdk:"resource_pattern_type"`
	Principal           types.String `tfsdk:"principal"`
	Host                types.String `tfsdk:"host"`
	Operation           types.String `tfsdk:"operation"`
	PermissionType      types.String `tfsdk:"permission_type"`
	ClusterAPIURL       types.String `tfsdk:"cluster_api_url"`
	ID                  types.String `tfsdk:"id"`
}

ACL defines the structure for configuration settings parsed from HCL.

type Cluster

type Cluster struct {
	Name            types.String `tfsdk:"name"`
	ID              types.String `tfsdk:"id"`
	ConnectionType  types.String `tfsdk:"connection_type"`
	CloudProvider   types.String `tfsdk:"cloud_provider"`
	ClusterType     types.String `tfsdk:"cluster_type"`
	RedpandaVersion types.String `tfsdk:"redpanda_version"`
	ThroughputTier  types.String `tfsdk:"throughput_tier"`
	Region          types.String `tfsdk:"region"`
	Zones           types.List   `tfsdk:"zones"`
	AllowDeletion   types.Bool   `tfsdk:"allow_deletion"`
	Tags            types.Map    `tfsdk:"tags"`
	NamespaceID     types.String `tfsdk:"namespace_id"`
	NetworkID       types.String `tfsdk:"network_id"`
	ClusterAPIURL   types.String `tfsdk:"cluster_api_url"`
}

Cluster represents the Terraform schema for the cluster resource.

type Namespace

type Namespace struct {
	Name types.String `tfsdk:"name"`
	ID   types.String `tfsdk:"id"`
}

Namespace represents the Terraform schema for the namespace resource.

type Network

type Network struct {
	Name          types.String `tfsdk:"name"`
	NamespaceID   types.String `tfsdk:"namespace_id"`
	CloudProvider types.String `tfsdk:"cloud_provider"`
	Region        types.String `tfsdk:"region"`
	CidrBlock     types.String `tfsdk:"cidr_block"`
	ID            types.String `tfsdk:"id"`
	ClusterType   types.String `tfsdk:"cluster_type"`
}

Network represents the Terraform schema for the network resource.

type Redpanda

type Redpanda struct {
	ClientID     types.String `tfsdk:"client_id"`
	ClientSecret types.String `tfsdk:"client_secret"`
}

Redpanda represents the Terraform schema for the Redpanda TF provider.

type Topic

type Topic struct {
	Name              types.String `tfsdk:"name"`
	PartitionCount    types.Number `tfsdk:"partition_count"`
	ReplicationFactor types.Number `tfsdk:"replication_factor"`
	Configuration     types.Map    `tfsdk:"configuration"`
	AllowDeletion     types.Bool   `tfsdk:"allow_deletion"`
	ClusterAPIURL     types.String `tfsdk:"cluster_api_url"`
	ID                types.String `tfsdk:"id"`
}

Topic defines the structure for configuration settings parsed from HCL.

type User

type User struct {
	Name          types.String `tfsdk:"name"`
	Password      types.String `tfsdk:"password"`
	Mechanism     types.String `tfsdk:"mechanism"`
	ID            types.String `tfsdk:"id"`
	ClusterAPIURL types.String `tfsdk:"cluster_api_url"`
}

User defines the structure for configuration settings parsed from HCL.

Jump to

Keyboard shortcuts

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