Documentation ¶
Index ¶
- Variables
- type Action
- func (*Action) Descriptor() ([]byte, []int)deprecated
- func (x *Action) GetDescription() string
- func (x *Action) GetLabel() string
- func (x *Action) GetUrl() string
- func (*Action) ProtoMessage()
- func (x *Action) ProtoReflect() protoreflect.Message
- func (x *Action) Reset()
- func (x *Action) String() string
- type Error
- func (*Error) Descriptor() ([]byte, []int)deprecated
- func (x *Error) GetActions() []*Action
- func (x *Error) GetCode() ErrorCode
- func (x *Error) GetFault() Fault
- func (x *Error) GetGroup() string
- func (x *Error) GetMetadata() *structpb.Struct
- func (x *Error) GetType() string
- func (*Error) ProtoMessage()
- func (x *Error) ProtoReflect() protoreflect.Message
- func (x *Error) Reset()
- func (x *Error) String() string
- type ErrorCode
- type Fault
- type Service
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Fault_name = map[int32]string{ 0: "FAULT_UNSPECIFIED", 1: "FAULT_UNKNOWN", 2: "FAULT_PLANETSCALE", 3: "FAULT_GITHUB", } Fault_value = map[string]int32{ "FAULT_UNSPECIFIED": 0, "FAULT_UNKNOWN": 1, "FAULT_PLANETSCALE": 2, "FAULT_GITHUB": 3, } )
Enum value maps for Fault.
View Source
var ( Service_name = map[int32]string{ 0: "ServiceUnknown", 1: "ServiceAgent", 2: "ServiceAuth", 3: "ServiceCatalog", 4: "ServiceConfig", 5: "ServiceDNS", 6: "ServiceGateway", 7: "ServiceGitHub", 8: "ServiceKubernetes", 9: "ServiceLog", 10: "ServiceMetrics", 11: "ServiceMonitor", 12: "ServiceNetwork", 13: "ServiceOperator", 14: "ServiceRegistry", 15: "ServiceSecret", 16: "ServiceStorage", 17: "ServiceSystem", 18: "ServiceTelemetry", 19: "ServiceToken", 20: "ServiceUser", 21: "ServiceVault", 22: "ServiceWebhook", } Service_value = map[string]int32{ "ServiceUnknown": 0, "ServiceAgent": 1, "ServiceAuth": 2, "ServiceCatalog": 3, "ServiceConfig": 4, "ServiceDNS": 5, "ServiceGateway": 6, "ServiceGitHub": 7, "ServiceKubernetes": 8, "ServiceLog": 9, "ServiceMetrics": 10, "ServiceMonitor": 11, "ServiceNetwork": 12, "ServiceOperator": 13, "ServiceRegistry": 14, "ServiceSecret": 15, "ServiceStorage": 16, "ServiceSystem": 17, "ServiceTelemetry": 18, "ServiceToken": 19, "ServiceUser": 20, "ServiceVault": 21, "ServiceWebhook": 22, } )
Enum value maps for Service.
View Source
var ( ErrorCode_name = map[int32]string{ 0: "ErrorCodeUnspecified", 1: "ErrorCodeInternal", } ErrorCode_value = map[string]int32{ "ErrorCodeUnspecified": 0, "ErrorCodeInternal": 1, } )
Enum value maps for ErrorCode.
View Source
var File_proto_errors_v1_errors_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Action ¶
type Action struct { Url *string `protobuf:"bytes,1,opt,name=url,proto3,oneof" json:"url,omitempty"` Label string `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // contains filtered or unexported fields }
func (*Action) Descriptor
deprecated
func (*Action) GetDescription ¶
func (*Action) ProtoMessage ¶
func (*Action) ProtoMessage()
func (*Action) ProtoReflect ¶
func (x *Action) ProtoReflect() protoreflect.Message
type Error ¶
type Error struct { Fault Fault `protobuf:"varint,1,opt,name=fault,proto3,enum=errors.v1.Fault" json:"fault,omitempty"` Group string `protobuf:"bytes,2,opt,name=group,proto3" json:"group,omitempty"` Code ErrorCode `protobuf:"varint,3,opt,name=code,proto3,enum=errors.v1.ErrorCode" json:"code,omitempty"` Type string `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"` Metadata *structpb.Struct `protobuf:"bytes,5,opt,name=metadata,proto3" json:"metadata,omitempty"` // Suggested actions the user should take to resolve this error. // These actions are not guaranteed to resolve the error, but they are a good starting point. // // As a last resort, the user should contact support. // // The actions are ordered by importance, the first action should be presented first. Actions []*Action `protobuf:"bytes,6,rep,name=actions,proto3" json:"actions,omitempty"` // contains filtered or unexported fields }
func (*Error) Descriptor
deprecated
func (*Error) GetActions ¶
func (*Error) GetMetadata ¶
func (*Error) ProtoMessage ¶
func (*Error) ProtoMessage()
func (*Error) ProtoReflect ¶
func (x *Error) ProtoReflect() protoreflect.Message
type ErrorCode ¶
type ErrorCode int32
func (ErrorCode) Descriptor ¶
func (ErrorCode) Descriptor() protoreflect.EnumDescriptor
func (ErrorCode) EnumDescriptor
deprecated
func (ErrorCode) Number ¶
func (x ErrorCode) Number() protoreflect.EnumNumber
func (ErrorCode) Type ¶
func (ErrorCode) Type() protoreflect.EnumType
type Fault ¶
type Fault int32
func (Fault) Descriptor ¶
func (Fault) Descriptor() protoreflect.EnumDescriptor
func (Fault) EnumDescriptor
deprecated
func (Fault) Number ¶
func (x Fault) Number() protoreflect.EnumNumber
func (Fault) Type ¶
func (Fault) Type() protoreflect.EnumType
type Service ¶
type Service int32
const ( Service_ServiceUnknown Service = 0 Service_ServiceAgent Service = 1 Service_ServiceAuth Service = 2 Service_ServiceCatalog Service = 3 Service_ServiceConfig Service = 4 Service_ServiceDNS Service = 5 Service_ServiceGateway Service = 6 Service_ServiceGitHub Service = 7 Service_ServiceKubernetes Service = 8 Service_ServiceLog Service = 9 Service_ServiceMetrics Service = 10 Service_ServiceMonitor Service = 11 Service_ServiceNetwork Service = 12 Service_ServiceOperator Service = 13 Service_ServiceRegistry Service = 14 Service_ServiceSecret Service = 15 Service_ServiceStorage Service = 16 Service_ServiceSystem Service = 17 Service_ServiceTelemetry Service = 18 Service_ServiceToken Service = 19 Service_ServiceUser Service = 20 Service_ServiceVault Service = 21 Service_ServiceWebhook Service = 22 )
func (Service) Descriptor ¶
func (Service) Descriptor() protoreflect.EnumDescriptor
func (Service) EnumDescriptor
deprecated
func (Service) Number ¶
func (x Service) Number() protoreflect.EnumNumber
func (Service) Type ¶
func (Service) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.