sourcespb

package
v3.24.0 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2023 License: AGPL-3.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	SourceType_name = map[int32]string{
		0:  "SOURCE_TYPE_AZURE_STORAGE",
		1:  "SOURCE_TYPE_BITBUCKET",
		2:  "SOURCE_TYPE_CIRCLECI",
		3:  "SOURCE_TYPE_CONFLUENCE",
		4:  "SOURCE_TYPE_DOCKERHUB_IMAGES",
		5:  "SOURCE_TYPE_ECR",
		6:  "SOURCE_TYPE_GCS",
		7:  "SOURCE_TYPE_GITHUB",
		8:  "SOURCE_TYPE_PUBLIC_GIT",
		9:  "SOURCE_TYPE_GITLAB",
		10: "SOURCE_TYPE_JIRA",
		11: "SOURCE_TYPE_NPM_UNAUTHD_PACKAGES",
		12: "SOURCE_TYPE_PYPI_UNAUTHD_PACKAGES",
		13: "SOURCE_TYPE_S3",
		14: "SOURCE_TYPE_SLACK",
		15: "SOURCE_TYPE_FILESYSTEM",
		16: "SOURCE_TYPE_GIT",
		17: "SOURCE_TYPE_TEST",
		18: "SOURCE_TYPE_S3_UNAUTHED",
		19: "SOURCE_TYPE_GITHUB_UNAUTHENTICATED_ORG",
		20: "SOURCE_TYPE_BUILDKITE",
		21: "SOURCE_TYPE_GERRIT",
		22: "SOURCE_TYPE_JENKINS",
		23: "SOURCE_TYPE_TEAMS",
		24: "SOURCE_TYPE_JFROG_ARTIFACTORY",
		25: "SOURCE_TYPE_SYSLOG",
		26: "SOURCE_TYPE_PUBLIC_EVENT_MONITORING",
		27: "SOURCE_TYPE_SLACK_REALTIME",
	}
	SourceType_value = map[string]int32{
		"SOURCE_TYPE_AZURE_STORAGE":              0,
		"SOURCE_TYPE_BITBUCKET":                  1,
		"SOURCE_TYPE_CIRCLECI":                   2,
		"SOURCE_TYPE_CONFLUENCE":                 3,
		"SOURCE_TYPE_DOCKERHUB_IMAGES":           4,
		"SOURCE_TYPE_ECR":                        5,
		"SOURCE_TYPE_GCS":                        6,
		"SOURCE_TYPE_GITHUB":                     7,
		"SOURCE_TYPE_PUBLIC_GIT":                 8,
		"SOURCE_TYPE_GITLAB":                     9,
		"SOURCE_TYPE_JIRA":                       10,
		"SOURCE_TYPE_NPM_UNAUTHD_PACKAGES":       11,
		"SOURCE_TYPE_PYPI_UNAUTHD_PACKAGES":      12,
		"SOURCE_TYPE_S3":                         13,
		"SOURCE_TYPE_SLACK":                      14,
		"SOURCE_TYPE_FILESYSTEM":                 15,
		"SOURCE_TYPE_GIT":                        16,
		"SOURCE_TYPE_TEST":                       17,
		"SOURCE_TYPE_S3_UNAUTHED":                18,
		"SOURCE_TYPE_GITHUB_UNAUTHENTICATED_ORG": 19,
		"SOURCE_TYPE_BUILDKITE":                  20,
		"SOURCE_TYPE_GERRIT":                     21,
		"SOURCE_TYPE_JENKINS":                    22,
		"SOURCE_TYPE_TEAMS":                      23,
		"SOURCE_TYPE_JFROG_ARTIFACTORY":          24,
		"SOURCE_TYPE_SYSLOG":                     25,
		"SOURCE_TYPE_PUBLIC_EVENT_MONITORING":    26,
		"SOURCE_TYPE_SLACK_REALTIME":             27,
	}
)

Enum value maps for SourceType.

View Source
var (
	Confluence_GetAllSpacesScope_name = map[int32]string{
		0: "ALL",
		1: "GLOBAL",
		2: "PERSONAL",
	}
	Confluence_GetAllSpacesScope_value = map[string]int32{
		"ALL":      0,
		"GLOBAL":   1,
		"PERSONAL": 2,
	}
)

Enum value maps for Confluence_GetAllSpacesScope.

View Source
var File_sources_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Artifactory added in v3.0.3

type Artifactory struct {
	Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
	// Types that are assignable to Credential:
	//	*Artifactory_BasicAuth
	//	*Artifactory_AccessToken
	Credential   isArtifactory_Credential `protobuf_oneof:"credential"`
	Repositories []string                 `protobuf:"bytes,4,rep,name=repositories,proto3" json:"repositories,omitempty"`
	// contains filtered or unexported fields
}

https://www.jfrog.com/confluence/display/JFROG/Artifactory+REST+API#ArtifactoryRESTAPI-RetrieveFolderorRepositoryArchive

func (*Artifactory) Descriptor deprecated added in v3.0.3

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

Deprecated: Use Artifactory.ProtoReflect.Descriptor instead.

func (*Artifactory) GetAccessToken added in v3.2.3

func (x *Artifactory) GetAccessToken() string

func (*Artifactory) GetBasicAuth added in v3.0.3

func (x *Artifactory) GetBasicAuth() *credentialspb.BasicAuth

func (*Artifactory) GetCredential added in v3.0.3

func (m *Artifactory) GetCredential() isArtifactory_Credential

func (*Artifactory) GetEndpoint added in v3.0.3

func (x *Artifactory) GetEndpoint() string

func (*Artifactory) GetRepositories added in v3.0.3

func (x *Artifactory) GetRepositories() []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

Cause function returns cause value.

func (ArtifactoryValidationError) Error added in v3.0.3

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

Field function returns field value.

func (ArtifactoryValidationError) Key added in v3.0.3

Key function returns key value.

func (ArtifactoryValidationError) Reason added in v3.0.3

Reason function returns reason value.

type Artifactory_AccessToken added in v3.2.3

type Artifactory_AccessToken struct {
	AccessToken string `protobuf:"bytes,3,opt,name=access_token,json=accessToken,proto3,oneof"`
}

type Artifactory_BasicAuth added in v3.0.3

type Artifactory_BasicAuth struct {
	BasicAuth *credentialspb.BasicAuth `protobuf:"bytes,2,opt,name=basic_auth,json=basicAuth,proto3,oneof"`
}

type AzureStorage

type AzureStorage struct {

	// Types that are assignable to Credential:
	//	*AzureStorage_ConnectionString
	//	*AzureStorage_BasicAuth
	//	*AzureStorage_ClientCertificate
	//	*AzureStorage_Unauthenticated
	Credential        isAzureStorage_Credential `protobuf_oneof:"credential"`
	StorageContainers []string                  `protobuf:"bytes,5,rep,name=storage_containers,json=storageContainers,proto3" json:"storage_containers,omitempty"`
	// contains filtered or unexported fields
}

func (*AzureStorage) Descriptor deprecated

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

Deprecated: Use AzureStorage.ProtoReflect.Descriptor instead.

func (*AzureStorage) GetBasicAuth

func (x *AzureStorage) GetBasicAuth() *credentialspb.BasicAuth

func (*AzureStorage) GetClientCertificate

func (x *AzureStorage) GetClientCertificate() string

func (*AzureStorage) GetConnectionString

func (x *AzureStorage) GetConnectionString() string

func (*AzureStorage) GetCredential

func (m *AzureStorage) GetCredential() isAzureStorage_Credential

func (*AzureStorage) GetStorageContainers

func (x *AzureStorage) GetStorageContainers() []string

func (*AzureStorage) GetUnauthenticated

func (x *AzureStorage) GetUnauthenticated() *credentialspb.Unauthenticated

func (*AzureStorage) ProtoMessage

