syncv1

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_devopus_sync_v1_sync_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type DesiredProject

type DesiredProject struct {
	Id      string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name    string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Version int32  `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"`
	// The project in the YAML form of api/spec.
	ConfigYaml string `protobuf:"bytes,4,opt,name=config_yaml,json=configYaml,proto3" json:"config_yaml,omitempty"`
	// Its secrets encrypted to the workspace's key, by name: only to users who may read
	// them (secrets.read).
	Secrets map[string][]byte `` /* 141-byte string literal not displayed */
	// What the user may change in devopus.yaml (spec.Allow*): * for the owner and
	// maintainers, the project's overrides.allowed for developers.
	OverridesAllowed []string `protobuf:"bytes,6,rep,name=overrides_allowed,json=overridesAllowed,proto3" json:"overrides_allowed,omitempty"`
	// The user has overrides.use in the project; without it nothing is allowed.
	OverridesPermitted bool `protobuf:"varint,7,opt,name=overrides_permitted,json=overridesPermitted,proto3" json:"overrides_permitted,omitempty"`
	// The author's signature of this version and the device that made it (ADR-0018).
	Signature    []byte `protobuf:"bytes,8,opt,name=signature,proto3" json:"signature,omitempty"`
	SignerDevice string `protobuf:"bytes,9,opt,name=signer_device,json=signerDevice,proto3" json:"signer_device,omitempty"`
	// On a server (R14, ADR-0020): the environment it runs the project as.
	Environment *ServerEnvironment `protobuf:"bytes,10,opt,name=environment,proto3" json:"environment,omitempty"`
	// contains filtered or unexported fields
}

DesiredProject is a project the device runs, in the version the server has now.

func (*DesiredProject) Descriptor deprecated

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

Deprecated: Use DesiredProject.ProtoReflect.Descriptor instead.

func (*DesiredProject) GetConfigYaml

func (x *DesiredProject) GetConfigYaml() string

func (*DesiredProject) GetEnvironment

func (x *DesiredProject) GetEnvironment() *ServerEnvironment

func (*DesiredProject) GetId

func (x *DesiredProject) GetId() string

func (*DesiredProject) GetName

func (x *DesiredProject) GetName() string

func (*DesiredProject) GetOverridesAllowed

func (x *DesiredProject) GetOverridesAllowed() []string

func (*DesiredProject) GetOverridesPermitted

func (x *DesiredProject) GetOverridesPermitted() bool

func (*DesiredProject) GetSecrets

func (x *DesiredProject) GetSecrets() map[string][]byte

func (*DesiredProject) GetSignature

func (x *DesiredProject) GetSignature() []byte

func (*DesiredProject) GetSignerDevice

func (x *DesiredProject) GetSignerDevice() string

func (*DesiredProject) GetVersion

func (x *DesiredProject) GetVersion() int32

func (*DesiredProject) ProtoMessage

func (*DesiredProject) ProtoMessage()

func (*DesiredProject) ProtoReflect

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

func (*DesiredProject) Reset

func (x *DesiredProject) Reset()

func (*DesiredProject) String

func (x *DesiredProject) String() string

type Device

