Skip to main content

platform-api

api.v1.activity.Service

Method NameRequest TypeResponse TypeDescription
/api.v1.activity.Service/GetActivitiesGetActivitiesRequestGetActivitiesResponseGet Activities

api.v1.authentication.Service

Method NameRequest TypeResponse TypeDescription
/api.v1.authentication.Service/LoginLoginRequestLoginResponseLogin authenticats a user and returns a access/refresh token
/api.v1.authentication.Service/LogoutLogoutRequestLogoutResponseLogout validates the access token and blocks it afterwards
/api.v1.authentication.Service/GetGetRequestGetResponseGet the logged in user
/api.v1.authentication.Service/RegisterRegisterRequestRegisterResponseRegister creates a new user
/api.v1.authentication.Service/SendPasswordResetSendPasswordResetRequestSendPasswordResetResponseSend reset password email to the user
/api.v1.authentication.Service/ResetPasswordResetPasswordRequestResetPasswordResponseReset password of the user
/api.v1.authentication.Service/DeleteDeleteRequestDeleteResponseDelete logged in user
/api.v1.authentication.Service/RefreshTokenRefreshTokenRequestRefreshTokenResponseRefresh logged in token pair
/api.v1.authentication.Service/GetAuthConfigGetAuthConfigRequestGetAuthConfigResponseGet auth config for how available login methods
/api.v1.authentication.Service/VerifyEmailVerifyEmailRequestVerifyEmailResponseVerify email
/api.v1.authentication.Service/VerifyPhoneNumberVerifyPhoneNumberRequestVerifyPhoneNumberResponseVerify phone number
/api.v1.authentication.Service/SendVerificationEmailSendVerificationEmailRequestSendVerificationEmailResponse

api.v1.capsule.Service

Method NameRequest TypeResponse TypeDescription
/api.v1.capsule.Service/CreateCreateRequestCreateResponseCreate a new capsule.
/api.v1.capsule.Service/GetGetRequestGetResponseGet a capsule by id.
/api.v1.capsule.Service/DeleteDeleteRequestDeleteResponseDelete a capsule.
/api.v1.capsule.Service/LogsLogsRequestLogsResponse streamLogs returns (and streams) the log output of a capsule.
/api.v1.capsule.Service/UpdateUpdateRequestUpdateResponseUpdate a capsule.
/api.v1.capsule.Service/ListListRequestListResponseLists all capsules for current project.
/api.v1.capsule.Service/DeployDeployRequestDeployResponseDeploy changes to a capsule. When deploying, a new rollout will be initiated. Only one rollout can be running at a single point in time. Use Abort to abort an already running rollout.
/api.v1.capsule.Service/DeploySetDeploySetRequestDeploySetResponse
/api.v1.capsule.Service/ProposeRolloutProposeRolloutRequestProposeRolloutResponse
/api.v1.capsule.Service/ProposeSetRolloutProposeSetRolloutRequestProposeSetRolloutResponse
/api.v1.capsule.Service/ListProposalsListProposalsRequestListProposalsResponse
/api.v1.capsule.Service/ListSetProposalsListSetProposalsRequestListSetProposalsResponse
/api.v1.capsule.Service/GetProposalsEnabledGetProposalsEnabledRequestGetProposalsEnabledResponse
/api.v1.capsule.Service/ListInstancesListInstancesRequestListInstancesResponseLists all instances for the capsule.
/api.v1.capsule.Service/RestartInstanceRestartInstanceRequestRestartInstanceResponseRestart a single capsule instance.
/api.v1.capsule.Service/GetRolloutGetRolloutRequestGetRolloutResponseGet a single rollout by ID.
/api.v1.capsule.Service/ListRolloutsListRolloutsRequestListRolloutsResponseLists all rollouts for the capsule.
/api.v1.capsule.Service/WatchRolloutsWatchRolloutsRequestWatchRolloutsResponse streamStream rollouts for a capsule.
/api.v1.capsule.Service/AbortRolloutAbortRolloutRequestAbortRolloutResponseAbort the rollout.
/api.v1.capsule.Service/StopRolloutStopRolloutRequestStopRolloutResponseStop a Rollout, removing all resources associated with it.
/api.v1.capsule.Service/ListEventsListEventsRequestListEventsResponseList capsule events.
/api.v1.capsule.Service/CapsuleMetricsCapsuleMetricsRequestCapsuleMetricsResponseGet metrics for a capsule
/api.v1.capsule.Service/GetInstanceStatusGetInstanceStatusRequestGetInstanceStatusResponseGetInstanceStatus returns the current status for the given instance.
/api.v1.capsule.Service/ListInstanceStatusesListInstanceStatusesRequestListInstanceStatusesResponseListInstanceStatuses lists the status of all instances.
/api.v1.capsule.Service/WatchInstanceStatusesWatchInstanceStatusesRequestWatchInstanceStatusesResponse streamStream Instance Statuses of a capsule.
/api.v1.capsule.Service/ExecuteExecuteRequest streamExecuteResponse streamExecute executes a command in a given in instance, and returns the output along with an exit code.
/api.v1.capsule.Service/PortForwardPortForwardRequest streamPortForwardResponse streamPortForward establishes a port-forwarding for the port to the given instance.
/api.v1.capsule.Service/GetCustomInstanceMetricsGetCustomInstanceMetricsRequestGetCustomInstanceMetricsResponse
/api.v1.capsule.Service/GetJobExecutionsGetJobExecutionsRequestGetJobExecutionsResponseGet list of job executions performed by the Capsule.
/api.v1.capsule.Service/GetStatusGetStatusRequestGetStatusResponse
/api.v1.capsule.Service/GetRevisionGetRevisionRequestGetRevisionResponse
/api.v1.capsule.Service/GetRolloutOfRevisionsGetRolloutOfRevisionsRequestGetRolloutOfRevisionsResponse
/api.v1.capsule.Service/WatchStatusWatchStatusRequestWatchStatusResponse streamStream the status of a capsule.
/api.v1.capsule.Service/GetEffectiveGitSettingsGetEffectiveGitSettingsRequestGetEffectiveGitSettingsResponse
/api.v1.capsule.Service/StartPipelineStartPipelineRequestStartPipelineResponseWill initiate the pipeline, from the initial environment and it's current rollout.
/api.v1.capsule.Service/GetPipelineStatusGetPipelineStatusRequestGetPipelineStatusResponse
/api.v1.capsule.Service/PromotePipelinePromotePipelineRequestPromotePipelineResponseProgress the pipeline to the next environment.
/api.v1.capsule.Service/AbortPipelineAbortPipelineRequestAbortPipelineResponseAbort the pipeline execution. This will stop the pipeline from any further promotions.
/api.v1.capsule.Service/ListPipelineStatusesListPipelineStatusesRequestListPipelineStatusesResponse

api.v1.cluster.Service

Method NameRequest TypeResponse TypeDescription
/api.v1.cluster.Service/ListListRequestListResponse
/api.v1.cluster.Service/GetConfigGetConfigRequestGetConfigResponseGetConfig returns the config for the cluster.
/api.v1.cluster.Service/GetConfigsGetConfigsRequestGetConfigsResponseGetConfigs returns the configs for all clusters.
/api.v1.cluster.Service/ListNodesListNodesRequestListNodesResponse
/api.v1.cluster.Service/ListNodePodsListNodePodsRequestListNodePodsResponse

api.v1.environment.Service

Method NameRequest TypeResponse TypeDescription
/api.v1.environment.Service/CreateCreateRequestCreateResponse
/api.v1.environment.Service/UpdateUpdateRequestUpdateResponse
/api.v1.environment.Service/DeleteDeleteRequestDeleteResponse
/api.v1.environment.Service/ListListRequestListResponseList available environments.
/api.v1.environment.Service/GetNamespacesGetNamespacesRequestGetNamespacesResponse
/api.v1.environment.Service/GetGetRequestGetResponse

api.v1.group.Service

Method NameRequest TypeResponse TypeDescription
/api.v1.group.Service/CreateCreateRequestCreateResponseCreate a new group.
/api.v1.group.Service/DeleteDeleteRequestDeleteResponseDelete a group.
/api.v1.group.Service/ListListRequestListResponseList groups.
/api.v1.group.Service/UpdateUpdateRequestUpdateResponseUpdate group.
/api.v1.group.Service/GetGetRequestGetResponseGet group.
/api.v1.group.Service/AddMemberAddMemberRequestAddMemberResponseAdd a member to a group.
/api.v1.group.Service/RemoveMemberRemoveMemberRequestRemoveMemberResponseRemove member from group.
/api.v1.group.Service/ListMembersListMembersRequestListMembersResponseGet Group Members.
/api.v1.group.Service/ListGroupsForMemberListGroupsForMemberRequestListGroupsForMemberResponseGet Groups.

api.v1.image.Service

Method NameRequest TypeResponse TypeDescription
/api.v1.image.Service/GetImageInfoGetImageInfoRequestGetImageInfoResponseGet Information about an image in a image.
/api.v1.image.Service/GetRepositoryInfoGetRepositoryInfoRequestGetRepositoryInfoResponseGet Information about a docker registry repository.
/api.v1.image.Service/GetGetRequestGetResponseGet a image.
/api.v1.image.Service/AddAddRequestAddResponseAdd a new image. Images are immutable and cannot change. Add a new image to make changes from an existing one.
/api.v1.image.Service/ListListRequestListResponseList images for a capsule.
/api.v1.image.Service/DeleteDeleteRequestDeleteResponseDelete a image.

api.v1.issue.Service

Method NameRequest TypeResponse TypeDescription
/api.v1.issue.Service/GetIssuesGetIssuesRequestGetIssuesResponseGet issues

api.v1.metrics.Service

Method NameRequest TypeResponse TypeDescription
/api.v1.metrics.Service/GetMetricsGetMetricsRequestGetMetricsResponseRetrieve metrics. metric_type is mandatory, while the rest of the fields in the tags are optional. If project, env or capsule is not specified, they will be treated as wildcards.
/api.v1.metrics.Service/GetMetricsManyGetMetricsManyRequestGetMetricsManyResponseRetrive metrics for multiple sets of tags at a time. Metrics within the same set of tags will be in ascending order of timestamp.
/api.v1.metrics.Service/GetMetricsExpressionGetMetricsExpressionRequestGetMetricsExpressionResponse

api.v1.project.Service

Method NameRequest TypeResponse TypeDescription
/api.v1.project.Service/CreateCreateRequestCreateResponseCreate project.
/api.v1.project.Service/DeleteDeleteRequestDeleteResponseDelete project.
/api.v1.project.Service/GetGetRequestGetResponseGet project.
/api.v1.project.Service/ListListRequestListResponseGet project list.
/api.v1.project.Service/UpdateUpdateRequestUpdateResponseUpdate updates the profile of the project.
/api.v1.project.Service/PublicKeyPublicKeyRequestPublicKeyResponseGet public key.
/api.v1.project.Service/GetObjectsByKindGetObjectsByKindRequestGetObjectsByKindResponseReturns all objects of a given kind.
/api.v1.project.Service/GetCustomObjectMetricsGetCustomObjectMetricsRequestGetCustomObjectMetricsResponseReturns all metrics of a given custom object.
/api.v1.project.Service/GetEffectiveGitSettingsGetEffectiveGitSettingsRequestGetEffectiveGitSettingsResponse
/api.v1.project.Service/GetEffectivePipelineSettingsGetEffectivePipelineSettingsRequestGetEffectivePipelineSettingsResponse
/api.v1.project.Service/GetEffectiveNotificationSettingsGetEffectiveNotificationSettingsRequestGetEffectiveNotificationSettingsResponse

api.v1.project.settings.Service

Method NameRequest TypeResponse TypeDescription
/api.v1.project.settings.Service/GetSettingsGetSettingsRequestGetSettingsResponseGets the users settings for the current project.
/api.v1.project.settings.Service/UpdateSettingsUpdateSettingsRequestUpdateSettingsResponseSets the users settings for the current project.
/api.v1.project.settings.Service/GetLicenseInfoGetLicenseInfoRequestGetLicenseInfoResponseGet License Information.

api.v1.role.Service

Method NameRequest TypeResponse TypeDescription
/api.v1.role.Service/CreateCreateRequestCreateResponseCreate a new role.
/api.v1.role.Service/DeleteDeleteRequestDeleteResponseDelete role.
/api.v1.role.Service/ListListRequestListResponseList roles.
/api.v1.role.Service/UpdateUpdateRequestUpdateResponseUpdate role
/api.v1.role.Service/GetGetRequestGetResponseGet role.
/api.v1.role.Service/AssignAssignRequestAssignResponseAssign a role.
/api.v1.role.Service/RevokeRevokeRequestRevokeResponseRevoke a role.
/api.v1.role.Service/ListForEntityListForEntityRequestListForEntityResponseList roles for an entity.
/api.v1.role.Service/ListAssigneesListAssigneesRequestListAssigneesResponseList Assignees.

api.v1.service_account.Service

Method NameRequest TypeResponse TypeDescription
/api.v1.service_account.Service/CreateCreateRequestCreateResponseCreate a new Service Account. The returned client_id and client_secret can be used as login credentials. Note that the client_secret can only be read out once, at creation.
/api.v1.service_account.Service/ListListRequestListResponseList all service accounts.
/api.v1.service_account.Service/DeleteDeleteRequestDeleteResponseDelete a service account. It can take up to the TTL of access tokens for existing sessions using this service_account, to expire.

api.v1.settings.Service

Method NameRequest TypeResponse TypeDescription
/api.v1.settings.Service/GetConfigurationGetConfigurationRequestGetConfigurationResponse
/api.v1.settings.Service/GetSettingsGetSettingsRequestGetSettingsResponse
/api.v1.settings.Service/UpdateSettingsUpdateSettingsRequestUpdateSettingsResponse
/api.v1.settings.Service/GetLicenseInfoGetLicenseInfoRequestGetLicenseInfoResponse
/api.v1.settings.Service/GetGitStoreStatusGetGitStoreStatusRequestGetGitStoreStatusResponse

api.v1.tunnel.Service

Method NameRequest TypeResponse TypeDescription
/api.v1.tunnel.Service/TunnelTunnelRequest streamTunnelResponse stream

api.v1.user.Service

Method NameRequest TypeResponse TypeDescription
/api.v1.user.Service/CreateCreateRequestCreateResponseCreate a new user.
/api.v1.user.Service/UpdateUpdateRequestUpdateResponseUpdate a users profile and info.
/api.v1.user.Service/ListSessionsListSessionsRequestListSessionsResponseGet the list of active sessions for the given user.
/api.v1.user.Service/GetGetRequestGetResponseGet a user by user-id.
/api.v1.user.Service/GetByIdentifierGetByIdentifierRequestGetByIdentifierResponseLookup a user by a unique identifier - email, username, phone number etc.
/api.v1.user.Service/ListListRequestListResponseList users.
/api.v1.user.Service/DeleteDeleteRequestDeleteResponseDelete a specific user.

api.v1.user.settings.Service

Method NameRequest TypeResponse TypeDescription
/api.v1.user.settings.Service/GetSettingsGetSettingsRequestGetSettingsResponseGets the users settings for the current project.
/api.v1.user.settings.Service/UpdateSettingsUpdateSettingsRequestUpdateSettingsResponseSets the users settings for the current project.

api/v1/capsule/rollout/status.proto

ConfigureCapsuleStep

A step configuring a capsule.

FieldTypeLabelDescription
infoStepInfoStep information.
stateConfigureResultThe state of the step.

ConfigureCommitStep

A step committing the changes to git

FieldTypeLabelDescription
infoStepInfoStep information
commit_hashstringThe hash of the commit containing the changes
commit_urlstringThe url to the commit (if known. May be empty)

ConfigureEnvStep

A step configuring an environment.

FieldTypeLabelDescription
infoStepInfoStep information.
stateConfigureResultThe result of the environment configuration.
is_secretboolWhether the environment is a secret.

ConfigureFileStep

A step configuring a file.

FieldTypeLabelDescription
infoStepInfoStep information.
stateConfigureResultThe result of the file configuration.
pathstringThe path of the file.
is_secretboolWhether the file is a secret.

ConfigureStage

The configure stage.

FieldTypeLabelDescription
infoStageInfoStage information.
stepsConfigureSteprepeatedThe steps of the stage.

ConfigureStep

A step of the configure stage.

FieldTypeLabelDescription
genericGenericStepA generic step.
configure_capsuleConfigureCapsuleStepA step configuring a capsule.
configure_fileConfigureFileStepA step configuring a file.
configure_envConfigureEnvStepA step configuring an environment.
commitConfigureCommitStepA step for commiting the changes to git.

CreateResourceStep

A step creating a resource.

FieldTypeLabelDescription
infoStepInfoStep information.
kindstringThe kind of the resource.
namestringThe name of the resource.

GenericStep

A generic step of a stage.

FieldTypeLabelDescription
infoStepInfoStep information.

