capsule

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

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	PathMatchType_name = map[int32]string{
		0: "PATH_MATCH_TYPE_UNSPECIFIED",
		1: "PATH_MATCH_TYPE_PATH_PREFIX",
		2: "PATH_MATCH_TYPE_EXACT",
		3: "PATH_MATCH_TYPE_REGULAR_EXPRESSION",
	}
	PathMatchType_value = map[string]int32{
		"PATH_MATCH_TYPE_UNSPECIFIED":        0,
		"PATH_MATCH_TYPE_PATH_PREFIX":        1,
		"PATH_MATCH_TYPE_EXACT":              2,
		"PATH_MATCH_TYPE_REGULAR_EXPRESSION": 3,
	}
)

Enum value maps for PathMatchType.

View Source
var (
	EnvironmentSource_Kind_name = map[int32]string{
		0: "KIND_UNSPECIFIED",
		1: "KIND_CONFIG_MAP",
		2: "KIND_SECRET",
	}
	EnvironmentSource_Kind_value = map[string]int32{
		"KIND_UNSPECIFIED": 0,
		"KIND_CONFIG_MAP":  1,
		"KIND_SECRET":      2,
	}
)

Enum value maps for EnvironmentSource_Kind.

View Source
var (
	FieldOperation_name = map[int32]string{
		0: "FIELD_OPERATION_UNSPECIFIED",
		1: "FIELD_OPERATION_ADDED",
		2: "FIELD_OPERATION_REMOVED",
		3: "FIELD_OPERATION_MODIFIED",
	}
	FieldOperation_value = map[string]int32{
		"FIELD_OPERATION_UNSPECIFIED": 0,
		"FIELD_OPERATION_ADDED":       1,
		"FIELD_OPERATION_REMOVED":     2,
		"FIELD_OPERATION_MODIFIED":    3,
	}
)

Enum value maps for FieldOperation.

View Source
var (
	State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "STATE_PENDING",
		2: "STATE_RUNNING",
		3: "STATE_SUCCEEDED",
		4: "STATE_FAILED",
	}
	State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"STATE_PENDING":     1,
		"STATE_RUNNING":     2,
		"STATE_SUCCEEDED":   3,
		"STATE_FAILED":      4,
	}
)

Enum value maps for State.

View Source
var (
	JobState_name = map[int32]string{
		0: "JOB_STATE_UNSPECIFIED",
		1: "JOB_STATE_ONGOING",
		2: "JOB_STATE_COMPLETED",
		3: "JOB_STATE_FAILED",
		4: "JOB_STATE_TERMINATED",
	}
	JobState_value = map[string]int32{
		"JOB_STATE_UNSPECIFIED": 0,
		"JOB_STATE_ONGOING":     1,
		"JOB_STATE_COMPLETED":   2,
		"JOB_STATE_FAILED":      3,
		"JOB_STATE_TERMINATED":  4,
	}
)

Enum value maps for JobState.

View Source
var (
	EventType_name = map[int32]string{
		0: "EVENT_TYPE_UNSPECIFIED",
		1: "EVENT_TYPE_ABORT",
	}
	EventType_value = map[string]int32{
		"EVENT_TYPE_UNSPECIFIED": 0,
		"EVENT_TYPE_ABORT":       1,
	}
)

Enum value maps for EventType.

View Source
var (
	Transition_name = map[int32]string{
		0: "TRANSITION_UNSPECIFIED",
		1: "TRANSITION_BEING_CREATED",
		2: "TRANSITION_UP_TO_DATE",
		3: "TRANSITION_BEING_DELETED",
	}
	Transition_value = map[string]int32{
		"TRANSITION_UNSPECIFIED":   0,
		"TRANSITION_BEING_CREATED": 1,
		"TRANSITION_UP_TO_DATE":    2,
		"TRANSITION_BEING_DELETED": 3,
	}
)

Enum value maps for Transition.

View Source
var File_api_v1_capsule_capsule_proto protoreflect.FileDescriptor
View Source
var File_api_v1_capsule_change_proto protoreflect.FileDescriptor
View Source
var File_api_v1_capsule_event_proto protoreflect.FileDescriptor
View Source
var File_api_v1_capsule_field_proto protoreflect.FileDescriptor
View Source
var File_api_v1_capsule_image_proto protoreflect.FileDescriptor
View Source
var File_api_v1_capsule_instance_proto protoreflect.FileDescriptor
View Source
var File_api_v1_capsule_job_proto protoreflect.FileDescriptor
View Source
var File_api_v1_capsule_log_proto protoreflect.FileDescriptor
View Source
var File_api_v1_capsule_revision_proto protoreflect.FileDescriptor
View Source
var File_api_v1_capsule_rollout_proto protoreflect.FileDescriptor
View Source
var File_api_v1_capsule_service_proto protoreflect.FileDescriptor
View Source
var File_api_v1_capsule_sidecar_proto protoreflect.FileDescriptor
View Source
var File_api_v1_capsule_status_proto protoreflect.FileDescriptor
View Source
var Service_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "api.v1.capsule.Service",
	HandlerType: (*ServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Create",
			Handler:    _Service_Create_Handler,
		},
		{
			MethodName: "Get",
			Handler:    _Service_Get_Handler,
		},
		{
			MethodName: "Delete",
			Handler:    _Service_Delete_Handler,
		},
		{
			MethodName: "Update",
			Handler:    _Service_Update_Handler,
		},
		{
			MethodName: "List",
			Handler:    _Service_List_Handler,
		},
		{
			MethodName: "Deploy",
			Handler:    _Service_Deploy_Handler,
		},
		{
			MethodName: "DeploySet",
			Handler:    _Service_DeploySet_Handler,
		},
		{
			MethodName: "ProposeRollout",
			Handler:    _Service_ProposeRollout_Handler,
		},
		{
			MethodName: "ProposeSetRollout",
			Handler:    _Service_ProposeSetRollout_Handler,
		},
		{
			MethodName: "ListProposals",
			Handler:    _Service_ListProposals_Handler,
		},
		{
			MethodName: "ListSetProposals",
			Handler:    _Service_ListSetProposals_Handler,
		},
		{
			MethodName: "GetProposalsEnabled",
			Handler:    _Service_GetProposalsEnabled_Handler,
		},
		{
			MethodName: "ListInstances",
			Handler:    _Service_ListInstances_Handler,
		},
		{
			MethodName: "RestartInstance",
			Handler:    _Service_RestartInstance_Handler,
		},
		{
			MethodName: "GetRollout",
			Handler:    _Service_GetRollout_Handler,
		},
		{
			MethodName: "ListRollouts",
			Handler:    _Service_ListRollouts_Handler,
		},
		{
			MethodName: "AbortRollout",
			Handler:    _Service_AbortRollout_Handler,
		},
		{
			MethodName: "StopRollout",
			Handler:    _Service_StopRollout_Handler,
		},
		{
			MethodName: "ListEvents",
			Handler:    _Service_ListEvents_Handler,
		},
		{
			MethodName: "CapsuleMetrics",
			Handler:    _Service_CapsuleMetrics_Handler,
		},
		{
			MethodName: "GetInstanceStatus",
			Handler:    _Service_GetInstanceStatus_Handler,
		},
		{
			MethodName: "ListInstanceStatuses",
			Handler:    _Service_ListInstanceStatuses_Handler,
		},
		{
			MethodName: "GetCustomInstanceMetrics",
			Handler:    _Service_GetCustomInstanceMetrics_Handler,
		},
		{
			MethodName: "GetJobExecutions",
			Handler:    _Service_GetJobExecutions_Handler,
		},
		{
			MethodName: "GetStatus",
			Handler:    _Service_GetStatus_Handler,
		},
		{
			MethodName: "GetRevision",
			Handler:    _Service_GetRevision_Handler,
		},
		{
			MethodName: "GetRolloutOfRevisions",
			Handler:    _Service_GetRolloutOfRevisions_Handler,
		},
		{
			MethodName: "GetEffectiveGitSettings",
			Handler:    _Service_GetEffectiveGitSettings_Handler,
		},
		{
			MethodName: "StartPipeline",
			Handler:    _Service_StartPipeline_Handler,
		},
		{
			MethodName: "GetPipelineStatus",
			Handler:    _Service_GetPipelineStatus_Handler,
		},
		{
			MethodName: "PromotePipeline",
			Handler:    _Service_PromotePipeline_Handler,
		},
		{
			MethodName: "AbortPipeline",
			Handler:    _Service_AbortPipeline_Handler,
		},
		{
			MethodName: "ListPipelineStatuses",
			Handler:    _Service_ListPipelineStatuses_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "Logs",
			Handler:       _Service_Logs_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "WatchRollouts",
			Handler:       _Service_WatchRollouts_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "WatchInstanceStatuses",
			Handler:       _Service_WatchInstanceStatuses_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "Execute",
			Handler:       _Service_Execute_Handler,
			ServerStreams: true,
			ClientStreams: true,
		},
		{
			StreamName:    "PortForward",
			Handler:       _Service_PortForward_Handler,
			ServerStreams: true,
			ClientStreams: true,
		},
		{
			StreamName:    "WatchStatus",
			Handler:       _Service_WatchStatus_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "api/v1/capsule/service.proto",
}

Service_ServiceDesc is the grpc.ServiceDesc for Service service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterServiceServer

func RegisterServiceServer(s grpc.ServiceRegistrar, srv ServiceServer)

Types

type AbortEvent

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

An event that is associated with an abort.

func (*AbortEvent) Descriptor deprecated

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

Deprecated: Use AbortEvent.ProtoReflect.Descriptor instead.

func (*AbortEvent) ProtoMessage

func (*AbortEvent) ProtoMessage()

func (*AbortEvent) ProtoReflect

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

func (*AbortEvent) Reset

func (x *AbortEvent) Reset()

func (*AbortEvent) String

func (x *AbortEvent) String() string

type AbortPipelineRequest

type AbortPipelineRequest struct {
	ExecutionId uint64 `protobuf:"varint,1,opt,name=execution_id,json=executionId,proto3" json:"execution_id,omitempty"`
	// contains filtered or unexported fields
}

func (*AbortPipelineRequest) Descriptor deprecated

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

Deprecated: Use AbortPipelineRequest.ProtoReflect.Descriptor instead.

func (*AbortPipelineRequest) GetExecutionId

func (x *AbortPipelineRequest) GetExecutionId() uint64

func (*AbortPipelineRequest) ProtoMessage

func (*AbortPipelineRequest) ProtoMessage()

func (*AbortPipelineRequest) ProtoReflect

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

func (*AbortPipelineRequest) Reset

func (x *AbortPipelineRequest) Reset()

func (*AbortPipelineRequest) String

func (x *AbortPipelineRequest) String() string

type AbortPipelineResponse

type AbortPipelineResponse struct {
	Status *pipeline.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*AbortPipelineResponse) Descriptor deprecated

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

Deprecated: Use AbortPipelineResponse.ProtoReflect.Descriptor instead.

func (*AbortPipelineResponse) GetStatus

func (x *AbortPipelineResponse) GetStatus() *pipeline.Status

func (*AbortPipelineResponse) ProtoMessage

func (*AbortPipelineResponse) ProtoMessage()

func (*AbortPipelineResponse) ProtoReflect

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

func (*AbortPipelineResponse) Reset

func (x *AbortPipelineResponse) Reset()

func (*AbortPipelineResponse) String

func (x *AbortPipelineResponse) String() string

type AbortRolloutRequest

type AbortRolloutRequest struct {

	// The capsule to abort the rollout in.
	CapsuleId string `protobuf:"bytes,1,opt,name=capsule_id,json=capsuleId,proto3" json:"capsule_id,omitempty"`
	// The rollout to abort.
	RolloutId uint64 `protobuf:"varint,2,opt,name=rollout_id,json=rolloutId,proto3" json:"rollout_id,omitempty"`
	// The project in which the capsule lives.
	ProjectId string `protobuf:"bytes,3,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// contains filtered or unexported fields
}

AbortRolloutRequest aborts a rollout.

func (*AbortRolloutRequest) Descriptor deprecated

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

Deprecated: Use AbortRolloutRequest.ProtoReflect.Descriptor instead.

func (*AbortRolloutRequest) GetCapsuleId

func (x *AbortRolloutRequest) GetCapsuleId() string

func (*AbortRolloutRequest) GetProjectId

func (x *AbortRolloutRequest) GetProjectId() string

func (*AbortRolloutRequest) GetRolloutId

func (x *AbortRolloutRequest) GetRolloutId() uint64

func (*AbortRolloutRequest) ProtoMessage

func (*AbortRolloutRequest) ProtoMessage()

func (*AbortRolloutRequest) ProtoReflect

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

func (*AbortRolloutRequest) Reset

func (x *AbortRolloutRequest) Reset()

func (*AbortRolloutRequest) String

func (x *AbortRolloutRequest) String() string

type AbortRolloutResponse

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

AbortRolloutResponse is an empty response.

func (*AbortRolloutResponse) Descriptor deprecated

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

Deprecated: Use AbortRolloutResponse.ProtoReflect.Descriptor instead.

func (*AbortRolloutResponse) ProtoMessage

func (*AbortRolloutResponse) ProtoMessage()

func (*AbortRolloutResponse) ProtoReflect

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

func (*AbortRolloutResponse) Reset

func (x *AbortRolloutResponse) Reset()

func (*AbortRolloutResponse) String

func (x *AbortRolloutResponse) String() string

type CPUTarget

type CPUTarget struct {

	// Average CPU utilization target.
	AverageUtilizationPercentage uint32 `` /* 148-byte string literal not displayed */
	// contains filtered or unexported fields
}

Autoscaling based on CPU target.

func (*CPUTarget) Descriptor deprecated

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

Deprecated: Use CPUTarget.ProtoReflect.Descriptor instead.

func (*CPUTarget) GetAverageUtilizationPercentage

func (x *CPUTarget) GetAverageUtilizationPercentage() uint32

func (*CPUTarget) ProtoMessage

func (*CPUTarget) ProtoMessage()

func (*CPUTarget) ProtoReflect

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

func (*CPUTarget) Reset

func (x *CPUTarget) Reset()

func (*CPUTarget) String

func (x *CPUTarget) String() string

type Capsule

type Capsule struct {

	// ID of the capsule.
	CapsuleId string `protobuf:"bytes,1,opt,name=capsule_id,json=capsuleId,proto3" json:"capsule_id,omitempty"`
	// Last time the capsule was updated.
	UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// Author of the last update.
	UpdatedBy *model.Author   `protobuf:"bytes,7,opt,name=updated_by,json=updatedBy,proto3" json:"updated_by,omitempty"`
	GitStore  *model.GitStore `protobuf:"bytes,8,opt,name=git_store,json=gitStore,proto3" json:"git_store,omitempty"`
	// contains filtered or unexported fields
}

Environment wide capsule abstraction.

func (*Capsule) Descriptor deprecated

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

Deprecated: Use Capsule.ProtoReflect.Descriptor instead.

func (*Capsule) GetCapsuleId

func (x *Capsule) GetCapsuleId() string

func (*Capsule) GetGitStore

func (x *Capsule) GetGitStore() *model.GitStore

func (*Capsule) GetUpdatedAt

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

func (*Capsule) GetUpdatedBy

func (x *Capsule) GetUpdatedBy() *model.Author

func (*Capsule) ProtoMessage

func (*Capsule) ProtoMessage()

func (*Capsule) ProtoReflect

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

func (*Capsule) Reset

func (x *Capsule) Reset()

func (*Capsule) String

func (x *Capsule) String() string

type CapsuleMetricsRequest

type CapsuleMetricsRequest struct {

	// The capsule to get metrics for.
	CapsuleId string `protobuf:"bytes,1,opt,name=capsule_id,json=capsuleId,proto3" json:"capsule_id,omitempty"`
	// If set, only returns metrics for the given instance_id.
	InstanceId string `protobuf:"bytes,2,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
	// The project in which the capsule lives.
	ProjectId string `protobuf:"bytes,4,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// The environment to get metrics for.
	EnvironmentId string `protobuf:"bytes,5,opt,name=environment_id,json=environmentId,proto3" json:"environment_id,omitempty"`
	// Return metrics generated after 'since'
	Since *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=since,proto3" json:"since,omitempty"`
	// contains filtered or unexported fields
}

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

func (*CapsuleMetricsRequest) Descriptor deprecated

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

Deprecated: Use CapsuleMetricsRequest.ProtoReflect.Descriptor instead.

func (*CapsuleMetricsRequest) GetCapsuleId

func (x *CapsuleMetricsRequest) GetCapsuleId() string

func (*CapsuleMetricsRequest) GetEnvironmentId

func (x *CapsuleMetricsRequest) GetEnvironmentId() string

func (*CapsuleMetricsRequest) GetInstanceId

func (x *CapsuleMetricsRequest) GetInstanceId() string

func (*CapsuleMetricsRequest) GetProjectId

func (x *CapsuleMetricsRequest) GetProjectId() string

func (*CapsuleMetricsRequest) GetSince

func (*CapsuleMetricsRequest) ProtoMessage

func (*CapsuleMetricsRequest) ProtoMessage()

func (*CapsuleMetricsRequest) ProtoReflect

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

func (*CapsuleMetricsRequest) Reset

func (x *CapsuleMetricsRequest) Reset()

func (*CapsuleMetricsRequest) String

func (x *CapsuleMetricsRequest) String() string

type CapsuleMetricsResponse

type CapsuleMetricsResponse struct {

	// Metrics
	InstanceMetrics []*model.InstanceMetrics `protobuf:"bytes,1,rep,name=instance_metrics,json=instanceMetrics,proto3" json:"instance_metrics,omitempty"`
	// contains filtered or unexported fields
}

Response to getting capsule metrics.

func (*CapsuleMetricsResponse) Descriptor deprecated

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

Deprecated: Use CapsuleMetricsResponse.ProtoReflect.Descriptor instead.

func (*CapsuleMetricsResponse) GetInstanceMetrics

func (x *CapsuleMetricsResponse) GetInstanceMetrics() []*model.InstanceMetrics

func (*CapsuleMetricsResponse) ProtoMessage

func (*CapsuleMetricsResponse) ProtoMessage()

func (*CapsuleMetricsResponse) ProtoReflect

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

func (*CapsuleMetricsResponse) Reset

func (x *CapsuleMetricsResponse) Reset()

func (*CapsuleMetricsResponse) String

func (x *CapsuleMetricsResponse) String() string

type CapsuleStatus

type CapsuleStatus struct {
	Statuses []*pipeline.ObjectStatus `protobuf:"bytes,1,rep,name=statuses,proto3" json:"statuses,omitempty"`
	// contains filtered or unexported fields
}

func (*CapsuleStatus) Descriptor deprecated

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

Deprecated: Use CapsuleStatus.ProtoReflect.Descriptor instead.

func (*CapsuleStatus) GetStatuses

func (x *CapsuleStatus) GetStatuses() []*pipeline.ObjectStatus

func (*CapsuleStatus) ProtoMessage

func (*CapsuleStatus) ProtoMessage()

func (*CapsuleStatus) ProtoReflect

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

func (*CapsuleStatus) Reset

func (x *CapsuleStatus) Reset()

func (*CapsuleStatus) String

func (x *CapsuleStatus) String() string

type Change

type Change struct {

	// Different types of changes.
	//
	// Types that are assignable to Field:
	//
	//	*Change_Replicas
	//	*Change_ImageId
	//	*Change_Network
	//	*Change_ContainerSettings
	//	*Change_AutoAddRigServiceAccounts
	//	*Change_SetConfigFile
	//	*Change_SetConfigFileRef
	//	*Change_RemoveConfigFile
	//	*Change_HorizontalScale
	//	*Change_Rollback_
	//	*Change_SetEnvironmentVariable
	//	*Change_RemoveEnvironmentVariable
	//	*Change_SetEnvironmentSource
	//	*Change_RemoveEnvironmentSource
	//	*Change_CommandArguments_
	//	*Change_AddCronJob
	//	*Change_RemoveCronJob_
	//	*Change_SetInterface
	//	*Change_RemoveInterface
	//	*Change_SetAnnotations
	//	*Change_SetAnnotation
	//	*Change_RemoveAnnotation
	//	*Change_AddImage_
	//	*Change_Spec
	Field isChange_Field `protobuf_oneof:"field"`
	// contains filtered or unexported fields
}

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

func (*Change) Descriptor deprecated

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

Deprecated: Use Change.ProtoReflect.Descriptor instead.

func (*Change) GetAddCronJob

func (x *Change) GetAddCronJob() *CronJob

func (*Change) GetAddImage

func (x *Change) GetAddImage() *Change_AddImage

func (*Change) GetAutoAddRigServiceAccounts

func (x *Change) GetAutoAddRigServiceAccounts() bool

func (*Change) GetCommandArguments

func (x *Change) GetCommandArguments() *Change_CommandArguments

func (*Change) GetContainerSettings

func (x *Change) GetContainerSettings() *ContainerSettings

func (*Change) GetField

func (m *Change) GetField() isChange_Field

func (*Change) GetHorizontalScale

func (x *Change) GetHorizontalScale() *HorizontalScale

func (*Change) GetImageId

func (x *Change) GetImageId() string

func (*Change) GetNetwork

func (x *Change) GetNetwork() *Network

func (*Change) GetRemoveAnnotation

func (x *Change) GetRemoveAnnotation() string

func (*Change) GetRemoveConfigFile

func (x *Change) GetRemoveConfigFile() string

func (*Change) GetRemoveCronJob

func (x *Change) GetRemoveCronJob() *Change_RemoveCronJob

func (*Change) GetRemoveEnvironmentSource

func (x *Change) GetRemoveEnvironmentSource() *EnvironmentSource

func (*Change) GetRemoveEnvironmentVariable

func (x *Change) GetRemoveEnvironmentVariable() string

func (*Change) GetRemoveInterface

func (x *Change) GetRemoveInterface() string

func (*Change) GetReplicas

func (x *Change) GetReplicas() uint32

func (*Change) GetRollback

func (x *Change) GetRollback() *Change_Rollback

func (*Change) GetSetAnnotation

func (x *Change) GetSetAnnotation() *Change_KeyValue

func (*Change) GetSetAnnotations

func (x *Change) GetSetAnnotations() *Change_Annotations

func (*Change) GetSetConfigFile

func (x *Change) GetSetConfigFile() *Change_ConfigFile

func (*Change) GetSetConfigFileRef

func (x *Change) GetSetConfigFileRef() *Change_ConfigFileRef

func (*Change) GetSetEnvironmentSource

func (x *Change) GetSetEnvironmentSource() *EnvironmentSource

func (*Change) GetSetEnvironmentVariable

func (x *Change) GetSetEnvironmentVariable() *Change_KeyValue

func (*Change) GetSetInterface

func (x *Change) GetSetInterface() *Interface

func (*Change) GetSpec

func (x *Change) GetSpec() *v1.CapsuleSpec

func (*Change) ProtoMessage

func (*Change) ProtoMessage()

func (*Change) ProtoReflect

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

func (*Change) Reset

func (x *Change) Reset()

func (*Change) String

func (x *Change) String() string

type Change_AddCronJob

type Change_AddCronJob struct {
	// Add a cron job.
	AddCronJob *CronJob `protobuf:"bytes,16,opt,name=add_cron_job,json=addCronJob,proto3,oneof"`
}

type Change_AddImage

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

func (*Change_AddImage) Descriptor deprecated

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

Deprecated: Use Change_AddImage.ProtoReflect.Descriptor instead.

func (*Change_AddImage) GetImage

func (x *Change_AddImage) GetImage() string

func (*Change_AddImage) ProtoMessage

func (*Change_AddImage) ProtoMessage()

func (*Change_AddImage) ProtoReflect

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

func (*Change_AddImage) Reset

func (x *Change_AddImage) Reset()

func (*Change_AddImage) String

func (x *Change_AddImage) String() string

type Change_AddImage_

type Change_AddImage_ struct {
	// Image to deploy, adding it to images if not already present.
	AddImage *Change_AddImage `protobuf:"bytes,23,opt,name=add_image,json=addImage,proto3,oneof"`
}

type Change_Annotations

type Change_Annotations struct {
	Annotations map[string]string `` /* 163-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Change_Annotations) Descriptor deprecated

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

Deprecated: Use Change_Annotations.ProtoReflect.Descriptor instead.

func (*Change_Annotations) GetAnnotations

func (x *Change_Annotations) GetAnnotations() map[string]string

func (*Change_Annotations) ProtoMessage

func (*Change_Annotations) ProtoMessage()

func (*Change_Annotations) ProtoReflect

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

func (*Change_Annotations) Reset

func (x *Change_Annotations) Reset()

func (*Change_Annotations) String

func (x *Change_Annotations) String() string

type Change_AutoAddRigServiceAccounts

type Change_AutoAddRigServiceAccounts struct {
	// Automatically add a rig-service account.
	AutoAddRigServiceAccounts bool `protobuf:"varint,5,opt,name=auto_add_rig_service_accounts,json=autoAddRigServiceAccounts,proto3,oneof"`
}

type Change_CommandArguments

type Change_CommandArguments struct {

	// Command to run.
	Command string `protobuf:"bytes,2,opt,name=command,proto3" json:"command,omitempty"`
	// arguments to the command.
	Args []string `protobuf:"bytes,3,rep,name=args,proto3" json:"args,omitempty"`
	// contains filtered or unexported fields
}

Entrypoint for the capsule instances.

func (*Change_CommandArguments) Descriptor deprecated

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

Deprecated: Use Change_CommandArguments.ProtoReflect.Descriptor instead.

func (*Change_CommandArguments) GetArgs

func (x *Change_CommandArguments) GetArgs() []string

func (*Change_CommandArguments) GetCommand

func (x *Change_CommandArguments) GetCommand() string

func (*Change_CommandArguments) ProtoMessage

func (*Change_CommandArguments) ProtoMessage()

func (*Change_CommandArguments) ProtoReflect

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

func (*Change_CommandArguments) Reset

func (x *Change_CommandArguments) Reset()

func (*Change_CommandArguments) String

func (x *Change_CommandArguments) String() string

type Change_CommandArguments_

type Change_CommandArguments_ struct {
	// Entrypoint for capsule instances.
	CommandArguments *Change_CommandArguments `protobuf:"bytes,15,opt,name=command_arguments,json=commandArguments,proto3,oneof"`
}

type Change_ConfigFile

type Change_ConfigFile struct {

	// Path of the file in the instance.
	Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	// Content of the config file.
	Content []byte `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"`
	// True if the content is secret.
	IsSecret bool `protobuf:"varint,3,opt,name=is_secret,json=isSecret,proto3" json:"is_secret,omitempty"`
	// contains filtered or unexported fields
}

Config file change.

func (*Change_ConfigFile) Descriptor deprecated

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

Deprecated: Use Change_ConfigFile.ProtoReflect.Descriptor instead.

func (*Change_ConfigFile) GetContent

func (x *Change_ConfigFile) GetContent() []byte

func (*Change_ConfigFile) GetIsSecret

func (x *Change_ConfigFile) GetIsSecret() bool

func (*Change_ConfigFile) GetPath

func (x *Change_ConfigFile) GetPath() string

func (*Change_ConfigFile) ProtoMessage

func (*Change_ConfigFile) ProtoMessage()

func (*Change_ConfigFile) ProtoReflect

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

func (*Change_ConfigFile) Reset

func (x *Change_ConfigFile) Reset()

func (*Change_ConfigFile) String

func (x *Change_ConfigFile) String() string

type Change_ConfigFileRef

type Change_ConfigFileRef struct {

	// Path of the file in the instance.
	Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	// Kind of the object to inject as config file. Either ConfigMap or Secret.
	Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"`
	// Name of the object to inject as a config file.
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// Key of the data within the object contents.
	Key string `protobuf:"bytes,4,opt,name=key,proto3" json:"key,omitempty"`
	// contains filtered or unexported fields
}

Config file ref change.

func (*Change_ConfigFileRef) Descriptor deprecated

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

Deprecated: Use Change_ConfigFileRef.ProtoReflect.Descriptor instead.

func (*Change_ConfigFileRef) GetKey

func (x *Change_ConfigFileRef) GetKey() string

func (*Change_ConfigFileRef) GetKind

func (x *Change_ConfigFileRef) GetKind() string

func (*Change_ConfigFileRef) GetName

func (x *Change_ConfigFileRef) GetName() string

func (*Change_ConfigFileRef) GetPath

func (x *Change_ConfigFileRef) GetPath() string

func (*Change_ConfigFileRef) ProtoMessage

func (*Change_ConfigFileRef) ProtoMessage()

func (*Change_ConfigFileRef) ProtoReflect

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

func (*Change_ConfigFileRef) Reset

func (x *Change_ConfigFileRef) Reset()

func (*Change_ConfigFileRef) String

func (x *Change_ConfigFileRef) String() string

type Change_ContainerSettings

type Change_ContainerSettings struct {
	// Container settings of the instances.
	ContainerSettings *ContainerSettings `protobuf:"bytes,4,opt,name=container_settings,json=containerSettings,proto3,oneof"`
}

type Change_CronJobs

type Change_CronJobs struct {

	// The jobs.
	Jobs []*CronJob `protobuf:"bytes,1,rep,name=jobs,proto3" json:"jobs,omitempty"`
	// contains filtered or unexported fields
}

Jobs change

func (*Change_CronJobs) Descriptor deprecated

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

Deprecated: Use Change_CronJobs.ProtoReflect.Descriptor instead.

func (*Change_CronJobs) GetJobs

func (x *Change_CronJobs) GetJobs() []*CronJob

func (*Change_CronJobs) ProtoMessage

func (*Change_CronJobs) ProtoMessage()

func (*Change_CronJobs) ProtoReflect

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

func (*Change_CronJobs) Reset

func (x *Change_CronJobs) Reset()

func (*Change_CronJobs) String

func (x *Change_CronJobs) String() string

type Change_HorizontalScale

type Change_HorizontalScale struct {
	// Horizontal scaling settings.
	HorizontalScale *HorizontalScale `protobuf:"bytes,8,opt,name=horizontal_scale,json=horizontalScale,proto3,oneof"`
}

type Change_ImageId

type Change_ImageId struct {
	// New image change.
	ImageId string `protobuf:"bytes,2,opt,name=image_id,json=imageId,proto3,oneof"`
}

type Change_KeyValue

type Change_KeyValue struct {

	// Name of the property.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The value of the property.
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

Key-value change.

func (*Change_KeyValue) Descriptor deprecated

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

Deprecated: Use Change_KeyValue.ProtoReflect.Descriptor instead.

func (*Change_KeyValue) GetName

func (x *Change_KeyValue) GetName() string

func (*Change_KeyValue) GetValue

func (x *Change_KeyValue) GetValue() string

func (*Change_KeyValue) ProtoMessage

func (*Change_KeyValue) ProtoMessage()

func (*Change_KeyValue) ProtoReflect

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

func (*Change_KeyValue) Reset

func (x *Change_KeyValue) Reset()

func (*Change_KeyValue) String

func (x *Change_KeyValue) String() string

type Change_Network

type Change_Network struct {
	// Network interfaces change.
	Network *Network `protobuf:"bytes,3,opt,name=network,proto3,oneof"`
}

type Change_RemoveAnnotation

type Change_RemoveAnnotation struct {
	// Name of a single capsule annotation to remove.
	RemoveAnnotation string `protobuf:"bytes,22,opt,name=remove_annotation,json=removeAnnotation,proto3,oneof"`
}

type Change_RemoveConfigFile

type Change_RemoveConfigFile struct {
	// Path of a config file to remove.
	RemoveConfigFile string `protobuf:"bytes,7,opt,name=remove_config_file,json=removeConfigFile,proto3,oneof"`
}

type Change_RemoveCronJob

type Change_RemoveCronJob struct {

	// Name of the job to remove
	JobName string `protobuf:"bytes,1,opt,name=job_name,json=jobName,proto3" json:"job_name,omitempty"`
	// contains filtered or unexported fields
}

Remove cron job change.

func (*Change_RemoveCronJob) Descriptor deprecated

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

Deprecated: Use Change_RemoveCronJob.ProtoReflect.Descriptor instead.

func (*Change_RemoveCronJob) GetJobName

func (x *Change_RemoveCronJob) GetJobName() string

func (*Change_RemoveCronJob) ProtoMessage

func (*Change_RemoveCronJob) ProtoMessage()

func (*Change_RemoveCronJob) ProtoReflect

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

func (*Change_RemoveCronJob) Reset

func (x *Change_RemoveCronJob) Reset()

func (*Change_RemoveCronJob) String

func (x *Change_RemoveCronJob) String() string

type Change_RemoveCronJob_

type Change_RemoveCronJob_ struct {
	// Remove a cron job.
	RemoveCronJob *Change_RemoveCronJob `protobuf:"bytes,17,opt,name=remove_cron_job,json=removeCronJob,proto3,oneof"`
}

type Change_RemoveEnvironmentSource

type Change_RemoveEnvironmentSource struct {
	// Remove an environment source.
	RemoveEnvironmentSource *EnvironmentSource `protobuf:"bytes,14,opt,name=remove_environment_source,json=removeEnvironmentSource,proto3,oneof"`
}

type Change_RemoveEnvironmentVariable

type Change_RemoveEnvironmentVariable struct {
	// Name of an environment variable to remove.
	RemoveEnvironmentVariable string `protobuf:"bytes,12,opt,name=remove_environment_variable,json=removeEnvironmentVariable,proto3,oneof"`
}

type Change_RemoveInterface

type Change_RemoveInterface struct {
	// Remove a network interface.
	RemoveInterface string `protobuf:"bytes,19,opt,name=remove_interface,json=removeInterface,proto3,oneof"`
}

type Change_Replicas

type Change_Replicas struct {
	// Number of replicas changed.
	Replicas uint32 `protobuf:"varint,1,opt,name=replicas,proto3,oneof"`
}

type Change_Rollback

type Change_Rollback struct {

	// Rollout to roll back to.
	RollbackId uint64 `protobuf:"varint,1,opt,name=rollback_id,json=rollbackId,proto3" json:"rollback_id,omitempty"`
	// contains filtered or unexported fields
}

Rollback change.

func (*Change_Rollback) Descriptor deprecated

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

Deprecated: Use Change_Rollback.ProtoReflect.Descriptor instead.

func (*Change_Rollback) GetRollbackId

func (x *Change_Rollback) GetRollbackId() uint64

func (*Change_Rollback) ProtoMessage

func (*Change_Rollback) ProtoMessage()

func (*Change_Rollback) ProtoReflect

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

func (*Change_Rollback) Reset

func (x *Change_Rollback) Reset()

func (*Change_Rollback) String

func (x *Change_Rollback) String() string

type Change_Rollback_

type Change_Rollback_ struct {
	// Rollback to a previous rollout.
	Rollback *Change_Rollback `protobuf:"bytes,9,opt,name=rollback,proto3,oneof"`
}

type Change_SetAnnotation

type Change_SetAnnotation struct {
	// Update or add a single capsule annotation.
	SetAnnotation *Change_KeyValue `protobuf:"bytes,21,opt,name=set_annotation,json=setAnnotation,proto3,oneof"`
}

type Change_SetAnnotations

type Change_SetAnnotations struct {
	// Set capsule annotations.
	SetAnnotations *Change_Annotations `protobuf:"bytes,20,opt,name=set_annotations,json=setAnnotations,proto3,oneof"`
}

type Change_SetConfigFile

type Change_SetConfigFile struct {
	// Set a config file - either update or add.
	SetConfigFile *Change_ConfigFile `protobuf:"bytes,6,opt,name=set_config_file,json=setConfigFile,proto3,oneof"`
}

type Change_SetConfigFileRef

type Change_SetConfigFileRef struct {
	// Set a config file ref - either update or add.
	SetConfigFileRef *Change_ConfigFileRef `protobuf:"bytes,25,opt,name=set_config_file_ref,json=setConfigFileRef,proto3,oneof"`
}

type Change_SetEnvironmentSource

type Change_SetEnvironmentSource struct {
	// Set or update an environment source.
	SetEnvironmentSource *EnvironmentSource `protobuf:"bytes,13,opt,name=set_environment_source,json=setEnvironmentSource,proto3,oneof"`
}

type Change_SetEnvironmentVariable

type Change_SetEnvironmentVariable struct {
	// Update or add an environment variable.
	SetEnvironmentVariable *Change_KeyValue `protobuf:"bytes,11,opt,name=set_environment_variable,json=setEnvironmentVariable,proto3,oneof"`
}

type Change_SetInterface

type Change_SetInterface struct {
	// Add or update a network interface.
	SetInterface *Interface `protobuf:"bytes,18,opt,name=set_interface,json=setInterface,proto3,oneof"`
}

type Change_Spec

type Change_Spec struct {
	// Complete capsule-spec to replace the current.
	Spec *v1.CapsuleSpec `protobuf:"bytes,24,opt,name=spec,proto3,oneof"`
}

type Changelog

type Changelog struct {
	Changes []*Changelog_Change `protobuf:"bytes,1,rep,name=changes,proto3" json:"changes,omitempty"`
	Message string              `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*Changelog) Descriptor deprecated

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

Deprecated: Use Changelog.ProtoReflect.Descriptor instead.

func (*Changelog) GetChanges

func (x *Changelog) GetChanges() []*Changelog_Change

func (*Changelog) GetMessage

func (x *Changelog) GetMessage() string

func (*Changelog) ProtoMessage

func (*Changelog) ProtoMessage()

func (*Changelog) ProtoReflect

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

func (*Changelog) Reset

func (x *Changelog) Reset()

func (*Changelog) String

func (x *Changelog) String() string

type Changelog_Change

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

func (*Changelog_Change) Descriptor deprecated

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

Deprecated: Use Changelog_Change.ProtoReflect.Descriptor instead.

func (*Changelog_Change) GetMessage

func (x *Changelog_Change) GetMessage() string

func (*Changelog_Change) ProtoMessage

func (*Changelog_Change) ProtoMessage()

func (*Changelog_Change) ProtoReflect

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

func (*Changelog_Change) Reset

func (x *Changelog_Change) Reset()

func (*Changelog_Change) String

func (x *Changelog_Change) String() string

type ConfigFile

type ConfigFile struct {
	Path      string                 `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	Content   []byte                 `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"`
	UpdatedBy *model.Author          `protobuf:"bytes,3,opt,name=updated_by,json=updatedBy,proto3" json:"updated_by,omitempty"`
	UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	IsSecret  bool                   `protobuf:"varint,5,opt,name=is_secret,json=isSecret,proto3" json:"is_secret,omitempty"`
	// contains filtered or unexported fields
}

func (*ConfigFile) Descriptor deprecated

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

Deprecated: Use ConfigFile.ProtoReflect.Descriptor instead.

func (*ConfigFile) GetContent

func (x *ConfigFile) GetContent() []byte

func (*ConfigFile) GetIsSecret

func (x *ConfigFile) GetIsSecret() bool

func (*ConfigFile) GetPath

func (x *ConfigFile) GetPath() string

func (*ConfigFile) GetUpdatedAt

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

func (*ConfigFile) GetUpdatedBy

func (x *ConfigFile) GetUpdatedBy() *model.Author

func (*ConfigFile) ProtoMessage

func (*ConfigFile) ProtoMessage()

func (*ConfigFile) ProtoReflect

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

func (*ConfigFile) Reset

func (x *ConfigFile) Reset()

func (*ConfigFile) String

func (x *ConfigFile) String() string

type ConfigFileStatus

type ConfigFileStatus struct {
	Path       string                   `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	IsSecret   bool                     `protobuf:"varint,2,opt,name=isSecret,proto3" json:"isSecret,omitempty"`
	Status     []*pipeline.ObjectStatus `protobuf:"bytes,3,rep,name=status,proto3" json:"status,omitempty"`
	Transition Transition               `protobuf:"varint,4,opt,name=transition,proto3,enum=api.v1.capsule.Transition" json:"transition,omitempty"`
	Content    []byte                   `protobuf:"bytes,5,opt,name=content,proto3" json:"content,omitempty"`
	// contains filtered or unexported fields
}

func (*ConfigFileStatus) Descriptor deprecated

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

Deprecated: Use ConfigFileStatus.ProtoReflect.Descriptor instead.

func (*ConfigFileStatus) GetContent

func (x *ConfigFileStatus) GetContent() []byte

func (*ConfigFileStatus) GetIsSecret

func (x *ConfigFileStatus) GetIsSecret() bool

func (*ConfigFileStatus) GetPath

func (x *ConfigFileStatus) GetPath() string

func (*ConfigFileStatus) GetStatus

func (x *ConfigFileStatus) GetStatus() []*pipeline.ObjectStatus

func (*ConfigFileStatus) GetTransition

func (x *ConfigFileStatus) GetTransition() Transition

func (*ConfigFileStatus) ProtoMessage

func (*ConfigFileStatus) ProtoMessage()

func (*ConfigFileStatus) ProtoReflect

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

func (*ConfigFileStatus) Reset

func (x *ConfigFileStatus) Reset()

func (*ConfigFileStatus) String

func (x *ConfigFileStatus) String() string

type ContainerConfig

type ContainerConfig struct {
	Image                string            `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"`
	Command              string            `protobuf:"bytes,2,opt,name=command,proto3" json:"command,omitempty"`
	Args                 []string          `protobuf:"bytes,3,rep,name=args,proto3" json:"args,omitempty"`
	EnvironmentVariables map[string]string `` /* 209-byte string literal not displayed */
	Scale                *HorizontalScale  `protobuf:"bytes,5,opt,name=scale,proto3" json:"scale,omitempty"`
	Resources            *Resources        `protobuf:"bytes,6,opt,name=resources,proto3" json:"resources,omitempty"`
	// contains filtered or unexported fields
}

