Documentation
¶
Index ¶
- Variables
- func MustExtractFQN(ctx context.Context) string
- func MustExtractSection(ctx context.Context) string
- func WithFQN(ctx context.Context, fqn string) context.Context
- func WithGroup(ctx context.Context, grp string) context.Context
- type Alias
- type Aliases
- type Empty
- type PopeyeKey
- type RunInfo
- type StringSet
Constants ¶
This section is empty.
Variables ¶
View Source
var Blank = Empty{}
Blank represents an empty value.
Functions ¶
func MustExtractFQN ¶
MustExtractFQN extract fqn from context or die.
func MustExtractSection ¶
MustExtractSection extract section from context or die.
Types ¶
type Aliases ¶
type Aliases struct {
// contains filtered or unexported fields
}
Aliases represents a collection of aliases.
func (*Aliases) ToResources ¶
ToResources converts aliases to resource names.
type PopeyeKey ¶
type PopeyeKey string
PopeyeKey namespaces popeye context keys.
const ( // KeyRun stores run information. KeyRun PopeyeKey = "runinfo" )
type RunInfo ¶
type RunInfo struct {
Section, FQN, Group string
}
RunInfo describes a sanitizer run.
func MustExtractRunInfo ¶
MustExtractRunInfo extracts runinfo from context or die.
Click to show internal directories.
Click to hide internal directories.