metadata

package
v0.0.0-...-6835649 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Filter

type Filter struct {
	Key   string
	Value string
}

Filter is used in Services for filtering resources based on metadata value.

type Metadata

type Metadata map[string]string

Metadata stores additional information about resource.

func (Metadata) Check

func (m Metadata) Check(filters ...Filter) bool

Check checks if Metadata is compliant with all of the provided filters.

Jump to

Keyboard shortcuts

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