model

package
v0.0.0-...-af36fda Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2024 License: Apache-2.0 Imports: 6 Imported by: 25

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	LoginType_name = map[int32]string{
		0: "LOGIN_TYPE_UNSPECIFIED",
		1: "LOGIN_TYPE_EMAIL_PASSWORD",
		2: "LOGIN_TYPE_PHONE_PASSWORD",
		3: "LOGIN_TYPE_USERNAME_PASSWORD",
		4: "LOGIN_TYPE_SSO",
	}
	LoginType_value = map[string]int32{
		"LOGIN_TYPE_UNSPECIFIED":       0,
		"LOGIN_TYPE_EMAIL_PASSWORD":    1,
		"LOGIN_TYPE_PHONE_PASSWORD":    2,
		"LOGIN_TYPE_USERNAME_PASSWORD": 3,
		"LOGIN_TYPE_SSO":               4,
	}
)

Enum value maps for LoginType.

View Source
var (
	GitProvider_name = map[int32]string{
		0: "GIT_PROVIDER_UNSPECIFIED",
		1: "GIT_PROVIDER_GITHUB",
		2: "GIT_PROVIDER_GITLAB",
		3: "GIT_PROVIDER_BITBUCKET",
	}
	GitProvider_value = map[string]int32{
		"GIT_PROVIDER_UNSPECIFIED": 0,
		"GIT_PROVIDER_GITHUB":      1,
		"GIT_PROVIDER_GITLAB":      2,
		"GIT_PROVIDER_BITBUCKET":   3,
	}
)

Enum value maps for GitProvider.

View Source
var (
	NotificationTopic_name = map[int32]string{
		0: "NOTIFICATION_TOPIC_UNSPECIFIED",
		1: "NOTIFICATION_TOPIC_ROLLOUT",
		2: "NOTIFICATION_TOPIC_ISSUE",
		3: "NOTIFICATION_TOPIC_PROJECT",
		4: "NOTIFICATION_TOPIC_ENVIRONMENT",
		5: "NOTIFICATION_TOPIC_CAPSULE",
		6: "NOTIFICATION_TOPIC_USER",
	}
	NotificationTopic_value = map[string]int32{
		"NOTIFICATION_TOPIC_UNSPECIFIED": 0,
		"NOTIFICATION_TOPIC_ROLLOUT":     1,
		"NOTIFICATION_TOPIC_ISSUE":       2,
		"NOTIFICATION_TOPIC_PROJECT":     3,
		"NOTIFICATION_TOPIC_ENVIRONMENT": 4,
		"NOTIFICATION_TOPIC_CAPSULE":     5,
		"NOTIFICATION_TOPIC_USER":        6,
	}
)

Enum value maps for NotificationTopic.

View Source
var File_model_auth_proto protoreflect.FileDescriptor
View Source
var File_model_author_proto protoreflect.FileDescriptor
View Source
var File_model_common_proto protoreflect.FileDescriptor
View Source
var File_model_credentials_proto protoreflect.FileDescriptor
View Source
var File_model_environment_proto protoreflect.FileDescriptor
View Source
var File_model_git_proto protoreflect.FileDescriptor
View Source
var File_model_id_proto protoreflect.FileDescriptor
View Source
var File_model_metadata_proto protoreflect.FileDescriptor
View Source
var File_model_metrics_proto protoreflect.FileDescriptor
View Source
var File_model_notification_proto protoreflect.FileDescriptor
View Source
var File_model_pipeline_proto protoreflect.FileDescriptor
View Source
var File_model_revision_proto protoreflect.FileDescriptor
View Source
var File_model_user_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AuthMethod

type AuthMethod struct {

	// Types that are assignable to Method:
	//
	//	*AuthMethod_LoginType
	Method isAuthMethod_Method `protobuf_oneof:"method"`
	// contains filtered or unexported fields
}

Message that tells how the user was authenticated.

func (*AuthMethod) Descriptor deprecated

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

Deprecated: Use AuthMethod.ProtoReflect.Descriptor instead.

func (*AuthMethod) GetLoginType

func (x *AuthMethod) GetLoginType() LoginType

func (*AuthMethod) GetMethod

func (m *AuthMethod) GetMethod() isAuthMethod_Method

func (*AuthMethod) ProtoMessage

func (*AuthMethod) ProtoMessage()

func (*AuthMethod) ProtoReflect

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

func (*AuthMethod) Reset

func (x *AuthMethod) Reset()

func (*AuthMethod) String

func (x *AuthMethod) String() string

type AuthMethod_LoginType

type AuthMethod_LoginType struct {
	LoginType LoginType `protobuf:"varint,1,opt,name=login_type,json=loginType,proto3,enum=model.LoginType,oneof"`
}

type Author

type Author struct {

	// Cached identifier of the author, e.g. email or username at the time of
	// change.
	Identifier string `protobuf:"bytes,1,opt,name=identifier,proto3" json:"identifier,omitempty"`
	// Cached pretty-printed name of the author at the time of
	// change.
	PrintableName string `protobuf:"bytes,2,opt,name=printable_name,json=printableName,proto3" json:"printable_name,omitempty"`
	// User ID of the author. This should be used to get current information
	// about the author.
	//
	// Types that are assignable to Account:
	//
	//	*Author_UserId
	//	*Author_ServiceAccountId
	Account isAuthor_Account `protobuf_oneof:"account"`
	// contains filtered or unexported fields
}

Author of a change.

func (*Author) Descriptor deprecated

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

Deprecated: Use Author.ProtoReflect.Descriptor instead.

func (*Author) GetAccount

func (m *Author) GetAccount() isAuthor_Account

func (*Author) GetIdentifier

func (x *Author) GetIdentifier() string

func (*Author) GetPrintableName

func (x *Author) GetPrintableName() string

func (*Author) GetServiceAccountId

func (x *Author) GetServiceAccountId() string

func (*Author) GetUserId

func (x *Author) GetUserId() string

func (*Author) ProtoMessage

func (*Author) ProtoMessage()

func (*Author) ProtoReflect

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

func (*Author) Reset

func (x *Author) Reset()

func (*Author) String

func (x *Author) String() string

type Author_ServiceAccountId

type Author_ServiceAccountId struct {
	// if a service account did the change
	ServiceAccountId string `protobuf:"bytes,4,opt,name=service_account_id,json=serviceAccountId,proto3,oneof"`
}

type Author_UserId

type Author_UserId struct {
	// if a user did the change
	UserId string `protobuf:"bytes,3,opt,name=user_id,json=userId,proto3,oneof"`
}

type BcryptHashingConfig

type BcryptHashingConfig struct {

	// The cost of the hashing algorithm.
	Cost int32 `protobuf:"varint,1,opt,name=cost,proto3" json:"cost,omitempty"`
	// contains filtered or unexported fields
}

Bcrypt hashing configuration.

func (*BcryptHashingConfig) Descriptor deprecated

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

Deprecated: Use BcryptHashingConfig.ProtoReflect.Descriptor instead.

func (*BcryptHashingConfig) GetCost

func (x *BcryptHashingConfig) GetCost() int32

func (*BcryptHashingConfig) ProtoMessage

func (*BcryptHashingConfig) ProtoMessage()

func (*BcryptHashingConfig) ProtoReflect

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

func (*BcryptHashingConfig) Reset

func (x *BcryptHashingConfig) Reset()

func (*BcryptHashingConfig) String

func (x *BcryptHashingConfig) String() string

type BcryptHashingInstance

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

Bcrypt hashing instance.

func (*BcryptHashingInstance) Descriptor deprecated

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

Deprecated: Use BcryptHashingInstance.ProtoReflect.Descriptor instead.

func (*BcryptHashingInstance) ProtoMessage

func (*BcryptHashingInstance) ProtoMessage()

func (*BcryptHashingInstance) ProtoReflect

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

func (*BcryptHashingInstance) Reset

func (x *BcryptHashingInstance) Reset()

func (*BcryptHashingInstance) String

func (x *BcryptHashingInstance) String() string

type BitBucketInfo

type BitBucketInfo struct {
	Team       string `protobuf:"bytes,1,opt,name=team,proto3" json:"team,omitempty"`
	Project    string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
	Repository string `protobuf:"bytes,3,opt,name=repository,proto3" json:"repository,omitempty"`
	// contains filtered or unexported fields
}

func (*BitBucketInfo) Descriptor deprecated

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

Deprecated: Use BitBucketInfo.ProtoReflect.Descriptor instead.

func (*BitBucketInfo) GetProject

func (x *BitBucketInfo) GetProject() string

func (*BitBucketInfo) GetRepository

func (x *BitBucketInfo) GetRepository() string

func (*BitBucketInfo) GetTeam

func (x *BitBucketInfo) GetTeam() string

func (*BitBucketInfo) ProtoMessage

func (*BitBucketInfo) ProtoMessage()

func (*BitBucketInfo) ProtoReflect

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

func (*BitBucketInfo) Reset

func (x *BitBucketInfo) Reset()

func (*BitBucketInfo) String

func (x *BitBucketInfo) String() string

type BookmarkingConfiguration

type BookmarkingConfiguration struct {
	DontBookmark bool `protobuf:"varint,1,opt,name=dont_bookmark,json=dontBookmark,proto3" json:"dont_bookmark,omitempty"`
	// contains filtered or unexported fields
}

func (*BookmarkingConfiguration) Descriptor deprecated

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

Deprecated: Use BookmarkingConfiguration.ProtoReflect.Descriptor instead.

func (*BookmarkingConfiguration) GetDontBookmark

func (x *BookmarkingConfiguration) GetDontBookmark() bool

func (*BookmarkingConfiguration) ProtoMessage

func (*BookmarkingConfiguration) ProtoMessage()

func (*BookmarkingConfiguration) ProtoReflect

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

func (*BookmarkingConfiguration) Reset

func (x *BookmarkingConfiguration) Reset()

func (*BookmarkingConfiguration) String

func (x *BookmarkingConfiguration) String() string