InstancesStep

Information on the instances of the rollout.

FieldTypeLabelDescription
infoStepInfoStep information.
num_updateduint32The number of updated instances.
num_readyuint32The number of ready instances.
num_stuckuint32The number of stuck instances.
num_wrong_versionuint32The number of instances with the wrong version.

ResourceCreationStage

The resource creation stage.

FieldTypeLabelDescription
infoStageInfoStage information.
stepsResourceCreationSteprepeatedThe steps of the stage.

ResourceCreationStep

A step of the resource creation stage.

FieldTypeLabelDescription
genericGenericStepA generic step.
create_resourceCreateResourceStepA step creating a resource.

RunningStage

The running stage.

FieldTypeLabelDescription
infoStageInfoStage information.
stepsRunningSteprepeatedThe steps of the stage.

RunningStep

A step of the running stage.

FieldTypeLabelDescription
genericGenericStepA generic step.
instancesInstancesStepA step containing information on the instances of the rollout.

StageInfo

Information about a stage of a rollout.

FieldTypeLabelDescription
namestringName of the stage.
updated_atgoogle.protobuf.TimestampThe last time the stage was updated.
stateStageStateThe current state of the stage.
started_atgoogle.protobuf.TimestampThe time the stage started.

Stages

The three stages of a rollout

FieldTypeLabelDescription
configureConfigureStageThe configure stage.
resource_creationResourceCreationStageThe resource creation stage.
runningRunningStageThe running stage.

Status

Status is a representation of the current state of a rollout.

FieldTypeLabelDescription
rollout_iduint64The ID of the rollout.
stateStateThe current state of the rollout.
stagesStagesThe stages of the rollout.
updated_atgoogle.protobuf.TimestampThe last time the rollout was updated.
resultResultThe result of the rollout.

StepInfo

Information about a step of a stage.

FieldTypeLabelDescription
namestringName of the step.
messagestringMessages in the step.
updated_atgoogle.protobuf.TimestampThe last time the step was updated.
stateStepStateThe current state of the step.
started_atgoogle.protobuf.TimestampThe time the step started.

ConfigureResult

The result of a configuration step.

NameNumberDescription
CONFIGURE_RESULT_UNSPECIFIED0The result is unspecified.
CONFIGURE_RESULT_CREATED1The resource is to be created.
CONFIGURE_RESULT_UPDATED2The resource is to be updated.
CONFIGURE_RESULT_NO_CHANGE3The resource has no change.
CONFIGURE_RESULT_DELETED4The resource is to be deleted.

Result

Different result of a rollout.

NameNumberDescription
RESULT_UNSPECIFIED0The result is unspecified.
RESULT_REPLACED1The rollout has been replaced.
RESULT_FAILED2The rollout has failed.
RESULT_ABORTED3The rollout has been aborted.
RESULT_ROLLBACK4The rollout has been rolled back.

StageState

Different states a stage can be in.

NameNumberDescription
STAGE_STATE_UNSPECIFIED0The state is unspecified.
STAGE_STATE_DEPLOYING1The stage is deploying.
STAGE_STATE_RUNNING2The stage is running.
STAGE_STATE_STOPPED3The stage is stopped.

State

Different states a rollout can be in.

NameNumberDescription
STATE_UNSPECIFIED0The state is unspecified.
STATE_PREPARING1The rollout is preparing.
STATE_CONFIGURE2The rollout is configuring.
STATE_RESOURCE_CREATION3The rollout is creating resources.
STATE_RUNNING4The rollout is running.
STATE_STOPPED5The rollout is stopped.

StepState

Different states a step can be in.

NameNumberDescription
STEP_STATE_UNSPECIFIED0The state is unspecified.
STEP_STATE_ONGOING1The step is ongoing.
STEP_STATE_FAILED2The step failed.
STEP_STATE_DONE3The step is done.

api/v1/activity/activity.proto

Activity

FieldTypeLabelDescription
timestampgoogle.protobuf.Timestamp
scopeScope
messageMessage

Message

FieldTypeLabelDescription
rolloutMessage.Rollout
projectMessage.Project
environmentMessage.Environment
capsuleMessage.Capsule
userMessage.User

Message.Capsule

FieldTypeLabelDescription
capsule_idstring
deletedbool

Message.Environment

FieldTypeLabelDescription
environment_idstring
deletedbool

Message.Project

FieldTypeLabelDescription
project_idstring
deletedbool

Message.Rollout

FieldTypeLabelDescription
rollout_iduint64
stateapi.v1.capsule.rollout.StepState

Message.User

FieldTypeLabelDescription
printable_namestring
deletedbool

Scope

FieldTypeLabelDescription
projectstring
environmentstring
capsulestring
userstring

model/common.proto

BcryptHashingConfig

Bcrypt hashing configuration.

FieldTypeLabelDescription
costint32The cost of the hashing algorithm.

BcryptHashingInstance

Bcrypt hashing instance.

HashingConfig

Hashing configuration.

FieldTypeLabelDescription
bcryptBcryptHashingConfigif bcrypt is set, use bcrypt.
scryptScryptHashingConfigif scrypt is set, use scrypt.

HashingInstance

Hashing instance.

FieldTypeLabelDescription
configHashingConfigThe hashing configuration.
hashbytesA hash
bcryptBcryptHashingInstanceif bcrypt is set, this bcrypt instance was used.
scryptScryptHashingInstanceif scrypt is set, this scrypt instance was used.

Pagination

Pagination option.

FieldTypeLabelDescription
offsetuint32Where to start the pagination.
limituint32How many items to return.
descendingboolWhether to sort in descending order.

ScryptHashingConfig

Scrypt hashing configuration.

FieldTypeLabelDescription
signer_keystringThe key used to sign the salt.
salt_separatorstringThe salt separator.
roundsint32The number of rounds in the algorithm.
mem_costint32The memory cost of the algorithm.
pint32The parallelization factor of the algorithm.
key_lenint32The length of the key.

ScryptHashingInstance

Scrypt hashing instance.

FieldTypeLabelDescription
saltbytesThe salt used to hash the password.

api/v1/activity/service.proto

ActivityFilter

FieldTypeLabelDescription
project_filterstring
environment_filterstring
capsule_filterstring
user_identifier_filterstring

GetActivitiesRequest

FieldTypeLabelDescription
fromgoogle.protobuf.Timestamp
togoogle.protobuf.Timestamp
paginationmodel.Pagination
filterActivityFilter

GetActivitiesResponse

FieldTypeLabelDescription
activitiesActivityrepeated
totaluint64

model/auth.proto

AuthMethod

Message that tells how the user was authenticated.

FieldTypeLabelDescription
login_typeLoginType

LoginType

The LoginType enum defines the type of login.

NameNumberDescription
LOGIN_TYPE_UNSPECIFIED0Default value.
LOGIN_TYPE_EMAIL_PASSWORD1Email and password login.
LOGIN_TYPE_PHONE_PASSWORD2deprecated: text is not supported - Phone number and password login.
LOGIN_TYPE_USERNAME_PASSWORD3Username and password login.
LOGIN_TYPE_SSO4SSO Login

model/author.proto

Author

Author of a change.

FieldTypeLabelDescription
identifierstringCached identifier of the author, e.g. email or username at the time of change.
printable_namestringCached pretty-printed name of the author at the time of change.
user_idstringif a user did the change
service_account_idstringif a service account did the change

model/user.proto

MemberEntry

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

FieldTypeLabelDescription
userUserEntryif the member is a user.
service_accountServiceAccountEntryif the member is a service account.
joined_atgoogle.protobuf.Timestampwhen the member joined the group.

RegisterInfo

Registering information of a user.

FieldTypeLabelDescription
creater_idstringWho created the user.
methodRegisterMethodHow the user was registered.

RegisterMethod

Method used to register a user.

FieldTypeLabelDescription
systemRegisterMethod.Systemsystem created the user.
signupRegisterMethod.Signupuser signed up.

RegisterMethod.Signup

if the user was created by signing up.

FieldTypeLabelDescription
login_typeLoginTypeThe login type used to sign up.

RegisterMethod.System

if the user was created by the system.

ServiceAccountEntry

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

FieldTypeLabelDescription
service_account_idstringunique id of the service account.
namestringname of the service account.
client_idstringclient id of the service account.
group_idsstringrepeatedgroups the service account belongs to.
created_atgoogle.protobuf.Timestampwhen the service account was created.
created_byAuthorwho created the service account.

UserEntry

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

FieldTypeLabelDescription
user_idstringunique id of the user.
printable_namestringpretty printable name of a user.
register_infoRegisterInfohow the user was registered.
verifiedboolwhether the user is verified.
group_idsstringrepeatedgroups the user belongs to.
created_atgoogle.protobuf.Timestampwhen the user was created.

UserIdentifier

different fields that can identify a user.

FieldTypeLabelDescription
usernamestringusername is unique.
emailstringemail is unique.
phone_numberstringDeprecated: text is not supported - phone number is unique.

UserInfo

Userinfo - placed in models to prevent cyclic imports.

FieldTypeLabelDescription
emailstringemail of the user.
usernamestringusername of the user.
phone_numberstringDeprecated: text is not supported - phone number of the user.
created_atgoogle.protobuf.Timestampwhen the user was created.
group_idsstringrepeatedgroups the user belongs to.

api/v1/authentication/user.proto

ClientCredentials

FieldTypeLabelDescription
client_idstringID of the service account
client_secretstringsecret of the service account

Token

FieldTypeLabelDescription
access_tokenstringAccess token
refresh_tokenstringRefresh token

UserPassword

FieldTypeLabelDescription
identifiermodel.UserIdentifierIdentifier of user. This can be username, email etc.
passwordstringPassword of the user

api/v1/authentication/service.proto

DeleteRequest

Request to delete the logged in user. The user ID etc. is taken from the token.

DeleteResponse

Empty response to the delete request.

GetAuthConfigRequest

Empty Request to get the auth config containing the available login mechanisms and if self-registering is enabled.

GetAuthConfigResponse

Response with the auth config containing the available login mechanisms and if self-registering is enabled.

FieldTypeLabelDescription
namestringThe name of the project
logo_urlstringThe logo of the project
validate_passwordboolIf to validate password
login_typesmodel.LoginTyperepeatedArray of supported login methods.
allows_registerboolTrue if new users can sign up.
sso_optionsSSOOptionrepeatedSSO login options

GetRequest

Get request to get the logged in user. The user ID etc. is taken from the token.

GetResponse

Response with user information to the get request.

FieldTypeLabelDescription
user_infomodel.UserInfoInformation about the user.
user_idstringID of the user

LoginRequest

Login request with either user identifier & email or client credentials.

FieldTypeLabelDescription
user_passwordUserPasswordUser identifier & password.
client_credentialsClientCredentialsClient credentials from service account.

LoginResponse

Login response with tokens and user information.

FieldTypeLabelDescription
tokenTokenThe access token and refresh token.
user_idstringID of the user.
user_infomodel.UserInfoUser information.

LogoutRequest

Empty logout request. The user ID etc. is taken from the token.

LogoutResponse

Empty response to the logout request.

RefreshTokenRequest

Request to refresh the access and refresh token of the logged in user.

FieldTypeLabelDescription
refresh_tokenstringThe access token of the user Refresh token matching the access token.

RefreshTokenResponse

Response with new access and refresh token.

FieldTypeLabelDescription
tokenTokenNew refresh and access tokens

RegisterRequest

Register request for users to self-register. This is only possible with the register bool set in users settings.

FieldTypeLabelDescription
user_passwordUserPasswordUser identifier & password for the new user.

RegisterResponse

Register response with tokens and user information.

FieldTypeLabelDescription
tokenTokenAccess and refresh token for the new logged in user.
user_idstringUser ID of the new user.
user_infomodel.UserInfoInformation about the new user.

ResetPasswordRequest

Request to reset the password of a user with a verification code sent to the email.

FieldTypeLabelDescription
codestringThe 6 digit verification code
new_passwordstringThe new password
identifiermodel.UserIdentifierIdentifier of the user
tokenstringJWT token to reset the password.

ResetPasswordResponse

Empty response to the reset password request

SSOID

Represents an SSO provided ID of a user

FieldTypeLabelDescription
typeSSOTypeWhat type of SSO this ID is from
provider_idstringThe ID of the SSO provider
sso_idstringThe ID provided by SSO
user_idstringThe internal user ID

SSOOption

A login option for using SSO. This might be merged into GetAuthConfigResponse.login_types, but is introduced as a separate field, to maintain backwards compatibility.

FieldTypeLabelDescription
typeSSOTypeType of SSO. Currently only OIDC is supported.
provider_idstringID of the SSO provider as given in the platform configuration.
namestringName of SSO provider. This is an optional human readable version of the provider ID.
iconstringURL of the underlying issuer. This can be used in the frontend for showing specific items for certain known issuers.

SendPasswordResetRequest

Request to send a reset password email to the user. This is only possible if an email provider is configured, and the user has an email.

FieldTypeLabelDescription
identifiermodel.UserIdentifierUser identifier of the user.

SendPasswordResetResponse

Empty response to the send password reset request

FieldTypeLabelDescription
tokenstringJWT token to reset the password.

SendVerificationEmailRequest

Request to send an email containing the code for the email verification flow. This is an upsert, and will invalidate the current verification-code if it exists. Only possible if an email-provider is configured, and the user has en email.

FieldTypeLabelDescription
identifiermodel.UserIdentifierUser identifier of the user.

SendVerificationEmailResponse

Empty response for sending a verification email

FieldTypeLabelDescription
tokenstringJWT token to verify the email.

VerifyEmailRequest

Request to verify the email of a user with a verification code sent to the email.

FieldTypeLabelDescription
codestringThe verification code.
emailstringThe email of the user.
tokenstringJWT token to verify the email.

VerifyEmailResponse

Empty response to the Verify Email Request.

VerifyPhoneNumberRequest

Request to verify the phone number of a user with a verification code sent to the phone number.

FieldTypeLabelDescription
codestring
phone_numberstring

VerifyPhoneNumberResponse

Empty response to the Verify Phone Number Request.

SSOType

The type of SSO. Currently only OIDC is supported.

NameNumberDescription
SSO_TYPE_UNSPECIFIED0
SSO_TYPE_OIDC1

model/environment.proto

EnvironmentFilter

FieldTypeLabelDescription
allEnvironmentFilter.All
selectedEnvironmentFilter.Selected

EnvironmentFilter.All

FieldTypeLabelDescription
include_ephemeralbool

EnvironmentFilter.Selected

FieldTypeLabelDescription
environment_idsstringrepeated

model/git.proto

BitBucketInfo

FieldTypeLabelDescription
teamstring
projectstring
repositorystring

Commit

FieldTypeLabelDescription
providerGitProvider
githubGitHubInfo
gitlabGitLabInfo
bitbucketBitBucketInfo
commit_idstring
commit_urlstring
repository_urlstring

GitChange

FieldTypeLabelDescription
commitCommit
pathsstringrepeated

GitHubInfo

FieldTypeLabelDescription
ownerstring
repositorystring

GitLabInfo

FieldTypeLabelDescription
groupsstringrepeated
projectstring

GitStatus

FieldTypeLabelDescription
last_processed_commit_idstring
last_processed_commit_timegoogle.protobuf.Timestamp
last_successful_commit_idstring
last_successful_commit_timegoogle.protobuf.Timestamp
errorstring

GitStore

FieldTypeLabelDescription
disabledbool
repositorystring
branchstring
capsule_pathstring
capsule_set_pathstring
commit_templatestring
environmentsEnvironmentFilter
pr_title_templatestring
pr_body_templatestring
require_pull_requestbool

RepoBranch

FieldTypeLabelDescription
repositorystring
branchstring

GitProvider

NameNumberDescription
GIT_PROVIDER_UNSPECIFIED0
GIT_PROVIDER_GITHUB1
GIT_PROVIDER_GITLAB2
GIT_PROVIDER_BITBUCKET3

api/v1/capsule/capsule.proto

Capsule

Environment wide capsule abstraction.

FieldTypeLabelDescription
capsule_idstringID of the capsule.
updated_atgoogle.protobuf.TimestampLast time the capsule was updated.
updated_bymodel.AuthorAuthor of the last update.
git_storemodel.GitStore

Update

FieldTypeLabelDescription
set_git_storemodel.GitStoreSet the git store.

api/v1/capsule/job.proto

CronJob

Specification for a cron job.

FieldTypeLabelDescription
job_namestringName of the job.
schedulestringCron schedule.
max_retriesint32Maximum number of retries.
timeoutgoogle.protobuf.DurationMaximum duration of the job.
urlJobURLURL job.
commandJobCommandCommand job.

JobCommand

Run a job by running a command in an instance of a capsule

FieldTypeLabelDescription
commandstringCommand to run.
argsstringrepeatedArguments to pass to the command.

JobExecution

An execution of a cron job.

