capsule

package
v0.0.0-...-e5eebad Latest Latest
Warning

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

Go to latest
Published: May 3, 2024 License: Apache-2.0 Imports: 13 Imported by: 11

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",
	}
	PathMatchType_value = map[string]int32{
		"PATH_MATCH_TYPE_UNSPECIFIED": 0,
		"PATH_MATCH_TYPE_PATH_PREFIX": 1,
		"PATH_MATCH_TYPE_EXACT":       2,
	}
)

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 (
	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 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_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_metrics_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 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: "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,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "Logs",
			Handler:       _Service_Logs_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "Execute",
			Handler:       _Service_Execute_Handler,
			ServerStreams: true,
			ClientStreams: 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 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"`
	// 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) 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 []*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() []*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 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_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_
	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) 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) 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_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_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 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 ContainerMetrics

type ContainerMetrics struct {

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

Metrics for a container.

func (*ContainerMetrics) Descriptor deprecated

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

Deprecated: Use ContainerMetrics.ProtoReflect.Descriptor instead.

func (*ContainerMetrics) GetCpuMs

func (x *ContainerMetrics) GetCpuMs() uint64

func (*ContainerMetrics) GetMemoryBytes

func (x *ContainerMetrics) GetMemoryBytes() uint64

func (*ContainerMetrics) GetStorageBytes

func (x *ContainerMetrics) GetStorageBytes() uint64

func (*ContainerMetrics) GetTimestamp

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

func (*ContainerMetrics) ProtoMessage

func (*ContainerMetrics) ProtoMessage()

func (*ContainerMetrics) ProtoReflect

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

func (*ContainerMetrics) Reset

func (x *ContainerMetrics) Reset()

func (*ContainerMetrics) String

func (x *ContainerMetrics) String() string

type 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 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 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"`
	// 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"`
	// 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) 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) 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.
	ResourceYaml map[string]string `` /* 185-byte string literal not displayed */
	// The rollout config.
	RolloutConfig *RolloutConfig `protobuf:"bytes,3,opt,name=rollout_config,json=rolloutConfig,proto3" json:"rollout_config,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) GetResourceYaml

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

func (*DeployResponse) GetRolloutConfig

func (x *DeployResponse) GetRolloutConfig() *RolloutConfig

func (*DeployResponse) GetRolloutId

func (x *DeployResponse) GetRolloutId() uint64

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 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 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 []*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() []*Metric

func (*GetCustomInstanceMetricsResponse) ProtoMessage

func (*GetCustomInstanceMetricsResponse) ProtoMessage()

func (*GetCustomInstanceMetricsResponse) ProtoReflect

func (*GetCustomInstanceMetricsResponse) Reset

func (*GetCustomInstanceMetricsResponse) 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 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"`
	// 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) 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 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 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 InstanceMetrics

type InstanceMetrics struct {

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

Metrics for an instance

func (*InstanceMetrics) Descriptor deprecated

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

Deprecated: Use InstanceMetrics.ProtoReflect.Descriptor instead.

func (*InstanceMetrics) GetCapsuleId

func (x *InstanceMetrics) GetCapsuleId() string

func (*InstanceMetrics) GetInstanceId

func (x *InstanceMetrics) GetInstanceId() string

func (*InstanceMetrics) GetMainContainer

func (x *InstanceMetrics) GetMainContainer() *ContainerMetrics

func (*InstanceMetrics) GetProxyContainer

func (x *InstanceMetrics) GetProxyContainer() *ContainerMetrics

func (*InstanceMetrics) ProtoMessage

func (*InstanceMetrics) ProtoMessage()

func (*InstanceMetrics) ProtoReflect

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

func (*InstanceMetrics) Reset

func (x *InstanceMetrics) Reset()

func (*InstanceMetrics) String

func (x *InstanceMetrics) String() string

type 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 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 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 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 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 Metric

type Metric struct {

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

Custom metrics

func (*Metric) Descriptor deprecated

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

Deprecated: Use Metric.ProtoReflect.Descriptor instead.

func (*Metric) GetLatestTimestamp

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

func (*Metric) GetLatestValue

func (x *Metric) GetLatestValue() float64

func (*Metric) GetName

func (x *Metric) GetName() string

func (*Metric) ProtoMessage

func (*Metric) ProtoMessage()

func (*Metric) ProtoReflect

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

func (*Metric) Reset

func (x *Metric) Reset()

func (*Metric) String

func (x *Metric) String() string

type 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 *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() *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 ObjectReference

type ObjectReference struct {

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

A reference to a kubernetes object.

func (*ObjectReference) Descriptor deprecated

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

Deprecated: Use ObjectReference.ProtoReflect.Descriptor instead.

func (*ObjectReference) GetApiVersion

func (x *ObjectReference) GetApiVersion() string

func (*ObjectReference) GetKind

func (x *ObjectReference) GetKind() string

func (*ObjectReference) GetName

func (x *ObjectReference) GetName() string

func (*ObjectReference) ProtoMessage

func (*ObjectReference) ProtoMessage()

func (*ObjectReference) ProtoReflect

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

func (*ObjectReference) Reset

func (x *ObjectReference) Reset()

func (*ObjectReference) String

func (x *ObjectReference) String() string

type 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
)

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 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 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"`
	// 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) GetConfig

func (x *Rollout) GetConfig() *RolloutConfig

func (*Rollout) GetRolloutId

func (x *Rollout) GetRolloutId() uint64

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"`
	Changes                   []*Change              `protobuf:"bytes,3,rep,name=changes,proto3" json:"changes,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) GetChanges

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

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)
	// 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)
	// 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)
	// 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)
	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)
}

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)
	// 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)
	// 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)
	// Execute executes a command in a given in instance,
	// and returns the output along with an exit code.
	Execute(Service_ExecuteServer) error
	GetCustomInstanceMetrics(context.Context, *GetCustomInstanceMetricsRequest) (*GetCustomInstanceMetricsResponse, error)
	// Get list of job executions performed by the Capsule.
	GetJobExecutions(context.Context, *GetJobExecutionsRequest) (*GetJobExecutionsResponse, 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 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 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 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 UnimplementedServiceServer

type UnimplementedServiceServer struct {
}

UnimplementedServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedServiceServer) AbortRollout

func (UnimplementedServiceServer) CapsuleMetrics

func (UnimplementedServiceServer) Create

func (UnimplementedServiceServer) Delete

func (UnimplementedServiceServer) Deploy

func (UnimplementedServiceServer) Execute

func (UnimplementedServiceServer) Get

func (UnimplementedServiceServer) GetJobExecutions

func (UnimplementedServiceServer) GetRollout

func (UnimplementedServiceServer) List

func (UnimplementedServiceServer) ListEvents

func (UnimplementedServiceServer) ListInstances

func (UnimplementedServiceServer) ListRollouts

func (UnimplementedServiceServer) Logs

func (UnimplementedServiceServer) RestartInstance

func (UnimplementedServiceServer) StopRollout

func (UnimplementedServiceServer) Update

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 {
	// contains filtered or unexported fields
}

Legacy update message

func (*Update) Descriptor deprecated

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

Deprecated: Use Update.ProtoReflect.Descriptor instead.

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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