compute

package
v1.0.1-0...-26ec577 Latest Latest
Warning

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

Go to latest
Published: May 16, 2024 License: MPL-2.0 Imports: 18 Imported by: 0

Documentation

Overview

Package compute is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	Compute_LaunchSatellite_FullMethodName     = "/api.public.compute.Compute/LaunchSatellite"
	Compute_ListSatellites_FullMethodName      = "/api.public.compute.Compute/ListSatellites"
	Compute_UpdateSatellite_FullMethodName     = "/api.public.compute.Compute/UpdateSatellite"
	Compute_DeleteSatellite_FullMethodName     = "/api.public.compute.Compute/DeleteSatellite"
	Compute_GetSatellite_FullMethodName        = "/api.public.compute.Compute/GetSatellite"
	Compute_RegisterSatellite_FullMethodName   = "/api.public.compute.Compute/RegisterSatellite"
	Compute_DeregisterSatellite_FullMethodName = "/api.public.compute.Compute/DeregisterSatellite"
	Compute_SatelliteHeartbeat_FullMethodName  = "/api.public.compute.Compute/SatelliteHeartbeat"
	Compute_WakeSatellite_FullMethodName       = "/api.public.compute.Compute/WakeSatellite"
	Compute_SleepSatellite_FullMethodName      = "/api.public.compute.Compute/SleepSatellite"
	Compute_ReserveSatellite_FullMethodName    = "/api.public.compute.Compute/ReserveSatellite"
	Compute_SetGithubToken_FullMethodName      = "/api.public.compute.Compute/SetGithubToken"
	Compute_PickGithubJobs_FullMethodName      = "/api.public.compute.Compute/PickGithubJobs"
	Compute_ConfigureCloud_FullMethodName      = "/api.public.compute.Compute/ConfigureCloud"
	Compute_UseCloud_FullMethodName            = "/api.public.compute.Compute/UseCloud"
	Compute_ListClouds_FullMethodName          = "/api.public.compute.Compute/ListClouds"
	Compute_DeleteCloud_FullMethodName         = "/api.public.compute.Compute/DeleteCloud"
)

Variables

View Source
var (
	CloudStatus_name = map[int32]string{
		0: "CLOUD_STATUS_UNKNOWN",
		1: "CLOUD_STATUS_PROBLEM",
		2: "CLOUD_STATUS_ACCOUNT_CONNECTED",
		3: "CLOUD_STATUS_ACCOUNT_ACTIVE",
		4: "CLOUD_STATUS_GREEN",
		5: "CLOUD_STATUS_YELLOW",
		6: "CLOUD_STATUS_RED",
	}
	CloudStatus_value = map[string]int32{
		"CLOUD_STATUS_UNKNOWN":           0,
		"CLOUD_STATUS_PROBLEM":           1,
		"CLOUD_STATUS_ACCOUNT_CONNECTED": 2,
		"CLOUD_STATUS_ACCOUNT_ACTIVE":    3,
		"CLOUD_STATUS_GREEN":             4,
		"CLOUD_STATUS_YELLOW":            5,
		"CLOUD_STATUS_RED":               6,
	}
)

Enum value maps for CloudStatus.

View Source
var (
	SatelliteStatus_name = map[int32]string{
		0: "SATELLITE_STATUS_UNKNOWN",
		1: "SATELLITE_STATUS_CREATING",
		2: "SATELLITE_STATUS_OPERATIONAL",
		3: "SATELLITE_STATUS_OFFLINE",
		4: "SATELLITE_STATUS_DESTROYING",
		5: "SATELLITE_STATUS_FAILED",
		6: "SATELLITE_STATUS_SLEEP",
		7: "SATELLITE_STATUS_STARTING",
		8: "SATELLITE_STATUS_STOPPING",
		9: "SATELLITE_STATUS_UPDATING",
	}
	SatelliteStatus_value = map[string]int32{
		"SATELLITE_STATUS_UNKNOWN":     0,
		"SATELLITE_STATUS_CREATING":    1,
		"SATELLITE_STATUS_OPERATIONAL": 2,
		"SATELLITE_STATUS_OFFLINE":     3,
		"SATELLITE_STATUS_DESTROYING":  4,
		"SATELLITE_STATUS_FAILED":      5,
		"SATELLITE_STATUS_SLEEP":       6,
		"SATELLITE_STATUS_STARTING":    7,
		"SATELLITE_STATUS_STOPPING":    8,
		"SATELLITE_STATUS_UPDATING":    9,
	}
)

Enum value maps for SatelliteStatus.

View Source
var Compute_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "api.public.compute.Compute",
	HandlerType: (*ComputeServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "LaunchSatellite",
			Handler:    _Compute_LaunchSatellite_Handler,
		},
		{
			MethodName: "ListSatellites",
			Handler:    _Compute_ListSatellites_Handler,
		},
		{
			MethodName: "UpdateSatellite",
			Handler:    _Compute_UpdateSatellite_Handler,
		},
		{
			MethodName: "DeleteSatellite",
			Handler:    _Compute_DeleteSatellite_Handler,
		},
		{
			MethodName: "GetSatellite",
			Handler:    _Compute_GetSatellite_Handler,
		},
		{
			MethodName: "RegisterSatellite",
			Handler:    _Compute_RegisterSatellite_Handler,
		},
		{
			MethodName: "DeregisterSatellite",
			Handler:    _Compute_DeregisterSatellite_Handler,
		},
		{
			MethodName: "SatelliteHeartbeat",
			Handler:    _Compute_SatelliteHeartbeat_Handler,
		},
		{
			MethodName: "SetGithubToken",
			Handler:    _Compute_SetGithubToken_Handler,
		},
		{
			MethodName: "ConfigureCloud",
			Handler:    _Compute_ConfigureCloud_Handler,
		},
		{
			MethodName: "UseCloud",
			Handler:    _Compute_UseCloud_Handler,
		},
		{
			MethodName: "ListClouds",
			Handler:    _Compute_ListClouds_Handler,
		},
		{
			MethodName: "DeleteCloud",
			Handler:    _Compute_DeleteCloud_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "WakeSatellite",
			Handler:       _Compute_WakeSatellite_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "SleepSatellite",
			Handler:       _Compute_SleepSatellite_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "ReserveSatellite",
			Handler:       _Compute_ReserveSatellite_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "PickGithubJobs",
			Handler:       _Compute_PickGithubJobs_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "compute.proto",
}

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

View Source
var File_compute_proto protoreflect.FileDescriptor

Functions

func RegisterComputeHandler

func RegisterComputeHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterComputeHandler registers the http handlers for service Compute to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterComputeHandlerClient

func RegisterComputeHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ComputeClient) error

RegisterComputeHandlerClient registers the http handlers for service Compute to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "ComputeClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "ComputeClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "ComputeClient" to call the correct interceptors.

func RegisterComputeHandlerFromEndpoint

func RegisterComputeHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterComputeHandlerFromEndpoint is same as RegisterComputeHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterComputeHandlerServer

func RegisterComputeHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ComputeServer) error

RegisterComputeHandlerServer registers the http handlers for service Compute to "mux". UnaryRPC :call ComputeServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterComputeHandlerFromEndpoint instead.

func RegisterComputeServer

func RegisterComputeServer(s grpc.ServiceRegistrar, srv ComputeServer)

Types

type BuildkitSession

type BuildkitSession struct {
	SessionId string                 `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	StartedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"`
	EndedAt   *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=ended_at,json=endedAt,proto3" json:"ended_at,omitempty"`
	// contains filtered or unexported fields
}

func (*BuildkitSession) Descriptor deprecated

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

Deprecated: Use BuildkitSession.ProtoReflect.Descriptor instead.

func (*BuildkitSession) GetEndedAt

func (x *BuildkitSession) GetEndedAt() *timestamppb.Timestamp

func (*BuildkitSession) GetSessionId

func (x *BuildkitSession) GetSessionId() string

func (*BuildkitSession) GetStartedAt

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

func (*BuildkitSession) ProtoMessage

func (*BuildkitSession) ProtoMessage()

func (*BuildkitSession) ProtoReflect

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

func (*BuildkitSession) Reset

func (x *BuildkitSession) Reset()

func (*BuildkitSession) String

func (x *BuildkitSession) String() string

type CloudStatus

type CloudStatus int32
const (
	CloudStatus_CLOUD_STATUS_UNKNOWN CloudStatus = 0 // Preserve the 0 value
	// Deprecated: Marked as deprecated in compute.proto.
	CloudStatus_CLOUD_STATUS_PROBLEM CloudStatus = 1 // There is a problem with this cloud configuration
	// Deprecated: Marked as deprecated in compute.proto.
	CloudStatus_CLOUD_STATUS_ACCOUNT_CONNECTED CloudStatus = 2 // We can assume a role in the account and start configuration
	// Deprecated: Marked as deprecated in compute.proto.
	CloudStatus_CLOUD_STATUS_ACCOUNT_ACTIVE CloudStatus = 3 // We have all the parts we need from the account to create a cloud configuration
	CloudStatus_CLOUD_STATUS_GREEN          CloudStatus = 4 // Everything is OK
	CloudStatus_CLOUD_STATUS_YELLOW         CloudStatus = 5 // We had some access, but there was a problem
	CloudStatus_CLOUD_STATUS_RED            CloudStatus = 6 // No access
)

func (CloudStatus) Descriptor

func (CloudStatus) Enum

func (x CloudStatus) Enum() *CloudStatus

func (CloudStatus) EnumDescriptor deprecated

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

Deprecated: Use CloudStatus.Descriptor instead.

func (CloudStatus) Number

func (x CloudStatus) Number() protoreflect.EnumNumber

func (CloudStatus) String

func (x CloudStatus) String() string

func (CloudStatus) Type

type ComputeClient

