Documentation ¶
Index ¶
Constants ¶
View Source
const ( InitcontainersTemplate = `{"command": "CMD","image": "IMAGE","name": "tool", "volumeMounts": [{"mountPath": "/tools","name": "tool-volume"}]}` EMPTYDIR_TAMPLATE = `{"emptyDir": {},"name": "tool-volume"}` VOLUMEMOUNTS_TEMPLATE = `"volumeMounts": [{"mountPath": "/tools","name": "tool-volume"}]` )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InitContainerConfig ¶
type InitContainerConfig struct { VolumeMount VolumeMount Container Container Volume Volume }
type ToolConfig ¶
type ToolConfig struct { Image string `json:"image"` Tools toolsList `json:"tools"` // contains filtered or unexported fields }
func NewToolConfig ¶
func NewToolConfig() ToolConfig
func (*ToolConfig) GetTool ¶
func (me *ToolConfig) GetTool(name string) Tool
type VolumeMount ¶
Click to show internal directories.
Click to hide internal directories.