serverlesscluster

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

Documentation

Overview

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.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateServerlessClusterRequest

func GenerateServerlessClusterRequest(model models.ServerlessCluster) (*controlplanev1beta2.ServerlessClusterCreate, error)

GenerateServerlessClusterRequest was pulled out to enable unit testing

Types

type DataSourceServerlessCluster

type DataSourceServerlessCluster struct {
	CpCl *cloud.ControlPlaneClientSet
}

DataSourceServerlessCluster represents a serverless cluster data source.

func (*DataSourceServerlessCluster) Configure

Configure uses provider level data to configure DataSourceServerlessCluster's client.

func (*DataSourceServerlessCluster) Metadata

Metadata returns the metadata for the ServerlessCluster data source.

func (*DataSourceServerlessCluster) Read

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

func (*DataSourceServerlessCluster) Schema

Schema returns the schema for the ServerlessCluster data source.

type ServerlessCluster

type ServerlessCluster struct {
	CpCl *cloud.ControlPlaneClientSet
}

ServerlessCluster represents a cluster managed resource.

func (*ServerlessCluster) Configure

Configure uses provider level data to configure ServerlessCluster's clients.

func (*ServerlessCluster) Create

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

func (*ServerlessCluster) Delete

Delete deletes the ServerlessCluster resource.

func (*ServerlessCluster) ImportState

ImportState imports and update the state of the serverless cluster resource.

func (*ServerlessCluster) Metadata

Metadata returns the full name of the ServerlessCluster resource.

func (*ServerlessCluster) Read

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

func (*ServerlessCluster) Schema

Schema returns the schema for the ServerlessCluster resource.

func (*ServerlessCluster) Update

Update all serverless cluster updates are currently delete and recreate.

Jump to

Keyboard shortcuts

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