type Device struct {

	// The device's random id (credentials.DeviceID).
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Its host name.
	Name         string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	AgentVersion string `protobuf:"bytes,3,opt,name=agent_version,json=agentVersion,proto3" json:"agent_version,omitempty"`
	// The device's public key for secrets: the workspace's key is wrapped for it.
	PublicKey string `protobuf:"bytes,4,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
	// contains filtered or unexported fields
}

func (*Device) Descriptor deprecated

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

Deprecated: Use Device.ProtoReflect.Descriptor instead.

func (*Device) GetAgentVersion

func (x *Device) GetAgentVersion() string

func (*Device) GetId

func (x *Device) GetId() string

func (*Device) GetName

func (x *Device) GetName() string

func (*Device) GetPublicKey

func (x *Device) GetPublicKey() string

func (*Device) ProtoMessage

func (*Device) ProtoMessage()

func (*Device) ProtoReflect

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

func (*Device) Reset

func (x *Device) Reset()

func (*Device) String

func (x *Device) String() string

type DeviceStatus

type DeviceStatus struct {
	Device    *Device                `protobuf:"bytes,1,opt,name=device,proto3" json:"device,omitempty"`
	UserEmail string                 `protobuf:"bytes,2,opt,name=user_email,json=userEmail,proto3" json:"user_email,omitempty"`
	LastSeen  *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=last_seen,json=lastSeen,proto3" json:"last_seen,omitempty"`
	// Seen in the last two minutes.
	Online       bool                 `protobuf:"varint,4,opt,name=online,proto3" json:"online,omitempty"`
	Environments []*EnvironmentReport `protobuf:"bytes,5,rep,name=environments,proto3" json:"environments,omitempty"`
	// contains filtered or unexported fields
}

func (*DeviceStatus) Descriptor deprecated

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

Deprecated: Use DeviceStatus.ProtoReflect.Descriptor instead.

func (*DeviceStatus) GetDevice

func (x *DeviceStatus) GetDevice() *Device

func (*DeviceStatus) GetEnvironments

func (x *DeviceStatus) GetEnvironments() []*EnvironmentReport

func (*DeviceStatus) GetLastSeen

func (x *DeviceStatus) GetLastSeen() *timestamppb.Timestamp

func (*DeviceStatus) GetOnline

func (x *DeviceStatus) GetOnline() bool

func (*DeviceStatus) GetUserEmail

func (x *DeviceStatus) GetUserEmail() string

func (*DeviceStatus) ProtoMessage

func (*DeviceStatus) ProtoMessage()

func (*DeviceStatus) ProtoReflect

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

func (*DeviceStatus) Reset

func (x *DeviceStatus) Reset()

func (*DeviceStatus) String

func (x *DeviceStatus) String() string

type EnvironmentReport

type EnvironmentReport struct {
	Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
	// The environment's id on the device.
	Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	// base or feature.
	Kind string `protobuf:"bytes,3,opt,name=kind,proto3" json:"kind,omitempty"`
	// A feature's name and branch.
	Name   string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	Branch string `protobuf:"bytes,5,opt,name=branch,proto3" json:"branch,omitempty"`
	// creating, running, sleeping, stopped, error…
	Phase string `protobuf:"bytes,6,opt,name=phase,proto3" json:"phase,omitempty"`
	Url   string `protobuf:"bytes,7,opt,name=url,proto3" json:"url,omitempty"`
	Error string `protobuf:"bytes,8,opt,name=error,proto3" json:"error,omitempty"`
	// The version of the project's settings the device runs.
	ConfigVersion int32 `protobuf:"varint,9,opt,name=config_version,json=configVersion,proto3" json:"config_version,omitempty"`
	// Personal overrides of devopus.yaml applied on the device, and the ones refused
	// with their reasons: the drift maintainers see.
	Overrides         []string `protobuf:"bytes,10,rep,name=overrides,proto3" json:"overrides,omitempty"`
	RejectedOverrides []string `protobuf:"bytes,11,rep,name=rejected_overrides,json=rejectedOverrides,proto3" json:"rejected_overrides,omitempty"`
	// A newer version with risky changes waits for the user on the device (risk R21).
	PendingVersion int32 `protobuf:"varint,12,opt,name=pending_version,json=pendingVersion,proto3" json:"pending_version,omitempty"`
	// contains filtered or unexported fields
}

func (*EnvironmentReport) Descriptor deprecated

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

Deprecated: Use EnvironmentReport.ProtoReflect.Descriptor instead.

func (*EnvironmentReport) GetBranch

func (x *EnvironmentReport) GetBranch() string

func (*EnvironmentReport) GetConfigVersion

