Documentation ¶
Index ¶
- Variables
- type Artifact
- func (*Artifact) Descriptor() ([]byte, []int)deprecated
- func (x *Artifact) GetChecksum() string
- func (x *Artifact) GetId() string
- func (x *Artifact) GetNames() []string
- func (*Artifact) ProtoMessage()
- func (x *Artifact) ProtoReflect() protoreflect.Message
- func (x *Artifact) Reset()
- func (x *Artifact) String() string
- type BuildProvenance
- func (*BuildProvenance) Descriptor() ([]byte, []int)deprecated
- func (x *BuildProvenance) GetBuildOptions() map[string]string
- func (x *BuildProvenance) GetBuilderVersion() string
- func (x *BuildProvenance) GetBuiltArtifacts() []*Artifact
- func (x *BuildProvenance) GetCommands() []*Command
- func (x *BuildProvenance) GetCreateTime() *timestamp.Timestamp
- func (x *BuildProvenance) GetCreator() string
- func (x *BuildProvenance) GetEndTime() *timestamp.Timestamp
- func (x *BuildProvenance) GetId() string
- func (x *BuildProvenance) GetLogsUri() string
- func (x *BuildProvenance) GetProjectId() string
- func (x *BuildProvenance) GetSourceProvenance() *Source
- func (x *BuildProvenance) GetStartTime() *timestamp.Timestamp
- func (x *BuildProvenance) GetTriggerId() string
- func (*BuildProvenance) ProtoMessage()
- func (x *BuildProvenance) ProtoReflect() protoreflect.Message
- func (x *BuildProvenance) Reset()
- func (x *BuildProvenance) String() string
- type Command
- func (*Command) Descriptor() ([]byte, []int)deprecated
- func (x *Command) GetArgs() []string
- func (x *Command) GetDir() string
- func (x *Command) GetEnv() []string
- func (x *Command) GetId() string
- func (x *Command) GetName() string
- func (x *Command) GetWaitFor() []string
- func (*Command) ProtoMessage()
- func (x *Command) ProtoReflect() protoreflect.Message
- func (x *Command) Reset()
- func (x *Command) String() string
- type FileHashes
- type Hash
- type Hash_HashType
- func (Hash_HashType) Descriptor() protoreflect.EnumDescriptor
- func (x Hash_HashType) Enum() *Hash_HashType
- func (Hash_HashType) EnumDescriptor() ([]byte, []int)deprecated
- func (x Hash_HashType) Number() protoreflect.EnumNumber
- func (x Hash_HashType) String() string
- func (Hash_HashType) Type() protoreflect.EnumType
- type InTotoSlsaProvenanceV1
- func (*InTotoSlsaProvenanceV1) Descriptor() ([]byte, []int)deprecated
- func (x *InTotoSlsaProvenanceV1) GetPredicate() *InTotoSlsaProvenanceV1_SlsaProvenanceV1
- func (x *InTotoSlsaProvenanceV1) GetPredicateType() string
- func (x *InTotoSlsaProvenanceV1) GetSubject() []*intoto_go_proto.Subject
- func (x *InTotoSlsaProvenanceV1) GetType() string
- func (*InTotoSlsaProvenanceV1) ProtoMessage()
- func (x *InTotoSlsaProvenanceV1) ProtoReflect() protoreflect.Message
- func (x *InTotoSlsaProvenanceV1) Reset()
- func (x *InTotoSlsaProvenanceV1) String() string
- type InTotoSlsaProvenanceV1_BuildDefinition
- func (*InTotoSlsaProvenanceV1_BuildDefinition) Descriptor() ([]byte, []int)deprecated
- func (x *InTotoSlsaProvenanceV1_BuildDefinition) GetBuildType() string
- func (x *InTotoSlsaProvenanceV1_BuildDefinition) GetExternalParameters() *_struct.Struct
- func (x *InTotoSlsaProvenanceV1_BuildDefinition) GetInternalParameters() *_struct.Struct
- func (x *InTotoSlsaProvenanceV1_BuildDefinition) GetResolvedDependencies() []*InTotoSlsaProvenanceV1_ResourceDescriptor
- func (*InTotoSlsaProvenanceV1_BuildDefinition) ProtoMessage()
- func (x *InTotoSlsaProvenanceV1_BuildDefinition) ProtoReflect() protoreflect.Message
- func (x *InTotoSlsaProvenanceV1_BuildDefinition) Reset()
- func (x *InTotoSlsaProvenanceV1_BuildDefinition) String() string
- type InTotoSlsaProvenanceV1_BuildMetadata
- func (*InTotoSlsaProvenanceV1_BuildMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *InTotoSlsaProvenanceV1_BuildMetadata) GetFinishedOn() *timestamp.Timestamp
- func (x *InTotoSlsaProvenanceV1_BuildMetadata) GetInvocationId() string
- func (x *InTotoSlsaProvenanceV1_BuildMetadata) GetStartedOn() *timestamp.Timestamp
- func (*InTotoSlsaProvenanceV1_BuildMetadata) ProtoMessage()
- func (x *InTotoSlsaProvenanceV1_BuildMetadata) ProtoReflect() protoreflect.Message
- func (x *InTotoSlsaProvenanceV1_BuildMetadata) Reset()
- func (x *InTotoSlsaProvenanceV1_BuildMetadata) String() string
- type InTotoSlsaProvenanceV1_ProvenanceBuilder
- func (*InTotoSlsaProvenanceV1_ProvenanceBuilder) Descriptor() ([]byte, []int)deprecated
- func (x *InTotoSlsaProvenanceV1_ProvenanceBuilder) GetBuilderDependencies() []*InTotoSlsaProvenanceV1_ResourceDescriptor
- func (x *InTotoSlsaProvenanceV1_ProvenanceBuilder) GetId() string
- func (x *InTotoSlsaProvenanceV1_ProvenanceBuilder) GetVersion() map[string]string
- func (*InTotoSlsaProvenanceV1_ProvenanceBuilder) ProtoMessage()
- func (x *InTotoSlsaProvenanceV1_ProvenanceBuilder) ProtoReflect() protoreflect.Message
- func (x *InTotoSlsaProvenanceV1_ProvenanceBuilder) Reset()
- func (x *InTotoSlsaProvenanceV1_ProvenanceBuilder) String() string
- type InTotoSlsaProvenanceV1_ResourceDescriptor
- func (*InTotoSlsaProvenanceV1_ResourceDescriptor) Descriptor() ([]byte, []int)deprecated
- func (x *InTotoSlsaProvenanceV1_ResourceDescriptor) GetAnnotations() map[string]*_struct.Value
- func (x *InTotoSlsaProvenanceV1_ResourceDescriptor) GetContent() []byte
- func (x *InTotoSlsaProvenanceV1_ResourceDescriptor) GetDigest() map[string]string
- func (x *InTotoSlsaProvenanceV1_ResourceDescriptor) GetDownloadLocation() string
- func (x *InTotoSlsaProvenanceV1_ResourceDescriptor) GetMediaType() string
- func (x *InTotoSlsaProvenanceV1_ResourceDescriptor) GetName() string
- func (x *InTotoSlsaProvenanceV1_ResourceDescriptor) GetUri() string
- func (*InTotoSlsaProvenanceV1_ResourceDescriptor) ProtoMessage()
- func (x *InTotoSlsaProvenanceV1_ResourceDescriptor) ProtoReflect() protoreflect.Message
- func (x *InTotoSlsaProvenanceV1_ResourceDescriptor) Reset()
- func (x *InTotoSlsaProvenanceV1_ResourceDescriptor) String() string
- type InTotoSlsaProvenanceV1_RunDetails
- func (*InTotoSlsaProvenanceV1_RunDetails) Descriptor() ([]byte, []int)deprecated
- func (x *InTotoSlsaProvenanceV1_RunDetails) GetBuilder() *InTotoSlsaProvenanceV1_ProvenanceBuilder
- func (x *InTotoSlsaProvenanceV1_RunDetails) GetByproducts() []*InTotoSlsaProvenanceV1_ResourceDescriptor
- func (x *InTotoSlsaProvenanceV1_RunDetails) GetMetadata() *InTotoSlsaProvenanceV1_BuildMetadata
- func (*InTotoSlsaProvenanceV1_RunDetails) ProtoMessage()
- func (x *InTotoSlsaProvenanceV1_RunDetails) ProtoReflect() protoreflect.Message
- func (x *InTotoSlsaProvenanceV1_RunDetails) Reset()
- func (x *InTotoSlsaProvenanceV1_RunDetails) String() string
- type InTotoSlsaProvenanceV1_SlsaProvenanceV1
- func (*InTotoSlsaProvenanceV1_SlsaProvenanceV1) Descriptor() ([]byte, []int)deprecated
- func (x *InTotoSlsaProvenanceV1_SlsaProvenanceV1) GetBuildDefinition() *InTotoSlsaProvenanceV1_BuildDefinition
- func (x *InTotoSlsaProvenanceV1_SlsaProvenanceV1) GetRunDetails() *InTotoSlsaProvenanceV1_RunDetails
- func (*InTotoSlsaProvenanceV1_SlsaProvenanceV1) ProtoMessage()
- func (x *InTotoSlsaProvenanceV1_SlsaProvenanceV1) ProtoReflect() protoreflect.Message
- func (x *InTotoSlsaProvenanceV1_SlsaProvenanceV1) Reset()
- func (x *InTotoSlsaProvenanceV1_SlsaProvenanceV1) String() string
- type Source
- func (*Source) Descriptor() ([]byte, []int)deprecated
- func (x *Source) GetAdditionalContexts() []*source_go_proto.SourceContext
- func (x *Source) GetArtifactStorageSourceUri() string
- func (x *Source) GetContext() *source_go_proto.SourceContext
- func (x *Source) GetFileHashes() map[string]*FileHashes
- func (*Source) ProtoMessage()
- func (x *Source) ProtoReflect() protoreflect.Message
- func (x *Source) Reset()
- func (x *Source) String() string
Constants ¶
This section is empty.
Variables ¶
var ( Hash_HashType_name = map[int32]string{ 0: "HASH_TYPE_UNSPECIFIED", 1: "SHA256", } Hash_HashType_value = map[string]int32{ "HASH_TYPE_UNSPECIFIED": 0, "SHA256": 1, } )
Enum value maps for Hash_HashType.
var File_provenance_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Artifact ¶
type Artifact struct { // Hash or checksum value of a binary, or Docker Registry 2.0 digest of a // container. Checksum string `protobuf:"bytes,1,opt,name=checksum,proto3" json:"checksum,omitempty"` // Artifact ID, if any; for container images, this will be a URL by digest // like `gcr.io/projectID/imagename@sha256:123456`. Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // Related artifact names. This may be the path to a binary or jar file, or in // the case of a container build, the name used to push the container image to // Google Container Registry, as presented to `docker push`. Note that a // single Artifact ID can have multiple names, for example if two tags are // applied to one image. Names []string `protobuf:"bytes,3,rep,name=names,proto3" json:"names,omitempty"` // contains filtered or unexported fields }
Artifact describes a build product.
func (*Artifact) Descriptor
deprecated
func (*Artifact) GetChecksum ¶
func (*Artifact) ProtoMessage ¶
func (*Artifact) ProtoMessage()
func (*Artifact) ProtoReflect ¶ added in v0.2.0
func (x *Artifact) ProtoReflect() protoreflect.Message
type BuildProvenance ¶
type BuildProvenance struct { // Required. Unique identifier of the build. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // ID of the project. ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Commands requested by the build. Commands []*Command `protobuf:"bytes,3,rep,name=commands,proto3" json:"commands,omitempty"` // Output of the build. BuiltArtifacts []*Artifact `protobuf:"bytes,4,rep,name=built_artifacts,json=builtArtifacts,proto3" json:"built_artifacts,omitempty"` // Time at which the build was created. CreateTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Time at which execution of the build was started. StartTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` // Time at which execution of the build was finished. EndTime *timestamp.Timestamp `protobuf:"bytes,7,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // E-mail address of the user who initiated this build. Note that this was the // user's e-mail address at the time the build was initiated; this address may // not represent the same end-user for all time. Creator string `protobuf:"bytes,8,opt,name=creator,proto3" json:"creator,omitempty"` // URI where any logs for this provenance were written. LogsUri string `protobuf:"bytes,9,opt,name=logs_uri,json=logsUri,proto3" json:"logs_uri,omitempty"` // Details of the Source input to the build. SourceProvenance *Source `protobuf:"bytes,10,opt,name=source_provenance,json=sourceProvenance,proto3" json:"source_provenance,omitempty"` // Trigger identifier if the build was triggered automatically; empty if not. TriggerId string `protobuf:"bytes,11,opt,name=trigger_id,json=triggerId,proto3" json:"trigger_id,omitempty"` // Special options applied to this build. This is a catch-all field where // build providers can enter any desired additional details. BuildOptions map[string]string `` /* 186-byte string literal not displayed */ // Version string of the builder at the time this build was executed. BuilderVersion string `protobuf:"bytes,13,opt,name=builder_version,json=builderVersion,proto3" json:"builder_version,omitempty"` // contains filtered or unexported fields }
Provenance of a build. Contains all information needed to verify the full details about the build from source to completion.
func (*BuildProvenance) Descriptor
deprecated
func (*BuildProvenance) Descriptor() ([]byte, []int)
Deprecated: Use BuildProvenance.ProtoReflect.Descriptor instead.
func (*BuildProvenance) GetBuildOptions ¶
func (x *BuildProvenance) GetBuildOptions() map[string]string
func (*BuildProvenance) GetBuilderVersion ¶
func (x *BuildProvenance) GetBuilderVersion() string
func (*BuildProvenance) GetBuiltArtifacts ¶
func (x *BuildProvenance) GetBuiltArtifacts() []*Artifact
func (*BuildProvenance) GetCommands ¶
func (x *BuildProvenance) GetCommands() []*Command
func (*BuildProvenance) GetCreateTime ¶
func (x *BuildProvenance) GetCreateTime() *timestamp.Timestamp
func (*BuildProvenance) GetCreator ¶
func (x *BuildProvenance) GetCreator() string
func (*BuildProvenance) GetEndTime ¶
func (x *BuildProvenance) GetEndTime() *timestamp.Timestamp
func (*BuildProvenance) GetId ¶
func (x *BuildProvenance) GetId() string
func (*BuildProvenance) GetLogsUri ¶
func (x *BuildProvenance) GetLogsUri() string
func (*BuildProvenance) GetProjectId ¶
func (x *BuildProvenance) GetProjectId() string
func (*BuildProvenance) GetSourceProvenance ¶
func (x *BuildProvenance) GetSourceProvenance() *Source
func (*BuildProvenance) GetStartTime ¶
func (x *BuildProvenance) GetStartTime() *timestamp.Timestamp
func (*BuildProvenance) GetTriggerId ¶
func (x *BuildProvenance) GetTriggerId() string
func (*BuildProvenance) ProtoMessage ¶
func (*BuildProvenance) ProtoMessage()
func (*BuildProvenance) ProtoReflect ¶ added in v0.2.0
func (x *BuildProvenance) ProtoReflect() protoreflect.Message
func (*BuildProvenance) Reset ¶
func (x *BuildProvenance) Reset()
func (*BuildProvenance) String ¶
func (x *BuildProvenance) String() string
type Command ¶
type Command struct { // Required. Name of the command, as presented on the command line, or if the // command is packaged as a Docker container, as presented to `docker pull`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Environment variables set before running this command. Env []string `protobuf:"bytes,2,rep,name=env,proto3" json:"env,omitempty"` // Command-line arguments used when executing this command. Args []string `protobuf:"bytes,3,rep,name=args,proto3" json:"args,omitempty"` // Working directory (relative to project source root) used when running this // command. Dir string `protobuf:"bytes,4,opt,name=dir,proto3" json:"dir,omitempty"` // Optional unique identifier for this command, used in wait_for to reference // this command as a dependency. Id string `protobuf:"bytes,5,opt,name=id,proto3" json:"id,omitempty"` // The ID(s) of the command(s) that this command depends on. WaitFor []string `protobuf:"bytes,6,rep,name=wait_for,json=waitFor,proto3" json:"wait_for,omitempty"` // contains filtered or unexported fields }
Command describes a step performed as part of the build pipeline.
func (*Command) Descriptor
deprecated
func (*Command) GetWaitFor ¶
func (*Command) ProtoMessage ¶
func (*Command) ProtoMessage()
func (*Command) ProtoReflect ¶ added in v0.2.0
func (x *Command) ProtoReflect() protoreflect.Message
type FileHashes ¶
type FileHashes struct { // Required. Collection of file hashes. FileHash []*Hash `protobuf:"bytes,1,rep,name=file_hash,json=fileHash,proto3" json:"file_hash,omitempty"` // contains filtered or unexported fields }
Container message for hashes of byte content of files, used in source messages to verify integrity of source input to the build.
func (*FileHashes) Descriptor
deprecated
func (*FileHashes) Descriptor() ([]byte, []int)
Deprecated: Use FileHashes.ProtoReflect.Descriptor instead.
func (*FileHashes) GetFileHash ¶
func (x *FileHashes) GetFileHash() []*Hash
func (*FileHashes) ProtoMessage ¶
func (*FileHashes) ProtoMessage()
func (*FileHashes) ProtoReflect ¶ added in v0.2.0
func (x *FileHashes) ProtoReflect() protoreflect.Message
func (*FileHashes) Reset ¶
func (x *FileHashes) Reset()
func (*FileHashes) String ¶
func (x *FileHashes) String() string
type Hash ¶
type Hash struct { // Required. The type of hash that was performed. Type Hash_HashType `protobuf:"varint,1,opt,name=type,proto3,enum=grafeas.v1beta1.provenance.Hash_HashType" json:"type,omitempty"` // Required. The hash value. Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
Container message for hash values.
func (*Hash) Descriptor
deprecated
func (*Hash) GetType ¶
func (x *Hash) GetType() Hash_HashType
func (*Hash) ProtoMessage ¶
func (*Hash) ProtoMessage()
func (*Hash) ProtoReflect ¶ added in v0.2.0
func (x *Hash) ProtoReflect() protoreflect.Message
type Hash_HashType ¶
type Hash_HashType int32
Specifies the hash algorithm.
const ( // Unknown. Hash_HASH_TYPE_UNSPECIFIED Hash_HashType = 0 // A SHA-256 hash. Hash_SHA256 Hash_HashType = 1 )
func (Hash_HashType) Descriptor ¶ added in v0.2.0
func (Hash_HashType) Descriptor() protoreflect.EnumDescriptor
func (Hash_HashType) Enum ¶ added in v0.2.0
func (x Hash_HashType) Enum() *Hash_HashType
func (Hash_HashType) EnumDescriptor
deprecated
func (Hash_HashType) EnumDescriptor() ([]byte, []int)
Deprecated: Use Hash_HashType.Descriptor instead.
func (Hash_HashType) Number ¶ added in v0.2.0
func (x Hash_HashType) Number() protoreflect.EnumNumber
func (Hash_HashType) String ¶
func (x Hash_HashType) String() string
func (Hash_HashType) Type ¶ added in v0.2.0
func (Hash_HashType) Type() protoreflect.EnumType
type InTotoSlsaProvenanceV1 ¶ added in v0.2.3
type InTotoSlsaProvenanceV1 struct { // InToto spec defined at https://github.com/in-toto/attestation/tree/main/spec#statement Type string `protobuf:"bytes,1,opt,name=type,json=_type,proto3" json:"type,omitempty"` Subject []*intoto_go_proto.Subject `protobuf:"bytes,2,rep,name=subject,proto3" json:"subject,omitempty"` PredicateType string `protobuf:"bytes,3,opt,name=predicate_type,json=predicateType,proto3" json:"predicate_type,omitempty"` Predicate *InTotoSlsaProvenanceV1_SlsaProvenanceV1 `protobuf:"bytes,4,opt,name=predicate,proto3" json:"predicate,omitempty"` // contains filtered or unexported fields }
func (*InTotoSlsaProvenanceV1) Descriptor
deprecated
added in
v0.2.3
func (*InTotoSlsaProvenanceV1) Descriptor() ([]byte, []int)
Deprecated: Use InTotoSlsaProvenanceV1.ProtoReflect.Descriptor instead.
func (*InTotoSlsaProvenanceV1) GetPredicate ¶ added in v0.2.3
func (x *InTotoSlsaProvenanceV1) GetPredicate() *InTotoSlsaProvenanceV1_SlsaProvenanceV1
func (*InTotoSlsaProvenanceV1) GetPredicateType ¶ added in v0.2.3
func (x *InTotoSlsaProvenanceV1) GetPredicateType() string
func (*InTotoSlsaProvenanceV1) GetSubject ¶ added in v0.2.3
func (x *InTotoSlsaProvenanceV1) GetSubject() []*intoto_go_proto.Subject
func (*InTotoSlsaProvenanceV1) GetType ¶ added in v0.2.3
func (x *InTotoSlsaProvenanceV1) GetType() string
func (*InTotoSlsaProvenanceV1) ProtoMessage ¶ added in v0.2.3
func (*InTotoSlsaProvenanceV1) ProtoMessage()
func (*InTotoSlsaProvenanceV1) ProtoReflect ¶ added in v0.2.3
func (x *InTotoSlsaProvenanceV1) ProtoReflect() protoreflect.Message
func (*InTotoSlsaProvenanceV1) Reset ¶ added in v0.2.3
func (x *InTotoSlsaProvenanceV1) Reset()
func (*InTotoSlsaProvenanceV1) String ¶ added in v0.2.3
func (x *InTotoSlsaProvenanceV1) String() string
type InTotoSlsaProvenanceV1_BuildDefinition ¶ added in v0.2.3
type InTotoSlsaProvenanceV1_BuildDefinition struct { BuildType string `protobuf:"bytes,1,opt,name=build_type,json=buildType,proto3" json:"build_type,omitempty"` ExternalParameters *_struct.Struct `protobuf:"bytes,2,opt,name=external_parameters,json=externalParameters,proto3" json:"external_parameters,omitempty"` InternalParameters *_struct.Struct `protobuf:"bytes,3,opt,name=internal_parameters,json=internalParameters,proto3" json:"internal_parameters,omitempty"` ResolvedDependencies []*InTotoSlsaProvenanceV1_ResourceDescriptor `protobuf:"bytes,4,rep,name=resolved_dependencies,json=resolvedDependencies,proto3" json:"resolved_dependencies,omitempty"` // contains filtered or unexported fields }
func (*InTotoSlsaProvenanceV1_BuildDefinition) Descriptor
deprecated
added in
v0.2.3
func (*InTotoSlsaProvenanceV1_BuildDefinition) Descriptor() ([]byte, []int)
Deprecated: Use InTotoSlsaProvenanceV1_BuildDefinition.ProtoReflect.Descriptor instead.
func (*InTotoSlsaProvenanceV1_BuildDefinition) GetBuildType ¶ added in v0.2.3
func (x *InTotoSlsaProvenanceV1_BuildDefinition) GetBuildType() string
func (*InTotoSlsaProvenanceV1_BuildDefinition) GetExternalParameters ¶ added in v0.2.3
func (x *InTotoSlsaProvenanceV1_BuildDefinition) GetExternalParameters() *_struct.Struct
func (*InTotoSlsaProvenanceV1_BuildDefinition) GetInternalParameters ¶ added in v0.2.3
func (x *InTotoSlsaProvenanceV1_BuildDefinition) GetInternalParameters() *_struct.Struct
func (*InTotoSlsaProvenanceV1_BuildDefinition) GetResolvedDependencies ¶ added in v0.2.3
func (x *InTotoSlsaProvenanceV1_BuildDefinition) GetResolvedDependencies() []*InTotoSlsaProvenanceV1_ResourceDescriptor
func (*InTotoSlsaProvenanceV1_BuildDefinition) ProtoMessage ¶ added in v0.2.3
func (*InTotoSlsaProvenanceV1_BuildDefinition) ProtoMessage()
func (*InTotoSlsaProvenanceV1_BuildDefinition) ProtoReflect ¶ added in v0.2.3
func (x *InTotoSlsaProvenanceV1_BuildDefinition) ProtoReflect() protoreflect.Message
func (*InTotoSlsaProvenanceV1_BuildDefinition) Reset ¶ added in v0.2.3
func (x *InTotoSlsaProvenanceV1_BuildDefinition) Reset()
func (*InTotoSlsaProvenanceV1_BuildDefinition) String ¶ added in v0.2.3
func (x *InTotoSlsaProvenanceV1_BuildDefinition) String() string
type InTotoSlsaProvenanceV1_BuildMetadata ¶ added in v0.2.3
type InTotoSlsaProvenanceV1_BuildMetadata struct { InvocationId string `protobuf:"bytes,1,opt,name=invocation_id,json=invocationId,proto3" json:"invocation_id,omitempty"` StartedOn *timestamp.Timestamp `protobuf:"bytes,2,opt,name=started_on,json=startedOn,proto3" json:"started_on,omitempty"` FinishedOn *timestamp.Timestamp `protobuf:"bytes,3,opt,name=finished_on,json=finishedOn,proto3" json:"finished_on,omitempty"` // contains filtered or unexported fields }
func (*InTotoSlsaProvenanceV1_BuildMetadata) Descriptor
deprecated
added in
v0.2.3
func (*InTotoSlsaProvenanceV1_BuildMetadata) Descriptor() ([]byte, []int)
Deprecated: Use InTotoSlsaProvenanceV1_BuildMetadata.ProtoReflect.Descriptor instead.
func (*InTotoSlsaProvenanceV1_BuildMetadata) GetFinishedOn ¶ added in v0.2.3
func (x *InTotoSlsaProvenanceV1_BuildMetadata) GetFinishedOn() *timestamp.Timestamp
func (*InTotoSlsaProvenanceV1_BuildMetadata) GetInvocationId ¶ added in v0.2.3
func (x *InTotoSlsaProvenanceV1_BuildMetadata) GetInvocationId() string
func (*InTotoSlsaProvenanceV1_BuildMetadata) GetStartedOn ¶ added in v0.2.3
func (x *InTotoSlsaProvenanceV1_BuildMetadata) GetStartedOn() *timestamp.Timestamp
func (*InTotoSlsaProvenanceV1_BuildMetadata) ProtoMessage ¶ added in v0.2.3
func (*InTotoSlsaProvenanceV1_BuildMetadata) ProtoMessage()
func (*InTotoSlsaProvenanceV1_BuildMetadata) ProtoReflect ¶ added in v0.2.3
func (x *InTotoSlsaProvenanceV1_BuildMetadata) ProtoReflect() protoreflect.Message
func (*InTotoSlsaProvenanceV1_BuildMetadata) Reset ¶ added in v0.2.3
func (x *InTotoSlsaProvenanceV1_BuildMetadata) Reset()
func (*InTotoSlsaProvenanceV1_BuildMetadata) String ¶ added in v0.2.3
func (x *InTotoSlsaProvenanceV1_BuildMetadata) String() string
type InTotoSlsaProvenanceV1_ProvenanceBuilder ¶ added in v0.2.3
type InTotoSlsaProvenanceV1_ProvenanceBuilder struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Version map[string]string `` /* 155-byte string literal not displayed */ BuilderDependencies []*InTotoSlsaProvenanceV1_ResourceDescriptor `protobuf:"bytes,3,rep,name=builder_dependencies,json=builderDependencies,proto3" json:"builder_dependencies,omitempty"` // contains filtered or unexported fields }
func (*InTotoSlsaProvenanceV1_ProvenanceBuilder) Descriptor
deprecated
added in
v0.2.3
func (*InTotoSlsaProvenanceV1_ProvenanceBuilder) Descriptor() ([]byte, []int)
Deprecated: Use InTotoSlsaProvenanceV1_ProvenanceBuilder.ProtoReflect.Descriptor instead.
func (*InTotoSlsaProvenanceV1_ProvenanceBuilder) GetBuilderDependencies ¶ added in v0.2.3
func (x *InTotoSlsaProvenanceV1_ProvenanceBuilder) GetBuilderDependencies() []*InTotoSlsaProvenanceV1_ResourceDescriptor
func (*InTotoSlsaProvenanceV1_ProvenanceBuilder) GetId ¶ added in v0.2.3
func (x *InTotoSlsaProvenanceV1_ProvenanceBuilder) GetId() string
func (*InTotoSlsaProvenanceV1_ProvenanceBuilder) GetVersion ¶ added in v0.2.3
func (x *InTotoSlsaProvenanceV1_ProvenanceBuilder) GetVersion() map[string]string
func (*InTotoSlsaProvenanceV1_ProvenanceBuilder) ProtoMessage ¶ added in v0.2.3
func (*InTotoSlsaProvenanceV1_ProvenanceBuilder) ProtoMessage()
func (*InTotoSlsaProvenanceV1_ProvenanceBuilder) ProtoReflect ¶ added in v0.2.3
func (x *InTotoSlsaProvenanceV1_ProvenanceBuilder) ProtoReflect() protoreflect.Message
func (*InTotoSlsaProvenanceV1_ProvenanceBuilder) Reset ¶ added in v0.2.3
func (x *InTotoSlsaProvenanceV1_ProvenanceBuilder) Reset()
func (*InTotoSlsaProvenanceV1_ProvenanceBuilder) String ¶ added in v0.2.3
func (x *InTotoSlsaProvenanceV1_ProvenanceBuilder) String() string
type InTotoSlsaProvenanceV1_ResourceDescriptor ¶ added in v0.2.3
type InTotoSlsaProvenanceV1_ResourceDescriptor struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Uri string `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"` Digest map[string]string `` /* 153-byte string literal not displayed */ Content []byte `protobuf:"bytes,4,opt,name=content,proto3" json:"content,omitempty"` DownloadLocation string `protobuf:"bytes,5,opt,name=download_location,json=downloadLocation,proto3" json:"download_location,omitempty"` MediaType string `protobuf:"bytes,6,opt,name=media_type,json=mediaType,proto3" json:"media_type,omitempty"` Annotations map[string]*_struct.Value `` /* 163-byte string literal not displayed */ // contains filtered or unexported fields }
func (*InTotoSlsaProvenanceV1_ResourceDescriptor) Descriptor
deprecated
added in
v0.2.3
func (*InTotoSlsaProvenanceV1_ResourceDescriptor) Descriptor() ([]byte, []int)
Deprecated: Use InTotoSlsaProvenanceV1_ResourceDescriptor.ProtoReflect.Descriptor instead.
func (*InTotoSlsaProvenanceV1_ResourceDescriptor) GetAnnotations ¶ added in v0.2.3
func (x *InTotoSlsaProvenanceV1_ResourceDescriptor) GetAnnotations() map[string]*_struct.Value
func (*InTotoSlsaProvenanceV1_ResourceDescriptor) GetContent ¶ added in v0.2.3
func (x *InTotoSlsaProvenanceV1_ResourceDescriptor) GetContent() []byte
func (*InTotoSlsaProvenanceV1_ResourceDescriptor) GetDigest ¶ added in v0.2.3
func (x *InTotoSlsaProvenanceV1_ResourceDescriptor) GetDigest() map[string]string
func (*InTotoSlsaProvenanceV1_ResourceDescriptor) GetDownloadLocation ¶ added in v0.2.3
func (x *InTotoSlsaProvenanceV1_ResourceDescriptor) GetDownloadLocation() string
func (*InTotoSlsaProvenanceV1_ResourceDescriptor) GetMediaType ¶ added in v0.2.3
func (x *InTotoSlsaProvenanceV1_ResourceDescriptor) GetMediaType() string
func (*InTotoSlsaProvenanceV1_ResourceDescriptor) GetName ¶ added in v0.2.3
func (x *InTotoSlsaProvenanceV1_ResourceDescriptor) GetName() string
func (*InTotoSlsaProvenanceV1_ResourceDescriptor) GetUri ¶ added in v0.2.3
func (x *InTotoSlsaProvenanceV1_ResourceDescriptor) GetUri() string
func (*InTotoSlsaProvenanceV1_ResourceDescriptor) ProtoMessage ¶ added in v0.2.3
func (*InTotoSlsaProvenanceV1_ResourceDescriptor) ProtoMessage()
func (*InTotoSlsaProvenanceV1_ResourceDescriptor) ProtoReflect ¶ added in v0.2.3
func (x *InTotoSlsaProvenanceV1_ResourceDescriptor) ProtoReflect() protoreflect.Message
func (*InTotoSlsaProvenanceV1_ResourceDescriptor) Reset ¶ added in v0.2.3
func (x *InTotoSlsaProvenanceV1_ResourceDescriptor) Reset()
func (*InTotoSlsaProvenanceV1_ResourceDescriptor) String ¶ added in v0.2.3
func (x *InTotoSlsaProvenanceV1_ResourceDescriptor) String() string
type InTotoSlsaProvenanceV1_RunDetails ¶ added in v0.2.3
type InTotoSlsaProvenanceV1_RunDetails struct { Builder *InTotoSlsaProvenanceV1_ProvenanceBuilder `protobuf:"bytes,1,opt,name=builder,proto3" json:"builder,omitempty"` Metadata *InTotoSlsaProvenanceV1_BuildMetadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` Byproducts []*InTotoSlsaProvenanceV1_ResourceDescriptor `protobuf:"bytes,3,rep,name=byproducts,proto3" json:"byproducts,omitempty"` // contains filtered or unexported fields }
func (*InTotoSlsaProvenanceV1_RunDetails) Descriptor
deprecated
added in
v0.2.3
func (*InTotoSlsaProvenanceV1_RunDetails) Descriptor() ([]byte, []int)
Deprecated: Use InTotoSlsaProvenanceV1_RunDetails.ProtoReflect.Descriptor instead.
func (*InTotoSlsaProvenanceV1_RunDetails) GetBuilder ¶ added in v0.2.3
func (x *InTotoSlsaProvenanceV1_RunDetails) GetBuilder() *InTotoSlsaProvenanceV1_ProvenanceBuilder
func (*InTotoSlsaProvenanceV1_RunDetails) GetByproducts ¶ added in v0.2.3
func (x *InTotoSlsaProvenanceV1_RunDetails) GetByproducts() []*InTotoSlsaProvenanceV1_ResourceDescriptor
func (*InTotoSlsaProvenanceV1_RunDetails) GetMetadata ¶ added in v0.2.3
func (x *InTotoSlsaProvenanceV1_RunDetails) GetMetadata() *InTotoSlsaProvenanceV1_BuildMetadata
func (*InTotoSlsaProvenanceV1_RunDetails) ProtoMessage ¶ added in v0.2.3
func (*InTotoSlsaProvenanceV1_RunDetails) ProtoMessage()
func (*InTotoSlsaProvenanceV1_RunDetails) ProtoReflect ¶ added in v0.2.3
func (x *InTotoSlsaProvenanceV1_RunDetails) ProtoReflect() protoreflect.Message
func (*InTotoSlsaProvenanceV1_RunDetails) Reset ¶ added in v0.2.3
func (x *InTotoSlsaProvenanceV1_RunDetails) Reset()
func (*InTotoSlsaProvenanceV1_RunDetails) String ¶ added in v0.2.3
func (x *InTotoSlsaProvenanceV1_RunDetails) String() string
type InTotoSlsaProvenanceV1_SlsaProvenanceV1 ¶ added in v0.2.3
type InTotoSlsaProvenanceV1_SlsaProvenanceV1 struct { BuildDefinition *InTotoSlsaProvenanceV1_BuildDefinition `protobuf:"bytes,1,opt,name=build_definition,json=buildDefinition,proto3" json:"build_definition,omitempty"` RunDetails *InTotoSlsaProvenanceV1_RunDetails `protobuf:"bytes,2,opt,name=run_details,json=runDetails,proto3" json:"run_details,omitempty"` // contains filtered or unexported fields }
Keep in sync with schema at https://github.com/slsa-framework/slsa/blob/main/docs/provenance/schema/v1/provenance.proto Builder renamed to ProvenanceBuilder because of Java conflicts.
func (*InTotoSlsaProvenanceV1_SlsaProvenanceV1) Descriptor
deprecated
added in
v0.2.3
func (*InTotoSlsaProvenanceV1_SlsaProvenanceV1) Descriptor() ([]byte, []int)
Deprecated: Use InTotoSlsaProvenanceV1_SlsaProvenanceV1.ProtoReflect.Descriptor instead.
func (*InTotoSlsaProvenanceV1_SlsaProvenanceV1) GetBuildDefinition ¶ added in v0.2.3
func (x *InTotoSlsaProvenanceV1_SlsaProvenanceV1) GetBuildDefinition() *InTotoSlsaProvenanceV1_BuildDefinition
func (*InTotoSlsaProvenanceV1_SlsaProvenanceV1) GetRunDetails ¶ added in v0.2.3
func (x *InTotoSlsaProvenanceV1_SlsaProvenanceV1) GetRunDetails() *InTotoSlsaProvenanceV1_RunDetails
func (*InTotoSlsaProvenanceV1_SlsaProvenanceV1) ProtoMessage ¶ added in v0.2.3
func (*InTotoSlsaProvenanceV1_SlsaProvenanceV1) ProtoMessage()
func (*InTotoSlsaProvenanceV1_SlsaProvenanceV1) ProtoReflect ¶ added in v0.2.3
func (x *InTotoSlsaProvenanceV1_SlsaProvenanceV1) ProtoReflect() protoreflect.Message
func (*InTotoSlsaProvenanceV1_SlsaProvenanceV1) Reset ¶ added in v0.2.3
func (x *InTotoSlsaProvenanceV1_SlsaProvenanceV1) Reset()
func (*InTotoSlsaProvenanceV1_SlsaProvenanceV1) String ¶ added in v0.2.3
func (x *InTotoSlsaProvenanceV1_SlsaProvenanceV1) String() string
type Source ¶
type Source struct { // If provided, the input binary artifacts for the build came from this // location. ArtifactStorageSourceUri string `` /* 137-byte string literal not displayed */ // Hash(es) of the build source, which can be used to verify that the original // source integrity was maintained in the build. // // The keys to this map are file paths used as build source and the values // contain the hash values for those files. // // If the build source came in a single package such as a gzipped tarfile // (.tar.gz), the FileHash will be for the single path to that file. FileHashes map[string]*FileHashes `` /* 179-byte string literal not displayed */ // If provided, the source code used for the build came from this location. Context *source_go_proto.SourceContext `protobuf:"bytes,3,opt,name=context,proto3" json:"context,omitempty"` // If provided, some of the source code used for the build may be found in // these locations, in the case where the source repository had multiple // remotes or submodules. This list will not include the context specified in // the context field. AdditionalContexts []*source_go_proto.SourceContext `protobuf:"bytes,4,rep,name=additional_contexts,json=additionalContexts,proto3" json:"additional_contexts,omitempty"` // contains filtered or unexported fields }
Source describes the location of the source used for the build.
func (*Source) Descriptor
deprecated
func (*Source) GetAdditionalContexts ¶
func (x *Source) GetAdditionalContexts() []*source_go_proto.SourceContext
func (*Source) GetArtifactStorageSourceUri ¶
func (*Source) GetContext ¶
func (x *Source) GetContext() *source_go_proto.SourceContext
func (*Source) GetFileHashes ¶
func (x *Source) GetFileHashes() map[string]*FileHashes
func (*Source) ProtoMessage ¶
func (*Source) ProtoMessage()
func (*Source) ProtoReflect ¶ added in v0.2.0
func (x *Source) ProtoReflect() protoreflect.Message