type ComputeClient interface {
	// LaunchSatellite starts a new Earthly Satellite instance on the latest version.
	// The instance can be used by users to build their local, Cloud, or 3rd-party CI builds.
	LaunchSatellite(ctx context.Context, in *LaunchSatelliteRequest, opts ...grpc.CallOption) (*LaunchSatelliteResponse, error)
	// ListSatellites returns a list of Earthly Satellite instances available in the organization.
	ListSatellites(ctx context.Context, in *ListSatellitesRequest, opts ...grpc.CallOption) (*ListSatellitesResponse, error)
	// UpdateSatellite updates a Satellite instance to the latest version.
	// (I.e. the latest AMI we have in AWS).
	// Calling this may result in some down-time on the instance while it updates.
	UpdateSatellite(ctx context.Context, in *UpdateSatelliteRequest, opts ...grpc.CallOption) (*UpdateSatelliteResponse, error)
	// DeleteSatellite decommissions a Satellite instance.
	DeleteSatellite(ctx context.Context, in *DeleteSatelliteRequest, opts ...grpc.CallOption) (*DeleteSatelliteResponse, error)
	// GetSatellite retrieves the details of a particular Satellite instance.
	// Mainly intended for use by Buildkit Proxy when establishing a new connection to an instance.
	GetSatellite(ctx context.Context, in *GetSatelliteRequest, opts ...grpc.CallOption) (*GetSatelliteResponse, error)
	// RegisterSatellite is called by a satellite once it is online and ready to accept builds.
	// The registration contains the satellite's connection info.
	// A registration token is returned, which must be passed-in to other endpoints related to registration,
	// such as DeregisterSatellite and SatelliteHeartbeat.
	RegisterSatellite(ctx context.Context, in *RegisterSatelliteRequest, opts ...grpc.CallOption) (*RegisterSatelliteResponse, error)
	// DeregisterSatellite immediately removes the satellite from the organization.
	DeregisterSatellite(ctx context.Context, in *DeregisterSatelliteRequest, opts ...grpc.CallOption) (*DeregisterSatelliteResponse, error)
	// SatelliteHeartbeat must be called periodically while a satellite is online.
	// The heartbeat request may also contain useful information about the satellite's state,
	// such as its op-load, or (in the future) session history.
	// If the compute service stops receiving heartbeats unexpectedly,
	// the satellite is automatically deregistered.
	SatelliteHeartbeat(ctx context.Context, in *SatelliteHeartbeatRequest, opts ...grpc.CallOption) (*SatelliteHeartbeatResponse, error)
	// WakeSatellite wakes a satellite that is in a sleep state.
	// The response returns a stream that sends updates as the satellite wakes up.
	// For example, the stream may send the following statuses:
	//
	//	SLEEP -> STARTING -> ... -> STARTING -> OPERATIONAL -> EOF
	WakeSatellite(ctx context.Context, in *WakeSatelliteRequest, opts ...grpc.CallOption) (Compute_WakeSatelliteClient, error)
	// SleepSatellite puts a satellite to sleep when it is awake.
	// The response is a stream which looks like the inverse of a WakeSatellite response.
	// Example when satellite is awake:
	//
	//	OPERATIONAL -> STOPPING -> ... -> STOPPING -> SLEEP -> EOF
	//
	// Example when satellite is already asleep:
	//
	//	SLEEP -> EOF
	SleepSatellite(ctx context.Context, in *SleepSatelliteRequest, opts ...grpc.CallOption) (Compute_SleepSatelliteClient, error)
	// ReserveSatellite both wakes the instance (if necessary) and calls reserve on buildkit.
	// It is a streaming call which returns status updates during the wake up process,
	// which can take a few moments. Some examples:
	// When the satellite is already awake, a single event is emitted before closing the stream:
	//
	//	OPERATIONAL -> EOF
	//
	// When the satellite is asleep, several events are emitted in the following sequence:
	//
	//	SLEEP -> STARTING -> ... -> STARTING -> OPERATIONAL -> EOF
	//
	// When the satellite is already being woken up, or launching for the first time:
	//
	//	STARTING -> ... -> STARTING -> OPERATIONAL -> EOF
	//
	// When the satellite is actively being put to sleep and needs to finish that process first:
	//
	//	STOPPING -> ... -> STARTING -> ... -> OPERATIONAL -> EOF
	ReserveSatellite(ctx context.Context, in *ReserveSatelliteRequest, opts ...grpc.CallOption) (Compute_ReserveSatelliteClient, error)
	// SetGithubTokenRequest sets the configuration to enable triggering satellite builds from GHA (GitHub Actions).
	SetGithubToken(ctx context.Context, in *SetGithubTokenRequest, opts ...grpc.CallOption) (*SetGithubTokenResponse, error)
	// PickGithubJobs lets satellites retrieve the GHA job information and run a JIT runner
	// Jobs returned are marked as picked, and won't be returned in another request for a limited period of time.
	PickGithubJobs(ctx context.Context, in *PickGithubJobsRequest, opts ...grpc.CallOption) (Compute_PickGithubJobsClient, error)
	// ConfigureCloud sets up (or re-does the setup) for the cloud with the given name. The setup validates we can access
	// the other account, and that the other account has all the pieces we need to manage satellites in it. Not a stream
	// because it should be a couple rather quick API calls on our end.
	ConfigureCloud(ctx context.Context, in *ConfigureCloudRequest, opts ...grpc.CallOption) (*ConfigureCloudResponse, error)
	// UseCloud sets the cloud with the given name as default, assuming it passes validation.
	UseCloud(ctx context.Context, in *UseCloudRequest, opts ...grpc.CallOption) (*UseCloudResponse, error)
	// ListClouds lists all the clouds available. Listing the clouds also checks the status of each cloud.
	ListClouds(ctx context.Context, in *ListCloudsRequest, opts ...grpc.CallOption) (*ListCloudsResponse, error)
	// DeleteCloud removes the named cloud, as long as it has no satellites in it. Not a stream because it should be quick.
	DeleteCloud(ctx context.Context, in *DeleteCloudRequest, opts ...grpc.CallOption) (*DeleteCloudResponse, error)
}

ComputeClient is the client API for Compute 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 NewComputeClient

func NewComputeClient(cc grpc.ClientConnInterface) ComputeClient

type ComputeServer

type ComputeServer interface {
	// LaunchSatellite starts a new Earthly Satellite instance on the latest version.
	// The instance can be used by users to build their local, Cloud, or 3rd-party CI builds.
	LaunchSatellite(context.Context, *LaunchSatelliteRequest) (*LaunchSatelliteResponse, error)
	// ListSatellites returns a list of Earthly Satellite instances available in the organization.
	ListSatellites(context.Context, *ListSatellitesRequest) (*ListSatellitesResponse, error)
	// UpdateSatellite updates a Satellite instance to the latest version.
	// (I.e. the latest AMI we have in AWS).
	// Calling this may result in some down-time on the instance while it updates.
	UpdateSatellite(context.Context, *UpdateSatelliteRequest) (*UpdateSatelliteResponse, error)
	// DeleteSatellite decommissions a Satellite instance.
	DeleteSatellite(context.Context, *DeleteSatelliteRequest) (*DeleteSatelliteResponse, error)
	// GetSatellite retrieves the details of a particular Satellite instance.
	// Mainly intended for use by Buildkit Proxy when establishing a new connection to an instance.
	GetSatellite(context.Context, *GetSatelliteRequest) (*GetSatelliteResponse, error)
	// RegisterSatellite is called by a satellite once it is online and ready to accept builds.
	// The registration contains the satellite's connection info.
	// A registration token is returned, which must be passed-in to other endpoints related to registration,
	// such as DeregisterSatellite and SatelliteHeartbeat.
	RegisterSatellite(context.Context, *RegisterSatelliteRequest) (*RegisterSatelliteResponse, error)
	// DeregisterSatellite immediately removes the satellite from the organization.
	DeregisterSatellite(context.Context, *DeregisterSatelliteRequest) (*DeregisterSatelliteResponse, error)
	// SatelliteHeartbeat must be called periodically while a satellite is online.
	// The heartbeat request may also contain useful information about the satellite's state,
	// such as its op-load, or (in the future) session history.
	// If the compute service stops receiving heartbeats unexpectedly,
	// the satellite is automatically deregistered.
	SatelliteHeartbeat(context.Context, *SatelliteHeartbeatRequest) (*SatelliteHeartbeatResponse, error)
	// WakeSatellite wakes a satellite that is in a sleep state.
	// The response returns a stream that sends updates as the satellite wakes up.
	// For example, the stream may send the following statuses:
	//
	//	SLEEP -> STARTING -> ... -> STARTING -> OPERATIONAL -> EOF
	WakeSatellite(*WakeSatelliteRequest, Compute_WakeSatelliteServer) error
	// SleepSatellite puts a satellite to sleep when it is awake.
	// The response is a stream which looks like the inverse of a WakeSatellite response.
	// Example when satellite is awake:
	//
	//	OPERATIONAL -> STOPPING -> ... -> STOPPING -> SLEEP -> EOF
	//
	// Example when satellite is already asleep:
	//
	//	SLEEP -> EOF
	SleepSatellite(*SleepSatelliteRequest, Compute_SleepSatelliteServer) error
	// ReserveSatellite both wakes the instance (if necessary) and calls reserve on buildkit.
	// It is a streaming call which returns status updates during the wake up process,
	// which can take a few moments. Some examples:
	// When the satellite is already awake, a single event is emitted before closing the stream:
	//
	//	OPERATIONAL -> EOF
	//
	// When the satellite is asleep, several events are emitted in the following sequence:
	//
	//	SLEEP -> STARTING -> ... -> STARTING -> OPERATIONAL -> EOF
	//
	// When the satellite is already being woken up, or launching for the first time:
	//
	//	STARTING -> ... -> STARTING -> OPERATIONAL -> EOF
	//
	// When the satellite is actively being put to sleep and needs to finish that process first:
	//
	//	STOPPING -> ... -> STARTING -> ... -> OPERATIONAL -> EOF
	ReserveSatellite(*ReserveSatelliteRequest, Compute_ReserveSatelliteServer) error
	// SetGithubTokenRequest sets the configuration to enable triggering satellite builds from GHA (GitHub Actions).
	SetGithubToken(context.Context, *SetGithubTokenRequest) (*SetGithubTokenResponse, error)
	// PickGithubJobs lets satellites retrieve the GHA job information and run a JIT runner
	// Jobs returned are marked as picked, and won't be returned in another request for a limited period of time.
	PickGithubJobs(*PickGithubJobsRequest, Compute_PickGithubJobsServer) error
	// ConfigureCloud sets up (or re-does the setup) for the cloud with the given name. The setup validates we can access
	// the other account, and that the other account has all the pieces we need to manage satellites in it. Not a stream
	// because it should be a couple rather quick API calls on our end.
	ConfigureCloud(context.Context, *ConfigureCloudRequest) (*ConfigureCloudResponse, error)
	// UseCloud sets the cloud with the given name as default, assuming it passes validation.
	UseCloud(context.Context, *UseCloudRequest) (*UseCloudResponse, error)
	// ListClouds lists all the clouds available. Listing the clouds also checks the status of each cloud.
	ListClouds(context.Context, *ListCloudsRequest) (*ListCloudsResponse, error)
	// DeleteCloud removes the named cloud, as long as it has no satellites in it. Not a stream because it should be quick.
	DeleteCloud(context.Context, *DeleteCloudRequest) (*DeleteCloudResponse, error)
	// contains filtered or unexported methods
}

