annotations

package
v0.0.0-...-e998f03 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AnnotationPrefix      = "ars.44smkn.github.io"
	ScheduleAnnotationKey = "schedule"
)

Variables

This section is empty.

Functions

func NewSuffixAnnotationParser

func NewSuffixAnnotationParser(annotationPrefix string) *suffixAnnotationParser

NewSuffixAnnotationParser returns new suffixAnnotationParser based on specified prefix.

Types

type NoExistsAnnotationError

type NoExistsAnnotationError struct {
	AnnotationKey string
}

func (*NoExistsAnnotationError) Error

func (e *NoExistsAnnotationError) Error() string

type Parser

type Parser interface {
	ParseJSONAnnotation(annotation string, value interface{}, annotations map[string]string) (bool, error)
}

Jump to

Keyboard shortcuts

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