Documentation
¶
Index ¶
- func InstallKindBinary(env config.Env, vm *remote.Host, kindVersion string, ...) (pulumi.Resource, error)
- func InstallOpenShiftBinary(env config.Env, vm *remote.Host, opts ...pulumi.ResourceOption) (pulumi.Resource, error)
- type Cluster
- func NewKindCluster(env config.Env, vm *remote.Host, name string, kubeVersion string, ...) (*Cluster, error)
- func NewKindClusterWithConfig(env config.Env, vm *remote.Host, name string, kubeVersion, kindConfig string, ...) (*Cluster, error)
- func NewLocalKindCluster(env config.Env, name string, kubeVersion string, opts ...pulumi.ResourceOption) (*Cluster, error)
- func NewLocalOpenShiftCluster(env config.Env, name string, pullSecretPath string, ...) (*Cluster, error)
- func NewOpenShiftCluster(env config.Env, vm *remote.Host, name string, pullSecretPath string, ...) (*Cluster, error)
- type ClusterOutput
- type KindConfig
- type KubernetesObjRefOutput
- type KubernetesObjectRef
- type Workload
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InstallKindBinary ¶
Types ¶
type Cluster ¶
type Cluster struct { pulumi.ResourceState components.Component KubeProvider *kubernetes.Provider ClusterName pulumi.StringOutput `pulumi:"clusterName"` KubeConfig pulumi.StringOutput `pulumi:"kubeConfig"` KubeInternalServerAddress pulumi.StringOutput `pulumi:"kubeInternalServerAddress"` KubeInternalServerPort pulumi.StringOutput `pulumi:"kubeInternalServerPort"` }
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 NewLocalOpenShiftCluster ¶ added in v0.0.4
func NewOpenShiftCluster ¶ added in v0.0.4
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 KindConfig ¶
KindConfig contains the kind version and the kind node image to use
func GetKindVersionConfig ¶
func GetKindVersionConfig(kubeVersion string) (*KindConfig, error)
GetKindVersionConfig returns the kind version and the kind node image to use based on kubernetes version
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 ¶
func (h *KubernetesObjectRef) Export(ctx *pulumi.Context, out *KubernetesObjRefOutput) error
type Workload ¶
type Workload struct { pulumi.ResourceState components.Component }
Workload is a Component that represents a Kubernetes workload
Source Files
¶
Click to show internal directories.
Click to hide internal directories.