func (*ContainerConfig) Descriptor deprecated

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

Deprecated: Use ContainerConfig.ProtoReflect.Descriptor instead.

func (*ContainerConfig) GetArgs

func (x *ContainerConfig) GetArgs() []string

func (*ContainerConfig) GetCommand

func (x *ContainerConfig) GetCommand() string

func (*ContainerConfig) GetEnvironmentVariables

func (x *ContainerConfig) GetEnvironmentVariables() map[string]string

func (*ContainerConfig) GetImage

func (x *ContainerConfig) GetImage() string

func (*ContainerConfig) GetResources

func (x *ContainerConfig) GetResources() *Resources

func (*ContainerConfig) GetScale

func (x *ContainerConfig) GetScale() *HorizontalScale

func (*ContainerConfig) ProtoMessage

func (*ContainerConfig) ProtoMessage()

func (*ContainerConfig) ProtoReflect

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

func (*ContainerConfig) Reset

func (x *ContainerConfig) Reset()

func (*ContainerConfig) String

func (x *ContainerConfig) String() string

type ContainerSettings

type ContainerSettings struct {

	// Environment variables.
	EnvironmentVariables map[string]string `` /* 209-byte string literal not displayed */
	// Entrypoint for the container.
	Command string `protobuf:"bytes,2,opt,name=command,proto3" json:"command,omitempty"`
	// Arguments to the container.
	Args []string `protobuf:"bytes,3,rep,name=args,proto3" json:"args,omitempty"`
	// Resource requests and limits.
	Resources *Resources `protobuf:"bytes,4,opt,name=resources,proto3" json:"resources,omitempty"`
	// Environment sources.
	EnvironmentSources []*EnvironmentSource `protobuf:"bytes,5,rep,name=environment_sources,json=environmentSources,proto3" json:"environment_sources,omitempty"`
	// contains filtered or unexported fields
}

Settings for the instance container

func (*ContainerSettings) Descriptor deprecated

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

Deprecated: Use ContainerSettings.ProtoReflect.Descriptor instead.

func (*ContainerSettings) GetArgs

func (x *ContainerSettings) GetArgs() []string

func (*ContainerSettings) GetCommand

func (x *ContainerSettings) GetCommand() string

func (*ContainerSettings) GetEnvironmentSources

func (x *ContainerSettings) GetEnvironmentSources() []*EnvironmentSource

func (*ContainerSettings) GetEnvironmentVariables

func (x *ContainerSettings) GetEnvironmentVariables() map[string]string

func (*ContainerSettings) GetResources

func (x *ContainerSettings) GetResources() *Resources

func (*ContainerSettings) ProtoMessage

func (*ContainerSettings) ProtoMessage()

func (*ContainerSettings) ProtoReflect

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

func (*ContainerSettings) Reset

func (x *ContainerSettings) Reset()

func (*ContainerSettings) String

func (x *ContainerSettings) String() string

type ContainerStateTerminated

type ContainerStateTerminated struct {

	// Exit status from the last termination of the container
	ExitCode int32 `protobuf:"varint,1,opt,name=exit_code,json=exitCode,proto3" json:"exit_code,omitempty"`
	// Signal from the last termination of the container
	// +optional
	Signal int32 `protobuf:"varint,2,opt,name=signal,proto3" json:"signal,omitempty"`
	// (brief) reason from the last termination of the container
	// +optional
	Reason string `protobuf:"bytes,3,opt,name=reason,proto3" json:"reason,omitempty"`
	// Message regarding the last termination of the container
	// +optional
	Message string `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"`
	// Time at which previous execution of the container started
	// +optional
	StartedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"`
	// Time at which the container last terminated
	// +optional
	FinishedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=finished_at,json=finishedAt,proto3" json:"finished_at,omitempty"`
	// Container's ID in the format 'type://container_id'
	// +optional
	ContainerId string `protobuf:"bytes,7,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ContainerStateTerminated) Descriptor deprecated

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

Deprecated: Use ContainerStateTerminated.ProtoReflect.Descriptor instead.

func (*ContainerStateTerminated) GetContainerId

func (x *ContainerStateTerminated) GetContainerId() string

func (*ContainerStateTerminated) GetExitCode

func (x *ContainerStateTerminated) GetExitCode() int32

func (*ContainerStateTerminated) GetFinishedAt

func (x *ContainerStateTerminated) GetFinishedAt() *timestamppb.Timestamp

func (*ContainerStateTerminated) GetMessage

func (x *ContainerStateTerminated) GetMessage() string

func (*ContainerStateTerminated) GetReason

func (x *ContainerStateTerminated) GetReason() string

func (*ContainerStateTerminated) GetSignal

func (x *ContainerStateTerminated) GetSignal() int32

func (*ContainerStateTerminated) GetStartedAt

func (x *ContainerStateTerminated) GetStartedAt() *timestamppb.Timestamp

func (*ContainerStateTerminated) ProtoMessage

func (*ContainerStateTerminated) ProtoMessage()

func (*ContainerStateTerminated) ProtoReflect

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

func (*ContainerStateTerminated) Reset

func (x *ContainerStateTerminated) Reset()

func (*ContainerStateTerminated) String

func (x *ContainerStateTerminated) String() string

type CrashLoopBackoff

type CrashLoopBackoff struct {
	Message    string                `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	Timestamps *StatusTimestamps     `protobuf:"bytes,2,opt,name=timestamps,proto3" json:"timestamps,omitempty"`
	Data       *CrashLoopBackoffData `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*CrashLoopBackoff) Descriptor deprecated

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

Deprecated: Use CrashLoopBackoff.ProtoReflect.Descriptor instead.

func (*CrashLoopBackoff) GetData

func (x *CrashLoopBackoff) GetData() *CrashLoopBackoffData

func (*CrashLoopBackoff) GetMessage

func (x *CrashLoopBackoff) GetMessage() string

func (*CrashLoopBackoff) GetTimestamps

func (x *CrashLoopBackoff) GetTimestamps() *StatusTimestamps

func (*CrashLoopBackoff) ProtoMessage

func (*CrashLoopBackoff) ProtoMessage()

func (*CrashLoopBackoff) ProtoReflect

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

func (*CrashLoopBackoff) Reset

func (x *CrashLoopBackoff) Reset()

func (*CrashLoopBackoff) String

func (x *CrashLoopBackoff) String() string

type CrashLoopBackoffData

type CrashLoopBackoffData struct {
	Termination *ContainerStateTerminated `protobuf:"bytes,1,opt,name=termination,proto3" json:"termination,omitempty"`
	// contains filtered or unexported fields
}

func (*CrashLoopBackoffData) Descriptor deprecated

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

Deprecated: Use CrashLoopBackoffData.ProtoReflect.Descriptor instead.

func (*CrashLoopBackoffData) GetTermination

func (x *CrashLoopBackoffData) GetTermination() *ContainerStateTerminated

func (*CrashLoopBackoffData) ProtoMessage

func (*CrashLoopBackoffData) ProtoMessage()

func (*CrashLoopBackoffData) ProtoReflect

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

func (*CrashLoopBackoffData) Reset

func (x *CrashLoopBackoffData) Reset()

func (*CrashLoopBackoffData) String

func (x *CrashLoopBackoffData) String() string

type CreateRequest

type CreateRequest struct {

	// The 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.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Deprecated field: The initial properties of the capsule.
	Initializers []*Update `protobuf:"bytes,2,rep,name=initializers,proto3" json:"initializers,omitempty"`
	// The project to create the capsule in.
	ProjectId string `protobuf:"bytes,3,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// contains filtered or unexported fields
}

Create capsule request.

func (*CreateRequest) Descriptor deprecated

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

Deprecated: Use CreateRequest.ProtoReflect.Descriptor instead.

func (*CreateRequest) GetInitializers

func (x *CreateRequest) GetInitializers() []*Update

func (*CreateRequest) GetName

func (x *CreateRequest) GetName() string

func (*CreateRequest) GetProjectId

func (x *CreateRequest) GetProjectId() string

func (*CreateRequest) ProtoMessage

func (*CreateRequest) ProtoMessage()

func (*CreateRequest) ProtoReflect

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

func (*CreateRequest) Reset

func (x *CreateRequest) Reset()

func (*CreateRequest) String

func (x *CreateRequest) String() string

type CreateResponse

type CreateResponse struct {

	// ID of the capsule. This is the same as the name.
	CapsuleId string `protobuf:"bytes,1,opt,name=capsule_id,json=capsuleId,proto3" json:"capsule_id,omitempty"`
	// contains filtered or unexported fields
}

Create capsule response.

func (*CreateResponse) Descriptor deprecated

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

Deprecated: Use CreateResponse.ProtoReflect.Descriptor instead.

func (*CreateResponse) GetCapsuleId

func (x *CreateResponse) GetCapsuleId() string

func (*CreateResponse) ProtoMessage

func (*CreateResponse) ProtoMessage()

func (*CreateResponse) ProtoReflect

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

func (*CreateResponse) Reset

func (x *CreateResponse) Reset()

func (*CreateResponse) String

func (x *CreateResponse) String() string

type CronJob

type CronJob struct {

	// Name of the job.
	JobName string `protobuf:"bytes,1,opt,name=job_name,json=jobName,proto3" json:"job_name,omitempty"`
	// Cron schedule.
	Schedule string `protobuf:"bytes,2,opt,name=schedule,proto3" json:"schedule,omitempty"`
	// Maximum number of retries.
	MaxRetries int32 `protobuf:"varint,3,opt,name=max_retries,json=maxRetries,proto3" json:"max_retries,omitempty"`
	// Maximum duration of the job.
	Timeout *durationpb.Duration `protobuf:"bytes,4,opt,name=timeout,proto3" json:"timeout,omitempty"`
	// The type of the job
	//
	// Types that are assignable to JobType:
	//
	//	*CronJob_Url
	//	*CronJob_Command
	JobType isCronJob_JobType `protobuf_oneof:"job_type"`
	// contains filtered or unexported fields
}

Specification for a cron job.

func (*CronJob) Descriptor deprecated

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

Deprecated: Use CronJob.ProtoReflect.Descriptor instead.

func (*CronJob) GetCommand

func (x *CronJob) GetCommand() *JobCommand

func (*CronJob) GetJobName

func (x *CronJob) GetJobName() string

func (*CronJob) GetJobType

func (m *CronJob) GetJobType() isCronJob_JobType

func (*CronJob) GetMaxRetries

func (x *CronJob) GetMaxRetries() int32

func (*CronJob) GetSchedule

func (x *CronJob) GetSchedule() string

func (*CronJob) GetTimeout

func (x *CronJob) GetTimeout() *durationpb.Duration

func (*CronJob) GetUrl

func (x *CronJob) GetUrl() *JobURL

func (*CronJob) ProtoMessage

func (*CronJob) ProtoMessage()

func (*CronJob) ProtoReflect

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

func (*CronJob) Reset

func (x *CronJob) Reset()

func (*CronJob) String

func (x *CronJob) String() string

type CronJobStatus

type CronJobStatus struct {
	JobName       string               `protobuf:"bytes,1,opt,name=job_name,json=jobName,proto3" json:"job_name,omitempty"`
	Schedule      string               `protobuf:"bytes,2,opt,name=schedule,proto3" json:"schedule,omitempty"`
	LastExecution pipeline.ObjectState `` /* 134-byte string literal not displayed */
	Transition    Transition           `protobuf:"varint,4,opt,name=transition,proto3,enum=api.v1.capsule.Transition" json:"transition,omitempty"`
	// contains filtered or unexported fields
}

func (*CronJobStatus) Descriptor deprecated

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

Deprecated: Use CronJobStatus.ProtoReflect.Descriptor instead.

func (*CronJobStatus) GetJobName

func (x *CronJobStatus) GetJobName() string

func (*CronJobStatus) GetLastExecution

func (x *CronJobStatus) GetLastExecution() pipeline.ObjectState

func (*CronJobStatus) GetSchedule

func (x *CronJobStatus) GetSchedule() string

func (*CronJobStatus) GetTransition

func (x *CronJobStatus) GetTransition() Transition

func (*CronJobStatus) ProtoMessage

func (*CronJobStatus) ProtoMessage()

func (*CronJobStatus) ProtoReflect

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

func (*CronJobStatus) Reset

func (x *CronJobStatus) Reset()

func (*CronJobStatus) String

func (x *CronJobStatus) String() string

type CronJob_Command

type CronJob_Command struct {
	// Command job.
	Command *JobCommand `protobuf:"bytes,6,opt,name=command,proto3,oneof"`
}

type CronJob_Url

type CronJob_Url struct {
	// URL job.
	Url *JobURL `protobuf:"bytes,5,opt,name=url,proto3,oneof"`
}

type CurrentlyUnscheduleable

type CurrentlyUnscheduleable struct {
	Message    string            `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	Timestamps *StatusTimestamps `protobuf:"bytes,2,opt,name=timestamps,proto3" json:"timestamps,omitempty"`
	// contains filtered or unexported fields
}

func (*CurrentlyUnscheduleable) Descriptor deprecated

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

Deprecated: Use CurrentlyUnscheduleable.ProtoReflect.Descriptor instead.

func (*CurrentlyUnscheduleable) GetMessage

func (x *CurrentlyUnscheduleable) GetMessage() string

func (*CurrentlyUnscheduleable) GetTimestamps

func (x *CurrentlyUnscheduleable) GetTimestamps() *StatusTimestamps

func (*CurrentlyUnscheduleable) ProtoMessage

func (*CurrentlyUnscheduleable) ProtoMessage()

func (*CurrentlyUnscheduleable) ProtoReflect

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

func (*CurrentlyUnscheduleable) Reset

func (x *CurrentlyUnscheduleable) Reset()

func (*CurrentlyUnscheduleable) String

func (x *CurrentlyUnscheduleable) String() string

type CustomMetric

type CustomMetric struct {

	// The type of metric.
	//
	// Types that are assignable to Metric:
	//
	//	*CustomMetric_Instance
	//	*CustomMetric_Object
	Metric isCustomMetric_Metric `protobuf_oneof:"metric"`
	// contains filtered or unexported fields
}

Autoscaling based on custom metrics.

func (*CustomMetric) Descriptor deprecated

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

Deprecated: Use CustomMetric.ProtoReflect.Descriptor instead.

func (*CustomMetric) GetInstance

func (x *CustomMetric) GetInstance() *InstanceMetric

func (*CustomMetric) GetMetric

func (m *CustomMetric) GetMetric() isCustomMetric_Metric

func (*CustomMetric) GetObject

func (x *CustomMetric) GetObject() *ObjectMetric

func (*CustomMetric) ProtoMessage

func (*CustomMetric) ProtoMessage()

func (*CustomMetric) ProtoReflect

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

func (*CustomMetric) Reset

func (x *CustomMetric) Reset()

func (*CustomMetric) String

func (x *CustomMetric) String() string

type CustomMetric_Instance

type CustomMetric_Instance struct {
	// If scaling based on metrics across all intstances / pods.
	Instance *InstanceMetric `protobuf:"bytes,1,opt,name=instance,proto3,oneof"`
}

type CustomMetric_Object

type CustomMetric_Object struct {
	// If scaling based on metrics for a specific kubernetes resource object.
	Object *ObjectMetric `protobuf:"bytes,2,opt,name=object,proto3,oneof"`
}

type DeleteRequest

type DeleteRequest struct {

	// The capsule to delete.
	CapsuleId string `protobuf:"bytes,1,opt,name=capsule_id,json=capsuleId,proto3" json:"capsule_id,omitempty"`
	// The project in which the capsule is to be deleted.
	ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// contains filtered or unexported fields
}

Request to delete a capsule.

func (*DeleteRequest) Descriptor deprecated

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

Deprecated: Use DeleteRequest.ProtoReflect.Descriptor instead.

func (*DeleteRequest) GetCapsuleId

func (x *DeleteRequest) GetCapsuleId() string

func (*DeleteRequest) GetProjectId

func (x *DeleteRequest) GetProjectId() string

func (*DeleteRequest) ProtoMessage

func (*DeleteRequest) ProtoMessage()

func (*DeleteRequest) ProtoReflect

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

func (*DeleteRequest) Reset

func (x *DeleteRequest) Reset()

func (*DeleteRequest) String

func (x *DeleteRequest) String() string

type DeleteResponse

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

Empty delete response.

func (*DeleteResponse) Descriptor deprecated

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

Deprecated: Use DeleteResponse.ProtoReflect.Descriptor instead.

func (*DeleteResponse) ProtoMessage

func (*DeleteResponse) ProtoMessage()

func (*DeleteResponse) ProtoReflect

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

func (*DeleteResponse) Reset

func (x *DeleteResponse) Reset()

func (*DeleteResponse) String

func (x *DeleteResponse) String() string

type DeployOutcome

type DeployOutcome struct {

	// The field-level changes that comes from applying this change.
	FieldChanges []*FieldChange `protobuf:"bytes,1,rep,name=field_changes,json=fieldChanges,proto3" json:"field_changes,omitempty"`
	// The Platform-level objects that are generated by the Deploy.
	PlatformObjects []*DeployOutcome_PlatformObject `protobuf:"bytes,2,rep,name=platform_objects,json=platformObjects,proto3" json:"platform_objects,omitempty"`
	// The 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.
	KubernetesObjects []*DeployOutcome_KubernetesObject `protobuf:"bytes,3,rep,name=kubernetes_objects,json=kubernetesObjects,proto3" json:"kubernetes_objects,omitempty"`
	// In case generation of kubernetes files failed, this field will
	// be populated with the error.
	KubernetesError     string `protobuf:"bytes,4,opt,name=kubernetes_error,json=kubernetesError,proto3" json:"kubernetes_error,omitempty"`
	ClusterName         string `protobuf:"bytes,5,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"`
	KubernetesNamespace string `protobuf:"bytes,6,opt,name=kubernetes_namespace,json=kubernetesNamespace,proto3" json:"kubernetes_namespace,omitempty"`
	// contains filtered or unexported fields
}

func (*DeployOutcome) Descriptor deprecated

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

Deprecated: Use DeployOutcome.ProtoReflect.Descriptor instead.

func (*DeployOutcome) GetClusterName

func (x *DeployOutcome) GetClusterName() string

func (*DeployOutcome) GetFieldChanges

func (x *DeployOutcome) GetFieldChanges() []*FieldChange

func (*DeployOutcome) GetKubernetesError

func (x *DeployOutcome) GetKubernetesError() string

func (*DeployOutcome) GetKubernetesNamespace

func (x *DeployOutcome) GetKubernetesNamespace() string

func (*DeployOutcome) GetKubernetesObjects

func (x *DeployOutcome) GetKubernetesObjects() []*DeployOutcome_KubernetesObject

func (*DeployOutcome) GetPlatformObjects

func (x *DeployOutcome) GetPlatformObjects() []*DeployOutcome_PlatformObject

func (*DeployOutcome) ProtoMessage

func (*DeployOutcome) ProtoMessage()

func (*DeployOutcome) ProtoReflect

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

func (*DeployOutcome) Reset

func (x *DeployOutcome) Reset()

func (*DeployOutcome) String

func (x *DeployOutcome) String() string

type DeployOutcome_KubernetesObject

type DeployOutcome_KubernetesObject struct {
	Name        string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	ContentYaml string `protobuf:"bytes,2,opt,name=content_yaml,json=contentYaml,proto3" json:"content_yaml,omitempty"`
	// contains filtered or unexported fields
}

func (*DeployOutcome_KubernetesObject) Descriptor deprecated

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

Deprecated: Use DeployOutcome_KubernetesObject.ProtoReflect.Descriptor instead.

func (*DeployOutcome_KubernetesObject) GetContentYaml

func (x *DeployOutcome_KubernetesObject) GetContentYaml() string

func (*DeployOutcome_KubernetesObject) GetName

func (*DeployOutcome_KubernetesObject) ProtoMessage

func (*DeployOutcome_KubernetesObject) ProtoMessage()

func (*DeployOutcome_KubernetesObject) ProtoReflect

func (*DeployOutcome_KubernetesObject) Reset

func (x *DeployOutcome_KubernetesObject) Reset()

func (*DeployOutcome_KubernetesObject) String

type DeployOutcome_PlatformObject

type DeployOutcome_PlatformObject struct {
	Name        string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	ContentYaml string `protobuf:"bytes,2,opt,name=content_yaml,json=contentYaml,proto3" json:"content_yaml,omitempty"`
	// contains filtered or unexported fields
}

func (*DeployOutcome_PlatformObject) Descriptor deprecated

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

Deprecated: Use DeployOutcome_PlatformObject.ProtoReflect.Descriptor instead.

func (*DeployOutcome_PlatformObject) GetContentYaml

func (x *DeployOutcome_PlatformObject) GetContentYaml() string

func (*DeployOutcome_PlatformObject) GetName

func (x *DeployOutcome_PlatformObject) GetName() string

func (*DeployOutcome_PlatformObject) ProtoMessage

func (*DeployOutcome_PlatformObject) ProtoMessage()

func (*DeployOutcome_PlatformObject) ProtoReflect

func (*DeployOutcome_PlatformObject) Reset

func (x *DeployOutcome_PlatformObject) Reset()

func (*DeployOutcome_PlatformObject) String

type DeployRequest

type DeployRequest struct {

	// Capsule to deploy to.
	CapsuleId string `protobuf:"bytes,1,opt,name=capsule_id,json=capsuleId,proto3" json:"capsule_id,omitempty"`
	// Changes to include in the new rollout.
	Changes []*Change `protobuf:"bytes,2,rep,name=changes,proto3" json:"changes,omitempty"`
	// Force deploy, aborting an existing rollout if ongoing.
	Force bool `protobuf:"varint,3,opt,name=force,proto3" json:"force,omitempty"`
	// Project in which the capsule lives.
	ProjectId string `protobuf:"bytes,4,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// Environment in which to deploy.
	EnvironmentId string `protobuf:"bytes,5,opt,name=environment_id,json=environmentId,proto3" json:"environment_id,omitempty"`
	// Deploy message.
	Message string `protobuf:"bytes,6,opt,name=message,proto3" json:"message,omitempty"`
	// if true, the deploy will not be executed, but the request will return the
	// rollout config.
	DryRun bool `protobuf:"varint,7,opt,name=dry_run,json=dryRun,proto3" json:"dry_run,omitempty"`
	// If 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.
	CurrentRolloutId uint64 `protobuf:"varint,8,opt,name=current_rollout_id,json=currentRolloutId,proto3" json:"current_rollout_id,omitempty"`
	// If 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`
	CurrentFingerprint *model.Fingerprint `protobuf:"bytes,10,opt,name=current_fingerprint,json=currentFingerprint,proto3" json:"current_fingerprint,omitempty"`
	// By 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.
	ForceOverride bool `protobuf:"varint,9,opt,name=force_override,json=forceOverride,proto3" json:"force_override,omitempty"`
	// Only allowed with dry_run = true. Will use this config for the operator
	// instead of the config running in the cluster.
	OperatorConfig string `protobuf:"bytes,11,opt,name=operator_config,json=operatorConfig,proto3" json:"operator_config,omitempty"`
	// contains filtered or unexported fields
}

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

func (*DeployRequest) Descriptor deprecated

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

Deprecated: Use DeployRequest.ProtoReflect.Descriptor instead.

func (*DeployRequest) GetCapsuleId

func (x *DeployRequest) GetCapsuleId() string

func (*DeployRequest) GetChanges

func (x *DeployRequest) GetChanges() []*Change

func (*DeployRequest) GetCurrentFingerprint

func (x *DeployRequest) GetCurrentFingerprint() *model.Fingerprint

func (*DeployRequest) GetCurrentRolloutId

func (x *DeployRequest) GetCurrentRolloutId() uint64

func (*DeployRequest) GetDryRun

func (x *DeployRequest) GetDryRun() bool

func (*DeployRequest) GetEnvironmentId

func (x *DeployRequest) GetEnvironmentId() string

func (*DeployRequest) GetForce

func (x *DeployRequest) GetForce() bool

func (*DeployRequest) GetForceOverride

func (x *DeployRequest) GetForceOverride() bool

func (*DeployRequest) GetMessage

func (x *DeployRequest) GetMessage() string

func (*DeployRequest) GetOperatorConfig

func (x *DeployRequest) GetOperatorConfig() string

func (*DeployRequest) GetProjectId

func (x *DeployRequest) GetProjectId() string

func (*DeployRequest) ProtoMessage

func (*DeployRequest) ProtoMessage()

func (*DeployRequest) ProtoReflect

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

func (*DeployRequest) Reset

func (x *DeployRequest) Reset()

func (*DeployRequest) String

func (x *DeployRequest) String() string

type DeployResponse

type DeployResponse struct {

	// ID of the new rollout.
	RolloutId uint64 `protobuf:"varint,1,opt,name=rollout_id,json=rolloutId,proto3" json:"rollout_id,omitempty"`
	// The YAML of the resources that will be deployed.
	// Deprecated. Use `outcome` instead.
	ResourceYaml map[string]string `` /* 185-byte string literal not displayed */
	// The rollout config.
	// api.v1.capsule.RolloutConfig rollout_config = 3;
	// The capsule revision created.
	Revision *Revision `protobuf:"bytes,4,opt,name=revision,proto3" json:"revision,omitempty"`
	// The capsule set revision created if it's the first time deploying to the
	// environment.
	SetRevision *SetRevision `protobuf:"bytes,6,opt,name=set_revision,json=setRevision,proto3" json:"set_revision,omitempty"`
	// Breakdown of the changes that this deploy would make to the system.
	// Only populated if dry-run is used.
	Outcome *DeployOutcome `protobuf:"bytes,5,opt,name=outcome,proto3" json:"outcome,omitempty"`
	// contains filtered or unexported fields
}

Deploy response.

func (*DeployResponse) Descriptor deprecated

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

Deprecated: Use DeployResponse.ProtoReflect.Descriptor instead.

func (*DeployResponse) GetOutcome

func (x *DeployResponse) GetOutcome() *DeployOutcome

func (*DeployResponse) GetResourceYaml

func (x *DeployResponse) GetResourceYaml() map[string]string

func (*DeployResponse) GetRevision

func (x *DeployResponse) GetRevision() *Revision

func (*DeployResponse) GetRolloutId

func (x *DeployResponse) GetRolloutId() uint64

func (*DeployResponse) GetSetRevision

func (x *DeployResponse) GetSetRevision() *SetRevision

func (*DeployResponse) ProtoMessage

func (*DeployResponse) ProtoMessage()

func (*DeployResponse) ProtoReflect

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

func (*DeployResponse) Reset

func (x *DeployResponse) Reset()

func (*DeployResponse) String

func (x *DeployResponse) String() string

type DeploySetOutcome

