package v02

import "github.com/in-toto/attestation/go/predicates/provenance/v02"

Index

Variables

var File_in_toto_attestation_predicates_provenance_v0_2_provenance_proto protoreflect.FileDescriptor

Types

type Builder

type Builder struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*Builder) Descriptor

func (*Builder) Descriptor() ([]byte, []int)

Deprecated: Use Builder.ProtoReflect.Descriptor instead.

func (*Builder) GetId

func (x *Builder) GetId() string

func (*Builder) ProtoMessage

func (*Builder) ProtoMessage()

func (*Builder) ProtoReflect

func (x *Builder) ProtoReflect() protoreflect.Message

func (*Builder) Reset

func (x *Builder) Reset()

func (*Builder) String

func (x *Builder) String() string

type Completeness

type Completeness struct {
	Parameters  bool `protobuf:"varint,1,opt,name=parameters,proto3" json:"parameters,omitempty"`
	Environment bool `protobuf:"varint,2,opt,name=environment,proto3" json:"environment,omitempty"`
	Materials   bool `protobuf:"varint,3,opt,name=materials,proto3" json:"materials,omitempty"`
	// contains filtered or unexported fields
}

func (*Completeness) Descriptor

func (*Completeness) Descriptor() ([]byte, []int)

Deprecated: Use Completeness.ProtoReflect.Descriptor instead.

func (*Completeness) GetEnvironment

func (x *Completeness) GetEnvironment() bool

func (*Completeness) GetMaterials

func (x *Completeness) GetMaterials() bool

func (*Completeness) GetParameters

func (x *Completeness) GetParameters() bool

func (*Completeness) ProtoMessage

func (*Completeness) ProtoMessage()

func (*Completeness) ProtoReflect

func (x *Completeness) ProtoReflect() protoreflect.Message

func (*Completeness) Reset

func (x *Completeness) Reset()

func (*Completeness) String

func (x *Completeness) String() string

type ConfigSource

type ConfigSource struct {
	Uri        string            `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
	Digest     map[string]string `protobuf:"bytes,2,rep,name=digest,proto3" json:"digest,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
	EntryPoint string            `protobuf:"bytes,3,opt,name=entry_point,json=entryPoint,proto3" json:"entry_point,omitempty"`
	// contains filtered or unexported fields
}

func (*ConfigSource) Descriptor

func (*ConfigSource) Descriptor() ([]byte, []int)

Deprecated: Use ConfigSource.ProtoReflect.Descriptor instead.

func (*ConfigSource) GetDigest

func (x *ConfigSource) GetDigest() map[string]string

func (*ConfigSource) GetEntryPoint

func (x *ConfigSource) GetEntryPoint() string

func (*ConfigSource) GetUri

func (x *ConfigSource) GetUri() string

func (*ConfigSource) ProtoMessage

func (*ConfigSource) ProtoMessage()

func (*ConfigSource) ProtoReflect

func (x *ConfigSource) ProtoReflect() protoreflect.Message

func (*ConfigSource) Reset

func (x *ConfigSource) Reset()

func (*ConfigSource) String

func (x *ConfigSource) String() string

type Invocation

type Invocation struct {
	ConfigSource *ConfigSource    `protobuf:"bytes,1,opt,name=config_source,json=configSource,proto3" json:"config_source,omitempty"`
	Parameters   *structpb.Struct `protobuf:"bytes,2,opt,name=parameters,proto3" json:"parameters,omitempty"`
	Environment  *structpb.Struct `protobuf:"bytes,3,opt,name=environment,proto3" json:"environment,omitempty"`
	// contains filtered or unexported fields
}

func (*Invocation) Descriptor

func (*Invocation) Descriptor() ([]byte, []int)

Deprecated: Use Invocation.ProtoReflect.Descriptor instead.

func (*Invocation) GetConfigSource

func (x *Invocation) GetConfigSource() *ConfigSource

func (*Invocation) GetEnvironment

func (x *Invocation) GetEnvironment() *structpb.Struct

func (*Invocation) GetParameters

func (x *Invocation) GetParameters() *structpb.Struct

func (*Invocation) ProtoMessage

func (*Invocation) ProtoMessage()

func (*Invocation) ProtoReflect

func (x *Invocation) ProtoReflect() protoreflect.Message

func (*Invocation) Reset

func (x *Invocation) Reset()

func (*Invocation) String

func (x *Invocation) String() string

type Material

type Material struct {
	Uri    string            `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
	Digest map[string]string `protobuf:"bytes,2,rep,name=digest,proto3" json:"digest,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
	// contains filtered or unexported fields
}

