v1

package
v0.0.0-...-2f63041 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ApmServiceService_GetApmService_FullMethodName       = "/com.coralogixapis.apm.services.v1.ApmServiceService/GetApmService"
	ApmServiceService_BatchGetApmServices_FullMethodName = "/com.coralogixapis.apm.services.v1.ApmServiceService/BatchGetApmServices"
	ApmServiceService_DeleteApmService_FullMethodName    = "/com.coralogixapis.apm.services.v1.ApmServiceService/DeleteApmService"
	ApmServiceService_ListApmServices_FullMethodName     = "/com.coralogixapis.apm.services.v1.ApmServiceService/ListApmServices"
)
View Source
const (
	ServiceSloService_GetServiceSlo_FullMethodName       = "/com.coralogixapis.apm.services.v1.ServiceSloService/GetServiceSlo"
	ServiceSloService_CreateServiceSlo_FullMethodName    = "/com.coralogixapis.apm.services.v1.ServiceSloService/CreateServiceSlo"
	ServiceSloService_ReplaceServiceSlo_FullMethodName   = "/com.coralogixapis.apm.services.v1.ServiceSloService/ReplaceServiceSlo"
	ServiceSloService_DeleteServiceSlo_FullMethodName    = "/com.coralogixapis.apm.services.v1.ServiceSloService/DeleteServiceSlo"
	ServiceSloService_ListServiceSlos_FullMethodName     = "/com.coralogixapis.apm.services.v1.ServiceSloService/ListServiceSlos"
	ServiceSloService_BatchGetServiceSlos_FullMethodName = "/com.coralogixapis.apm.services.v1.ServiceSloService/BatchGetServiceSlos"
)

Variables

View Source
var (
	CompareType_name = map[int32]string{
		0: "COMPARE_TYPE_UNSPECIFIED",
		1: "COMPARE_TYPE_IS",
		2: "COMPARE_TYPE_START_WITH",
		3: "COMPARE_TYPE_ENDS_WITH",
		4: "COMPARE_TYPE_INCLUDES",
	}
	CompareType_value = map[string]int32{
		"COMPARE_TYPE_UNSPECIFIED": 0,
		"COMPARE_TYPE_IS":          1,
		"COMPARE_TYPE_START_WITH":  2,
		"COMPARE_TYPE_ENDS_WITH":   3,
		"COMPARE_TYPE_INCLUDES":    4,
	}
)

Enum value maps for CompareType.

View Source
var (
	SloStatus_name = map[int32]string{
		0: "SLO_STATUS_UNSPECIFIED",
		1: "SLO_STATUS_OK",
		2: "SLO_STATUS_BREACHED",
	}
	SloStatus_value = map[string]int32{
		"SLO_STATUS_UNSPECIFIED": 0,
		"SLO_STATUS_OK":          1,
		"SLO_STATUS_BREACHED":    2,
	}
)

Enum value maps for SloStatus.

View Source
var (
	SliMetricType_name = map[int32]string{
		0: "SLI_METRIC_TYPE_UNSPECIFIED",
		1: "SLI_METRIC_TYPE_ERROR",
		2: "SLI_METRIC_TYPE_LATENCY",
		3: "SLI_METRIC_TYPE_CUSTOM",
	}
	SliMetricType_value = map[string]int32{
		"SLI_METRIC_TYPE_UNSPECIFIED": 0,
		"SLI_METRIC_TYPE_ERROR":       1,
		"SLI_METRIC_TYPE_LATENCY":     2,
		"SLI_METRIC_TYPE_CUSTOM":      3,
	}
)

Enum value maps for SliMetricType.

View Source
var (
	ThresholdSymbol_name = map[int32]string{
		0: "THRESHOLD_SYMBOL_UNSPECIFIED",
		1: "THRESHOLD_SYMBOL_GREATER",
		2: "THRESHOLD_SYMBOL_GREATER_OR_EQUAL",
		3: "THRESHOLD_SYMBOL_LESS",
		4: "THRESHOLD_SYMBOL_LESS_OR_EQUAL",
		5: "THRESHOLD_SYMBOL_EQUAL",
		6: "THRESHOLD_SYMBOL_NOT_EQUAL",
	}
	ThresholdSymbol_value = map[string]int32{
		"THRESHOLD_SYMBOL_UNSPECIFIED":      0,
		"THRESHOLD_SYMBOL_GREATER":          1,
		"THRESHOLD_SYMBOL_GREATER_OR_EQUAL": 2,
		"THRESHOLD_SYMBOL_LESS":             3,
		"THRESHOLD_SYMBOL_LESS_OR_EQUAL":    4,
		"THRESHOLD_SYMBOL_EQUAL":            5,
		"THRESHOLD_SYMBOL_NOT_EQUAL":        6,
	}
)

Enum value maps for ThresholdSymbol.

View Source
var (
	SloPeriod_name = map[int32]string{
		0: "SLO_PERIOD_UNSPECIFIED",
		1: "SLO_PERIOD_7_DAYS",
		2: "SLO_PERIOD_14_DAYS",
		3: "SLO_PERIOD_30_DAYS",
	}
	SloPeriod_value = map[string]int32{
		"SLO_PERIOD_UNSPECIFIED": 0,
		"SLO_PERIOD_7_DAYS":      1,
		"SLO_PERIOD_14_DAYS":     2,
		"SLO_PERIOD_30_DAYS":     3,
	}
)

