redpanda

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2024 License: Apache-2.0 Imports: 29 Imported by: 1

Documentation

Overview

Package redpanda contains the implementation of the Terraform Provider framework interface for Redpanda.

Index

Constants

View Source
const (
	// AccessTokenEnv is the access token used to authenticate to Redpanda cloud.
	AccessTokenEnv = "REDPANDA_ACCESS_TOKEN"
	// ClientIDEnv is the client_id used to authenticate to Redpanda cloud.
	ClientIDEnv = "REDPANDA_CLIENT_ID"
	// ClientSecretEnv is the client_secret used to authenticate to Redpanda cloud.
	ClientSecretEnv = "REDPANDA_CLIENT_SECRET"
)

Variables

This section is empty.

Functions

func New

func New(_ context.Context, cloudEnv, version string) func() provider.Provider

New spawns a basic provider struct, no client. Configure must be called for a working client.

Types

type Redpanda

type Redpanda struct {
	// contains filtered or unexported fields
}

Redpanda represents the Redpanda Terraform provider.

func (*Redpanda) Configure

func (r *Redpanda) Configure(ctx context.Context, request provider.ConfigureRequest, response *provider.ConfigureResponse)

Configure is the primary entrypoint for terraform and properly initializes the client.

func (*Redpanda) DataSources

func (*Redpanda) DataSources(_ context.Context) []func() datasource.DataSource

DataSources returns a slice of functions to instantiate each Redpanda DataSource.

func (*Redpanda) Metadata

Metadata returns the provider metadata.

func (*Redpanda) Resources

func (*Redpanda) Resources(_ context.Context) []func() resource.Resource

Resources returns a slice of functions to instantiate each Redpanda resource.

func (*Redpanda) Schema

Schema returns the Redpanda provider schema.

Directories

Path Synopsis
Package cloud provides the methods to connect and talk to the Redpanda Cloud public API.
Package cloud provides the methods to connect and talk to the Redpanda Cloud public API.
Package config contains the configuration structs to initialize our clients and provider.
Package config contains the configuration structs to initialize our clients and provider.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package models contains all the Terraform schema representations of the resources created by the Redpanda Terraform provider.
Package models contains all the Terraform schema representations of the resources created by the Redpanda Terraform provider.
resources
acl
Package acl contains the implementation of the ACL resource following the Terraform framework interfaces.
Package acl contains the implementation of the ACL resource following the Terraform framework interfaces.
cluster
Package cluster contains the implementation of the Cluster resource following the Terraform framework interfaces.
Package cluster contains the implementation of the Cluster resource following the Terraform framework interfaces.
network
Package network contains the implementation of the Network resource following the Terraform framework interfaces.
Package network contains the implementation of the Network resource following the Terraform framework interfaces.
region
Package region contains the implementation of the Region data source following the Terraform framework interfaces.
Package region contains the implementation of the Region data source following the Terraform framework interfaces.
regions
Package regions contains the implementation of the Regions data source following the Terraform framework interfaces.
Package regions contains the implementation of the Regions data source following the Terraform framework interfaces.
resourcegroup
Package resourcegroup contains the implementation of the ResourceGroup resource following the Terraform framework interfaces.
Package resourcegroup contains the implementation of the ResourceGroup resource following the Terraform framework interfaces.
serverlesscluster
Package serverlesscluster contains the implementation of the ServerlessCluster resource following the Terraform framework interfaces.
Package serverlesscluster contains the implementation of the ServerlessCluster resource following the Terraform framework interfaces.
serverlessregions
Package serverlessregions contains the implementation of the ServerlessRegions data source following the Terraform framework interfaces.
Package serverlessregions contains the implementation of the ServerlessRegions data source following the Terraform framework interfaces.
throughputtiers
Package throughputtiers contains the implementation of the ThroughputTiers data source following the Terraform framework interfaces.
Package throughputtiers contains the implementation of the ThroughputTiers data source following the Terraform framework interfaces.
topic
Package topic contains the implementation of the Topic resource following the Terraform framework interfaces.
Package topic contains the implementation of the Topic resource following the Terraform framework interfaces.
user
Package user contains the implementation of the User resource following the Terraform framework interfaces.
Package user contains the implementation of the User resource following the Terraform framework interfaces.
Package tests includes the acceptance tests for the Redpanda Terraform Provider.
Package tests includes the acceptance tests for the Redpanda Terraform Provider.
Package utils contains multiple utility functions used across the Redpanda's terraform codebase
Package utils contains multiple utility functions used across the Redpanda's terraform codebase
Package validators contains general purpose validation functions for the Redpanda provider.
Package validators contains general purpose validation functions for the Redpanda provider.

Jump to

Keyboard shortcuts

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