func (x *EnvironmentReport) GetConfigVersion() int32

func (*EnvironmentReport) GetError

func (x *EnvironmentReport) GetError() string

func (*EnvironmentReport) GetId

func (x *EnvironmentReport) GetId() string

func (*EnvironmentReport) GetKind

func (x *EnvironmentReport) GetKind() string

func (*EnvironmentReport) GetName

func (x *EnvironmentReport) GetName() string

func (*EnvironmentReport) GetOverrides

func (x *EnvironmentReport) GetOverrides() []string

func (*EnvironmentReport) GetPendingVersion

func (x *EnvironmentReport) GetPendingVersion() int32

func (*EnvironmentReport) GetPhase

func (x *EnvironmentReport) GetPhase() string

func (*EnvironmentReport) GetProject

func (x *EnvironmentReport) GetProject() string

func (*EnvironmentReport) GetRejectedOverrides

func (x *EnvironmentReport) GetRejectedOverrides() []string

func (*EnvironmentReport) GetUrl

func (x *EnvironmentReport) GetUrl() string

func (*EnvironmentReport) ProtoMessage

func (*EnvironmentReport) ProtoMessage()

func (*EnvironmentReport) ProtoReflect

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

func (*EnvironmentReport) Reset

func (x *EnvironmentReport) Reset()

func (*EnvironmentReport) String

func (x *EnvironmentReport) String() string

type ListDevicesRequest

type ListDevicesRequest struct {

	// Only devices that run this project; empty: all.
	Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
	// contains filtered or unexported fields
}

func (*ListDevicesRequest) Descriptor deprecated

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

Deprecated: Use ListDevicesRequest.ProtoReflect.Descriptor instead.

func (*ListDevicesRequest) GetProject

func (x *ListDevicesRequest) GetProject() string

func (*ListDevicesRequest) ProtoMessage

func (*ListDevicesRequest) ProtoMessage()

func (*ListDevicesRequest) ProtoReflect

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

func (*ListDevicesRequest) Reset

func (x *ListDevicesRequest) Reset()

func (*ListDevicesRequest) String

func (x *ListDevicesRequest) String() string

type ListDevicesResponse

type ListDevicesResponse struct {
	Devices []*DeviceStatus `protobuf:"bytes,1,rep,name=devices,proto3" json:"devices,omitempty"`
	// contains filtered or unexported fields
}

func (*ListDevicesResponse) Descriptor deprecated

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

Deprecated: Use ListDevicesResponse.ProtoReflect.Descriptor instead.

func (*ListDevicesResponse) GetDevices

func (x *ListDevicesResponse) GetDevices() []*DeviceStatus

func (*ListDevicesResponse) ProtoMessage

func (*ListDevicesResponse) ProtoMessage()

func (*ListDevicesResponse) ProtoReflect

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

func (*ListDevicesResponse) Reset

func (x *ListDevicesResponse) Reset()

func (*ListDevicesResponse) String

func (x *ListDevicesResponse) String() string

type PendingDevice

