annotation

package
v0.0.0-...-5950128 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	TailerDescriptorDelimiter             rune
	TailerAnnotationDelimiter             rune
	TailerDescriptorValidatorRegexPattern string
}

Config .

type ContainerPaths

type ContainerPaths map[string]FilePaths

ContainerPaths .

type FilePaths

type FilePaths = []string

FilePaths .

type Handler

type Handler struct {
	Config
	// contains filtered or unexported fields
}

Handler .

func NewHandler

func NewHandler(containerNames []string) *Handler

NewHandler is a custom constructor which receives the available container names

func (*Handler) AddTailerAnnotation

func (h *Handler) AddTailerAnnotation(tailerAnnotation TailerAnnotation)

AddTailerAnnotation .

func (*Handler) AllFilePaths

func (h *Handler) AllFilePaths() (result FilePaths)

AllFilePaths returns FilePaths for all containers

func (*Handler) FilePathsForContainer

func (h *Handler) FilePathsForContainer(containerName string) FilePaths

FilePathsForContainer returns FilePaths for given container

type TailerAnnotation

type TailerAnnotation = TailerDescriptor

TailerAnnotation is a set of Descriptors separated by commas

type TailerDescriptor

type TailerDescriptor = string

TailerDescriptor alias to string with the format of "containername:absolutepath" or "absolutepath"

Jump to

Keyboard shortcuts

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