slsav1

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_slsa_v1_provenance_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type BuildDefinition

type BuildDefinition struct {
	BuildType            string                `protobuf:"bytes,1,opt,name=build_type,json=buildType,proto3" json:"build_type,omitempty"`
	ExternalParameters   *structpb.Struct      `protobuf:"bytes,2,opt,name=external_parameters,json=externalParameters,proto3" json:"external_parameters,omitempty"`
	InternalParameters   *structpb.Struct      `protobuf:"bytes,3,opt,name=internal_parameters,json=internalParameters,proto3" json:"internal_parameters,omitempty"`
	ResolvedDependencies []*ResourceDescriptor `protobuf:"bytes,4,rep,name=resolved_dependencies,json=resolvedDependencies,proto3" json:"resolved_dependencies,omitempty"`
	// contains filtered or unexported fields
}

func (*BuildDefinition) Descriptor deprecated

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

Deprecated: Use BuildDefinition.ProtoReflect.Descriptor instead.

func (*BuildDefinition) GetBuildType

func (x *BuildDefinition) GetBuildType() string

func (*BuildDefinition) GetExternalParameters

func (x *BuildDefinition) GetExternalParameters() *structpb.Struct

func (*BuildDefinition) GetInternalParameters

func (x *BuildDefinition) GetInternalParameters() *structpb.Struct

func (*BuildDefinition) GetResolvedDependencies

func (x *BuildDefinition) GetResolvedDependencies() []*ResourceDescriptor

func (*BuildDefinition) ProtoMessage

func (*BuildDefinition) ProtoMessage()

func (*BuildDefinition) ProtoReflect

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

func (*BuildDefinition) Reset

func (x *BuildDefinition) Reset()

func (*BuildDefinition) String

func (x *BuildDefinition) String() string

type BuildMetadata

type BuildMetadata struct {
	InvocationId string                 `protobuf:"bytes,1,opt,name=invocation_id,json=invocationId,proto3" json:"invocation_id,omitempty"`
	StartedOn    *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=started_on,json=startedOn,proto3" json:"started_on,omitempty"`
	FinishedOn   *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=finished_on,json=finishedOn,proto3" json:"finished_on,omitempty"`
	// contains filtered or unexported fields
}

func (*BuildMetadata) Descriptor deprecated

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

Deprecated: Use BuildMetadata.ProtoReflect.Descriptor instead.

func (*BuildMetadata) GetFinishedOn

func (x *BuildMetadata) GetFinishedOn() *timestamppb.Timestamp

func (*BuildMetadata) GetInvocationId

func (x *BuildMetadata) GetInvocationId() string

func (*BuildMetadata) GetStartedOn

func (x *BuildMetadata) GetStartedOn() *timestamppb.Timestamp

func (*BuildMetadata) ProtoMessage

func (*BuildMetadata) ProtoMessage()

func (*BuildMetadata) ProtoReflect

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

func (*BuildMetadata) Reset

func (x *BuildMetadata) Reset()

func (*BuildMetadata) String

func (x *BuildMetadata) String() string

type Builder

type Builder struct {
	Id                  string                `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Version             map[string]string     `` /* 155-byte string literal not displayed */
	BuilderDependencies []*ResourceDescriptor `protobuf:"bytes,3,rep,name=builder_dependencies,json=builderDependencies,proto3" json:"builder_dependencies,omitempty"`
	// contains filtered or unexported fields
}

func (*Builder) Descriptor deprecated

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

Deprecated: Use Builder.ProtoReflect.Descriptor instead.

func (*Builder) GetBuilderDependencies

func (x *Builder) GetBuilderDependencies() []*ResourceDescriptor

func (*Builder) GetId

func (x *Builder) GetId() string

func (*Builder) GetVersion

func (x *Builder) GetVersion() map[string]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 Provenance

type Provenance struct {
	BuildDefinition *BuildDefinition `protobuf:"bytes,1,opt,name=build_definition,json=buildDefinition,proto3" json:"build_definition,omitempty"`
	RunDetails      *RunDetails      `protobuf:"bytes,2,opt,name=run_details,json=runDetails,proto3" json:"run_details,omitempty"`
	// contains filtered or unexported fields
}

func (*Provenance) Descriptor deprecated

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

Deprecated: Use Provenance.ProtoReflect.Descriptor instead.

func (*Provenance) GetBuildDefinition

func (x *Provenance) GetBuildDefinition() *BuildDefinition

func (*Provenance) GetRunDetails

func (x *Provenance) GetRunDetails() *RunDetails

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

type ResourceDescriptor

type ResourceDescriptor struct {
	Uri              string            `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
	Digest           map[string]string `` /* 153-byte string literal not displayed */
	Name             string            `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	DownloadLocation string            `protobuf:"bytes,4,opt,name=download_location,json=downloadLocation,proto3" json:"download_location,omitempty"`
	MediaType        string            `protobuf:"bytes,5,opt,name=media_type,json=mediaType,proto3" json:"media_type,omitempty"`
	Content          []byte            `protobuf:"bytes,6,opt,name=content,proto3" json:"content,omitempty"`
	Annotations      *structpb.Struct  `protobuf:"bytes,7,opt,name=annotations,proto3" json:"annotations,omitempty"`
	// contains filtered or unexported fields
}

func (*ResourceDescriptor) Descriptor deprecated

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

Deprecated: Use ResourceDescriptor.ProtoReflect.Descriptor instead.

func (*ResourceDescriptor) GetAnnotations

func (x *ResourceDescriptor) GetAnnotations() *structpb.Struct

func (*ResourceDescriptor) GetContent

func (x *ResourceDescriptor) GetContent() []byte

func (*ResourceDescriptor) GetDigest

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

func (*ResourceDescriptor) GetDownloadLocation

func (x *ResourceDescriptor) GetDownloadLocation() string

func (*ResourceDescriptor) GetMediaType

func (x *ResourceDescriptor) GetMediaType() string

func (*ResourceDescriptor) GetName

func (x *ResourceDescriptor) GetName() string

func (*ResourceDescriptor) GetUri

func (x *ResourceDescriptor) GetUri() string

func (*ResourceDescriptor) ProtoMessage

func (*ResourceDescriptor) ProtoMessage()

func (*ResourceDescriptor) ProtoReflect

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

func (*ResourceDescriptor) Reset

func (x *ResourceDescriptor) Reset()

func (*ResourceDescriptor) String

func (x *ResourceDescriptor) String() string

type RunDetails

type RunDetails struct {
	Builder    *Builder              `protobuf:"bytes,1,opt,name=builder,proto3" json:"builder,omitempty"`
	Metadata   *BuildMetadata        `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"`
	Byproducts []*ResourceDescriptor `protobuf:"bytes,3,rep,name=byproducts,proto3" json:"byproducts,omitempty"`
	// contains filtered or unexported fields
}

func (*RunDetails) Descriptor deprecated

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

Deprecated: Use RunDetails.ProtoReflect.Descriptor instead.

func (*RunDetails) GetBuilder

func (x *RunDetails) GetBuilder() *Builder

func (*RunDetails) GetByproducts

func (x *RunDetails) GetByproducts() []*ResourceDescriptor

func (*RunDetails) GetMetadata

func (x *RunDetails) GetMetadata() *BuildMetadata

func (*RunDetails) ProtoMessage

func (*RunDetails) ProtoMessage()

func (*RunDetails) ProtoReflect

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

func (*RunDetails) Reset

func (x *RunDetails) Reset()

func (*RunDetails) String

func (x *RunDetails) String() string

Jump to

Keyboard shortcuts

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