Documentation
¶
Index ¶
- func BuildConnectionString(host string, user string, password string, dbname string) string
- func ParseTemplates(dir string, logFunc func(string)) (*template.Template, map[string][]string, error)
- func ReRender(text string, context map[string]interface{}) (string, error)
- func RenderGoTemplate(tmpl *template.Template, templateName string, context map[string]interface{}) (string, error)
- func RenderTemplateToString(tmpl *template.Template, name string, data interface{}) string
- type Container
- type ExecAction
- type HTTPGetAction
- type Image
- type InMemoryLoader
- type PortMap
- type Probe
- type Resources
- type SecurityContext
- type System
- type TCPSocketAction
- type Volume
- type VolumeMount
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildConnectionString ¶
func ParseTemplates ¶
func RenderGoTemplate ¶
Types ¶
type ExecAction ¶
type ExecAction struct {
Command []string
}
type HTTPGetAction ¶
type InMemoryLoader ¶
type InMemoryLoader struct {
// contains filtered or unexported fields
}
func NewInMemoryLoader ¶
func NewInMemoryLoader() *InMemoryLoader
func (*InMemoryLoader) Exists ¶
func (loader *InMemoryLoader) Exists(name string) bool
func (*InMemoryLoader) LoadTemplatesFromDB ¶
func (loader *InMemoryLoader) LoadTemplatesFromDB(connStr string, tableName string) error
type Probe ¶
type Probe struct {
Exec *ExecAction
HTTPGet *HTTPGetAction
TCPSocket *TCPSocketAction
InitialDelaySeconds int32
PeriodSeconds int32
FailureThreshold int32
}
type SecurityContext ¶
type SecurityContext struct {
RunAsUser string
RunAsGroup string
FSGroup string
SupplementalGroups []string
}
func ExtractSCFromCR ¶
func ExtractSCFromCR(sc *helxv1.SecurityContext) *SecurityContext
func ExtractSCFromMap ¶
func ExtractSCFromMap(data map[string]interface{}) *SecurityContext
type TCPSocketAction ¶
type TCPSocketAction struct {
Port int32
}
Click to show internal directories.
Click to hide internal directories.