commonv1

package
v0.0.0-...-7fcfa66 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Run_Result_name = map[int32]string{
		0: "UNKNOWN",
		1: "PASS",
		2: "FAIL",
		3: "ERROR",
	}
	Run_Result_value = map[string]int32{
		"UNKNOWN": 0,
		"PASS":    1,
		"FAIL":    2,
		"ERROR":   3,
	}
)

Enum value maps for Run_Result.

View Source
var (
	Run_Log_Output_name = map[int32]string{
		0: "UNKNOWN",
		1: "STDOUT",
		2: "STDERR",
		3: "TSTR",
	}
	Run_Log_Output_value = map[string]int32{
		"UNKNOWN": 0,
		"STDOUT":  1,
		"STDERR":  2,
		"TSTR":    3,
	}
)

Enum value maps for Run_Log_Output.

View Source
var (
	AccessToken_Scope_name = map[int32]string{
		0: "UNKNOWN",
		1: "ADMIN",
		2: "CONTROL",
		3: "DATA",
		4: "RUNNER",
	}
	AccessToken_Scope_value = map[string]int32{
		"UNKNOWN": 0,
		"ADMIN":   1,
		"CONTROL": 2,
		"DATA":    3,
		"RUNNER":  4,
	}
)

Enum value maps for AccessToken_Scope.

View Source
var File_common_v1_common_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AccessToken

type AccessToken struct {
	Id                 string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`                                                           // required (generated)
	Name               string                 `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`                                                       // required
	Token              string                 `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"`                                                     // required (generated) will be present only on issuance, empty otherwise
	NamespaceSelectors []string               `protobuf:"bytes,4,rep,name=namespace_selectors,json=namespaceSelectors,proto3" json:"namespace_selectors,omitempty"` // required
	Scopes             []AccessToken_Scope    `protobuf:"varint,5,rep,packed,name=scopes,proto3,enum=tstr.common.v1.AccessToken_Scope" json:"scopes,omitempty"`     // required
	IssuedAt           *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=issued_at,json=issuedAt,proto3" json:"issued_at,omitempty"`                              // required
	ExpiresAt          *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"`
	RevokedAt          *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=revoked_at,json=revokedAt,proto3" json:"revoked_at,omitempty"`
	// contains filtered or unexported fields
}

func (*AccessToken) Descriptor deprecated

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

Deprecated: Use AccessToken.ProtoReflect.Descriptor instead.

func (*AccessToken) GetExpiresAt

func (x *AccessToken) GetExpiresAt() *timestamppb.Timestamp

func (*AccessToken) GetId

func (x *AccessToken) GetId() string

func (*AccessToken) GetIssuedAt

func (x *AccessToken) GetIssuedAt() *timestamppb.Timestamp

func (*AccessToken) GetName

func (x *AccessToken) GetName() string

func (*AccessToken) GetNamespaceSelectors

func (x *AccessToken) GetNamespaceSelectors() []string

func (*AccessToken) GetRevokedAt

func (x *AccessToken) GetRevokedAt() *timestamppb.Timestamp

func (*AccessToken) GetScopes

func (x *AccessToken) GetScopes() []AccessToken_Scope

func (*AccessToken) GetToken

func (x *AccessToken) GetToken() string

func (*AccessToken) ProtoMessage

func (*AccessToken) ProtoMessage()

func (*AccessToken) ProtoReflect

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

func (*AccessToken) Reset

func (x *AccessToken) Reset()

func (*AccessToken) String

func (x *AccessToken) String() string

func (*AccessToken) Validate

func (m *AccessToken) Validate() error

Validate checks the field values on AccessToken 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 (*AccessToken) ValidateAll

func (m *AccessToken) ValidateAll() error

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

type AccessTokenMultiError

type AccessTokenMultiError []error

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

func (AccessTokenMultiError) AllErrors

func (m AccessTokenMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AccessTokenMultiError) Error

func (m AccessTokenMultiError) Error() string

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

type AccessTokenValidationError

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

AccessTokenValidationError is the validation error returned by AccessToken.Validate if the designated constraints aren't met.

func (AccessTokenValidationError) Cause

Cause function returns cause value.

func (AccessTokenValidationError) Error

Error satisfies the builtin error interface

func (AccessTokenValidationError) ErrorName

func (e AccessTokenValidationError) ErrorName() string

ErrorName returns error name.