type CapsuleID

type CapsuleID struct {
	Project     string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
	Environment string `protobuf:"bytes,2,opt,name=environment,proto3" json:"environment,omitempty"`
	Capsule     string `protobuf:"bytes,3,opt,name=capsule,proto3" json:"capsule,omitempty"`
	// contains filtered or unexported fields
}

func (*CapsuleID) Descriptor deprecated

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

Deprecated: Use CapsuleID.ProtoReflect.Descriptor instead.

func (*CapsuleID) GetCapsule

func (x *CapsuleID) GetCapsule() string

func (*CapsuleID) GetEnvironment

func (x *CapsuleID) GetEnvironment() string

func (*CapsuleID) GetProject

func (x *CapsuleID) GetProject() string

func (*CapsuleID) ProtoMessage

func (*CapsuleID) ProtoMessage()

func (*CapsuleID) ProtoReflect

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

func (*CapsuleID) Reset

func (x *CapsuleID) Reset()

func (*CapsuleID) String

func (x *CapsuleID) String() string

type CapsuleSetID

type CapsuleSetID struct {
	Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
	Capsule string `protobuf:"bytes,2,opt,name=capsule,proto3" json:"capsule,omitempty"`
	// contains filtered or unexported fields
}

func (*CapsuleSetID) Descriptor deprecated

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

Deprecated: Use CapsuleSetID.ProtoReflect.Descriptor instead.

func (*CapsuleSetID) GetCapsule

func (x *CapsuleSetID) GetCapsule() string

func (*CapsuleSetID) GetProject

func (x *CapsuleSetID) GetProject() string

func (*CapsuleSetID) ProtoMessage

func (*CapsuleSetID) ProtoMessage()

func (*CapsuleSetID) ProtoReflect

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

func (*CapsuleSetID) Reset

func (x *CapsuleSetID) Reset()

func (*CapsuleSetID) String

func (x *CapsuleSetID) String() string

type Commit

type Commit struct {
	Provider GitProvider `protobuf:"varint,1,opt,name=provider,proto3,enum=model.GitProvider" json:"provider,omitempty"`
	// Types that are assignable to ProviderInfo:
	//
	//	*Commit_Github
	//	*Commit_Gitlab
	//	*Commit_Bitbucket
	ProviderInfo  isCommit_ProviderInfo `protobuf_oneof:"provider_info"`
	CommitId      string                `protobuf:"bytes,3,opt,name=commit_id,json=commitId,proto3" json:"commit_id,omitempty"`
	CommitUrl     string                `protobuf:"bytes,4,opt,name=commit_url,json=commitUrl,proto3" json:"commit_url,omitempty"`
	RepositoryUrl string                `protobuf:"bytes,6,opt,name=repository_url,json=repositoryUrl,proto3" json:"repository_url,omitempty"`
	// contains filtered or unexported fields
}

func (*Commit) Descriptor deprecated

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

Deprecated: Use Commit.ProtoReflect.Descriptor instead.

func (*Commit) GetBitbucket

func (x *Commit) GetBitbucket() *BitBucketInfo

func (*Commit) GetCommitId

func (x *Commit) GetCommitId() string

func (*Commit) GetCommitUrl

func (x *Commit) GetCommitUrl() string

func (*Commit) GetGithub

func (x *Commit) GetGithub() *GitHubInfo

func (*Commit) GetGitlab

func (x *Commit) GetGitlab() *GitLabInfo

func (*Commit) GetProvider

func (x *Commit) GetProvider() GitProvider

func (*Commit) GetProviderInfo

func (m *Commit) GetProviderInfo() isCommit_ProviderInfo

func (*Commit) GetRepositoryUrl

func (x *Commit) GetRepositoryUrl() string

func (*Commit) ProtoMessage

func (*Commit) ProtoMessage()

func (*Commit) ProtoReflect

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

func (*Commit) Reset

func (x *Commit) Reset()

func (*Commit) String

func (x *Commit) String() string

type Commit_Bitbucket

type Commit_Bitbucket struct {
	Bitbucket *BitBucketInfo `protobuf:"bytes,9,opt,name=bitbucket,proto3,oneof"`
}

type Commit_Github

type Commit_Github struct {
	Github *GitHubInfo `protobuf:"bytes,7,opt,name=github,proto3,oneof"`
}

type Commit_Gitlab

type Commit_Gitlab struct {
	Gitlab *GitLabInfo `protobuf:"bytes,8,opt,name=gitlab,proto3,oneof"`
}

type ContainerMetrics

type ContainerMetrics struct {

	// Timestamp of the metrics.
	Timestamp *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// Memory usage in bytes.
	MemoryBytes uint64 `protobuf:"varint,2,opt,name=memory_bytes,json=memoryBytes,proto3" json:"memory_bytes,omitempty"`
	// CPU usage in milliseconds.
	CpuMs uint64 `protobuf:"varint,3,opt,name=cpu_ms,json=cpuMs,proto3" json:"cpu_ms,omitempty"`
	// Storage usage in bytes.
	StorageBytes uint64 `protobuf:"varint,4,opt,name=storage_bytes,json=storageBytes,proto3" json:"storage_bytes,omitempty"`
	// contains filtered or unexported fields
}

Metrics for a container.

func (*ContainerMetrics) Descriptor deprecated

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

Deprecated: Use ContainerMetrics.ProtoReflect.Descriptor instead.

func (*ContainerMetrics) GetCpuMs

func (x *ContainerMetrics) GetCpuMs() uint64

func (*ContainerMetrics) GetMemoryBytes

func (x *ContainerMetrics) GetMemoryBytes() uint64

func (*ContainerMetrics) GetStorageBytes

func (x *ContainerMetrics) GetStorageBytes() uint64

func (*ContainerMetrics) GetTimestamp

func (x *ContainerMetrics) GetTimestamp() *timestamppb.Timestamp

func (*ContainerMetrics) ProtoMessage

func (*ContainerMetrics) ProtoMessage()

func (*ContainerMetrics) ProtoReflect

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

func (*ContainerMetrics) Reset

func (x *ContainerMetrics) Reset()

func (*ContainerMetrics) String

func (x *ContainerMetrics) String() string

type EnvironmentFilter

type EnvironmentFilter struct {

	// Types that are assignable to Filter:
	//
	//	*EnvironmentFilter_All_
	//	*EnvironmentFilter_Selected_
	Filter isEnvironmentFilter_Filter `protobuf_oneof:"filter"`
	// contains filtered or unexported fields
}

func (*EnvironmentFilter) Descriptor deprecated

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

Deprecated: Use EnvironmentFilter.ProtoReflect.Descriptor instead.

func (*EnvironmentFilter) GetAll

func (*EnvironmentFilter) GetFilter

func (m *EnvironmentFilter) GetFilter() isEnvironmentFilter_Filter

func (*EnvironmentFilter) GetSelected

func (*EnvironmentFilter) ProtoMessage

func (*EnvironmentFilter) ProtoMessage()

func (*EnvironmentFilter) ProtoReflect

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

func (*EnvironmentFilter) Reset

func (x *EnvironmentFilter) Reset()

func (*EnvironmentFilter) String

func (x *EnvironmentFilter) String() string

type EnvironmentFilter_All

type EnvironmentFilter_All struct {
	IncludeEphemeral bool `protobuf:"varint,1,opt,name=include_ephemeral,json=includeEphemeral,proto3" json:"include_ephemeral,omitempty"`
	// contains filtered or unexported fields
}

func (*EnvironmentFilter_All) Descriptor deprecated

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

Deprecated: Use EnvironmentFilter_All.ProtoReflect.Descriptor instead.

func (*EnvironmentFilter_All) GetIncludeEphemeral

func (x *EnvironmentFilter_All) GetIncludeEphemeral() bool

func (*EnvironmentFilter_All) ProtoMessage

func (*EnvironmentFilter_All) ProtoMessage()

func (*EnvironmentFilter_All) ProtoReflect

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

func (*EnvironmentFilter_All) Reset

func (x *EnvironmentFilter_All) Reset()

func (*EnvironmentFilter_All) String

func (x *EnvironmentFilter_All) String() string

type EnvironmentFilter_All_

type EnvironmentFilter_All_ struct {
	All *EnvironmentFilter_All `protobuf:"bytes,1,opt,name=all,proto3,oneof"`
}

type EnvironmentFilter_Selected

type EnvironmentFilter_Selected struct {
	EnvironmentIds []string `protobuf:"bytes,1,rep,name=environment_ids,json=environmentIds,proto3" json:"environment_ids,omitempty"`
	// contains filtered or unexported fields
}

func (*EnvironmentFilter_Selected) Descriptor deprecated

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

Deprecated: Use EnvironmentFilter_Selected.ProtoReflect.Descriptor instead.

func (*EnvironmentFilter_Selected) GetEnvironmentIds

func (x *EnvironmentFilter_Selected) GetEnvironmentIds() []string

func (*EnvironmentFilter_Selected) ProtoMessage

func (*EnvironmentFilter_Selected) ProtoMessage()

func (*EnvironmentFilter_Selected) ProtoReflect

func (*EnvironmentFilter_Selected) Reset

func (x *EnvironmentFilter_Selected) Reset()

func (*EnvironmentFilter_Selected) String

func (x *EnvironmentFilter_Selected) String() string

type EnvironmentFilter_Selected_

type EnvironmentFilter_Selected_ struct {
	Selected *EnvironmentFilter_Selected `protobuf:"bytes,2,opt,name=selected,proto3,oneof"`
}

type FieldPrefixes

type FieldPrefixes struct {

	// If true, only fields with the specified prefixes will be promoted
	// If false, only fields without the specified prefixes will be promoted
	Inclusion bool     `protobuf:"varint,1,opt,name=inclusion,proto3" json:"inclusion,omitempty"`
	Prefixes  []string `protobuf:"bytes,2,rep,name=prefixes,proto3" json:"prefixes,omitempty"`
	// contains filtered or unexported fields
}

