suite_manager

package
v0.0.0-...-e3d6803 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: BSD-3-Clause Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_test_platform_suite_manager_api_proto protoreflect.FileDescriptor
View Source
var SuiteManagerService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "test_platform.suite_manager.SuiteManagerService",
	HandlerType: (*SuiteManagerServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetConfig",
			Handler:    _SuiteManagerService_GetConfig_Handler,
		},
		{
			MethodName: "FetchConfigs",
			Handler:    _SuiteManagerService_FetchConfigs_Handler,
		},
		{
			MethodName: "AddConfig",
			Handler:    _SuiteManagerService_AddConfig_Handler,
		},
		{
			MethodName: "DeleteConfig",
			Handler:    _SuiteManagerService_DeleteConfig_Handler,
		},
		{
			MethodName: "UpdateConfig",
			Handler:    _SuiteManagerService_UpdateConfig_Handler,
		},
		{
			MethodName: "FetchBuildTargets",
			Handler:    _SuiteManagerService_FetchBuildTargets_Handler,
		},
		{
			MethodName: "EstimateImpact",
			Handler:    _SuiteManagerService_EstimateImpact_Handler,
		},
		{
			MethodName: "BatchEstimateImpact",
			Handler:    _SuiteManagerService_BatchEstimateImpact_Handler,
		},
		{
			MethodName: "ProposeChange",
			Handler:    _SuiteManagerService_ProposeChange_Handler,
		},
		{
			MethodName: "UpdateProposal",
			Handler:    _SuiteManagerService_UpdateProposal_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "test_platform/suite_manager/api.proto",
}

SuiteManagerService_ServiceDesc is the grpc.ServiceDesc for SuiteManagerService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterSuiteManagerServiceServer

func RegisterSuiteManagerServiceServer(s grpc.ServiceRegistrar, srv SuiteManagerServiceServer)

Types

type AddConfigRequest

type AddConfigRequest struct {
	ConfigName    string                     `protobuf:"bytes,1,opt,name=config_name,json=configName,proto3" json:"config_name,omitempty"`
	ConfigPayload *testplans.SchedulerConfig `protobuf:"bytes,2,opt,name=config_payload,json=configPayload,proto3" json:"config_payload,omitempty"`
	// contains filtered or unexported fields
}

func (*AddConfigRequest) Descriptor deprecated

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

Deprecated: Use AddConfigRequest.ProtoReflect.Descriptor instead.

func (*AddConfigRequest) GetConfigName

func (x *AddConfigRequest) GetConfigName() string

func (*AddConfigRequest) GetConfigPayload

func (x *AddConfigRequest) GetConfigPayload() *testplans.SchedulerConfig

func (*AddConfigRequest) ProtoMessage

func (*AddConfigRequest) ProtoMessage()

func (*AddConfigRequest) ProtoReflect

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

func (*AddConfigRequest) Reset

func (x *AddConfigRequest) Reset()

func (*AddConfigRequest) String

func (x *AddConfigRequest) String() string

type AddConfigResponse

type AddConfigResponse struct {
	Status *Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*AddConfigResponse) Descriptor deprecated

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

Deprecated: Use AddConfigResponse.ProtoReflect.Descriptor instead.

func (*AddConfigResponse) GetStatus

func (x *AddConfigResponse) GetStatus() *Status

func (*AddConfigResponse) ProtoMessage

func (*AddConfigResponse) ProtoMessage()

func (*AddConfigResponse) ProtoReflect

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

func (*AddConfigResponse) Reset

func (x *AddConfigResponse) Reset()

func (*AddConfigResponse) String

func (x *AddConfigResponse) String() string

type BatchEstimateImpactRequest

type BatchEstimateImpactRequest struct {
	Requests []*BatchEstimateImpactRequest_Request `protobuf:"bytes,1,rep,name=requests,proto3" json:"requests,omitempty"`
	// contains filtered or unexported fields
}

func (*BatchEstimateImpactRequest) Descriptor deprecated

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

Deprecated: Use BatchEstimateImpactRequest.ProtoReflect.Descriptor instead.

func (*BatchEstimateImpactRequest) GetRequests

func (*BatchEstimateImpactRequest) ProtoMessage

func (*BatchEstimateImpactRequest) ProtoMessage()

func (*BatchEstimateImpactRequest) ProtoReflect

func (*BatchEstimateImpactRequest) Reset

func (x *BatchEstimateImpactRequest) Reset()

func (*BatchEstimateImpactRequest) String

func (x *BatchEstimateImpactRequest) String() string

type BatchEstimateImpactRequest_Request