func (*AzureStorage) ProtoMessage()

func (*AzureStorage) ProtoReflect

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

func (*AzureStorage) Reset

func (x *AzureStorage) Reset()

func (*AzureStorage) String

func (x *AzureStorage) String() string

func (*AzureStorage) Validate

func (m *AzureStorage) Validate() error

Validate checks the field values on AzureStorage 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 (*AzureStorage) ValidateAll

func (m *AzureStorage) ValidateAll() error

ValidateAll checks the field values on AzureStorage 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 AzureStorageMultiError, or nil if none found.

type AzureStorageMultiError

type AzureStorageMultiError []error

AzureStorageMultiError is an error wrapping multiple validation errors returned by AzureStorage.ValidateAll() if the designated constraints aren't met.

func (AzureStorageMultiError) AllErrors

func (m AzureStorageMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AzureStorageMultiError) Error

func (m AzureStorageMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type AzureStorageValidationError

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

AzureStorageValidationError is the validation error returned by AzureStorage.Validate if the designated constraints aren't met.

func (AzureStorageValidationError) Cause

Cause function returns cause value.

func (AzureStorageValidationError) Error

Error satisfies the builtin error interface

func (AzureStorageValidationError) ErrorName

func (e AzureStorageValidationError) ErrorName() string

ErrorName returns error name.

func (AzureStorageValidationError) Field

Field function returns field value.

func (AzureStorageValidationError) Key

Key function returns key value.

func (AzureStorageValidationError) Reason

Reason function returns reason value.

type AzureStorage_BasicAuth

type AzureStorage_BasicAuth struct {
	BasicAuth *credentialspb.BasicAuth `protobuf:"bytes,2,opt,name=basic_auth,json=basicAuth,proto3,oneof"`
}

type AzureStorage_ClientCertificate

type AzureStorage_ClientCertificate struct {
	ClientCertificate string `protobuf:"bytes,3,opt,name=client_certificate,json=clientCertificate,proto3,oneof"`
}

type AzureStorage_ConnectionString

type AzureStorage_ConnectionString struct {
	ConnectionString string `protobuf:"bytes,1,opt,name=connection_string,json=connectionString,proto3,oneof"`
}

type AzureStorage_Unauthenticated

type AzureStorage_Unauthenticated struct {
	Unauthenticated *credentialspb.Unauthenticated `protobuf:"bytes,4,opt,name=unauthenticated,proto3,oneof"`
}

type Bitbucket

type Bitbucket struct {
	Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
	// Types that are assignable to Credential:
	//	*Bitbucket_Token
	//	*Bitbucket_Oauth
	//	*Bitbucket_BasicAuth
	Credential   isBitbucket_Credential `protobuf_oneof:"credential"`
	Repositories []string               `protobuf:"bytes,5,rep,name=repositories,proto3" json:"repositories,omitempty"`
	IgnoreRepos  []string               `protobuf:"bytes,6,rep,name=ignore_repos,json=ignoreRepos,proto3" json:"ignore_repos,omitempty"`
	// contains filtered or unexported fields
}

func (*Bitbucket) Descriptor deprecated

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

Deprecated: Use Bitbucket.ProtoReflect.Descriptor instead.

func (*Bitbucket) GetBasicAuth

func (x *Bitbucket) GetBasicAuth() *credentialspb.BasicAuth

func (*Bitbucket) GetCredential

func (m *Bitbucket) GetCredential() isBitbucket_Credential

func (*Bitbucket) GetEndpoint

func (x *Bitbucket) GetEndpoint() string

func (*Bitbucket) GetIgnoreRepos added in v3.15.0

func (x *Bitbucket) GetIgnoreRepos() []string

func (*Bitbucket) GetOauth

func (x *Bitbucket) GetOauth() *credentialspb.Oauth2

func (*Bitbucket) GetRepositories

func (x *Bitbucket) GetRepositories() []string

func (*Bitbucket) GetToken

func (x *Bitbucket) GetToken() string

func (*Bitbucket) ProtoMessage

func (*Bitbucket) ProtoMessage()

func (*Bitbucket) ProtoReflect

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

func (*Bitbucket) Reset

func (x *Bitbucket) Reset()

func (*Bitbucket) String

func (x *Bitbucket) String() string

func (*Bitbucket) Validate

func (m *Bitbucket) Validate() error

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

func (m *Bitbucket) ValidateAll() error

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

Key function returns key value.

func (BitbucketValidationError) Reason

func (e BitbucketValidationError) Reason() string

Reason function returns reason value.

type Bitbucket_BasicAuth

type Bitbucket_BasicAuth struct {
	BasicAuth *credentialspb.BasicAuth `protobuf:"bytes,4,opt,name=basic_auth,json=basicAuth,proto3,oneof"`
}

type Bitbucket_Oauth

type Bitbucket_Oauth struct {
	Oauth *credentialspb.Oauth2 `protobuf:"bytes,3,opt,name=oauth,proto3,oneof"`
}

type Bitbucket_Token

type Bitbucket_Token struct {
	Token string `protobuf:"bytes,2,opt,name=token,proto3,oneof"`
}

type Buildkite

type Buildkite struct {

	// Types that are assignable to Credential:
	//	*Buildkite_Token
	Credential isBuildkite_Credential `protobuf_oneof:"credential"`
	// contains filtered or unexported fields
}

func (*Buildkite) Descriptor deprecated

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

Deprecated: Use Buildkite.ProtoReflect.Descriptor instead.

func (*Buildkite) GetCredential

func (m *Buildkite) GetCredential() isBuildkite_Credential

func (*Buildkite) GetToken

func (x *Buildkite) GetToken() string

func (*Buildkite) ProtoMessage

func (*Buildkite) ProtoMessage()

func (*Buildkite) ProtoReflect

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

func (*Buildkite) Reset

func (x *Buildkite) Reset()

func (*Buildkite) String

func (x *Buildkite) String() string

func (*Buildkite) Validate

func (m *Buildkite) Validate() error

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

func (m *Buildkite) ValidateAll() error

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

Key function returns key value.

func (BuildkiteValidationError) Reason

func (e BuildkiteValidationError) Reason() string

Reason function returns reason value.

type Buildkite_Token

type Buildkite_Token struct {
	Token string `protobuf:"bytes,1,opt,name=token,proto3,oneof"`
}

type CircleCI

type CircleCI struct {
	Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
	// Types that are assignable to Credential:
	//	*CircleCI_Token
	Credential isCircleCI_Credential `protobuf_oneof:"credential"`
	// contains filtered or unexported fields
}

func (*CircleCI) Descriptor deprecated

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

Deprecated: Use CircleCI.ProtoReflect.Descriptor instead.

func (*CircleCI) GetCredential

func (m *CircleCI) GetCredential() isCircleCI_Credential

func (*CircleCI) GetEndpoint

func (x *CircleCI) GetEndpoint() string

func (*CircleCI) GetToken

func (x *CircleCI) GetToken() string

func (*CircleCI) ProtoMessage

func (*CircleCI) ProtoMessage()

func (*CircleCI) ProtoReflect

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

func (*CircleCI) Reset

func (x *CircleCI) Reset()

func (*CircleCI) String

func (x *CircleCI) String() string

func (*CircleCI) Validate

func (m *CircleCI) Validate() error

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

func (m *CircleCI) ValidateAll() error

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 CircleCI_Token

type CircleCI_Token struct {
	Token string `protobuf:"bytes,2,opt,name=token,proto3,oneof"`
}

type Confluence

type Confluence struct {
	Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
	// Types that are assignable to Credential:
	//	*Confluence_Unauthenticated
	//	*Confluence_BasicAuth
	//	*Confluence_Token
	Credential            isConfluence_Credential      `protobuf_oneof:"credential"`
	SpacesScope           Confluence_GetAllSpacesScope `` /* 137-byte string literal not displayed */
	InsecureSkipVerifyTls bool                         `` /* 129-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Confluence) Descriptor deprecated

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

Deprecated: Use Confluence.ProtoReflect.Descriptor instead.

func (*Confluence) GetBasicAuth

func (x *Confluence) GetBasicAuth() *credentialspb.BasicAuth

func (*Confluence) GetCredential

func (m *Confluence) GetCredential() isConfluence_Credential

func (*Confluence) GetEndpoint

func (x *Confluence) GetEndpoint() string

func (*Confluence) GetInsecureSkipVerifyTls added in v3.16.4

func (x *Confluence) GetInsecureSkipVerifyTls() bool

func (*Confluence) GetSpacesScope

func (x *Confluence) GetSpacesScope() Confluence_GetAllSpacesScope

func (*Confluence) GetToken

func (x *Confluence) GetToken() string

func (*Confluence) GetUnauthenticated

func (x *Confluence) GetUnauthenticated() *credentialspb.Unauthenticated

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

Error satisfies the builtin error interface

func (ConfluenceValidationError) ErrorName

func (e ConfluenceValidationError) ErrorName() string

ErrorName returns error name.

func (ConfluenceValidationError) Field

Field function returns field value.

func (ConfluenceValidationError) Key

Key function returns key value.

func (ConfluenceValidationError) Reason

func (e ConfluenceValidationError) Reason() string

Reason function returns reason value.

type Confluence_BasicAuth

type Confluence_BasicAuth struct {
	BasicAuth *credentialspb.BasicAuth `protobuf:"bytes,3,opt,name=basic_auth,json=basicAuth,proto3,oneof"`
}

type Confluence_GetAllSpacesScope

type Confluence_GetAllSpacesScope int32
const (
	Confluence_ALL      Confluence_GetAllSpacesScope = 0
	Confluence_GLOBAL   Confluence_GetAllSpacesScope = 1
	Confluence_PERSONAL Confluence_GetAllSpacesScope = 2
)

func (Confluence_GetAllSpacesScope) Descriptor

func (Confluence_GetAllSpacesScope) Enum

func (Confluence_GetAllSpacesScope) EnumDescriptor deprecated

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

Deprecated: Use Confluence_GetAllSpacesScope.Descriptor instead.

func (Confluence_GetAllSpacesScope) Number

func (Confluence_GetAllSpacesScope) String

func (Confluence_GetAllSpacesScope) Type

type Confluence_Token

type Confluence_Token struct {
	Token string `protobuf:"bytes,4,opt,name=token,proto3,oneof"`
}

type Confluence_Unauthenticated

type Confluence_Unauthenticated struct {
	Unauthenticated *credentialspb.Unauthenticated `protobuf:"bytes,2,opt,name=unauthenticated,proto3,oneof"`
}

type DockerHub

type DockerHub struct {

	// Types that are assignable to Credential:
	//	*DockerHub_Unauthenticated
	Credential   isDockerHub_Credential `protobuf_oneof:"credential"`
	Repositories []string               `protobuf:"bytes,2,rep,name=repositories,proto3" json:"repositories,omitempty"`
	// contains filtered or unexported fields
}

func (*DockerHub) Descriptor deprecated

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

Deprecated: Use DockerHub.ProtoReflect.Descriptor instead.

func (*DockerHub) GetCredential

func (m *DockerHub) GetCredential() isDockerHub_Credential

func (*DockerHub) GetRepositories

func (x *DockerHub) GetRepositories() []string

func (*DockerHub) GetUnauthenticated

func (x *DockerHub) GetUnauthenticated() *credentialspb.Unauthenticated

func (*DockerHub) ProtoMessage

func (*DockerHub) ProtoMessage()

func (*DockerHub) ProtoReflect

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

func (*DockerHub) Reset

func (x *DockerHub) Reset()

func (*DockerHub) String

func (x *DockerHub) String() string

func (*DockerHub) Validate

func (m *DockerHub) Validate() error

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

func (m *DockerHub) ValidateAll() error

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

Key function returns key value.

func (DockerHubValidationError) Reason

func (e DockerHubValidationError) Reason() string

Reason function returns reason value.

type DockerHub_Unauthenticated

type DockerHub_Unauthenticated struct {
	Unauthenticated *credentialspb.Unauthenticated `protobuf:"bytes,1,opt,name=unauthenticated,proto3,oneof"`
}

type ECR

type ECR struct {

	// Types that are assignable to Credential:
	//	*ECR_AccessKey
	Credential isECR_Credential `protobuf_oneof:"credential"`
	Registries []string         `protobuf:"bytes,2,rep,name=registries,proto3" json:"registries,omitempty"`
	// contains filtered or unexported fields
}

func (*ECR) Descriptor deprecated

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

Deprecated: Use ECR.ProtoReflect.Descriptor instead.

func (*ECR) GetAccessKey

func (x *ECR) GetAccessKey() *credentialspb.KeySecret

func (*ECR) GetCredential

func (m *ECR) GetCredential() isECR_Credential

func (*ECR) GetRegistries

func (x *ECR) GetRegistries() []string

func (*ECR) ProtoMessage

func (*ECR) ProtoMessage()

func (*ECR) ProtoReflect

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

func (*ECR) Reset

func (x *ECR) Reset()

func (*ECR) String

func (x *ECR) String() string

func (*ECR) Validate

func (m *ECR) Validate() error

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

func (m *ECR) ValidateAll() error

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 ECR_AccessKey

type ECR_AccessKey struct {
	AccessKey *credentialspb.KeySecret `protobuf:"bytes,1,opt,name=access_key,json=accessKey,proto3,oneof"`
}

type Filesystem

type Filesystem struct {
	Directories []string `protobuf:"bytes,1,rep,name=directories,proto3" json:"directories,omitempty"`
	// contains filtered or unexported fields
}

func (*Filesystem) Descriptor deprecated

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

Deprecated: Use Filesystem.ProtoReflect.Descriptor instead.

func (*Filesystem) GetDirectories

func (x *Filesystem) GetDirectories() []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

Error satisfies the builtin error interface

func (FilesystemValidationError) ErrorName

func (e FilesystemValidationError) ErrorName() string

ErrorName returns error name.

func (FilesystemValidationError) Field

Field function returns field value.

func (FilesystemValidationError) Key

Key function returns key value.

func (FilesystemValidationError) Reason

func (e FilesystemValidationError) Reason() string

Reason function returns reason value.

type GCS

type GCS struct {

	// Types that are assignable to Credential:
	//	*GCS_JsonSa
	Credential isGCS_Credential `protobuf_oneof:"credential"`
	Buckets    []string         `protobuf:"bytes,2,rep,name=buckets,proto3" json:"buckets,omitempty"`
	// contains filtered or unexported fields
}

func (*GCS) Descriptor deprecated

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

Deprecated: Use GCS.ProtoReflect.Descriptor instead.

func (*GCS) GetBuckets

func (x *GCS) GetBuckets() []string

func (*GCS) GetCredential

func (m *GCS) GetCredential() isGCS_Credential

func (*GCS) GetJsonSa

func (x *GCS) GetJsonSa() string

func (*GCS) ProtoMessage

func (*GCS) ProtoMessage()

func (*GCS) ProtoReflect

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

func (*GCS) Reset

func (x *GCS) Reset()

func (*GCS) String

func (x *GCS) String() string

func (*GCS) Validate

func (m *GCS) Validate() error

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

func (m *GCS) ValidateAll() error

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 GCS_JsonSa

type GCS_JsonSa struct {
	JsonSa string `protobuf:"bytes,1,opt,name=json_sa,json=jsonSa,proto3,oneof"`
}

type Gerrit

type Gerrit struct {
	Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
	// Types that are assignable to Credential:
	//	*Gerrit_BasicAuth
	//	*Gerrit_Unauthenticated
	Credential isGerrit_Credential `protobuf_oneof:"credential"`
	Projects   []string            `protobuf:"bytes,4,rep,name=projects,proto3" json:"projects,omitempty"`
	// contains filtered or unexported fields
}

func (*Gerrit) Descriptor deprecated

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

Deprecated: Use Gerrit.ProtoReflect.Descriptor instead.

func (*Gerrit) GetBasicAuth

func (x *Gerrit) GetBasicAuth() *credentialspb.BasicAuth

func (*Gerrit) GetCredential

func (m *Gerrit) GetCredential() isGerrit_Credential

func (*Gerrit) GetEndpoint

func (x *Gerrit) GetEndpoint() string

func (*Gerrit) GetProjects

func (x *Gerrit) GetProjects() []string

func (*Gerrit) GetUnauthenticated

func (x *Gerrit) GetUnauthenticated() *credentialspb.Unauthenticated

func (*Gerrit) ProtoMessage

func (*Gerrit) ProtoMessage()

func (*Gerrit) ProtoReflect

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

func (*Gerrit) Reset

func (x *Gerrit) Reset()

func (*Gerrit) String

func (x *Gerrit) String() string

func (*Gerrit) Validate

func (m *Gerrit) Validate() error

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

func (m *Gerrit) ValidateAll() error

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 Gerrit_BasicAuth

type Gerrit_BasicAuth struct {
	BasicAuth *credentialspb.BasicAuth `protobuf:"bytes,2,opt,name=basic_auth,json=basicAuth,proto3,oneof"`
}

type Gerrit_Unauthenticated

type Gerrit_Unauthenticated struct {
	Unauthenticated *credentialspb.Unauthenticated `protobuf:"bytes,3,opt,name=unauthenticated,proto3,oneof"`
}

type Git

type Git struct {

	// Types that are assignable to Credential:
	//	*Git_BasicAuth
	//	*Git_Unauthenticated
	//	*Git_SshAuth
	Credential   isGit_Credential `protobuf_oneof:"credential"`
	Directories  []string         `protobuf:"bytes,3,rep,name=directories,proto3" json:"directories,omitempty"`
	Repositories []string         `protobuf:"bytes,4,rep,name=repositories,proto3" json:"repositories,omitempty"`
	// contains filtered or unexported fields
}

func (*Git) Descriptor deprecated

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

Deprecated: Use Git.ProtoReflect.Descriptor instead.

func (*Git) GetBasicAuth

func (x *Git) GetBasicAuth() *credentialspb.BasicAuth

func (*Git) GetCredential

func (m *Git) GetCredential() isGit_Credential

func (*Git) GetDirectories

func (x *Git) GetDirectories() []string

func (*Git) GetRepositories

func (x *Git) GetRepositories() []string

func (*Git) GetSshAuth added in v3.14.0

func (x *Git) GetSshAuth() *credentialspb.SSHAuth

func (*Git) GetUnauthenticated

func (x *Git) GetUnauthenticated() *credentialspb.Unauthenticated

func (*Git) ProtoMessage

func (*Git) ProtoMessage()

func (*Git) ProtoReflect

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

func (*Git) Reset

func (x *Git) Reset()

func (*Git) String

func (x *Git) String() string

func (*Git) Validate

func (m *Git) Validate() error

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

func (m *Git) ValidateAll() error

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 GitHub

type GitHub struct {
	Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
	// Types that are assignable to Credential:
	//	*GitHub_GithubApp
	//	*GitHub_Token
	//	*GitHub_Unauthenticated
	Credential    isGitHub_Credential `protobuf_oneof:"credential"`
	Repositories  []string            `protobuf:"bytes,5,rep,name=repositories,proto3" json:"repositories,omitempty"`
	Organizations []string            `protobuf:"bytes,6,rep,name=organizations,proto3" json:"organizations,omitempty"`
	ScanUsers     bool                `protobuf:"varint,7,opt,name=scanUsers,proto3" json:"scanUsers,omitempty"`
	IncludeForks  bool                `protobuf:"varint,8,opt,name=includeForks,proto3" json:"includeForks,omitempty"`
	Head          string              `protobuf:"bytes,9,opt,name=head,proto3" json:"head,omitempty"`
	Base          string              `protobuf:"bytes,10,opt,name=base,proto3" json:"base,omitempty"`
	IgnoreRepos   []string            `protobuf:"bytes,11,rep,name=ignoreRepos,proto3" json:"ignoreRepos,omitempty"`
	IncludeRepos  []string            `protobuf:"bytes,12,rep,name=includeRepos,proto3" json:"includeRepos,omitempty"`
	// contains filtered or unexported fields
}

func (*GitHub) Descriptor deprecated

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

Deprecated: Use GitHub.ProtoReflect.Descriptor instead.

func (*GitHub) GetBase added in v3.1.0

func (x *GitHub) GetBase() string

func (*GitHub) GetCredential

func (m *GitHub) GetCredential() isGitHub_Credential

func (*GitHub) GetEndpoint

func (x *GitHub) GetEndpoint() string

func (*GitHub) GetGithubApp

func (x *GitHub) GetGithubApp() *credentialspb.GitHubApp

func (*GitHub) GetHead added in v3.1.0

func (x *GitHub) GetHead() string

func (*GitHub) GetIgnoreRepos added in v3.15.0

func (x *GitHub) GetIgnoreRepos() []string

func (*GitHub) GetIncludeForks

func (x *GitHub) GetIncludeForks() bool

func (*GitHub) GetIncludeRepos added in v3.20.0

func (x *GitHub) GetIncludeRepos() []string

func (*GitHub) GetOrganizations

func (x *GitHub) GetOrganizations() []string

func (*GitHub) GetRepositories

func (x *GitHub) GetRepositories() []string

func (*GitHub) GetScanUsers

func (x *GitHub) GetScanUsers() bool

func (*GitHub) GetToken

func (x *GitHub) GetToken() string

func (*GitHub) GetUnauthenticated

func (x *GitHub) GetUnauthenticated() *credentialspb.Unauthenticated

func (*GitHub) ProtoMessage

func (*GitHub) ProtoMessage()

func (*GitHub) ProtoReflect

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

func (*GitHub) Reset

func (x *GitHub) Reset()

func (*GitHub) String

func (x *GitHub) String() string

func (*GitHub) Validate

func (m *GitHub) Validate() error

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

func (m *GitHub) ValidateAll() error

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 GitHub_GithubApp

type GitHub_GithubApp struct {
	GithubApp *credentialspb.GitHubApp `protobuf:"bytes,2,opt,name=github_app,json=githubApp,proto3,oneof"`
}

type GitHub_Token

type GitHub_Token struct {
	Token string `protobuf:"bytes,3,opt,name=token,proto3,oneof"`
}

type GitHub_Unauthenticated

type GitHub_Unauthenticated struct {
	Unauthenticated *credentialspb.Unauthenticated `protobuf:"bytes,4,opt,name=unauthenticated,proto3,oneof"`
}

type GitLab

type GitLab struct {
	Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
	// Types that are assignable to Credential:
	//	*GitLab_Token
	//	*GitLab_Oauth
	//	*GitLab_BasicAuth
	Credential   isGitLab_Credential `protobuf_oneof:"credential"`
	Repositories []string            `protobuf:"bytes,5,rep,name=repositories,proto3" json:"repositories,omitempty"`
	IgnoreRepos  []string            `protobuf:"bytes,6,rep,name=ignore_repos,json=ignoreRepos,proto3" json:"ignore_repos,omitempty"`
	// contains filtered or unexported fields
}

func (*GitLab) Descriptor deprecated

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

Deprecated: Use GitLab.ProtoReflect.Descriptor instead.

func (*GitLab) GetBasicAuth

func (x *GitLab) GetBasicAuth() *credentialspb.BasicAuth

func (*GitLab) GetCredential

func (m *GitLab) GetCredential() isGitLab_Credential

func (*GitLab) GetEndpoint

func (x *GitLab) GetEndpoint() string

func (*GitLab) GetIgnoreRepos added in v3.15.0

func (x *GitLab) GetIgnoreRepos() []string

func (*GitLab) GetOauth

func (x *GitLab) GetOauth() *credentialspb.Oauth2

func (*GitLab) GetRepositories

func (x *GitLab) GetRepositories() []string

func (*GitLab) GetToken

func (x *GitLab) GetToken() string

func (*GitLab) ProtoMessage

func (*GitLab) ProtoMessage()

func (*GitLab) ProtoReflect

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

func (*GitLab) Reset

func (x *GitLab) Reset()

func (*GitLab) String

func (x *GitLab) String() string

func (*GitLab) Validate

func (m *GitLab) Validate() error

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

func (m *GitLab) ValidateAll() error

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 GitLab_BasicAuth

type GitLab_BasicAuth struct {
	BasicAuth *credentialspb.BasicAuth `protobuf:"bytes,4,opt,name=basic_auth,json=basicAuth,proto3,oneof"`
}

type GitLab_Oauth

type GitLab_Oauth struct {
	Oauth *credentialspb.Oauth2 `protobuf:"bytes,3,opt,name=oauth,proto3,oneof"`
}

type GitLab_Token

type GitLab_Token struct {
	Token string `protobuf:"bytes,2,opt,name=token,proto3,oneof"`
}

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 Git_BasicAuth

type Git_BasicAuth struct {
	BasicAuth *credentialspb.BasicAuth `protobuf:"bytes,1,opt,name=basic_auth,json=basicAuth,proto3,oneof"`
}

type Git_SshAuth added in v3.14.0

type Git_SshAuth struct {
	SshAuth *credentialspb.SSHAuth `protobuf:"bytes,5,opt,name=ssh_auth,json=sshAuth,proto3,oneof"`
}

type Git_Unauthenticated

type Git_Unauthenticated struct {
	Unauthenticated *credentialspb.Unauthenticated `protobuf:"bytes,2,opt,name=unauthenticated,proto3,oneof"`
}

type JIRA

type JIRA struct {
	Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
	// Types that are assignable to Credential:
	//	*JIRA_BasicAuth
	//	*JIRA_Unauthenticated
	//	*JIRA_Oauth
	//	*JIRA_Token
	Credential isJIRA_Credential `protobuf_oneof:"credential"`
	Projects   []string          `protobuf:"bytes,5,rep,name=projects,proto3" json:"projects,omitempty"`
	// contains filtered or unexported fields
}

func (*JIRA) Descriptor deprecated

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

Deprecated: Use JIRA.ProtoReflect.Descriptor instead.

func (*JIRA) GetBasicAuth

func (x *JIRA) GetBasicAuth() *credentialspb.BasicAuth

func (*JIRA) GetCredential

func (m *JIRA) GetCredential() isJIRA_Credential

func (*JIRA) GetEndpoint

func (x *JIRA) GetEndpoint() string

func (*JIRA) GetOauth

func (x *JIRA) GetOauth() *credentialspb.Oauth2

func (*JIRA) GetProjects

func (x *JIRA) GetProjects() []string

func (*JIRA) GetToken added in v3.14.0

func (x *JIRA) GetToken() string

func (*JIRA) GetUnauthenticated

func (x *JIRA) GetUnauthenticated() *credentialspb.Unauthenticated

func (*JIRA) ProtoMessage

func (*JIRA) ProtoMessage()

func (*JIRA) ProtoReflect

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

func (*JIRA) Reset

func (x *JIRA) Reset()

func (*JIRA) String

func (x *JIRA) String() string

func (*JIRA) Validate

func (m *JIRA) Validate() error

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

func (m *JIRA) ValidateAll() error

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 JIRA_BasicAuth

type JIRA_BasicAuth struct {
	BasicAuth *credentialspb.BasicAuth `protobuf:"bytes,2,opt,name=basic_auth,json=basicAuth,proto3,oneof"`
}

type JIRA_Oauth

type JIRA_Oauth struct {
	Oauth *credentialspb.Oauth2 `protobuf:"bytes,4,opt,name=oauth,proto3,oneof"`
}

type JIRA_Token added in v3.14.0

type JIRA_Token struct {
	Token string `protobuf:"bytes,6,opt,name=token,proto3,oneof"`
}

type JIRA_Unauthenticated

type JIRA_Unauthenticated struct {
	Unauthenticated *credentialspb.Unauthenticated `protobuf:"bytes,3,opt,name=unauthenticated,proto3,oneof"`
}

type Jenkins

type Jenkins struct {
	Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
	// Types that are assignable to Credential:
	//	*Jenkins_BasicAuth
	//	*Jenkins_Header
	Credential isJenkins_Credential `protobuf_oneof:"credential"`
	// contains filtered or unexported fields
}

func (*Jenkins) Descriptor deprecated

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

Deprecated: Use Jenkins.ProtoReflect.Descriptor instead.

func (*Jenkins) GetBasicAuth

func (x *Jenkins) GetBasicAuth() *credentialspb.BasicAuth

func (*Jenkins) GetCredential

func (m *Jenkins) GetCredential() isJenkins_Credential

func (*Jenkins) GetEndpoint

func (x *Jenkins) GetEndpoint() string

func (*Jenkins) GetHeader

func (x *Jenkins) GetHeader() *credentialspb.Header

func (*Jenkins) ProtoMessage

func (*Jenkins) ProtoMessage()

func (*Jenkins) ProtoReflect

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

func (*Jenkins) Reset

func (x *Jenkins) Reset()

func (*Jenkins) String

func (x *Jenkins) String() string

func (*Jenkins) Validate

func (m *Jenkins) Validate() error

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

func (m *Jenkins) ValidateAll() error

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 Jenkins_BasicAuth

type Jenkins_BasicAuth struct {
	BasicAuth *credentialspb.BasicAuth `protobuf:"bytes,2,opt,name=basic_auth,json=basicAuth,proto3,oneof"`
}

type Jenkins_Header

type Jenkins_Header struct {
	Header *credentialspb.Header `protobuf:"bytes,3,opt,name=header,proto3,oneof"`
}

type LocalSource

type LocalSource struct {
	Type         string               `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	Name         string               `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	ScanInterval *durationpb.Duration `protobuf:"bytes,3,opt,name=scan_interval,json=scanInterval,proto3" json:"scan_interval,omitempty"`
	Verify       bool                 `protobuf:"varint,4,opt,name=verify,proto3" json:"verify,omitempty"`
	Connection   *anypb.Any           `protobuf:"bytes,5,opt,name=connection,proto3" json:"connection,omitempty"`
	// contains filtered or unexported fields
}

func (*LocalSource) Descriptor deprecated

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

Deprecated: Use LocalSource.ProtoReflect.Descriptor instead.

func (*LocalSource) GetConnection

func (x *LocalSource) GetConnection() *anypb.Any

func (*LocalSource) GetName

func (x *LocalSource) GetName() string

func (*LocalSource) GetScanInterval

func (x *LocalSource) GetScanInterval() *durationpb.Duration

func (*LocalSource) GetType

func (x *LocalSource) GetType() string

func (*LocalSource) GetVerify

func (x *LocalSource) GetVerify() bool

func (*LocalSource) ProtoMessage

func (*LocalSource) ProtoMessage()

func (*LocalSource) ProtoReflect

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

func (*LocalSource) Reset

func (x *LocalSource) Reset()

func (*LocalSource) String

func (x *LocalSource) String() string

func (*LocalSource) Validate

func (m *LocalSource) Validate() error

Validate checks the field values on LocalSource 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 (*LocalSource) ValidateAll

func (m *LocalSource) ValidateAll() error

ValidateAll checks the field values on LocalSource 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 LocalSourceMultiError, or nil if none found.

type LocalSourceMultiError

type LocalSourceMultiError []error

LocalSourceMultiError is an error wrapping multiple validation errors returned by LocalSource.ValidateAll() if the designated constraints aren't met.

func (LocalSourceMultiError) AllErrors

func (m LocalSourceMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (LocalSourceMultiError) Error

func (m LocalSourceMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type LocalSourceValidationError

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

LocalSourceValidationError is the validation error returned by LocalSource.Validate if the designated constraints aren't met.

func (LocalSourceValidationError) Cause

Cause function returns cause value.

func (LocalSourceValidationError) Error

Error satisfies the builtin error interface

func (LocalSourceValidationError) ErrorName

func (e LocalSourceValidationError) ErrorName() string

ErrorName returns error name.

func (LocalSourceValidationError) Field

Field function returns field value.

func (LocalSourceValidationError) Key

Key function returns key value.

func (LocalSourceValidationError) Reason

Reason function returns reason value.

type NPMUnauthenticatedPackage

type NPMUnauthenticatedPackage struct {

	// Types that are assignable to Credential:
	//	*NPMUnauthenticatedPackage_Unauthenticated
	Credential isNPMUnauthenticatedPackage_Credential `protobuf_oneof:"credential"`
	// contains filtered or unexported fields
}

func (*NPMUnauthenticatedPackage) Descriptor deprecated

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

Deprecated: Use NPMUnauthenticatedPackage.ProtoReflect.Descriptor instead.

func (*NPMUnauthenticatedPackage) GetCredential

func (m *NPMUnauthenticatedPackage) GetCredential() isNPMUnauthenticatedPackage_Credential

func (*NPMUnauthenticatedPackage) GetUnauthenticated

func (x *NPMUnauthenticatedPackage) GetUnauthenticated() *credentialspb.Unauthenticated

func (*NPMUnauthenticatedPackage) ProtoMessage

func (*NPMUnauthenticatedPackage) ProtoMessage()

func (*NPMUnauthenticatedPackage) ProtoReflect

func (*NPMUnauthenticatedPackage) Reset

func (x *NPMUnauthenticatedPackage) Reset()

func (*NPMUnauthenticatedPackage) String

func (x *NPMUnauthenticatedPackage) String() string

func (*NPMUnauthenticatedPackage) Validate

func (m *NPMUnauthenticatedPackage) Validate() error

Validate checks the field values on NPMUnauthenticatedPackage 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 (*NPMUnauthenticatedPackage) ValidateAll

func (m *NPMUnauthenticatedPackage) ValidateAll() error

ValidateAll checks the field values on NPMUnauthenticatedPackage 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 NPMUnauthenticatedPackageMultiError, or nil if none found.

type NPMUnauthenticatedPackageMultiError

type NPMUnauthenticatedPackageMultiError []error

NPMUnauthenticatedPackageMultiError is an error wrapping multiple validation errors returned by NPMUnauthenticatedPackage.ValidateAll() if the designated constraints aren't met.

func (NPMUnauthenticatedPackageMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (NPMUnauthenticatedPackageMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type NPMUnauthenticatedPackageValidationError

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

NPMUnauthenticatedPackageValidationError is the validation error returned by NPMUnauthenticatedPackage.Validate if the designated constraints aren't met.

func (NPMUnauthenticatedPackageValidationError) Cause

Cause function returns cause value.

func (NPMUnauthenticatedPackageValidationError) Error

Error satisfies the builtin error interface

func (NPMUnauthenticatedPackageValidationError) ErrorName

ErrorName returns error name.

func (NPMUnauthenticatedPackageValidationError) Field

Field function returns field value.

func (NPMUnauthenticatedPackageValidationError) Key

Key function returns key value.

func (NPMUnauthenticatedPackageValidationError) Reason

Reason function returns reason value.

type NPMUnauthenticatedPackage_Unauthenticated

type NPMUnauthenticatedPackage_Unauthenticated struct {
	Unauthenticated *credentialspb.Unauthenticated `protobuf:"bytes,1,opt,name=unauthenticated,proto3,oneof"`
}

type PublicEventMonitoring added in v3.6.2

type PublicEventMonitoring struct {

	// Types that are assignable to Credential:
	//	*PublicEventMonitoring_Unauthenticated
	Credential isPublicEventMonitoring_Credential `protobuf_oneof:"credential"`
	Domain     string                             `protobuf:"bytes,2,opt,name=domain,proto3" json:"domain,omitempty"`
	MaxDepth   int64                              `protobuf:"varint,3,opt,name=max_depth,json=maxDepth,proto3" json:"max_depth,omitempty"`
	Since      *timestamppb.Timestamp             `protobuf:"bytes,4,opt,name=since,proto3" json:"since,omitempty"`
	// 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) GetCredential added in v3.6.2

func (m *PublicEventMonitoring) GetCredential() isPublicEventMonitoring_Credential

func (*PublicEventMonitoring) GetDomain added in v3.6.2

func (x *PublicEventMonitoring) GetDomain() string

func (*PublicEventMonitoring) GetMaxDepth added in v3.6.2

func (x *PublicEventMonitoring) GetMaxDepth() int64

func (*PublicEventMonitoring) GetSince added in v3.6.2

func (*PublicEventMonitoring) GetUnauthenticated added in v3.6.2

func (x *PublicEventMonitoring) GetUnauthenticated() *credentialspb.Unauthenticated

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

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

Cause function returns cause value.

func (PublicEventMonitoringValidationError) Error added in v3.6.2

Error satisfies the builtin error interface

func (PublicEventMonitoringValidationError) ErrorName added in v3.6.2

ErrorName returns error name.

func (PublicEventMonitoringValidationError) Field added in v3.6.2

Field function returns field value.

func (PublicEventMonitoringValidationError) Key added in v3.6.2

Key function returns key value.

func (PublicEventMonitoringValidationError) Reason added in v3.6.2

Reason function returns reason value.

type PublicEventMonitoring_Unauthenticated added in v3.6.2

type PublicEventMonitoring_Unauthenticated struct {
	Unauthenticated *credentialspb.Unauthenticated `protobuf:"bytes,1,opt,name=unauthenticated,proto3,oneof"`
}

type PyPIUnauthenticatedPackage

type PyPIUnauthenticatedPackage struct {

	// Types that are assignable to Credential:
	//	*PyPIUnauthenticatedPackage_Unauthenticated
	Credential isPyPIUnauthenticatedPackage_Credential `protobuf_oneof:"credential"`
	// contains filtered or unexported fields
}

func (*PyPIUnauthenticatedPackage) Descriptor deprecated

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

Deprecated: Use PyPIUnauthenticatedPackage.ProtoReflect.Descriptor instead.

func (*PyPIUnauthenticatedPackage) GetCredential

func (m *PyPIUnauthenticatedPackage) GetCredential() isPyPIUnauthenticatedPackage_Credential

func (*PyPIUnauthenticatedPackage) GetUnauthenticated

func (x *PyPIUnauthenticatedPackage) GetUnauthenticated() *credentialspb.Unauthenticated

func (*PyPIUnauthenticatedPackage) ProtoMessage

func (*PyPIUnauthenticatedPackage) ProtoMessage()

func (*PyPIUnauthenticatedPackage) ProtoReflect

func (*PyPIUnauthenticatedPackage) Reset

func (x *PyPIUnauthenticatedPackage) Reset()

func (*PyPIUnauthenticatedPackage) String

func (x *PyPIUnauthenticatedPackage) String() string

func (*PyPIUnauthenticatedPackage) Validate

func (m *PyPIUnauthenticatedPackage) Validate() error

Validate checks the field values on PyPIUnauthenticatedPackage 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 (*PyPIUnauthenticatedPackage) ValidateAll

func (m *PyPIUnauthenticatedPackage) ValidateAll() error

ValidateAll checks the field values on PyPIUnauthenticatedPackage 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 PyPIUnauthenticatedPackageMultiError, or nil if none found.

type PyPIUnauthenticatedPackageMultiError

type PyPIUnauthenticatedPackageMultiError []error

PyPIUnauthenticatedPackageMultiError is an error wrapping multiple validation errors returned by PyPIUnauthenticatedPackage.ValidateAll() if the designated constraints aren't met.

func (PyPIUnauthenticatedPackageMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (PyPIUnauthenticatedPackageMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type PyPIUnauthenticatedPackageValidationError

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

PyPIUnauthenticatedPackageValidationError is the validation error returned by PyPIUnauthenticatedPackage.Validate if the designated constraints aren't met.

func (PyPIUnauthenticatedPackageValidationError) Cause

Cause function returns cause value.

func (PyPIUnauthenticatedPackageValidationError) Error

Error satisfies the builtin error interface

func (PyPIUnauthenticatedPackageValidationError) ErrorName

ErrorName returns error name.

func (PyPIUnauthenticatedPackageValidationError) Field

Field function returns field value.

func (PyPIUnauthenticatedPackageValidationError) Key

Key function returns key value.

func (PyPIUnauthenticatedPackageValidationError) Reason

Reason function returns reason value.

type PyPIUnauthenticatedPackage_Unauthenticated

type PyPIUnauthenticatedPackage_Unauthenticated struct {
	Unauthenticated *credentialspb.Unauthenticated `protobuf:"bytes,1,opt,name=unauthenticated,proto3,oneof"`
}

type S3

type S3 struct {

	// Types that are assignable to Credential:
	//	*S3_AccessKey
	//	*S3_Unauthenticated
	//	*S3_CloudEnvironment
	Credential isS3_Credential `protobuf_oneof:"credential"`
	Buckets    []string        `protobuf:"bytes,3,rep,name=buckets,proto3" json:"buckets,omitempty"`
	// contains filtered or unexported fields
}

func (*S3) Descriptor deprecated

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

Deprecated: Use S3.ProtoReflect.Descriptor instead.

func (*S3) GetAccessKey

func (x *S3) GetAccessKey() *credentialspb.KeySecret

func (*S3) GetBuckets

func (x *S3) GetBuckets() []string

func (*S3) GetCloudEnvironment

func (x *S3) GetCloudEnvironment() *credentialspb.CloudEnvironment

func (*S3) GetCredential

func (m *S3) GetCredential() isS3_Credential

func (*S3) GetUnauthenticated

func (x *S3) GetUnauthenticated() *credentialspb.Unauthenticated

func (*S3) ProtoMessage

func (*S3) ProtoMessage()

func (*S3) ProtoReflect

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

func (*S3) Reset

func (x *S3) Reset()

func (*S3) String

func (x *S3) String() string

func (*S3) Validate

func (m *S3) Validate() error

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

func (m *S3) ValidateAll() error

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 S3_AccessKey

type S3_AccessKey struct {
	AccessKey *credentialspb.KeySecret `protobuf:"bytes,1,opt,name=access_key,json=accessKey,proto3,oneof"`
}

type S3_CloudEnvironment

type S3_CloudEnvironment struct {
	CloudEnvironment *credentialspb.CloudEnvironment `protobuf:"bytes,4,opt,name=cloud_environment,json=cloudEnvironment,proto3,oneof"`
}

type S3_Unauthenticated

type S3_Unauthenticated struct {
	Unauthenticated *credentialspb.Unauthenticated `protobuf:"bytes,2,opt,name=unauthenticated,proto3,oneof"`
}

type Slack

type Slack struct {
	Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
	// Types that are assignable to Credential:
	//	*Slack_Token
	//	*Slack_Tokens
	Credential isSlack_Credential `protobuf_oneof:"credential"`
	Channels   []string           `protobuf:"bytes,3,rep,name=channels,proto3" json:"channels,omitempty"`
	IgnoreList []string           `protobuf:"bytes,4,rep,name=ignoreList,proto3" json:"ignoreList,omitempty"`
	// contains filtered or unexported fields
}

func (*Slack) Descriptor deprecated

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

Deprecated: Use Slack.ProtoReflect.Descriptor instead.

func (*Slack) GetChannels

func (x *Slack) GetChannels() []string

func (*Slack) GetCredential

func (m *Slack) GetCredential() isSlack_Credential

func (*Slack) GetEndpoint

func (x *Slack) GetEndpoint() string

func (*Slack) GetIgnoreList

func (x *Slack) GetIgnoreList() []string

func (*Slack) GetToken

func (x *Slack) GetToken() string

func (*Slack) GetTokens added in v3.6.10

func (x *Slack) GetTokens() *credentialspb.SlackTokens

func (*Slack) ProtoMessage

func (*Slack) ProtoMessage()

func (*Slack) ProtoReflect

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

func (*Slack) Reset

func (x *Slack) Reset()

func (*Slack) String

func (x *Slack) String() string

func (*Slack) Validate

func (m *Slack) Validate() error

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

func (m *Slack) ValidateAll() error

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 SlackRealtime added in v3.10.4

type SlackRealtime struct {

	// Types that are assignable to Credential:
	//	*SlackRealtime_Tokens
	Credential isSlackRealtime_Credential `protobuf_oneof:"credential"`
	// contains filtered or unexported fields
}

func (*SlackRealtime) Descriptor deprecated added in v3.10.4

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

Deprecated: Use SlackRealtime.ProtoReflect.Descriptor instead.

func (*SlackRealtime) GetCredential added in v3.10.4

func (m *SlackRealtime) GetCredential() isSlackRealtime_Credential

func (*SlackRealtime) GetTokens added in v3.10.4

func (x *SlackRealtime) GetTokens() *credentialspb.SlackTokens

func (*SlackRealtime) ProtoMessage added in v3.10.4

func (*SlackRealtime) ProtoMessage()

func (*SlackRealtime) ProtoReflect added in v3.10.4

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

func (*SlackRealtime) Reset added in v3.10.4

func (x *SlackRealtime) Reset()

func (*SlackRealtime) String added in v3.10.4

func (x *SlackRealtime) String() string

func (*SlackRealtime) Validate added in v3.10.4

func (m *SlackRealtime) Validate() error

Validate checks the field values on SlackRealtime 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 (*SlackRealtime) ValidateAll added in v3.10.4

func (m *SlackRealtime) ValidateAll() error

ValidateAll checks the field values on SlackRealtime 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 SlackRealtimeMultiError, or nil if none found.

type SlackRealtimeMultiError added in v3.10.4

type SlackRealtimeMultiError []error

SlackRealtimeMultiError is an error wrapping multiple validation errors returned by SlackRealtime.ValidateAll() if the designated constraints aren't met.

func (SlackRealtimeMultiError) AllErrors added in v3.10.4

func (m SlackRealtimeMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SlackRealtimeMultiError) Error added in v3.10.4

func (m SlackRealtimeMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type SlackRealtimeValidationError added in v3.10.4

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

SlackRealtimeValidationError is the validation error returned by SlackRealtime.Validate if the designated constraints aren't met.

func (SlackRealtimeValidationError) Cause added in v3.10.4

Cause function returns cause value.

func (SlackRealtimeValidationError) Error added in v3.10.4

Error satisfies the builtin error interface

func (SlackRealtimeValidationError) ErrorName added in v3.10.4

func (e SlackRealtimeValidationError) ErrorName() string

ErrorName returns error name.

func (SlackRealtimeValidationError) Field added in v3.10.4

Field function returns field value.

func (SlackRealtimeValidationError) Key added in v3.10.4

Key function returns key value.

func (SlackRealtimeValidationError) Reason added in v3.10.4

Reason function returns reason value.

type SlackRealtime_Tokens added in v3.10.4

type SlackRealtime_Tokens struct {
	Tokens *credentialspb.SlackTokens `protobuf:"bytes,1,opt,name=tokens,proto3,oneof"`
}

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 Slack_Token

type Slack_Token struct {
	Token string `protobuf:"bytes,2,opt,name=token,proto3,oneof"`
}

type Slack_Tokens added in v3.6.10

type Slack_Tokens struct {
	Tokens *credentialspb.SlackTokens `protobuf:"bytes,5,opt,name=tokens,proto3,oneof"`
}

type SourceType

type SourceType int32
const (
	SourceType_SOURCE_TYPE_AZURE_STORAGE              SourceType = 0
	SourceType_SOURCE_TYPE_BITBUCKET                  SourceType = 1
	SourceType_SOURCE_TYPE_CIRCLECI                   SourceType = 2
	SourceType_SOURCE_TYPE_CONFLUENCE                 SourceType = 3
	SourceType_SOURCE_TYPE_DOCKERHUB_IMAGES           SourceType = 4
	SourceType_SOURCE_TYPE_ECR                        SourceType = 5
	SourceType_SOURCE_TYPE_GCS                        SourceType = 6
	SourceType_SOURCE_TYPE_GITHUB                     SourceType = 7
	SourceType_SOURCE_TYPE_PUBLIC_GIT                 SourceType = 8
	SourceType_SOURCE_TYPE_GITLAB                     SourceType = 9
	SourceType_SOURCE_TYPE_JIRA                       SourceType = 10
	SourceType_SOURCE_TYPE_NPM_UNAUTHD_PACKAGES       SourceType = 11
	SourceType_SOURCE_TYPE_PYPI_UNAUTHD_PACKAGES      SourceType = 12
	SourceType_SOURCE_TYPE_S3                         SourceType = 13
	SourceType_SOURCE_TYPE_SLACK                      SourceType = 14
	SourceType_SOURCE_TYPE_FILESYSTEM                 SourceType = 15
	SourceType_SOURCE_TYPE_GIT                        SourceType = 16
	SourceType_SOURCE_TYPE_TEST                       SourceType = 17
	SourceType_SOURCE_TYPE_S3_UNAUTHED                SourceType = 18
	SourceType_SOURCE_TYPE_GITHUB_UNAUTHENTICATED_ORG SourceType = 19
	SourceType_SOURCE_TYPE_BUILDKITE                  SourceType = 20
	SourceType_SOURCE_TYPE_GERRIT                     SourceType = 21
	SourceType_SOURCE_TYPE_JENKINS                    SourceType = 22
	SourceType_SOURCE_TYPE_TEAMS                      SourceType = 23
	SourceType_SOURCE_TYPE_JFROG_ARTIFACTORY          SourceType = 24
	SourceType_SOURCE_TYPE_SYSLOG                     SourceType = 25
	SourceType_SOURCE_TYPE_PUBLIC_EVENT_MONITORING    SourceType = 26
	SourceType_SOURCE_TYPE_SLACK_REALTIME             SourceType = 27
)

func (SourceType) Descriptor

func (SourceType) Descriptor() protoreflect.EnumDescriptor

func (SourceType) Enum

func (x SourceType) Enum() *SourceType

func (SourceType) EnumDescriptor deprecated

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

Deprecated: Use SourceType.Descriptor instead.

func (SourceType) Number

func (x SourceType) Number() protoreflect.EnumNumber

func (SourceType) String

func (x SourceType) String() string

func (SourceType) Type

type Syslog added in v3.4.3

type Syslog struct {
	Protocol      string `protobuf:"bytes,1,opt,name=protocol,proto3" json:"protocol,omitempty"`
	ListenAddress string `protobuf:"bytes,2,opt,name=listenAddress,proto3" json:"listenAddress,omitempty"`
	TlsCert       string `protobuf:"bytes,3,opt,name=tlsCert,proto3" json:"tlsCert,omitempty"`
	TlsKey        string `protobuf:"bytes,4,opt,name=tlsKey,proto3" json:"tlsKey,omitempty"`
	Format        string `protobuf:"bytes,5,opt,name=format,proto3" json:"format,omitempty"`
	// contains filtered or unexported fields
}

func (*Syslog) Descriptor deprecated added in v3.4.3

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

Deprecated: Use Syslog.ProtoReflect.Descriptor instead.

func (*Syslog) GetFormat added in v3.4.3

func (x *Syslog) GetFormat() string

func (*Syslog) GetListenAddress added in v3.4.3

func (x *Syslog) GetListenAddress() string

func (*Syslog) GetProtocol added in v3.4.3

func (x *Syslog) GetProtocol() string

func (*Syslog) GetTlsCert added in v3.4.3

func (x *Syslog) GetTlsCert() string

func (*Syslog) GetTlsKey added in v3.4.3

func (x *Syslog) GetTlsKey() string

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) Reset added in v3.4.3

func (x *Syslog) Reset()

func (*Syslog) String added in v3.4.3

func (x *Syslog) String() string

func (*Syslog) Validate added in v3.4.3

func (m *Syslog) Validate() error

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

func (m *Syslog) ValidateAll() error

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 {
	Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
	// Types that are assignable to Credential:
	//	*Teams_Token
	//	*Teams_Authenticated
	Credential isTeams_Credential `protobuf_oneof:"credential"`
	Channels   []string           `protobuf:"bytes,4,rep,name=channels,proto3" json:"channels,omitempty"`
	IgnoreList []string           `protobuf:"bytes,5,rep,name=ignoreList,proto3" json:"ignoreList,omitempty"`
	TeamId     string             `protobuf:"bytes,6,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) Descriptor() ([]byte, []int)

Deprecated: Use Teams.ProtoReflect.Descriptor instead.

func (*Teams) GetAuthenticated added in v3.0.3

func (x *Teams) GetAuthenticated() *credentialspb.ClientCredentials

func (*Teams) GetChannels added in v3.0.3

func (x *Teams) GetChannels() []string

func (*Teams) GetCredential added in v3.0.3

func (m *Teams) GetCredential() isTeams_Credential

func (*Teams) GetEndpoint added in v3.0.3

func (x *Teams) GetEndpoint() string

func (*Teams) GetIgnoreList added in v3.0.3

func (x *Teams) GetIgnoreList() []string

func (*Teams) GetTeamId added in v3.3.0

func (x *Teams) GetTeamId() string

func (*Teams) GetToken added in v3.3.0

func (x *Teams) GetToken() string

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) Reset added in v3.0.3

func (x *Teams) Reset()

func (*Teams) String added in v3.0.3

func (x *Teams) String() string

func (*Teams) Validate added in v3.0.3

func (m *Teams) Validate() error

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

func (m *Teams) ValidateAll() error

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 Teams_Authenticated added in v3.0.3

type Teams_Authenticated struct {
	Authenticated *credentialspb.ClientCredentials `protobuf:"bytes,3,opt,name=authenticated,proto3,oneof"`
}

type Teams_Token added in v3.3.0

type Teams_Token struct {
	Token string `protobuf:"bytes,2,opt,name=token,proto3,oneof"`
}

type Test

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

func (*Test) Descriptor deprecated

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

Deprecated: Use Test.ProtoReflect.Descriptor instead.

func (*Test) ProtoMessage

func (*Test) ProtoMessage()

func (*Test) ProtoReflect

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

func (*Test) Reset

func (x *Test) Reset()

func (*Test) String

func (x *Test) String() string

func (*Test) Validate

func (m *Test) Validate() error

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

func (m *Test) ValidateAll() error

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.

Jump to

Keyboard shortcuts

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