base

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2023 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 3 more Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigFile

type ConfigFile struct {
	NhEsUrl           string             `json:"nhEsUrl" yaml:"nhEsUrl"`
	CrdDevModeActions []CrdDevModeAction `json:"crdDevModeActions" yaml:"crdDevModeActions"`
}

type CrdDevModeAction

type CrdDevModeAction struct {
	CrdType       string         `json:"crdType" yaml:"crdType"`
	DevModeAction *DevModeAction `json:"devModeAction" yaml:"devModeAction"`
}

type DevModeAction

type DevModeAction struct {
	ScalePatches    []PatchItem `json:"scalePatches" yaml:"scalePatches"`
	PodTemplatePath string      `json:"podTemplatePath" yaml:"podTemplatePath"`
	Create          bool        `json:"create" yaml:"create"`
}

type PatchItem

type PatchItem struct {
	Patch string `json:"patch" yaml:"patch"`
	Type  string `json:"type,omitempty" yaml:"type,omitempty"`
}

type SvcType

type SvcType string
const (
	Deployment  SvcType = "deployment"
	StatefulSet SvcType = "statefulset"
	DaemonSet   SvcType = "daemonset"
	Job         SvcType = "job"
	CronJob     SvcType = "cronjob"
	Pod         SvcType = "pod"
	DEPLOYMENT  SvcType = "D"
)

func (SvcType) Alias

func (s SvcType) Alias() SvcType

Alias For compatibility with meta

func (SvcType) Origin

func (s SvcType) Origin() SvcType

func (SvcType) String

func (s SvcType) String() string

Jump to

Keyboard shortcuts

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