Documentation ¶
Index ¶
- Variables
- type Dependency
- func (*Dependency) Descriptor() ([]byte, []int)deprecated
- func (x *Dependency) GetIds() []string
- func (*Dependency) ProtoMessage()
- func (x *Dependency) ProtoReflect() protoreflect.Message
- func (x *Dependency) Reset()
- func (x *Dependency) String() string
- func (m *Dependency) Validate() error
- func (m *Dependency) ValidateAll() error
- type DependencyMultiError
- type DependencyValidationError
- type Link
- func (*Link) Descriptor() ([]byte, []int)deprecated
- func (x *Link) GetName() string
- func (x *Link) GetUrl() string
- func (*Link) ProtoMessage()
- func (x *Link) ProtoReflect() protoreflect.Message
- func (x *Link) Reset()
- func (x *Link) String() string
- func (m *Link) Validate() error
- func (m *Link) ValidateAll() error
- type LinkGroup
- func (*LinkGroup) Descriptor() ([]byte, []int)deprecated
- func (x *LinkGroup) GetImagePath() string
- func (x *LinkGroup) GetLinks() []*Link
- func (x *LinkGroup) GetName() string
- func (*LinkGroup) ProtoMessage()
- func (x *LinkGroup) ProtoReflect() protoreflect.Message
- func (x *LinkGroup) Reset()
- func (x *LinkGroup) String() string
- func (m *LinkGroup) Validate() error
- func (m *LinkGroup) ValidateAll() error
- type LinkGroupMultiError
- type LinkGroupValidationError
- type LinkMultiError
- type LinkValidationError
- type OnCall
- func (*OnCall) Descriptor() ([]byte, []int)deprecated
- func (x *OnCall) GetPagerduty() *PagerDuty
- func (*OnCall) ProtoMessage()
- func (x *OnCall) ProtoReflect() protoreflect.Message
- func (x *OnCall) Reset()
- func (x *OnCall) String() string
- func (m *OnCall) Validate() error
- func (m *OnCall) ValidateAll() error
- type OnCallMultiError
- type OnCallValidationError
- type PagerDuty
- func (*PagerDuty) Descriptor() ([]byte, []int)deprecated
- func (x *PagerDuty) GetServiceIds() []string
- func (*PagerDuty) ProtoMessage()
- func (x *PagerDuty) ProtoReflect() protoreflect.Message
- func (x *PagerDuty) Reset()
- func (x *PagerDuty) String() string
- func (m *PagerDuty) Validate() error
- func (m *PagerDuty) ValidateAll() error
- type PagerDutyMultiError
- type PagerDutyValidationError
- type Project
- func (*Project) Descriptor() ([]byte, []int)deprecated
- func (x *Project) GetData() map[string]*structpb.Value
- func (x *Project) GetDependencies() *ProjectDependencies
- func (x *Project) GetLanguages() []string
- func (x *Project) GetLinkGroups() []*LinkGroup
- func (x *Project) GetName() string
- func (x *Project) GetOncall() *OnCall
- func (x *Project) GetOwners() []string
- func (x *Project) GetTier() string
- func (*Project) ProtoMessage()
- func (x *Project) ProtoReflect() protoreflect.Message
- func (x *Project) Reset()
- func (x *Project) String() string
- func (m *Project) Validate() error
- func (m *Project) ValidateAll() error
- type ProjectDependencies
- func (*ProjectDependencies) Descriptor() ([]byte, []int)deprecated
- func (x *ProjectDependencies) GetDownstreams() map[string]*Dependency
- func (x *ProjectDependencies) GetUpstreams() map[string]*Dependency
- func (*ProjectDependencies) ProtoMessage()
- func (x *ProjectDependencies) ProtoReflect() protoreflect.Message
- func (x *ProjectDependencies) Reset()
- func (x *ProjectDependencies) String() string
- func (m *ProjectDependencies) Validate() error
- func (m *ProjectDependencies) ValidateAll() error
- type ProjectDependenciesMultiError
- type ProjectDependenciesValidationError
- func (e ProjectDependenciesValidationError) Cause() error
- func (e ProjectDependenciesValidationError) Error() string
- func (e ProjectDependenciesValidationError) ErrorName() string
- func (e ProjectDependenciesValidationError) Field() string
- func (e ProjectDependenciesValidationError) Key() bool
- func (e ProjectDependenciesValidationError) Reason() string
- type ProjectMultiError
- type ProjectValidationError
Constants ¶
This section is empty.
Variables ¶
var File_core_project_v1_project_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Dependency ¶
type Dependency struct { Ids []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"` // contains filtered or unexported fields }
func (*Dependency) Descriptor
deprecated
func (*Dependency) Descriptor() ([]byte, []int)
Deprecated: Use Dependency.ProtoReflect.Descriptor instead.
func (*Dependency) GetIds ¶
func (x *Dependency) GetIds() []string
func (*Dependency) ProtoMessage ¶
func (*Dependency) ProtoMessage()
func (*Dependency) ProtoReflect ¶
func (x *Dependency) ProtoReflect() protoreflect.Message
func (*Dependency) Reset ¶
func (x *Dependency) Reset()
func (*Dependency) String ¶
func (x *Dependency) String() string
func (*Dependency) Validate ¶
func (m *Dependency) Validate() error
Validate checks the field values on Dependency 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 (*Dependency) ValidateAll ¶
func (m *Dependency) ValidateAll() error
ValidateAll checks the field values on Dependency 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 DependencyMultiError, or nil if none found.
type DependencyMultiError ¶
type DependencyMultiError []error
DependencyMultiError is an error wrapping multiple validation errors returned by Dependency.ValidateAll() if the designated constraints aren't met.
func (DependencyMultiError) AllErrors ¶
func (m DependencyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DependencyMultiError) Error ¶
func (m DependencyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DependencyValidationError ¶
type DependencyValidationError struct {
// contains filtered or unexported fields
}
DependencyValidationError is the validation error returned by Dependency.Validate if the designated constraints aren't met.
func (DependencyValidationError) Cause ¶
func (e DependencyValidationError) Cause() error
Cause function returns cause value.
func (DependencyValidationError) Error ¶
func (e DependencyValidationError) Error() string
Error satisfies the builtin error interface
func (DependencyValidationError) ErrorName ¶
func (e DependencyValidationError) ErrorName() string
ErrorName returns error name.
func (DependencyValidationError) Field ¶
func (e DependencyValidationError) Field() string
Field function returns field value.
func (DependencyValidationError) Key ¶
func (e DependencyValidationError) Key() bool
Key function returns key value.
func (DependencyValidationError) Reason ¶
func (e DependencyValidationError) Reason() string
Reason function returns reason value.
type Link ¶
type Link struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` // contains filtered or unexported fields }
func (*Link) Descriptor
deprecated
func (*Link) ProtoMessage ¶
func (*Link) ProtoMessage()
func (*Link) ProtoReflect ¶
func (x *Link) ProtoReflect() protoreflect.Message
func (*Link) Validate ¶
Validate checks the field values on Link 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 (*Link) ValidateAll ¶
ValidateAll checks the field values on Link 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 LinkMultiError, or nil if none found.
type LinkGroup ¶
type LinkGroup struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Links []*Link `protobuf:"bytes,2,rep,name=links,proto3" json:"links,omitempty"` ImagePath string `protobuf:"bytes,3,opt,name=image_path,json=imagePath,proto3" json:"image_path,omitempty"` // Can be an s3 location, path on the server, etc. // contains filtered or unexported fields }
func (*LinkGroup) Descriptor
deprecated
func (*LinkGroup) GetImagePath ¶
func (*LinkGroup) ProtoMessage ¶
func (*LinkGroup) ProtoMessage()
func (*LinkGroup) ProtoReflect ¶
func (x *LinkGroup) ProtoReflect() protoreflect.Message
func (*LinkGroup) Validate ¶
Validate checks the field values on LinkGroup 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 (*LinkGroup) ValidateAll ¶
ValidateAll checks the field values on LinkGroup 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 LinkGroupMultiError, or nil if none found.
type LinkGroupMultiError ¶
type LinkGroupMultiError []error
LinkGroupMultiError is an error wrapping multiple validation errors returned by LinkGroup.ValidateAll() if the designated constraints aren't met.
func (LinkGroupMultiError) AllErrors ¶
func (m LinkGroupMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (LinkGroupMultiError) Error ¶
func (m LinkGroupMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type LinkGroupValidationError ¶
type LinkGroupValidationError struct {
// contains filtered or unexported fields
}
LinkGroupValidationError is the validation error returned by LinkGroup.Validate if the designated constraints aren't met.
func (LinkGroupValidationError) Cause ¶
func (e LinkGroupValidationError) Cause() error
Cause function returns cause value.
func (LinkGroupValidationError) Error ¶
func (e LinkGroupValidationError) Error() string
Error satisfies the builtin error interface
func (LinkGroupValidationError) ErrorName ¶
func (e LinkGroupValidationError) ErrorName() string
ErrorName returns error name.
func (LinkGroupValidationError) Field ¶
func (e LinkGroupValidationError) Field() string
Field function returns field value.
func (LinkGroupValidationError) Key ¶
func (e LinkGroupValidationError) Key() bool
Key function returns key value.
func (LinkGroupValidationError) Reason ¶
func (e LinkGroupValidationError) Reason() string
Reason function returns reason value.
type LinkMultiError ¶
type LinkMultiError []error
LinkMultiError is an error wrapping multiple validation errors returned by Link.ValidateAll() if the designated constraints aren't met.
func (LinkMultiError) AllErrors ¶
func (m LinkMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (LinkMultiError) Error ¶
func (m LinkMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type LinkValidationError ¶
type LinkValidationError struct {
// contains filtered or unexported fields
}
LinkValidationError is the validation error returned by Link.Validate if the designated constraints aren't met.
func (LinkValidationError) Cause ¶
func (e LinkValidationError) Cause() error
Cause function returns cause value.
func (LinkValidationError) Error ¶
func (e LinkValidationError) Error() string
Error satisfies the builtin error interface
func (LinkValidationError) ErrorName ¶
func (e LinkValidationError) ErrorName() string
ErrorName returns error name.
func (LinkValidationError) Field ¶
func (e LinkValidationError) Field() string
Field function returns field value.
func (LinkValidationError) Key ¶
func (e LinkValidationError) Key() bool
Key function returns key value.
func (LinkValidationError) Reason ¶
func (e LinkValidationError) Reason() string
Reason function returns reason value.
type OnCall ¶
type OnCall struct { Pagerduty *PagerDuty `protobuf:"bytes,1,opt,name=pagerduty,proto3" json:"pagerduty,omitempty"` // contains filtered or unexported fields }
Oncall information that could come from several sources for a project From active alerts from source like pagerduty, to who is currently on call.
func (*OnCall) Descriptor
deprecated
func (*OnCall) GetPagerduty ¶
func (*OnCall) ProtoMessage ¶
func (*OnCall) ProtoMessage()
func (*OnCall) ProtoReflect ¶
func (x *OnCall) ProtoReflect() protoreflect.Message
func (*OnCall) Validate ¶
Validate checks the field values on OnCall 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 (*OnCall) ValidateAll ¶
ValidateAll checks the field values on OnCall 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 OnCallMultiError, or nil if none found.
type OnCallMultiError ¶
type OnCallMultiError []error
OnCallMultiError is an error wrapping multiple validation errors returned by OnCall.ValidateAll() if the designated constraints aren't met.
func (OnCallMultiError) AllErrors ¶
func (m OnCallMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (OnCallMultiError) Error ¶
func (m OnCallMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type OnCallValidationError ¶
type OnCallValidationError struct {
// contains filtered or unexported fields
}
OnCallValidationError is the validation error returned by OnCall.Validate if the designated constraints aren't met.
func (OnCallValidationError) Cause ¶
func (e OnCallValidationError) Cause() error
Cause function returns cause value.
func (OnCallValidationError) Error ¶
func (e OnCallValidationError) Error() string
Error satisfies the builtin error interface
func (OnCallValidationError) ErrorName ¶
func (e OnCallValidationError) ErrorName() string
ErrorName returns error name.
func (OnCallValidationError) Field ¶
func (e OnCallValidationError) Field() string
Field function returns field value.
func (OnCallValidationError) Key ¶
func (e OnCallValidationError) Key() bool
Key function returns key value.
func (OnCallValidationError) Reason ¶
func (e OnCallValidationError) Reason() string
Reason function returns reason value.
type PagerDuty ¶
type PagerDuty struct { // A project may have more than one PagerDuty service id // https://developer.pagerduty.com/api-reference/docs/CONCEPTS.md#services ServiceIds []string `protobuf:"bytes,1,rep,name=service_ids,json=serviceIds,proto3" json:"service_ids,omitempty"` // contains filtered or unexported fields }
PagerDuty specific information for a project
func (*PagerDuty) Descriptor
deprecated
func (*PagerDuty) GetServiceIds ¶
func (*PagerDuty) ProtoMessage ¶
func (*PagerDuty) ProtoMessage()
func (*PagerDuty) ProtoReflect ¶
func (x *PagerDuty) ProtoReflect() protoreflect.Message
func (*PagerDuty) Validate ¶
Validate checks the field values on PagerDuty 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 (*PagerDuty) ValidateAll ¶
ValidateAll checks the field values on PagerDuty 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 PagerDutyMultiError, or nil if none found.
type PagerDutyMultiError ¶
type PagerDutyMultiError []error
PagerDutyMultiError is an error wrapping multiple validation errors returned by PagerDuty.ValidateAll() if the designated constraints aren't met.
func (PagerDutyMultiError) AllErrors ¶
func (m PagerDutyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PagerDutyMultiError) Error ¶
func (m PagerDutyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PagerDutyValidationError ¶
type PagerDutyValidationError struct {
// contains filtered or unexported fields
}
PagerDutyValidationError is the validation error returned by PagerDuty.Validate if the designated constraints aren't met.
func (PagerDutyValidationError) Cause ¶
func (e PagerDutyValidationError) Cause() error
Cause function returns cause value.
func (PagerDutyValidationError) Error ¶
func (e PagerDutyValidationError) Error() string
Error satisfies the builtin error interface
func (PagerDutyValidationError) ErrorName ¶
func (e PagerDutyValidationError) ErrorName() string
ErrorName returns error name.
func (PagerDutyValidationError) Field ¶
func (e PagerDutyValidationError) Field() string
Field function returns field value.
func (PagerDutyValidationError) Key ¶
func (e PagerDutyValidationError) Key() bool
Key function returns key value.
func (PagerDutyValidationError) Reason ¶
func (e PagerDutyValidationError) Reason() string
Reason function returns reason value.
type Project ¶
type Project struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Tier string `protobuf:"bytes,2,opt,name=tier,proto3" json:"tier,omitempty"` Owners []string `protobuf:"bytes,3,rep,name=owners,proto3" json:"owners,omitempty"` Languages []string `protobuf:"bytes,4,rep,name=languages,proto3" json:"languages,omitempty"` // Allows an organization to populate any information they see fit that does not fit our schema Data map[string]*structpb.Value `` /* 149-byte string literal not displayed */ Dependencies *ProjectDependencies `protobuf:"bytes,6,opt,name=dependencies,proto3" json:"dependencies,omitempty"` Oncall *OnCall `protobuf:"bytes,7,opt,name=oncall,proto3" json:"oncall,omitempty"` LinkGroups []*LinkGroup `protobuf:"bytes,8,rep,name=link_groups,json=linkGroups,proto3" json:"link_groups,omitempty"` // contains filtered or unexported fields }
A project is the logical abstraction for a service, library, mobile app, etc. Adding this higher level primitive will enable a more generic way of addressing commonalities between various system types.
func (*Project) Descriptor
deprecated
func (*Project) GetDependencies ¶
func (x *Project) GetDependencies() *ProjectDependencies
func (*Project) GetLanguages ¶
func (*Project) GetLinkGroups ¶
func (*Project) ProtoMessage ¶
func (*Project) ProtoMessage()
func (*Project) ProtoReflect ¶
func (x *Project) ProtoReflect() protoreflect.Message
func (*Project) Validate ¶
Validate checks the field values on Project 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 (*Project) ValidateAll ¶
ValidateAll checks the field values on Project 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 ProjectMultiError, or nil if none found.
type ProjectDependencies ¶
type ProjectDependencies struct { // The key in this map is the type_url of the dependency Upstreams map[string]*Dependency `` /* 159-byte string literal not displayed */ Downstreams map[string]*Dependency `` /* 163-byte string literal not displayed */ // contains filtered or unexported fields }
Dependencies could be either upstream or downstream of this project.
func (*ProjectDependencies) Descriptor
deprecated
func (*ProjectDependencies) Descriptor() ([]byte, []int)
Deprecated: Use ProjectDependencies.ProtoReflect.Descriptor instead.
func (*ProjectDependencies) GetDownstreams ¶
func (x *ProjectDependencies) GetDownstreams() map[string]*Dependency
func (*ProjectDependencies) GetUpstreams ¶
func (x *ProjectDependencies) GetUpstreams() map[string]*Dependency
func (*ProjectDependencies) ProtoMessage ¶
func (*ProjectDependencies) ProtoMessage()
func (*ProjectDependencies) ProtoReflect ¶
func (x *ProjectDependencies) ProtoReflect() protoreflect.Message
func (*ProjectDependencies) Reset ¶
func (x *ProjectDependencies) Reset()
func (*ProjectDependencies) String ¶
func (x *ProjectDependencies) String() string
func (*ProjectDependencies) Validate ¶
func (m *ProjectDependencies) Validate() error
Validate checks the field values on ProjectDependencies 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 (*ProjectDependencies) ValidateAll ¶
func (m *ProjectDependencies) ValidateAll() error
ValidateAll checks the field values on ProjectDependencies 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 ProjectDependenciesMultiError, or nil if none found.
type ProjectDependenciesMultiError ¶
type ProjectDependenciesMultiError []error
ProjectDependenciesMultiError is an error wrapping multiple validation errors returned by ProjectDependencies.ValidateAll() if the designated constraints aren't met.
func (ProjectDependenciesMultiError) AllErrors ¶
func (m ProjectDependenciesMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ProjectDependenciesMultiError) Error ¶
func (m ProjectDependenciesMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ProjectDependenciesValidationError ¶
type ProjectDependenciesValidationError struct {
// contains filtered or unexported fields
}
ProjectDependenciesValidationError is the validation error returned by ProjectDependencies.Validate if the designated constraints aren't met.
func (ProjectDependenciesValidationError) Cause ¶
func (e ProjectDependenciesValidationError) Cause() error
Cause function returns cause value.
func (ProjectDependenciesValidationError) Error ¶
func (e ProjectDependenciesValidationError) Error() string
Error satisfies the builtin error interface
func (ProjectDependenciesValidationError) ErrorName ¶
func (e ProjectDependenciesValidationError) ErrorName() string
ErrorName returns error name.
func (ProjectDependenciesValidationError) Field ¶
func (e ProjectDependenciesValidationError) Field() string
Field function returns field value.
func (ProjectDependenciesValidationError) Key ¶
func (e ProjectDependenciesValidationError) Key() bool
Key function returns key value.
func (ProjectDependenciesValidationError) Reason ¶
func (e ProjectDependenciesValidationError) Reason() string
Reason function returns reason value.
type ProjectMultiError ¶
type ProjectMultiError []error
ProjectMultiError is an error wrapping multiple validation errors returned by Project.ValidateAll() if the designated constraints aren't met.
func (ProjectMultiError) AllErrors ¶
func (m ProjectMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ProjectMultiError) Error ¶
func (m ProjectMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ProjectValidationError ¶
type ProjectValidationError struct {
// contains filtered or unexported fields
}
ProjectValidationError is the validation error returned by Project.Validate if the designated constraints aren't met.
func (ProjectValidationError) Cause ¶
func (e ProjectValidationError) Cause() error
Cause function returns cause value.
func (ProjectValidationError) Error ¶
func (e ProjectValidationError) Error() string
Error satisfies the builtin error interface
func (ProjectValidationError) ErrorName ¶
func (e ProjectValidationError) ErrorName() string
ErrorName returns error name.
func (ProjectValidationError) Field ¶
func (e ProjectValidationError) Field() string
Field function returns field value.
func (ProjectValidationError) Key ¶
func (e ProjectValidationError) Key() bool
Key function returns key value.
func (ProjectValidationError) Reason ¶
func (e ProjectValidationError) Reason() string
Reason function returns reason value.