ComputeServer is the server API for Compute service. All implementations must embed UnimplementedComputeServer for forward compatibility

type Compute_PickGithubJobsClient

type Compute_PickGithubJobsClient interface {
	Recv() (*PickGithubJobsResponse, error)
	grpc.ClientStream
}

type Compute_PickGithubJobsServer

type Compute_PickGithubJobsServer interface {
	Send(*PickGithubJobsResponse) error
	grpc.ServerStream
}

type Compute_ReserveSatelliteClient

type Compute_ReserveSatelliteClient interface {
	Recv() (*ReserveSatelliteResponse, error)
	grpc.ClientStream
}

type Compute_ReserveSatelliteServer

type Compute_ReserveSatelliteServer interface {
	Send(*ReserveSatelliteResponse) error
	grpc.ServerStream
}

type Compute_SleepSatelliteClient

type Compute_SleepSatelliteClient interface {
	Recv() (*SleepSatelliteResponse, error)
	grpc.ClientStream
}

type Compute_SleepSatelliteServer

type Compute_SleepSatelliteServer interface {
	Send(*SleepSatelliteResponse) error
	grpc.ServerStream
}

type Compute_WakeSatelliteClient

type Compute_WakeSatelliteClient interface {
	Recv() (*WakeSatelliteResponse, error)
	grpc.ClientStream
}

type Compute_WakeSatelliteServer

type Compute_WakeSatelliteServer interface {
	Send(*WakeSatelliteResponse) error
	grpc.ServerStream
}

type ConfigureCloudRequest

type ConfigureCloudRequest struct {
	OrgId              string   `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`
	Name               string   `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	SetDefault         bool     `protobuf:"varint,3,opt,name=set_default,json=setDefault,proto3" json:"set_default,omitempty"`
	SshKeyName         string   `protobuf:"bytes,4,opt,name=ssh_key_name,json=sshKeyName,proto3" json:"ssh_key_name,omitempty"`
	ComputeRoleArn     string   `protobuf:"bytes,5,opt,name=compute_role_arn,json=computeRoleArn,proto3" json:"compute_role_arn,omitempty"`
	AccountId          string   `protobuf:"bytes,6,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
	AllowedSubnetIds   []string `protobuf:"bytes,7,rep,name=allowed_subnet_ids,json=allowedSubnetIds,proto3" json:"allowed_subnet_ids,omitempty"`
	SecurityGroupId    string   `protobuf:"bytes,8,opt,name=security_group_id,json=securityGroupId,proto3" json:"security_group_id,omitempty"`
	Region             string   `protobuf:"bytes,9,opt,name=region,proto3" json:"region,omitempty"`
	InstanceProfileArn string   `protobuf:"bytes,10,opt,name=instance_profile_arn,json=instanceProfileArn,proto3" json:"instance_profile_arn,omitempty"`
	// contains filtered or unexported fields
}

func (*ConfigureCloudRequest) Descriptor deprecated

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

Deprecated: Use ConfigureCloudRequest.ProtoReflect.Descriptor instead.

func (*ConfigureCloudRequest) GetAccountId

func (x *ConfigureCloudRequest) GetAccountId() string

func (*ConfigureCloudRequest) GetAllowedSubnetIds

func (x *ConfigureCloudRequest) GetAllowedSubnetIds() []string

func (*ConfigureCloudRequest) GetComputeRoleArn

func (x *ConfigureCloudRequest) GetComputeRoleArn() string

func (*ConfigureCloudRequest) GetInstanceProfileArn

func (x *ConfigureCloudRequest) GetInstanceProfileArn() string

func (*ConfigureCloudRequest) GetName

func (x *ConfigureCloudRequest) GetName() string

func (*ConfigureCloudRequest) GetOrgId

func (x *ConfigureCloudRequest) GetOrgId() string

func (*ConfigureCloudRequest) GetRegion

func (x *ConfigureCloudRequest) GetRegion() string

func (*ConfigureCloudRequest) GetSecurityGroupId

func (x *ConfigureCloudRequest) GetSecurityGroupId() string

func (*ConfigureCloudRequest) GetSetDefault

func (x *ConfigureCloudRequest) GetSetDefault() bool

func (*ConfigureCloudRequest) GetSshKeyName

func (x *ConfigureCloudRequest) GetSshKeyName() string

func (*ConfigureCloudRequest) ProtoMessage

func (*ConfigureCloudRequest) ProtoMessage()

func (*ConfigureCloudRequest) ProtoReflect

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

func (*ConfigureCloudRequest) Reset

func (x *ConfigureCloudRequest) Reset()

func (*ConfigureCloudRequest) String

func (x *ConfigureCloudRequest) String() string

type ConfigureCloudResponse

type ConfigureCloudResponse struct {
	Status  CloudStatus `protobuf:"varint,1,opt,name=status,proto3,enum=api.public.compute.CloudStatus" json:"status,omitempty"`
	Message string      `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*ConfigureCloudResponse) Descriptor deprecated

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

Deprecated: Use ConfigureCloudResponse.ProtoReflect.Descriptor instead.

func (*ConfigureCloudResponse) GetMessage

func (x *ConfigureCloudResponse) GetMessage() string

func (*ConfigureCloudResponse) GetStatus

func (x *ConfigureCloudResponse) GetStatus() CloudStatus

func (*ConfigureCloudResponse) ProtoMessage

func (*ConfigureCloudResponse) ProtoMessage()

func (*ConfigureCloudResponse) ProtoReflect

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

func (*ConfigureCloudResponse) Reset

func (x *ConfigureCloudResponse) Reset()

func (*ConfigureCloudResponse) String

func (x *ConfigureCloudResponse) String() string

type DeleteCloudRequest

type DeleteCloudRequest struct {
	OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`
	Name  string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteCloudRequest) Descriptor deprecated

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

Deprecated: Use DeleteCloudRequest.ProtoReflect.Descriptor instead.

func (*DeleteCloudRequest) GetName

func (x *DeleteCloudRequest) GetName() string

func (*DeleteCloudRequest) GetOrgId

func (x *DeleteCloudRequest) GetOrgId() string

func (*DeleteCloudRequest) ProtoMessage

func (*DeleteCloudRequest) ProtoMessage()

func (*DeleteCloudRequest) ProtoReflect

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

func (*DeleteCloudRequest) Reset

func (x *DeleteCloudRequest) Reset()

func (*DeleteCloudRequest) String

func (x *DeleteCloudRequest) String() string

type DeleteCloudResponse

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

func (*DeleteCloudResponse) Descriptor deprecated

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

Deprecated: Use DeleteCloudResponse.ProtoReflect.Descriptor instead.

func (*DeleteCloudResponse) ProtoMessage

func (*DeleteCloudResponse) ProtoMessage()

func (*DeleteCloudResponse) ProtoReflect

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

func (*DeleteCloudResponse) Reset

func (x *DeleteCloudResponse) Reset()

func (*DeleteCloudResponse) String

func (x *DeleteCloudResponse) String() string

type DeleteSatelliteRequest