func (AccessTokenValidationError) Field

Field function returns field value.

func (AccessTokenValidationError) Key

Key function returns key value.

func (AccessTokenValidationError) Reason

Reason function returns reason value.

type AccessToken_Scope

type AccessToken_Scope int32
const (
	AccessToken_UNKNOWN AccessToken_Scope = 0
	AccessToken_ADMIN   AccessToken_Scope = 1
	AccessToken_CONTROL AccessToken_Scope = 2
	AccessToken_DATA    AccessToken_Scope = 3
	AccessToken_RUNNER  AccessToken_Scope = 4
)

func (AccessToken_Scope) Descriptor

func (AccessToken_Scope) Enum

func (AccessToken_Scope) EnumDescriptor deprecated

func (AccessToken_Scope) EnumDescriptor() ([]byte, []int)

Deprecated: Use AccessToken_Scope.Descriptor instead.

func (AccessToken_Scope) Number

func (AccessToken_Scope) String

func (x AccessToken_Scope) String() string

func (AccessToken_Scope) Type

type Run

type Run struct {
	Id            string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`                                              // required (generated)
	TestId        string                 `protobuf:"bytes,2,opt,name=test_id,json=testId,proto3" json:"test_id,omitempty"`                        // required
	TestRunConfig *Test_RunConfig        `protobuf:"bytes,3,opt,name=test_run_config,json=testRunConfig,proto3" json:"test_run_config,omitempty"` // required
	TestMatrixId  string                 `protobuf:"bytes,4,opt,name=test_matrix_id,json=testMatrixId,proto3" json:"test_matrix_id,omitempty"`
	Labels        map[string]string      `` /* 153-byte string literal not displayed */
	RunnerId      string                 `protobuf:"bytes,6,opt,name=runner_id,json=runnerId,proto3" json:"runner_id,omitempty"`
	Result        Run_Result             `protobuf:"varint,7,opt,name=result,proto3,enum=tstr.common.v1.Run_Result" json:"result,omitempty"`
	Logs          []*Run_Log             `protobuf:"bytes,8,rep,name=logs,proto3" json:"logs,omitempty"`
	ResultData    map[string]string      ``                                                                                                /* 179-byte string literal not displayed */
	ScheduledAt   *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=scheduled_at,json=scheduledAt,proto3" json:"scheduled_at,omitempty"` // required
	StartedAt     *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"`
	FinishedAt    *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=finished_at,json=finishedAt,proto3" json:"finished_at,omitempty"`
	// contains filtered or unexported fields
}

func (*Run) Descriptor deprecated

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

Deprecated: Use Run.ProtoReflect.Descriptor instead.

func (*Run) GetFinishedAt

func (x *Run) GetFinishedAt() *timestamppb.Timestamp

func (*Run) GetId

func (x *Run) GetId() string

func (*Run) GetLabels

func (x *Run) GetLabels() map[string]string

func (*Run) GetLogs

func (x *Run) GetLogs() []*Run_Log

func (*Run) GetResult

func (x *Run) GetResult() Run_Result

func (*Run) GetResultData

func (x *Run) GetResultData() map[string]string

func (*Run) GetRunnerId

func (x *Run) GetRunnerId() string

func (*Run) GetScheduledAt

func (x *Run) GetScheduledAt() *timestamppb.Timestamp

func (*Run) GetStartedAt

func (x *Run) GetStartedAt() *timestamppb.Timestamp

func (*Run) GetTestId

func (x *Run) GetTestId() string

func (*Run) GetTestMatrixId

func (x *Run) GetTestMatrixId() string

func (*Run) GetTestRunConfig

func (x *Run) GetTestRunConfig() *Test_RunConfig

func (*Run) ProtoMessage

func (*Run) ProtoMessage()

func (*Run) ProtoReflect

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

func (*Run) Reset

func (x *Run) Reset()

func (*Run) String

func (x *Run) String() string

func (*Run) Validate

func (m *Run) Validate() error

Validate checks the field values on Run 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 (*Run) ValidateAll

func (m *Run) ValidateAll() error

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

type RunMultiError

type RunMultiError []error

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

func (RunMultiError) AllErrors

func (m RunMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RunMultiError) Error

func (m RunMultiError) Error() string

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

type RunValidationError

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

RunValidationError is the validation error returned by Run.Validate if the designated constraints aren't met.

func (RunValidationError) Cause

