kubernetes

package
v0.0.0-...-1c919e8 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: Apache-2.0 Imports: 14 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cluster

type Cluster struct {
	pulumi.ResourceState
	components.Component

	KubeProvider *kubernetes.Provider

	ClusterName pulumi.StringOutput `pulumi:"clusterName"`
	KubeConfig  pulumi.StringOutput `pulumi:"kubeConfig"`
}

Cluster represents a Kubernetes cluster

func NewKindCluster

func NewKindCluster(env config.Env, vm *remote.Host, name string, kubeVersion string, opts ...pulumi.ResourceOption) (*Cluster, error)

Install Kind on a Linux virtual machine.

func NewLocalKindCluster

func NewLocalKindCluster(env config.Env, name string, kubeVersion string, opts ...pulumi.ResourceOption) (*Cluster, error)

func (*Cluster) Export

func (c *Cluster) Export(ctx *pulumi.Context, out *ClusterOutput) error

type ClusterOutput

type ClusterOutput struct {
	components.JSONImporter

	ClusterName string `json:"clusterName"`
	KubeConfig  string `json:"kubeConfig"`
}

The type that is used to import the KubernetesCluster component

type KubernetesObjRefOutput

type KubernetesObjRefOutput struct {
	components.JSONImporter

	Namespace      string            `json:"namespace"`
	Name           string            `json:"name"`
	Kind           string            `json:"kind"`
	AppVersion     string            `json:"installAppVersion"`
	Version        string            `json:"installVersion"`
	LabelSelectors map[string]string `json:"labelSelectors"`
}

type KubernetesObjectRef

type KubernetesObjectRef struct {
	pulumi.ResourceState
	components.Component

	Namespace      pulumi.String       `pulumi:"namespace"`
	Name           pulumi.String       `pulumi:"name"`
	Kind           pulumi.String       `pulumi:"kind"`
	AppVersion     pulumi.StringOutput `pulumi:"installAppVersion"`
	Version        pulumi.StringOutput `pulumi:"installVersion"`
	LabelSelectors pulumi.Map          `pulumi:"labelSelectors"`
}

func NewKubernetesObjRef

func NewKubernetesObjRef(e config.Env, name string, namespace string, kind string, appVersion pulumi.StringOutput, version pulumi.StringOutput, labelSelectors map[string]string) (*KubernetesObjectRef, error)

func (*KubernetesObjectRef) Export

type Workload

type Workload struct {
	pulumi.ResourceState
	components.Component
}

Workload is a Component that represents a Kubernetes workload

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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