type DeploySetOutcome struct {

	// The field-level changes that comes from applying this change.
	FieldChanges []*FieldChange            `protobuf:"bytes,1,rep,name=field_changes,json=fieldChanges,proto3" json:"field_changes,omitempty"`
	Environments map[string]*DeployOutcome `` /* 165-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*DeploySetOutcome) Descriptor deprecated

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

Deprecated: Use DeploySetOutcome.ProtoReflect.Descriptor instead.

func (*DeploySetOutcome) GetEnvironments

func (x *DeploySetOutcome) GetEnvironments() map[string]*DeployOutcome

func (*DeploySetOutcome) GetFieldChanges

func (x *DeploySetOutcome) GetFieldChanges() []*FieldChange

func (*DeploySetOutcome) ProtoMessage

func (*DeploySetOutcome) ProtoMessage()

func (*DeploySetOutcome) ProtoReflect

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

func (*DeploySetOutcome) Reset

func (x *DeploySetOutcome) Reset()

func (*DeploySetOutcome) String

func (x *DeploySetOutcome) String() string

type DeploySetRequest

type DeploySetRequest struct {

	// Capsule to deploy to.
	CapsuleId string `protobuf:"bytes,1,opt,name=capsule_id,json=capsuleId,proto3" json:"capsule_id,omitempty"`
	// Changes to include in the new rollout.
	Changes []*Change `protobuf:"bytes,2,rep,name=changes,proto3" json:"changes,omitempty"`
	// Force deploy, aborting existing rollouts if ongoing.
	Force bool `protobuf:"varint,3,opt,name=force,proto3" json:"force,omitempty"`
	// Project in which the capsule lives.
	ProjectId string `protobuf:"bytes,4,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// Deploy message.
	Message string `protobuf:"bytes,6,opt,name=message,proto3" json:"message,omitempty"`
	// if true, the deploy will not be executed, but the request will return the
	// rollout config.
	DryRun bool `protobuf:"varint,7,opt,name=dry_run,json=dryRun,proto3" json:"dry_run,omitempty"`
	// If 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.
	CurrentRolloutIds map[string]uint64 `` /* 203-byte string literal not displayed */
	// If set, this will constrain the rollout only to be created if the current
	// latest capsuleset fingerprint matches the given.
	CurrentFingerprint *model.Fingerprint `protobuf:"bytes,9,opt,name=current_fingerprint,json=currentFingerprint,proto3" json:"current_fingerprint,omitempty"`
	// If 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`
	CurrentEnvironmentFingerprints map[string]*model.Fingerprint `` /* 242-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*DeploySetRequest) Descriptor deprecated

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

Deprecated: Use DeploySetRequest.ProtoReflect.Descriptor instead.

func (*DeploySetRequest) GetCapsuleId

func (x *DeploySetRequest) GetCapsuleId() string

func (*DeploySetRequest) GetChanges

func (x *DeploySetRequest) GetChanges() []*Change

func (*DeploySetRequest) GetCurrentEnvironmentFingerprints

func (x *DeploySetRequest) GetCurrentEnvironmentFingerprints() map[string]*model.Fingerprint

func (*DeploySetRequest) GetCurrentFingerprint

func (x *DeploySetRequest) GetCurrentFingerprint() *model.Fingerprint

func (*DeploySetRequest) GetCurrentRolloutIds

func (x *DeploySetRequest) GetCurrentRolloutIds() map[string]uint64

func (*DeploySetRequest) GetDryRun

func (x *DeploySetRequest) GetDryRun() bool

func (*DeploySetRequest) GetForce

func (x *DeploySetRequest) GetForce() bool

func (*DeploySetRequest) GetMessage

func (x *DeploySetRequest) GetMessage() string

func (*DeploySetRequest) GetProjectId

func (x *DeploySetRequest) GetProjectId() string

func (*DeploySetRequest) ProtoMessage

func (*DeploySetRequest) ProtoMessage()

func (*DeploySetRequest) ProtoReflect

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

func (*DeploySetRequest) Reset

func (x *DeploySetRequest) Reset()

func (*DeploySetRequest) String

func (x *DeploySetRequest) String() string

type DeploySetResponse

type DeploySetResponse struct {

	// The capsule revision created.
	Revision *SetRevision `protobuf:"bytes,1,opt,name=revision,proto3" json:"revision,omitempty"`
	// Breakdown of the changes that this deploy would make to the system.
	// Only populated if dry-run is used.
	Outcome *DeploySetOutcome `protobuf:"bytes,2,opt,name=outcome,proto3" json:"outcome,omitempty"`
	// The environments which currently have rollouts. These will receive a
	// rollout as result of the SetDeploy
	ActiveEnvironments []string `protobuf:"bytes,3,rep,name=ActiveEnvironments,proto3" json:"ActiveEnvironments,omitempty"`
	// contains filtered or unexported fields
}

func (*DeploySetResponse) Descriptor deprecated

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

Deprecated: Use DeploySetResponse.ProtoReflect.Descriptor instead.

func (*DeploySetResponse) GetActiveEnvironments

func (x *DeploySetResponse) GetActiveEnvironments() []string

func (*DeploySetResponse) GetOutcome

func (x *DeploySetResponse) GetOutcome() *DeploySetOutcome

func (*DeploySetResponse) GetRevision

func (x *DeploySetResponse) GetRevision() *SetRevision

func (*DeploySetResponse) ProtoMessage

func (*DeploySetResponse) ProtoMessage()

func (*DeploySetResponse) ProtoReflect

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

func (*DeploySetResponse) Reset

func (x *DeploySetResponse) Reset()

func (*DeploySetResponse) String

func (x *DeploySetResponse) String() string

type DoneScheduling

type DoneScheduling struct {
	Message    string            `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	Timestamps *StatusTimestamps `protobuf:"bytes,2,opt,name=timestamps,proto3" json:"timestamps,omitempty"`
	// contains filtered or unexported fields
}

func (*DoneScheduling) Descriptor deprecated

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

Deprecated: Use DoneScheduling.ProtoReflect.Descriptor instead.

func (*DoneScheduling) GetMessage

func (x *DoneScheduling) GetMessage() string

func (*DoneScheduling) GetTimestamps

func (x *DoneScheduling) GetTimestamps() *StatusTimestamps

func (*DoneScheduling) ProtoMessage

func (*DoneScheduling) ProtoMessage()

func (*DoneScheduling) ProtoReflect

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

func (*DoneScheduling) Reset

func (x *DoneScheduling) Reset()

func (*DoneScheduling) String

func (x *DoneScheduling) String() string

type EnvironmentSource

type EnvironmentSource struct {

	// Name of the source
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Type of the source
	Kind EnvironmentSource_Kind `protobuf:"varint,2,opt,name=kind,proto3,enum=api.v1.capsule.EnvironmentSource_Kind" json:"kind,omitempty"`
	// contains filtered or unexported fields
}

Source of environment variables

func (*EnvironmentSource) Descriptor deprecated

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

Deprecated: Use EnvironmentSource.ProtoReflect.Descriptor instead.

func (*EnvironmentSource) GetKind

func (*EnvironmentSource) GetName

func (x *EnvironmentSource) GetName() string

func (*EnvironmentSource) ProtoMessage

func (*EnvironmentSource) ProtoMessage()

func (*EnvironmentSource) ProtoReflect

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

func (*EnvironmentSource) Reset

func (x *EnvironmentSource) Reset()

func (*EnvironmentSource) String

func (x *EnvironmentSource) String() string

type EnvironmentSource_Kind

type EnvironmentSource_Kind int32
const (
	// Unspecified.
	EnvironmentSource_KIND_UNSPECIFIED EnvironmentSource_Kind = 0
	// Environment variables from a config map.
	EnvironmentSource_KIND_CONFIG_MAP EnvironmentSource_Kind = 1
	// Environment variables from a secret.
	EnvironmentSource_KIND_SECRET EnvironmentSource_Kind = 2
)

func (EnvironmentSource_Kind) Descriptor

func (EnvironmentSource_Kind) Enum

func (EnvironmentSource_Kind) EnumDescriptor deprecated

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

Deprecated: Use EnvironmentSource_Kind.Descriptor instead.

func (EnvironmentSource_Kind) Number

func (EnvironmentSource_Kind) String

func (x EnvironmentSource_Kind) String() string

func (EnvironmentSource_Kind) Type

type ErrorEvent

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

An event that is associated with an error.

func (*ErrorEvent) Descriptor deprecated

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

Deprecated: Use ErrorEvent.ProtoReflect.Descriptor instead.

func (*ErrorEvent) ProtoMessage

func (*ErrorEvent) ProtoMessage()

func (*ErrorEvent) ProtoReflect

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

func (*ErrorEvent) Reset

func (x *ErrorEvent) Reset()

func (*ErrorEvent) String

func (x *ErrorEvent) String() string

type Event

type Event struct {

	// Potential author associated with the event.
	CreatedBy *model.Author `protobuf:"bytes,1,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"`
	// When the event was created.
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// The rollout that created the event.
	RolloutId uint64 `protobuf:"varint,3,opt,name=rollout_id,json=rolloutId,proto3" json:"rollout_id,omitempty"`
	// A message associated with the event.
	Message string `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"`
	// The data associated with the event.
	EventData *EventData `protobuf:"bytes,5,opt,name=event_data,json=eventData,proto3" json:"event_data,omitempty"`
	// contains filtered or unexported fields
}

An event is a message from a rollout

func (*Event) Descriptor deprecated

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

Deprecated: Use Event.ProtoReflect.Descriptor instead.

func (*Event) GetCreatedAt

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

func (*Event) GetCreatedBy

func (x *Event) GetCreatedBy() *model.Author

func (*Event) GetEventData

func (x *Event) GetEventData() *EventData

func (*Event) GetMessage

func (x *Event) GetMessage() string

func (*Event) GetRolloutId

func (x *Event) GetRolloutId() uint64

func (*Event) ProtoMessage

func (*Event) ProtoMessage()

func (*Event) ProtoReflect

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

func (*Event) Reset

func (x *Event) Reset()

func (*Event) String

func (x *Event) String() string

type EventData

type EventData struct {

	// Types that are assignable to Kind:
	//
	//	*EventData_Rollout
	//	*EventData_Error
	//	*EventData_Abort
	Kind isEventData_Kind `protobuf_oneof:"kind"`
	// contains filtered or unexported fields
}

The data associated with an event.

func (*EventData) Descriptor deprecated

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

Deprecated: Use EventData.ProtoReflect.Descriptor instead.

func (*EventData) GetAbort

func (x *EventData) GetAbort() *AbortEvent

func (*EventData) GetError

func (x *EventData) GetError() *ErrorEvent

func (*EventData) GetKind

func (m *EventData) GetKind() isEventData_Kind

func (*EventData) GetRollout

func (x *EventData) GetRollout() *RolloutEvent

func (*EventData) ProtoMessage

func (*EventData) ProtoMessage()

func (*EventData) ProtoReflect

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

func (*EventData) Reset

func (x *EventData) Reset()

func (*EventData) String

func (x *EventData) String() string

type EventData_Abort

type EventData_Abort struct {
	// If event is an abort event.
	Abort *AbortEvent `protobuf:"bytes,3,opt,name=abort,proto3,oneof"`
}

type EventData_Error

type EventData_Error struct {
	// if event is an error event.
	Error *ErrorEvent `protobuf:"bytes,2,opt,name=error,proto3,oneof"`
}

type EventData_Rollout

type EventData_Rollout struct {
	// If event is a rollout.
	Rollout *RolloutEvent `protobuf:"bytes,1,opt,name=rollout,proto3,oneof"`
}

type EventType

type EventType int32
const (
	EventType_EVENT_TYPE_UNSPECIFIED EventType = 0
	EventType_EVENT_TYPE_ABORT       EventType = 1
)

func (EventType) Descriptor

func (EventType) Descriptor() protoreflect.EnumDescriptor

func (EventType) Enum

func (x EventType) Enum() *EventType

func (EventType) EnumDescriptor deprecated

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

Deprecated: Use EventType.Descriptor instead.

func (EventType) Number

func (x EventType) Number() protoreflect.EnumNumber

func (EventType) String

func (x EventType) String() string

func (EventType) Type

type ExecuteRequest

type ExecuteRequest struct {

	// Types that are assignable to Request:
	//
	//	*ExecuteRequest_Start_
	//	*ExecuteRequest_Stdin
	//	*ExecuteRequest_Resize_
	Request isExecuteRequest_Request `protobuf_oneof:"request"`
	// The project ID.
	ProjectId string `protobuf:"bytes,4,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// The environment ID.
	EnvironmentId string `protobuf:"bytes,5,opt,name=environment_id,json=environmentId,proto3" json:"environment_id,omitempty"`
	// contains filtered or unexported fields
}

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

func (*ExecuteRequest) Descriptor deprecated

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

Deprecated: Use ExecuteRequest.ProtoReflect.Descriptor instead.

func (*ExecuteRequest) GetEnvironmentId

func (x *ExecuteRequest) GetEnvironmentId() string

func (*ExecuteRequest) GetProjectId

func (x *ExecuteRequest) GetProjectId() string

func (*ExecuteRequest) GetRequest

func (m *ExecuteRequest) GetRequest() isExecuteRequest_Request

func (*ExecuteRequest) GetResize

func (x *ExecuteRequest) GetResize() *ExecuteRequest_Resize

func (*ExecuteRequest) GetStart

func (x *ExecuteRequest) GetStart() *ExecuteRequest_Start

func (*ExecuteRequest) GetStdin

func (x *ExecuteRequest) GetStdin() *StreamData

func (*ExecuteRequest) ProtoMessage

func (*ExecuteRequest) ProtoMessage()

func (*ExecuteRequest) ProtoReflect

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

func (*ExecuteRequest) Reset

func (x *ExecuteRequest) Reset()

func (*ExecuteRequest) String

func (x *ExecuteRequest) String() string

type ExecuteRequest_Resize

type ExecuteRequest_Resize struct {

	// The new terminal height.
	Height uint32 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
	// The new terminal width.
	Width uint32 `protobuf:"varint,2,opt,name=width,proto3" json:"width,omitempty"`
	// contains filtered or unexported fields
}

Terminal resize request.

func (*ExecuteRequest_Resize) Descriptor deprecated

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

Deprecated: Use ExecuteRequest_Resize.ProtoReflect.Descriptor instead.

func (*ExecuteRequest_Resize) GetHeight

func (x *ExecuteRequest_Resize) GetHeight() uint32

func (*ExecuteRequest_Resize) GetWidth

func (x *ExecuteRequest_Resize) GetWidth() uint32

func (*ExecuteRequest_Resize) ProtoMessage

func (*ExecuteRequest_Resize) ProtoMessage()

func (*ExecuteRequest_Resize) ProtoReflect

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

func (*ExecuteRequest_Resize) Reset

func (x *ExecuteRequest_Resize) Reset()

func (*ExecuteRequest_Resize) String

func (x *ExecuteRequest_Resize) String() string

type ExecuteRequest_Resize_

type ExecuteRequest_Resize_ struct {
	// Resize request
	Resize *ExecuteRequest_Resize `protobuf:"bytes,3,opt,name=resize,proto3,oneof"`
}

type ExecuteRequest_Start

type ExecuteRequest_Start struct {

	// The capsule to execute in.
	CapsuleId string `protobuf:"bytes,1,opt,name=capsule_id,json=capsuleId,proto3" json:"capsule_id,omitempty"`
	// The instance to execute in.
	InstanceId string `protobuf:"bytes,2,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
	// The command to execute.
	Command string `protobuf:"bytes,3,opt,name=command,proto3" json:"command,omitempty"`
	// The arguments to the command.
	Arguments []string `protobuf:"bytes,4,rep,name=arguments,proto3" json:"arguments,omitempty"`
	// The initial terminal size.
	Tty *ExecuteRequest_Resize `protobuf:"bytes,5,opt,name=tty,proto3" json:"tty,omitempty"`
	// If the command is interactive.
	Interactive bool `protobuf:"varint,6,opt,name=interactive,proto3" json:"interactive,omitempty"`
	// contains filtered or unexported fields
}

Exec start request

func (*ExecuteRequest_Start) Descriptor deprecated

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

Deprecated: Use ExecuteRequest_Start.ProtoReflect.Descriptor instead.

func (*ExecuteRequest_Start) GetArguments

func (x *ExecuteRequest_Start) GetArguments() []string

func (*ExecuteRequest_Start) GetCapsuleId

func (x *ExecuteRequest_Start) GetCapsuleId() string

func (*ExecuteRequest_Start) GetCommand

func (x *ExecuteRequest_Start) GetCommand() string

func (*ExecuteRequest_Start) GetInstanceId

func (x *ExecuteRequest_Start) GetInstanceId() string

func (*ExecuteRequest_Start) GetInteractive

func (x *ExecuteRequest_Start) GetInteractive() bool

func (*ExecuteRequest_Start) GetTty

func (*ExecuteRequest_Start) ProtoMessage

func (*ExecuteRequest_Start) ProtoMessage()

func (*ExecuteRequest_Start) ProtoReflect

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

func (*ExecuteRequest_Start) Reset

func (x *ExecuteRequest_Start) Reset()

func (*ExecuteRequest_Start) String

func (x *ExecuteRequest_Start) String() string

type ExecuteRequest_Start_

type ExecuteRequest_Start_ struct {
	// Start request.
	Start *ExecuteRequest_Start `protobuf:"bytes,1,opt,name=start,proto3,oneof"`
}

type ExecuteRequest_Stdin

type ExecuteRequest_Stdin struct {
	// Stream stdin request
	Stdin *StreamData `protobuf:"bytes,2,opt,name=stdin,proto3,oneof"`
}

type ExecuteResponse

type ExecuteResponse struct {

	// Types that are assignable to Response:
	//
	//	*ExecuteResponse_Stdout
	//	*ExecuteResponse_Stderr
	//	*ExecuteResponse_ExitCode
	Response isExecuteResponse_Response `protobuf_oneof:"response"`
	// contains filtered or unexported fields
}

Execute response.

func (*ExecuteResponse) Descriptor deprecated

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

Deprecated: Use ExecuteResponse.ProtoReflect.Descriptor instead.

func (*ExecuteResponse) GetExitCode

func (x *ExecuteResponse) GetExitCode() int32

func (*ExecuteResponse) GetResponse

func (m *ExecuteResponse) GetResponse() isExecuteResponse_Response

func (*ExecuteResponse) GetStderr

func (x *ExecuteResponse) GetStderr() *StreamData

func (*ExecuteResponse) GetStdout

func (x *ExecuteResponse) GetStdout() *StreamData

func (*ExecuteResponse) ProtoMessage

func (*ExecuteResponse) ProtoMessage()

func (*ExecuteResponse) ProtoReflect

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

func (*ExecuteResponse) Reset

func (x *ExecuteResponse) Reset()

func (*ExecuteResponse) String

func (x *ExecuteResponse) String() string

type ExecuteResponse_ExitCode

type ExecuteResponse_ExitCode struct {
	// Exit code of the execute.
	ExitCode int32 `protobuf:"varint,3,opt,name=exit_code,json=exitCode,proto3,oneof"`
}

type ExecuteResponse_Stderr

type ExecuteResponse_Stderr struct {
	// Stderr in case of an error.
	Stderr *StreamData `protobuf:"bytes,2,opt,name=stderr,proto3,oneof"`
}

type ExecuteResponse_Stdout

type ExecuteResponse_Stdout struct {
	// Stdout of the execute.
	Stdout *StreamData `protobuf:"bytes,1,opt,name=stdout,proto3,oneof"`
}

type FieldChange

type FieldChange struct {

	// The Field-ID associated with this change. This is formated as a
	// json-path string with '?' placeholders.
	FieldId string `protobuf:"bytes,1,opt,name=field_id,json=fieldId,proto3" json:"field_id,omitempty"`
	// The unique Field-path identifying this change. This is formated as a
	// json-path string.
	FieldPath string `protobuf:"bytes,2,opt,name=field_path,json=fieldPath,proto3" json:"field_path,omitempty"`
	// YAML encoding of the old value (if any).
	OldValueYaml string `protobuf:"bytes,3,opt,name=old_value_yaml,json=oldValueYaml,proto3" json:"old_value_yaml,omitempty"`
	// YAML encoding of the new value (if any).
	NewValueYaml string `protobuf:"bytes,4,opt,name=new_value_yaml,json=newValueYaml,proto3" json:"new_value_yaml,omitempty"`
	// Operation is how this field-change is applied against the source to get
	// to the target spec.
	Operation FieldOperation `protobuf:"varint,5,opt,name=operation,proto3,enum=api.v1.capsule.FieldOperation" json:"operation,omitempty"`
	// Pretty-printed string description of the field change.
	Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

func (*FieldChange) Descriptor deprecated

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

Deprecated: Use FieldChange.ProtoReflect.Descriptor instead.

func (*FieldChange) GetDescription

func (x *FieldChange) GetDescription() string

func (*FieldChange) GetFieldId

func (x *FieldChange) GetFieldId() string

func (*FieldChange) GetFieldPath

func (x *FieldChange) GetFieldPath() string

func (*FieldChange) GetNewValueYaml

func (x *FieldChange) GetNewValueYaml() string

func (*FieldChange) GetOldValueYaml

func (x *FieldChange) GetOldValueYaml() string

func (*FieldChange) GetOperation

func (x *FieldChange) GetOperation() FieldOperation

func (*FieldChange) ProtoMessage

func (*FieldChange) ProtoMessage()

func (*FieldChange) ProtoReflect

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

func (*FieldChange) Reset

func (x *FieldChange) Reset()

func (*FieldChange) String

func (x *FieldChange) String() string

type FieldOperation

type FieldOperation int32
const (
	FieldOperation_FIELD_OPERATION_UNSPECIFIED FieldOperation = 0
	FieldOperation_FIELD_OPERATION_ADDED       FieldOperation = 1
	FieldOperation_FIELD_OPERATION_REMOVED     FieldOperation = 2
	FieldOperation_FIELD_OPERATION_MODIFIED    FieldOperation = 3
)

func (FieldOperation) Descriptor

func (FieldOperation) Enum

func (x FieldOperation) Enum() *FieldOperation

func (FieldOperation) EnumDescriptor deprecated

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

Deprecated: Use FieldOperation.Descriptor instead.

func (FieldOperation) Number

func (FieldOperation) String

func (x FieldOperation) String() string

func (FieldOperation) Type

type GetCustomInstanceMetricsRequest

type GetCustomInstanceMetricsRequest struct {

	// The capsule to get metrics for.
	CapsuleId string `protobuf:"bytes,1,opt,name=capsule_id,json=capsuleId,proto3" json:"capsule_id,omitempty"`
	// The project in which the capsule lives.
	ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// The environment to get metrics for.
	EnvironmentId string `protobuf:"bytes,3,opt,name=environment_id,json=environmentId,proto3" json:"environment_id,omitempty"`
	// contains filtered or unexported fields
}

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

func (*GetCustomInstanceMetricsRequest) Descriptor deprecated

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

Deprecated: Use GetCustomInstanceMetricsRequest.ProtoReflect.Descriptor instead.

func (*GetCustomInstanceMetricsRequest) GetCapsuleId

func (x *GetCustomInstanceMetricsRequest) GetCapsuleId() string

func (*GetCustomInstanceMetricsRequest) GetEnvironmentId

func (x *GetCustomInstanceMetricsRequest) GetEnvironmentId() string

func (*GetCustomInstanceMetricsRequest) GetProjectId

func (x *GetCustomInstanceMetricsRequest) GetProjectId() string

func (*GetCustomInstanceMetricsRequest) ProtoMessage

func (*GetCustomInstanceMetricsRequest) ProtoMessage()

func (*GetCustomInstanceMetricsRequest) ProtoReflect

func (*GetCustomInstanceMetricsRequest) Reset

func (*GetCustomInstanceMetricsRequest) String

type GetCustomInstanceMetricsResponse

type GetCustomInstanceMetricsResponse struct {

	// Custom Metrics.
	Metrics []*model.Metric `protobuf:"bytes,1,rep,name=metrics,proto3" json:"metrics,omitempty"`
	// contains filtered or unexported fields
}

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

func (*GetCustomInstanceMetricsResponse) Descriptor deprecated

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

Deprecated: Use GetCustomInstanceMetricsResponse.ProtoReflect.Descriptor instead.

func (*GetCustomInstanceMetricsResponse) GetMetrics

func (x *GetCustomInstanceMetricsResponse) GetMetrics() []*model.Metric

func (*GetCustomInstanceMetricsResponse) ProtoMessage

func (*GetCustomInstanceMetricsResponse) ProtoMessage()

func (*GetCustomInstanceMetricsResponse) ProtoReflect

func (*GetCustomInstanceMetricsResponse) Reset

func (*GetCustomInstanceMetricsResponse) String

type GetEffectiveGitSettingsRequest

type GetEffectiveGitSettingsRequest struct {
	ProjectId     string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	EnvironmentId string `protobuf:"bytes,2,opt,name=environment_id,json=environmentId,proto3" json:"environment_id,omitempty"`
	CapsuleId     string `protobuf:"bytes,3,opt,name=capsule_id,json=capsuleId,proto3" json:"capsule_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetEffectiveGitSettingsRequest) Descriptor deprecated

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

Deprecated: Use GetEffectiveGitSettingsRequest.ProtoReflect.Descriptor instead.

func (*GetEffectiveGitSettingsRequest) GetCapsuleId

func (x *GetEffectiveGitSettingsRequest) GetCapsuleId() string

func (*GetEffectiveGitSettingsRequest) GetEnvironmentId

func (x *GetEffectiveGitSettingsRequest) GetEnvironmentId() string

func (*GetEffectiveGitSettingsRequest) GetProjectId

func (x *GetEffectiveGitSettingsRequest) GetProjectId() string

func (*GetEffectiveGitSettingsRequest) ProtoMessage

func (*GetEffectiveGitSettingsRequest) ProtoMessage()

func (*GetEffectiveGitSettingsRequest) ProtoReflect

func (*GetEffectiveGitSettingsRequest) Reset

func (x *GetEffectiveGitSettingsRequest) Reset()

func (*GetEffectiveGitSettingsRequest) String

type GetEffectiveGitSettingsResponse

type GetEffectiveGitSettingsResponse struct {
	Git                *model.GitStore `protobuf:"bytes,1,opt,name=git,proto3" json:"git,omitempty"`
	EnvironmentEnabled bool            `protobuf:"varint,2,opt,name=environment_enabled,json=environmentEnabled,proto3" json:"environment_enabled,omitempty"`
	// contains filtered or unexported fields
}

func (*GetEffectiveGitSettingsResponse) Descriptor deprecated

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

Deprecated: Use GetEffectiveGitSettingsResponse.ProtoReflect.Descriptor instead.

func (*GetEffectiveGitSettingsResponse) GetEnvironmentEnabled

func (x *GetEffectiveGitSettingsResponse) GetEnvironmentEnabled() bool

func (*GetEffectiveGitSettingsResponse) GetGit

func (*GetEffectiveGitSettingsResponse) ProtoMessage

func (*GetEffectiveGitSettingsResponse) ProtoMessage()

func (*GetEffectiveGitSettingsResponse) ProtoReflect

func (*GetEffectiveGitSettingsResponse) Reset

func (*GetEffectiveGitSettingsResponse) String

type GetInstanceStatusRequest

type GetInstanceStatusRequest struct {

	// The capsule to get the instance status from.
	CapsuleId string `protobuf:"bytes,1,opt,name=capsule_id,json=capsuleId,proto3" json:"capsule_id,omitempty"`
	// The instance to get.
	InstanceId string `protobuf:"bytes,2,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
	// The project in which the capsule lives.
	ProjectId string `protobuf:"bytes,3,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// The environment to get the instance from.
	EnvironmentId string `protobuf:"bytes,4,opt,name=environment_id,json=environmentId,proto3" json:"environment_id,omitempty"`
	// contains filtered or unexported fields
}

Get status of an instance.

func (*GetInstanceStatusRequest) Descriptor deprecated

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

Deprecated: Use GetInstanceStatusRequest.ProtoReflect.Descriptor instead.

func (*GetInstanceStatusRequest) GetCapsuleId

func (x *GetInstanceStatusRequest) GetCapsuleId() string

func (*GetInstanceStatusRequest) GetEnvironmentId

func (x *GetInstanceStatusRequest) GetEnvironmentId() string

func (*GetInstanceStatusRequest) GetInstanceId

func (x *GetInstanceStatusRequest) GetInstanceId() string

func (*GetInstanceStatusRequest) GetProjectId

func (x *GetInstanceStatusRequest) GetProjectId() string

func (*GetInstanceStatusRequest) ProtoMessage

func (*GetInstanceStatusRequest) ProtoMessage()

func (*GetInstanceStatusRequest) ProtoReflect

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

func (*GetInstanceStatusRequest) Reset

func (x *GetInstanceStatusRequest) Reset()

func (*GetInstanceStatusRequest) String

func (x *GetInstanceStatusRequest) String() string

type GetInstanceStatusResponse

type GetInstanceStatusResponse struct {

	// The instance status.
	Status *instance.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

Get instance status response.

func (*GetInstanceStatusResponse) Descriptor deprecated

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

Deprecated: Use GetInstanceStatusResponse.ProtoReflect.Descriptor instead.

func (*GetInstanceStatusResponse) GetStatus

func (x *GetInstanceStatusResponse) GetStatus() *instance.Status

func (*GetInstanceStatusResponse) ProtoMessage

func (*GetInstanceStatusResponse) ProtoMessage()

func (*GetInstanceStatusResponse) ProtoReflect

func (*GetInstanceStatusResponse) Reset

func (x *GetInstanceStatusResponse) Reset()

func (*GetInstanceStatusResponse) String

func (x *GetInstanceStatusResponse) String() string

type GetJobExecutionsRequest

type GetJobExecutionsRequest struct {

	// The capsule to get job executions for.
	CapsuleId string `protobuf:"bytes,1,opt,name=capsule_id,json=capsuleId,proto3" json:"capsule_id,omitempty"`
	// The name of the job to get executions for.
	JobName string `protobuf:"bytes,2,opt,name=job_name,json=jobName,proto3" json:"job_name,omitempty"`
	// Filtering executions by job state.
	States []JobState `protobuf:"varint,4,rep,packed,name=states,proto3,enum=api.v1.capsule.JobState" json:"states,omitempty"`
	// Filtering executions created before this timestamp.
	CreatedFrom *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=created_from,json=createdFrom,proto3" json:"created_from,omitempty"`
	// Filtering executions created after this timestamp.
	CreatedTo *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=created_to,json=createdTo,proto3" json:"created_to,omitempty"`
	// Pagination options.
	Pagination *model.Pagination `protobuf:"bytes,7,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// The project in which the capsule lives.
	ProjectId string `protobuf:"bytes,8,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// The environment to get job executions for.
	EnvironmentId string `protobuf:"bytes,9,opt,name=environment_id,json=environmentId,proto3" json:"environment_id,omitempty"`
	// contains filtered or unexported fields
}

Request for getting job executions from cron jobs.

func (*GetJobExecutionsRequest) Descriptor deprecated

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

Deprecated: Use GetJobExecutionsRequest.ProtoReflect.Descriptor instead.

func (*GetJobExecutionsRequest) GetCapsuleId

func (x *GetJobExecutionsRequest) GetCapsuleId() string

func (*GetJobExecutionsRequest) GetCreatedFrom

func (x *GetJobExecutionsRequest) GetCreatedFrom() *timestamppb.Timestamp

func (*GetJobExecutionsRequest) GetCreatedTo

func (x *GetJobExecutionsRequest) GetCreatedTo() *timestamppb.Timestamp

func (*GetJobExecutionsRequest) GetEnvironmentId

func (x *GetJobExecutionsRequest) GetEnvironmentId() string

func (*GetJobExecutionsRequest) GetJobName

func (x *GetJobExecutionsRequest) GetJobName() string

func (*GetJobExecutionsRequest) GetPagination

func (x *GetJobExecutionsRequest) GetPagination() *model.Pagination

func (*GetJobExecutionsRequest) GetProjectId

func (x *GetJobExecutionsRequest) GetProjectId() string

func (*GetJobExecutionsRequest) GetStates

func (x *GetJobExecutionsRequest) GetStates() []JobState

func (*GetJobExecutionsRequest) ProtoMessage

func (*GetJobExecutionsRequest) ProtoMessage()

func (*GetJobExecutionsRequest) ProtoReflect

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

func (*GetJobExecutionsRequest) Reset

func (x *GetJobExecutionsRequest) Reset()

func (*GetJobExecutionsRequest) String

func (x *GetJobExecutionsRequest) String() string

type GetJobExecutionsResponse

type GetJobExecutionsResponse struct {

	// Job executions.
	JobExecutions []*JobExecution `protobuf:"bytes,1,rep,name=job_executions,json=jobExecutions,proto3" json:"job_executions,omitempty"`
	// Total number of executions ignorring pagination.
	Total uint64 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
	// contains filtered or unexported fields
}

Response to getting job executions.

func (*GetJobExecutionsResponse) Descriptor deprecated

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

Deprecated: Use GetJobExecutionsResponse.ProtoReflect.Descriptor instead.

func (*GetJobExecutionsResponse) GetJobExecutions

func (x *GetJobExecutionsResponse) GetJobExecutions() []*JobExecution

func (*GetJobExecutionsResponse) GetTotal

func (x *GetJobExecutionsResponse) GetTotal() uint64

func (*GetJobExecutionsResponse) ProtoMessage

func (*GetJobExecutionsResponse) ProtoMessage()

func (*GetJobExecutionsResponse) ProtoReflect

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

func (*GetJobExecutionsResponse) Reset

func (x *GetJobExecutionsResponse) Reset()

func (*GetJobExecutionsResponse) String

func (x *GetJobExecutionsResponse) String() string

type GetPipelineStatusRequest

type GetPipelineStatusRequest struct {
	ExecutionId uint64 `protobuf:"varint,1,opt,name=execution_id,json=executionId,proto3" json:"execution_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetPipelineStatusRequest) Descriptor deprecated

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

Deprecated: Use GetPipelineStatusRequest.ProtoReflect.Descriptor instead.

func (*GetPipelineStatusRequest) GetExecutionId

func (x *GetPipelineStatusRequest) GetExecutionId() uint64

func (*GetPipelineStatusRequest) ProtoMessage

func (*GetPipelineStatusRequest) ProtoMessage()

func (*GetPipelineStatusRequest) ProtoReflect

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

func (*GetPipelineStatusRequest) Reset

func (x *GetPipelineStatusRequest) Reset()

func (*GetPipelineStatusRequest) String

func (x *GetPipelineStatusRequest) String() string

type GetPipelineStatusResponse

type GetPipelineStatusResponse struct {
	Status *pipeline.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*GetPipelineStatusResponse) Descriptor deprecated

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

Deprecated: Use GetPipelineStatusResponse.ProtoReflect.Descriptor instead.

func (*GetPipelineStatusResponse) GetStatus

func (x *GetPipelineStatusResponse) GetStatus() *pipeline.Status

func (*GetPipelineStatusResponse) ProtoMessage

func (*GetPipelineStatusResponse) ProtoMessage()

func (*GetPipelineStatusResponse) ProtoReflect

func (*GetPipelineStatusResponse) Reset

func (x *GetPipelineStatusResponse) Reset()

func (*GetPipelineStatusResponse) String

func (x *GetPipelineStatusResponse) String() string

type GetProposalsEnabledRequest

type GetProposalsEnabledRequest struct {
	ProjectId     string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	EnvironmentId string `protobuf:"bytes,2,opt,name=environment_id,json=environmentId,proto3" json:"environment_id,omitempty"`
	CapsuleId     string `protobuf:"bytes,3,opt,name=capsule_id,json=capsuleId,proto3" json:"capsule_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetProposalsEnabledRequest) Descriptor deprecated

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

Deprecated: Use GetProposalsEnabledRequest.ProtoReflect.Descriptor instead.

func (*GetProposalsEnabledRequest) GetCapsuleId

func (x *GetProposalsEnabledRequest) GetCapsuleId() string

func (*GetProposalsEnabledRequest) GetEnvironmentId

func (x *GetProposalsEnabledRequest) GetEnvironmentId() string

func (*GetProposalsEnabledRequest) GetProjectId

func (x *GetProposalsEnabledRequest) GetProjectId() string

func (*GetProposalsEnabledRequest) ProtoMessage

func (*GetProposalsEnabledRequest) ProtoMessage()

func (*GetProposalsEnabledRequest) ProtoReflect

func (*GetProposalsEnabledRequest) Reset

func (x *GetProposalsEnabledRequest) Reset()

func (*GetProposalsEnabledRequest) String

func (x *GetProposalsEnabledRequest) String() string

type GetProposalsEnabledResponse

type GetProposalsEnabledResponse struct {
	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// contains filtered or unexported fields
}

func (*GetProposalsEnabledResponse) Descriptor deprecated

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

Deprecated: Use GetProposalsEnabledResponse.ProtoReflect.Descriptor instead.

func (*GetProposalsEnabledResponse) GetEnabled

func (x *GetProposalsEnabledResponse) GetEnabled() bool

func (*GetProposalsEnabledResponse) ProtoMessage

func (*GetProposalsEnabledResponse) ProtoMessage()

func (*GetProposalsEnabledResponse) ProtoReflect

func (*GetProposalsEnabledResponse) Reset

func (x *GetProposalsEnabledResponse) Reset()

func (*GetProposalsEnabledResponse) String

func (x *GetProposalsEnabledResponse) String() string

type GetRequest

type GetRequest struct {

	// Capsule to get.
	CapsuleId string `protobuf:"bytes,1,opt,name=capsule_id,json=capsuleId,proto3" json:"capsule_id,omitempty"`
	// Project in which the capsule is.
	ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// contains filtered or unexported fields
}

Request to get a capsule.

func (*GetRequest) Descriptor deprecated

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

Deprecated: Use GetRequest.ProtoReflect.Descriptor instead.

func (*GetRequest) GetCapsuleId

func (x *GetRequest) GetCapsuleId() string

func (*GetRequest) GetProjectId

func (x *GetRequest) GetProjectId() string

func (*GetRequest) ProtoMessage

func (*GetRequest) ProtoMessage()

func (*GetRequest) ProtoReflect

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

func (*GetRequest) Reset

func (x *GetRequest) Reset()

func (*GetRequest) String

func (x *GetRequest) String() string

type GetResponse

type GetResponse struct {

	// The capsule.
	Capsule              *Capsule             `protobuf:"bytes,1,opt,name=capsule,proto3" json:"capsule,omitempty"`
	Revision             *SetRevision         `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"`
	EnvironmentRevisions map[string]*Revision `` /* 209-byte string literal not displayed */
	// contains filtered or unexported fields
}

