resourcegroup

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: 15 Imported by: 0

Documentation

Overview

Package resourcegroup contains the implementation of the ResourceGroup resource following the Terraform framework interfaces.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DataSourceResourceGroup

type DataSourceResourceGroup struct {
	CpCl *cloud.ControlPlaneClientSet
}

DataSourceResourceGroup represents a data source for a Redpanda Cloud resource group.

func (*DataSourceResourceGroup) Configure

Configure uses provider level data to configure DataSourceResourceGroup client.

func (*DataSourceResourceGroup) Metadata

Metadata returns the metadata for the ResourceGroup data source.

func (*DataSourceResourceGroup) Read

Read reads the ResourceGroup data source's values and updates the state.

func (*DataSourceResourceGroup) Schema

Schema returns the schema for the ResourceGroup data source.

type ResourceGroup

type ResourceGroup struct {
	CpCl *cloud.ControlPlaneClientSet
}

ResourceGroup represents a cluster managed resource.

func (*ResourceGroup) Configure

func (n *ResourceGroup) Configure(_ context.Context, request resource.ConfigureRequest, response *resource.ConfigureResponse)

Configure uses provider level data to configure ResourceGroup client.

func (*ResourceGroup) Create

Create creates a new ResourceGroup resource. It updates the state if the resource is successfully created.

func (*ResourceGroup) Delete

Delete deletes the ResourceGroup resource.

func (*ResourceGroup) ImportState

ImportState refreshes the state with the correct ID for the ResourceGroup, allowing TF to use Read to get the correct ResourceGroup name into state see https://developer.hashicorp.com/terraform/plugin/framework/resources/import for more details.

func (*ResourceGroup) Metadata

Metadata returns the full name of the ResourceGroup resource.

func (*ResourceGroup) Read

Read reads ResourceGroup resource's values and updates the state.

func (*ResourceGroup) Schema

Schema returns the schema for the ResourceGroup resource.

func (*ResourceGroup) Update

Update updates the state of the ResourceGroup resource.

Jump to

Keyboard shortcuts

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