metadata

package
v0.0.0-...-1c4df2c Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2019 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	UnsetShortID = -1
)

Variables

This section is empty.

Functions

This section is empty.

Types

type KEP

type KEP interface {
	UniqueID() string
	Authors() []string
	Title() string
	ShortID() int
	Reviewers() []string
	Approvers() []string
	Editors() []string
	State() states.Name
	DevelopmentThemes() []string
	SectionLocations() []string // really are section paths

	// should be (string) references to other KEPs
	Replaces() []string
	SupersededBy() []string

	Created() time.Time
	LastUpdated() time.Time

	// Flattened routing info
	OwningSIG() string
	AffectedSubprojects() []string
	ParticipatingSIGs() []string
	KubernetesWide() bool
	SIGWide() bool
	ContentDir() string

	// Mutators (locking)
	SetState(states.Name)
	AddSectionLocations([]string)
	AddApprovers([]string)
	AddReviewers([]string)
	Persist() error

	// External locking support
	sync.Locker
}

func FromBytes

func FromBytes(b []byte) (KEP, error)

func New

func New(authors []string, title string, routingInfo routingInfoProvider) (KEP, error)

func Open

func Open(p string) (KEP, error)

Directories

Path Synopsis
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

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