Documentation ¶
Index ¶
- Variables
- type Artifactory
- func (*Artifactory) Descriptor() ([]byte, []int)deprecated
- func (x *Artifactory) GetEmail() string
- func (x *Artifactory) GetLink() string
- func (x *Artifactory) GetPath() string
- func (x *Artifactory) GetRepo() string
- func (x *Artifactory) GetTimestamp() string
- func (x *Artifactory) GetUsername() string
- func (*Artifactory) ProtoMessage()
- func (x *Artifactory) ProtoReflect() protoreflect.Message
- func (x *Artifactory) Reset()
- func (x *Artifactory) String() string
- func (m *Artifactory) Validate() error
- func (m *Artifactory) ValidateAll() error
- type ArtifactoryMultiError
- type ArtifactoryValidationError
- func (e ArtifactoryValidationError) Cause() error
- func (e ArtifactoryValidationError) Error() string
- func (e ArtifactoryValidationError) ErrorName() string
- func (e ArtifactoryValidationError) Field() string
- func (e ArtifactoryValidationError) Key() bool
- func (e ArtifactoryValidationError) Reason() string
- type Azure
- func (*Azure) Descriptor() ([]byte, []int)deprecated
- func (x *Azure) GetContainer() string
- func (x *Azure) GetEmail() string
- func (x *Azure) GetFile() string
- func (x *Azure) GetLink() string
- func (x *Azure) GetUploaded() string
- func (*Azure) ProtoMessage()
- func (x *Azure) ProtoReflect() protoreflect.Message
- func (x *Azure) Reset()
- func (x *Azure) String() string
- func (m *Azure) Validate() error
- func (m *Azure) ValidateAll() error
- type AzureMultiError
- type AzureValidationError
- type Bitbucket
- func (*Bitbucket) Descriptor() ([]byte, []int)deprecated
- func (x *Bitbucket) GetCommit() string
- func (x *Bitbucket) GetEmail() string
- func (x *Bitbucket) GetFile() string
- func (x *Bitbucket) GetLine() int64
- func (x *Bitbucket) GetLink() string
- func (x *Bitbucket) GetRepository() string
- func (x *Bitbucket) GetSnippetId() string
- func (x *Bitbucket) GetTimestamp() string
- func (x *Bitbucket) GetTitle() string
- func (x *Bitbucket) GetWorkspace() string
- func (*Bitbucket) ProtoMessage()
- func (x *Bitbucket) ProtoReflect() protoreflect.Message
- func (x *Bitbucket) Reset()
- func (x *Bitbucket) String() string
- func (m *Bitbucket) Validate() error
- func (m *Bitbucket) ValidateAll() error
- type BitbucketMultiError
- type BitbucketValidationError
- type Buildkite
- func (*Buildkite) Descriptor() ([]byte, []int)deprecated
- func (x *Buildkite) GetBuildNumber() int64
- func (x *Buildkite) GetEmail() string
- func (x *Buildkite) GetLink() string
- func (x *Buildkite) GetOrg() string
- func (x *Buildkite) GetPipeline() string
- func (x *Buildkite) GetTimestamp() string
- func (*Buildkite) ProtoMessage()
- func (x *Buildkite) ProtoReflect() protoreflect.Message
- func (x *Buildkite) Reset()
- func (x *Buildkite) String() string
- func (m *Buildkite) Validate() error
- func (m *Buildkite) ValidateAll() error
- type BuildkiteMultiError
- type BuildkiteValidationError
- type CircleCI
- func (*CircleCI) Descriptor() ([]byte, []int)deprecated
- func (x *CircleCI) GetBuildNumber() int64
- func (x *CircleCI) GetBuildStep() string
- func (x *CircleCI) GetEmail() string
- func (x *CircleCI) GetLink() string
- func (x *CircleCI) GetRepository() string
- func (x *CircleCI) GetUsername() string
- func (x *CircleCI) GetVcsType() string
- func (*CircleCI) ProtoMessage()
- func (x *CircleCI) ProtoReflect() protoreflect.Message
- func (x *CircleCI) Reset()
- func (x *CircleCI) String() string
- func (m *CircleCI) Validate() error
- func (m *CircleCI) ValidateAll() error
- type CircleCIMultiError
- type CircleCIValidationError
- type Confluence
- func (*Confluence) Descriptor() ([]byte, []int)deprecated
- func (x *Confluence) GetEmail() string
- func (x *Confluence) GetFile() string
- func (x *Confluence) GetLink() string
- func (x *Confluence) GetLocation() string
- func (x *Confluence) GetPage() string
- func (x *Confluence) GetSpace() string
- func (x *Confluence) GetTimestamp() string
- func (x *Confluence) GetVersion() string
- func (*Confluence) ProtoMessage()
- func (x *Confluence) ProtoReflect() protoreflect.Message
- func (x *Confluence) Reset()
- func (x *Confluence) String() string
- func (m *Confluence) Validate() error
- func (m *Confluence) ValidateAll() error
- type ConfluenceMultiError
- type ConfluenceValidationError
- type Dockerhub
- func (*Dockerhub) Descriptor() ([]byte, []int)deprecated
- func (x *Dockerhub) GetEmail() string
- func (x *Dockerhub) GetFile() string
- func (x *Dockerhub) GetImage() string
- func (x *Dockerhub) GetLayer() string
- func (x *Dockerhub) GetLink() string
- func (x *Dockerhub) GetTag() string
- func (*Dockerhub) ProtoMessage()
- func (x *Dockerhub) ProtoReflect() protoreflect.Message
- func (x *Dockerhub) Reset()
- func (x *Dockerhub) String() string
- func (m *Dockerhub) Validate() error
- func (m *Dockerhub) ValidateAll() error
- type DockerhubMultiError
- type DockerhubValidationError
- type ECR
- func (*ECR) Descriptor() ([]byte, []int)deprecated
- func (x *ECR) GetEmail() string
- func (x *ECR) GetFile() string
- func (x *ECR) GetImage() string
- func (x *ECR) GetLayer() string
- func (x *ECR) GetLink() string
- func (x *ECR) GetRegion() string
- func (x *ECR) GetRegistry() string
- func (*ECR) ProtoMessage()
- func (x *ECR) ProtoReflect() protoreflect.Message
- func (x *ECR) Reset()
- func (x *ECR) String() string
- func (m *ECR) Validate() error
- func (m *ECR) ValidateAll() error
- type ECRMultiError
- type ECRValidationError
- type Filesystem
- func (*Filesystem) Descriptor() ([]byte, []int)deprecated
- func (x *Filesystem) GetEmail() string
- func (x *Filesystem) GetFile() string
- func (x *Filesystem) GetLink() string
- func (*Filesystem) ProtoMessage()
- func (x *Filesystem) ProtoReflect() protoreflect.Message
- func (x *Filesystem) Reset()
- func (x *Filesystem) String() string
- func (m *Filesystem) Validate() error
- func (m *Filesystem) ValidateAll() error
- type FilesystemMultiError
- type FilesystemValidationError
- type GCS
- func (*GCS) Descriptor() ([]byte, []int)deprecated
- func (x *GCS) GetAcls() []string
- func (x *GCS) GetBucket() string
- func (x *GCS) GetContentType() string
- func (x *GCS) GetCreatedAt() string
- func (x *GCS) GetEmail() string
- func (x *GCS) GetFilename() string
- func (x *GCS) GetLink() string
- func (x *GCS) GetUpdatedAt() string
- func (*GCS) ProtoMessage()
- func (x *GCS) ProtoReflect() protoreflect.Message
- func (x *GCS) Reset()
- func (x *GCS) String() string
- func (m *GCS) Validate() error
- func (m *GCS) ValidateAll() error
- type GCSMultiError
- type GCSValidationError
- type Gerrit
- func (*Gerrit) Descriptor() ([]byte, []int)deprecated
- func (x *Gerrit) GetCommit() string
- func (x *Gerrit) GetEmail() string
- func (x *Gerrit) GetFile() string
- func (x *Gerrit) GetLine() int64
- func (x *Gerrit) GetProject() string
- func (x *Gerrit) GetTimestamp() string
- func (*Gerrit) ProtoMessage()
- func (x *Gerrit) ProtoReflect() protoreflect.Message
- func (x *Gerrit) Reset()
- func (x *Gerrit) String() string
- func (m *Gerrit) Validate() error
- func (m *Gerrit) ValidateAll() error
- type GerritMultiError
- type GerritValidationError
- type Git
- func (*Git) Descriptor() ([]byte, []int)deprecated
- func (x *Git) GetCommit() string
- func (x *Git) GetEmail() string
- func (x *Git) GetFile() string
- func (x *Git) GetLine() int64
- func (x *Git) GetRepository() string
- func (x *Git) GetTimestamp() string
- func (*Git) ProtoMessage()
- func (x *Git) ProtoReflect() protoreflect.Message
- func (x *Git) Reset()
- func (x *Git) String() string
- func (m *Git) Validate() error
- func (m *Git) ValidateAll() error
- type GitMultiError
- type GitValidationError
- type Github
- func (*Github) Descriptor() ([]byte, []int)deprecated
- func (x *Github) GetCommit() string
- func (x *Github) GetEmail() string
- func (x *Github) GetFile() string
- func (x *Github) GetLine() int64
- func (x *Github) GetLink() string
- func (x *Github) GetRepository() string
- func (x *Github) GetTimestamp() string
- func (x *Github) GetUsername() string
- func (x *Github) GetVisibility() Visibility
- func (*Github) ProtoMessage()
- func (x *Github) ProtoReflect() protoreflect.Message
- func (x *Github) Reset()
- func (x *Github) String() string
- func (m *Github) Validate() error
- func (m *Github) ValidateAll() error
- type GithubMultiError
- type GithubValidationError
- type Gitlab
- func (*Gitlab) Descriptor() ([]byte, []int)deprecated
- func (x *Gitlab) GetCommit() string
- func (x *Gitlab) GetEmail() string
- func (x *Gitlab) GetFile() string
- func (x *Gitlab) GetLine() int64
- func (x *Gitlab) GetLink() string
- func (x *Gitlab) GetRepository() string
- func (x *Gitlab) GetTimestamp() string
- func (*Gitlab) ProtoMessage()
- func (x *Gitlab) ProtoReflect() protoreflect.Message
- func (x *Gitlab) Reset()
- func (x *Gitlab) String() string
- func (m *Gitlab) Validate() error
- func (m *Gitlab) ValidateAll() error
- type GitlabMultiError
- type GitlabValidationError
- type GoogleDrive
- func (*GoogleDrive) Descriptor() ([]byte, []int)deprecated
- func (x *GoogleDrive) GetEmail() string
- func (x *GoogleDrive) GetFile() string
- func (x *GoogleDrive) GetLastModifiedBy() string
- func (x *GoogleDrive) GetLink() string
- func (x *GoogleDrive) GetShared() bool
- func (x *GoogleDrive) GetTimestamp() string
- func (*GoogleDrive) ProtoMessage()
- func (x *GoogleDrive) ProtoReflect() protoreflect.Message
- func (x *GoogleDrive) Reset()
- func (x *GoogleDrive) String() string
- func (m *GoogleDrive) Validate() error
- func (m *GoogleDrive) ValidateAll() error
- type GoogleDriveMultiError
- type GoogleDriveValidationError
- func (e GoogleDriveValidationError) Cause() error
- func (e GoogleDriveValidationError) Error() string
- func (e GoogleDriveValidationError) ErrorName() string
- func (e GoogleDriveValidationError) Field() string
- func (e GoogleDriveValidationError) Key() bool
- func (e GoogleDriveValidationError) Reason() string
- type Jenkins
- func (*Jenkins) Descriptor() ([]byte, []int)deprecated
- func (x *Jenkins) GetBuildNumber() int64
- func (x *Jenkins) GetLink() string
- func (x *Jenkins) GetProjectName() string
- func (x *Jenkins) GetTimestamp() string
- func (*Jenkins) ProtoMessage()
- func (x *Jenkins) ProtoReflect() protoreflect.Message
- func (x *Jenkins) Reset()
- func (x *Jenkins) String() string
- func (m *Jenkins) Validate() error
- func (m *Jenkins) ValidateAll() error
- type JenkinsMultiError
- type JenkinsValidationError
- type Jira
- func (*Jira) Descriptor() ([]byte, []int)deprecated
- func (x *Jira) GetAuthor() string
- func (x *Jira) GetEmail() string
- func (x *Jira) GetIssue() string
- func (x *Jira) GetLink() string
- func (x *Jira) GetLocation() string
- func (x *Jira) GetTimestamp() string
- func (*Jira) ProtoMessage()
- func (x *Jira) ProtoReflect() protoreflect.Message
- func (x *Jira) Reset()
- func (x *Jira) String() string
- func (m *Jira) Validate() error
- func (m *Jira) ValidateAll() error
- type JiraMultiError
- type JiraValidationError
- type MetaData
- func (*MetaData) Descriptor() ([]byte, []int)deprecated
- func (x *MetaData) GetArtifactory() *Artifactory
- func (x *MetaData) GetAzure() *Azure
- func (x *MetaData) GetBitbucket() *Bitbucket
- func (x *MetaData) GetBuildkite() *Buildkite
- func (x *MetaData) GetCircleci() *CircleCI
- func (x *MetaData) GetConfluence() *Confluence
- func (m *MetaData) GetData() isMetaData_Data
- func (x *MetaData) GetDockerhub() *Dockerhub
- func (x *MetaData) GetEcr() *ECR
- func (x *MetaData) GetFilesystem() *Filesystem
- func (x *MetaData) GetGcs() *GCS
- func (x *MetaData) GetGerrit() *Gerrit
- func (x *MetaData) GetGit() *Git
- func (x *MetaData) GetGithub() *Github
- func (x *MetaData) GetGitlab() *Gitlab
- func (x *MetaData) GetGoogleDrive() *GoogleDrive
- func (x *MetaData) GetJenkins() *Jenkins
- func (x *MetaData) GetJira() *Jira
- func (x *MetaData) GetNpm() *NPM
- func (x *MetaData) GetPublicEventMonitoring() *PublicEventMonitoring
- func (x *MetaData) GetPypi() *PyPi
- func (x *MetaData) GetS3() *S3
- func (x *MetaData) GetSharepoint() *SharePoint
- func (x *MetaData) GetSlack() *Slack
- func (x *MetaData) GetSyslog() *Syslog
- func (x *MetaData) GetTeams() *Teams
- func (x *MetaData) GetTest() *Test
- func (*MetaData) ProtoMessage()
- func (x *MetaData) ProtoReflect() protoreflect.Message
- func (x *MetaData) Reset()
- func (x *MetaData) String() string
- func (m *MetaData) Validate() error
- func (m *MetaData) ValidateAll() error
- type MetaDataMultiError
- type MetaDataValidationError
- type MetaData_Artifactory
- type MetaData_Azure
- type MetaData_Bitbucket
- type MetaData_Buildkite
- type MetaData_Circleci
- type MetaData_Confluence
- type MetaData_Dockerhub
- type MetaData_Ecr
- type MetaData_Filesystem
- type MetaData_Gcs
- type MetaData_Gerrit
- type MetaData_Git
- type MetaData_Github
- type MetaData_Gitlab
- type MetaData_GoogleDrive
- type MetaData_Jenkins
- type MetaData_Jira
- type MetaData_Npm
- type MetaData_PublicEventMonitoring
- type MetaData_Pypi
- type MetaData_S3
- type MetaData_Sharepoint
- type MetaData_Slack
- type MetaData_Syslog
- type MetaData_Teams
- type MetaData_Test
- type NPM
- func (*NPM) Descriptor() ([]byte, []int)deprecated
- func (x *NPM) GetEmail() string
- func (x *NPM) GetFile() string
- func (x *NPM) GetLink() string
- func (x *NPM) GetPackage() string
- func (x *NPM) GetRelease() string
- func (*NPM) ProtoMessage()
- func (x *NPM) ProtoReflect() protoreflect.Message
- func (x *NPM) Reset()
- func (x *NPM) String() string
- func (m *NPM) Validate() error
- func (m *NPM) ValidateAll() error
- type NPMMultiError
- type NPMValidationError
- type PublicEventMonitoring
- func (*PublicEventMonitoring) Descriptor() ([]byte, []int)deprecated
- func (x *PublicEventMonitoring) GetGithub() *Github
- func (m *PublicEventMonitoring) GetMetadata() isPublicEventMonitoring_Metadata
- func (*PublicEventMonitoring) ProtoMessage()
- func (x *PublicEventMonitoring) ProtoReflect() protoreflect.Message
- func (x *PublicEventMonitoring) Reset()
- func (x *PublicEventMonitoring) String() string
- func (m *PublicEventMonitoring) Validate() error
- func (m *PublicEventMonitoring) ValidateAll() error
- type PublicEventMonitoringMultiError
- type PublicEventMonitoringValidationError
- func (e PublicEventMonitoringValidationError) Cause() error
- func (e PublicEventMonitoringValidationError) Error() string
- func (e PublicEventMonitoringValidationError) ErrorName() string
- func (e PublicEventMonitoringValidationError) Field() string
- func (e PublicEventMonitoringValidationError) Key() bool
- func (e PublicEventMonitoringValidationError) Reason() string
- type PublicEventMonitoring_Github
- type PyPi
- func (*PyPi) Descriptor() ([]byte, []int)deprecated
- func (x *PyPi) GetEmail() string
- func (x *PyPi) GetFile() string
- func (x *PyPi) GetLink() string
- func (x *PyPi) GetPackage() string
- func (x *PyPi) GetRelease() string
- func (*PyPi) ProtoMessage()
- func (x *PyPi) ProtoReflect() protoreflect.Message
- func (x *PyPi) Reset()
- func (x *PyPi) String() string
- func (m *PyPi) Validate() error
- func (m *PyPi) ValidateAll() error
- type PyPiMultiError
- type PyPiValidationError
- type S3
- func (*S3) Descriptor() ([]byte, []int)deprecated
- func (x *S3) GetBucket() string
- func (x *S3) GetEmail() string
- func (x *S3) GetFile() string
- func (x *S3) GetLink() string
- func (x *S3) GetTimestamp() string
- func (*S3) ProtoMessage()
- func (x *S3) ProtoReflect() protoreflect.Message
- func (x *S3) Reset()
- func (x *S3) String() string
- func (m *S3) Validate() error
- func (m *S3) ValidateAll() error
- type S3MultiError
- type S3ValidationError
- type SharePoint
- func (*SharePoint) Descriptor() ([]byte, []int)deprecated
- func (x *SharePoint) GetAuthor() string
- func (x *SharePoint) GetDocid() string
- func (x *SharePoint) GetEmail() string
- func (x *SharePoint) GetLink() string
- func (x *SharePoint) GetTimestamp() string
- func (x *SharePoint) GetTitle() string
- func (x *SharePoint) GetViews() int64
- func (*SharePoint) ProtoMessage()
- func (x *SharePoint) ProtoReflect() protoreflect.Message
- func (x *SharePoint) Reset()
- func (x *SharePoint) String() string
- func (m *SharePoint) Validate() error
- func (m *SharePoint) ValidateAll() error
- type SharePointMultiError
- type SharePointValidationError
- type Slack
- func (*Slack) Descriptor() ([]byte, []int)deprecated
- func (x *Slack) GetChannelId() string
- func (x *Slack) GetChannelName() string
- func (x *Slack) GetEmail() string
- func (x *Slack) GetFile() string
- func (x *Slack) GetLink() string
- func (x *Slack) GetLocation() string
- func (x *Slack) GetTimestamp() string
- func (x *Slack) GetUserId() string
- func (x *Slack) GetVisibility() Visibility
- func (*Slack) ProtoMessage()
- func (x *Slack) ProtoReflect() protoreflect.Message
- func (x *Slack) Reset()
- func (x *Slack) String() string
- func (m *Slack) Validate() error
- func (m *Slack) ValidateAll() error
- type SlackMultiError
- type SlackValidationError
- type Syslog
- func (*Syslog) Descriptor() ([]byte, []int)deprecated
- func (x *Syslog) GetAppname() string
- func (x *Syslog) GetClient() string
- func (x *Syslog) GetFacility() string
- func (x *Syslog) GetHostname() string
- func (x *Syslog) GetProcid() string
- func (x *Syslog) GetTimestamp() string
- func (*Syslog) ProtoMessage()
- func (x *Syslog) ProtoReflect() protoreflect.Message
- func (x *Syslog) Reset()
- func (x *Syslog) String() string
- func (m *Syslog) Validate() error
- func (m *Syslog) ValidateAll() error
- type SyslogMultiError
- type SyslogValidationError
- type Teams
- func (*Teams) Descriptor() ([]byte, []int)deprecated
- func (x *Teams) GetChannelId() string
- func (x *Teams) GetChannelName() string
- func (x *Teams) GetEmail() string
- func (x *Teams) GetFile() string
- func (x *Teams) GetLink() string
- func (x *Teams) GetLocation() string
- func (x *Teams) GetTeamId() string
- func (x *Teams) GetTeamName() string
- func (x *Teams) GetTimestamp() string
- func (x *Teams) GetUserId() string
- func (*Teams) ProtoMessage()
- func (x *Teams) ProtoReflect() protoreflect.Message
- func (x *Teams) Reset()
- func (x *Teams) String() string
- func (m *Teams) Validate() error
- func (m *Teams) ValidateAll() error
- type TeamsMultiError
- type TeamsValidationError
- type Test
- type TestMultiError
- type TestValidationError
- type Visibility
Constants ¶
This section is empty.
Variables ¶
var ( Visibility_name = map[int32]string{ 0: "public", 1: "private", 2: "shared", 3: "unknown", } Visibility_value = map[string]int32{ "public": 0, "private": 1, "shared": 2, "unknown": 3, } )
Enum value maps for Visibility.
var File_source_metadata_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Artifactory ¶ added in v3.0.3
type Artifactory struct { Repo string `protobuf:"bytes,1,opt,name=repo,proto3" json:"repo,omitempty"` Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` Link string `protobuf:"bytes,3,opt,name=link,proto3" json:"link,omitempty"` Timestamp string `protobuf:"bytes,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Username string `protobuf:"bytes,5,opt,name=username,proto3" json:"username,omitempty"` Email string `protobuf:"bytes,6,opt,name=email,proto3" json:"email,omitempty"` // contains filtered or unexported fields }
https://www.jfrog.com/confluence/display/JFROG/Artifactory+REST+API#ArtifactoryRESTAPI-FileInfo
func (*Artifactory) Descriptor
deprecated
added in
v3.0.3
func (*Artifactory) Descriptor() ([]byte, []int)
Deprecated: Use Artifactory.ProtoReflect.Descriptor instead.
func (*Artifactory) GetEmail ¶ added in v3.0.3
func (x *Artifactory) GetEmail() string
func (*Artifactory) GetLink ¶ added in v3.0.3
func (x *Artifactory) GetLink() string
func (*Artifactory) GetPath ¶ added in v3.0.3
func (x *Artifactory) GetPath() string
func (*Artifactory) GetRepo ¶ added in v3.0.3
func (x *Artifactory) GetRepo() string
func (*Artifactory) GetTimestamp ¶ added in v3.0.3
func (x *Artifactory) GetTimestamp() string
func (*Artifactory) GetUsername ¶ added in v3.0.3
func (x *Artifactory) GetUsername() string
func (*Artifactory) ProtoMessage ¶ added in v3.0.3
func (*Artifactory) ProtoMessage()
func (*Artifactory) ProtoReflect ¶ added in v3.0.3
func (x *Artifactory) ProtoReflect() protoreflect.Message
func (*Artifactory) Reset ¶ added in v3.0.3
func (x *Artifactory) Reset()
func (*Artifactory) String ¶ added in v3.0.3
func (x *Artifactory) String() string
func (*Artifactory) Validate ¶ added in v3.0.3
func (m *Artifactory) Validate() error
Validate checks the field values on Artifactory 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 (*Artifactory) ValidateAll ¶ added in v3.0.3
func (m *Artifactory) ValidateAll() error
ValidateAll checks the field values on Artifactory 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 ArtifactoryMultiError, or nil if none found.
type ArtifactoryMultiError ¶ added in v3.0.3
type ArtifactoryMultiError []error
ArtifactoryMultiError is an error wrapping multiple validation errors returned by Artifactory.ValidateAll() if the designated constraints aren't met.
func (ArtifactoryMultiError) AllErrors ¶ added in v3.0.3
func (m ArtifactoryMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ArtifactoryMultiError) Error ¶ added in v3.0.3
func (m ArtifactoryMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ArtifactoryValidationError ¶ added in v3.0.3
type ArtifactoryValidationError struct {
// contains filtered or unexported fields
}
ArtifactoryValidationError is the validation error returned by Artifactory.Validate if the designated constraints aren't met.
func (ArtifactoryValidationError) Cause ¶ added in v3.0.3
func (e ArtifactoryValidationError) Cause() error
Cause function returns cause value.
func (ArtifactoryValidationError) Error ¶ added in v3.0.3
func (e ArtifactoryValidationError) Error() string
Error satisfies the builtin error interface
func (ArtifactoryValidationError) ErrorName ¶ added in v3.0.3
func (e ArtifactoryValidationError) ErrorName() string
ErrorName returns error name.
func (ArtifactoryValidationError) Field ¶ added in v3.0.3
func (e ArtifactoryValidationError) Field() string
Field function returns field value.
func (ArtifactoryValidationError) Key ¶ added in v3.0.3
func (e ArtifactoryValidationError) Key() bool
Key function returns key value.
func (ArtifactoryValidationError) Reason ¶ added in v3.0.3
func (e ArtifactoryValidationError) Reason() string
Reason function returns reason value.
type Azure ¶
type Azure struct { Container string `protobuf:"bytes,1,opt,name=container,proto3" json:"container,omitempty"` File string `protobuf:"bytes,2,opt,name=file,proto3" json:"file,omitempty"` Uploaded string `protobuf:"bytes,3,opt,name=uploaded,proto3" json:"uploaded,omitempty"` Link string `protobuf:"bytes,4,opt,name=link,proto3" json:"link,omitempty"` Email string `protobuf:"bytes,5,opt,name=email,proto3" json:"email,omitempty"` // contains filtered or unexported fields }
func (*Azure) Descriptor
deprecated
func (*Azure) GetContainer ¶
func (*Azure) GetUploaded ¶
func (*Azure) ProtoMessage ¶
func (*Azure) ProtoMessage()
func (*Azure) ProtoReflect ¶
func (x *Azure) ProtoReflect() protoreflect.Message
func (*Azure) Validate ¶
Validate checks the field values on Azure 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 (*Azure) ValidateAll ¶
ValidateAll checks the field values on Azure 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 AzureMultiError, or nil if none found.
type AzureMultiError ¶
type AzureMultiError []error
AzureMultiError is an error wrapping multiple validation errors returned by Azure.ValidateAll() if the designated constraints aren't met.
func (AzureMultiError) AllErrors ¶
func (m AzureMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AzureMultiError) Error ¶
func (m AzureMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AzureValidationError ¶
type AzureValidationError struct {
// contains filtered or unexported fields
}
AzureValidationError is the validation error returned by Azure.Validate if the designated constraints aren't met.
func (AzureValidationError) Cause ¶
func (e AzureValidationError) Cause() error
Cause function returns cause value.
func (AzureValidationError) Error ¶
func (e AzureValidationError) Error() string
Error satisfies the builtin error interface
func (AzureValidationError) ErrorName ¶
func (e AzureValidationError) ErrorName() string
ErrorName returns error name.
func (AzureValidationError) Field ¶
func (e AzureValidationError) Field() string
Field function returns field value.
func (AzureValidationError) Key ¶
func (e AzureValidationError) Key() bool
Key function returns key value.
func (AzureValidationError) Reason ¶
func (e AzureValidationError) Reason() string
Reason function returns reason value.
type Bitbucket ¶
type Bitbucket struct { File string `protobuf:"bytes,1,opt,name=file,proto3" json:"file,omitempty"` Repository string `protobuf:"bytes,2,opt,name=repository,proto3" json:"repository,omitempty"` Workspace string `protobuf:"bytes,3,opt,name=workspace,proto3" json:"workspace,omitempty"` SnippetId string `protobuf:"bytes,4,opt,name=snippet_id,json=snippetId,proto3" json:"snippet_id,omitempty"` Title string `protobuf:"bytes,5,opt,name=title,proto3" json:"title,omitempty"` Commit string `protobuf:"bytes,6,opt,name=commit,proto3" json:"commit,omitempty"` Email string `protobuf:"bytes,7,opt,name=email,proto3" json:"email,omitempty"` Link string `protobuf:"bytes,8,opt,name=link,proto3" json:"link,omitempty"` Timestamp string `protobuf:"bytes,9,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Line int64 `protobuf:"varint,10,opt,name=line,proto3" json:"line,omitempty"` // contains filtered or unexported fields }
func (*Bitbucket) Descriptor
deprecated
func (*Bitbucket) GetRepository ¶
func (*Bitbucket) GetSnippetId ¶
func (*Bitbucket) GetTimestamp ¶
func (*Bitbucket) GetWorkspace ¶
func (*Bitbucket) ProtoMessage ¶
func (*Bitbucket) ProtoMessage()
func (*Bitbucket) ProtoReflect ¶
func (x *Bitbucket) ProtoReflect() protoreflect.Message
func (*Bitbucket) Validate ¶
Validate checks the field values on Bitbucket 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 (*Bitbucket) ValidateAll ¶
ValidateAll checks the field values on Bitbucket 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 BitbucketMultiError, or nil if none found.
type BitbucketMultiError ¶
type BitbucketMultiError []error
BitbucketMultiError is an error wrapping multiple validation errors returned by Bitbucket.ValidateAll() if the designated constraints aren't met.
func (BitbucketMultiError) AllErrors ¶
func (m BitbucketMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (BitbucketMultiError) Error ¶
func (m BitbucketMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type BitbucketValidationError ¶
type BitbucketValidationError struct {
// contains filtered or unexported fields
}
BitbucketValidationError is the validation error returned by Bitbucket.Validate if the designated constraints aren't met.
func (BitbucketValidationError) Cause ¶
func (e BitbucketValidationError) Cause() error
Cause function returns cause value.
func (BitbucketValidationError) Error ¶
func (e BitbucketValidationError) Error() string
Error satisfies the builtin error interface
func (BitbucketValidationError) ErrorName ¶
func (e BitbucketValidationError) ErrorName() string
ErrorName returns error name.
func (BitbucketValidationError) Field ¶
func (e BitbucketValidationError) Field() string
Field function returns field value.
func (BitbucketValidationError) Key ¶
func (e BitbucketValidationError) Key() bool
Key function returns key value.
func (BitbucketValidationError) Reason ¶
func (e BitbucketValidationError) Reason() string
Reason function returns reason value.
type Buildkite ¶
type Buildkite struct { Org string `protobuf:"bytes,1,opt,name=org,proto3" json:"org,omitempty"` Pipeline string `protobuf:"bytes,2,opt,name=pipeline,proto3" json:"pipeline,omitempty"` Link string `protobuf:"bytes,3,opt,name=link,proto3" json:"link,omitempty"` Email string `protobuf:"bytes,4,opt,name=email,proto3" json:"email,omitempty"` BuildNumber int64 `protobuf:"varint,5,opt,name=build_number,json=buildNumber,proto3" json:"build_number,omitempty"` Timestamp string `protobuf:"bytes,6,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // contains filtered or unexported fields }
func (*Buildkite) Descriptor
deprecated
func (*Buildkite) GetBuildNumber ¶
func (*Buildkite) GetPipeline ¶
func (*Buildkite) GetTimestamp ¶
func (*Buildkite) ProtoMessage ¶
func (*Buildkite) ProtoMessage()
func (*Buildkite) ProtoReflect ¶
func (x *Buildkite) ProtoReflect() protoreflect.Message
func (*Buildkite) Validate ¶
Validate checks the field values on Buildkite 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 (*Buildkite) ValidateAll ¶
ValidateAll checks the field values on Buildkite 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 BuildkiteMultiError, or nil if none found.
type BuildkiteMultiError ¶
type BuildkiteMultiError []error
BuildkiteMultiError is an error wrapping multiple validation errors returned by Buildkite.ValidateAll() if the designated constraints aren't met.
func (BuildkiteMultiError) AllErrors ¶
func (m BuildkiteMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (BuildkiteMultiError) Error ¶
func (m BuildkiteMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type BuildkiteValidationError ¶
type BuildkiteValidationError struct {
// contains filtered or unexported fields
}
BuildkiteValidationError is the validation error returned by Buildkite.Validate if the designated constraints aren't met.
func (BuildkiteValidationError) Cause ¶
func (e BuildkiteValidationError) Cause() error
Cause function returns cause value.
func (BuildkiteValidationError) Error ¶
func (e BuildkiteValidationError) Error() string
Error satisfies the builtin error interface
func (BuildkiteValidationError) ErrorName ¶
func (e BuildkiteValidationError) ErrorName() string
ErrorName returns error name.
func (BuildkiteValidationError) Field ¶
func (e BuildkiteValidationError) Field() string
Field function returns field value.
func (BuildkiteValidationError) Key ¶
func (e BuildkiteValidationError) Key() bool
Key function returns key value.
func (BuildkiteValidationError) Reason ¶
func (e BuildkiteValidationError) Reason() string
Reason function returns reason value.
type CircleCI ¶
type CircleCI struct { VcsType string `protobuf:"bytes,1,opt,name=vcs_type,json=vcsType,proto3" json:"vcs_type,omitempty"` Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"` Repository string `protobuf:"bytes,3,opt,name=repository,proto3" json:"repository,omitempty"` BuildNumber int64 `protobuf:"varint,4,opt,name=build_number,json=buildNumber,proto3" json:"build_number,omitempty"` BuildStep string `protobuf:"bytes,5,opt,name=build_step,json=buildStep,proto3" json:"build_step,omitempty"` Link string `protobuf:"bytes,6,opt,name=link,proto3" json:"link,omitempty"` Email string `protobuf:"bytes,7,opt,name=email,proto3" json:"email,omitempty"` // contains filtered or unexported fields }
func (*CircleCI) Descriptor
deprecated
func (*CircleCI) GetBuildNumber ¶
func (*CircleCI) GetBuildStep ¶
func (*CircleCI) GetRepository ¶
func (*CircleCI) GetUsername ¶
func (*CircleCI) GetVcsType ¶
func (*CircleCI) ProtoMessage ¶
func (*CircleCI) ProtoMessage()
func (*CircleCI) ProtoReflect ¶
func (x *CircleCI) ProtoReflect() protoreflect.Message
func (*CircleCI) Validate ¶
Validate checks the field values on CircleCI 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 (*CircleCI) ValidateAll ¶
ValidateAll checks the field values on CircleCI 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 CircleCIMultiError, or nil if none found.
type CircleCIMultiError ¶
type CircleCIMultiError []error
CircleCIMultiError is an error wrapping multiple validation errors returned by CircleCI.ValidateAll() if the designated constraints aren't met.
func (CircleCIMultiError) AllErrors ¶
func (m CircleCIMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CircleCIMultiError) Error ¶
func (m CircleCIMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CircleCIValidationError ¶
type CircleCIValidationError struct {
// contains filtered or unexported fields
}
CircleCIValidationError is the validation error returned by CircleCI.Validate if the designated constraints aren't met.
func (CircleCIValidationError) Cause ¶
func (e CircleCIValidationError) Cause() error
Cause function returns cause value.
func (CircleCIValidationError) Error ¶
func (e CircleCIValidationError) Error() string
Error satisfies the builtin error interface
func (CircleCIValidationError) ErrorName ¶
func (e CircleCIValidationError) ErrorName() string
ErrorName returns error name.
func (CircleCIValidationError) Field ¶
func (e CircleCIValidationError) Field() string
Field function returns field value.
func (CircleCIValidationError) Key ¶
func (e CircleCIValidationError) Key() bool
Key function returns key value.
func (CircleCIValidationError) Reason ¶
func (e CircleCIValidationError) Reason() string
Reason function returns reason value.
type Confluence ¶
type Confluence struct { Page string `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"` Space string `protobuf:"bytes,2,opt,name=space,proto3" json:"space,omitempty"` Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` Link string `protobuf:"bytes,4,opt,name=link,proto3" json:"link,omitempty"` Email string `protobuf:"bytes,5,opt,name=email,proto3" json:"email,omitempty"` Timestamp string `protobuf:"bytes,6,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Location string `protobuf:"bytes,7,opt,name=location,proto3" json:"location,omitempty"` File string `protobuf:"bytes,8,opt,name=file,proto3" json:"file,omitempty"` // contains filtered or unexported fields }
func (*Confluence) Descriptor
deprecated
func (*Confluence) Descriptor() ([]byte, []int)
Deprecated: Use Confluence.ProtoReflect.Descriptor instead.
func (*Confluence) GetEmail ¶
func (x *Confluence) GetEmail() string
func (*Confluence) GetFile ¶ added in v3.26.0
func (x *Confluence) GetFile() string
func (*Confluence) GetLink ¶
func (x *Confluence) GetLink() string
func (*Confluence) GetLocation ¶ added in v3.10.4
func (x *Confluence) GetLocation() string
func (*Confluence) GetPage ¶
func (x *Confluence) GetPage() string
func (*Confluence) GetSpace ¶
func (x *Confluence) GetSpace() string
func (*Confluence) GetTimestamp ¶
func (x *Confluence) GetTimestamp() string
func (*Confluence) GetVersion ¶
func (x *Confluence) GetVersion() string
func (*Confluence) ProtoMessage ¶
func (*Confluence) ProtoMessage()
func (*Confluence) ProtoReflect ¶
func (x *Confluence) ProtoReflect() protoreflect.Message
func (*Confluence) Reset ¶
func (x *Confluence) Reset()
func (*Confluence) String ¶
func (x *Confluence) String() string
func (*Confluence) Validate ¶
func (m *Confluence) Validate() error
Validate checks the field values on Confluence 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 (*Confluence) ValidateAll ¶
func (m *Confluence) ValidateAll() error
ValidateAll checks the field values on Confluence 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 ConfluenceMultiError, or nil if none found.
type ConfluenceMultiError ¶
type ConfluenceMultiError []error
ConfluenceMultiError is an error wrapping multiple validation errors returned by Confluence.ValidateAll() if the designated constraints aren't met.
func (ConfluenceMultiError) AllErrors ¶
func (m ConfluenceMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ConfluenceMultiError) Error ¶
func (m ConfluenceMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ConfluenceValidationError ¶
type ConfluenceValidationError struct {
// contains filtered or unexported fields
}
ConfluenceValidationError is the validation error returned by Confluence.Validate if the designated constraints aren't met.
func (ConfluenceValidationError) Cause ¶
func (e ConfluenceValidationError) Cause() error
Cause function returns cause value.
func (ConfluenceValidationError) Error ¶
func (e ConfluenceValidationError) Error() string
Error satisfies the builtin error interface
func (ConfluenceValidationError) ErrorName ¶
func (e ConfluenceValidationError) ErrorName() string
ErrorName returns error name.
func (ConfluenceValidationError) Field ¶
func (e ConfluenceValidationError) Field() string
Field function returns field value.
func (ConfluenceValidationError) Key ¶
func (e ConfluenceValidationError) Key() bool
Key function returns key value.
func (ConfluenceValidationError) Reason ¶
func (e ConfluenceValidationError) Reason() string
Reason function returns reason value.
type Dockerhub ¶
type Dockerhub struct { File string `protobuf:"bytes,1,opt,name=file,proto3" json:"file,omitempty"` Image string `protobuf:"bytes,2,opt,name=image,proto3" json:"image,omitempty"` Layer string `protobuf:"bytes,3,opt,name=layer,proto3" json:"layer,omitempty"` Tag string `protobuf:"bytes,4,opt,name=tag,proto3" json:"tag,omitempty"` Link string `protobuf:"bytes,5,opt,name=link,proto3" json:"link,omitempty"` Email string `protobuf:"bytes,6,opt,name=email,proto3" json:"email,omitempty"` // contains filtered or unexported fields }
func (*Dockerhub) Descriptor
deprecated
func (*Dockerhub) ProtoMessage ¶
func (*Dockerhub) ProtoMessage()
func (*Dockerhub) ProtoReflect ¶
func (x *Dockerhub) ProtoReflect() protoreflect.Message
func (*Dockerhub) Validate ¶
Validate checks the field values on Dockerhub 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 (*Dockerhub) ValidateAll ¶
ValidateAll checks the field values on Dockerhub 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 DockerhubMultiError, or nil if none found.
type DockerhubMultiError ¶
type DockerhubMultiError []error
DockerhubMultiError is an error wrapping multiple validation errors returned by Dockerhub.ValidateAll() if the designated constraints aren't met.
func (DockerhubMultiError) AllErrors ¶
func (m DockerhubMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DockerhubMultiError) Error ¶
func (m DockerhubMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DockerhubValidationError ¶
type DockerhubValidationError struct {
// contains filtered or unexported fields
}
DockerhubValidationError is the validation error returned by Dockerhub.Validate if the designated constraints aren't met.
func (DockerhubValidationError) Cause ¶
func (e DockerhubValidationError) Cause() error
Cause function returns cause value.
func (DockerhubValidationError) Error ¶
func (e DockerhubValidationError) Error() string
Error satisfies the builtin error interface
func (DockerhubValidationError) ErrorName ¶
func (e DockerhubValidationError) ErrorName() string
ErrorName returns error name.
func (DockerhubValidationError) Field ¶
func (e DockerhubValidationError) Field() string
Field function returns field value.
func (DockerhubValidationError) Key ¶
func (e DockerhubValidationError) Key() bool
Key function returns key value.
func (DockerhubValidationError) Reason ¶
func (e DockerhubValidationError) Reason() string
Reason function returns reason value.
type ECR ¶
type ECR struct { File string `protobuf:"bytes,1,opt,name=file,proto3" json:"file,omitempty"` Layer string `protobuf:"bytes,2,opt,name=layer,proto3" json:"layer,omitempty"` Image string `protobuf:"bytes,3,opt,name=image,proto3" json:"image,omitempty"` Registry string `protobuf:"bytes,4,opt,name=registry,proto3" json:"registry,omitempty"` Region string `protobuf:"bytes,5,opt,name=region,proto3" json:"region,omitempty"` Link string `protobuf:"bytes,6,opt,name=link,proto3" json:"link,omitempty"` Email string `protobuf:"bytes,7,opt,name=email,proto3" json:"email,omitempty"` // contains filtered or unexported fields }
func (*ECR) Descriptor
deprecated
func (*ECR) GetRegistry ¶
func (*ECR) ProtoMessage ¶
func (*ECR) ProtoMessage()
func (*ECR) ProtoReflect ¶
func (x *ECR) ProtoReflect() protoreflect.Message
func (*ECR) Validate ¶
Validate checks the field values on ECR 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 (*ECR) ValidateAll ¶
ValidateAll checks the field values on ECR 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 ECRMultiError, or nil if none found.
type ECRMultiError ¶
type ECRMultiError []error
ECRMultiError is an error wrapping multiple validation errors returned by ECR.ValidateAll() if the designated constraints aren't met.
func (ECRMultiError) AllErrors ¶
func (m ECRMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ECRMultiError) Error ¶
func (m ECRMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ECRValidationError ¶
type ECRValidationError struct {
// contains filtered or unexported fields
}
ECRValidationError is the validation error returned by ECR.Validate if the designated constraints aren't met.
func (ECRValidationError) Cause ¶
func (e ECRValidationError) Cause() error
Cause function returns cause value.
func (ECRValidationError) Error ¶
func (e ECRValidationError) Error() string
Error satisfies the builtin error interface
func (ECRValidationError) ErrorName ¶
func (e ECRValidationError) ErrorName() string
ErrorName returns error name.
func (ECRValidationError) Field ¶
func (e ECRValidationError) Field() string
Field function returns field value.
func (ECRValidationError) Key ¶
func (e ECRValidationError) Key() bool
Key function returns key value.
func (ECRValidationError) Reason ¶
func (e ECRValidationError) Reason() string
Reason function returns reason value.
type Filesystem ¶
type Filesystem struct { File string `protobuf:"bytes,1,opt,name=file,proto3" json:"file,omitempty"` Link string `protobuf:"bytes,2,opt,name=link,proto3" json:"link,omitempty"` Email string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"` // contains filtered or unexported fields }
func (*Filesystem) Descriptor
deprecated
func (*Filesystem) Descriptor() ([]byte, []int)
Deprecated: Use Filesystem.ProtoReflect.Descriptor instead.
func (*Filesystem) GetEmail ¶
func (x *Filesystem) GetEmail() string
func (*Filesystem) GetFile ¶
func (x *Filesystem) GetFile() string
func (*Filesystem) GetLink ¶
func (x *Filesystem) GetLink() string
func (*Filesystem) ProtoMessage ¶
func (*Filesystem) ProtoMessage()
func (*Filesystem) ProtoReflect ¶
func (x *Filesystem) ProtoReflect() protoreflect.Message
func (*Filesystem) Reset ¶
func (x *Filesystem) Reset()
func (*Filesystem) String ¶
func (x *Filesystem) String() string
func (*Filesystem) Validate ¶
func (m *Filesystem) Validate() error
Validate checks the field values on Filesystem 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 (*Filesystem) ValidateAll ¶
func (m *Filesystem) ValidateAll() error
ValidateAll checks the field values on Filesystem 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 FilesystemMultiError, or nil if none found.
type FilesystemMultiError ¶
type FilesystemMultiError []error
FilesystemMultiError is an error wrapping multiple validation errors returned by Filesystem.ValidateAll() if the designated constraints aren't met.
func (FilesystemMultiError) AllErrors ¶
func (m FilesystemMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FilesystemMultiError) Error ¶
func (m FilesystemMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FilesystemValidationError ¶
type FilesystemValidationError struct {
// contains filtered or unexported fields
}
FilesystemValidationError is the validation error returned by Filesystem.Validate if the designated constraints aren't met.
func (FilesystemValidationError) Cause ¶
func (e FilesystemValidationError) Cause() error
Cause function returns cause value.
func (FilesystemValidationError) Error ¶
func (e FilesystemValidationError) Error() string
Error satisfies the builtin error interface
func (FilesystemValidationError) ErrorName ¶
func (e FilesystemValidationError) ErrorName() string
ErrorName returns error name.
func (FilesystemValidationError) Field ¶
func (e FilesystemValidationError) Field() string
Field function returns field value.
func (FilesystemValidationError) Key ¶
func (e FilesystemValidationError) Key() bool
Key function returns key value.
func (FilesystemValidationError) Reason ¶
func (e FilesystemValidationError) Reason() string
Reason function returns reason value.
type GCS ¶
type GCS struct { Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"` Filename string `protobuf:"bytes,2,opt,name=filename,proto3" json:"filename,omitempty"` Link string `protobuf:"bytes,3,opt,name=link,proto3" json:"link,omitempty"` Email string `protobuf:"bytes,4,opt,name=email,proto3" json:"email,omitempty"` CreatedAt string `protobuf:"bytes,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt string `protobuf:"bytes,6,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` Acls []string `protobuf:"bytes,7,rep,name=acls,proto3" json:"acls,omitempty"` ContentType string `protobuf:"bytes,8,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"` // contains filtered or unexported fields }
func (*GCS) Descriptor
deprecated
func (*GCS) GetContentType ¶ added in v3.29.0
func (*GCS) GetCreatedAt ¶ added in v3.29.0
func (*GCS) GetFilename ¶ added in v3.29.0
func (*GCS) GetUpdatedAt ¶ added in v3.29.0
func (*GCS) ProtoMessage ¶
func (*GCS) ProtoMessage()
func (*GCS) ProtoReflect ¶
func (x *GCS) ProtoReflect() protoreflect.Message
func (*GCS) Validate ¶
Validate checks the field values on GCS 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 (*GCS) ValidateAll ¶
ValidateAll checks the field values on GCS 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 GCSMultiError, or nil if none found.
type GCSMultiError ¶
type GCSMultiError []error
GCSMultiError is an error wrapping multiple validation errors returned by GCS.ValidateAll() if the designated constraints aren't met.
func (GCSMultiError) AllErrors ¶
func (m GCSMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GCSMultiError) Error ¶
func (m GCSMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GCSValidationError ¶
type GCSValidationError struct {
// contains filtered or unexported fields
}
GCSValidationError is the validation error returned by GCS.Validate if the designated constraints aren't met.
func (GCSValidationError) Cause ¶
func (e GCSValidationError) Cause() error
Cause function returns cause value.
func (GCSValidationError) Error ¶
func (e GCSValidationError) Error() string
Error satisfies the builtin error interface
func (GCSValidationError) ErrorName ¶
func (e GCSValidationError) ErrorName() string
ErrorName returns error name.
func (GCSValidationError) Field ¶
func (e GCSValidationError) Field() string
Field function returns field value.
func (GCSValidationError) Key ¶
func (e GCSValidationError) Key() bool
Key function returns key value.
func (GCSValidationError) Reason ¶
func (e GCSValidationError) Reason() string
Reason function returns reason value.
type Gerrit ¶
type Gerrit struct { Commit string `protobuf:"bytes,1,opt,name=commit,proto3" json:"commit,omitempty"` File string `protobuf:"bytes,2,opt,name=file,proto3" json:"file,omitempty"` Email string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"` Project string `protobuf:"bytes,4,opt,name=project,proto3" json:"project,omitempty"` // projects are what Gerrit calls repositories Timestamp string `protobuf:"bytes,5,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Line int64 `protobuf:"varint,6,opt,name=line,proto3" json:"line,omitempty"` // contains filtered or unexported fields }
func (*Gerrit) Descriptor
deprecated
func (*Gerrit) GetProject ¶
func (*Gerrit) GetTimestamp ¶
func (*Gerrit) ProtoMessage ¶
func (*Gerrit) ProtoMessage()
func (*Gerrit) ProtoReflect ¶
func (x *Gerrit) ProtoReflect() protoreflect.Message
func (*Gerrit) Validate ¶
Validate checks the field values on Gerrit 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 (*Gerrit) ValidateAll ¶
ValidateAll checks the field values on Gerrit 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 GerritMultiError, or nil if none found.
type GerritMultiError ¶
type GerritMultiError []error
GerritMultiError is an error wrapping multiple validation errors returned by Gerrit.ValidateAll() if the designated constraints aren't met.
func (GerritMultiError) AllErrors ¶
func (m GerritMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GerritMultiError) Error ¶
func (m GerritMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GerritValidationError ¶
type GerritValidationError struct {
// contains filtered or unexported fields
}
GerritValidationError is the validation error returned by Gerrit.Validate if the designated constraints aren't met.
func (GerritValidationError) Cause ¶
func (e GerritValidationError) Cause() error
Cause function returns cause value.
func (GerritValidationError) Error ¶
func (e GerritValidationError) Error() string
Error satisfies the builtin error interface
func (GerritValidationError) ErrorName ¶
func (e GerritValidationError) ErrorName() string
ErrorName returns error name.
func (GerritValidationError) Field ¶
func (e GerritValidationError) Field() string
Field function returns field value.
func (GerritValidationError) Key ¶
func (e GerritValidationError) Key() bool
Key function returns key value.
func (GerritValidationError) Reason ¶
func (e GerritValidationError) Reason() string
Reason function returns reason value.
type Git ¶
type Git struct { Commit string `protobuf:"bytes,1,opt,name=commit,proto3" json:"commit,omitempty"` File string `protobuf:"bytes,2,opt,name=file,proto3" json:"file,omitempty"` Email string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"` Repository string `protobuf:"bytes,4,opt,name=repository,proto3" json:"repository,omitempty"` Timestamp string `protobuf:"bytes,5,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Line int64 `protobuf:"varint,6,opt,name=line,proto3" json:"line,omitempty"` // contains filtered or unexported fields }
func (*Git) Descriptor
deprecated
func (*Git) GetRepository ¶
func (*Git) GetTimestamp ¶
func (*Git) ProtoMessage ¶
func (*Git) ProtoMessage()
func (*Git) ProtoReflect ¶
func (x *Git) ProtoReflect() protoreflect.Message
func (*Git) Validate ¶
Validate checks the field values on Git 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 (*Git) ValidateAll ¶
ValidateAll checks the field values on Git 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 GitMultiError, or nil if none found.
type GitMultiError ¶
type GitMultiError []error
GitMultiError is an error wrapping multiple validation errors returned by Git.ValidateAll() if the designated constraints aren't met.
func (GitMultiError) AllErrors ¶
func (m GitMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GitMultiError) Error ¶
func (m GitMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GitValidationError ¶
type GitValidationError struct {
// contains filtered or unexported fields
}
GitValidationError is the validation error returned by Git.Validate if the designated constraints aren't met.
func (GitValidationError) Cause ¶
func (e GitValidationError) Cause() error
Cause function returns cause value.
func (GitValidationError) Error ¶
func (e GitValidationError) Error() string
Error satisfies the builtin error interface
func (GitValidationError) ErrorName ¶
func (e GitValidationError) ErrorName() string
ErrorName returns error name.
func (GitValidationError) Field ¶
func (e GitValidationError) Field() string
Field function returns field value.
func (GitValidationError) Key ¶
func (e GitValidationError) Key() bool
Key function returns key value.
func (GitValidationError) Reason ¶
func (e GitValidationError) Reason() string
Reason function returns reason value.
type Github ¶
type Github struct { Link string `protobuf:"bytes,1,opt,name=link,proto3" json:"link,omitempty"` Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"` Repository string `protobuf:"bytes,3,opt,name=repository,proto3" json:"repository,omitempty"` Commit string `protobuf:"bytes,4,opt,name=commit,proto3" json:"commit,omitempty"` Email string `protobuf:"bytes,5,opt,name=email,proto3" json:"email,omitempty"` File string `protobuf:"bytes,6,opt,name=file,proto3" json:"file,omitempty"` Timestamp string `protobuf:"bytes,7,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Line int64 `protobuf:"varint,8,opt,name=line,proto3" json:"line,omitempty"` Visibility Visibility `protobuf:"varint,9,opt,name=visibility,proto3,enum=source_metadata.Visibility" json:"visibility,omitempty"` // contains filtered or unexported fields }
func (*Github) Descriptor
deprecated
func (*Github) GetRepository ¶
func (*Github) GetTimestamp ¶
func (*Github) GetUsername ¶
func (*Github) GetVisibility ¶ added in v3.14.0
func (x *Github) GetVisibility() Visibility
func (*Github) ProtoMessage ¶
func (*Github) ProtoMessage()
func (*Github) ProtoReflect ¶
func (x *Github) ProtoReflect() protoreflect.Message
func (*Github) Validate ¶
Validate checks the field values on Github 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 (*Github) ValidateAll ¶
ValidateAll checks the field values on Github 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 GithubMultiError, or nil if none found.
type GithubMultiError ¶
type GithubMultiError []error
GithubMultiError is an error wrapping multiple validation errors returned by Github.ValidateAll() if the designated constraints aren't met.
func (GithubMultiError) AllErrors ¶
func (m GithubMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GithubMultiError) Error ¶
func (m GithubMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GithubValidationError ¶
type GithubValidationError struct {
// contains filtered or unexported fields
}
GithubValidationError is the validation error returned by Github.Validate if the designated constraints aren't met.
func (GithubValidationError) Cause ¶
func (e GithubValidationError) Cause() error
Cause function returns cause value.
func (GithubValidationError) Error ¶
func (e GithubValidationError) Error() string
Error satisfies the builtin error interface
func (GithubValidationError) ErrorName ¶
func (e GithubValidationError) ErrorName() string
ErrorName returns error name.
func (GithubValidationError) Field ¶
func (e GithubValidationError) Field() string
Field function returns field value.
func (GithubValidationError) Key ¶
func (e GithubValidationError) Key() bool
Key function returns key value.
func (GithubValidationError) Reason ¶
func (e GithubValidationError) Reason() string
Reason function returns reason value.
type Gitlab ¶
type Gitlab struct { Commit string `protobuf:"bytes,1,opt,name=commit,proto3" json:"commit,omitempty"` File string `protobuf:"bytes,2,opt,name=file,proto3" json:"file,omitempty"` Link string `protobuf:"bytes,3,opt,name=link,proto3" json:"link,omitempty"` Email string `protobuf:"bytes,4,opt,name=email,proto3" json:"email,omitempty"` Repository string `protobuf:"bytes,5,opt,name=repository,proto3" json:"repository,omitempty"` Timestamp string `protobuf:"bytes,6,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Line int64 `protobuf:"varint,7,opt,name=line,proto3" json:"line,omitempty"` // contains filtered or unexported fields }
func (*Gitlab) Descriptor
deprecated
func (*Gitlab) GetRepository ¶
func (*Gitlab) GetTimestamp ¶
func (*Gitlab) ProtoMessage ¶
func (*Gitlab) ProtoMessage()
func (*Gitlab) ProtoReflect ¶
func (x *Gitlab) ProtoReflect() protoreflect.Message
func (*Gitlab) Validate ¶
Validate checks the field values on Gitlab 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 (*Gitlab) ValidateAll ¶
ValidateAll checks the field values on Gitlab 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 GitlabMultiError, or nil if none found.
type GitlabMultiError ¶
type GitlabMultiError []error
GitlabMultiError is an error wrapping multiple validation errors returned by Gitlab.ValidateAll() if the designated constraints aren't met.
func (GitlabMultiError) AllErrors ¶
func (m GitlabMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GitlabMultiError) Error ¶
func (m GitlabMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GitlabValidationError ¶
type GitlabValidationError struct {
// contains filtered or unexported fields
}
GitlabValidationError is the validation error returned by Gitlab.Validate if the designated constraints aren't met.
func (GitlabValidationError) Cause ¶
func (e GitlabValidationError) Cause() error
Cause function returns cause value.
func (GitlabValidationError) Error ¶
func (e GitlabValidationError) Error() string
Error satisfies the builtin error interface
func (GitlabValidationError) ErrorName ¶
func (e GitlabValidationError) ErrorName() string
ErrorName returns error name.
func (GitlabValidationError) Field ¶
func (e GitlabValidationError) Field() string
Field function returns field value.
func (GitlabValidationError) Key ¶
func (e GitlabValidationError) Key() bool
Key function returns key value.
func (GitlabValidationError) Reason ¶
func (e GitlabValidationError) Reason() string
Reason function returns reason value.
type GoogleDrive ¶ added in v3.28.0
type GoogleDrive struct { File string `protobuf:"bytes,1,opt,name=file,proto3" json:"file,omitempty"` Link string `protobuf:"bytes,2,opt,name=link,proto3" json:"link,omitempty"` Email string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"` Timestamp string `protobuf:"bytes,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"` LastModifiedBy string `protobuf:"bytes,6,opt,name=last_modified_by,json=lastModifiedBy,proto3" json:"last_modified_by,omitempty"` // contains filtered or unexported fields }
func (*GoogleDrive) Descriptor
deprecated
added in
v3.28.0
func (*GoogleDrive) Descriptor() ([]byte, []int)
Deprecated: Use GoogleDrive.ProtoReflect.Descriptor instead.
func (*GoogleDrive) GetEmail ¶ added in v3.28.0
func (x *GoogleDrive) GetEmail() string
func (*GoogleDrive) GetFile ¶ added in v3.28.0
func (x *GoogleDrive) GetFile() string
func (*GoogleDrive) GetLastModifiedBy ¶ added in v3.28.3
func (x *GoogleDrive) GetLastModifiedBy() string
func (*GoogleDrive) GetLink ¶ added in v3.28.0
func (x *GoogleDrive) GetLink() string
func (*GoogleDrive) GetShared ¶ added in v3.28.3
func (x *GoogleDrive) GetShared() bool
func (*GoogleDrive) GetTimestamp ¶ added in v3.28.0
func (x *GoogleDrive) GetTimestamp() string
func (*GoogleDrive) ProtoMessage ¶ added in v3.28.0
func (*GoogleDrive) ProtoMessage()
func (*GoogleDrive) ProtoReflect ¶ added in v3.28.0
func (x *GoogleDrive) ProtoReflect() protoreflect.Message
func (*GoogleDrive) Reset ¶ added in v3.28.0
func (x *GoogleDrive) Reset()
func (*GoogleDrive) String ¶ added in v3.28.0
func (x *GoogleDrive) String() string
func (*GoogleDrive) Validate ¶ added in v3.28.0
func (m *GoogleDrive) Validate() error
Validate checks the field values on GoogleDrive 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 (*GoogleDrive) ValidateAll ¶ added in v3.28.0
func (m *GoogleDrive) ValidateAll() error
ValidateAll checks the field values on GoogleDrive 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 GoogleDriveMultiError, or nil if none found.
type GoogleDriveMultiError ¶ added in v3.28.0
type GoogleDriveMultiError []error
GoogleDriveMultiError is an error wrapping multiple validation errors returned by GoogleDrive.ValidateAll() if the designated constraints aren't met.
func (GoogleDriveMultiError) AllErrors ¶ added in v3.28.0
func (m GoogleDriveMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GoogleDriveMultiError) Error ¶ added in v3.28.0
func (m GoogleDriveMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GoogleDriveValidationError ¶ added in v3.28.0
type GoogleDriveValidationError struct {
// contains filtered or unexported fields
}
GoogleDriveValidationError is the validation error returned by GoogleDrive.Validate if the designated constraints aren't met.
func (GoogleDriveValidationError) Cause ¶ added in v3.28.0
func (e GoogleDriveValidationError) Cause() error
Cause function returns cause value.
func (GoogleDriveValidationError) Error ¶ added in v3.28.0
func (e GoogleDriveValidationError) Error() string
Error satisfies the builtin error interface
func (GoogleDriveValidationError) ErrorName ¶ added in v3.28.0
func (e GoogleDriveValidationError) ErrorName() string
ErrorName returns error name.
func (GoogleDriveValidationError) Field ¶ added in v3.28.0
func (e GoogleDriveValidationError) Field() string
Field function returns field value.
func (GoogleDriveValidationError) Key ¶ added in v3.28.0
func (e GoogleDriveValidationError) Key() bool
Key function returns key value.
func (GoogleDriveValidationError) Reason ¶ added in v3.28.0
func (e GoogleDriveValidationError) Reason() string
Reason function returns reason value.
type Jenkins ¶
type Jenkins struct { ProjectName string `protobuf:"bytes,1,opt,name=project_name,json=projectName,proto3" json:"project_name,omitempty"` BuildNumber int64 `protobuf:"varint,2,opt,name=build_number,json=buildNumber,proto3" json:"build_number,omitempty"` Link string `protobuf:"bytes,3,opt,name=link,proto3" json:"link,omitempty"` Timestamp string `protobuf:"bytes,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // contains filtered or unexported fields }
func (*Jenkins) Descriptor
deprecated
func (*Jenkins) GetBuildNumber ¶
func (*Jenkins) GetProjectName ¶
func (*Jenkins) GetTimestamp ¶
func (*Jenkins) ProtoMessage ¶
func (*Jenkins) ProtoMessage()
func (*Jenkins) ProtoReflect ¶
func (x *Jenkins) ProtoReflect() protoreflect.Message
func (*Jenkins) Validate ¶
Validate checks the field values on Jenkins 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 (*Jenkins) ValidateAll ¶
ValidateAll checks the field values on Jenkins 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 JenkinsMultiError, or nil if none found.
type JenkinsMultiError ¶
type JenkinsMultiError []error
JenkinsMultiError is an error wrapping multiple validation errors returned by Jenkins.ValidateAll() if the designated constraints aren't met.
func (JenkinsMultiError) AllErrors ¶
func (m JenkinsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (JenkinsMultiError) Error ¶
func (m JenkinsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type JenkinsValidationError ¶
type JenkinsValidationError struct {
// contains filtered or unexported fields
}
JenkinsValidationError is the validation error returned by Jenkins.Validate if the designated constraints aren't met.
func (JenkinsValidationError) Cause ¶
func (e JenkinsValidationError) Cause() error
Cause function returns cause value.
func (JenkinsValidationError) Error ¶
func (e JenkinsValidationError) Error() string
Error satisfies the builtin error interface
func (JenkinsValidationError) ErrorName ¶
func (e JenkinsValidationError) ErrorName() string
ErrorName returns error name.
func (JenkinsValidationError) Field ¶
func (e JenkinsValidationError) Field() string
Field function returns field value.
func (JenkinsValidationError) Key ¶
func (e JenkinsValidationError) Key() bool
Key function returns key value.
func (JenkinsValidationError) Reason ¶
func (e JenkinsValidationError) Reason() string
Reason function returns reason value.
type Jira ¶
type Jira struct { Issue string `protobuf:"bytes,1,opt,name=issue,proto3" json:"issue,omitempty"` Author string `protobuf:"bytes,2,opt,name=author,proto3" json:"author,omitempty"` Link string `protobuf:"bytes,3,opt,name=link,proto3" json:"link,omitempty"` Location string `protobuf:"bytes,4,opt,name=location,proto3" json:"location,omitempty"` Email string `protobuf:"bytes,5,opt,name=email,proto3" json:"email,omitempty"` Timestamp string `protobuf:"bytes,6,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // contains filtered or unexported fields }
func (*Jira) Descriptor
deprecated
func (*Jira) GetLocation ¶
func (*Jira) GetTimestamp ¶
func (*Jira) ProtoMessage ¶
func (*Jira) ProtoMessage()
func (*Jira) ProtoReflect ¶
func (x *Jira) ProtoReflect() protoreflect.Message
func (*Jira) Validate ¶
Validate checks the field values on Jira 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 (*Jira) ValidateAll ¶
ValidateAll checks the field values on Jira 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 JiraMultiError, or nil if none found.
type JiraMultiError ¶
type JiraMultiError []error
JiraMultiError is an error wrapping multiple validation errors returned by Jira.ValidateAll() if the designated constraints aren't met.
func (JiraMultiError) AllErrors ¶
func (m JiraMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (JiraMultiError) Error ¶
func (m JiraMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type JiraValidationError ¶
type JiraValidationError struct {
// contains filtered or unexported fields
}
JiraValidationError is the validation error returned by Jira.Validate if the designated constraints aren't met.
func (JiraValidationError) Cause ¶
func (e JiraValidationError) Cause() error
Cause function returns cause value.
func (JiraValidationError) Error ¶
func (e JiraValidationError) Error() string
Error satisfies the builtin error interface
func (JiraValidationError) ErrorName ¶
func (e JiraValidationError) ErrorName() string
ErrorName returns error name.
func (JiraValidationError) Field ¶
func (e JiraValidationError) Field() string
Field function returns field value.
func (JiraValidationError) Key ¶
func (e JiraValidationError) Key() bool
Key function returns key value.
func (JiraValidationError) Reason ¶
func (e JiraValidationError) Reason() string
Reason function returns reason value.
type MetaData ¶
type MetaData struct { // Types that are assignable to Data: // *MetaData_Azure // *MetaData_Bitbucket // *MetaData_Circleci // *MetaData_Confluence // *MetaData_Dockerhub // *MetaData_Ecr // *MetaData_Gcs // *MetaData_Github // *MetaData_Gitlab // *MetaData_Jira // *MetaData_Npm // *MetaData_Pypi // *MetaData_S3 // *MetaData_Slack // *MetaData_Filesystem // *MetaData_Git // *MetaData_Test // *MetaData_Buildkite // *MetaData_Gerrit // *MetaData_Jenkins // *MetaData_Teams // *MetaData_Artifactory // *MetaData_Syslog // *MetaData_PublicEventMonitoring // *MetaData_Sharepoint // *MetaData_GoogleDrive Data isMetaData_Data `protobuf_oneof:"data"` // contains filtered or unexported fields }
func (*MetaData) Descriptor
deprecated
func (*MetaData) GetArtifactory ¶ added in v3.0.3
func (x *MetaData) GetArtifactory() *Artifactory
func (*MetaData) GetBitbucket ¶
func (*MetaData) GetBuildkite ¶
func (*MetaData) GetCircleci ¶
func (*MetaData) GetConfluence ¶
func (x *MetaData) GetConfluence() *Confluence
func (*MetaData) GetDockerhub ¶
func (*MetaData) GetFilesystem ¶
func (x *MetaData) GetFilesystem() *Filesystem
func (*MetaData) GetGoogleDrive ¶ added in v3.32.0
func (x *MetaData) GetGoogleDrive() *GoogleDrive
func (*MetaData) GetJenkins ¶
func (*MetaData) GetPublicEventMonitoring ¶ added in v3.6.2
func (x *MetaData) GetPublicEventMonitoring() *PublicEventMonitoring
func (*MetaData) GetSharepoint ¶ added in v3.31.5
func (x *MetaData) GetSharepoint() *SharePoint
func (*MetaData) ProtoMessage ¶
func (*MetaData) ProtoMessage()
func (*MetaData) ProtoReflect ¶
func (x *MetaData) ProtoReflect() protoreflect.Message
func (*MetaData) Validate ¶
Validate checks the field values on MetaData 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 (*MetaData) ValidateAll ¶
ValidateAll checks the field values on MetaData 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 MetaDataMultiError, or nil if none found.
type MetaDataMultiError ¶
type MetaDataMultiError []error
MetaDataMultiError is an error wrapping multiple validation errors returned by MetaData.ValidateAll() if the designated constraints aren't met.
func (MetaDataMultiError) AllErrors ¶
func (m MetaDataMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (MetaDataMultiError) Error ¶
func (m MetaDataMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type MetaDataValidationError ¶
type MetaDataValidationError struct {
// contains filtered or unexported fields
}
MetaDataValidationError is the validation error returned by MetaData.Validate if the designated constraints aren't met.
func (MetaDataValidationError) Cause ¶
func (e MetaDataValidationError) Cause() error
Cause function returns cause value.
func (MetaDataValidationError) Error ¶
func (e MetaDataValidationError) Error() string
Error satisfies the builtin error interface
func (MetaDataValidationError) ErrorName ¶
func (e MetaDataValidationError) ErrorName() string
ErrorName returns error name.
func (MetaDataValidationError) Field ¶
func (e MetaDataValidationError) Field() string
Field function returns field value.
func (MetaDataValidationError) Key ¶
func (e MetaDataValidationError) Key() bool
Key function returns key value.
func (MetaDataValidationError) Reason ¶
func (e MetaDataValidationError) Reason() string
Reason function returns reason value.
type MetaData_Artifactory ¶ added in v3.0.3
type MetaData_Artifactory struct {
Artifactory *Artifactory `protobuf:"bytes,22,opt,name=artifactory,proto3,oneof"`
}
type MetaData_Azure ¶
type MetaData_Azure struct {
Azure *Azure `protobuf:"bytes,1,opt,name=azure,proto3,oneof"`
}
type MetaData_Bitbucket ¶
type MetaData_Bitbucket struct {
Bitbucket *Bitbucket `protobuf:"bytes,2,opt,name=bitbucket,proto3,oneof"`
}
type MetaData_Buildkite ¶
type MetaData_Buildkite struct {
Buildkite *Buildkite `protobuf:"bytes,18,opt,name=buildkite,proto3,oneof"`
}
type MetaData_Circleci ¶
type MetaData_Circleci struct {
Circleci *CircleCI `protobuf:"bytes,3,opt,name=circleci,proto3,oneof"`
}
type MetaData_Confluence ¶
type MetaData_Confluence struct {
Confluence *Confluence `protobuf:"bytes,4,opt,name=confluence,proto3,oneof"`
}
type MetaData_Dockerhub ¶
type MetaData_Dockerhub struct {
Dockerhub *Dockerhub `protobuf:"bytes,5,opt,name=dockerhub,proto3,oneof"`
}
type MetaData_Ecr ¶
type MetaData_Ecr struct {
Ecr *ECR `protobuf:"bytes,6,opt,name=ecr,proto3,oneof"`
}
type MetaData_Filesystem ¶
type MetaData_Filesystem struct {
Filesystem *Filesystem `protobuf:"bytes,15,opt,name=filesystem,proto3,oneof"`
}
type MetaData_Gcs ¶
type MetaData_Gcs struct {
Gcs *GCS `protobuf:"bytes,7,opt,name=gcs,proto3,oneof"`
}
type MetaData_Gerrit ¶
type MetaData_Gerrit struct {
Gerrit *Gerrit `protobuf:"bytes,19,opt,name=gerrit,proto3,oneof"`
}
type MetaData_Git ¶
type MetaData_Git struct {
Git *Git `protobuf:"bytes,16,opt,name=git,proto3,oneof"`
}
type MetaData_Github ¶
type MetaData_Github struct {
Github *Github `protobuf:"bytes,8,opt,name=github,proto3,oneof"`
}
type MetaData_Gitlab ¶
type MetaData_Gitlab struct {
Gitlab *Gitlab `protobuf:"bytes,9,opt,name=gitlab,proto3,oneof"`
}
type MetaData_GoogleDrive ¶ added in v3.32.0
type MetaData_GoogleDrive struct {
GoogleDrive *GoogleDrive `protobuf:"bytes,26,opt,name=googleDrive,proto3,oneof"`
}
type MetaData_Jenkins ¶
type MetaData_Jenkins struct {
Jenkins *Jenkins `protobuf:"bytes,20,opt,name=jenkins,proto3,oneof"`
}
type MetaData_Jira ¶
type MetaData_Jira struct {
Jira *Jira `protobuf:"bytes,10,opt,name=jira,proto3,oneof"`
}
type MetaData_Npm ¶
type MetaData_Npm struct {
Npm *NPM `protobuf:"bytes,11,opt,name=npm,proto3,oneof"`
}
type MetaData_PublicEventMonitoring ¶ added in v3.6.2
type MetaData_PublicEventMonitoring struct {
PublicEventMonitoring *PublicEventMonitoring `protobuf:"bytes,24,opt,name=publicEventMonitoring,proto3,oneof"`
}
type MetaData_Pypi ¶
type MetaData_Pypi struct {
Pypi *PyPi `protobuf:"bytes,12,opt,name=pypi,proto3,oneof"`
}
type MetaData_S3 ¶
type MetaData_S3 struct {
S3 *S3 `protobuf:"bytes,13,opt,name=s3,proto3,oneof"`
}
type MetaData_Sharepoint ¶ added in v3.31.5
type MetaData_Sharepoint struct {
}type MetaData_Slack ¶
type MetaData_Slack struct {
Slack *Slack `protobuf:"bytes,14,opt,name=slack,proto3,oneof"`
}
type MetaData_Syslog ¶ added in v3.4.3
type MetaData_Syslog struct {
Syslog *Syslog `protobuf:"bytes,23,opt,name=syslog,proto3,oneof"`
}
type MetaData_Teams ¶ added in v3.0.3
type MetaData_Teams struct {
Teams *Teams `protobuf:"bytes,21,opt,name=teams,proto3,oneof"`
}
type MetaData_Test ¶
type MetaData_Test struct {
Test *Test `protobuf:"bytes,17,opt,name=test,proto3,oneof"`
}
type NPM ¶
type NPM struct { File string `protobuf:"bytes,1,opt,name=file,proto3" json:"file,omitempty"` Package string `protobuf:"bytes,2,opt,name=package,proto3" json:"package,omitempty"` Release string `protobuf:"bytes,3,opt,name=release,proto3" json:"release,omitempty"` Link string `protobuf:"bytes,4,opt,name=link,proto3" json:"link,omitempty"` Email string `protobuf:"bytes,5,opt,name=email,proto3" json:"email,omitempty"` // contains filtered or unexported fields }
func (*NPM) Descriptor
deprecated
func (*NPM) GetPackage ¶
func (*NPM) GetRelease ¶
func (*NPM) ProtoMessage ¶
func (*NPM) ProtoMessage()
func (*NPM) ProtoReflect ¶
func (x *NPM) ProtoReflect() protoreflect.Message
func (*NPM) Validate ¶
Validate checks the field values on NPM 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 (*NPM) ValidateAll ¶
ValidateAll checks the field values on NPM 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 NPMMultiError, or nil if none found.
type NPMMultiError ¶
type NPMMultiError []error
NPMMultiError is an error wrapping multiple validation errors returned by NPM.ValidateAll() if the designated constraints aren't met.
func (NPMMultiError) AllErrors ¶
func (m NPMMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (NPMMultiError) Error ¶
func (m NPMMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type NPMValidationError ¶
type NPMValidationError struct {
// contains filtered or unexported fields
}
NPMValidationError is the validation error returned by NPM.Validate if the designated constraints aren't met.
func (NPMValidationError) Cause ¶
func (e NPMValidationError) Cause() error
Cause function returns cause value.
func (NPMValidationError) Error ¶
func (e NPMValidationError) Error() string
Error satisfies the builtin error interface
func (NPMValidationError) ErrorName ¶
func (e NPMValidationError) ErrorName() string
ErrorName returns error name.
func (NPMValidationError) Field ¶
func (e NPMValidationError) Field() string
Field function returns field value.
func (NPMValidationError) Key ¶
func (e NPMValidationError) Key() bool
Key function returns key value.
func (NPMValidationError) Reason ¶
func (e NPMValidationError) Reason() string
Reason function returns reason value.
type PublicEventMonitoring ¶ added in v3.6.2
type PublicEventMonitoring struct { // Types that are assignable to Metadata: // *PublicEventMonitoring_Github Metadata isPublicEventMonitoring_Metadata `protobuf_oneof:"metadata"` // contains filtered or unexported fields }
func (*PublicEventMonitoring) Descriptor
deprecated
added in
v3.6.2
func (*PublicEventMonitoring) Descriptor() ([]byte, []int)
Deprecated: Use PublicEventMonitoring.ProtoReflect.Descriptor instead.
func (*PublicEventMonitoring) GetGithub ¶ added in v3.6.2
func (x *PublicEventMonitoring) GetGithub() *Github
func (*PublicEventMonitoring) GetMetadata ¶ added in v3.6.2
func (m *PublicEventMonitoring) GetMetadata() isPublicEventMonitoring_Metadata
func (*PublicEventMonitoring) ProtoMessage ¶ added in v3.6.2
func (*PublicEventMonitoring) ProtoMessage()
func (*PublicEventMonitoring) ProtoReflect ¶ added in v3.6.2
func (x *PublicEventMonitoring) ProtoReflect() protoreflect.Message
func (*PublicEventMonitoring) Reset ¶ added in v3.6.2
func (x *PublicEventMonitoring) Reset()
func (*PublicEventMonitoring) String ¶ added in v3.6.2
func (x *PublicEventMonitoring) String() string
func (*PublicEventMonitoring) Validate ¶ added in v3.6.2
func (m *PublicEventMonitoring) Validate() error
Validate checks the field values on PublicEventMonitoring 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 (*PublicEventMonitoring) ValidateAll ¶ added in v3.6.2
func (m *PublicEventMonitoring) ValidateAll() error
ValidateAll checks the field values on PublicEventMonitoring 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 PublicEventMonitoringMultiError, or nil if none found.
type PublicEventMonitoringMultiError ¶ added in v3.6.2
type PublicEventMonitoringMultiError []error
PublicEventMonitoringMultiError is an error wrapping multiple validation errors returned by PublicEventMonitoring.ValidateAll() if the designated constraints aren't met.
func (PublicEventMonitoringMultiError) AllErrors ¶ added in v3.6.2
func (m PublicEventMonitoringMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PublicEventMonitoringMultiError) Error ¶ added in v3.6.2
func (m PublicEventMonitoringMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PublicEventMonitoringValidationError ¶ added in v3.6.2
type PublicEventMonitoringValidationError struct {
// contains filtered or unexported fields
}
PublicEventMonitoringValidationError is the validation error returned by PublicEventMonitoring.Validate if the designated constraints aren't met.
func (PublicEventMonitoringValidationError) Cause ¶ added in v3.6.2
func (e PublicEventMonitoringValidationError) Cause() error
Cause function returns cause value.
func (PublicEventMonitoringValidationError) Error ¶ added in v3.6.2
func (e PublicEventMonitoringValidationError) Error() string
Error satisfies the builtin error interface
func (PublicEventMonitoringValidationError) ErrorName ¶ added in v3.6.2
func (e PublicEventMonitoringValidationError) ErrorName() string
ErrorName returns error name.
func (PublicEventMonitoringValidationError) Field ¶ added in v3.6.2
func (e PublicEventMonitoringValidationError) Field() string
Field function returns field value.
func (PublicEventMonitoringValidationError) Key ¶ added in v3.6.2
func (e PublicEventMonitoringValidationError) Key() bool
Key function returns key value.
func (PublicEventMonitoringValidationError) Reason ¶ added in v3.6.2
func (e PublicEventMonitoringValidationError) Reason() string
Reason function returns reason value.
type PublicEventMonitoring_Github ¶ added in v3.6.2
type PublicEventMonitoring_Github struct {
Github *Github `protobuf:"bytes,1,opt,name=github,proto3,oneof"`
}
type PyPi ¶
type PyPi struct { File string `protobuf:"bytes,1,opt,name=file,proto3" json:"file,omitempty"` Package string `protobuf:"bytes,2,opt,name=package,proto3" json:"package,omitempty"` Release string `protobuf:"bytes,3,opt,name=release,proto3" json:"release,omitempty"` Link string `protobuf:"bytes,4,opt,name=link,proto3" json:"link,omitempty"` Email string `protobuf:"bytes,5,opt,name=email,proto3" json:"email,omitempty"` // contains filtered or unexported fields }
func (*PyPi) Descriptor
deprecated
func (*PyPi) GetPackage ¶
func (*PyPi) GetRelease ¶
func (*PyPi) ProtoMessage ¶
func (*PyPi) ProtoMessage()
func (*PyPi) ProtoReflect ¶
func (x *PyPi) ProtoReflect() protoreflect.Message
func (*PyPi) Validate ¶
Validate checks the field values on PyPi 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 (*PyPi) ValidateAll ¶
ValidateAll checks the field values on PyPi 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 PyPiMultiError, or nil if none found.
type PyPiMultiError ¶
type PyPiMultiError []error
PyPiMultiError is an error wrapping multiple validation errors returned by PyPi.ValidateAll() if the designated constraints aren't met.
func (PyPiMultiError) AllErrors ¶
func (m PyPiMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PyPiMultiError) Error ¶
func (m PyPiMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PyPiValidationError ¶
type PyPiValidationError struct {
// contains filtered or unexported fields
}
PyPiValidationError is the validation error returned by PyPi.Validate if the designated constraints aren't met.
func (PyPiValidationError) Cause ¶
func (e PyPiValidationError) Cause() error
Cause function returns cause value.
func (PyPiValidationError) Error ¶
func (e PyPiValidationError) Error() string
Error satisfies the builtin error interface
func (PyPiValidationError) ErrorName ¶
func (e PyPiValidationError) ErrorName() string
ErrorName returns error name.
func (PyPiValidationError) Field ¶
func (e PyPiValidationError) Field() string
Field function returns field value.
func (PyPiValidationError) Key ¶
func (e PyPiValidationError) Key() bool
Key function returns key value.
func (PyPiValidationError) Reason ¶
func (e PyPiValidationError) Reason() string
Reason function returns reason value.
type S3 ¶
type S3 struct { Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"` File string `protobuf:"bytes,2,opt,name=file,proto3" json:"file,omitempty"` Link string `protobuf:"bytes,3,opt,name=link,proto3" json:"link,omitempty"` Email string `protobuf:"bytes,5,opt,name=email,proto3" json:"email,omitempty"` Timestamp string `protobuf:"bytes,6,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // contains filtered or unexported fields }
func (*S3) Descriptor
deprecated
func (*S3) GetTimestamp ¶
func (*S3) ProtoMessage ¶
func (*S3) ProtoMessage()
func (*S3) ProtoReflect ¶
func (x *S3) ProtoReflect() protoreflect.Message
func (*S3) Validate ¶
Validate checks the field values on S3 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 (*S3) ValidateAll ¶
ValidateAll checks the field values on S3 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 S3MultiError, or nil if none found.
type S3MultiError ¶
type S3MultiError []error
S3MultiError is an error wrapping multiple validation errors returned by S3.ValidateAll() if the designated constraints aren't met.
func (S3MultiError) AllErrors ¶
func (m S3MultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (S3MultiError) Error ¶
func (m S3MultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type S3ValidationError ¶
type S3ValidationError struct {
// contains filtered or unexported fields
}
S3ValidationError is the validation error returned by S3.Validate if the designated constraints aren't met.
func (S3ValidationError) Cause ¶
func (e S3ValidationError) Cause() error
Cause function returns cause value.
func (S3ValidationError) Error ¶
func (e S3ValidationError) Error() string
Error satisfies the builtin error interface
func (S3ValidationError) ErrorName ¶
func (e S3ValidationError) ErrorName() string
ErrorName returns error name.
func (S3ValidationError) Field ¶
func (e S3ValidationError) Field() string
Field function returns field value.
func (S3ValidationError) Key ¶
func (e S3ValidationError) Key() bool
Key function returns key value.
func (S3ValidationError) Reason ¶
func (e S3ValidationError) Reason() string
Reason function returns reason value.
type SharePoint ¶ added in v3.31.5
type SharePoint struct { // contains filtered or unexported fields }
func (*SharePoint) Descriptor
deprecated
added in
v3.31.5
func (*SharePoint) Descriptor() ([]byte, []int)
Deprecated: Use SharePoint.ProtoReflect.Descriptor instead.
func (*SharePoint) GetAuthor ¶ added in v3.31.5
func (x *SharePoint) GetAuthor() string
func (*SharePoint) GetDocid ¶ added in v3.31.5
func (x *SharePoint) GetDocid() string
func (*SharePoint) GetEmail ¶ added in v3.31.5
func (x *SharePoint) GetEmail() string
func (*SharePoint) GetLink ¶ added in v3.31.5
func (x *SharePoint) GetLink() string
func (*SharePoint) GetTimestamp ¶ added in v3.31.5
func (x *SharePoint) GetTimestamp() string
func (*SharePoint) GetTitle ¶ added in v3.31.5
func (x *SharePoint) GetTitle() string
func (*SharePoint) GetViews ¶ added in v3.31.5
func (x *SharePoint) GetViews() int64
func (*SharePoint) ProtoMessage ¶ added in v3.31.5
func (*SharePoint) ProtoMessage()
func (*SharePoint) ProtoReflect ¶ added in v3.31.5
func (x *SharePoint) ProtoReflect() protoreflect.Message
func (*SharePoint) Reset ¶ added in v3.31.5
func (x *SharePoint) Reset()
func (*SharePoint) String ¶ added in v3.31.5
func (x *SharePoint) String() string
func (*SharePoint) Validate ¶ added in v3.31.5
func (m *SharePoint) Validate() error
Validate checks the field values on SharePoint 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 (*SharePoint) ValidateAll ¶ added in v3.31.5
func (m *SharePoint) ValidateAll() error
ValidateAll checks the field values on SharePoint 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 SharePointMultiError, or nil if none found.
type SharePointMultiError ¶ added in v3.31.5
type SharePointMultiError []error
SharePointMultiError is an error wrapping multiple validation errors returned by SharePoint.ValidateAll() if the designated constraints aren't met.
func (SharePointMultiError) AllErrors ¶ added in v3.31.5
func (m SharePointMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SharePointMultiError) Error ¶ added in v3.31.5
func (m SharePointMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SharePointValidationError ¶ added in v3.31.5
type SharePointValidationError struct {
// contains filtered or unexported fields
}
SharePointValidationError is the validation error returned by SharePoint.Validate if the designated constraints aren't met.
func (SharePointValidationError) Cause ¶ added in v3.31.5
func (e SharePointValidationError) Cause() error
Cause function returns cause value.
func (SharePointValidationError) Error ¶ added in v3.31.5
func (e SharePointValidationError) Error() string
Error satisfies the builtin error interface
func (SharePointValidationError) ErrorName ¶ added in v3.31.5
func (e SharePointValidationError) ErrorName() string
ErrorName returns error name.
func (SharePointValidationError) Field ¶ added in v3.31.5
func (e SharePointValidationError) Field() string
Field function returns field value.
func (SharePointValidationError) Key ¶ added in v3.31.5
func (e SharePointValidationError) Key() bool
Key function returns key value.
func (SharePointValidationError) Reason ¶ added in v3.31.5
func (e SharePointValidationError) Reason() string
Reason function returns reason value.
type Slack ¶
type Slack struct { ChannelId string `protobuf:"bytes,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` ChannelName string `protobuf:"bytes,2,opt,name=channel_name,json=channelName,proto3" json:"channel_name,omitempty"` Timestamp string `protobuf:"bytes,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` UserId string `protobuf:"bytes,4,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` Link string `protobuf:"bytes,5,opt,name=link,proto3" json:"link,omitempty"` File string `protobuf:"bytes,6,opt,name=file,proto3" json:"file,omitempty"` Email string `protobuf:"bytes,7,opt,name=email,proto3" json:"email,omitempty"` Visibility Visibility `protobuf:"varint,8,opt,name=visibility,proto3,enum=source_metadata.Visibility" json:"visibility,omitempty"` Location string `protobuf:"bytes,9,opt,name=location,proto3" json:"location,omitempty"` // contains filtered or unexported fields }
func (*Slack) Descriptor
deprecated
func (*Slack) GetChannelId ¶
func (*Slack) GetChannelName ¶
func (*Slack) GetLocation ¶ added in v3.10.4
func (*Slack) GetTimestamp ¶
func (*Slack) GetVisibility ¶ added in v3.10.4
func (x *Slack) GetVisibility() Visibility
func (*Slack) ProtoMessage ¶
func (*Slack) ProtoMessage()
func (*Slack) ProtoReflect ¶
func (x *Slack) ProtoReflect() protoreflect.Message
func (*Slack) Validate ¶
Validate checks the field values on Slack 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 (*Slack) ValidateAll ¶
ValidateAll checks the field values on Slack 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 SlackMultiError, or nil if none found.
type SlackMultiError ¶
type SlackMultiError []error
SlackMultiError is an error wrapping multiple validation errors returned by Slack.ValidateAll() if the designated constraints aren't met.
func (SlackMultiError) AllErrors ¶
func (m SlackMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SlackMultiError) Error ¶
func (m SlackMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SlackValidationError ¶
type SlackValidationError struct {
// contains filtered or unexported fields
}
SlackValidationError is the validation error returned by Slack.Validate if the designated constraints aren't met.
func (SlackValidationError) Cause ¶
func (e SlackValidationError) Cause() error
Cause function returns cause value.
func (SlackValidationError) Error ¶
func (e SlackValidationError) Error() string
Error satisfies the builtin error interface
func (SlackValidationError) ErrorName ¶
func (e SlackValidationError) ErrorName() string
ErrorName returns error name.
func (SlackValidationError) Field ¶
func (e SlackValidationError) Field() string
Field function returns field value.
func (SlackValidationError) Key ¶
func (e SlackValidationError) Key() bool
Key function returns key value.
func (SlackValidationError) Reason ¶
func (e SlackValidationError) Reason() string
Reason function returns reason value.
type Syslog ¶ added in v3.4.3
type Syslog struct { Hostname string `protobuf:"bytes,1,opt,name=hostname,proto3" json:"hostname,omitempty"` Appname string `protobuf:"bytes,2,opt,name=appname,proto3" json:"appname,omitempty"` Procid string `protobuf:"bytes,3,opt,name=procid,proto3" json:"procid,omitempty"` Timestamp string `protobuf:"bytes,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Client string `protobuf:"bytes,5,opt,name=client,proto3" json:"client,omitempty"` Facility string `protobuf:"bytes,6,opt,name=facility,proto3" json:"facility,omitempty"` // contains filtered or unexported fields }
func (*Syslog) Descriptor
deprecated
added in
v3.4.3
func (*Syslog) GetAppname ¶ added in v3.4.3
func (*Syslog) GetFacility ¶ added in v3.4.3
func (*Syslog) GetHostname ¶ added in v3.4.3
func (*Syslog) GetTimestamp ¶ added in v3.4.3
func (*Syslog) ProtoMessage ¶ added in v3.4.3
func (*Syslog) ProtoMessage()
func (*Syslog) ProtoReflect ¶ added in v3.4.3
func (x *Syslog) ProtoReflect() protoreflect.Message
func (*Syslog) Validate ¶ added in v3.4.3
Validate checks the field values on Syslog 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 (*Syslog) ValidateAll ¶ added in v3.4.3
ValidateAll checks the field values on Syslog 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 SyslogMultiError, or nil if none found.
type SyslogMultiError ¶ added in v3.4.3
type SyslogMultiError []error
SyslogMultiError is an error wrapping multiple validation errors returned by Syslog.ValidateAll() if the designated constraints aren't met.
func (SyslogMultiError) AllErrors ¶ added in v3.4.3
func (m SyslogMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SyslogMultiError) Error ¶ added in v3.4.3
func (m SyslogMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SyslogValidationError ¶ added in v3.4.3
type SyslogValidationError struct {
// contains filtered or unexported fields
}
SyslogValidationError is the validation error returned by Syslog.Validate if the designated constraints aren't met.
func (SyslogValidationError) Cause ¶ added in v3.4.3
func (e SyslogValidationError) Cause() error
Cause function returns cause value.
func (SyslogValidationError) Error ¶ added in v3.4.3
func (e SyslogValidationError) Error() string
Error satisfies the builtin error interface
func (SyslogValidationError) ErrorName ¶ added in v3.4.3
func (e SyslogValidationError) ErrorName() string
ErrorName returns error name.
func (SyslogValidationError) Field ¶ added in v3.4.3
func (e SyslogValidationError) Field() string
Field function returns field value.
func (SyslogValidationError) Key ¶ added in v3.4.3
func (e SyslogValidationError) Key() bool
Key function returns key value.
func (SyslogValidationError) Reason ¶ added in v3.4.3
func (e SyslogValidationError) Reason() string
Reason function returns reason value.
type Teams ¶ added in v3.0.3
type Teams struct { ChannelId string `protobuf:"bytes,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` ChannelName string `protobuf:"bytes,2,opt,name=channel_name,json=channelName,proto3" json:"channel_name,omitempty"` Timestamp string `protobuf:"bytes,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` UserId string `protobuf:"bytes,4,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` Link string `protobuf:"bytes,5,opt,name=link,proto3" json:"link,omitempty"` File string `protobuf:"bytes,6,opt,name=file,proto3" json:"file,omitempty"` Email string `protobuf:"bytes,7,opt,name=email,proto3" json:"email,omitempty"` Location string `protobuf:"bytes,8,opt,name=location,proto3" json:"location,omitempty"` TeamName string `protobuf:"bytes,9,opt,name=team_name,json=teamName,proto3" json:"team_name,omitempty"` TeamId string `protobuf:"bytes,10,opt,name=team_id,json=teamId,proto3" json:"team_id,omitempty"` // contains filtered or unexported fields }
func (*Teams) Descriptor
deprecated
added in
v3.0.3
func (*Teams) GetChannelId ¶ added in v3.0.3
func (*Teams) GetChannelName ¶ added in v3.0.3
func (*Teams) GetLocation ¶ added in v3.25.3
func (*Teams) GetTeamName ¶ added in v3.32.0
func (*Teams) GetTimestamp ¶ added in v3.0.3
func (*Teams) ProtoMessage ¶ added in v3.0.3
func (*Teams) ProtoMessage()
func (*Teams) ProtoReflect ¶ added in v3.0.3
func (x *Teams) ProtoReflect() protoreflect.Message
func (*Teams) Validate ¶ added in v3.0.3
Validate checks the field values on Teams 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 (*Teams) ValidateAll ¶ added in v3.0.3
ValidateAll checks the field values on Teams 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 TeamsMultiError, or nil if none found.
type TeamsMultiError ¶ added in v3.0.3
type TeamsMultiError []error
TeamsMultiError is an error wrapping multiple validation errors returned by Teams.ValidateAll() if the designated constraints aren't met.
func (TeamsMultiError) AllErrors ¶ added in v3.0.3
func (m TeamsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TeamsMultiError) Error ¶ added in v3.0.3
func (m TeamsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TeamsValidationError ¶ added in v3.0.3
type TeamsValidationError struct {
// contains filtered or unexported fields
}
TeamsValidationError is the validation error returned by Teams.Validate if the designated constraints aren't met.
func (TeamsValidationError) Cause ¶ added in v3.0.3
func (e TeamsValidationError) Cause() error
Cause function returns cause value.
func (TeamsValidationError) Error ¶ added in v3.0.3
func (e TeamsValidationError) Error() string
Error satisfies the builtin error interface
func (TeamsValidationError) ErrorName ¶ added in v3.0.3
func (e TeamsValidationError) ErrorName() string
ErrorName returns error name.
func (TeamsValidationError) Field ¶ added in v3.0.3
func (e TeamsValidationError) Field() string
Field function returns field value.
func (TeamsValidationError) Key ¶ added in v3.0.3
func (e TeamsValidationError) Key() bool
Key function returns key value.
func (TeamsValidationError) Reason ¶ added in v3.0.3
func (e TeamsValidationError) Reason() string
Reason function returns reason value.
type Test ¶
type Test struct { File string `protobuf:"bytes,1,opt,name=file,proto3" json:"file,omitempty"` // contains filtered or unexported fields }
func (*Test) Descriptor
deprecated
func (*Test) ProtoMessage ¶
func (*Test) ProtoMessage()
func (*Test) ProtoReflect ¶
func (x *Test) ProtoReflect() protoreflect.Message
func (*Test) Validate ¶
Validate checks the field values on Test 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 (*Test) ValidateAll ¶
ValidateAll checks the field values on Test 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 TestMultiError, or nil if none found.
type TestMultiError ¶
type TestMultiError []error
TestMultiError is an error wrapping multiple validation errors returned by Test.ValidateAll() if the designated constraints aren't met.
func (TestMultiError) AllErrors ¶
func (m TestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TestMultiError) Error ¶
func (m TestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TestValidationError ¶
type TestValidationError struct {
// contains filtered or unexported fields
}
TestValidationError is the validation error returned by Test.Validate if the designated constraints aren't met.
func (TestValidationError) Cause ¶
func (e TestValidationError) Cause() error
Cause function returns cause value.
func (TestValidationError) Error ¶
func (e TestValidationError) Error() string
Error satisfies the builtin error interface
func (TestValidationError) ErrorName ¶
func (e TestValidationError) ErrorName() string
ErrorName returns error name.
func (TestValidationError) Field ¶
func (e TestValidationError) Field() string
Field function returns field value.
func (TestValidationError) Key ¶
func (e TestValidationError) Key() bool
Key function returns key value.
func (TestValidationError) Reason ¶
func (e TestValidationError) Reason() string
Reason function returns reason value.
type Visibility ¶ added in v3.10.4
type Visibility int32
const ( Visibility_public Visibility = 0 Visibility_private Visibility = 1 Visibility_unknown Visibility = 3 )
func (Visibility) Descriptor ¶ added in v3.10.4
func (Visibility) Descriptor() protoreflect.EnumDescriptor
func (Visibility) Enum ¶ added in v3.10.4
func (x Visibility) Enum() *Visibility
func (Visibility) EnumDescriptor
deprecated
added in
v3.10.4
func (Visibility) EnumDescriptor() ([]byte, []int)
Deprecated: Use Visibility.Descriptor instead.
func (Visibility) Number ¶ added in v3.10.4
func (x Visibility) Number() protoreflect.EnumNumber
func (Visibility) String ¶ added in v3.10.4
func (x Visibility) String() string
func (Visibility) Type ¶ added in v3.10.4
func (Visibility) Type() protoreflect.EnumType