func (*Material) Descriptor

func (*Material) Descriptor() ([]byte, []int)

Deprecated: Use Material.ProtoReflect.Descriptor instead.

func (*Material) GetDigest

func (x *Material) GetDigest() map[string]string

func (*Material) GetUri

func (x *Material) GetUri() string

func (*Material) ProtoMessage

func (*Material) ProtoMessage()

func (*Material) ProtoReflect

func (x *Material) ProtoReflect() protoreflect.Message

func (*Material) Reset

func (x *Material) Reset()

func (*Material) String

func (x *Material) String() string

type Metadata

type Metadata struct {
	BuildInvocationId string                 `protobuf:"bytes,1,opt,name=build_invocation_id,json=buildInvocationId,proto3" json:"build_invocation_id,omitempty"`
	BuildStartedOn    *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=build_started_on,json=buildStartedOn,proto3" json:"build_started_on,omitempty"`
	BuildFinishedOn   *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=build_finished_on,json=buildFinishedOn,proto3" json:"build_finished_on,omitempty"`
	Completeness      *Completeness          `protobuf:"bytes,4,opt,name=completeness,proto3" json:"completeness,omitempty"`
	Reproducible      bool                   `protobuf:"varint,5,opt,name=reproducible,proto3" json:"reproducible,omitempty"`
	// contains filtered or unexported fields
}

func (*Metadata) Descriptor

func (*Metadata) Descriptor() ([]byte, []int)

Deprecated: Use Metadata.ProtoReflect.Descriptor instead.

func (*Metadata) GetBuildFinishedOn

func (x *Metadata) GetBuildFinishedOn() *timestamppb.Timestamp

func (*Metadata) GetBuildInvocationId

func (x *Metadata) GetBuildInvocationId() string

func (*Metadata) GetBuildStartedOn

func (x *Metadata) GetBuildStartedOn() *timestamppb.Timestamp

func (*Metadata) GetCompleteness

func (x *Metadata) GetCompleteness() *Completeness

func (*Metadata) GetReproducible

func (x *Metadata) GetReproducible() bool

func (*Metadata) ProtoMessage

func (*Metadata) ProtoMessage()

func (*Metadata) ProtoReflect

func (x *Metadata) ProtoReflect() protoreflect.Message

func (*Metadata) Reset

func (x *Metadata) Reset()

func (*Metadata) String

func (x *Metadata) String() string

type Provenance

type Provenance struct {
	Builder     *Builder         `protobuf:"bytes,1,opt,name=builder,proto3" json:"builder,omitempty"`
	BuildType   string           `protobuf:"bytes,2,opt,name=build_type,json=buildType,proto3" json:"build_type,omitempty"`
	Invocation  *Invocation      `protobuf:"bytes,3,opt,name=invocation,proto3" json:"invocation,omitempty"`
	BuildConfig *structpb.Struct `protobuf:"bytes,4,opt,name=build_config,json=buildConfig,proto3" json:"build_config,omitempty"`
	Metadata    *Metadata        `protobuf:"bytes,5,opt,name=metadata,proto3" json:"metadata,omitempty"`
	Materials   []*Material      `protobuf:"bytes,6,rep,name=materials,proto3" json:"materials,omitempty"`
	// contains filtered or unexported fields
}

Proto representation of predicate type https://slsa.dev/provenance/v0.2 Validation of all fields is left to the users of this proto.

func (*Provenance) Descriptor

func (*Provenance) Descriptor() ([]byte, []int)

Deprecated: Use Provenance.ProtoReflect.Descriptor instead.

func (*Provenance) GetBuildConfig

func (x *Provenance) GetBuildConfig() *structpb.Struct

func (*Provenance) GetBuildType

func (x *Provenance) GetBuildType() string

func (*Provenance) GetBuilder

func (x *Provenance) GetBuilder() *Builder

func (*Provenance) GetInvocation

func (x *Provenance) GetInvocation() *Invocation

func (*Provenance) GetMaterials

func (x *Provenance) GetMaterials() []*Material

func (*Provenance) GetMetadata

func (x *Provenance) GetMetadata() *Metadata

func (*Provenance) ProtoMessage

func (*Provenance) ProtoMessage()

func (*Provenance) ProtoReflect

func (x *Provenance) ProtoReflect() protoreflect.Message

func (*Provenance) Reset

func (x *Provenance) Reset()

func (*Provenance) String

func (x *Provenance) String() string

Source Files

provenance.pb.go

Version
v1.1.2 (latest)
Published
Jun 13, 2025
Platform
linux/amd64
Imports
7 packages
Last checked
4 months ago

Tools for package owners.