Enum value maps for SloPeriod.

View Source
var ApmServiceService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "com.coralogixapis.apm.services.v1.ApmServiceService",
	HandlerType: (*ApmServiceServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetApmService",
			Handler:    _ApmServiceService_GetApmService_Handler,
		},
		{
			MethodName: "BatchGetApmServices",
			Handler:    _ApmServiceService_BatchGetApmServices_Handler,
		},
		{
			MethodName: "DeleteApmService",
			Handler:    _ApmServiceService_DeleteApmService_Handler,
		},
		{
			MethodName: "ListApmServices",
			Handler:    _ApmServiceService_ListApmServices_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "com/coralogixapis/apm/services/v1/apm_service_service.proto",
}

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

View Source
var File_com_coralogixapis_apm_services_v1_apm_service_proto protoreflect.FileDescriptor
View Source
var File_com_coralogixapis_apm_services_v1_apm_service_service_proto protoreflect.FileDescriptor
View Source
var File_com_coralogixapis_apm_services_v1_service_slo_proto protoreflect.FileDescriptor
View Source
var File_com_coralogixapis_apm_services_v1_service_slo_service_proto protoreflect.FileDescriptor
View Source
var ServiceSloService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "com.coralogixapis.apm.services.v1.ServiceSloService",
	HandlerType: (*ServiceSloServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetServiceSlo",
			Handler:    _ServiceSloService_GetServiceSlo_Handler,
		},
		{
			MethodName: "CreateServiceSlo",
			Handler:    _ServiceSloService_CreateServiceSlo_Handler,
		},
		{
			MethodName: "ReplaceServiceSlo",
			Handler:    _ServiceSloService_ReplaceServiceSlo_Handler,
		},
		{
			MethodName: "DeleteServiceSlo",
			Handler:    _ServiceSloService_DeleteServiceSlo_Handler,
		},
		{
			MethodName: "ListServiceSlos",
			Handler:    _ServiceSloService_ListServiceSlos_Handler,
		},
		{
			MethodName: "BatchGetServiceSlos",
			Handler:    _ServiceSloService_BatchGetServiceSlos_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "com/coralogixapis/apm/services/v1/service_slo_service.proto",
}

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

Functions

func RegisterApmServiceServiceServer

func RegisterApmServiceServiceServer(s grpc.ServiceRegistrar, srv ApmServiceServiceServer)

func RegisterServiceSloServiceServer

func RegisterServiceSloServiceServer(s grpc.ServiceRegistrar, srv ServiceSloServiceServer)

Types

type ApmService

type ApmService struct {
	Id             *wrapperspb.StringValue   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name           *wrapperspb.StringValue   `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Type           *wrapperspb.StringValue   `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
	Workloads      []*wrapperspb.StringValue `protobuf:"bytes,4,rep,name=workloads,proto3" json:"workloads,omitempty"`
	SloStatusCount *SloStatusCount           `protobuf:"bytes,5,opt,name=slo_status_count,json=sloStatusCount,proto3" json:"slo_status_count,omitempty"`
	Technology     *wrapperspb.StringValue   `protobuf:"bytes,6,opt,name=technology,proto3" json:"technology,omitempty"`
	// contains filtered or unexported fields
}

func (*ApmService) Descriptor deprecated

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

Deprecated: Use ApmService.ProtoReflect.Descriptor instead.

func (*ApmService) GetId

func (x *ApmService) GetId() *wrapperspb.StringValue

func (*ApmService) GetName

func (x *ApmService) GetName() *wrapperspb.StringValue

func (*ApmService) GetSloStatusCount

func (x *ApmService) GetSloStatusCount() *SloStatusCount

func (*ApmService) GetTechnology

func (x *ApmService) GetTechnology() *wrapperspb.StringValue

func (*ApmService) GetType

func (x *ApmService) GetType() *wrapperspb.StringValue

func (*ApmService) GetWorkloads

func (x *ApmService) GetWorkloads() []*wrapperspb.StringValue

func (*ApmService) ProtoMessage

func (*ApmService) ProtoMessage()

func (*ApmService) ProtoReflect

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

func (*ApmService) Reset

func (x *ApmService) Reset()

func (*ApmService) String

func (x *ApmService) String() string

type ApmServiceServiceClient

type ApmServiceServiceClient interface {
	GetApmService(ctx context.Context, in *GetApmServiceRequest, opts ...grpc.CallOption) (*GetApmServiceResponse, error)
	BatchGetApmServices(ctx context.Context, in *BatchGetApmServicesRequest, opts ...grpc.CallOption) (*BatchGetApmServicesResponse, error)
	DeleteApmService(ctx context.Context, in *DeleteApmServiceRequest, opts ...grpc.CallOption) (*DeleteApmServiceResponse, error)
	ListApmServices(ctx context.Context, in *ListApmServicesRequest, opts ...grpc.CallOption) (*ListApmServicesResponse, error)
}

ApmServiceServiceClient is the client API for ApmServiceService 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 ApmServiceServiceServer

type ApmServiceServiceServer interface {
	GetApmService(context.Context, *GetApmServiceRequest) (*GetApmServiceResponse, error)
	BatchGetApmServices(context.Context, *BatchGetApmServicesRequest) (*BatchGetApmServicesResponse, error)
	DeleteApmService(context.Context, *DeleteApmServiceRequest) (*DeleteApmServiceResponse, error)
	ListApmServices(context.Context, *ListApmServicesRequest) (*ListApmServicesResponse, error)
	// contains filtered or unexported methods
}