Response to get a capsule.

func (*GetResponse) Descriptor deprecated

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

Deprecated: Use GetResponse.ProtoReflect.Descriptor instead.

func (*GetResponse) GetCapsule

func (x *GetResponse) GetCapsule() *Capsule

func (*GetResponse) GetEnvironmentRevisions

func (x *GetResponse) GetEnvironmentRevisions() map[string]*Revision

func (*GetResponse) GetRevision

func (x *GetResponse) GetRevision() *SetRevision

func (*GetResponse) ProtoMessage

func (*GetResponse) ProtoMessage()

func (*GetResponse) ProtoReflect

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

func (*GetResponse) Reset

func (x *GetResponse) Reset()

func (*GetResponse) String

func (x *GetResponse) String() string

type GetRevisionRequest

type GetRevisionRequest struct {
	ProjectId     string             `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	EnvironmentId string             `protobuf:"bytes,2,opt,name=environment_id,json=environmentId,proto3" json:"environment_id,omitempty"`
	CapsuleId     string             `protobuf:"bytes,3,opt,name=capsule_id,json=capsuleId,proto3" json:"capsule_id,omitempty"`
	Fingerprint   *model.Fingerprint `protobuf:"bytes,4,opt,name=fingerprint,proto3" json:"fingerprint,omitempty"`
	// contains filtered or unexported fields
}

func (*GetRevisionRequest) Descriptor deprecated

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

Deprecated: Use GetRevisionRequest.ProtoReflect.Descriptor instead.

func (*GetRevisionRequest) GetCapsuleId

func (x *GetRevisionRequest) GetCapsuleId() string

func (*GetRevisionRequest) GetEnvironmentId

func (x *GetRevisionRequest) GetEnvironmentId() string

func (*GetRevisionRequest) GetFingerprint

func (x *GetRevisionRequest) GetFingerprint() *model.Fingerprint

func (*GetRevisionRequest) GetProjectId

func (x *GetRevisionRequest) GetProjectId() string

func (*GetRevisionRequest) ProtoMessage

func (*GetRevisionRequest) ProtoMessage()

func (*GetRevisionRequest) ProtoReflect

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

func (*GetRevisionRequest) Reset

func (x *GetRevisionRequest) Reset()

func (*GetRevisionRequest) String

func (x *GetRevisionRequest) String() string

type GetRevisionResponse

type GetRevisionResponse struct {
	Revision *Revision `protobuf:"bytes,1,opt,name=revision,proto3" json:"revision,omitempty"`
	// contains filtered or unexported fields
}

func (*GetRevisionResponse) Descriptor deprecated

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

Deprecated: Use GetRevisionResponse.ProtoReflect.Descriptor instead.

func (*GetRevisionResponse) GetRevision

func (x *GetRevisionResponse) GetRevision() *Revision

func (*GetRevisionResponse) ProtoMessage

func (*GetRevisionResponse) ProtoMessage()

func (*GetRevisionResponse) ProtoReflect

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

func (*GetRevisionResponse) Reset

func (x *GetRevisionResponse) Reset()

func (*GetRevisionResponse) String

func (x *GetRevisionResponse) String() string

type GetRolloutOfRevisionsRequest

type GetRolloutOfRevisionsRequest struct {
	ProjectId     string              `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	EnvironmentId string              `protobuf:"bytes,2,opt,name=environment_id,json=environmentId,proto3" json:"environment_id,omitempty"`
	CapsuleId     string              `protobuf:"bytes,3,opt,name=capsule_id,json=capsuleId,proto3" json:"capsule_id,omitempty"`
	Fingerprints  *model.Fingerprints `protobuf:"bytes,4,opt,name=fingerprints,proto3" json:"fingerprints,omitempty"`
	// contains filtered or unexported fields
}

func (*GetRolloutOfRevisionsRequest) Descriptor deprecated

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

Deprecated: Use GetRolloutOfRevisionsRequest.ProtoReflect.Descriptor instead.

func (*GetRolloutOfRevisionsRequest) GetCapsuleId

func (x *GetRolloutOfRevisionsRequest) GetCapsuleId() string

func (*GetRolloutOfRevisionsRequest) GetEnvironmentId

func (x *GetRolloutOfRevisionsRequest) GetEnvironmentId() string

func (*GetRolloutOfRevisionsRequest) GetFingerprints

func (x *GetRolloutOfRevisionsRequest) GetFingerprints() *model.Fingerprints

func (*GetRolloutOfRevisionsRequest) GetProjectId

func (x *GetRolloutOfRevisionsRequest) GetProjectId() string

func (*GetRolloutOfRevisionsRequest) ProtoMessage

func (*GetRolloutOfRevisionsRequest) ProtoMessage()

func (*GetRolloutOfRevisionsRequest) ProtoReflect

func (*GetRolloutOfRevisionsRequest) Reset

func (x *GetRolloutOfRevisionsRequest) Reset()

func (*GetRolloutOfRevisionsRequest) String

type GetRolloutOfRevisionsResponse

type GetRolloutOfRevisionsResponse struct {

	// Types that are assignable to Kind:
	//
	//	*GetRolloutOfRevisionsResponse_NoRollout_
	//	*GetRolloutOfRevisionsResponse_Rollout
	Kind isGetRolloutOfRevisionsResponse_Kind `protobuf_oneof:"kind"`
	// contains filtered or unexported fields
}

func (*GetRolloutOfRevisionsResponse) Descriptor deprecated

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

Deprecated: Use GetRolloutOfRevisionsResponse.ProtoReflect.Descriptor instead.

func (*GetRolloutOfRevisionsResponse) GetKind

func (m *GetRolloutOfRevisionsResponse) GetKind() isGetRolloutOfRevisionsResponse_Kind

func (*GetRolloutOfRevisionsResponse) GetNoRollout

func (*GetRolloutOfRevisionsResponse) GetRollout

func (x *GetRolloutOfRevisionsResponse) GetRollout() *Rollout

func (*GetRolloutOfRevisionsResponse) ProtoMessage

func (*GetRolloutOfRevisionsResponse) ProtoMessage()

func (*GetRolloutOfRevisionsResponse) ProtoReflect

func (*GetRolloutOfRevisionsResponse) Reset

func (x *GetRolloutOfRevisionsResponse) Reset()

func (*GetRolloutOfRevisionsResponse) String

type GetRolloutOfRevisionsResponse_NoRollout

type GetRolloutOfRevisionsResponse_NoRollout struct {

	// Indicates no rollout with a project revision at least as new as the one
	// given.
	Project bool `protobuf:"varint,1,opt,name=project,proto3" json:"project,omitempty"`
	// Indicates no rollout with an environment revision at least as new as the
	// one given.
	Environment bool `protobuf:"varint,2,opt,name=environment,proto3" json:"environment,omitempty"`
	// Indicates no rollout with a capsule set revision at least as new as the
	// one given.
	CapsuleSet bool `protobuf:"varint,3,opt,name=capsule_set,json=capsuleSet,proto3" json:"capsule_set,omitempty"`
	// Indicates no rollout with a capsule revision at least as new as the one
	// given.
	Capsule bool `protobuf:"varint,4,opt,name=capsule,proto3" json:"capsule,omitempty"`
	// contains filtered or unexported fields
}

func (*GetRolloutOfRevisionsResponse_NoRollout) Descriptor deprecated

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

Deprecated: Use GetRolloutOfRevisionsResponse_NoRollout.ProtoReflect.Descriptor instead.

func (*GetRolloutOfRevisionsResponse_NoRollout) GetCapsule

func (*GetRolloutOfRevisionsResponse_NoRollout) GetCapsuleSet

func (x *GetRolloutOfRevisionsResponse_NoRollout) GetCapsuleSet() bool

func (*GetRolloutOfRevisionsResponse_NoRollout) GetEnvironment

func (x *GetRolloutOfRevisionsResponse_NoRollout) GetEnvironment() bool

func (*GetRolloutOfRevisionsResponse_NoRollout) GetProject

func (*GetRolloutOfRevisionsResponse_NoRollout) ProtoMessage

func (*GetRolloutOfRevisionsResponse_NoRollout) ProtoReflect

func (*GetRolloutOfRevisionsResponse_NoRollout) Reset

func (*GetRolloutOfRevisionsResponse_NoRollout) String

type GetRolloutOfRevisionsResponse_NoRollout_

type GetRolloutOfRevisionsResponse_NoRollout_ struct {
	NoRollout *GetRolloutOfRevisionsResponse_NoRollout `protobuf:"bytes,1,opt,name=no_rollout,json=noRollout,proto3,oneof"`
}

type GetRolloutOfRevisionsResponse_Rollout

type GetRolloutOfRevisionsResponse_Rollout struct {
	Rollout *Rollout `protobuf:"bytes,2,opt,name=rollout,proto3,oneof"`
}

type GetRolloutRequest

type GetRolloutRequest struct {

	// The capsule to get the rollout from.
	CapsuleId string `protobuf:"bytes,1,opt,name=capsule_id,json=capsuleId,proto3" json:"capsule_id,omitempty"`
	// The rollout to get.
	RolloutId uint64 `protobuf:"varint,2,opt,name=rollout_id,json=rolloutId,proto3" json:"rollout_id,omitempty"`
	ProjectId string `protobuf:"bytes,3,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // The project in which the capsule lives.
	// contains filtered or unexported fields
}

GetRolloutRequest gets a single rollout.

func (*GetRolloutRequest) Descriptor deprecated

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

Deprecated: Use GetRolloutRequest.ProtoReflect.Descriptor instead.

func (*GetRolloutRequest) GetCapsuleId

func (x *GetRolloutRequest) GetCapsuleId() string

func (*GetRolloutRequest) GetProjectId

func (x *GetRolloutRequest) GetProjectId() string

func (*GetRolloutRequest) GetRolloutId

func (x *GetRolloutRequest) GetRolloutId() uint64

func (*GetRolloutRequest) ProtoMessage

func (*GetRolloutRequest) ProtoMessage()

func (*GetRolloutRequest) ProtoReflect

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

func (*GetRolloutRequest) Reset

func (x *GetRolloutRequest) Reset()

func (*GetRolloutRequest) String

func (x *GetRolloutRequest) String() string

type GetRolloutResponse

type GetRolloutResponse struct {

	// The rollout.
	Rollout *Rollout `protobuf:"bytes,1,opt,name=rollout,proto3" json:"rollout,omitempty"`
	// contains filtered or unexported fields
}

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

func (*GetRolloutResponse) Descriptor deprecated

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

Deprecated: Use GetRolloutResponse.ProtoReflect.Descriptor instead.

func (*GetRolloutResponse) GetRollout

func (x *GetRolloutResponse) GetRollout() *Rollout

func (*GetRolloutResponse) ProtoMessage

func (*GetRolloutResponse) ProtoMessage()

func (*GetRolloutResponse) ProtoReflect

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

func (*GetRolloutResponse) Reset

func (x *GetRolloutResponse) Reset()

func (*GetRolloutResponse) String

func (x *GetRolloutResponse) String() string

type GetStatusRequest

type GetStatusRequest struct {

	// The capsule to get the status from.
	CapsuleId string `protobuf:"bytes,1,opt,name=capsule_id,json=capsuleId,proto3" json:"capsule_id,omitempty"`
	// The project in which the capsule lives.
	ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// The environment to get the status from.
	EnvironmentId string `protobuf:"bytes,3,opt,name=environment_id,json=environmentId,proto3" json:"environment_id,omitempty"`
	// contains filtered or unexported fields
}

GetStatusRequest is a request to start streaming the capsule status

func (*GetStatusRequest) Descriptor deprecated

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

Deprecated: Use GetStatusRequest.ProtoReflect.Descriptor instead.

func (*GetStatusRequest) GetCapsuleId

func (x *GetStatusRequest) GetCapsuleId() string

func (*GetStatusRequest) GetEnvironmentId

func (x *GetStatusRequest) GetEnvironmentId() string

func (*GetStatusRequest) GetProjectId

func (x *GetStatusRequest) GetProjectId() string

func (*GetStatusRequest) ProtoMessage

func (*GetStatusRequest) ProtoMessage()

func (*GetStatusRequest) ProtoReflect

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

func (*GetStatusRequest) Reset

func (x *GetStatusRequest) Reset()

func (*GetStatusRequest) String

func (x *GetStatusRequest) String() string

type GetStatusResponse

type GetStatusResponse struct {

	// The capsule status
	Status *Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

GetCapsuleStatusResponse

func (*GetStatusResponse) Descriptor deprecated

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

Deprecated: Use GetStatusResponse.ProtoReflect.Descriptor instead.

func (*GetStatusResponse) GetStatus

func (x *GetStatusResponse) GetStatus() *Status

func (*GetStatusResponse) ProtoMessage

func (*GetStatusResponse) ProtoMessage()

func (*GetStatusResponse) ProtoReflect

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

func (*GetStatusResponse) Reset

func (x *GetStatusResponse) Reset()

func (*GetStatusResponse) String

func (x *GetStatusResponse) String() string

type GitReference

type GitReference struct {

	// The url of the git repository
	RepositoryUrl string `protobuf:"bytes,1,opt,name=repository_url,json=repositoryUrl,proto3" json:"repository_url,omitempty"`
	// The commit sha of the git repository
	CommitSha string `protobuf:"bytes,2,opt,name=commit_sha,json=commitSha,proto3" json:"commit_sha,omitempty"`
	// The commit url of the git repository
	CommitUrl string `protobuf:"bytes,3,opt,name=commit_url,json=commitUrl,proto3" json:"commit_url,omitempty"`
	// contains filtered or unexported fields
}

GitReference is an origin of a image.

func (*GitReference) Descriptor deprecated

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

Deprecated: Use GitReference.ProtoReflect.Descriptor instead.

func (*GitReference) GetCommitSha

func (x *GitReference) GetCommitSha() string

func (*GitReference) GetCommitUrl

func (x *GitReference) GetCommitUrl() string

func (*GitReference) GetRepositoryUrl

func (x *GitReference) GetRepositoryUrl() string

func (*GitReference) ProtoMessage

func (*GitReference) ProtoMessage()

func (*GitReference) ProtoReflect

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

func (*GitReference) Reset

func (x *GitReference) Reset()

func (*GitReference) String

func (x *GitReference) String() string

type GpuLimits

type GpuLimits struct {

	// gpu resource type - fx. nvidia.com/gpu
	Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	// number of gpus
	Count uint32 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
	// contains filtered or unexported fields
}

GPU resource limits

func (*GpuLimits) Descriptor deprecated

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

Deprecated: Use GpuLimits.ProtoReflect.Descriptor instead.

func (*GpuLimits) GetCount

func (x *GpuLimits) GetCount() uint32

func (*GpuLimits) GetType

func (x *GpuLimits) GetType() string

func (*GpuLimits) ProtoMessage

func (*GpuLimits) ProtoMessage()

func (*GpuLimits) ProtoReflect

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

func (*GpuLimits) Reset

func (x *GpuLimits) Reset()

func (*GpuLimits) String

func (x *GpuLimits) String() string

type HTTPPathRoute

type HTTPPathRoute struct {
	Path  string        `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	Match PathMatchType `protobuf:"varint,2,opt,name=match,proto3,enum=api.v1.capsule.PathMatchType" json:"match,omitempty"`
	// contains filtered or unexported fields
}

func (*HTTPPathRoute) Descriptor deprecated

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

Deprecated: Use HTTPPathRoute.ProtoReflect.Descriptor instead.

func (*HTTPPathRoute) GetMatch

func (x *HTTPPathRoute) GetMatch() PathMatchType

func (*HTTPPathRoute) GetPath

func (x *HTTPPathRoute) GetPath() string

func (*HTTPPathRoute) ProtoMessage

func (*HTTPPathRoute) ProtoMessage()

func (*HTTPPathRoute) ProtoReflect

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

func (*HTTPPathRoute) Reset

func (x *HTTPPathRoute) Reset()

func (*HTTPPathRoute) String

func (x *HTTPPathRoute) String() string

type HorizontalScale

type HorizontalScale struct {

	// Maximum number of replicas.
	MaxReplicas uint32 `protobuf:"varint,1,opt,name=max_replicas,json=maxReplicas,proto3" json:"max_replicas,omitempty"`
	// Minimum number of replicas.
	MinReplicas uint32 `protobuf:"varint,2,opt,name=min_replicas,json=minReplicas,proto3" json:"min_replicas,omitempty"`
	// CPU target for autoscaling.
	CpuTarget *CPUTarget `protobuf:"bytes,3,opt,name=cpu_target,json=cpuTarget,proto3" json:"cpu_target,omitempty"`
	// If scaling based on custom metrics.
	CustomMetrics []*CustomMetric `protobuf:"bytes,4,rep,name=custom_metrics,json=customMetrics,proto3" json:"custom_metrics,omitempty"`
	// contains filtered or unexported fields
}

Horizontal scaling settings.

func (*HorizontalScale) Descriptor deprecated

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

Deprecated: Use HorizontalScale.ProtoReflect.Descriptor instead.

func (*HorizontalScale) GetCpuTarget

func (x *HorizontalScale) GetCpuTarget() *CPUTarget

func (*HorizontalScale) GetCustomMetrics

func (x *HorizontalScale) GetCustomMetrics() []*CustomMetric

func (*HorizontalScale) GetMaxReplicas

func (x *HorizontalScale) GetMaxReplicas() uint32

func (*HorizontalScale) GetMinReplicas

func (x *HorizontalScale) GetMinReplicas() uint32

func (*HorizontalScale) ProtoMessage

func (*HorizontalScale) ProtoMessage()

func (*HorizontalScale) ProtoReflect

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

func (*HorizontalScale) Reset

func (x *HorizontalScale) Reset()

func (*HorizontalScale) String

func (x *HorizontalScale) String() string

type HostRoute

type HostRoute struct {
	Host    string           `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
	Options *RouteOptions    `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty"`
	Paths   []*HTTPPathRoute `protobuf:"bytes,3,rep,name=paths,proto3" json:"paths,omitempty"`
	Id      string           `protobuf:"bytes,4,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*HostRoute) Descriptor deprecated

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

Deprecated: Use HostRoute.ProtoReflect.Descriptor instead.

func (*HostRoute) GetHost

func (x *HostRoute) GetHost() string

func (*HostRoute) GetId

func (x *HostRoute) GetId() string

func (*HostRoute) GetOptions

func (x *HostRoute) GetOptions() *RouteOptions

func (*HostRoute) GetPaths

func (x *HostRoute) GetPaths() []*HTTPPathRoute

func (*HostRoute) ProtoMessage

func (*HostRoute) ProtoMessage()

func (*HostRoute) ProtoReflect

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

func (*HostRoute) Reset

func (x *HostRoute) Reset()

func (*HostRoute) String

func (x *HostRoute) String() string

type Image

type Image struct {

	// unique identifier for the image
	ImageId string `protobuf:"bytes,2,opt,name=image_id,json=imageId,proto3" json:"image_id,omitempty"`
	// digest of the image
	Digest string `protobuf:"bytes,7,opt,name=digest,proto3" json:"digest,omitempty"`
	// repository of the image
	Repository string `protobuf:"bytes,8,opt,name=repository,proto3" json:"repository,omitempty"`
	// tag of the image
	Tag string `protobuf:"bytes,9,opt,name=tag,proto3" json:"tag,omitempty"`
	// user who created the image
	CreatedBy *model.Author `protobuf:"bytes,3,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"`
	// time the image was created
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// origin of the image
	Origin *Origin `protobuf:"bytes,5,opt,name=origin,proto3" json:"origin,omitempty"`
	// labels of the image
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

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

func (*Image) Descriptor deprecated

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

Deprecated: Use Image.ProtoReflect.Descriptor instead.

func (*Image) GetCreatedAt

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

func (*Image) GetCreatedBy

func (x *Image) GetCreatedBy() *model.Author

func (*Image) GetDigest

func (x *Image) GetDigest() string

func (*Image) GetImageId

func (x *Image) GetImageId() string

func (*Image) GetLabels

func (x *Image) GetLabels() map[string]string

func (*Image) GetOrigin

func (x *Image) GetOrigin() *Origin

func (*Image) GetRepository

func (x *Image) GetRepository() string

func (*Image) GetTag

func (x *Image) GetTag() string

func (*Image) ProtoMessage

func (*Image) ProtoMessage()

func (*Image) ProtoReflect

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

func (*Image) Reset

func (x *Image) Reset()

func (*Image) String

func (x *Image) String() string

type ImagePulling

type ImagePulling struct {
	Message    string              `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	Timestamps *StatusTimestamps   `protobuf:"bytes,2,opt,name=timestamps,proto3" json:"timestamps,omitempty"`
	Stages     *ImagePullingStages `protobuf:"bytes,3,opt,name=stages,proto3" json:"stages,omitempty"`
	// contains filtered or unexported fields
}

func (*ImagePulling) Descriptor deprecated

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

Deprecated: Use ImagePulling.ProtoReflect.Descriptor instead.

func (*ImagePulling) GetMessage

func (x *ImagePulling) GetMessage() string

func (*ImagePulling) GetStages

func (x *ImagePulling) GetStages() *ImagePullingStages

func (*ImagePulling) GetTimestamps

func (x *ImagePulling) GetTimestamps() *StatusTimestamps

func (*ImagePulling) ProtoMessage

func (*ImagePulling) ProtoMessage()

func (*ImagePulling) ProtoReflect

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

func (*ImagePulling) Reset

func (x *ImagePulling) Reset()

func (*ImagePulling) String

func (x *ImagePulling) String() string

type ImagePullingBackOff

type ImagePullingBackOff struct {
	Message    string            `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	Timestamps *StatusTimestamps `protobuf:"bytes,2,opt,name=timestamps,proto3" json:"timestamps,omitempty"`
	// contains filtered or unexported fields
}

func (*ImagePullingBackOff) Descriptor deprecated

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

Deprecated: Use ImagePullingBackOff.ProtoReflect.Descriptor instead.

func (*ImagePullingBackOff) GetMessage

func (x *ImagePullingBackOff) GetMessage() string

func (*ImagePullingBackOff) GetTimestamps

func (x *ImagePullingBackOff) GetTimestamps() *StatusTimestamps

func (*ImagePullingBackOff) ProtoMessage

func (*ImagePullingBackOff) ProtoMessage()

func (*ImagePullingBackOff) ProtoReflect

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

func (*ImagePullingBackOff) Reset

func (x *ImagePullingBackOff) Reset()

func (*ImagePullingBackOff) String

func (x *ImagePullingBackOff) String() string

type ImagePullingDone

type ImagePullingDone struct {
	Message    string            `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	Timestamps *StatusTimestamps `protobuf:"bytes,2,opt,name=timestamps,proto3" json:"timestamps,omitempty"`
	// contains filtered or unexported fields
}

func (*ImagePullingDone) Descriptor deprecated

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

Deprecated: Use ImagePullingDone.ProtoReflect.Descriptor instead.

func (*ImagePullingDone) GetMessage

func (x *ImagePullingDone) GetMessage() string

func (*ImagePullingDone) GetTimestamps

func (x *ImagePullingDone) GetTimestamps() *StatusTimestamps

func (*ImagePullingDone) ProtoMessage

func (*ImagePullingDone) ProtoMessage()

func (*ImagePullingDone) ProtoReflect

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

func (*ImagePullingDone) Reset

func (x *ImagePullingDone) Reset()

func (*ImagePullingDone) String

func (x *ImagePullingDone) String() string

type ImagePullingError

type ImagePullingError struct {
	Message    string            `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	Timestamps *StatusTimestamps `protobuf:"bytes,2,opt,name=timestamps,proto3" json:"timestamps,omitempty"`
	// contains filtered or unexported fields
}

func (*ImagePullingError) Descriptor deprecated

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

Deprecated: Use ImagePullingError.ProtoReflect.Descriptor instead.

func (*ImagePullingError) GetMessage

func (x *ImagePullingError) GetMessage() string

func (*ImagePullingError) GetTimestamps

func (x *ImagePullingError) GetTimestamps() *StatusTimestamps

func (*ImagePullingError) ProtoMessage

func (*ImagePullingError) ProtoMessage()

func (*ImagePullingError) ProtoReflect

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

func (*ImagePullingError) Reset

func (x *ImagePullingError) Reset()

func (*ImagePullingError) String

func (x *ImagePullingError) String() string

type ImagePullingPulling

type ImagePullingPulling struct {
	Message    string            `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	Timestamps *StatusTimestamps `protobuf:"bytes,2,opt,name=timestamps,proto3" json:"timestamps,omitempty"`
	// contains filtered or unexported fields
}

func (*ImagePullingPulling) Descriptor deprecated

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

Deprecated: Use ImagePullingPulling.ProtoReflect.Descriptor instead.

func (*ImagePullingPulling) GetMessage

func (x *ImagePullingPulling) GetMessage() string

func (*ImagePullingPulling) GetTimestamps

func (x *ImagePullingPulling) GetTimestamps() *StatusTimestamps

func (*ImagePullingPulling) ProtoMessage

func (*ImagePullingPulling) ProtoMessage()

func (*ImagePullingPulling) ProtoReflect

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

func (*ImagePullingPulling) Reset

func (x *ImagePullingPulling) Reset()

func (*ImagePullingPulling) String

func (x *ImagePullingPulling) String() string

type ImagePullingStages

type ImagePullingStages struct {
	Pulling *ImagePullingPulling `protobuf:"bytes,1,opt,name=pulling,proto3" json:"pulling,omitempty"`
	Error   *ImagePullingError   `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
	BackOff *ImagePullingBackOff `protobuf:"bytes,3,opt,name=back_off,json=backOff,proto3" json:"back_off,omitempty"`
	Done    *ImagePullingDone    `protobuf:"bytes,4,opt,name=done,proto3" json:"done,omitempty"`
	// contains filtered or unexported fields
}

func (*ImagePullingStages) Descriptor deprecated

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

Deprecated: Use ImagePullingStages.ProtoReflect.Descriptor instead.

func (*ImagePullingStages) GetBackOff

func (x *ImagePullingStages) GetBackOff() *ImagePullingBackOff

func (*ImagePullingStages) GetDone

func (x *ImagePullingStages) GetDone() *ImagePullingDone

func (*ImagePullingStages) GetError

func (x *ImagePullingStages) GetError() *ImagePullingError

func (*ImagePullingStages) GetPulling

func (x *ImagePullingStages) GetPulling() *ImagePullingPulling

func (*ImagePullingStages) ProtoMessage

func (*ImagePullingStages) ProtoMessage()

func (*ImagePullingStages) ProtoReflect

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

func (*ImagePullingStages) Reset

func (x *ImagePullingStages) Reset()

func (*ImagePullingStages) String

func (x *ImagePullingStages) String() string

type Instance

type Instance struct {
	InstanceId   string                 `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
	ImageId      string                 `protobuf:"bytes,2,opt,name=image_id,json=imageId,proto3" json:"image_id,omitempty"`
	State        State                  `protobuf:"varint,3,opt,name=state,proto3,enum=api.v1.capsule.State" json:"state,omitempty"`
	RestartCount uint32                 `protobuf:"varint,4,opt,name=restart_count,json=restartCount,proto3" json:"restart_count,omitempty"`
	CreatedAt    *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	StartedAt    *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"`
	FinishedAt   *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=finished_at,json=finishedAt,proto3" json:"finished_at,omitempty"`
	Message      string                 `protobuf:"bytes,8,opt,name=message,proto3" json:"message,omitempty"`
	RolloutId    uint64                 `protobuf:"varint,9,opt,name=rollout_id,json=rolloutId,proto3" json:"rollout_id,omitempty"`
	// contains filtered or unexported fields
}

func (*Instance) Descriptor deprecated

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

Deprecated: Use Instance.ProtoReflect.Descriptor instead.

func (*Instance) GetCreatedAt

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

func (*Instance) GetFinishedAt

func (x *Instance) GetFinishedAt() *timestamppb.Timestamp

func (*Instance) GetImageId

func (x *Instance) GetImageId() string

func (*Instance) GetInstanceId

func (x *Instance) GetInstanceId() string

func (*Instance) GetMessage

func (x *Instance) GetMessage() string

func (*Instance) GetRestartCount

func (x *Instance) GetRestartCount() uint32

func (*Instance) GetRolloutId

func (x *Instance) GetRolloutId() uint64

func (*Instance) GetStartedAt

func (x *Instance) GetStartedAt() *timestamppb.Timestamp

func (*Instance) GetState

func (x *Instance) GetState() State

func (*Instance) ProtoMessage

func (*Instance) ProtoMessage()

func (*Instance) ProtoReflect

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

func (*Instance) Reset

func (x *Instance) Reset()

func (*Instance) String

func (x *Instance) String() string

type InstanceMetric

type InstanceMetric struct {

	// Name of the metric
	MetricName string `protobuf:"bytes,1,opt,name=metric_name,json=metricName,proto3" json:"metric_name,omitempty"`
	// Labels of the instances to match.
	MatchLabels map[string]string `` /* 182-byte string literal not displayed */
	// Average value target.
	AverageValue string `protobuf:"bytes,3,opt,name=average_value,json=averageValue,proto3" json:"average_value,omitempty"`
	// contains filtered or unexported fields
}

Metric emitted by instances / pods.

func (*InstanceMetric) Descriptor deprecated

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

Deprecated: Use InstanceMetric.ProtoReflect.Descriptor instead.

func (*InstanceMetric) GetAverageValue

func (x *InstanceMetric) GetAverageValue() string

func (*InstanceMetric) GetMatchLabels

func (x *InstanceMetric) GetMatchLabels() map[string]string

func (*InstanceMetric) GetMetricName

func (x *InstanceMetric) GetMetricName() string

func (*InstanceMetric) ProtoMessage

func (*InstanceMetric) ProtoMessage()

func (*InstanceMetric) ProtoReflect

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

func (*InstanceMetric) Reset

func (x *InstanceMetric) Reset()

func (*InstanceMetric) String

func (x *InstanceMetric) String() string

type InstanceReady

