Documentation
¶
Overview ¶
Package experimentationv1 is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func RegisterExperimentsAPIHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterExperimentsAPIHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ExperimentsAPIClient) error
- func RegisterExperimentsAPIHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterExperimentsAPIHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ExperimentsAPIServer) error
- func RegisterExperimentsAPIServer(s grpc.ServiceRegistrar, srv ExperimentsAPIServer)
- type CancelExperimentRunRequest
- func (*CancelExperimentRunRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CancelExperimentRunRequest) GetId() string
- func (x *CancelExperimentRunRequest) GetReason() string
- func (*CancelExperimentRunRequest) ProtoMessage()
- func (x *CancelExperimentRunRequest) ProtoReflect() protoreflect.Message
- func (x *CancelExperimentRunRequest) Reset()
- func (x *CancelExperimentRunRequest) String() string
- func (m *CancelExperimentRunRequest) Validate() error
- func (m *CancelExperimentRunRequest) ValidateAll() error
- type CancelExperimentRunRequestMultiError
- type CancelExperimentRunRequestValidationError
- func (e CancelExperimentRunRequestValidationError) Cause() error
- func (e CancelExperimentRunRequestValidationError) Error() string
- func (e CancelExperimentRunRequestValidationError) ErrorName() string
- func (e CancelExperimentRunRequestValidationError) Field() string
- func (e CancelExperimentRunRequestValidationError) Key() bool
- func (e CancelExperimentRunRequestValidationError) Reason() string
- type CancelExperimentRunResponse
- func (*CancelExperimentRunResponse) Descriptor() ([]byte, []int)deprecated
- func (*CancelExperimentRunResponse) ProtoMessage()
- func (x *CancelExperimentRunResponse) ProtoReflect() protoreflect.Message
- func (x *CancelExperimentRunResponse) Reset()
- func (x *CancelExperimentRunResponse) String() string
- func (m *CancelExperimentRunResponse) Validate() error
- func (m *CancelExperimentRunResponse) ValidateAll() error
- type CancelExperimentRunResponseMultiError
- type CancelExperimentRunResponseValidationError
- func (e CancelExperimentRunResponseValidationError) Cause() error
- func (e CancelExperimentRunResponseValidationError) Error() string
- func (e CancelExperimentRunResponseValidationError) ErrorName() string
- func (e CancelExperimentRunResponseValidationError) Field() string
- func (e CancelExperimentRunResponseValidationError) Key() bool
- func (e CancelExperimentRunResponseValidationError) Reason() string
- type CreateExperimentData
- func (*CreateExperimentData) Descriptor() ([]byte, []int)deprecated
- func (x *CreateExperimentData) GetConfig() *anypb.Any
- func (x *CreateExperimentData) GetEndTime() *timestamppb.Timestamp
- func (x *CreateExperimentData) GetRunId() string
- func (x *CreateExperimentData) GetStartTime() *timestamppb.Timestamp
- func (*CreateExperimentData) ProtoMessage()
- func (x *CreateExperimentData) ProtoReflect() protoreflect.Message
- func (x *CreateExperimentData) Reset()
- func (x *CreateExperimentData) String() string
- func (m *CreateExperimentData) Validate() error
- func (m *CreateExperimentData) ValidateAll() error
- type CreateExperimentDataMultiError
- type CreateExperimentDataValidationError
- func (e CreateExperimentDataValidationError) Cause() error
- func (e CreateExperimentDataValidationError) Error() string
- func (e CreateExperimentDataValidationError) ErrorName() string
- func (e CreateExperimentDataValidationError) Field() string
- func (e CreateExperimentDataValidationError) Key() bool
- func (e CreateExperimentDataValidationError) Reason() string
- type CreateExperimentRequest
- func (*CreateExperimentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateExperimentRequest) GetData() *CreateExperimentData
- func (*CreateExperimentRequest) ProtoMessage()
- func (x *CreateExperimentRequest) ProtoReflect() protoreflect.Message
- func (x *CreateExperimentRequest) Reset()
- func (x *CreateExperimentRequest) String() string
- func (m *CreateExperimentRequest) Validate() error
- func (m *CreateExperimentRequest) ValidateAll() error
- type CreateExperimentRequestMultiError
- type CreateExperimentRequestValidationError
- func (e CreateExperimentRequestValidationError) Cause() error
- func (e CreateExperimentRequestValidationError) Error() string
- func (e CreateExperimentRequestValidationError) ErrorName() string
- func (e CreateExperimentRequestValidationError) Field() string
- func (e CreateExperimentRequestValidationError) Key() bool
- func (e CreateExperimentRequestValidationError) Reason() string
- type CreateExperimentResponse
- func (*CreateExperimentResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateExperimentResponse) GetExperiment() *Experiment
- func (*CreateExperimentResponse) ProtoMessage()
- func (x *CreateExperimentResponse) ProtoReflect() protoreflect.Message
- func (x *CreateExperimentResponse) Reset()
- func (x *CreateExperimentResponse) String() string
- func (m *CreateExperimentResponse) Validate() error
- func (m *CreateExperimentResponse) ValidateAll() error
- type CreateExperimentResponseMultiError
- type CreateExperimentResponseValidationError
- func (e CreateExperimentResponseValidationError) Cause() error
- func (e CreateExperimentResponseValidationError) Error() string
- func (e CreateExperimentResponseValidationError) ErrorName() string
- func (e CreateExperimentResponseValidationError) Field() string
- func (e CreateExperimentResponseValidationError) Key() bool
- func (e CreateExperimentResponseValidationError) Reason() string
- type CreateOrGetExperimentRequest
- func (*CreateOrGetExperimentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateOrGetExperimentRequest) GetData() *CreateExperimentData
- func (*CreateOrGetExperimentRequest) ProtoMessage()
- func (x *CreateOrGetExperimentRequest) ProtoReflect() protoreflect.Message
- func (x *CreateOrGetExperimentRequest) Reset()
- func (x *CreateOrGetExperimentRequest) String() string
- func (m *CreateOrGetExperimentRequest) Validate() error
- func (m *CreateOrGetExperimentRequest) ValidateAll() error
- type CreateOrGetExperimentRequestMultiError
- type CreateOrGetExperimentRequestValidationError
- func (e CreateOrGetExperimentRequestValidationError) Cause() error
- func (e CreateOrGetExperimentRequestValidationError) Error() string
- func (e CreateOrGetExperimentRequestValidationError) ErrorName() string
- func (e CreateOrGetExperimentRequestValidationError) Field() string
- func (e CreateOrGetExperimentRequestValidationError) Key() bool
- func (e CreateOrGetExperimentRequestValidationError) Reason() string
- type CreateOrGetExperimentResponse
- func (*CreateOrGetExperimentResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateOrGetExperimentResponse) GetExperiment() *Experiment
- func (x *CreateOrGetExperimentResponse) GetOrigin() CreateOrGetExperimentResponse_Origin
- func (*CreateOrGetExperimentResponse) ProtoMessage()
- func (x *CreateOrGetExperimentResponse) ProtoReflect() protoreflect.Message
- func (x *CreateOrGetExperimentResponse) Reset()
- func (x *CreateOrGetExperimentResponse) String() string
- func (m *CreateOrGetExperimentResponse) Validate() error
- func (m *CreateOrGetExperimentResponse) ValidateAll() error
- type CreateOrGetExperimentResponseMultiError
- type CreateOrGetExperimentResponseValidationError
- func (e CreateOrGetExperimentResponseValidationError) Cause() error
- func (e CreateOrGetExperimentResponseValidationError) Error() string
- func (e CreateOrGetExperimentResponseValidationError) ErrorName() string
- func (e CreateOrGetExperimentResponseValidationError) Field() string
- func (e CreateOrGetExperimentResponseValidationError) Key() bool
- func (e CreateOrGetExperimentResponseValidationError) Reason() string
- type CreateOrGetExperimentResponse_Origin
- func (CreateOrGetExperimentResponse_Origin) Descriptor() protoreflect.EnumDescriptor
- func (x CreateOrGetExperimentResponse_Origin) Enum() *CreateOrGetExperimentResponse_Origin
- func (CreateOrGetExperimentResponse_Origin) EnumDescriptor() ([]byte, []int)deprecated
- func (x CreateOrGetExperimentResponse_Origin) Number() protoreflect.EnumNumber
- func (x CreateOrGetExperimentResponse_Origin) String() string
- func (CreateOrGetExperimentResponse_Origin) Type() protoreflect.EnumType
- type Experiment
- func (*Experiment) Descriptor() ([]byte, []int)deprecated
- func (x *Experiment) GetConfig() *anypb.Any
- func (x *Experiment) GetEndTime() *timestamppb.Timestamp
- func (x *Experiment) GetRunId() string
- func (x *Experiment) GetStartTime() *timestamppb.Timestamp
- func (x *Experiment) GetStatus() Experiment_Status
- func (*Experiment) ProtoMessage()
- func (x *Experiment) ProtoReflect() protoreflect.Message
- func (x *Experiment) Reset()
- func (x *Experiment) String() string
- func (m *Experiment) Validate() error
- func (m *Experiment) ValidateAll() error
- type ExperimentMultiError
- type ExperimentRunDetails
- func (*ExperimentRunDetails) Descriptor() ([]byte, []int)deprecated
- func (x *ExperimentRunDetails) GetConfig() *anypb.Any
- func (x *ExperimentRunDetails) GetProperties() *PropertiesList
- func (x *ExperimentRunDetails) GetRunId() string
- func (x *ExperimentRunDetails) GetStatus() Experiment_Status
- func (*ExperimentRunDetails) ProtoMessage()
- func (x *ExperimentRunDetails) ProtoReflect() protoreflect.Message
- func (x *ExperimentRunDetails) Reset()
- func (x *ExperimentRunDetails) String() string
- func (m *ExperimentRunDetails) Validate() error
- func (m *ExperimentRunDetails) ValidateAll() error
- type ExperimentRunDetailsMultiError
- type ExperimentRunDetailsValidationError
- func (e ExperimentRunDetailsValidationError) Cause() error
- func (e ExperimentRunDetailsValidationError) Error() string
- func (e ExperimentRunDetailsValidationError) ErrorName() string
- func (e ExperimentRunDetailsValidationError) Field() string
- func (e ExperimentRunDetailsValidationError) Key() bool
- func (e ExperimentRunDetailsValidationError) Reason() string
- type ExperimentValidationError
- type Experiment_Status
- func (Experiment_Status) Descriptor() protoreflect.EnumDescriptor
- func (x Experiment_Status) Enum() *Experiment_Status
- func (Experiment_Status) EnumDescriptor() ([]byte, []int)deprecated
- func (x Experiment_Status) Number() protoreflect.EnumNumber
- func (x Experiment_Status) String() string
- func (Experiment_Status) Type() protoreflect.EnumType
- type ExperimentsAPIClient
- type ExperimentsAPIServer
- type GetExperimentRunDetailsRequest
- func (*GetExperimentRunDetailsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetExperimentRunDetailsRequest) GetId() string
- func (*GetExperimentRunDetailsRequest) ProtoMessage()
- func (x *GetExperimentRunDetailsRequest) ProtoReflect() protoreflect.Message
- func (x *GetExperimentRunDetailsRequest) Reset()
- func (x *GetExperimentRunDetailsRequest) String() string
- func (m *GetExperimentRunDetailsRequest) Validate() error
- func (m *GetExperimentRunDetailsRequest) ValidateAll() error
- type GetExperimentRunDetailsRequestMultiError
- type GetExperimentRunDetailsRequestValidationError
- func (e GetExperimentRunDetailsRequestValidationError) Cause() error
- func (e GetExperimentRunDetailsRequestValidationError) Error() string
- func (e GetExperimentRunDetailsRequestValidationError) ErrorName() string
- func (e GetExperimentRunDetailsRequestValidationError) Field() string
- func (e GetExperimentRunDetailsRequestValidationError) Key() bool
- func (e GetExperimentRunDetailsRequestValidationError) Reason() string
- type GetExperimentRunDetailsResponse
- func (*GetExperimentRunDetailsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetExperimentRunDetailsResponse) GetRunDetails() *ExperimentRunDetails
- func (*GetExperimentRunDetailsResponse) ProtoMessage()
- func (x *GetExperimentRunDetailsResponse) ProtoReflect() protoreflect.Message
- func (x *GetExperimentRunDetailsResponse) Reset()
- func (x *GetExperimentRunDetailsResponse) String() string
- func (m *GetExperimentRunDetailsResponse) Validate() error
- func (m *GetExperimentRunDetailsResponse) ValidateAll() error
- type GetExperimentRunDetailsResponseMultiError
- type GetExperimentRunDetailsResponseValidationError
- func (e GetExperimentRunDetailsResponseValidationError) Cause() error
- func (e GetExperimentRunDetailsResponseValidationError) Error() string
- func (e GetExperimentRunDetailsResponseValidationError) ErrorName() string
- func (e GetExperimentRunDetailsResponseValidationError) Field() string
- func (e GetExperimentRunDetailsResponseValidationError) Key() bool
- func (e GetExperimentRunDetailsResponseValidationError) Reason() string
- type GetExperimentsRequest
- func (*GetExperimentsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetExperimentsRequest) GetConfigType() string
- func (x *GetExperimentsRequest) GetStatus() GetExperimentsRequest_Status
- func (*GetExperimentsRequest) ProtoMessage()
- func (x *GetExperimentsRequest) ProtoReflect() protoreflect.Message
- func (x *GetExperimentsRequest) Reset()
- func (x *GetExperimentsRequest) String() string
- func (m *GetExperimentsRequest) Validate() error
- func (m *GetExperimentsRequest) ValidateAll() error
- type GetExperimentsRequestMultiError
- type GetExperimentsRequestValidationError
- func (e GetExperimentsRequestValidationError) Cause() error
- func (e GetExperimentsRequestValidationError) Error() string
- func (e GetExperimentsRequestValidationError) ErrorName() string
- func (e GetExperimentsRequestValidationError) Field() string
- func (e GetExperimentsRequestValidationError) Key() bool
- func (e GetExperimentsRequestValidationError) Reason() string
- type GetExperimentsRequest_Status
- func (GetExperimentsRequest_Status) Descriptor() protoreflect.EnumDescriptor
- func (x GetExperimentsRequest_Status) Enum() *GetExperimentsRequest_Status
- func (GetExperimentsRequest_Status) EnumDescriptor() ([]byte, []int)deprecated
- func (x GetExperimentsRequest_Status) Number() protoreflect.EnumNumber
- func (x GetExperimentsRequest_Status) String() string
- func (GetExperimentsRequest_Status) Type() protoreflect.EnumType
- type GetExperimentsResponse
- func (*GetExperimentsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetExperimentsResponse) GetExperiments() []*Experiment
- func (*GetExperimentsResponse) ProtoMessage()
- func (x *GetExperimentsResponse) ProtoReflect() protoreflect.Message
- func (x *GetExperimentsResponse) Reset()
- func (x *GetExperimentsResponse) String() string
- func (m *GetExperimentsResponse) Validate() error
- func (m *GetExperimentsResponse) ValidateAll() error
- type GetExperimentsResponseMultiError
- type GetExperimentsResponseValidationError
- func (e GetExperimentsResponseValidationError) Cause() error
- func (e GetExperimentsResponseValidationError) Error() string
- func (e GetExperimentsResponseValidationError) ErrorName() string
- func (e GetExperimentsResponseValidationError) Field() string
- func (e GetExperimentsResponseValidationError) Key() bool
- func (e GetExperimentsResponseValidationError) Reason() string
- type GetListViewRequest
- func (*GetListViewRequest) Descriptor() ([]byte, []int)deprecated
- func (*GetListViewRequest) ProtoMessage()
- func (x *GetListViewRequest) ProtoReflect() protoreflect.Message
- func (x *GetListViewRequest) Reset()
- func (x *GetListViewRequest) String() string
- func (m *GetListViewRequest) Validate() error
- func (m *GetListViewRequest) ValidateAll() error
- type GetListViewRequestMultiError
- type GetListViewRequestValidationError
- func (e GetListViewRequestValidationError) Cause() error
- func (e GetListViewRequestValidationError) Error() string
- func (e GetListViewRequestValidationError) ErrorName() string
- func (e GetListViewRequestValidationError) Field() string
- func (e GetListViewRequestValidationError) Key() bool
- func (e GetListViewRequestValidationError) Reason() string
- type GetListViewResponse
- func (*GetListViewResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetListViewResponse) GetItems() []*ListViewItem
- func (*GetListViewResponse) ProtoMessage()
- func (x *GetListViewResponse) ProtoReflect() protoreflect.Message
- func (x *GetListViewResponse) Reset()
- func (x *GetListViewResponse) String() string
- func (m *GetListViewResponse) Validate() error
- func (m *GetListViewResponse) ValidateAll() error
- type GetListViewResponseMultiError
- type GetListViewResponseValidationError
- func (e GetListViewResponseValidationError) Cause() error
- func (e GetListViewResponseValidationError) Error() string
- func (e GetListViewResponseValidationError) ErrorName() string
- func (e GetListViewResponseValidationError) Field() string
- func (e GetListViewResponseValidationError) Key() bool
- func (e GetListViewResponseValidationError) Reason() string
- type ListViewItem
- func (*ListViewItem) Descriptor() ([]byte, []int)deprecated
- func (x *ListViewItem) GetId() string
- func (x *ListViewItem) GetProperties() *PropertiesMap
- func (*ListViewItem) ProtoMessage()
- func (x *ListViewItem) ProtoReflect() protoreflect.Message
- func (x *ListViewItem) Reset()
- func (x *ListViewItem) String() string
- func (m *ListViewItem) Validate() error
- func (m *ListViewItem) ValidateAll() error
- type ListViewItemMultiError
- type ListViewItemValidationError
- func (e ListViewItemValidationError) Cause() error
- func (e ListViewItemValidationError) Error() string
- func (e ListViewItemValidationError) ErrorName() string
- func (e ListViewItemValidationError) Field() string
- func (e ListViewItemValidationError) Key() bool
- func (e ListViewItemValidationError) Reason() string
- type PropertiesList
- func (*PropertiesList) Descriptor() ([]byte, []int)deprecated
- func (x *PropertiesList) GetItems() []*Property
- func (*PropertiesList) ProtoMessage()
- func (x *PropertiesList) ProtoReflect() protoreflect.Message
- func (x *PropertiesList) Reset()
- func (x *PropertiesList) String() string
- func (m *PropertiesList) Validate() error
- func (m *PropertiesList) ValidateAll() error
- type PropertiesListMultiError
- type PropertiesListValidationError
- func (e PropertiesListValidationError) Cause() error
- func (e PropertiesListValidationError) Error() string
- func (e PropertiesListValidationError) ErrorName() string
- func (e PropertiesListValidationError) Field() string
- func (e PropertiesListValidationError) Key() bool
- func (e PropertiesListValidationError) Reason() string
- type PropertiesMap
- func (*PropertiesMap) Descriptor() ([]byte, []int)deprecated
- func (x *PropertiesMap) GetItems() map[string]*Property
- func (*PropertiesMap) ProtoMessage()
- func (x *PropertiesMap) ProtoReflect() protoreflect.Message
- func (x *PropertiesMap) Reset()
- func (x *PropertiesMap) String() string
- func (m *PropertiesMap) Validate() error
- func (m *PropertiesMap) ValidateAll() error
- type PropertiesMapMultiError
- type PropertiesMapValidationError
- func (e PropertiesMapValidationError) Cause() error
- func (e PropertiesMapValidationError) Error() string
- func (e PropertiesMapValidationError) ErrorName() string
- func (e PropertiesMapValidationError) Field() string
- func (e PropertiesMapValidationError) Key() bool
- func (e PropertiesMapValidationError) Reason() string
- type Property
- func (*Property) Descriptor() ([]byte, []int)deprecated
- func (x *Property) GetDateValue() *timestamppb.Timestamp
- func (x *Property) GetDisplayValue() *wrapperspb.StringValue
- func (x *Property) GetId() string
- func (x *Property) GetIntValue() int64
- func (x *Property) GetLabel() string
- func (x *Property) GetStringValue() string
- func (x *Property) GetUrlValue() string
- func (m *Property) GetValue() isProperty_Value
- func (*Property) ProtoMessage()
- func (x *Property) ProtoReflect() protoreflect.Message
- func (x *Property) Reset()
- func (x *Property) String() string
- func (m *Property) Validate() error
- func (m *Property) ValidateAll() error
- type PropertyMultiError
- type PropertyValidationError
- type Property_DateValue
- type Property_IntValue
- type Property_StringValue
- type Property_UrlValue
- type UnimplementedExperimentsAPIServer
- func (UnimplementedExperimentsAPIServer) CancelExperimentRun(context.Context, *CancelExperimentRunRequest) (*CancelExperimentRunResponse, error)
- func (UnimplementedExperimentsAPIServer) CreateExperiment(context.Context, *CreateExperimentRequest) (*CreateExperimentResponse, error)
- func (UnimplementedExperimentsAPIServer) CreateOrGetExperiment(context.Context, *CreateOrGetExperimentRequest) (*CreateOrGetExperimentResponse, error)
- func (UnimplementedExperimentsAPIServer) GetExperimentRunDetails(context.Context, *GetExperimentRunDetailsRequest) (*GetExperimentRunDetailsResponse, error)
- func (UnimplementedExperimentsAPIServer) GetExperiments(context.Context, *GetExperimentsRequest) (*GetExperimentsResponse, error)
- func (UnimplementedExperimentsAPIServer) GetListView(context.Context, *GetListViewRequest) (*GetListViewResponse, error)
- type UnsafeExperimentsAPIServer
Constants ¶
const ( ExperimentsAPI_CreateExperiment_FullMethodName = "/clutch.chaos.experimentation.v1.ExperimentsAPI/CreateExperiment" ExperimentsAPI_CreateOrGetExperiment_FullMethodName = "/clutch.chaos.experimentation.v1.ExperimentsAPI/CreateOrGetExperiment" ExperimentsAPI_CancelExperimentRun_FullMethodName = "/clutch.chaos.experimentation.v1.ExperimentsAPI/CancelExperimentRun" ExperimentsAPI_GetExperiments_FullMethodName = "/clutch.chaos.experimentation.v1.ExperimentsAPI/GetExperiments" ExperimentsAPI_GetListView_FullMethodName = "/clutch.chaos.experimentation.v1.ExperimentsAPI/GetListView" ExperimentsAPI_GetExperimentRunDetails_FullMethodName = "/clutch.chaos.experimentation.v1.ExperimentsAPI/GetExperimentRunDetails" )
Variables ¶
var ( Experiment_Status_name = map[int32]string{ 0: "STATUS_UNSPECIFIED", 1: "STATUS_SCHEDULED", 2: "STATUS_RUNNING", 3: "STATUS_COMPLETED", 4: "STATUS_CANCELED", } Experiment_Status_value = map[string]int32{ "STATUS_UNSPECIFIED": 0, "STATUS_SCHEDULED": 1, "STATUS_RUNNING": 2, "STATUS_COMPLETED": 3, "STATUS_CANCELED": 4, } )
Enum value maps for Experiment_Status.
var ( CreateOrGetExperimentResponse_Origin_name = map[int32]string{ 0: "ORIGIN_UNSPECIFIED", 1: "ORIGIN_EXISTING", 2: "ORIGIN_NEW", } CreateOrGetExperimentResponse_Origin_value = map[string]int32{ "ORIGIN_UNSPECIFIED": 0, "ORIGIN_EXISTING": 1, "ORIGIN_NEW": 2, } )
Enum value maps for CreateOrGetExperimentResponse_Origin.
var ( GetExperimentsRequest_Status_name = map[int32]string{ 0: "STATUS_UNSPECIFIED", 1: "STATUS_RUNNING", } GetExperimentsRequest_Status_value = map[string]int32{ "STATUS_UNSPECIFIED": 0, "STATUS_RUNNING": 1, } )
Enum value maps for GetExperimentsRequest_Status.
var ExperimentsAPI_ServiceDesc = grpc.ServiceDesc{ ServiceName: "clutch.chaos.experimentation.v1.ExperimentsAPI", HandlerType: (*ExperimentsAPIServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateExperiment", Handler: _ExperimentsAPI_CreateExperiment_Handler, }, { MethodName: "CreateOrGetExperiment", Handler: _ExperimentsAPI_CreateOrGetExperiment_Handler, }, { MethodName: "CancelExperimentRun", Handler: _ExperimentsAPI_CancelExperimentRun_Handler, }, { MethodName: "GetExperiments", Handler: _ExperimentsAPI_GetExperiments_Handler, }, { MethodName: "GetListView", Handler: _ExperimentsAPI_GetListView_Handler, }, { MethodName: "GetExperimentRunDetails", Handler: _ExperimentsAPI_GetExperimentRunDetails_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "chaos/experimentation/v1/experimentation.proto", }
ExperimentsAPI_ServiceDesc is the grpc.ServiceDesc for ExperimentsAPI service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_chaos_experimentation_v1_create_experiment_data_proto protoreflect.FileDescriptor
var File_chaos_experimentation_v1_experiment_proto protoreflect.FileDescriptor
var File_chaos_experimentation_v1_experiment_run_details_proto protoreflect.FileDescriptor
var File_chaos_experimentation_v1_experimentation_proto protoreflect.FileDescriptor
var File_chaos_experimentation_v1_list_view_item_proto protoreflect.FileDescriptor
var File_chaos_experimentation_v1_properties_proto protoreflect.FileDescriptor
Functions ¶
func RegisterExperimentsAPIHandler ¶
func RegisterExperimentsAPIHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterExperimentsAPIHandler registers the http handlers for service ExperimentsAPI to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterExperimentsAPIHandlerClient ¶
func RegisterExperimentsAPIHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ExperimentsAPIClient) error
RegisterExperimentsAPIHandlerClient registers the http handlers for service ExperimentsAPI to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "ExperimentsAPIClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "ExperimentsAPIClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "ExperimentsAPIClient" to call the correct interceptors.
func RegisterExperimentsAPIHandlerFromEndpoint ¶
func RegisterExperimentsAPIHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterExperimentsAPIHandlerFromEndpoint is same as RegisterExperimentsAPIHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterExperimentsAPIHandlerServer ¶
func RegisterExperimentsAPIHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ExperimentsAPIServer) error
RegisterExperimentsAPIHandlerServer registers the http handlers for service ExperimentsAPI to "mux". UnaryRPC :call ExperimentsAPIServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterExperimentsAPIHandlerFromEndpoint instead.
func RegisterExperimentsAPIServer ¶
func RegisterExperimentsAPIServer(s grpc.ServiceRegistrar, srv ExperimentsAPIServer)
Types ¶
type CancelExperimentRunRequest ¶
type CancelExperimentRunRequest struct { // The identifier of an experiment run to cancel. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // The reason for the cancelation request. Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"` // contains filtered or unexported fields }
func (*CancelExperimentRunRequest) Descriptor
deprecated
func (*CancelExperimentRunRequest) Descriptor() ([]byte, []int)
Deprecated: Use CancelExperimentRunRequest.ProtoReflect.Descriptor instead.
func (*CancelExperimentRunRequest) GetId ¶
func (x *CancelExperimentRunRequest) GetId() string
func (*CancelExperimentRunRequest) GetReason ¶
func (x *CancelExperimentRunRequest) GetReason() string
func (*CancelExperimentRunRequest) ProtoMessage ¶
func (*CancelExperimentRunRequest) ProtoMessage()
func (*CancelExperimentRunRequest) ProtoReflect ¶
func (x *CancelExperimentRunRequest) ProtoReflect() protoreflect.Message
func (*CancelExperimentRunRequest) Reset ¶
func (x *CancelExperimentRunRequest) Reset()
func (*CancelExperimentRunRequest) String ¶
func (x *CancelExperimentRunRequest) String() string
func (*CancelExperimentRunRequest) Validate ¶
func (m *CancelExperimentRunRequest) Validate() error
Validate checks the field values on CancelExperimentRunRequest 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 (*CancelExperimentRunRequest) ValidateAll ¶
func (m *CancelExperimentRunRequest) ValidateAll() error
ValidateAll checks the field values on CancelExperimentRunRequest 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 CancelExperimentRunRequestMultiError, or nil if none found.
type CancelExperimentRunRequestMultiError ¶
type CancelExperimentRunRequestMultiError []error
CancelExperimentRunRequestMultiError is an error wrapping multiple validation errors returned by CancelExperimentRunRequest.ValidateAll() if the designated constraints aren't met.
func (CancelExperimentRunRequestMultiError) AllErrors ¶
func (m CancelExperimentRunRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CancelExperimentRunRequestMultiError) Error ¶
func (m CancelExperimentRunRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CancelExperimentRunRequestValidationError ¶
type CancelExperimentRunRequestValidationError struct {
// contains filtered or unexported fields
}
CancelExperimentRunRequestValidationError is the validation error returned by CancelExperimentRunRequest.Validate if the designated constraints aren't met.
func (CancelExperimentRunRequestValidationError) Cause ¶
func (e CancelExperimentRunRequestValidationError) Cause() error
Cause function returns cause value.
func (CancelExperimentRunRequestValidationError) Error ¶
func (e CancelExperimentRunRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CancelExperimentRunRequestValidationError) ErrorName ¶
func (e CancelExperimentRunRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CancelExperimentRunRequestValidationError) Field ¶
func (e CancelExperimentRunRequestValidationError) Field() string
Field function returns field value.
func (CancelExperimentRunRequestValidationError) Key ¶
func (e CancelExperimentRunRequestValidationError) Key() bool
Key function returns key value.
func (CancelExperimentRunRequestValidationError) Reason ¶
func (e CancelExperimentRunRequestValidationError) Reason() string
Reason function returns reason value.
type CancelExperimentRunResponse ¶
type CancelExperimentRunResponse struct {
// contains filtered or unexported fields
}
func (*CancelExperimentRunResponse) Descriptor
deprecated
func (*CancelExperimentRunResponse) Descriptor() ([]byte, []int)
Deprecated: Use CancelExperimentRunResponse.ProtoReflect.Descriptor instead.
func (*CancelExperimentRunResponse) ProtoMessage ¶
func (*CancelExperimentRunResponse) ProtoMessage()
func (*CancelExperimentRunResponse) ProtoReflect ¶
func (x *CancelExperimentRunResponse) ProtoReflect() protoreflect.Message
func (*CancelExperimentRunResponse) Reset ¶
func (x *CancelExperimentRunResponse) Reset()
func (*CancelExperimentRunResponse) String ¶
func (x *CancelExperimentRunResponse) String() string
func (*CancelExperimentRunResponse) Validate ¶
func (m *CancelExperimentRunResponse) Validate() error
Validate checks the field values on CancelExperimentRunResponse 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 (*CancelExperimentRunResponse) ValidateAll ¶
func (m *CancelExperimentRunResponse) ValidateAll() error
ValidateAll checks the field values on CancelExperimentRunResponse 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 CancelExperimentRunResponseMultiError, or nil if none found.
type CancelExperimentRunResponseMultiError ¶
type CancelExperimentRunResponseMultiError []error
CancelExperimentRunResponseMultiError is an error wrapping multiple validation errors returned by CancelExperimentRunResponse.ValidateAll() if the designated constraints aren't met.
func (CancelExperimentRunResponseMultiError) AllErrors ¶
func (m CancelExperimentRunResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CancelExperimentRunResponseMultiError) Error ¶
func (m CancelExperimentRunResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CancelExperimentRunResponseValidationError ¶
type CancelExperimentRunResponseValidationError struct {
// contains filtered or unexported fields
}
CancelExperimentRunResponseValidationError is the validation error returned by CancelExperimentRunResponse.Validate if the designated constraints aren't met.
func (CancelExperimentRunResponseValidationError) Cause ¶
func (e CancelExperimentRunResponseValidationError) Cause() error
Cause function returns cause value.
func (CancelExperimentRunResponseValidationError) Error ¶
func (e CancelExperimentRunResponseValidationError) Error() string
Error satisfies the builtin error interface
func (CancelExperimentRunResponseValidationError) ErrorName ¶
func (e CancelExperimentRunResponseValidationError) ErrorName() string
ErrorName returns error name.
func (CancelExperimentRunResponseValidationError) Field ¶
func (e CancelExperimentRunResponseValidationError) Field() string
Field function returns field value.
func (CancelExperimentRunResponseValidationError) Key ¶
func (e CancelExperimentRunResponseValidationError) Key() bool
Key function returns key value.
func (CancelExperimentRunResponseValidationError) Reason ¶
func (e CancelExperimentRunResponseValidationError) Reason() string
Reason function returns reason value.
type CreateExperimentData ¶
type CreateExperimentData struct { // The unique identifier of experiment run that's created as part of the experiment creation process. // A random run identifier is generated and assigned to the experiment if it's not provided by a caller. // The identifier is supposed to be user-readable and URL renderable - for this reason, allowed characters // are limited to English characters, digits and the following special characters: "-", ".", "_" and "~". RunId string `protobuf:"bytes,1,opt,name=run_id,json=runId,proto3" json:"run_id,omitempty"` // The experiment configuration specific to the type of experiment. Config *anypb.Any `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"` // The time when the experiment should start. If not provided, defaults to 'now'. It cannot be in the past. StartTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` // The time when the experiment should end, If not provided, the experiment runs until it's manually stopped. // If provided, it has to be after `start_time`. EndTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // contains filtered or unexported fields }
The data used as an input for experiment creation.
func (*CreateExperimentData) Descriptor
deprecated
func (*CreateExperimentData) Descriptor() ([]byte, []int)
Deprecated: Use CreateExperimentData.ProtoReflect.Descriptor instead.
func (*CreateExperimentData) GetConfig ¶
func (x *CreateExperimentData) GetConfig() *anypb.Any
func (*CreateExperimentData) GetEndTime ¶
func (x *CreateExperimentData) GetEndTime() *timestamppb.Timestamp
func (*CreateExperimentData) GetRunId ¶
func (x *CreateExperimentData) GetRunId() string
func (*CreateExperimentData) GetStartTime ¶
func (x *CreateExperimentData) GetStartTime() *timestamppb.Timestamp
func (*CreateExperimentData) ProtoMessage ¶
func (*CreateExperimentData) ProtoMessage()
func (*CreateExperimentData) ProtoReflect ¶
func (x *CreateExperimentData) ProtoReflect() protoreflect.Message
func (*CreateExperimentData) Reset ¶
func (x *CreateExperimentData) Reset()
func (*CreateExperimentData) String ¶
func (x *CreateExperimentData) String() string
func (*CreateExperimentData) Validate ¶
func (m *CreateExperimentData) Validate() error
Validate checks the field values on CreateExperimentData 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 (*CreateExperimentData) ValidateAll ¶
func (m *CreateExperimentData) ValidateAll() error
ValidateAll checks the field values on CreateExperimentData 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 CreateExperimentDataMultiError, or nil if none found.
type CreateExperimentDataMultiError ¶
type CreateExperimentDataMultiError []error
CreateExperimentDataMultiError is an error wrapping multiple validation errors returned by CreateExperimentData.ValidateAll() if the designated constraints aren't met.
func (CreateExperimentDataMultiError) AllErrors ¶
func (m CreateExperimentDataMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateExperimentDataMultiError) Error ¶
func (m CreateExperimentDataMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateExperimentDataValidationError ¶
type CreateExperimentDataValidationError struct {
// contains filtered or unexported fields
}
CreateExperimentDataValidationError is the validation error returned by CreateExperimentData.Validate if the designated constraints aren't met.
func (CreateExperimentDataValidationError) Cause ¶
func (e CreateExperimentDataValidationError) Cause() error
Cause function returns cause value.
func (CreateExperimentDataValidationError) Error ¶
func (e CreateExperimentDataValidationError) Error() string
Error satisfies the builtin error interface
func (CreateExperimentDataValidationError) ErrorName ¶
func (e CreateExperimentDataValidationError) ErrorName() string
ErrorName returns error name.
func (CreateExperimentDataValidationError) Field ¶
func (e CreateExperimentDataValidationError) Field() string
Field function returns field value.
func (CreateExperimentDataValidationError) Key ¶
func (e CreateExperimentDataValidationError) Key() bool
Key function returns key value.
func (CreateExperimentDataValidationError) Reason ¶
func (e CreateExperimentDataValidationError) Reason() string
Reason function returns reason value.
type CreateExperimentRequest ¶
type CreateExperimentRequest struct { // The data specifying the experiment to create. See `CreateExperiment` for more details. Data *CreateExperimentData `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*CreateExperimentRequest) Descriptor
deprecated
func (*CreateExperimentRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateExperimentRequest.ProtoReflect.Descriptor instead.
func (*CreateExperimentRequest) GetData ¶
func (x *CreateExperimentRequest) GetData() *CreateExperimentData
func (*CreateExperimentRequest) ProtoMessage ¶
func (*CreateExperimentRequest) ProtoMessage()
func (*CreateExperimentRequest) ProtoReflect ¶
func (x *CreateExperimentRequest) ProtoReflect() protoreflect.Message
func (*CreateExperimentRequest) Reset ¶
func (x *CreateExperimentRequest) Reset()
func (*CreateExperimentRequest) String ¶
func (x *CreateExperimentRequest) String() string
func (*CreateExperimentRequest) Validate ¶
func (m *CreateExperimentRequest) Validate() error
Validate checks the field values on CreateExperimentRequest 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 (*CreateExperimentRequest) ValidateAll ¶
func (m *CreateExperimentRequest) ValidateAll() error
ValidateAll checks the field values on CreateExperimentRequest 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 CreateExperimentRequestMultiError, or nil if none found.
type CreateExperimentRequestMultiError ¶
type CreateExperimentRequestMultiError []error
CreateExperimentRequestMultiError is an error wrapping multiple validation errors returned by CreateExperimentRequest.ValidateAll() if the designated constraints aren't met.
func (CreateExperimentRequestMultiError) AllErrors ¶
func (m CreateExperimentRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateExperimentRequestMultiError) Error ¶
func (m CreateExperimentRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateExperimentRequestValidationError ¶
type CreateExperimentRequestValidationError struct {
// contains filtered or unexported fields
}
CreateExperimentRequestValidationError is the validation error returned by CreateExperimentRequest.Validate if the designated constraints aren't met.
func (CreateExperimentRequestValidationError) Cause ¶
func (e CreateExperimentRequestValidationError) Cause() error
Cause function returns cause value.
func (CreateExperimentRequestValidationError) Error ¶
func (e CreateExperimentRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CreateExperimentRequestValidationError) ErrorName ¶
func (e CreateExperimentRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CreateExperimentRequestValidationError) Field ¶
func (e CreateExperimentRequestValidationError) Field() string
Field function returns field value.
func (CreateExperimentRequestValidationError) Key ¶
func (e CreateExperimentRequestValidationError) Key() bool
Key function returns key value.
func (CreateExperimentRequestValidationError) Reason ¶
func (e CreateExperimentRequestValidationError) Reason() string
Reason function returns reason value.
type CreateExperimentResponse ¶
type CreateExperimentResponse struct { // The created experiment. Experiment *Experiment `protobuf:"bytes,1,opt,name=experiment,proto3" json:"experiment,omitempty"` // contains filtered or unexported fields }
func (*CreateExperimentResponse) Descriptor
deprecated
func (*CreateExperimentResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateExperimentResponse.ProtoReflect.Descriptor instead.
func (*CreateExperimentResponse) GetExperiment ¶
func (x *CreateExperimentResponse) GetExperiment() *Experiment
func (*CreateExperimentResponse) ProtoMessage ¶
func (*CreateExperimentResponse) ProtoMessage()
func (*CreateExperimentResponse) ProtoReflect ¶
func (x *CreateExperimentResponse) ProtoReflect() protoreflect.Message
func (*CreateExperimentResponse) Reset ¶
func (x *CreateExperimentResponse) Reset()
func (*CreateExperimentResponse) String ¶
func (x *CreateExperimentResponse) String() string
func (*CreateExperimentResponse) Validate ¶
func (m *CreateExperimentResponse) Validate() error
Validate checks the field values on CreateExperimentResponse 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 (*CreateExperimentResponse) ValidateAll ¶
func (m *CreateExperimentResponse) ValidateAll() error
ValidateAll checks the field values on CreateExperimentResponse 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 CreateExperimentResponseMultiError, or nil if none found.
type CreateExperimentResponseMultiError ¶
type CreateExperimentResponseMultiError []error
CreateExperimentResponseMultiError is an error wrapping multiple validation errors returned by CreateExperimentResponse.ValidateAll() if the designated constraints aren't met.
func (CreateExperimentResponseMultiError) AllErrors ¶
func (m CreateExperimentResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateExperimentResponseMultiError) Error ¶
func (m CreateExperimentResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateExperimentResponseValidationError ¶
type CreateExperimentResponseValidationError struct {
// contains filtered or unexported fields
}
CreateExperimentResponseValidationError is the validation error returned by CreateExperimentResponse.Validate if the designated constraints aren't met.
func (CreateExperimentResponseValidationError) Cause ¶
func (e CreateExperimentResponseValidationError) Cause() error
Cause function returns cause value.
func (CreateExperimentResponseValidationError) Error ¶
func (e CreateExperimentResponseValidationError) Error() string
Error satisfies the builtin error interface
func (CreateExperimentResponseValidationError) ErrorName ¶
func (e CreateExperimentResponseValidationError) ErrorName() string
ErrorName returns error name.
func (CreateExperimentResponseValidationError) Field ¶
func (e CreateExperimentResponseValidationError) Field() string
Field function returns field value.
func (CreateExperimentResponseValidationError) Key ¶
func (e CreateExperimentResponseValidationError) Key() bool
Key function returns key value.
func (CreateExperimentResponseValidationError) Reason ¶
func (e CreateExperimentResponseValidationError) Reason() string
Reason function returns reason value.
type CreateOrGetExperimentRequest ¶
type CreateOrGetExperimentRequest struct { // The data specifying the experiment to fetch or create. See `CreateOrGetExperiment` for more details. Data *CreateExperimentData `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*CreateOrGetExperimentRequest) Descriptor
deprecated
func (*CreateOrGetExperimentRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateOrGetExperimentRequest.ProtoReflect.Descriptor instead.
func (*CreateOrGetExperimentRequest) GetData ¶
func (x *CreateOrGetExperimentRequest) GetData() *CreateExperimentData
func (*CreateOrGetExperimentRequest) ProtoMessage ¶
func (*CreateOrGetExperimentRequest) ProtoMessage()
func (*CreateOrGetExperimentRequest) ProtoReflect ¶
func (x *CreateOrGetExperimentRequest) ProtoReflect() protoreflect.Message
func (*CreateOrGetExperimentRequest) Reset ¶
func (x *CreateOrGetExperimentRequest) Reset()
func (*CreateOrGetExperimentRequest) String ¶
func (x *CreateOrGetExperimentRequest) String() string
func (*CreateOrGetExperimentRequest) Validate ¶
func (m *CreateOrGetExperimentRequest) Validate() error
Validate checks the field values on CreateOrGetExperimentRequest 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 (*CreateOrGetExperimentRequest) ValidateAll ¶
func (m *CreateOrGetExperimentRequest) ValidateAll() error
ValidateAll checks the field values on CreateOrGetExperimentRequest 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 CreateOrGetExperimentRequestMultiError, or nil if none found.
type CreateOrGetExperimentRequestMultiError ¶
type CreateOrGetExperimentRequestMultiError []error
CreateOrGetExperimentRequestMultiError is an error wrapping multiple validation errors returned by CreateOrGetExperimentRequest.ValidateAll() if the designated constraints aren't met.
func (CreateOrGetExperimentRequestMultiError) AllErrors ¶
func (m CreateOrGetExperimentRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateOrGetExperimentRequestMultiError) Error ¶
func (m CreateOrGetExperimentRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateOrGetExperimentRequestValidationError ¶
type CreateOrGetExperimentRequestValidationError struct {
// contains filtered or unexported fields
}
CreateOrGetExperimentRequestValidationError is the validation error returned by CreateOrGetExperimentRequest.Validate if the designated constraints aren't met.
func (CreateOrGetExperimentRequestValidationError) Cause ¶
func (e CreateOrGetExperimentRequestValidationError) Cause() error
Cause function returns cause value.
func (CreateOrGetExperimentRequestValidationError) Error ¶
func (e CreateOrGetExperimentRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CreateOrGetExperimentRequestValidationError) ErrorName ¶
func (e CreateOrGetExperimentRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CreateOrGetExperimentRequestValidationError) Field ¶
func (e CreateOrGetExperimentRequestValidationError) Field() string
Field function returns field value.
func (CreateOrGetExperimentRequestValidationError) Key ¶
func (e CreateOrGetExperimentRequestValidationError) Key() bool
Key function returns key value.
func (CreateOrGetExperimentRequestValidationError) Reason ¶
func (e CreateOrGetExperimentRequestValidationError) Reason() string
Reason function returns reason value.
type CreateOrGetExperimentResponse ¶
type CreateOrGetExperimentResponse struct { // The created or fetched experiment that was requested by a caller. See `origin` to learn more // about how to check whether a new experiment was created as the result of the request's execution. Experiment *Experiment `protobuf:"bytes,1,opt,name=experiment,proto3" json:"experiment,omitempty"` // The type of returned experiment - either a newly created experiment or an existing one. Origin CreateOrGetExperimentResponse_Origin `` /* 140-byte string literal not displayed */ // contains filtered or unexported fields }
func (*CreateOrGetExperimentResponse) Descriptor
deprecated
func (*CreateOrGetExperimentResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateOrGetExperimentResponse.ProtoReflect.Descriptor instead.
func (*CreateOrGetExperimentResponse) GetExperiment ¶
func (x *CreateOrGetExperimentResponse) GetExperiment() *Experiment
func (*CreateOrGetExperimentResponse) GetOrigin ¶
func (x *CreateOrGetExperimentResponse) GetOrigin() CreateOrGetExperimentResponse_Origin
func (*CreateOrGetExperimentResponse) ProtoMessage ¶
func (*CreateOrGetExperimentResponse) ProtoMessage()
func (*CreateOrGetExperimentResponse) ProtoReflect ¶
func (x *CreateOrGetExperimentResponse) ProtoReflect() protoreflect.Message
func (*CreateOrGetExperimentResponse) Reset ¶
func (x *CreateOrGetExperimentResponse) Reset()
func (*CreateOrGetExperimentResponse) String ¶
func (x *CreateOrGetExperimentResponse) String() string
func (*CreateOrGetExperimentResponse) Validate ¶
func (m *CreateOrGetExperimentResponse) Validate() error
Validate checks the field values on CreateOrGetExperimentResponse 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 (*CreateOrGetExperimentResponse) ValidateAll ¶
func (m *CreateOrGetExperimentResponse) ValidateAll() error
ValidateAll checks the field values on CreateOrGetExperimentResponse 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 CreateOrGetExperimentResponseMultiError, or nil if none found.
type CreateOrGetExperimentResponseMultiError ¶
type CreateOrGetExperimentResponseMultiError []error
CreateOrGetExperimentResponseMultiError is an error wrapping multiple validation errors returned by CreateOrGetExperimentResponse.ValidateAll() if the designated constraints aren't met.
func (CreateOrGetExperimentResponseMultiError) AllErrors ¶
func (m CreateOrGetExperimentResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateOrGetExperimentResponseMultiError) Error ¶
func (m CreateOrGetExperimentResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateOrGetExperimentResponseValidationError ¶
type CreateOrGetExperimentResponseValidationError struct {
// contains filtered or unexported fields
}
CreateOrGetExperimentResponseValidationError is the validation error returned by CreateOrGetExperimentResponse.Validate if the designated constraints aren't met.
func (CreateOrGetExperimentResponseValidationError) Cause ¶
func (e CreateOrGetExperimentResponseValidationError) Cause() error
Cause function returns cause value.
func (CreateOrGetExperimentResponseValidationError) Error ¶
func (e CreateOrGetExperimentResponseValidationError) Error() string
Error satisfies the builtin error interface
func (CreateOrGetExperimentResponseValidationError) ErrorName ¶
func (e CreateOrGetExperimentResponseValidationError) ErrorName() string
ErrorName returns error name.
func (CreateOrGetExperimentResponseValidationError) Field ¶
func (e CreateOrGetExperimentResponseValidationError) Field() string
Field function returns field value.
func (CreateOrGetExperimentResponseValidationError) Key ¶
func (e CreateOrGetExperimentResponseValidationError) Key() bool
Key function returns key value.
func (CreateOrGetExperimentResponseValidationError) Reason ¶
func (e CreateOrGetExperimentResponseValidationError) Reason() string
Reason function returns reason value.
type CreateOrGetExperimentResponse_Origin ¶
type CreateOrGetExperimentResponse_Origin int32
const ( CreateOrGetExperimentResponse_ORIGIN_UNSPECIFIED CreateOrGetExperimentResponse_Origin = 0 CreateOrGetExperimentResponse_ORIGIN_EXISTING CreateOrGetExperimentResponse_Origin = 1 CreateOrGetExperimentResponse_ORIGIN_NEW CreateOrGetExperimentResponse_Origin = 2 )
func (CreateOrGetExperimentResponse_Origin) Descriptor ¶
func (CreateOrGetExperimentResponse_Origin) Descriptor() protoreflect.EnumDescriptor
func (CreateOrGetExperimentResponse_Origin) Enum ¶
func (x CreateOrGetExperimentResponse_Origin) Enum() *CreateOrGetExperimentResponse_Origin
func (CreateOrGetExperimentResponse_Origin) EnumDescriptor
deprecated
func (CreateOrGetExperimentResponse_Origin) EnumDescriptor() ([]byte, []int)
Deprecated: Use CreateOrGetExperimentResponse_Origin.Descriptor instead.
func (CreateOrGetExperimentResponse_Origin) Number ¶
func (x CreateOrGetExperimentResponse_Origin) Number() protoreflect.EnumNumber
func (CreateOrGetExperimentResponse_Origin) String ¶
func (x CreateOrGetExperimentResponse_Origin) String() string
func (CreateOrGetExperimentResponse_Origin) Type ¶
func (CreateOrGetExperimentResponse_Origin) Type() protoreflect.EnumType
type Experiment ¶
type Experiment struct { // An unique identifier of an experiment run. RunId string `protobuf:"bytes,1,opt,name=run_id,json=runId,proto3" json:"run_id,omitempty"` // The experiment configuration specific to the type of experiment. Config *anypb.Any `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"` // The time when the experiment should start. StartTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` // The time when the experiment should end, If unspecified, the experiment runs indefinitely unless it is manually // stopped by a user. EndTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // The status of the experiment. Status Experiment_Status `protobuf:"varint,5,opt,name=status,proto3,enum=clutch.chaos.experimentation.v1.Experiment_Status" json:"status,omitempty"` // contains filtered or unexported fields }
func (*Experiment) Descriptor
deprecated
func (*Experiment) Descriptor() ([]byte, []int)
Deprecated: Use Experiment.ProtoReflect.Descriptor instead.
func (*Experiment) GetConfig ¶
func (x *Experiment) GetConfig() *anypb.Any
func (*Experiment) GetEndTime ¶
func (x *Experiment) GetEndTime() *timestamppb.Timestamp
func (*Experiment) GetRunId ¶
func (x *Experiment) GetRunId() string
func (*Experiment) GetStartTime ¶
func (x *Experiment) GetStartTime() *timestamppb.Timestamp
func (*Experiment) GetStatus ¶
func (x *Experiment) GetStatus() Experiment_Status
func (*Experiment) ProtoMessage ¶
func (*Experiment) ProtoMessage()
func (*Experiment) ProtoReflect ¶
func (x *Experiment) ProtoReflect() protoreflect.Message
func (*Experiment) Reset ¶
func (x *Experiment) Reset()
func (*Experiment) String ¶
func (x *Experiment) String() string
func (*Experiment) Validate ¶
func (m *Experiment) Validate() error
Validate checks the field values on Experiment 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 (*Experiment) ValidateAll ¶
func (m *Experiment) ValidateAll() error
ValidateAll checks the field values on Experiment 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 ExperimentMultiError, or nil if none found.
type ExperimentMultiError ¶
type ExperimentMultiError []error
ExperimentMultiError is an error wrapping multiple validation errors returned by Experiment.ValidateAll() if the designated constraints aren't met.
func (ExperimentMultiError) AllErrors ¶
func (m ExperimentMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ExperimentMultiError) Error ¶
func (m ExperimentMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ExperimentRunDetails ¶
type ExperimentRunDetails struct { // The unique identifier of an experiment run. RunId string `protobuf:"bytes,1,opt,name=run_id,json=runId,proto3" json:"run_id,omitempty"` // The status of an experiment run. Status Experiment_Status `protobuf:"varint,2,opt,name=status,proto3,enum=clutch.chaos.experimentation.v1.Experiment_Status" json:"status,omitempty"` // The list of properties associated with the receiver that's created as a combination // of properties for a given experiment run and an experiment config for the run. Properties *PropertiesList `protobuf:"bytes,3,opt,name=properties,proto3" json:"properties,omitempty"` // The raw experiment configuration associated with an experiment run. Config *anypb.Any `protobuf:"bytes,4,opt,name=config,proto3" json:"config,omitempty"` // contains filtered or unexported fields }
ExperimentRunDetails frontend-renderable details of an experiment run and experiment config associated with it.
func (*ExperimentRunDetails) Descriptor
deprecated
func (*ExperimentRunDetails) Descriptor() ([]byte, []int)
Deprecated: Use ExperimentRunDetails.ProtoReflect.Descriptor instead.
func (*ExperimentRunDetails) GetConfig ¶
func (x *ExperimentRunDetails) GetConfig() *anypb.Any
func (*ExperimentRunDetails) GetProperties ¶
func (x *ExperimentRunDetails) GetProperties() *PropertiesList
func (*ExperimentRunDetails) GetRunId ¶
func (x *ExperimentRunDetails) GetRunId() string
func (*ExperimentRunDetails) GetStatus ¶
func (x *ExperimentRunDetails) GetStatus() Experiment_Status
func (*ExperimentRunDetails) ProtoMessage ¶
func (*ExperimentRunDetails) ProtoMessage()
func (*ExperimentRunDetails) ProtoReflect ¶
func (x *ExperimentRunDetails) ProtoReflect() protoreflect.Message
func (*ExperimentRunDetails) Reset ¶
func (x *ExperimentRunDetails) Reset()
func (*ExperimentRunDetails) String ¶
func (x *ExperimentRunDetails) String() string
func (*ExperimentRunDetails) Validate ¶
func (m *ExperimentRunDetails) Validate() error
Validate checks the field values on ExperimentRunDetails 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 (*ExperimentRunDetails) ValidateAll ¶
func (m *ExperimentRunDetails) ValidateAll() error
ValidateAll checks the field values on ExperimentRunDetails 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 ExperimentRunDetailsMultiError, or nil if none found.
type ExperimentRunDetailsMultiError ¶
type ExperimentRunDetailsMultiError []error
ExperimentRunDetailsMultiError is an error wrapping multiple validation errors returned by ExperimentRunDetails.ValidateAll() if the designated constraints aren't met.
func (ExperimentRunDetailsMultiError) AllErrors ¶
func (m ExperimentRunDetailsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ExperimentRunDetailsMultiError) Error ¶
func (m ExperimentRunDetailsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ExperimentRunDetailsValidationError ¶
type ExperimentRunDetailsValidationError struct {
// contains filtered or unexported fields
}
ExperimentRunDetailsValidationError is the validation error returned by ExperimentRunDetails.Validate if the designated constraints aren't met.
func (ExperimentRunDetailsValidationError) Cause ¶
func (e ExperimentRunDetailsValidationError) Cause() error
Cause function returns cause value.
func (ExperimentRunDetailsValidationError) Error ¶
func (e ExperimentRunDetailsValidationError) Error() string
Error satisfies the builtin error interface
func (ExperimentRunDetailsValidationError) ErrorName ¶
func (e ExperimentRunDetailsValidationError) ErrorName() string
ErrorName returns error name.
func (ExperimentRunDetailsValidationError) Field ¶
func (e ExperimentRunDetailsValidationError) Field() string
Field function returns field value.
func (ExperimentRunDetailsValidationError) Key ¶
func (e ExperimentRunDetailsValidationError) Key() bool
Key function returns key value.
func (ExperimentRunDetailsValidationError) Reason ¶
func (e ExperimentRunDetailsValidationError) Reason() string
Reason function returns reason value.
type ExperimentValidationError ¶
type ExperimentValidationError struct {
// contains filtered or unexported fields
}
ExperimentValidationError is the validation error returned by Experiment.Validate if the designated constraints aren't met.
func (ExperimentValidationError) Cause ¶
func (e ExperimentValidationError) Cause() error
Cause function returns cause value.
func (ExperimentValidationError) Error ¶
func (e ExperimentValidationError) Error() string
Error satisfies the builtin error interface
func (ExperimentValidationError) ErrorName ¶
func (e ExperimentValidationError) ErrorName() string
ErrorName returns error name.
func (ExperimentValidationError) Field ¶
func (e ExperimentValidationError) Field() string
Field function returns field value.
func (ExperimentValidationError) Key ¶
func (e ExperimentValidationError) Key() bool
Key function returns key value.
func (ExperimentValidationError) Reason ¶
func (e ExperimentValidationError) Reason() string
Reason function returns reason value.
type Experiment_Status ¶
type Experiment_Status int32
const ( // Unspecified Status. Experiment_STATUS_UNSPECIFIED Experiment_Status = 0 // An experiment is specified to be run at a future date. Experiment_STATUS_SCHEDULED Experiment_Status = 1 // An experiment is currently running. Experiment_STATUS_RUNNING Experiment_Status = 2 // An experiment has completed. Experiment_STATUS_COMPLETED Experiment_Status = 3 // An experiment has been stopped before it was completed. Used only // for experiments with defined end_time. Experiment_STATUS_CANCELED Experiment_Status = 4 )
func (Experiment_Status) Descriptor ¶
func (Experiment_Status) Descriptor() protoreflect.EnumDescriptor
func (Experiment_Status) Enum ¶
func (x Experiment_Status) Enum() *Experiment_Status
func (Experiment_Status) EnumDescriptor
deprecated
func (Experiment_Status) EnumDescriptor() ([]byte, []int)
Deprecated: Use Experiment_Status.Descriptor instead.
func (Experiment_Status) Number ¶
func (x Experiment_Status) Number() protoreflect.EnumNumber
func (Experiment_Status) String ¶
func (x Experiment_Status) String() string
func (Experiment_Status) Type ¶
func (Experiment_Status) Type() protoreflect.EnumType
type ExperimentsAPIClient ¶
type ExperimentsAPIClient interface { // Create a new experiment using the provided experiment data. It fails if an experiment run // with the provided run identifier already exists. See `CreateExperimentData` for more details. CreateExperiment(ctx context.Context, in *CreateExperimentRequest, opts ...grpc.CallOption) (*CreateExperimentResponse, error) // Create a new experiment using the provided experiment data. It succeeds even if an experiment run // with the provided run identifier already exists. In this case, the rest of request's payload is ignored // and an existing experiment with a matching run identifier is returned. See `CreateExperimentData` for more // details. CreateOrGetExperiment(ctx context.Context, in *CreateOrGetExperimentRequest, opts ...grpc.CallOption) (*CreateOrGetExperimentResponse, error) // Cancel a running experiment run. The operation returns success even if a given experiment run has been // already completed or canceled and the operation does not have any effect. CancelExperimentRun(ctx context.Context, in *CancelExperimentRunRequest, opts ...grpc.CallOption) (*CancelExperimentRunResponse, error) // Get the list of experiments fulfilling the specified criteria. See `GetExperimentsRequests` for more details. GetExperiments(ctx context.Context, in *GetExperimentsRequest, opts ...grpc.CallOption) (*GetExperimentsResponse, error) // Get the list of experiments in the form that's optimized for displaying to the end user. GetListView(ctx context.Context, in *GetListViewRequest, opts ...grpc.CallOption) (*GetListViewResponse, error) // Fetch the list of properties in the format that's optimized for displaying to the end user. GetExperimentRunDetails(ctx context.Context, in *GetExperimentRunDetailsRequest, opts ...grpc.CallOption) (*GetExperimentRunDetailsResponse, error) }
ExperimentsAPIClient is the client API for ExperimentsAPI service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewExperimentsAPIClient ¶
func NewExperimentsAPIClient(cc grpc.ClientConnInterface) ExperimentsAPIClient
type ExperimentsAPIServer ¶
type ExperimentsAPIServer interface { // Create a new experiment using the provided experiment data. It fails if an experiment run // with the provided run identifier already exists. See `CreateExperimentData` for more details. CreateExperiment(context.Context, *CreateExperimentRequest) (*CreateExperimentResponse, error) // Create a new experiment using the provided experiment data. It succeeds even if an experiment run // with the provided run identifier already exists. In this case, the rest of request's payload is ignored // and an existing experiment with a matching run identifier is returned. See `CreateExperimentData` for more // details. CreateOrGetExperiment(context.Context, *CreateOrGetExperimentRequest) (*CreateOrGetExperimentResponse, error) // Cancel a running experiment run. The operation returns success even if a given experiment run has been // already completed or canceled and the operation does not have any effect. CancelExperimentRun(context.Context, *CancelExperimentRunRequest) (*CancelExperimentRunResponse, error) // Get the list of experiments fulfilling the specified criteria. See `GetExperimentsRequests` for more details. GetExperiments(context.Context, *GetExperimentsRequest) (*GetExperimentsResponse, error) // Get the list of experiments in the form that's optimized for displaying to the end user. GetListView(context.Context, *GetListViewRequest) (*GetListViewResponse, error) // Fetch the list of properties in the format that's optimized for displaying to the end user. GetExperimentRunDetails(context.Context, *GetExperimentRunDetailsRequest) (*GetExperimentRunDetailsResponse, error) }
ExperimentsAPIServer is the server API for ExperimentsAPI service. All implementations should embed UnimplementedExperimentsAPIServer for forward compatibility
type GetExperimentRunDetailsRequest ¶
type GetExperimentRunDetailsRequest struct { // The identifier of an experiment run whose details should be returned to the caller. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetExperimentRunDetailsRequest) Descriptor
deprecated
func (*GetExperimentRunDetailsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetExperimentRunDetailsRequest.ProtoReflect.Descriptor instead.
func (*GetExperimentRunDetailsRequest) GetId ¶
func (x *GetExperimentRunDetailsRequest) GetId() string
func (*GetExperimentRunDetailsRequest) ProtoMessage ¶
func (*GetExperimentRunDetailsRequest) ProtoMessage()
func (*GetExperimentRunDetailsRequest) ProtoReflect ¶
func (x *GetExperimentRunDetailsRequest) ProtoReflect() protoreflect.Message
func (*GetExperimentRunDetailsRequest) Reset ¶
func (x *GetExperimentRunDetailsRequest) Reset()
func (*GetExperimentRunDetailsRequest) String ¶
func (x *GetExperimentRunDetailsRequest) String() string
func (*GetExperimentRunDetailsRequest) Validate ¶
func (m *GetExperimentRunDetailsRequest) Validate() error
Validate checks the field values on GetExperimentRunDetailsRequest 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 (*GetExperimentRunDetailsRequest) ValidateAll ¶
func (m *GetExperimentRunDetailsRequest) ValidateAll() error
ValidateAll checks the field values on GetExperimentRunDetailsRequest 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 GetExperimentRunDetailsRequestMultiError, or nil if none found.
type GetExperimentRunDetailsRequestMultiError ¶
type GetExperimentRunDetailsRequestMultiError []error
GetExperimentRunDetailsRequestMultiError is an error wrapping multiple validation errors returned by GetExperimentRunDetailsRequest.ValidateAll() if the designated constraints aren't met.
func (GetExperimentRunDetailsRequestMultiError) AllErrors ¶
func (m GetExperimentRunDetailsRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetExperimentRunDetailsRequestMultiError) Error ¶
func (m GetExperimentRunDetailsRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetExperimentRunDetailsRequestValidationError ¶
type GetExperimentRunDetailsRequestValidationError struct {
// contains filtered or unexported fields
}
GetExperimentRunDetailsRequestValidationError is the validation error returned by GetExperimentRunDetailsRequest.Validate if the designated constraints aren't met.
func (GetExperimentRunDetailsRequestValidationError) Cause ¶
func (e GetExperimentRunDetailsRequestValidationError) Cause() error
Cause function returns cause value.
func (GetExperimentRunDetailsRequestValidationError) Error ¶
func (e GetExperimentRunDetailsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetExperimentRunDetailsRequestValidationError) ErrorName ¶
func (e GetExperimentRunDetailsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetExperimentRunDetailsRequestValidationError) Field ¶
func (e GetExperimentRunDetailsRequestValidationError) Field() string
Field function returns field value.
func (GetExperimentRunDetailsRequestValidationError) Key ¶
func (e GetExperimentRunDetailsRequestValidationError) Key() bool
Key function returns key value.
func (GetExperimentRunDetailsRequestValidationError) Reason ¶
func (e GetExperimentRunDetailsRequestValidationError) Reason() string
Reason function returns reason value.
type GetExperimentRunDetailsResponse ¶
type GetExperimentRunDetailsResponse struct { RunDetails *ExperimentRunDetails `protobuf:"bytes,1,opt,name=run_details,json=runDetails,proto3" json:"run_details,omitempty"` // contains filtered or unexported fields }
func (*GetExperimentRunDetailsResponse) Descriptor
deprecated
func (*GetExperimentRunDetailsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetExperimentRunDetailsResponse.ProtoReflect.Descriptor instead.
func (*GetExperimentRunDetailsResponse) GetRunDetails ¶
func (x *GetExperimentRunDetailsResponse) GetRunDetails() *ExperimentRunDetails
func (*GetExperimentRunDetailsResponse) ProtoMessage ¶
func (*GetExperimentRunDetailsResponse) ProtoMessage()
func (*GetExperimentRunDetailsResponse) ProtoReflect ¶
func (x *GetExperimentRunDetailsResponse) ProtoReflect() protoreflect.Message
func (*GetExperimentRunDetailsResponse) Reset ¶
func (x *GetExperimentRunDetailsResponse) Reset()
func (*GetExperimentRunDetailsResponse) String ¶
func (x *GetExperimentRunDetailsResponse) String() string
func (*GetExperimentRunDetailsResponse) Validate ¶
func (m *GetExperimentRunDetailsResponse) Validate() error
Validate checks the field values on GetExperimentRunDetailsResponse 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 (*GetExperimentRunDetailsResponse) ValidateAll ¶
func (m *GetExperimentRunDetailsResponse) ValidateAll() error
ValidateAll checks the field values on GetExperimentRunDetailsResponse 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 GetExperimentRunDetailsResponseMultiError, or nil if none found.
type GetExperimentRunDetailsResponseMultiError ¶
type GetExperimentRunDetailsResponseMultiError []error
GetExperimentRunDetailsResponseMultiError is an error wrapping multiple validation errors returned by GetExperimentRunDetailsResponse.ValidateAll() if the designated constraints aren't met.
func (GetExperimentRunDetailsResponseMultiError) AllErrors ¶
func (m GetExperimentRunDetailsResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetExperimentRunDetailsResponseMultiError) Error ¶
func (m GetExperimentRunDetailsResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetExperimentRunDetailsResponseValidationError ¶
type GetExperimentRunDetailsResponseValidationError struct {
// contains filtered or unexported fields
}
GetExperimentRunDetailsResponseValidationError is the validation error returned by GetExperimentRunDetailsResponse.Validate if the designated constraints aren't met.
func (GetExperimentRunDetailsResponseValidationError) Cause ¶
func (e GetExperimentRunDetailsResponseValidationError) Cause() error
Cause function returns cause value.
func (GetExperimentRunDetailsResponseValidationError) Error ¶
func (e GetExperimentRunDetailsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetExperimentRunDetailsResponseValidationError) ErrorName ¶
func (e GetExperimentRunDetailsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetExperimentRunDetailsResponseValidationError) Field ¶
func (e GetExperimentRunDetailsResponseValidationError) Field() string
Field function returns field value.
func (GetExperimentRunDetailsResponseValidationError) Key ¶
func (e GetExperimentRunDetailsResponseValidationError) Key() bool
Key function returns key value.
func (GetExperimentRunDetailsResponseValidationError) Reason ¶
func (e GetExperimentRunDetailsResponseValidationError) Reason() string
Reason function returns reason value.
type GetExperimentsRequest ¶
type GetExperimentsRequest struct { // Return experiments whose config's type URL matches the provided config type URL. // Set to empty string to query for all. ConfigType string `protobuf:"bytes,1,opt,name=config_type,json=configType,proto3" json:"config_type,omitempty"` // Return experiments whose status is equal to the provided value. // Set to STATUS_UNSPECIFIED to query for all. Status GetExperimentsRequest_Status `` /* 132-byte string literal not displayed */ // contains filtered or unexported fields }
func (*GetExperimentsRequest) Descriptor
deprecated
func (*GetExperimentsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetExperimentsRequest.ProtoReflect.Descriptor instead.
func (*GetExperimentsRequest) GetConfigType ¶
func (x *GetExperimentsRequest) GetConfigType() string
func (*GetExperimentsRequest) GetStatus ¶
func (x *GetExperimentsRequest) GetStatus() GetExperimentsRequest_Status
func (*GetExperimentsRequest) ProtoMessage ¶
func (*GetExperimentsRequest) ProtoMessage()
func (*GetExperimentsRequest) ProtoReflect ¶
func (x *GetExperimentsRequest) ProtoReflect() protoreflect.Message
func (*GetExperimentsRequest) Reset ¶
func (x *GetExperimentsRequest) Reset()
func (*GetExperimentsRequest) String ¶
func (x *GetExperimentsRequest) String() string
func (*GetExperimentsRequest) Validate ¶
func (m *GetExperimentsRequest) Validate() error
Validate checks the field values on GetExperimentsRequest 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 (*GetExperimentsRequest) ValidateAll ¶
func (m *GetExperimentsRequest) ValidateAll() error
ValidateAll checks the field values on GetExperimentsRequest 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 GetExperimentsRequestMultiError, or nil if none found.
type GetExperimentsRequestMultiError ¶
type GetExperimentsRequestMultiError []error
GetExperimentsRequestMultiError is an error wrapping multiple validation errors returned by GetExperimentsRequest.ValidateAll() if the designated constraints aren't met.
func (GetExperimentsRequestMultiError) AllErrors ¶
func (m GetExperimentsRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetExperimentsRequestMultiError) Error ¶
func (m GetExperimentsRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetExperimentsRequestValidationError ¶
type GetExperimentsRequestValidationError struct {
// contains filtered or unexported fields
}
GetExperimentsRequestValidationError is the validation error returned by GetExperimentsRequest.Validate if the designated constraints aren't met.
func (GetExperimentsRequestValidationError) Cause ¶
func (e GetExperimentsRequestValidationError) Cause() error
Cause function returns cause value.
func (GetExperimentsRequestValidationError) Error ¶
func (e GetExperimentsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetExperimentsRequestValidationError) ErrorName ¶
func (e GetExperimentsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetExperimentsRequestValidationError) Field ¶
func (e GetExperimentsRequestValidationError) Field() string
Field function returns field value.
func (GetExperimentsRequestValidationError) Key ¶
func (e GetExperimentsRequestValidationError) Key() bool
Key function returns key value.
func (GetExperimentsRequestValidationError) Reason ¶
func (e GetExperimentsRequestValidationError) Reason() string
Reason function returns reason value.
type GetExperimentsRequest_Status ¶
type GetExperimentsRequest_Status int32
The status of an experiment.
const ( // Unspecified status. GetExperimentsRequest_STATUS_UNSPECIFIED GetExperimentsRequest_Status = 0 // Return experiments that are currently running. GetExperimentsRequest_STATUS_RUNNING GetExperimentsRequest_Status = 1 )
func (GetExperimentsRequest_Status) Descriptor ¶
func (GetExperimentsRequest_Status) Descriptor() protoreflect.EnumDescriptor
func (GetExperimentsRequest_Status) Enum ¶
func (x GetExperimentsRequest_Status) Enum() *GetExperimentsRequest_Status
func (GetExperimentsRequest_Status) EnumDescriptor
deprecated
func (GetExperimentsRequest_Status) EnumDescriptor() ([]byte, []int)
Deprecated: Use GetExperimentsRequest_Status.Descriptor instead.
func (GetExperimentsRequest_Status) Number ¶
func (x GetExperimentsRequest_Status) Number() protoreflect.EnumNumber
func (GetExperimentsRequest_Status) String ¶
func (x GetExperimentsRequest_Status) String() string
func (GetExperimentsRequest_Status) Type ¶
func (GetExperimentsRequest_Status) Type() protoreflect.EnumType
type GetExperimentsResponse ¶
type GetExperimentsResponse struct { Experiments []*Experiment `protobuf:"bytes,1,rep,name=experiments,proto3" json:"experiments,omitempty"` // contains filtered or unexported fields }
func (*GetExperimentsResponse) Descriptor
deprecated
func (*GetExperimentsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetExperimentsResponse.ProtoReflect.Descriptor instead.
func (*GetExperimentsResponse) GetExperiments ¶
func (x *GetExperimentsResponse) GetExperiments() []*Experiment
func (*GetExperimentsResponse) ProtoMessage ¶
func (*GetExperimentsResponse) ProtoMessage()
func (*GetExperimentsResponse) ProtoReflect ¶
func (x *GetExperimentsResponse) ProtoReflect() protoreflect.Message
func (*GetExperimentsResponse) Reset ¶
func (x *GetExperimentsResponse) Reset()
func (*GetExperimentsResponse) String ¶
func (x *GetExperimentsResponse) String() string
func (*GetExperimentsResponse) Validate ¶
func (m *GetExperimentsResponse) Validate() error
Validate checks the field values on GetExperimentsResponse 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 (*GetExperimentsResponse) ValidateAll ¶
func (m *GetExperimentsResponse) ValidateAll() error
ValidateAll checks the field values on GetExperimentsResponse 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 GetExperimentsResponseMultiError, or nil if none found.
type GetExperimentsResponseMultiError ¶
type GetExperimentsResponseMultiError []error
GetExperimentsResponseMultiError is an error wrapping multiple validation errors returned by GetExperimentsResponse.ValidateAll() if the designated constraints aren't met.
func (GetExperimentsResponseMultiError) AllErrors ¶
func (m GetExperimentsResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetExperimentsResponseMultiError) Error ¶
func (m GetExperimentsResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetExperimentsResponseValidationError ¶
type GetExperimentsResponseValidationError struct {
// contains filtered or unexported fields
}
GetExperimentsResponseValidationError is the validation error returned by GetExperimentsResponse.Validate if the designated constraints aren't met.
func (GetExperimentsResponseValidationError) Cause ¶
func (e GetExperimentsResponseValidationError) Cause() error
Cause function returns cause value.
func (GetExperimentsResponseValidationError) Error ¶
func (e GetExperimentsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetExperimentsResponseValidationError) ErrorName ¶
func (e GetExperimentsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetExperimentsResponseValidationError) Field ¶
func (e GetExperimentsResponseValidationError) Field() string
Field function returns field value.
func (GetExperimentsResponseValidationError) Key ¶
func (e GetExperimentsResponseValidationError) Key() bool
Key function returns key value.
func (GetExperimentsResponseValidationError) Reason ¶
func (e GetExperimentsResponseValidationError) Reason() string
Reason function returns reason value.
type GetListViewRequest ¶
type GetListViewRequest struct {
// contains filtered or unexported fields
}
func (*GetListViewRequest) Descriptor
deprecated
func (*GetListViewRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetListViewRequest.ProtoReflect.Descriptor instead.
func (*GetListViewRequest) ProtoMessage ¶
func (*GetListViewRequest) ProtoMessage()
func (*GetListViewRequest) ProtoReflect ¶
func (x *GetListViewRequest) ProtoReflect() protoreflect.Message
func (*GetListViewRequest) Reset ¶
func (x *GetListViewRequest) Reset()
func (*GetListViewRequest) String ¶
func (x *GetListViewRequest) String() string
func (*GetListViewRequest) Validate ¶
func (m *GetListViewRequest) Validate() error
Validate checks the field values on GetListViewRequest 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 (*GetListViewRequest) ValidateAll ¶
func (m *GetListViewRequest) ValidateAll() error
ValidateAll checks the field values on GetListViewRequest 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 GetListViewRequestMultiError, or nil if none found.
type GetListViewRequestMultiError ¶
type GetListViewRequestMultiError []error
GetListViewRequestMultiError is an error wrapping multiple validation errors returned by GetListViewRequest.ValidateAll() if the designated constraints aren't met.
func (GetListViewRequestMultiError) AllErrors ¶
func (m GetListViewRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetListViewRequestMultiError) Error ¶
func (m GetListViewRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetListViewRequestValidationError ¶
type GetListViewRequestValidationError struct {
// contains filtered or unexported fields
}
GetListViewRequestValidationError is the validation error returned by GetListViewRequest.Validate if the designated constraints aren't met.
func (GetListViewRequestValidationError) Cause ¶
func (e GetListViewRequestValidationError) Cause() error
Cause function returns cause value.
func (GetListViewRequestValidationError) Error ¶
func (e GetListViewRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetListViewRequestValidationError) ErrorName ¶
func (e GetListViewRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetListViewRequestValidationError) Field ¶
func (e GetListViewRequestValidationError) Field() string
Field function returns field value.
func (GetListViewRequestValidationError) Key ¶
func (e GetListViewRequestValidationError) Key() bool
Key function returns key value.
func (GetListViewRequestValidationError) Reason ¶
func (e GetListViewRequestValidationError) Reason() string
Reason function returns reason value.
type GetListViewResponse ¶
type GetListViewResponse struct { Items []*ListViewItem `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*GetListViewResponse) Descriptor
deprecated
func (*GetListViewResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetListViewResponse.ProtoReflect.Descriptor instead.
func (*GetListViewResponse) GetItems ¶
func (x *GetListViewResponse) GetItems() []*ListViewItem
func (*GetListViewResponse) ProtoMessage ¶
func (*GetListViewResponse) ProtoMessage()
func (*GetListViewResponse) ProtoReflect ¶
func (x *GetListViewResponse) ProtoReflect() protoreflect.Message
func (*GetListViewResponse) Reset ¶
func (x *GetListViewResponse) Reset()
func (*GetListViewResponse) String ¶
func (x *GetListViewResponse) String() string
func (*GetListViewResponse) Validate ¶
func (m *GetListViewResponse) Validate() error
Validate checks the field values on GetListViewResponse 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 (*GetListViewResponse) ValidateAll ¶
func (m *GetListViewResponse) ValidateAll() error
ValidateAll checks the field values on GetListViewResponse 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 GetListViewResponseMultiError, or nil if none found.
type GetListViewResponseMultiError ¶
type GetListViewResponseMultiError []error
GetListViewResponseMultiError is an error wrapping multiple validation errors returned by GetListViewResponse.ValidateAll() if the designated constraints aren't met.
func (GetListViewResponseMultiError) AllErrors ¶
func (m GetListViewResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetListViewResponseMultiError) Error ¶
func (m GetListViewResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetListViewResponseValidationError ¶
type GetListViewResponseValidationError struct {
// contains filtered or unexported fields
}
GetListViewResponseValidationError is the validation error returned by GetListViewResponse.Validate if the designated constraints aren't met.
func (GetListViewResponseValidationError) Cause ¶
func (e GetListViewResponseValidationError) Cause() error
Cause function returns cause value.
func (GetListViewResponseValidationError) Error ¶
func (e GetListViewResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetListViewResponseValidationError) ErrorName ¶
func (e GetListViewResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetListViewResponseValidationError) Field ¶
func (e GetListViewResponseValidationError) Field() string
Field function returns field value.
func (GetListViewResponseValidationError) Key ¶
func (e GetListViewResponseValidationError) Key() bool
Key function returns key value.
func (GetListViewResponseValidationError) Reason ¶
func (e GetListViewResponseValidationError) Reason() string
Reason function returns reason value.
type ListViewItem ¶
type ListViewItem struct { // The unique identifier of a list item. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // The properties map. Properties *PropertiesMap `protobuf:"bytes,2,opt,name=properties,proto3" json:"properties,omitempty"` // contains filtered or unexported fields }
ListViewItem an abstraction for a list item.
func (*ListViewItem) Descriptor
deprecated
func (*ListViewItem) Descriptor() ([]byte, []int)
Deprecated: Use ListViewItem.ProtoReflect.Descriptor instead.
func (*ListViewItem) GetId ¶
func (x *ListViewItem) GetId() string
func (*ListViewItem) GetProperties ¶
func (x *ListViewItem) GetProperties() *PropertiesMap
func (*ListViewItem) ProtoMessage ¶
func (*ListViewItem) ProtoMessage()
func (*ListViewItem) ProtoReflect ¶
func (x *ListViewItem) ProtoReflect() protoreflect.Message
func (*ListViewItem) Reset ¶
func (x *ListViewItem) Reset()
func (*ListViewItem) String ¶
func (x *ListViewItem) String() string
func (*ListViewItem) Validate ¶
func (m *ListViewItem) Validate() error
Validate checks the field values on ListViewItem 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 (*ListViewItem) ValidateAll ¶
func (m *ListViewItem) ValidateAll() error
ValidateAll checks the field values on ListViewItem 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 ListViewItemMultiError, or nil if none found.
type ListViewItemMultiError ¶
type ListViewItemMultiError []error
ListViewItemMultiError is an error wrapping multiple validation errors returned by ListViewItem.ValidateAll() if the designated constraints aren't met.
func (ListViewItemMultiError) AllErrors ¶
func (m ListViewItemMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListViewItemMultiError) Error ¶
func (m ListViewItemMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListViewItemValidationError ¶
type ListViewItemValidationError struct {
// contains filtered or unexported fields
}
ListViewItemValidationError is the validation error returned by ListViewItem.Validate if the designated constraints aren't met.
func (ListViewItemValidationError) Cause ¶
func (e ListViewItemValidationError) Cause() error
Cause function returns cause value.
func (ListViewItemValidationError) Error ¶
func (e ListViewItemValidationError) Error() string
Error satisfies the builtin error interface
func (ListViewItemValidationError) ErrorName ¶
func (e ListViewItemValidationError) ErrorName() string
ErrorName returns error name.
func (ListViewItemValidationError) Field ¶
func (e ListViewItemValidationError) Field() string
Field function returns field value.
func (ListViewItemValidationError) Key ¶
func (e ListViewItemValidationError) Key() bool
Key function returns key value.
func (ListViewItemValidationError) Reason ¶
func (e ListViewItemValidationError) Reason() string
Reason function returns reason value.
type PropertiesList ¶
type PropertiesList struct { // The ordered list of items. Items []*Property `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*PropertiesList) Descriptor
deprecated
func (*PropertiesList) Descriptor() ([]byte, []int)
Deprecated: Use PropertiesList.ProtoReflect.Descriptor instead.
func (*PropertiesList) GetItems ¶
func (x *PropertiesList) GetItems() []*Property
func (*PropertiesList) ProtoMessage ¶
func (*PropertiesList) ProtoMessage()
func (*PropertiesList) ProtoReflect ¶
func (x *PropertiesList) ProtoReflect() protoreflect.Message
func (*PropertiesList) Reset ¶
func (x *PropertiesList) Reset()
func (*PropertiesList) String ¶
func (x *PropertiesList) String() string
func (*PropertiesList) Validate ¶
func (m *PropertiesList) Validate() error
Validate checks the field values on PropertiesList 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 (*PropertiesList) ValidateAll ¶
func (m *PropertiesList) ValidateAll() error
ValidateAll checks the field values on PropertiesList 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 PropertiesListMultiError, or nil if none found.
type PropertiesListMultiError ¶
type PropertiesListMultiError []error
PropertiesListMultiError is an error wrapping multiple validation errors returned by PropertiesList.ValidateAll() if the designated constraints aren't met.
func (PropertiesListMultiError) AllErrors ¶
func (m PropertiesListMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PropertiesListMultiError) Error ¶
func (m PropertiesListMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PropertiesListValidationError ¶
type PropertiesListValidationError struct {
// contains filtered or unexported fields
}
PropertiesListValidationError is the validation error returned by PropertiesList.Validate if the designated constraints aren't met.
func (PropertiesListValidationError) Cause ¶
func (e PropertiesListValidationError) Cause() error
Cause function returns cause value.
func (PropertiesListValidationError) Error ¶
func (e PropertiesListValidationError) Error() string
Error satisfies the builtin error interface
func (PropertiesListValidationError) ErrorName ¶
func (e PropertiesListValidationError) ErrorName() string
ErrorName returns error name.
func (PropertiesListValidationError) Field ¶
func (e PropertiesListValidationError) Field() string
Field function returns field value.
func (PropertiesListValidationError) Key ¶
func (e PropertiesListValidationError) Key() bool
Key function returns key value.
func (PropertiesListValidationError) Reason ¶
func (e PropertiesListValidationError) Reason() string
Reason function returns reason value.
type PropertiesMap ¶
type PropertiesMap struct { // The unordered list of items that provides a fast random access to a property with a given identifier. Items map[string]*Property `` /* 151-byte string literal not displayed */ // contains filtered or unexported fields }
func (*PropertiesMap) Descriptor
deprecated
func (*PropertiesMap) Descriptor() ([]byte, []int)
Deprecated: Use PropertiesMap.ProtoReflect.Descriptor instead.
func (*PropertiesMap) GetItems ¶
func (x *PropertiesMap) GetItems() map[string]*Property
func (*PropertiesMap) ProtoMessage ¶
func (*PropertiesMap) ProtoMessage()
func (*PropertiesMap) ProtoReflect ¶
func (x *PropertiesMap) ProtoReflect() protoreflect.Message
func (*PropertiesMap) Reset ¶
func (x *PropertiesMap) Reset()
func (*PropertiesMap) String ¶
func (x *PropertiesMap) String() string
func (*PropertiesMap) Validate ¶
func (m *PropertiesMap) Validate() error
Validate checks the field values on PropertiesMap 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 (*PropertiesMap) ValidateAll ¶
func (m *PropertiesMap) ValidateAll() error
ValidateAll checks the field values on PropertiesMap 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 PropertiesMapMultiError, or nil if none found.
type PropertiesMapMultiError ¶
type PropertiesMapMultiError []error
PropertiesMapMultiError is an error wrapping multiple validation errors returned by PropertiesMap.ValidateAll() if the designated constraints aren't met.
func (PropertiesMapMultiError) AllErrors ¶
func (m PropertiesMapMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PropertiesMapMultiError) Error ¶
func (m PropertiesMapMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PropertiesMapValidationError ¶
type PropertiesMapValidationError struct {
// contains filtered or unexported fields
}
PropertiesMapValidationError is the validation error returned by PropertiesMap.Validate if the designated constraints aren't met.
func (PropertiesMapValidationError) Cause ¶
func (e PropertiesMapValidationError) Cause() error
Cause function returns cause value.
func (PropertiesMapValidationError) Error ¶
func (e PropertiesMapValidationError) Error() string
Error satisfies the builtin error interface
func (PropertiesMapValidationError) ErrorName ¶
func (e PropertiesMapValidationError) ErrorName() string
ErrorName returns error name.
func (PropertiesMapValidationError) Field ¶
func (e PropertiesMapValidationError) Field() string
Field function returns field value.
func (PropertiesMapValidationError) Key ¶
func (e PropertiesMapValidationError) Key() bool
Key function returns key value.
func (PropertiesMapValidationError) Reason ¶
func (e PropertiesMapValidationError) Reason() string
Reason function returns reason value.
type Property ¶
type Property struct { // The unique identifier of the property. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // The human readable name of the property. Label string `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"` // The human readable value of the property. If it's not provided it's up to the caller to determine how // to display the content of the `value` field of the property. DisplayValue *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=display_value,json=displayValue,proto3" json:"display_value,omitempty"` // The value of the property. // // Types that are assignable to Value: // // *Property_DateValue // *Property_StringValue // *Property_IntValue // *Property_UrlValue Value isProperty_Value `protobuf_oneof:"value"` // contains filtered or unexported fields }
func (*Property) Descriptor
deprecated
func (*Property) GetDateValue ¶
func (x *Property) GetDateValue() *timestamppb.Timestamp
func (*Property) GetDisplayValue ¶
func (x *Property) GetDisplayValue() *wrapperspb.StringValue
func (*Property) GetIntValue ¶
func (*Property) GetStringValue ¶
func (*Property) GetUrlValue ¶
func (*Property) ProtoMessage ¶
func (*Property) ProtoMessage()
func (*Property) ProtoReflect ¶
func (x *Property) ProtoReflect() protoreflect.Message
func (*Property) Validate ¶
Validate checks the field values on Property 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 (*Property) ValidateAll ¶
ValidateAll checks the field values on Property 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 PropertyMultiError, or nil if none found.
type PropertyMultiError ¶
type PropertyMultiError []error
PropertyMultiError is an error wrapping multiple validation errors returned by Property.ValidateAll() if the designated constraints aren't met.
func (PropertyMultiError) AllErrors ¶
func (m PropertyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PropertyMultiError) Error ¶
func (m PropertyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PropertyValidationError ¶
type PropertyValidationError struct {
// contains filtered or unexported fields
}
PropertyValidationError is the validation error returned by Property.Validate if the designated constraints aren't met.
func (PropertyValidationError) Cause ¶
func (e PropertyValidationError) Cause() error
Cause function returns cause value.
func (PropertyValidationError) Error ¶
func (e PropertyValidationError) Error() string
Error satisfies the builtin error interface
func (PropertyValidationError) ErrorName ¶
func (e PropertyValidationError) ErrorName() string
ErrorName returns error name.
func (PropertyValidationError) Field ¶
func (e PropertyValidationError) Field() string
Field function returns field value.
func (PropertyValidationError) Key ¶
func (e PropertyValidationError) Key() bool
Key function returns key value.
func (PropertyValidationError) Reason ¶
func (e PropertyValidationError) Reason() string
Reason function returns reason value.
type Property_DateValue ¶
type Property_DateValue struct {
DateValue *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=date_value,json=dateValue,proto3,oneof"`
}
type Property_IntValue ¶
type Property_IntValue struct {
IntValue int64 `protobuf:"varint,6,opt,name=int_value,json=intValue,proto3,oneof"`
}
type Property_StringValue ¶
type Property_StringValue struct {
StringValue string `protobuf:"bytes,5,opt,name=string_value,json=stringValue,proto3,oneof"`
}
type Property_UrlValue ¶
type Property_UrlValue struct {
UrlValue string `protobuf:"bytes,7,opt,name=url_value,json=urlValue,proto3,oneof"`
}
type UnimplementedExperimentsAPIServer ¶
type UnimplementedExperimentsAPIServer struct { }
UnimplementedExperimentsAPIServer should be embedded to have forward compatible implementations.
func (UnimplementedExperimentsAPIServer) CancelExperimentRun ¶
func (UnimplementedExperimentsAPIServer) CancelExperimentRun(context.Context, *CancelExperimentRunRequest) (*CancelExperimentRunResponse, error)
func (UnimplementedExperimentsAPIServer) CreateExperiment ¶
func (UnimplementedExperimentsAPIServer) CreateExperiment(context.Context, *CreateExperimentRequest) (*CreateExperimentResponse, error)
func (UnimplementedExperimentsAPIServer) CreateOrGetExperiment ¶
func (UnimplementedExperimentsAPIServer) CreateOrGetExperiment(context.Context, *CreateOrGetExperimentRequest) (*CreateOrGetExperimentResponse, error)
func (UnimplementedExperimentsAPIServer) GetExperimentRunDetails ¶
func (UnimplementedExperimentsAPIServer) GetExperimentRunDetails(context.Context, *GetExperimentRunDetailsRequest) (*GetExperimentRunDetailsResponse, error)
func (UnimplementedExperimentsAPIServer) GetExperiments ¶
func (UnimplementedExperimentsAPIServer) GetExperiments(context.Context, *GetExperimentsRequest) (*GetExperimentsResponse, error)
func (UnimplementedExperimentsAPIServer) GetListView ¶
func (UnimplementedExperimentsAPIServer) GetListView(context.Context, *GetListViewRequest) (*GetListViewResponse, error)
type UnsafeExperimentsAPIServer ¶
type UnsafeExperimentsAPIServer interface {
// contains filtered or unexported methods
}
UnsafeExperimentsAPIServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ExperimentsAPIServer will result in compilation errors.
Source Files
¶
- create_experiment_data.pb.go
- create_experiment_data.pb.validate.go
- experiment.pb.go
- experiment.pb.validate.go
- experiment_run_details.pb.go
- experiment_run_details.pb.validate.go
- experimentation.pb.go
- experimentation.pb.gw.go
- experimentation.pb.validate.go
- experimentation_grpc.pb.go
- list_view_item.pb.go
- list_view_item.pb.validate.go
- properties.pb.go
- properties.pb.validate.go