Documentation ¶
Index ¶
- Variables
- type Attestation
- func (*Attestation) Descriptor() ([]byte, []int)deprecated
- func (x *Attestation) GetEnvVars() map[string]string
- func (x *Attestation) GetFinishedAt() *timestamppb.Timestamp
- func (x *Attestation) GetInitializedAt() *timestamppb.Timestamp
- func (x *Attestation) GetMaterials() map[string]*Attestation_Material
- func (x *Attestation) GetRunnerType() v1.CraftingSchema_Runner_RunnerType
- func (x *Attestation) GetRunnerUrl() string
- func (x *Attestation) GetWorkflow() *WorkflowMetadata
- func (*Attestation) ProtoMessage()
- func (x *Attestation) ProtoReflect() protoreflect.Message
- func (x *Attestation) Reset()
- func (x *Attestation) String() string
- func (m *Attestation) Validate() error
- func (m *Attestation) ValidateAll() error
- type AttestationMultiError
- type AttestationValidationError
- func (e AttestationValidationError) Cause() error
- func (e AttestationValidationError) Error() string
- func (e AttestationValidationError) ErrorName() string
- func (e AttestationValidationError) Field() string
- func (e AttestationValidationError) Key() bool
- func (e AttestationValidationError) Reason() string
- type Attestation_Material
- func (*Attestation_Material) Descriptor() ([]byte, []int)deprecated
- func (x *Attestation_Material) GetAddedAt() *timestamppb.Timestamp
- func (x *Attestation_Material) GetArtifact() *Attestation_Material_Artifact
- func (x *Attestation_Material) GetContainerImage() *Attestation_Material_ContainerImage
- func (m *Attestation_Material) GetM() isAttestation_Material_M
- func (x *Attestation_Material) GetMaterialType() v1.CraftingSchema_Material_MaterialType
- func (x *Attestation_Material) GetString_() *Attestation_Material_KeyVal
- func (x *Attestation_Material) GetUploadedToCas() bool
- func (m *Attestation_Material) NormalizedOutput() *NormalizedMaterialOutput
- func (*Attestation_Material) ProtoMessage()
- func (x *Attestation_Material) ProtoReflect() protoreflect.Message
- func (x *Attestation_Material) Reset()
- func (x *Attestation_Material) String() string
- func (m *Attestation_Material) Validate() error
- func (m *Attestation_Material) ValidateAll() error
- type Attestation_MaterialMultiError
- type Attestation_MaterialValidationError
- func (e Attestation_MaterialValidationError) Cause() error
- func (e Attestation_MaterialValidationError) Error() string
- func (e Attestation_MaterialValidationError) ErrorName() string
- func (e Attestation_MaterialValidationError) Field() string
- func (e Attestation_MaterialValidationError) Key() bool
- func (e Attestation_MaterialValidationError) Reason() string
- type Attestation_Material_Artifact
- func (*Attestation_Material_Artifact) Descriptor() ([]byte, []int)deprecated
- func (x *Attestation_Material_Artifact) GetDigest() string
- func (x *Attestation_Material_Artifact) GetId() string
- func (x *Attestation_Material_Artifact) GetIsSubject() bool
- func (x *Attestation_Material_Artifact) GetName() string
- func (*Attestation_Material_Artifact) ProtoMessage()
- func (x *Attestation_Material_Artifact) ProtoReflect() protoreflect.Message
- func (x *Attestation_Material_Artifact) Reset()
- func (x *Attestation_Material_Artifact) String() string
- func (m *Attestation_Material_Artifact) Validate() error
- func (m *Attestation_Material_Artifact) ValidateAll() error
- type Attestation_Material_ArtifactMultiError
- type Attestation_Material_ArtifactValidationError
- func (e Attestation_Material_ArtifactValidationError) Cause() error
- func (e Attestation_Material_ArtifactValidationError) Error() string
- func (e Attestation_Material_ArtifactValidationError) ErrorName() string
- func (e Attestation_Material_ArtifactValidationError) Field() string
- func (e Attestation_Material_ArtifactValidationError) Key() bool
- func (e Attestation_Material_ArtifactValidationError) Reason() string
- type Attestation_Material_Artifact_
- type Attestation_Material_ContainerImage
- func (*Attestation_Material_ContainerImage) Descriptor() ([]byte, []int)deprecated
- func (x *Attestation_Material_ContainerImage) GetDigest() string
- func (x *Attestation_Material_ContainerImage) GetId() string
- func (x *Attestation_Material_ContainerImage) GetIsSubject() bool
- func (x *Attestation_Material_ContainerImage) GetName() string
- func (*Attestation_Material_ContainerImage) ProtoMessage()
- func (x *Attestation_Material_ContainerImage) ProtoReflect() protoreflect.Message
- func (x *Attestation_Material_ContainerImage) Reset()
- func (x *Attestation_Material_ContainerImage) String() string
- func (m *Attestation_Material_ContainerImage) Validate() error
- func (m *Attestation_Material_ContainerImage) ValidateAll() error
- type Attestation_Material_ContainerImageMultiError
- type Attestation_Material_ContainerImageValidationError
- func (e Attestation_Material_ContainerImageValidationError) Cause() error
- func (e Attestation_Material_ContainerImageValidationError) Error() string
- func (e Attestation_Material_ContainerImageValidationError) ErrorName() string
- func (e Attestation_Material_ContainerImageValidationError) Field() string
- func (e Attestation_Material_ContainerImageValidationError) Key() bool
- func (e Attestation_Material_ContainerImageValidationError) Reason() string
- type Attestation_Material_ContainerImage_
- type Attestation_Material_KeyVal
- func (*Attestation_Material_KeyVal) Descriptor() ([]byte, []int)deprecated
- func (x *Attestation_Material_KeyVal) GetId() string
- func (x *Attestation_Material_KeyVal) GetValue() string
- func (*Attestation_Material_KeyVal) ProtoMessage()
- func (x *Attestation_Material_KeyVal) ProtoReflect() protoreflect.Message
- func (x *Attestation_Material_KeyVal) Reset()
- func (x *Attestation_Material_KeyVal) String() string
- func (m *Attestation_Material_KeyVal) Validate() error
- func (m *Attestation_Material_KeyVal) ValidateAll() error
- type Attestation_Material_KeyValMultiError
- type Attestation_Material_KeyValValidationError
- func (e Attestation_Material_KeyValValidationError) Cause() error
- func (e Attestation_Material_KeyValValidationError) Error() string
- func (e Attestation_Material_KeyValValidationError) ErrorName() string
- func (e Attestation_Material_KeyValValidationError) Field() string
- func (e Attestation_Material_KeyValValidationError) Key() bool
- func (e Attestation_Material_KeyValValidationError) Reason() string
- type Attestation_Material_String_
- type CraftingState
- func (*CraftingState) Descriptor() ([]byte, []int)deprecated
- func (x *CraftingState) GetAttestation() *Attestation
- func (x *CraftingState) GetDryRun() bool
- func (x *CraftingState) GetInputSchema() *v1.CraftingSchema
- func (*CraftingState) ProtoMessage()
- func (x *CraftingState) ProtoReflect() protoreflect.Message
- func (x *CraftingState) Reset()
- func (x *CraftingState) String() string
- func (m *CraftingState) Validate() error
- func (m *CraftingState) ValidateAll() error
- func (state *CraftingState) ValidateComplete() error
- type CraftingStateMultiError
- type CraftingStateValidationError
- func (e CraftingStateValidationError) Cause() error
- func (e CraftingStateValidationError) Error() string
- func (e CraftingStateValidationError) ErrorName() string
- func (e CraftingStateValidationError) Field() string
- func (e CraftingStateValidationError) Key() bool
- func (e CraftingStateValidationError) Reason() string
- type NormalizedMaterialOutput
- type WorkflowMetadata
- func (*WorkflowMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *WorkflowMetadata) GetName() string
- func (x *WorkflowMetadata) GetProject() string
- func (x *WorkflowMetadata) GetSchemaRevision() string
- func (x *WorkflowMetadata) GetTeam() string
- func (x *WorkflowMetadata) GetWorkflowId() string
- func (x *WorkflowMetadata) GetWorkflowRunId() string
- func (*WorkflowMetadata) ProtoMessage()
- func (x *WorkflowMetadata) ProtoReflect() protoreflect.Message
- func (x *WorkflowMetadata) Reset()
- func (x *WorkflowMetadata) String() string
- func (m *WorkflowMetadata) Validate() error
- func (m *WorkflowMetadata) ValidateAll() error
- type WorkflowMetadataMultiError
- type WorkflowMetadataValidationError
- func (e WorkflowMetadataValidationError) Cause() error
- func (e WorkflowMetadataValidationError) Error() string
- func (e WorkflowMetadataValidationError) ErrorName() string
- func (e WorkflowMetadataValidationError) Field() string
- func (e WorkflowMetadataValidationError) Key() bool
- func (e WorkflowMetadataValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var File_attestation_v1_crafting_state_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Attestation ¶
type Attestation struct { InitializedAt *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=initialized_at,json=initializedAt,proto3" json:"initialized_at,omitempty"` FinishedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=finished_at,json=finishedAt,proto3" json:"finished_at,omitempty"` Workflow *WorkflowMetadata `protobuf:"bytes,3,opt,name=workflow,proto3" json:"workflow,omitempty"` Materials map[string]*Attestation_Material `` /* 159-byte string literal not displayed */ // List of env variables EnvVars map[string]string `` /* 170-byte string literal not displayed */ RunnerUrl string `protobuf:"bytes,7,opt,name=runner_url,json=runnerUrl,proto3" json:"runner_url,omitempty"` RunnerType v1.CraftingSchema_Runner_RunnerType `` /* 150-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Attestation) Descriptor
deprecated
func (*Attestation) Descriptor() ([]byte, []int)
Deprecated: Use Attestation.ProtoReflect.Descriptor instead.
func (*Attestation) GetEnvVars ¶
func (x *Attestation) GetEnvVars() map[string]string
func (*Attestation) GetFinishedAt ¶
func (x *Attestation) GetFinishedAt() *timestamppb.Timestamp
func (*Attestation) GetInitializedAt ¶
func (x *Attestation) GetInitializedAt() *timestamppb.Timestamp
func (*Attestation) GetMaterials ¶
func (x *Attestation) GetMaterials() map[string]*Attestation_Material
func (*Attestation) GetRunnerType ¶
func (x *Attestation) GetRunnerType() v1.CraftingSchema_Runner_RunnerType
func (*Attestation) GetRunnerUrl ¶
func (x *Attestation) GetRunnerUrl() string
func (*Attestation) GetWorkflow ¶
func (x *Attestation) GetWorkflow() *WorkflowMetadata
func (*Attestation) ProtoMessage ¶
func (*Attestation) ProtoMessage()
func (*Attestation) ProtoReflect ¶
func (x *Attestation) ProtoReflect() protoreflect.Message
func (*Attestation) Reset ¶
func (x *Attestation) Reset()
func (*Attestation) String ¶
func (x *Attestation) String() string
func (*Attestation) Validate ¶
func (m *Attestation) Validate() error
Validate checks the field values on Attestation with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Attestation) ValidateAll ¶
func (m *Attestation) ValidateAll() error
ValidateAll checks the field values on Attestation with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AttestationMultiError, or nil if none found.
type AttestationMultiError ¶
type AttestationMultiError []error
AttestationMultiError is an error wrapping multiple validation errors returned by Attestation.ValidateAll() if the designated constraints aren't met.
func (AttestationMultiError) AllErrors ¶
func (m AttestationMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AttestationMultiError) Error ¶
func (m AttestationMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AttestationValidationError ¶
type AttestationValidationError struct {
// contains filtered or unexported fields
}
AttestationValidationError is the validation error returned by Attestation.Validate if the designated constraints aren't met.
func (AttestationValidationError) Cause ¶
func (e AttestationValidationError) Cause() error
Cause function returns cause value.
func (AttestationValidationError) Error ¶
func (e AttestationValidationError) Error() string
Error satisfies the builtin error interface
func (AttestationValidationError) ErrorName ¶
func (e AttestationValidationError) ErrorName() string
ErrorName returns error name.
func (AttestationValidationError) Field ¶
func (e AttestationValidationError) Field() string
Field function returns field value.
func (AttestationValidationError) Key ¶
func (e AttestationValidationError) Key() bool
Key function returns key value.
func (AttestationValidationError) Reason ¶
func (e AttestationValidationError) Reason() string
Reason function returns reason value.
type Attestation_Material ¶
type Attestation_Material struct { // Types that are assignable to M: // // *Attestation_Material_String_ // *Attestation_Material_ContainerImage_ // *Attestation_Material_Artifact_ M isAttestation_Material_M `protobuf_oneof:"m"` AddedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=added_at,json=addedAt,proto3" json:"added_at,omitempty"` MaterialType v1.CraftingSchema_Material_MaterialType `` /* 160-byte string literal not displayed */ // Whether the material has been uploaded to the CAS UploadedToCas bool `protobuf:"varint,7,opt,name=uploaded_to_cas,json=uploadedToCas,proto3" json:"uploaded_to_cas,omitempty"` // contains filtered or unexported fields }
func (*Attestation_Material) Descriptor
deprecated
func (*Attestation_Material) Descriptor() ([]byte, []int)
Deprecated: Use Attestation_Material.ProtoReflect.Descriptor instead.
func (*Attestation_Material) GetAddedAt ¶
func (x *Attestation_Material) GetAddedAt() *timestamppb.Timestamp
func (*Attestation_Material) GetArtifact ¶
func (x *Attestation_Material) GetArtifact() *Attestation_Material_Artifact
func (*Attestation_Material) GetContainerImage ¶
func (x *Attestation_Material) GetContainerImage() *Attestation_Material_ContainerImage
func (*Attestation_Material) GetM ¶
func (m *Attestation_Material) GetM() isAttestation_Material_M
func (*Attestation_Material) GetMaterialType ¶
func (x *Attestation_Material) GetMaterialType() v1.CraftingSchema_Material_MaterialType
func (*Attestation_Material) GetString_ ¶
func (x *Attestation_Material) GetString_() *Attestation_Material_KeyVal
func (*Attestation_Material) GetUploadedToCas ¶ added in v0.11.1
func (x *Attestation_Material) GetUploadedToCas() bool
func (*Attestation_Material) NormalizedOutput ¶ added in v0.9.0
func (m *Attestation_Material) NormalizedOutput() *NormalizedMaterialOutput
func (*Attestation_Material) ProtoMessage ¶
func (*Attestation_Material) ProtoMessage()
func (*Attestation_Material) ProtoReflect ¶
func (x *Attestation_Material) ProtoReflect() protoreflect.Message
func (*Attestation_Material) Reset ¶
func (x *Attestation_Material) Reset()
func (*Attestation_Material) String ¶
func (x *Attestation_Material) String() string
func (*Attestation_Material) Validate ¶
func (m *Attestation_Material) Validate() error
Validate checks the field values on Attestation_Material with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Attestation_Material) ValidateAll ¶
func (m *Attestation_Material) ValidateAll() error
ValidateAll checks the field values on Attestation_Material with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Attestation_MaterialMultiError, or nil if none found.
type Attestation_MaterialMultiError ¶
type Attestation_MaterialMultiError []error
Attestation_MaterialMultiError is an error wrapping multiple validation errors returned by Attestation_Material.ValidateAll() if the designated constraints aren't met.
func (Attestation_MaterialMultiError) AllErrors ¶
func (m Attestation_MaterialMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Attestation_MaterialMultiError) Error ¶
func (m Attestation_MaterialMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Attestation_MaterialValidationError ¶
type Attestation_MaterialValidationError struct {
// contains filtered or unexported fields
}
Attestation_MaterialValidationError is the validation error returned by Attestation_Material.Validate if the designated constraints aren't met.
func (Attestation_MaterialValidationError) Cause ¶
func (e Attestation_MaterialValidationError) Cause() error
Cause function returns cause value.
func (Attestation_MaterialValidationError) Error ¶
func (e Attestation_MaterialValidationError) Error() string
Error satisfies the builtin error interface
func (Attestation_MaterialValidationError) ErrorName ¶
func (e Attestation_MaterialValidationError) ErrorName() string
ErrorName returns error name.
func (Attestation_MaterialValidationError) Field ¶
func (e Attestation_MaterialValidationError) Field() string
Field function returns field value.
func (Attestation_MaterialValidationError) Key ¶
func (e Attestation_MaterialValidationError) Key() bool
Key function returns key value.
func (Attestation_MaterialValidationError) Reason ¶
func (e Attestation_MaterialValidationError) Reason() string
Reason function returns reason value.
type Attestation_Material_Artifact ¶
type Attestation_Material_Artifact struct { // ID of the artifact Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // filename, use for record purposes Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // the digest is enough to retrieve the artifact since it's stored in a CAS // which also has annotated the fileName Digest string `protobuf:"bytes,3,opt,name=digest,proto3" json:"digest,omitempty"` IsSubject bool `protobuf:"varint,4,opt,name=is_subject,json=isSubject,proto3" json:"is_subject,omitempty"` // contains filtered or unexported fields }
func (*Attestation_Material_Artifact) Descriptor
deprecated
func (*Attestation_Material_Artifact) Descriptor() ([]byte, []int)
Deprecated: Use Attestation_Material_Artifact.ProtoReflect.Descriptor instead.
func (*Attestation_Material_Artifact) GetDigest ¶
func (x *Attestation_Material_Artifact) GetDigest() string
func (*Attestation_Material_Artifact) GetId ¶
func (x *Attestation_Material_Artifact) GetId() string
func (*Attestation_Material_Artifact) GetIsSubject ¶
func (x *Attestation_Material_Artifact) GetIsSubject() bool
func (*Attestation_Material_Artifact) GetName ¶
func (x *Attestation_Material_Artifact) GetName() string
func (*Attestation_Material_Artifact) ProtoMessage ¶
func (*Attestation_Material_Artifact) ProtoMessage()
func (*Attestation_Material_Artifact) ProtoReflect ¶
func (x *Attestation_Material_Artifact) ProtoReflect() protoreflect.Message
func (*Attestation_Material_Artifact) Reset ¶
func (x *Attestation_Material_Artifact) Reset()
func (*Attestation_Material_Artifact) String ¶
func (x *Attestation_Material_Artifact) String() string
func (*Attestation_Material_Artifact) Validate ¶
func (m *Attestation_Material_Artifact) Validate() error
Validate checks the field values on Attestation_Material_Artifact with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Attestation_Material_Artifact) ValidateAll ¶
func (m *Attestation_Material_Artifact) ValidateAll() error
ValidateAll checks the field values on Attestation_Material_Artifact with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Attestation_Material_ArtifactMultiError, or nil if none found.
type Attestation_Material_ArtifactMultiError ¶
type Attestation_Material_ArtifactMultiError []error
Attestation_Material_ArtifactMultiError is an error wrapping multiple validation errors returned by Attestation_Material_Artifact.ValidateAll() if the designated constraints aren't met.
func (Attestation_Material_ArtifactMultiError) AllErrors ¶
func (m Attestation_Material_ArtifactMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Attestation_Material_ArtifactMultiError) Error ¶
func (m Attestation_Material_ArtifactMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Attestation_Material_ArtifactValidationError ¶
type Attestation_Material_ArtifactValidationError struct {
// contains filtered or unexported fields
}
Attestation_Material_ArtifactValidationError is the validation error returned by Attestation_Material_Artifact.Validate if the designated constraints aren't met.
func (Attestation_Material_ArtifactValidationError) Cause ¶
func (e Attestation_Material_ArtifactValidationError) Cause() error
Cause function returns cause value.
func (Attestation_Material_ArtifactValidationError) Error ¶
func (e Attestation_Material_ArtifactValidationError) Error() string
Error satisfies the builtin error interface
func (Attestation_Material_ArtifactValidationError) ErrorName ¶
func (e Attestation_Material_ArtifactValidationError) ErrorName() string
ErrorName returns error name.
func (Attestation_Material_ArtifactValidationError) Field ¶
func (e Attestation_Material_ArtifactValidationError) Field() string
Field function returns field value.
func (Attestation_Material_ArtifactValidationError) Key ¶
func (e Attestation_Material_ArtifactValidationError) Key() bool
Key function returns key value.
func (Attestation_Material_ArtifactValidationError) Reason ¶
func (e Attestation_Material_ArtifactValidationError) Reason() string
Reason function returns reason value.
type Attestation_Material_Artifact_ ¶
type Attestation_Material_Artifact_ struct {
Artifact *Attestation_Material_Artifact `protobuf:"bytes,3,opt,name=artifact,proto3,oneof"`
}
type Attestation_Material_ContainerImage ¶
type Attestation_Material_ContainerImage struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Digest string `protobuf:"bytes,3,opt,name=digest,proto3" json:"digest,omitempty"` IsSubject bool `protobuf:"varint,4,opt,name=is_subject,json=isSubject,proto3" json:"is_subject,omitempty"` // contains filtered or unexported fields }
func (*Attestation_Material_ContainerImage) Descriptor
deprecated
func (*Attestation_Material_ContainerImage) Descriptor() ([]byte, []int)
Deprecated: Use Attestation_Material_ContainerImage.ProtoReflect.Descriptor instead.
func (*Attestation_Material_ContainerImage) GetDigest ¶
func (x *Attestation_Material_ContainerImage) GetDigest() string
func (*Attestation_Material_ContainerImage) GetId ¶
func (x *Attestation_Material_ContainerImage) GetId() string
func (*Attestation_Material_ContainerImage) GetIsSubject ¶
func (x *Attestation_Material_ContainerImage) GetIsSubject() bool
func (*Attestation_Material_ContainerImage) GetName ¶
func (x *Attestation_Material_ContainerImage) GetName() string
func (*Attestation_Material_ContainerImage) ProtoMessage ¶
func (*Attestation_Material_ContainerImage) ProtoMessage()
func (*Attestation_Material_ContainerImage) ProtoReflect ¶
func (x *Attestation_Material_ContainerImage) ProtoReflect() protoreflect.Message
func (*Attestation_Material_ContainerImage) Reset ¶
func (x *Attestation_Material_ContainerImage) Reset()
func (*Attestation_Material_ContainerImage) String ¶
func (x *Attestation_Material_ContainerImage) String() string
func (*Attestation_Material_ContainerImage) Validate ¶
func (m *Attestation_Material_ContainerImage) Validate() error
Validate checks the field values on Attestation_Material_ContainerImage with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Attestation_Material_ContainerImage) ValidateAll ¶
func (m *Attestation_Material_ContainerImage) ValidateAll() error
ValidateAll checks the field values on Attestation_Material_ContainerImage with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Attestation_Material_ContainerImageMultiError, or nil if none found.
type Attestation_Material_ContainerImageMultiError ¶
type Attestation_Material_ContainerImageMultiError []error
Attestation_Material_ContainerImageMultiError is an error wrapping multiple validation errors returned by Attestation_Material_ContainerImage.ValidateAll() if the designated constraints aren't met.
func (Attestation_Material_ContainerImageMultiError) AllErrors ¶
func (m Attestation_Material_ContainerImageMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Attestation_Material_ContainerImageMultiError) Error ¶
func (m Attestation_Material_ContainerImageMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Attestation_Material_ContainerImageValidationError ¶
type Attestation_Material_ContainerImageValidationError struct {
// contains filtered or unexported fields
}
Attestation_Material_ContainerImageValidationError is the validation error returned by Attestation_Material_ContainerImage.Validate if the designated constraints aren't met.
func (Attestation_Material_ContainerImageValidationError) Cause ¶
func (e Attestation_Material_ContainerImageValidationError) Cause() error
Cause function returns cause value.
func (Attestation_Material_ContainerImageValidationError) Error ¶
func (e Attestation_Material_ContainerImageValidationError) Error() string
Error satisfies the builtin error interface
func (Attestation_Material_ContainerImageValidationError) ErrorName ¶
func (e Attestation_Material_ContainerImageValidationError) ErrorName() string
ErrorName returns error name.
func (Attestation_Material_ContainerImageValidationError) Field ¶
func (e Attestation_Material_ContainerImageValidationError) Field() string
Field function returns field value.
func (Attestation_Material_ContainerImageValidationError) Key ¶
func (e Attestation_Material_ContainerImageValidationError) Key() bool
Key function returns key value.
func (Attestation_Material_ContainerImageValidationError) Reason ¶
func (e Attestation_Material_ContainerImageValidationError) Reason() string
Reason function returns reason value.
type Attestation_Material_ContainerImage_ ¶
type Attestation_Material_ContainerImage_ struct {
ContainerImage *Attestation_Material_ContainerImage `protobuf:"bytes,2,opt,name=container_image,json=containerImage,proto3,oneof"`
}
type Attestation_Material_KeyVal ¶
type Attestation_Material_KeyVal struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*Attestation_Material_KeyVal) Descriptor
deprecated
func (*Attestation_Material_KeyVal) Descriptor() ([]byte, []int)
Deprecated: Use Attestation_Material_KeyVal.ProtoReflect.Descriptor instead.
func (*Attestation_Material_KeyVal) GetId ¶
func (x *Attestation_Material_KeyVal) GetId() string
func (*Attestation_Material_KeyVal) GetValue ¶
func (x *Attestation_Material_KeyVal) GetValue() string
func (*Attestation_Material_KeyVal) ProtoMessage ¶
func (*Attestation_Material_KeyVal) ProtoMessage()
func (*Attestation_Material_KeyVal) ProtoReflect ¶
func (x *Attestation_Material_KeyVal) ProtoReflect() protoreflect.Message
func (*Attestation_Material_KeyVal) Reset ¶
func (x *Attestation_Material_KeyVal) Reset()
func (*Attestation_Material_KeyVal) String ¶
func (x *Attestation_Material_KeyVal) String() string
func (*Attestation_Material_KeyVal) Validate ¶
func (m *Attestation_Material_KeyVal) Validate() error
Validate checks the field values on Attestation_Material_KeyVal with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Attestation_Material_KeyVal) ValidateAll ¶
func (m *Attestation_Material_KeyVal) ValidateAll() error
ValidateAll checks the field values on Attestation_Material_KeyVal with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Attestation_Material_KeyValMultiError, or nil if none found.
type Attestation_Material_KeyValMultiError ¶
type Attestation_Material_KeyValMultiError []error
Attestation_Material_KeyValMultiError is an error wrapping multiple validation errors returned by Attestation_Material_KeyVal.ValidateAll() if the designated constraints aren't met.
func (Attestation_Material_KeyValMultiError) AllErrors ¶
func (m Attestation_Material_KeyValMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Attestation_Material_KeyValMultiError) Error ¶
func (m Attestation_Material_KeyValMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Attestation_Material_KeyValValidationError ¶
type Attestation_Material_KeyValValidationError struct {
// contains filtered or unexported fields
}
Attestation_Material_KeyValValidationError is the validation error returned by Attestation_Material_KeyVal.Validate if the designated constraints aren't met.
func (Attestation_Material_KeyValValidationError) Cause ¶
func (e Attestation_Material_KeyValValidationError) Cause() error
Cause function returns cause value.
func (Attestation_Material_KeyValValidationError) Error ¶
func (e Attestation_Material_KeyValValidationError) Error() string
Error satisfies the builtin error interface
func (Attestation_Material_KeyValValidationError) ErrorName ¶
func (e Attestation_Material_KeyValValidationError) ErrorName() string
ErrorName returns error name.
func (Attestation_Material_KeyValValidationError) Field ¶
func (e Attestation_Material_KeyValValidationError) Field() string
Field function returns field value.
func (Attestation_Material_KeyValValidationError) Key ¶
func (e Attestation_Material_KeyValValidationError) Key() bool
Key function returns key value.
func (Attestation_Material_KeyValValidationError) Reason ¶
func (e Attestation_Material_KeyValValidationError) Reason() string
Reason function returns reason value.
type Attestation_Material_String_ ¶
type Attestation_Material_String_ struct {
String_ *Attestation_Material_KeyVal `protobuf:"bytes,1,opt,name=string,proto3,oneof"`
}
type CraftingState ¶
type CraftingState struct { InputSchema *v1.CraftingSchema `protobuf:"bytes,1,opt,name=input_schema,json=inputSchema,proto3" json:"input_schema,omitempty"` Attestation *Attestation `protobuf:"bytes,2,opt,name=attestation,proto3" json:"attestation,omitempty"` DryRun bool `protobuf:"varint,3,opt,name=dry_run,json=dryRun,proto3" json:"dry_run,omitempty"` // contains filtered or unexported fields }
Intermediate information that will get stored in the system while the run is being executed
func (*CraftingState) Descriptor
deprecated
func (*CraftingState) Descriptor() ([]byte, []int)
Deprecated: Use CraftingState.ProtoReflect.Descriptor instead.
func (*CraftingState) GetAttestation ¶
func (x *CraftingState) GetAttestation() *Attestation
func (*CraftingState) GetDryRun ¶
func (x *CraftingState) GetDryRun() bool
func (*CraftingState) GetInputSchema ¶
func (x *CraftingState) GetInputSchema() *v1.CraftingSchema
func (*CraftingState) ProtoMessage ¶
func (*CraftingState) ProtoMessage()
func (*CraftingState) ProtoReflect ¶
func (x *CraftingState) ProtoReflect() protoreflect.Message
func (*CraftingState) Reset ¶
func (x *CraftingState) Reset()
func (*CraftingState) String ¶
func (x *CraftingState) String() string
func (*CraftingState) Validate ¶
func (m *CraftingState) Validate() error
Validate checks the field values on CraftingState with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CraftingState) ValidateAll ¶
func (m *CraftingState) ValidateAll() error
ValidateAll checks the field values on CraftingState with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CraftingStateMultiError, or nil if none found.
func (*CraftingState) ValidateComplete ¶
func (state *CraftingState) ValidateComplete() error
ValidateComplete makes sure that the crafting state has been completed before it gets passed to the renderer
type CraftingStateMultiError ¶
type CraftingStateMultiError []error
CraftingStateMultiError is an error wrapping multiple validation errors returned by CraftingState.ValidateAll() if the designated constraints aren't met.
func (CraftingStateMultiError) AllErrors ¶
func (m CraftingStateMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CraftingStateMultiError) Error ¶
func (m CraftingStateMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CraftingStateValidationError ¶
type CraftingStateValidationError struct {
// contains filtered or unexported fields
}
CraftingStateValidationError is the validation error returned by CraftingState.Validate if the designated constraints aren't met.
func (CraftingStateValidationError) Cause ¶
func (e CraftingStateValidationError) Cause() error
Cause function returns cause value.
func (CraftingStateValidationError) Error ¶
func (e CraftingStateValidationError) Error() string
Error satisfies the builtin error interface
func (CraftingStateValidationError) ErrorName ¶
func (e CraftingStateValidationError) ErrorName() string
ErrorName returns error name.
func (CraftingStateValidationError) Field ¶
func (e CraftingStateValidationError) Field() string
Field function returns field value.
func (CraftingStateValidationError) Key ¶
func (e CraftingStateValidationError) Key() bool
Key function returns key value.
func (CraftingStateValidationError) Reason ¶
func (e CraftingStateValidationError) Reason() string
Reason function returns reason value.
type NormalizedMaterialOutput ¶ added in v0.9.0
type WorkflowMetadata ¶
type WorkflowMetadata struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"` Team string `protobuf:"bytes,3,opt,name=team,proto3" json:"team,omitempty"` WorkflowId string `protobuf:"bytes,5,opt,name=workflow_id,json=workflowId,proto3" json:"workflow_id,omitempty"` WorkflowRunId string `protobuf:"bytes,6,opt,name=workflow_run_id,json=workflowRunId,proto3" json:"workflow_run_id,omitempty"` // Not required since we might be doing a dry-run SchemaRevision string `protobuf:"bytes,7,opt,name=schema_revision,json=schemaRevision,proto3" json:"schema_revision,omitempty"` // contains filtered or unexported fields }
func (*WorkflowMetadata) Descriptor
deprecated
func (*WorkflowMetadata) Descriptor() ([]byte, []int)
Deprecated: Use WorkflowMetadata.ProtoReflect.Descriptor instead.
func (*WorkflowMetadata) GetName ¶
func (x *WorkflowMetadata) GetName() string
func (*WorkflowMetadata) GetProject ¶
func (x *WorkflowMetadata) GetProject() string
func (*WorkflowMetadata) GetSchemaRevision ¶
func (x *WorkflowMetadata) GetSchemaRevision() string
func (*WorkflowMetadata) GetTeam ¶
func (x *WorkflowMetadata) GetTeam() string
func (*WorkflowMetadata) GetWorkflowId ¶
func (x *WorkflowMetadata) GetWorkflowId() string
func (*WorkflowMetadata) GetWorkflowRunId ¶
func (x *WorkflowMetadata) GetWorkflowRunId() string
func (*WorkflowMetadata) ProtoMessage ¶
func (*WorkflowMetadata) ProtoMessage()
func (*WorkflowMetadata) ProtoReflect ¶
func (x *WorkflowMetadata) ProtoReflect() protoreflect.Message
func (*WorkflowMetadata) Reset ¶
func (x *WorkflowMetadata) Reset()
func (*WorkflowMetadata) String ¶
func (x *WorkflowMetadata) String() string
func (*WorkflowMetadata) Validate ¶
func (m *WorkflowMetadata) Validate() error
Validate checks the field values on WorkflowMetadata with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*WorkflowMetadata) ValidateAll ¶
func (m *WorkflowMetadata) ValidateAll() error
ValidateAll checks the field values on WorkflowMetadata with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in WorkflowMetadataMultiError, or nil if none found.
type WorkflowMetadataMultiError ¶
type WorkflowMetadataMultiError []error
WorkflowMetadataMultiError is an error wrapping multiple validation errors returned by WorkflowMetadata.ValidateAll() if the designated constraints aren't met.
func (WorkflowMetadataMultiError) AllErrors ¶
func (m WorkflowMetadataMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (WorkflowMetadataMultiError) Error ¶
func (m WorkflowMetadataMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type WorkflowMetadataValidationError ¶
type WorkflowMetadataValidationError struct {
// contains filtered or unexported fields
}
WorkflowMetadataValidationError is the validation error returned by WorkflowMetadata.Validate if the designated constraints aren't met.
func (WorkflowMetadataValidationError) Cause ¶
func (e WorkflowMetadataValidationError) Cause() error
Cause function returns cause value.
func (WorkflowMetadataValidationError) Error ¶
func (e WorkflowMetadataValidationError) Error() string
Error satisfies the builtin error interface
func (WorkflowMetadataValidationError) ErrorName ¶
func (e WorkflowMetadataValidationError) ErrorName() string
ErrorName returns error name.
func (WorkflowMetadataValidationError) Field ¶
func (e WorkflowMetadataValidationError) Field() string
Field function returns field value.
func (WorkflowMetadataValidationError) Key ¶
func (e WorkflowMetadataValidationError) Key() bool
Key function returns key value.
func (WorkflowMetadataValidationError) Reason ¶
func (e WorkflowMetadataValidationError) Reason() string
Reason function returns reason value.