type InstanceReady struct {
	Message    string            `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	Timestamps *StatusTimestamps `protobuf:"bytes,2,opt,name=timestamps,proto3" json:"timestamps,omitempty"`
	// contains filtered or unexported fields
}

func (*InstanceReady) Descriptor deprecated

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

Deprecated: Use InstanceReady.ProtoReflect.Descriptor instead.

func (*InstanceReady) GetMessage

func (x *InstanceReady) GetMessage() string

func (*InstanceReady) GetTimestamps

func (x *InstanceReady) GetTimestamps() *StatusTimestamps

func (*InstanceReady) ProtoMessage

func (*InstanceReady) ProtoMessage()

func (*InstanceReady) ProtoReflect

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

func (*InstanceReady) Reset

func (x *InstanceReady) Reset()

func (*InstanceReady) String

func (x *InstanceReady) String() string

type InstanceStatus

type InstanceStatus struct {
	Message    string                `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	Timestamps *StatusTimestamps     `protobuf:"bytes,2,opt,name=timestamps,proto3" json:"timestamps,omitempty"`
	Data       *InstanceStatusData   `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	Stages     *InstanceStatusStages `protobuf:"bytes,4,opt,name=stages,proto3" json:"stages,omitempty"`
	// contains filtered or unexported fields
}

func (*InstanceStatus) Descriptor deprecated

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

Deprecated: Use InstanceStatus.ProtoReflect.Descriptor instead.

func (*InstanceStatus) GetData

func (x *InstanceStatus) GetData() *InstanceStatusData

func (*InstanceStatus) GetMessage

func (x *InstanceStatus) GetMessage() string

func (*InstanceStatus) GetStages

func (x *InstanceStatus) GetStages() *InstanceStatusStages

func (*InstanceStatus) GetTimestamps

func (x *InstanceStatus) GetTimestamps() *StatusTimestamps

func (*InstanceStatus) ProtoMessage

func (*InstanceStatus) ProtoMessage()

func (*InstanceStatus) ProtoReflect

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

func (*InstanceStatus) Reset

func (x *InstanceStatus) Reset()

func (*InstanceStatus) String

func (x *InstanceStatus) String() string

type InstanceStatusData

type InstanceStatusData struct {
	InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
	RolloutId  uint64 `protobuf:"varint,2,opt,name=rollout_id,json=rolloutId,proto3" json:"rollout_id,omitempty"`
	ImageName  string `protobuf:"bytes,3,opt,name=image_name,json=imageName,proto3" json:"image_name,omitempty"`
	Node       string `protobuf:"bytes,4,opt,name=node,proto3" json:"node,omitempty"`
	// contains filtered or unexported fields
}

func (*InstanceStatusData) Descriptor deprecated

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

Deprecated: Use InstanceStatusData.ProtoReflect.Descriptor instead.

func (*InstanceStatusData) GetImageName

func (x *InstanceStatusData) GetImageName() string

func (*InstanceStatusData) GetInstanceId

func (x *InstanceStatusData) GetInstanceId() string

func (*InstanceStatusData) GetNode

func (x *InstanceStatusData) GetNode() string

func (*InstanceStatusData) GetRolloutId

func (x *InstanceStatusData) GetRolloutId() uint64

func (*InstanceStatusData) ProtoMessage

func (*InstanceStatusData) ProtoMessage()

func (*InstanceStatusData) ProtoReflect

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

func (*InstanceStatusData) Reset

func (x *InstanceStatusData) Reset()

func (*InstanceStatusData) String

func (x *InstanceStatusData) String() string

type InstanceStatusPreparing

type InstanceStatusPreparing struct {
	Message    string                         `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	Timestamps *StatusTimestamps              `protobuf:"bytes,2,opt,name=timestamps,proto3" json:"timestamps,omitempty"`
	Stages     *InstanceStatusPreparingStages `protobuf:"bytes,3,opt,name=stages,proto3" json:"stages,omitempty"`
	// contains filtered or unexported fields
}

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

func (*InstanceStatusPreparing) Descriptor deprecated

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

Deprecated: Use InstanceStatusPreparing.ProtoReflect.Descriptor instead.

func (*InstanceStatusPreparing) GetMessage

func (x *InstanceStatusPreparing) GetMessage() string

func (*InstanceStatusPreparing) GetStages

func (*InstanceStatusPreparing) GetTimestamps

func (x *InstanceStatusPreparing) GetTimestamps() *StatusTimestamps

func (*InstanceStatusPreparing) ProtoMessage

func (*InstanceStatusPreparing) ProtoMessage()

func (*InstanceStatusPreparing) ProtoReflect

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

func (*InstanceStatusPreparing) Reset

func (x *InstanceStatusPreparing) Reset()

func (*InstanceStatusPreparing) String

func (x *InstanceStatusPreparing) String() string

type InstanceStatusPreparingStages

type InstanceStatusPreparingStages struct {
	Pulling *ImagePulling `protobuf:"bytes,1,opt,name=pulling,proto3" json:"pulling,omitempty"`
	// contains filtered or unexported fields
}

func (*InstanceStatusPreparingStages) Descriptor deprecated

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

Deprecated: Use InstanceStatusPreparingStages.ProtoReflect.Descriptor instead.

func (*InstanceStatusPreparingStages) GetPulling

func (*InstanceStatusPreparingStages) ProtoMessage

func (*InstanceStatusPreparingStages) ProtoMessage()

func (*InstanceStatusPreparingStages) ProtoReflect

func (*InstanceStatusPreparingStages) Reset

func (x *InstanceStatusPreparingStages) Reset()

func (*InstanceStatusPreparingStages) String

type InstanceStatusRunning