ApmServiceServiceServer is the server API for ApmServiceService service. All implementations must embed UnimplementedApmServiceServiceServer for forward compatibility

type BatchGetApmServicesRequest

type BatchGetApmServicesRequest struct {
	Ids []*wrapperspb.StringValue `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"`
	// contains filtered or unexported fields
}

func (*BatchGetApmServicesRequest) Descriptor deprecated

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

Deprecated: Use BatchGetApmServicesRequest.ProtoReflect.Descriptor instead.

func (*BatchGetApmServicesRequest) GetIds

func (*BatchGetApmServicesRequest) ProtoMessage

func (*BatchGetApmServicesRequest) ProtoMessage()

func (*BatchGetApmServicesRequest) ProtoReflect

func (*BatchGetApmServicesRequest) Reset

func (x *BatchGetApmServicesRequest) Reset()

func (*BatchGetApmServicesRequest) String

func (x *BatchGetApmServicesRequest) String() string

type BatchGetApmServicesResponse

type BatchGetApmServicesResponse struct {
	Services    map[string]*ApmService    `` /* 157-byte string literal not displayed */
	NotFoundIds []*wrapperspb.StringValue `protobuf:"bytes,2,rep,name=not_found_ids,json=notFoundIds,proto3" json:"not_found_ids,omitempty"`
	// contains filtered or unexported fields
}

func (*BatchGetApmServicesResponse) Descriptor deprecated

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

Deprecated: Use BatchGetApmServicesResponse.ProtoReflect.Descriptor instead.

func (*BatchGetApmServicesResponse) GetNotFoundIds

func (x *BatchGetApmServicesResponse) GetNotFoundIds() []*wrapperspb.StringValue

func (*BatchGetApmServicesResponse) GetServices

func (x *BatchGetApmServicesResponse) GetServices() map[string]*ApmService

func (*BatchGetApmServicesResponse) ProtoMessage

func (*BatchGetApmServicesResponse) ProtoMessage()

func (*BatchGetApmServicesResponse) ProtoReflect

func (*BatchGetApmServicesResponse) Reset

func (x *BatchGetApmServicesResponse) Reset()

func (*BatchGetApmServicesResponse) String

func (x *BatchGetApmServicesResponse) String() string

type BatchGetServiceSlosRequest

type BatchGetServiceSlosRequest struct {
	Ids []*wrapperspb.StringValue `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"`
	// contains filtered or unexported fields
}

func (*BatchGetServiceSlosRequest) Descriptor deprecated

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

Deprecated: Use BatchGetServiceSlosRequest.ProtoReflect.Descriptor instead.

func (*BatchGetServiceSlosRequest) GetIds

func (*BatchGetServiceSlosRequest) ProtoMessage

func (*BatchGetServiceSlosRequest) ProtoMessage()

func (*BatchGetServiceSlosRequest) ProtoReflect

func (*BatchGetServiceSlosRequest) Reset

func (x *BatchGetServiceSlosRequest) Reset()

func (*BatchGetServiceSlosRequest) String

func (x *BatchGetServiceSlosRequest) String() string

type BatchGetServiceSlosResponse

type BatchGetServiceSlosResponse struct {
	Slos        map[string]*ServiceSlo    `` /* 149-byte string literal not displayed */
	NotFoundIds []*wrapperspb.StringValue `protobuf:"bytes,2,rep,name=not_found_ids,json=notFoundIds,proto3" json:"not_found_ids,omitempty"`
	// contains filtered or unexported fields
}

func (*BatchGetServiceSlosResponse) Descriptor deprecated

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

Deprecated: Use BatchGetServiceSlosResponse.ProtoReflect.Descriptor instead.

func (*BatchGetServiceSlosResponse) GetNotFoundIds

func (x *BatchGetServiceSlosResponse) GetNotFoundIds() []*wrapperspb.StringValue

func (*BatchGetServiceSlosResponse) GetSlos

func (x *BatchGetServiceSlosResponse) GetSlos() map[string]*ServiceSlo

func (*BatchGetServiceSlosResponse) ProtoMessage

func (*BatchGetServiceSlosResponse) ProtoMessage()

func (*BatchGetServiceSlosResponse) ProtoReflect

func (*BatchGetServiceSlosResponse) Reset

func (x *BatchGetServiceSlosResponse) Reset()

func (*BatchGetServiceSlosResponse) String

func (x *BatchGetServiceSlosResponse) String() string

type CompareType

type CompareType int32
const (
	CompareType_COMPARE_TYPE_UNSPECIFIED CompareType = 0
	CompareType_COMPARE_TYPE_IS          CompareType = 1
	CompareType_COMPARE_TYPE_START_WITH  CompareType = 2
	CompareType_COMPARE_TYPE_ENDS_WITH   CompareType = 3
	CompareType_COMPARE_TYPE_INCLUDES    CompareType = 4
)

func (CompareType) Descriptor

func (CompareType) Enum

func (x CompareType) Enum() *CompareType

func (CompareType) EnumDescriptor deprecated

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

Deprecated: Use CompareType.Descriptor instead.

func (CompareType) Number

func (x CompareType) Number() protoreflect.EnumNumber