func (*FieldPrefixes) Descriptor deprecated

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

Deprecated: Use FieldPrefixes.ProtoReflect.Descriptor instead.

func (*FieldPrefixes) GetInclusion

func (x *FieldPrefixes) GetInclusion() bool

func (*FieldPrefixes) GetPrefixes

func (x *FieldPrefixes) GetPrefixes() []string

func (*FieldPrefixes) ProtoMessage

func (*FieldPrefixes) ProtoMessage()

func (*FieldPrefixes) ProtoReflect

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

func (*FieldPrefixes) Reset

func (x *FieldPrefixes) Reset()

func (*FieldPrefixes) String

func (x *FieldPrefixes) String() string

type Fingerprint

type Fingerprint struct {
	Data string `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*Fingerprint) Descriptor deprecated

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

Deprecated: Use Fingerprint.ProtoReflect.Descriptor instead.

func (*Fingerprint) GetData

func (x *Fingerprint) GetData() string

func (*Fingerprint) ProtoMessage

func (*Fingerprint) ProtoMessage()

func (*Fingerprint) ProtoReflect

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

func (*Fingerprint) Reset

func (x *Fingerprint) Reset()

func (*Fingerprint) String

func (x *Fingerprint) String() string

type Fingerprints

type Fingerprints struct {
	Project     *Fingerprint `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
	Environment *Fingerprint `protobuf:"bytes,2,opt,name=environment,proto3" json:"environment,omitempty"`
	CapsuleSet  *Fingerprint `protobuf:"bytes,3,opt,name=capsule_set,json=capsuleSet,proto3" json:"capsule_set,omitempty"`
	Capsule     *Fingerprint `protobuf:"bytes,4,opt,name=capsule,proto3" json:"capsule,omitempty"`
	// contains filtered or unexported fields
}

func (*Fingerprints) Descriptor deprecated

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

Deprecated: Use Fingerprints.ProtoReflect.Descriptor instead.

func (*Fingerprints) GetCapsule

func (x *Fingerprints) GetCapsule() *Fingerprint

func (*Fingerprints) GetCapsuleSet

func (x *Fingerprints) GetCapsuleSet() *Fingerprint

func (*Fingerprints) GetEnvironment

func (x *Fingerprints) GetEnvironment() *Fingerprint

func (*Fingerprints) GetProject

func (x *Fingerprints) GetProject() *Fingerprint

func (*Fingerprints) ProtoMessage

func (*Fingerprints) ProtoMessage()

func (*Fingerprints) ProtoReflect

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

func (*Fingerprints) Reset

func (x *Fingerprints) Reset()

func (*Fingerprints) String

func (x *Fingerprints) String() string

type GitChange

type GitChange struct {
	Commit *Commit  `protobuf:"bytes,1,opt,name=commit,proto3" json:"commit,omitempty"`
	Paths  []string `protobuf:"bytes,2,rep,name=paths,proto3" json:"paths,omitempty"`
	// contains filtered or unexported fields
}

func (*GitChange) Descriptor deprecated

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

Deprecated: Use GitChange.ProtoReflect.Descriptor instead.

func (*GitChange) GetCommit

func (x *GitChange) GetCommit() *Commit

func (*GitChange) GetPaths

func (x *GitChange) GetPaths() []string

func (*GitChange) ProtoMessage

func (*GitChange) ProtoMessage()

func (*GitChange) ProtoReflect

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

func (*GitChange) Reset

func (x *GitChange) Reset()

func (*GitChange) String

func (x *GitChange) String() string

type GitHubInfo

type GitHubInfo struct {
	Owner      string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
	Repository string `protobuf:"bytes,2,opt,name=repository,proto3" json:"repository,omitempty"`
	// contains filtered or unexported fields
}

func (*GitHubInfo) Descriptor deprecated

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

Deprecated: Use GitHubInfo.ProtoReflect.Descriptor instead.

func (*GitHubInfo) GetOwner

func (x *GitHubInfo) GetOwner() string

func (*GitHubInfo) GetRepository

func (x *GitHubInfo) GetRepository() string

func (*GitHubInfo) ProtoMessage

func (*GitHubInfo) ProtoMessage()

func (*GitHubInfo) ProtoReflect

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

func (*GitHubInfo) Reset

func (x *GitHubInfo) Reset()

func (*GitHubInfo) String

func (x *GitHubInfo) String() string

type GitLabInfo