type InstanceStatusRunning struct {
	Message    string                       `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	Timestamps *StatusTimestamps            `protobuf:"bytes,2,opt,name=timestamps,proto3" json:"timestamps,omitempty"`
	Stages     *InstanceStatusRunningStages `protobuf:"bytes,3,opt,name=stages,proto3" json:"stages,omitempty"`
	Data       *InstanceStatusRunningData   `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

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

func (*InstanceStatusRunning) Descriptor deprecated

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

Deprecated: Use InstanceStatusRunning.ProtoReflect.Descriptor instead.

func (*InstanceStatusRunning) GetData

func (*InstanceStatusRunning) GetMessage

func (x *InstanceStatusRunning) GetMessage() string

func (*InstanceStatusRunning) GetStages

func (*InstanceStatusRunning) GetTimestamps

func (x *InstanceStatusRunning) GetTimestamps() *StatusTimestamps

func (*InstanceStatusRunning) ProtoMessage

func (*InstanceStatusRunning) ProtoMessage()

func (*InstanceStatusRunning) ProtoReflect

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

func (*InstanceStatusRunning) Reset

func (x *InstanceStatusRunning) Reset()

func (*InstanceStatusRunning) String

func (x *InstanceStatusRunning) String() string

type InstanceStatusRunningData

type InstanceStatusRunningData struct {
	Restarts uint32 `protobuf:"varint,1,opt,name=restarts,proto3" json:"restarts,omitempty"`
	// contains filtered or unexported fields
}

func (*InstanceStatusRunningData) Descriptor deprecated

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

Deprecated: Use InstanceStatusRunningData.ProtoReflect.Descriptor instead.

func (*InstanceStatusRunningData) GetRestarts

func (x *InstanceStatusRunningData) GetRestarts() uint32

func (*InstanceStatusRunningData) ProtoMessage

func (*InstanceStatusRunningData) ProtoMessage()

func (*InstanceStatusRunningData) ProtoReflect

func (*InstanceStatusRunningData) Reset

func (x *InstanceStatusRunningData) Reset()

func (*InstanceStatusRunningData) String

func (x *InstanceStatusRunningData) String() string

type InstanceStatusRunningStages

type InstanceStatusRunningStages struct {
	CrashLoopBackoff *CrashLoopBackoff `protobuf:"bytes,1,opt,name=crash_loop_backoff,json=crashLoopBackoff,proto3" json:"crash_loop_backoff,omitempty"`
	Ready            *Ready            `protobuf:"bytes,2,opt,name=ready,proto3" json:"ready,omitempty"`
	Running          *Running          `protobuf:"bytes,3,opt,name=running,proto3" json:"running,omitempty"`
	// contains filtered or unexported fields
}

func (*InstanceStatusRunningStages) Descriptor deprecated

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

Deprecated: Use InstanceStatusRunningStages.ProtoReflect.Descriptor instead.

func (*InstanceStatusRunningStages) GetCrashLoopBackoff

func (x *InstanceStatusRunningStages) GetCrashLoopBackoff() *CrashLoopBackoff

func (*InstanceStatusRunningStages) GetReady

func (x *InstanceStatusRunningStages) GetReady() *Ready

func (*InstanceStatusRunningStages) GetRunning

func (x *InstanceStatusRunningStages) GetRunning() *Running

func (*InstanceStatusRunningStages) ProtoMessage

func (*InstanceStatusRunningStages) ProtoMessage()

func (*InstanceStatusRunningStages) ProtoReflect

func (*InstanceStatusRunningStages) Reset

func (x *InstanceStatusRunningStages) Reset()

func (*InstanceStatusRunningStages) String

func (x *InstanceStatusRunningStages) String() string

type InstanceStatusScheduling

type InstanceStatusScheduling struct {
	Message    string                          `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	Timestamps *StatusTimestamps               `protobuf:"bytes,2,opt,name=timestamps,proto3" json:"timestamps,omitempty"`
	Stages     *InstanceStatusSchedulingStages `protobuf:"bytes,3,opt,name=stages,proto3" json:"stages,omitempty"`
	// contains filtered or unexported fields
}

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

func (*InstanceStatusScheduling) Descriptor deprecated

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

Deprecated: Use InstanceStatusScheduling.ProtoReflect.Descriptor instead.

func (*InstanceStatusScheduling) GetMessage

func (x *InstanceStatusScheduling) GetMessage() string

func (*InstanceStatusScheduling) GetStages

func (*InstanceStatusScheduling) GetTimestamps

func (x *InstanceStatusScheduling) GetTimestamps() *StatusTimestamps

func (*InstanceStatusScheduling) ProtoMessage

func (*InstanceStatusScheduling) ProtoMessage()

func (*InstanceStatusScheduling) ProtoReflect

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

func (*InstanceStatusScheduling) Reset

func (x *InstanceStatusScheduling) Reset()

func (*InstanceStatusScheduling) String

func (x *InstanceStatusScheduling) String() string

type InstanceStatusSchedulingStages

type InstanceStatusSchedulingStages struct {
	CurrentlyUnscheduleable *CurrentlyUnscheduleable `` /* 130-byte string literal not displayed */
	Done                    *DoneScheduling          `protobuf:"bytes,2,opt,name=done,proto3" json:"done,omitempty"`
	// contains filtered or unexported fields
}

func (*InstanceStatusSchedulingStages) Descriptor deprecated

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

Deprecated: Use InstanceStatusSchedulingStages.ProtoReflect.Descriptor instead.

func (*InstanceStatusSchedulingStages) GetCurrentlyUnscheduleable

func (x *InstanceStatusSchedulingStages) GetCurrentlyUnscheduleable() *CurrentlyUnscheduleable

func (*InstanceStatusSchedulingStages) GetDone

func (*InstanceStatusSchedulingStages) ProtoMessage

func (*InstanceStatusSchedulingStages) ProtoMessage()

func (*InstanceStatusSchedulingStages) ProtoReflect

func (*InstanceStatusSchedulingStages) Reset

func (x *InstanceStatusSchedulingStages) Reset()

func (*InstanceStatusSchedulingStages) String

type InstanceStatusStages

type InstanceStatusStages struct {
	Schedule  *InstanceStatusScheduling `protobuf:"bytes,1,opt,name=schedule,proto3" json:"schedule,omitempty"`
	Preparing *InstanceStatusPreparing  `protobuf:"bytes,2,opt,name=preparing,proto3" json:"preparing,omitempty"`
	Running   *InstanceStatusRunning    `protobuf:"bytes,3,opt,name=running,proto3" json:"running,omitempty"`
	// contains filtered or unexported fields
}

func (*InstanceStatusStages) Descriptor deprecated

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

Deprecated: Use InstanceStatusStages.ProtoReflect.Descriptor instead.

func (*InstanceStatusStages) GetPreparing

func (x *InstanceStatusStages) GetPreparing() *InstanceStatusPreparing

func (*InstanceStatusStages) GetRunning

func (*InstanceStatusStages) GetSchedule

func (*InstanceStatusStages) ProtoMessage

func (*InstanceStatusStages) ProtoMessage()

func (*InstanceStatusStages) ProtoReflect

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

func (*InstanceStatusStages) Reset

func (x *InstanceStatusStages) Reset()

func (*InstanceStatusStages) String

func (x *InstanceStatusStages) String() string

type InstancesStatus

type InstancesStatus struct {

	// The number of updated instances.
	NumUpgrading uint32 `protobuf:"varint,1,opt,name=num_upgrading,json=numUpgrading,proto3" json:"num_upgrading,omitempty"`
	// The number of ready instances.
	NumReady uint32 `protobuf:"varint,2,opt,name=num_ready,json=numReady,proto3" json:"num_ready,omitempty"`
	// The number of stuck instances.
	NumStuck uint32 `protobuf:"varint,3,opt,name=num_stuck,json=numStuck,proto3" json:"num_stuck,omitempty"`
	// The number of instances with the wrong version.
	NumWrongVersion uint32 `protobuf:"varint,4,opt,name=num_wrong_version,json=numWrongVersion,proto3" json:"num_wrong_version,omitempty"`
	// contains filtered or unexported fields
}

func (*InstancesStatus) Descriptor deprecated

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

Deprecated: Use InstancesStatus.ProtoReflect.Descriptor instead.

func (*InstancesStatus) GetNumReady

func (x *InstancesStatus) GetNumReady() uint32

func (*InstancesStatus) GetNumStuck

func (x *InstancesStatus) GetNumStuck() uint32

func (*InstancesStatus) GetNumUpgrading

func (x *InstancesStatus) GetNumUpgrading() uint32

func (*InstancesStatus) GetNumWrongVersion

func (x *InstancesStatus) GetNumWrongVersion() uint32

func (*InstancesStatus) ProtoMessage

func (*InstancesStatus) ProtoMessage()

func (*InstancesStatus) ProtoReflect

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

func (*InstancesStatus) Reset

func (x *InstancesStatus) Reset()

func (*InstancesStatus) String

func (x *InstancesStatus) String() string

type Interface

type Interface struct {

	// Port of the interface.
	Port uint32 `protobuf:"varint,1,opt,name=port,proto3" json:"port,omitempty"`
	// Name of the interface.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// If public interface is enabled. Contains ingress or load balancer settings.
	Public *PublicInterface `protobuf:"bytes,4,opt,name=public,proto3" json:"public,omitempty"`
	// Liveness probe.
	Liveness *InterfaceProbe `protobuf:"bytes,7,opt,name=liveness,proto3" json:"liveness,omitempty"`
	// Readiness probe.
	Readiness *InterfaceProbe `protobuf:"bytes,8,opt,name=readiness,proto3" json:"readiness,omitempty"`
	// Routes for the network interface.
	Routes []*HostRoute `protobuf:"bytes,9,rep,name=routes,proto3" json:"routes,omitempty"`
	// contains filtered or unexported fields
}

A single network interface.

func (*Interface) Descriptor deprecated

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

Deprecated: Use Interface.ProtoReflect.Descriptor instead.

func (*Interface) GetLiveness

func (x *Interface) GetLiveness() *InterfaceProbe

func (*Interface) GetName

func (x *Interface) GetName() string

func (*Interface) GetPort

func (x *Interface) GetPort() uint32

func (*Interface) GetPublic

func (x *Interface) GetPublic() *PublicInterface

func (*Interface) GetReadiness

func (x *Interface) GetReadiness() *InterfaceProbe

func (*Interface) GetRoutes

func (x *Interface) GetRoutes() []*HostRoute

func (*Interface) ProtoMessage

func (*Interface) ProtoMessage()

func (*Interface) ProtoReflect

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

func (*Interface) Reset

func (x *Interface) Reset()

func (*Interface) String

func (x *Interface) String() string

type InterfaceProbe

type InterfaceProbe struct {

	// Type of the proble.
	//
	// Types that are assignable to Kind:
	//
	//	*InterfaceProbe_Http
	//	*InterfaceProbe_Tcp
	//	*InterfaceProbe_Grpc
	Kind isInterfaceProbe_Kind `protobuf_oneof:"kind"`
	// contains filtered or unexported fields
}

Probe for liveness or readiness.

func (*InterfaceProbe) Descriptor deprecated

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

Deprecated: Use InterfaceProbe.ProtoReflect.Descriptor instead.

func (*InterfaceProbe) GetGrpc

func (x *InterfaceProbe) GetGrpc() *InterfaceProbe_GRPC

func (*InterfaceProbe) GetHttp

func (x *InterfaceProbe) GetHttp() *InterfaceProbe_HTTP

func (*InterfaceProbe) GetKind

func (m *InterfaceProbe) GetKind() isInterfaceProbe_Kind

func (*InterfaceProbe) GetTcp

func (x *InterfaceProbe) GetTcp() *InterfaceProbe_TCP

func (*InterfaceProbe) ProtoMessage

func (*InterfaceProbe) ProtoMessage()

func (*InterfaceProbe) ProtoReflect

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

func (*InterfaceProbe) Reset

func (x *InterfaceProbe) Reset()

func (*InterfaceProbe) String

func (x *InterfaceProbe) String() string

type InterfaceProbe_GRPC

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

GRPC service for the probe.

func (*InterfaceProbe_GRPC) Descriptor deprecated

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

Deprecated: Use InterfaceProbe_GRPC.ProtoReflect.Descriptor instead.

func (*InterfaceProbe_GRPC) GetService

func (x *InterfaceProbe_GRPC) GetService() string

func (*InterfaceProbe_GRPC) ProtoMessage

func (*InterfaceProbe_GRPC) ProtoMessage()

func (*InterfaceProbe_GRPC) ProtoReflect

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

func (*InterfaceProbe_GRPC) Reset

func (x *InterfaceProbe_GRPC) Reset()

func (*InterfaceProbe_GRPC) String

func (x *InterfaceProbe_GRPC) String() string

type InterfaceProbe_Grpc

type InterfaceProbe_Grpc struct {
	Grpc *InterfaceProbe_GRPC `protobuf:"bytes,3,opt,name=grpc,proto3,oneof"`
}

type InterfaceProbe_HTTP

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

HTTP path for the probe.

func (*InterfaceProbe_HTTP) Descriptor deprecated

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

Deprecated: Use InterfaceProbe_HTTP.ProtoReflect.Descriptor instead.

func (*InterfaceProbe_HTTP) GetPath

func (x *InterfaceProbe_HTTP) GetPath() string

func (*InterfaceProbe_HTTP) ProtoMessage

func (*InterfaceProbe_HTTP) ProtoMessage()

func (*InterfaceProbe_HTTP) ProtoReflect

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

func (*InterfaceProbe_HTTP) Reset

func (x *InterfaceProbe_HTTP) Reset()

func (*InterfaceProbe_HTTP) String

func (x *InterfaceProbe_HTTP) String() string

type InterfaceProbe_Http

type InterfaceProbe_Http struct {
	Http *InterfaceProbe_HTTP `protobuf:"bytes,1,opt,name=http,proto3,oneof"`
}

type InterfaceProbe_TCP

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

IF TCP probe.

func (*InterfaceProbe_TCP) Descriptor deprecated

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

Deprecated: Use InterfaceProbe_TCP.ProtoReflect.Descriptor instead.

func (*InterfaceProbe_TCP) ProtoMessage

func (*InterfaceProbe_TCP) ProtoMessage()

func (*InterfaceProbe_TCP) ProtoReflect

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

func (*InterfaceProbe_TCP) Reset

func (x *InterfaceProbe_TCP) Reset()

func (*InterfaceProbe_TCP) String

func (x *InterfaceProbe_TCP) String() string

type InterfaceProbe_Tcp

type InterfaceProbe_Tcp struct {
	Tcp *InterfaceProbe_TCP `protobuf:"bytes,2,opt,name=tcp,proto3,oneof"`
}

type InterfaceStatus

type InterfaceStatus struct {
	Name       string                   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Port       uint32                   `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"`
	Routes     []*InterfaceStatus_Route `protobuf:"bytes,3,rep,name=routes,proto3" json:"routes,omitempty"`
	Status     []*pipeline.ObjectStatus `protobuf:"bytes,4,rep,name=status,proto3" json:"status,omitempty"`
	Transition Transition               `protobuf:"varint,5,opt,name=transition,proto3,enum=api.v1.capsule.Transition" json:"transition,omitempty"`
	// contains filtered or unexported fields
}

func (*InterfaceStatus) Descriptor deprecated

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

Deprecated: Use InterfaceStatus.ProtoReflect.Descriptor instead.

func (*InterfaceStatus) GetName

func (x *InterfaceStatus) GetName() string

func (*InterfaceStatus) GetPort

func (x *InterfaceStatus) GetPort() uint32

func (*InterfaceStatus) GetRoutes

func (x *InterfaceStatus) GetRoutes() []*InterfaceStatus_Route

func (*InterfaceStatus) GetStatus

func (x *InterfaceStatus) GetStatus() []*pipeline.ObjectStatus

func (*InterfaceStatus) GetTransition

func (x *InterfaceStatus) GetTransition() Transition

func (*InterfaceStatus) ProtoMessage

func (*InterfaceStatus) ProtoMessage()

func (*InterfaceStatus) ProtoReflect

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

func (*InterfaceStatus) Reset

func (x *InterfaceStatus) Reset()

func (*InterfaceStatus) String

func (x *InterfaceStatus) String() string

type InterfaceStatus_Route

type InterfaceStatus_Route struct {
	Route      *HostRoute               `protobuf:"bytes,1,opt,name=route,proto3" json:"route,omitempty"`
	Status     []*pipeline.ObjectStatus `protobuf:"bytes,2,rep,name=status,proto3" json:"status,omitempty"`
	Transition Transition               `protobuf:"varint,3,opt,name=transition,proto3,enum=api.v1.capsule.Transition" json:"transition,omitempty"`
	// contains filtered or unexported fields
}

func (*InterfaceStatus_Route) Descriptor deprecated

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

Deprecated: Use InterfaceStatus_Route.ProtoReflect.Descriptor instead.

func (*InterfaceStatus_Route) GetRoute

func (x *InterfaceStatus_Route) GetRoute() *HostRoute

func (*InterfaceStatus_Route) GetStatus

func (x *InterfaceStatus_Route) GetStatus() []*pipeline.ObjectStatus

func (*InterfaceStatus_Route) GetTransition

func (x *InterfaceStatus_Route) GetTransition() Transition

func (*InterfaceStatus_Route) ProtoMessage

func (*InterfaceStatus_Route) ProtoMessage()

func (*InterfaceStatus_Route) ProtoReflect

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

func (*InterfaceStatus_Route) Reset

func (x *InterfaceStatus_Route) Reset()

func (*InterfaceStatus_Route) String

func (x *InterfaceStatus_Route) String() string

type JobCommand

type JobCommand struct {

	// Command to run.
	Command string `protobuf:"bytes,1,opt,name=command,proto3" json:"command,omitempty"`
	// Arguments to pass to the command.
	Args []string `protobuf:"bytes,2,rep,name=args,proto3" json:"args,omitempty"`
	// contains filtered or unexported fields
}

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

func (*JobCommand) Descriptor deprecated

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

Deprecated: Use JobCommand.ProtoReflect.Descriptor instead.

func (*JobCommand) GetArgs

func (x *JobCommand) GetArgs() []string

func (*JobCommand) GetCommand

func (x *JobCommand) GetCommand() string

func (*JobCommand) ProtoMessage

func (*JobCommand) ProtoMessage()

func (*JobCommand) ProtoReflect

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

func (*JobCommand) Reset

func (x *JobCommand) Reset()

func (*JobCommand) String

func (x *JobCommand) String() string

type JobExecution

type JobExecution struct {

	// Name of the job.
	JobName string `protobuf:"bytes,1,opt,name=job_name,json=jobName,proto3" json:"job_name,omitempty"`
	// When the job started running.
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// When the job finished.
	FinishedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=finished_at,json=finishedAt,proto3" json:"finished_at,omitempty"`
	// The state of the job.
	State JobState `protobuf:"varint,4,opt,name=state,proto3,enum=api.v1.capsule.JobState" json:"state,omitempty"`
	// Number of retries.
	Retries int32 `protobuf:"varint,5,opt,name=retries,proto3" json:"retries,omitempty"`
	// ID of the rollout.
	RolloutId uint64 `protobuf:"varint,6,opt,name=rollout_id,json=rolloutId,proto3" json:"rollout_id,omitempty"`
	// ID of the capsule.
	CapsuleId string `protobuf:"bytes,7,opt,name=capsule_id,json=capsuleId,proto3" json:"capsule_id,omitempty"`
	// ID of the project.
	ProjectId string `protobuf:"bytes,8,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// ID of the execution.
	ExecutionId string `protobuf:"bytes,9,opt,name=execution_id,json=executionId,proto3" json:"execution_id,omitempty"`
	// ID of the environment.
	EnvironmentId string `protobuf:"bytes,10,opt,name=environment_id,json=environmentId,proto3" json:"environment_id,omitempty"`
	// contains filtered or unexported fields
}

An execution of a cron job.

func (*JobExecution) Descriptor deprecated

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

Deprecated: Use JobExecution.ProtoReflect.Descriptor instead.

func (*JobExecution) GetCapsuleId

func (x *JobExecution) GetCapsuleId() string

func (*JobExecution) GetCreatedAt

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

func (*JobExecution) GetEnvironmentId

func (x *JobExecution) GetEnvironmentId() string

func (*JobExecution) GetExecutionId

func (x *JobExecution) GetExecutionId() string

func (*JobExecution) GetFinishedAt

func (x *JobExecution) GetFinishedAt() *timestamppb.Timestamp

func (*JobExecution) GetJobName

func (x *JobExecution) GetJobName() string

func (*JobExecution) GetProjectId

func (x *JobExecution) GetProjectId() string

func (*JobExecution) GetRetries

func (x *JobExecution) GetRetries() int32

func (*JobExecution) GetRolloutId

func (x *JobExecution) GetRolloutId() uint64

func (*JobExecution) GetState

func (x *JobExecution) GetState() JobState

func (*JobExecution) ProtoMessage

func (*JobExecution) ProtoMessage()

func (*JobExecution) ProtoReflect

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

func (*JobExecution) Reset

func (x *JobExecution) Reset()

func (*JobExecution) String

func (x *JobExecution) String() string

type JobState

type JobState int32

Different states a job execution can be in

const (
	// Default value.
	JobState_JOB_STATE_UNSPECIFIED JobState = 0
	// The job is running.
	JobState_JOB_STATE_ONGOING JobState = 1
	// The job completed successfully.
	JobState_JOB_STATE_COMPLETED JobState = 2
	// The job failed.
	JobState_JOB_STATE_FAILED JobState = 3
	// The job was terminated.
	JobState_JOB_STATE_TERMINATED JobState = 4
)

func (JobState) Descriptor

func (JobState) Descriptor() protoreflect.EnumDescriptor

func (JobState) Enum

func (x JobState) Enum() *JobState

func (JobState) EnumDescriptor deprecated

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

Deprecated: Use JobState.Descriptor instead.

func (JobState) Number

func (x JobState) Number() protoreflect.EnumNumber

func (JobState) String

func (x JobState) String() string

func (JobState) Type

type JobURL

type JobURL struct {

	// Port to make the request to.
	Port uint64 `protobuf:"varint,1,opt,name=port,proto3" json:"port,omitempty"`
	// Path to make the request to.
	Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
	// Query parameters to add to the request.
	QueryParameters map[string]string `` /* 194-byte string literal not displayed */
	// contains filtered or unexported fields
}

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

func (*JobURL) Descriptor deprecated

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

Deprecated: Use JobURL.ProtoReflect.Descriptor instead.

func (*JobURL) GetPath

func (x *JobURL) GetPath() string

func (*JobURL) GetPort

func (x *JobURL) GetPort() uint64

func (*JobURL) GetQueryParameters

func (x *JobURL) GetQueryParameters() map[string]string

func (*JobURL) ProtoMessage

func (*JobURL) ProtoMessage()

func (*JobURL) ProtoReflect

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

func (*JobURL) Reset

func (x *JobURL) Reset()

func (*JobURL) String

func (x *JobURL) String() string

type ListEventsRequest

type ListEventsRequest struct {

	// The capsule to list events for.
	CapsuleId string `protobuf:"bytes,1,opt,name=capsule_id,json=capsuleId,proto3" json:"capsule_id,omitempty"`
	// The rollout to list events for.
	RolloutId uint64 `protobuf:"varint,2,opt,name=rollout_id,json=rolloutId,proto3" json:"rollout_id,omitempty"`
	// Pagination options.
	Pagination *model.Pagination `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// The project in which the capsule lives.
	ProjectId string `protobuf:"bytes,4,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// The environment to list events for.
	EnvironmentId string `protobuf:"bytes,5,opt,name=environment_id,json=environmentId,proto3" json:"environment_id,omitempty"`
	// contains filtered or unexported fields
}

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

func (*ListEventsRequest) Descriptor deprecated

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

Deprecated: Use ListEventsRequest.ProtoReflect.Descriptor instead.

func (*ListEventsRequest) GetCapsuleId

func (x *ListEventsRequest) GetCapsuleId() string

func (*ListEventsRequest) GetEnvironmentId

func (x *ListEventsRequest) GetEnvironmentId() string

func (*ListEventsRequest) GetPagination

func (x *ListEventsRequest) GetPagination() *model.Pagination

func (*ListEventsRequest) GetProjectId

func (x *ListEventsRequest) GetProjectId() string

func (*ListEventsRequest) GetRolloutId

func (x *ListEventsRequest) GetRolloutId() uint64

func (*ListEventsRequest) ProtoMessage

func (*ListEventsRequest) ProtoMessage()

func (*ListEventsRequest) ProtoReflect

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

func (*ListEventsRequest) Reset

func (x *ListEventsRequest) Reset()

func (*ListEventsRequest) String

func (x *ListEventsRequest) String() string

type ListEventsResponse

type ListEventsResponse struct {

	// The events for a rollout in a capsule and environment for a given project.
	Events []*Event `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"`
	// Total number of events in the capsule for the given environment.
	Total uint64 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
	// contains filtered or unexported fields
}

Response to List Events

func (*ListEventsResponse) Descriptor deprecated

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

Deprecated: Use ListEventsResponse.ProtoReflect.Descriptor instead.

func (*ListEventsResponse) GetEvents

func (x *ListEventsResponse) GetEvents() []*Event

func (*ListEventsResponse) GetTotal

func (x *ListEventsResponse) GetTotal() uint64

func (*ListEventsResponse) ProtoMessage

func (*ListEventsResponse) ProtoMessage()

func (*ListEventsResponse) ProtoReflect

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

func (*ListEventsResponse) Reset

func (x *ListEventsResponse) Reset()

func (*ListEventsResponse) String

func (x *ListEventsResponse) String() string

type ListInstanceStatusesRequest

type ListInstanceStatusesRequest struct {

	// The capsule to get the instance statuses from.
	CapsuleId string `protobuf:"bytes,1,opt,name=capsule_id,json=capsuleId,proto3" json:"capsule_id,omitempty"`
	// Pagination options.
	Pagination *model.Pagination `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// The project in which the capsule is.
	ProjectId string `protobuf:"bytes,3,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// The environment to get the instance statuses from.
	EnvironmentId string `protobuf:"bytes,4,opt,name=environment_id,json=environmentId,proto3" json:"environment_id,omitempty"`
	// if true, deleted instances will be included in the response.
	IncludeDeleted bool `protobuf:"varint,5,opt,name=include_deleted,json=includeDeleted,proto3" json:"include_deleted,omitempty"`
	// if true, existing instances will be excluded from the response.
	ExcludeExisting bool `protobuf:"varint,6,opt,name=exclude_existing,json=excludeExisting,proto3" json:"exclude_existing,omitempty"`
	// contains filtered or unexported fields
}

List multiple instance statuses

func (*ListInstanceStatusesRequest) Descriptor deprecated

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

Deprecated: Use ListInstanceStatusesRequest.ProtoReflect.Descriptor instead.

func (*ListInstanceStatusesRequest) GetCapsuleId

func (x *ListInstanceStatusesRequest) GetCapsuleId() string

func (*ListInstanceStatusesRequest) GetEnvironmentId

func (x *ListInstanceStatusesRequest) GetEnvironmentId() string

func (*ListInstanceStatusesRequest) GetExcludeExisting

func (x *ListInstanceStatusesRequest) GetExcludeExisting() bool

func (*ListInstanceStatusesRequest) GetIncludeDeleted

func (x *ListInstanceStatusesRequest) GetIncludeDeleted() bool

func (*ListInstanceStatusesRequest) GetPagination

func (x *ListInstanceStatusesRequest) GetPagination() *model.Pagination

func (*ListInstanceStatusesRequest) GetProjectId

func (x *ListInstanceStatusesRequest) GetProjectId() string

func (*ListInstanceStatusesRequest) ProtoMessage

func (*ListInstanceStatusesRequest) ProtoMessage()

func (*ListInstanceStatusesRequest) ProtoReflect

func (*ListInstanceStatusesRequest) Reset

func (x *ListInstanceStatusesRequest) Reset()

func (*ListInstanceStatusesRequest) String

func (x *ListInstanceStatusesRequest) String() string

type ListInstanceStatusesResponse

type ListInstanceStatusesResponse struct {

	// The instance statuses.
	Instances []*instance.Status `protobuf:"bytes,1,rep,name=instances,proto3" json:"instances,omitempty"`
	// Total number of instances in the capsule for the given environment.
	Total uint64 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
	// contains filtered or unexported fields
}

Response for listing multiple instance statuses

func (*ListInstanceStatusesResponse) Descriptor deprecated

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

Deprecated: Use ListInstanceStatusesResponse.ProtoReflect.Descriptor instead.

func (*ListInstanceStatusesResponse) GetInstances

func (x *ListInstanceStatusesResponse) GetInstances() []*instance.Status

func (*ListInstanceStatusesResponse) GetTotal

func (x *ListInstanceStatusesResponse) GetTotal() uint64

func (*ListInstanceStatusesResponse) ProtoMessage

func (*ListInstanceStatusesResponse) ProtoMessage()

func (*ListInstanceStatusesResponse) ProtoReflect

func (*ListInstanceStatusesResponse) Reset

func (x *ListInstanceStatusesResponse) Reset()

func (*ListInstanceStatusesResponse) String

type ListInstancesRequest

type ListInstancesRequest struct {

	// Capsule to list instances from.
	CapsuleId string `protobuf:"bytes,1,opt,name=capsule_id,json=capsuleId,proto3" json:"capsule_id,omitempty"`
	// Pagination options.
	Pagination *model.Pagination `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// Project in which the capsule lives.
	ProjectId string `protobuf:"bytes,3,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// Environment to list instances from.
	EnvironmentId string `protobuf:"bytes,4,opt,name=environment_id,json=environmentId,proto3" json:"environment_id,omitempty"`
	// if true, deleted instances will be included in the response.
	IncludeDeleted bool `protobuf:"varint,5,opt,name=include_deleted,json=includeDeleted,proto3" json:"include_deleted,omitempty"`
	// if true, existing instances will be excluded from the response.
	ExcludeExisting bool `protobuf:"varint,6,opt,name=exclude_existing,json=excludeExisting,proto3" json:"exclude_existing,omitempty"`
	// contains filtered or unexported fields
}

List instances request.

func (*ListInstancesRequest) Descriptor deprecated

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

Deprecated: Use ListInstancesRequest.ProtoReflect.Descriptor instead.

func (*ListInstancesRequest) GetCapsuleId

func (x *ListInstancesRequest) GetCapsuleId() string

func (*ListInstancesRequest) GetEnvironmentId

func (x *ListInstancesRequest) GetEnvironmentId() string

func (*ListInstancesRequest) GetExcludeExisting

func (x *ListInstancesRequest) GetExcludeExisting() bool

func (*ListInstancesRequest) GetIncludeDeleted

func (x *ListInstancesRequest) GetIncludeDeleted() bool

func (*ListInstancesRequest) GetPagination

func (x *ListInstancesRequest) GetPagination() *model.Pagination

func (*ListInstancesRequest) GetProjectId

func (x *ListInstancesRequest) GetProjectId() string

func (*ListInstancesRequest) ProtoMessage

func (*ListInstancesRequest) ProtoMessage()

func (*ListInstancesRequest) ProtoReflect

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

func (*ListInstancesRequest) Reset

func (x *ListInstancesRequest) Reset()

func (*ListInstancesRequest) String

func (x *ListInstancesRequest) String() string

type ListInstancesResponse

type ListInstancesResponse struct {

	// The instances.
	Instances []*Instance `protobuf:"bytes,1,rep,name=instances,proto3" json:"instances,omitempty"`
	// Total number of instances in the capsule for the given environment.
	Total uint64 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
	// contains filtered or unexported fields
}

List instances response.

func (*ListInstancesResponse) Descriptor deprecated

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

Deprecated: Use ListInstancesResponse.ProtoReflect.Descriptor instead.

func (*ListInstancesResponse) GetInstances

func (x *ListInstancesResponse) GetInstances() []*Instance

func (*ListInstancesResponse) GetTotal

func (x *ListInstancesResponse) GetTotal() uint64

func (*ListInstancesResponse) ProtoMessage

func (*ListInstancesResponse) ProtoMessage()

func (*ListInstancesResponse) ProtoReflect

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

func (*ListInstancesResponse) Reset

func (x *ListInstancesResponse) Reset()

func (*ListInstancesResponse) String

func (x *ListInstancesResponse) String() string

type ListPipelineStatusesRequest

type ListPipelineStatusesRequest struct {
	Pagination *model.Pagination `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// Only include pipelines that are run in the given project.
	ProjectFilter string `protobuf:"bytes,2,opt,name=project_filter,json=projectFilter,proto3" json:"project_filter,omitempty"`
	// Only include pipelines that are run with the given capsule.
	CapsuleFilter string `protobuf:"bytes,3,opt,name=capsule_filter,json=capsuleFilter,proto3" json:"capsule_filter,omitempty"`
	// Only include pipelines that are in one of the given states.
	StatesFilter []pipeline.State `` /* 140-byte string literal not displayed */
	// Only include pipelines that have the given name.
	NameFilter string `protobuf:"bytes,5,opt,name=name_filter,json=nameFilter,proto3" json:"name_filter,omitempty"`
	// contains filtered or unexported fields
}

func (*ListPipelineStatusesRequest) Descriptor deprecated

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

Deprecated: Use ListPipelineStatusesRequest.ProtoReflect.Descriptor instead.

func (*ListPipelineStatusesRequest) GetCapsuleFilter

func (x *ListPipelineStatusesRequest) GetCapsuleFilter() string

func (*ListPipelineStatusesRequest) GetNameFilter

func (x *ListPipelineStatusesRequest) GetNameFilter() string

func (*ListPipelineStatusesRequest) GetPagination

func (x *ListPipelineStatusesRequest) GetPagination() *model.Pagination

func (*ListPipelineStatusesRequest) GetProjectFilter

func (x *ListPipelineStatusesRequest) GetProjectFilter() string

func (*ListPipelineStatusesRequest) GetStatesFilter

func (x *ListPipelineStatusesRequest) GetStatesFilter() []pipeline.State

func (*ListPipelineStatusesRequest) ProtoMessage

func (*ListPipelineStatusesRequest) ProtoMessage()

func (*ListPipelineStatusesRequest) ProtoReflect

func (*ListPipelineStatusesRequest) Reset

func (x *ListPipelineStatusesRequest) Reset()

func (*ListPipelineStatusesRequest) String

func (x *ListPipelineStatusesRequest) String() string

type ListPipelineStatusesResponse

type ListPipelineStatusesResponse struct {
	Statuses []*pipeline.Status `protobuf:"bytes,1,rep,name=statuses,proto3" json:"statuses,omitempty"`
	// contains filtered or unexported fields
}

func (*ListPipelineStatusesResponse) Descriptor deprecated

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

Deprecated: Use ListPipelineStatusesResponse.ProtoReflect.Descriptor instead.

func (*ListPipelineStatusesResponse) GetStatuses

func (x *ListPipelineStatusesResponse) GetStatuses() []*pipeline.Status

func (*ListPipelineStatusesResponse) ProtoMessage

func (*ListPipelineStatusesResponse) ProtoMessage()

func (*ListPipelineStatusesResponse) ProtoReflect

func (*ListPipelineStatusesResponse) Reset

func (x *ListPipelineStatusesResponse) Reset()

func (*ListPipelineStatusesResponse) String

type ListProposalsRequest

type ListProposalsRequest struct {
	ProjectId     string            `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	EnvironmentId string            `protobuf:"bytes,2,opt,name=environment_id,json=environmentId,proto3" json:"environment_id,omitempty"`
	CapsuleId     string            `protobuf:"bytes,3,opt,name=capsule_id,json=capsuleId,proto3" json:"capsule_id,omitempty"`
	Pagination    *model.Pagination `protobuf:"bytes,4,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

func (*ListProposalsRequest) Descriptor deprecated

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

Deprecated: Use ListProposalsRequest.ProtoReflect.Descriptor instead.

func (*ListProposalsRequest) GetCapsuleId

func (x *ListProposalsRequest) GetCapsuleId() string

func (*ListProposalsRequest) GetEnvironmentId

func (x *ListProposalsRequest) GetEnvironmentId() string

func (*ListProposalsRequest) GetPagination

func (x *ListProposalsRequest) GetPagination() *model.Pagination

func (*ListProposalsRequest) GetProjectId

func (x *ListProposalsRequest) GetProjectId() string

func (*ListProposalsRequest) ProtoMessage

func (*ListProposalsRequest) ProtoMessage()

func (*ListProposalsRequest) ProtoReflect

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

func (*ListProposalsRequest) Reset

func (x *ListProposalsRequest) Reset()

func (*ListProposalsRequest) String

func (x *ListProposalsRequest) String() string

type ListProposalsResponse

type ListProposalsResponse struct {
	Proposals []*Proposal `protobuf:"bytes,1,rep,name=proposals,proto3" json:"proposals,omitempty"`
	Total     uint64      `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
	// contains filtered or unexported fields
}

func (*ListProposalsResponse) Descriptor deprecated

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

Deprecated: Use ListProposalsResponse.ProtoReflect.Descriptor instead.

func (*ListProposalsResponse) GetProposals

func (x *ListProposalsResponse) GetProposals() []*Proposal

func (*ListProposalsResponse) GetTotal

func (x *ListProposalsResponse) GetTotal() uint64

func (*ListProposalsResponse) ProtoMessage

func (*ListProposalsResponse) ProtoMessage()

func (*ListProposalsResponse) ProtoReflect

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

func (*ListProposalsResponse) Reset

func (x *ListProposalsResponse) Reset()

func (*ListProposalsResponse) String

func (x *ListProposalsResponse) String() string

type ListRequest

type ListRequest struct {

	// Pagination options.
	Pagination *model.Pagination `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// Project in which to list capsules.
	ProjectId string `protobuf:"bytes,3,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// contains filtered or unexported fields
}

List capsule request.

func (*ListRequest) Descriptor deprecated

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

Deprecated: Use ListRequest.ProtoReflect.Descriptor instead.

func (*ListRequest) GetPagination

func (x *ListRequest) GetPagination() *model.Pagination

func (*ListRequest) GetProjectId

func (x *ListRequest) GetProjectId() string

func (*ListRequest) ProtoMessage

func (*ListRequest) ProtoMessage()

func (*ListRequest) ProtoReflect

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

func (*ListRequest) Reset

func (x *ListRequest) Reset()

func (*ListRequest) String

func (x *ListRequest) String() string

type ListResponse

type ListResponse struct {

	// The capsules.
	Capsules []*Capsule `protobuf:"bytes,1,rep,name=capsules,proto3" json:"capsules,omitempty"`
	// Total number of capsules in the project.
	Total uint64 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
	// contains filtered or unexported fields
}

List capsule response.

func (*ListResponse) Descriptor deprecated

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

Deprecated: Use ListResponse.ProtoReflect.Descriptor instead.

func (*ListResponse) GetCapsules

func (x *ListResponse) GetCapsules() []*Capsule

func (*ListResponse) GetTotal

func (x *ListResponse) GetTotal() uint64

func (*ListResponse) ProtoMessage

func (*ListResponse) ProtoMessage()

func (*ListResponse) ProtoReflect

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

func (*ListResponse) Reset

func (x *ListResponse) Reset()

func (*ListResponse) String

func (x *ListResponse) String() string

type ListRolloutsRequest

type ListRolloutsRequest struct {

	// The capsule to list rollouts for.
	CapsuleId string `protobuf:"bytes,1,opt,name=capsule_id,json=capsuleId,proto3" json:"capsule_id,omitempty"`
	// Pagination options.
	Pagination *model.Pagination `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// The project in which the capsule lives.
	ProjectId string `protobuf:"bytes,3,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// The environment to list rollouts for.
	EnvironmentId string `protobuf:"bytes,4,opt,name=environment_id,json=environmentId,proto3" json:"environment_id,omitempty"`
	// contains filtered or unexported fields
}

ListRolloutsRequest lists rollouts for a capsule.

func (*ListRolloutsRequest) Descriptor deprecated

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

Deprecated: Use ListRolloutsRequest.ProtoReflect.Descriptor instead.

func (*ListRolloutsRequest) GetCapsuleId

func (x *ListRolloutsRequest) GetCapsuleId() string

func (*ListRolloutsRequest) GetEnvironmentId

func (x *ListRolloutsRequest) GetEnvironmentId() string

func (*ListRolloutsRequest) GetPagination

func (x *ListRolloutsRequest) GetPagination() *model.Pagination

func (*ListRolloutsRequest) GetProjectId

func (x *ListRolloutsRequest) GetProjectId() string

func (*ListRolloutsRequest) ProtoMessage

func (*ListRolloutsRequest) ProtoMessage()

func (*ListRolloutsRequest) ProtoReflect

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

func (*ListRolloutsRequest) Reset

func (x *ListRolloutsRequest) Reset()

func (*ListRolloutsRequest) String

func (x *ListRolloutsRequest) String() string

type ListRolloutsResponse

type ListRolloutsResponse struct {

	// The rollouts.
	Rollouts []*Rollout `protobuf:"bytes,1,rep,name=rollouts,proto3" json:"rollouts,omitempty"`
	// Total number of rollouts in the capsule for the given environment.
	Total uint64 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
	// contains filtered or unexported fields
}

ListRolloutsResponse lists rollouts for a capsule and an environment.

func (*ListRolloutsResponse) Descriptor deprecated

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

Deprecated: Use ListRolloutsResponse.ProtoReflect.Descriptor instead.

func (*ListRolloutsResponse) GetRollouts

func (x *ListRolloutsResponse) GetRollouts() []*Rollout

func (*ListRolloutsResponse) GetTotal

func (x *ListRolloutsResponse) GetTotal() uint64

func (*ListRolloutsResponse) ProtoMessage

func (*ListRolloutsResponse) ProtoMessage()

func (*ListRolloutsResponse) ProtoReflect

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

func (*ListRolloutsResponse) Reset

func (x *ListRolloutsResponse) Reset()

func (*ListRolloutsResponse) String

func (x *ListRolloutsResponse) String() string

type ListSetProposalsRequest

type ListSetProposalsRequest struct {
	ProjectId  string            `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	CapsuleId  string            `protobuf:"bytes,2,opt,name=capsule_id,json=capsuleId,proto3" json:"capsule_id,omitempty"`
	Pagination *model.Pagination `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

func (*ListSetProposalsRequest) Descriptor deprecated

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

Deprecated: Use ListSetProposalsRequest.ProtoReflect.Descriptor instead.

func (*ListSetProposalsRequest) GetCapsuleId

func (x *ListSetProposalsRequest) GetCapsuleId() string

func (*ListSetProposalsRequest) GetPagination

func (x *ListSetProposalsRequest) GetPagination() *model.Pagination

func (*ListSetProposalsRequest) GetProjectId

func (x *ListSetProposalsRequest) GetProjectId() string

func (*ListSetProposalsRequest) ProtoMessage

func (*ListSetProposalsRequest) ProtoMessage()

func (*ListSetProposalsRequest) ProtoReflect

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

func (*ListSetProposalsRequest) Reset

func (x *ListSetProposalsRequest) Reset()

func (*ListSetProposalsRequest) String

func (x *ListSetProposalsRequest) String() string

type ListSetProposalsResponse

type ListSetProposalsResponse struct {
	Proposals []*SetProposal `protobuf:"bytes,1,rep,name=proposals,proto3" json:"proposals,omitempty"`
	Total     uint64         `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
	// contains filtered or unexported fields
}

func (*ListSetProposalsResponse) Descriptor deprecated

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

Deprecated: Use ListSetProposalsResponse.ProtoReflect.Descriptor instead.

func (*ListSetProposalsResponse) GetProposals

func (x *ListSetProposalsResponse) GetProposals() []*SetProposal

func (*ListSetProposalsResponse) GetTotal

func (x *ListSetProposalsResponse) GetTotal() uint64

func (*ListSetProposalsResponse) ProtoMessage

func (*ListSetProposalsResponse) ProtoMessage()

func (*ListSetProposalsResponse) ProtoReflect

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

func (*ListSetProposalsResponse) Reset

func (x *ListSetProposalsResponse) Reset()

func (*ListSetProposalsResponse) String

func (x *ListSetProposalsResponse) String() string

type Log

type Log struct {

	// Timestamp of the log
	Timestamp *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// Message of the log
	Message *LogMessage `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// Instance ID of the log
	InstanceId string `protobuf:"bytes,3,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
	// contains filtered or unexported fields
}

Log of an instance

func (*Log) Descriptor deprecated

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

Deprecated: Use Log.ProtoReflect.Descriptor instead.

func (*Log) GetInstanceId

func (x *Log) GetInstanceId() string

func (*Log) GetMessage

func (x *Log) GetMessage() *LogMessage

func (*Log) GetTimestamp

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

func (*Log) ProtoMessage

func (*Log) ProtoMessage()

func (*Log) ProtoReflect

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

func (*Log) Reset

func (x *Log) Reset()

func (*Log) String

func (x *Log) String() string

type LogMessage

type LogMessage struct {

	// Types that are assignable to Message:
	//
	//	*LogMessage_Stdout
	//	*LogMessage_Stderr
	//	*LogMessage_ContainerTermination_
	Message isLogMessage_Message `protobuf_oneof:"message"`
	// contains filtered or unexported fields
}

The actual log message

func (*LogMessage) Descriptor deprecated

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

Deprecated: Use LogMessage.ProtoReflect.Descriptor instead.

func (*LogMessage) GetContainerTermination

func (x *LogMessage) GetContainerTermination() *LogMessage_ContainerTermination

func (*LogMessage) GetMessage

func (m *LogMessage) GetMessage() isLogMessage_Message

func (*LogMessage) GetStderr

func (x *LogMessage) GetStderr() []byte

func (*LogMessage) GetStdout

func (x *LogMessage) GetStdout() []byte

func (*LogMessage) ProtoMessage

func (*LogMessage) ProtoMessage()

func (*LogMessage) ProtoReflect

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

func (*LogMessage) Reset

func (x *LogMessage) Reset()

func (*LogMessage) String

func (x *LogMessage) String() string

type LogMessage_ContainerTermination

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

func (*LogMessage_ContainerTermination) Descriptor deprecated

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

Deprecated: Use LogMessage_ContainerTermination.ProtoReflect.Descriptor instead.

func (*LogMessage_ContainerTermination) ProtoMessage

func (*LogMessage_ContainerTermination) ProtoMessage()

func (*LogMessage_ContainerTermination) ProtoReflect

func (*LogMessage_ContainerTermination) Reset

func (*LogMessage_ContainerTermination) String

type LogMessage_ContainerTermination_

type LogMessage_ContainerTermination_ struct {
	// Represents a termination event
	ContainerTermination *LogMessage_ContainerTermination `protobuf:"bytes,3,opt,name=container_termination,json=containerTermination,proto3,oneof"`
}

type LogMessage_Stderr

type LogMessage_Stderr struct {
	// If the log is stderr
	Stderr []byte `protobuf:"bytes,2,opt,name=stderr,proto3,oneof"`
}

type LogMessage_Stdout

type LogMessage_Stdout struct {
	// If the log is stdout
	Stdout []byte `protobuf:"bytes,1,opt,name=stdout,proto3,oneof"`
}

type LogsRequest

type LogsRequest struct {

	// The capsule to read logs from.
	CapsuleId string `protobuf:"bytes,1,opt,name=capsule_id,json=capsuleId,proto3" json:"capsule_id,omitempty"`
	// The instance in the capsule to read logs from.
	InstanceId string `protobuf:"bytes,2,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
	// If true, the request will stay open and stream new log messages.
	Follow bool `protobuf:"varint,3,opt,name=follow,proto3" json:"follow,omitempty"`
	// If set, will not show logs older than since.
	Since *durationpb.Duration `protobuf:"bytes,4,opt,name=since,proto3" json:"since,omitempty"`
	// The project in which the capsule is.
	ProjectId string `protobuf:"bytes,5,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// Environment to get logs from.
	EnvironmentId string `protobuf:"bytes,6,opt,name=environment_id,json=environmentId,proto3" json:"environment_id,omitempty"`
	// If true, include logs from previously terminated containers
	PreviousContainers bool `protobuf:"varint,7,opt,name=previous_containers,json=previousContainers,proto3" json:"previous_containers,omitempty"`
	// contains filtered or unexported fields
}

Request to get instance logs from a capsule.

func (*LogsRequest) Descriptor deprecated

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

Deprecated: Use LogsRequest.ProtoReflect.Descriptor instead.

func (*LogsRequest) GetCapsuleId

func (x *LogsRequest) GetCapsuleId() string

func (*LogsRequest) GetEnvironmentId

func (x *LogsRequest) GetEnvironmentId() string

func (*LogsRequest) GetFollow

func (x *LogsRequest) GetFollow() bool

func (*LogsRequest) GetInstanceId

func (x *LogsRequest) GetInstanceId() string

func (*LogsRequest) GetPreviousContainers

func (x *LogsRequest) GetPreviousContainers() bool

func (*LogsRequest) GetProjectId

func (x *LogsRequest) GetProjectId() string

func (*LogsRequest) GetSince

func (x *LogsRequest) GetSince() *durationpb.Duration

func (*LogsRequest) ProtoMessage

func (*LogsRequest) ProtoMessage()

func (*LogsRequest) ProtoReflect

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

func (*LogsRequest) Reset

func (x *LogsRequest) Reset()

func (*LogsRequest) String

func (x *LogsRequest) String() string

type LogsResponse

type LogsResponse struct {

	// The actual logs
	Log *Log `protobuf:"bytes,1,opt,name=log,proto3" json:"log,omitempty"`
	// contains filtered or unexported fields
}

The response of a capsule.Logs RPC

func (*LogsResponse) Descriptor deprecated

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

Deprecated: Use LogsResponse.ProtoReflect.Descriptor instead.

func (*LogsResponse) GetLog

func (x *LogsResponse) GetLog() *Log

func (*LogsResponse) ProtoMessage

func (*LogsResponse) ProtoMessage()

func (*LogsResponse) ProtoReflect

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

func (*LogsResponse) Reset

func (x *LogsResponse) Reset()

func (*LogsResponse) String

func (x *LogsResponse) String() string

type Network

type Network struct {

	// All the network interfaces.
	Interfaces []*Interface `protobuf:"bytes,1,rep,name=interfaces,proto3" json:"interfaces,omitempty"`
	// contains filtered or unexported fields
}

A network configuration of network interfaces.

func (*Network) Descriptor deprecated

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

Deprecated: Use Network.ProtoReflect.Descriptor instead.

func (*Network) GetInterfaces

func (x *Network) GetInterfaces() []*Interface

func (*Network) ProtoMessage

func (*Network) ProtoMessage()

func (*Network) ProtoReflect

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

func (*Network) Reset

func (x *Network) Reset()

func (*Network) String

func (x *Network) String() string

type NotReady

type NotReady struct {
	Message    string            `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	Timestamps *StatusTimestamps `protobuf:"bytes,2,opt,name=timestamps,proto3" json:"timestamps,omitempty"`
	// contains filtered or unexported fields
}

func (*NotReady) Descriptor deprecated

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

Deprecated: Use NotReady.ProtoReflect.Descriptor instead.

func (*NotReady) GetMessage

func (x *NotReady) GetMessage() string

func (*NotReady) GetTimestamps

func (x *NotReady) GetTimestamps() *StatusTimestamps

func (*NotReady) ProtoMessage

func (*NotReady) ProtoMessage()

func (*NotReady) ProtoReflect

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

func (*NotReady) Reset

func (x *NotReady) Reset()

func (*NotReady) String

func (x *NotReady) String() string

type ObjectMetric

type ObjectMetric struct {

	// Name of the metric.
	MetricName string `protobuf:"bytes,1,opt,name=metric_name,json=metricName,proto3" json:"metric_name,omitempty"`
	// Labels of the object to match.
	MatchLabels map[string]string `` /* 182-byte string literal not displayed */
	// Average value target.
	AverageValue string `protobuf:"bytes,3,opt,name=average_value,json=averageValue,proto3" json:"average_value,omitempty"`
	// Value target.
	Value string `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"`
	// Reference to the object.
	ObjectReference *model.ObjectReference `protobuf:"bytes,5,opt,name=object_reference,json=objectReference,proto3" json:"object_reference,omitempty"`
	// contains filtered or unexported fields
}

Metric emitted by kubernetes object.

func (*ObjectMetric) Descriptor deprecated

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

Deprecated: Use ObjectMetric.ProtoReflect.Descriptor instead.

func (*ObjectMetric) GetAverageValue

func (x *ObjectMetric) GetAverageValue() string

func (*ObjectMetric) GetMatchLabels

func (x *ObjectMetric) GetMatchLabels() map[string]string

func (*ObjectMetric) GetMetricName

func (x *ObjectMetric) GetMetricName() string

func (*ObjectMetric) GetObjectReference

func (x *ObjectMetric) GetObjectReference() *model.ObjectReference

func (*ObjectMetric) GetValue

func (x *ObjectMetric) GetValue() string

func (*ObjectMetric) ProtoMessage

func (*ObjectMetric) ProtoMessage()

func (*ObjectMetric) ProtoReflect

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

func (*ObjectMetric) Reset

func (x *ObjectMetric) Reset()

func (*ObjectMetric) String

func (x *ObjectMetric) String() string

type Origin

type Origin struct {

	// Types that are assignable to Kind:
	//
	//	*Origin_GitReference
	Kind isOrigin_Kind `protobuf_oneof:"kind"`
	// contains filtered or unexported fields
}

Where the image came from

func (*Origin) Descriptor deprecated

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

Deprecated: Use Origin.ProtoReflect.Descriptor instead.

func (*Origin) GetGitReference

func (x *Origin) GetGitReference() *GitReference

func (*Origin) GetKind

func (m *Origin) GetKind() isOrigin_Kind

func (*Origin) ProtoMessage

func (*Origin) ProtoMessage()

func (*Origin) ProtoReflect

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

func (*Origin) Reset

func (x *Origin) Reset()

func (*Origin) String

func (x *Origin) String() string

type Origin_GitReference

type Origin_GitReference struct {
	// The image came from a git repository
	GitReference *GitReference `protobuf:"bytes,1,opt,name=git_reference,json=gitReference,proto3,oneof"`
}

type PathMatchType

type PathMatchType int32
const (
	PathMatchType_PATH_MATCH_TYPE_UNSPECIFIED        PathMatchType = 0
	PathMatchType_PATH_MATCH_TYPE_PATH_PREFIX        PathMatchType = 1
	PathMatchType_PATH_MATCH_TYPE_EXACT              PathMatchType = 2
	PathMatchType_PATH_MATCH_TYPE_REGULAR_EXPRESSION PathMatchType = 3
)

func (PathMatchType) Descriptor

func (PathMatchType) Enum

func (x PathMatchType) Enum() *PathMatchType

func (PathMatchType) EnumDescriptor deprecated

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

Deprecated: Use PathMatchType.Descriptor instead.

func (PathMatchType) Number

func (PathMatchType) String

func (x PathMatchType) String() string

func (PathMatchType) Type

type PipelineDryRunOutput

type PipelineDryRunOutput struct {

	// Environment to promote to.
	EnvironmentId string `protobuf:"bytes,1,opt,name=environment_id,json=environmentId,proto3" json:"environment_id,omitempty"`
	// Breakdown of the changes that this deploy would make to the system.
	Outcome  *DeployOutcome `protobuf:"bytes,2,opt,name=outcome,proto3" json:"outcome,omitempty"`
	Revision *Revision      `protobuf:"bytes,3,opt,name=revision,proto3" json:"revision,omitempty"`
	// contains filtered or unexported fields
}

func (*PipelineDryRunOutput) Descriptor deprecated

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

Deprecated: Use PipelineDryRunOutput.ProtoReflect.Descriptor instead.

func (*PipelineDryRunOutput) GetEnvironmentId

func (x *PipelineDryRunOutput) GetEnvironmentId() string

func (*PipelineDryRunOutput) GetOutcome

func (x *PipelineDryRunOutput) GetOutcome() *DeployOutcome

func (*PipelineDryRunOutput) GetRevision

func (x *PipelineDryRunOutput) GetRevision() *Revision

func (*PipelineDryRunOutput) ProtoMessage

func (*PipelineDryRunOutput) ProtoMessage()

func (*PipelineDryRunOutput) ProtoReflect

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

func (*PipelineDryRunOutput) Reset

func (x *PipelineDryRunOutput) Reset()

func (*PipelineDryRunOutput) String

func (x *PipelineDryRunOutput) String() string

type PortForwardRequest

type PortForwardRequest struct {

	// Types that are assignable to Request:
	//
	//	*PortForwardRequest_Start_
	//	*PortForwardRequest_Data
	//	*PortForwardRequest_Close_
	Request isPortForwardRequest_Request `protobuf_oneof:"request"`
	// contains filtered or unexported fields
}

func (*PortForwardRequest) Descriptor deprecated

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

Deprecated: Use PortForwardRequest.ProtoReflect.Descriptor instead.

func (*PortForwardRequest) GetClose

func (*PortForwardRequest) GetData

func (x *PortForwardRequest) GetData() []byte

func (*PortForwardRequest) GetRequest

func (m *PortForwardRequest) GetRequest() isPortForwardRequest_Request

func (*PortForwardRequest) GetStart

func (*PortForwardRequest) ProtoMessage

func (*PortForwardRequest) ProtoMessage()

func (*PortForwardRequest) ProtoReflect

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

func (*PortForwardRequest) Reset

func (x *PortForwardRequest) Reset()

func (*PortForwardRequest) String

func (x *PortForwardRequest) String() string

type PortForwardRequest_Close

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

func (*PortForwardRequest_Close) Descriptor deprecated

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

Deprecated: Use PortForwardRequest_Close.ProtoReflect.Descriptor instead.

func (*PortForwardRequest_Close) ProtoMessage

func (*PortForwardRequest_Close) ProtoMessage()

func (*PortForwardRequest_Close) ProtoReflect

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

func (*PortForwardRequest_Close) Reset

func (x *PortForwardRequest_Close) Reset()

func (*PortForwardRequest_Close) String

func (x *PortForwardRequest_Close) String() string

type PortForwardRequest_Close_

type PortForwardRequest_Close_ struct {
	Close *PortForwardRequest_Close `protobuf:"bytes,3,opt,name=close,proto3,oneof"`
}

type PortForwardRequest_Data

type PortForwardRequest_Data struct {
	Data []byte `protobuf:"bytes,2,opt,name=data,proto3,oneof"`
}

type PortForwardRequest_Start

type PortForwardRequest_Start struct {

	// The project ID.
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// The environment ID.
	EnvironmentId string `protobuf:"bytes,2,opt,name=environment_id,json=environmentId,proto3" json:"environment_id,omitempty"`
	CapsuleId     string `protobuf:"bytes,3,opt,name=capsule_id,json=capsuleId,proto3" json:"capsule_id,omitempty"`
	InstanceId    string `protobuf:"bytes,4,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
	Port          uint32 `protobuf:"varint,5,opt,name=port,proto3" json:"port,omitempty"`
	// contains filtered or unexported fields
}

func (*PortForwardRequest_Start) Descriptor deprecated

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

Deprecated: Use PortForwardRequest_Start.ProtoReflect.Descriptor instead.

func (*PortForwardRequest_Start) GetCapsuleId

func (x *PortForwardRequest_Start) GetCapsuleId() string

func (*PortForwardRequest_Start) GetEnvironmentId

func (x *PortForwardRequest_Start) GetEnvironmentId() string

func (*PortForwardRequest_Start) GetInstanceId

func (x *PortForwardRequest_Start) GetInstanceId() string

func (*PortForwardRequest_Start) GetPort

func (x *PortForwardRequest_Start) GetPort() uint32

func (*PortForwardRequest_Start) GetProjectId

func (x *PortForwardRequest_Start) GetProjectId() string

func (*PortForwardRequest_Start) ProtoMessage

func (*PortForwardRequest_Start) ProtoMessage()

func (*PortForwardRequest_Start) ProtoReflect

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

func (*PortForwardRequest_Start) Reset

func (x *PortForwardRequest_Start) Reset()

func (*PortForwardRequest_Start) String

func (x *PortForwardRequest_Start) String() string

type PortForwardRequest_Start_

type PortForwardRequest_Start_ struct {
	Start *PortForwardRequest_Start `protobuf:"bytes,1,opt,name=start,proto3,oneof"`
}

type PortForwardResponse

type PortForwardResponse struct {

	// Types that are assignable to Response:
	//
	//	*PortForwardResponse_Data
	//	*PortForwardResponse_Close_
	Response isPortForwardResponse_Response `protobuf_oneof:"response"`
	// contains filtered or unexported fields
}

func (*PortForwardResponse) Descriptor deprecated

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

Deprecated: Use PortForwardResponse.ProtoReflect.Descriptor instead.

func (*PortForwardResponse) GetClose

func (*PortForwardResponse) GetData

func (x *PortForwardResponse) GetData() []byte

func (*PortForwardResponse) GetResponse

func (m *PortForwardResponse) GetResponse() isPortForwardResponse_Response

func (*PortForwardResponse) ProtoMessage

func (*PortForwardResponse) ProtoMessage()

func (*PortForwardResponse) ProtoReflect

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

func (*PortForwardResponse) Reset

func (x *PortForwardResponse) Reset()

func (*PortForwardResponse) String

func (x *PortForwardResponse) String() string

type PortForwardResponse_Close

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

func (*PortForwardResponse_Close) Descriptor deprecated

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

Deprecated: Use PortForwardResponse_Close.ProtoReflect.Descriptor instead.

func (*PortForwardResponse_Close) ProtoMessage

func (*PortForwardResponse_Close) ProtoMessage()

func (*PortForwardResponse_Close) ProtoReflect

func (*PortForwardResponse_Close) Reset

func (x *PortForwardResponse_Close) Reset()

func (*PortForwardResponse_Close) String

func (x *PortForwardResponse_Close) String() string

type PortForwardResponse_Close_

type PortForwardResponse_Close_ struct {
	Close *PortForwardResponse_Close `protobuf:"bytes,2,opt,name=close,proto3,oneof"`
}

type PortForwardResponse_Data

type PortForwardResponse_Data struct {
	Data []byte `protobuf:"bytes,1,opt,name=data,proto3,oneof"`
}

type PromotePipelineRequest

type PromotePipelineRequest struct {
	ExecutionId uint64 `protobuf:"varint,1,opt,name=execution_id,json=executionId,proto3" json:"execution_id,omitempty"`
	// If true, the progression will not be executed, but instead a
	// breakdown of changes will be returned
	DryRun bool `protobuf:"varint,2,opt,name=dry_run,json=dryRun,proto3" json:"dry_run,omitempty"`
	// additional changes to include in the manual promotion
	FieldChanges []*FieldChange `protobuf:"bytes,3,rep,name=field_changes,json=fieldChanges,proto3" json:"field_changes,omitempty"`
	// If true, the pipeline will be force promoted to the next environment
	// regardless of the state of the pipeline and the triggers.
	Force bool `protobuf:"varint,4,opt,name=force,proto3" json:"force,omitempty"`
	// contains filtered or unexported fields
}

func (*PromotePipelineRequest) Descriptor deprecated

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

Deprecated: Use PromotePipelineRequest.ProtoReflect.Descriptor instead.

func (*PromotePipelineRequest) GetDryRun

func (x *PromotePipelineRequest) GetDryRun() bool

func (*PromotePipelineRequest) GetExecutionId

func (x *PromotePipelineRequest) GetExecutionId() uint64

func (*PromotePipelineRequest) GetFieldChanges

func (x *PromotePipelineRequest) GetFieldChanges() []*FieldChange

func (*PromotePipelineRequest) GetForce

func (x *PromotePipelineRequest) GetForce() bool

func (*PromotePipelineRequest) ProtoMessage

func (*PromotePipelineRequest) ProtoMessage()

func (*PromotePipelineRequest) ProtoReflect

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

func (*PromotePipelineRequest) Reset

func (x *PromotePipelineRequest) Reset()

func (*PromotePipelineRequest) String

func (x *PromotePipelineRequest) String() string

type PromotePipelineResponse

type PromotePipelineResponse struct {
	Status *pipeline.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	// Breakdown of the changes that will be made to the environments throughout
	// the pipeline. Only populated if dry-run is used.
	DryRunOutcomes []*PipelineDryRunOutput `protobuf:"bytes,2,rep,name=dry_run_outcomes,json=dryRunOutcomes,proto3" json:"dry_run_outcomes,omitempty"`
	// The capsule revision created.
	Revision *Revision `protobuf:"bytes,3,opt,name=revision,proto3" json:"revision,omitempty"`
	// contains filtered or unexported fields
}

func (*PromotePipelineResponse) Descriptor deprecated

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

Deprecated: Use PromotePipelineResponse.ProtoReflect.Descriptor instead.

func (*PromotePipelineResponse) GetDryRunOutcomes

func (x *PromotePipelineResponse) GetDryRunOutcomes() []*PipelineDryRunOutput

func (*PromotePipelineResponse) GetRevision

func (x *PromotePipelineResponse) GetRevision() *Revision

func (*PromotePipelineResponse) GetStatus

func (x *PromotePipelineResponse) GetStatus() *pipeline.Status

func (*PromotePipelineResponse) ProtoMessage

func (*PromotePipelineResponse) ProtoMessage()

func (*PromotePipelineResponse) ProtoReflect

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

func (*PromotePipelineResponse) Reset

func (x *PromotePipelineResponse) Reset()

func (*PromotePipelineResponse) String

func (x *PromotePipelineResponse) String() string

type Proposal

type Proposal struct {
	Spec     *v1.Capsule             `protobuf:"bytes,1,opt,name=spec,proto3" json:"spec,omitempty"`
	Metadata *model.ProposalMetadata `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// contains filtered or unexported fields
}

func (*Proposal) Descriptor deprecated

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

Deprecated: Use Proposal.ProtoReflect.Descriptor instead.

func (*Proposal) GetMetadata

func (x *Proposal) GetMetadata() *model.ProposalMetadata

func (*Proposal) GetSpec

func (x *Proposal) GetSpec() *v1.Capsule

func (*Proposal) ProtoMessage

func (*Proposal) ProtoMessage()

func (*Proposal) ProtoReflect

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

func (*Proposal) Reset

func (x *Proposal) Reset()

func (*Proposal) String

func (x *Proposal) String() string

type ProposeRolloutRequest

type ProposeRolloutRequest struct {

	// Capsule to deploy to.
	CapsuleId string `protobuf:"bytes,1,opt,name=capsule_id,json=capsuleId,proto3" json:"capsule_id,omitempty"`
	// Changes to include in the new rollout.
	Changes []*Change `protobuf:"bytes,2,rep,name=changes,proto3" json:"changes,omitempty"`
	// Project in which the capsule lives.
	ProjectId string `protobuf:"bytes,3,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// Environment in which to deploy.
	EnvironmentId string `protobuf:"bytes,4,opt,name=environment_id,json=environmentId,proto3" json:"environment_id,omitempty"`
	// Deploy message.
	Message string `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"`
	// By 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.
	ForceOverride bool   `protobuf:"varint,6,opt,name=force_override,json=forceOverride,proto3" json:"force_override,omitempty"`
	BranchName    string `protobuf:"bytes,7,opt,name=branch_name,json=branchName,proto3" json:"branch_name,omitempty"`
	// contains filtered or unexported fields
}

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

func (*ProposeRolloutRequest) Descriptor deprecated

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

Deprecated: Use ProposeRolloutRequest.ProtoReflect.Descriptor instead.

func (*ProposeRolloutRequest) GetBranchName

func (x *ProposeRolloutRequest) GetBranchName() string

func (*ProposeRolloutRequest) GetCapsuleId

func (x *ProposeRolloutRequest) GetCapsuleId() string

func (*ProposeRolloutRequest) GetChanges

func (x *ProposeRolloutRequest) GetChanges() []*Change

func (*ProposeRolloutRequest) GetEnvironmentId

func (x *ProposeRolloutRequest) GetEnvironmentId() string

func (*ProposeRolloutRequest) GetForceOverride

func (x *ProposeRolloutRequest) GetForceOverride() bool

func (*ProposeRolloutRequest) GetMessage

func (x *ProposeRolloutRequest) GetMessage() string

func (*ProposeRolloutRequest) GetProjectId

func (x *ProposeRolloutRequest) GetProjectId() string

func (*ProposeRolloutRequest) ProtoMessage

func (*ProposeRolloutRequest) ProtoMessage()

func (*ProposeRolloutRequest) ProtoReflect

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

func (*ProposeRolloutRequest) Reset

func (x *ProposeRolloutRequest) Reset()

func (*ProposeRolloutRequest) String

func (x *ProposeRolloutRequest) String() string

type ProposeRolloutResponse

type ProposeRolloutResponse struct {
	Proposal *Proposal `protobuf:"bytes,1,opt,name=proposal,proto3" json:"proposal,omitempty"`
	// Breakdown of the changes that this deploy would make to the system.
	Outcome *DeployOutcome `protobuf:"bytes,2,opt,name=outcome,proto3" json:"outcome,omitempty"`
	// contains filtered or unexported fields
}

func (*ProposeRolloutResponse) Descriptor deprecated

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

Deprecated: Use ProposeRolloutResponse.ProtoReflect.Descriptor instead.

func (*ProposeRolloutResponse) GetOutcome

func (x *ProposeRolloutResponse) GetOutcome() *DeployOutcome

func (*ProposeRolloutResponse) GetProposal

func (x *ProposeRolloutResponse) GetProposal() *Proposal

func (*ProposeRolloutResponse) ProtoMessage

func (*ProposeRolloutResponse) ProtoMessage()

func (*ProposeRolloutResponse) ProtoReflect

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

func (*ProposeRolloutResponse) Reset

func (x *ProposeRolloutResponse) Reset()

func (*ProposeRolloutResponse) String

func (x *ProposeRolloutResponse) String() string

type ProposeSetRolloutRequest

type ProposeSetRolloutRequest struct {

	// Capsule to deploy to.
	CapsuleId string `protobuf:"bytes,1,opt,name=capsule_id,json=capsuleId,proto3" json:"capsule_id,omitempty"`
	// Changes to include in the new rollout.
	Changes []*Change `protobuf:"bytes,2,rep,name=changes,proto3" json:"changes,omitempty"`
	// Project in which the capsule lives.
	ProjectId string `protobuf:"bytes,3,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// Deploy message.
	Message string `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"`
	// By 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.
	ForceOverride bool   `protobuf:"varint,5,opt,name=force_override,json=forceOverride,proto3" json:"force_override,omitempty"`
	BranchName    string `protobuf:"bytes,6,opt,name=branch_name,json=branchName,proto3" json:"branch_name,omitempty"`
	// contains filtered or unexported fields
}

func (*ProposeSetRolloutRequest) Descriptor deprecated

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

Deprecated: Use ProposeSetRolloutRequest.ProtoReflect.Descriptor instead.

func (*ProposeSetRolloutRequest) GetBranchName

func (x *ProposeSetRolloutRequest) GetBranchName() string

func (*ProposeSetRolloutRequest) GetCapsuleId

func (x *ProposeSetRolloutRequest) GetCapsuleId() string

func (*ProposeSetRolloutRequest) GetChanges

func (x *ProposeSetRolloutRequest) GetChanges() []*Change

func (*ProposeSetRolloutRequest) GetForceOverride

func (x *ProposeSetRolloutRequest) GetForceOverride() bool

func (*ProposeSetRolloutRequest) GetMessage

func (x *ProposeSetRolloutRequest) GetMessage() string

func (*ProposeSetRolloutRequest) GetProjectId

func (x *ProposeSetRolloutRequest) GetProjectId() string

func (*ProposeSetRolloutRequest) ProtoMessage

func (*ProposeSetRolloutRequest) ProtoMessage()

func (*ProposeSetRolloutRequest) ProtoReflect

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

func (*ProposeSetRolloutRequest) Reset

func (x *ProposeSetRolloutRequest) Reset()

func (*ProposeSetRolloutRequest) String

func (x *ProposeSetRolloutRequest) String() string

type ProposeSetRolloutResponse

type ProposeSetRolloutResponse struct {
	Proposal *SetProposal `protobuf:"bytes,1,opt,name=proposal,proto3" json:"proposal,omitempty"`
	// Breakdown of the changes that this deploy would make to the system.
	Outcome *DeploySetOutcome `protobuf:"bytes,2,opt,name=outcome,proto3" json:"outcome,omitempty"`
	// contains filtered or unexported fields
}

func (*ProposeSetRolloutResponse) Descriptor deprecated

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

Deprecated: Use ProposeSetRolloutResponse.ProtoReflect.Descriptor instead.

func (*ProposeSetRolloutResponse) GetOutcome

func (*ProposeSetRolloutResponse) GetProposal

func (x *ProposeSetRolloutResponse) GetProposal() *SetProposal

func (*ProposeSetRolloutResponse) ProtoMessage

func (*ProposeSetRolloutResponse) ProtoMessage()

func (*ProposeSetRolloutResponse) ProtoReflect

func (*ProposeSetRolloutResponse) Reset

func (x *ProposeSetRolloutResponse) Reset()

func (*ProposeSetRolloutResponse) String

func (x *ProposeSetRolloutResponse) String() string

type PublicInterface

type PublicInterface struct {

	// True if the interface is public.
	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// Routing method - Ingress or Load Balancer.
	Method *RoutingMethod `protobuf:"bytes,2,opt,name=method,proto3" json:"method,omitempty"`
	// contains filtered or unexported fields
}

Public interface configuration.

func (*PublicInterface) Descriptor deprecated

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

Deprecated: Use PublicInterface.ProtoReflect.Descriptor instead.

func (*PublicInterface) GetEnabled

func (x *PublicInterface) GetEnabled() bool

func (*PublicInterface) GetMethod

func (x *PublicInterface) GetMethod() *RoutingMethod

func (*PublicInterface) ProtoMessage

func (*PublicInterface) ProtoMessage()

func (*PublicInterface) ProtoReflect

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

func (*PublicInterface) Reset

func (x *PublicInterface) Reset()

func (*PublicInterface) String

func (x *PublicInterface) String() string

type Ready

type Ready struct {
	Message    string            `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	Timestamps *StatusTimestamps `protobuf:"bytes,2,opt,name=timestamps,proto3" json:"timestamps,omitempty"`
	Stages     *ReadyStages      `protobuf:"bytes,3,opt,name=stages,proto3" json:"stages,omitempty"`
	// contains filtered or unexported fields
}

func (*Ready) Descriptor deprecated

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

Deprecated: Use Ready.ProtoReflect.Descriptor instead.

func (*Ready) GetMessage

func (x *Ready) GetMessage() string

func (*Ready) GetStages

func (x *Ready) GetStages() *ReadyStages

func (*Ready) GetTimestamps

func (x *Ready) GetTimestamps() *StatusTimestamps

func (*Ready) ProtoMessage

func (*Ready) ProtoMessage()

func (*Ready) ProtoReflect

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

func (*Ready) Reset

func (x *Ready) Reset()

func (*Ready) String

func (x *Ready) String() string

type ReadyStages

type ReadyStages struct {
	NotReady *NotReady      `protobuf:"bytes,1,opt,name=not_ready,json=notReady,proto3" json:"not_ready,omitempty"`
	Ready    *InstanceReady `protobuf:"bytes,2,opt,name=ready,proto3" json:"ready,omitempty"`
	// contains filtered or unexported fields
}

func (*ReadyStages) Descriptor deprecated

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

Deprecated: Use ReadyStages.ProtoReflect.Descriptor instead.

func (*ReadyStages) GetNotReady

func (x *ReadyStages) GetNotReady() *NotReady

func (*ReadyStages) GetReady

func (x *ReadyStages) GetReady() *InstanceReady

func (*ReadyStages) ProtoMessage

func (*ReadyStages) ProtoMessage()

func (*ReadyStages) ProtoReflect

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

func (*ReadyStages) Reset

func (x *ReadyStages) Reset()

func (*ReadyStages) String

func (x *ReadyStages) String() string

type ResourceList

type ResourceList struct {

	// Unit: milli-CPUs
	CpuMillis uint32 `protobuf:"varint,1,opt,name=cpu_millis,json=cpuMillis,proto3" json:"cpu_millis,omitempty"`
	// Unit: Bytes
	MemoryBytes uint64 `protobuf:"varint,2,opt,name=memory_bytes,json=memoryBytes,proto3" json:"memory_bytes,omitempty"`
	// contains filtered or unexported fields
}

CPU and Memory resource request or limits

func (*ResourceList) Descriptor deprecated

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

Deprecated: Use ResourceList.ProtoReflect.Descriptor instead.

func (*ResourceList) GetCpuMillis

func (x *ResourceList) GetCpuMillis() uint32

func (*ResourceList) GetMemoryBytes

func (x *ResourceList) GetMemoryBytes() uint64

func (*ResourceList) ProtoMessage

func (*ResourceList) ProtoMessage()

func (*ResourceList) ProtoReflect

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

func (*ResourceList) Reset

func (x *ResourceList) Reset()

func (*ResourceList) String

func (x *ResourceList) String() string

type Resources

type Resources struct {

	// CPU and memory requests.
	Requests *ResourceList `protobuf:"bytes,1,opt,name=requests,proto3" json:"requests,omitempty"`
	// CPU and memory limits
	Limits *ResourceList `protobuf:"bytes,2,opt,name=limits,proto3" json:"limits,omitempty"`
	// GPU Limits
	GpuLimits *GpuLimits `protobuf:"bytes,3,opt,name=gpu_limits,json=gpuLimits,proto3" json:"gpu_limits,omitempty"`
	// contains filtered or unexported fields
}

Container resources requests and limits

func (*Resources) Descriptor deprecated

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

Deprecated: Use Resources.ProtoReflect.Descriptor instead.

func (*Resources) GetGpuLimits

func (x *Resources) GetGpuLimits() *GpuLimits

func (*Resources) GetLimits

func (x *Resources) GetLimits() *ResourceList

func (*Resources) GetRequests

func (x *Resources) GetRequests() *ResourceList

func (*Resources) ProtoMessage

func (*Resources) ProtoMessage()

func (*Resources) ProtoReflect

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

func (*Resources) Reset

func (x *Resources) Reset()

func (*Resources) String

func (x *Resources) String() string

type RestartInstanceRequest

type RestartInstanceRequest struct {

	// The capsule to restart the instance in.
	CapsuleId string `protobuf:"bytes,1,opt,name=capsule_id,json=capsuleId,proto3" json:"capsule_id,omitempty"`
	// The instance to restart.
	InstanceId string `protobuf:"bytes,2,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
	// The project in which the capsule lives.
	ProjectId string `protobuf:"bytes,3,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// The environment to restart the instance in.
	EnvironmentId string `protobuf:"bytes,4,opt,name=environment_id,json=environmentId,proto3" json:"environment_id,omitempty"`
	// contains filtered or unexported fields
}

RestartInstanceRequest restarts a single instance.

func (*RestartInstanceRequest) Descriptor deprecated

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

Deprecated: Use RestartInstanceRequest.ProtoReflect.Descriptor instead.

func (*RestartInstanceRequest) GetCapsuleId

func (x *RestartInstanceRequest) GetCapsuleId() string

func (*RestartInstanceRequest) GetEnvironmentId

func (x *RestartInstanceRequest) GetEnvironmentId() string

func (*RestartInstanceRequest) GetInstanceId

func (x *RestartInstanceRequest) GetInstanceId() string

func (*RestartInstanceRequest) GetProjectId

func (x *RestartInstanceRequest) GetProjectId() string

func (*RestartInstanceRequest) ProtoMessage

func (*RestartInstanceRequest) ProtoMessage()

func (*RestartInstanceRequest) ProtoReflect

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

func (*RestartInstanceRequest) Reset

func (x *RestartInstanceRequest) Reset()

func (*RestartInstanceRequest) String

func (x *RestartInstanceRequest) String() string

type RestartInstanceResponse

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

RestartInstanceResponse is an empty response.

func (*RestartInstanceResponse) Descriptor deprecated

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

Deprecated: Use RestartInstanceResponse.ProtoReflect.Descriptor instead.

func (*RestartInstanceResponse) ProtoMessage

func (*RestartInstanceResponse) ProtoMessage()

func (*RestartInstanceResponse) ProtoReflect

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

func (*RestartInstanceResponse) Reset

func (x *RestartInstanceResponse) Reset()

func (*RestartInstanceResponse) String

func (x *RestartInstanceResponse) String() string

type Revision

type Revision struct {
	Spec     *v1.Capsule             `protobuf:"bytes,1,opt,name=spec,proto3" json:"spec,omitempty"`
	Metadata *model.RevisionMetadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"`
	Message  string                  `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*Revision) Descriptor deprecated

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

Deprecated: Use Revision.ProtoReflect.Descriptor instead.

func (*Revision) GetMessage

func (x *Revision) GetMessage() string

func (*Revision) GetMetadata

func (x *Revision) GetMetadata() *model.RevisionMetadata

func (*Revision) GetSpec

func (x *Revision) GetSpec() *v1.Capsule

func (*Revision) ProtoMessage

func (*Revision) ProtoMessage()

func (*Revision) ProtoReflect

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

func (*Revision) Reset

func (x *Revision) Reset()

func (*Revision) String

func (x *Revision) String() string

type Rollout

type Rollout struct {

	// Unique indentifier for the rollout.
	RolloutId uint64 `protobuf:"varint,1,opt,name=rollout_id,json=rolloutId,proto3" json:"rollout_id,omitempty"`
	// The rollout config.
	Config *RolloutConfig `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"`
	// The rollout status.
	Status    *rollout.Status  `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"`
	Spec      *v1.CapsuleSpec  `protobuf:"bytes,5,opt,name=spec,proto3" json:"spec,omitempty"`
	Revisions *model.Revisions `protobuf:"bytes,6,opt,name=revisions,proto3" json:"revisions,omitempty"`
	Changelog *Changelog       `protobuf:"bytes,7,opt,name=changelog,proto3" json:"changelog,omitempty"`
	// contains filtered or unexported fields
}

The rollout model.

func (*Rollout) Descriptor deprecated

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

Deprecated: Use Rollout.ProtoReflect.Descriptor instead.

func (*Rollout) GetChangelog

func (x *Rollout) GetChangelog() *Changelog

func (*Rollout) GetConfig

func (x *Rollout) GetConfig() *RolloutConfig

func (*Rollout) GetRevisions

func (x *Rollout) GetRevisions() *model.Revisions

func (*Rollout) GetRolloutId

func (x *Rollout) GetRolloutId() uint64

func (*Rollout) GetSpec

func (x *Rollout) GetSpec() *v1.CapsuleSpec

func (*Rollout) GetStatus

func (x *Rollout) GetStatus() *rollout.Status

func (*Rollout) ProtoMessage

func (*Rollout) ProtoMessage()

func (*Rollout) ProtoReflect

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

func (*Rollout) Reset

func (x *Rollout) Reset()

func (*Rollout) String

func (x *Rollout) String() string

type RolloutConfig

type RolloutConfig struct {

	// The user who initiated the rollout.
	CreatedBy                 *model.Author          `protobuf:"bytes,1,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"`
	CreatedAt                 *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	Replicas                  uint32                 `protobuf:"varint,4,opt,name=replicas,proto3" json:"replicas,omitempty"`
	ImageId                   string                 `protobuf:"bytes,5,opt,name=image_id,json=imageId,proto3" json:"image_id,omitempty"`
	Network                   *Network               `protobuf:"bytes,6,opt,name=network,proto3" json:"network,omitempty"`
	ContainerSettings         *ContainerSettings     `protobuf:"bytes,7,opt,name=container_settings,json=containerSettings,proto3" json:"container_settings,omitempty"`
	AutoAddRigServiceAccounts bool                   `` /* 143-byte string literal not displayed */
	ConfigFiles               []*ConfigFile          `protobuf:"bytes,9,rep,name=config_files,json=configFiles,proto3" json:"config_files,omitempty"`
	HorizontalScale           *HorizontalScale       `protobuf:"bytes,10,opt,name=horizontal_scale,json=horizontalScale,proto3" json:"horizontal_scale,omitempty"`
	CronJobs                  []*CronJob             `protobuf:"bytes,11,rep,name=cron_jobs,json=cronJobs,proto3" json:"cron_jobs,omitempty"`
	EnvironmentId             string                 `protobuf:"bytes,12,opt,name=environment_id,json=environmentId,proto3" json:"environment_id,omitempty"`
	Message                   string                 `protobuf:"bytes,13,opt,name=message,proto3" json:"message,omitempty"`
	Annotations               map[string]string      `` /* 164-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*RolloutConfig) Descriptor deprecated

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

Deprecated: Use RolloutConfig.ProtoReflect.Descriptor instead.

func (*RolloutConfig) GetAnnotations

func (x *RolloutConfig) GetAnnotations() map[string]string

func (*RolloutConfig) GetAutoAddRigServiceAccounts

func (x *RolloutConfig) GetAutoAddRigServiceAccounts() bool

func (*RolloutConfig) GetConfigFiles

func (x *RolloutConfig) GetConfigFiles() []*ConfigFile

func (*RolloutConfig) GetContainerSettings

func (x *RolloutConfig) GetContainerSettings() *ContainerSettings

func (*RolloutConfig) GetCreatedAt

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

func (*RolloutConfig) GetCreatedBy

func (x *RolloutConfig) GetCreatedBy() *model.Author

func (*RolloutConfig) GetCronJobs

func (x *RolloutConfig) GetCronJobs() []*CronJob

func (*RolloutConfig) GetEnvironmentId

func (x *RolloutConfig) GetEnvironmentId() string

func (*RolloutConfig) GetHorizontalScale

func (x *RolloutConfig) GetHorizontalScale() *HorizontalScale

func (*RolloutConfig) GetImageId

func (x *RolloutConfig) GetImageId() string

func (*RolloutConfig) GetMessage

func (x *RolloutConfig) GetMessage() string

func (*RolloutConfig) GetNetwork

func (x *RolloutConfig) GetNetwork() *Network

func (*RolloutConfig) GetReplicas

func (x *RolloutConfig) GetReplicas() uint32

func (*RolloutConfig) ProtoMessage

func (*RolloutConfig) ProtoMessage()

func (*RolloutConfig) ProtoReflect

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

func (*RolloutConfig) Reset

func (x *RolloutConfig) Reset()

func (*RolloutConfig) String

func (x *RolloutConfig) String() string

type RolloutEvent

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

An event that is associated with a rollout.

func (*RolloutEvent) Descriptor deprecated

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

Deprecated: Use RolloutEvent.ProtoReflect.Descriptor instead.

func (*RolloutEvent) ProtoMessage

func (*RolloutEvent) ProtoMessage()

func (*RolloutEvent) ProtoReflect

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

func (*RolloutEvent) Reset

func (x *RolloutEvent) Reset()

func (*RolloutEvent) String

func (x *RolloutEvent) String() string

type RouteOptions

type RouteOptions struct {
	Annotations map[string]string `` /* 163-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*RouteOptions) Descriptor deprecated

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

Deprecated: Use RouteOptions.ProtoReflect.Descriptor instead.

func (*RouteOptions) GetAnnotations

func (x *RouteOptions) GetAnnotations() map[string]string

func (*RouteOptions) ProtoMessage

func (*RouteOptions) ProtoMessage()

func (*RouteOptions) ProtoReflect

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

func (*RouteOptions) Reset

func (x *RouteOptions) Reset()

func (*RouteOptions) String

func (x *RouteOptions) String() string

type RoutingMethod

type RoutingMethod struct {

	// Type of routing for the public interface.
	//
	// Types that are assignable to Kind:
	//
	//	*RoutingMethod_LoadBalancer_
	//	*RoutingMethod_Ingress_
	Kind isRoutingMethod_Kind `protobuf_oneof:"kind"`
	// contains filtered or unexported fields
}

The routing method for the public interface.

func (*RoutingMethod) Descriptor deprecated

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

Deprecated: Use RoutingMethod.ProtoReflect.Descriptor instead.

func (*RoutingMethod) GetIngress

func (x *RoutingMethod) GetIngress() *RoutingMethod_Ingress

func (*RoutingMethod) GetKind

func (m *RoutingMethod) GetKind() isRoutingMethod_Kind

func (*RoutingMethod) GetLoadBalancer

func (x *RoutingMethod) GetLoadBalancer() *RoutingMethod_LoadBalancer

func (*RoutingMethod) ProtoMessage

func (*RoutingMethod) ProtoMessage()

func (*RoutingMethod) ProtoReflect

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

func (*RoutingMethod) Reset

func (x *RoutingMethod) Reset()

func (*RoutingMethod) String

func (x *RoutingMethod) String() string

type RoutingMethod_Ingress

type RoutingMethod_Ingress struct {

	// Hostname of the ingress.
	Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
	// True if TLS is enabled.
	Tls bool `protobuf:"varint,2,opt,name=tls,proto3" json:"tls,omitempty"`
	// Paths of the ingress.
	Paths []string `protobuf:"bytes,3,rep,name=paths,proto3" json:"paths,omitempty"`
	// contains filtered or unexported fields
}

Ingress routing.

func (*RoutingMethod_Ingress) Descriptor deprecated

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

Deprecated: Use RoutingMethod_Ingress.ProtoReflect.Descriptor instead.

func (*RoutingMethod_Ingress) GetHost

func (x *RoutingMethod_Ingress) GetHost() string

func (*RoutingMethod_Ingress) GetPaths

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

func (*RoutingMethod_Ingress) GetTls

func (x *RoutingMethod_Ingress) GetTls() bool

func (*RoutingMethod_Ingress) ProtoMessage

func (*RoutingMethod_Ingress) ProtoMessage()

func (*RoutingMethod_Ingress) ProtoReflect

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

func (*RoutingMethod_Ingress) Reset

func (x *RoutingMethod_Ingress) Reset()

func (*RoutingMethod_Ingress) String

func (x *RoutingMethod_Ingress) String() string

type RoutingMethod_Ingress_

type RoutingMethod_Ingress_ struct {
	Ingress *RoutingMethod_Ingress `protobuf:"bytes,2,opt,name=ingress,proto3,oneof"`
}

type RoutingMethod_LoadBalancer

type RoutingMethod_LoadBalancer struct {

	// public port.
	Port uint32 `protobuf:"varint,1,opt,name=port,proto3" json:"port,omitempty"`
	// node port.
	NodePort uint32 `protobuf:"varint,2,opt,name=node_port,json=nodePort,proto3" json:"node_port,omitempty"`
	// contains filtered or unexported fields
}

Loadbalancer routing.

func (*RoutingMethod_LoadBalancer) Descriptor deprecated

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

Deprecated: Use RoutingMethod_LoadBalancer.ProtoReflect.Descriptor instead.

func (*RoutingMethod_LoadBalancer) GetNodePort

func (x *RoutingMethod_LoadBalancer) GetNodePort() uint32

func (*RoutingMethod_LoadBalancer) GetPort

func (x *RoutingMethod_LoadBalancer) GetPort() uint32

func (*RoutingMethod_LoadBalancer) ProtoMessage

func (*RoutingMethod_LoadBalancer) ProtoMessage()

func (*RoutingMethod_LoadBalancer) ProtoReflect

func (*RoutingMethod_LoadBalancer) Reset

func (x *RoutingMethod_LoadBalancer) Reset()

func (*RoutingMethod_LoadBalancer) String

func (x *RoutingMethod_LoadBalancer) String() string

type RoutingMethod_LoadBalancer_

type RoutingMethod_LoadBalancer_ struct {
	LoadBalancer *RoutingMethod_LoadBalancer `protobuf:"bytes,1,opt,name=load_balancer,json=loadBalancer,proto3,oneof"`
}

type Running

type Running struct {
	Message    string            `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	Timestamps *StatusTimestamps `protobuf:"bytes,2,opt,name=timestamps,proto3" json:"timestamps,omitempty"`
	// contains filtered or unexported fields
}

func (*Running) Descriptor deprecated

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

Deprecated: Use Running.ProtoReflect.Descriptor instead.

func (*Running) GetMessage

func (x *Running) GetMessage() string

func (*Running) GetTimestamps

func (x *Running) GetTimestamps() *StatusTimestamps

func (*Running) ProtoMessage

func (*Running) ProtoMessage()

func (*Running) ProtoReflect

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

func (*Running) Reset

func (x *Running) Reset()

func (*Running) String

func (x *Running) String() string

type ServiceClient

type ServiceClient interface {
	// Create a new capsule.
	Create(ctx context.Context, in *CreateRequest, opts ...grpc.CallOption) (*CreateResponse, error)
	// Get a capsule by id.
	Get(ctx context.Context, in *GetRequest, opts ...grpc.CallOption) (*GetResponse, error)
	// Delete a capsule.
	Delete(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*DeleteResponse, error)
	// Logs returns (and streams) the log output of a capsule.
	Logs(ctx context.Context, in *LogsRequest, opts ...grpc.CallOption) (Service_LogsClient, error)
	// Update a capsule.
	Update(ctx context.Context, in *UpdateRequest, opts ...grpc.CallOption) (*UpdateResponse, error)
	// Lists all capsules for current project.
	List(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (*ListResponse, error)
	// Deploy 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.
	Deploy(ctx context.Context, in *DeployRequest, opts ...grpc.CallOption) (*DeployResponse, error)
	DeploySet(ctx context.Context, in *DeploySetRequest, opts ...grpc.CallOption) (*DeploySetResponse, error)
	ProposeRollout(ctx context.Context, in *ProposeRolloutRequest, opts ...grpc.CallOption) (*ProposeRolloutResponse, error)
	ProposeSetRollout(ctx context.Context, in *ProposeSetRolloutRequest, opts ...grpc.CallOption) (*ProposeSetRolloutResponse, error)
	ListProposals(ctx context.Context, in *ListProposalsRequest, opts ...grpc.CallOption) (*ListProposalsResponse, error)
	ListSetProposals(ctx context.Context, in *ListSetProposalsRequest, opts ...grpc.CallOption) (*ListSetProposalsResponse, error)
	GetProposalsEnabled(ctx context.Context, in *GetProposalsEnabledRequest, opts ...grpc.CallOption) (*GetProposalsEnabledResponse, error)
	// Lists all instances for the capsule.
	ListInstances(ctx context.Context, in *ListInstancesRequest, opts ...grpc.CallOption) (*ListInstancesResponse, error)
	// Restart a single capsule instance.
	RestartInstance(ctx context.Context, in *RestartInstanceRequest, opts ...grpc.CallOption) (*RestartInstanceResponse, error)
	// Get a single rollout by ID.
	GetRollout(ctx context.Context, in *GetRolloutRequest, opts ...grpc.CallOption) (*GetRolloutResponse, error)
	// Lists all rollouts for the capsule.
	ListRollouts(ctx context.Context, in *ListRolloutsRequest, opts ...grpc.CallOption) (*ListRolloutsResponse, error)
	// Stream rollouts for a capsule.
	WatchRollouts(ctx context.Context, in *WatchRolloutsRequest, opts ...grpc.CallOption) (Service_WatchRolloutsClient, error)
	// Abort the rollout.
	AbortRollout(ctx context.Context, in *AbortRolloutRequest, opts ...grpc.CallOption) (*AbortRolloutResponse, error)
	// Stop a Rollout, removing all resources associated with it.
	StopRollout(ctx context.Context, in *StopRolloutRequest, opts ...grpc.CallOption) (*StopRolloutResponse, error)
	// List capsule events.
	ListEvents(ctx context.Context, in *ListEventsRequest, opts ...grpc.CallOption) (*ListEventsResponse, error)
	// Get metrics for a capsule
	CapsuleMetrics(ctx context.Context, in *CapsuleMetricsRequest, opts ...grpc.CallOption) (*CapsuleMetricsResponse, error)
	// GetInstanceStatus returns the current status for the given instance.
	GetInstanceStatus(ctx context.Context, in *GetInstanceStatusRequest, opts ...grpc.CallOption) (*GetInstanceStatusResponse, error)
	// ListInstanceStatuses lists the status of all instances.
	ListInstanceStatuses(ctx context.Context, in *ListInstanceStatusesRequest, opts ...grpc.CallOption) (*ListInstanceStatusesResponse, error)
	// Stream Instance Statuses of a capsule.
	WatchInstanceStatuses(ctx context.Context, in *WatchInstanceStatusesRequest, opts ...grpc.CallOption) (Service_WatchInstanceStatusesClient, error)
	// Execute executes a command in a given in instance,
	// and returns the output along with an exit code.
	Execute(ctx context.Context, opts ...grpc.CallOption) (Service_ExecuteClient, error)
	// PortForward establishes a port-forwarding for the port to the given
	// instance.
	PortForward(ctx context.Context, opts ...grpc.CallOption) (Service_PortForwardClient, error)
	GetCustomInstanceMetrics(ctx context.Context, in *GetCustomInstanceMetricsRequest, opts ...grpc.CallOption) (*GetCustomInstanceMetricsResponse, error)
	// Get list of job executions performed by the Capsule.
	GetJobExecutions(ctx context.Context, in *GetJobExecutionsRequest, opts ...grpc.CallOption) (*GetJobExecutionsResponse, error)
	GetStatus(ctx context.Context, in *GetStatusRequest, opts ...grpc.CallOption) (*GetStatusResponse, error)
	GetRevision(ctx context.Context, in *GetRevisionRequest, opts ...grpc.CallOption) (*GetRevisionResponse, error)
	GetRolloutOfRevisions(ctx context.Context, in *GetRolloutOfRevisionsRequest, opts ...grpc.CallOption) (*GetRolloutOfRevisionsResponse, error)
	// Stream the status of a capsule.
	WatchStatus(ctx context.Context, in *WatchStatusRequest, opts ...grpc.CallOption) (Service_WatchStatusClient, error)
	GetEffectiveGitSettings(ctx context.Context, in *GetEffectiveGitSettingsRequest, opts ...grpc.CallOption) (*GetEffectiveGitSettingsResponse, error)
	// Will initiate the pipeline, from the initial environment and it's current
	// rollout.
	StartPipeline(ctx context.Context, in *StartPipelineRequest, opts ...grpc.CallOption) (*StartPipelineResponse, error)
	GetPipelineStatus(ctx context.Context, in *GetPipelineStatusRequest, opts ...grpc.CallOption) (*GetPipelineStatusResponse, error)
	// Progress the pipeline to the next environment.
	PromotePipeline(ctx context.Context, in *PromotePipelineRequest, opts ...grpc.CallOption) (*PromotePipelineResponse, error)
	// Abort the pipeline execution. This will stop the pipeline from any further
	// promotions.
	AbortPipeline(ctx context.Context, in *AbortPipelineRequest, opts ...grpc.CallOption) (*AbortPipelineResponse, error)
	ListPipelineStatuses(ctx context.Context, in *ListPipelineStatusesRequest, opts ...grpc.CallOption) (*ListPipelineStatusesResponse, error)
}

ServiceClient is the client API for Service service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewServiceClient

func NewServiceClient(cc grpc.ClientConnInterface) ServiceClient

type ServiceServer

type ServiceServer interface {
	// Create a new capsule.
	Create(context.Context, *CreateRequest) (*CreateResponse, error)
	// Get a capsule by id.
	Get(context.Context, *GetRequest) (*GetResponse, error)
	// Delete a capsule.
	Delete(context.Context, *DeleteRequest) (*DeleteResponse, error)
	// Logs returns (and streams) the log output of a capsule.
	Logs(*LogsRequest, Service_LogsServer) error
	// Update a capsule.
	Update(context.Context, *UpdateRequest) (*UpdateResponse, error)
	// Lists all capsules for current project.
	List(context.Context, *ListRequest) (*ListResponse, error)
	// Deploy 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.
	Deploy(context.Context, *DeployRequest) (*DeployResponse, error)
	DeploySet(context.Context, *DeploySetRequest) (*DeploySetResponse, error)
	ProposeRollout(context.Context, *ProposeRolloutRequest) (*ProposeRolloutResponse, error)
	ProposeSetRollout(context.Context, *ProposeSetRolloutRequest) (*ProposeSetRolloutResponse, error)
	ListProposals(context.Context, *ListProposalsRequest) (*ListProposalsResponse, error)
	ListSetProposals(context.Context, *ListSetProposalsRequest) (*ListSetProposalsResponse, error)
	GetProposalsEnabled(context.Context, *GetProposalsEnabledRequest) (*GetProposalsEnabledResponse, error)
	// Lists all instances for the capsule.
	ListInstances(context.Context, *ListInstancesRequest) (*ListInstancesResponse, error)
	// Restart a single capsule instance.
	RestartInstance(context.Context, *RestartInstanceRequest) (*RestartInstanceResponse, error)
	// Get a single rollout by ID.
	GetRollout(context.Context, *GetRolloutRequest) (*GetRolloutResponse, error)
	// Lists all rollouts for the capsule.
	ListRollouts(context.Context, *ListRolloutsRequest) (*ListRolloutsResponse, error)
	// Stream rollouts for a capsule.
	WatchRollouts(*WatchRolloutsRequest, Service_WatchRolloutsServer) error
	// Abort the rollout.
	AbortRollout(context.Context, *AbortRolloutRequest) (*AbortRolloutResponse, error)
	// Stop a Rollout, removing all resources associated with it.
	StopRollout(context.Context, *StopRolloutRequest) (*StopRolloutResponse, error)
	// List capsule events.
	ListEvents(context.Context, *ListEventsRequest) (*ListEventsResponse, error)
	// Get metrics for a capsule
	CapsuleMetrics(context.Context, *CapsuleMetricsRequest) (*CapsuleMetricsResponse, error)
	// GetInstanceStatus returns the current status for the given instance.
	GetInstanceStatus(context.Context, *GetInstanceStatusRequest) (*GetInstanceStatusResponse, error)
	// ListInstanceStatuses lists the status of all instances.
	ListInstanceStatuses(context.Context, *ListInstanceStatusesRequest) (*ListInstanceStatusesResponse, error)
	// Stream Instance Statuses of a capsule.
	WatchInstanceStatuses(*WatchInstanceStatusesRequest, Service_WatchInstanceStatusesServer) error
	// Execute executes a command in a given in instance,
	// and returns the output along with an exit code.
	Execute(Service_ExecuteServer) error
	// PortForward establishes a port-forwarding for the port to the given
	// instance.
	PortForward(Service_PortForwardServer) error
	GetCustomInstanceMetrics(context.Context, *GetCustomInstanceMetricsRequest) (*GetCustomInstanceMetricsResponse, error)
	// Get list of job executions performed by the Capsule.
	GetJobExecutions(context.Context, *GetJobExecutionsRequest) (*GetJobExecutionsResponse, error)
	GetStatus(context.Context, *GetStatusRequest) (*GetStatusResponse, error)
	GetRevision(context.Context, *GetRevisionRequest) (*GetRevisionResponse, error)
	GetRolloutOfRevisions(context.Context, *GetRolloutOfRevisionsRequest) (*GetRolloutOfRevisionsResponse, error)
	// Stream the status of a capsule.
	WatchStatus(*WatchStatusRequest, Service_WatchStatusServer) error
	GetEffectiveGitSettings(context.Context, *GetEffectiveGitSettingsRequest) (*GetEffectiveGitSettingsResponse, error)
	// Will initiate the pipeline, from the initial environment and it's current
	// rollout.
	StartPipeline(context.Context, *StartPipelineRequest) (*StartPipelineResponse, error)
	GetPipelineStatus(context.Context, *GetPipelineStatusRequest) (*GetPipelineStatusResponse, error)
	// Progress the pipeline to the next environment.
	PromotePipeline(context.Context, *PromotePipelineRequest) (*PromotePipelineResponse, error)
	// Abort the pipeline execution. This will stop the pipeline from any further
	// promotions.
	AbortPipeline(context.Context, *AbortPipelineRequest) (*AbortPipelineResponse, error)
	ListPipelineStatuses(context.Context, *ListPipelineStatusesRequest) (*ListPipelineStatusesResponse, error)
	// contains filtered or unexported methods
}

ServiceServer is the server API for Service service. All implementations must embed UnimplementedServiceServer for forward compatibility

type Service_ExecuteClient

type Service_ExecuteClient interface {
	Send(*ExecuteRequest) error
	Recv() (*ExecuteResponse, error)
	grpc.ClientStream
}

type Service_ExecuteServer

type Service_ExecuteServer interface {
	Send(*ExecuteResponse) error
	Recv() (*ExecuteRequest, error)
	grpc.ServerStream
}

type Service_LogsClient

type Service_LogsClient interface {
	Recv() (*LogsResponse, error)
	grpc.ClientStream
}

type Service_LogsServer

type Service_LogsServer interface {
	Send(*LogsResponse) error
	grpc.ServerStream
}

type Service_PortForwardClient

type Service_PortForwardClient interface {
	Send(*PortForwardRequest) error
	Recv() (*PortForwardResponse, error)
	grpc.ClientStream
}

type Service_PortForwardServer

type Service_PortForwardServer interface {
	Send(*PortForwardResponse) error
	Recv() (*PortForwardRequest, error)
	grpc.ServerStream
}

type Service_WatchInstanceStatusesClient

type Service_WatchInstanceStatusesClient interface {
	Recv() (*WatchInstanceStatusesResponse, error)
	grpc.ClientStream
}

type Service_WatchInstanceStatusesServer

type Service_WatchInstanceStatusesServer interface {
	Send(*WatchInstanceStatusesResponse) error
	grpc.ServerStream
}

type Service_WatchRolloutsClient

type Service_WatchRolloutsClient interface {
	Recv() (*WatchRolloutsResponse, error)
	grpc.ClientStream
}

type Service_WatchRolloutsServer

type Service_WatchRolloutsServer interface {
	Send(*WatchRolloutsResponse) error
	grpc.ServerStream
}

type Service_WatchStatusClient

type Service_WatchStatusClient interface {
	Recv() (*WatchStatusResponse, error)
	grpc.ClientStream
}

type Service_WatchStatusServer

type Service_WatchStatusServer interface {
	Send(*WatchStatusResponse) error
	grpc.ServerStream
}

type SetProposal

type SetProposal struct {
	Spec     *v1.CapsuleSet          `protobuf:"bytes,1,opt,name=spec,proto3" json:"spec,omitempty"`
	Metadata *model.ProposalMetadata `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// contains filtered or unexported fields
}

func (*SetProposal) Descriptor deprecated

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

Deprecated: Use SetProposal.ProtoReflect.Descriptor instead.

func (*SetProposal) GetMetadata

func (x *SetProposal) GetMetadata() *model.ProposalMetadata

func (*SetProposal) GetSpec

func (x *SetProposal) GetSpec() *v1.CapsuleSet

func (*SetProposal) ProtoMessage

func (*SetProposal) ProtoMessage()

func (*SetProposal) ProtoReflect

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

func (*SetProposal) Reset

func (x *SetProposal) Reset()

func (*SetProposal) String

func (x *SetProposal) String() string

type SetRevision

type SetRevision struct {
	Spec     *v1.CapsuleSet          `protobuf:"bytes,1,opt,name=spec,proto3" json:"spec,omitempty"`
	Metadata *model.RevisionMetadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// contains filtered or unexported fields
}

func (*SetRevision) Descriptor deprecated

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

Deprecated: Use SetRevision.ProtoReflect.Descriptor instead.

func (*SetRevision) GetMetadata

func (x *SetRevision) GetMetadata() *model.RevisionMetadata

func (*SetRevision) GetSpec

func (x *SetRevision) GetSpec() *v1.CapsuleSet

func (*SetRevision) ProtoMessage

func (*SetRevision) ProtoMessage()

func (*SetRevision) ProtoReflect

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

func (*SetRevision) Reset

func (x *SetRevision) Reset()

func (*SetRevision) String

func (x *SetRevision) String() string

type Sidecar deprecated

type Sidecar struct {
	Interfaces []*SidecarInterface `protobuf:"bytes,1,rep,name=interfaces,proto3" json:"interfaces,omitempty"`
	// contains filtered or unexported fields
}

Deprecated: sidecar configuration

func (*Sidecar) Descriptor deprecated

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

Deprecated: Use Sidecar.ProtoReflect.Descriptor instead.

func (*Sidecar) GetInterfaces

func (x *Sidecar) GetInterfaces() []*SidecarInterface

func (*Sidecar) ProtoMessage

func (*Sidecar) ProtoMessage()

func (*Sidecar) ProtoReflect

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

func (*Sidecar) Reset

func (x *Sidecar) Reset()

func (*Sidecar) String

func (x *Sidecar) String() string

type SidecarInterface deprecated

type SidecarInterface struct {
	Port      uint32 `protobuf:"varint,1,opt,name=port,proto3" json:"port,omitempty"`
	ProxyPort uint32 `protobuf:"varint,2,opt,name=proxy_port,json=proxyPort,proto3" json:"proxy_port,omitempty"`
	// contains filtered or unexported fields
}

Deprecated: sidecar interface configuration

func (*SidecarInterface) Descriptor deprecated

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

Deprecated: Use SidecarInterface.ProtoReflect.Descriptor instead.

func (*SidecarInterface) GetPort

func (x *SidecarInterface) GetPort() uint32

func (*SidecarInterface) GetProxyPort

func (x *SidecarInterface) GetProxyPort() uint32

func (*SidecarInterface) ProtoMessage

func (*SidecarInterface) ProtoMessage()

func (*SidecarInterface) ProtoReflect

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

func (*SidecarInterface) Reset

func (x *SidecarInterface) Reset()

func (*SidecarInterface) String

func (x *SidecarInterface) String() string

type StartPipelineRequest

type StartPipelineRequest struct {
	ProjectId    string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	CapsuleId    string `protobuf:"bytes,2,opt,name=capsule_id,json=capsuleId,proto3" json:"capsule_id,omitempty"`
	PipelineName string `protobuf:"bytes,3,opt,name=pipeline_name,json=pipelineName,proto3" json:"pipeline_name,omitempty"`
	DryRun       bool   `protobuf:"varint,4,opt,name=dry_run,json=dryRun,proto3" json:"dry_run,omitempty"`
	// If true, and the pipeline is already running for the capsule and project,
	// it will be aborted and a new one started.
	AbortCurrent bool `protobuf:"varint,5,opt,name=abort_current,json=abortCurrent,proto3" json:"abort_current,omitempty"`
	// contains filtered or unexported fields
}

func (*StartPipelineRequest) Descriptor deprecated

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

Deprecated: Use StartPipelineRequest.ProtoReflect.Descriptor instead.

func (*StartPipelineRequest) GetAbortCurrent

func (x *StartPipelineRequest) GetAbortCurrent() bool

func (*StartPipelineRequest) GetCapsuleId

func (x *StartPipelineRequest) GetCapsuleId() string

func (*StartPipelineRequest) GetDryRun

func (x *StartPipelineRequest) GetDryRun() bool

func (*StartPipelineRequest) GetPipelineName

func (x *StartPipelineRequest) GetPipelineName() string

func (*StartPipelineRequest) GetProjectId

func (x *StartPipelineRequest) GetProjectId() string

func (*StartPipelineRequest) ProtoMessage

func (*StartPipelineRequest) ProtoMessage()

func (*StartPipelineRequest) ProtoReflect

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

func (*StartPipelineRequest) Reset

func (x *StartPipelineRequest) Reset()

func (*StartPipelineRequest) String

func (x *StartPipelineRequest) String() string

type StartPipelineResponse

type StartPipelineResponse struct {
	Status *pipeline.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	// Breakdown of the changes that will be made to the environments throughout
	// the pipeline. Only populated if dry-run is used.
	DryRunOutcomes []*PipelineDryRunOutput `protobuf:"bytes,2,rep,name=dry_run_outcomes,json=dryRunOutcomes,proto3" json:"dry_run_outcomes,omitempty"`
	// contains filtered or unexported fields
}

func (*StartPipelineResponse) Descriptor deprecated

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

Deprecated: Use StartPipelineResponse.ProtoReflect.Descriptor instead.

func (*StartPipelineResponse) GetDryRunOutcomes

func (x *StartPipelineResponse) GetDryRunOutcomes() []*PipelineDryRunOutput

func (*StartPipelineResponse) GetStatus

func (x *StartPipelineResponse) GetStatus() *pipeline.Status

func (*StartPipelineResponse) ProtoMessage

func (*StartPipelineResponse) ProtoMessage()

func (*StartPipelineResponse) ProtoReflect

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

func (*StartPipelineResponse) Reset

func (x *StartPipelineResponse) Reset()

func (*StartPipelineResponse) String

func (x *StartPipelineResponse) String() string

type State

type State int32
const (
	State_STATE_UNSPECIFIED State = 0
	State_STATE_PENDING     State = 1
	State_STATE_RUNNING     State = 2
	State_STATE_SUCCEEDED   State = 3
	State_STATE_FAILED      State = 4
)

func (State) Descriptor

func (State) Descriptor() protoreflect.EnumDescriptor

func (State) Enum

func (x State) Enum() *State

func (State) EnumDescriptor deprecated

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

Deprecated: Use State.Descriptor instead.

func (State) Number

func (x State) Number() protoreflect.EnumNumber

func (State) String

func (x State) String() string

func (State) Type

func (State) Type() protoreflect.EnumType

type Status

type Status struct {
	Namespace        string              `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Capsule          *CapsuleStatus      `protobuf:"bytes,2,opt,name=capsule,proto3" json:"capsule,omitempty"`
	CurrentRolloutId uint64              `protobuf:"varint,3,opt,name=current_rollout_id,json=currentRolloutId,proto3" json:"current_rollout_id,omitempty"`
	ContainerConfig  *ContainerConfig    `protobuf:"bytes,4,opt,name=container_config,json=containerConfig,proto3" json:"container_config,omitempty"`
	Instances        *InstancesStatus    `protobuf:"bytes,5,opt,name=instances,proto3" json:"instances,omitempty"`
	Interfaces       []*InterfaceStatus  `protobuf:"bytes,6,rep,name=interfaces,proto3" json:"interfaces,omitempty"`
	ConfigFiles      []*ConfigFileStatus `protobuf:"bytes,7,rep,name=config_files,json=configFiles,proto3" json:"config_files,omitempty"`
	CronJobs         []*CronJobStatus    `protobuf:"bytes,8,rep,name=cron_jobs,json=cronJobs,proto3" json:"cron_jobs,omitempty"`
	// List of all issues associated to the Capsule, include those of the current
	// rollout. The list does not include instance-level issues.
	Issues []*issue.Issue `protobuf:"bytes,9,rep,name=issues,proto3" json:"issues,omitempty"`
	// contains filtered or unexported fields
}

func (*Status) Descriptor deprecated

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

Deprecated: Use Status.ProtoReflect.Descriptor instead.

func (*Status) GetCapsule

func (x *Status) GetCapsule() *CapsuleStatus

func (*Status) GetConfigFiles

func (x *Status) GetConfigFiles() []*ConfigFileStatus

func (*Status) GetContainerConfig

func (x *Status) GetContainerConfig() *ContainerConfig

func (*Status) GetCronJobs

func (x *Status) GetCronJobs() []*CronJobStatus

func (*Status) GetCurrentRolloutId

func (x *Status) GetCurrentRolloutId() uint64

func (*Status) GetInstances

func (x *Status) GetInstances() *InstancesStatus

func (*Status) GetInterfaces

func (x *Status) GetInterfaces() []*InterfaceStatus

func (*Status) GetIssues

func (x *Status) GetIssues() []*issue.Issue

func (*Status) GetNamespace

func (x *Status) GetNamespace() string

func (*Status) ProtoMessage

func (*Status) ProtoMessage()

func (*Status) ProtoReflect

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

func (*Status) Reset

func (x *Status) Reset()

func (*Status) String

func (x *Status) String() string

type StatusTimestamps

type StatusTimestamps struct {
	Entered *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=entered,proto3" json:"entered,omitempty"`
	Updated *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=updated,proto3" json:"updated,omitempty"`
	Exited  *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=exited,proto3" json:"exited,omitempty"`
	// contains filtered or unexported fields
}

func (*StatusTimestamps) Descriptor deprecated

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

Deprecated: Use StatusTimestamps.ProtoReflect.Descriptor instead.

func (*StatusTimestamps) GetEntered

func (x *StatusTimestamps) GetEntered() *timestamppb.Timestamp

func (*StatusTimestamps) GetExited

func (x *StatusTimestamps) GetExited() *timestamppb.Timestamp

func (*StatusTimestamps) GetUpdated

func (x *StatusTimestamps) GetUpdated() *timestamppb.Timestamp

func (*StatusTimestamps) ProtoMessage

func (*StatusTimestamps) ProtoMessage()

func (*StatusTimestamps) ProtoReflect

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

func (*StatusTimestamps) Reset

func (x *StatusTimestamps) Reset()

func (*StatusTimestamps) String

func (x *StatusTimestamps) String() string

type StopRolloutRequest

type StopRolloutRequest struct {

	// The capsule of the aborting rollout.
	CapsuleId string `protobuf:"bytes,1,opt,name=capsule_id,json=capsuleId,proto3" json:"capsule_id,omitempty"`
	// The rollout to stop.
	RolloutId uint64 `protobuf:"varint,2,opt,name=rollout_id,json=rolloutId,proto3" json:"rollout_id,omitempty"`
	// The project in which the capsule lives.
	ProjectId string `protobuf:"bytes,3,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// contains filtered or unexported fields
}

StopRolloutRequest aborts a rollout.

func (*StopRolloutRequest) Descriptor deprecated

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

Deprecated: Use StopRolloutRequest.ProtoReflect.Descriptor instead.

func (*StopRolloutRequest) GetCapsuleId

func (x *StopRolloutRequest) GetCapsuleId() string

func (*StopRolloutRequest) GetProjectId

func (x *StopRolloutRequest) GetProjectId() string

func (*StopRolloutRequest) GetRolloutId

func (x *StopRolloutRequest) GetRolloutId() uint64

func (*StopRolloutRequest) ProtoMessage

func (*StopRolloutRequest) ProtoMessage()

func (*StopRolloutRequest) ProtoReflect

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

func (*StopRolloutRequest) Reset

func (x *StopRolloutRequest) Reset()

func (*StopRolloutRequest) String

func (x *StopRolloutRequest) String() string

type StopRolloutResponse

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

StopRolloutResponse is an empty response.

func (*StopRolloutResponse) Descriptor deprecated

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

Deprecated: Use StopRolloutResponse.ProtoReflect.Descriptor instead.

func (*StopRolloutResponse) ProtoMessage

func (*StopRolloutResponse) ProtoMessage()

func (*StopRolloutResponse) ProtoReflect

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

func (*StopRolloutResponse) Reset

func (x *StopRolloutResponse) Reset()

func (*StopRolloutResponse) String

func (x *StopRolloutResponse) String() string

type StreamData

type StreamData struct {

	// Stream data.
	Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// If the stream is closed.
	Closed bool `protobuf:"varint,2,opt,name=closed,proto3" json:"closed,omitempty"`
	// contains filtered or unexported fields
}

StreamData for Execute RPC.

func (*StreamData) Descriptor deprecated

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

Deprecated: Use StreamData.ProtoReflect.Descriptor instead.

func (*StreamData) GetClosed

func (x *StreamData) GetClosed() bool

func (*StreamData) GetData

func (x *StreamData) GetData() []byte

func (*StreamData) ProtoMessage

func (*StreamData) ProtoMessage()

func (*StreamData) ProtoReflect

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

func (*StreamData) Reset

func (x *StreamData) Reset()

func (*StreamData) String

func (x *StreamData) String() string

type Transition

type Transition int32
const (
	Transition_TRANSITION_UNSPECIFIED   Transition = 0
	Transition_TRANSITION_BEING_CREATED Transition = 1
	Transition_TRANSITION_UP_TO_DATE    Transition = 2
	Transition_TRANSITION_BEING_DELETED Transition = 3
)

func (Transition) Descriptor

func (Transition) Descriptor() protoreflect.EnumDescriptor

func (Transition) Enum

func (x Transition) Enum() *Transition

func (Transition) EnumDescriptor deprecated

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

Deprecated: Use Transition.Descriptor instead.

func (Transition) Number

func (x Transition) Number() protoreflect.EnumNumber

func (Transition) String

func (x Transition) String() string

func (Transition) Type

type UnimplementedServiceServer

type UnimplementedServiceServer struct {
}

UnimplementedServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedServiceServer) AbortPipeline

func (UnimplementedServiceServer) AbortRollout

func (UnimplementedServiceServer) CapsuleMetrics

func (UnimplementedServiceServer) Create

func (UnimplementedServiceServer) Delete

func (UnimplementedServiceServer) Deploy

func (UnimplementedServiceServer) DeploySet

func (UnimplementedServiceServer) Execute

func (UnimplementedServiceServer) Get

func (UnimplementedServiceServer) GetJobExecutions

func (UnimplementedServiceServer) GetRevision

func (UnimplementedServiceServer) GetRollout

func (UnimplementedServiceServer) GetStatus

func (UnimplementedServiceServer) List

func (UnimplementedServiceServer) ListEvents

func (UnimplementedServiceServer) ListInstances

func (UnimplementedServiceServer) ListProposals

func (UnimplementedServiceServer) ListRollouts

func (UnimplementedServiceServer) ListSetProposals

func (UnimplementedServiceServer) Logs

func (UnimplementedServiceServer) PortForward

func (UnimplementedServiceServer) PromotePipeline

func (UnimplementedServiceServer) ProposeRollout

func (UnimplementedServiceServer) RestartInstance

func (UnimplementedServiceServer) StartPipeline

func (UnimplementedServiceServer) StopRollout

func (UnimplementedServiceServer) Update

func (UnimplementedServiceServer) WatchRollouts

func (UnimplementedServiceServer) WatchStatus

type UnsafeServiceServer

type UnsafeServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ServiceServer will result in compilation errors.

type Update

type Update struct {

	// Types that are assignable to Field:
	//
	//	*Update_SetGitStore
	Field isUpdate_Field `protobuf_oneof:"field"`
	// contains filtered or unexported fields
}

func (*Update) Descriptor deprecated

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

Deprecated: Use Update.ProtoReflect.Descriptor instead.

func (*Update) GetField

func (m *Update) GetField() isUpdate_Field

func (*Update) GetSetGitStore

func (x *Update) GetSetGitStore() *model.GitStore

func (*Update) ProtoMessage

func (*Update) ProtoMessage()

func (*Update) ProtoReflect

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

func (*Update) Reset

func (x *Update) Reset()

func (*Update) String

func (x *Update) String() string

type UpdateRequest

type UpdateRequest struct {

	// The capsule to update.
	CapsuleId string `protobuf:"bytes,1,opt,name=capsule_id,json=capsuleId,proto3" json:"capsule_id,omitempty"`
	// The updates to apply to the capsule.
	Updates   []*Update `protobuf:"bytes,2,rep,name=updates,proto3" json:"updates,omitempty"`
	ProjectId string    `protobuf:"bytes,3,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// contains filtered or unexported fields
}

Deprecated update - This is now a no-op

func (*UpdateRequest) Descriptor deprecated

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

Deprecated: Use UpdateRequest.ProtoReflect.Descriptor instead.

func (*UpdateRequest) GetCapsuleId

func (x *UpdateRequest) GetCapsuleId() string

func (*UpdateRequest) GetProjectId

func (x *UpdateRequest) GetProjectId() string

func (*UpdateRequest) GetUpdates

func (x *UpdateRequest) GetUpdates() []*Update

func (*UpdateRequest) ProtoMessage

func (*UpdateRequest) ProtoMessage()

func (*UpdateRequest) ProtoReflect

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

func (*UpdateRequest) Reset

func (x *UpdateRequest) Reset()

func (*UpdateRequest) String

func (x *UpdateRequest) String() string

type UpdateResponse deprecated

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

Deprecated: Empty update response.

func (*UpdateResponse) Descriptor deprecated

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

Deprecated: Use UpdateResponse.ProtoReflect.Descriptor instead.

func (*UpdateResponse) ProtoMessage

func (*UpdateResponse) ProtoMessage()

func (*UpdateResponse) ProtoReflect

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

func (*UpdateResponse) Reset

func (x *UpdateResponse) Reset()

func (*UpdateResponse) String

func (x *UpdateResponse) String() string

type Update_SetGitStore

type Update_SetGitStore struct {
	// Set the git store.
	SetGitStore *model.GitStore `protobuf:"bytes,1,opt,name=set_git_store,json=setGitStore,proto3,oneof"`
}

type WatchInstanceStatusesRequest

type WatchInstanceStatusesRequest struct {

	// The capsule to get the instance statuses from.
	CapsuleId string `protobuf:"bytes,1,opt,name=capsule_id,json=capsuleId,proto3" json:"capsule_id,omitempty"`
	// The project in which the capsule is.
	ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// The environment to get the instance statuses from.
	EnvironmentId string `protobuf:"bytes,3,opt,name=environment_id,json=environmentId,proto3" json:"environment_id,omitempty"`
	// If given, only the instance with this ID will be watched.
	InstanceId string `protobuf:"bytes,4,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
	// if true, deleted instances will be included in the response.
	IncludeDeleted bool `protobuf:"varint,5,opt,name=include_deleted,json=includeDeleted,proto3" json:"include_deleted,omitempty"`
	// if true, existing instances will be excluded from the response.
	ExcludeExisting bool `protobuf:"varint,6,opt,name=exclude_existing,json=excludeExisting,proto3" json:"exclude_existing,omitempty"`
	// Pagination options.
	Pagination *model.Pagination `protobuf:"bytes,7,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

func (*WatchInstanceStatusesRequest) Descriptor deprecated

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

Deprecated: Use WatchInstanceStatusesRequest.ProtoReflect.Descriptor instead.

func (*WatchInstanceStatusesRequest) GetCapsuleId

func (x *WatchInstanceStatusesRequest) GetCapsuleId() string

func (*WatchInstanceStatusesRequest) GetEnvironmentId

func (x *WatchInstanceStatusesRequest) GetEnvironmentId() string

func (*WatchInstanceStatusesRequest) GetExcludeExisting

func (x *WatchInstanceStatusesRequest) GetExcludeExisting() bool

func (*WatchInstanceStatusesRequest) GetIncludeDeleted

func (x *WatchInstanceStatusesRequest) GetIncludeDeleted() bool

func (*WatchInstanceStatusesRequest) GetInstanceId

func (x *WatchInstanceStatusesRequest) GetInstanceId() string

func (*WatchInstanceStatusesRequest) GetPagination

func (x *WatchInstanceStatusesRequest) GetPagination() *model.Pagination

func (*WatchInstanceStatusesRequest) GetProjectId

func (x *WatchInstanceStatusesRequest) GetProjectId() string

func (*WatchInstanceStatusesRequest) ProtoMessage

func (*WatchInstanceStatusesRequest) ProtoMessage()

func (*WatchInstanceStatusesRequest) ProtoReflect

func (*WatchInstanceStatusesRequest) Reset

func (x *WatchInstanceStatusesRequest) Reset()

func (*WatchInstanceStatusesRequest) String

type WatchInstanceStatusesResponse

type WatchInstanceStatusesResponse struct {

	// Types that are assignable to Response:
	//
	//	*WatchInstanceStatusesResponse_Updated
	//	*WatchInstanceStatusesResponse_Deleted
	Response isWatchInstanceStatusesResponse_Response `protobuf_oneof:"response"`
	// contains filtered or unexported fields
}

func (*WatchInstanceStatusesResponse) Descriptor deprecated

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

Deprecated: Use WatchInstanceStatusesResponse.ProtoReflect.Descriptor instead.

func (*WatchInstanceStatusesResponse) GetDeleted

func (x *WatchInstanceStatusesResponse) GetDeleted() string

func (*WatchInstanceStatusesResponse) GetResponse

func (m *WatchInstanceStatusesResponse) GetResponse() isWatchInstanceStatusesResponse_Response

func (*WatchInstanceStatusesResponse) GetUpdated

func (*WatchInstanceStatusesResponse) ProtoMessage

func (*WatchInstanceStatusesResponse) ProtoMessage()

func (*WatchInstanceStatusesResponse) ProtoReflect

func (*WatchInstanceStatusesResponse) Reset

func (x *WatchInstanceStatusesResponse) Reset()

func (*WatchInstanceStatusesResponse) String

type WatchInstanceStatusesResponse_Deleted

type WatchInstanceStatusesResponse_Deleted struct {
	Deleted string `protobuf:"bytes,2,opt,name=deleted,proto3,oneof"`
}

type WatchInstanceStatusesResponse_Updated

type WatchInstanceStatusesResponse_Updated struct {
	Updated *instance.Status `protobuf:"bytes,1,opt,name=updated,proto3,oneof"`
}

type WatchRolloutsRequest

type WatchRolloutsRequest struct {

	// The capsule to list rollouts for.
	CapsuleId string `protobuf:"bytes,1,opt,name=capsule_id,json=capsuleId,proto3" json:"capsule_id,omitempty"`
	// The project in which the capsule lives.
	ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// The environment to list rollouts for.
	EnvironmentId string `protobuf:"bytes,3,opt,name=environment_id,json=environmentId,proto3" json:"environment_id,omitempty"`
	// If given only the rollout with this ID will be watched.
	RolloutId uint64 `protobuf:"varint,4,opt,name=rollout_id,json=rolloutId,proto3" json:"rollout_id,omitempty"`
	// Pagination options.
	Pagination *model.Pagination `protobuf:"bytes,5,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

func (*WatchRolloutsRequest) Descriptor deprecated

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

Deprecated: Use WatchRolloutsRequest.ProtoReflect.Descriptor instead.

func (*WatchRolloutsRequest) GetCapsuleId

func (x *WatchRolloutsRequest) GetCapsuleId() string

func (*WatchRolloutsRequest) GetEnvironmentId

func (x *WatchRolloutsRequest) GetEnvironmentId() string

func (*WatchRolloutsRequest) GetPagination

func (x *WatchRolloutsRequest) GetPagination() *model.Pagination

func (*WatchRolloutsRequest) GetProjectId

func (x *WatchRolloutsRequest) GetProjectId() string

func (*WatchRolloutsRequest) GetRolloutId

func (x *WatchRolloutsRequest) GetRolloutId() uint64

func (*WatchRolloutsRequest) ProtoMessage

func (*WatchRolloutsRequest) ProtoMessage()

func (*WatchRolloutsRequest) ProtoReflect

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

func (*WatchRolloutsRequest) Reset

func (x *WatchRolloutsRequest) Reset()

func (*WatchRolloutsRequest) String

func (x *WatchRolloutsRequest) String() string

type WatchRolloutsResponse

type WatchRolloutsResponse struct {
	Updated *Rollout `protobuf:"bytes,1,opt,name=updated,proto3" json:"updated,omitempty"`
	// contains filtered or unexported fields
}

func (*WatchRolloutsResponse) Descriptor deprecated

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

Deprecated: Use WatchRolloutsResponse.ProtoReflect.Descriptor instead.

func (*WatchRolloutsResponse) GetUpdated

func (x *WatchRolloutsResponse) GetUpdated() *Rollout

func (*WatchRolloutsResponse) ProtoMessage

func (*WatchRolloutsResponse) ProtoMessage()

func (*WatchRolloutsResponse) ProtoReflect

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

func (*WatchRolloutsResponse) Reset

func (x *WatchRolloutsResponse) Reset()

func (*WatchRolloutsResponse) String

func (x *WatchRolloutsResponse) String() string

type WatchStatusRequest

type WatchStatusRequest struct {

	// The capsule to watch the status of.
	CapsuleId string `protobuf:"bytes,1,opt,name=capsule_id,json=capsuleId,proto3" json:"capsule_id,omitempty"`
	// The project in which the capsule lives.
	ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// The environment to watch the status of.
	EnvironmentId string `protobuf:"bytes,3,opt,name=environment_id,json=environmentId,proto3" json:"environment_id,omitempty"`
	// contains filtered or unexported fields
}

func (*WatchStatusRequest) Descriptor deprecated

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

Deprecated: Use WatchStatusRequest.ProtoReflect.Descriptor instead.

func (*WatchStatusRequest) GetCapsuleId

func (x *WatchStatusRequest) GetCapsuleId() string

func (*WatchStatusRequest) GetEnvironmentId

func (x *WatchStatusRequest) GetEnvironmentId() string

func (*WatchStatusRequest) GetProjectId

func (x *WatchStatusRequest) GetProjectId() string

func (*WatchStatusRequest) ProtoMessage

func (*WatchStatusRequest) ProtoMessage()

func (*WatchStatusRequest) ProtoReflect

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

func (*WatchStatusRequest) Reset

func (x *WatchStatusRequest) Reset()

func (*WatchStatusRequest) String

func (x *WatchStatusRequest) String() string

type WatchStatusResponse

type WatchStatusResponse struct {
	Status *Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*WatchStatusResponse) Descriptor deprecated

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

Deprecated: Use WatchStatusResponse.ProtoReflect.Descriptor instead.

func (*WatchStatusResponse) GetStatus

func (x *WatchStatusResponse) GetStatus() *Status

func (*WatchStatusResponse) ProtoMessage

func (*WatchStatusResponse) ProtoMessage()

func (*WatchStatusResponse) ProtoReflect

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

func (*WatchStatusResponse) Reset

func (x *WatchStatusResponse) Reset()

func (*WatchStatusResponse) String

func (x *WatchStatusResponse) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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