func (CompareType) String

func (x CompareType) String() string

func (CompareType) Type

type CreateServiceSloRequest

type CreateServiceSloRequest struct {
	Slo *ServiceSlo `protobuf:"bytes,1,opt,name=slo,proto3" json:"slo,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateServiceSloRequest) Descriptor deprecated

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

Deprecated: Use CreateServiceSloRequest.ProtoReflect.Descriptor instead.

func (*CreateServiceSloRequest) GetSlo

func (x *CreateServiceSloRequest) GetSlo() *ServiceSlo

func (*CreateServiceSloRequest) ProtoMessage

func (*CreateServiceSloRequest) ProtoMessage()

func (*CreateServiceSloRequest) ProtoReflect

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

func (*CreateServiceSloRequest) Reset

func (x *CreateServiceSloRequest) Reset()

func (*CreateServiceSloRequest) String

func (x *CreateServiceSloRequest) String() string

type CreateServiceSloResponse

type CreateServiceSloResponse struct {
	Slo *ServiceSlo `protobuf:"bytes,1,opt,name=slo,proto3" json:"slo,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateServiceSloResponse) Descriptor deprecated

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

Deprecated: Use CreateServiceSloResponse.ProtoReflect.Descriptor instead.

func (*CreateServiceSloResponse) GetSlo

func (x *CreateServiceSloResponse) GetSlo() *ServiceSlo

func (*CreateServiceSloResponse) ProtoMessage

func (*CreateServiceSloResponse) ProtoMessage()

func (*CreateServiceSloResponse) ProtoReflect

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

func (*CreateServiceSloResponse) Reset

func (x *CreateServiceSloResponse) Reset()

func (*CreateServiceSloResponse) String

func (x *CreateServiceSloResponse) String() string

type DeleteApmServiceRequest

type DeleteApmServiceRequest struct {
	Id *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteApmServiceRequest) Descriptor deprecated

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

Deprecated: Use DeleteApmServiceRequest.ProtoReflect.Descriptor instead.

func (*DeleteApmServiceRequest) GetId

func (*DeleteApmServiceRequest) ProtoMessage

func (*DeleteApmServiceRequest) ProtoMessage()

func (*DeleteApmServiceRequest) ProtoReflect

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

func (*DeleteApmServiceRequest) Reset

func (x *DeleteApmServiceRequest) Reset()

func (*DeleteApmServiceRequest) String

func (x *DeleteApmServiceRequest) String() string

type DeleteApmServiceResponse

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

func (*DeleteApmServiceResponse) Descriptor deprecated

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

Deprecated: Use DeleteApmServiceResponse.ProtoReflect.Descriptor instead.

func (*DeleteApmServiceResponse) ProtoMessage

func (*DeleteApmServiceResponse) ProtoMessage()

func (*DeleteApmServiceResponse) ProtoReflect

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

func (*DeleteApmServiceResponse) Reset

func (x *DeleteApmServiceResponse) Reset()

func (*DeleteApmServiceResponse) String

func (x *DeleteApmServiceResponse) String() string

type DeleteServiceSloRequest

type DeleteServiceSloRequest struct {
	Id *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteServiceSloRequest) Descriptor deprecated

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

Deprecated: Use DeleteServiceSloRequest.ProtoReflect.Descriptor instead.

func (*DeleteServiceSloRequest) GetId

func (*DeleteServiceSloRequest) ProtoMessage

func (*DeleteServiceSloRequest) ProtoMessage()

func (*DeleteServiceSloRequest) ProtoReflect

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

func (*DeleteServiceSloRequest) Reset

func (x *DeleteServiceSloRequest) Reset()

func (*DeleteServiceSloRequest) String

func (x *DeleteServiceSloRequest) String() string

type DeleteServiceSloResponse

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

func (*DeleteServiceSloResponse) Descriptor deprecated

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

Deprecated: Use DeleteServiceSloResponse.ProtoReflect.Descriptor instead.

func (*DeleteServiceSloResponse) ProtoMessage

func (*DeleteServiceSloResponse) ProtoMessage()

func (*DeleteServiceSloResponse) ProtoReflect

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

func (*DeleteServiceSloResponse) Reset

func (x *DeleteServiceSloResponse) Reset()

func (*DeleteServiceSloResponse) String

func (x *DeleteServiceSloResponse) String() string

type ErrorSli

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

func (*ErrorSli) Descriptor deprecated

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

Deprecated: Use ErrorSli.ProtoReflect.Descriptor instead.

func (*ErrorSli) ProtoMessage

func (*ErrorSli) ProtoMessage()

func (*ErrorSli) ProtoReflect

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

func (*ErrorSli) Reset

func (x *ErrorSli) Reset()

func (*ErrorSli) String

func (x *ErrorSli) String() string

type GetApmServiceRequest

type GetApmServiceRequest struct {
	Id *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetApmServiceRequest) Descriptor deprecated

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

Deprecated: Use GetApmServiceRequest.ProtoReflect.Descriptor instead.

func (*GetApmServiceRequest) GetId

func (*GetApmServiceRequest) ProtoMessage

func (*GetApmServiceRequest) ProtoMessage()

func (*GetApmServiceRequest) ProtoReflect

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

func (*GetApmServiceRequest) Reset

func (x *GetApmServiceRequest) Reset()

func (*GetApmServiceRequest) String

func (x *GetApmServiceRequest) String() string

type GetApmServiceResponse

type GetApmServiceResponse struct {
	Service *ApmService `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
	// contains filtered or unexported fields
}

func (*GetApmServiceResponse) Descriptor deprecated

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

Deprecated: Use GetApmServiceResponse.ProtoReflect.Descriptor instead.

func (*GetApmServiceResponse) GetService

func (x *GetApmServiceResponse) GetService() *ApmService

func (*GetApmServiceResponse) ProtoMessage

func (*GetApmServiceResponse) ProtoMessage()

func (*GetApmServiceResponse) ProtoReflect

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

func (*GetApmServiceResponse) Reset

func (x *GetApmServiceResponse) Reset()

func (*GetApmServiceResponse) String

func (x *GetApmServiceResponse) String() string

type GetServiceSloRequest

type GetServiceSloRequest struct {
	Id *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetServiceSloRequest) Descriptor deprecated

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

Deprecated: Use GetServiceSloRequest.ProtoReflect.Descriptor instead.

func (*GetServiceSloRequest) GetId

func (*GetServiceSloRequest) ProtoMessage

func (*GetServiceSloRequest) ProtoMessage()

func (*GetServiceSloRequest) ProtoReflect

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

func (*GetServiceSloRequest) Reset

func (x *GetServiceSloRequest) Reset()

func (*GetServiceSloRequest) String

func (x *GetServiceSloRequest) String() string

type GetServiceSloResponse

type GetServiceSloResponse struct {
	Slo *ServiceSlo `protobuf:"bytes,1,opt,name=slo,proto3" json:"slo,omitempty"`
	// contains filtered or unexported fields
}

func (*GetServiceSloResponse) Descriptor deprecated

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

Deprecated: Use GetServiceSloResponse.ProtoReflect.Descriptor instead.

func (*GetServiceSloResponse) GetSlo

func (x *GetServiceSloResponse) GetSlo() *ServiceSlo

func (*GetServiceSloResponse) ProtoMessage

func (*GetServiceSloResponse) ProtoMessage()

func (*GetServiceSloResponse) ProtoReflect

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

func (*GetServiceSloResponse) Reset

func (x *GetServiceSloResponse) Reset()

func (*GetServiceSloResponse) String

func (x *GetServiceSloResponse) String() string

type LatencySli

type LatencySli struct {
	ThresholdMicroseconds *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=threshold_microseconds,json=thresholdMicroseconds,proto3" json:"threshold_microseconds,omitempty"`
	ThresholdSymbol       ThresholdSymbol         `` /* 162-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*LatencySli) Descriptor deprecated

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

Deprecated: Use LatencySli.ProtoReflect.Descriptor instead.

func (*LatencySli) GetThresholdMicroseconds

func (x *LatencySli) GetThresholdMicroseconds() *wrapperspb.StringValue

func (*LatencySli) GetThresholdSymbol

func (x *LatencySli) GetThresholdSymbol() ThresholdSymbol

func (*LatencySli) ProtoMessage

func (*LatencySli) ProtoMessage()

func (*LatencySli) ProtoReflect

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

func (*LatencySli) Reset

func (x *LatencySli) Reset()

func (*LatencySli) String

func (x *LatencySli) String() string

type ListApmServicesRequest

type ListApmServicesRequest struct {
	OrderBy *v2.OrderBy `protobuf:"bytes,1,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	// contains filtered or unexported fields
}

func (*ListApmServicesRequest) Descriptor deprecated

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

Deprecated: Use ListApmServicesRequest.ProtoReflect.Descriptor instead.

func (*ListApmServicesRequest) GetOrderBy

func (x *ListApmServicesRequest) GetOrderBy() *v2.OrderBy

func (*ListApmServicesRequest) ProtoMessage

func (*ListApmServicesRequest) ProtoMessage()

func (*ListApmServicesRequest) ProtoReflect

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

func (*ListApmServicesRequest) Reset

func (x *ListApmServicesRequest) Reset()

func (*ListApmServicesRequest) String

func (x *ListApmServicesRequest) String() string

type ListApmServicesResponse

type ListApmServicesResponse struct {
	Services []*ApmService `protobuf:"bytes,1,rep,name=services,proto3" json:"services,omitempty"`
	// contains filtered or unexported fields
}

func (*ListApmServicesResponse) Descriptor deprecated

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

Deprecated: Use ListApmServicesResponse.ProtoReflect.Descriptor instead.

func (*ListApmServicesResponse) GetServices

func (x *ListApmServicesResponse) GetServices() []*ApmService

func (*ListApmServicesResponse) ProtoMessage

func (*ListApmServicesResponse) ProtoMessage()

func (*ListApmServicesResponse) ProtoReflect

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

func (*ListApmServicesResponse) Reset

func (x *ListApmServicesResponse) Reset()

func (*ListApmServicesResponse) String

func (x *ListApmServicesResponse) String() string

type ListServiceSlosRequest

type ListServiceSlosRequest struct {
	OrderBy      *v2.OrderBy               `protobuf:"bytes,1,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	ServiceNames []*wrapperspb.StringValue `protobuf:"bytes,2,rep,name=service_names,json=serviceNames,proto3" json:"service_names,omitempty"`
	// contains filtered or unexported fields
}

func (*ListServiceSlosRequest) Descriptor deprecated

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

Deprecated: Use ListServiceSlosRequest.ProtoReflect.Descriptor instead.

func (*ListServiceSlosRequest) GetOrderBy

func (x *ListServiceSlosRequest) GetOrderBy() *v2.OrderBy

func (*ListServiceSlosRequest) GetServiceNames

func (x *ListServiceSlosRequest) GetServiceNames() []*wrapperspb.StringValue

func (*ListServiceSlosRequest) ProtoMessage

func (*ListServiceSlosRequest) ProtoMessage()

func (*ListServiceSlosRequest) ProtoReflect

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

func (*ListServiceSlosRequest) Reset

func (x *ListServiceSlosRequest) Reset()

func (*ListServiceSlosRequest) String

func (x *ListServiceSlosRequest) String() string

type ListServiceSlosResponse

type ListServiceSlosResponse struct {
	Slos []*ServiceSlo `protobuf:"bytes,1,rep,name=slos,proto3" json:"slos,omitempty"`
	// contains filtered or unexported fields
}

func (*ListServiceSlosResponse) Descriptor deprecated

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

Deprecated: Use ListServiceSlosResponse.ProtoReflect.Descriptor instead.

func (*ListServiceSlosResponse) GetSlos

func (x *ListServiceSlosResponse) GetSlos() []*ServiceSlo

func (*ListServiceSlosResponse) ProtoMessage

func (*ListServiceSlosResponse) ProtoMessage()

func (*ListServiceSlosResponse) ProtoReflect

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

func (*ListServiceSlosResponse) Reset

func (x *ListServiceSlosResponse) Reset()

func (*ListServiceSlosResponse) String

func (x *ListServiceSlosResponse) String() string

type ReplaceServiceSloRequest

type ReplaceServiceSloRequest struct {
	Slo *ServiceSlo `protobuf:"bytes,1,opt,name=slo,proto3" json:"slo,omitempty"`
	// contains filtered or unexported fields
}

func (*ReplaceServiceSloRequest) Descriptor deprecated

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

Deprecated: Use ReplaceServiceSloRequest.ProtoReflect.Descriptor instead.

func (*ReplaceServiceSloRequest) GetSlo

func (x *ReplaceServiceSloRequest) GetSlo() *ServiceSlo

func (*ReplaceServiceSloRequest) ProtoMessage

func (*ReplaceServiceSloRequest) ProtoMessage()

func (*ReplaceServiceSloRequest) ProtoReflect

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

func (*ReplaceServiceSloRequest) Reset

func (x *ReplaceServiceSloRequest) Reset()

func (*ReplaceServiceSloRequest) String

func (x *ReplaceServiceSloRequest) String() string

type ReplaceServiceSloResponse

type ReplaceServiceSloResponse struct {
	Slo *ServiceSlo `protobuf:"bytes,1,opt,name=slo,proto3" json:"slo,omitempty"`
	// contains filtered or unexported fields
}

func (*ReplaceServiceSloResponse) Descriptor deprecated

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

Deprecated: Use ReplaceServiceSloResponse.ProtoReflect.Descriptor instead.

func (*ReplaceServiceSloResponse) GetSlo

func (*ReplaceServiceSloResponse) ProtoMessage

func (*ReplaceServiceSloResponse) ProtoMessage()

func (*ReplaceServiceSloResponse) ProtoReflect

func (*ReplaceServiceSloResponse) Reset

func (x *ReplaceServiceSloResponse) Reset()

func (*ReplaceServiceSloResponse) String

func (x *ReplaceServiceSloResponse) String() string

type ServiceSlo

type ServiceSlo struct {
	Id                             *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name                           *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	ServiceName                    *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"`
	Status                         SloStatus               `protobuf:"varint,4,opt,name=status,proto3,enum=com.coralogixapis.apm.services.v1.SloStatus" json:"status,omitempty"`
	Description                    *wrapperspb.StringValue `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
	TargetPercentage               *wrapperspb.UInt32Value `protobuf:"bytes,6,opt,name=target_percentage,json=targetPercentage,proto3" json:"target_percentage,omitempty"`
	CreatedAt                      *timestamppb.Timestamp  `protobuf:"bytes,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	RemainingErrorBudgetPercentage *wrapperspb.UInt32Value `` /* 155-byte string literal not displayed */
	// Types that are assignable to SliType:
	//
	//	*ServiceSlo_LatencySli
	//	*ServiceSlo_ErrorSli
	SliType isServiceSlo_SliType `protobuf_oneof:"sli_type"`
	Filters []*SliFilter         `protobuf:"bytes,11,rep,name=filters,proto3" json:"filters,omitempty"`
	Period  SloPeriod            `protobuf:"varint,12,opt,name=period,proto3,enum=com.coralogixapis.apm.services.v1.SloPeriod" json:"period,omitempty"`
	// contains filtered or unexported fields
}

func (*ServiceSlo) Descriptor deprecated

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

Deprecated: Use ServiceSlo.ProtoReflect.Descriptor instead.

func (*ServiceSlo) GetCreatedAt

func (x *ServiceSlo) GetCreatedAt() *timestamppb.Timestamp

func (*ServiceSlo) GetDescription

func (x *ServiceSlo) GetDescription() *wrapperspb.StringValue

func (*ServiceSlo) GetErrorSli

func (x *ServiceSlo) GetErrorSli() *ErrorSli

func (*ServiceSlo) GetFilters

func (x *ServiceSlo) GetFilters() []*SliFilter

func (*ServiceSlo) GetId

func (x *ServiceSlo) GetId() *wrapperspb.StringValue

func (*ServiceSlo) GetLatencySli

func (x *ServiceSlo) GetLatencySli() *LatencySli

func (*ServiceSlo) GetName

func (x *ServiceSlo) GetName() *wrapperspb.StringValue

func (*ServiceSlo) GetPeriod

func (x *ServiceSlo) GetPeriod() SloPeriod

func (*ServiceSlo) GetRemainingErrorBudgetPercentage

func (x *ServiceSlo) GetRemainingErrorBudgetPercentage() *wrapperspb.UInt32Value

func (*ServiceSlo) GetServiceName

func (x *ServiceSlo) GetServiceName() *wrapperspb.StringValue

func (*ServiceSlo) GetSliType

func (m *ServiceSlo) GetSliType() isServiceSlo_SliType

func (*ServiceSlo) GetStatus

func (x *ServiceSlo) GetStatus() SloStatus

func (*ServiceSlo) GetTargetPercentage

func (x *ServiceSlo) GetTargetPercentage() *wrapperspb.UInt32Value

func (*ServiceSlo) ProtoMessage

func (*ServiceSlo) ProtoMessage()

func (*ServiceSlo) ProtoReflect

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

func (*ServiceSlo) Reset

func (x *ServiceSlo) Reset()

func (*ServiceSlo) String

func (x *ServiceSlo) String() string

type ServiceSloServiceClient

type ServiceSloServiceClient interface {
	GetServiceSlo(ctx context.Context, in *GetServiceSloRequest, opts ...grpc.CallOption) (*GetServiceSloResponse, error)
	CreateServiceSlo(ctx context.Context, in *CreateServiceSloRequest, opts ...grpc.CallOption) (*CreateServiceSloResponse, error)
	ReplaceServiceSlo(ctx context.Context, in *ReplaceServiceSloRequest, opts ...grpc.CallOption) (*ReplaceServiceSloResponse, error)
	DeleteServiceSlo(ctx context.Context, in *DeleteServiceSloRequest, opts ...grpc.CallOption) (*DeleteServiceSloResponse, error)
	ListServiceSlos(ctx context.Context, in *ListServiceSlosRequest, opts ...grpc.CallOption) (*ListServiceSlosResponse, error)
	BatchGetServiceSlos(ctx context.Context, in *BatchGetServiceSlosRequest, opts ...grpc.CallOption) (*BatchGetServiceSlosResponse, error)
}

ServiceSloServiceClient is the client API for ServiceSloService 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 ServiceSloServiceServer

ServiceSloServiceServer is the server API for ServiceSloService service. All implementations must embed UnimplementedServiceSloServiceServer for forward compatibility

type ServiceSlo_ErrorSli

type ServiceSlo_ErrorSli struct {
	ErrorSli *ErrorSli `protobuf:"bytes,10,opt,name=error_sli,json=errorSli,proto3,oneof"`
}

type ServiceSlo_LatencySli

type ServiceSlo_LatencySli struct {
	LatencySli *LatencySli `protobuf:"bytes,9,opt,name=latency_sli,json=latencySli,proto3,oneof"`
}

type SliFilter

type SliFilter struct {
	Field       *wrapperspb.StringValue   `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"`
	CompareType CompareType               `` /* 146-byte string literal not displayed */
	FieldValues []*wrapperspb.StringValue `protobuf:"bytes,3,rep,name=field_values,json=fieldValues,proto3" json:"field_values,omitempty"`
	// contains filtered or unexported fields
}

func (*SliFilter) Descriptor deprecated

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

Deprecated: Use SliFilter.ProtoReflect.Descriptor instead.

func (*SliFilter) GetCompareType

func (x *SliFilter) GetCompareType() CompareType

func (*SliFilter) GetField

func (x *SliFilter) GetField() *wrapperspb.StringValue

func (*SliFilter) GetFieldValues

func (x *SliFilter) GetFieldValues() []*wrapperspb.StringValue

func (*SliFilter) ProtoMessage

func (*SliFilter) ProtoMessage()

func (*SliFilter) ProtoReflect

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

func (*SliFilter) Reset

func (x *SliFilter) Reset()

func (*SliFilter) String

func (x *SliFilter) String() string

type SliMetricType

type SliMetricType int32
const (
	SliMetricType_SLI_METRIC_TYPE_UNSPECIFIED SliMetricType = 0
	SliMetricType_SLI_METRIC_TYPE_ERROR       SliMetricType = 1
	SliMetricType_SLI_METRIC_TYPE_LATENCY     SliMetricType = 2
	SliMetricType_SLI_METRIC_TYPE_CUSTOM      SliMetricType = 3
)

func (SliMetricType) Descriptor

func (SliMetricType) Enum

func (x SliMetricType) Enum() *SliMetricType

func (SliMetricType) EnumDescriptor deprecated

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

Deprecated: Use SliMetricType.Descriptor instead.

func (SliMetricType) Number

func (SliMetricType) String

func (x SliMetricType) String() string

func (SliMetricType) Type

type SloPeriod

type SloPeriod int32
const (
	SloPeriod_SLO_PERIOD_UNSPECIFIED SloPeriod = 0
	SloPeriod_SLO_PERIOD_7_DAYS      SloPeriod = 1
	SloPeriod_SLO_PERIOD_14_DAYS     SloPeriod = 2
	SloPeriod_SLO_PERIOD_30_DAYS     SloPeriod = 3
)

func (SloPeriod) Descriptor

func (SloPeriod) Descriptor() protoreflect.EnumDescriptor

func (SloPeriod) Enum

func (x SloPeriod) Enum() *SloPeriod

func (SloPeriod) EnumDescriptor deprecated

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

Deprecated: Use SloPeriod.Descriptor instead.

func (SloPeriod) Number

func (x SloPeriod) Number() protoreflect.EnumNumber

func (SloPeriod) String

func (x SloPeriod) String() string

func (SloPeriod) Type

type SloStatus

type SloStatus int32
const (
	SloStatus_SLO_STATUS_UNSPECIFIED SloStatus = 0
	SloStatus_SLO_STATUS_OK          SloStatus = 1
	SloStatus_SLO_STATUS_BREACHED    SloStatus = 2
)

func (SloStatus) Descriptor

func (SloStatus) Descriptor() protoreflect.EnumDescriptor

func (SloStatus) Enum

func (x SloStatus) Enum() *SloStatus

func (SloStatus) EnumDescriptor deprecated

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

Deprecated: Use SloStatus.Descriptor instead.

func (SloStatus) Number

func (x SloStatus) Number() protoreflect.EnumNumber

func (SloStatus) String

func (x SloStatus) String() string

func (SloStatus) Type

type SloStatusCount

type SloStatusCount struct {
	Ok           *wrapperspb.Int64Value `protobuf:"bytes,1,opt,name=ok,proto3" json:"ok,omitempty"`
	Breach       *wrapperspb.Int64Value `protobuf:"bytes,2,opt,name=breach,proto3" json:"breach,omitempty"`
	NotAvailable *wrapperspb.Int64Value `protobuf:"bytes,3,opt,name=not_available,json=notAvailable,proto3" json:"not_available,omitempty"`
	// contains filtered or unexported fields
}

func (*SloStatusCount) Descriptor deprecated

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

Deprecated: Use SloStatusCount.ProtoReflect.Descriptor instead.

func (*SloStatusCount) GetBreach

func (x *SloStatusCount) GetBreach() *wrapperspb.Int64Value

func (*SloStatusCount) GetNotAvailable

func (x *SloStatusCount) GetNotAvailable() *wrapperspb.Int64Value

func (*SloStatusCount) GetOk

func (x *SloStatusCount) GetOk() *wrapperspb.Int64Value

func (*SloStatusCount) ProtoMessage

func (*SloStatusCount) ProtoMessage()

func (*SloStatusCount) ProtoReflect

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

func (*SloStatusCount) Reset

func (x *SloStatusCount) Reset()

func (*SloStatusCount) String

func (x *SloStatusCount) String() string

type ThresholdSymbol

type ThresholdSymbol int32
const (
	ThresholdSymbol_THRESHOLD_SYMBOL_UNSPECIFIED      ThresholdSymbol = 0
	ThresholdSymbol_THRESHOLD_SYMBOL_GREATER          ThresholdSymbol = 1
	ThresholdSymbol_THRESHOLD_SYMBOL_GREATER_OR_EQUAL ThresholdSymbol = 2
	ThresholdSymbol_THRESHOLD_SYMBOL_LESS             ThresholdSymbol = 3
	ThresholdSymbol_THRESHOLD_SYMBOL_LESS_OR_EQUAL    ThresholdSymbol = 4
	ThresholdSymbol_THRESHOLD_SYMBOL_EQUAL            ThresholdSymbol = 5
	ThresholdSymbol_THRESHOLD_SYMBOL_NOT_EQUAL        ThresholdSymbol = 6
)

func (ThresholdSymbol) Descriptor

func (ThresholdSymbol) Enum

func (x ThresholdSymbol) Enum() *ThresholdSymbol

func (ThresholdSymbol) EnumDescriptor deprecated

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

Deprecated: Use ThresholdSymbol.Descriptor instead.

func (ThresholdSymbol) Number

func (ThresholdSymbol) String

func (x ThresholdSymbol) String() string

func (ThresholdSymbol) Type

type UnimplementedApmServiceServiceServer

type UnimplementedApmServiceServiceServer struct {
}

UnimplementedApmServiceServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedApmServiceServiceServer) BatchGetApmServices

func (UnimplementedApmServiceServiceServer) DeleteApmService

func (UnimplementedApmServiceServiceServer) GetApmService

func (UnimplementedApmServiceServiceServer) ListApmServices

type UnimplementedServiceSloServiceServer

type UnimplementedServiceSloServiceServer struct {
}

UnimplementedServiceSloServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedServiceSloServiceServer) BatchGetServiceSlos

func (UnimplementedServiceSloServiceServer) CreateServiceSlo

func (UnimplementedServiceSloServiceServer) DeleteServiceSlo

func (UnimplementedServiceSloServiceServer) GetServiceSlo

func (UnimplementedServiceSloServiceServer) ListServiceSlos

func (UnimplementedServiceSloServiceServer) ReplaceServiceSlo

type UnsafeApmServiceServiceServer

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

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

type UnsafeServiceSloServiceServer

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

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

Jump to

Keyboard shortcuts

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