FieldTypeLabelDescription
job_namestringName of the job.
created_atgoogle.protobuf.TimestampWhen the job started running.
finished_atgoogle.protobuf.TimestampWhen the job finished.
stateJobStateThe state of the job.
retriesint32Number of retries.
rollout_iduint64ID of the rollout.
capsule_idstringID of the capsule.
project_idstringID of the project.
execution_idstringID of the execution.
environment_idstringID of the environment.

JobURL

Run a job by making a HTTP request to a URL.

FieldTypeLabelDescription
portuint64Port to make the request to.
pathstringPath to make the request to.
query_parametersJobURL.QueryParametersEntryrepeatedQuery parameters to add to the request.

JobURL.QueryParametersEntry

FieldTypeLabelDescription
keystring
valuestring

JobState

Different states a job execution can be in

NameNumberDescription
JOB_STATE_UNSPECIFIED0Default value.
JOB_STATE_ONGOING1The job is running.
JOB_STATE_COMPLETED2The job completed successfully.
JOB_STATE_FAILED3The job failed.
JOB_STATE_TERMINATED4The job was terminated.

model/metrics.proto

ContainerMetrics

Metrics for a container.

FieldTypeLabelDescription
timestampgoogle.protobuf.TimestampTimestamp of the metrics.
memory_bytesuint64Memory usage in bytes.
cpu_msuint64CPU usage in milliseconds.
storage_bytesuint64Storage usage in bytes.

InstanceMetrics

Metrics for an instance

FieldTypeLabelDescription
capsule_idstringCapsule of the instance.
instance_idstringInstance ID.
main_containerContainerMetricsMain container metrics.
proxy_containerContainerMetricsProxy container metrics.

Metric

Custom metrics

FieldTypeLabelDescription
namestringName of the metric.
latest_valuedoubleLatest value of the metric.
latest_timestampgoogle.protobuf.TimestampTimestamp of the latest value.

ObjectReference

A reference to a kubernetes object.

FieldTypeLabelDescription
kindstringType of object.
namestringName of the object.
api_versionstringApi version of the object.

Resources

FieldTypeLabelDescription
cpu_millisuint64
memory_bytesuint64
podsuint64

k8s.io/api/autoscaling/v2/generated.proto

CrossVersionObjectReference

FieldTypeLabelDescription
kindstring
namestring
apiVersionstring

platform/v1/generated.proto

CPUTarget

FieldTypeLabelDescription
utilizationuint32

Capsule

FieldTypeLabelDescription
kindstring
apiVersionstring
namestring
projectstring
environmentstring
specCapsuleSpec

CapsuleInterface

FieldTypeLabelDescription
namestring
portint32
livenessInterfaceLivenessProbe
readinessInterfaceReadinessProbe
routesHostRouterepeated

CapsuleSet

FieldTypeLabelDescription
kindstring
apiVersionstring
namestring
projectstring
specCapsuleSpec
environmentsCapsuleSet.EnvironmentsEntryrepeated
environmentRefsstringrepeated

CapsuleSet.EnvironmentsEntry

FieldTypeLabelDescription
keystring
valueCapsuleSpec

CapsuleSpec

FieldTypeLabelDescription
annotationsCapsuleSpec.AnnotationsEntryrepeated
imagestring
commandstring
argsstringrepeated
interfacesCapsuleInterfacerepeated
filesFilerepeated
envEnvironmentVariables
scaleScale
cronJobsCronJobrepeated
autoAddRigServiceAccountsbool
extensionsCapsuleSpec.ExtensionsEntryrepeated

CapsuleSpec.AnnotationsEntry

FieldTypeLabelDescription
keystring
valuestring

CapsuleSpec.ExtensionsEntry

FieldTypeLabelDescription
keystring
valuegoogle.protobuf.Struct

CronJob

FieldTypeLabelDescription
namestring
schedulestring
urlURL
commandJobCommand
maxRetriesuint64
timeoutSecondsuint64

CustomMetric

FieldTypeLabelDescription
instanceMetricInstanceMetric
objectMetricObjectMetric

Environment

FieldTypeLabelDescription
kindstring
apiVersionstring
namestring
namespaceTemplatestring
operatorVersionstring
clusterstring
specProjEnvCapsuleBase
ephemeralbool
activeProjectsstringrepeated
globalbool

EnvironmentSource

FieldTypeLabelDescription
namestring
kindstring

EnvironmentVariables

FieldTypeLabelDescription
rawEnvironmentVariables.RawEntryrepeated
sourcesEnvironmentSourcerepeated

EnvironmentVariables.RawEntry

FieldTypeLabelDescription
keystring
valuestring

File

FieldTypeLabelDescription
pathstring
asSecretbool
bytesbytes
stringstring
refFileReference

FileReference

FieldTypeLabelDescription
kindstring
namestring
keystring

HTTPPathRoute

FieldTypeLabelDescription
pathstring
matchstring

HorizontalScale

FieldTypeLabelDescription
minuint32
maxuint32
instancesInstances
cpuTargetCPUTarget
customMetricsCustomMetricrepeated

HostCapsule

FieldTypeLabelDescription
kindstring
apiVersionstring
namestring
projectstring
environmentstring
networkHostNetwork

HostNetwork

FieldTypeLabelDescription
hostInterfacesProxyInterfacerepeated
capsuleInterfacesProxyInterfacerepeated
tunnelPortuint32

HostRoute

FieldTypeLabelDescription
idstring
hoststring
pathsHTTPPathRouterepeated
annotationsHostRoute.AnnotationsEntryrepeated

HostRoute.AnnotationsEntry

FieldTypeLabelDescription
keystring
valuestring

InstanceMetric

FieldTypeLabelDescription
metricNamestring
matchLabelsInstanceMetric.MatchLabelsEntryrepeated
averageValuestring

InstanceMetric.MatchLabelsEntry

FieldTypeLabelDescription
keystring
valuestring

Instances

FieldTypeLabelDescription
minuint32
maxuint32

InterfaceGRPCProbe

FieldTypeLabelDescription
servicestring
enabledbool

InterfaceLivenessProbe

FieldTypeLabelDescription
pathstring
tcpbool
grpcInterfaceGRPCProbe
startupDelayuint32

InterfaceOptions

FieldTypeLabelDescription
tcpbool
allowOriginstring
changeOriginbool
headersInterfaceOptions.HeadersEntryrepeated

InterfaceOptions.HeadersEntry

FieldTypeLabelDescription
keystring
valuestring

InterfaceReadinessProbe

FieldTypeLabelDescription
pathstring
tcpbool
grpcInterfaceGRPCProbe

JobCommand

FieldTypeLabelDescription
commandstring
argsstringrepeated

ObjectMetric

FieldTypeLabelDescription
metricNamestring
matchLabelsObjectMetric.MatchLabelsEntryrepeated
averageValuestring
valuestring
objectReferencek8s.io.api.autoscaling.v2.CrossVersionObjectReference

ObjectMetric.MatchLabelsEntry

FieldTypeLabelDescription
keystring
valuestring

ProjEnvCapsuleBase

FieldTypeLabelDescription
filesFilerepeated
envEnvironmentVariables

Project

FieldTypeLabelDescription
kindstring
apiVersionstring
namestring
specProjEnvCapsuleBase

ProxyInterface

FieldTypeLabelDescription
portuint32
targetstring
optionsInterfaceOptions

ResourceLimits

FieldTypeLabelDescription
requeststring
limitstring

ResourceRequest

FieldTypeLabelDescription
requeststring

Scale

FieldTypeLabelDescription
horizontalHorizontalScale
verticalVerticalScale

URL

FieldTypeLabelDescription
portuint32
pathstring
queryParametersURL.QueryParametersEntryrepeated

URL.QueryParametersEntry

FieldTypeLabelDescription
keystring
valuestring

VerticalScale

FieldTypeLabelDescription
cpuResourceLimits
memoryResourceLimits
gpuResourceRequest

api/v1/capsule/change.proto

CPUTarget

Autoscaling based on CPU target.

FieldTypeLabelDescription
average_utilization_percentageuint32Average CPU utilization target.

Change

Change to a capsule that ultimately results in a new rollout.

FieldTypeLabelDescription
replicasuint32Number of replicas changed.
image_idstringNew image change.
networkNetworkNetwork interfaces change.
container_settingsContainerSettingsContainer settings of the instances.
auto_add_rig_service_accountsboolAutomatically add a rig-service account.
set_config_fileChange.ConfigFileSet a config file - either update or add.
set_config_file_refChange.ConfigFileRefSet a config file ref - either update or add.
remove_config_filestringPath of a config file to remove.
horizontal_scaleHorizontalScaleHorizontal scaling settings.
rollbackChange.RollbackRollback to a previous rollout.
set_environment_variableChange.KeyValueUpdate or add an environment variable.
remove_environment_variablestringName of an environment variable to remove.
set_environment_sourceEnvironmentSourceSet or update an environment source.
remove_environment_sourceEnvironmentSourceRemove an environment source.
command_argumentsChange.CommandArgumentsEntrypoint for capsule instances.
add_cron_jobCronJobAdd a cron job.
remove_cron_jobChange.RemoveCronJobRemove a cron job.
set_interfaceInterfaceAdd or update a network interface.
remove_interfacestringRemove a network interface.
set_annotationsChange.AnnotationsSet capsule annotations.
set_annotationChange.KeyValueUpdate or add a single capsule annotation.
remove_annotationstringName of a single capsule annotation to remove.
add_imageChange.AddImageImage to deploy, adding it to images if not already present.
specplatform.v1.CapsuleSpecComplete capsule-spec to replace the current.

Change.AddImage

FieldTypeLabelDescription
imagestring

Change.Annotations

FieldTypeLabelDescription
annotationsChange.Annotations.AnnotationsEntryrepeated

Change.Annotations.AnnotationsEntry

FieldTypeLabelDescription
keystring
valuestring

Change.CommandArguments

Entrypoint for the capsule instances.

FieldTypeLabelDescription
commandstringCommand to run.
argsstringrepeatedarguments to the command.

Change.ConfigFile

Config file change.

FieldTypeLabelDescription
pathstringPath of the file in the instance.
contentbytesContent of the config file.
is_secretboolTrue if the content is secret.

Change.ConfigFileRef

Config file ref change.

FieldTypeLabelDescription
pathstringPath of the file in the instance.
kindstringKind of the object to inject as config file. Either ConfigMap or Secret.
namestringName of the object to inject as a config file.
keystringKey of the data within the object contents.

Change.CronJobs

Jobs change

FieldTypeLabelDescription
jobsCronJobrepeatedThe jobs.

Change.KeyValue

Key-value change.

FieldTypeLabelDescription
namestringName of the property.
valuestringThe value of the property.

Change.RemoveCronJob

Remove cron job change.

FieldTypeLabelDescription
job_namestringName of the job to remove

Change.Rollback

Rollback change.

FieldTypeLabelDescription
rollback_iduint64Rollout to roll back to.

ContainerSettings

Settings for the instance container

FieldTypeLabelDescription
environment_variablesContainerSettings.EnvironmentVariablesEntryrepeatedEnvironment variables.
commandstringEntrypoint for the container.
argsstringrepeatedArguments to the container.
resourcesResourcesResource requests and limits.
environment_sourcesEnvironmentSourcerepeatedEnvironment sources.

ContainerSettings.EnvironmentVariablesEntry

FieldTypeLabelDescription
keystring
valuestring

CustomMetric

Autoscaling based on custom metrics.

FieldTypeLabelDescription
instanceInstanceMetricIf scaling based on metrics across all intstances / pods.
objectObjectMetricIf scaling based on metrics for a specific kubernetes resource object.

EnvironmentSource

Source of environment variables

FieldTypeLabelDescription
namestringName of the source
kindEnvironmentSource.KindType of the source

GpuLimits

GPU resource limits

FieldTypeLabelDescription
typestringgpu resource type - fx. nvidia.com/gpu
countuint32number of gpus

HTTPPathRoute

FieldTypeLabelDescription
pathstring
matchPathMatchType

HorizontalScale

Horizontal scaling settings.

FieldTypeLabelDescription
max_replicasuint32Maximum number of replicas.
min_replicasuint32Minimum number of replicas.
cpu_targetCPUTargetCPU target for autoscaling.
custom_metricsCustomMetricrepeatedIf scaling based on custom metrics.

HostRoute

FieldTypeLabelDescription
hoststring
optionsRouteOptions
pathsHTTPPathRouterepeated
idstring

InstanceMetric

Metric emitted by instances / pods.

FieldTypeLabelDescription
metric_namestringName of the metric
match_labelsInstanceMetric.MatchLabelsEntryrepeatedLabels of the instances to match.
average_valuestringAverage value target.

InstanceMetric.MatchLabelsEntry

FieldTypeLabelDescription
keystring
valuestring

Interface

A single network interface.

FieldTypeLabelDescription
portuint32Port of the interface.
namestringName of the interface.
publicPublicInterfaceIf public interface is enabled. Contains ingress or load balancer settings.
livenessInterfaceProbeLiveness probe.
readinessInterfaceProbeReadiness probe.
routesHostRouterepeatedRoutes for the network interface.

InterfaceProbe

Probe for liveness or readiness.

FieldTypeLabelDescription
httpInterfaceProbe.HTTP
tcpInterfaceProbe.TCP
grpcInterfaceProbe.GRPC

InterfaceProbe.GRPC

GRPC service for the probe.

FieldTypeLabelDescription
servicestring

InterfaceProbe.HTTP

HTTP path for the probe.

FieldTypeLabelDescription
pathstring

InterfaceProbe.TCP

IF TCP probe.

Network

A network configuration of network interfaces.

FieldTypeLabelDescription
interfacesInterfacerepeatedAll the network interfaces.

ObjectMetric

Metric emitted by kubernetes object.

FieldTypeLabelDescription
metric_namestringName of the metric.
match_labelsObjectMetric.MatchLabelsEntryrepeatedLabels of the object to match.
average_valuestringAverage value target.
valuestringValue target.
object_referencemodel.ObjectReferenceReference to the object.

ObjectMetric.MatchLabelsEntry

FieldTypeLabelDescription
keystring
valuestring

PublicInterface

Public interface configuration.

FieldTypeLabelDescription
enabledboolTrue if the interface is public.
methodRoutingMethodRouting method - Ingress or Load Balancer.

ResourceList

CPU and Memory resource request or limits

FieldTypeLabelDescription
cpu_millisuint32Unit: milli-CPUs
memory_bytesuint64Unit: Bytes

Resources

Container resources requests and limits

FieldTypeLabelDescription
requestsResourceListCPU and memory requests.
limitsResourceListCPU and memory limits
gpu_limitsGpuLimitsGPU Limits

RouteOptions

FieldTypeLabelDescription
annotationsRouteOptions.AnnotationsEntryrepeated

RouteOptions.AnnotationsEntry

FieldTypeLabelDescription
keystring
valuestring

RoutingMethod

The routing method for the public interface.

FieldTypeLabelDescription
load_balancerRoutingMethod.LoadBalancer
ingressRoutingMethod.Ingress

RoutingMethod.Ingress

Ingress routing.

FieldTypeLabelDescription
hoststringHostname of the ingress.
tlsboolTrue if TLS is enabled.
pathsstringrepeatedPaths of the ingress.

RoutingMethod.LoadBalancer

Loadbalancer routing.

FieldTypeLabelDescription
portuint32public port.
node_portuint32node port.

EnvironmentSource.Kind

NameNumberDescription
KIND_UNSPECIFIED0Unspecified.
KIND_CONFIG_MAP1Environment variables from a config map.
KIND_SECRET2Environment variables from a secret.

PathMatchType

NameNumberDescription
PATH_MATCH_TYPE_UNSPECIFIED0
PATH_MATCH_TYPE_PATH_PREFIX1
PATH_MATCH_TYPE_EXACT2
PATH_MATCH_TYPE_REGULAR_EXPRESSION3

api/v1/capsule/event.proto

AbortEvent

An event that is associated with an abort.

ErrorEvent

An event that is associated with an error.

Event

An event is a message from a rollout

FieldTypeLabelDescription
created_bymodel.AuthorPotential author associated with the event.
created_atgoogle.protobuf.TimestampWhen the event was created.
rollout_iduint64The rollout that created the event.
messagestringA message associated with the event.
event_dataEventDataThe data associated with the event.

EventData

The data associated with an event.

FieldTypeLabelDescription
rolloutRolloutEventIf event is a rollout.
errorErrorEventif event is an error event.
abortAbortEventIf event is an abort event.

RolloutEvent

An event that is associated with a rollout.

api/v1/capsule/field.proto

FieldChange

FieldTypeLabelDescription
field_idstringThe Field-ID associated with this change. This is formated as a json-path string with '?' placeholders.
field_pathstringThe unique Field-path identifying this change. This is formated as a json-path string.
old_value_yamlstringYAML encoding of the old value (if any).
new_value_yamlstringYAML encoding of the new value (if any).
operationFieldOperationOperation is how this field-change is applied against the source to get to the target spec.
descriptionstringPretty-printed string description of the field change.

