package v0

import "github.com/in-toto/attestation/go/predicates/link/v0"

Index

Variables

var File_in_toto_attestation_predicates_link_v0_link_proto protoreflect.FileDescriptor

Types

type Link struct {
	Name        string                   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Command     []string                 `protobuf:"bytes,2,rep,name=command,proto3" json:"command,omitempty"`
	Materials   []*v1.ResourceDescriptor `protobuf:"bytes,3,rep,name=materials,proto3" json:"materials,omitempty"`
	Byproducts  *structpb.Struct         `protobuf:"bytes,4,opt,name=byproducts,proto3" json:"byproducts,omitempty"`
	Environment *structpb.Struct         `protobuf:"bytes,5,opt,name=environment,proto3" json:"environment,omitempty"`
	// contains filtered or unexported fields
}

func (*Link) Descriptor

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

Deprecated: Use Link.ProtoReflect.Descriptor instead.

func (*Link) GetByproducts

func (x *Link) GetByproducts() *structpb.Struct

func (*Link) GetCommand

func (x *Link) GetCommand() []string

func (*Link) GetEnvironment

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

func (*Link) GetMaterials

func (x *Link) GetMaterials() []*v1.ResourceDescriptor

func (*Link) GetName

func (x *Link) GetName() string

func (*Link) ProtoMessage

func (*Link) ProtoMessage()

func (*Link) ProtoReflect

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

func (*Link) Reset

func (x *Link) Reset()

func (*Link) String

func (x *Link) String() string

Source Files

link.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.