meta

package
v0.18.2 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2018 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RefMatches

func RefMatches(ref Ref, meta *Meta) bool

func SelectorMatches

func SelectorMatches(selector Selector, labels Labels) bool

Types

type Labels

type Labels map[string]string

type Meta

type Meta struct {
	Name   string            `json:"name,omitempty" yaml:"name,omitempty" hcl:"name,omitempty"`
	Labels map[string]string `json:"labels,omitempty" yaml:"labels,omitempty" hcl:"labels,omitempty"`
}

type Ref

type Ref struct {
	Ref      string   `json:"ref" yaml:"ref" hcl:"ref"`
	Name     string   `json:"name,omitempty" yaml:"name,omitempty" hcl:"name,omitempty"`
	Selector Selector `json:"selector" yaml:"selector" hcl:"selector"`
}

type Selector

type Selector map[string]string

Jump to

Keyboard shortcuts

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