FieldOperation

NameNumberDescription
FIELD_OPERATION_UNSPECIFIED0
FIELD_OPERATION_ADDED1
FIELD_OPERATION_REMOVED2
FIELD_OPERATION_MODIFIED3

api/v1/capsule/image.proto

GitReference

GitReference is an origin of a image.

FieldTypeLabelDescription
repository_urlstringThe url of the git repository
commit_shastringThe commit sha of the git repository
commit_urlstringThe commit url of the git repository

Image

Image is an cross-environment abstraction of an container image along with metadata for a capsule.

FieldTypeLabelDescription
image_idstringunique identifier for the image
digeststringdigest of the image
repositorystringrepository of the image
tagstringtag of the image
created_bymodel.Authoruser who created the image
created_atgoogle.protobuf.Timestamptime the image was created
originOriginorigin of the image
labelsImage.LabelsEntryrepeatedlabels of the image

Image.LabelsEntry

FieldTypeLabelDescription
keystring
valuestring

Origin

Where the image came from

FieldTypeLabelDescription
git_referenceGitReferenceThe image came from a git repository

api/v1/capsule/instance.proto

ContainerStateTerminated

FieldTypeLabelDescription
exit_codeint32Exit status from the last termination of the container
signalint32Signal from the last termination of the container +optional
reasonstring(brief) reason from the last termination of the container +optional
messagestringMessage regarding the last termination of the container +optional
started_atgoogle.protobuf.TimestampTime at which previous execution of the container started +optional
finished_atgoogle.protobuf.TimestampTime at which the container last terminated +optional
container_idstringContainer's ID in the format 'type://container_id' +optional

CrashLoopBackoff

FieldTypeLabelDescription
messagestring
timestampsStatusTimestamps
dataCrashLoopBackoffData

CrashLoopBackoffData

FieldTypeLabelDescription
terminationContainerStateTerminated

CurrentlyUnscheduleable

FieldTypeLabelDescription
messagestring
timestampsStatusTimestamps

DoneScheduling

FieldTypeLabelDescription
messagestring
timestampsStatusTimestamps

ImagePulling

FieldTypeLabelDescription
messagestring
timestampsStatusTimestamps
stagesImagePullingStages

ImagePullingBackOff

FieldTypeLabelDescription
messagestring
timestampsStatusTimestamps

ImagePullingDone

FieldTypeLabelDescription
messagestring
timestampsStatusTimestamps

ImagePullingError

FieldTypeLabelDescription
messagestring
timestampsStatusTimestamps

ImagePullingPulling

FieldTypeLabelDescription
messagestring
timestampsStatusTimestamps

ImagePullingStages

FieldTypeLabelDescription
pullingImagePullingPulling
errorImagePullingError
back_offImagePullingBackOff
doneImagePullingDone

Instance

FieldTypeLabelDescription
instance_idstring
image_idstring
stateState
restart_countuint32
created_atgoogle.protobuf.Timestamp
started_atgoogle.protobuf.Timestamp
finished_atgoogle.protobuf.Timestamp
messagestring
rollout_iduint64

InstanceReady

FieldTypeLabelDescription
messagestring
timestampsStatusTimestamps

InstanceStatus

FieldTypeLabelDescription
messagestring
timestampsStatusTimestamps
dataInstanceStatusData
stagesInstanceStatusStages

InstanceStatusData

FieldTypeLabelDescription
instance_idstring
rollout_iduint64
image_namestring
nodestring

InstanceStatusPreparing

======================= PREPARING =====================

FieldTypeLabelDescription
messagestring
timestampsStatusTimestamps
stagesInstanceStatusPreparingStages

InstanceStatusPreparingStages

FieldTypeLabelDescription
pullingImagePulling

InstanceStatusRunning

======================== RUNNING ======================

FieldTypeLabelDescription
messagestring
timestampsStatusTimestamps
stagesInstanceStatusRunningStages
dataInstanceStatusRunningData

InstanceStatusRunningData

FieldTypeLabelDescription
restartsuint32

InstanceStatusRunningStages

FieldTypeLabelDescription
crash_loop_backoffCrashLoopBackoff
readyReady
runningRunning

InstanceStatusScheduling

====================== SCHEDULING ====================

FieldTypeLabelDescription
messagestring
timestampsStatusTimestamps
stagesInstanceStatusSchedulingStages

InstanceStatusSchedulingStages

FieldTypeLabelDescription
currently_unscheduleableCurrentlyUnscheduleable
doneDoneScheduling

InstanceStatusStages

FieldTypeLabelDescription
scheduleInstanceStatusScheduling
preparingInstanceStatusPreparing
runningInstanceStatusRunning

NotReady

FieldTypeLabelDescription
messagestring
timestampsStatusTimestamps

Ready

FieldTypeLabelDescription
messagestring
timestampsStatusTimestamps
stagesReadyStages

ReadyStages

FieldTypeLabelDescription
not_readyNotReady
readyInstanceReady

Running

FieldTypeLabelDescription
messagestring
timestampsStatusTimestamps

StatusTimestamps

FieldTypeLabelDescription
enteredgoogle.protobuf.Timestamp
updatedgoogle.protobuf.Timestamp
exitedgoogle.protobuf.Timestamp

State

NameNumberDescription
STATE_UNSPECIFIED0
STATE_PENDING1
STATE_RUNNING2
STATE_SUCCEEDED3
STATE_FAILED4

api/v1/capsule/instance/status.proto

ContainerInfo

FieldTypeLabelDescription
namestring
typeapi.v1.pipeline.ContainerType

ContainerTermination

Information about the last container termination.

FieldTypeLabelDescription
exit_codeint32Exit status from the last termination of the container
signalint32Signal from the last termination of the container +optional
reasonstring(brief) reason from the last termination of the container +optional
messagestringMessage regarding the last termination of the container +optional
started_atgoogle.protobuf.TimestampTime at which previous execution of the container started +optional
finished_atgoogle.protobuf.TimestampTime at which the container last terminated +optional
container_idstringContainer's ID in the format 'type://container_id' +optional

DeletedStage

FieldTypeLabelDescription
infoStageInfo
stepsDeletedSteprepeated

DeletedStep

FieldTypeLabelDescription
genericGenericStep

ExecutingStep

An executing step of the running stage.

FieldTypeLabelDescription
infoStepInfoMeta information about the step.
started_atgoogle.protobuf.TimestampTime at which the step started.
finished_atgoogle.protobuf.TimestampTime at which the step finished.
restartsuint32Number of restarts of the container
last_container_terminationContainerTerminationInformation about the last container termination.

GenericStep

A generic step.

FieldTypeLabelDescription
infoStepInfo

ImagePullingStep

An image pulling step of the preparing stage.

FieldTypeLabelDescription
infoStepInfoMeta information about the step.
stateImagePullingStateState of the step.
imagestringImage that is being pulled.

PlacementStep

Placement step.

FieldTypeLabelDescription
infoStepInfoMeta information about the step.
nodestringNode on which the instance should run.

PreparingStage

The preparing stage

FieldTypeLabelDescription
infoStageInfoMeta information about the stage.
stepsPreparingSteprepeatedSteps of the stage.

PreparingStep

A step of the preparing stage.

FieldTypeLabelDescription
genericGenericStepGeneric step.
image_pullingImagePullingStepImage pulling step.
init_executingExecutingStepExecuting step for init containers

ReadyStep

A ready step of the running stage.

FieldTypeLabelDescription
infoStepInfoMeta information about the step.
stateReadyStateState of the step.
failed_atgoogle.protobuf.TimestampTime at which the step failed.
fail_countuint32Number of times the step has failed.

RunningStage

The running stage of the instance

FieldTypeLabelDescription
infoStageInfoMeta information about the stage.
stepsRunningSteprepeatedSteps of the stage.
restartsuint32Number of restarts of the instance.
last_container_terminationContainerTerminationInformation about the last container termination.

RunningStep

A step of the running stage.

FieldTypeLabelDescription
genericGenericStepGeneric step.
readyReadyStepReady step.
executingExecutingStepExecuting step.

SchedulingStage

The scheduling stage.

FieldTypeLabelDescription
infoStageInfoMeta information about the stage.
stepsSchedulingSteprepeatedSteps of the stage.

SchedulingStep

A step of the scheduling stage.

FieldTypeLabelDescription
genericGenericStepGeneric step.
placementPlacementStepPlacement step - On what node should the instance run.

StageInfo

Meta information about a stage.

FieldTypeLabelDescription
namestringName of the stage.
updated_atgoogle.protobuf.TimestampLast update time of the stage.
stateStageStateState of the stage.

Stages

The different stages of the instance.

FieldTypeLabelDescription
scheduleSchedulingStageScheduling stage.
preparingPreparingStagePreparing stage.
runningRunningStageRunning stage.
deletedDeletedStageDeleted stage.

Status

Status is a representation of the current state of an instance.

FieldTypeLabelDescription
instance_idstringInstance ID.
stagesStagesStages of the instance.
rollout_iduint64Rollout ID.
imagestringImage of the instance.
created_atgoogle.protobuf.TimestampCreation time of the instance.

StepInfo

Meta data about a step.

FieldTypeLabelDescription
namestringName of the step.
messagestringMessage of the step.
updated_atgoogle.protobuf.TimestampLast update time of the step.
stateStepStateState of the step.
containerContainerInfoInformation about the container associated with the step.

ImagePullingState

Different states of an image pulling step.

NameNumberDescription
IMAGE_PULLING_STATE_UNSPECIFIED0Unspecified state.
IMAGE_PULLING_STATE_PULLING1Image is being pulled.
IMAGE_PULLING_STATE_ERROR2Image pulling has failed.
IMAGE_PULLING_STATE_BACK_OFF3Image pulling is in back off.
IMAGE_PULLING_STATE_DONE4Image pulling is done.

PlacementState

Different states of a placement step

NameNumberDescription
SCHEDULING_STATE_UNSPECIFIED0Unspecified state.
SCHEDULING_STATE_UNSCHEDULEABLE1If the instance is unschedulable.
SCHEDULING_STATE_DONE2If the instance is scheduled.

ReadyState

Different states of a ready step.

NameNumberDescription
READY_STATE_UNSPECIFIED0Unspecified state.
READY_STATE_CRASH_LOOP_BACKOFF1If the instance is in crash loop backoff.
READY_STATE_NOT_READY2If the instance is not ready.
READY_STATE_READY3If the instance is ready.

StageState

Different states a stage can be in.

NameNumberDescription
STAGE_STATE_UNSPECIFIED0Unspecified state.
STAGE_STATE_ONGOING1Stage is ongoing.
STAGE_STATE_FAILED2Stage has failed.
STAGE_STATE_DONE3Stage is done.
STAGE_STATE_RUNNING4Stage is running.

StepState

Different states a step can be in.

NameNumberDescription
STEP_STATE_UNSPECIFIED0Unspecified state.
STEP_STATE_ONGOING1Step is ongoing.
STEP_STATE_FAILED2Step has failed.
STEP_STATE_DONE3Step is done.
STEP_STATE_RUNNING4Step is running.

api/v1/capsule/log.proto

Log

Log of an instance

FieldTypeLabelDescription
timestampgoogle.protobuf.TimestampTimestamp of the log
messageLogMessageMessage of the log
instance_idstringInstance ID of the log

LogMessage

The actual log message

FieldTypeLabelDescription
stdoutbytesIf the log is stdout
stderrbytesIf the log is stderr
container_terminationLogMessage.ContainerTerminationRepresents a termination event

LogMessage.ContainerTermination

model/pipeline.proto

FieldPrefixes

FieldTypeLabelDescription
inclusionboolIf true, only fields with the specified prefixes will be promoted If false, only fields without the specified prefixes will be promoted
prefixesstringrepeated

Phase

FieldTypeLabelDescription
environment_idstringEnvironment to promote to. The project must be active in this environment.
field_prefixesFieldPrefixesFields prefixes to either promote or not.
triggersTriggersPromotion triggers.

Pipeline

FieldTypeLabelDescription
namestringCustom name for the pipeline.
initial_environmentstringThe environment to base the pipeline on.
phasesPhaserepeatedThe subsequent phases of the pipeline to promote to.
created_atgoogle.protobuf.TimestampThe time the pipeline was created.
updated_atgoogle.protobuf.TimestampThe time the pipeline was updated.
descriptionstringUser specified description of the pipeline.

Trigger

FieldTypeLabelDescription
conditionsTrigger.ConditionrepeatedThe conditions that must be met for the trigger to fire.
require_allboolIf true, all conditions must be met for the trigger to fire. Otherwise only a single condition must be met.
enabledboolIf true, the trigger is enabled. Otherwise it is disabled.

Trigger.Condition

Condition that must be met for the trigger to fire.

FieldTypeLabelDescription
time_alivegoogle.protobuf.Duration

Triggers

FieldTypeLabelDescription
automaticTriggerThe automatic trigger
manualTriggerThe manual trigger

api/v1/capsule/pipeline/status.proto

PhaseMessage

FieldTypeLabelDescription
messagestring
timestampgoogle.protobuf.Timestamp

PhaseStatus

FieldTypeLabelDescription
environment_idstring
statePhaseState
rollout_iduint64
messagesPhaseMessagerepeated
started_atgoogle.protobuf.Timestamp

Status

FieldTypeLabelDescription
pipeline_namestringThe name of the pipeline.
capsule_idstringThe capsule that is executing the pipeline.
execution_iduint64The ID of the pipeline execution
stateStateThe overall state of the pipeline execution.
phase_statusesPhaseStatusrepeatedThe statuses of the phases in the pipeline.
started_atgoogle.protobuf.TimestampWhen the pipeline was started.
updated_atgoogle.protobuf.TimestampWhen the pipeline was last updated.
current_phaseuint32current phase
configmodel.Pipelinethe configured pipeline

PhaseState

NameNumberDescription
PHASE_STATE_UNSPECIFIED0The state is unspecified.
PHASE_STATE_NOT_READY1The phase is not ready for promotion
PHASE_STATE_READY2The phase is ready for promotion
PHASE_STATE_PROMOTED3The phase is promoted

State

NameNumberDescription
STATE_UNSPECIFIED0The state is unspecified.
STATE_RUNNING1The pipeline has started.
STATE_ABORTED2The pipeline is aborted.
STATE_COMPLETED3The pipeline is completed.

model/revision.proto

BookmarkingConfiguration

FieldTypeLabelDescription
dont_bookmarkbool

Fingerprint

FieldTypeLabelDescription
datastring

Fingerprints

FieldTypeLabelDescription
projectFingerprint
environmentFingerprint
capsule_setFingerprint
capsuleFingerprint

GitLabProposal

FieldTypeLabelDescription
pr_idint64

GithubProposal

FieldTypeLabelDescription
pr_idint64

ProposalMetadata

FieldTypeLabelDescription
created_atgoogle.protobuf.Timestamp
created_byAuthor
fingerprintFingerprint
spawn_pointRepoBranch
branchstring
review_urlstring
githubGithubProposal
gitlabGitLabProposal

RevisionMetadata

FieldTypeLabelDescription
created_atgoogle.protobuf.Timestamp
updated_atgoogle.protobuf.Timestamp
updated_byAuthor
fingerprintFingerprint
git_changeGitChange
bookmarkingBookmarkingConfiguration

Revisions

FieldTypeLabelDescription
projectsRevisionMetadatarepeated
environmentsRevisionMetadatarepeated
capsule_setsRevisionMetadatarepeated
capsulesRevisionMetadatarepeated

api/v1/capsule/revision.proto

Proposal

FieldTypeLabelDescription
specplatform.v1.Capsule
metadatamodel.ProposalMetadata

Revision

FieldTypeLabelDescription
specplatform.v1.Capsule
metadatamodel.RevisionMetadata
messagestring

SetProposal

FieldTypeLabelDescription
specplatform.v1.CapsuleSet
metadatamodel.ProposalMetadata

SetRevision

FieldTypeLabelDescription
specplatform.v1.CapsuleSet
metadatamodel.RevisionMetadata

api/v1/capsule/rollout.proto

Changelog

FieldTypeLabelDescription
changesChangelog.Changerepeated
messagestring

Changelog.Change

FieldTypeLabelDescription
messagestring

ConfigFile

FieldTypeLabelDescription
pathstring
contentbytes
updated_bymodel.Author
updated_atgoogle.protobuf.Timestamp
is_secretbool

Rollout

The rollout model.

FieldTypeLabelDescription
rollout_iduint64Unique indentifier for the rollout.
configRolloutConfigThe rollout config.
statusrollout.StatusThe rollout status.
specplatform.v1.CapsuleSpec
revisionsmodel.Revisions
changelogChangelog

RolloutConfig

