MCPcopy
hub / github.com/kubernetes/enhancements / Document

Interface Document

api/document.go:39–41  ·  view source on GitHub ↗

counterfeiter:generate . Document Document is an interface satisfied by the following types: - `Proposal` (KEP) - `PRRApproval` - `Receipt` (coming soon) TODO(api): Populate interface and regenerate mocks

Source from the content-addressed store, hash-verified

37// - `Receipt` (coming soon)
38// TODO(api): Populate interface and regenerate mocks
39type Document interface {
40 Validate() error
41}
42
43type Parser struct {
44 Groups []string

Callers 4

CreateFunction · 0.65
PrepareQueryOptsMethod · 0.65
TestRepoValidateFunction · 0.65
TestValidationFunction · 0.65

Implementers 6

PromoteOptspkg/proposal/promote.go
CreateOptspkg/proposal/create.go
QueryOptspkg/repo/query.go
Repopkg/repo/repo.go
PRRApprovalapi/approval.go
FakeDocumentapi/apifakes/fake_document.go

Calls

no outgoing calls

Tested by

no test coverage detected