Documentation ¶
Index ¶
- type Lens
- func (lens Lens) Body(artifacts []api.Artifact, resourceDir string, data string, ...) string
- func (lens Lens) Callback(artifacts []api.Artifact, resourceDir string, data string, ...) string
- func (lens Lens) Config() lenses.LensConfig
- func (lens Lens) Header(artifacts []api.Artifact, resourceDir string, config json.RawMessage, ...) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Lens ¶
type Lens struct{}
Lens prints link to master and node logs.
func (Lens) Body ¶
func (lens Lens) Body(artifacts []api.Artifact, resourceDir string, data string, config json.RawMessage, spyglassConfig config.Spyglass) string
Body renders link to logs.
func (Lens) Callback ¶
func (lens Lens) Callback(artifacts []api.Artifact, resourceDir string, data string, config json.RawMessage, spyglassConfig config.Spyglass) string
Callback does nothing.
func (Lens) Config ¶
func (lens Lens) Config() lenses.LensConfig
Config returns the lens's configuration.
Click to show internal directories.
Click to hide internal directories.