FieldTypeLabelDescription
created_bymodel.AuthorThe user who initiated the rollout.
created_atgoogle.protobuf.Timestamp
replicasuint32
image_idstring
networkNetwork
container_settingsContainerSettings
auto_add_rig_service_accountsbool
config_filesConfigFilerepeated
horizontal_scaleHorizontalScale
cron_jobsCronJobrepeated
environment_idstring
messagestring
annotationsRolloutConfig.AnnotationsEntryrepeated

RolloutConfig.AnnotationsEntry

FieldTypeLabelDescription
keystring
valuestring

EventType

NameNumberDescription
EVENT_TYPE_UNSPECIFIED0
EVENT_TYPE_ABORT1

api/v1/issue/issue.proto

Issue

FieldTypeLabelDescription
issue_idstring
typestring
created_atgoogle.protobuf.Timestamp
updated_atgoogle.protobuf.Timestamp
stale_atgoogle.protobuf.Timestamp
closed_atgoogle.protobuf.Timestamp
referenceReference
messagestring
levelLevel
countuint32

Reference

FieldTypeLabelDescription
project_idstring
capsule_idstring
environment_idstring
rollout_iduint64
instance_idstring

Level

NameNumberDescription
LEVEL_UNSPECIFIED0
LEVEL_INFORMATIVE1
LEVEL_MINOR2
LEVEL_MAJOR3
LEVEL_CRITICAL4

api/v1/capsule/status.proto

CapsuleStatus

FieldTypeLabelDescription
statusesapi.v1.pipeline.ObjectStatusrepeated

ConfigFileStatus

FieldTypeLabelDescription
pathstring
isSecretbool
statusapi.v1.pipeline.ObjectStatusrepeated
transitionTransition
contentbytes

ContainerConfig

FieldTypeLabelDescription
imagestring
commandstring
argsstringrepeated
environment_variablesContainerConfig.EnvironmentVariablesEntryrepeated
scaleHorizontalScale
resourcesResources

ContainerConfig.EnvironmentVariablesEntry

FieldTypeLabelDescription
keystring
valuestring

CronJobStatus

FieldTypeLabelDescription
job_namestring
schedulestring
last_executionapi.v1.pipeline.ObjectState
transitionTransition

InstancesStatus

FieldTypeLabelDescription
num_upgradinguint32The number of updated instances.
num_readyuint32The number of ready instances.
num_stuckuint32The number of stuck instances.
num_wrong_versionuint32The number of instances with the wrong version.

InterfaceStatus

FieldTypeLabelDescription
namestring
portuint32
routesInterfaceStatus.Routerepeated
statusapi.v1.pipeline.ObjectStatusrepeated
transitionTransition

InterfaceStatus.Route

FieldTypeLabelDescription
routeHostRoute
statusapi.v1.pipeline.ObjectStatusrepeated
transitionTransition

Status

FieldTypeLabelDescription
namespacestring
capsuleCapsuleStatus
current_rollout_iduint64
container_configContainerConfig
instancesInstancesStatus
interfacesInterfaceStatusrepeated
config_filesConfigFileStatusrepeated
cron_jobsCronJobStatusrepeated
issuesapi.v1.issue.IssuerepeatedList of all issues associated to the Capsule, include those of the current rollout. The list does not include instance-level issues.

Transition

NameNumberDescription
TRANSITION_UNSPECIFIED0
TRANSITION_BEING_CREATED1
TRANSITION_UP_TO_DATE2
TRANSITION_BEING_DELETED3

api/v1/capsule/service.proto

AbortPipelineRequest

FieldTypeLabelDescription
execution_iduint64

AbortPipelineResponse

FieldTypeLabelDescription
statuspipeline.Status

AbortRolloutRequest

AbortRolloutRequest aborts a rollout.

FieldTypeLabelDescription
capsule_idstringThe capsule to abort the rollout in.
rollout_iduint64The rollout to abort.
project_idstringThe project in which the capsule lives.

AbortRolloutResponse

AbortRolloutResponse is an empty response.

CapsuleMetricsRequest

Request for getting metrics for a capsule and optionally a single instance.

FieldTypeLabelDescription
capsule_idstringThe capsule to get metrics for.
instance_idstringIf set, only returns metrics for the given instance_id.
project_idstringThe project in which the capsule lives.
environment_idstringThe environment to get metrics for.
sincegoogle.protobuf.TimestampReturn metrics generated after 'since'

CapsuleMetricsResponse

Response to getting capsule metrics.

FieldTypeLabelDescription
instance_metricsmodel.InstanceMetricsrepeatedMetrics

CreateRequest

Create capsule request.

FieldTypeLabelDescription
namestringThe name of the capsule. This property must be unique for a project and cannot be changed after creation. Resources created in associating with the capsule will use this name.
initializersUpdaterepeatedDeprecated field: The initial properties of the capsule.
project_idstringThe project to create the capsule in.

CreateResponse

Create capsule response.

FieldTypeLabelDescription
capsule_idstringID of the capsule. This is the same as the name.

DeleteRequest

Request to delete a capsule.

FieldTypeLabelDescription
capsule_idstringThe capsule to delete.
project_idstringThe project in which the capsule is to be deleted.

DeleteResponse

Empty delete response.

DeployOutcome

FieldTypeLabelDescription
field_changesFieldChangerepeatedThe field-level changes that comes from applying this change.
platform_objectsDeployOutcome.PlatformObjectrepeatedThe Platform-level objects that are generated by the Deploy.
kubernetes_objectsDeployOutcome.KubernetesObjectrepeatedThe Kubernetes-level objects that are generated by the Deploy. The objects are both the outcome of what the platform generated for the Kubernetes cluster directly and what plugins are further adding.
kubernetes_errorstringIn case generation of kubernetes files failed, this field will be populated with the error.
cluster_namestring
kubernetes_namespacestring

DeployOutcome.KubernetesObject

FieldTypeLabelDescription
namestring
content_yamlstring

DeployOutcome.PlatformObject

FieldTypeLabelDescription
namestring
content_yamlstring

DeployRequest

Deploy request. This will deploy a number of changes which results in a new rollout.

FieldTypeLabelDescription
capsule_idstringCapsule to deploy to.
changesChangerepeatedChanges to include in the new rollout.
forceboolForce deploy, aborting an existing rollout if ongoing.
project_idstringProject in which the capsule lives.
environment_idstringEnvironment in which to deploy.
messagestringDeploy message.
dry_runboolif true, the deploy will not be executed, but the request will return the rollout config.
current_rollout_iduint64If not zero, this will constrain the rollout only to be created if the currently running rollout matches this identifier. If this check fails, the request will return an Aborted error.
current_fingerprintmodel.FingerprintIf set, this will constrain the rollout only to be created if the current latest capsule fingerprint matches the given. Cannot be used together with current_rollout_id
force_overrideboolBy default, existing objects will be kept in favor of overriding them. To force the override of resources, set this flag to true. An example of this use-case is a migration step, where resource created by a previous toolchain e.g. based on Helm charts, are to be replaced and instead be created by the Rig operator. While the override is irreversible, this flag is not "sticky" and must be set by each deploy that should use this behavior.
operator_configstringOnly allowed with dry_run = true. Will use this config for the operator instead of the config running in the cluster.

DeployResponse

Deploy response.

FieldTypeLabelDescription
rollout_iduint64ID of the new rollout.
resource_yamlDeployResponse.ResourceYamlEntryrepeatedThe YAML of the resources that will be deployed. Deprecated. Use outcome instead.
revisionRevisionThe rollout config. api.v1.capsule.RolloutConfig rollout_config = 3; The capsule revision created.
set_revisionSetRevisionThe capsule set revision created if it's the first time deploying to the environment.
outcomeDeployOutcomeBreakdown of the changes that this deploy would make to the system. Only populated if dry-run is used.

DeployResponse.ResourceYamlEntry

FieldTypeLabelDescription
keystring
valuestring

DeploySetOutcome

FieldTypeLabelDescription
field_changesFieldChangerepeatedThe field-level changes that comes from applying this change.
environmentsDeploySetOutcome.EnvironmentsEntryrepeated

DeploySetOutcome.EnvironmentsEntry

FieldTypeLabelDescription
keystring
valueDeployOutcome

DeploySetRequest

FieldTypeLabelDescription
capsule_idstringCapsule to deploy to.
changesChangerepeatedChanges to include in the new rollout.
forceboolForce deploy, aborting existing rollouts if ongoing.
project_idstringProject in which the capsule lives.
messagestringDeploy message.
dry_runboolif true, the deploy will not be executed, but the request will return the rollout config.
current_rollout_idsDeploySetRequest.CurrentRolloutIdsEntryrepeatedIf present, maps from environment to expected current rollout within that environment. This will constrain the rollout only to be created if the currently running rollout matches this identifier. If this check fails, the request will return an Aborted error.
current_fingerprintmodel.FingerprintIf set, this will constrain the rollout only to be created if the current latest capsuleset fingerprint matches the given.
current_environment_fingerprintsDeploySetRequest.CurrentEnvironmentFingerprintsEntryrepeatedIf set, this will constrain the rollout only to be created if the current latest capsule fingerprint for each environment in the map matches the ones in the map. Cannot be used together with current_rollout_ids

DeploySetRequest.CurrentEnvironmentFingerprintsEntry

FieldTypeLabelDescription
keystring
valuemodel.Fingerprint

DeploySetRequest.CurrentRolloutIdsEntry

FieldTypeLabelDescription
keystring
valueuint64

DeploySetResponse

FieldTypeLabelDescription
revisionSetRevisionThe capsule revision created.
outcomeDeploySetOutcomeBreakdown of the changes that this deploy would make to the system. Only populated if dry-run is used.
ActiveEnvironmentsstringrepeatedThe environments which currently have rollouts. These will receive a rollout as result of the SetDeploy

ExecuteRequest

Execute request. This can either be a request to start a request, a terminal resize msg or a stream data msg.

FieldTypeLabelDescription
startExecuteRequest.StartStart request.
stdinStreamDataStream stdin request
resizeExecuteRequest.ResizeResize request
project_idstringThe project ID.
environment_idstringThe environment ID.

ExecuteRequest.Resize

Terminal resize request.

FieldTypeLabelDescription
heightuint32The new terminal height.
widthuint32The new terminal width.

ExecuteRequest.Start

Exec start request

FieldTypeLabelDescription
capsule_idstringThe capsule to execute in.
instance_idstringThe instance to execute in.
commandstringThe command to execute.
argumentsstringrepeatedThe arguments to the command.
ttyExecuteRequest.ResizeThe initial terminal size.
interactiveboolIf the command is interactive.

ExecuteResponse

Execute response.

FieldTypeLabelDescription
stdoutStreamDataStdout of the execute.
stderrStreamDataStderr in case of an error.
exit_codeint32Exit code of the execute.

GetCustomInstanceMetricsRequest

Request for getting custom metrics for a capsule in an environment.

FieldTypeLabelDescription
capsule_idstringThe capsule to get metrics for.
project_idstringThe project in which the capsule lives.
environment_idstringThe environment to get metrics for.

GetCustomInstanceMetricsResponse

Response to getting custom metrics for a capsule in an environment.

FieldTypeLabelDescription
metricsmodel.MetricrepeatedCustom Metrics.

GetEffectiveGitSettingsRequest

FieldTypeLabelDescription
project_idstring
environment_idstring
capsule_idstring

GetEffectiveGitSettingsResponse

FieldTypeLabelDescription
gitmodel.GitStore
environment_enabledbool

GetInstanceStatusRequest

Get status of an instance.

FieldTypeLabelDescription
capsule_idstringThe capsule to get the instance status from.
instance_idstringThe instance to get.
project_idstringThe project in which the capsule lives.
environment_idstringThe environment to get the instance from.

GetInstanceStatusResponse

Get instance status response.

FieldTypeLabelDescription
statusinstance.StatusThe instance status.

GetJobExecutionsRequest

Request for getting job executions from cron jobs.

FieldTypeLabelDescription
capsule_idstringThe capsule to get job executions for.
job_namestringThe name of the job to get executions for.
statesJobStaterepeatedFiltering executions by job state.
created_fromgoogle.protobuf.TimestampFiltering executions created before this timestamp.
created_togoogle.protobuf.TimestampFiltering executions created after this timestamp.
paginationmodel.PaginationPagination options.
project_idstringThe project in which the capsule lives.
environment_idstringThe environment to get job executions for.

GetJobExecutionsResponse

Response to getting job executions.

FieldTypeLabelDescription
job_executionsJobExecutionrepeatedJob executions.
totaluint64Total number of executions ignorring pagination.

GetPipelineStatusRequest

FieldTypeLabelDescription
execution_iduint64

GetPipelineStatusResponse

FieldTypeLabelDescription
statuspipeline.Status

GetProposalsEnabledRequest

FieldTypeLabelDescription
project_idstring
environment_idstring
capsule_idstring

GetProposalsEnabledResponse

FieldTypeLabelDescription
enabledbool

GetRequest

Request to get a capsule.

FieldTypeLabelDescription
capsule_idstringCapsule to get.
project_idstringProject in which the capsule is.

GetResponse

Response to get a capsule.

FieldTypeLabelDescription
capsuleCapsuleThe capsule.
revisionSetRevision
environment_revisionsGetResponse.EnvironmentRevisionsEntryrepeated

GetResponse.EnvironmentRevisionsEntry

FieldTypeLabelDescription
keystring
valueRevision

GetRevisionRequest

FieldTypeLabelDescription
project_idstring
environment_idstring
capsule_idstring
fingerprintmodel.Fingerprint

GetRevisionResponse

FieldTypeLabelDescription
revisionRevision

GetRolloutOfRevisionsRequest

FieldTypeLabelDescription
project_idstring
environment_idstring
capsule_idstring
fingerprintsmodel.Fingerprints

GetRolloutOfRevisionsResponse

FieldTypeLabelDescription
no_rolloutGetRolloutOfRevisionsResponse.NoRollout
rolloutRollout

GetRolloutOfRevisionsResponse.NoRollout

FieldTypeLabelDescription
projectboolIndicates no rollout with a project revision at least as new as the one given.
environmentboolIndicates no rollout with an environment revision at least as new as the one given.
capsule_setboolIndicates no rollout with a capsule set revision at least as new as the one given.
capsuleboolIndicates no rollout with a capsule revision at least as new as the one given.

GetRolloutRequest

GetRolloutRequest gets a single rollout.

FieldTypeLabelDescription
capsule_idstringThe capsule to get the rollout from.
rollout_iduint64The rollout to get.
project_idstringThe project in which the capsule lives.

GetRolloutResponse

GetRolloutResponse returns a single rollout for a capsule and an environment in a project.

FieldTypeLabelDescription
rolloutRolloutThe rollout.

GetStatusRequest

GetStatusRequest is a request to start streaming the capsule status

FieldTypeLabelDescription
capsule_idstringThe capsule to get the status from.
project_idstringThe project in which the capsule lives.
environment_idstringThe environment to get the status from.

GetStatusResponse

GetCapsuleStatusResponse

FieldTypeLabelDescription
statusStatusThe capsule status

ListEventsRequest

ListEvents request for listing rollout events for a given rollout in a capsule and environment.

FieldTypeLabelDescription
capsule_idstringThe capsule to list events for.
rollout_iduint64The rollout to list events for.
paginationmodel.PaginationPagination options.
project_idstringThe project in which the capsule lives.
environment_idstringThe environment to list events for.

ListEventsResponse

Response to List Events

FieldTypeLabelDescription
eventsEventrepeatedThe events for a rollout in a capsule and environment for a given project.
totaluint64Total number of events in the capsule for the given environment.

ListInstanceStatusesRequest

List multiple instance statuses

FieldTypeLabelDescription
capsule_idstringThe capsule to get the instance statuses from.
paginationmodel.PaginationPagination options.
project_idstringThe project in which the capsule is.
environment_idstringThe environment to get the instance statuses from.
include_deletedboolif true, deleted instances will be included in the response.
exclude_existingboolif true, existing instances will be excluded from the response.

ListInstanceStatusesResponse

Response for listing multiple instance statuses

FieldTypeLabelDescription
instancesinstance.StatusrepeatedThe instance statuses.
totaluint64Total number of instances in the capsule for the given environment.

ListInstancesRequest

List instances request.

FieldTypeLabelDescription
capsule_idstringCapsule to list instances from.
paginationmodel.PaginationPagination options.
project_idstringProject in which the capsule lives.
environment_idstringEnvironment to list instances from.
include_deletedboolif true, deleted instances will be included in the response.
exclude_existingboolif true, existing instances will be excluded from the response.

ListInstancesResponse

List instances response.

FieldTypeLabelDescription
instancesInstancerepeatedThe instances.
totaluint64Total number of instances in the capsule for the given environment.

ListPipelineStatusesRequest

FieldTypeLabelDescription
paginationmodel.Pagination
project_filterstringOnly include pipelines that are run in the given project.
capsule_filterstringOnly include pipelines that are run with the given capsule.
states_filterpipeline.StaterepeatedOnly include pipelines that are in one of the given states.
name_filterstringOnly include pipelines that have the given name.