type BatchEstimateImpactRequest_Request struct {

	// request_uuid will be used to identify each requests so that the order of
	// response does not affect useability. These values must be unique.
	RequestUuid string                     `protobuf:"bytes,1,opt,name=request_uuid,json=requestUuid,proto3" json:"request_uuid,omitempty"`
	Config      *testplans.SchedulerConfig `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"`
	// If this field is populated then the service will return the difference
	// between the two using the following logic <config impact> -
	// <compare_config impact> = diff. This is expected to be used when testing
	// the impact of changes to an existing config.
	CompareConfig *testplans.SchedulerConfig `protobuf:"bytes,3,opt,name=compare_config,json=compareConfig,proto3" json:"compare_config,omitempty"`
	// contains filtered or unexported fields
}

func (*BatchEstimateImpactRequest_Request) Descriptor deprecated

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

Deprecated: Use BatchEstimateImpactRequest_Request.ProtoReflect.Descriptor instead.

func (*BatchEstimateImpactRequest_Request) GetCompareConfig

func (*BatchEstimateImpactRequest_Request) GetConfig

func (*BatchEstimateImpactRequest_Request) GetRequestUuid

func (x *BatchEstimateImpactRequest_Request) GetRequestUuid() string

func (*BatchEstimateImpactRequest_Request) ProtoMessage

func (*BatchEstimateImpactRequest_Request) ProtoMessage()

func (*BatchEstimateImpactRequest_Request) ProtoReflect

func (*BatchEstimateImpactRequest_Request) Reset

func (*BatchEstimateImpactRequest_Request) String

type BatchEstimateImpactResponse

