labelutil

package
v0.5.3 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2021 License: Apache-2.0 Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SyncRepoLabels

func SyncRepoLabels(ctx context.Context, repoId, labelStr string) error

func SyncRepoSelectors

func SyncRepoSelectors(ctx context.Context, repoId, selectorStr string) error

Types

type Q added in v0.2.2

type Q struct {
	K string
	V string
}

type Query added in v0.2.2

type Query []Q

func Parse

func Parse(labelString string) (Query, error)

func (Query) Append added in v0.2.2

func (query Query) Append(k string, v string) Query

func (Query) ToString added in v0.2.2

func (query Query) ToString() string

Ref: net/url/url.go.Values.Encode

Jump to

Keyboard shortcuts

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