ListPipelineStatusesResponse

FieldTypeLabelDescription
statusespipeline.Statusrepeated

ListProposalsRequest

FieldTypeLabelDescription
project_idstring
environment_idstring
capsule_idstring
paginationmodel.Pagination

ListProposalsResponse

FieldTypeLabelDescription
proposalsProposalrepeated
totaluint64

ListRequest

List capsule request.

FieldTypeLabelDescription
paginationmodel.PaginationPagination options.
project_idstringProject in which to list capsules.

ListResponse

List capsule response.

FieldTypeLabelDescription
capsulesCapsulerepeatedThe capsules.
totaluint64Total number of capsules in the project.

ListRolloutsRequest

ListRolloutsRequest lists rollouts for a capsule.

FieldTypeLabelDescription
capsule_idstringThe capsule to list rollouts for.
paginationmodel.PaginationPagination options.
project_idstringThe project in which the capsule lives.
environment_idstringThe environment to list rollouts for.

ListRolloutsResponse

ListRolloutsResponse lists rollouts for a capsule and an environment.

FieldTypeLabelDescription
rolloutsRolloutrepeatedThe rollouts.
totaluint64Total number of rollouts in the capsule for the given environment.

ListSetProposalsRequest

FieldTypeLabelDescription
project_idstring
capsule_idstring
paginationmodel.Pagination

ListSetProposalsResponse

FieldTypeLabelDescription
proposalsSetProposalrepeated
totaluint64

LogsRequest

Request to get instance logs from a capsule.

FieldTypeLabelDescription
capsule_idstringThe capsule to read logs from.
instance_idstringThe instance in the capsule to read logs from.
followboolIf true, the request will stay open and stream new log messages.
sincegoogle.protobuf.DurationIf set, will not show logs older than since.
project_idstringThe project in which the capsule is.
environment_idstringEnvironment to get logs from.
previous_containersboolIf true, include logs from previously terminated containers

LogsResponse

The response of a capsule.Logs RPC

FieldTypeLabelDescription
logLogThe actual logs

PipelineDryRunOutput

FieldTypeLabelDescription
environment_idstringEnvironment to promote to.
outcomeDeployOutcomeBreakdown of the changes that this deploy would make to the system.
revisionRevision

PortForwardRequest

FieldTypeLabelDescription
startPortForwardRequest.Start
databytes
closePortForwardRequest.Close

PortForwardRequest.Close

PortForwardRequest.Start

FieldTypeLabelDescription
project_idstringThe project ID.
environment_idstringThe environment ID.
capsule_idstring
instance_idstring
portuint32

PortForwardResponse

FieldTypeLabelDescription
databytes
closePortForwardResponse.Close

PortForwardResponse.Close

PromotePipelineRequest

FieldTypeLabelDescription
execution_iduint64
dry_runboolIf true, the progression will not be executed, but instead a breakdown of changes will be returned
field_changesFieldChangerepeatedadditional changes to include in the manual promotion
forceboolIf true, the pipeline will be force promoted to the next environment regardless of the state of the pipeline and the triggers.

PromotePipelineResponse

FieldTypeLabelDescription
statuspipeline.Status
dry_run_outcomesPipelineDryRunOutputrepeatedBreakdown of the changes that will be made to the environments throughout the pipeline. Only populated if dry-run is used.
revisionRevisionThe capsule revision created.

ProposeRolloutRequest

Deploy request. This will deploy a number of changes which results in a new rollout.

FieldTypeLabelDescription
capsule_idstringCapsule to deploy to.
changesChangerepeatedChanges to include in the new rollout.
project_idstringProject in which the capsule lives.
environment_idstringEnvironment in which to deploy.
messagestringDeploy message.
force_overrideboolBy default, existing objects will be kept in favor of overriding them. To force the override of resources, set this flag to true. An example of this use-case is a migration step, where resource created by a previous toolchain e.g. based on Helm charts, are to be replaced and instead be created by the Rig operator. While the override is irreversible, this flag is not "sticky" and must be set by each deploy that should use this behavior.
branch_namestring

ProposeRolloutResponse

FieldTypeLabelDescription
proposalProposal
outcomeDeployOutcomeBreakdown of the changes that this deploy would make to the system.

ProposeSetRolloutRequest

FieldTypeLabelDescription
capsule_idstringCapsule to deploy to.
changesChangerepeatedChanges to include in the new rollout.
project_idstringProject in which the capsule lives.
messagestringDeploy message.
force_overrideboolBy default, existing objects will be kept in favor of overriding them. To force the override of resources, set this flag to true. An example of this use-case is a migration step, where resource created by a previous toolchain e.g. based on Helm charts, are to be replaced and instead be created by the Rig operator. While the override is irreversible, this flag is not "sticky" and must be set by each deploy that should use this behavior.
branch_namestring

ProposeSetRolloutResponse

FieldTypeLabelDescription
proposalSetProposal
outcomeDeploySetOutcomeBreakdown of the changes that this deploy would make to the system.

RestartInstanceRequest

RestartInstanceRequest restarts a single instance.

FieldTypeLabelDescription
capsule_idstringThe capsule to restart the instance in.
instance_idstringThe instance to restart.
project_idstringThe project in which the capsule lives.
environment_idstringThe environment to restart the instance in.

RestartInstanceResponse

RestartInstanceResponse is an empty response.

StartPipelineRequest

FieldTypeLabelDescription
project_idstring
capsule_idstring
pipeline_namestring
dry_runbool
abort_currentboolIf true, and the pipeline is already running for the capsule and project, it will be aborted and a new one started.

StartPipelineResponse

FieldTypeLabelDescription
statuspipeline.Status
dry_run_outcomesPipelineDryRunOutputrepeatedBreakdown of the changes that will be made to the environments throughout the pipeline. Only populated if dry-run is used.

StopRolloutRequest

StopRolloutRequest aborts a rollout.

FieldTypeLabelDescription
capsule_idstringThe capsule of the aborting rollout.
rollout_iduint64The rollout to stop.
project_idstringThe project in which the capsule lives.

StopRolloutResponse

StopRolloutResponse is an empty response.

StreamData

StreamData for Execute RPC.

FieldTypeLabelDescription
databytesStream data.
closedboolIf the stream is closed.

UpdateRequest

Deprecated update - This is now a no-op

FieldTypeLabelDescription
capsule_idstringThe capsule to update.
updatesUpdaterepeatedThe updates to apply to the capsule.
project_idstring

UpdateResponse

Deprecated: Empty update response.

WatchInstanceStatusesRequest

FieldTypeLabelDescription
capsule_idstringThe capsule to get the instance statuses from.
project_idstringThe project in which the capsule is.
environment_idstringThe environment to get the instance statuses from.
instance_idstringIf given, only the instance with this ID will be watched.
include_deletedboolif true, deleted instances will be included in the response.
exclude_existingboolif true, existing instances will be excluded from the response.
paginationmodel.PaginationPagination options.

WatchInstanceStatusesResponse

FieldTypeLabelDescription
updatedinstance.Status
deletedstring

WatchRolloutsRequest

FieldTypeLabelDescription
capsule_idstringThe capsule to list rollouts for.
project_idstringThe project in which the capsule lives.
environment_idstringThe environment to list rollouts for.
rollout_iduint64If given only the rollout with this ID will be watched.
paginationmodel.PaginationPagination options.

WatchRolloutsResponse

FieldTypeLabelDescription
updatedRollout

WatchStatusRequest

FieldTypeLabelDescription
capsule_idstringThe capsule to watch the status of.
project_idstringThe project in which the capsule lives.
environment_idstringThe environment to watch the status of.

WatchStatusResponse

FieldTypeLabelDescription
statusStatus

api/v1/capsule/sidecar.proto

Sidecar

Deprecated: sidecar configuration

FieldTypeLabelDescription
interfacesSidecarInterfacerepeated

SidecarInterface

Deprecated: sidecar interface configuration

FieldTypeLabelDescription
portuint32
proxy_portuint32

config/v1alpha1/generated.proto

CapsuleMatch

FieldTypeLabelDescription
namespacesstringrepeated
namesstringrepeated
annotationsCapsuleMatch.AnnotationsEntryrepeated
enableForPlatformbool

CapsuleMatch.AnnotationsEntry

FieldTypeLabelDescription
keystring
valuestring

CapsuleStep

FieldTypeLabelDescription
pluginstring
configstring

CustomPlugin

FieldTypeLabelDescription
imagestring

OperatorConfig

FieldTypeLabelDescription
kindstring
apiVersionstring
webhooksEnabledbool
devModeEnabledbool
leaderElectionEnabledbool
pipelinePipeline

Pipeline

FieldTypeLabelDescription
serviceAccountStepCapsuleStep
deploymentStepCapsuleStep
routesStepCapsuleStep
cronJobsStepCapsuleStep
vpaStepCapsuleStep
serviceMonitorStepCapsuleStep
stepsSteprepeated
customPluginsCustomPluginrepeated
capsuleExtensionsPipeline.CapsuleExtensionsEntryrepeated

Pipeline.CapsuleExtensionsEntry

FieldTypeLabelDescription
keystring
valueCapsuleStep

Plugin

FieldTypeLabelDescription
tagstring
namestring
pluginstring
configstring

Step

FieldTypeLabelDescription
tagstring
matchCapsuleMatch
pluginsPluginrepeated
namespacesstringrepeated
capsulesstringrepeated
enableForPlatformbool

api/v1/cluster/cluster.proto

Cluster

Cluster model.

FieldTypeLabelDescription
cluster_idstringID of the cluster.
operator_configconfig.v1alpha1.OperatorConfig
operator_versionstring
k8s_versionstring
allocateablemodel.Resources
usagemodel.Resources
utilizationmodel.Resources

api/v1/cluster/service.proto

DockerDaemon

Docker daemon dev registry

GetConfigRequest

request for getting cluster config for an environment.

FieldTypeLabelDescription
environment_idstringThe environment to get cluster config for.

GetConfigResponse

response for getting cluster config for an environment.

FieldTypeLabelDescription
cluster_typeClusterTypeType of the cluster.
dockerDockerDaemonDocker.
registryRegistryRegistry.
ingressboolif true, the cluster has an ingress controller.

GetConfigsRequest

Empty Request for getting the configs of all clusters.

GetConfigsResponse

Empty Response for getting the configs of all clusters.

FieldTypeLabelDescription
clustersGetConfigResponserepeated

ListNodePodsRequest

FieldTypeLabelDescription
cluster_namestring
node_namestring

ListNodePodsResponse

FieldTypeLabelDescription
podsPodrepeated

ListNodesRequest

FieldTypeLabelDescription
cluster_idstring

ListNodesResponse

FieldTypeLabelDescription
nodesapi.v1.operator.cluster.Noderepeated

ListRequest

Request for listing available clusters.

FieldTypeLabelDescription
paginationmodel.PaginationPagination options.

ListResponse

Response for listing available clusters.

FieldTypeLabelDescription
clustersClusterrepeatedList of clusters.

Pod

FieldTypeLabelDescription
pod_namestring
namespacestring
project_namestring
environment_namestring
capsule_namestring

Registry

Registry dev registry

FieldTypeLabelDescription
hoststring

ClusterType

Cluster type - Docker or kubernetes.

NameNumberDescription
CLUSTER_TYPE_UNSPECIFIED0
CLUSTER_TYPE_DOCKER1
CLUSTER_TYPE_KUBERNETES2

api/v1/environment/environment.proto

Environment

Environment model.

FieldTypeLabelDescription
environment_idstringID of the environment.
operator_versionstringThe version of the Rig-operator CRD for this environment.
cluster_idstringID of the backing cluster.
namespace_templatestringNamespace template is used to generate the namespace name when configuring resources. Default is to set the namespace equal to the project name.
ephemeralboolIf true, the environment is deletable by developer users, and can be deleted with capsules running.
active_projectsstringrepeatedActive Projects. These projects can deploy capsules to this environment. This is overridden by a true the global flag.
globalboolIf true, the environment is available to all projects.

Update

FieldTypeLabelDescription
add_projectstring
remove_projectstring
set_globalbool

api/v1/environment/revision.proto

Revision

FieldTypeLabelDescription
specplatform.v1.Environment
metadatamodel.RevisionMetadata

api/v1/environment/service.proto

CreateRequest

FieldTypeLabelDescription
environment_idstring
initializersUpdaterepeated
cluster_idstring
namespace_templatestringNamespace template is used to generate the namespace name when configuring resources. Default is to set the namespace equal to the project name. Default value is: {{ .Project.Name }} Valid template properties are: .Project.Name - name of the project .Environment.Name - name of the environment.
ephemeralboolIf true, the environment will be marked as ephemeral. It is possible for developers to create ephemeral environments.

CreateResponse

DeleteRequest

FieldTypeLabelDescription
environment_idstring
forceboolForce delete all running capsules in the enviornment. If false, the request will be aborted if any capsules is running in the environment.

DeleteResponse

GetNamespacesRequest

FieldTypeLabelDescription
project_envsProjectEnvironmentrepeated

GetNamespacesResponse

FieldTypeLabelDescription
namespacesProjectEnvironmentNamespacerepeated

GetRequest

FieldTypeLabelDescription
environment_idstring

GetResponse

FieldTypeLabelDescription
environmentEnvironment

ListRequest

Request for listing available environments.

FieldTypeLabelDescription
paginationmodel.PaginationPagination options.
exclude_ephemeralboolExclude ephemeral environments in the list.
project_filterstringGet environments for a specific project.

ListResponse

Response for listing available environments.

FieldTypeLabelDescription
environmentsEnvironmentrepeatedList of environments.
platform_versionstringThe version of the Rig-platform.

ProjectEnvironment

FieldTypeLabelDescription
project_idstring
environment_idstring

ProjectEnvironmentNamespace

FieldTypeLabelDescription
project_idstring
environment_idstring
namespacestring

UpdateRequest

FieldTypeLabelDescription
environment_idstring
updatesUpdaterepeated

UpdateResponse

model/metadata.proto

Metadata

Generic metadata model.

FieldTypeLabelDescription
keystringKey of the metadata.
valuebytesValue of the metadata.

api/v1/group/group.proto

Group

Group is a named collection of users and service accounts with optional metadata.

FieldTypeLabelDescription
group_idstringUnique name of the group.
num_membersuint64Number of members.
metadataGroup.MetadataEntryrepeatedMetadata of the group.
created_atgoogle.protobuf.TimestampCreation time of the group.
updated_atgoogle.protobuf.TimestampLast update time of the group.

Group.MetadataEntry

FieldTypeLabelDescription
keystring
valuebytes

MemberID

MemberID is a union of service account id and user id.

FieldTypeLabelDescription
service_account_idstringID of a service account.
user_idstringID of a user.

Update

An update msg for a group.

FieldTypeLabelDescription
group_idstringUpdate the unique group name.
set_metadatamodel.MetadataUpdate or create a metadata entry.
delete_metadata_keystringDelete a metadata entry.

api/v1/group/service.proto

AddMemberRequest

Request for adding one or more members to a group.

FieldTypeLabelDescription
group_idstringThe group to add members to.
member_idsMemberIDrepeatedThe members to add.

AddMemberResponse

Empty response for adding one or more members to a group.

CreateRequest

The request of a Groups.Create RPC.

FieldTypeLabelDescription
initializersUpdaterepeatedThe group to create.

CreateResponse

The response of a Groups.Create RPC.

FieldTypeLabelDescription
groupGroupThe created group.

DeleteRequest

The request of a Group.Delete RPC.

FieldTypeLabelDescription
group_idstringThe group to delete.

DeleteResponse

The response of a Group.Delete RPC.

GetRequest

The request of a Groups.Get RPC.

FieldTypeLabelDescription
group_idstringThe group id.

GetResponse

The response of a Groups.Get RPC

FieldTypeLabelDescription
groupGroupThe group.

ListGroupsForMemberRequest

Request for listing the groups a member is in.

FieldTypeLabelDescription
member_idMemberIDThe member to list groups for.
paginationmodel.PaginationPagination options.

ListGroupsForMemberResponse

Response for listing the groups a member is in.

FieldTypeLabelDescription
groupsGrouprepeatedThe groups the member is in.
totaluint64The total amount of groups the member is in.

ListMembersRequest

Reqyest for listing members of a group.

FieldTypeLabelDescription
group_idstringThe group to list members of.
paginationmodel.PaginationPagination options.

ListMembersResponse

Response for listing members of a group.

FieldTypeLabelDescription
membersmodel.MemberEntryrepeatedThe members in the group.
totaluint64The total amount of members in the group.

ListRequest

The request of a Groups.List RPC.

FieldTypeLabelDescription
paginationmodel.PaginationPagination options.
searchstringSearch string.

ListResponse

The response of a Groups.List RPC.

FieldTypeLabelDescription
groupsGrouprepeatedlist of groups.
totaluint64total amount of groups.