func (e RunValidationError) Cause() error

Cause function returns cause value.

func (RunValidationError) Error

func (e RunValidationError) Error() string

Error satisfies the builtin error interface

func (RunValidationError) ErrorName

func (e RunValidationError) ErrorName() string

ErrorName returns error name.

func (RunValidationError) Field

func (e RunValidationError) Field() string

Field function returns field value.

func (RunValidationError) Key

func (e RunValidationError) Key() bool

Key function returns key value.

func (RunValidationError) Reason

func (e RunValidationError) Reason() string

Reason function returns reason value.

type Run_Log

type Run_Log struct {
	Time       string         `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"` // required
	OutputType Run_Log_Output ``                                                              // required
	/* 127-byte string literal not displayed */
	Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // required
	// contains filtered or unexported fields
}

func (*Run_Log) Descriptor deprecated

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

Deprecated: Use Run_Log.ProtoReflect.Descriptor instead.

func (*Run_Log) GetData

func (x *Run_Log) GetData() []byte

func (*Run_Log) GetOutputType

func (x *Run_Log) GetOutputType() Run_Log_Output

func (*Run_Log) GetTime

func (x *Run_Log) GetTime() string

func (*Run_Log) ProtoMessage

func (*Run_Log) ProtoMessage()

func (*Run_Log) ProtoReflect

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

func (*Run_Log) Reset

func (x *Run_Log) Reset()

func (*Run_Log) String

func (x *Run_Log) String() string

func (*Run_Log) Validate

func (m *Run_Log) Validate() error

Validate checks the field values on Run_Log 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 (*Run_Log) ValidateAll

func (m *Run_Log) ValidateAll() error

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

type Run_LogMultiError

type Run_LogMultiError []error

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

func (Run_LogMultiError) AllErrors

