options

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2024 License: MPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Equal added in v0.1.3

Types

type ComparableOptions added in v0.1.3

type ComparableOptions struct {
	DevContainerID string `json:"devcontainerId,omitempty"`

	KubernetesPullSecretsEnabled string `json:"kubernetesPullSecretsEnabled,omitempty"`
	CreateNamespace              string `json:"createNamespace,omitempty"`
	ClusterRole                  string `json:"clusterRole,omitempty"`
	ServiceAccount               string `json:"serviceAccount,omitempty"`

	HelperImage       string `json:"helperImage,omitempty"`
	HelperResources   string `json:"helperResources,omitempty"`
	InactivityTimeout string `json:"inactivityTimeout,omitempty"`
	StorageClass      string `json:"storageClass,omitempty"`

	DiskSize      string `json:"diskSize,omitempty"`
	PvcAccessMode string `json:"pvcAccessMode,omitempty"`
	NodeSelector  string `json:"nodeSelector,omitempty"`
	Resources     string `json:"resources,omitempty"`

	PodManifestTemplate string `json:"podManifestTemplate,omitempty"`
	Labels              string `json:"labels,omitempty"`
}

type Options

type Options struct {
	ComparableOptions

	KubernetesContext   string `json:"-"`
	KubernetesConfig    string `json:"-"`
	KubernetesNamespace string `json:"-"`
	KubectlPath         string `json:"-"`
	PodTimeout          string `json:"-"`
}

func FromEnv

func FromEnv() (*Options, error)

Jump to

Keyboard shortcuts

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