RemoveMemberRequest

Request for removing a member from a group.

FieldTypeLabelDescription
group_idstringThe group to remove the member from.
member_idMemberIDThe member to remove.

RemoveMemberResponse

Empty response for removing a member from a group.

UpdateRequest

The request of a Groups.Update RPC.

FieldTypeLabelDescription
updatesUpdaterepeatedThe updates to apply.
group_idstringThe group id.

UpdateResponse

The response of a Groups.Update RPC.

api/v1/image/service.proto

AddRequest

Request to add a new image in a capsule.

FieldTypeLabelDescription
capsule_idstringCapsule to add the image in.
imagestringContainer image to add the image from.
digeststringDigest of the image.
originapi.v1.capsule.OriginOrigin of the image
labelsAddRequest.LabelsEntryrepeatedMeta data to attach to the image.
skip_image_checkboolif true skip check if image exists.
project_idstringProject ID.

AddRequest.LabelsEntry

FieldTypeLabelDescription
keystring
valuestring

AddResponse

Response to add a new image in a capsule.

FieldTypeLabelDescription
image_idstringID of the image.
added_new_imageboolTrue if a new image was added, false if the image already existed.

DeleteRequest

Request to delete a image.

FieldTypeLabelDescription
capsule_idstringCapsule to delete the image from.
image_idstringImage to delete.
project_idstringProject ID.

DeleteResponse

Empty response to delete a image.

GetImageInfoRequest

Request to get information about an image.

FieldTypeLabelDescription
imagestringThe image to get information about.

GetImageInfoResponse

Reponse to GetImageInfo request, containing information about an image.

FieldTypeLabelDescription
image_idImageIdImage ID.
image_stringstringImage from the request.
created_atgoogle.protobuf.TimestampWhen the image was created.
originapi.v1.capsule.OriginOrigin of the image.

GetRepositoryInfoRequest

Get repository information request.

FieldTypeLabelDescription
registrystringDocker Registry
repositorystringDocker Repository

GetRepositoryInfoResponse

Get repository information response.

FieldTypeLabelDescription
tagsTagrepeatedImage Tags in the repository.

GetRequest

Request to get a image.

FieldTypeLabelDescription
capsule_idstringCapsule to get the image from.
image_idstringImage to get.
project_idstringProject ID.

GetResponse

Response to get a image.

FieldTypeLabelDescription
imageapi.v1.capsule.ImageThe image to retrieve

ImageId

A collection of image properties that uniquely identifies an image.

FieldTypeLabelDescription
registrystringDocker Registry.
repositorystringDocker Repository.
tagstringTag of the image.
digeststringDigest of the image.

ListRequest

Request to list images.

FieldTypeLabelDescription
capsule_idstringCapsule to list images in.
paginationmodel.PaginationPagination options.
project_idstringProject ID.

ListResponse

Reponse to list images.

FieldTypeLabelDescription
imagesapi.v1.capsule.ImagerepeatedImages in the capsule.
totaluint64Total number of images in the capsule.

Tag

A docker image tag.

FieldTypeLabelDescription
tagstringTag of the image.
image_created_atgoogle.protobuf.TimestampWhen the image was created.

api/v1/issue/service.proto

Filter

FieldTypeLabelDescription
projectstring
environmentstring
capsulestring
levelLevel
include_closedbool
include_stalebool

GetIssuesRequest

FieldTypeLabelDescription
paginationmodel.Pagination
filterFilter

GetIssuesResponse

FieldTypeLabelDescription
issuesIssuerepeated
totaluint64

api/v1/metrics/metrics.proto

Keys

FieldTypeLabelDescription
projectbool
environmentbool
capsulebool
metric_namebool
clusterstring
allbool

Metric

FieldTypeLabelDescription
timestampgoogle.protobuf.Timestamp
valuedouble

MetricFull

FieldTypeLabelDescription
metricMetric
tagsTags

Tags

FieldTypeLabelDescription
projectstring
environmentstring
capsulestring
metric_namestring
clusterstring

api/v1/metrics/service.proto

Aggregation

FieldTypeLabelDescription
aggregatorAggregator
bucket_sizegoogle.protobuf.Duration

Expression

FieldTypeLabelDescription
leafExpression.Leaf
operationExpression.Operation
constantExpression.Constant
with_defaultExpression.WithDefault
sumExpression.Sum

Expression.Constant

FieldTypeLabelDescription
constantdouble

Expression.Leaf

FieldTypeLabelDescription
tagsTags
aggregatorAggregator

Expression.Operation

FieldTypeLabelDescription
leftExpression
rightExpression
operationBinOp
onKeys
ignoreKeys

Expression.Sum

FieldTypeLabelDescription
onKeys
ignoreKeys
expressionExpression

Expression.WithDefault

FieldTypeLabelDescription
expressionExpression
defaultdouble

GetMetricsExpressionRequest

FieldTypeLabelDescription
expressionExpression
fromgoogle.protobuf.Timestamp
togoogle.protobuf.Timestamp
bucket_sizegoogle.protobuf.Duration

GetMetricsExpressionResponse

FieldTypeLabelDescription
metricsMetricrepeated

GetMetricsManyRequest

FieldTypeLabelDescription
tagsTagsrepeated
fromgoogle.protobuf.Timestamp
togoogle.protobuf.Timestamp
aggregationAggregation

GetMetricsManyResponse

FieldTypeLabelDescription
metricsMetricFullrepeated

GetMetricsRequest

FieldTypeLabelDescription
tagsTags
fromgoogle.protobuf.Timestamp
togoogle.protobuf.Timestamp
aggregationAggregation

GetMetricsResponse

FieldTypeLabelDescription
metricsMetricrepeated

Aggregator

NameNumberDescription
AGGREGATOR_UNSPECIFIED0
AGGREGATOR_AVG1
AGGREGATOR_MIN2
AGGREGATOR_MAX3
AGGREGATOR_SUM4

BinOp

NameNumberDescription
BINOP_UNSPECIFIED0
BINOP_ADD1
BINOP_SUB2
BINOP_MULT3
BINOP_DIV4

model/notification.proto

NotificationNotifier

FieldTypeLabelDescription
targetNotificationTarget
topicsNotificationTopicrepeated
environmentsEnvironmentFilter

NotificationTarget

FieldTypeLabelDescription
slackNotificationTarget.SlackTarget
emailNotificationTarget.EmailTarget

NotificationTarget.EmailTarget

FieldTypeLabelDescription
idstring
from_emailstring
to_emailsstringrepeated

NotificationTarget.SlackTarget

FieldTypeLabelDescription
workspacestring
channel_idstring

NotificationTopic

NameNumberDescription
NOTIFICATION_TOPIC_UNSPECIFIED0
NOTIFICATION_TOPIC_ROLLOUT1
NOTIFICATION_TOPIC_ISSUE2
NOTIFICATION_TOPIC_PROJECT3
NOTIFICATION_TOPIC_ENVIRONMENT4
NOTIFICATION_TOPIC_CAPSULE5
NOTIFICATION_TOPIC_USER6

api/v1/project/project.proto

NotificationNotifiers

FieldTypeLabelDescription
disabledboolIf the notifiers are disabled, notifiers from parent are not inherited even if these notifiers at this level are empty.
notifiersmodel.NotificationNotifierrepeated

Project

The top most model that capsules etc belong to.

FieldTypeLabelDescription
project_idstringThe unique id of the project.
created_atgoogle.protobuf.TimestampWhen the project was created.
updated_atgoogle.protobuf.TimestampWhen the project was last updated.
installation_idstringThe installation id of the project.
git_storemodel.GitStore
notifiersNotificationNotifiersThe notifiers for the project.
pipelinesmodel.PipelinerepeatedEnvironment pipelines for the project

Update

Update msg for a project.

FieldTypeLabelDescription
set_git_storemodel.GitStoreSet the git store.
notifiersNotificationNotifiersSet the notifiers.
pipelinesUpdate.PipelinesSet the pipelines

Update.Pipelines

FieldTypeLabelDescription
pipelinesmodel.PipelinerepeatedThe pipelines to update.

api/v1/project/revision.proto

Revision

FieldTypeLabelDescription
specplatform.v1.Project
metadatamodel.RevisionMetadata

api/v1/project/service.proto

CreateRequest

The request to create a project.

FieldTypeLabelDescription
initializersUpdaterepeatedThe initializers of the project.
project_idstringID of the project to create.

CreateResponse

The response to Create a project.

FieldTypeLabelDescription
projectProjectThe created project.

DeleteRequest

Request to delete a project.

FieldTypeLabelDescription
project_idstringId of the project to delete

DeleteResponse

Empty response for deleting a project.

GetCustomObjectMetricsRequest

Request to get custom metrics for a project and environment.

FieldTypeLabelDescription
object_referencemodel.ObjectReferenceThe object to get metrics for.
project_idstringThe project to get metrics for.
environment_idstringThe environment to get metrics for.

GetCustomObjectMetricsResponse

Response for getting custom metrics for a project and environment.

FieldTypeLabelDescription
metricsmodel.MetricrepeatedThe metrics for the given object.
project_idstringThe project the metrics are for.
environment_idstringThe environment the metrics are for.

GetEffectiveGitSettingsRequest

FieldTypeLabelDescription
project_idstring

GetEffectiveGitSettingsResponse

FieldTypeLabelDescription
gitmodel.GitStore

GetEffectiveNotificationSettingsRequest

FieldTypeLabelDescription
project_idstring

GetEffectiveNotificationSettingsResponse

FieldTypeLabelDescription
notifiersmodel.NotificationNotifierrepeated

GetEffectivePipelineSettingsRequest

FieldTypeLabelDescription
project_idstring
capsule_idstringIf set, the response will contain information as to whether the pipeline is already running for that capsule.

GetEffectivePipelineSettingsResponse

FieldTypeLabelDescription
pipelinesGetEffectivePipelineSettingsResponse.Pipelinerepeated

GetEffectivePipelineSettingsResponse.Pipeline

FieldTypeLabelDescription
pipelinemodel.Pipeline
already_runningbool

GetObjectsByKindRequest

Request to get all objects of a given kind in a project and environment.

FieldTypeLabelDescription
kindstringThe kind of the objects to get.
api_versionstringThe api version of the objects to get.
project_idstringThe project to get the objects for.
environment_idstringThe environment to get the objects for.

GetObjectsByKindResponse

Response for getting all objects of a given kind in a project and environment.

FieldTypeLabelDescription
objectsKubernetesObjectrepeatedThe objects of the given kind.

GetRequest

Request for getting a project.

FieldTypeLabelDescription
project_idstringThe project to get.

GetResponse

Response for getting a project.

FieldTypeLabelDescription
projectProjectThe retrieved project.

KubernetesObject

Model of a kubernetes object.

FieldTypeLabelDescription
kindstringType / kind of the object.
namestringName of the object.

ListRequest

Request for listing projects.

FieldTypeLabelDescription
paginationmodel.PaginationPagination options.

ListResponse

Response for listing projects.

FieldTypeLabelDescription
projectsProjectrepeatedThe retrieved projects.
totalint64Total number of projects.

PublicKeyRequest

Request to get the public key of a project.

FieldTypeLabelDescription
project_idstringThe project to get the key from.

PublicKeyResponse

Response for getting a projects public key.

FieldTypeLabelDescription
public_keystringthe retrieved public key.

UpdateRequest

Update the name field of a project.

FieldTypeLabelDescription
updatesUpdaterepeatedthe updates to apply.
project_idstringThe project to update.

UpdateResponse

Empty response for updating a project.

api/v1/project/settings/settings.proto

AddDockerRegistry

Message for adding a docker registry

FieldTypeLabelDescription
hoststringThe host of the docker registry.
authstringauthentication string to the docker registry.
credentialsDockerRegistryCredentialsCredentials for the docker registry.

DockerRegistry

Docker registry.

FieldTypeLabelDescription
secret_idstringThe secret id of the docker registry.
hoststringHost of the docker registry/

DockerRegistryCredentials

Credentials for a docker registry.

FieldTypeLabelDescription
usernamestringUsername for the docker registry.
passwordstringPassword for the docker registry.
emailstringEmail for the docker registry.

Settings

Project wide settings.

FieldTypeLabelDescription
docker_registriesDockerRegistryrepeatedDocker registries for images.

Update

Update message for project settings.

FieldTypeLabelDescription
add_docker_registryAddDockerRegistryAdd a docker registry.
delete_docker_registrystringDelete a docker registry.

api/v1/project/settings/service.proto

GetLicenseInfoRequest

Request to get the license information of the Rig installation.

GetLicenseInfoResponse

Response for getting the license information of the Rig installation.

// The plan of the rig installation. api.v1.project.Plan plan = 1; // The expiration date of the license. google.protobuf.Timestamp expires_at = 2;

GetSettingsRequest

Empty get settings request

GetSettingsResponse

Response for getting settings for the project.

FieldTypeLabelDescription
settingsSettingsThe settings.

UpdateSettingsRequest

Request for updating settings for a project.

FieldTypeLabelDescription
updatesUpdaterepeatedThe updates to apply.

UpdateSettingsResponse

Empty response for updating a project's settings.

api/v1/role/role.proto

EntityID

EntityID is a oneof type that can be used to represent a user, service account or group.

FieldTypeLabelDescription
user_idstringUser entity.
service_account_idstringService account entity.
group_idstringGroup entity.

Permission

A permission that is granted to a role.

FieldTypeLabelDescription
actionstringThe action that is action permission to perform.
scopeScopeThe scope in which the action can be performed.

Role

Role model for Role based access control.

FieldTypeLabelDescription
role_idstringUnique ID of the role.
permissionsPermissionrepeatedThe permissions granted to the role.
metadataRole.MetadataEntryrepeatedMetadata associated with the role.
created_atgoogle.protobuf.TimestampTimestamp when the role was created.
updated_atgoogle.protobuf.TimestampTimestamp when the role was last updated.

Role.MetadataEntry

FieldTypeLabelDescription
keystring
valuebytes

Scope

Scope for permissions.

FieldTypeLabelDescription
resourcestringThe resource on which the action can be performed. This consists of a type, and an optional ID. fx. "user/*", "group/admin"
environmentstringThe environment in which the action can be performed. This can be a wildcard.
projectstringThe project in which the action can be performed. This can be a wildcard.

Update

Update message to update a field of a role.

FieldTypeLabelDescription
add_permissionPermissionAdding a permission to the role.
remove_permissionPermissionRemoving a permission from the role.
set_metadatamodel.MetadataUpdate or create a metadata field on the role.
delete_metadata_keystringDelete a metadata field on the role.

api/v1/role/service.proto

AssignRequest

Assign a role to an entity.

FieldTypeLabelDescription
role_idstringThe role to assign.
entity_idEntityIDThe entity to assign the role to.

AssignResponse

Empty response of assigning a role to an entity.

CreateRequest

Request to create a role.

FieldTypeLabelDescription
role_idstringThe id / name of the role to create.
permissionsPermissionrepeatedThe permissions to assign to the role.

CreateResponse

Response to create a role.

FieldTypeLabelDescription
roleRoleThe created role.

DeleteRequest

Request to delete a role.

FieldTypeLabelDescription
role_idstringThe id / name of the role to delete.

DeleteResponse

Empty Response to delete a role.

GetRequest

Request to retrieve a role.

FieldTypeLabelDescription
role_idstringThe role to retrieve.

GetResponse

Response to getting a role.

FieldTypeLabelDescription
roleRoleThe retrieved role.

ListAssigneesRequest

FieldTypeLabelDescription
role_idstringThe role to list assignees for.
paginationmodel.PaginationPagination options.

ListAssigneesResponse

FieldTypeLabelDescription
entity_idsstringrepeatedThe assignees of the role.

ListForEntityRequest

FieldTypeLabelDescription
entity_idEntityIDThe entity to list roles for.
paginationmodel.PaginationPagination options.

ListForEntityResponse

FieldTypeLabelDescription
role_idsstringrepeatedThe roles assigned to the entity.

ListRequest

Request to list roles.

FieldTypeLabelDescription
paginationmodel.PaginationPagination options.

ListResponse

Response to list roles.

FieldTypeLabelDescription
rolesRolerepeatedThe retrieved roles.

RevokeRequest

Revoke a role from an entity.

FieldTypeLabelDescription
role_idstringThe role to revoke.
entity_idEntityIDThe entity to revoke the role from.

RevokeResponse

Empty response for revoking a role.

UpdateRequest

Request to update a role.

FieldTypeLabelDescription
role_idstringthe role to update.
updatesUpdaterepeatedThe updates to apply to the role.

UpdateResponse

Empty update response.

api/v1/service_account/service_account.proto

ServiceAccount

Service account model.

FieldTypeLabelDescription
namestringUnique name of the service account.
created_atgoogle.protobuf.TimestampCreation date.
created_bymodel.AuthorAuthor of the service account.
managedboolWhether the service account is managed by the system.
group_idsstringrepeatedList of group IDs the service account belongs to.

