helper

package
v0.0.0-...-80305e3 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

File: helper/helper.go

File: helper/types.go

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckDependencies

func CheckDependencies(ctx *pulumi.Context, dependency string) error

CheckDependencies checks if a specific dependency is installed.

Types

type KindCluster

type KindCluster struct {
	pulumi.ResourceState

	ClusterName  pulumi.StringOutput
	CreateStdout pulumi.StringOutput
	DeleteStdout pulumi.StringOutput
}

KindCluster represents a Pulumi component for managing a Kind cluster. ClusterName is the name of the Kind cluster. CreateStdout captures the standard output of the Kind cluster creation process. DeleteStdout captures the standard output of the Kind cluster deletion process.

type KindClusterArgs

type KindClusterArgs struct {
	ClusterName string
	WorkingDir  string
	Purge       bool
}

KindClusterArgs holds the arguments for creating a new Kind cluster. ClusterName is the name of the Kind cluster. WorkingDir specifies the working directory for the Kind config.yaml file. Purge indicates whether to remove pre-existing resources related to this Kind cluster.

func LoadConfig

func LoadConfig(cfg *config.Config) (*KindClusterArgs, error)

LoadConfig loads the Kind cluster configuration.

Jump to

Keyboard shortcuts

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