v2_5_0

package
v2.8.0-nightly.20231102 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2023 License: Apache-2.0 Imports: 40 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultPrefix string = "pachyderm/1.7.0"

Variables

View Source
var File_internal_clusterstate_v2_5_0_commit_info_proto protoreflect.FileDescriptor

Functions

func Migrate

func Migrate(state migrations.State) migrations.State

Types

type CommitInfo

type CommitInfo struct {
	Commit *pfs.Commit       `protobuf:"bytes,1,opt,name=commit,proto3" json:"commit,omitempty"`
	Origin *pfs.CommitOrigin `protobuf:"bytes,2,opt,name=origin,proto3" json:"origin,omitempty"`
	// description is a user-provided script describing this commit
	Description         string                  `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	ParentCommit        *pfs.Commit             `protobuf:"bytes,4,opt,name=parent_commit,json=parentCommit,proto3" json:"parent_commit,omitempty"`
	ChildCommits        []*pfs.Commit           `protobuf:"bytes,5,rep,name=child_commits,json=childCommits,proto3" json:"child_commits,omitempty"`
	Started             *timestamppb.Timestamp  `protobuf:"bytes,6,opt,name=started,proto3" json:"started,omitempty"`
	Finishing           *timestamppb.Timestamp  `protobuf:"bytes,7,opt,name=finishing,proto3" json:"finishing,omitempty"`
	Finished            *timestamppb.Timestamp  `protobuf:"bytes,8,opt,name=finished,proto3" json:"finished,omitempty"`
	DirectProvenance    []*pfs.Branch           `protobuf:"bytes,9,rep,name=direct_provenance,json=directProvenance,proto3" json:"direct_provenance,omitempty"`
	Error               string                  `protobuf:"bytes,10,opt,name=error,proto3" json:"error,omitempty"`
	SizeBytesUpperBound int64                   `protobuf:"varint,11,opt,name=size_bytes_upper_bound,json=sizeBytesUpperBound,proto3" json:"size_bytes_upper_bound,omitempty"`
	Details             *pfs.CommitInfo_Details `protobuf:"bytes,12,opt,name=details,proto3" json:"details,omitempty"`
	// contains filtered or unexported fields
}

CommitInfo is the main data structure representing a commit in etcd

func (*CommitInfo) Descriptor deprecated

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

Deprecated: Use CommitInfo.ProtoReflect.Descriptor instead.

func (*CommitInfo) GetChildCommits

func (x *CommitInfo) GetChildCommits() []*pfs.Commit

func (*CommitInfo) GetCommit

func (x *CommitInfo) GetCommit() *pfs.Commit

func (*CommitInfo) GetDescription

func (x *CommitInfo) GetDescription() string

func (*CommitInfo) GetDetails

func (x *CommitInfo) GetDetails() *pfs.CommitInfo_Details

func (*CommitInfo) GetDirectProvenance

func (x *CommitInfo) GetDirectProvenance() []*pfs.Branch

func (*CommitInfo) GetError

func (x *CommitInfo) GetError() string

func (*CommitInfo) GetFinished

func (x *CommitInfo) GetFinished() *timestamppb.Timestamp

func (*CommitInfo) GetFinishing

func (x *CommitInfo) GetFinishing() *timestamppb.Timestamp

func (*CommitInfo) GetOrigin

func (x *CommitInfo) GetOrigin() *pfs.CommitOrigin

func (*CommitInfo) GetParentCommit

func (x *CommitInfo) GetParentCommit() *pfs.Commit

func (*CommitInfo) GetSizeBytesUpperBound

func (x *CommitInfo) GetSizeBytesUpperBound() int64

func (*CommitInfo) GetStarted

func (x *CommitInfo) GetStarted() *timestamppb.Timestamp

func (*CommitInfo) MarshalLogObject added in v2.7.0

func (x *CommitInfo) MarshalLogObject(enc zapcore.ObjectEncoder) error

func (*CommitInfo) ProtoMessage

func (*CommitInfo) ProtoMessage()

func (*CommitInfo) ProtoReflect added in v2.7.0

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

func (*CommitInfo) Reset

func (x *CommitInfo) Reset()

func (*CommitInfo) String

func (x *CommitInfo) String() string

func (*CommitInfo) Validate added in v2.8.0

func (m *CommitInfo) Validate() error

Validate checks the field values on CommitInfo 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 (*CommitInfo) ValidateAll added in v2.8.0

func (m *CommitInfo) ValidateAll() error

ValidateAll checks the field values on CommitInfo 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 CommitInfoMultiError, or nil if none found.

type CommitInfoMultiError added in v2.8.0

type CommitInfoMultiError []error

CommitInfoMultiError is an error wrapping multiple validation errors returned by CommitInfo.ValidateAll() if the designated constraints aren't met.

func (CommitInfoMultiError) AllErrors added in v2.8.0

func (m CommitInfoMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CommitInfoMultiError) Error added in v2.8.0

func (m CommitInfoMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type CommitInfoValidationError added in v2.8.0

type CommitInfoValidationError struct {
	// contains filtered or unexported fields
}

CommitInfoValidationError is the validation error returned by CommitInfo.Validate if the designated constraints aren't met.

func (CommitInfoValidationError) Cause added in v2.8.0

func (e CommitInfoValidationError) Cause() error

Cause function returns cause value.

func (CommitInfoValidationError) Error added in v2.8.0

Error satisfies the builtin error interface

func (CommitInfoValidationError) ErrorName added in v2.8.0

func (e CommitInfoValidationError) ErrorName() string

ErrorName returns error name.

func (CommitInfoValidationError) Field added in v2.8.0

Field function returns field value.

func (CommitInfoValidationError) Key added in v2.8.0

Key function returns key value.

func (CommitInfoValidationError) Reason added in v2.8.0

func (e CommitInfoValidationError) Reason() string

Reason function returns reason value.

type ErrExists

type ErrExists struct {
	Type string
	Key  string
	// contains filtered or unexported fields
}

ErrExists indicates that a key was found to exist when it was expected not to.

func (ErrExists) Error

func (err ErrExists) Error() string

func (ErrExists) Is

func (err ErrExists) Is(other error) bool

type ErrNotFound

type ErrNotFound struct {
	Type string
	Key  string
	// contains filtered or unexported fields
}

ErrNotFound indicates that a key was not found when it was expected to exist.

func (ErrNotFound) Error

func (err ErrNotFound) Error() string

func (ErrNotFound) Is

func (err ErrNotFound) Is(other error) bool

Jump to

Keyboard shortcuts

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