type BatchEstimateImpactResponse struct {
	Status   *Status                                `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	Reponses []*BatchEstimateImpactResponse_Reponse `protobuf:"bytes,2,rep,name=reponses,proto3" json:"reponses,omitempty"`
	// contains filtered or unexported fields
}

func (*BatchEstimateImpactResponse) Descriptor deprecated

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

Deprecated: Use BatchEstimateImpactResponse.ProtoReflect.Descriptor instead.

func (*BatchEstimateImpactResponse) GetReponses

func (*BatchEstimateImpactResponse) GetStatus

func (x *BatchEstimateImpactResponse) GetStatus() *Status

func (*BatchEstimateImpactResponse) ProtoMessage

func (*BatchEstimateImpactResponse) ProtoMessage()

func (*BatchEstimateImpactResponse) ProtoReflect

func (*BatchEstimateImpactResponse) Reset

func (x *BatchEstimateImpactResponse) Reset()

func (*BatchEstimateImpactResponse) String

func (x *BatchEstimateImpactResponse) String() string

type BatchEstimateImpactResponse_Reponse

type BatchEstimateImpactResponse_Reponse struct {

	// request_uuid will link the reponses to the requests.
	RequestUuid string `protobuf:"bytes,1,opt,name=request_uuid,json=requestUuid,proto3" json:"request_uuid,omitempty"`
	// Types that are assignable to Impact:
	//	*BatchEstimateImpactResponse_Reponse_ImpactHours
	//	*BatchEstimateImpactResponse_Reponse_ImpactHoursDifference
	Impact isBatchEstimateImpactResponse_Reponse_Impact `protobuf_oneof:"impact"`
	// contains filtered or unexported fields
}

func (*BatchEstimateImpactResponse_Reponse) Descriptor deprecated

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

Deprecated: Use BatchEstimateImpactResponse_Reponse.ProtoReflect.Descriptor instead.

func (*BatchEstimateImpactResponse_Reponse) GetImpact

func (m *BatchEstimateImpactResponse_Reponse) GetImpact() isBatchEstimateImpactResponse_Reponse_Impact

func (*BatchEstimateImpactResponse_Reponse) GetImpactHours

func (x *BatchEstimateImpactResponse_Reponse) GetImpactHours() int64

func (*BatchEstimateImpactResponse_Reponse) GetImpactHoursDifference

func (x *BatchEstimateImpactResponse_Reponse) GetImpactHoursDifference() int64

func (*BatchEstimateImpactResponse_Reponse) GetRequestUuid

func (x *BatchEstimateImpactResponse_Reponse) GetRequestUuid() string

func (*BatchEstimateImpactResponse_Reponse) ProtoMessage

func (*BatchEstimateImpactResponse_Reponse) ProtoMessage()

func (*BatchEstimateImpactResponse_Reponse) ProtoReflect

func (*BatchEstimateImpactResponse_Reponse) Reset

func (*BatchEstimateImpactResponse_Reponse) String

type BatchEstimateImpactResponse_Reponse_ImpactHours

type BatchEstimateImpactResponse_Reponse_ImpactHours struct {
	ImpactHours int64 `protobuf:"varint,2,opt,name=impact_hours,json=impactHours,proto3,oneof"`
}

type BatchEstimateImpactResponse_Reponse_ImpactHoursDifference

type BatchEstimateImpactResponse_Reponse_ImpactHoursDifference struct {
	ImpactHoursDifference int64 `protobuf:"varint,3,opt,name=impact_hours_difference,json=impactHoursDifference,proto3,oneof"`
}

type BuildTarget

type BuildTarget struct {
	Board    string   `protobuf:"bytes,1,opt,name=board,proto3" json:"board,omitempty"`
	Models   []string `protobuf:"bytes,2,rep,name=models,proto3" json:"models,omitempty"`
	Variants []string `protobuf:"bytes,3,rep,name=variants,proto3" json:"variants,omitempty"`
	// contains filtered or unexported fields
}

func (*BuildTarget) Descriptor deprecated

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

Deprecated: Use BuildTarget.ProtoReflect.Descriptor instead.

func (*BuildTarget) GetBoard

func (x *BuildTarget) GetBoard() string

func (*BuildTarget) GetModels

func (x *BuildTarget) GetModels() []string

func (*BuildTarget) GetVariants

func (x *BuildTarget) GetVariants() []string

func (*BuildTarget) ProtoMessage

func (*BuildTarget) ProtoMessage()

func (*BuildTarget) ProtoReflect

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

func (*BuildTarget) Reset

func (x *BuildTarget) Reset()

func (*BuildTarget) String

func (x *BuildTarget) String() string

type DeleteConfigRequest

type DeleteConfigRequest struct {
	ConfigName string `protobuf:"bytes,1,opt,name=config_name,json=configName,proto3" json:"config_name,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteConfigRequest) Descriptor deprecated

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

Deprecated: Use DeleteConfigRequest.ProtoReflect.Descriptor instead.

func (*DeleteConfigRequest) GetConfigName

func (x *DeleteConfigRequest) GetConfigName() string

func (*DeleteConfigRequest) ProtoMessage

func (*DeleteConfigRequest) ProtoMessage()

func (*DeleteConfigRequest) ProtoReflect

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

func (*DeleteConfigRequest) Reset

func (x *DeleteConfigRequest) Reset()

func (*DeleteConfigRequest) String

func (x *DeleteConfigRequest) String() string

type DeleteConfigResponse

type DeleteConfigResponse struct {
	Status *Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteConfigResponse) Descriptor deprecated

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

Deprecated: Use DeleteConfigResponse.ProtoReflect.Descriptor instead.

func (*DeleteConfigResponse) GetStatus

func (x *DeleteConfigResponse) GetStatus() *Status

func (*DeleteConfigResponse) ProtoMessage

func (*DeleteConfigResponse) ProtoMessage()

func (*DeleteConfigResponse) ProtoReflect

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

func (*DeleteConfigResponse) Reset

func (x *DeleteConfigResponse) Reset()

func (*DeleteConfigResponse) String

func (x *DeleteConfigResponse) String() string

type EstimateImpactRequest

type EstimateImpactRequest struct {
	Config *testplans.SchedulerConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
	// If this field is populated then the service will return the difference
	// between the two using the following logic <config impact> - <compare_config
	// impact> = diff. This is expected to be used when testing the impact of
	// changes to an existing config.
	CompareConfig *testplans.SchedulerConfig `protobuf:"bytes,2,opt,name=compare_config,json=compareConfig,proto3" json:"compare_config,omitempty"`
	// contains filtered or unexported fields
}

func (*EstimateImpactRequest) Descriptor deprecated

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

Deprecated: Use EstimateImpactRequest.ProtoReflect.Descriptor instead.

func (*EstimateImpactRequest) GetCompareConfig

func (x *EstimateImpactRequest) GetCompareConfig() *testplans.SchedulerConfig

func (*EstimateImpactRequest) GetConfig

func (*EstimateImpactRequest) ProtoMessage

func (*EstimateImpactRequest) ProtoMessage()

func (*EstimateImpactRequest) ProtoReflect

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

func (*EstimateImpactRequest) Reset

func (x *EstimateImpactRequest) Reset()

func (*EstimateImpactRequest) String

func (x *EstimateImpactRequest) String() string

type EstimateImpactResponse

type EstimateImpactResponse struct {
	Status *Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	// Types that are assignable to Impact:
	//	*EstimateImpactResponse_ImpactHours
	//	*EstimateImpactResponse_ImpactHoursDifference
	Impact isEstimateImpactResponse_Impact `protobuf_oneof:"impact"`
	// contains filtered or unexported fields
}

func (*EstimateImpactResponse) Descriptor deprecated

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

Deprecated: Use EstimateImpactResponse.ProtoReflect.Descriptor instead.

func (*EstimateImpactResponse) GetImpact

func (m *EstimateImpactResponse) GetImpact() isEstimateImpactResponse_Impact

func (*EstimateImpactResponse) GetImpactHours

func (x *EstimateImpactResponse) GetImpactHours() int64

func (*EstimateImpactResponse) GetImpactHoursDifference

func (x *EstimateImpactResponse) GetImpactHoursDifference() int64

func (*EstimateImpactResponse) GetStatus

func (x *EstimateImpactResponse) GetStatus() *Status

func (*EstimateImpactResponse) ProtoMessage

func (*EstimateImpactResponse) ProtoMessage()

func (*EstimateImpactResponse) ProtoReflect

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

func (*EstimateImpactResponse) Reset

func (x *EstimateImpactResponse) Reset()

func (*EstimateImpactResponse) String

func (x *EstimateImpactResponse) String() string

type EstimateImpactResponse_ImpactHours

type EstimateImpactResponse_ImpactHours struct {
	ImpactHours int64 `protobuf:"varint,2,opt,name=impact_hours,json=impactHours,proto3,oneof"`
}

type EstimateImpactResponse_ImpactHoursDifference

type EstimateImpactResponse_ImpactHoursDifference struct {
	ImpactHoursDifference int64 `protobuf:"varint,3,opt,name=impact_hours_difference,json=impactHoursDifference,proto3,oneof"`
}

type FetchBuildTargetsRequest

type FetchBuildTargetsRequest struct {

	// These fields will be treated as ANDs. Populate accordingly under that
	// assumption. An empty set of filters functionally means fetch all.
	Filters *FetchBuildTargetsRequest_Filters `protobuf:"bytes,1,opt,name=filters,proto3" json:"filters,omitempty"`
	// contains filtered or unexported fields
}

func (*FetchBuildTargetsRequest) Descriptor deprecated

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

Deprecated: Use FetchBuildTargetsRequest.ProtoReflect.Descriptor instead.

func (*FetchBuildTargetsRequest) GetFilters

func (*FetchBuildTargetsRequest) ProtoMessage

func (*FetchBuildTargetsRequest) ProtoMessage()

func (*FetchBuildTargetsRequest) ProtoReflect

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

func (*FetchBuildTargetsRequest) Reset

func (x *FetchBuildTargetsRequest) Reset()

func (*FetchBuildTargetsRequest) String

func (x *FetchBuildTargetsRequest) String() string

type FetchBuildTargetsRequest_Filters

type FetchBuildTargetsRequest_Filters struct {
	Board           string `protobuf:"bytes,1,opt,name=board,proto3" json:"board,omitempty"`
	Model           string `protobuf:"bytes,2,opt,name=model,proto3" json:"model,omitempty"`
	IncludeVariants bool   `protobuf:"varint,3,opt,name=include_variants,json=includeVariants,proto3" json:"include_variants,omitempty"`
	// contains filtered or unexported fields
}

func (*FetchBuildTargetsRequest_Filters) Descriptor deprecated

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

Deprecated: Use FetchBuildTargetsRequest_Filters.ProtoReflect.Descriptor instead.

func (*FetchBuildTargetsRequest_Filters) GetBoard

func (*FetchBuildTargetsRequest_Filters) GetIncludeVariants

func (x *FetchBuildTargetsRequest_Filters) GetIncludeVariants() bool

func (*FetchBuildTargetsRequest_Filters) GetModel

func (*FetchBuildTargetsRequest_Filters) ProtoMessage

func (*FetchBuildTargetsRequest_Filters) ProtoMessage()

func (*FetchBuildTargetsRequest_Filters) ProtoReflect

func (*FetchBuildTargetsRequest_Filters) Reset

func (*FetchBuildTargetsRequest_Filters) String

type FetchBuildTargetsResponse

type FetchBuildTargetsResponse struct {
	Status       *Status        `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	BuildTargets []*BuildTarget `protobuf:"bytes,2,rep,name=build_targets,json=buildTargets,proto3" json:"build_targets,omitempty"`
	// contains filtered or unexported fields
}

func (*FetchBuildTargetsResponse) Descriptor deprecated

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

Deprecated: Use FetchBuildTargetsResponse.ProtoReflect.Descriptor instead.

func (*FetchBuildTargetsResponse) GetBuildTargets

func (x *FetchBuildTargetsResponse) GetBuildTargets() []*BuildTarget

func (*FetchBuildTargetsResponse) GetStatus

func (x *FetchBuildTargetsResponse) GetStatus() *Status

func (*FetchBuildTargetsResponse) ProtoMessage

func (*FetchBuildTargetsResponse) ProtoMessage()

func (*FetchBuildTargetsResponse) ProtoReflect

func (*FetchBuildTargetsResponse) Reset

func (x *FetchBuildTargetsResponse) Reset()

func (*FetchBuildTargetsResponse) String

func (x *FetchBuildTargetsResponse) String() string

type FetchConfigsRequest

type FetchConfigsRequest struct {

	// These fields will be treated as ANDs. Populate accordingly under that
	// assumption. An empty set of filters functionally means fetch all.
	Filters *FetchConfigsRequest_Filters `protobuf:"bytes,1,opt,name=filters,proto3" json:"filters,omitempty"`
	// contains filtered or unexported fields
}

func (*FetchConfigsRequest) Descriptor deprecated

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

Deprecated: Use FetchConfigsRequest.ProtoReflect.Descriptor instead.

func (*FetchConfigsRequest) GetFilters

func (*FetchConfigsRequest) ProtoMessage

func (*FetchConfigsRequest) ProtoMessage()

func (*FetchConfigsRequest) ProtoReflect

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

func (*FetchConfigsRequest) Reset

func (x *FetchConfigsRequest) Reset()

func (*FetchConfigsRequest) String

func (x *FetchConfigsRequest) String() string

type FetchConfigsRequest_Filters

type FetchConfigsRequest_Filters struct {
	Name           string                                                 `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Suite          string                                                 `protobuf:"bytes,2,opt,name=suite,proto3" json:"suite,omitempty"`
	Pool           string                                                 `protobuf:"bytes,3,opt,name=pool,proto3" json:"pool,omitempty"`
	LaunchProfile  testplans.SchedulerConfig_LaunchCriteria_LaunchProfile `` /* 161-byte string literal not displayed */
	TargetBranches []testplans.Branch                                     `` /* 133-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*FetchConfigsRequest_Filters) Descriptor deprecated

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

Deprecated: Use FetchConfigsRequest_Filters.ProtoReflect.Descriptor instead.

func (*FetchConfigsRequest_Filters) GetLaunchProfile

func (*FetchConfigsRequest_Filters) GetName

func (x *FetchConfigsRequest_Filters) GetName() string

func (*FetchConfigsRequest_Filters) GetPool

func (x *FetchConfigsRequest_Filters) GetPool() string

func (*FetchConfigsRequest_Filters) GetSuite

func (x *FetchConfigsRequest_Filters) GetSuite() string

func (*FetchConfigsRequest_Filters) GetTargetBranches

func (x *FetchConfigsRequest_Filters) GetTargetBranches() []testplans.Branch

func (*FetchConfigsRequest_Filters) ProtoMessage

func (*FetchConfigsRequest_Filters) ProtoMessage()

func (*FetchConfigsRequest_Filters) ProtoReflect

func (*FetchConfigsRequest_Filters) Reset

func (x *FetchConfigsRequest_Filters) Reset()

func (*FetchConfigsRequest_Filters) String

func (x *FetchConfigsRequest_Filters) String() string

type FetchConfigsResponse

type FetchConfigsResponse struct {
	Status  *Status                      `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	Configs []*testplans.SchedulerConfig `protobuf:"bytes,2,rep,name=configs,proto3" json:"configs,omitempty"`
	// contains filtered or unexported fields
}

func (*FetchConfigsResponse) Descriptor deprecated

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

Deprecated: Use FetchConfigsResponse.ProtoReflect.Descriptor instead.

func (*FetchConfigsResponse) GetConfigs

func (x *FetchConfigsResponse) GetConfigs() []*testplans.SchedulerConfig

func (*FetchConfigsResponse) GetStatus

func (x *FetchConfigsResponse) GetStatus() *Status

func (*FetchConfigsResponse) ProtoMessage

func (*FetchConfigsResponse) ProtoMessage()

func (*FetchConfigsResponse) ProtoReflect

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

func (*FetchConfigsResponse) Reset

func (x *FetchConfigsResponse) Reset()

func (*FetchConfigsResponse) String

func (x *FetchConfigsResponse) String() string

type GetConfigRequest

type GetConfigRequest struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*GetConfigRequest) Descriptor deprecated

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

Deprecated: Use GetConfigRequest.ProtoReflect.Descriptor instead.

func (*GetConfigRequest) GetName

func (x *GetConfigRequest) GetName() string

func (*GetConfigRequest) ProtoMessage

func (*GetConfigRequest) ProtoMessage()

func (*GetConfigRequest) ProtoReflect

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

func (*GetConfigRequest) Reset

func (x *GetConfigRequest) Reset()

func (*GetConfigRequest) String

func (x *GetConfigRequest) String() string

type GetConfigResponse

type GetConfigResponse struct {
	Status *Status                    `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	Config *testplans.SchedulerConfig `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"`
	// contains filtered or unexported fields
}

func (*GetConfigResponse) Descriptor deprecated

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

Deprecated: Use GetConfigResponse.ProtoReflect.Descriptor instead.

func (*GetConfigResponse) GetConfig

func (*GetConfigResponse) GetStatus

func (x *GetConfigResponse) GetStatus() *Status

func (*GetConfigResponse) ProtoMessage

func (*GetConfigResponse) ProtoMessage()

func (*GetConfigResponse) ProtoReflect

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

func (*GetConfigResponse) Reset

func (x *GetConfigResponse) Reset()

func (*GetConfigResponse) String

func (x *GetConfigResponse) String() string

type ProposeChangeRequest

type ProposeChangeRequest struct {
	ConfigName string                     `protobuf:"bytes,1,opt,name=config_name,json=configName,proto3" json:"config_name,omitempty"`
	Config     *testplans.SchedulerConfig `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"`
	Author     string                     `protobuf:"bytes,3,opt,name=author,proto3" json:"author,omitempty"`
	// contains filtered or unexported fields
}

TODO(b/339518338): Implement after a new control flow is worked out for proposal storage and accessing.

func (*ProposeChangeRequest) Descriptor deprecated

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

Deprecated: Use ProposeChangeRequest.ProtoReflect.Descriptor instead.

func (*ProposeChangeRequest) GetAuthor

func (x *ProposeChangeRequest) GetAuthor() string

func (*ProposeChangeRequest) GetConfig

func (*ProposeChangeRequest) GetConfigName

func (x *ProposeChangeRequest) GetConfigName() string

func (*ProposeChangeRequest) ProtoMessage

func (*ProposeChangeRequest) ProtoMessage()

func (*ProposeChangeRequest) ProtoReflect

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

func (*ProposeChangeRequest) Reset

func (x *ProposeChangeRequest) Reset()

func (*ProposeChangeRequest) String

func (x *ProposeChangeRequest) String() string

type ProposeChangeResponse

type ProposeChangeResponse struct {
	Status *Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	Uuid   string  `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"`
	// contains filtered or unexported fields
}

TODO(b/339518338): Implement after a new control flow is worked out for proposal storage and accessing.

func (*ProposeChangeResponse) Descriptor deprecated

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

Deprecated: Use ProposeChangeResponse.ProtoReflect.Descriptor instead.

func (*ProposeChangeResponse) GetStatus

func (x *ProposeChangeResponse) GetStatus() *Status

func (*ProposeChangeResponse) GetUuid

func (x *ProposeChangeResponse) GetUuid() string

func (*ProposeChangeResponse) ProtoMessage

func (*ProposeChangeResponse) ProtoMessage()

func (*ProposeChangeResponse) ProtoReflect

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

func (*ProposeChangeResponse) Reset

func (x *ProposeChangeResponse) Reset()

func (*ProposeChangeResponse) String

func (x *ProposeChangeResponse) String() string

type Status

type Status struct {

	// The status code, which should be an enum value of
	// [google.rpc.Code][google.rpc.Code].
	Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	// A developer-facing error message, which should be in English. Any
	// user-facing error message should be localized and sent in the
	// [google.rpc.Status.details][google.rpc.Status.details] field, or localized
	// by the client.
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// A list of messages that carry the error details.  There is a common set of
	// message types for APIs to use.
	Details []*anypb.Any `protobuf:"bytes,3,rep,name=details,proto3" json:"details,omitempty"`
	// contains filtered or unexported fields
}

The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details.

You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).

TODO(b/341171108): This type is from google/rpc/status.proto but is brought in manually due to proto generation errors. Remove once those are resolved.

func (*Status) Descriptor deprecated

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

Deprecated: Use Status.ProtoReflect.Descriptor instead.

func (*Status) GetCode

func (x *Status) GetCode() int32

func (*Status) GetDetails

func (x *Status) GetDetails() []*anypb.Any

func (*Status) GetMessage

func (x *Status) GetMessage() string

func (*Status) ProtoMessage

func (*Status) ProtoMessage()

func (*Status) ProtoReflect

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

func (*Status) Reset

func (x *Status) Reset()

func (*Status) String

func (x *Status) String() string

type SuiteManagerServiceClient

type SuiteManagerServiceClient interface {
	// GetConfig returns a singular config that exactly matches the name provided
	// in the request.
	GetConfig(ctx context.Context, in *GetConfigRequest, opts ...grpc.CallOption) (*GetConfigResponse, error)
	// FetchConfigs returns SuiteScheduler configs from long term storage based
	// on the filter parameters provided.
	FetchConfigs(ctx context.Context, in *FetchConfigsRequest, opts ...grpc.CallOption) (*FetchConfigsResponse, error)
	// AddConfig adds a new config to long term storage.
	//
	// NOTE: Duplicate config names are not allowed.
	AddConfig(ctx context.Context, in *AddConfigRequest, opts ...grpc.CallOption) (*AddConfigResponse, error)
	// DeleteConfig removes a config from long term storage
	DeleteConfig(ctx context.Context, in *DeleteConfigRequest, opts ...grpc.CallOption) (*DeleteConfigResponse, error)
	// UpdateConfig updates fields in a config already in long term storage.
	UpdateConfig(ctx context.Context, in *UpdateConfigRequest, opts ...grpc.CallOption) (*UpdateConfigResponse, error)
	// FetchBuildTargets returns a list of build targets according to the current
	// lab_config.cfg.
	FetchBuildTargets(ctx context.Context, in *FetchBuildTargetsRequest, opts ...grpc.CallOption) (*FetchBuildTargetsResponse, error)
	// EstimateImpact returns the estimated impact of a config in hours. If
	// multiple configs are given then it returns the difference between the two
	// using the logic:  <config impact> - <compare_config impact> = diff.
	EstimateImpact(ctx context.Context, in *EstimateImpactRequest, opts ...grpc.CallOption) (*EstimateImpactResponse, error)
	// BatchEstimateImpact returns the estimated impact of a config in hours. If
	// multiple configs are given then it returns the difference between the two
	// using the logic:  <config impact> - <compare_config impact> = diff
	BatchEstimateImpact(ctx context.Context, in *BatchEstimateImpactRequest, opts ...grpc.CallOption) (*BatchEstimateImpactResponse, error)
	// TODO(b/339518338): Implement after a new control flow is worked out for
	// proposal storage and accessing.
	//
	// NOTE: This service should disallow multiple open proposals for a single
	// config.
	ProposeChange(ctx context.Context, in *ProposeChangeRequest, opts ...grpc.CallOption) (*ProposeChangeResponse, error)
	// TODO(b/339518338): Implement after a new control flow is worked out for
	// proposal storage and accessing.
	UpdateProposal(ctx context.Context, in *UpdateProposalRequest, opts ...grpc.CallOption) (*UpdateProposalResponse, error)
}

SuiteManagerServiceClient is the client API for SuiteManagerService 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.

type SuiteManagerServiceServer

type SuiteManagerServiceServer interface {
	// GetConfig returns a singular config that exactly matches the name provided
	// in the request.
	GetConfig(context.Context, *GetConfigRequest) (*GetConfigResponse, error)
	// FetchConfigs returns SuiteScheduler configs from long term storage based
	// on the filter parameters provided.
	FetchConfigs(context.Context, *FetchConfigsRequest) (*FetchConfigsResponse, error)
	// AddConfig adds a new config to long term storage.
	//
	// NOTE: Duplicate config names are not allowed.
	AddConfig(context.Context, *AddConfigRequest) (*AddConfigResponse, error)
	// DeleteConfig removes a config from long term storage
	DeleteConfig(context.Context, *DeleteConfigRequest) (*DeleteConfigResponse, error)
	// UpdateConfig updates fields in a config already in long term storage.
	UpdateConfig(context.Context, *UpdateConfigRequest) (*UpdateConfigResponse, error)
	// FetchBuildTargets returns a list of build targets according to the current
	// lab_config.cfg.
	FetchBuildTargets(context.Context, *FetchBuildTargetsRequest) (*FetchBuildTargetsResponse, error)
	// EstimateImpact returns the estimated impact of a config in hours. If
	// multiple configs are given then it returns the difference between the two
	// using the logic:  <config impact> - <compare_config impact> = diff.
	EstimateImpact(context.Context, *EstimateImpactRequest) (*EstimateImpactResponse, error)
	// BatchEstimateImpact returns the estimated impact of a config in hours. If
	// multiple configs are given then it returns the difference between the two
	// using the logic:  <config impact> - <compare_config impact> = diff
	BatchEstimateImpact(context.Context, *BatchEstimateImpactRequest) (*BatchEstimateImpactResponse, error)
	// TODO(b/339518338): Implement after a new control flow is worked out for
	// proposal storage and accessing.
	//
	// NOTE: This service should disallow multiple open proposals for a single
	// config.
	ProposeChange(context.Context, *ProposeChangeRequest) (*ProposeChangeResponse, error)
	// TODO(b/339518338): Implement after a new control flow is worked out for
	// proposal storage and accessing.
	UpdateProposal(context.Context, *UpdateProposalRequest) (*UpdateProposalResponse, error)
	// contains filtered or unexported methods
}

SuiteManagerServiceServer is the server API for SuiteManagerService service. All implementations must embed UnimplementedSuiteManagerServiceServer for forward compatibility

type UnimplementedSuiteManagerServiceServer

type UnimplementedSuiteManagerServiceServer struct {
}

UnimplementedSuiteManagerServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedSuiteManagerServiceServer) AddConfig

func (UnimplementedSuiteManagerServiceServer) BatchEstimateImpact

func (UnimplementedSuiteManagerServiceServer) DeleteConfig

func (UnimplementedSuiteManagerServiceServer) EstimateImpact

func (UnimplementedSuiteManagerServiceServer) FetchBuildTargets

func (UnimplementedSuiteManagerServiceServer) FetchConfigs

func (UnimplementedSuiteManagerServiceServer) GetConfig

func (UnimplementedSuiteManagerServiceServer) ProposeChange

func (UnimplementedSuiteManagerServiceServer) UpdateConfig

func (UnimplementedSuiteManagerServiceServer) UpdateProposal

type UnsafeSuiteManagerServiceServer

type UnsafeSuiteManagerServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeSuiteManagerServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SuiteManagerServiceServer will result in compilation errors.

type UpdateConfigRequest

type UpdateConfigRequest struct {

	// config_name is included as a redundant field so that in the case of a
	// rename, we know which config to adjust.
	ConfigName    string                     `protobuf:"bytes,1,opt,name=config_name,json=configName,proto3" json:"config_name,omitempty"`
	ConfigPayload *testplans.SchedulerConfig `protobuf:"bytes,2,opt,name=config_payload,json=configPayload,proto3" json:"config_payload,omitempty"`
	UpdateMask    *fieldmaskpb.FieldMask     `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateConfigRequest) Descriptor deprecated

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

Deprecated: Use UpdateConfigRequest.ProtoReflect.Descriptor instead.

func (*UpdateConfigRequest) GetConfigName

func (x *UpdateConfigRequest) GetConfigName() string

func (*UpdateConfigRequest) GetConfigPayload

func (x *UpdateConfigRequest) GetConfigPayload() *testplans.SchedulerConfig

func (*UpdateConfigRequest) GetUpdateMask

func (x *UpdateConfigRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateConfigRequest) ProtoMessage

func (*UpdateConfigRequest) ProtoMessage()

func (*UpdateConfigRequest) ProtoReflect

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

func (*UpdateConfigRequest) Reset

func (x *UpdateConfigRequest) Reset()

func (*UpdateConfigRequest) String

func (x *UpdateConfigRequest) String() string

type UpdateConfigResponse

type UpdateConfigResponse struct {
	Status *Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateConfigResponse) Descriptor deprecated

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

Deprecated: Use UpdateConfigResponse.ProtoReflect.Descriptor instead.

func (*UpdateConfigResponse) GetStatus

func (x *UpdateConfigResponse) GetStatus() *Status

func (*UpdateConfigResponse) ProtoMessage

func (*UpdateConfigResponse) ProtoMessage()

func (*UpdateConfigResponse) ProtoReflect

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

func (*UpdateConfigResponse) Reset

func (x *UpdateConfigResponse) Reset()

func (*UpdateConfigResponse) String

func (x *UpdateConfigResponse) String() string

type UpdateProposalRequest

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

TODO(b/339518338): Implement after a new control flow is worked out for proposal storage and accessing.

func (*UpdateProposalRequest) Descriptor deprecated

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

Deprecated: Use UpdateProposalRequest.ProtoReflect.Descriptor instead.

func (*UpdateProposalRequest) ProtoMessage

func (*UpdateProposalRequest) ProtoMessage()

func (*UpdateProposalRequest) ProtoReflect

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

func (*UpdateProposalRequest) Reset

func (x *UpdateProposalRequest) Reset()

func (*UpdateProposalRequest) String

func (x *UpdateProposalRequest) String() string

type UpdateProposalResponse

type UpdateProposalResponse struct {
	Status *Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	Uuid   string  `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"`
	// contains filtered or unexported fields
}

TODO(b/339518338): Implement after a new control flow is worked out for proposal storage and accessing.

func (*UpdateProposalResponse) Descriptor deprecated

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

Deprecated: Use UpdateProposalResponse.ProtoReflect.Descriptor instead.

func (*UpdateProposalResponse) GetStatus

func (x *UpdateProposalResponse) GetStatus() *Status

func (*UpdateProposalResponse) GetUuid

func (x *UpdateProposalResponse) GetUuid() string

func (*UpdateProposalResponse) ProtoMessage

func (*UpdateProposalResponse) ProtoMessage()

func (*UpdateProposalResponse) ProtoReflect

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

func (*UpdateProposalResponse) Reset

func (x *UpdateProposalResponse) Reset()

func (*UpdateProposalResponse) String

func (x *UpdateProposalResponse) String() string

Jump to

Keyboard shortcuts

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