type DeleteSatelliteRequest struct {
	OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`
	Name  string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// Force the satellite removal, even if it's operational.
	// Currently only applies to self-hosted satellites.
	Force bool `protobuf:"varint,3,opt,name=force,proto3" json:"force,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteSatelliteRequest) Descriptor deprecated

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

Deprecated: Use DeleteSatelliteRequest.ProtoReflect.Descriptor instead.

func (*DeleteSatelliteRequest) GetForce

func (x *DeleteSatelliteRequest) GetForce() bool

func (*DeleteSatelliteRequest) GetName

func (x *DeleteSatelliteRequest) GetName() string

func (*DeleteSatelliteRequest) GetOrgId

func (x *DeleteSatelliteRequest) GetOrgId() string

func (*DeleteSatelliteRequest) ProtoMessage

func (*DeleteSatelliteRequest) ProtoMessage()

func (*DeleteSatelliteRequest) ProtoReflect

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

func (*DeleteSatelliteRequest) Reset

func (x *DeleteSatelliteRequest) Reset()

func (*DeleteSatelliteRequest) String

func (x *DeleteSatelliteRequest) String() string

type DeleteSatelliteResponse

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

func (*DeleteSatelliteResponse) Descriptor deprecated

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

Deprecated: Use DeleteSatelliteResponse.ProtoReflect.Descriptor instead.

func (*DeleteSatelliteResponse) ProtoMessage

func (*DeleteSatelliteResponse) ProtoMessage()

func (*DeleteSatelliteResponse) ProtoReflect

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

func (*DeleteSatelliteResponse) Reset

func (x *DeleteSatelliteResponse) Reset()

func (*DeleteSatelliteResponse) String

func (x *DeleteSatelliteResponse) String() string

type DeregisterSatelliteRequest

type DeregisterSatelliteRequest struct {
	RegistrationToken string `protobuf:"bytes,1,opt,name=registration_token,json=registrationToken,proto3" json:"registration_token,omitempty"`
	// contains filtered or unexported fields
}

func (*DeregisterSatelliteRequest) Descriptor deprecated

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

Deprecated: Use DeregisterSatelliteRequest.ProtoReflect.Descriptor instead.

func (*DeregisterSatelliteRequest) GetRegistrationToken

func (x *DeregisterSatelliteRequest) GetRegistrationToken() string

func (*DeregisterSatelliteRequest) ProtoMessage

func (*DeregisterSatelliteRequest) ProtoMessage()

func (*DeregisterSatelliteRequest) ProtoReflect

func (*DeregisterSatelliteRequest) Reset

func (x *DeregisterSatelliteRequest) Reset()

func (*DeregisterSatelliteRequest) String

func (x *DeregisterSatelliteRequest) String() string

type DeregisterSatelliteResponse

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

func (*DeregisterSatelliteResponse) Descriptor deprecated

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

Deprecated: Use DeregisterSatelliteResponse.ProtoReflect.Descriptor instead.

func (*DeregisterSatelliteResponse) ProtoMessage

func (*DeregisterSatelliteResponse) ProtoMessage()

func (*DeregisterSatelliteResponse) ProtoReflect

func (*DeregisterSatelliteResponse) Reset

func (x *DeregisterSatelliteResponse) Reset()

func (*DeregisterSatelliteResponse) String

func (x *DeregisterSatelliteResponse) String() string

type GetSatelliteRequest

type GetSatelliteRequest struct {
	OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`
	Name  string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*GetSatelliteRequest) Descriptor deprecated

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

Deprecated: Use GetSatelliteRequest.ProtoReflect.Descriptor instead.

func (*GetSatelliteRequest) GetName

func (x *GetSatelliteRequest) GetName() string

func (*GetSatelliteRequest) GetOrgId

func (x *GetSatelliteRequest) GetOrgId() string

func (*GetSatelliteRequest) ProtoMessage

func (*GetSatelliteRequest) ProtoMessage()

func (*GetSatelliteRequest) ProtoReflect

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

func (*GetSatelliteRequest) Reset

func (x *GetSatelliteRequest) Reset()

func (*GetSatelliteRequest) String

func (x *GetSatelliteRequest) String() string

type GetSatelliteResponse

type GetSatelliteResponse struct {
	UserId                  string                 `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	Platform                string                 `protobuf:"bytes,2,opt,name=platform,proto3" json:"platform,omitempty"`
	Status                  SatelliteStatus        `protobuf:"varint,3,opt,name=status,proto3,enum=api.public.compute.SatelliteStatus" json:"status,omitempty"`
	Version                 string                 `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"`
	Id                      string                 `protobuf:"bytes,5,opt,name=id,proto3" json:"id,omitempty"`
	PrivateIp               string                 `protobuf:"bytes,6,opt,name=private_ip,json=privateIp,proto3" json:"private_ip,omitempty"`
	PrivateDns              string                 `protobuf:"bytes,7,opt,name=private_dns,json=privateDns,proto3" json:"private_dns,omitempty"`
	Size                    string                 `protobuf:"bytes,8,opt,name=size,proto3" json:"size,omitempty"`
	FeatureFlags            []string               `protobuf:"bytes,9,rep,name=feature_flags,json=featureFlags,proto3" json:"feature_flags,omitempty"`
	MaintenanceWindowStart  string                 `` /* 130-byte string literal not displayed */
	MaintenanceWindowEnd    string                 `protobuf:"bytes,11,opt,name=maintenance_window_end,json=maintenanceWindowEnd,proto3" json:"maintenance_window_end,omitempty"`
	RevisionId              int32                  `protobuf:"varint,12,opt,name=revision_id,json=revisionId,proto3" json:"revision_id,omitempty"`
	VersionPinned           bool                   `protobuf:"varint,13,opt,name=version_pinned,json=versionPinned,proto3" json:"version_pinned,omitempty"`
	MaintenanceWeekendsOnly bool                   `` /* 134-byte string literal not displayed */
	Hidden                  bool                   `protobuf:"varint,15,opt,name=hidden,proto3" json:"hidden,omitempty"`
	CacheRetention          *durationpb.Duration   `protobuf:"bytes,16,opt,name=cache_retention,json=cacheRetention,proto3" json:"cache_retention,omitempty"`
	LastUsed                *timestamppb.Timestamp `protobuf:"bytes,17,opt,name=last_used,json=lastUsed,proto3" json:"last_used,omitempty"`
	IsManaged               bool                   `protobuf:"varint,19,opt,name=is_managed,json=isManaged,proto3" json:"is_managed,omitempty"`
	Certificate             *TLSCertificate        `protobuf:"bytes,20,opt,name=certificate,proto3" json:"certificate,omitempty"`
	CloudName               string                 `protobuf:"bytes,21,opt,name=cloud_name,json=cloudName,proto3" json:"cloud_name,omitempty"`
	SatelliteAddress        string                 `protobuf:"bytes,22,opt,name=satellite_address,json=satelliteAddress,proto3" json:"satellite_address,omitempty"`
	// contains filtered or unexported fields
}

func (*GetSatelliteResponse) Descriptor deprecated

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

Deprecated: Use GetSatelliteResponse.ProtoReflect.Descriptor instead.

func (*GetSatelliteResponse) GetCacheRetention

func (x *GetSatelliteResponse) GetCacheRetention() *durationpb.Duration

func (*GetSatelliteResponse) GetCertificate

func (x *GetSatelliteResponse) GetCertificate() *TLSCertificate

func (*GetSatelliteResponse) GetCloudName

func (x *GetSatelliteResponse) GetCloudName() string

func (*GetSatelliteResponse) GetFeatureFlags

func (x *GetSatelliteResponse) GetFeatureFlags() []string

func (*GetSatelliteResponse) GetHidden

func (x *GetSatelliteResponse) GetHidden() bool

func (*GetSatelliteResponse) GetId

func (x *GetSatelliteResponse) GetId() string

func (*GetSatelliteResponse) GetIsManaged

func (x *GetSatelliteResponse) GetIsManaged() bool

func (*GetSatelliteResponse) GetLastUsed

func (x *GetSatelliteResponse) GetLastUsed() *timestamppb.Timestamp

func (*GetSatelliteResponse) GetMaintenanceWeekendsOnly

func (x *GetSatelliteResponse) GetMaintenanceWeekendsOnly() bool

func (*GetSatelliteResponse) GetMaintenanceWindowEnd

func (x *GetSatelliteResponse) GetMaintenanceWindowEnd() string

func (*GetSatelliteResponse) GetMaintenanceWindowStart

func (x *GetSatelliteResponse) GetMaintenanceWindowStart() string

func (*GetSatelliteResponse) GetPlatform

func (x *GetSatelliteResponse) GetPlatform() string

func (*GetSatelliteResponse) GetPrivateDns

func (x *GetSatelliteResponse) GetPrivateDns() string

func (*GetSatelliteResponse) GetPrivateIp

func (x *GetSatelliteResponse) GetPrivateIp() string

func (*GetSatelliteResponse) GetRevisionId

func (x *GetSatelliteResponse) GetRevisionId() int32

func (*GetSatelliteResponse) GetSatelliteAddress

func (x *GetSatelliteResponse) GetSatelliteAddress() string

func (*GetSatelliteResponse) GetSize

func (x *GetSatelliteResponse) GetSize() string

func (*GetSatelliteResponse) GetStatus

func (x *GetSatelliteResponse) GetStatus() SatelliteStatus

func (*GetSatelliteResponse) GetUserId

func (x *GetSatelliteResponse) GetUserId() string

func (*GetSatelliteResponse) GetVersion

func (x *GetSatelliteResponse) GetVersion() string

func (*GetSatelliteResponse) GetVersionPinned

func (x *GetSatelliteResponse) GetVersionPinned() bool

func (*GetSatelliteResponse) ProtoMessage

func (*GetSatelliteResponse) ProtoMessage()

func (*GetSatelliteResponse) ProtoReflect

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

func (*GetSatelliteResponse) Reset

func (x *GetSatelliteResponse) Reset()

func (*GetSatelliteResponse) String

func (x *GetSatelliteResponse) String() string

type LaunchSatelliteRequest

type LaunchSatelliteRequest struct {
	OrgId                  string   `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`
	Name                   string   `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`         // characters should be valid within a URL
	Platform               string   `protobuf:"bytes,3,opt,name=platform,proto3" json:"platform,omitempty"` // Supported values now are: linux/amd64, linux/arm64
	FeatureFlags           []string `protobuf:"bytes,4,rep,name=feature_flags,json=featureFlags,proto3" json:"feature_flags,omitempty"`
	Size                   string   `protobuf:"bytes,5,opt,name=size,proto3" json:"size,omitempty"`       // small, medium, large
	Version                string   `protobuf:"bytes,6,opt,name=version,proto3" json:"version,omitempty"` // Which version data to use when launching satellite
	MaintenanceWindowStart string   ``                                                                    // when can we auto-update your satellite
	/* 129-byte string literal not displayed */
	MaintenanceWeekendsOnly bool `` // Auto-updates only run on weekends
	/* 133-byte string literal not displayed */
	CloudName string `protobuf:"bytes,9,opt,name=cloud_name,json=cloudName,proto3" json:"cloud_name,omitempty"` // Which cloud installation to use, empty means default
	// contains filtered or unexported fields
}

func (*LaunchSatelliteRequest) Descriptor deprecated

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

Deprecated: Use LaunchSatelliteRequest.ProtoReflect.Descriptor instead.

func (*LaunchSatelliteRequest) GetCloudName

func (x *LaunchSatelliteRequest) GetCloudName() string

func (*LaunchSatelliteRequest) GetFeatureFlags

func (x *LaunchSatelliteRequest) GetFeatureFlags() []string

func (*LaunchSatelliteRequest) GetMaintenanceWeekendsOnly

func (x *LaunchSatelliteRequest) GetMaintenanceWeekendsOnly() bool

func (*LaunchSatelliteRequest) GetMaintenanceWindowStart

func (x *LaunchSatelliteRequest) GetMaintenanceWindowStart() string

func (*LaunchSatelliteRequest) GetName

func (x *LaunchSatelliteRequest) GetName() string

func (*LaunchSatelliteRequest) GetOrgId

func (x *LaunchSatelliteRequest) GetOrgId() string

func (*LaunchSatelliteRequest) GetPlatform

func (x *LaunchSatelliteRequest) GetPlatform() string

func (*LaunchSatelliteRequest) GetSize

func (x *LaunchSatelliteRequest) GetSize() string

func (*LaunchSatelliteRequest) GetVersion

func (x *LaunchSatelliteRequest) GetVersion() string

func (*LaunchSatelliteRequest) ProtoMessage

func (*LaunchSatelliteRequest) ProtoMessage()

func (*LaunchSatelliteRequest) ProtoReflect

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

func (*LaunchSatelliteRequest) Reset

func (x *LaunchSatelliteRequest) Reset()

func (*LaunchSatelliteRequest) String

func (x *LaunchSatelliteRequest) String() string

type LaunchSatelliteResponse

type LaunchSatelliteResponse struct {
	Status                 SatelliteStatus `protobuf:"varint,1,opt,name=status,proto3,enum=api.public.compute.SatelliteStatus" json:"status,omitempty"`
	Version                string          `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
	MaintenanceWindowStart string          `` /* 129-byte string literal not displayed */
	MaintenanceWindowEnd   string          `protobuf:"bytes,4,opt,name=maintenance_window_end,json=maintenanceWindowEnd,proto3" json:"maintenance_window_end,omitempty"`
	RevisionId             int32           `protobuf:"varint,5,opt,name=revision_id,json=revisionId,proto3" json:"revision_id,omitempty"`
	// contains filtered or unexported fields
}

func (*LaunchSatelliteResponse) Descriptor deprecated

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

Deprecated: Use LaunchSatelliteResponse.ProtoReflect.Descriptor instead.

func (*LaunchSatelliteResponse) GetMaintenanceWindowEnd

func (x *LaunchSatelliteResponse) GetMaintenanceWindowEnd() string

func (*LaunchSatelliteResponse) GetMaintenanceWindowStart

func (x *LaunchSatelliteResponse) GetMaintenanceWindowStart() string

func (*LaunchSatelliteResponse) GetRevisionId

func (x *LaunchSatelliteResponse) GetRevisionId() int32

func (*LaunchSatelliteResponse) GetStatus

func (*LaunchSatelliteResponse) GetVersion

func (x *LaunchSatelliteResponse) GetVersion() string

func (*LaunchSatelliteResponse) ProtoMessage

func (*LaunchSatelliteResponse) ProtoMessage()

func (*LaunchSatelliteResponse) ProtoReflect

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

func (*LaunchSatelliteResponse) Reset

func (x *LaunchSatelliteResponse) Reset()

func (*LaunchSatelliteResponse) String

func (x *LaunchSatelliteResponse) String() string

type ListCloudsRequest

type ListCloudsRequest struct {
	OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ListCloudsRequest) Descriptor deprecated

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

Deprecated: Use ListCloudsRequest.ProtoReflect.Descriptor instead.

func (*ListCloudsRequest) GetOrgId

func (x *ListCloudsRequest) GetOrgId() string

func (*ListCloudsRequest) ProtoMessage

func (*ListCloudsRequest) ProtoMessage()

func (*ListCloudsRequest) ProtoReflect

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

func (*ListCloudsRequest) Reset

func (x *ListCloudsRequest) Reset()

func (*ListCloudsRequest) String

func (x *ListCloudsRequest) String() string

type ListCloudsResponse

type ListCloudsResponse struct {
	Clouds []*ListCloudsResponse_CloudInstallation `protobuf:"bytes,1,rep,name=clouds,proto3" json:"clouds,omitempty"`
	// contains filtered or unexported fields
}

func (*ListCloudsResponse) Descriptor deprecated

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

Deprecated: Use ListCloudsResponse.ProtoReflect.Descriptor instead.

func (*ListCloudsResponse) GetClouds

func (*ListCloudsResponse) ProtoMessage

func (*ListCloudsResponse) ProtoMessage()

func (*ListCloudsResponse) ProtoReflect

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

func (*ListCloudsResponse) Reset

func (x *ListCloudsResponse) Reset()

func (*ListCloudsResponse) String

func (x *ListCloudsResponse) String() string

type ListCloudsResponse_CloudInstallation

type ListCloudsResponse_CloudInstallation struct {
	CloudName     string      `protobuf:"bytes,1,opt,name=cloud_name,json=cloudName,proto3" json:"cloud_name,omitempty"`
	NumSatellites int32       `protobuf:"varint,2,opt,name=num_satellites,json=numSatellites,proto3" json:"num_satellites,omitempty"`
	IsDefault     bool        `protobuf:"varint,3,opt,name=is_default,json=isDefault,proto3" json:"is_default,omitempty"`
	Status        CloudStatus `protobuf:"varint,4,opt,name=status,proto3,enum=api.public.compute.CloudStatus" json:"status,omitempty"`
	StatusContext string      `protobuf:"bytes,5,opt,name=status_context,json=statusContext,proto3" json:"status_context,omitempty"`
	// contains filtered or unexported fields
}

func (*ListCloudsResponse_CloudInstallation) Descriptor deprecated

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

Deprecated: Use ListCloudsResponse_CloudInstallation.ProtoReflect.Descriptor instead.

func (*ListCloudsResponse_CloudInstallation) GetCloudName

func (x *ListCloudsResponse_CloudInstallation) GetCloudName() string

func (*ListCloudsResponse_CloudInstallation) GetIsDefault

func (x *ListCloudsResponse_CloudInstallation) GetIsDefault() bool

func (*ListCloudsResponse_CloudInstallation) GetNumSatellites

func (x *ListCloudsResponse_CloudInstallation) GetNumSatellites() int32

func (*ListCloudsResponse_CloudInstallation) GetStatus

func (*ListCloudsResponse_CloudInstallation) GetStatusContext

func (x *ListCloudsResponse_CloudInstallation) GetStatusContext() string

func (*ListCloudsResponse_CloudInstallation) ProtoMessage

func (*ListCloudsResponse_CloudInstallation) ProtoMessage()

func (*ListCloudsResponse_CloudInstallation) ProtoReflect

func (*ListCloudsResponse_CloudInstallation) Reset

func (*ListCloudsResponse_CloudInstallation) String

type ListSatellitesRequest

type ListSatellitesRequest struct {
	OrgId         string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`
	IncludeHidden bool   `protobuf:"varint,2,opt,name=include_hidden,json=includeHidden,proto3" json:"include_hidden,omitempty"`
	// contains filtered or unexported fields
}

func (*ListSatellitesRequest) Descriptor deprecated

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

Deprecated: Use ListSatellitesRequest.ProtoReflect.Descriptor instead.

func (*ListSatellitesRequest) GetIncludeHidden

func (x *ListSatellitesRequest) GetIncludeHidden() bool

func (*ListSatellitesRequest) GetOrgId

func (x *ListSatellitesRequest) GetOrgId() string

func (*ListSatellitesRequest) ProtoMessage

func (*ListSatellitesRequest) ProtoMessage()

func (*ListSatellitesRequest) ProtoReflect

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

func (*ListSatellitesRequest) Reset

func (x *ListSatellitesRequest) Reset()

func (*ListSatellitesRequest) String

func (x *ListSatellitesRequest) String() string

type ListSatellitesResponse

type ListSatellitesResponse struct {
	Instances []*ListSatellitesResponse_SatelliteInstance `protobuf:"bytes,1,rep,name=instances,proto3" json:"instances,omitempty"`
	// contains filtered or unexported fields
}

func (*ListSatellitesResponse) Descriptor deprecated

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

Deprecated: Use ListSatellitesResponse.ProtoReflect.Descriptor instead.

func (*ListSatellitesResponse) GetInstances

func (*ListSatellitesResponse) ProtoMessage

func (*ListSatellitesResponse) ProtoMessage()

func (*ListSatellitesResponse) ProtoReflect

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

func (*ListSatellitesResponse) Reset

func (x *ListSatellitesResponse) Reset()

func (*ListSatellitesResponse) String

func (x *ListSatellitesResponse) String() string

type ListSatellitesResponse_SatelliteInstance

type ListSatellitesResponse_SatelliteInstance struct {
	UserId         string                 `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	Name           string                 `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Platform       string                 `protobuf:"bytes,3,opt,name=platform,proto3" json:"platform,omitempty"`
	Status         SatelliteStatus        `protobuf:"varint,4,opt,name=status,proto3,enum=api.public.compute.SatelliteStatus" json:"status,omitempty"`
	Version        string                 `protobuf:"bytes,5,opt,name=version,proto3" json:"version,omitempty"`
	Size           string                 `protobuf:"bytes,6,opt,name=size,proto3" json:"size,omitempty"`
	Hidden         bool                   `protobuf:"varint,7,opt,name=hidden,proto3" json:"hidden,omitempty"`
	CacheRetention *durationpb.Duration   `protobuf:"bytes,8,opt,name=cache_retention,json=cacheRetention,proto3" json:"cache_retention,omitempty"`
	LastUsed       *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=last_used,json=lastUsed,proto3" json:"last_used,omitempty"`
	Specs          *SatelliteSpecs        `protobuf:"bytes,10,opt,name=specs,proto3" json:"specs,omitempty"`
	CloudName      string                 `protobuf:"bytes,11,opt,name=cloud_name,json=cloudName,proto3" json:"cloud_name,omitempty"`
	// contains filtered or unexported fields
}

func (*ListSatellitesResponse_SatelliteInstance) Descriptor deprecated

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

Deprecated: Use ListSatellitesResponse_SatelliteInstance.ProtoReflect.Descriptor instead.

func (*ListSatellitesResponse_SatelliteInstance) GetCacheRetention

func (*ListSatellitesResponse_SatelliteInstance) GetCloudName

func (*ListSatellitesResponse_SatelliteInstance) GetHidden

func (*ListSatellitesResponse_SatelliteInstance) GetLastUsed

func (*ListSatellitesResponse_SatelliteInstance) GetName

func (*ListSatellitesResponse_SatelliteInstance) GetPlatform

func (*ListSatellitesResponse_SatelliteInstance) GetSize

func (*ListSatellitesResponse_SatelliteInstance) GetSpecs

func (*ListSatellitesResponse_SatelliteInstance) GetStatus

func (*ListSatellitesResponse_SatelliteInstance) GetUserId

func (*ListSatellitesResponse_SatelliteInstance) GetVersion

func (*ListSatellitesResponse_SatelliteInstance) ProtoMessage

func (*ListSatellitesResponse_SatelliteInstance) ProtoReflect

func (*ListSatellitesResponse_SatelliteInstance) Reset

func (*ListSatellitesResponse_SatelliteInstance) String

type PickGithubJobsRequest

type PickGithubJobsRequest struct {

	// Earthly org id
	OrgId         string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`
	SatelliteName string `protobuf:"bytes,2,opt,name=satellite_name,json=satelliteName,proto3" json:"satellite_name,omitempty"`
	// contains filtered or unexported fields
}

func (*PickGithubJobsRequest) Descriptor deprecated

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

Deprecated: Use PickGithubJobsRequest.ProtoReflect.Descriptor instead.

func (*PickGithubJobsRequest) GetOrgId

func (x *PickGithubJobsRequest) GetOrgId() string

func (*PickGithubJobsRequest) GetSatelliteName

func (x *PickGithubJobsRequest) GetSatelliteName() string

func (*PickGithubJobsRequest) ProtoMessage

func (*PickGithubJobsRequest) ProtoMessage()

func (*PickGithubJobsRequest) ProtoReflect

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

func (*PickGithubJobsRequest) Reset

func (x *PickGithubJobsRequest) Reset()

func (*PickGithubJobsRequest) String

func (x *PickGithubJobsRequest) String() string

type PickGithubJobsResponse

type PickGithubJobsResponse struct {
	Job *PickGithubJobsResponse_Job `protobuf:"bytes,1,opt,name=job,proto3" json:"job,omitempty"`
	// contains filtered or unexported fields
}

func (*PickGithubJobsResponse) Descriptor deprecated

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

Deprecated: Use PickGithubJobsResponse.ProtoReflect.Descriptor instead.

func (*PickGithubJobsResponse) GetJob

func (*PickGithubJobsResponse) ProtoMessage

func (*PickGithubJobsResponse) ProtoMessage()

func (*PickGithubJobsResponse) ProtoReflect

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

func (*PickGithubJobsResponse) Reset

func (x *PickGithubJobsResponse) Reset()

func (*PickGithubJobsResponse) String

func (x *PickGithubJobsResponse) String() string

type PickGithubJobsResponse_Job

type PickGithubJobsResponse_Job struct {
	GhJobId           int64    `protobuf:"varint,1,opt,name=gh_job_id,json=ghJobId,proto3" json:"gh_job_id,omitempty"`
	JitConfiguration  string   `protobuf:"bytes,2,opt,name=jit_configuration,json=jitConfiguration,proto3" json:"jit_configuration,omitempty"`
	PreScriptMessage  string   `protobuf:"bytes,3,opt,name=pre_script_message,json=preScriptMessage,proto3" json:"pre_script_message,omitempty"`
	PreScriptExitCode int32    `protobuf:"varint,4,opt,name=pre_script_exit_code,json=preScriptExitCode,proto3" json:"pre_script_exit_code,omitempty"`
	CacheFolders      []string `protobuf:"bytes,5,rep,name=cache_folders,json=cacheFolders,proto3" json:"cache_folders,omitempty"`
	OrgName           string   `protobuf:"bytes,6,opt,name=org_name,json=orgName,proto3" json:"org_name,omitempty"`
	// contains filtered or unexported fields
}

func (*PickGithubJobsResponse_Job) Descriptor deprecated

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

Deprecated: Use PickGithubJobsResponse_Job.ProtoReflect.Descriptor instead.

func (*PickGithubJobsResponse_Job) GetCacheFolders

func (x *PickGithubJobsResponse_Job) GetCacheFolders() []string

func (*PickGithubJobsResponse_Job) GetGhJobId

func (x *PickGithubJobsResponse_Job) GetGhJobId() int64

func (*PickGithubJobsResponse_Job) GetJitConfiguration

func (x *PickGithubJobsResponse_Job) GetJitConfiguration() string

func (*PickGithubJobsResponse_Job) GetOrgName

func (x *PickGithubJobsResponse_Job) GetOrgName() string

func (*PickGithubJobsResponse_Job) GetPreScriptExitCode

func (x *PickGithubJobsResponse_Job) GetPreScriptExitCode() int32

func (*PickGithubJobsResponse_Job) GetPreScriptMessage

func (x *PickGithubJobsResponse_Job) GetPreScriptMessage() string

func (*PickGithubJobsResponse_Job) ProtoMessage

func (*PickGithubJobsResponse_Job) ProtoMessage()

func (*PickGithubJobsResponse_Job) ProtoReflect

func (*PickGithubJobsResponse_Job) Reset

func (x *PickGithubJobsResponse_Job) Reset()

func (*PickGithubJobsResponse_Job) String

func (x *PickGithubJobsResponse_Job) String() string

type RegisterSatelliteRequest

type RegisterSatelliteRequest struct {
	OrgId             string          `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`
	SatelliteName     string          `protobuf:"bytes,2,opt,name=satellite_name,json=satelliteName,proto3" json:"satellite_name,omitempty"`
	SatelliteHost     string          `protobuf:"bytes,3,opt,name=satellite_host,json=satelliteHost,proto3" json:"satellite_host,omitempty"`
	SatellitePort     int32           `protobuf:"varint,4,opt,name=satellite_port,json=satellitePort,proto3" json:"satellite_port,omitempty"`
	Platform          string          `protobuf:"bytes,5,opt,name=platform,proto3" json:"platform,omitempty"`
	Version           string          `protobuf:"bytes,6,opt,name=version,proto3" json:"version,omitempty"`
	Certificate       *TLSCertificate `protobuf:"bytes,7,opt,name=certificate,proto3" json:"certificate,omitempty"`
	RegistrationToken string          `protobuf:"bytes,8,opt,name=registration_token,json=registrationToken,proto3" json:"registration_token,omitempty"` // Optional registration token, when re-registering
	// contains filtered or unexported fields
}

func (*RegisterSatelliteRequest) Descriptor deprecated

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

Deprecated: Use RegisterSatelliteRequest.ProtoReflect.Descriptor instead.

func (*RegisterSatelliteRequest) GetCertificate

func (x *RegisterSatelliteRequest) GetCertificate() *TLSCertificate

func (*RegisterSatelliteRequest) GetOrgId

func (x *RegisterSatelliteRequest) GetOrgId() string

func (*RegisterSatelliteRequest) GetPlatform

func (x *RegisterSatelliteRequest) GetPlatform() string

func (*RegisterSatelliteRequest) GetRegistrationToken

func (x *RegisterSatelliteRequest) GetRegistrationToken() string

func (*RegisterSatelliteRequest) GetSatelliteHost

func (x *RegisterSatelliteRequest) GetSatelliteHost() string

func (*RegisterSatelliteRequest) GetSatelliteName

func (x *RegisterSatelliteRequest) GetSatelliteName() string

func (*RegisterSatelliteRequest) GetSatellitePort

func (x *RegisterSatelliteRequest) GetSatellitePort() int32

func (*RegisterSatelliteRequest) GetVersion

func (x *RegisterSatelliteRequest) GetVersion() string

func (*RegisterSatelliteRequest) ProtoMessage

func (*RegisterSatelliteRequest) ProtoMessage()

func (*RegisterSatelliteRequest) ProtoReflect

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

func (*RegisterSatelliteRequest) Reset

func (x *RegisterSatelliteRequest) Reset()

func (*RegisterSatelliteRequest) String

func (x *RegisterSatelliteRequest) String() string

type RegisterSatelliteResponse

type RegisterSatelliteResponse struct {
	RegistrationToken string `protobuf:"bytes,1,opt,name=registration_token,json=registrationToken,proto3" json:"registration_token,omitempty"`
	// contains filtered or unexported fields
}

func (*RegisterSatelliteResponse) Descriptor deprecated

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

Deprecated: Use RegisterSatelliteResponse.ProtoReflect.Descriptor instead.

func (*RegisterSatelliteResponse) GetRegistrationToken

func (x *RegisterSatelliteResponse) GetRegistrationToken() string

func (*RegisterSatelliteResponse) ProtoMessage

func (*RegisterSatelliteResponse) ProtoMessage()

func (*RegisterSatelliteResponse) ProtoReflect

func (*RegisterSatelliteResponse) Reset

func (x *RegisterSatelliteResponse) Reset()

func (*RegisterSatelliteResponse) String

func (x *RegisterSatelliteResponse) String() string

type ReserveSatelliteRequest

type ReserveSatelliteRequest struct {
	OrgId          string                            `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`
	Name           string                            `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	CommitEmail    string                            `protobuf:"bytes,3,opt,name=commit_email,json=commitEmail,proto3" json:"commit_email,omitempty"`
	IsCi           bool                              `protobuf:"varint,4,opt,name=is_ci,json=isCi,proto3" json:"is_ci,omitempty"`
	UpdateInterval *durationpb.Duration              `protobuf:"bytes,5,opt,name=update_interval,json=updateInterval,proto3" json:"update_interval,omitempty"`
	GitConfigEmail string                            `protobuf:"bytes,6,opt,name=git_config_email,json=gitConfigEmail,proto3" json:"git_config_email,omitempty"`
	Metadata       *ReserveSatelliteRequest_Metadata `protobuf:"bytes,7,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// contains filtered or unexported fields
}

func (*ReserveSatelliteRequest) Descriptor deprecated

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

Deprecated: Use ReserveSatelliteRequest.ProtoReflect.Descriptor instead.

func (*ReserveSatelliteRequest) GetCommitEmail

func (x *ReserveSatelliteRequest) GetCommitEmail() string

func (*ReserveSatelliteRequest) GetGitConfigEmail

func (x *ReserveSatelliteRequest) GetGitConfigEmail() string

func (*ReserveSatelliteRequest) GetIsCi

func (x *ReserveSatelliteRequest) GetIsCi() bool

func (*ReserveSatelliteRequest) GetMetadata

func (*ReserveSatelliteRequest) GetName

func (x *ReserveSatelliteRequest) GetName() string

func (*ReserveSatelliteRequest) GetOrgId

func (x *ReserveSatelliteRequest) GetOrgId() string

func (*ReserveSatelliteRequest) GetUpdateInterval

func (x *ReserveSatelliteRequest) GetUpdateInterval() *durationpb.Duration

func (*ReserveSatelliteRequest) ProtoMessage

func (*ReserveSatelliteRequest) ProtoMessage()

func (*ReserveSatelliteRequest) ProtoReflect

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

func (*ReserveSatelliteRequest) Reset

func (x *ReserveSatelliteRequest) Reset()

func (*ReserveSatelliteRequest) String

func (x *ReserveSatelliteRequest) String() string

type ReserveSatelliteRequest_Metadata

type ReserveSatelliteRequest_Metadata struct {
	EnvEntryNames []string `protobuf:"bytes,1,rep,name=env_entry_names,json=envEntryNames,proto3" json:"env_entry_names,omitempty"`
	CliVersion    string   `protobuf:"bytes,2,opt,name=cli_version,json=cliVersion,proto3" json:"cli_version,omitempty"`
	// contains filtered or unexported fields
}

func (*ReserveSatelliteRequest_Metadata) Descriptor deprecated

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

Deprecated: Use ReserveSatelliteRequest_Metadata.ProtoReflect.Descriptor instead.

func (*ReserveSatelliteRequest_Metadata) GetCliVersion

func (x *ReserveSatelliteRequest_Metadata) GetCliVersion() string

func (*ReserveSatelliteRequest_Metadata) GetEnvEntryNames

func (x *ReserveSatelliteRequest_Metadata) GetEnvEntryNames() []string

func (*ReserveSatelliteRequest_Metadata) ProtoMessage

func (*ReserveSatelliteRequest_Metadata) ProtoMessage()

func (*ReserveSatelliteRequest_Metadata) ProtoReflect

func (*ReserveSatelliteRequest_Metadata) Reset

func (*ReserveSatelliteRequest_Metadata) String

type ReserveSatelliteResponse

type ReserveSatelliteResponse struct {
	Status SatelliteStatus `protobuf:"varint,1,opt,name=status,proto3,enum=api.public.compute.SatelliteStatus" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*ReserveSatelliteResponse) Descriptor deprecated

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

Deprecated: Use ReserveSatelliteResponse.ProtoReflect.Descriptor instead.

func (*ReserveSatelliteResponse) GetStatus

func (*ReserveSatelliteResponse) ProtoMessage

func (*ReserveSatelliteResponse) ProtoMessage()

func (*ReserveSatelliteResponse) ProtoReflect

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

func (*ReserveSatelliteResponse) Reset

func (x *ReserveSatelliteResponse) Reset()

func (*ReserveSatelliteResponse) String

func (x *ReserveSatelliteResponse) String() string

type SatelliteHeartbeatRequest

type SatelliteHeartbeatRequest struct {
	RegistrationToken string               `protobuf:"bytes,1,opt,name=registration_token,json=registrationToken,proto3" json:"registration_token,omitempty"`
	OpLoad            int32                `protobuf:"varint,2,opt,name=op_load,json=opLoad,proto3" json:"op_load,omitempty"`
	DurationIdle      *durationpb.Duration `protobuf:"bytes,3,opt,name=duration_idle,json=durationIdle,proto3" json:"duration_idle,omitempty"`
	SessionHistory    []*BuildkitSession   `protobuf:"bytes,4,rep,name=session_history,json=sessionHistory,proto3" json:"session_history,omitempty"`
	// contains filtered or unexported fields
}

func (*SatelliteHeartbeatRequest) Descriptor deprecated

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

Deprecated: Use SatelliteHeartbeatRequest.ProtoReflect.Descriptor instead.

func (*SatelliteHeartbeatRequest) GetDurationIdle

func (x *SatelliteHeartbeatRequest) GetDurationIdle() *durationpb.Duration

func (*SatelliteHeartbeatRequest) GetOpLoad

func (x *SatelliteHeartbeatRequest) GetOpLoad() int32

func (*SatelliteHeartbeatRequest) GetRegistrationToken

func (x *SatelliteHeartbeatRequest) GetRegistrationToken() string

func (*SatelliteHeartbeatRequest) GetSessionHistory

func (x *SatelliteHeartbeatRequest) GetSessionHistory() []*BuildkitSession

func (*SatelliteHeartbeatRequest) ProtoMessage

func (*SatelliteHeartbeatRequest) ProtoMessage()

func (*SatelliteHeartbeatRequest) ProtoReflect

func (*SatelliteHeartbeatRequest) Reset

func (x *SatelliteHeartbeatRequest) Reset()

func (*SatelliteHeartbeatRequest) String

func (x *SatelliteHeartbeatRequest) String() string

type SatelliteHeartbeatResponse

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

func (*SatelliteHeartbeatResponse) Descriptor deprecated

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

Deprecated: Use SatelliteHeartbeatResponse.ProtoReflect.Descriptor instead.

func (*SatelliteHeartbeatResponse) ProtoMessage

func (*SatelliteHeartbeatResponse) ProtoMessage()

func (*SatelliteHeartbeatResponse) ProtoReflect

func (*SatelliteHeartbeatResponse) Reset

func (x *SatelliteHeartbeatResponse) Reset()

func (*SatelliteHeartbeatResponse) String

func (x *SatelliteHeartbeatResponse) String() string

type SatelliteSpecs

type SatelliteSpecs struct {
	Platform     string  `protobuf:"bytes,1,opt,name=platform,proto3" json:"platform,omitempty"`
	Vcpus        int32   `protobuf:"varint,2,opt,name=vcpus,proto3" json:"vcpus,omitempty"`
	MemoryGib    float64 `protobuf:"fixed64,3,opt,name=memory_gib,json=memoryGib,proto3" json:"memory_gib,omitempty"`
	CacheSizeGib float64 `protobuf:"fixed64,4,opt,name=cache_size_gib,json=cacheSizeGib,proto3" json:"cache_size_gib,omitempty"`
	Size         string  `protobuf:"bytes,5,opt,name=size,proto3" json:"size,omitempty"`
	MaxOpLoad    int32   `protobuf:"varint,6,opt,name=max_op_load,json=maxOpLoad,proto3" json:"max_op_load,omitempty"`
	// contains filtered or unexported fields
}

func (*SatelliteSpecs) Descriptor deprecated

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

Deprecated: Use SatelliteSpecs.ProtoReflect.Descriptor instead.

func (*SatelliteSpecs) GetCacheSizeGib

func (x *SatelliteSpecs) GetCacheSizeGib() float64

func (*SatelliteSpecs) GetMaxOpLoad

func (x *SatelliteSpecs) GetMaxOpLoad() int32

func (*SatelliteSpecs) GetMemoryGib

func (x *SatelliteSpecs) GetMemoryGib() float64

func (*SatelliteSpecs) GetPlatform

func (x *SatelliteSpecs) GetPlatform() string

func (*SatelliteSpecs) GetSize

func (x *SatelliteSpecs) GetSize() string

func (*SatelliteSpecs) GetVcpus

func (x *SatelliteSpecs) GetVcpus() int32

func (*SatelliteSpecs) ProtoMessage

func (*SatelliteSpecs) ProtoMessage()

func (*SatelliteSpecs) ProtoReflect

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

func (*SatelliteSpecs) Reset

func (x *SatelliteSpecs) Reset()

func (*SatelliteSpecs) String

func (x *SatelliteSpecs) String() string

type SatelliteStatus

type SatelliteStatus int32
const (
	SatelliteStatus_SATELLITE_STATUS_UNKNOWN     SatelliteStatus = 0
	SatelliteStatus_SATELLITE_STATUS_CREATING    SatelliteStatus = 1
	SatelliteStatus_SATELLITE_STATUS_OPERATIONAL SatelliteStatus = 2
	SatelliteStatus_SATELLITE_STATUS_OFFLINE     SatelliteStatus = 3
	SatelliteStatus_SATELLITE_STATUS_DESTROYING  SatelliteStatus = 4
	SatelliteStatus_SATELLITE_STATUS_FAILED      SatelliteStatus = 5
	SatelliteStatus_SATELLITE_STATUS_SLEEP       SatelliteStatus = 6
	SatelliteStatus_SATELLITE_STATUS_STARTING    SatelliteStatus = 7
	SatelliteStatus_SATELLITE_STATUS_STOPPING    SatelliteStatus = 8
	SatelliteStatus_SATELLITE_STATUS_UPDATING    SatelliteStatus = 9
)

func (SatelliteStatus) Descriptor

func (SatelliteStatus) Enum

func (x SatelliteStatus) Enum() *SatelliteStatus

func (SatelliteStatus) EnumDescriptor deprecated

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

Deprecated: Use SatelliteStatus.Descriptor instead.

func (SatelliteStatus) Number

func (SatelliteStatus) String

func (x SatelliteStatus) String() string

func (SatelliteStatus) Type

type SetGithubTokenRequest

type SetGithubTokenRequest struct {

	// Earthly org id
	OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`
	// Org name is required
	GithubOrgName string `protobuf:"bytes,2,opt,name=github_org_name,json=githubOrgName,proto3" json:"github_org_name,omitempty"`
	// Repo name is optional. Leave it empty to set an org-wide token
	GithubRepoName string `protobuf:"bytes,3,opt,name=github_repo_name,json=githubRepoName,proto3" json:"github_repo_name,omitempty"`
	// https://github.com/settings/tokens. The token is required to have permissions to:
	// - Register a repo/org -scoped webhook to retrieve GHA job status events
	// - Create a JIT GHA self hosted runner associated to the org/repo
	//   - https://docs.github.com/en/rest/actions/self-hosted-runners?apiVersion=2022-11-28#create-configuration-for-a-just-in-time-runner-for-an-organization
	//   - https://docs.github.com/en/rest/actions/self-hosted-runners?apiVersion=2022-11-28#create-configuration-for-a-just-in-time-runner-for-a-repository
	GithubToken string `protobuf:"bytes,4,opt,name=github_token,json=githubToken,proto3" json:"github_token,omitempty"`
	// contains filtered or unexported fields
}

func (*SetGithubTokenRequest) Descriptor deprecated

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

Deprecated: Use SetGithubTokenRequest.ProtoReflect.Descriptor instead.

func (*SetGithubTokenRequest) GetGithubOrgName

func (x *SetGithubTokenRequest) GetGithubOrgName() string

func (*SetGithubTokenRequest) GetGithubRepoName

func (x *SetGithubTokenRequest) GetGithubRepoName() string

func (*SetGithubTokenRequest) GetGithubToken

func (x *SetGithubTokenRequest) GetGithubToken() string

func (*SetGithubTokenRequest) GetOrgId

func (x *SetGithubTokenRequest) GetOrgId() string

func (*SetGithubTokenRequest) ProtoMessage

func (*SetGithubTokenRequest) ProtoMessage()

func (*SetGithubTokenRequest) ProtoReflect

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

func (*SetGithubTokenRequest) Reset

func (x *SetGithubTokenRequest) Reset()

func (*SetGithubTokenRequest) String

func (x *SetGithubTokenRequest) String() string

type SetGithubTokenResponse

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

func (*SetGithubTokenResponse) Descriptor deprecated

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

Deprecated: Use SetGithubTokenResponse.ProtoReflect.Descriptor instead.

func (*SetGithubTokenResponse) ProtoMessage

func (*SetGithubTokenResponse) ProtoMessage()

func (*SetGithubTokenResponse) ProtoReflect

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

func (*SetGithubTokenResponse) Reset

func (x *SetGithubTokenResponse) Reset()

func (*SetGithubTokenResponse) String

func (x *SetGithubTokenResponse) String() string

type SleepSatelliteRequest

type SleepSatelliteRequest struct {
	OrgId          string               `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`
	Name           string               `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	UpdateInterval *durationpb.Duration `protobuf:"bytes,3,opt,name=update_interval,json=updateInterval,proto3" json:"update_interval,omitempty"`
	// contains filtered or unexported fields
}

func (*SleepSatelliteRequest) Descriptor deprecated

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

Deprecated: Use SleepSatelliteRequest.ProtoReflect.Descriptor instead.

func (*SleepSatelliteRequest) GetName

func (x *SleepSatelliteRequest) GetName() string

func (*SleepSatelliteRequest) GetOrgId

func (x *SleepSatelliteRequest) GetOrgId() string

func (*SleepSatelliteRequest) GetUpdateInterval

func (x *SleepSatelliteRequest) GetUpdateInterval() *durationpb.Duration

func (*SleepSatelliteRequest) ProtoMessage

func (*SleepSatelliteRequest) ProtoMessage()

func (*SleepSatelliteRequest) ProtoReflect

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

func (*SleepSatelliteRequest) Reset

func (x *SleepSatelliteRequest) Reset()

func (*SleepSatelliteRequest) String

func (x *SleepSatelliteRequest) String() string

type SleepSatelliteResponse

type SleepSatelliteResponse struct {
	Status SatelliteStatus `protobuf:"varint,1,opt,name=status,proto3,enum=api.public.compute.SatelliteStatus" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*SleepSatelliteResponse) Descriptor deprecated

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

Deprecated: Use SleepSatelliteResponse.ProtoReflect.Descriptor instead.

func (*SleepSatelliteResponse) GetStatus

func (x *SleepSatelliteResponse) GetStatus() SatelliteStatus

func (*SleepSatelliteResponse) ProtoMessage

func (*SleepSatelliteResponse) ProtoMessage()

func (*SleepSatelliteResponse) ProtoReflect

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

func (*SleepSatelliteResponse) Reset

func (x *SleepSatelliteResponse) Reset()

func (*SleepSatelliteResponse) String

func (x *SleepSatelliteResponse) String() string

type TLSCertificate

type TLSCertificate struct {
	ClientCa    []byte `protobuf:"bytes,1,opt,name=client_ca,json=clientCa,proto3" json:"client_ca,omitempty"`
	ClientCaKey []byte `protobuf:"bytes,2,opt,name=client_ca_key,json=clientCaKey,proto3" json:"client_ca_key,omitempty"`
	RootCa      []byte `protobuf:"bytes,3,opt,name=root_ca,json=rootCa,proto3" json:"root_ca,omitempty"`
	// contains filtered or unexported fields
}

func (*TLSCertificate) Descriptor deprecated

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

Deprecated: Use TLSCertificate.ProtoReflect.Descriptor instead.

func (*TLSCertificate) GetClientCa

func (x *TLSCertificate) GetClientCa() []byte

func (*TLSCertificate) GetClientCaKey

func (x *TLSCertificate) GetClientCaKey() []byte

func (*TLSCertificate) GetRootCa

func (x *TLSCertificate) GetRootCa() []byte

func (*TLSCertificate) ProtoMessage

func (*TLSCertificate) ProtoMessage()

func (*TLSCertificate) ProtoReflect

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

func (*TLSCertificate) Reset

func (x *TLSCertificate) Reset()

func (*TLSCertificate) String

func (x *TLSCertificate) String() string

type UnimplementedComputeServer

type UnimplementedComputeServer struct {
}

UnimplementedComputeServer must be embedded to have forward compatible implementations.

func (UnimplementedComputeServer) ConfigureCloud

func (UnimplementedComputeServer) DeleteCloud

func (UnimplementedComputeServer) DeleteSatellite

func (UnimplementedComputeServer) GetSatellite

func (UnimplementedComputeServer) LaunchSatellite

func (UnimplementedComputeServer) ListClouds

func (UnimplementedComputeServer) ListSatellites

func (UnimplementedComputeServer) PickGithubJobs

func (UnimplementedComputeServer) ReserveSatellite

func (UnimplementedComputeServer) SetGithubToken

func (UnimplementedComputeServer) SleepSatellite

func (UnimplementedComputeServer) UpdateSatellite

func (UnimplementedComputeServer) UseCloud

func (UnimplementedComputeServer) WakeSatellite

type UnsafeComputeServer

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

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

type UpdateSatelliteRequest

type UpdateSatelliteRequest struct {
	OrgId                   string   `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`
	Name                    string   `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Version                 string   `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`
	DropCache               bool     `protobuf:"varint,4,opt,name=drop_cache,json=dropCache,proto3" json:"drop_cache,omitempty"` // preserve cache during upgrade, or not?
	MaintenanceWindowStart  string   ``                                                                                          /* 129-byte string literal not displayed */
	FeatureFlags            []string `protobuf:"bytes,6,rep,name=feature_flags,json=featureFlags,proto3" json:"feature_flags,omitempty"`
	MaintenanceWeekendsOnly bool     ``                                                                      /* 133-byte string literal not displayed */
	Size                    string   `protobuf:"bytes,8,opt,name=size,proto3" json:"size,omitempty"`         // Changes the size of the satellite when set
	Platform                string   `protobuf:"bytes,9,opt,name=platform,proto3" json:"platform,omitempty"` // Changes the platform of the satellite when set
	// contains filtered or unexported fields
}

func (*UpdateSatelliteRequest) Descriptor deprecated

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

Deprecated: Use UpdateSatelliteRequest.ProtoReflect.Descriptor instead.

func (*UpdateSatelliteRequest) GetDropCache

func (x *UpdateSatelliteRequest) GetDropCache() bool

func (*UpdateSatelliteRequest) GetFeatureFlags

func (x *UpdateSatelliteRequest) GetFeatureFlags() []string

func (*UpdateSatelliteRequest) GetMaintenanceWeekendsOnly

func (x *UpdateSatelliteRequest) GetMaintenanceWeekendsOnly() bool

func (*UpdateSatelliteRequest) GetMaintenanceWindowStart

func (x *UpdateSatelliteRequest) GetMaintenanceWindowStart() string

func (*UpdateSatelliteRequest) GetName

func (x *UpdateSatelliteRequest) GetName() string

func (*UpdateSatelliteRequest) GetOrgId

func (x *UpdateSatelliteRequest) GetOrgId() string

func (*UpdateSatelliteRequest) GetPlatform

func (x *UpdateSatelliteRequest) GetPlatform() string

func (*UpdateSatelliteRequest) GetSize

func (x *UpdateSatelliteRequest) GetSize() string

func (*UpdateSatelliteRequest) GetVersion

func (x *UpdateSatelliteRequest) GetVersion() string

func (*UpdateSatelliteRequest) ProtoMessage

func (*UpdateSatelliteRequest) ProtoMessage()

func (*UpdateSatelliteRequest) ProtoReflect

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

func (*UpdateSatelliteRequest) Reset

func (x *UpdateSatelliteRequest) Reset()

func (*UpdateSatelliteRequest) String

func (x *UpdateSatelliteRequest) String() string

type UpdateSatelliteResponse

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

func (*UpdateSatelliteResponse) Descriptor deprecated

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

Deprecated: Use UpdateSatelliteResponse.ProtoReflect.Descriptor instead.

func (*UpdateSatelliteResponse) ProtoMessage

func (*UpdateSatelliteResponse) ProtoMessage()

func (*UpdateSatelliteResponse) ProtoReflect

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

func (*UpdateSatelliteResponse) Reset

func (x *UpdateSatelliteResponse) Reset()

func (*UpdateSatelliteResponse) String

func (x *UpdateSatelliteResponse) String() string

type UseCloudRequest

type UseCloudRequest struct {
	OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`
	Name  string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*UseCloudRequest) Descriptor deprecated

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

Deprecated: Use UseCloudRequest.ProtoReflect.Descriptor instead.

func (*UseCloudRequest) GetName

func (x *UseCloudRequest) GetName() string

func (*UseCloudRequest) GetOrgId

func (x *UseCloudRequest) GetOrgId() string

func (*UseCloudRequest) ProtoMessage

func (*UseCloudRequest) ProtoMessage()

func (*UseCloudRequest) ProtoReflect

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

func (*UseCloudRequest) Reset

func (x *UseCloudRequest) Reset()

func (*UseCloudRequest) String

func (x *UseCloudRequest) String() string

type UseCloudResponse

type UseCloudResponse struct {
	Status  CloudStatus `protobuf:"varint,1,opt,name=status,proto3,enum=api.public.compute.CloudStatus" json:"status,omitempty"`
	Message string      `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*UseCloudResponse) Descriptor deprecated

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

Deprecated: Use UseCloudResponse.ProtoReflect.Descriptor instead.

func (*UseCloudResponse) GetMessage

func (x *UseCloudResponse) GetMessage() string

func (*UseCloudResponse) GetStatus

func (x *UseCloudResponse) GetStatus() CloudStatus

func (*UseCloudResponse) ProtoMessage

func (*UseCloudResponse) ProtoMessage()

func (*UseCloudResponse) ProtoReflect

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

func (*UseCloudResponse) Reset

func (x *UseCloudResponse) Reset()

func (*UseCloudResponse) String

func (x *UseCloudResponse) String() string

type WakeSatelliteRequest

type WakeSatelliteRequest struct {
	OrgId          string               `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`
	Name           string               `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	UpdateInterval *durationpb.Duration `protobuf:"bytes,3,opt,name=update_interval,json=updateInterval,proto3" json:"update_interval,omitempty"`
	// contains filtered or unexported fields
}

func (*WakeSatelliteRequest) Descriptor deprecated

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

Deprecated: Use WakeSatelliteRequest.ProtoReflect.Descriptor instead.

func (*WakeSatelliteRequest) GetName

func (x *WakeSatelliteRequest) GetName() string

func (*WakeSatelliteRequest) GetOrgId

func (x *WakeSatelliteRequest) GetOrgId() string

func (*WakeSatelliteRequest) GetUpdateInterval

func (x *WakeSatelliteRequest) GetUpdateInterval() *durationpb.Duration

func (*WakeSatelliteRequest) ProtoMessage

func (*WakeSatelliteRequest) ProtoMessage()

func (*WakeSatelliteRequest) ProtoReflect

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

func (*WakeSatelliteRequest) Reset

func (x *WakeSatelliteRequest) Reset()

func (*WakeSatelliteRequest) String

func (x *WakeSatelliteRequest) String() string

type WakeSatelliteResponse

type WakeSatelliteResponse struct {
	Status SatelliteStatus `protobuf:"varint,1,opt,name=status,proto3,enum=api.public.compute.SatelliteStatus" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*WakeSatelliteResponse) Descriptor deprecated

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

Deprecated: Use WakeSatelliteResponse.ProtoReflect.Descriptor instead.

func (*WakeSatelliteResponse) GetStatus

func (x *WakeSatelliteResponse) GetStatus() SatelliteStatus

func (*WakeSatelliteResponse) ProtoMessage

func (*WakeSatelliteResponse) ProtoMessage()

func (*WakeSatelliteResponse) ProtoReflect

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

func (*WakeSatelliteResponse) Reset

func (x *WakeSatelliteResponse) Reset()

func (*WakeSatelliteResponse) String

func (x *WakeSatelliteResponse) String() string

Jump to

Keyboard shortcuts

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