type PendingDevice struct {
	DeviceId   string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
	UserId     string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	UserEmail  string `protobuf:"bytes,3,opt,name=user_email,json=userEmail,proto3" json:"user_email,omitempty"`
	DeviceName string `protobuf:"bytes,4,opt,name=device_name,json=deviceName,proto3" json:"device_name,omitempty"`
	PublicKey  string `protobuf:"bytes,5,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
	// contains filtered or unexported fields
}

PendingDevice is a device waiting for the workspace's key.

func (*PendingDevice) Descriptor deprecated

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

Deprecated: Use PendingDevice.ProtoReflect.Descriptor instead.

func (*PendingDevice) GetDeviceId

func (x *PendingDevice) GetDeviceId() string

func (*PendingDevice) GetDeviceName

func (x *PendingDevice) GetDeviceName() string

func (*PendingDevice) GetPublicKey

func (x *PendingDevice) GetPublicKey() string

func (*PendingDevice) GetUserEmail

func (x *PendingDevice) GetUserEmail() string

func (*PendingDevice) GetUserId

func (x *PendingDevice) GetUserId() string

func (*PendingDevice) ProtoMessage

func (*PendingDevice) ProtoMessage()

func (*PendingDevice) ProtoReflect

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

func (*PendingDevice) Reset

func (x *PendingDevice) Reset()

func (*PendingDevice) String

func (x *PendingDevice) String() string

type ReportStatusRequest

type ReportStatusRequest struct {
	Device       *Device              `protobuf:"bytes,2,opt,name=device,proto3" json:"device,omitempty"`
	Environments []*EnvironmentReport `protobuf:"bytes,3,rep,name=environments,proto3" json:"environments,omitempty"`
	// contains filtered or unexported fields
}

func (*ReportStatusRequest) Descriptor deprecated

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

Deprecated: Use ReportStatusRequest.ProtoReflect.Descriptor instead.

func (*ReportStatusRequest) GetDevice

func (x *ReportStatusRequest) GetDevice() *Device

func (*ReportStatusRequest) GetEnvironments

func (x *ReportStatusRequest) GetEnvironments() []*EnvironmentReport

func (*ReportStatusRequest) ProtoMessage

func (*ReportStatusRequest) ProtoMessage()

func (*ReportStatusRequest) ProtoReflect

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

func (*ReportStatusRequest) Reset

func (x *ReportStatusRequest) Reset()

func (*ReportStatusRequest) String

func (x *ReportStatusRequest) String() string

type ReportStatusResponse

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

func (*ReportStatusResponse) Descriptor deprecated

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

Deprecated: Use ReportStatusResponse.ProtoReflect.Descriptor instead.

func (*ReportStatusResponse) ProtoMessage

func (*ReportStatusResponse) ProtoMessage()

func (*ReportStatusResponse) ProtoReflect

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

func (*ReportStatusResponse) Reset

func (x *ReportStatusResponse) Reset()

func (*ReportStatusResponse) String

func (x *ReportStatusResponse) String() string

type SecretsKey

type SecretsKey struct {
	Generation int32 `protobuf:"varint,1,opt,name=generation,proto3" json:"generation,omitempty"`
	// The private key wrapped for this device; empty until a device that holds the key
	// delivers it.
	Wrapped []byte `protobuf:"bytes,2,opt,name=wrapped,proto3" json:"wrapped,omitempty"`
	// contains filtered or unexported fields
}

SecretsKey is the workspace's key for this device.

func (*SecretsKey) Descriptor deprecated

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

Deprecated: Use SecretsKey.ProtoReflect.Descriptor instead.

func (*SecretsKey) GetGeneration

func (x *SecretsKey) GetGeneration() int32

func (*SecretsKey) GetWrapped

func (x *SecretsKey) GetWrapped() []byte

func (*SecretsKey) ProtoMessage

func (*SecretsKey) ProtoMessage()

func (*SecretsKey) ProtoReflect

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

func (*SecretsKey) Reset

func (x *SecretsKey) Reset()

func (*SecretsKey) String

func (x *SecretsKey) String() string

type ServerEnvironment

type ServerEnvironment struct {

	// staging or production.
	Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"`
	// The public host; the agent gets its certificate from Let's Encrypt.
	Domain string `protobuf:"bytes,2,opt,name=domain,proto3" json:"domain,omitempty"`
	// signing.EnvironmentMessage signed by its creator's device.
	Signature    []byte `protobuf:"bytes,4,opt,name=signature,proto3" json:"signature,omitempty"`
	SignerDevice string `protobuf:"bytes,5,opt,name=signer_device,json=signerDevice,proto3" json:"signer_device,omitempty"`
	// Production (R14b): the deploy of the version sent — signing.DeployMessage signed
	// by someone with production.deploy.
	DeploySignature    []byte `protobuf:"bytes,6,opt,name=deploy_signature,json=deploySignature,proto3" json:"deploy_signature,omitempty"`
	DeploySignerDevice string `protobuf:"bytes,7,opt,name=deploy_signer_device,json=deploySignerDevice,proto3" json:"deploy_signer_device,omitempty"`
	// contains filtered or unexported fields
}

