options

package
v0.1.11 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 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"`
	WorkspaceVolumeMount string `json:"workspaceVolumeMount,omitempty"`

	PodManifestTemplate              string `json:"podManifestTemplate,omitempty"`
	ArchDetectionPodManifestTemplate string `json:"archDetectionPodManifestTemplate,omitempty"`
	Labels                           string `json:"labels,omitempty"`

	DangerouslyOverrideImage string `json:"dangerouslyOverrideImage,omitempty"`
	StrictSecurity           bool   `json:"strictSecurity,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