ppsload

package
v2.9.4 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2024 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_internal_ppsload_ppsload_proto protoreflect.FileDescriptor

Functions

func Pipeline

func Pipeline(pachClient *client.APIClient, req *pps.RunLoadTestRequest) (*pps.RunLoadTestResponse, error)

Types

type State

type State struct {
	Branch     *pfs.Branch `protobuf:"bytes,1,opt,name=branch,proto3" json:"branch,omitempty"`
	PfsStateId string      `protobuf:"bytes,2,opt,name=pfs_state_id,json=pfsStateId,proto3" json:"pfs_state_id,omitempty"`
	// contains filtered or unexported fields
}

func (*State) Descriptor deprecated

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

Deprecated: Use State.ProtoReflect.Descriptor instead.

func (*State) GetBranch

func (x *State) GetBranch() *pfs.Branch

func (*State) GetPfsStateId

func (x *State) GetPfsStateId() string

func (*State) MarshalLogObject

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

func (*State) ProtoMessage

func (*State) ProtoMessage()

func (*State) ProtoReflect added in v2.7.0

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

func (*State) Reset

func (x *State) Reset()

func (*State) String

func (x *State) String() string

func (*State) Validate added in v2.8.0

func (m *State) Validate() error

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

func (m *State) ValidateAll() error

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

type StateMultiError added in v2.8.0

type StateMultiError []error

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

func (StateMultiError) AllErrors added in v2.8.0

func (m StateMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (StateMultiError) Error added in v2.8.0

func (m StateMultiError) Error() string

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

type StateValidationError added in v2.8.0

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

StateValidationError is the validation error returned by State.Validate if the designated constraints aren't met.

func (StateValidationError) Cause added in v2.8.0

func (e StateValidationError) Cause() error

Cause function returns cause value.

func (StateValidationError) Error added in v2.8.0

func (e StateValidationError) Error() string

Error satisfies the builtin error interface

func (StateValidationError) ErrorName added in v2.8.0

func (e StateValidationError) ErrorName() string

ErrorName returns error name.

func (StateValidationError) Field added in v2.8.0

func (e StateValidationError) Field() string

Field function returns field value.

func (StateValidationError) Key added in v2.8.0

func (e StateValidationError) Key() bool

Key function returns key value.

func (StateValidationError) Reason added in v2.8.0

func (e StateValidationError) Reason() string

Reason function returns reason value.

Jump to

Keyboard shortcuts

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