type GitLabInfo struct {
	Groups  []string `protobuf:"bytes,1,rep,name=groups,proto3" json:"groups,omitempty"`
	Project string   `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
	// contains filtered or unexported fields
}

func (*GitLabInfo) Descriptor deprecated

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

Deprecated: Use GitLabInfo.ProtoReflect.Descriptor instead.

func (*GitLabInfo) GetGroups

func (x *GitLabInfo) GetGroups() []string

func (*GitLabInfo) GetProject

func (x *GitLabInfo) GetProject() string

func (*GitLabInfo) ProtoMessage

func (*GitLabInfo) ProtoMessage()

func (*GitLabInfo) ProtoReflect

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

func (*GitLabInfo) Reset

func (x *GitLabInfo) Reset()

func (*GitLabInfo) String

func (x *GitLabInfo) String() string

type GitLabProposal

type GitLabProposal struct {
	PrId int64 `protobuf:"varint,1,opt,name=pr_id,json=prId,proto3" json:"pr_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GitLabProposal) Descriptor deprecated

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

Deprecated: Use GitLabProposal.ProtoReflect.Descriptor instead.

func (*GitLabProposal) GetPrId

func (x *GitLabProposal) GetPrId() int64

func (*GitLabProposal) ProtoMessage

func (*GitLabProposal) ProtoMessage()

func (*GitLabProposal) ProtoReflect

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

func (*GitLabProposal) Reset

func (x *GitLabProposal) Reset()

func (*GitLabProposal) String

func (x *GitLabProposal) String() string

type GitProvider

type GitProvider int32
const (
	GitProvider_GIT_PROVIDER_UNSPECIFIED GitProvider = 0
	GitProvider_GIT_PROVIDER_GITHUB      GitProvider = 1
	GitProvider_GIT_PROVIDER_GITLAB      GitProvider = 2
	GitProvider_GIT_PROVIDER_BITBUCKET   GitProvider = 3
)

func (GitProvider) Descriptor

func (GitProvider) Enum

func (x GitProvider) Enum() *GitProvider

func (GitProvider) EnumDescriptor deprecated

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

Deprecated: Use GitProvider.Descriptor instead.

func (GitProvider) Number

func (x GitProvider) Number() protoreflect.EnumNumber

func (GitProvider) String

func (x GitProvider) String() string

func (GitProvider) Type

type GitStatus

type GitStatus struct {
	LastProcessedCommitId    string                 `` /* 128-byte string literal not displayed */
	LastProcessedCommitTime  *timestamppb.Timestamp `` /* 134-byte string literal not displayed */
	LastSuccessfulCommitId   string                 `` /* 131-byte string literal not displayed */
	LastSuccessfulCommitTime *timestamppb.Timestamp `` /* 137-byte string literal not displayed */
	Error                    string                 `protobuf:"bytes,5,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*GitStatus) Descriptor deprecated

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

Deprecated: Use GitStatus.ProtoReflect.Descriptor instead.

func (*GitStatus) GetError

func (x *GitStatus) GetError() string

func (*GitStatus) GetLastProcessedCommitId

func (x *GitStatus) GetLastProcessedCommitId() string

func (*GitStatus) GetLastProcessedCommitTime

func (x *GitStatus) GetLastProcessedCommitTime() *timestamppb.Timestamp

func (*GitStatus) GetLastSuccessfulCommitId

func (x *GitStatus) GetLastSuccessfulCommitId() string

func (*GitStatus) GetLastSuccessfulCommitTime

func (x *GitStatus) GetLastSuccessfulCommitTime() *timestamppb.Timestamp

func (*GitStatus) ProtoMessage

func (*GitStatus) ProtoMessage()

func (*GitStatus) ProtoReflect

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

func (*GitStatus) Reset

func (x *GitStatus) Reset()

func (*GitStatus) String

func (x *GitStatus) String() string

type GitStore

type GitStore struct {
	Disabled           bool               `protobuf:"varint,1,opt,name=disabled,proto3" json:"disabled,omitempty"`
	Repository         string             `protobuf:"bytes,2,opt,name=repository,proto3" json:"repository,omitempty"`
	Branch             string             `protobuf:"bytes,3,opt,name=branch,proto3" json:"branch,omitempty"`
	CapsulePath        string             `protobuf:"bytes,4,opt,name=capsule_path,json=capsulePath,proto3" json:"capsule_path,omitempty"`
	CapsuleSetPath     string             `protobuf:"bytes,10,opt,name=capsule_set_path,json=capsuleSetPath,proto3" json:"capsule_set_path,omitempty"`
	CommitTemplate     string             `protobuf:"bytes,5,opt,name=commit_template,json=commitTemplate,proto3" json:"commit_template,omitempty"`
	Environments       *EnvironmentFilter `protobuf:"bytes,6,opt,name=environments,proto3" json:"environments,omitempty"`
	PrTitleTemplate    string             `protobuf:"bytes,7,opt,name=pr_title_template,json=prTitleTemplate,proto3" json:"pr_title_template,omitempty"`
	PrBodyTemplate     string             `protobuf:"bytes,8,opt,name=pr_body_template,json=prBodyTemplate,proto3" json:"pr_body_template,omitempty"`
	RequirePullRequest bool               `protobuf:"varint,9,opt,name=require_pull_request,json=requirePullRequest,proto3" json:"require_pull_request,omitempty"`
	// contains filtered or unexported fields
}

func (*GitStore) Descriptor deprecated

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

Deprecated: Use GitStore.ProtoReflect.Descriptor instead.

func (*GitStore) GetBranch

func (x *GitStore) GetBranch() string

func (*GitStore) GetCapsulePath

func (x *GitStore) GetCapsulePath() string

func (*GitStore) GetCapsuleSetPath

func (x *GitStore) GetCapsuleSetPath() string

func (*GitStore) GetCommitTemplate

func (x *GitStore) GetCommitTemplate() string

func (*GitStore) GetDisabled

func (x *GitStore) GetDisabled() bool

func (*GitStore) GetEnvironments

func (x *GitStore) GetEnvironments() *EnvironmentFilter

func (*GitStore) GetPrBodyTemplate

func (x *GitStore) GetPrBodyTemplate() string

func (*GitStore) GetPrTitleTemplate

func (x *GitStore) GetPrTitleTemplate() string

func (*GitStore) GetRepository

func (x *GitStore) GetRepository() string

func (*GitStore) GetRequirePullRequest

func (x *GitStore) GetRequirePullRequest() bool

func (*GitStore) ProtoMessage

func (*GitStore) ProtoMessage()

func (*GitStore) ProtoReflect

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

func (*GitStore) Reset

func (x *GitStore) Reset()

func (*GitStore) String

func (x *GitStore) String() string

type GithubProposal

type GithubProposal struct {
	PrId int64 `protobuf:"varint,1,opt,name=pr_id,json=prId,proto3" json:"pr_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GithubProposal) Descriptor deprecated

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

Deprecated: Use GithubProposal.ProtoReflect.Descriptor instead.

func (*GithubProposal) GetPrId

func (x *GithubProposal) GetPrId() int64

func (*GithubProposal) ProtoMessage

func (*GithubProposal) ProtoMessage()

func (*GithubProposal) ProtoReflect

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

func (*GithubProposal) Reset

func (x *GithubProposal) Reset()

func (*GithubProposal) String

func (x *GithubProposal) String() string

type HashingConfig

type HashingConfig struct {

	// Types that are assignable to Method:
	//
	//	*HashingConfig_Bcrypt
	//	*HashingConfig_Scrypt
	Method isHashingConfig_Method `protobuf_oneof:"method"`
	// contains filtered or unexported fields
}

Hashing configuration.

func (*HashingConfig) Descriptor deprecated

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

Deprecated: Use HashingConfig.ProtoReflect.Descriptor instead.

func (*HashingConfig) GetBcrypt

func (x *HashingConfig) GetBcrypt() *BcryptHashingConfig

func (*HashingConfig) GetMethod

func (m *HashingConfig) GetMethod() isHashingConfig_Method

func (*HashingConfig) GetScrypt

func (x *HashingConfig) GetScrypt() *ScryptHashingConfig

func (*HashingConfig) ProtoMessage

func (*HashingConfig) ProtoMessage()

func (*HashingConfig) ProtoReflect

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

func (*HashingConfig) Reset

func (x *HashingConfig) Reset()

func (*HashingConfig) String

func (x *HashingConfig) String() string

type HashingConfig_Bcrypt

type HashingConfig_Bcrypt struct {
	// if bcrypt is set, use bcrypt.
	Bcrypt *BcryptHashingConfig `protobuf:"bytes,1,opt,name=bcrypt,proto3,oneof"`
}

type HashingConfig_Scrypt

type HashingConfig_Scrypt struct {
	// if scrypt is set, use scrypt.
	Scrypt *ScryptHashingConfig `protobuf:"bytes,2,opt,name=scrypt,proto3,oneof"`
}

type HashingInstance

type HashingInstance struct {

	// The hashing configuration.
	Config *HashingConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
	// A hash
	Hash []byte `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"`
	// Types that are assignable to Instance:
	//
	//	*HashingInstance_Bcrypt
	//	*HashingInstance_Scrypt
	Instance isHashingInstance_Instance `protobuf_oneof:"instance"`
	// contains filtered or unexported fields
}

Hashing instance.

func (*HashingInstance) Descriptor deprecated

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

Deprecated: Use HashingInstance.ProtoReflect.Descriptor instead.

func (*HashingInstance) GetBcrypt

func (x *HashingInstance) GetBcrypt() *BcryptHashingInstance

func (*HashingInstance) GetConfig

func (x *HashingInstance) GetConfig() *HashingConfig

func (*HashingInstance) GetHash

func (x *HashingInstance) GetHash() []byte

func (*HashingInstance) GetInstance

func (m *HashingInstance) GetInstance() isHashingInstance_Instance

func (*HashingInstance) GetScrypt

func (x *HashingInstance) GetScrypt() *ScryptHashingInstance

func (*HashingInstance) ProtoMessage

func (*HashingInstance) ProtoMessage()

func (*HashingInstance) ProtoReflect

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

func (*HashingInstance) Reset

func (x *HashingInstance) Reset()

func (*HashingInstance) String

func (x *HashingInstance) String() string

type HashingInstance_Bcrypt

type HashingInstance_Bcrypt struct {
	// if bcrypt is set, this bcrypt instance was used.
	Bcrypt *BcryptHashingInstance `protobuf:"bytes,3,opt,name=bcrypt,proto3,oneof"`
}

type HashingInstance_Scrypt

type HashingInstance_Scrypt struct {
	// if scrypt is set, this scrypt instance was used.
	Scrypt *ScryptHashingInstance `protobuf:"bytes,4,opt,name=scrypt,proto3,oneof"`
}

type InstanceMetrics

type InstanceMetrics struct {

	// Capsule of the instance.
	CapsuleId string `protobuf:"bytes,1,opt,name=capsule_id,json=capsuleId,proto3" json:"capsule_id,omitempty"`
	// Instance ID.
	InstanceId string `protobuf:"bytes,2,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
	// Main container metrics.
	MainContainer *ContainerMetrics `protobuf:"bytes,3,opt,name=main_container,json=mainContainer,proto3" json:"main_container,omitempty"`
	// Proxy container metrics.
	ProxyContainer *ContainerMetrics `protobuf:"bytes,4,opt,name=proxy_container,json=proxyContainer,proto3" json:"proxy_container,omitempty"`
	// contains filtered or unexported fields
}

Metrics for an instance

func (*InstanceMetrics) Descriptor deprecated

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

Deprecated: Use InstanceMetrics.ProtoReflect.Descriptor instead.

func (*InstanceMetrics) GetCapsuleId

func (x *InstanceMetrics) GetCapsuleId() string

func (*InstanceMetrics) GetInstanceId

func (x *InstanceMetrics) GetInstanceId() string

func (*InstanceMetrics) GetMainContainer

func (x *InstanceMetrics) GetMainContainer() *ContainerMetrics

func (*InstanceMetrics) GetProxyContainer

func (x *InstanceMetrics) GetProxyContainer() *ContainerMetrics

func (*InstanceMetrics) ProtoMessage

func (*InstanceMetrics) ProtoMessage()

func (*InstanceMetrics) ProtoReflect

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

func (*InstanceMetrics) Reset

func (x *InstanceMetrics) Reset()

func (*InstanceMetrics) String

func (x *InstanceMetrics) String() string

type LoginType

type LoginType int32

The LoginType enum defines the type of login.

const (
	// Default value.
	LoginType_LOGIN_TYPE_UNSPECIFIED LoginType = 0
	// Email and password login.
	LoginType_LOGIN_TYPE_EMAIL_PASSWORD LoginType = 1
	// deprecated: text is not supported - Phone number and password login.
	LoginType_LOGIN_TYPE_PHONE_PASSWORD LoginType = 2
	// Username and password login.
	LoginType_LOGIN_TYPE_USERNAME_PASSWORD LoginType = 3
	// SSO Login
	LoginType_LOGIN_TYPE_SSO LoginType = 4
)

func (LoginType) Descriptor

func (LoginType) Descriptor() protoreflect.EnumDescriptor

func (LoginType) Enum

func (x LoginType) Enum() *LoginType

func (LoginType) EnumDescriptor deprecated

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

Deprecated: Use LoginType.Descriptor instead.

func (LoginType) Number

func (x LoginType) Number() protoreflect.EnumNumber

func (LoginType) String

func (x LoginType) String() string

func (LoginType) Type

type MemberEntry

type MemberEntry struct {

	// The user or service account.
	//
	// Types that are assignable to Entry:
	//
	//	*MemberEntry_User
	//	*MemberEntry_ServiceAccount
	Entry    isMemberEntry_Entry    `protobuf_oneof:"entry"`
	JoinedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=joined_at,json=joinedAt,proto3" json:"joined_at,omitempty"` // when the member joined the group.
	// contains filtered or unexported fields
}

Entry model of a group member - placed in models to prevent cyclic imports.

func (*MemberEntry) Descriptor deprecated

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

Deprecated: Use MemberEntry.ProtoReflect.Descriptor instead.

func (*MemberEntry) GetEntry

func (m *MemberEntry) GetEntry() isMemberEntry_Entry

func (*MemberEntry) GetJoinedAt

func (x *MemberEntry) GetJoinedAt() *timestamppb.Timestamp

func (*MemberEntry) GetServiceAccount

func (x *MemberEntry) GetServiceAccount() *ServiceAccountEntry

func (*MemberEntry) GetUser

func (x *MemberEntry) GetUser() *UserEntry

func (*MemberEntry) ProtoMessage

func (*MemberEntry) ProtoMessage()

func (*MemberEntry) ProtoReflect

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

func (*MemberEntry) Reset

func (x *MemberEntry) Reset()

func (*MemberEntry) String

func (x *MemberEntry) String() string

type MemberEntry_ServiceAccount

type MemberEntry_ServiceAccount struct {
	ServiceAccount *ServiceAccountEntry `protobuf:"bytes,2,opt,name=service_account,json=serviceAccount,proto3,oneof"` // if the member is a service account.
}

type MemberEntry_User

type MemberEntry_User struct {
	// if the member is a user.
	User *UserEntry `protobuf:"bytes,1,opt,name=user,proto3,oneof"`
}

type Metadata

type Metadata struct {

	// Key of the metadata.
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// Value of the metadata.
	Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

Generic metadata model.

func (*Metadata) Descriptor deprecated

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

Deprecated: Use Metadata.ProtoReflect.Descriptor instead.

func (*Metadata) GetKey

func (x *Metadata) GetKey() string

func (*Metadata) GetValue

func (x *Metadata) GetValue() []byte

func (*Metadata) ProtoMessage

func (*Metadata) ProtoMessage()

func (*Metadata) ProtoReflect

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

func (*Metadata) Reset

func (x *Metadata) Reset()

func (*Metadata) String

func (x *Metadata) String() string

type Metric

type Metric struct {

	// Name of the metric.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Latest value of the metric.
	LatestValue float64 `protobuf:"fixed64,2,opt,name=latest_value,json=latestValue,proto3" json:"latest_value,omitempty"`
	// Timestamp of the latest value.
	LatestTimestamp *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=latest_timestamp,json=latestTimestamp,proto3" json:"latest_timestamp,omitempty"`
	// contains filtered or unexported fields
}

Custom metrics

func (*Metric) Descriptor deprecated

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

Deprecated: Use Metric.ProtoReflect.Descriptor instead.

func (*Metric) GetLatestTimestamp

func (x *Metric) GetLatestTimestamp() *timestamppb.Timestamp

func (*Metric) GetLatestValue

func (x *Metric) GetLatestValue() float64

func (*Metric) GetName

func (x *Metric) GetName() string

func (*Metric) ProtoMessage

func (*Metric) ProtoMessage()

func (*Metric) ProtoReflect

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

func (*Metric) Reset

func (x *Metric) Reset()

func (*Metric) String

func (x *Metric) String() string

type NotificationNotifier

type NotificationNotifier struct {
	Target       *NotificationTarget `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"`
	Topics       []NotificationTopic `protobuf:"varint,2,rep,packed,name=topics,proto3,enum=model.NotificationTopic" json:"topics,omitempty"`
	Environments *EnvironmentFilter  `protobuf:"bytes,3,opt,name=environments,proto3" json:"environments,omitempty"`
	// contains filtered or unexported fields
}

func (*NotificationNotifier) Descriptor deprecated

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

Deprecated: Use NotificationNotifier.ProtoReflect.Descriptor instead.

func (*NotificationNotifier) GetEnvironments

func (x *NotificationNotifier) GetEnvironments() *EnvironmentFilter

func (*NotificationNotifier) GetTarget

func (x *NotificationNotifier) GetTarget() *NotificationTarget

func (*NotificationNotifier) GetTopics

func (x *NotificationNotifier) GetTopics() []NotificationTopic

func (*NotificationNotifier) ProtoMessage

func (*NotificationNotifier) ProtoMessage()

func (*NotificationNotifier) ProtoReflect

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

func (*NotificationNotifier) Reset

func (x *NotificationNotifier) Reset()

func (*NotificationNotifier) String

func (x *NotificationNotifier) String() string

type NotificationTarget

type NotificationTarget struct {

	// Types that are assignable to Target:
	//
	//	*NotificationTarget_Slack
	//	*NotificationTarget_Email
	Target isNotificationTarget_Target `protobuf_oneof:"target"`
	// contains filtered or unexported fields
}

func (*NotificationTarget) Descriptor deprecated

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

Deprecated: Use NotificationTarget.ProtoReflect.Descriptor instead.

func (*NotificationTarget) GetEmail

func (*NotificationTarget) GetSlack

func (*NotificationTarget) GetTarget

func (m *NotificationTarget) GetTarget() isNotificationTarget_Target

func (*NotificationTarget) ProtoMessage

func (*NotificationTarget) ProtoMessage()

func (*NotificationTarget) ProtoReflect

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

func (*NotificationTarget) Reset

func (x *NotificationTarget) Reset()

func (*NotificationTarget) String

func (x *NotificationTarget) String() string

type NotificationTarget_Email

type NotificationTarget_Email struct {
	Email *NotificationTarget_EmailTarget `protobuf:"bytes,2,opt,name=email,proto3,oneof"`
}

type NotificationTarget_EmailTarget

type NotificationTarget_EmailTarget struct {
	Id        string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	FromEmail string   `protobuf:"bytes,2,opt,name=from_email,json=fromEmail,proto3" json:"from_email,omitempty"`
	ToEmails  []string `protobuf:"bytes,3,rep,name=to_emails,json=toEmails,proto3" json:"to_emails,omitempty"`
	// contains filtered or unexported fields
}

func (*NotificationTarget_EmailTarget) Descriptor deprecated

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

Deprecated: Use NotificationTarget_EmailTarget.ProtoReflect.Descriptor instead.

func (*NotificationTarget_EmailTarget) GetFromEmail

func (x *NotificationTarget_EmailTarget) GetFromEmail() string

func (*NotificationTarget_EmailTarget) GetId

func (*NotificationTarget_EmailTarget) GetToEmails

func (x *NotificationTarget_EmailTarget) GetToEmails() []string

func (*NotificationTarget_EmailTarget) ProtoMessage

func (*NotificationTarget_EmailTarget) ProtoMessage()

func (*NotificationTarget_EmailTarget) ProtoReflect

func (*NotificationTarget_EmailTarget) Reset

func (x *NotificationTarget_EmailTarget) Reset()

func (*NotificationTarget_EmailTarget) String

type NotificationTarget_Slack

type NotificationTarget_Slack struct {
	Slack *NotificationTarget_SlackTarget `protobuf:"bytes,1,opt,name=slack,proto3,oneof"`
}

type NotificationTarget_SlackTarget

type NotificationTarget_SlackTarget struct {
	Workspace string `protobuf:"bytes,1,opt,name=workspace,proto3" json:"workspace,omitempty"`
	ChannelId string `protobuf:"bytes,2,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
	// contains filtered or unexported fields
}

func (*NotificationTarget_SlackTarget) Descriptor deprecated

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

Deprecated: Use NotificationTarget_SlackTarget.ProtoReflect.Descriptor instead.

func (*NotificationTarget_SlackTarget) GetChannelId

func (x *NotificationTarget_SlackTarget) GetChannelId() string

func (*NotificationTarget_SlackTarget) GetWorkspace

func (x *NotificationTarget_SlackTarget) GetWorkspace() string

func (*NotificationTarget_SlackTarget) ProtoMessage

func (*NotificationTarget_SlackTarget) ProtoMessage()

func (*NotificationTarget_SlackTarget) ProtoReflect

func (*NotificationTarget_SlackTarget) Reset

func (x *NotificationTarget_SlackTarget) Reset()

func (*NotificationTarget_SlackTarget) String

type NotificationTopic

type NotificationTopic int32
const (
	NotificationTopic_NOTIFICATION_TOPIC_UNSPECIFIED NotificationTopic = 0
	NotificationTopic_NOTIFICATION_TOPIC_ROLLOUT     NotificationTopic = 1
	NotificationTopic_NOTIFICATION_TOPIC_ISSUE       NotificationTopic = 2
	NotificationTopic_NOTIFICATION_TOPIC_PROJECT     NotificationTopic = 3
	NotificationTopic_NOTIFICATION_TOPIC_ENVIRONMENT NotificationTopic = 4
	NotificationTopic_NOTIFICATION_TOPIC_CAPSULE     NotificationTopic = 5
	NotificationTopic_NOTIFICATION_TOPIC_USER        NotificationTopic = 6
)

func (NotificationTopic) Descriptor

func (NotificationTopic) Enum

func (NotificationTopic) EnumDescriptor deprecated

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

Deprecated: Use NotificationTopic.Descriptor instead.

func (NotificationTopic) Number

func (NotificationTopic) String

func (x NotificationTopic) String() string

func (NotificationTopic) Type

type ObjectReference

type ObjectReference struct {

	// Type of object.
	Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"`
	// Name of the object.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// Api version of the object.
	ApiVersion string `protobuf:"bytes,3,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"`
	// contains filtered or unexported fields
}

A reference to a kubernetes object.

func (*ObjectReference) Descriptor deprecated

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

Deprecated: Use ObjectReference.ProtoReflect.Descriptor instead.

func (*ObjectReference) GetApiVersion

func (x *ObjectReference) GetApiVersion() string

func (*ObjectReference) GetKind

func (x *ObjectReference) GetKind() string

func (*ObjectReference) GetName

func (x *ObjectReference) GetName() string

func (*ObjectReference) ProtoMessage

func (*ObjectReference) ProtoMessage()

func (*ObjectReference) ProtoReflect

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

func (*ObjectReference) Reset

func (x *ObjectReference) Reset()

func (*ObjectReference) String

func (x *ObjectReference) String() string

type Pagination

type Pagination struct {

	// Where to start the pagination.
	Offset uint32 `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"`
	// How many items to return.
	Limit uint32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
	// Whether to sort in descending order.
	Descending bool `protobuf:"varint,3,opt,name=descending,proto3" json:"descending,omitempty"`
	// contains filtered or unexported fields
}

Pagination option.

func (*Pagination) Descriptor deprecated

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

Deprecated: Use Pagination.ProtoReflect.Descriptor instead.

func (*Pagination) GetDescending

func (x *Pagination) GetDescending() bool

func (*Pagination) GetLimit

func (x *Pagination) GetLimit() uint32

func (*Pagination) GetOffset

func (x *Pagination) GetOffset() uint32

func (*Pagination) ProtoMessage

func (*Pagination) ProtoMessage()

func (*Pagination) ProtoReflect

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

func (*Pagination) Reset

func (x *Pagination) Reset()

func (*Pagination) String

func (x *Pagination) String() string

type Phase

type Phase struct {

	// Environment to promote to. The project must be active in this environment.
	EnvironmentId string `protobuf:"bytes,1,opt,name=environment_id,json=environmentId,proto3" json:"environment_id,omitempty"`
	// Fields prefixes to either promote or not.
	FieldPrefixes *FieldPrefixes `protobuf:"bytes,2,opt,name=field_prefixes,json=fieldPrefixes,proto3" json:"field_prefixes,omitempty"`
	// Promotion triggers.
	Triggers *Triggers `protobuf:"bytes,3,opt,name=triggers,proto3" json:"triggers,omitempty"`
	// contains filtered or unexported fields
}

func (*Phase) Descriptor deprecated

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

Deprecated: Use Phase.ProtoReflect.Descriptor instead.

func (*Phase) GetEnvironmentId

func (x *Phase) GetEnvironmentId() string

func (*Phase) GetFieldPrefixes

func (x *Phase) GetFieldPrefixes() *FieldPrefixes

func (*Phase) GetTriggers

func (x *Phase) GetTriggers() *Triggers

func (*Phase) ProtoMessage

func (*Phase) ProtoMessage()

func (*Phase) ProtoReflect

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

func (*Phase) Reset

func (x *Phase) Reset()

func (*Phase) String

func (x *Phase) String() string

type Pipeline

type Pipeline struct {

	// Custom name for the pipeline.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The environment to base the pipeline on.
	InitialEnvironment string `protobuf:"bytes,2,opt,name=initial_environment,json=initialEnvironment,proto3" json:"initial_environment,omitempty"`
	// The subsequent phases of the pipeline to promote to.
	Phases []*Phase `protobuf:"bytes,3,rep,name=phases,proto3" json:"phases,omitempty"`
	// The time the pipeline was created.
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// The time the pipeline was updated.
	UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// User specified description of the pipeline.
	Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

func (*Pipeline) Descriptor deprecated

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

Deprecated: Use Pipeline.ProtoReflect.Descriptor instead.

func (*Pipeline) GetCreatedAt

func (x *Pipeline) GetCreatedAt() *timestamppb.Timestamp

func (*Pipeline) GetDescription

func (x *Pipeline) GetDescription() string

func (*Pipeline) GetInitialEnvironment

func (x *Pipeline) GetInitialEnvironment() string

func (*Pipeline) GetName

func (x *Pipeline) GetName() string

func (*Pipeline) GetPhases

func (x *Pipeline) GetPhases() []*Phase

func (*Pipeline) GetUpdatedAt

func (x *Pipeline) GetUpdatedAt() *timestamppb.Timestamp

func (*Pipeline) ProtoMessage

func (*Pipeline) ProtoMessage()

func (*Pipeline) ProtoReflect

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

func (*Pipeline) Reset

func (x *Pipeline) Reset()

func (*Pipeline) String

func (x *Pipeline) String() string

type ProposalMetadata

type ProposalMetadata struct {
	CreatedAt   *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	CreatedBy   *Author                `protobuf:"bytes,2,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"`
	Fingerprint *Fingerprint           `protobuf:"bytes,3,opt,name=fingerprint,proto3" json:"fingerprint,omitempty"`
	SpawnPoint  *RepoBranch            `protobuf:"bytes,4,opt,name=spawn_point,json=spawnPoint,proto3" json:"spawn_point,omitempty"`
	Branch      string                 `protobuf:"bytes,5,opt,name=branch,proto3" json:"branch,omitempty"`
	ReviewUrl   string                 `protobuf:"bytes,6,opt,name=review_url,json=reviewUrl,proto3" json:"review_url,omitempty"`
	// Types that are assignable to Provider:
	//
	//	*ProposalMetadata_Github
	//	*ProposalMetadata_Gitlab
	Provider isProposalMetadata_Provider `protobuf_oneof:"provider"`
	// contains filtered or unexported fields
}

func (*ProposalMetadata) Descriptor deprecated

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

Deprecated: Use ProposalMetadata.ProtoReflect.Descriptor instead.

func (*ProposalMetadata) GetBranch

func (x *ProposalMetadata) GetBranch() string

func (*ProposalMetadata) GetCreatedAt

func (x *ProposalMetadata) GetCreatedAt() *timestamppb.Timestamp

func (*ProposalMetadata) GetCreatedBy

func (x *ProposalMetadata) GetCreatedBy() *Author

func (*ProposalMetadata) GetFingerprint

func (x *ProposalMetadata) GetFingerprint() *Fingerprint

func (*ProposalMetadata) GetGithub

func (x *ProposalMetadata) GetGithub() *GithubProposal

func (*ProposalMetadata) GetGitlab

func (x *ProposalMetadata) GetGitlab() *GitLabProposal

func (*ProposalMetadata) GetProvider

func (m *ProposalMetadata) GetProvider() isProposalMetadata_Provider

func (*ProposalMetadata) GetReviewUrl

func (x *ProposalMetadata) GetReviewUrl() string

func (*ProposalMetadata) GetSpawnPoint

func (x *ProposalMetadata) GetSpawnPoint() *RepoBranch

func (*ProposalMetadata) ProtoMessage

func (*ProposalMetadata) ProtoMessage()

func (*ProposalMetadata) ProtoReflect

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

func (*ProposalMetadata) Reset

func (x *ProposalMetadata) Reset()

func (*ProposalMetadata) String

func (x *ProposalMetadata) String() string

type ProposalMetadata_Github

type ProposalMetadata_Github struct {
	Github *GithubProposal `protobuf:"bytes,7,opt,name=github,proto3,oneof"`
}

type ProposalMetadata_Gitlab

type ProposalMetadata_Gitlab struct {
	Gitlab *GitLabProposal `protobuf:"bytes,8,opt,name=gitlab,proto3,oneof"`
}

type ProviderCredentials

type ProviderCredentials struct {

	// Public key.
	PublicKey string `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
	// Private key.
	PrivateKey string `protobuf:"bytes,2,opt,name=private_key,json=privateKey,proto3" json:"private_key,omitempty"`
	// contains filtered or unexported fields
}

Generic credentials model.

func (*ProviderCredentials) Descriptor deprecated

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

Deprecated: Use ProviderCredentials.ProtoReflect.Descriptor instead.

func (*ProviderCredentials) GetPrivateKey

func (x *ProviderCredentials) GetPrivateKey() string

func (*ProviderCredentials) GetPublicKey

func (x *ProviderCredentials) GetPublicKey() string

func (*ProviderCredentials) ProtoMessage

func (*ProviderCredentials) ProtoMessage()

func (*ProviderCredentials) ProtoReflect

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

func (*ProviderCredentials) Reset

func (x *ProviderCredentials) Reset()

func (*ProviderCredentials) String

func (x *ProviderCredentials) String() string

type RegisterInfo

type RegisterInfo struct {

	// Who created the user.
	CreaterId string          `protobuf:"bytes,1,opt,name=creater_id,json=createrId,proto3" json:"creater_id,omitempty"`
	Method    *RegisterMethod `protobuf:"bytes,2,opt,name=method,proto3" json:"method,omitempty"` // How the user was registered.
	// contains filtered or unexported fields
}

Registering information of a user.

func (*RegisterInfo) Descriptor deprecated

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

Deprecated: Use RegisterInfo.ProtoReflect.Descriptor instead.

func (*RegisterInfo) GetCreaterId

func (x *RegisterInfo) GetCreaterId() string

func (*RegisterInfo) GetMethod

func (x *RegisterInfo) GetMethod() *RegisterMethod

func (*RegisterInfo) ProtoMessage

func (*RegisterInfo) ProtoMessage()

func (*RegisterInfo) ProtoReflect

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

func (*RegisterInfo) Reset

func (x *RegisterInfo) Reset()

func (*RegisterInfo) String

func (x *RegisterInfo) String() string

type RegisterMethod

type RegisterMethod struct {

	// Types that are assignable to Method:
	//
	//	*RegisterMethod_System_
	//	*RegisterMethod_Signup_
	Method isRegisterMethod_Method `protobuf_oneof:"method"`
	// contains filtered or unexported fields
}

Method used to register a user.

func (*RegisterMethod) Descriptor deprecated

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

Deprecated: Use RegisterMethod.ProtoReflect.Descriptor instead.

func (*RegisterMethod) GetMethod

func (m *RegisterMethod) GetMethod() isRegisterMethod_Method

func (*RegisterMethod) GetSignup

func (x *RegisterMethod) GetSignup() *RegisterMethod_Signup

func (*RegisterMethod) GetSystem

func (x *RegisterMethod) GetSystem() *RegisterMethod_System

func (*RegisterMethod) ProtoMessage

func (*RegisterMethod) ProtoMessage()

func (*RegisterMethod) ProtoReflect

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

func (*RegisterMethod) Reset

func (x *RegisterMethod) Reset()

func (*RegisterMethod) String

func (x *RegisterMethod) String() string

type RegisterMethod_Signup

type RegisterMethod_Signup struct {

	// The login type used to sign up.
	LoginType LoginType `protobuf:"varint,1,opt,name=login_type,json=loginType,proto3,enum=model.LoginType" json:"login_type,omitempty"`
	// contains filtered or unexported fields
}

if the user was created by signing up.

func (*RegisterMethod_Signup) Descriptor deprecated

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

Deprecated: Use RegisterMethod_Signup.ProtoReflect.Descriptor instead.

func (*RegisterMethod_Signup) GetLoginType

func (x *RegisterMethod_Signup) GetLoginType() LoginType

func (*RegisterMethod_Signup) ProtoMessage

func (*RegisterMethod_Signup) ProtoMessage()

func (*RegisterMethod_Signup) ProtoReflect

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

func (*RegisterMethod_Signup) Reset

func (x *RegisterMethod_Signup) Reset()

func (*RegisterMethod_Signup) String

func (x *RegisterMethod_Signup) String() string

type RegisterMethod_Signup_

type RegisterMethod_Signup_ struct {
	Signup *RegisterMethod_Signup `protobuf:"bytes,2,opt,name=signup,proto3,oneof"` // user signed up.
}

type RegisterMethod_System

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

if the user was created by the system.

func (*RegisterMethod_System) Descriptor deprecated

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

Deprecated: Use RegisterMethod_System.ProtoReflect.Descriptor instead.

func (*RegisterMethod_System) ProtoMessage

func (*RegisterMethod_System) ProtoMessage()

func (*RegisterMethod_System) ProtoReflect

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

func (*RegisterMethod_System) Reset

func (x *RegisterMethod_System) Reset()

func (*RegisterMethod_System) String

func (x *RegisterMethod_System) String() string

type RegisterMethod_System_

type RegisterMethod_System_ struct {
	// system created the user.
	System *RegisterMethod_System `protobuf:"bytes,1,opt,name=system,proto3,oneof"`
}

type RepoBranch

type RepoBranch struct {
	Repository string `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
	Branch     string `protobuf:"bytes,2,opt,name=branch,proto3" json:"branch,omitempty"`
	// contains filtered or unexported fields
}

func (*RepoBranch) Descriptor deprecated

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

Deprecated: Use RepoBranch.ProtoReflect.Descriptor instead.

func (*RepoBranch) GetBranch

func (x *RepoBranch) GetBranch() string

func (*RepoBranch) GetRepository

func (x *RepoBranch) GetRepository() string

func (*RepoBranch) ProtoMessage

func (*RepoBranch) ProtoMessage()

func (*RepoBranch) ProtoReflect

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

func (*RepoBranch) Reset

func (x *RepoBranch) Reset()

func (*RepoBranch) String

func (x *RepoBranch) String() string

type Resources

type Resources struct {
	CpuMillis   uint64 `protobuf:"varint,1,opt,name=cpu_millis,json=cpuMillis,proto3" json:"cpu_millis,omitempty"`
	MemoryBytes uint64 `protobuf:"varint,2,opt,name=memory_bytes,json=memoryBytes,proto3" json:"memory_bytes,omitempty"`
	Pods        uint64 `protobuf:"varint,3,opt,name=pods,proto3" json:"pods,omitempty"`
	// contains filtered or unexported fields
}

func (*Resources) Descriptor deprecated

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

Deprecated: Use Resources.ProtoReflect.Descriptor instead.

func (*Resources) GetCpuMillis

func (x *Resources) GetCpuMillis() uint64

func (*Resources) GetMemoryBytes

func (x *Resources) GetMemoryBytes() uint64

func (*Resources) GetPods

func (x *Resources) GetPods() uint64

func (*Resources) ProtoMessage

func (*Resources) ProtoMessage()

func (*Resources) ProtoReflect

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

func (*Resources) Reset

func (x *Resources) Reset()

func (*Resources) String

func (x *Resources) String() string

type RevisionMetadata

type RevisionMetadata struct {
	CreatedAt   *timestamppb.Timestamp    `protobuf:"bytes,1,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt   *timestamppb.Timestamp    `protobuf:"bytes,2,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	UpdatedBy   *Author                   `protobuf:"bytes,3,opt,name=updated_by,json=updatedBy,proto3" json:"updated_by,omitempty"`
	Fingerprint *Fingerprint              `protobuf:"bytes,4,opt,name=fingerprint,proto3" json:"fingerprint,omitempty"`
	GitChange   *GitChange                `protobuf:"bytes,5,opt,name=git_change,json=gitChange,proto3" json:"git_change,omitempty"`
	Bookmarking *BookmarkingConfiguration `protobuf:"bytes,6,opt,name=bookmarking,proto3" json:"bookmarking,omitempty"`
	// contains filtered or unexported fields
}

func (*RevisionMetadata) Descriptor deprecated

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

Deprecated: Use RevisionMetadata.ProtoReflect.Descriptor instead.

func (*RevisionMetadata) GetBookmarking

func (x *RevisionMetadata) GetBookmarking() *BookmarkingConfiguration

func (*RevisionMetadata) GetCreatedAt

func (x *RevisionMetadata) GetCreatedAt() *timestamppb.Timestamp

func (*RevisionMetadata) GetFingerprint

func (x *RevisionMetadata) GetFingerprint() *Fingerprint

func (*RevisionMetadata) GetGitChange

func (x *RevisionMetadata) GetGitChange() *GitChange

func (*RevisionMetadata) GetUpdatedAt

func (x *RevisionMetadata) GetUpdatedAt() *timestamppb.Timestamp

func (*RevisionMetadata) GetUpdatedBy

func (x *RevisionMetadata) GetUpdatedBy() *Author

func (*RevisionMetadata) ProtoMessage

func (*RevisionMetadata) ProtoMessage()

func (*RevisionMetadata) ProtoReflect

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

func (*RevisionMetadata) Reset

func (x *RevisionMetadata) Reset()

func (*RevisionMetadata) String

func (x *RevisionMetadata) String() string

type Revisions

type Revisions struct {
	Projects     []*RevisionMetadata `protobuf:"bytes,5,rep,name=projects,proto3" json:"projects,omitempty"`
	Environments []*RevisionMetadata `protobuf:"bytes,6,rep,name=environments,proto3" json:"environments,omitempty"`
	CapsuleSets  []*RevisionMetadata `protobuf:"bytes,7,rep,name=capsule_sets,json=capsuleSets,proto3" json:"capsule_sets,omitempty"`
	Capsules     []*RevisionMetadata `protobuf:"bytes,8,rep,name=capsules,proto3" json:"capsules,omitempty"`
	// contains filtered or unexported fields
}

func (*Revisions) Descriptor deprecated

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

Deprecated: Use Revisions.ProtoReflect.Descriptor instead.

func (*Revisions) GetCapsuleSets

func (x *Revisions) GetCapsuleSets() []*RevisionMetadata

func (*Revisions) GetCapsules

func (x *Revisions) GetCapsules() []*RevisionMetadata

func (*Revisions) GetEnvironments

func (x *Revisions) GetEnvironments() []*RevisionMetadata

func (*Revisions) GetProjects

func (x *Revisions) GetProjects() []*RevisionMetadata

func (*Revisions) ProtoMessage

func (*Revisions) ProtoMessage()

func (*Revisions) ProtoReflect

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

func (*Revisions) Reset

func (x *Revisions) Reset()

func (*Revisions) String

func (x *Revisions) String() string

type ScryptHashingConfig

type ScryptHashingConfig struct {

	// The key used to sign the salt.
	SignerKey string `protobuf:"bytes,1,opt,name=signer_key,json=signerKey,proto3" json:"signer_key,omitempty"`
	// The salt separator.
	SaltSeparator string `protobuf:"bytes,2,opt,name=salt_separator,json=saltSeparator,proto3" json:"salt_separator,omitempty"`
	// The number of rounds in the algorithm.
	Rounds int32 `protobuf:"varint,3,opt,name=rounds,proto3" json:"rounds,omitempty"`
	// The memory cost of the algorithm.
	MemCost int32 `protobuf:"varint,4,opt,name=mem_cost,json=memCost,proto3" json:"mem_cost,omitempty"`
	// The parallelization factor of the algorithm.
	P int32 `protobuf:"varint,5,opt,name=p,proto3" json:"p,omitempty"`
	// The length of the key.
	KeyLen int32 `protobuf:"varint,6,opt,name=key_len,json=keyLen,proto3" json:"key_len,omitempty"`
	// contains filtered or unexported fields
}

Scrypt hashing configuration.

func (*ScryptHashingConfig) Descriptor deprecated

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

Deprecated: Use ScryptHashingConfig.ProtoReflect.Descriptor instead.

func (*ScryptHashingConfig) GetKeyLen

func (x *ScryptHashingConfig) GetKeyLen() int32

func (*ScryptHashingConfig) GetMemCost

func (x *ScryptHashingConfig) GetMemCost() int32

func (*ScryptHashingConfig) GetP

func (x *ScryptHashingConfig) GetP() int32

func (*ScryptHashingConfig) GetRounds

func (x *ScryptHashingConfig) GetRounds() int32

func (*ScryptHashingConfig) GetSaltSeparator

func (x *ScryptHashingConfig) GetSaltSeparator() string

func (*ScryptHashingConfig) GetSignerKey

func (x *ScryptHashingConfig) GetSignerKey() string

func (*ScryptHashingConfig) ProtoMessage

func (*ScryptHashingConfig) ProtoMessage()

func (*ScryptHashingConfig) ProtoReflect

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

func (*ScryptHashingConfig) Reset

func (x *ScryptHashingConfig) Reset()

func (*ScryptHashingConfig) String

func (x *ScryptHashingConfig) String() string

type ScryptHashingInstance

type ScryptHashingInstance struct {

	// The salt used to hash the password.
	Salt []byte `protobuf:"bytes,1,opt,name=salt,proto3" json:"salt,omitempty"`
	// contains filtered or unexported fields
}

Scrypt hashing instance.

func (*ScryptHashingInstance) Descriptor deprecated

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

Deprecated: Use ScryptHashingInstance.ProtoReflect.Descriptor instead.

func (*ScryptHashingInstance) GetSalt

func (x *ScryptHashingInstance) GetSalt() []byte

func (*ScryptHashingInstance) ProtoMessage

func (*ScryptHashingInstance) ProtoMessage()

func (*ScryptHashingInstance) ProtoReflect

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

func (*ScryptHashingInstance) Reset

func (x *ScryptHashingInstance) Reset()

func (*ScryptHashingInstance) String

func (x *ScryptHashingInstance) String() string

type ServiceAccountEntry

type ServiceAccountEntry struct {

	// unique id of the service account.
	ServiceAccountId string                 `protobuf:"bytes,1,opt,name=service_account_id,json=serviceAccountId,proto3" json:"service_account_id,omitempty"`
	Name             string                 `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`                            // name of the service account.
	ClientId         string                 `protobuf:"bytes,3,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`    // client id of the service account.
	GroupIds         []string               `protobuf:"bytes,4,rep,name=group_ids,json=groupIds,proto3" json:"group_ids,omitempty"`    // groups the service account belongs to.
	CreatedAt        *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // when the service account was created.
	CreatedBy        *Author                `protobuf:"bytes,6,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"` // who created the service account.
	// contains filtered or unexported fields
}

Entry model of a service account - placed in models to prevent cyclic imports.

func (*ServiceAccountEntry) Descriptor deprecated

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

Deprecated: Use ServiceAccountEntry.ProtoReflect.Descriptor instead.

func (*ServiceAccountEntry) GetClientId

func (x *ServiceAccountEntry) GetClientId() string

func (*ServiceAccountEntry) GetCreatedAt

func (x *ServiceAccountEntry) GetCreatedAt() *timestamppb.Timestamp

func (*ServiceAccountEntry) GetCreatedBy

func (x *ServiceAccountEntry) GetCreatedBy() *Author

func (*ServiceAccountEntry) GetGroupIds

func (x *ServiceAccountEntry) GetGroupIds() []string

func (*ServiceAccountEntry) GetName

func (x *ServiceAccountEntry) GetName() string

func (*ServiceAccountEntry) GetServiceAccountId

func (x *ServiceAccountEntry) GetServiceAccountId() string

func (*ServiceAccountEntry) ProtoMessage

func (*ServiceAccountEntry) ProtoMessage()

func (*ServiceAccountEntry) ProtoReflect

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

func (*ServiceAccountEntry) Reset

func (x *ServiceAccountEntry) Reset()

func (*ServiceAccountEntry) String

func (x *ServiceAccountEntry) String() string

type Trigger

type Trigger struct {

	// The conditions that must be met for the trigger to fire.
	Conditions []*Trigger_Condition `protobuf:"bytes,1,rep,name=conditions,proto3" json:"conditions,omitempty"`
	// If true, all conditions must be met for the trigger to fire. Otherwise only
	// a single condition must be met.
	RequireAll bool `protobuf:"varint,2,opt,name=require_all,json=requireAll,proto3" json:"require_all,omitempty"`
	// If true, the trigger is enabled. Otherwise it is disabled.
	Enabled bool `protobuf:"varint,3,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// contains filtered or unexported fields
}

func (*Trigger) Descriptor deprecated

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

Deprecated: Use Trigger.ProtoReflect.Descriptor instead.

func (*Trigger) GetConditions

func (x *Trigger) GetConditions() []*Trigger_Condition

func (*Trigger) GetEnabled

func (x *Trigger) GetEnabled() bool

func (*Trigger) GetRequireAll

func (x *Trigger) GetRequireAll() bool

func (*Trigger) ProtoMessage

func (*Trigger) ProtoMessage()

func (*Trigger) ProtoReflect

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

func (*Trigger) Reset

func (x *Trigger) Reset()

func (*Trigger) String

func (x *Trigger) String() string

type Trigger_Condition

type Trigger_Condition struct {

	// Types that are assignable to Condition:
	//
	//	*Trigger_Condition_TimeAlive
	Condition isTrigger_Condition_Condition `protobuf_oneof:"Condition"`
	// contains filtered or unexported fields
}

Condition that must be met for the trigger to fire.

func (*Trigger_Condition) Descriptor deprecated

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

Deprecated: Use Trigger_Condition.ProtoReflect.Descriptor instead.

func (*Trigger_Condition) GetCondition

func (m *Trigger_Condition) GetCondition() isTrigger_Condition_Condition

func (*Trigger_Condition) GetTimeAlive

func (x *Trigger_Condition) GetTimeAlive() *durationpb.Duration

func (*Trigger_Condition) ProtoMessage

func (*Trigger_Condition) ProtoMessage()

func (*Trigger_Condition) ProtoReflect

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

func (*Trigger_Condition) Reset

func (x *Trigger_Condition) Reset()

func (*Trigger_Condition) String

func (x *Trigger_Condition) String() string

type Trigger_Condition_TimeAlive

type Trigger_Condition_TimeAlive struct {
	TimeAlive *durationpb.Duration `protobuf:"bytes,1,opt,name=time_alive,json=timeAlive,proto3,oneof"`
}

type Triggers

type Triggers struct {

	// The automatic trigger
	Automatic *Trigger `protobuf:"bytes,1,opt,name=automatic,proto3" json:"automatic,omitempty"`
	// The manual trigger
	Manual *Trigger `protobuf:"bytes,2,opt,name=manual,proto3" json:"manual,omitempty"`
	// contains filtered or unexported fields
}

func (*Triggers) Descriptor deprecated

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

Deprecated: Use Triggers.ProtoReflect.Descriptor instead.

func (*Triggers) GetAutomatic

func (x *Triggers) GetAutomatic() *Trigger

func (*Triggers) GetManual

func (x *Triggers) GetManual() *Trigger

func (*Triggers) ProtoMessage

func (*Triggers) ProtoMessage()

func (*Triggers) ProtoReflect

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

func (*Triggers) Reset

func (x *Triggers) Reset()

func (*Triggers) String

func (x *Triggers) String() string

type UserEntry

type UserEntry struct {

	// unique id of the user.
	UserId        string                 `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	PrintableName string                 `protobuf:"bytes,2,opt,name=printable_name,json=printableName,proto3" json:"printable_name,omitempty"` // pretty printable name of a user.
	RegisterInfo  *RegisterInfo          `protobuf:"bytes,3,opt,name=register_info,json=registerInfo,proto3" json:"register_info,omitempty"`    // how the user was registered.
	Verified      bool                   `protobuf:"varint,4,opt,name=verified,proto3" json:"verified,omitempty"`                               // whether the user is verified.
	GroupIds      []string               `protobuf:"bytes,5,rep,name=group_ids,json=groupIds,proto3" json:"group_ids,omitempty"`                // groups the user belongs to.
	CreatedAt     *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`             // when the user was created.
	// contains filtered or unexported fields
}

Entry model of a user - placed in models to prevent cyclic imports.

func (*UserEntry) Descriptor deprecated

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

Deprecated: Use UserEntry.ProtoReflect.Descriptor instead.

func (*UserEntry) GetCreatedAt

func (x *UserEntry) GetCreatedAt() *timestamppb.Timestamp

func (*UserEntry) GetGroupIds

func (x *UserEntry) GetGroupIds() []string

func (*UserEntry) GetPrintableName

func (x *UserEntry) GetPrintableName() string

func (*UserEntry) GetRegisterInfo

func (x *UserEntry) GetRegisterInfo() *RegisterInfo

func (*UserEntry) GetUserId

func (x *UserEntry) GetUserId() string

func (*UserEntry) GetVerified

func (x *UserEntry) GetVerified() bool

func (*UserEntry) ProtoMessage

func (*UserEntry) ProtoMessage()

func (*UserEntry) ProtoReflect

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

func (*UserEntry) Reset

func (x *UserEntry) Reset()

func (*UserEntry) String

func (x *UserEntry) String() string

type UserIdentifier

type UserIdentifier struct {

	// Types that are assignable to Identifier:
	//
	//	*UserIdentifier_Username
	//	*UserIdentifier_Email
	//	*UserIdentifier_PhoneNumber
	Identifier isUserIdentifier_Identifier `protobuf_oneof:"identifier"`
	// contains filtered or unexported fields
}

different fields that can identify a user.

func (*UserIdentifier) Descriptor deprecated

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

Deprecated: Use UserIdentifier.ProtoReflect.Descriptor instead.

func (*UserIdentifier) GetEmail

func (x *UserIdentifier) GetEmail() string

func (*UserIdentifier) GetIdentifier

func (m *UserIdentifier) GetIdentifier() isUserIdentifier_Identifier

func (*UserIdentifier) GetPhoneNumber

func (x *UserIdentifier) GetPhoneNumber() string

func (*UserIdentifier) GetUsername

func (x *UserIdentifier) GetUsername() string

func (*UserIdentifier) ProtoMessage

func (*UserIdentifier) ProtoMessage()

func (*UserIdentifier) ProtoReflect

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

func (*UserIdentifier) Reset

func (x *UserIdentifier) Reset()

func (*UserIdentifier) String

func (x *UserIdentifier) String() string

type UserIdentifier_Email

type UserIdentifier_Email struct {
	Email string `protobuf:"bytes,2,opt,name=email,proto3,oneof"` // email is unique.
}

type UserIdentifier_PhoneNumber

type UserIdentifier_PhoneNumber struct {
	PhoneNumber string `protobuf:"bytes,3,opt,name=phone_number,json=phoneNumber,proto3,oneof"` // Deprecated: text is not supported - phone number is unique.
}

type UserIdentifier_Username

type UserIdentifier_Username struct {
	// username is unique.
	Username string `protobuf:"bytes,1,opt,name=username,proto3,oneof"`
}

type UserInfo

type UserInfo struct {

	// email of the user.
	Email       string                 `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
	Username    string                 `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`                          // username of the user.
	PhoneNumber string                 `protobuf:"bytes,3,opt,name=phone_number,json=phoneNumber,proto3" json:"phone_number,omitempty"` // Deprecated: text is not supported - phone number of the user.
	CreatedAt   *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`       // when the user was created.
	GroupIds    []string               `protobuf:"bytes,6,rep,name=group_ids,json=groupIds,proto3" json:"group_ids,omitempty"`          // groups the user belongs to.
	// contains filtered or unexported fields
}

Userinfo - placed in models to prevent cyclic imports.

func (*UserInfo) Descriptor deprecated

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

Deprecated: Use UserInfo.ProtoReflect.Descriptor instead.

func (*UserInfo) GetCreatedAt

func (x *UserInfo) GetCreatedAt() *timestamppb.Timestamp

func (*UserInfo) GetEmail

func (x *UserInfo) GetEmail() string

func (*UserInfo) GetGroupIds

func (x *UserInfo) GetGroupIds() []string

func (*UserInfo) GetPhoneNumber

func (x *UserInfo) GetPhoneNumber() string

func (*UserInfo) GetUsername

func (x *UserInfo) GetUsername() string

func (*UserInfo) ProtoMessage

func (*UserInfo) ProtoMessage()

func (*UserInfo) ProtoReflect

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

func (*UserInfo) Reset

func (x *UserInfo) Reset()

func (*UserInfo) String

func (x *UserInfo) String() string

Jump to

Keyboard shortcuts

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