Documentation ¶
Overview ¶
Package redpanda contains the implementation of the Terraform Provider framework interface for Redpanda.
Index ¶
- Constants
- func New(_ context.Context, cloudEnv, version string) func() provider.Provider
- type Redpanda
- func (r *Redpanda) Configure(ctx context.Context, request provider.ConfigureRequest, ...)
- func (*Redpanda) DataSources(_ context.Context) []func() datasource.DataSource
- func (r *Redpanda) Metadata(_ context.Context, _ provider.MetadataRequest, ...)
- func (*Redpanda) Resources(_ context.Context) []func() resource.Resource
- func (*Redpanda) Schema(_ context.Context, _ provider.SchemaRequest, response *provider.SchemaResponse)
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 ¶
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 ¶
func (r *Redpanda) Metadata(_ context.Context, _ provider.MetadataRequest, response *provider.MetadataResponse)
Metadata returns the provider metadata.
func (*Redpanda) Resources ¶
Resources returns a slice of functions to instantiate each Redpanda resource.
func (*Redpanda) Schema ¶
func (*Redpanda) Schema(_ context.Context, _ provider.SchemaRequest, response *provider.SchemaResponse)
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. |
Click to show internal directories.
Click to hide internal directories.