Documentation ¶
Index ¶
- Constants
- Variables
- func New() types.TypeImpl
- type BaseIntotoType
- func (it *BaseIntotoType) CreateProposedEntry(ctx context.Context, version string, props types.ArtifactProperties) (models.ProposedEntry, error)
- func (it BaseIntotoType) DefaultVersion() string
- func (it *BaseIntotoType) IsSupportedVersion(proposedVersion string) bool
- func (it BaseIntotoType) SupportedVersions() []string
- func (it BaseIntotoType) UnmarshalEntry(pe models.ProposedEntry) (types.EntryImpl, error)
- type ProposedIntotoEntryIterator
Constants ¶
View Source
const (
KIND = "intoto"
)
Variables ¶
View Source
var VersionMap = types.NewSemVerEntryFactoryMap()
Functions ¶
Types ¶
type BaseIntotoType ¶
func (*BaseIntotoType) CreateProposedEntry ¶ added in v0.3.0
func (it *BaseIntotoType) CreateProposedEntry(ctx context.Context, version string, props types.ArtifactProperties) (models.ProposedEntry, error)
func (BaseIntotoType) DefaultVersion ¶ added in v0.3.0
func (it BaseIntotoType) DefaultVersion() string
func (*BaseIntotoType) IsSupportedVersion ¶ added in v0.12.0
func (it *BaseIntotoType) IsSupportedVersion(proposedVersion string) bool
IsSupportedVersion returns true if the version can be inserted into the log, and false if not
func (BaseIntotoType) SupportedVersions ¶ added in v0.12.0
func (it BaseIntotoType) SupportedVersions() []string
SupportedVersions returns the supported versions for this type in the order of preference
func (BaseIntotoType) UnmarshalEntry ¶
func (it BaseIntotoType) UnmarshalEntry(pe models.ProposedEntry) (types.EntryImpl, error)
type ProposedIntotoEntryIterator ¶ added in v0.12.1
type ProposedIntotoEntryIterator struct { models.ProposedEntry // contains filtered or unexported fields }
func (ProposedIntotoEntryIterator) Get ¶ added in v0.12.1
func (p ProposedIntotoEntryIterator) Get() models.ProposedEntry
func (ProposedIntotoEntryIterator) GetNext ¶ added in v0.12.1
func (p ProposedIntotoEntryIterator) GetNext() models.ProposedEntry
func (ProposedIntotoEntryIterator) HasNext ¶ added in v0.12.1
func (p ProposedIntotoEntryIterator) HasNext() bool
Click to show internal directories.
Click to hide internal directories.