Documentation ¶
Index ¶
- type Config
- func (c *Config) Burst() int
- func (c *Config) ContentType() ContentType
- func (c *Config) GlobalRunnerConfig() *RunnerConfig
- func (c *Config) LogLevel() string
- func (c *Config) RunAsMonitoring() bool
- func (c *Config) RunAsScript() bool
- func (c *Config) RunAsService() bool
- func (c *Config) RunInContainer() bool
- func (c *Config) RunInVM() bool
- func (c *Config) ServerPort() int
- func (c *Config) SetBurst(burst int)
- func (c *Config) SetContentType(contentType ContentType)
- func (c *Config) SetWithResources(withResources bool)
- func (c *Config) String() string
- func (c *Config) WithResources() bool
- type ContentType
- type RunAs
- type RunIn
- type RunnerConfig
- func (c *RunnerConfig) Environment() string
- func (c *RunnerConfig) NamespaceSelector() string
- func (c *RunnerConfig) OutputFileName() string
- func (c *RunnerConfig) SetNamespaceSelector(namespaceSelector string)
- func (c *RunnerConfig) SetOutputFileName(outputFileName string)
- func (r *RunnerConfig) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// contains filtered or unexported fields
}
func (*Config) ContentType ¶
func (c *Config) ContentType() ContentType
func (*Config) GlobalRunnerConfig ¶
func (c *Config) GlobalRunnerConfig() *RunnerConfig
func (*Config) RunAsMonitoring ¶
func (*Config) RunAsScript ¶
func (*Config) RunAsService ¶
func (*Config) RunInContainer ¶
func (*Config) ServerPort ¶
func (*Config) SetContentType ¶
func (c *Config) SetContentType(contentType ContentType)
func (*Config) SetWithResources ¶
func (*Config) WithResources ¶
type ContentType ¶
type ContentType int64
const ( Text ContentType = iota CSV JSON YAML )
func ContentTypeFromString ¶
func ContentTypeFromString(contentType string) ContentType
func (ContentType) HttpContentType ¶
func (t ContentType) HttpContentType() string
func (ContentType) String ¶
func (t ContentType) String() string
func (ContentType) Suffix ¶
func (t ContentType) Suffix() string
type RunnerConfig ¶
type RunnerConfig struct {
// contains filtered or unexported fields
}
func NewRunnerConfig ¶
func NewRunnerConfig() *RunnerConfig
func NewRunnerConfigFromProperties ¶
func NewRunnerConfigFromProperties(p *properties.Properties) *RunnerConfig
func (*RunnerConfig) Environment ¶
func (c *RunnerConfig) Environment() string
func (*RunnerConfig) NamespaceSelector ¶
func (c *RunnerConfig) NamespaceSelector() string
func (*RunnerConfig) OutputFileName ¶
func (c *RunnerConfig) OutputFileName() string
func (*RunnerConfig) SetNamespaceSelector ¶
func (c *RunnerConfig) SetNamespaceSelector(namespaceSelector string)
func (*RunnerConfig) SetOutputFileName ¶
func (c *RunnerConfig) SetOutputFileName(outputFileName string)
func (*RunnerConfig) String ¶
func (r *RunnerConfig) String() string
Click to show internal directories.
Click to hide internal directories.