func (*ServerEnvironment) Descriptor deprecated

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

Deprecated: Use ServerEnvironment.ProtoReflect.Descriptor instead.

func (*ServerEnvironment) GetDeploySignature

func (x *ServerEnvironment) GetDeploySignature() []byte

func (*ServerEnvironment) GetDeploySignerDevice

func (x *ServerEnvironment) GetDeploySignerDevice() string

func (*ServerEnvironment) GetDomain

func (x *ServerEnvironment) GetDomain() string

func (*ServerEnvironment) GetKind

func (x *ServerEnvironment) GetKind() string

func (*ServerEnvironment) GetSignature

func (x *ServerEnvironment) GetSignature() []byte

func (*ServerEnvironment) GetSignerDevice

func (x *ServerEnvironment) GetSignerDevice() string

func (*ServerEnvironment) ProtoMessage

func (*ServerEnvironment) ProtoMessage()

func (*ServerEnvironment) ProtoReflect

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

func (*ServerEnvironment) Reset

func (x *ServerEnvironment) Reset()

func (*ServerEnvironment) String

func (x *ServerEnvironment) String() string

type Signer

type Signer struct {
	DeviceId    string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
	UserId      string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	Email       string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"`
	PublicKey   []byte `protobuf:"bytes,4,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
	Certificate []byte `protobuf:"bytes,5,opt,name=certificate,proto3" json:"certificate,omitempty"`
	// contains filtered or unexported fields
}

func (*Signer) Descriptor deprecated

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

Deprecated: Use Signer.ProtoReflect.Descriptor instead.

func (*Signer) GetCertificate

func (x *Signer) GetCertificate() []byte

func (*Signer) GetDeviceId

func (x *Signer) GetDeviceId() string

func (*Signer) GetEmail

func (x *Signer) GetEmail() string

func (*Signer) GetPublicKey

func (x *Signer) GetPublicKey() []byte

func (*Signer) GetUserId

func (x *Signer) GetUserId() string

func (*Signer) ProtoMessage

func (*Signer) ProtoMessage()

func (*Signer) ProtoReflect

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

func (*Signer) Reset

func (x *Signer) Reset()

func (*Signer) String

func (x *Signer) String() string

type Trust

type Trust struct {
	Root       []byte    `protobuf:"bytes,1,opt,name=root,proto3" json:"root,omitempty"`
	RootDevice string    `protobuf:"bytes,2,opt,name=root_device,json=rootDevice,proto3" json:"root_device,omitempty"`
	RootEmail  string    `protobuf:"bytes,3,opt,name=root_email,json=rootEmail,proto3" json:"root_email,omitempty"`
	Signers    []*Signer `protobuf:"bytes,4,rep,name=signers,proto3" json:"signers,omitempty"`
	// contains filtered or unexported fields
}

Trust is what an agent checks signatures with: the root, which it pins the first time, and the devices the root certified — every certificate is checked.

func (*Trust) Descriptor deprecated

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

Deprecated: Use Trust.ProtoReflect.Descriptor instead.

func (*Trust) GetRoot

func (x *Trust) GetRoot() []byte

func (*Trust) GetRootDevice

func (x *Trust) GetRootDevice() string

func (*Trust) GetRootEmail

func (x *Trust) GetRootEmail() string

func (*Trust) GetSigners

func (x *Trust) GetSigners() []*Signer

func (*Trust) ProtoMessage

func (*Trust) ProtoMessage()

func (*Trust) ProtoReflect

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

func (*Trust) Reset

func (x *Trust) Reset()

func (*Trust) String

func (x *Trust) String() string

type WatchRequest

type WatchRequest struct {
	Device *Device `protobuf:"bytes,2,opt,name=device,proto3" json:"device,omitempty"`
	// contains filtered or unexported fields
}

func (*WatchRequest) Descriptor deprecated

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

Deprecated: Use WatchRequest.ProtoReflect.Descriptor instead.

func (*WatchRequest) GetDevice

func (x *WatchRequest) GetDevice() *Device

func (*WatchRequest) ProtoMessage

func (*WatchRequest) ProtoMessage()

func (*WatchRequest) ProtoReflect

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

func (*WatchRequest) Reset

func (x *WatchRequest) Reset()

func (*WatchRequest) String

func (x *WatchRequest) String() string

type WatchResponse

type WatchResponse struct {
	WorkspaceId   string `protobuf:"bytes,1,opt,name=workspace_id,json=workspaceId,proto3" json:"workspace_id,omitempty"`
	WorkspaceName string `protobuf:"bytes,2,opt,name=workspace_name,json=workspaceName,proto3" json:"workspace_name,omitempty"`
	// Whom to ask for access to repositories.
	AdminEmail string `protobuf:"bytes,3,opt,name=admin_email,json=adminEmail,proto3" json:"admin_email,omitempty"`
	// The projects of the workspace the user works in (env.use).
	Projects []*DesiredProject `protobuf:"bytes,4,rep,name=projects,proto3" json:"projects,omitempty"`
	// Absent while the workspace has no key.
	Key *SecretsKey `protobuf:"bytes,5,opt,name=key,proto3" json:"key,omitempty"`
	// Devices waiting for the key: sent to the devices of the owner and maintainers, which
	// wrap it for them (ADR-0009, variant A).
	PendingDevices []*PendingDevice `protobuf:"bytes,6,rep,name=pending_devices,json=pendingDevices,proto3" json:"pending_devices,omitempty"`
	// Nothing but a sign of life, at least every 30 s while nothing changes: proxies
	// (Cloudflare, corporate ones) cut connections silent for 100 s. The other fields
	// are empty; the agent skips it.
	Keepalive bool `protobuf:"varint,7,opt,name=keepalive,proto3" json:"keepalive,omitempty"`
	// Absent until the workspace's owner sets a root of trust.
	Trust *Trust `protobuf:"bytes,8,opt,name=trust,proto3" json:"trust,omitempty"`
	// contains filtered or unexported fields
}

WatchResponse is the device's whole desired state in the workspace.

func (*WatchResponse) Descriptor deprecated

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

Deprecated: Use WatchResponse.ProtoReflect.Descriptor instead.

func (*WatchResponse) GetAdminEmail

func (x *WatchResponse) GetAdminEmail() string

func (*WatchResponse) GetKeepalive

func (x *WatchResponse) GetKeepalive() bool

func (*WatchResponse) GetKey

func (x *WatchResponse) GetKey() *SecretsKey

func (*WatchResponse) GetPendingDevices

func (x *WatchResponse) GetPendingDevices() []*PendingDevice

func (*WatchResponse) GetProjects

func (x *WatchResponse) GetProjects() []*DesiredProject

func (*WatchResponse) GetTrust

func (x *WatchResponse) GetTrust() *Trust

func (*WatchResponse) GetWorkspaceId

func (x *WatchResponse) GetWorkspaceId() string

func (*WatchResponse) GetWorkspaceName

func (x *WatchResponse) GetWorkspaceName() string

func (*WatchResponse) ProtoMessage

func (*WatchResponse) ProtoMessage()

func (*WatchResponse) ProtoReflect

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

func (*WatchResponse) Reset

func (x *WatchResponse) Reset()

func (*WatchResponse) String

func (x *WatchResponse) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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