func (m Run_LogMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (Run_LogMultiError) Error

func (m Run_LogMultiError) Error() string

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

type Run_LogValidationError

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

Run_LogValidationError is the validation error returned by Run_Log.Validate if the designated constraints aren't met.

func (Run_LogValidationError) Cause

func (e Run_LogValidationError) Cause() error

Cause function returns cause value.

func (Run_LogValidationError) Error

func (e Run_LogValidationError) Error() string

Error satisfies the builtin error interface

func (Run_LogValidationError) ErrorName

func (e Run_LogValidationError) ErrorName() string

ErrorName returns error name.

func (Run_LogValidationError) Field

func (e Run_LogValidationError) Field() string

Field function returns field value.

func (Run_LogValidationError) Key

func (e Run_LogValidationError) Key() bool

Key function returns key value.

func (Run_LogValidationError) Reason

func (e Run_LogValidationError) Reason() string

Reason function returns reason value.

type Run_Log_Output

type Run_Log_Output int32
const (
	Run_Log_UNKNOWN Run_Log_Output = 0
	Run_Log_STDOUT  Run_Log_Output = 1
	Run_Log_STDERR  Run_Log_Output = 2
	Run_Log_TSTR    Run_Log_Output = 3
)

func (Run_Log_Output) Descriptor

func (Run_Log_Output) Enum

func (x Run_Log_Output) Enum() *Run_Log_Output

func (Run_Log_Output) EnumDescriptor deprecated

func (Run_Log_Output) EnumDescriptor() ([]byte, []int)

Deprecated: Use Run_Log_Output.Descriptor instead.

func (Run_Log_Output) Number

func (Run_Log_Output) String

func (x Run_Log_Output) String() string

func (Run_Log_Output) Type

type Run_Result

type Run_Result int32
const (
	Run_UNKNOWN Run_Result = 0
	Run_PASS    Run_Result = 1
	Run_FAIL    Run_Result = 2
	Run_ERROR   Run_Result = 3
)

func (Run_Result) Descriptor

func (Run_Result) Descriptor() protoreflect.EnumDescriptor

func (Run_Result) Enum

func (x Run_Result) Enum() *Run_Result

func (Run_Result) EnumDescriptor deprecated

func (Run_Result) EnumDescriptor() ([]byte, []int)

Deprecated: Use Run_Result.Descriptor instead.

func (Run_Result) Number

func (x Run_Result) Number() protoreflect.EnumNumber

func (Run_Result) String

func (x Run_Result) String() string

func (Run_Result) Type

type Runner

type Runner struct {
	Id                       string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`                                                           // required (generated)
	Name                     string                 `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`                                                       // required
	NamespaceSelectors       []string               `protobuf:"bytes,3,rep,name=namespace_selectors,json=namespaceSelectors,proto3" json:"namespace_selectors,omitempty"` // required
	AcceptTestLabelSelectors map[string]string      ``                                                                                                                    /* 225-byte string literal not displayed */
	RejectTestLabelSelectors map[string]string      ``                                                                                                                    /* 225-byte string literal not displayed */
	RegisteredAt             *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=registered_at,json=registeredAt,proto3" json:"registered_at,omitempty"`                  // required
	LastHeartbeatAt          *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=last_heartbeat_at,json=lastHeartbeatAt,proto3" json:"last_heartbeat_at,omitempty"`
	// contains filtered or unexported fields
}

func (*Runner) Descriptor deprecated

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

Deprecated: Use Runner.ProtoReflect.Descriptor instead.

func (*Runner) GetAcceptTestLabelSelectors

func (x *Runner) GetAcceptTestLabelSelectors() map[string]string

func (*Runner) GetId

func (x *Runner) GetId() string

func (*Runner) GetLastHeartbeatAt

func (x *Runner) GetLastHeartbeatAt() *timestamppb.Timestamp

func (*Runner) GetName

func (x *Runner) GetName() string

func (*Runner) GetNamespaceSelectors

func (x *Runner) GetNamespaceSelectors() []string

func (*Runner) GetRegisteredAt

func (x *Runner) GetRegisteredAt() *timestamppb.Timestamp

func (*Runner) GetRejectTestLabelSelectors

func (x *Runner) GetRejectTestLabelSelectors() map[string]string

func (*Runner) ProtoMessage

func (*Runner) ProtoMessage()

func (*Runner) ProtoReflect

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

func (*Runner) Reset

func (x *Runner) Reset()

func (*Runner) String

func (x *Runner) String() string

func (*Runner) Validate

func (m *Runner) Validate() error

Validate checks the field values on Runner 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 (*Runner) ValidateAll

func (m *Runner) ValidateAll() error

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

type RunnerMultiError

type RunnerMultiError []error

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

func (RunnerMultiError) AllErrors

func (m RunnerMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RunnerMultiError) Error

func (m RunnerMultiError) Error() string

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

type RunnerValidationError

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

RunnerValidationError is the validation error returned by Runner.Validate if the designated constraints aren't met.

func (RunnerValidationError) Cause

func (e RunnerValidationError) Cause() error

Cause function returns cause value.

func (RunnerValidationError) Error

func (e RunnerValidationError) Error() string

Error satisfies the builtin error interface

func (RunnerValidationError) ErrorName

func (e RunnerValidationError) ErrorName() string

ErrorName returns error name.

func (RunnerValidationError) Field

func (e RunnerValidationError) Field() string

Field function returns field value.

func (RunnerValidationError) Key

func (e RunnerValidationError) Key() bool

Key function returns key value.

func (RunnerValidationError) Reason

func (e RunnerValidationError) Reason() string

Reason function returns reason value.

type Test

type Test struct {
	Id           string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`                                // required (generated)
	Namespace    string                 `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`                  // required
	Name         string                 `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`                            // required
	RunConfig    *Test_RunConfig        `protobuf:"bytes,4,opt,name=run_config,json=runConfig,proto3" json:"run_config,omitempty"` // required
	Labels       map[string]string      ``                                                                                         /* 153-byte string literal not displayed */
	CronSchedule string                 `protobuf:"bytes,6,opt,name=cron_schedule,json=cronSchedule,proto3" json:"cron_schedule,omitempty"`
	NextRunAt    *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=next_run_at,json=nextRunAt,proto3" json:"next_run_at,omitempty"`
	Matrix       *Test_Matrix           `protobuf:"bytes,8,opt,name=matrix,proto3" json:"matrix,omitempty"`
	RegisteredAt *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=registered_at,json=registeredAt,proto3" json:"registered_at,omitempty"` // required
	UpdatedAt    *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`          // required
	// contains filtered or unexported fields
}

func (*Test) Descriptor deprecated

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

Deprecated: Use Test.ProtoReflect.Descriptor instead.

func (*Test) GetCronSchedule

func (x *Test) GetCronSchedule() string

func (*Test) GetId

func (x *Test) GetId() string

func (*Test) GetLabels

func (x *Test) GetLabels() map[string]string

func (*Test) GetMatrix

func (x *Test) GetMatrix() *Test_Matrix

func (*Test) GetName

func (x *Test) GetName() string

func (*Test) GetNamespace

func (x *Test) GetNamespace() string

func (*Test) GetNextRunAt

func (x *Test) GetNextRunAt() *timestamppb.Timestamp

func (*Test) GetRegisteredAt

func (x *Test) GetRegisteredAt() *timestamppb.Timestamp

func (*Test) GetRunConfig

func (x *Test) GetRunConfig() *Test_RunConfig

func (*Test) GetUpdatedAt

func (x *Test) GetUpdatedAt() *timestamppb.Timestamp

func (*Test) ProtoMessage

func (*Test) ProtoMessage()

func (*Test) ProtoReflect

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

func (*Test) Reset

func (x *Test) Reset()

func (*Test) String

func (x *Test) String() string

func (*Test) Validate

func (m *Test) Validate() error

Validate checks the field values on Test 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 (*Test) ValidateAll

func (m *Test) ValidateAll() error

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

type TestMultiError

type TestMultiError []error

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

func (TestMultiError) AllErrors

func (m TestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (TestMultiError) Error

func (m TestMultiError) Error() string

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

type TestValidationError

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

TestValidationError is the validation error returned by Test.Validate if the designated constraints aren't met.

func (TestValidationError) Cause

func (e TestValidationError) Cause() error

Cause function returns cause value.

func (TestValidationError) Error

func (e TestValidationError) Error() string

Error satisfies the builtin error interface

func (TestValidationError) ErrorName

func (e TestValidationError) ErrorName() string

ErrorName returns error name.

func (TestValidationError) Field

func (e TestValidationError) Field() string

Field function returns field value.

func (TestValidationError) Key

func (e TestValidationError) Key() bool

Key function returns key value.

func (TestValidationError) Reason

func (e TestValidationError) Reason() string

Reason function returns reason value.

type Test_Matrix

type Test_Matrix struct {
	Labels map[string]*Test_Matrix_LabelValues `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Test_Matrix) Descriptor deprecated

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

Deprecated: Use Test_Matrix.ProtoReflect.Descriptor instead.

func (*Test_Matrix) GetLabels

func (x *Test_Matrix) GetLabels() map[string]*Test_Matrix_LabelValues

func (*Test_Matrix) ProtoMessage

func (*Test_Matrix) ProtoMessage()

func (*Test_Matrix) ProtoReflect

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

func (*Test_Matrix) Reset

func (x *Test_Matrix) Reset()

func (*Test_Matrix) String

func (x *Test_Matrix) String() string

func (*Test_Matrix) Validate

func (m *Test_Matrix) Validate() error

Validate checks the field values on Test_Matrix 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 (*Test_Matrix) ValidateAll

func (m *Test_Matrix) ValidateAll() error

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

type Test_MatrixMultiError

type Test_MatrixMultiError []error

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

func (Test_MatrixMultiError) AllErrors

func (m Test_MatrixMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (Test_MatrixMultiError) Error

func (m Test_MatrixMultiError) Error() string

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

type Test_MatrixValidationError

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

Test_MatrixValidationError is the validation error returned by Test_Matrix.Validate if the designated constraints aren't met.

func (Test_MatrixValidationError) Cause

Cause function returns cause value.

func (Test_MatrixValidationError) Error

Error satisfies the builtin error interface

func (Test_MatrixValidationError) ErrorName

func (e Test_MatrixValidationError) ErrorName() string

ErrorName returns error name.

func (Test_MatrixValidationError) Field

Field function returns field value.

func (Test_MatrixValidationError) Key

Key function returns key value.

func (Test_MatrixValidationError) Reason

Reason function returns reason value.

type Test_Matrix_LabelValues

type Test_Matrix_LabelValues struct {
	Values []string `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

func (*Test_Matrix_LabelValues) Descriptor deprecated

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

Deprecated: Use Test_Matrix_LabelValues.ProtoReflect.Descriptor instead.

func (*Test_Matrix_LabelValues) GetValues

func (x *Test_Matrix_LabelValues) GetValues() []string

func (*Test_Matrix_LabelValues) ProtoMessage

func (*Test_Matrix_LabelValues) ProtoMessage()

func (*Test_Matrix_LabelValues) ProtoReflect

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

func (*Test_Matrix_LabelValues) Reset

func (x *Test_Matrix_LabelValues) Reset()

func (*Test_Matrix_LabelValues) String

func (x *Test_Matrix_LabelValues) String() string

func (*Test_Matrix_LabelValues) Validate

func (m *Test_Matrix_LabelValues) Validate() error

Validate checks the field values on Test_Matrix_LabelValues 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 (*Test_Matrix_LabelValues) ValidateAll

func (m *Test_Matrix_LabelValues) ValidateAll() error

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

type Test_Matrix_LabelValuesMultiError

type Test_Matrix_LabelValuesMultiError []error

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

func (Test_Matrix_LabelValuesMultiError) AllErrors

func (m Test_Matrix_LabelValuesMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (Test_Matrix_LabelValuesMultiError) Error

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

type Test_Matrix_LabelValuesValidationError

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

Test_Matrix_LabelValuesValidationError is the validation error returned by Test_Matrix_LabelValues.Validate if the designated constraints aren't met.

func (Test_Matrix_LabelValuesValidationError) Cause

Cause function returns cause value.

func (Test_Matrix_LabelValuesValidationError) Error

Error satisfies the builtin error interface

func (Test_Matrix_LabelValuesValidationError) ErrorName

ErrorName returns error name.

func (Test_Matrix_LabelValuesValidationError) Field

Field function returns field value.

func (Test_Matrix_LabelValuesValidationError) Key

Key function returns key value.

func (Test_Matrix_LabelValuesValidationError) Reason

Reason function returns reason value.

type Test_RunConfig

type Test_RunConfig struct {
	ContainerImage string               `protobuf:"bytes,2,opt,name=container_image,json=containerImage,proto3" json:"container_image,omitempty"` // required
	Command        string               `protobuf:"bytes,3,opt,name=command,proto3" json:"command,omitempty"`
	Args           []string             `protobuf:"bytes,4,rep,name=args,proto3" json:"args,omitempty"`
	Env            map[string]string    `` /* 147-byte string literal not displayed */
	Timeout        *durationpb.Duration `protobuf:"bytes,6,opt,name=timeout,proto3" json:"timeout,omitempty"`
	// contains filtered or unexported fields
}

func (*Test_RunConfig) Descriptor deprecated

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

Deprecated: Use Test_RunConfig.ProtoReflect.Descriptor instead.

func (*Test_RunConfig) GetArgs

func (x *Test_RunConfig) GetArgs() []string

func (*Test_RunConfig) GetCommand

func (x *Test_RunConfig) GetCommand() string

func (*Test_RunConfig) GetContainerImage

func (x *Test_RunConfig) GetContainerImage() string

func (*Test_RunConfig) GetEnv

func (x *Test_RunConfig) GetEnv() map[string]string

func (*Test_RunConfig) GetTimeout

func (x *Test_RunConfig) GetTimeout() *durationpb.Duration

func (*Test_RunConfig) ProtoMessage

func (*Test_RunConfig) ProtoMessage()

func (*Test_RunConfig) ProtoReflect

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

func (*Test_RunConfig) Reset

func (x *Test_RunConfig) Reset()

func (*Test_RunConfig) String

func (x *Test_RunConfig) String() string

func (*Test_RunConfig) Validate

func (m *Test_RunConfig) Validate() error

Validate checks the field values on Test_RunConfig 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 (*Test_RunConfig) ValidateAll

func (m *Test_RunConfig) ValidateAll() error

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

type Test_RunConfigMultiError

type Test_RunConfigMultiError []error

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

func (Test_RunConfigMultiError) AllErrors

func (m Test_RunConfigMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (Test_RunConfigMultiError) Error

func (m Test_RunConfigMultiError) Error() string

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

type Test_RunConfigValidationError

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

Test_RunConfigValidationError is the validation error returned by Test_RunConfig.Validate if the designated constraints aren't met.

func (Test_RunConfigValidationError) Cause

Cause function returns cause value.

func (Test_RunConfigValidationError) Error

Error satisfies the builtin error interface

func (Test_RunConfigValidationError) ErrorName

func (e Test_RunConfigValidationError) ErrorName() string

ErrorName returns error name.

func (Test_RunConfigValidationError) Field

Field function returns field value.

func (Test_RunConfigValidationError) Key

Key function returns key value.

func (Test_RunConfigValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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