api/v1/service_account/service.proto

CreateRequest

Request o create a service account.

FieldTypeLabelDescription
namestringName of the service account to create.
initial_group_idstringIf set, the service-account will be added to this group upon creation.

CreateResponse

Response of creating a service account.

FieldTypeLabelDescription
service_accountServiceAccountThe created service account.
client_idstringThe client id of the service account.
client_secretstringThe client secret of the service account.

DeleteRequest

Request to delete a service account.

FieldTypeLabelDescription
service_account_idstringThe id of the service account to delete.

DeleteResponse

Empty response for deleting a service account.

ListRequest

Request to list service accounts.

ListResponse

Response for listing service accounts.

FieldTypeLabelDescription
service_accountsmodel.ServiceAccountEntryrepeatedthe retrieved service accounts.

api/v1/settings/configuration.proto

Client

FieldTypeLabelDescription
slackSlack
emailEmailClientrepeated
gitGitrepeated

Configuration

Platform wide static configuration.

FieldTypeLabelDescription
clientClient
docker_registriesstringrepeated
default_emailEmailClient
capsule_extensionsConfiguration.CapsuleExtensionsEntryrepeated

Configuration.CapsuleExtensionsEntry

FieldTypeLabelDescription
keystring
valueExtension

EmailClient

FieldTypeLabelDescription
idstring
typeEmailType

Extension

FieldTypeLabelDescription
json_schemastringThe schema of the extension, expressed as a json-schema (https://json-schema.org/).

Git

FieldTypeLabelDescription
urlstringURL is a exact match for the repo-url this auth can be used for.
url_prefixstringURLPrefix is a prefix-match for the repo urls this auth can be used for.

Slack

FieldTypeLabelDescription
workspaceSlack.Workspacerepeated

Slack.Workspace

FieldTypeLabelDescription
namestring

EmailType

NameNumberDescription
EMAIL_TYPE_UNSPECIFIED0
EMAIL_TYPE_MAILJET1
EMAIL_TYPE_SMTP2

api/v1/settings/settings.proto

Settings

Platform wide settings.

FieldTypeLabelDescription
notification_notifiersmodel.NotificationNotifierrepeated
git_storemodel.GitStore
pipelinesmodel.Pipelinerepeated

Update

Update message for platform settings.

FieldTypeLabelDescription
set_notification_notifiersUpdate.SetNotificationNotifiersSet the notification notifiers.
set_git_storemodel.GitStoreSet the git store.
set_pipelinesUpdate.SetPipelinesSet the pipelines.

Update.SetNotificationNotifiers

FieldTypeLabelDescription
notifiersmodel.NotificationNotifierrepeated

Update.SetPipelines

FieldTypeLabelDescription
pipelinesmodel.Pipelinerepeated

Plan

The plan for a rig installation

NameNumberDescription
PLAN_UNSPECIFIED0Unspecified / unactivated plan.
PLAN_FREE1Free tier.
PLAN_TEAM2Team / Pro tier.
PLAN_ENTERPRISE3Enterprise tier.

model/id.proto

CapsuleID

FieldTypeLabelDescription
projectstring
environmentstring
capsulestring

CapsuleSetID

FieldTypeLabelDescription
projectstring
capsulestring

api/v1/settings/service.proto

GetConfigurationRequest

GetConfigurationResponse

FieldTypeLabelDescription
configurationConfiguration

GetGitStoreStatusRequest

GetGitStoreStatusResponse

FieldTypeLabelDescription
repositoriesGetGitStoreStatusResponse.RepoGitStatusrepeated
capsulesGetGitStoreStatusResponse.CapsuleStatusrepeated
capsule_setsGetGitStoreStatusResponse.CapsuleSetStatusrepeated
errorsGetGitStoreStatusResponse.CallbackErrrepeated

GetGitStoreStatusResponse.CallbackErr

FieldTypeLabelDescription
errstring
timestampgoogle.protobuf.Timestamp

GetGitStoreStatusResponse.CapsuleSetStatus

FieldTypeLabelDescription
capsulemodel.CapsuleSetID
statusmodel.GitStatus

GetGitStoreStatusResponse.CapsuleStatus

FieldTypeLabelDescription
capsulemodel.CapsuleID
statusmodel.GitStatus

GetGitStoreStatusResponse.RepoGitStatus

FieldTypeLabelDescription
repomodel.RepoBranch
statusmodel.GitStatus

GetLicenseInfoRequest

Request to get the license information of the Rig installation.

GetLicenseInfoResponse

Response for getting the license information of the Rig installation.

FieldTypeLabelDescription
expires_atgoogle.protobuf.TimestampThe expiration date of the license.
user_limitint32The number of users allowed in the installation.

GetSettingsRequest

GetSettingsResponse

FieldTypeLabelDescription
settingsSettings

UpdateSettingsRequest

FieldTypeLabelDescription
updatesUpdaterepeated

UpdateSettingsResponse

api/v1/tunnel/service.proto

TunnelClose

FieldTypeLabelDescription
tunnel_iduint64
codeuint32
messagestring

TunnelData

FieldTypeLabelDescription
tunnel_iduint64
databytes

TunnelInfo

FieldTypeLabelDescription
tunnel_iduint64
portuint32

TunnelMessage

FieldTypeLabelDescription
new_tunnelTunnelInfo
dataTunnelData
closeTunnelClose

TunnelRequest

FieldTypeLabelDescription
messageTunnelMessage

TunnelResponse

FieldTypeLabelDescription
messageTunnelMessage

api/v1/user/user.proto

AuthMethod

how a user is authenticated.

FieldTypeLabelDescription
login_typemodel.LoginTypeLogin type of the user.

Profile

User profile

FieldTypeLabelDescription
first_namestringFirst name of the user.
last_namestringLast name of the user.

Session

A user's sessions.

FieldTypeLabelDescription
auth_methodAuthMethodhow the user is authenticated.
is_invalidatedboolif the session is invalidated
created_atgoogle.protobuf.TimestampTimestamp when the session was created.
invalidated_atgoogle.protobuf.TimestampTimestamp when the session was invalidated.
expires_atgoogle.protobuf.TimestampTimestamp when the session expires.
renewed_atgoogle.protobuf.TimestampTimestamp when the session was renewed.
countrystringCountry of the session.
postal_codeint32Postal code of the session.

SessionEntry

Session entry

FieldTypeLabelDescription
session_idstringSession ID of the session.
sessionSessionSession of the session.

Update

Update message to update a user.

FieldTypeLabelDescription
emailstringEmail of the user.
usernamestringUsername of the user.
phone_numberstringDeprecated: text is not supported - Phone number of the user.
passwordstringPassword of the user.
profileProfileProfile of the user.
is_email_verifiedboolWhether the user's email is verified.
is_phone_verifiedboolDeprecated: text is not supported - Whether the user's phone number is verified.
reset_sessionsUpdate.ResetSessionsReset sessions of the user.
set_metadatamodel.MetadataSet metadata of the user.
delete_metadata_keystringDelete metadata of the user.
hashed_passwordmodel.HashingInstanceHashed password of the user.

Update.ResetSessions

if sessions are reset, all sessions will be invalidated and a new session will be created.

User

The user model.

FieldTypeLabelDescription
user_idstringUser ID of the user.
user_infomodel.UserInfoUser info of the user.
profileProfileProfile of the user.
updated_atgoogle.protobuf.TimestampTimestamp when the user was last updated.
register_infomodel.RegisterInfoRegister info of the user.
is_phone_verifiedboolDeprecated: text is not supported - Whether the user's phone number is verified.
is_email_verifiedboolWhether the user's email is verified.
new_sessions_sincegoogle.protobuf.TimestampTimestamp when the user last created a new session.
metadataUser.MetadataEntryrepeatedMetadata of the user.

User.MetadataEntry

FieldTypeLabelDescription
keystring
valuebytes

VerificationCode

short-lived verification code.

FieldTypeLabelDescription
codemodel.HashingInstanceHashed verification code.
sent_atgoogle.protobuf.TimestampTimestamp when the verification code was sent.
expires_atgoogle.protobuf.TimestampTimestamp when the verification code expires.
attemptsint32Number of attempts to verify the code.
last_attemptgoogle.protobuf.TimestampTimestamp of the last attempt to verify the code.
typeVerificationTypeType of verification code.
user_idstringUser ID of the user who the code was sent to.

VerificationType

Type of verification code

NameNumberDescription
VERIFICATION_TYPE_UNSPECIFIED0Default value
VERIFICATION_TYPE_EMAIL1Email verification code.
VERIFICATION_TYPE_TEXT2Deprecated: text is not supported - text verification code.
VERIFICATION_TYPE_RESET_PASSWORD3reset password verification code.

api/v1/user/service.proto

CreateRequest

The request to create a user.

FieldTypeLabelDescription
initializersUpdaterepeatedInitial fields to set.
initial_group_idstringIf set, the user will be added to this group upon creation.

CreateResponse

The response of creating a user.

FieldTypeLabelDescription
userUserThe created user.

DeleteRequest

Request for deleting a user.

FieldTypeLabelDescription
user_idstringThe user identifier to fetch the user.

DeleteResponse

Empty response for deleting a user.

GetByIdentifierRequest

Request to get a user by an identifier.

FieldTypeLabelDescription
identifiermodel.UserIdentifierThe identifier to lookup.

GetByIdentifierResponse

Response to get a user by an identifier.

FieldTypeLabelDescription
userUserThe user.

GetRequest

Get request for retrieving a user.

FieldTypeLabelDescription
user_idstringThe user identifier to fetch the user.

GetResponse

The response of getting a user.

FieldTypeLabelDescription
userUserThe retrieved user.

ListRequest

Request for listing users.

FieldTypeLabelDescription
paginationmodel.PaginationPagination options.
searchstringSearch string.

ListResponse

Response for listing users.

FieldTypeLabelDescription
usersmodel.UserEntryrepeatedThe users returned.
totaluint64total number of users.

ListSessionsRequest

Request to list a users login sessions.

FieldTypeLabelDescription
user_idstringThe user to retrieve sessions for.
paginationmodel.PaginationPagination options.

ListSessionsResponse

The response of listing a users login sessions.

FieldTypeLabelDescription
sessionsSessionEntryrepeatedThe retrieved sessions.
totaluint64The total number of sessions.

UpdateRequest

The request of updating a user.

FieldTypeLabelDescription
user_idstringThe user identifier of the user to update.
updatesUpdaterepeatedThe updates to apply to the user.

UpdateResponse

Empty update response.

model/credentials.proto

ProviderCredentials

Generic credentials model.

FieldTypeLabelDescription
public_keystringPublic key.
private_keystringPrivate key.

api/v1/user/settings/settings.proto

AuthMethod

Message that tells how the user was authenticated.

FieldTypeLabelDescription
login_typemodel.LoginType

DefaultInstance

Default email provider instance.

EmailInstance

Type of email instance in a provider.

FieldTypeLabelDescription
defaultDefaultInstancedefault from platform config.
mailjetMailjetInstanceMailjet instance.
smtpSmtpInstanceSMTP instance.

EmailProvider

The email provider.

FieldTypeLabelDescription
fromstringThe email-address that the provider sends emails from.
credentialsmodel.ProviderCredentialsThe credentials for the provider.
instanceEmailInstanceThe instance of the provider.

EmailProviderEntry

an entry model for the email provider.

FieldTypeLabelDescription
fromstringThe email-address that the provider sends emails from.
client_idstringThe client id for the provider.
secret_idstringThe secret id for the provider.
instanceEmailInstanceThe instance of the provider.

MailjetInstance

Mailjet email rpvoider instance.

RegisterMethod

Message that tells how the user was registered / created.

FieldTypeLabelDescription
systemRegisterMethod.SystemThe user was created by the system.
signupRegisterMethod.SignupThe user was self-registered with a login-type.

RegisterMethod.Signup

The user was self-registered with a login-type.

FieldTypeLabelDescription
login_typemodel.LoginTypeThe login type used to register.

RegisterMethod.System

The user was created by the system.

Settings

The users settings configuration. Settings of everything that has to do with users.

FieldTypeLabelDescription
allow_registerboolIf true, users can self register.
is_verified_email_requiredboolIf true, users must be verified via email to login.
is_verified_phone_requiredboolDeprecated: Text is not supported - If true, users must be verified via phone to login.
access_token_ttlgoogle.protobuf.DurationAccess token Time to Live.
refresh_token_ttlgoogle.protobuf.DurationRefresh token Time to Live.
verification_code_ttlgoogle.protobuf.DurationVerification code Time to Live.
password_hashingmodel.HashingConfigThe hashing config used to hash passwords.
login_mechanismsmodel.LoginTyperepeatedThe allowed login mechanisms.
send_welcome_mailboolIf true, send a welcome email to new users.
email_providerEmailProviderEntryThe email provider.
text_providerTextProviderEntryDeprecated: Text is not supported - The text provider.
templatesTemplatesThe templates used for sending emails and texts.

SmtpInstance

SMTP email provider instance.

FieldTypeLabelDescription
hoststringHost of the smtp server.
portint64Port of the smtp server.

Template

A generic template model for sending emails and texts.

FieldTypeLabelDescription
bodystringThe body of the template.
subjectstringThe subject of the template.
typeTemplateTypeThe type of the template.
formatstringrepeatedThe format of the template.

Templates

FieldTypeLabelDescription
welcome_emailTemplateThe welcome email template.
welcome_textTemplateDeprecated: Text is not supported - The welcome text template.
reset_password_emailTemplateThe reset password email template.
reset_password_textTemplateDeprecated: Text is not supported - The reset password text template.
verify_emailTemplateThe email verification template.
verify_phone_numberTemplateDeprecated: Text is not supported - The text verification template.

TextInstance

Deprecated: Text is not supported - Type of text instance in a provider.

FieldTypeLabelDescription
defaultDefaultInstancedefault from platform config.
twilioTwilioInstanceTwilio instance.

TextProvider

Deprecated: Text is not supported - The text provider.

FieldTypeLabelDescription
fromstringThe phone number that the provider sends texts from.
credentialsmodel.ProviderCredentialsThe credentials for the provider.
instanceTextInstanceThe instance of the provider.

TextProviderEntry

Deprecated: Text is not supported - An entry model for the text provider.

FieldTypeLabelDescription
fromstringThe phone number that the provider sends texts from.
client_idstringThe client id for the provider.
secret_idstringThe secret id for the provider.
instanceTextInstanceThe instance of the provider.

TwilioInstance

Deprecated: Text is not supported - Default text provider instance.

Update

Update message for updating users settings.

FieldTypeLabelDescription
allow_registerboolIf true, users can self register.
is_verified_email_requiredboolIf true, users must be verified via email to login.
is_verified_phone_requiredboolIf true, users must be verified via phone to login.
access_token_ttlgoogle.protobuf.DurationAccess token Time to Live.
refresh_token_ttlgoogle.protobuf.DurationRefresh token Time to Live.
verification_code_ttlgoogle.protobuf.DurationVerification code Time to Live.
password_hashingmodel.HashingConfigThe hashing config used to hash passwords.
login_mechanismsUpdate.LoginMechanismsThe allowed login mechanisms.
email_providerEmailProviderThe email provider.
text_providerTextProviderThe text provider.
templateTemplateThe templates used for sending emails and texts.

Update.LoginMechanisms

The allowed login mechanisms

FieldTypeLabelDescription
login_mechanismsmodel.LoginTyperepeated

TemplateType

The different template types.

NameNumberDescription
TEMPLATE_TYPE_UNSPECIFIED0Unspecified template type.
TEMPLATE_TYPE_WELCOME_EMAIL1The welcome email template.
TEMPLATE_TYPE_EMAIL_VERIFICATION2The email verification template.
TEMPLATE_TYPE_EMAIL_RESET_PASSWORD3The reset password email template.
TEMPLATE_TYPE_WELCOME_TEXT4Deprecated: Text is not supported - The welcome text template.
TEMPLATE_TYPE_TEXT_VERIFICATION5Deprecated: Text is not supported - The text verification template.
TEMPLATE_TYPE_TEXT_RESET_PASSWORD6Deprecated: Text is not supported - The reset password text template.

api/v1/user/settings/service.proto

GetSettingsRequest

Request for getting users settings for the Rig project.

GetSettingsResponse

Response for getting users settings for the Rig project.

FieldTypeLabelDescription
settingsSettingsThe users settings.

UpdateSettingsRequest

Request for updating users settings for the Rig project.

FieldTypeLabelDescription
settingsUpdaterepeatedThe updates to apply to the users settings.

UpdateSettingsResponse

Empty response for updating users settings for the Rig project.

k8s.io/apimachinery/pkg/api/resource/generated.proto

Quantity

FieldTypeLabelDescription
stringstring

k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto

TypeMeta

FieldTypeLabelDescription
kindstring
aPIVersionstring