Documentation ¶
Index ¶
- Variables
- func Pipeline(pachClient *client.APIClient, req *pps.RunLoadTestRequest) (*pps.RunLoadTestResponse, error)
- type State
- func (*State) Descriptor() ([]byte, []int)deprecated
- func (x *State) GetBranch() *pfs.Branch
- func (x *State) GetPfsStateId() string
- func (x *State) MarshalLogObject(enc zapcore.ObjectEncoder) error
- func (*State) ProtoMessage()
- func (x *State) ProtoReflect() protoreflect.Message
- func (x *State) Reset()
- func (x *State) String() string
- func (m *State) Validate() error
- func (m *State) ValidateAll() error
- type StateMultiError
- type StateValidationError
Constants ¶
This section is empty.
Variables ¶
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) GetPfsStateId ¶
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) Validate ¶ added in v2.8.0
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
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.