Documentation ¶
Index ¶
- Variables
- type Class
- type Insight
- func (m *Insight) CloneMessageVT() proto.Message
- func (m *Insight) CloneVT() *Insight
- func (*Insight) Descriptor() ([]byte, []int)deprecated
- func (this *Insight) EqualMessageVT(thatMsg proto.Message) bool
- func (this *Insight) EqualVT(that *Insight) bool
- func (x *Insight) GetApplication() *Insight_Subject
- func (x *Insight) GetClass() Class
- func (x *Insight) GetDescription() string
- func (x *Insight) GetOrganization() *Insight_Subject
- func (x *Insight) GetService() *Insight_Subject
- func (m *Insight) GetSubjectOneof() isInsight_SubjectOneof
- func (x *Insight) GetTitle() string
- func (*Insight) ProtoMessage()
- func (x *Insight) ProtoReflect() protoreflect.Message
- func (x *Insight) Reset()
- func (this *Insight) StableEqualMessageVT(thatMsg proto.Message) bool
- func (this *Insight) StableEqualVT(that *Insight) bool
- func (x *Insight) String() string
- func (m *Insight) Validate() error
- func (m *Insight) ValidateAll() error
- type InsightMultiError
- type InsightValidationError
- type Insight_Application
- type Insight_Organization
- type Insight_Service
- type Insight_Subject
- func (m *Insight_Subject) CloneMessageVT() proto.Message
- func (m *Insight_Subject) CloneVT() *Insight_Subject
- func (*Insight_Subject) Descriptor() ([]byte, []int)deprecated
- func (this *Insight_Subject) EqualMessageVT(thatMsg proto.Message) bool
- func (this *Insight_Subject) EqualVT(that *Insight_Subject) bool
- func (x *Insight_Subject) GetId() string
- func (x *Insight_Subject) GetName() string
- func (*Insight_Subject) ProtoMessage()
- func (x *Insight_Subject) ProtoReflect() protoreflect.Message
- func (x *Insight_Subject) Reset()
- func (this *Insight_Subject) StableEqualMessageVT(thatMsg proto.Message) bool
- func (this *Insight_Subject) StableEqualVT(that *Insight_Subject) bool
- func (x *Insight_Subject) String() string
- func (m *Insight_Subject) Validate() error
- func (m *Insight_Subject) ValidateAll() error
- type Insight_SubjectMultiError
- type Insight_SubjectValidationError
- func (e Insight_SubjectValidationError) Cause() error
- func (e Insight_SubjectValidationError) Error() string
- func (e Insight_SubjectValidationError) ErrorName() string
- func (e Insight_SubjectValidationError) Field() string
- func (e Insight_SubjectValidationError) Key() bool
- func (e Insight_SubjectValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var ( Class_name = map[int32]string{ 0: "UNKNOWN", 1: "SUCCESSFUL_DEPLOYMENT_FREQUENCY_DECREASE", 2: "DEPLOYMENT_FAILURE_RATE_INCREASE", 3: "MEDIAN_SUCCESSFUL_DEPLOYMENT_DURATION_INCREASE", 4: "MEDIAN_SUCCESSFUL_ROLLBACK_DURATION_INCREASE", } Class_value = map[string]int32{ "UNKNOWN": 0, "SUCCESSFUL_DEPLOYMENT_FREQUENCY_DECREASE": 1, "DEPLOYMENT_FAILURE_RATE_INCREASE": 2, "MEDIAN_SUCCESSFUL_DEPLOYMENT_DURATION_INCREASE": 3, "MEDIAN_SUCCESSFUL_ROLLBACK_DURATION_INCREASE": 4, } )
Enum value maps for Class.
var File_prodvana_insights_insights_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Class ¶
type Class int32
func (Class) Descriptor ¶
func (Class) Descriptor() protoreflect.EnumDescriptor
func (Class) EnumDescriptor
deprecated
func (Class) Number ¶
func (x Class) Number() protoreflect.EnumNumber
func (Class) Type ¶
func (Class) Type() protoreflect.EnumType
type Insight ¶
type Insight struct { Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` Class Class `protobuf:"varint,6,opt,name=class,proto3,enum=prodvana.insights.Class" json:"class,omitempty"` // Types that are assignable to SubjectOneof: // // *Insight_Service // *Insight_Application // *Insight_Organization SubjectOneof isInsight_SubjectOneof `protobuf_oneof:"subject_oneof"` // contains filtered or unexported fields }
func (*Insight) CloneMessageVT ¶ added in v0.3.34
func (*Insight) Descriptor
deprecated
func (*Insight) EqualMessageVT ¶ added in v0.3.34
func (*Insight) GetApplication ¶
func (x *Insight) GetApplication() *Insight_Subject
func (*Insight) GetDescription ¶
func (*Insight) GetOrganization ¶
func (x *Insight) GetOrganization() *Insight_Subject
func (*Insight) GetService ¶
func (x *Insight) GetService() *Insight_Subject
func (*Insight) GetSubjectOneof ¶
func (m *Insight) GetSubjectOneof() isInsight_SubjectOneof
func (*Insight) ProtoMessage ¶
func (*Insight) ProtoMessage()
func (*Insight) ProtoReflect ¶
func (x *Insight) ProtoReflect() protoreflect.Message
func (*Insight) StableEqualMessageVT ¶ added in v0.3.34
func (*Insight) StableEqualVT ¶ added in v0.3.34
func (*Insight) Validate ¶
Validate checks the field values on Insight 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 (*Insight) ValidateAll ¶
ValidateAll checks the field values on Insight 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 InsightMultiError, or nil if none found.
type InsightMultiError ¶
type InsightMultiError []error
InsightMultiError is an error wrapping multiple validation errors returned by Insight.ValidateAll() if the designated constraints aren't met.
func (InsightMultiError) AllErrors ¶
func (m InsightMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (InsightMultiError) Error ¶
func (m InsightMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type InsightValidationError ¶
type InsightValidationError struct {
// contains filtered or unexported fields
}
InsightValidationError is the validation error returned by Insight.Validate if the designated constraints aren't met.
func (InsightValidationError) Cause ¶
func (e InsightValidationError) Cause() error
Cause function returns cause value.
func (InsightValidationError) Error ¶
func (e InsightValidationError) Error() string
Error satisfies the builtin error interface
func (InsightValidationError) ErrorName ¶
func (e InsightValidationError) ErrorName() string
ErrorName returns error name.
func (InsightValidationError) Field ¶
func (e InsightValidationError) Field() string
Field function returns field value.
func (InsightValidationError) Key ¶
func (e InsightValidationError) Key() bool
Key function returns key value.
func (InsightValidationError) Reason ¶
func (e InsightValidationError) Reason() string
Reason function returns reason value.
type Insight_Application ¶
type Insight_Application struct {
Application *Insight_Subject `protobuf:"bytes,4,opt,name=application,proto3,oneof"`
}
func (*Insight_Application) CloneVT ¶ added in v0.3.34
func (m *Insight_Application) CloneVT() isInsight_SubjectOneof
func (*Insight_Application) EqualVT ¶ added in v0.3.34
func (this *Insight_Application) EqualVT(thatIface isInsight_SubjectOneof) bool
func (*Insight_Application) StableEqualVT ¶ added in v0.3.34
func (this *Insight_Application) StableEqualVT(thatIface isInsight_SubjectOneof) bool
type Insight_Organization ¶
type Insight_Organization struct {
Organization *Insight_Subject `protobuf:"bytes,5,opt,name=organization,proto3,oneof"`
}
func (*Insight_Organization) CloneVT ¶ added in v0.3.34
func (m *Insight_Organization) CloneVT() isInsight_SubjectOneof
func (*Insight_Organization) EqualVT ¶ added in v0.3.34
func (this *Insight_Organization) EqualVT(thatIface isInsight_SubjectOneof) bool
func (*Insight_Organization) StableEqualVT ¶ added in v0.3.34
func (this *Insight_Organization) StableEqualVT(thatIface isInsight_SubjectOneof) bool
type Insight_Service ¶
type Insight_Service struct {
Service *Insight_Subject `protobuf:"bytes,3,opt,name=service,proto3,oneof"`
}
func (*Insight_Service) CloneVT ¶ added in v0.3.34
func (m *Insight_Service) CloneVT() isInsight_SubjectOneof
func (*Insight_Service) EqualVT ¶ added in v0.3.34
func (this *Insight_Service) EqualVT(thatIface isInsight_SubjectOneof) bool
func (*Insight_Service) StableEqualVT ¶ added in v0.3.34
func (this *Insight_Service) StableEqualVT(thatIface isInsight_SubjectOneof) bool
type Insight_Subject ¶
type Insight_Subject struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*Insight_Subject) CloneMessageVT ¶ added in v0.3.34
func (m *Insight_Subject) CloneMessageVT() proto.Message
func (*Insight_Subject) CloneVT ¶ added in v0.3.34
func (m *Insight_Subject) CloneVT() *Insight_Subject
func (*Insight_Subject) Descriptor
deprecated
func (*Insight_Subject) Descriptor() ([]byte, []int)
Deprecated: Use Insight_Subject.ProtoReflect.Descriptor instead.
func (*Insight_Subject) EqualMessageVT ¶ added in v0.3.34
func (this *Insight_Subject) EqualMessageVT(thatMsg proto.Message) bool
func (*Insight_Subject) EqualVT ¶ added in v0.3.34
func (this *Insight_Subject) EqualVT(that *Insight_Subject) bool
func (*Insight_Subject) GetId ¶
func (x *Insight_Subject) GetId() string
func (*Insight_Subject) GetName ¶
func (x *Insight_Subject) GetName() string
func (*Insight_Subject) ProtoMessage ¶
func (*Insight_Subject) ProtoMessage()
func (*Insight_Subject) ProtoReflect ¶
func (x *Insight_Subject) ProtoReflect() protoreflect.Message
func (*Insight_Subject) Reset ¶
func (x *Insight_Subject) Reset()
func (*Insight_Subject) StableEqualMessageVT ¶ added in v0.3.34
func (this *Insight_Subject) StableEqualMessageVT(thatMsg proto.Message) bool
func (*Insight_Subject) StableEqualVT ¶ added in v0.3.34
func (this *Insight_Subject) StableEqualVT(that *Insight_Subject) bool
func (*Insight_Subject) String ¶
func (x *Insight_Subject) String() string
func (*Insight_Subject) Validate ¶
func (m *Insight_Subject) Validate() error
Validate checks the field values on Insight_Subject 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 (*Insight_Subject) ValidateAll ¶
func (m *Insight_Subject) ValidateAll() error
ValidateAll checks the field values on Insight_Subject 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 Insight_SubjectMultiError, or nil if none found.
type Insight_SubjectMultiError ¶
type Insight_SubjectMultiError []error
Insight_SubjectMultiError is an error wrapping multiple validation errors returned by Insight_Subject.ValidateAll() if the designated constraints aren't met.
func (Insight_SubjectMultiError) AllErrors ¶
func (m Insight_SubjectMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Insight_SubjectMultiError) Error ¶
func (m Insight_SubjectMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Insight_SubjectValidationError ¶
type Insight_SubjectValidationError struct {
// contains filtered or unexported fields
}
Insight_SubjectValidationError is the validation error returned by Insight_Subject.Validate if the designated constraints aren't met.
func (Insight_SubjectValidationError) Cause ¶
func (e Insight_SubjectValidationError) Cause() error
Cause function returns cause value.
func (Insight_SubjectValidationError) Error ¶
func (e Insight_SubjectValidationError) Error() string
Error satisfies the builtin error interface
func (Insight_SubjectValidationError) ErrorName ¶
func (e Insight_SubjectValidationError) ErrorName() string
ErrorName returns error name.
func (Insight_SubjectValidationError) Field ¶
func (e Insight_SubjectValidationError) Field() string
Field function returns field value.
func (Insight_SubjectValidationError) Key ¶
func (e Insight_SubjectValidationError) Key() bool
Key function returns key value.
func (Insight_SubjectValidationError) Reason ¶
func (e Insight_SubjectValidationError) Reason() string
Reason function returns reason value.