protobuf

package
v1.1.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	LabManager_Ping_FullMethodName                   = "/labmanager.LabManager/Ping"
	LabManager_CreateLabGroups_FullMethodName        = "/labmanager.LabManager/CreateLabGroups"
	LabManager_ListLabGroups_FullMethodName          = "/labmanager.LabManager/ListLabGroups"
	LabManager_UpdateLabGroups_FullMethodName        = "/labmanager.LabManager/UpdateLabGroups"
	LabManager_DeleteLabGroups_FullMethodName        = "/labmanager.LabManager/DeleteLabGroups"
	LabManager_CreateLabGroupClients_FullMethodName  = "/labmanager.LabManager/CreateLabGroupClients"
	LabManager_ListLabGroupClients_FullMethodName    = "/labmanager.LabManager/ListLabGroupClients"
	LabManager_UpdateLabGroupClients_FullMethodName  = "/labmanager.LabManager/UpdateLabGroupClients"
	LabManager_DeleteLabGroupClients_FullMethodName  = "/labmanager.LabManager/DeleteLabGroupClients"
	LabManager_SetLabGroupAccess_FullMethodName      = "/labmanager.LabManager/SetLabGroupAccess"
	LabManager_CreateLabs_FullMethodName             = "/labmanager.LabManager/CreateLabs"
	LabManager_ListLabs_FullMethodName               = "/labmanager.LabManager/ListLabs"
	LabManager_UpdateLabs_FullMethodName             = "/labmanager.LabManager/UpdateLabs"
	LabManager_DeleteLabs_FullMethodName             = "/labmanager.LabManager/DeleteLabs"
	LabManager_StopLabs_FullMethodName               = "/labmanager.LabManager/StopLabs"
	LabManager_StartLabs_FullMethodName              = "/labmanager.LabManager/StartLabs"
	LabManager_StopLabGroups_FullMethodName          = "/labmanager.LabManager/StopLabGroups"
	LabManager_StartLabGroups_FullMethodName         = "/labmanager.LabManager/StartLabGroups"
	LabManager_RetireLabs_FullMethodName             = "/labmanager.LabManager/RetireLabs"
	LabManager_RetireLabGroups_FullMethodName        = "/labmanager.LabManager/RetireLabGroups"
	LabManager_Monitoring_FullMethodName             = "/labmanager.LabManager/Monitoring"
	LabManager_Enroll_FullMethodName                 = "/labmanager.LabManager/Enroll"
	LabManager_RenewCertificate_FullMethodName       = "/labmanager.LabManager/RenewCertificate"
	LabManager_RotateAccessKey_FullMethodName        = "/labmanager.LabManager/RotateAccessKey"
	LabManager_RemoveAccessKey_FullMethodName        = "/labmanager.LabManager/RemoveAccessKey"
	LabManager_GetCapacity_FullMethodName            = "/labmanager.LabManager/GetCapacity"
	LabManager_GetFeatures_FullMethodName            = "/labmanager.LabManager/GetFeatures"
	LabManager_ListMaintenanceWindows_FullMethodName = "/labmanager.LabManager/ListMaintenanceWindows"
	LabManager_PrewarmImages_FullMethodName          = "/labmanager.LabManager/PrewarmImages"
	LabManager_ResetDevices_FullMethodName           = "/labmanager.LabManager/ResetDevices"
	LabManager_RescueDevices_FullMethodName          = "/labmanager.LabManager/RescueDevices"
	LabManager_ExportDeviceSnapshot_FullMethodName   = "/labmanager.LabManager/ExportDeviceSnapshot"
)

Variables

View Source
var (
	ItemState_name = map[int32]string{
		0: "ITEM_STATE_UNSPECIFIED",
		1: "ITEM_STATE_CREATED",
		2: "ITEM_STATE_EXISTS",
		3: "ITEM_STATE_UPDATED",
		4: "ITEM_STATE_DELETED",
		5: "ITEM_STATE_NOT_FOUND",
		6: "ITEM_STATE_FAILED",
	}
	ItemState_value = map[string]int32{
		"ITEM_STATE_UNSPECIFIED": 0,
		"ITEM_STATE_CREATED":     1,
		"ITEM_STATE_EXISTS":      2,
		"ITEM_STATE_UPDATED":     3,
		"ITEM_STATE_DELETED":     4,
		"ITEM_STATE_NOT_FOUND":   5,
		"ITEM_STATE_FAILED":      6,
	}
)

Enum value maps for ItemState.

View Source
var (
	PodState_name = map[int32]string{
		0: "POD_STATE_UNSPECIFIED",
		1: "POD_STATE_QUEUED",
		2: "POD_STATE_STARTING",
		3: "POD_STATE_STARTED",
		4: "POD_STATE_FAILED",
	}
	PodState_value = map[string]int32{
		"POD_STATE_UNSPECIFIED": 0,
		"POD_STATE_QUEUED":      1,
		"POD_STATE_STARTING":    2,
		"POD_STATE_STARTED":     3,
		"POD_STATE_FAILED":      4,
	}
)

Enum value maps for PodState.

View Source
var (
	LabGroupAccessAction_name = map[int32]string{
		0: "LAB_GROUP_ACCESS_ACTION_UNSPECIFIED",
		1: "LAB_GROUP_ACCESS_ACTION_ALLOW",
		2: "LAB_GROUP_ACCESS_ACTION_DENY",
	}
	LabGroupAccessAction_value = map[string]int32{
		"LAB_GROUP_ACCESS_ACTION_UNSPECIFIED": 0,
		"LAB_GROUP_ACCESS_ACTION_ALLOW":       1,
		"LAB_GROUP_ACCESS_ACTION_DENY":        2,
	}
)

Enum value maps for LabGroupAccessAction.

View Source
var (
	PrewarmState_name = map[int32]string{
		0: "PREWARM_STATE_UNSPECIFIED",
		1: "PREWARM_STATE_QUEUED",
		2: "PREWARM_STATE_WARMING",
		3: "PREWARM_STATE_DONE",
		4: "PREWARM_STATE_FAILED",
		5: "PREWARM_STATE_SKIPPED",
	}
	PrewarmState_value = map[string]int32{
		"PREWARM_STATE_UNSPECIFIED": 0,
		"PREWARM_STATE_QUEUED":      1,
		"PREWARM_STATE_WARMING":     2,
		"PREWARM_STATE_DONE":        3,
		"PREWARM_STATE_FAILED":      4,
		"PREWARM_STATE_SKIPPED":     5,
	}
)

Enum value maps for PrewarmState.

View Source
var (
	StopSnapshotMode_name = map[int32]string{
		0: "STOP_SNAPSHOT_MODE_UNSPECIFIED",
		1: "STOP_SNAPSHOT_MODE_SKIP",
		2: "STOP_SNAPSHOT_MODE_REQUIRED",
	}
	StopSnapshotMode_value = map[string]int32{
		"STOP_SNAPSHOT_MODE_UNSPECIFIED": 0,
		"STOP_SNAPSHOT_MODE_SKIP":        1,
		"STOP_SNAPSHOT_MODE_REQUIRED":    2,
	}
)

Enum value maps for StopSnapshotMode.

View Source
var File_pkg_agent_protobuf_agent_proto protoreflect.FileDescriptor
View Source
var LabManager_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "labmanager.LabManager",
	HandlerType: (*LabManagerServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Ping",
			Handler:    _LabManager_Ping_Handler,
		},
		{
			MethodName: "CreateLabGroups",
			Handler:    _LabManager_CreateLabGroups_Handler,
		},
		{
			MethodName: "ListLabGroups",
			Handler:    _LabManager_ListLabGroups_Handler,
		},
		{
			MethodName: "UpdateLabGroups",
			Handler:    _LabManager_UpdateLabGroups_Handler,
		},
		{
			MethodName: "DeleteLabGroups",
			Handler:    _LabManager_DeleteLabGroups_Handler,
		},
		{
			MethodName: "CreateLabGroupClients",
			Handler:    _LabManager_CreateLabGroupClients_Handler,
		},
		{
			MethodName: "ListLabGroupClients",
			Handler:    _LabManager_ListLabGroupClients_Handler,
		},
		{
			MethodName: "UpdateLabGroupClients",
			Handler:    _LabManager_UpdateLabGroupClients_Handler,
		},
		{
			MethodName: "DeleteLabGroupClients",
			Handler:    _LabManager_DeleteLabGroupClients_Handler,
		},
		{
			MethodName: "SetLabGroupAccess",
			Handler:    _LabManager_SetLabGroupAccess_Handler,
		},
		{
			MethodName: "CreateLabs",
			Handler:    _LabManager_CreateLabs_Handler,
		},
		{
			MethodName: "ListLabs",
			Handler:    _LabManager_ListLabs_Handler,
		},
		{
			MethodName: "UpdateLabs",
			Handler:    _LabManager_UpdateLabs_Handler,
		},
		{
			MethodName: "DeleteLabs",
			Handler:    _LabManager_DeleteLabs_Handler,
		},
		{
			MethodName: "StopLabs",
			Handler:    _LabManager_StopLabs_Handler,
		},
		{
			MethodName: "StartLabs",
			Handler:    _LabManager_StartLabs_Handler,
		},
		{
			MethodName: "StopLabGroups",
			Handler:    _LabManager_StopLabGroups_Handler,
		},
		{
			MethodName: "StartLabGroups",
			Handler:    _LabManager_StartLabGroups_Handler,
		},
		{
			MethodName: "RetireLabs",
			Handler:    _LabManager_RetireLabs_Handler,
		},
		{
			MethodName: "RetireLabGroups",
			Handler:    _LabManager_RetireLabGroups_Handler,
		},
		{
			MethodName: "Enroll",
			Handler:    _LabManager_Enroll_Handler,
		},
		{
			MethodName: "RenewCertificate",
			Handler:    _LabManager_RenewCertificate_Handler,
		},
		{
			MethodName: "RotateAccessKey",
			Handler:    _LabManager_RotateAccessKey_Handler,
		},
		{
			MethodName: "RemoveAccessKey",
			Handler:    _LabManager_RemoveAccessKey_Handler,
		},
		{
			MethodName: "GetCapacity",
			Handler:    _LabManager_GetCapacity_Handler,
		},
		{
			MethodName: "GetFeatures",
			Handler:    _LabManager_GetFeatures_Handler,
		},
		{
			MethodName: "ListMaintenanceWindows",
			Handler:    _LabManager_ListMaintenanceWindows_Handler,
		},
		{
			MethodName: "PrewarmImages",
			Handler:    _LabManager_PrewarmImages_Handler,
		},
		{
			MethodName: "ResetDevices",
			Handler:    _LabManager_ResetDevices_Handler,
		},
		{
			MethodName: "RescueDevices",
			Handler:    _LabManager_RescueDevices_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "Monitoring",
			Handler:       _LabManager_Monitoring_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "ExportDeviceSnapshot",
			Handler:       _LabManager_ExportDeviceSnapshot_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "pkg/agent/protobuf/agent.proto",
}

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

Functions

func RegisterLabManagerServer

func RegisterLabManagerServer(s grpc.ServiceRegistrar, srv LabManagerServer)

Types

type BatchResult

type BatchResult struct {
	Results []*ItemResult `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"`
	// contains filtered or unexported fields
}

func (*BatchResult) Descriptor deprecated

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

Deprecated: Use BatchResult.ProtoReflect.Descriptor instead.

func (*BatchResult) GetResults

func (x *BatchResult) GetResults() []*ItemResult

func (*BatchResult) ProtoMessage

func (*BatchResult) ProtoMessage()

func (*BatchResult) ProtoReflect

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

func (*BatchResult) Reset

func (x *BatchResult) Reset()

func (*BatchResult) String

func (x *BatchResult) String() string

type CapacityResponse

type CapacityResponse struct {
	Tenant                string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
	HasCpuQuota           bool   `protobuf:"varint,2,opt,name=has_cpu_quota,json=hasCpuQuota,proto3" json:"has_cpu_quota,omitempty"`
	CpuQuotaMillicores    int64  `protobuf:"varint,3,opt,name=cpu_quota_millicores,json=cpuQuotaMillicores,proto3" json:"cpu_quota_millicores,omitempty"`
	HasMemoryQuota        bool   `protobuf:"varint,4,opt,name=has_memory_quota,json=hasMemoryQuota,proto3" json:"has_memory_quota,omitempty"`
	MemoryQuotaBytes      int64  `protobuf:"varint,5,opt,name=memory_quota_bytes,json=memoryQuotaBytes,proto3" json:"memory_quota_bytes,omitempty"`
	CpuReservedMillicores int64  `` /* 127-byte string literal not displayed */
	MemoryReservedBytes   int64  `protobuf:"varint,7,opt,name=memory_reserved_bytes,json=memoryReservedBytes,proto3" json:"memory_reserved_bytes,omitempty"`
	UsageAvailable        bool   `protobuf:"varint,8,opt,name=usage_available,json=usageAvailable,proto3" json:"usage_available,omitempty"` // false when metrics-server is not installed: used is then 0
	CpuUsedMillicores     int64  `protobuf:"varint,9,opt,name=cpu_used_millicores,json=cpuUsedMillicores,proto3" json:"cpu_used_millicores,omitempty"`
	MemoryUsedBytes       int64  `protobuf:"varint,10,opt,name=memory_used_bytes,json=memoryUsedBytes,proto3" json:"memory_used_bytes,omitempty"`
	CpuFreeMillicores     int64  `protobuf:"varint,11,opt,name=cpu_free_millicores,json=cpuFreeMillicores,proto3" json:"cpu_free_millicores,omitempty"`
	MemoryFreeBytes       int64  `protobuf:"varint,12,opt,name=memory_free_bytes,json=memoryFreeBytes,proto3" json:"memory_free_bytes,omitempty"`
	// What the VPN and gateway pods of ONE LabGroup request together (requests = limits, from the chart): the
	// service overhead every group adds to its labs. Sizing a reservation takes it per group.
	GroupOverheadCpuMillicores int64 `` /* 145-byte string literal not displayed */
	GroupOverheadMemoryBytes   int64 `` /* 139-byte string literal not displayed */
	// The largest device the agent can place: per resource, the largest allocatable of a lab node net of the platform
	// reserve the scheduler keeps free (the two values may come from different nodes). One amount, no names: the cluster
	// layout stays private. The backend refuses to plan a device above it. has_max_device is false for an older agent.
	HasMaxDevice           bool  `protobuf:"varint,17,opt,name=has_max_device,json=hasMaxDevice,proto3" json:"has_max_device,omitempty"`
	MaxDeviceCpuMillicores int64 `` /* 133-byte string literal not displayed */
	MaxDeviceMemoryBytes   int64 `` /* 127-byte string literal not displayed */
	// contains filtered or unexported fields
}

CapacityResponse is the CALLER's view of its tenant's resources; no cluster-wide numbers are exposed. Reserved is the sum of the requests of the tenant's pods, used the live consumption (metrics). When the tenant has a quota, free = quota - reserved (never negative); without one there is no limit and the free fields are 0.

func (*CapacityResponse) Descriptor deprecated

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

Deprecated: Use CapacityResponse.ProtoReflect.Descriptor instead.

func (*CapacityResponse) GetCpuFreeMillicores

func (x *CapacityResponse) GetCpuFreeMillicores() int64

func (*CapacityResponse) GetCpuQuotaMillicores

func (x *CapacityResponse) GetCpuQuotaMillicores() int64

func (*CapacityResponse) GetCpuReservedMillicores

func (x *CapacityResponse) GetCpuReservedMillicores() int64

func (*CapacityResponse) GetCpuUsedMillicores

func (x *CapacityResponse) GetCpuUsedMillicores() int64

func (*CapacityResponse) GetGroupOverheadCpuMillicores

func (x *CapacityResponse) GetGroupOverheadCpuMillicores() int64

func (*CapacityResponse) GetGroupOverheadMemoryBytes

func (x *CapacityResponse) GetGroupOverheadMemoryBytes() int64

func (*CapacityResponse) GetHasCpuQuota

func (x *CapacityResponse) GetHasCpuQuota() bool

func (*CapacityResponse) GetHasMaxDevice

func (x *CapacityResponse) GetHasMaxDevice() bool

func (*CapacityResponse) GetHasMemoryQuota

func (x *CapacityResponse) GetHasMemoryQuota() bool

func (*CapacityResponse) GetMaxDeviceCpuMillicores

func (x *CapacityResponse) GetMaxDeviceCpuMillicores() int64

func (*CapacityResponse) GetMaxDeviceMemoryBytes

func (x *CapacityResponse) GetMaxDeviceMemoryBytes() int64

func (*CapacityResponse) GetMemoryFreeBytes

func (x *CapacityResponse) GetMemoryFreeBytes() int64

func (*CapacityResponse) GetMemoryQuotaBytes

func (x *CapacityResponse) GetMemoryQuotaBytes() int64

func (*CapacityResponse) GetMemoryReservedBytes

func (x *CapacityResponse) GetMemoryReservedBytes() int64

func (*CapacityResponse) GetMemoryUsedBytes

func (x *CapacityResponse) GetMemoryUsedBytes() int64

func (*CapacityResponse) GetTenant

func (x *CapacityResponse) GetTenant() string

func (*CapacityResponse) GetUsageAvailable

func (x *CapacityResponse) GetUsageAvailable() bool

func (*CapacityResponse) ProtoMessage

func (*CapacityResponse) ProtoMessage()

func (*CapacityResponse) ProtoReflect

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

func (*CapacityResponse) Reset

func (x *CapacityResponse) Reset()

func (*CapacityResponse) String

func (x *CapacityResponse) String() string

type CertificateFeature

type CertificateFeature struct {
	NotAfterUnix     int64 `protobuf:"varint,1,opt,name=not_after_unix,json=notAfterUnix,proto3" json:"not_after_unix,omitempty"`             // 0 without a client certificate (mTLS off)
	IssuedTtlSeconds int64 `protobuf:"varint,2,opt,name=issued_ttl_seconds,json=issuedTtlSeconds,proto3" json:"issued_ttl_seconds,omitempty"` // the lifetime of certificates Enroll / RenewCertificate issue now
	// contains filtered or unexported fields
}

The client certificate of the connection the call came on. The backend schedules RenewCertificate from not_after_unix, not from its own configuration. Reflects the certificate used to connect: after a renewal it changes when the connection is made again.

func (*CertificateFeature) Descriptor deprecated

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

Deprecated: Use CertificateFeature.ProtoReflect.Descriptor instead.

func (*CertificateFeature) GetIssuedTtlSeconds

func (x *CertificateFeature) GetIssuedTtlSeconds() int64

func (*CertificateFeature) GetNotAfterUnix

func (x *CertificateFeature) GetNotAfterUnix() int64

func (*CertificateFeature) ProtoMessage

func (*CertificateFeature) ProtoMessage()

func (*CertificateFeature) ProtoReflect

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

func (*CertificateFeature) Reset

func (x *CertificateFeature) Reset()

func (*CertificateFeature) String

func (x *CertificateFeature) String() string

type CertificateResponse

type CertificateResponse struct {
	CertificatePem string `protobuf:"bytes,1,opt,name=certificate_pem,json=certificatePem,proto3" json:"certificate_pem,omitempty"`
	ChainPem       string `protobuf:"bytes,2,opt,name=chain_pem,json=chainPem,proto3" json:"chain_pem,omitempty"` // the CA certificate that signed it
	NotAfterUnix   int64  `protobuf:"varint,4,opt,name=not_after_unix,json=notAfterUnix,proto3" json:"not_after_unix,omitempty"`
	// contains filtered or unexported fields
}

func (*CertificateResponse) Descriptor deprecated

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

Deprecated: Use CertificateResponse.ProtoReflect.Descriptor instead.

func (*CertificateResponse) GetCertificatePem

func (x *CertificateResponse) GetCertificatePem() string

func (*CertificateResponse) GetChainPem

func (x *CertificateResponse) GetChainPem() string

func (*CertificateResponse) GetNotAfterUnix

func (x *CertificateResponse) GetNotAfterUnix() int64

func (*CertificateResponse) ProtoMessage

func (*CertificateResponse) ProtoMessage()

func (*CertificateResponse) ProtoReflect

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

func (*CertificateResponse) Reset

func (x *CertificateResponse) Reset()

func (*CertificateResponse) String

func (x *CertificateResponse) String() string

type ComponentErrors

type ComponentErrors struct {

	// "operator" | "node-agent" | "l7-proxy" | "wg-demux" | "vpn" | "gateway" | "agent"
	Component string `protobuf:"bytes,1,opt,name=component,proto3" json:"component,omitempty"`
	// The node name (node-agent) or the pod name (replicas); never an address.
	Instance string        `protobuf:"bytes,2,opt,name=instance,proto3" json:"instance,omitempty"`
	Groups   []*ErrorGroup `protobuf:"bytes,3,rep,name=groups,proto3" json:"groups,omitempty"`
	// contains filtered or unexported fields
}

ComponentErrors are the errors of one component instance.

func (*ComponentErrors) Descriptor deprecated

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

Deprecated: Use ComponentErrors.ProtoReflect.Descriptor instead.

func (*ComponentErrors) GetComponent

func (x *ComponentErrors) GetComponent() string

func (*ComponentErrors) GetGroups

func (x *ComponentErrors) GetGroups() []*ErrorGroup

func (*ComponentErrors) GetInstance

func (x *ComponentErrors) GetInstance() string

func (*ComponentErrors) ProtoMessage

func (*ComponentErrors) ProtoMessage()

func (*ComponentErrors) ProtoReflect

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

func (*ComponentErrors) Reset

func (x *ComponentErrors) Reset()

func (*ComponentErrors) String

func (x *ComponentErrors) String() string

type CreateLabGroupClientsRequest

type CreateLabGroupClientsRequest struct {
	Labels map[string]string     `` /* 139-byte string literal not displayed */
	Items  []*LabGroupClientItem `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateLabGroupClientsRequest) Descriptor deprecated

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

Deprecated: Use CreateLabGroupClientsRequest.ProtoReflect.Descriptor instead.

func (*CreateLabGroupClientsRequest) GetItems

func (*CreateLabGroupClientsRequest) GetLabels

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

func (*CreateLabGroupClientsRequest) ProtoMessage

func (*CreateLabGroupClientsRequest) ProtoMessage()

func (*CreateLabGroupClientsRequest) ProtoReflect

func (*CreateLabGroupClientsRequest) Reset

func (x *CreateLabGroupClientsRequest) Reset()

func (*CreateLabGroupClientsRequest) String

type CreateLabGroupClientsResponse

type CreateLabGroupClientsResponse struct {
	Results []*LabGroupClientResult `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateLabGroupClientsResponse) Descriptor deprecated

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

Deprecated: Use CreateLabGroupClientsResponse.ProtoReflect.Descriptor instead.

func (*CreateLabGroupClientsResponse) GetResults

func (*CreateLabGroupClientsResponse) ProtoMessage

func (*CreateLabGroupClientsResponse) ProtoMessage()

func (*CreateLabGroupClientsResponse) ProtoReflect

func (*CreateLabGroupClientsResponse) Reset

func (x *CreateLabGroupClientsResponse) Reset()

func (*CreateLabGroupClientsResponse) String

type CreateLabGroupsRequest

type CreateLabGroupsRequest struct {
	Labels map[string]string `` /* 139-byte string literal not displayed */
	Items  []*LabGroupItem   `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateLabGroupsRequest) Descriptor deprecated

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

Deprecated: Use CreateLabGroupsRequest.ProtoReflect.Descriptor instead.

func (*CreateLabGroupsRequest) GetItems

func (x *CreateLabGroupsRequest) GetItems() []*LabGroupItem

func (*CreateLabGroupsRequest) GetLabels

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

func (*CreateLabGroupsRequest) ProtoMessage

func (*CreateLabGroupsRequest) ProtoMessage()

func (*CreateLabGroupsRequest) ProtoReflect

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

func (*CreateLabGroupsRequest) Reset

func (x *CreateLabGroupsRequest) Reset()

func (*CreateLabGroupsRequest) String

func (x *CreateLabGroupsRequest) String() string

type CreateLabsRequest

type CreateLabsRequest struct {
	Labels   map[string]string `` /* 139-byte string literal not displayed */
	Variants []*LabVariant     `protobuf:"bytes,2,rep,name=variants,proto3" json:"variants,omitempty"`
	Items    []*LabItem        `protobuf:"bytes,3,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateLabsRequest) Descriptor deprecated

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

Deprecated: Use CreateLabsRequest.ProtoReflect.Descriptor instead.

func (*CreateLabsRequest) GetItems

func (x *CreateLabsRequest) GetItems() []*LabItem

func (*CreateLabsRequest) GetLabels

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

func (*CreateLabsRequest) GetVariants

func (x *CreateLabsRequest) GetVariants() []*LabVariant

func (*CreateLabsRequest) ProtoMessage

func (*CreateLabsRequest) ProtoMessage()

func (*CreateLabsRequest) ProtoReflect

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

func (*CreateLabsRequest) Reset

func (x *CreateLabsRequest) Reset()

func (*CreateLabsRequest) String

func (x *CreateLabsRequest) String() string

type DeleteRequest

type DeleteRequest struct {
	BySelector *Selector  `protobuf:"bytes,1,opt,name=by_selector,json=bySelector,proto3" json:"by_selector,omitempty"`
	Items      []*ItemRef `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteRequest) Descriptor deprecated

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

Deprecated: Use DeleteRequest.ProtoReflect.Descriptor instead.

func (*DeleteRequest) GetBySelector

func (x *DeleteRequest) GetBySelector() *Selector

func (*DeleteRequest) GetItems

func (x *DeleteRequest) GetItems() []*ItemRef

func (*DeleteRequest) ProtoMessage

func (*DeleteRequest) ProtoMessage()

func (*DeleteRequest) ProtoReflect

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

func (*DeleteRequest) Reset

func (x *DeleteRequest) Reset()

func (*DeleteRequest) String

func (x *DeleteRequest) String() string

type DeployFailure

type DeployFailure struct {
	LabGroup string `protobuf:"bytes,1,opt,name=lab_group,json=labGroup,proto3" json:"lab_group,omitempty"` // the platform's ids (as in ItemRef), not names of images or people
	Lab      string `protobuf:"bytes,2,opt,name=lab,proto3" json:"lab,omitempty"`                           // empty for a pod of the group itself
	// A stable code: ImagePull, CrashLoop, Unschedulable, StartupTimeout, PodNotCreated, DoesNotFit (device and group pods), or LabFailed / LabError
	// (a lab whose phase is Failed or Error without a device failure to blame).
	ReasonCode string `protobuf:"bytes,3,opt,name=reason_code,json=reasonCode,proto3" json:"reason_code,omitempty"`
	Device     string `protobuf:"bytes,4,opt,name=device,proto3" json:"device,omitempty"`   // the device name (the platform's, from the topology), or "vpn" / "gateway"
	Message    string `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"` // redacted, at most 300 characters
	AtUnixMs   int64  `protobuf:"varint,6,opt,name=at_unix_ms,json=atUnixMs,proto3" json:"at_unix_ms,omitempty"`
	// contains filtered or unexported fields
}

DeployFailure is a lab (or a group's VPN or gateway pod) of the tenant that did not start.

func (*DeployFailure) Descriptor deprecated

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

Deprecated: Use DeployFailure.ProtoReflect.Descriptor instead.

func (*DeployFailure) GetAtUnixMs

func (x *DeployFailure) GetAtUnixMs() int64

func (*DeployFailure) GetDevice

func (x *DeployFailure) GetDevice() string

func (*DeployFailure) GetLab

func (x *DeployFailure) GetLab() string

func (*DeployFailure) GetLabGroup

func (x *DeployFailure) GetLabGroup() string

func (*DeployFailure) GetMessage

func (x *DeployFailure) GetMessage() string

func (*DeployFailure) GetReasonCode

func (x *DeployFailure) GetReasonCode() string

func (*DeployFailure) ProtoMessage

func (*DeployFailure) ProtoMessage()

func (*DeployFailure) ProtoReflect

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

func (*DeployFailure) Reset

func (x *DeployFailure) Reset()

func (*DeployFailure) String

func (x *DeployFailure) String() string

type DeviceConstants

type DeviceConstants struct {
	MaxInterfacesPerContainer int32 `` /* 141-byte string literal not displayed */
	MaxPortsPerSwitchOrHub    int32 `` /* 136-byte string literal not displayed */
	HardMaxDevicesPerLab      int32 `` /* 128-byte string literal not displayed */
	// contains filtered or unexported fields
}

Constants of the device model: the platform's, not settings. The devices of a lab are capped by LimitsFeature.lab.max_devices (at most hard_max_devices_per_lab, the ceiling the chart cannot lift).

func (*DeviceConstants) Descriptor deprecated

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

Deprecated: Use DeviceConstants.ProtoReflect.Descriptor instead.

func (*DeviceConstants) GetHardMaxDevicesPerLab

func (x *DeviceConstants) GetHardMaxDevicesPerLab() int32

func (*DeviceConstants) GetMaxInterfacesPerContainer

func (x *DeviceConstants) GetMaxInterfacesPerContainer() int32

func (*DeviceConstants) GetMaxPortsPerSwitchOrHub

func (x *DeviceConstants) GetMaxPortsPerSwitchOrHub() int32

func (*DeviceConstants) ProtoMessage

func (*DeviceConstants) ProtoMessage()

func (*DeviceConstants) ProtoReflect

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

func (*DeviceConstants) Reset

func (x *DeviceConstants) Reset()

func (*DeviceConstants) String

func (x *DeviceConstants) String() string

type DeviceEnv

type DeviceEnv struct {
	Device string            `protobuf:"bytes,1,opt,name=device,proto3" json:"device,omitempty"`
	Vars   map[string]string `` /* 135-byte string literal not displayed */
	// contains filtered or unexported fields
}

DeviceEnv carries the variables of one device. The agent materializes them into a write-only per-device Secret (the pod loads it via envFrom): they never land in the Lab/Device CR and are never read back.

func (*DeviceEnv) Descriptor deprecated

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

Deprecated: Use DeviceEnv.ProtoReflect.Descriptor instead.

func (*DeviceEnv) GetDevice

func (x *DeviceEnv) GetDevice() string

func (*DeviceEnv) GetVars

func (x *DeviceEnv) GetVars() map[string]string

func (*DeviceEnv) ProtoMessage

func (*DeviceEnv) ProtoMessage()

func (*DeviceEnv) ProtoReflect

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

func (*DeviceEnv) Reset

func (x *DeviceEnv) Reset()

func (*DeviceEnv) String

func (x *DeviceEnv) String() string

type DeviceLimits

type DeviceLimits struct {
	MaxCpuMillicores     int64 `protobuf:"varint,1,opt,name=max_cpu_millicores,json=maxCpuMillicores,proto3" json:"max_cpu_millicores,omitempty"`
	MaxMemoryBytes       int64 `protobuf:"varint,2,opt,name=max_memory_bytes,json=maxMemoryBytes,proto3" json:"max_memory_bytes,omitempty"`
	DefaultCpuMillicores int64 `protobuf:"varint,3,opt,name=default_cpu_millicores,json=defaultCpuMillicores,proto3" json:"default_cpu_millicores,omitempty"`
	DefaultMemoryBytes   int64 `protobuf:"varint,4,opt,name=default_memory_bytes,json=defaultMemoryBytes,proto3" json:"default_memory_bytes,omitempty"`
	// contains filtered or unexported fields
}

func (*DeviceLimits) Descriptor deprecated

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

Deprecated: Use DeviceLimits.ProtoReflect.Descriptor instead.

func (*DeviceLimits) GetDefaultCpuMillicores

func (x *DeviceLimits) GetDefaultCpuMillicores() int64

func (*DeviceLimits) GetDefaultMemoryBytes

func (x *DeviceLimits) GetDefaultMemoryBytes() int64

func (*DeviceLimits) GetMaxCpuMillicores

func (x *DeviceLimits) GetMaxCpuMillicores() int64

func (*DeviceLimits) GetMaxMemoryBytes

func (x *DeviceLimits) GetMaxMemoryBytes() int64

func (*DeviceLimits) ProtoMessage

func (*DeviceLimits) ProtoMessage()

func (*DeviceLimits) ProtoReflect

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

func (*DeviceLimits) Reset

func (x *DeviceLimits) Reset()

func (*DeviceLimits) String

func (x *DeviceLimits) String() string

type DeviceSelector

type DeviceSelector struct {
	Selector      string `protobuf:"bytes,1,opt,name=selector,proto3" json:"selector,omitempty"`
	LabGroup      string `protobuf:"bytes,2,opt,name=lab_group,json=labGroup,proto3" json:"lab_group,omitempty"`
	Device        string `protobuf:"bytes,3,opt,name=device,proto3" json:"device,omitempty"`
	ExpectedCount *int64 `protobuf:"varint,4,opt,name=expected_count,json=expectedCount,proto3,oneof" json:"expected_count,omitempty"` // of labs
	// contains filtered or unexported fields
}

DeviceSelector selects LABS by label and names the device inside each of them.

func (*DeviceSelector) Descriptor deprecated

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

Deprecated: Use DeviceSelector.ProtoReflect.Descriptor instead.

func (*DeviceSelector) GetDevice

func (x *DeviceSelector) GetDevice() string

func (*DeviceSelector) GetExpectedCount

func (x *DeviceSelector) GetExpectedCount() int64

func (*DeviceSelector) GetLabGroup

func (x *DeviceSelector) GetLabGroup() string

func (*DeviceSelector) GetSelector

func (x *DeviceSelector) GetSelector() string

func (*DeviceSelector) ProtoMessage

func (*DeviceSelector) ProtoMessage()

func (*DeviceSelector) ProtoReflect

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

func (*DeviceSelector) Reset

func (x *DeviceSelector) Reset()

func (*DeviceSelector) String

func (x *DeviceSelector) String() string

type DeviceSnapshotRequest

type DeviceSnapshotRequest struct {

	// The device: lab_group, lab and name (the device name).
	Ref *ItemRef `protobuf:"bytes,1,opt,name=ref,proto3" json:"ref,omitempty"`
	// contains filtered or unexported fields
}

func (*DeviceSnapshotRequest) Descriptor deprecated

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

Deprecated: Use DeviceSnapshotRequest.ProtoReflect.Descriptor instead.

func (*DeviceSnapshotRequest) GetRef

func (x *DeviceSnapshotRequest) GetRef() *ItemRef

func (*DeviceSnapshotRequest) ProtoMessage

func (*DeviceSnapshotRequest) ProtoMessage()

func (*DeviceSnapshotRequest) ProtoReflect

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

func (*DeviceSnapshotRequest) Reset

func (x *DeviceSnapshotRequest) Reset()

func (*DeviceSnapshotRequest) String

func (x *DeviceSnapshotRequest) String() string

type DeviceSnapshotStatus

type DeviceSnapshotStatus struct {
	LastSnapshotUnixMs int64  `protobuf:"varint,1,opt,name=last_snapshot_unix_ms,json=lastSnapshotUnixMs,proto3" json:"last_snapshot_unix_ms,omitempty"` // 0 = no snapshot yet
	RestoredUnixMs     int64  `protobuf:"varint,2,opt,name=restored_unix_ms,json=restoredUnixMs,proto3" json:"restored_unix_ms,omitempty"`               // when the device was last started from a snapshot; 0 = never
	SizeBytes          int64  `protobuf:"varint,3,opt,name=size_bytes,json=sizeBytes,proto3" json:"size_bytes,omitempty"`                                // uncompressed size of the kept snapshot layers
	Warning            string `protobuf:"bytes,4,opt,name=warning,proto3" json:"warning,omitempty"`                                                      // quota exceeded or snapshot failing; the last good snapshot is kept
	Rescue             bool   `protobuf:"varint,5,opt,name=rescue,proto3" json:"rescue,omitempty"`                                                       // the device runs in rescue mode
	// contains filtered or unexported fields
}

DeviceSnapshotStatus is the state of a device's writable-layer snapshots.

func (*DeviceSnapshotStatus) Descriptor deprecated

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

Deprecated: Use DeviceSnapshotStatus.ProtoReflect.Descriptor instead.

func (*DeviceSnapshotStatus) GetLastSnapshotUnixMs

func (x *DeviceSnapshotStatus) GetLastSnapshotUnixMs() int64

func (*DeviceSnapshotStatus) GetRescue

func (x *DeviceSnapshotStatus) GetRescue() bool

func (*DeviceSnapshotStatus) GetRestoredUnixMs

func (x *DeviceSnapshotStatus) GetRestoredUnixMs() int64

func (*DeviceSnapshotStatus) GetSizeBytes

func (x *DeviceSnapshotStatus) GetSizeBytes() int64

func (*DeviceSnapshotStatus) GetWarning

func (x *DeviceSnapshotStatus) GetWarning() string

func (*DeviceSnapshotStatus) ProtoMessage

func (*DeviceSnapshotStatus) ProtoMessage()

func (*DeviceSnapshotStatus) ProtoReflect

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

func (*DeviceSnapshotStatus) Reset

func (x *DeviceSnapshotStatus) Reset()

func (*DeviceSnapshotStatus) String

func (x *DeviceSnapshotStatus) String() string

type DevicesRequest

type DevicesRequest struct {
	Items      []*ItemRef      `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	BySelector *DeviceSelector `protobuf:"bytes,2,opt,name=by_selector,json=bySelector,proto3" json:"by_selector,omitempty"`
	// contains filtered or unexported fields
}

items (lab_group, lab, name = device) or by_selector, never both.

func (*DevicesRequest) Descriptor deprecated

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

Deprecated: Use DevicesRequest.ProtoReflect.Descriptor instead.

func (*DevicesRequest) GetBySelector

func (x *DevicesRequest) GetBySelector() *DeviceSelector

func (*DevicesRequest) GetItems

func (x *DevicesRequest) GetItems() []*ItemRef

func (*DevicesRequest) ProtoMessage

func (*DevicesRequest) ProtoMessage()

func (*DevicesRequest) ProtoReflect

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

func (*DevicesRequest) Reset

func (x *DevicesRequest) Reset()

func (*DevicesRequest) String

func (x *DevicesRequest) String() string

type Empty

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

func (*Empty) Descriptor deprecated

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

Deprecated: Use Empty.ProtoReflect.Descriptor instead.

func (*Empty) ProtoMessage

func (*Empty) ProtoMessage()

func (*Empty) ProtoReflect

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

func (*Empty) Reset

func (x *Empty) Reset()

func (*Empty) String

func (x *Empty) String() string

type EndpointsFeature

type EndpointsFeature struct {

	// Base domain of the lab web endpoints (device URLs are <host>.<labs_domain>).
	LabsDomain string `protobuf:"bytes,1,opt,name=labs_domain,json=labsDomain,proto3" json:"labs_domain,omitempty"`
	// host:port WireGuard clients connect to.
	VpnEndpoint string `protobuf:"bytes,2,opt,name=vpn_endpoint,json=vpnEndpoint,proto3" json:"vpn_endpoint,omitempty"`
	// contains filtered or unexported fields
}

Hosts the backend shows or hands out.

func (*EndpointsFeature) Descriptor deprecated

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

Deprecated: Use EndpointsFeature.ProtoReflect.Descriptor instead.

func (*EndpointsFeature) GetLabsDomain

func (x *EndpointsFeature) GetLabsDomain() string

func (*EndpointsFeature) GetVpnEndpoint

func (x *EndpointsFeature) GetVpnEndpoint() string

func (*EndpointsFeature) ProtoMessage

func (*EndpointsFeature) ProtoMessage()

func (*EndpointsFeature) ProtoReflect

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

func (*EndpointsFeature) Reset

func (x *EndpointsFeature) Reset()

func (*EndpointsFeature) String

func (x *EndpointsFeature) String() string

type EnrollRequest

type EnrollRequest struct {
	Token              string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	CsrPem             string `protobuf:"bytes,2,opt,name=csr_pem,json=csrPem,proto3" json:"csr_pem,omitempty"`                                         // PKCS#10 certificate request; only its public key is used
	AccessPublicKeyPem string `protobuf:"bytes,3,opt,name=access_public_key_pem,json=accessPublicKeyPem,proto3" json:"access_public_key_pem,omitempty"` // PKIX Ed25519 public key that verifies the tenant's tokens
	AccessKeyId        string `protobuf:"bytes,4,opt,name=access_key_id,json=accessKeyId,proto3" json:"access_key_id,omitempty"`                        // 1 to 64 characters of A-Z a-z 0-9 . _ -
	// contains filtered or unexported fields
}

func (*EnrollRequest) Descriptor deprecated

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

Deprecated: Use EnrollRequest.ProtoReflect.Descriptor instead.

func (*EnrollRequest) GetAccessKeyId

func (x *EnrollRequest) GetAccessKeyId() string

func (*EnrollRequest) GetAccessPublicKeyPem

func (x *EnrollRequest) GetAccessPublicKeyPem() string

func (*EnrollRequest) GetCsrPem

func (x *EnrollRequest) GetCsrPem() string

func (*EnrollRequest) GetToken

func (x *EnrollRequest) GetToken() string

func (*EnrollRequest) ProtoMessage

func (*EnrollRequest) ProtoMessage()

func (*EnrollRequest) ProtoReflect

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

func (*EnrollRequest) Reset

func (x *EnrollRequest) Reset()

func (*EnrollRequest) String

func (x *EnrollRequest) String() string

type ErrorGroup

type ErrorGroup struct {

	// hex(sha256(component, kind, normalized))[:8]: stable across restarts and replicas of the same component.
	Fingerprint string `protobuf:"bytes,1,opt,name=fingerprint,proto3" json:"fingerprint,omitempty"`
	// The error path: reconcile, ovs, registry, cni, grpc, tls, panic, ... (the first name of the logger).
	Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"`
	// The message with numbers, ids, names, hosts and addresses replaced (<n>, <id>, <obj>, <host>, <ip>); secrets removed.
	Normalized string `protobuf:"bytes,3,opt,name=normalized,proto3" json:"normalized,omitempty"`
	// Occurrences in the window.
	Count       int64 `protobuf:"varint,4,opt,name=count,proto3" json:"count,omitempty"`
	FirstUnixMs int64 `protobuf:"varint,5,opt,name=first_unix_ms,json=firstUnixMs,proto3" json:"first_unix_ms,omitempty"`
	LastUnixMs  int64 `protobuf:"varint,6,opt,name=last_unix_ms,json=lastUnixMs,proto3" json:"last_unix_ms,omitempty"`
	// Up to three recent messages, redacted, at most 300 characters each.
	Samples []string `protobuf:"bytes,7,rep,name=samples,proto3" json:"samples,omitempty"`
	// contains filtered or unexported fields
}

ErrorGroup is one distinct error: the occurrences that read the same after normalizing.

func (*ErrorGroup) Descriptor deprecated

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

Deprecated: Use ErrorGroup.ProtoReflect.Descriptor instead.

func (*ErrorGroup) GetCount

func (x *ErrorGroup) GetCount() int64

func (*ErrorGroup) GetFingerprint

func (x *ErrorGroup) GetFingerprint() string

func (*ErrorGroup) GetFirstUnixMs

func (x *ErrorGroup) GetFirstUnixMs() int64

func (*ErrorGroup) GetKind

func (x *ErrorGroup) GetKind() string

func (*ErrorGroup) GetLastUnixMs

func (x *ErrorGroup) GetLastUnixMs() int64

func (*ErrorGroup) GetNormalized

func (x *ErrorGroup) GetNormalized() string

func (*ErrorGroup) GetSamples

func (x *ErrorGroup) GetSamples() []string

func (*ErrorGroup) ProtoMessage

func (*ErrorGroup) ProtoMessage()

func (*ErrorGroup) ProtoReflect

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

func (*ErrorGroup) Reset

func (x *ErrorGroup) Reset()

func (*ErrorGroup) String

func (x *ErrorGroup) String() string

type ErrorJournal

type ErrorJournal struct {
	WindowStartUnixMs int64 `protobuf:"varint,1,opt,name=window_start_unix_ms,json=windowStartUnixMs,proto3" json:"window_start_unix_ms,omitempty"`
	WindowEndUnixMs   int64 `protobuf:"varint,2,opt,name=window_end_unix_ms,json=windowEndUnixMs,proto3" json:"window_end_unix_ms,omitempty"`
	// The laboratory's own components. Only for a tenant with Tenant.spec.receivesLabErrors (the platform's backend); empty for others.
	Components []*ComponentErrors `protobuf:"bytes,3,rep,name=components,proto3" json:"components,omitempty"`
	// Lab deploys of THIS tenant that failed, with a reason code.
	DeployFailures []*DeployFailure `protobuf:"bytes,4,rep,name=deploy_failures,json=deployFailures,proto3" json:"deploy_failures,omitempty"`
	// not_after of the client certificate of this connection (as features.certificate.not_after_unix), so that the journal can warn
	// before it expires. Sent with the first message, when it changes, and about hourly.
	ClientCertNotAfterUnix int64 `` /* 134-byte string literal not displayed */
	// contains filtered or unexported fields
}

ErrorJournal is what broke in the laboratory since the last message of this stream (the first message covers the last ten minutes). The counts are deltas. Nothing here names a tenant, a participant, an address or a secret: every message is redacted where it is written and again where it is read.

func (*ErrorJournal) Descriptor deprecated

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

Deprecated: Use ErrorJournal.ProtoReflect.Descriptor instead.

func (*ErrorJournal) GetClientCertNotAfterUnix

func (x *ErrorJournal) GetClientCertNotAfterUnix() int64

func (*ErrorJournal) GetComponents

func (x *ErrorJournal) GetComponents() []*ComponentErrors

func (*ErrorJournal) GetDeployFailures

func (x *ErrorJournal) GetDeployFailures() []*DeployFailure

func (*ErrorJournal) GetWindowEndUnixMs

func (x *ErrorJournal) GetWindowEndUnixMs() int64

func (*ErrorJournal) GetWindowStartUnixMs

func (x *ErrorJournal) GetWindowStartUnixMs() int64

func (*ErrorJournal) ProtoMessage

func (*ErrorJournal) ProtoMessage()

func (*ErrorJournal) ProtoReflect

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

func (*ErrorJournal) Reset

func (x *ErrorJournal) Reset()

func (*ErrorJournal) String

func (x *ErrorJournal) String() string

type FeaturesResponse

type FeaturesResponse struct {
	Tenant           string                   `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
	StatePersistence *StatePersistenceFeature `protobuf:"bytes,2,opt,name=state_persistence,json=statePersistence,proto3" json:"state_persistence,omitempty"`
	ImageCache       *ImageCacheFeature       `protobuf:"bytes,3,opt,name=image_cache,json=imageCache,proto3" json:"image_cache,omitempty"`
	Scheduler        *SchedulerFeature        `protobuf:"bytes,4,opt,name=scheduler,proto3" json:"scheduler,omitempty"`
	Endpoints        *EndpointsFeature        `protobuf:"bytes,5,opt,name=endpoints,proto3" json:"endpoints,omitempty"`
	Certificate      *CertificateFeature      `protobuf:"bytes,6,opt,name=certificate,proto3" json:"certificate,omitempty"`
	Proxy            *ProxyFeature            `protobuf:"bytes,7,opt,name=proxy,proto3" json:"proxy,omitempty"`
	Limits           *LimitsFeature           `protobuf:"bytes,8,opt,name=limits,proto3" json:"limits,omitempty"`
	// The device security profiles this cluster offers (catalog IDs: "standard", "extended"). A lab whose device asks
	// for another is refused (InvalidArgument); the old names basic and service mean standard, net and debug mean extended.
	DeviceProfiles []string `protobuf:"bytes,9,rep,name=device_profiles,json=deviceProfiles,proto3" json:"device_profiles,omitempty"`
	// How the pods a group runs itself are sized, and what the chart gives them when CreateLabGroups sets no size.
	GroupPods *GroupPodsFeature `protobuf:"bytes,10,opt,name=group_pods,json=groupPods,proto3" json:"group_pods,omitempty"`
	// Fixed limits of the model (not settings).
	Constants *DeviceConstants `protobuf:"bytes,11,opt,name=constants,proto3" json:"constants,omitempty"`
	// The resources the cluster gives this tenant (the same quota GetCapacity reports against).
	TenantQuota *TenantQuotaFeature `protobuf:"bytes,12,opt,name=tenant_quota,json=tenantQuota,proto3" json:"tenant_quota,omitempty"`
	Lifecycle   *LifecycleFeature   `protobuf:"bytes,13,opt,name=lifecycle,proto3" json:"lifecycle,omitempty"`
	// contains filtered or unexported fields
}

func (*FeaturesResponse) Descriptor deprecated

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

Deprecated: Use FeaturesResponse.ProtoReflect.Descriptor instead.

func (*FeaturesResponse) GetCertificate

func (x *FeaturesResponse) GetCertificate() *CertificateFeature

func (*FeaturesResponse) GetConstants

func (x *FeaturesResponse) GetConstants() *DeviceConstants

func (*FeaturesResponse) GetDeviceProfiles

func (x *FeaturesResponse) GetDeviceProfiles() []string

func (*FeaturesResponse) GetEndpoints

func (x *FeaturesResponse) GetEndpoints() *EndpointsFeature

func (*FeaturesResponse) GetGroupPods

func (x *FeaturesResponse) GetGroupPods() *GroupPodsFeature

func (*FeaturesResponse) GetImageCache

func (x *FeaturesResponse) GetImageCache() *ImageCacheFeature

func (*FeaturesResponse) GetLifecycle added in v1.1.0

func (x *FeaturesResponse) GetLifecycle() *LifecycleFeature

func (*FeaturesResponse) GetLimits

func (x *FeaturesResponse) GetLimits() *LimitsFeature

func (*FeaturesResponse) GetProxy

func (x *FeaturesResponse) GetProxy() *ProxyFeature

func (*FeaturesResponse) GetScheduler

func (x *FeaturesResponse) GetScheduler() *SchedulerFeature

func (*FeaturesResponse) GetStatePersistence

func (x *FeaturesResponse) GetStatePersistence() *StatePersistenceFeature

func (*FeaturesResponse) GetTenant

func (x *FeaturesResponse) GetTenant() string

func (*FeaturesResponse) GetTenantQuota

func (x *FeaturesResponse) GetTenantQuota() *TenantQuotaFeature

func (*FeaturesResponse) ProtoMessage

func (*FeaturesResponse) ProtoMessage()

func (*FeaturesResponse) ProtoReflect

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

func (*FeaturesResponse) Reset

func (x *FeaturesResponse) Reset()

func (*FeaturesResponse) String

func (x *FeaturesResponse) String() string

type GroupLifecycleSpec added in v1.1.0

type GroupLifecycleSpec struct {
	DesiredState          string `protobuf:"bytes,1,opt,name=desired_state,json=desiredState,proto3" json:"desired_state,omitempty"`
	OperationId           string `protobuf:"bytes,2,opt,name=operation_id,json=operationId,proto3" json:"operation_id,omitempty"`
	Revision              int64  `protobuf:"varint,3,opt,name=revision,proto3" json:"revision,omitempty"`
	RequireAllLabsStopped bool   `` /* 129-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*GroupLifecycleSpec) Descriptor deprecated added in v1.1.0

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

Deprecated: Use GroupLifecycleSpec.ProtoReflect.Descriptor instead.

func (*GroupLifecycleSpec) GetDesiredState added in v1.1.0

func (x *GroupLifecycleSpec) GetDesiredState() string

func (*GroupLifecycleSpec) GetOperationId added in v1.1.0

func (x *GroupLifecycleSpec) GetOperationId() string

func (*GroupLifecycleSpec) GetRequireAllLabsStopped added in v1.1.0

func (x *GroupLifecycleSpec) GetRequireAllLabsStopped() bool

func (*GroupLifecycleSpec) GetRevision added in v1.1.0

func (x *GroupLifecycleSpec) GetRevision() int64

func (*GroupLifecycleSpec) ProtoMessage added in v1.1.0

func (*GroupLifecycleSpec) ProtoMessage()

func (*GroupLifecycleSpec) ProtoReflect added in v1.1.0

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

func (*GroupLifecycleSpec) Reset added in v1.1.0

func (x *GroupLifecycleSpec) Reset()

func (*GroupLifecycleSpec) String added in v1.1.0

func (x *GroupLifecycleSpec) String() string

type GroupLimits

type GroupLimits struct {
	MaxLabs          int32 `protobuf:"varint,1,opt,name=max_labs,json=maxLabs,proto3" json:"max_labs,omitempty"`
	MaxCpuMillicores int64 `protobuf:"varint,2,opt,name=max_cpu_millicores,json=maxCpuMillicores,proto3" json:"max_cpu_millicores,omitempty"`
	MaxMemoryBytes   int64 `protobuf:"varint,3,opt,name=max_memory_bytes,json=maxMemoryBytes,proto3" json:"max_memory_bytes,omitempty"`
	// contains filtered or unexported fields
}

Per LabGroup: its labs, and the sum of the planned resources of the devices of all of them.

func (*GroupLimits) Descriptor deprecated

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

Deprecated: Use GroupLimits.ProtoReflect.Descriptor instead.

func (*GroupLimits) GetMaxCpuMillicores

func (x *GroupLimits) GetMaxCpuMillicores() int64

func (*GroupLimits) GetMaxLabs

func (x *GroupLimits) GetMaxLabs() int32

func (*GroupLimits) GetMaxMemoryBytes

func (x *GroupLimits) GetMaxMemoryBytes() int64

func (*GroupLimits) ProtoMessage

func (*GroupLimits) ProtoMessage()

func (*GroupLimits) ProtoReflect

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

func (*GroupLimits) Reset

func (x *GroupLimits) Reset()

func (*GroupLimits) String

func (x *GroupLimits) String() string

type GroupPodFormula added in v1.1.0

type GroupPodFormula struct {
	Base               *PodSize `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	PerUser            *PodSize `protobuf:"bytes,2,opt,name=per_user,json=perUser,proto3" json:"per_user,omitempty"`
	PerActiveLab       *PodSize `protobuf:"bytes,3,opt,name=per_active_lab,json=perActiveLab,proto3" json:"per_active_lab,omitempty"`
	PerInternetLab     *PodSize `protobuf:"bytes,4,opt,name=per_internet_lab,json=perInternetLab,proto3" json:"per_internet_lab,omitempty"`
	PerAllowedRelation *PodSize `protobuf:"bytes,5,opt,name=per_allowed_relation,json=perAllowedRelation,proto3" json:"per_allowed_relation,omitempty"`
	PerRetainedFlow    *PodSize `protobuf:"bytes,6,opt,name=per_retained_flow,json=perRetainedFlow,proto3" json:"per_retained_flow,omitempty"`
	Floor              *PodSize `protobuf:"bytes,7,opt,name=floor,proto3" json:"floor,omitempty"`
	RoundTo            *PodSize `protobuf:"bytes,8,opt,name=round_to,json=roundTo,proto3" json:"round_to,omitempty"`
	// contains filtered or unexported fields
}

func (*GroupPodFormula) Descriptor deprecated added in v1.1.0

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

Deprecated: Use GroupPodFormula.ProtoReflect.Descriptor instead.

func (*GroupPodFormula) GetBase added in v1.1.0

func (x *GroupPodFormula) GetBase() *PodSize

func (*GroupPodFormula) GetFloor added in v1.1.0

func (x *GroupPodFormula) GetFloor() *PodSize

func (*GroupPodFormula) GetPerActiveLab added in v1.1.0

func (x *GroupPodFormula) GetPerActiveLab() *PodSize

func (*GroupPodFormula) GetPerAllowedRelation added in v1.1.0

func (x *GroupPodFormula) GetPerAllowedRelation() *PodSize

func (*GroupPodFormula) GetPerInternetLab added in v1.1.0

func (x *GroupPodFormula) GetPerInternetLab() *PodSize

func (*GroupPodFormula) GetPerRetainedFlow added in v1.1.0

func (x *GroupPodFormula) GetPerRetainedFlow() *PodSize

func (*GroupPodFormula) GetPerUser added in v1.1.0

func (x *GroupPodFormula) GetPerUser() *PodSize

func (*GroupPodFormula) GetRoundTo added in v1.1.0

func (x *GroupPodFormula) GetRoundTo() *PodSize

func (*GroupPodFormula) ProtoMessage added in v1.1.0

func (*GroupPodFormula) ProtoMessage()

func (*GroupPodFormula) ProtoReflect added in v1.1.0

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

func (*GroupPodFormula) Reset added in v1.1.0

func (x *GroupPodFormula) Reset()

func (*GroupPodFormula) String added in v1.1.0

func (x *GroupPodFormula) String() string

type GroupPodsFeature

type GroupPodsFeature struct {
	Vpn     *PodSizing `protobuf:"bytes,1,opt,name=vpn,proto3" json:"vpn,omitempty"`
	Gateway *PodSizing `protobuf:"bytes,2,opt,name=gateway,proto3" json:"gateway,omitempty"`
	// What a group's pod gets when CreateLabGroups sets no size.
	DefaultVpn     *PodSize `protobuf:"bytes,3,opt,name=default_vpn,json=defaultVpn,proto3" json:"default_vpn,omitempty"`
	DefaultGateway *PodSize `protobuf:"bytes,4,opt,name=default_gateway,json=defaultGateway,proto3" json:"default_gateway,omitempty"`
	// Absent until profiles have matching validation evidence; legacy sizing remains.
	SizingV2 *GroupPodsSizingV2 `protobuf:"bytes,5,opt,name=sizing_v2,json=sizingV2,proto3" json:"sizing_v2,omitempty"`
	// contains filtered or unexported fields
}

func (*GroupPodsFeature) Descriptor deprecated

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

Deprecated: Use GroupPodsFeature.ProtoReflect.Descriptor instead.

func (*GroupPodsFeature) GetDefaultGateway

func (x *GroupPodsFeature) GetDefaultGateway() *PodSize

func (*GroupPodsFeature) GetDefaultVpn

func (x *GroupPodsFeature) GetDefaultVpn() *PodSize

func (*GroupPodsFeature) GetGateway

func (x *GroupPodsFeature) GetGateway() *PodSizing

func (*GroupPodsFeature) GetSizingV2 added in v1.1.0

func (x *GroupPodsFeature) GetSizingV2() *GroupPodsSizingV2

func (*GroupPodsFeature) GetVpn

func (x *GroupPodsFeature) GetVpn() *PodSizing

func (*GroupPodsFeature) ProtoMessage

func (*GroupPodsFeature) ProtoMessage()

func (*GroupPodsFeature) ProtoReflect

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

func (*GroupPodsFeature) Reset

func (x *GroupPodsFeature) Reset()

func (*GroupPodsFeature) String

func (x *GroupPodsFeature) String() string

type GroupPodsSizingProfile added in v1.1.0

type GroupPodsSizingProfile struct {
	Id                   string             `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	SupportState         string             `protobuf:"bytes,2,opt,name=support_state,json=supportState,proto3" json:"support_state,omitempty"` // SUPPORTED/CANDIDATE/TESTED_POINT; unknown retains legacy sizing
	MaxInputs            *GroupSizingInputs `protobuf:"bytes,3,opt,name=max_inputs,json=maxInputs,proto3" json:"max_inputs,omitempty"`
	Vpn                  *GroupPodFormula   `protobuf:"bytes,4,opt,name=vpn,proto3" json:"vpn,omitempty"`
	Gateway              *GroupPodFormula   `protobuf:"bytes,5,opt,name=gateway,proto3" json:"gateway,omitempty"`
	ValidationProvenance string             `protobuf:"bytes,6,opt,name=validation_provenance,json=validationProvenance,proto3" json:"validation_provenance,omitempty"`
	Scope                string             `protobuf:"bytes,7,opt,name=scope,proto3" json:"scope,omitempty"`
	// contains filtered or unexported fields
}

func (*GroupPodsSizingProfile) Descriptor deprecated added in v1.1.0

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

Deprecated: Use GroupPodsSizingProfile.ProtoReflect.Descriptor instead.

func (*GroupPodsSizingProfile) GetGateway added in v1.1.0

func (x *GroupPodsSizingProfile) GetGateway() *GroupPodFormula

func (*GroupPodsSizingProfile) GetId added in v1.1.0

func (x *GroupPodsSizingProfile) GetId() string

func (*GroupPodsSizingProfile) GetMaxInputs added in v1.1.0

func (x *GroupPodsSizingProfile) GetMaxInputs() *GroupSizingInputs

func (*GroupPodsSizingProfile) GetScope added in v1.1.0

func (x *GroupPodsSizingProfile) GetScope() string

func (*GroupPodsSizingProfile) GetSupportState added in v1.1.0

func (x *GroupPodsSizingProfile) GetSupportState() string

func (*GroupPodsSizingProfile) GetValidationProvenance added in v1.1.0

func (x *GroupPodsSizingProfile) GetValidationProvenance() string

func (*GroupPodsSizingProfile) GetVpn added in v1.1.0

func (*GroupPodsSizingProfile) ProtoMessage added in v1.1.0

func (*GroupPodsSizingProfile) ProtoMessage()

func (*GroupPodsSizingProfile) ProtoReflect added in v1.1.0

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

func (*GroupPodsSizingProfile) Reset added in v1.1.0

func (x *GroupPodsSizingProfile) Reset()

func (*GroupPodsSizingProfile) String added in v1.1.0

func (x *GroupPodsSizingProfile) String() string

type GroupPodsSizingV2 added in v1.1.0

type GroupPodsSizingV2 struct {
	Profiles []*GroupPodsSizingProfile `protobuf:"bytes,1,rep,name=profiles,proto3" json:"profiles,omitempty"`
	// contains filtered or unexported fields
}

Frozen additive interface; no profile is implied by the presence of these types.

func (*GroupPodsSizingV2) Descriptor deprecated added in v1.1.0

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

Deprecated: Use GroupPodsSizingV2.ProtoReflect.Descriptor instead.

func (*GroupPodsSizingV2) GetProfiles added in v1.1.0

func (x *GroupPodsSizingV2) GetProfiles() []*GroupPodsSizingProfile

func (*GroupPodsSizingV2) ProtoMessage added in v1.1.0

func (*GroupPodsSizingV2) ProtoMessage()

func (*GroupPodsSizingV2) ProtoReflect added in v1.1.0

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

func (*GroupPodsSizingV2) Reset added in v1.1.0

func (x *GroupPodsSizingV2) Reset()

func (*GroupPodsSizingV2) String added in v1.1.0

func (x *GroupPodsSizingV2) String() string

type GroupRetirementTarget added in v1.1.0

type GroupRetirementTarget struct {
	StopTarget            *GroupTarget `protobuf:"bytes,1,opt,name=stop_target,json=stopTarget,proto3" json:"stop_target,omitempty"`
	RetirementOperationId string       `` /* 126-byte string literal not displayed */
	RetirementRevision    int64        `protobuf:"varint,3,opt,name=retirement_revision,json=retirementRevision,proto3" json:"retirement_revision,omitempty"`
	// contains filtered or unexported fields
}

func (*GroupRetirementTarget) Descriptor deprecated added in v1.1.0

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

Deprecated: Use GroupRetirementTarget.ProtoReflect.Descriptor instead.

func (*GroupRetirementTarget) GetRetirementOperationId added in v1.1.0

func (x *GroupRetirementTarget) GetRetirementOperationId() string

func (*GroupRetirementTarget) GetRetirementRevision added in v1.1.0

func (x *GroupRetirementTarget) GetRetirementRevision() int64

func (*GroupRetirementTarget) GetStopTarget added in v1.1.0

func (x *GroupRetirementTarget) GetStopTarget() *GroupTarget

func (*GroupRetirementTarget) ProtoMessage added in v1.1.0

func (*GroupRetirementTarget) ProtoMessage()

func (*GroupRetirementTarget) ProtoReflect added in v1.1.0

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

func (*GroupRetirementTarget) Reset added in v1.1.0

func (x *GroupRetirementTarget) Reset()

func (*GroupRetirementTarget) String added in v1.1.0

func (x *GroupRetirementTarget) String() string

type GroupSizingInputs added in v1.1.0

type GroupSizingInputs struct {
	MaxUsers         int64                 `protobuf:"varint,1,opt,name=max_users,json=maxUsers,proto3" json:"max_users,omitempty"`
	MaxActiveLabs    int64                 `protobuf:"varint,2,opt,name=max_active_labs,json=maxActiveLabs,proto3" json:"max_active_labs,omitempty"`
	InternetLabs     int64                 `protobuf:"varint,3,opt,name=internet_labs,json=internetLabs,proto3" json:"internet_labs,omitempty"`
	AllowedRelations int64                 `protobuf:"varint,4,opt,name=allowed_relations,json=allowedRelations,proto3" json:"allowed_relations,omitempty"`
	Envelope         *GroupTrafficEnvelope `protobuf:"bytes,5,opt,name=envelope,proto3" json:"envelope,omitempty"`
	// contains filtered or unexported fields
}

func (*GroupSizingInputs) Descriptor deprecated added in v1.1.0

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

Deprecated: Use GroupSizingInputs.ProtoReflect.Descriptor instead.

func (*GroupSizingInputs) GetAllowedRelations added in v1.1.0

func (x *GroupSizingInputs) GetAllowedRelations() int64

func (*GroupSizingInputs) GetEnvelope added in v1.1.0

func (x *GroupSizingInputs) GetEnvelope() *GroupTrafficEnvelope

func (*GroupSizingInputs) GetInternetLabs added in v1.1.0

func (x *GroupSizingInputs) GetInternetLabs() int64

func (*GroupSizingInputs) GetMaxActiveLabs added in v1.1.0

func (x *GroupSizingInputs) GetMaxActiveLabs() int64

func (*GroupSizingInputs) GetMaxUsers added in v1.1.0

func (x *GroupSizingInputs) GetMaxUsers() int64

func (*GroupSizingInputs) ProtoMessage added in v1.1.0

func (*GroupSizingInputs) ProtoMessage()

func (*GroupSizingInputs) ProtoReflect added in v1.1.0

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

func (*GroupSizingInputs) Reset added in v1.1.0

func (x *GroupSizingInputs) Reset()

func (*GroupSizingInputs) String added in v1.1.0

func (x *GroupSizingInputs) String() string

type GroupTarget added in v1.1.0

type GroupTarget struct {
	Group       string `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"`
	ExpectedUid string `protobuf:"bytes,2,opt,name=expected_uid,json=expectedUid,proto3" json:"expected_uid,omitempty"`
	OperationId string `protobuf:"bytes,3,opt,name=operation_id,json=operationId,proto3" json:"operation_id,omitempty"`
	Revision    int64  `protobuf:"varint,4,opt,name=revision,proto3" json:"revision,omitempty"`
	// contains filtered or unexported fields
}

Group operations target exact identity and monotonically increasing intent.

func (*GroupTarget) Descriptor deprecated added in v1.1.0

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

Deprecated: Use GroupTarget.ProtoReflect.Descriptor instead.

func (*GroupTarget) GetExpectedUid added in v1.1.0

func (x *GroupTarget) GetExpectedUid() string

func (*GroupTarget) GetGroup added in v1.1.0

func (x *GroupTarget) GetGroup() string

func (*GroupTarget) GetOperationId added in v1.1.0

func (x *GroupTarget) GetOperationId() string

func (*GroupTarget) GetRevision added in v1.1.0

func (x *GroupTarget) GetRevision() int64

func (*GroupTarget) ProtoMessage added in v1.1.0

func (*GroupTarget) ProtoMessage()

func (*GroupTarget) ProtoReflect added in v1.1.0

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

func (*GroupTarget) Reset added in v1.1.0

func (x *GroupTarget) Reset()

func (*GroupTarget) String added in v1.1.0

func (x *GroupTarget) String() string

type GroupTrafficEnvelope added in v1.1.0

type GroupTrafficEnvelope struct {
	VpnRetainedFlows         int64   `protobuf:"varint,1,opt,name=vpn_retained_flows,json=vpnRetainedFlows,proto3" json:"vpn_retained_flows,omitempty"`
	GatewayRetainedFlows     int64   `protobuf:"varint,2,opt,name=gateway_retained_flows,json=gatewayRetainedFlows,proto3" json:"gateway_retained_flows,omitempty"`
	VpnNewFlowsPerSecond     int64   `` /* 128-byte string literal not displayed */
	GatewayNewFlowsPerSecond int64   `` /* 140-byte string literal not displayed */
	VpnPacketsPerSecond      int64   `protobuf:"varint,5,opt,name=vpn_packets_per_second,json=vpnPacketsPerSecond,proto3" json:"vpn_packets_per_second,omitempty"`
	GatewayPacketsPerSecond  int64   `` /* 135-byte string literal not displayed */
	VpnPayloadMbps           float64 `protobuf:"fixed64,7,opt,name=vpn_payload_mbps,json=vpnPayloadMbps,proto3" json:"vpn_payload_mbps,omitempty"`
	GatewayPayloadMbps       float64 `protobuf:"fixed64,8,opt,name=gateway_payload_mbps,json=gatewayPayloadMbps,proto3" json:"gateway_payload_mbps,omitempty"`
	// contains filtered or unexported fields
}

func (*GroupTrafficEnvelope) Descriptor deprecated added in v1.1.0

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

Deprecated: Use GroupTrafficEnvelope.ProtoReflect.Descriptor instead.

func (*GroupTrafficEnvelope) GetGatewayNewFlowsPerSecond added in v1.1.0

func (x *GroupTrafficEnvelope) GetGatewayNewFlowsPerSecond() int64

func (*GroupTrafficEnvelope) GetGatewayPacketsPerSecond added in v1.1.0

func (x *GroupTrafficEnvelope) GetGatewayPacketsPerSecond() int64

func (*GroupTrafficEnvelope) GetGatewayPayloadMbps added in v1.1.0

func (x *GroupTrafficEnvelope) GetGatewayPayloadMbps() float64

func (*GroupTrafficEnvelope) GetGatewayRetainedFlows added in v1.1.0

func (x *GroupTrafficEnvelope) GetGatewayRetainedFlows() int64

func (*GroupTrafficEnvelope) GetVpnNewFlowsPerSecond added in v1.1.0

func (x *GroupTrafficEnvelope) GetVpnNewFlowsPerSecond() int64

func (*GroupTrafficEnvelope) GetVpnPacketsPerSecond added in v1.1.0

func (x *GroupTrafficEnvelope) GetVpnPacketsPerSecond() int64

func (*GroupTrafficEnvelope) GetVpnPayloadMbps added in v1.1.0

func (x *GroupTrafficEnvelope) GetVpnPayloadMbps() float64

func (*GroupTrafficEnvelope) GetVpnRetainedFlows added in v1.1.0

func (x *GroupTrafficEnvelope) GetVpnRetainedFlows() int64

func (*GroupTrafficEnvelope) ProtoMessage added in v1.1.0

func (*GroupTrafficEnvelope) ProtoMessage()

func (*GroupTrafficEnvelope) ProtoReflect added in v1.1.0

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

func (*GroupTrafficEnvelope) Reset added in v1.1.0

func (x *GroupTrafficEnvelope) Reset()

func (*GroupTrafficEnvelope) String added in v1.1.0

func (x *GroupTrafficEnvelope) String() string

type ImageCacheFeature

type ImageCacheFeature struct {
	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// Upstream registries the cache serves; images of other registries are pulled directly.
	Registries []string `protobuf:"bytes,2,rep,name=registries,proto3" json:"registries,omitempty"`
	// contains filtered or unexported fields
}

The platform image cache (PrewarmImages works only when it is enabled).

func (*ImageCacheFeature) Descriptor deprecated

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

Deprecated: Use ImageCacheFeature.ProtoReflect.Descriptor instead.

func (*ImageCacheFeature) GetEnabled

func (x *ImageCacheFeature) GetEnabled() bool

func (*ImageCacheFeature) GetRegistries

func (x *ImageCacheFeature) GetRegistries() []string

func (*ImageCacheFeature) ProtoMessage

func (*ImageCacheFeature) ProtoMessage()

func (*ImageCacheFeature) ProtoReflect

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

func (*ImageCacheFeature) Reset

func (x *ImageCacheFeature) Reset()

func (*ImageCacheFeature) String

func (x *ImageCacheFeature) String() string

type ItemRef

type ItemRef struct {
	LabGroup string `protobuf:"bytes,1,opt,name=lab_group,json=labGroup,proto3" json:"lab_group,omitempty"`
	Lab      string `protobuf:"bytes,2,opt,name=lab,proto3" json:"lab,omitempty"`
	Name     string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

ItemRef names one object by its ids. A LabGroup (and the access policy of one) is identified by name alone; a LabGroupClient or Lab by lab_group + name; a Device by lab_group + lab + name (the device name).

func (*ItemRef) Descriptor deprecated

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

Deprecated: Use ItemRef.ProtoReflect.Descriptor instead.

func (*ItemRef) GetLab

func (x *ItemRef) GetLab() string

func (*ItemRef) GetLabGroup

func (x *ItemRef) GetLabGroup() string

func (*ItemRef) GetName

func (x *ItemRef) GetName() string

func (*ItemRef) ProtoMessage

func (*ItemRef) ProtoMessage()

func (*ItemRef) ProtoReflect

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

func (*ItemRef) Reset

func (x *ItemRef) Reset()

func (*ItemRef) String

func (x *ItemRef) String() string

type ItemResult

type ItemResult struct {
	Ref   *ItemRef  `protobuf:"bytes,1,opt,name=ref,proto3" json:"ref,omitempty"`
	State ItemState `protobuf:"varint,2,opt,name=state,proto3,enum=labmanager.ItemState" json:"state,omitempty"`
	Error string    `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"`
	// True when the failure is worth repeating (the object is still being deleted, the
	// LabGroup namespace is not ready yet).
	Retryable bool `protobuf:"varint,4,opt,name=retryable,proto3" json:"retryable,omitempty"`
	// contains filtered or unexported fields
}

func (*ItemResult) Descriptor deprecated

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

Deprecated: Use ItemResult.ProtoReflect.Descriptor instead.

func (*ItemResult) GetError

func (x *ItemResult) GetError() string

func (*ItemResult) GetRef

func (x *ItemResult) GetRef() *ItemRef

func (*ItemResult) GetRetryable

func (x *ItemResult) GetRetryable() bool

func (*ItemResult) GetState

func (x *ItemResult) GetState() ItemState

func (*ItemResult) ProtoMessage

func (*ItemResult) ProtoMessage()

func (*ItemResult) ProtoReflect

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

func (*ItemResult) Reset

func (x *ItemResult) Reset()

func (*ItemResult) String

func (x *ItemResult) String() string

type ItemState

type ItemState int32
const (
	ItemState_ITEM_STATE_UNSPECIFIED ItemState = 0
	ItemState_ITEM_STATE_CREATED     ItemState = 1
	ItemState_ITEM_STATE_EXISTS      ItemState = 2 // already there with the same spec and labels
	ItemState_ITEM_STATE_UPDATED     ItemState = 3 // changed (an existing object that got the labels it lacked), or the request was handed to the operator (device calls)
	ItemState_ITEM_STATE_DELETED     ItemState = 4 // deletion started (it finishes asynchronously, finalizers)
	ItemState_ITEM_STATE_NOT_FOUND   ItemState = 5
	ItemState_ITEM_STATE_FAILED      ItemState = 6 // see error; for an existing name with a different spec as well
)

func (ItemState) Descriptor

func (ItemState) Descriptor() protoreflect.EnumDescriptor

func (ItemState) Enum

func (x ItemState) Enum() *ItemState

func (ItemState) EnumDescriptor deprecated

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

Deprecated: Use ItemState.Descriptor instead.

func (ItemState) Number

func (x ItemState) Number() protoreflect.EnumNumber

func (ItemState) String

func (x ItemState) String() string

func (ItemState) Type

type Lab

type Lab struct {
	Namespace string     `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Name      string     `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	SpecJson  []byte     `protobuf:"bytes,3,opt,name=spec_json,json=specJson,proto3" json:"spec_json,omitempty"` // Lab.spec serialized; agent is a thin wrapper, spec passes through
	Status    *LabStatus `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"`
	// Populated only by monitoring so the backend can associate a namespaced
	// Lab record with its LabGroup without inferring it from a namespace.
	LabGroupName string `protobuf:"bytes,6,opt,name=lab_group_name,json=labGroupName,proto3" json:"lab_group_name,omitempty"`
	// Kubernetes labels of the Lab.
	Labels          map[string]string   `` /* 140-byte string literal not displayed */
	DeployGroup     string              `protobuf:"bytes,11,opt,name=deploy_group,json=deployGroup,proto3" json:"deploy_group,omitempty"`
	DeployAfter     []string            `protobuf:"bytes,12,rep,name=deploy_after,json=deployAfter,proto3" json:"deploy_after,omitempty"`
	Uid             string              `protobuf:"bytes,13,opt,name=uid,proto3" json:"uid,omitempty"`
	Generation      int64               `protobuf:"varint,14,opt,name=generation,proto3" json:"generation,omitempty"`
	CreationReceipt *LabCreationReceipt `protobuf:"bytes,15,opt,name=creation_receipt,json=creationReceipt,proto3" json:"creation_receipt,omitempty"` // live Kubernetes metadata generation, separate from observed lifecycle
	// contains filtered or unexported fields
}

func (*Lab) Descriptor deprecated

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

Deprecated: Use Lab.ProtoReflect.Descriptor instead.

func (*Lab) GetCreationReceipt added in v1.1.0

func (x *Lab) GetCreationReceipt() *LabCreationReceipt

func (*Lab) GetDeployAfter

func (x *Lab) GetDeployAfter() []string

func (*Lab) GetDeployGroup

func (x *Lab) GetDeployGroup() string

func (*Lab) GetGeneration added in v1.1.0

func (x *Lab) GetGeneration() int64

func (*Lab) GetLabGroupName

func (x *Lab) GetLabGroupName() string

func (*Lab) GetLabels

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

func (*Lab) GetName

func (x *Lab) GetName() string

func (*Lab) GetNamespace

func (x *Lab) GetNamespace() string

func (*Lab) GetSpecJson

func (x *Lab) GetSpecJson() []byte

func (*Lab) GetStatus

func (x *Lab) GetStatus() *LabStatus

func (*Lab) GetUid added in v1.1.0

func (x *Lab) GetUid() string

func (*Lab) ProtoMessage

func (*Lab) ProtoMessage()

func (*Lab) ProtoReflect

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

func (*Lab) Reset

func (x *Lab) Reset()

func (*Lab) String

func (x *Lab) String() string

type LabAccessEntry

type LabAccessEntry struct {
	Device   string `protobuf:"bytes,1,opt,name=device,proto3" json:"device,omitempty"`
	Port     int32  `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"`
	Protocol string `protobuf:"bytes,3,opt,name=protocol,proto3" json:"protocol,omitempty"`
	Url      string `protobuf:"bytes,4,opt,name=url,proto3" json:"url,omitempty"`
	// contains filtered or unexported fields
}

func (*LabAccessEntry) Descriptor deprecated

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

Deprecated: Use LabAccessEntry.ProtoReflect.Descriptor instead.

func (*LabAccessEntry) GetDevice

func (x *LabAccessEntry) GetDevice() string

func (*LabAccessEntry) GetPort

func (x *LabAccessEntry) GetPort() int32

func (*LabAccessEntry) GetProtocol

func (x *LabAccessEntry) GetProtocol() string

func (*LabAccessEntry) GetUrl

func (x *LabAccessEntry) GetUrl() string

func (*LabAccessEntry) ProtoMessage

func (*LabAccessEntry) ProtoMessage()

func (*LabAccessEntry) ProtoReflect

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

func (*LabAccessEntry) Reset

func (x *LabAccessEntry) Reset()

func (*LabAccessEntry) String

func (x *LabAccessEntry) String() string

type LabChanges

type LabChanges struct {
	Labels *LabelChanges `protobuf:"bytes,1,opt,name=labels,proto3" json:"labels,omitempty"`
	Env    []*DeviceEnv  `protobuf:"bytes,2,rep,name=env,proto3" json:"env,omitempty"`
	// contains filtered or unexported fields
}

LabChanges: labels, and env = rewrite the write-only Secret of every listed device with exactly these variables (no variables = remove the Secret); unlisted devices are untouched.

func (*LabChanges) Descriptor deprecated

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

Deprecated: Use LabChanges.ProtoReflect.Descriptor instead.

func (*LabChanges) GetEnv

func (x *LabChanges) GetEnv() []*DeviceEnv

func (*LabChanges) GetLabels

func (x *LabChanges) GetLabels() *LabelChanges

func (*LabChanges) ProtoMessage

func (*LabChanges) ProtoMessage()

func (*LabChanges) ProtoReflect

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

func (*LabChanges) Reset

func (x *LabChanges) Reset()

func (*LabChanges) String

func (x *LabChanges) String() string

type LabConnectionStatus

type LabConnectionStatus struct {
	Name  string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Ready bool   `protobuf:"varint,2,opt,name=ready,proto3" json:"ready,omitempty"`
	// contains filtered or unexported fields
}

func (*LabConnectionStatus) Descriptor deprecated

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

Deprecated: Use LabConnectionStatus.ProtoReflect.Descriptor instead.

func (*LabConnectionStatus) GetName

func (x *LabConnectionStatus) GetName() string

func (*LabConnectionStatus) GetReady

func (x *LabConnectionStatus) GetReady() bool

func (*LabConnectionStatus) ProtoMessage

func (*LabConnectionStatus) ProtoMessage()

func (*LabConnectionStatus) ProtoReflect

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

func (*LabConnectionStatus) Reset

func (x *LabConnectionStatus) Reset()

func (*LabConnectionStatus) String

func (x *LabConnectionStatus) String() string

type LabCreationReceipt added in v1.1.0

type LabCreationReceipt struct {
	GroupUid       string `protobuf:"bytes,1,opt,name=group_uid,json=groupUid,proto3" json:"group_uid,omitempty"`
	NamespaceUid   string `protobuf:"bytes,2,opt,name=namespace_uid,json=namespaceUid,proto3" json:"namespace_uid,omitempty"`
	OperationId    string `protobuf:"bytes,3,opt,name=operation_id,json=operationId,proto3" json:"operation_id,omitempty"`
	Revision       int64  `protobuf:"varint,4,opt,name=revision,proto3" json:"revision,omitempty"`
	DefinitionHash string `protobuf:"bytes,5,opt,name=definition_hash,json=definitionHash,proto3" json:"definition_hash,omitempty"`
	CreationId     string `protobuf:"bytes,6,opt,name=creation_id,json=creationId,proto3" json:"creation_id,omitempty"`
	LabUid         string `protobuf:"bytes,7,opt,name=lab_uid,json=labUid,proto3" json:"lab_uid,omitempty"`
	Committed      bool   `protobuf:"varint,8,opt,name=committed,proto3" json:"committed,omitempty"`
	// contains filtered or unexported fields
}

func (*LabCreationReceipt) Descriptor deprecated added in v1.1.0

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

Deprecated: Use LabCreationReceipt.ProtoReflect.Descriptor instead.

func (*LabCreationReceipt) GetCommitted added in v1.1.0

func (x *LabCreationReceipt) GetCommitted() bool

func (*LabCreationReceipt) GetCreationId added in v1.1.0

func (x *LabCreationReceipt) GetCreationId() string

func (*LabCreationReceipt) GetDefinitionHash added in v1.1.0

func (x *LabCreationReceipt) GetDefinitionHash() string

func (*LabCreationReceipt) GetGroupUid added in v1.1.0

func (x *LabCreationReceipt) GetGroupUid() string

func (*LabCreationReceipt) GetLabUid added in v1.1.0

func (x *LabCreationReceipt) GetLabUid() string

func (*LabCreationReceipt) GetNamespaceUid added in v1.1.0

func (x *LabCreationReceipt) GetNamespaceUid() string

func (*LabCreationReceipt) GetOperationId added in v1.1.0

func (x *LabCreationReceipt) GetOperationId() string

func (*LabCreationReceipt) GetRevision added in v1.1.0

func (x *LabCreationReceipt) GetRevision() int64

func (*LabCreationReceipt) ProtoMessage added in v1.1.0

func (*LabCreationReceipt) ProtoMessage()

func (*LabCreationReceipt) ProtoReflect added in v1.1.0

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

func (*LabCreationReceipt) Reset added in v1.1.0

func (x *LabCreationReceipt) Reset()

func (*LabCreationReceipt) String added in v1.1.0

func (x *LabCreationReceipt) String() string

type LabDeviceStatus

type LabDeviceStatus struct {
	Name                 string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Ready                bool   `protobuf:"varint,2,opt,name=ready,proto3" json:"ready,omitempty"`
	CpuMillicores        int64  `protobuf:"varint,3,opt,name=cpu_millicores,json=cpuMillicores,proto3" json:"cpu_millicores,omitempty"`
	MemoryBytes          int64  `protobuf:"varint,4,opt,name=memory_bytes,json=memoryBytes,proto3" json:"memory_bytes,omitempty"`
	UsageAvailable       bool   `protobuf:"varint,5,opt,name=usage_available,json=usageAvailable,proto3" json:"usage_available,omitempty"`
	CpuRequestMillicores int64  `protobuf:"varint,6,opt,name=cpu_request_millicores,json=cpuRequestMillicores,proto3" json:"cpu_request_millicores,omitempty"`
	MemoryRequestBytes   int64  `protobuf:"varint,7,opt,name=memory_request_bytes,json=memoryRequestBytes,proto3" json:"memory_request_bytes,omitempty"`
	CpuLimitMillicores   int64  `protobuf:"varint,8,opt,name=cpu_limit_millicores,json=cpuLimitMillicores,proto3" json:"cpu_limit_millicores,omitempty"`
	MemoryLimitBytes     int64  `protobuf:"varint,9,opt,name=memory_limit_bytes,json=memoryLimitBytes,proto3" json:"memory_limit_bytes,omitempty"`
	PodPhase             string `protobuf:"bytes,10,opt,name=pod_phase,json=podPhase,proto3" json:"pod_phase,omitempty"`
	PodReason            string `protobuf:"bytes,11,opt,name=pod_reason,json=podReason,proto3" json:"pod_reason,omitempty"`
	RestartCount         int32  `protobuf:"varint,12,opt,name=restart_count,json=restartCount,proto3" json:"restart_count,omitempty"`
	// Set only for a device with state persistence.
	Snapshot *DeviceSnapshotStatus `protobuf:"bytes,30,opt,name=snapshot,proto3" json:"snapshot,omitempty"`
	// Scheduler state of the device pod; absent when the scheduler does not track it.
	Scheduling *PodScheduling `protobuf:"bytes,31,opt,name=scheduling,proto3" json:"scheduling,omitempty"`
	// contains filtered or unexported fields
}

func (*LabDeviceStatus) Descriptor deprecated

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

Deprecated: Use LabDeviceStatus.ProtoReflect.Descriptor instead.

func (*LabDeviceStatus) GetCpuLimitMillicores

func (x *LabDeviceStatus) GetCpuLimitMillicores() int64

func (*LabDeviceStatus) GetCpuMillicores

func (x *LabDeviceStatus) GetCpuMillicores() int64

func (*LabDeviceStatus) GetCpuRequestMillicores

func (x *LabDeviceStatus) GetCpuRequestMillicores() int64

func (*LabDeviceStatus) GetMemoryBytes

func (x *LabDeviceStatus) GetMemoryBytes() int64

func (*LabDeviceStatus) GetMemoryLimitBytes

func (x *LabDeviceStatus) GetMemoryLimitBytes() int64

func (*LabDeviceStatus) GetMemoryRequestBytes

func (x *LabDeviceStatus) GetMemoryRequestBytes() int64

func (*LabDeviceStatus) GetName

func (x *LabDeviceStatus) GetName() string

func (*LabDeviceStatus) GetPodPhase

func (x *LabDeviceStatus) GetPodPhase() string

func (*LabDeviceStatus) GetPodReason

func (x *LabDeviceStatus) GetPodReason() string

func (*LabDeviceStatus) GetReady

func (x *LabDeviceStatus) GetReady() bool

func (*LabDeviceStatus) GetRestartCount

func (x *LabDeviceStatus) GetRestartCount() int32

func (*LabDeviceStatus) GetScheduling

func (x *LabDeviceStatus) GetScheduling() *PodScheduling

func (*LabDeviceStatus) GetSnapshot

func (x *LabDeviceStatus) GetSnapshot() *DeviceSnapshotStatus

func (*LabDeviceStatus) GetUsageAvailable

func (x *LabDeviceStatus) GetUsageAvailable() bool

func (*LabDeviceStatus) ProtoMessage

func (*LabDeviceStatus) ProtoMessage()

func (*LabDeviceStatus) ProtoReflect

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

func (*LabDeviceStatus) Reset

func (x *LabDeviceStatus) Reset()

func (*LabDeviceStatus) String

func (x *LabDeviceStatus) String() string

type LabGroup

type LabGroup struct {
	Name   string          `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Status *LabGroupStatus `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
	// Kubernetes labels of the LabGroup (the Monitoring selector matches against them).
	Labels      map[string]string `` /* 140-byte string literal not displayed */
	DeployGroup string            `protobuf:"bytes,11,opt,name=deploy_group,json=deployGroup,proto3" json:"deploy_group,omitempty"`
	DeployAfter []string          `protobuf:"bytes,12,rep,name=deploy_after,json=deployAfter,proto3" json:"deploy_after,omitempty"`
	// Creation time of the LabGroup object, unix milliseconds (0 when unknown). A cleanup
	// sweep uses it to skip groups that are still being deployed.
	CreatedUnixMs int64               `protobuf:"varint,13,opt,name=created_unix_ms,json=createdUnixMs,proto3" json:"created_unix_ms,omitempty"`
	Uid           string              `protobuf:"bytes,14,opt,name=uid,proto3" json:"uid,omitempty"`
	Generation    int64               `protobuf:"varint,15,opt,name=generation,proto3" json:"generation,omitempty"` // live Kubernetes metadata generation, separate from observed lifecycle
	Lifecycle     *GroupLifecycleSpec `protobuf:"bytes,18,opt,name=lifecycle,proto3" json:"lifecycle,omitempty"`
	VpnSize       *PodSize            `protobuf:"bytes,16,opt,name=vpn_size,json=vpnSize,proto3" json:"vpn_size,omitempty"` // explicit immutable spec only; absent means unknown legacy default
	GatewaySize   *PodSize            `protobuf:"bytes,17,opt,name=gateway_size,json=gatewaySize,proto3" json:"gateway_size,omitempty"`
	// contains filtered or unexported fields
}

func (*LabGroup) Descriptor deprecated

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

Deprecated: Use LabGroup.ProtoReflect.Descriptor instead.

func (*LabGroup) GetCreatedUnixMs

func (x *LabGroup) GetCreatedUnixMs() int64

func (*LabGroup) GetDeployAfter

func (x *LabGroup) GetDeployAfter() []string

func (*LabGroup) GetDeployGroup

func (x *LabGroup) GetDeployGroup() string

func (*LabGroup) GetGatewaySize added in v1.1.0

func (x *LabGroup) GetGatewaySize() *PodSize

func (*LabGroup) GetGeneration added in v1.1.0

func (x *LabGroup) GetGeneration() int64

func (*LabGroup) GetLabels

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

func (*LabGroup) GetLifecycle added in v1.1.0

func (x *LabGroup) GetLifecycle() *GroupLifecycleSpec

func (*LabGroup) GetName

func (x *LabGroup) GetName() string

func (*LabGroup) GetStatus

func (x *LabGroup) GetStatus() *LabGroupStatus

func (*LabGroup) GetUid added in v1.1.0

func (x *LabGroup) GetUid() string

func (*LabGroup) GetVpnSize added in v1.1.0

func (x *LabGroup) GetVpnSize() *PodSize

func (*LabGroup) ProtoMessage

func (*LabGroup) ProtoMessage()

func (*LabGroup) ProtoReflect

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

func (*LabGroup) Reset

func (x *LabGroup) Reset()

func (*LabGroup) String

func (x *LabGroup) String() string

type LabGroupAccessAction

type LabGroupAccessAction int32
const (
	LabGroupAccessAction_LAB_GROUP_ACCESS_ACTION_UNSPECIFIED LabGroupAccessAction = 0
	LabGroupAccessAction_LAB_GROUP_ACCESS_ACTION_ALLOW       LabGroupAccessAction = 1
	LabGroupAccessAction_LAB_GROUP_ACCESS_ACTION_DENY        LabGroupAccessAction = 2
)

func (LabGroupAccessAction) Descriptor

func (LabGroupAccessAction) Enum

func (LabGroupAccessAction) EnumDescriptor deprecated

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

Deprecated: Use LabGroupAccessAction.Descriptor instead.

func (LabGroupAccessAction) Number

func (LabGroupAccessAction) String

func (x LabGroupAccessAction) String() string

func (LabGroupAccessAction) Type

type LabGroupAccessPolicy

type LabGroupAccessPolicy struct {

	// The agent resolves the namespace from this LabGroup, preventing a caller
	// from applying a policy to a namespace outside the group.
	LabGroupName string                      `protobuf:"bytes,1,opt,name=lab_group_name,json=labGroupName,proto3" json:"lab_group_name,omitempty"`
	Rules        []*LabGroupAccessRule       `protobuf:"bytes,2,rep,name=rules,proto3" json:"rules,omitempty"`
	Status       *LabGroupAccessPolicyStatus `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
	// Populated only by monitoring; mutations resolve scope from LabGroup name.
	Namespace string `protobuf:"bytes,4,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// Optional exact ACL revision fence; zero/empty retains legacy replacement.
	OperationId      string `protobuf:"bytes,5,opt,name=operation_id,json=operationId,proto3" json:"operation_id,omitempty"`
	DesiredRevision  int64  `protobuf:"varint,6,opt,name=desired_revision,json=desiredRevision,proto3" json:"desired_revision,omitempty"`
	Generation       int64  `protobuf:"varint,7,opt,name=generation,proto3" json:"generation,omitempty"`
	PolicyUid        string `protobuf:"bytes,8,opt,name=policy_uid,json=policyUid,proto3" json:"policy_uid,omitempty"`
	ExpectedGroupUid string `protobuf:"bytes,9,opt,name=expected_group_uid,json=expectedGroupUid,proto3" json:"expected_group_uid,omitempty"`
	// Labels of the policy object. SetLabGroupAccess gives it the labels of its
	// LabGroup plus these, so a selector that matches a group matches its policy.
	Labels map[string]string `` /* 140-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*LabGroupAccessPolicy) Descriptor deprecated

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

Deprecated: Use LabGroupAccessPolicy.ProtoReflect.Descriptor instead.

func (*LabGroupAccessPolicy) GetDesiredRevision added in v1.1.0

func (x *LabGroupAccessPolicy) GetDesiredRevision() int64

func (*LabGroupAccessPolicy) GetExpectedGroupUid added in v1.1.0

func (x *LabGroupAccessPolicy) GetExpectedGroupUid() string

func (*LabGroupAccessPolicy) GetGeneration added in v1.1.0

func (x *LabGroupAccessPolicy) GetGeneration() int64

func (*LabGroupAccessPolicy) GetLabGroupName

func (x *LabGroupAccessPolicy) GetLabGroupName() string

func (*LabGroupAccessPolicy) GetLabels

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

func (*LabGroupAccessPolicy) GetNamespace

func (x *LabGroupAccessPolicy) GetNamespace() string

func (*LabGroupAccessPolicy) GetOperationId added in v1.1.0

func (x *LabGroupAccessPolicy) GetOperationId() string

func (*LabGroupAccessPolicy) GetPolicyUid added in v1.1.0

func (x *LabGroupAccessPolicy) GetPolicyUid() string

func (*LabGroupAccessPolicy) GetRules

func (x *LabGroupAccessPolicy) GetRules() []*LabGroupAccessRule

func (*LabGroupAccessPolicy) GetStatus

func (*LabGroupAccessPolicy) ProtoMessage

func (*LabGroupAccessPolicy) ProtoMessage()

func (*LabGroupAccessPolicy) ProtoReflect

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

func (*LabGroupAccessPolicy) Reset

func (x *LabGroupAccessPolicy) Reset()

func (*LabGroupAccessPolicy) String

func (x *LabGroupAccessPolicy) String() string

type LabGroupAccessPolicyStatus

type LabGroupAccessPolicyStatus struct {
	ObservedGeneration int64                           `protobuf:"varint,1,opt,name=observed_generation,json=observedGeneration,proto3" json:"observed_generation,omitempty"`
	State              string                          `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"`
	AppliedAtUnixMs    int64                           `protobuf:"varint,3,opt,name=applied_at_unix_ms,json=appliedAtUnixMs,proto3" json:"applied_at_unix_ms,omitempty"`
	LastError          string                          `protobuf:"bytes,4,opt,name=last_error,json=lastError,proto3" json:"last_error,omitempty"`
	Rules              []*LabGroupAccessRuleStatistics `protobuf:"bytes,5,rep,name=rules,proto3" json:"rules,omitempty"`
	AppliedRevision    int64                           `protobuf:"varint,6,opt,name=applied_revision,json=appliedRevision,proto3" json:"applied_revision,omitempty"`
	OperationId        string                          `protobuf:"bytes,7,opt,name=operation_id,json=operationId,proto3" json:"operation_id,omitempty"`
	VpnBootId          string                          `protobuf:"bytes,8,opt,name=vpn_boot_id,json=vpnBootId,proto3" json:"vpn_boot_id,omitempty"`
	// contains filtered or unexported fields
}

func (*LabGroupAccessPolicyStatus) Descriptor deprecated

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

Deprecated: Use LabGroupAccessPolicyStatus.ProtoReflect.Descriptor instead.

func (*LabGroupAccessPolicyStatus) GetAppliedAtUnixMs

func (x *LabGroupAccessPolicyStatus) GetAppliedAtUnixMs() int64

func (*LabGroupAccessPolicyStatus) GetAppliedRevision added in v1.1.0

func (x *LabGroupAccessPolicyStatus) GetAppliedRevision() int64

func (*LabGroupAccessPolicyStatus) GetLastError

func (x *LabGroupAccessPolicyStatus) GetLastError() string

func (*LabGroupAccessPolicyStatus) GetObservedGeneration

func (x *LabGroupAccessPolicyStatus) GetObservedGeneration() int64

func (*LabGroupAccessPolicyStatus) GetOperationId added in v1.1.0

func (x *LabGroupAccessPolicyStatus) GetOperationId() string

func (*LabGroupAccessPolicyStatus) GetRules

func (*LabGroupAccessPolicyStatus) GetState

func (x *LabGroupAccessPolicyStatus) GetState() string

func (*LabGroupAccessPolicyStatus) GetVpnBootId added in v1.1.0

func (x *LabGroupAccessPolicyStatus) GetVpnBootId() string

func (*LabGroupAccessPolicyStatus) ProtoMessage

func (*LabGroupAccessPolicyStatus) ProtoMessage()

func (*LabGroupAccessPolicyStatus) ProtoReflect

func (*LabGroupAccessPolicyStatus) Reset

func (x *LabGroupAccessPolicyStatus) Reset()

func (*LabGroupAccessPolicyStatus) String

func (x *LabGroupAccessPolicyStatus) String() string

type LabGroupAccessRule

type LabGroupAccessRule struct {
	Action LabGroupAccessAction `protobuf:"varint,1,opt,name=action,proto3,enum=labmanager.LabGroupAccessAction" json:"action,omitempty"`
	// Empty means every VPN client in the LabGroup.
	ClientNames []string `protobuf:"bytes,2,rep,name=client_names,json=clientNames,proto3" json:"client_names,omitempty"`
	// Empty means every Lab in the LabGroup.
	LabNames []string `protobuf:"bytes,3,rep,name=lab_names,json=labNames,proto3" json:"lab_names,omitempty"`
	// contains filtered or unexported fields
}

func (*LabGroupAccessRule) Descriptor deprecated

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

Deprecated: Use LabGroupAccessRule.ProtoReflect.Descriptor instead.

func (*LabGroupAccessRule) GetAction

func (*LabGroupAccessRule) GetClientNames

func (x *LabGroupAccessRule) GetClientNames() []string

func (*LabGroupAccessRule) GetLabNames

func (x *LabGroupAccessRule) GetLabNames() []string

func (*LabGroupAccessRule) ProtoMessage

func (*LabGroupAccessRule) ProtoMessage()

func (*LabGroupAccessRule) ProtoReflect

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

func (*LabGroupAccessRule) Reset

func (x *LabGroupAccessRule) Reset()

func (*LabGroupAccessRule) String

func (x *LabGroupAccessRule) String() string

type LabGroupAccessRuleStatistics

type LabGroupAccessRuleStatistics struct {
	ClientName   string               `protobuf:"bytes,1,opt,name=client_name,json=clientName,proto3" json:"client_name,omitempty"`
	LabName      string               `protobuf:"bytes,2,opt,name=lab_name,json=labName,proto3" json:"lab_name,omitempty"`
	Action       LabGroupAccessAction `protobuf:"varint,3,opt,name=action,proto3,enum=labmanager.LabGroupAccessAction" json:"action,omitempty"`
	Packets      int64                `protobuf:"varint,4,opt,name=packets,proto3" json:"packets,omitempty"`
	Bytes        int64                `protobuf:"varint,5,opt,name=bytes,proto3" json:"bytes,omitempty"`
	CounterReset bool                 `protobuf:"varint,6,opt,name=counter_reset,json=counterReset,proto3" json:"counter_reset,omitempty"`
	// contains filtered or unexported fields
}

func (*LabGroupAccessRuleStatistics) Descriptor deprecated

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

Deprecated: Use LabGroupAccessRuleStatistics.ProtoReflect.Descriptor instead.

func (*LabGroupAccessRuleStatistics) GetAction

func (*LabGroupAccessRuleStatistics) GetBytes

func (x *LabGroupAccessRuleStatistics) GetBytes() int64

func (*LabGroupAccessRuleStatistics) GetClientName

func (x *LabGroupAccessRuleStatistics) GetClientName() string

func (*LabGroupAccessRuleStatistics) GetCounterReset

func (x *LabGroupAccessRuleStatistics) GetCounterReset() bool

func (*LabGroupAccessRuleStatistics) GetLabName

func (x *LabGroupAccessRuleStatistics) GetLabName() string

func (*LabGroupAccessRuleStatistics) GetPackets

func (x *LabGroupAccessRuleStatistics) GetPackets() int64

func (*LabGroupAccessRuleStatistics) ProtoMessage

func (*LabGroupAccessRuleStatistics) ProtoMessage()

func (*LabGroupAccessRuleStatistics) ProtoReflect

func (*LabGroupAccessRuleStatistics) Reset

func (x *LabGroupAccessRuleStatistics) Reset()

func (*LabGroupAccessRuleStatistics) String

type LabGroupChanges

type LabGroupChanges struct {
	Labels              *LabelChanges `protobuf:"bytes,1,opt,name=labels,proto3" json:"labels,omitempty"`
	Suspended           *bool         `protobuf:"varint,2,opt,name=suspended,proto3,oneof" json:"suspended,omitempty"`
	VpnDisabled         *bool         `protobuf:"varint,3,opt,name=vpn_disabled,json=vpnDisabled,proto3,oneof" json:"vpn_disabled,omitempty"`
	ProbeWhileSuspended *bool         `` /* 127-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*LabGroupChanges) Descriptor deprecated

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

Deprecated: Use LabGroupChanges.ProtoReflect.Descriptor instead.

func (*LabGroupChanges) GetLabels

func (x *LabGroupChanges) GetLabels() *LabelChanges

func (*LabGroupChanges) GetProbeWhileSuspended

func (x *LabGroupChanges) GetProbeWhileSuspended() bool

func (*LabGroupChanges) GetSuspended

func (x *LabGroupChanges) GetSuspended() bool

func (*LabGroupChanges) GetVpnDisabled

func (x *LabGroupChanges) GetVpnDisabled() bool

func (*LabGroupChanges) ProtoMessage

func (*LabGroupChanges) ProtoMessage()

func (*LabGroupChanges) ProtoReflect

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

func (*LabGroupChanges) Reset

func (x *LabGroupChanges) Reset()

func (*LabGroupChanges) String

func (x *LabGroupChanges) String() string

type LabGroupClient

type LabGroupClient struct {
	Namespace string                `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Name      string                `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	PublicKey string                `protobuf:"bytes,3,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
	Status    *LabGroupClientStatus `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"`
	// Populated only by monitoring; CRUD callers resolve group scope themselves.
	LabGroupName string `protobuf:"bytes,5,opt,name=lab_group_name,json=labGroupName,proto3" json:"lab_group_name,omitempty"`
	// Kubernetes labels of the client.
	Labels map[string]string `` /* 140-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*LabGroupClient) Descriptor deprecated

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

Deprecated: Use LabGroupClient.ProtoReflect.Descriptor instead.

func (*LabGroupClient) GetLabGroupName

func (x *LabGroupClient) GetLabGroupName() string

func (*LabGroupClient) GetLabels

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

func (*LabGroupClient) GetName

func (x *LabGroupClient) GetName() string

func (*LabGroupClient) GetNamespace

func (x *LabGroupClient) GetNamespace() string

func (*LabGroupClient) GetPublicKey

func (x *LabGroupClient) GetPublicKey() string

func (*LabGroupClient) GetStatus

func (x *LabGroupClient) GetStatus() *LabGroupClientStatus

func (*LabGroupClient) ProtoMessage

func (*LabGroupClient) ProtoMessage()

func (*LabGroupClient) ProtoReflect

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

func (*LabGroupClient) Reset

func (x *LabGroupClient) Reset()

func (*LabGroupClient) String

func (x *LabGroupClient) String() string

type LabGroupClientItem

type LabGroupClientItem struct {
	LabGroup string            `protobuf:"bytes,1,opt,name=lab_group,json=labGroup,proto3" json:"lab_group,omitempty"`
	Name     string            `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Labels   map[string]string `` /* 139-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*LabGroupClientItem) Descriptor deprecated

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

Deprecated: Use LabGroupClientItem.ProtoReflect.Descriptor instead.

func (*LabGroupClientItem) GetLabGroup

func (x *LabGroupClientItem) GetLabGroup() string

func (*LabGroupClientItem) GetLabels

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

func (*LabGroupClientItem) GetName

func (x *LabGroupClientItem) GetName() string

func (*LabGroupClientItem) ProtoMessage

func (*LabGroupClientItem) ProtoMessage()

func (*LabGroupClientItem) ProtoReflect

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

func (*LabGroupClientItem) Reset

func (x *LabGroupClientItem) Reset()

func (*LabGroupClientItem) String

func (x *LabGroupClientItem) String() string

type LabGroupClientList

type LabGroupClientList struct {
	Items []*LabGroupClient `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*LabGroupClientList) Descriptor deprecated

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

Deprecated: Use LabGroupClientList.ProtoReflect.Descriptor instead.

func (*LabGroupClientList) GetItems

func (x *LabGroupClientList) GetItems() []*LabGroupClient

func (*LabGroupClientList) ProtoMessage

func (*LabGroupClientList) ProtoMessage()

func (*LabGroupClientList) ProtoReflect

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

func (*LabGroupClientList) Reset

func (x *LabGroupClientList) Reset()

func (*LabGroupClientList) String

func (x *LabGroupClientList) String() string

type LabGroupClientResult

type LabGroupClientResult struct {
	Result *ItemResult     `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
	Client *LabGroupClient `protobuf:"bytes,2,opt,name=client,proto3" json:"client,omitempty"`
	// contains filtered or unexported fields
}

client is set for CREATED (with the finished WireGuard config) and EXISTS (the placeholder config: the private key exists only in the answer of the create call).

func (*LabGroupClientResult) Descriptor deprecated

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

Deprecated: Use LabGroupClientResult.ProtoReflect.Descriptor instead.

func (*LabGroupClientResult) GetClient

func (x *LabGroupClientResult) GetClient() *LabGroupClient

func (*LabGroupClientResult) GetResult

func (x *LabGroupClientResult) GetResult() *ItemResult

func (*LabGroupClientResult) ProtoMessage

func (*LabGroupClientResult) ProtoMessage()

func (*LabGroupClientResult) ProtoReflect

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

func (*LabGroupClientResult) Reset

func (x *LabGroupClientResult) Reset()

func (*LabGroupClientResult) String

func (x *LabGroupClientResult) String() string

type LabGroupClientStatistics

type LabGroupClientStatistics struct {
	LastHandshakeUnix int64 `protobuf:"varint,1,opt,name=last_handshake_unix,json=lastHandshakeUnix,proto3" json:"last_handshake_unix,omitempty"` // unix seconds; 0 = never handshaked
	RxBytes           int64 `protobuf:"varint,2,opt,name=rx_bytes,json=rxBytes,proto3" json:"rx_bytes,omitempty"`
	TxBytes           int64 `protobuf:"varint,3,opt,name=tx_bytes,json=txBytes,proto3" json:"tx_bytes,omitempty"`
	// contains filtered or unexported fields
}

LabGroupClientStatistics mirrors the CRD status the VPN server writes per peer. WireGuard natively exposes transfer bytes + last handshake only (no packet counts).

func (*LabGroupClientStatistics) Descriptor deprecated

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

Deprecated: Use LabGroupClientStatistics.ProtoReflect.Descriptor instead.

func (*LabGroupClientStatistics) GetLastHandshakeUnix

func (x *LabGroupClientStatistics) GetLastHandshakeUnix() int64

func (*LabGroupClientStatistics) GetRxBytes

func (x *LabGroupClientStatistics) GetRxBytes() int64

func (*LabGroupClientStatistics) GetTxBytes

func (x *LabGroupClientStatistics) GetTxBytes() int64

func (*LabGroupClientStatistics) ProtoMessage

func (*LabGroupClientStatistics) ProtoMessage()

func (*LabGroupClientStatistics) ProtoReflect

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

func (*LabGroupClientStatistics) Reset

func (x *LabGroupClientStatistics) Reset()

func (*LabGroupClientStatistics) String

func (x *LabGroupClientStatistics) String() string

type LabGroupClientStatus

type LabGroupClientStatus struct {
	AssignedIp string `protobuf:"bytes,1,opt,name=assigned_ip,json=assignedIp,proto3" json:"assigned_ip,omitempty"`
	Ready      bool   `protobuf:"varint,3,opt,name=ready,proto3" json:"ready,omitempty"`
	// Assembled WireGuard client config. In the CreateLabGroupClients answer the agent
	// fills in the real private key it generated; everywhere else it carries the
	// placeholder (the cluster never holds the private key).
	Config     string                    `protobuf:"bytes,4,opt,name=config,proto3" json:"config,omitempty"`
	Statistics *LabGroupClientStatistics `protobuf:"bytes,5,opt,name=statistics,proto3" json:"statistics,omitempty"` // live WireGuard peer stats (bytes + handshake)
	// contains filtered or unexported fields
}

func (*LabGroupClientStatus) Descriptor deprecated

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

Deprecated: Use LabGroupClientStatus.ProtoReflect.Descriptor instead.

func (*LabGroupClientStatus) GetAssignedIp

func (x *LabGroupClientStatus) GetAssignedIp() string

func (*LabGroupClientStatus) GetConfig

func (x *LabGroupClientStatus) GetConfig() string

func (*LabGroupClientStatus) GetReady

func (x *LabGroupClientStatus) GetReady() bool

func (*LabGroupClientStatus) GetStatistics

func (x *LabGroupClientStatus) GetStatistics() *LabGroupClientStatistics

func (*LabGroupClientStatus) ProtoMessage

func (*LabGroupClientStatus) ProtoMessage()

func (*LabGroupClientStatus) ProtoReflect

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

func (*LabGroupClientStatus) Reset

func (x *LabGroupClientStatus) Reset()

func (*LabGroupClientStatus) String

func (x *LabGroupClientStatus) String() string

type LabGroupItem

type LabGroupItem struct {
	Name                string            `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Labels              map[string]string `` /* 139-byte string literal not displayed */
	DeployGroup         string            `protobuf:"bytes,3,opt,name=deploy_group,json=deployGroup,proto3" json:"deploy_group,omitempty"`
	DeployAfter         []string          `protobuf:"bytes,4,rep,name=deploy_after,json=deployAfter,proto3" json:"deploy_after,omitempty"`
	Suspended           bool              `protobuf:"varint,5,opt,name=suspended,proto3" json:"suspended,omitempty"`
	VpnDisabled         bool              `protobuf:"varint,6,opt,name=vpn_disabled,json=vpnDisabled,proto3" json:"vpn_disabled,omitempty"`
	ProbeWhileSuspended bool              `protobuf:"varint,7,opt,name=probe_while_suspended,json=probeWhileSuspended,proto3" json:"probe_while_suspended,omitempty"`
	// The sizes of the group's own pods, computed by the backend from FeaturesResponse.group_pods (the VPN for the users the group
	// may have, the gateway for the labs of the group that use the internet). The pods are created Guaranteed at exactly that size
	// and never resized. Unset = the chart's default size. A set size must have both values positive and be within the maximum
	// that group_pods reports, else the item is refused (InvalidArgument).
	VpnSize     *PodSize `protobuf:"bytes,8,opt,name=vpn_size,json=vpnSize,proto3" json:"vpn_size,omitempty"`
	GatewaySize *PodSize `protobuf:"bytes,9,opt,name=gateway_size,json=gatewaySize,proto3" json:"gateway_size,omitempty"`
	// contains filtered or unexported fields
}

func (*LabGroupItem) Descriptor deprecated

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

Deprecated: Use LabGroupItem.ProtoReflect.Descriptor instead.

func (*LabGroupItem) GetDeployAfter

func (x *LabGroupItem) GetDeployAfter() []string

func (*LabGroupItem) GetDeployGroup

func (x *LabGroupItem) GetDeployGroup() string

func (*LabGroupItem) GetGatewaySize

func (x *LabGroupItem) GetGatewaySize() *PodSize

func (*LabGroupItem) GetLabels

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

func (*LabGroupItem) GetName

func (x *LabGroupItem) GetName() string

func (*LabGroupItem) GetProbeWhileSuspended

func (x *LabGroupItem) GetProbeWhileSuspended() bool

func (*LabGroupItem) GetSuspended

func (x *LabGroupItem) GetSuspended() bool

func (*LabGroupItem) GetVpnDisabled

func (x *LabGroupItem) GetVpnDisabled() bool

func (*LabGroupItem) GetVpnSize

func (x *LabGroupItem) GetVpnSize() *PodSize

func (*LabGroupItem) ProtoMessage

func (*LabGroupItem) ProtoMessage()

func (*LabGroupItem) ProtoReflect

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

func (*LabGroupItem) Reset

func (x *LabGroupItem) Reset()

func (*LabGroupItem) String

func (x *LabGroupItem) String() string

type LabGroupList

type LabGroupList struct {
	Items []*LabGroup `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*LabGroupList) Descriptor deprecated

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

Deprecated: Use LabGroupList.ProtoReflect.Descriptor instead.

func (*LabGroupList) GetItems

func (x *LabGroupList) GetItems() []*LabGroup

func (*LabGroupList) ProtoMessage

func (*LabGroupList) ProtoMessage()

func (*LabGroupList) ProtoReflect

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

func (*LabGroupList) Reset

func (x *LabGroupList) Reset()

func (*LabGroupList) String

func (x *LabGroupList) String() string

type LabGroupPod

type LabGroupPod struct {
	Name       string         `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Scheduling *PodScheduling `protobuf:"bytes,2,opt,name=scheduling,proto3" json:"scheduling,omitempty"`
	// contains filtered or unexported fields
}

LabGroupPod is the scheduling state of a pod the LabGroup runs itself ("vpn", "gateway").

func (*LabGroupPod) Descriptor deprecated

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

Deprecated: Use LabGroupPod.ProtoReflect.Descriptor instead.

func (*LabGroupPod) GetName

func (x *LabGroupPod) GetName() string

func (*LabGroupPod) GetScheduling

func (x *LabGroupPod) GetScheduling() *PodScheduling

func (*LabGroupPod) ProtoMessage

func (*LabGroupPod) ProtoMessage()

func (*LabGroupPod) ProtoReflect

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

func (*LabGroupPod) Reset

func (x *LabGroupPod) Reset()

func (*LabGroupPod) String

func (x *LabGroupPod) String() string

type LabGroupStatus

type LabGroupStatus struct {
	Phase           string `protobuf:"bytes,1,opt,name=phase,proto3" json:"phase,omitempty"`
	Namespace       string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	VpnRegistered   bool   `protobuf:"varint,3,opt,name=vpn_registered,json=vpnRegistered,proto3" json:"vpn_registered,omitempty"`
	Suspended       bool   `protobuf:"varint,4,opt,name=suspended,proto3" json:"suspended,omitempty"`
	VpnClientSubnet string `protobuf:"bytes,5,opt,name=vpn_client_subnet,json=vpnClientSubnet,proto3" json:"vpn_client_subnet,omitempty"`
	// VPN or gateway image that could not be pinned to a digest (pulled by tag); empty when fine.
	ImageWarning string              `protobuf:"bytes,6,opt,name=image_warning,json=imageWarning,proto3" json:"image_warning,omitempty"`
	Scheduling   *Scheduling         `protobuf:"bytes,7,opt,name=scheduling,proto3" json:"scheduling,omitempty"`
	Pods         []*LabGroupPod      `protobuf:"bytes,8,rep,name=pods,proto3" json:"pods,omitempty"` // absent for a group that predates the scheduler
	Lifecycle    *LabLifecycleStatus `protobuf:"bytes,9,opt,name=lifecycle,proto3" json:"lifecycle,omitempty"`
	Resources    *ResourceAllocation `protobuf:"bytes,10,opt,name=resources,proto3" json:"resources,omitempty"`
	// Independent direct-validated current VPN process boot; never policy/traffic fallback.
	CurrentVpnBootId             string            `protobuf:"bytes,11,opt,name=current_vpn_boot_id,json=currentVpnBootId,proto3" json:"current_vpn_boot_id,omitempty"`
	CurrentVpnBootAvailable      bool              `` /* 136-byte string literal not displayed */
	CurrentVpnBootObservedUnixMs int64             `` /* 155-byte string literal not displayed */
	Retirement                   *RetirementStatus `protobuf:"bytes,14,opt,name=retirement,proto3" json:"retirement,omitempty"`
	// contains filtered or unexported fields
}

func (*LabGroupStatus) Descriptor deprecated

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

Deprecated: Use LabGroupStatus.ProtoReflect.Descriptor instead.

func (*LabGroupStatus) GetCurrentVpnBootAvailable added in v1.1.0

func (x *LabGroupStatus) GetCurrentVpnBootAvailable() bool

func (*LabGroupStatus) GetCurrentVpnBootId added in v1.1.0

func (x *LabGroupStatus) GetCurrentVpnBootId() string

func (*LabGroupStatus) GetCurrentVpnBootObservedUnixMs added in v1.1.0

func (x *LabGroupStatus) GetCurrentVpnBootObservedUnixMs() int64

func (*LabGroupStatus) GetImageWarning

func (x *LabGroupStatus) GetImageWarning() string

func (*LabGroupStatus) GetLifecycle added in v1.1.0

func (x *LabGroupStatus) GetLifecycle() *LabLifecycleStatus

func (*LabGroupStatus) GetNamespace

func (x *LabGroupStatus) GetNamespace() string

func (*LabGroupStatus) GetPhase

func (x *LabGroupStatus) GetPhase() string

func (*LabGroupStatus) GetPods

func (x *LabGroupStatus) GetPods() []*LabGroupPod

func (*LabGroupStatus) GetResources added in v1.1.0

func (x *LabGroupStatus) GetResources() *ResourceAllocation

func (*LabGroupStatus) GetRetirement added in v1.1.0

func (x *LabGroupStatus) GetRetirement() *RetirementStatus

func (*LabGroupStatus) GetScheduling

func (x *LabGroupStatus) GetScheduling() *Scheduling

func (*LabGroupStatus) GetSuspended

func (x *LabGroupStatus) GetSuspended() bool

func (*LabGroupStatus) GetVpnClientSubnet

func (x *LabGroupStatus) GetVpnClientSubnet() string

func (*LabGroupStatus) GetVpnRegistered

func (x *LabGroupStatus) GetVpnRegistered() bool

func (*LabGroupStatus) ProtoMessage

func (*LabGroupStatus) ProtoMessage()

func (*LabGroupStatus) ProtoReflect

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

func (*LabGroupStatus) Reset

func (x *LabGroupStatus) Reset()

func (*LabGroupStatus) String

func (x *LabGroupStatus) String() string

type LabItem

type LabItem struct {
	LabGroup  string `protobuf:"bytes,1,opt,name=lab_group,json=labGroup,proto3" json:"lab_group,omitempty"`
	Name      string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	VariantId string `protobuf:"bytes,3,opt,name=variant_id,json=variantId,proto3" json:"variant_id,omitempty"`
	// This lab's own variables; they override the variant's by device and variable name.
	Env         []*DeviceEnv      `protobuf:"bytes,4,rep,name=env,proto3" json:"env,omitempty"`
	Labels      map[string]string `` /* 139-byte string literal not displayed */
	DeployGroup string            `protobuf:"bytes,6,opt,name=deploy_group,json=deployGroup,proto3" json:"deploy_group,omitempty"`
	DeployAfter []string          `protobuf:"bytes,7,rep,name=deploy_after,json=deployAfter,proto3" json:"deploy_after,omitempty"`
	// Optional legacy; managed original birth is fenced to the observed Group UID.
	ExpectedGroupUid string `protobuf:"bytes,8,opt,name=expected_group_uid,json=expectedGroupUid,proto3" json:"expected_group_uid,omitempty"`
	// contains filtered or unexported fields
}

func (*LabItem) Descriptor deprecated

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

Deprecated: Use LabItem.ProtoReflect.Descriptor instead.

func (*LabItem) GetDeployAfter

func (x *LabItem) GetDeployAfter() []string

func (*LabItem) GetDeployGroup

func (x *LabItem) GetDeployGroup() string

func (*LabItem) GetEnv

func (x *LabItem) GetEnv() []*DeviceEnv

func (*LabItem) GetExpectedGroupUid added in v1.1.0

func (x *LabItem) GetExpectedGroupUid() string

func (*LabItem) GetLabGroup

func (x *LabItem) GetLabGroup() string

func (*LabItem) GetLabels

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

func (*LabItem) GetName

func (x *LabItem) GetName() string

func (*LabItem) GetVariantId

func (x *LabItem) GetVariantId() string

func (*LabItem) ProtoMessage

func (*LabItem) ProtoMessage()

func (*LabItem) ProtoReflect

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

func (*LabItem) Reset

func (x *LabItem) Reset()

func (*LabItem) String

func (x *LabItem) String() string

type LabLifecycleStatus added in v1.1.0

type LabLifecycleStatus struct {
	DesiredState         string `protobuf:"bytes,1,opt,name=desired_state,json=desiredState,proto3" json:"desired_state,omitempty"`    // Running/Stopped; absent CRD intent means Running
	ObservedState        string `protobuf:"bytes,2,opt,name=observed_state,json=observedState,proto3" json:"observed_state,omitempty"` // Running/Snapshotting/Stopping/Stopped/StopFailed/Starting/Unknown
	OperationId          string `protobuf:"bytes,3,opt,name=operation_id,json=operationId,proto3" json:"operation_id,omitempty"`
	LifecycleRevision    int64  `protobuf:"varint,4,opt,name=lifecycle_revision,json=lifecycleRevision,proto3" json:"lifecycle_revision,omitempty"`
	LabUid               string `protobuf:"bytes,5,opt,name=lab_uid,json=labUid,proto3" json:"lab_uid,omitempty"`
	ObservedGeneration   int64  `protobuf:"varint,6,opt,name=observed_generation,json=observedGeneration,proto3" json:"observed_generation,omitempty"`
	Reason               string `protobuf:"bytes,7,opt,name=reason,proto3" json:"reason,omitempty"`
	Error                string `protobuf:"bytes,8,opt,name=error,proto3" json:"error,omitempty"`
	RequestedUnixMs      int64  `protobuf:"varint,9,opt,name=requested_unix_ms,json=requestedUnixMs,proto3" json:"requested_unix_ms,omitempty"`
	StoppedUnixMs        int64  `protobuf:"varint,10,opt,name=stopped_unix_ms,json=stoppedUnixMs,proto3" json:"stopped_unix_ms,omitempty"`
	RetentionUntilUnixMs int64  `` /* 127-byte string literal not displayed */
	SnapshotComplete     bool   `protobuf:"varint,12,opt,name=snapshot_complete,json=snapshotComplete,proto3" json:"snapshot_complete,omitempty"`
	AccessFenced         bool   `protobuf:"varint,13,opt,name=access_fenced,json=accessFenced,proto3" json:"access_fenced,omitempty"`
	AccessFencedUnixMs   int64  `protobuf:"varint,14,opt,name=access_fenced_unix_ms,json=accessFencedUnixMs,proto3" json:"access_fenced_unix_ms,omitempty"`
	AccessFenceVpnBootId string `` /* 128-byte string literal not displayed */
	Terminal             bool   `protobuf:"varint,16,opt,name=terminal,proto3" json:"terminal,omitempty"`
	// contains filtered or unexported fields
}

func (*LabLifecycleStatus) Descriptor deprecated added in v1.1.0

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

Deprecated: Use LabLifecycleStatus.ProtoReflect.Descriptor instead.

func (*LabLifecycleStatus) GetAccessFenceVpnBootId added in v1.1.0

func (x *LabLifecycleStatus) GetAccessFenceVpnBootId() string

func (*LabLifecycleStatus) GetAccessFenced added in v1.1.0

func (x *LabLifecycleStatus) GetAccessFenced() bool

func (*LabLifecycleStatus) GetAccessFencedUnixMs added in v1.1.0

func (x *LabLifecycleStatus) GetAccessFencedUnixMs() int64

func (*LabLifecycleStatus) GetDesiredState added in v1.1.0

func (x *LabLifecycleStatus) GetDesiredState() string

func (*LabLifecycleStatus) GetError added in v1.1.0

func (x *LabLifecycleStatus) GetError() string

func (*LabLifecycleStatus) GetLabUid added in v1.1.0

func (x *LabLifecycleStatus) GetLabUid() string

func (*LabLifecycleStatus) GetLifecycleRevision added in v1.1.0

func (x *LabLifecycleStatus) GetLifecycleRevision() int64

func (*LabLifecycleStatus) GetObservedGeneration added in v1.1.0

func (x *LabLifecycleStatus) GetObservedGeneration() int64

func (*LabLifecycleStatus) GetObservedState added in v1.1.0

func (x *LabLifecycleStatus) GetObservedState() string

func (*LabLifecycleStatus) GetOperationId added in v1.1.0

func (x *LabLifecycleStatus) GetOperationId() string

func (*LabLifecycleStatus) GetReason added in v1.1.0

func (x *LabLifecycleStatus) GetReason() string

func (*LabLifecycleStatus) GetRequestedUnixMs added in v1.1.0

func (x *LabLifecycleStatus) GetRequestedUnixMs() int64

func (*LabLifecycleStatus) GetRetentionUntilUnixMs added in v1.1.0

func (x *LabLifecycleStatus) GetRetentionUntilUnixMs() int64

func (*LabLifecycleStatus) GetSnapshotComplete added in v1.1.0

func (x *LabLifecycleStatus) GetSnapshotComplete() bool

func (*LabLifecycleStatus) GetStoppedUnixMs added in v1.1.0

func (x *LabLifecycleStatus) GetStoppedUnixMs() int64

func (*LabLifecycleStatus) GetTerminal added in v1.1.0

func (x *LabLifecycleStatus) GetTerminal() bool

func (*LabLifecycleStatus) ProtoMessage added in v1.1.0

func (*LabLifecycleStatus) ProtoMessage()

func (*LabLifecycleStatus) ProtoReflect added in v1.1.0

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

func (*LabLifecycleStatus) Reset added in v1.1.0

func (x *LabLifecycleStatus) Reset()

func (*LabLifecycleStatus) String added in v1.1.0

func (x *LabLifecycleStatus) String() string

type LabLifecycleTarget added in v1.1.0

type LabLifecycleTarget struct {
	Ref               *ItemRef `protobuf:"bytes,1,opt,name=ref,proto3" json:"ref,omitempty"` // lab_group + name; lab unused
	OperationId       string   `protobuf:"bytes,2,opt,name=operation_id,json=operationId,proto3" json:"operation_id,omitempty"`
	LifecycleRevision int64    `protobuf:"varint,3,opt,name=lifecycle_revision,json=lifecycleRevision,proto3" json:"lifecycle_revision,omitempty"`
	ExpectedLabUid    string   `protobuf:"bytes,4,opt,name=expected_lab_uid,json=expectedLabUid,proto3" json:"expected_lab_uid,omitempty"`
	// contains filtered or unexported fields
}

func (*LabLifecycleTarget) Descriptor deprecated added in v1.1.0

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

Deprecated: Use LabLifecycleTarget.ProtoReflect.Descriptor instead.

func (*LabLifecycleTarget) GetExpectedLabUid added in v1.1.0

func (x *LabLifecycleTarget) GetExpectedLabUid() string

func (*LabLifecycleTarget) GetLifecycleRevision added in v1.1.0

func (x *LabLifecycleTarget) GetLifecycleRevision() int64

func (*LabLifecycleTarget) GetOperationId added in v1.1.0

func (x *LabLifecycleTarget) GetOperationId() string

func (*LabLifecycleTarget) GetRef added in v1.1.0

func (x *LabLifecycleTarget) GetRef() *ItemRef

func (*LabLifecycleTarget) ProtoMessage added in v1.1.0

func (*LabLifecycleTarget) ProtoMessage()

func (*LabLifecycleTarget) ProtoReflect added in v1.1.0

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

func (*LabLifecycleTarget) Reset added in v1.1.0

func (x *LabLifecycleTarget) Reset()

func (*LabLifecycleTarget) String added in v1.1.0

func (x *LabLifecycleTarget) String() string

type LabLimits

type LabLimits struct {

	// Container devices per lab (switches and hubs run no pod and do not count).
	MaxDevices int32 `protobuf:"varint,1,opt,name=max_devices,json=maxDevices,proto3" json:"max_devices,omitempty"`
	// contains filtered or unexported fields
}

func (*LabLimits) Descriptor deprecated

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

Deprecated: Use LabLimits.ProtoReflect.Descriptor instead.

func (*LabLimits) GetMaxDevices

func (x *LabLimits) GetMaxDevices() int32

func (*LabLimits) ProtoMessage

func (*LabLimits) ProtoMessage()

func (*LabLimits) ProtoReflect

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

func (*LabLimits) Reset

func (x *LabLimits) Reset()

func (*LabLimits) String

func (x *LabLimits) String() string

type LabList

type LabList struct {
	Items []*Lab `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*LabList) Descriptor deprecated

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

Deprecated: Use LabList.ProtoReflect.Descriptor instead.

func (*LabList) GetItems

func (x *LabList) GetItems() []*Lab

func (*LabList) ProtoMessage

func (*LabList) ProtoMessage()

func (*LabList) ProtoReflect

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

func (*LabList) Reset

func (x *LabList) Reset()

func (*LabList) String

func (x *LabList) String() string

type LabManagerClient

type LabManagerClient interface {
	Ping(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Empty, error)
	// LabGroups.
	CreateLabGroups(ctx context.Context, in *CreateLabGroupsRequest, opts ...grpc.CallOption) (*BatchResult, error)
	ListLabGroups(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (*LabGroupList, error)
	UpdateLabGroups(ctx context.Context, in *UpdateLabGroupsRequest, opts ...grpc.CallOption) (*BatchResult, error)
	DeleteLabGroups(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*BatchResult, error)
	// LabGroupClients (VPN clients). The CreateLabGroupClients result carries the finished
	// WireGuard config with the private key the agent generated; it is never available again.
	CreateLabGroupClients(ctx context.Context, in *CreateLabGroupClientsRequest, opts ...grpc.CallOption) (*CreateLabGroupClientsResponse, error)
	ListLabGroupClients(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (*LabGroupClientList, error)
	UpdateLabGroupClients(ctx context.Context, in *UpdateLabGroupClientsRequest, opts ...grpc.CallOption) (*BatchResult, error)
	DeleteLabGroupClients(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*BatchResult, error)
	// SetLabGroupAccess atomically replaces the complete client-to-lab access policy of
	// every listed LabGroup. Unlisted existing clients receive no labs.
	SetLabGroupAccess(ctx context.Context, in *SetLabGroupAccessRequest, opts ...grpc.CallOption) (*BatchResult, error)
	// Labs. A variant (the lab spec and its common variables) is sent once, the items
	// refer to it by id.
	CreateLabs(ctx context.Context, in *CreateLabsRequest, opts ...grpc.CallOption) (*BatchResult, error)
	ListLabs(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (*LabList, error)
	UpdateLabs(ctx context.Context, in *UpdateLabsRequest, opts ...grpc.CallOption) (*BatchResult, error)
	DeleteLabs(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*BatchResult, error)
	// Explicit UID/revision-fenced intent, at most 5000 items, no selectors.
	// Replies acknowledge acceptance only. Unsupported servers return UNIMPLEMENTED.
	// Identical intent is idempotent; wrong UID, lower or conflicting equal revision
	// is refused. Start never clears terminal and refuses it at every revision.
	StopLabs(ctx context.Context, in *StopLabsRequest, opts ...grpc.CallOption) (*BatchResult, error)
	StartLabs(ctx context.Context, in *StartLabsRequest, opts ...grpc.CallOption) (*BatchResult, error)
	// Accepted per item only; matching lifecycle observations prove completion.
	StopLabGroups(ctx context.Context, in *StopLabGroupsRequest, opts ...grpc.CallOption) (*BatchResult, error)
	StartLabGroups(ctx context.Context, in *StartLabGroupsRequest, opts ...grpc.CallOption) (*BatchResult, error)
	// Fenced terminal retirement; acceptance is distinct from fresh cleanup ACK.
	// Definitions remain durable tombstones; legacy Delete* semantics are unchanged.
	RetireLabs(ctx context.Context, in *RetireLabsRequest, opts ...grpc.CallOption) (*BatchResult, error)
	RetireLabGroups(ctx context.Context, in *RetireLabGroupsRequest, opts ...grpc.CallOption) (*BatchResult, error)
	// Monitoring is a server-push stream. Every subscription starts with a
	// complete snapshot; subsequent messages are sequenced deltas or heartbeats.
	Monitoring(ctx context.Context, in *MonitoringRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[MonitoringUpdate], error)
	// Enrollment. The platform's private keys never leave it: it generates a client key and an
	// access key pair itself and sends only the certificate request and the public access key.
	//
	// Enroll works over plain TLS (server authentication only: the client has no certificate yet). The
	// token is the one-time enrollment token of a Tenant (shown to the admin once, valid 24 hours by
	// default). The agent verifies the token (hash, expiry, not used) and the request (EC P-256 or
	// stronger, or RSA 2048 or more; the requested subject is ignored), signs a client certificate with
	// CN = the tenant name, stores the access public key and burns the token. A used, expired or unknown
	// token is PERMISSION_DENIED. The tenant identity is the subject CN of the returned certificate (the tenant
	// name, no prefix; a DNS label): the response has no separate tenant field.
	Enroll(ctx context.Context, in *EnrollRequest, opts ...grpc.CallOption) (*CertificateResponse, error)
	// RenewCertificate (mTLS) issues a new client certificate with the same CN for a new key.
	RenewCertificate(ctx context.Context, in *RenewCertificateRequest, opts ...grpc.CallOption) (*CertificateResponse, error)
	// RotateAccessKey (mTLS) adds an access public key to the tenant (a rotation overlaps: both keys
	// work until the old one is removed). The same id with the same key is accepted again.
	RotateAccessKey(ctx context.Context, in *RotateAccessKeyRequest, opts ...grpc.CallOption) (*Empty, error)
	// RemoveAccessKey (mTLS) removes a key. The last key of a tenant cannot be removed
	// (FAILED_PRECONDITION).
	RemoveAccessKey(ctx context.Context, in *RemoveAccessKeyRequest, opts ...grpc.CallOption) (*Empty, error)
	// GetCapacity is the caller's tenant view: its quota, reserved, used and free resources.
	GetCapacity(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*CapacityResponse, error)
	// GetFeatures is what the caller's tenant can use on this laboratory: state persistence, the image cache,
	// the scheduler limits, the public hosts and the caller's client certificate lifetime. The backend takes
	// all of it from here and keeps no copy in its own configuration. Monitoring carries the same message in
	// MonitoringUpdate.features (first message, then whenever it changed).
	GetFeatures(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*FeaturesResponse, error)
	// ListMaintenanceWindows returns the maintenance windows the cluster operator announced that apply to the caller's
	// tenant (a window with no tenants applies to all), soonest first. The agent refuses and delays nothing during a
	// window; the backend reads them to plan (its calendar shows the capacity of the agent as the window says, zero
	// unless the window leaves some). By default windows that are over are left out. Poll it (it is not part of the
	// Monitoring stream).
	ListMaintenanceWindows(ctx context.Context, in *ListMaintenanceWindowsRequest, opts ...grpc.CallOption) (*MaintenanceWindowList, error)
	// PrewarmImages makes the platform image cache (zot) fetch images from their upstream
	// registries BEFORE labs need them, so a burst of labs pulls only from the cache. It is
	// asynchronous and idempotent: each call returns the current state of the requested images
	// (starting the work for new ones, retrying FAILED ones, refreshing DONE ones that are
	// older than the agent's staleness bound); an empty list returns every image the agent
	// knows. Poll by repeating the call. Fails with FailedPrecondition when the cache is off.
	PrewarmImages(ctx context.Context, in *PrewarmImagesRequest, opts ...grpc.CallOption) (*PrewarmImagesResult, error)
	// Device calls. Targets are explicit (lab_group, lab, device) items or a selector over
	// LABS plus a device name. The state calls (reset, rescue) only make sense for devices
	// with snapshot-backed state (LabDeviceStatus.snapshot is set); the backend restricts
	// them to organizers and admins.
	//
	// ResetDevices discards the devices' snapshots and restarts them from their base image.
	ResetDevices(ctx context.Context, in *DevicesRequest, opts ...grpc.CallOption) (*BatchResult, error)
	// RescueDevices starts the devices from their latest snapshot with a shell instead of
	// the image entrypoint (enable=true), or back to normal (enable=false), to repair a
	// configuration that makes the service crash.
	RescueDevices(ctx context.Context, in *RescueDevicesRequest, opts ...grpc.CallOption) (*BatchResult, error)
	// ExportDeviceSnapshot streams the LATEST state of a device with snapshot-backed state as one
	// archive: the files that differ from the device's base image (the layers of the snapshot
	// chain squashed into one, deletions kept as OCI whiteouts), as an uncompressed-tar stream
	// compressed with gzip and cut into chunks. The first message is the metadata, then data
	// chunks, then the trailer with the length and sha256 of the gzip stream. There is no layer history.
	// FailedPrecondition: the device has no state persistence, or it has no snapshot yet, or the
	// snapshot registry is not configured. NotFound: no such device, or it belongs to another tenant.
	ExportDeviceSnapshot(ctx context.Context, in *DeviceSnapshotRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[SnapshotChunk], error)
}

LabManagerClient is the client API for LabManager 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 NewLabManagerClient

func NewLabManagerClient(cc grpc.ClientConnInterface) LabManagerClient

type LabManagerServer

type LabManagerServer interface {
	Ping(context.Context, *Empty) (*Empty, error)
	// LabGroups.
	CreateLabGroups(context.Context, *CreateLabGroupsRequest) (*BatchResult, error)
	ListLabGroups(context.Context, *ListRequest) (*LabGroupList, error)
	UpdateLabGroups(context.Context, *UpdateLabGroupsRequest) (*BatchResult, error)
	DeleteLabGroups(context.Context, *DeleteRequest) (*BatchResult, error)
	// LabGroupClients (VPN clients). The CreateLabGroupClients result carries the finished
	// WireGuard config with the private key the agent generated; it is never available again.
	CreateLabGroupClients(context.Context, *CreateLabGroupClientsRequest) (*CreateLabGroupClientsResponse, error)
	ListLabGroupClients(context.Context, *ListRequest) (*LabGroupClientList, error)
	UpdateLabGroupClients(context.Context, *UpdateLabGroupClientsRequest) (*BatchResult, error)
	DeleteLabGroupClients(context.Context, *DeleteRequest) (*BatchResult, error)
	// SetLabGroupAccess atomically replaces the complete client-to-lab access policy of
	// every listed LabGroup. Unlisted existing clients receive no labs.
	SetLabGroupAccess(context.Context, *SetLabGroupAccessRequest) (*BatchResult, error)
	// Labs. A variant (the lab spec and its common variables) is sent once, the items
	// refer to it by id.
	CreateLabs(context.Context, *CreateLabsRequest) (*BatchResult, error)
	ListLabs(context.Context, *ListRequest) (*LabList, error)
	UpdateLabs(context.Context, *UpdateLabsRequest) (*BatchResult, error)
	DeleteLabs(context.Context, *DeleteRequest) (*BatchResult, error)
	// Explicit UID/revision-fenced intent, at most 5000 items, no selectors.
	// Replies acknowledge acceptance only. Unsupported servers return UNIMPLEMENTED.
	// Identical intent is idempotent; wrong UID, lower or conflicting equal revision
	// is refused. Start never clears terminal and refuses it at every revision.
	StopLabs(context.Context, *StopLabsRequest) (*BatchResult, error)
	StartLabs(context.Context, *StartLabsRequest) (*BatchResult, error)
	// Accepted per item only; matching lifecycle observations prove completion.
	StopLabGroups(context.Context, *StopLabGroupsRequest) (*BatchResult, error)
	StartLabGroups(context.Context, *StartLabGroupsRequest) (*BatchResult, error)
	// Fenced terminal retirement; acceptance is distinct from fresh cleanup ACK.
	// Definitions remain durable tombstones; legacy Delete* semantics are unchanged.
	RetireLabs(context.Context, *RetireLabsRequest) (*BatchResult, error)
	RetireLabGroups(context.Context, *RetireLabGroupsRequest) (*BatchResult, error)
	// Monitoring is a server-push stream. Every subscription starts with a
	// complete snapshot; subsequent messages are sequenced deltas or heartbeats.
	Monitoring(*MonitoringRequest, grpc.ServerStreamingServer[MonitoringUpdate]) error
	// Enrollment. The platform's private keys never leave it: it generates a client key and an
	// access key pair itself and sends only the certificate request and the public access key.
	//
	// Enroll works over plain TLS (server authentication only: the client has no certificate yet). The
	// token is the one-time enrollment token of a Tenant (shown to the admin once, valid 24 hours by
	// default). The agent verifies the token (hash, expiry, not used) and the request (EC P-256 or
	// stronger, or RSA 2048 or more; the requested subject is ignored), signs a client certificate with
	// CN = the tenant name, stores the access public key and burns the token. A used, expired or unknown
	// token is PERMISSION_DENIED. The tenant identity is the subject CN of the returned certificate (the tenant
	// name, no prefix; a DNS label): the response has no separate tenant field.
	Enroll(context.Context, *EnrollRequest) (*CertificateResponse, error)
	// RenewCertificate (mTLS) issues a new client certificate with the same CN for a new key.
	RenewCertificate(context.Context, *RenewCertificateRequest) (*CertificateResponse, error)
	// RotateAccessKey (mTLS) adds an access public key to the tenant (a rotation overlaps: both keys
	// work until the old one is removed). The same id with the same key is accepted again.
	RotateAccessKey(context.Context, *RotateAccessKeyRequest) (*Empty, error)
	// RemoveAccessKey (mTLS) removes a key. The last key of a tenant cannot be removed
	// (FAILED_PRECONDITION).
	RemoveAccessKey(context.Context, *RemoveAccessKeyRequest) (*Empty, error)
	// GetCapacity is the caller's tenant view: its quota, reserved, used and free resources.
	GetCapacity(context.Context, *Empty) (*CapacityResponse, error)
	// GetFeatures is what the caller's tenant can use on this laboratory: state persistence, the image cache,
	// the scheduler limits, the public hosts and the caller's client certificate lifetime. The backend takes
	// all of it from here and keeps no copy in its own configuration. Monitoring carries the same message in
	// MonitoringUpdate.features (first message, then whenever it changed).
	GetFeatures(context.Context, *Empty) (*FeaturesResponse, error)
	// ListMaintenanceWindows returns the maintenance windows the cluster operator announced that apply to the caller's
	// tenant (a window with no tenants applies to all), soonest first. The agent refuses and delays nothing during a
	// window; the backend reads them to plan (its calendar shows the capacity of the agent as the window says, zero
	// unless the window leaves some). By default windows that are over are left out. Poll it (it is not part of the
	// Monitoring stream).
	ListMaintenanceWindows(context.Context, *ListMaintenanceWindowsRequest) (*MaintenanceWindowList, error)
	// PrewarmImages makes the platform image cache (zot) fetch images from their upstream
	// registries BEFORE labs need them, so a burst of labs pulls only from the cache. It is
	// asynchronous and idempotent: each call returns the current state of the requested images
	// (starting the work for new ones, retrying FAILED ones, refreshing DONE ones that are
	// older than the agent's staleness bound); an empty list returns every image the agent
	// knows. Poll by repeating the call. Fails with FailedPrecondition when the cache is off.
	PrewarmImages(context.Context, *PrewarmImagesRequest) (*PrewarmImagesResult, error)
	// Device calls. Targets are explicit (lab_group, lab, device) items or a selector over
	// LABS plus a device name. The state calls (reset, rescue) only make sense for devices
	// with snapshot-backed state (LabDeviceStatus.snapshot is set); the backend restricts
	// them to organizers and admins.
	//
	// ResetDevices discards the devices' snapshots and restarts them from their base image.
	ResetDevices(context.Context, *DevicesRequest) (*BatchResult, error)
	// RescueDevices starts the devices from their latest snapshot with a shell instead of
	// the image entrypoint (enable=true), or back to normal (enable=false), to repair a
	// configuration that makes the service crash.
	RescueDevices(context.Context, *RescueDevicesRequest) (*BatchResult, error)
	// ExportDeviceSnapshot streams the LATEST state of a device with snapshot-backed state as one
	// archive: the files that differ from the device's base image (the layers of the snapshot
	// chain squashed into one, deletions kept as OCI whiteouts), as an uncompressed-tar stream
	// compressed with gzip and cut into chunks. The first message is the metadata, then data
	// chunks, then the trailer with the length and sha256 of the gzip stream. There is no layer history.
	// FailedPrecondition: the device has no state persistence, or it has no snapshot yet, or the
	// snapshot registry is not configured. NotFound: no such device, or it belongs to another tenant.
	ExportDeviceSnapshot(*DeviceSnapshotRequest, grpc.ServerStreamingServer[SnapshotChunk]) error
	// contains filtered or unexported methods
}

LabManagerServer is the server API for LabManager service. All implementations must embed UnimplementedLabManagerServer for forward compatibility.

type LabManager_ExportDeviceSnapshotClient

type LabManager_ExportDeviceSnapshotClient = grpc.ServerStreamingClient[SnapshotChunk]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type LabManager_ExportDeviceSnapshotServer

type LabManager_ExportDeviceSnapshotServer = grpc.ServerStreamingServer[SnapshotChunk]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type LabManager_MonitoringClient

type LabManager_MonitoringClient = grpc.ServerStreamingClient[MonitoringUpdate]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type LabManager_MonitoringServer

type LabManager_MonitoringServer = grpc.ServerStreamingServer[MonitoringUpdate]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type LabRetirementTarget added in v1.1.0

type LabRetirementTarget struct {
	StopTarget            *LabLifecycleTarget `protobuf:"bytes,1,opt,name=stop_target,json=stopTarget,proto3" json:"stop_target,omitempty"`
	RetirementOperationId string              `` /* 126-byte string literal not displayed */
	RetirementRevision    int64               `protobuf:"varint,3,opt,name=retirement_revision,json=retirementRevision,proto3" json:"retirement_revision,omitempty"`
	// contains filtered or unexported fields
}

The stop target remains immutable; retirement has a distinct new operation.

func (*LabRetirementTarget) Descriptor deprecated added in v1.1.0

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

Deprecated: Use LabRetirementTarget.ProtoReflect.Descriptor instead.

func (*LabRetirementTarget) GetRetirementOperationId added in v1.1.0

func (x *LabRetirementTarget) GetRetirementOperationId() string

func (*LabRetirementTarget) GetRetirementRevision added in v1.1.0

func (x *LabRetirementTarget) GetRetirementRevision() int64

func (*LabRetirementTarget) GetStopTarget added in v1.1.0

func (x *LabRetirementTarget) GetStopTarget() *LabLifecycleTarget

func (*LabRetirementTarget) ProtoMessage added in v1.1.0

func (*LabRetirementTarget) ProtoMessage()

func (*LabRetirementTarget) ProtoReflect added in v1.1.0

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

func (*LabRetirementTarget) Reset added in v1.1.0

func (x *LabRetirementTarget) Reset()

func (*LabRetirementTarget) String added in v1.1.0

func (x *LabRetirementTarget) String() string

type LabStatus

type LabStatus struct {
	Phase         string                 `protobuf:"bytes,1,opt,name=phase,proto3" json:"phase,omitempty"`
	VpnCidr       string                 `protobuf:"bytes,2,opt,name=vpn_cidr,json=vpnCidr,proto3" json:"vpn_cidr,omitempty"`
	InternetCidr  string                 `protobuf:"bytes,3,opt,name=internet_cidr,json=internetCidr,proto3" json:"internet_cidr,omitempty"`
	Ready         bool                   `protobuf:"varint,4,opt,name=ready,proto3" json:"ready,omitempty"`
	AccessUrls    []string               `protobuf:"bytes,5,rep,name=access_urls,json=accessUrls,proto3" json:"access_urls,omitempty"` // flat list of exposed URLs (kept for convenience)
	VpnReady      bool                   `protobuf:"varint,6,opt,name=vpn_ready,json=vpnReady,proto3" json:"vpn_ready,omitempty"`
	InternetReady bool                   `protobuf:"varint,7,opt,name=internet_ready,json=internetReady,proto3" json:"internet_ready,omitempty"`
	Devices       []*LabDeviceStatus     `protobuf:"bytes,8,rep,name=devices,proto3" json:"devices,omitempty"`         // per-device readiness
	Connections   []*LabConnectionStatus `protobuf:"bytes,9,rep,name=connections,proto3" json:"connections,omitempty"` // per-connection readiness
	Access        []*LabAccessEntry      `protobuf:"bytes,10,rep,name=access,proto3" json:"access,omitempty"`          // structured web-exposure entries
	// Place of the lab in the scheduler queue; absent for a lab the scheduler does not track.
	Scheduling *Scheduling `protobuf:"bytes,21,opt,name=scheduling,proto3" json:"scheduling,omitempty"`
	// Image cache: the images of the lab that could not be pinned to a digest and
	// are pulled by tag; empty when all were pinned or the lab does not use the cache.
	ImageWarning string              `protobuf:"bytes,40,opt,name=image_warning,json=imageWarning,proto3" json:"image_warning,omitempty"`
	Lifecycle    *LabLifecycleStatus `protobuf:"bytes,41,opt,name=lifecycle,proto3" json:"lifecycle,omitempty"`
	Resources    *ResourceAllocation `protobuf:"bytes,42,opt,name=resources,proto3" json:"resources,omitempty"`
	Retirement   *RetirementStatus   `protobuf:"bytes,43,opt,name=retirement,proto3" json:"retirement,omitempty"`
	// contains filtered or unexported fields
}

func (*LabStatus) Descriptor deprecated

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

Deprecated: Use LabStatus.ProtoReflect.Descriptor instead.

func (*LabStatus) GetAccess

func (x *LabStatus) GetAccess() []*LabAccessEntry

func (*LabStatus) GetAccessUrls

func (x *LabStatus) GetAccessUrls() []string

func (*LabStatus) GetConnections

func (x *LabStatus) GetConnections() []*LabConnectionStatus

func (*LabStatus) GetDevices

func (x *LabStatus) GetDevices() []*LabDeviceStatus

func (*LabStatus) GetImageWarning

func (x *LabStatus) GetImageWarning() string

func (*LabStatus) GetInternetCidr

func (x *LabStatus) GetInternetCidr() string

func (*LabStatus) GetInternetReady

func (x *LabStatus) GetInternetReady() bool

func (*LabStatus) GetLifecycle added in v1.1.0

func (x *LabStatus) GetLifecycle() *LabLifecycleStatus

func (*LabStatus) GetPhase

func (x *LabStatus) GetPhase() string

func (*LabStatus) GetReady

func (x *LabStatus) GetReady() bool

func (*LabStatus) GetResources added in v1.1.0

func (x *LabStatus) GetResources() *ResourceAllocation

func (*LabStatus) GetRetirement added in v1.1.0

func (x *LabStatus) GetRetirement() *RetirementStatus

func (*LabStatus) GetScheduling

func (x *LabStatus) GetScheduling() *Scheduling

func (*LabStatus) GetVpnCidr

func (x *LabStatus) GetVpnCidr() string

func (*LabStatus) GetVpnReady

func (x *LabStatus) GetVpnReady() bool

func (*LabStatus) ProtoMessage

func (*LabStatus) ProtoMessage()

func (*LabStatus) ProtoReflect

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

func (*LabStatus) Reset

func (x *LabStatus) Reset()

func (*LabStatus) String

func (x *LabStatus) String() string

type LabVariant

type LabVariant struct {
	VariantId string       `protobuf:"bytes,1,opt,name=variant_id,json=variantId,proto3" json:"variant_id,omitempty"`
	SpecJson  []byte       `protobuf:"bytes,2,opt,name=spec_json,json=specJson,proto3" json:"spec_json,omitempty"` // Lab.spec serialized; the agent passes it through
	Env       []*DeviceEnv `protobuf:"bytes,3,rep,name=env,proto3" json:"env,omitempty"`                           // variables common to every lab of the variant
	// contains filtered or unexported fields
}

LabVariant is sent once per request however many labs use it; it is not stored, the spec is copied into every Lab. Device variables are secrets only: spec_json must not carry env or flags on devices (rejected). A device's state persistence is part of the spec (devices[].persistence {enabled, debounce}), set at creation and immutable; enabled=true is refused when the cluster does not allow persistence.

func (*LabVariant) Descriptor deprecated

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

Deprecated: Use LabVariant.ProtoReflect.Descriptor instead.

func (*LabVariant) GetEnv

func (x *LabVariant) GetEnv() []*DeviceEnv

func (*LabVariant) GetSpecJson

func (x *LabVariant) GetSpecJson() []byte

func (*LabVariant) GetVariantId

func (x *LabVariant) GetVariantId() string

func (*LabVariant) ProtoMessage

func (*LabVariant) ProtoMessage()

func (*LabVariant) ProtoReflect

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

func (*LabVariant) Reset

func (x *LabVariant) Reset()

func (*LabVariant) String

func (x *LabVariant) String() string

type LabelChanges

type LabelChanges struct {
	Set    map[string]string `` /* 133-byte string literal not displayed */
	Remove []string          `protobuf:"bytes,2,rep,name=remove,proto3" json:"remove,omitempty"`
	// contains filtered or unexported fields
}

LabelChanges: set labels (a set label overrides an existing one) and remove labels. A key in both is invalid.

func (*LabelChanges) Descriptor deprecated

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

Deprecated: Use LabelChanges.ProtoReflect.Descriptor instead.

func (*LabelChanges) GetRemove

func (x *LabelChanges) GetRemove() []string

func (*LabelChanges) GetSet

func (x *LabelChanges) GetSet() map[string]string

func (*LabelChanges) ProtoMessage

func (*LabelChanges) ProtoMessage()

func (*LabelChanges) ProtoReflect

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

func (*LabelChanges) Reset

func (x *LabelChanges) Reset()

func (*LabelChanges) String

func (x *LabelChanges) String() string

type LifecycleFeature added in v1.1.0

type LifecycleFeature struct {
	PerLabStop       bool `protobuf:"varint,1,opt,name=per_lab_stop,json=perLabStop,proto3" json:"per_lab_stop,omitempty"`
	RequiredSnapshot bool `protobuf:"varint,2,opt,name=required_snapshot,json=requiredSnapshot,proto3" json:"required_snapshot,omitempty"`
	ConfirmedRuntime bool `protobuf:"varint,3,opt,name=confirmed_runtime,json=confirmedRuntime,proto3" json:"confirmed_runtime,omitempty"`
	RetainedRestart  bool `protobuf:"varint,4,opt,name=retained_restart,json=retainedRestart,proto3" json:"retained_restart,omitempty"`
	FullGroupStop    bool `protobuf:"varint,5,opt,name=full_group_stop,json=fullGroupStop,proto3" json:"full_group_stop,omitempty"`
	// contains filtered or unexported fields
}

These capabilities are independent and false until their native gates pass.

func (*LifecycleFeature) Descriptor deprecated added in v1.1.0

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

Deprecated: Use LifecycleFeature.ProtoReflect.Descriptor instead.

func (*LifecycleFeature) GetConfirmedRuntime added in v1.1.0

func (x *LifecycleFeature) GetConfirmedRuntime() bool

func (*LifecycleFeature) GetFullGroupStop added in v1.1.0

func (x *LifecycleFeature) GetFullGroupStop() bool

func (*LifecycleFeature) GetPerLabStop added in v1.1.0

func (x *LifecycleFeature) GetPerLabStop() bool

func (*LifecycleFeature) GetRequiredSnapshot added in v1.1.0

func (x *LifecycleFeature) GetRequiredSnapshot() bool

func (*LifecycleFeature) GetRetainedRestart added in v1.1.0

func (x *LifecycleFeature) GetRetainedRestart() bool

func (*LifecycleFeature) ProtoMessage added in v1.1.0

func (*LifecycleFeature) ProtoMessage()

func (*LifecycleFeature) ProtoReflect added in v1.1.0

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

func (*LifecycleFeature) Reset added in v1.1.0

func (x *LifecycleFeature) Reset()

func (*LifecycleFeature) String added in v1.1.0

func (x *LifecycleFeature) String() string

type LimitsFeature

type LimitsFeature struct {
	Device *DeviceLimits `protobuf:"bytes,1,opt,name=device,proto3" json:"device,omitempty"`
	Lab    *LabLimits    `protobuf:"bytes,2,opt,name=lab,proto3" json:"lab,omitempty"`
	Tenant *TenantLimits `protobuf:"bytes,3,opt,name=tenant,proto3" json:"tenant,omitempty"`
	Group  *GroupLimits  `protobuf:"bytes,4,opt,name=group,proto3" json:"group,omitempty"`
	// contains filtered or unexported fields
}

Caps the cluster owns. CreateLabs refuses a lab over them (InvalidArgument with the reason; a tenant over tenant.max_labs gets FAILED items with the reason). 0 = no limit, except the default_* values, which are the planning profile of a device that declares no resources (the scheduler counts with it too). Devices run Guaranteed (request = limit); a topology value counts as its limit, else its request, else the default.

func (*LimitsFeature) Descriptor deprecated

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

Deprecated: Use LimitsFeature.ProtoReflect.Descriptor instead.

func (*LimitsFeature) GetDevice

func (x *LimitsFeature) GetDevice() *DeviceLimits

func (*LimitsFeature) GetGroup

func (x *LimitsFeature) GetGroup() *GroupLimits

func (*LimitsFeature) GetLab

func (x *LimitsFeature) GetLab() *LabLimits

func (*LimitsFeature) GetTenant

func (x *LimitsFeature) GetTenant() *TenantLimits

func (*LimitsFeature) ProtoMessage

func (*LimitsFeature) ProtoMessage()

func (*LimitsFeature) ProtoReflect

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

func (*LimitsFeature) Reset

func (x *LimitsFeature) Reset()

func (*LimitsFeature) String

func (x *LimitsFeature) String() string

type ListMaintenanceWindowsRequest

type ListMaintenanceWindowsRequest struct {
	IncludePast bool `protobuf:"varint,1,opt,name=include_past,json=includePast,proto3" json:"include_past,omitempty"` // also the windows that are over
	// contains filtered or unexported fields
}

func (*ListMaintenanceWindowsRequest) Descriptor deprecated

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

Deprecated: Use ListMaintenanceWindowsRequest.ProtoReflect.Descriptor instead.

func (*ListMaintenanceWindowsRequest) GetIncludePast

func (x *ListMaintenanceWindowsRequest) GetIncludePast() bool

func (*ListMaintenanceWindowsRequest) ProtoMessage

func (*ListMaintenanceWindowsRequest) ProtoMessage()

func (*ListMaintenanceWindowsRequest) ProtoReflect

func (*ListMaintenanceWindowsRequest) Reset

func (x *ListMaintenanceWindowsRequest) Reset()

func (*ListMaintenanceWindowsRequest) String

type ListRequest

type ListRequest struct {
	Selector string     `protobuf:"bytes,1,opt,name=selector,proto3" json:"selector,omitempty"`
	Items    []*ItemRef `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"`
	LabGroup string     `protobuf:"bytes,3,opt,name=lab_group,json=labGroup,proto3" json:"lab_group,omitempty"`
	// contains filtered or unexported fields
}

ListRequest: names (items) or a selector, never both; none = everything. lab_group narrows a listing of namespaced kinds to one LabGroup.

func (*ListRequest) Descriptor deprecated

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

Deprecated: Use ListRequest.ProtoReflect.Descriptor instead.

func (*ListRequest) GetItems

func (x *ListRequest) GetItems() []*ItemRef

func (*ListRequest) GetLabGroup

func (x *ListRequest) GetLabGroup() string

func (*ListRequest) GetSelector

func (x *ListRequest) GetSelector() string

func (*ListRequest) ProtoMessage

func (*ListRequest) ProtoMessage()

func (*ListRequest) ProtoReflect

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

func (*ListRequest) Reset

func (x *ListRequest) Reset()

func (*ListRequest) String

func (x *ListRequest) String() string

type MaintenanceWindow

type MaintenanceWindow struct {
	Name       string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	FromUnixMs int64  `protobuf:"varint,2,opt,name=from_unix_ms,json=fromUnixMs,proto3" json:"from_unix_ms,omitempty"`
	ToUnixMs   int64  `protobuf:"varint,3,opt,name=to_unix_ms,json=toUnixMs,proto3" json:"to_unix_ms,omitempty"` // 0 = open-ended
	Reason     string `protobuf:"bytes,4,opt,name=reason,proto3" json:"reason,omitempty"`
	// Upcoming | Active | Past, as of the call.
	State string `protobuf:"bytes,5,opt,name=state,proto3" json:"state,omitempty"`
	// True when the window applies to every tenant; otherwise it names the caller's tenant
	// (other tenants are never listed).
	AllTenants bool `protobuf:"varint,6,opt,name=all_tenants,json=allTenants,proto3" json:"all_tenants,omitempty"`
	// What the window leaves to the tenant: when has_capacity is false nothing (zero); when true, the capacity
	// below (a resource the window does not name is zero).
	HasCapacity           bool  `protobuf:"varint,7,opt,name=has_capacity,json=hasCapacity,proto3" json:"has_capacity,omitempty"`
	CapacityCpuMillicores int64 `` /* 127-byte string literal not displayed */
	CapacityMemoryBytes   int64 `protobuf:"varint,9,opt,name=capacity_memory_bytes,json=capacityMemoryBytes,proto3" json:"capacity_memory_bytes,omitempty"`
	// contains filtered or unexported fields
}

func (*MaintenanceWindow) Descriptor deprecated

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

Deprecated: Use MaintenanceWindow.ProtoReflect.Descriptor instead.

func (*MaintenanceWindow) GetAllTenants

func (x *MaintenanceWindow) GetAllTenants() bool

func (*MaintenanceWindow) GetCapacityCpuMillicores

func (x *MaintenanceWindow) GetCapacityCpuMillicores() int64

func (*MaintenanceWindow) GetCapacityMemoryBytes

func (x *MaintenanceWindow) GetCapacityMemoryBytes() int64

func (*MaintenanceWindow) GetFromUnixMs

func (x *MaintenanceWindow) GetFromUnixMs() int64

func (*MaintenanceWindow) GetHasCapacity

func (x *MaintenanceWindow) GetHasCapacity() bool

func (*MaintenanceWindow) GetName

func (x *MaintenanceWindow) GetName() string

func (*MaintenanceWindow) GetReason

func (x *MaintenanceWindow) GetReason() string

func (*MaintenanceWindow) GetState

func (x *MaintenanceWindow) GetState() string

func (*MaintenanceWindow) GetToUnixMs

func (x *MaintenanceWindow) GetToUnixMs() int64

func (*MaintenanceWindow) ProtoMessage

func (*MaintenanceWindow) ProtoMessage()

func (*MaintenanceWindow) ProtoReflect

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

func (*MaintenanceWindow) Reset

func (x *MaintenanceWindow) Reset()

func (*MaintenanceWindow) String

func (x *MaintenanceWindow) String() string

type MaintenanceWindowList

type MaintenanceWindowList struct {
	Items []*MaintenanceWindow `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*MaintenanceWindowList) Descriptor deprecated

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

Deprecated: Use MaintenanceWindowList.ProtoReflect.Descriptor instead.

func (*MaintenanceWindowList) GetItems

func (x *MaintenanceWindowList) GetItems() []*MaintenanceWindow

func (*MaintenanceWindowList) ProtoMessage

func (*MaintenanceWindowList) ProtoMessage()

func (*MaintenanceWindowList) ProtoReflect

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

func (*MaintenanceWindowList) Reset

func (x *MaintenanceWindowList) Reset()

func (*MaintenanceWindowList) String

func (x *MaintenanceWindowList) String() string

type MonitoringDeletedKey

type MonitoringDeletedKey struct {
	Kind         string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"`
	LabGroupName string `protobuf:"bytes,2,opt,name=lab_group_name,json=labGroupName,proto3" json:"lab_group_name,omitempty"`
	Namespace    string `protobuf:"bytes,3,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Name         string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*MonitoringDeletedKey) Descriptor deprecated

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

Deprecated: Use MonitoringDeletedKey.ProtoReflect.Descriptor instead.

func (*MonitoringDeletedKey) GetKind

func (x *MonitoringDeletedKey) GetKind() string

func (*MonitoringDeletedKey) GetLabGroupName

func (x *MonitoringDeletedKey) GetLabGroupName() string

func (*MonitoringDeletedKey) GetName

func (x *MonitoringDeletedKey) GetName() string

func (*MonitoringDeletedKey) GetNamespace

func (x *MonitoringDeletedKey) GetNamespace() string

func (*MonitoringDeletedKey) ProtoMessage

func (*MonitoringDeletedKey) ProtoMessage()

func (*MonitoringDeletedKey) ProtoReflect

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

func (*MonitoringDeletedKey) Reset

func (x *MonitoringDeletedKey) Reset()

func (*MonitoringDeletedKey) String

func (x *MonitoringDeletedKey) String() string

type MonitoringRequest

type MonitoringRequest struct {

	// The agent bounds this to protect the Kubernetes API from a too-fast caller. It is
	// the least time between two messages of this stream: changes in between are merged.
	MinIntervalMs int64 `protobuf:"varint,1,opt,name=min_interval_ms,json=minIntervalMs,proto3" json:"min_interval_ms,omitempty"`
	// Resume: the last sequence the subscriber processed from the agent instance named in
	// agent_epoch. If that instance still holds the missed updates in its journal, they are
	// replayed (snapshot=false); otherwise a full snapshot (snapshot=true) is sent. 0 = no resume.
	ResumeAfterSequence int64 `protobuf:"varint,2,opt,name=resume_after_sequence,json=resumeAfterSequence,proto3" json:"resume_after_sequence,omitempty"`
	// Kubernetes label selector ("a=b,c in (d,e),!f"). Only objects of the kinds LabGroup, Lab,
	// LabGroupClient and access policy whose labels match are sent, in the snapshot and in the
	// updates, deletions included. A traffic report is cut down to the touches of matching labs.
	// Capacity is always sent. Empty = everything. An invalid selector fails the call.
	Selector string `protobuf:"bytes,3,opt,name=selector,proto3" json:"selector,omitempty"`
	// The agent_epoch of the updates resume_after_sequence belongs to.
	AgentEpoch string `protobuf:"bytes,4,opt,name=agent_epoch,json=agentEpoch,proto3" json:"agent_epoch,omitempty"`
	// contains filtered or unexported fields
}

func (*MonitoringRequest) Descriptor deprecated

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

Deprecated: Use MonitoringRequest.ProtoReflect.Descriptor instead.

func (*MonitoringRequest) GetAgentEpoch

func (x *MonitoringRequest) GetAgentEpoch() string

func (*MonitoringRequest) GetMinIntervalMs

func (x *MonitoringRequest) GetMinIntervalMs() int64

func (*MonitoringRequest) GetResumeAfterSequence

func (x *MonitoringRequest) GetResumeAfterSequence() int64

func (*MonitoringRequest) GetSelector

func (x *MonitoringRequest) GetSelector() string

func (*MonitoringRequest) ProtoMessage

func (*MonitoringRequest) ProtoMessage()

func (*MonitoringRequest) ProtoReflect

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

func (*MonitoringRequest) Reset

func (x *MonitoringRequest) Reset()

func (*MonitoringRequest) String

func (x *MonitoringRequest) String() string

type MonitoringUpdate

type MonitoringUpdate struct {
	AgentId          string                  `protobuf:"bytes,1,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"`
	Sequence         int64                   `protobuf:"varint,2,opt,name=sequence,proto3" json:"sequence,omitempty"`
	ObservedAtUnixMs int64                   `protobuf:"varint,3,opt,name=observed_at_unix_ms,json=observedAtUnixMs,proto3" json:"observed_at_unix_ms,omitempty"`
	SchemaVersion    uint32                  `protobuf:"varint,4,opt,name=schema_version,json=schemaVersion,proto3" json:"schema_version,omitempty"`
	Snapshot         bool                    `protobuf:"varint,5,opt,name=snapshot,proto3" json:"snapshot,omitempty"`
	Groups           []*LabGroup             `protobuf:"bytes,10,rep,name=groups,proto3" json:"groups,omitempty"`
	Labs             []*Lab                  `protobuf:"bytes,11,rep,name=labs,proto3" json:"labs,omitempty"`
	Clients          []*LabGroupClient       `protobuf:"bytes,12,rep,name=clients,proto3" json:"clients,omitempty"`
	DeletedKeys      []*MonitoringDeletedKey `protobuf:"bytes,13,rep,name=deleted_keys,json=deletedKeys,proto3" json:"deleted_keys,omitempty"`
	Policies         []*LabGroupAccessPolicy `protobuf:"bytes,14,rep,name=policies,proto3" json:"policies,omitempty"`
	// The subscriber's tenant capacity (quota, reserved, used, free). It is sent with the first
	// message and again when it changed; never cluster-wide numbers.
	Capacity *CapacityResponse `protobuf:"bytes,15,opt,name=capacity,proto3" json:"capacity,omitempty"`
	// What the subscriber's tenant can use (see GetFeatures). Sent with the first message and again when it changed.
	Features *FeaturesResponse `protobuf:"bytes,17,opt,name=features,proto3" json:"features,omitempty"`
	// Lab traffic accounting: cumulative aggregates relayed from LabTrafficReport
	// resources. State records like clients and policies, so a fresh snapshot
	// after a reconnect re-sends them; consumers apply them as cumulative values.
	Traffic []*TrafficReport `protobuf:"bytes,16,rep,name=traffic,proto3" json:"traffic,omitempty"`
	// The laboratory's own errors and the failed lab deploys of the subscriber's tenant; see ErrorJournal. Sent with the first
	// message and then as deltas; absent when there is nothing new.
	Errors *ErrorJournal `protobuf:"bytes,18,opt,name=errors,proto3" json:"errors,omitempty"`
	// Identifies this agent PROCESS. Sequences are monotonic within one epoch only; a changed
	// epoch means the agent restarted and a resume is impossible (a snapshot follows).
	AgentEpoch string `protobuf:"bytes,20,opt,name=agent_epoch,json=agentEpoch,proto3" json:"agent_epoch,omitempty"`
	// contains filtered or unexported fields
}

func (*MonitoringUpdate) Descriptor deprecated

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

Deprecated: Use MonitoringUpdate.ProtoReflect.Descriptor instead.

func (*MonitoringUpdate) GetAgentEpoch

func (x *MonitoringUpdate) GetAgentEpoch() string

func (*MonitoringUpdate) GetAgentId

func (x *MonitoringUpdate) GetAgentId() string

func (*MonitoringUpdate) GetCapacity

func (x *MonitoringUpdate) GetCapacity() *CapacityResponse

func (*MonitoringUpdate) GetClients

func (x *MonitoringUpdate) GetClients() []*LabGroupClient

func (*MonitoringUpdate) GetDeletedKeys

func (x *MonitoringUpdate) GetDeletedKeys() []*MonitoringDeletedKey

func (*MonitoringUpdate) GetErrors

func (x *MonitoringUpdate) GetErrors() *ErrorJournal

func (*MonitoringUpdate) GetFeatures

func (x *MonitoringUpdate) GetFeatures() *FeaturesResponse

func (*MonitoringUpdate) GetGroups

func (x *MonitoringUpdate) GetGroups() []*LabGroup

func (*MonitoringUpdate) GetLabs

func (x *MonitoringUpdate) GetLabs() []*Lab

func (*MonitoringUpdate) GetObservedAtUnixMs

func (x *MonitoringUpdate) GetObservedAtUnixMs() int64

func (*MonitoringUpdate) GetPolicies

func (x *MonitoringUpdate) GetPolicies() []*LabGroupAccessPolicy

func (*MonitoringUpdate) GetSchemaVersion

func (x *MonitoringUpdate) GetSchemaVersion() uint32

func (*MonitoringUpdate) GetSequence

func (x *MonitoringUpdate) GetSequence() int64

func (*MonitoringUpdate) GetSnapshot

func (x *MonitoringUpdate) GetSnapshot() bool

func (*MonitoringUpdate) GetTraffic

func (x *MonitoringUpdate) GetTraffic() []*TrafficReport

func (*MonitoringUpdate) ProtoMessage

func (*MonitoringUpdate) ProtoMessage()

func (*MonitoringUpdate) ProtoReflect

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

func (*MonitoringUpdate) Reset

func (x *MonitoringUpdate) Reset()

func (*MonitoringUpdate) String

func (x *MonitoringUpdate) String() string

type PodFailure

type PodFailure struct {
	Reason       string `protobuf:"bytes,1,opt,name=reason,proto3" json:"reason,omitempty"`
	Message      string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // the last error the node reported
	RestartCount int32  `protobuf:"varint,3,opt,name=restart_count,json=restartCount,proto3" json:"restart_count,omitempty"`
	AtUnixMs     int64  `protobuf:"varint,4,opt,name=at_unix_ms,json=atUnixMs,proto3" json:"at_unix_ms,omitempty"`
	// contains filtered or unexported fields
}

PodFailure explains a pod that did not start: ImagePull | CrashLoop | Unschedulable | StartupTimeout | PodNotCreated | DoesNotFit.

func (*PodFailure) Descriptor deprecated

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

Deprecated: Use PodFailure.ProtoReflect.Descriptor instead.

func (*PodFailure) GetAtUnixMs

func (x *PodFailure) GetAtUnixMs() int64

func (*PodFailure) GetMessage

func (x *PodFailure) GetMessage() string

func (*PodFailure) GetReason

func (x *PodFailure) GetReason() string

func (*PodFailure) GetRestartCount

func (x *PodFailure) GetRestartCount() int32

func (*PodFailure) ProtoMessage

func (*PodFailure) ProtoMessage()

func (*PodFailure) ProtoReflect

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

func (*PodFailure) Reset

func (x *PodFailure) Reset()

func (*PodFailure) String

func (x *PodFailure) String() string

type PodScheduling

type PodScheduling struct {
	State            PodState    `protobuf:"varint,1,opt,name=state,proto3,enum=labmanager.PodState" json:"state,omitempty"`
	QueuedUnixMs     int64       `protobuf:"varint,2,opt,name=queued_unix_ms,json=queuedUnixMs,proto3" json:"queued_unix_ms,omitempty"`
	DispatchedUnixMs int64       `protobuf:"varint,3,opt,name=dispatched_unix_ms,json=dispatchedUnixMs,proto3" json:"dispatched_unix_ms,omitempty"`
	StartedUnixMs    int64       `protobuf:"varint,4,opt,name=started_unix_ms,json=startedUnixMs,proto3" json:"started_unix_ms,omitempty"`
	Failure          *PodFailure `protobuf:"bytes,5,opt,name=failure,proto3" json:"failure,omitempty"` // set for a failed pod, cleared when it becomes Ready
	// contains filtered or unexported fields
}

PodScheduling is where one pod is on its way from the queue to Ready.

func (*PodScheduling) Descriptor deprecated

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

Deprecated: Use PodScheduling.ProtoReflect.Descriptor instead.

func (*PodScheduling) GetDispatchedUnixMs

func (x *PodScheduling) GetDispatchedUnixMs() int64

func (*PodScheduling) GetFailure

func (x *PodScheduling) GetFailure() *PodFailure

func (*PodScheduling) GetQueuedUnixMs

func (x *PodScheduling) GetQueuedUnixMs() int64

func (*PodScheduling) GetStartedUnixMs

func (x *PodScheduling) GetStartedUnixMs() int64

func (*PodScheduling) GetState

func (x *PodScheduling) GetState() PodState

func (*PodScheduling) ProtoMessage

func (*PodScheduling) ProtoMessage()

func (*PodScheduling) ProtoReflect

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

func (*PodScheduling) Reset

func (x *PodScheduling) Reset()

func (*PodScheduling) String

func (x *PodScheduling) String() string

type PodSize

type PodSize struct {
	CpuMillicores int64 `protobuf:"varint,1,opt,name=cpu_millicores,json=cpuMillicores,proto3" json:"cpu_millicores,omitempty"`
	MemoryBytes   int64 `protobuf:"varint,2,opt,name=memory_bytes,json=memoryBytes,proto3" json:"memory_bytes,omitempty"`
	// contains filtered or unexported fields
}

The size of one pod: requests = limits.

func (*PodSize) Descriptor deprecated

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

Deprecated: Use PodSize.ProtoReflect.Descriptor instead.

func (*PodSize) GetCpuMillicores

func (x *PodSize) GetCpuMillicores() int64

func (*PodSize) GetMemoryBytes

func (x *PodSize) GetMemoryBytes() int64

func (*PodSize) ProtoMessage

func (*PodSize) ProtoMessage()

func (*PodSize) ProtoReflect

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

func (*PodSize) Reset

func (x *PodSize) Reset()

func (*PodSize) String

func (x *PodSize) String() string

type PodSizing

type PodSizing struct {
	BaseCpuMillicores    int64 `protobuf:"varint,1,opt,name=base_cpu_millicores,json=baseCpuMillicores,proto3" json:"base_cpu_millicores,omitempty"`
	BaseMemoryBytes      int64 `protobuf:"varint,2,opt,name=base_memory_bytes,json=baseMemoryBytes,proto3" json:"base_memory_bytes,omitempty"`
	PerUnitCpuMillicores int64 `` /* 126-byte string literal not displayed */
	PerUnitMemoryBytes   int64 `protobuf:"varint,4,opt,name=per_unit_memory_bytes,json=perUnitMemoryBytes,proto3" json:"per_unit_memory_bytes,omitempty"`
	MaxUnits             int32 `protobuf:"varint,5,opt,name=max_units,json=maxUnits,proto3" json:"max_units,omitempty"`
	// contains filtered or unexported fields
}

The size of a pod is base + per_unit * units, units at most max_units; the maximum size is base + per_unit * max_units. The VPN unit is a user (a WireGuard peer: it grows with the users of the group, not with its labs); the gateway unit is a lab of the group that uses the internet.

func (*PodSizing) Descriptor deprecated

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

Deprecated: Use PodSizing.ProtoReflect.Descriptor instead.

func (*PodSizing) GetBaseCpuMillicores

func (x *PodSizing) GetBaseCpuMillicores() int64

func (*PodSizing) GetBaseMemoryBytes

func (x *PodSizing) GetBaseMemoryBytes() int64

func (*PodSizing) GetMaxUnits

func (x *PodSizing) GetMaxUnits() int32

func (*PodSizing) GetPerUnitCpuMillicores

func (x *PodSizing) GetPerUnitCpuMillicores() int64

func (*PodSizing) GetPerUnitMemoryBytes

func (x *PodSizing) GetPerUnitMemoryBytes() int64

func (*PodSizing) ProtoMessage

func (*PodSizing) ProtoMessage()

func (*PodSizing) ProtoReflect

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

func (*PodSizing) Reset

func (x *PodSizing) Reset()

func (*PodSizing) String

func (x *PodSizing) String() string

type PodState

type PodState int32
const (
	PodState_POD_STATE_UNSPECIFIED PodState = 0
	PodState_POD_STATE_QUEUED      PodState = 1 // waits for the scheduler; no workload yet
	PodState_POD_STATE_STARTING    PodState = 2 // dispatched, not Ready yet
	PodState_POD_STATE_STARTED     PodState = 3 // was Ready once
	PodState_POD_STATE_FAILED      PodState = 4 // did not start in time (see failure); it may still become Ready
)

func (PodState) Descriptor

func (PodState) Descriptor() protoreflect.EnumDescriptor

func (PodState) Enum

func (x PodState) Enum() *PodState

func (PodState) EnumDescriptor deprecated

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

Deprecated: Use PodState.Descriptor instead.

func (PodState) Number

func (x PodState) Number() protoreflect.EnumNumber

func (PodState) String

func (x PodState) String() string

func (PodState) Type

type PrewarmImageStatus

type PrewarmImageStatus struct {
	Image string       `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"`
	State PrewarmState `protobuf:"varint,2,opt,name=state,proto3,enum=labmanager.PrewarmState" json:"state,omitempty"`
	Error string       `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"`
	// The digest the cache holds: the manifest of the cluster's node platform for a
	// single-architecture cluster, the index otherwise (what the operator pins labs to).
	Digest        string `protobuf:"bytes,4,opt,name=digest,proto3" json:"digest,omitempty"`
	UpdatedUnixMs int64  `protobuf:"varint,5,opt,name=updated_unix_ms,json=updatedUnixMs,proto3" json:"updated_unix_ms,omitempty"`
	// contains filtered or unexported fields
}

func (*PrewarmImageStatus) Descriptor deprecated

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

Deprecated: Use PrewarmImageStatus.ProtoReflect.Descriptor instead.

func (*PrewarmImageStatus) GetDigest

func (x *PrewarmImageStatus) GetDigest() string

func (*PrewarmImageStatus) GetError

func (x *PrewarmImageStatus) GetError() string

func (*PrewarmImageStatus) GetImage

func (x *PrewarmImageStatus) GetImage() string

func (*PrewarmImageStatus) GetState

func (x *PrewarmImageStatus) GetState() PrewarmState

func (*PrewarmImageStatus) GetUpdatedUnixMs

func (x *PrewarmImageStatus) GetUpdatedUnixMs() int64

func (*PrewarmImageStatus) ProtoMessage

func (*PrewarmImageStatus) ProtoMessage()

func (*PrewarmImageStatus) ProtoReflect

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

func (*PrewarmImageStatus) Reset

func (x *PrewarmImageStatus) Reset()

func (*PrewarmImageStatus) String

func (x *PrewarmImageStatus) String() string

type PrewarmImagesRequest

type PrewarmImagesRequest struct {

	// Image references as written in a lab spec ("nginx:1.25", "ghcr.io/o/app@sha256:...").
	Images []string `protobuf:"bytes,1,rep,name=images,proto3" json:"images,omitempty"`
	// contains filtered or unexported fields
}

func (*PrewarmImagesRequest) Descriptor deprecated

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

Deprecated: Use PrewarmImagesRequest.ProtoReflect.Descriptor instead.

func (*PrewarmImagesRequest) GetImages

func (x *PrewarmImagesRequest) GetImages() []string

func (*PrewarmImagesRequest) ProtoMessage

func (*PrewarmImagesRequest) ProtoMessage()

func (*PrewarmImagesRequest) ProtoReflect

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

func (*PrewarmImagesRequest) Reset

func (x *PrewarmImagesRequest) Reset()

func (*PrewarmImagesRequest) String

func (x *PrewarmImagesRequest) String() string

type PrewarmImagesResult

type PrewarmImagesResult struct {
	Images []*PrewarmImageStatus `protobuf:"bytes,1,rep,name=images,proto3" json:"images,omitempty"`
	// contains filtered or unexported fields
}

func (*PrewarmImagesResult) Descriptor deprecated

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

Deprecated: Use PrewarmImagesResult.ProtoReflect.Descriptor instead.

func (*PrewarmImagesResult) GetImages

func (x *PrewarmImagesResult) GetImages() []*PrewarmImageStatus

func (*PrewarmImagesResult) ProtoMessage

func (*PrewarmImagesResult) ProtoMessage()

func (*PrewarmImagesResult) ProtoReflect

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

func (*PrewarmImagesResult) Reset

func (x *PrewarmImagesResult) Reset()

func (*PrewarmImagesResult) String

func (x *PrewarmImagesResult) String() string

type PrewarmState

type PrewarmState int32
const (
	PrewarmState_PREWARM_STATE_UNSPECIFIED PrewarmState = 0
	PrewarmState_PREWARM_STATE_QUEUED      PrewarmState = 1 // waiting for a free slot (the agent bounds the concurrency)
	PrewarmState_PREWARM_STATE_WARMING     PrewarmState = 2 // the cache is fetching it
	PrewarmState_PREWARM_STATE_DONE        PrewarmState = 3 // the manifest and every blob are stored in the cache
	PrewarmState_PREWARM_STATE_FAILED      PrewarmState = 4 // see error; a repeated call retries
	PrewarmState_PREWARM_STATE_SKIPPED     PrewarmState = 5 // the image's registry is not served by the cache: nodes pull it directly
)

func (PrewarmState) Descriptor

func (PrewarmState) Enum

func (x PrewarmState) Enum() *PrewarmState

func (PrewarmState) EnumDescriptor deprecated

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

Deprecated: Use PrewarmState.Descriptor instead.

func (PrewarmState) Number

func (PrewarmState) String

func (x PrewarmState) String() string

func (PrewarmState) Type

type ProxyFeature

type ProxyFeature struct {

	// The longest exp - iat of an access token (handoff link) the proxy accepts; a longer one is refused.
	AccessTokenMaxTtlSeconds int64 `` /* 140-byte string literal not displayed */
	// The proxy's session is sliding: it expires after this much inactivity (the cookie is renewed while the
	// user is active) ...
	SessionIdleTtlSeconds int64 `` /* 129-byte string literal not displayed */
	// ... and never lives longer than this from the handoff, nor past the link's own session end.
	SessionMaxTtlSeconds int64 `` /* 126-byte string literal not displayed */
	// contains filtered or unexported fields
}

Limits the L7 proxy enforces on lab access.

func (*ProxyFeature) Descriptor deprecated

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

Deprecated: Use ProxyFeature.ProtoReflect.Descriptor instead.

func (*ProxyFeature) GetAccessTokenMaxTtlSeconds

func (x *ProxyFeature) GetAccessTokenMaxTtlSeconds() int64

func (*ProxyFeature) GetSessionIdleTtlSeconds

func (x *ProxyFeature) GetSessionIdleTtlSeconds() int64

func (*ProxyFeature) GetSessionMaxTtlSeconds

func (x *ProxyFeature) GetSessionMaxTtlSeconds() int64

func (*ProxyFeature) ProtoMessage

func (*ProxyFeature) ProtoMessage()

func (*ProxyFeature) ProtoReflect

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

func (*ProxyFeature) Reset

func (x *ProxyFeature) Reset()

func (*ProxyFeature) String

func (x *ProxyFeature) String() string

type RemoveAccessKeyRequest

type RemoveAccessKeyRequest struct {
	KeyId string `protobuf:"bytes,1,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveAccessKeyRequest) Descriptor deprecated

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

Deprecated: Use RemoveAccessKeyRequest.ProtoReflect.Descriptor instead.

func (*RemoveAccessKeyRequest) GetKeyId

func (x *RemoveAccessKeyRequest) GetKeyId() string

func (*RemoveAccessKeyRequest) ProtoMessage

func (*RemoveAccessKeyRequest) ProtoMessage()

func (*RemoveAccessKeyRequest) ProtoReflect

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

func (*RemoveAccessKeyRequest) Reset

func (x *RemoveAccessKeyRequest) Reset()

func (*RemoveAccessKeyRequest) String

func (x *RemoveAccessKeyRequest) String() string

type RenewCertificateRequest

type RenewCertificateRequest struct {
	CsrPem string `protobuf:"bytes,1,opt,name=csr_pem,json=csrPem,proto3" json:"csr_pem,omitempty"`
	// contains filtered or unexported fields
}

func (*RenewCertificateRequest) Descriptor deprecated

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

Deprecated: Use RenewCertificateRequest.ProtoReflect.Descriptor instead.

func (*RenewCertificateRequest) GetCsrPem

func (x *RenewCertificateRequest) GetCsrPem() string

func (*RenewCertificateRequest) ProtoMessage

func (*RenewCertificateRequest) ProtoMessage()

func (*RenewCertificateRequest) ProtoReflect

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

func (*RenewCertificateRequest) Reset

func (x *RenewCertificateRequest) Reset()

func (*RenewCertificateRequest) String

func (x *RenewCertificateRequest) String() string

type RescueDevicesRequest

type RescueDevicesRequest struct {
	Devices *DevicesRequest `protobuf:"bytes,1,opt,name=devices,proto3" json:"devices,omitempty"`
	Enable  bool            `protobuf:"varint,2,opt,name=enable,proto3" json:"enable,omitempty"`
	// contains filtered or unexported fields
}

func (*RescueDevicesRequest) Descriptor deprecated

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

Deprecated: Use RescueDevicesRequest.ProtoReflect.Descriptor instead.

func (*RescueDevicesRequest) GetDevices

func (x *RescueDevicesRequest) GetDevices() *DevicesRequest

func (*RescueDevicesRequest) GetEnable

func (x *RescueDevicesRequest) GetEnable() bool

func (*RescueDevicesRequest) ProtoMessage

func (*RescueDevicesRequest) ProtoMessage()

func (*RescueDevicesRequest) ProtoReflect

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

func (*RescueDevicesRequest) Reset

func (x *RescueDevicesRequest) Reset()

func (*RescueDevicesRequest) String

func (x *RescueDevicesRequest) String() string

type ResourceAllocation added in v1.1.0

type ResourceAllocation struct {
	ConfiguredRequests            *ResourceAmounts `protobuf:"bytes,1,opt,name=configured_requests,json=configuredRequests,proto3" json:"configured_requests,omitempty"`
	ConfiguredLimits              *ResourceAmounts `protobuf:"bytes,2,opt,name=configured_limits,json=configuredLimits,proto3" json:"configured_limits,omitempty"`
	AllocatedRequests             *ResourceAmounts `protobuf:"bytes,3,opt,name=allocated_requests,json=allocatedRequests,proto3" json:"allocated_requests,omitempty"`
	RuntimeState                  string           `protobuf:"bytes,4,opt,name=runtime_state,json=runtimeState,proto3" json:"runtime_state,omitempty"` // Allocated/Releasing/Released/Unknown
	ObservedUnixMs                int64            `protobuf:"varint,5,opt,name=observed_unix_ms,json=observedUnixMs,proto3" json:"observed_unix_ms,omitempty"`
	ReleasedUnixMs                int64            `protobuf:"varint,6,opt,name=released_unix_ms,json=releasedUnixMs,proto3" json:"released_unix_ms,omitempty"`
	UsageAvailable                bool             `protobuf:"varint,7,opt,name=usage_available,json=usageAvailable,proto3" json:"usage_available,omitempty"`
	Used                          *ResourceAmounts `protobuf:"bytes,8,opt,name=used,proto3" json:"used,omitempty"`
	SnapshotQuotaBytes            int64            `protobuf:"varint,9,opt,name=snapshot_quota_bytes,json=snapshotQuotaBytes,proto3" json:"snapshot_quota_bytes,omitempty"`        // uncompressed chain quota, not physical storage
	StorageState                  string           `protobuf:"bytes,10,opt,name=storage_state,json=storageState,proto3" json:"storage_state,omitempty"`                            // None/Retained/DeleteRequested/CleanupPending/Deleted/Unknown
	PhysicalStorageBytesAvailable bool             ``                                                                                                                              /* 154-byte string literal not displayed */
	PhysicalStorageBytes          int64            `protobuf:"varint,12,opt,name=physical_storage_bytes,json=physicalStorageBytes,proto3" json:"physical_storage_bytes,omitempty"` // only from verified registry observation
	OperationId                   string           `protobuf:"bytes,13,opt,name=operation_id,json=operationId,proto3" json:"operation_id,omitempty"`
	LifecycleRevision             int64            `protobuf:"varint,14,opt,name=lifecycle_revision,json=lifecycleRevision,proto3" json:"lifecycle_revision,omitempty"`
	// contains filtered or unexported fields
}

Missing or stale observations mean Unknown, never zero/free capacity.

func (*ResourceAllocation) Descriptor deprecated added in v1.1.0

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

Deprecated: Use ResourceAllocation.ProtoReflect.Descriptor instead.

func (*ResourceAllocation) GetAllocatedRequests added in v1.1.0

func (x *ResourceAllocation) GetAllocatedRequests() *ResourceAmounts

func (*ResourceAllocation) GetConfiguredLimits added in v1.1.0

func (x *ResourceAllocation) GetConfiguredLimits() *ResourceAmounts

func (*ResourceAllocation) GetConfiguredRequests added in v1.1.0

func (x *ResourceAllocation) GetConfiguredRequests() *ResourceAmounts

func (*ResourceAllocation) GetLifecycleRevision added in v1.1.0

func (x *ResourceAllocation) GetLifecycleRevision() int64

func (*ResourceAllocation) GetObservedUnixMs added in v1.1.0

func (x *ResourceAllocation) GetObservedUnixMs() int64

func (*ResourceAllocation) GetOperationId added in v1.1.0

func (x *ResourceAllocation) GetOperationId() string

func (*ResourceAllocation) GetPhysicalStorageBytes added in v1.1.0

func (x *ResourceAllocation) GetPhysicalStorageBytes() int64

func (*ResourceAllocation) GetPhysicalStorageBytesAvailable added in v1.1.0

func (x *ResourceAllocation) GetPhysicalStorageBytesAvailable() bool

func (*ResourceAllocation) GetReleasedUnixMs added in v1.1.0

func (x *ResourceAllocation) GetReleasedUnixMs() int64

func (*ResourceAllocation) GetRuntimeState added in v1.1.0

func (x *ResourceAllocation) GetRuntimeState() string

func (*ResourceAllocation) GetSnapshotQuotaBytes added in v1.1.0

func (x *ResourceAllocation) GetSnapshotQuotaBytes() int64

func (*ResourceAllocation) GetStorageState added in v1.1.0

func (x *ResourceAllocation) GetStorageState() string

func (*ResourceAllocation) GetUsageAvailable added in v1.1.0

func (x *ResourceAllocation) GetUsageAvailable() bool

func (*ResourceAllocation) GetUsed added in v1.1.0

func (x *ResourceAllocation) GetUsed() *ResourceAmounts

func (*ResourceAllocation) ProtoMessage added in v1.1.0

func (*ResourceAllocation) ProtoMessage()

func (*ResourceAllocation) ProtoReflect added in v1.1.0

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

func (*ResourceAllocation) Reset added in v1.1.0

func (x *ResourceAllocation) Reset()

func (*ResourceAllocation) String added in v1.1.0

func (x *ResourceAllocation) String() string

type ResourceAmounts added in v1.1.0

type ResourceAmounts struct {
	CpuMillicores int64 `protobuf:"varint,1,opt,name=cpu_millicores,json=cpuMillicores,proto3" json:"cpu_millicores,omitempty"`
	MemoryBytes   int64 `protobuf:"varint,2,opt,name=memory_bytes,json=memoryBytes,proto3" json:"memory_bytes,omitempty"`
	// contains filtered or unexported fields
}

func (*ResourceAmounts) Descriptor deprecated added in v1.1.0

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

Deprecated: Use ResourceAmounts.ProtoReflect.Descriptor instead.

func (*ResourceAmounts) GetCpuMillicores added in v1.1.0

func (x *ResourceAmounts) GetCpuMillicores() int64

func (*ResourceAmounts) GetMemoryBytes added in v1.1.0

func (x *ResourceAmounts) GetMemoryBytes() int64

func (*ResourceAmounts) ProtoMessage added in v1.1.0

func (*ResourceAmounts) ProtoMessage()

func (*ResourceAmounts) ProtoReflect added in v1.1.0

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

func (*ResourceAmounts) Reset added in v1.1.0

func (x *ResourceAmounts) Reset()

func (*ResourceAmounts) String added in v1.1.0

func (x *ResourceAmounts) String() string

type RetireLabGroupsRequest added in v1.1.0

type RetireLabGroupsRequest struct {
	Items []*GroupRetirementTarget `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*RetireLabGroupsRequest) Descriptor deprecated added in v1.1.0

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

Deprecated: Use RetireLabGroupsRequest.ProtoReflect.Descriptor instead.

func (*RetireLabGroupsRequest) GetItems added in v1.1.0

func (*RetireLabGroupsRequest) ProtoMessage added in v1.1.0

func (*RetireLabGroupsRequest) ProtoMessage()

func (*RetireLabGroupsRequest) ProtoReflect added in v1.1.0

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

func (*RetireLabGroupsRequest) Reset added in v1.1.0

func (x *RetireLabGroupsRequest) Reset()

func (*RetireLabGroupsRequest) String added in v1.1.0

func (x *RetireLabGroupsRequest) String() string

type RetireLabsRequest added in v1.1.0

type RetireLabsRequest struct {
	Items []*LabRetirementTarget `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*RetireLabsRequest) Descriptor deprecated added in v1.1.0

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

Deprecated: Use RetireLabsRequest.ProtoReflect.Descriptor instead.

func (*RetireLabsRequest) GetItems added in v1.1.0

func (x *RetireLabsRequest) GetItems() []*LabRetirementTarget

func (*RetireLabsRequest) ProtoMessage added in v1.1.0

func (*RetireLabsRequest) ProtoMessage()

func (*RetireLabsRequest) ProtoReflect added in v1.1.0

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

func (*RetireLabsRequest) Reset added in v1.1.0

func (x *RetireLabsRequest) Reset()

func (*RetireLabsRequest) String added in v1.1.0

func (x *RetireLabsRequest) String() string

type RetirementStatus added in v1.1.0

type RetirementStatus struct {
	ExpectedUid                   string `protobuf:"bytes,1,opt,name=expected_uid,json=expectedUid,proto3" json:"expected_uid,omitempty"`
	StopOperationId               string `protobuf:"bytes,2,opt,name=stop_operation_id,json=stopOperationId,proto3" json:"stop_operation_id,omitempty"`
	StopRevision                  int64  `protobuf:"varint,3,opt,name=stop_revision,json=stopRevision,proto3" json:"stop_revision,omitempty"`
	OperationId                   string `protobuf:"bytes,4,opt,name=operation_id,json=operationId,proto3" json:"operation_id,omitempty"`
	Revision                      int64  `protobuf:"varint,5,opt,name=revision,proto3" json:"revision,omitempty"`
	ObservedGeneration            int64  `protobuf:"varint,6,opt,name=observed_generation,json=observedGeneration,proto3" json:"observed_generation,omitempty"`
	State                         string `protobuf:"bytes,7,opt,name=state,proto3" json:"state,omitempty"` // Unknown/CleanupPending/Deleted
	ObservedUnixMs                int64  `protobuf:"varint,8,opt,name=observed_unix_ms,json=observedUnixMs,proto3" json:"observed_unix_ms,omitempty"`
	RuntimeAbsent                 bool   `protobuf:"varint,9,opt,name=runtime_absent,json=runtimeAbsent,proto3" json:"runtime_absent,omitempty"`
	StorageState                  string `protobuf:"bytes,10,opt,name=storage_state,json=storageState,proto3" json:"storage_state,omitempty"`
	CleanupComplete               bool   `protobuf:"varint,11,opt,name=cleanup_complete,json=cleanupComplete,proto3" json:"cleanup_complete,omitempty"`
	PhysicalStorageBytesAvailable bool   `` /* 154-byte string literal not displayed */
	PhysicalStorageBytes          int64  `protobuf:"varint,13,opt,name=physical_storage_bytes,json=physicalStorageBytes,proto3" json:"physical_storage_bytes,omitempty"`
	Error                         string `protobuf:"bytes,14,opt,name=error,proto3" json:"error,omitempty"`
	RequestedUnixMs               int64  `protobuf:"varint,15,opt,name=requested_unix_ms,json=requestedUnixMs,proto3" json:"requested_unix_ms,omitempty"`
	// contains filtered or unexported fields
}

func (*RetirementStatus) Descriptor deprecated added in v1.1.0

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

Deprecated: Use RetirementStatus.ProtoReflect.Descriptor instead.

func (*RetirementStatus) GetCleanupComplete added in v1.1.0

func (x *RetirementStatus) GetCleanupComplete() bool

func (*RetirementStatus) GetError added in v1.1.0

func (x *RetirementStatus) GetError() string

func (*RetirementStatus) GetExpectedUid added in v1.1.0

func (x *RetirementStatus) GetExpectedUid() string

func (*RetirementStatus) GetObservedGeneration added in v1.1.0

func (x *RetirementStatus) GetObservedGeneration() int64

func (*RetirementStatus) GetObservedUnixMs added in v1.1.0

func (x *RetirementStatus) GetObservedUnixMs() int64

func (*RetirementStatus) GetOperationId added in v1.1.0

func (x *RetirementStatus) GetOperationId() string

func (*RetirementStatus) GetPhysicalStorageBytes added in v1.1.0

func (x *RetirementStatus) GetPhysicalStorageBytes() int64

func (*RetirementStatus) GetPhysicalStorageBytesAvailable added in v1.1.0

func (x *RetirementStatus) GetPhysicalStorageBytesAvailable() bool

func (*RetirementStatus) GetRequestedUnixMs added in v1.1.0

func (x *RetirementStatus) GetRequestedUnixMs() int64

func (*RetirementStatus) GetRevision added in v1.1.0

func (x *RetirementStatus) GetRevision() int64

func (*RetirementStatus) GetRuntimeAbsent added in v1.1.0

func (x *RetirementStatus) GetRuntimeAbsent() bool

func (*RetirementStatus) GetState added in v1.1.0

func (x *RetirementStatus) GetState() string

func (*RetirementStatus) GetStopOperationId added in v1.1.0

func (x *RetirementStatus) GetStopOperationId() string

func (*RetirementStatus) GetStopRevision added in v1.1.0

func (x *RetirementStatus) GetStopRevision() int64

func (*RetirementStatus) GetStorageState added in v1.1.0

func (x *RetirementStatus) GetStorageState() string

func (*RetirementStatus) ProtoMessage added in v1.1.0

func (*RetirementStatus) ProtoMessage()

func (*RetirementStatus) ProtoReflect added in v1.1.0

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

func (*RetirementStatus) Reset added in v1.1.0

func (x *RetirementStatus) Reset()

func (*RetirementStatus) String added in v1.1.0

func (x *RetirementStatus) String() string

type RotateAccessKeyRequest

type RotateAccessKeyRequest struct {
	PublicKeyPem string `protobuf:"bytes,1,opt,name=public_key_pem,json=publicKeyPem,proto3" json:"public_key_pem,omitempty"` // PKIX Ed25519
	KeyId        string `protobuf:"bytes,2,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"`
	// contains filtered or unexported fields
}

func (*RotateAccessKeyRequest) Descriptor deprecated

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

Deprecated: Use RotateAccessKeyRequest.ProtoReflect.Descriptor instead.

func (*RotateAccessKeyRequest) GetKeyId

func (x *RotateAccessKeyRequest) GetKeyId() string

func (*RotateAccessKeyRequest) GetPublicKeyPem

func (x *RotateAccessKeyRequest) GetPublicKeyPem() string

func (*RotateAccessKeyRequest) ProtoMessage

func (*RotateAccessKeyRequest) ProtoMessage()

func (*RotateAccessKeyRequest) ProtoReflect

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

func (*RotateAccessKeyRequest) Reset

func (x *RotateAccessKeyRequest) Reset()

func (*RotateAccessKeyRequest) String

func (x *RotateAccessKeyRequest) String() string

type SchedulerFeature

type SchedulerFeature struct {
	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// The most pods starting at once (0 = no limit).
	MaxPods int32 `protobuf:"varint,2,opt,name=max_pods,json=maxPods,proto3" json:"max_pods,omitempty"`
	// contains filtered or unexported fields
}

Scheduler: pods of labs start through a queue of this width.

func (*SchedulerFeature) Descriptor deprecated

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

Deprecated: Use SchedulerFeature.ProtoReflect.Descriptor instead.

func (*SchedulerFeature) GetEnabled

func (x *SchedulerFeature) GetEnabled() bool

func (*SchedulerFeature) GetMaxPods

func (x *SchedulerFeature) GetMaxPods() int32

func (*SchedulerFeature) ProtoMessage

func (*SchedulerFeature) ProtoMessage()

func (*SchedulerFeature) ProtoReflect

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

func (*SchedulerFeature) Reset

func (x *SchedulerFeature) Reset()

func (*SchedulerFeature) String

func (x *SchedulerFeature) String() string

type Scheduling

type Scheduling struct {

	// The ORIGINAL deploy key of the object (as given in deploy_group); empty for an independent one.
	Group    string `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"`
	Position int32  `protobuf:"varint,2,opt,name=position,proto3" json:"position,omitempty"` // 1-based place among the objects that still have pods to dispatch; 0 = all dispatched
	Length   int32  `protobuf:"varint,3,opt,name=length,proto3" json:"length,omitempty"`     // such objects when position was written
	// Why the next pod is not dispatched: InFlightLimit | WaitingForGroup | WaitingForTurn |
	// PreparingImages | InsufficientResources | NoSchedulableNodes. Empty when nothing waits.
	Reason  string `protobuf:"bytes,4,opt,name=reason,proto3" json:"reason,omitempty"`
	Message string `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"`  // detail, for example "waiting for group intro"
	Pods    int32  `protobuf:"varint,6,opt,name=pods,proto3" json:"pods,omitempty"`       // pods of the object
	Pending int32  `protobuf:"varint,7,opt,name=pending,proto3" json:"pending,omitempty"` // of them not dispatched yet
	// contains filtered or unexported fields
}

Scheduling is the place of a Lab or LabGroup in the scheduler queue. The scheduler refreshes it at a limited rate, so position can lag by seconds.

func (*Scheduling) Descriptor deprecated

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

Deprecated: Use Scheduling.ProtoReflect.Descriptor instead.

func (*Scheduling) GetGroup

func (x *Scheduling) GetGroup() string

func (*Scheduling) GetLength

func (x *Scheduling) GetLength() int32

func (*Scheduling) GetMessage

func (x *Scheduling) GetMessage() string

func (*Scheduling) GetPending

func (x *Scheduling) GetPending() int32

func (*Scheduling) GetPods

func (x *Scheduling) GetPods() int32

func (*Scheduling) GetPosition

func (x *Scheduling) GetPosition() int32

func (*Scheduling) GetReason

func (x *Scheduling) GetReason() string

func (*Scheduling) ProtoMessage

func (*Scheduling) ProtoMessage()

func (*Scheduling) ProtoReflect

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

func (*Scheduling) Reset

func (x *Scheduling) Reset()

func (*Scheduling) String

func (x *Scheduling) String() string

type Selector

type Selector struct {
	Selector string `protobuf:"bytes,1,opt,name=selector,proto3" json:"selector,omitempty"`
	LabGroup string `protobuf:"bytes,2,opt,name=lab_group,json=labGroup,proto3" json:"lab_group,omitempty"`
	// The upper bound of matching objects; more matches fail the call (see the service notes).
	ExpectedCount *int64 `protobuf:"varint,3,opt,name=expected_count,json=expectedCount,proto3,oneof" json:"expected_count,omitempty"`
	// contains filtered or unexported fields
}

Selector picks objects by Kubernetes label selector ("a=b,c in (d,e),!f"). It must be non-empty. lab_group narrows namespaced kinds to one LabGroup.

func (*Selector) Descriptor deprecated

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

Deprecated: Use Selector.ProtoReflect.Descriptor instead.

func (*Selector) GetExpectedCount

func (x *Selector) GetExpectedCount() int64

func (*Selector) GetLabGroup

func (x *Selector) GetLabGroup() string

func (*Selector) GetSelector

func (x *Selector) GetSelector() string

func (*Selector) ProtoMessage

func (*Selector) ProtoMessage()

func (*Selector) ProtoReflect

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

func (*Selector) Reset

func (x *Selector) Reset()

func (*Selector) String

func (x *Selector) String() string

type SetLabGroupAccessRequest

type SetLabGroupAccessRequest struct {

	// Added to the labels of every policy (a policy also gets the labels of its LabGroup).
	Labels   map[string]string       `` /* 139-byte string literal not displayed */
	Policies []*LabGroupAccessPolicy `protobuf:"bytes,2,rep,name=policies,proto3" json:"policies,omitempty"`
	// contains filtered or unexported fields
}

func (*SetLabGroupAccessRequest) Descriptor deprecated

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

Deprecated: Use SetLabGroupAccessRequest.ProtoReflect.Descriptor instead.

func (*SetLabGroupAccessRequest) GetLabels

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

func (*SetLabGroupAccessRequest) GetPolicies

func (x *SetLabGroupAccessRequest) GetPolicies() []*LabGroupAccessPolicy

func (*SetLabGroupAccessRequest) ProtoMessage

func (*SetLabGroupAccessRequest) ProtoMessage()

func (*SetLabGroupAccessRequest) ProtoReflect

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

func (*SetLabGroupAccessRequest) Reset

func (x *SetLabGroupAccessRequest) Reset()

func (*SetLabGroupAccessRequest) String

func (x *SetLabGroupAccessRequest) String() string

type SnapshotChunk

type SnapshotChunk struct {

	// Types that are valid to be assigned to Content:
	//
	//	*SnapshotChunk_Meta
	//	*SnapshotChunk_Data
	//	*SnapshotChunk_Trailer
	Content isSnapshotChunk_Content `protobuf_oneof:"content"`
	// contains filtered or unexported fields
}

SnapshotChunk is one message of the ExportDeviceSnapshot stream: first meta, then data (in order), then trailer. Concatenating the data of all chunks gives a gzip stream of one tar archive (see SnapshotMeta.format).

func (*SnapshotChunk) Descriptor deprecated

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

Deprecated: Use SnapshotChunk.ProtoReflect.Descriptor instead.

func (*SnapshotChunk) GetContent

func (x *SnapshotChunk) GetContent() isSnapshotChunk_Content

func (*SnapshotChunk) GetData

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

func (*SnapshotChunk) GetMeta

func (x *SnapshotChunk) GetMeta() *SnapshotMeta

func (*SnapshotChunk) GetTrailer

func (x *SnapshotChunk) GetTrailer() *SnapshotTrailer

func (*SnapshotChunk) ProtoMessage

func (*SnapshotChunk) ProtoMessage()

func (*SnapshotChunk) ProtoReflect

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

func (*SnapshotChunk) Reset

func (x *SnapshotChunk) Reset()

func (*SnapshotChunk) String

func (x *SnapshotChunk) String() string

type SnapshotChunk_Data

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

type SnapshotChunk_Meta

type SnapshotChunk_Meta struct {
	Meta *SnapshotMeta `protobuf:"bytes,1,opt,name=meta,proto3,oneof"`
}

type SnapshotChunk_Trailer

type SnapshotChunk_Trailer struct {
	Trailer *SnapshotTrailer `protobuf:"bytes,3,opt,name=trailer,proto3,oneof"`
}

type SnapshotMeta

type SnapshotMeta struct {
	Ref *ItemRef `protobuf:"bytes,1,opt,name=ref,proto3" json:"ref,omitempty"`
	// The base image of the device as written in its spec, and, when the lab pinned it, its digest.
	BaseImage       string `protobuf:"bytes,2,opt,name=base_image,json=baseImage,proto3" json:"base_image,omitempty"`
	BaseImageDigest string `protobuf:"bytes,3,opt,name=base_image_digest,json=baseImageDigest,proto3" json:"base_image_digest,omitempty"`
	// The compressed digests of the layers of the base image, in order, as the snapshot image holds them.
	BaseLayerDigests []string `protobuf:"bytes,4,rep,name=base_layer_digests,json=baseLayerDigests,proto3" json:"base_layer_digests,omitempty"`
	// The manifest digest of the snapshot in the registry, and when it was taken.
	SnapshotDigest string `protobuf:"bytes,5,opt,name=snapshot_digest,json=snapshotDigest,proto3" json:"snapshot_digest,omitempty"`
	SnapshotUnixMs int64  `protobuf:"varint,6,opt,name=snapshot_unix_ms,json=snapshotUnixMs,proto3" json:"snapshot_unix_ms,omitempty"`
	// Snapshot layers squashed into this archive, and the sum of their uncompressed sizes
	// (an upper bound of the archive's content: a file rewritten in several runs counts once in the archive).
	SquashedLayers  int32 `protobuf:"varint,7,opt,name=squashed_layers,json=squashedLayers,proto3" json:"squashed_layers,omitempty"`
	LayersSizeBytes int64 `protobuf:"varint,8,opt,name=layers_size_bytes,json=layersSizeBytes,proto3" json:"layers_size_bytes,omitempty"`
	// "tar+gzip; OCI layer: whiteouts as .wh.<name>, opaque directories as .wh..wh..opq". The
	// archive applies on top of the base image like an image layer.
	Format string `protobuf:"bytes,9,opt,name=format,proto3" json:"format,omitempty"`
	// The size of every data chunk except the last (bytes).
	ChunkSize int32 `protobuf:"varint,10,opt,name=chunk_size,json=chunkSize,proto3" json:"chunk_size,omitempty"`
	// contains filtered or unexported fields
}

func (*SnapshotMeta) Descriptor deprecated

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

Deprecated: Use SnapshotMeta.ProtoReflect.Descriptor instead.

func (*SnapshotMeta) GetBaseImage

func (x *SnapshotMeta) GetBaseImage() string

func (*SnapshotMeta) GetBaseImageDigest

func (x *SnapshotMeta) GetBaseImageDigest() string

func (*SnapshotMeta) GetBaseLayerDigests

func (x *SnapshotMeta) GetBaseLayerDigests() []string

func (*SnapshotMeta) GetChunkSize

func (x *SnapshotMeta) GetChunkSize() int32

func (*SnapshotMeta) GetFormat

func (x *SnapshotMeta) GetFormat() string

func (*SnapshotMeta) GetLayersSizeBytes

func (x *SnapshotMeta) GetLayersSizeBytes() int64

func (*SnapshotMeta) GetRef

func (x *SnapshotMeta) GetRef() *ItemRef

func (*SnapshotMeta) GetSnapshotDigest

func (x *SnapshotMeta) GetSnapshotDigest() string

func (*SnapshotMeta) GetSnapshotUnixMs

func (x *SnapshotMeta) GetSnapshotUnixMs() int64

func (*SnapshotMeta) GetSquashedLayers

func (x *SnapshotMeta) GetSquashedLayers() int32

func (*SnapshotMeta) ProtoMessage

func (*SnapshotMeta) ProtoMessage()

func (*SnapshotMeta) ProtoReflect

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

func (*SnapshotMeta) Reset

func (x *SnapshotMeta) Reset()

func (*SnapshotMeta) String

func (x *SnapshotMeta) String() string

type SnapshotTrailer

type SnapshotTrailer struct {

	// The total length and the sha256 (hex) of the gzip stream, for the receiver to verify.
	CompressedBytes int64  `protobuf:"varint,1,opt,name=compressed_bytes,json=compressedBytes,proto3" json:"compressed_bytes,omitempty"`
	Sha256          string `protobuf:"bytes,2,opt,name=sha256,proto3" json:"sha256,omitempty"`
	// contains filtered or unexported fields
}

func (*SnapshotTrailer) Descriptor deprecated

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

Deprecated: Use SnapshotTrailer.ProtoReflect.Descriptor instead.

func (*SnapshotTrailer) GetCompressedBytes

func (x *SnapshotTrailer) GetCompressedBytes() int64

func (*SnapshotTrailer) GetSha256

func (x *SnapshotTrailer) GetSha256() string

func (*SnapshotTrailer) ProtoMessage

func (*SnapshotTrailer) ProtoMessage()

func (*SnapshotTrailer) ProtoReflect

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

func (*SnapshotTrailer) Reset

func (x *SnapshotTrailer) Reset()

func (*SnapshotTrailer) String

func (x *SnapshotTrailer) String() string

type StartLabGroupsRequest added in v1.1.0

type StartLabGroupsRequest struct {
	Items []*GroupTarget `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*StartLabGroupsRequest) Descriptor deprecated added in v1.1.0

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

Deprecated: Use StartLabGroupsRequest.ProtoReflect.Descriptor instead.

func (*StartLabGroupsRequest) GetItems added in v1.1.0

func (x *StartLabGroupsRequest) GetItems() []*GroupTarget

func (*StartLabGroupsRequest) ProtoMessage added in v1.1.0

func (*StartLabGroupsRequest) ProtoMessage()

func (*StartLabGroupsRequest) ProtoReflect added in v1.1.0

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

func (*StartLabGroupsRequest) Reset added in v1.1.0

func (x *StartLabGroupsRequest) Reset()

func (*StartLabGroupsRequest) String added in v1.1.0

func (x *StartLabGroupsRequest) String() string

type StartLabsRequest added in v1.1.0

type StartLabsRequest struct {
	Items []*LabLifecycleTarget `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*StartLabsRequest) Descriptor deprecated added in v1.1.0

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

Deprecated: Use StartLabsRequest.ProtoReflect.Descriptor instead.

func (*StartLabsRequest) GetItems added in v1.1.0

func (x *StartLabsRequest) GetItems() []*LabLifecycleTarget

func (*StartLabsRequest) ProtoMessage added in v1.1.0

func (*StartLabsRequest) ProtoMessage()

func (*StartLabsRequest) ProtoReflect added in v1.1.0

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

func (*StartLabsRequest) Reset added in v1.1.0

func (x *StartLabsRequest) Reset()

func (*StartLabsRequest) String added in v1.1.0

func (x *StartLabsRequest) String() string

type StatePersistenceFeature

type StatePersistenceFeature struct {

	// The cluster enables persistence AND the tenant is allowed (Tenant.spec.persistence.allowed). Only then a
	// topology may set devices[].persistence.enabled.
	Available bool `protobuf:"varint,1,opt,name=available,proto3" json:"available,omitempty"`
	// Debounce used when a device does not set one (the cluster value).
	DefaultDebounceMs int64 `protobuf:"varint,2,opt,name=default_debounce_ms,json=defaultDebounceMs,proto3" json:"default_debounce_ms,omitempty"`
	// The most of a participant's writes kept per device, and the largest file snapshotted: the tenant's
	// limit capped by the cluster's, or the cluster's when the tenant sets none.
	WriteQuotaBytes  int64 `protobuf:"varint,3,opt,name=write_quota_bytes,json=writeQuotaBytes,proto3" json:"write_quota_bytes,omitempty"`
	MaxFileSizeBytes int64 `protobuf:"varint,4,opt,name=max_file_size_bytes,json=maxFileSizeBytes,proto3" json:"max_file_size_bytes,omitempty"`
	// Paths never snapshotted (cluster-wide, a topology cannot change them).
	ExcludedPaths []string `protobuf:"bytes,5,rep,name=excluded_paths,json=excludedPaths,proto3" json:"excluded_paths,omitempty"`
	// The most the snapshots of ALL the tenant's devices may take in the registry together (the tenant's own limit capped by
	// the cluster's); 0 = no limit.
	RegistryQuotaBytes int64 `protobuf:"varint,6,opt,name=registry_quota_bytes,json=registryQuotaBytes,proto3" json:"registry_quota_bytes,omitempty"`
	// The most entries (files, directories, links) one snapshot layer may hold.
	MaxEntries int32 `protobuf:"varint,7,opt,name=max_entries,json=maxEntries,proto3" json:"max_entries,omitempty"`
	// contains filtered or unexported fields
}

Device state persistence for this tenant.

func (*StatePersistenceFeature) Descriptor deprecated

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

Deprecated: Use StatePersistenceFeature.ProtoReflect.Descriptor instead.

func (*StatePersistenceFeature) GetAvailable

func (x *StatePersistenceFeature) GetAvailable() bool

func (*StatePersistenceFeature) GetDefaultDebounceMs

func (x *StatePersistenceFeature) GetDefaultDebounceMs() int64

func (*StatePersistenceFeature) GetExcludedPaths

func (x *StatePersistenceFeature) GetExcludedPaths() []string

func (*StatePersistenceFeature) GetMaxEntries

func (x *StatePersistenceFeature) GetMaxEntries() int32

func (*StatePersistenceFeature) GetMaxFileSizeBytes

func (x *StatePersistenceFeature) GetMaxFileSizeBytes() int64

func (*StatePersistenceFeature) GetRegistryQuotaBytes

func (x *StatePersistenceFeature) GetRegistryQuotaBytes() int64

func (*StatePersistenceFeature) GetWriteQuotaBytes

func (x *StatePersistenceFeature) GetWriteQuotaBytes() int64

func (*StatePersistenceFeature) ProtoMessage

func (*StatePersistenceFeature) ProtoMessage()

func (*StatePersistenceFeature) ProtoReflect

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

func (*StatePersistenceFeature) Reset

func (x *StatePersistenceFeature) Reset()

func (*StatePersistenceFeature) String

func (x *StatePersistenceFeature) String() string

type StopLabGroupItem added in v1.1.0

type StopLabGroupItem struct {
	Target                *GroupTarget `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"`
	RequireAllLabsStopped bool         `` // must be true; no forced child stop
	/* 129-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*StopLabGroupItem) Descriptor deprecated added in v1.1.0

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

Deprecated: Use StopLabGroupItem.ProtoReflect.Descriptor instead.

func (*StopLabGroupItem) GetRequireAllLabsStopped added in v1.1.0

func (x *StopLabGroupItem) GetRequireAllLabsStopped() bool

func (*StopLabGroupItem) GetTarget added in v1.1.0

func (x *StopLabGroupItem) GetTarget() *GroupTarget

func (*StopLabGroupItem) ProtoMessage added in v1.1.0

func (*StopLabGroupItem) ProtoMessage()

func (*StopLabGroupItem) ProtoReflect added in v1.1.0

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

func (*StopLabGroupItem) Reset added in v1.1.0

func (x *StopLabGroupItem) Reset()

func (*StopLabGroupItem) String added in v1.1.0

func (x *StopLabGroupItem) String() string

type StopLabGroupsRequest added in v1.1.0

type StopLabGroupsRequest struct {
	Items []*StopLabGroupItem `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*StopLabGroupsRequest) Descriptor deprecated added in v1.1.0

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

Deprecated: Use StopLabGroupsRequest.ProtoReflect.Descriptor instead.

func (*StopLabGroupsRequest) GetItems added in v1.1.0

func (x *StopLabGroupsRequest) GetItems() []*StopLabGroupItem

func (*StopLabGroupsRequest) ProtoMessage added in v1.1.0

func (*StopLabGroupsRequest) ProtoMessage()

func (*StopLabGroupsRequest) ProtoReflect added in v1.1.0

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

func (*StopLabGroupsRequest) Reset added in v1.1.0

func (x *StopLabGroupsRequest) Reset()

func (*StopLabGroupsRequest) String added in v1.1.0

func (x *StopLabGroupsRequest) String() string

type StopLabItem added in v1.1.0

type StopLabItem struct {
	Target               *LabLifecycleTarget `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"`
	SnapshotMode         StopSnapshotMode    `` /* 131-byte string literal not displayed */
	RetentionUntilUnixMs int64               `` // 0 = no explicit retention deadline
	/* 126-byte string literal not displayed */
	Terminal bool `protobuf:"varint,4,opt,name=terminal,proto3" json:"terminal,omitempty"` // monotonic; no future start is allowed
	// contains filtered or unexported fields
}

func (*StopLabItem) Descriptor deprecated added in v1.1.0

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

Deprecated: Use StopLabItem.ProtoReflect.Descriptor instead.

func (*StopLabItem) GetRetentionUntilUnixMs added in v1.1.0

func (x *StopLabItem) GetRetentionUntilUnixMs() int64

func (*StopLabItem) GetSnapshotMode added in v1.1.0

func (x *StopLabItem) GetSnapshotMode() StopSnapshotMode

func (*StopLabItem) GetTarget added in v1.1.0

func (x *StopLabItem) GetTarget() *LabLifecycleTarget

func (*StopLabItem) GetTerminal added in v1.1.0

func (x *StopLabItem) GetTerminal() bool

func (*StopLabItem) ProtoMessage added in v1.1.0

func (*StopLabItem) ProtoMessage()

func (*StopLabItem) ProtoReflect added in v1.1.0

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

func (*StopLabItem) Reset added in v1.1.0

func (x *StopLabItem) Reset()

func (*StopLabItem) String added in v1.1.0

func (x *StopLabItem) String() string

type StopLabsRequest added in v1.1.0

type StopLabsRequest struct {
	Items []*StopLabItem `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*StopLabsRequest) Descriptor deprecated added in v1.1.0

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

Deprecated: Use StopLabsRequest.ProtoReflect.Descriptor instead.

func (*StopLabsRequest) GetItems added in v1.1.0

func (x *StopLabsRequest) GetItems() []*StopLabItem

func (*StopLabsRequest) ProtoMessage added in v1.1.0

func (*StopLabsRequest) ProtoMessage()

func (*StopLabsRequest) ProtoReflect added in v1.1.0

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

func (*StopLabsRequest) Reset added in v1.1.0

func (x *StopLabsRequest) Reset()

func (*StopLabsRequest) String added in v1.1.0

func (x *StopLabsRequest) String() string

type StopSnapshotMode added in v1.1.0

type StopSnapshotMode int32

---- additive lifecycle contract ------------------------------------------------------

const (
	StopSnapshotMode_STOP_SNAPSHOT_MODE_UNSPECIFIED StopSnapshotMode = 0 // refused; policy is never guessed
	StopSnapshotMode_STOP_SNAPSHOT_MODE_SKIP        StopSnapshotMode = 1
	StopSnapshotMode_STOP_SNAPSHOT_MODE_REQUIRED    StopSnapshotMode = 2
)

func (StopSnapshotMode) Descriptor added in v1.1.0

func (StopSnapshotMode) Enum added in v1.1.0

func (StopSnapshotMode) EnumDescriptor deprecated added in v1.1.0

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

Deprecated: Use StopSnapshotMode.Descriptor instead.

func (StopSnapshotMode) Number added in v1.1.0

func (StopSnapshotMode) String added in v1.1.0

func (x StopSnapshotMode) String() string

func (StopSnapshotMode) Type added in v1.1.0

type StringList

type StringList struct {
	Values []string `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

func (*StringList) Descriptor deprecated

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

Deprecated: Use StringList.ProtoReflect.Descriptor instead.

func (*StringList) GetValues

func (x *StringList) GetValues() []string

func (*StringList) ProtoMessage

func (*StringList) ProtoMessage()

func (*StringList) ProtoReflect

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

func (*StringList) Reset

func (x *StringList) Reset()

func (*StringList) String

func (x *StringList) String() string

type TenantLimits

type TenantLimits struct {

	// Labs of one tenant; the tenant's resource quota still applies.
	MaxLabs int32 `protobuf:"varint,1,opt,name=max_labs,json=maxLabs,proto3" json:"max_labs,omitempty"`
	// contains filtered or unexported fields
}

func (*TenantLimits) Descriptor deprecated

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

Deprecated: Use TenantLimits.ProtoReflect.Descriptor instead.

func (*TenantLimits) GetMaxLabs

func (x *TenantLimits) GetMaxLabs() int32

func (*TenantLimits) ProtoMessage

func (*TenantLimits) ProtoMessage()

func (*TenantLimits) ProtoReflect

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

func (*TenantLimits) Reset

func (x *TenantLimits) Reset()

func (*TenantLimits) String

func (x *TenantLimits) String() string

type TenantQuotaFeature

type TenantQuotaFeature struct {
	HasCpuQuota        bool  `protobuf:"varint,1,opt,name=has_cpu_quota,json=hasCpuQuota,proto3" json:"has_cpu_quota,omitempty"`
	CpuQuotaMillicores int64 `protobuf:"varint,2,opt,name=cpu_quota_millicores,json=cpuQuotaMillicores,proto3" json:"cpu_quota_millicores,omitempty"`
	HasMemoryQuota     bool  `protobuf:"varint,3,opt,name=has_memory_quota,json=hasMemoryQuota,proto3" json:"has_memory_quota,omitempty"`
	MemoryQuotaBytes   int64 `protobuf:"varint,4,opt,name=memory_quota_bytes,json=memoryQuotaBytes,proto3" json:"memory_quota_bytes,omitempty"`
	// contains filtered or unexported fields
}

The tenant's quota; has_* false = no limit on that resource.

func (*TenantQuotaFeature) Descriptor deprecated

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

Deprecated: Use TenantQuotaFeature.ProtoReflect.Descriptor instead.

func (*TenantQuotaFeature) GetCpuQuotaMillicores

func (x *TenantQuotaFeature) GetCpuQuotaMillicores() int64

func (*TenantQuotaFeature) GetHasCpuQuota

func (x *TenantQuotaFeature) GetHasCpuQuota() bool

func (*TenantQuotaFeature) GetHasMemoryQuota

func (x *TenantQuotaFeature) GetHasMemoryQuota() bool

func (*TenantQuotaFeature) GetMemoryQuotaBytes

func (x *TenantQuotaFeature) GetMemoryQuotaBytes() int64

func (*TenantQuotaFeature) ProtoMessage

func (*TenantQuotaFeature) ProtoMessage()

func (*TenantQuotaFeature) ProtoReflect

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

func (*TenantQuotaFeature) Reset

func (x *TenantQuotaFeature) Reset()

func (*TenantQuotaFeature) String

func (x *TenantQuotaFeature) String() string

type TrafficCoverageSpan added in v1.1.0

type TrafficCoverageSpan struct {
	FromUnixMs int64  `protobuf:"varint,1,opt,name=from_unix_ms,json=fromUnixMs,proto3" json:"from_unix_ms,omitempty"`
	ToUnixMs   int64  `protobuf:"varint,2,opt,name=to_unix_ms,json=toUnixMs,proto3" json:"to_unix_ms,omitempty"`
	Partial    bool   `protobuf:"varint,3,opt,name=partial,proto3" json:"partial,omitempty"` // incomplete, truncated, or invalid/unknown observation span
	Source     string `protobuf:"bytes,4,opt,name=source,proto3" json:"source,omitempty"`
	Instance   string `protobuf:"bytes,5,opt,name=instance,proto3" json:"instance,omitempty"`
	BootId     string `protobuf:"bytes,6,opt,name=boot_id,json=bootId,proto3" json:"boot_id,omitempty"`
	// contains filtered or unexported fields
}

func (*TrafficCoverageSpan) Descriptor deprecated added in v1.1.0

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

Deprecated: Use TrafficCoverageSpan.ProtoReflect.Descriptor instead.

func (*TrafficCoverageSpan) GetBootId added in v1.1.0

func (x *TrafficCoverageSpan) GetBootId() string

func (*TrafficCoverageSpan) GetFromUnixMs added in v1.1.0

func (x *TrafficCoverageSpan) GetFromUnixMs() int64

func (*TrafficCoverageSpan) GetInstance added in v1.1.0

func (x *TrafficCoverageSpan) GetInstance() string

func (*TrafficCoverageSpan) GetPartial added in v1.1.0

func (x *TrafficCoverageSpan) GetPartial() bool

func (*TrafficCoverageSpan) GetSource added in v1.1.0

func (x *TrafficCoverageSpan) GetSource() string

func (*TrafficCoverageSpan) GetToUnixMs added in v1.1.0

func (x *TrafficCoverageSpan) GetToUnixMs() int64

func (*TrafficCoverageSpan) ProtoMessage added in v1.1.0

func (*TrafficCoverageSpan) ProtoMessage()

func (*TrafficCoverageSpan) ProtoReflect added in v1.1.0

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

func (*TrafficCoverageSpan) Reset added in v1.1.0

func (x *TrafficCoverageSpan) Reset()

func (*TrafficCoverageSpan) String added in v1.1.0

func (x *TrafficCoverageSpan) String() string

type TrafficReport

type TrafficReport struct {
	LabGroupName string `protobuf:"bytes,1,opt,name=lab_group_name,json=labGroupName,proto3" json:"lab_group_name,omitempty"`
	Namespace    string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Source       string `protobuf:"bytes,3,opt,name=source,proto3" json:"source,omitempty"`     // name of the LabTrafficReport object
	Kind         string `protobuf:"bytes,4,opt,name=kind,proto3" json:"kind,omitempty"`         // "vpn" | "proxy"
	Instance     string `protobuf:"bytes,5,opt,name=instance,proto3" json:"instance,omitempty"` // writing pod
	// Identifies the observation epoch; restored cumulative totals continue across boots.
	BootId string `protobuf:"bytes,6,opt,name=boot_id,json=bootId,proto3" json:"boot_id,omitempty"`
	// The span the collector actually observed. Absence of a touch proves
	// nothing outside this span.
	CoveredFromUnixMs int64           `protobuf:"varint,7,opt,name=covered_from_unix_ms,json=coveredFromUnixMs,proto3" json:"covered_from_unix_ms,omitempty"`
	CoveredToUnixMs   int64           `protobuf:"varint,8,opt,name=covered_to_unix_ms,json=coveredToUnixMs,proto3" json:"covered_to_unix_ms,omitempty"`
	Partial           bool            `protobuf:"varint,9,opt,name=partial,proto3" json:"partial,omitempty"`
	Truncated         bool            `protobuf:"varint,10,opt,name=truncated,proto3" json:"truncated,omitempty"`
	Ledger            []*TrafficTouch `protobuf:"bytes,11,rep,name=ledger,proto3" json:"ledger,omitempty"`
	// Actual collector intervals, including disjoint replica/restart coverage.
	// Older senders omit this; consumers fall back to the scalar span.
	CoverageSpans []*TrafficCoverageSpan `protobuf:"bytes,12,rep,name=coverage_spans,json=coverageSpans,proto3" json:"coverage_spans,omitempty"`
	// contains filtered or unexported fields
}

TrafficReport is the state of one collector (the VPN pod of a group, or one proxy replica). It carries counters and times only: never a user address, path, header or payload.

func (*TrafficReport) Descriptor deprecated

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

Deprecated: Use TrafficReport.ProtoReflect.Descriptor instead.

func (*TrafficReport) GetBootId

func (x *TrafficReport) GetBootId() string

func (*TrafficReport) GetCoverageSpans added in v1.1.0

func (x *TrafficReport) GetCoverageSpans() []*TrafficCoverageSpan

func (*TrafficReport) GetCoveredFromUnixMs

func (x *TrafficReport) GetCoveredFromUnixMs() int64

func (*TrafficReport) GetCoveredToUnixMs

func (x *TrafficReport) GetCoveredToUnixMs() int64

func (*TrafficReport) GetInstance

func (x *TrafficReport) GetInstance() string

func (*TrafficReport) GetKind

func (x *TrafficReport) GetKind() string

func (*TrafficReport) GetLabGroupName

func (x *TrafficReport) GetLabGroupName() string

func (*TrafficReport) GetLedger

func (x *TrafficReport) GetLedger() []*TrafficTouch

func (*TrafficReport) GetNamespace

func (x *TrafficReport) GetNamespace() string

func (*TrafficReport) GetPartial

func (x *TrafficReport) GetPartial() bool

func (*TrafficReport) GetSource

func (x *TrafficReport) GetSource() string

func (*TrafficReport) GetTruncated

func (x *TrafficReport) GetTruncated() bool

func (*TrafficReport) ProtoMessage

func (*TrafficReport) ProtoMessage()

func (*TrafficReport) ProtoReflect

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

func (*TrafficReport) Reset

func (x *TrafficReport) Reset()

func (*TrafficReport) String

func (x *TrafficReport) String() string

type TrafficTouch

type TrafficTouch struct {
	Subject              string `protobuf:"bytes,1,opt,name=subject,proto3" json:"subject,omitempty"` // LabGroupClient name (p-<user uuid>) for vpn, user id for proxy
	LabName              string `protobuf:"bytes,2,opt,name=lab_name,json=labName,proto3" json:"lab_name,omitempty"`
	Device               string `protobuf:"bytes,3,opt,name=device,proto3" json:"device,omitempty"`
	DstIp                string `protobuf:"bytes,4,opt,name=dst_ip,json=dstIp,proto3" json:"dst_ip,omitempty"` // lab-internal address only
	Proto                string `protobuf:"bytes,5,opt,name=proto,proto3" json:"proto,omitempty"`
	DstPort              uint32 `protobuf:"varint,6,opt,name=dst_port,json=dstPort,proto3" json:"dst_port,omitempty"`
	Attempts             int64  `protobuf:"varint,7,opt,name=attempts,proto3" json:"attempts,omitempty"` // new connections (vpn) or requests (proxy)
	PacketsOut           int64  `protobuf:"varint,8,opt,name=packets_out,json=packetsOut,proto3" json:"packets_out,omitempty"`
	PacketsIn            int64  `protobuf:"varint,9,opt,name=packets_in,json=packetsIn,proto3" json:"packets_in,omitempty"`
	BytesOut             int64  `protobuf:"varint,10,opt,name=bytes_out,json=bytesOut,proto3" json:"bytes_out,omitempty"`
	BytesIn              int64  `protobuf:"varint,11,opt,name=bytes_in,json=bytesIn,proto3" json:"bytes_in,omitempty"`
	FirstSeenUnixMs      int64  `protobuf:"varint,12,opt,name=first_seen_unix_ms,json=firstSeenUnixMs,proto3" json:"first_seen_unix_ms,omitempty"`
	LastSeenUnixMs       int64  `protobuf:"varint,13,opt,name=last_seen_unix_ms,json=lastSeenUnixMs,proto3" json:"last_seen_unix_ms,omitempty"`
	FirstRespondedUnixMs int64  `` // 0 = the lab never answered
	/* 127-byte string literal not displayed */
	LabInitiatedAttempts int64 `protobuf:"varint,15,opt,name=lab_initiated_attempts,json=labInitiatedAttempts,proto3" json:"lab_initiated_attempts,omitempty"` // new permitted VPN flows started by the lab
	// contains filtered or unexported fields
}

TrafficTouch is one cumulative aggregate of a subject against a lab target.

func (*TrafficTouch) Descriptor deprecated

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

Deprecated: Use TrafficTouch.ProtoReflect.Descriptor instead.

func (*TrafficTouch) GetAttempts

func (x *TrafficTouch) GetAttempts() int64

func (*TrafficTouch) GetBytesIn

func (x *TrafficTouch) GetBytesIn() int64

func (*TrafficTouch) GetBytesOut

func (x *TrafficTouch) GetBytesOut() int64

func (*TrafficTouch) GetDevice

func (x *TrafficTouch) GetDevice() string

func (*TrafficTouch) GetDstIp

func (x *TrafficTouch) GetDstIp() string

func (*TrafficTouch) GetDstPort

func (x *TrafficTouch) GetDstPort() uint32

func (*TrafficTouch) GetFirstRespondedUnixMs

func (x *TrafficTouch) GetFirstRespondedUnixMs() int64

func (*TrafficTouch) GetFirstSeenUnixMs

func (x *TrafficTouch) GetFirstSeenUnixMs() int64

func (*TrafficTouch) GetLabInitiatedAttempts added in v1.1.0

func (x *TrafficTouch) GetLabInitiatedAttempts() int64

func (*TrafficTouch) GetLabName

func (x *TrafficTouch) GetLabName() string

func (*TrafficTouch) GetLastSeenUnixMs

func (x *TrafficTouch) GetLastSeenUnixMs() int64

func (*TrafficTouch) GetPacketsIn

func (x *TrafficTouch) GetPacketsIn() int64

func (*TrafficTouch) GetPacketsOut

func (x *TrafficTouch) GetPacketsOut() int64

func (*TrafficTouch) GetProto

func (x *TrafficTouch) GetProto() string

func (*TrafficTouch) GetSubject

func (x *TrafficTouch) GetSubject() string

func (*TrafficTouch) ProtoMessage

func (*TrafficTouch) ProtoMessage()

func (*TrafficTouch) ProtoReflect

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

func (*TrafficTouch) Reset

func (x *TrafficTouch) Reset()

func (*TrafficTouch) String

func (x *TrafficTouch) String() string

type UnimplementedLabManagerServer

type UnimplementedLabManagerServer struct{}

UnimplementedLabManagerServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedLabManagerServer) CreateLabGroups

func (UnimplementedLabManagerServer) CreateLabs

func (UnimplementedLabManagerServer) DeleteLabGroupClients

func (UnimplementedLabManagerServer) DeleteLabGroups

func (UnimplementedLabManagerServer) DeleteLabs

func (UnimplementedLabManagerServer) Enroll

func (UnimplementedLabManagerServer) ExportDeviceSnapshot

func (UnimplementedLabManagerServer) GetCapacity

func (UnimplementedLabManagerServer) GetFeatures

func (UnimplementedLabManagerServer) ListLabGroupClients

func (UnimplementedLabManagerServer) ListLabGroups

func (UnimplementedLabManagerServer) ListLabs

func (UnimplementedLabManagerServer) ListMaintenanceWindows

func (UnimplementedLabManagerServer) Ping

func (UnimplementedLabManagerServer) PrewarmImages

func (UnimplementedLabManagerServer) RemoveAccessKey

func (UnimplementedLabManagerServer) RenewCertificate

func (UnimplementedLabManagerServer) RescueDevices

func (UnimplementedLabManagerServer) ResetDevices

func (UnimplementedLabManagerServer) RetireLabGroups added in v1.1.0

func (UnimplementedLabManagerServer) RetireLabs added in v1.1.0

func (UnimplementedLabManagerServer) RotateAccessKey

func (UnimplementedLabManagerServer) SetLabGroupAccess

func (UnimplementedLabManagerServer) StartLabGroups added in v1.1.0

func (UnimplementedLabManagerServer) StartLabs added in v1.1.0

func (UnimplementedLabManagerServer) StopLabGroups added in v1.1.0

func (UnimplementedLabManagerServer) StopLabs added in v1.1.0

func (UnimplementedLabManagerServer) UpdateLabGroupClients

func (UnimplementedLabManagerServer) UpdateLabGroups

func (UnimplementedLabManagerServer) UpdateLabs

type UnsafeLabManagerServer

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

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

type UpdateLabGroupClientItem

type UpdateLabGroupClientItem struct {
	LabGroup string        `protobuf:"bytes,1,opt,name=lab_group,json=labGroup,proto3" json:"lab_group,omitempty"`
	Name     string        `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Labels   *LabelChanges `protobuf:"bytes,3,opt,name=labels,proto3" json:"labels,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateLabGroupClientItem) Descriptor deprecated

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

Deprecated: Use UpdateLabGroupClientItem.ProtoReflect.Descriptor instead.

func (*UpdateLabGroupClientItem) GetLabGroup

func (x *UpdateLabGroupClientItem) GetLabGroup() string

func (*UpdateLabGroupClientItem) GetLabels

func (x *UpdateLabGroupClientItem) GetLabels() *LabelChanges

func (*UpdateLabGroupClientItem) GetName

func (x *UpdateLabGroupClientItem) GetName() string

func (*UpdateLabGroupClientItem) ProtoMessage

func (*UpdateLabGroupClientItem) ProtoMessage()

func (*UpdateLabGroupClientItem) ProtoReflect

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

func (*UpdateLabGroupClientItem) Reset

func (x *UpdateLabGroupClientItem) Reset()

func (*UpdateLabGroupClientItem) String

func (x *UpdateLabGroupClientItem) String() string

type UpdateLabGroupClientsRequest

type UpdateLabGroupClientsRequest struct {
	BySelector *Selector                   `protobuf:"bytes,1,opt,name=by_selector,json=bySelector,proto3" json:"by_selector,omitempty"`
	Labels     *LabelChanges               `protobuf:"bytes,2,opt,name=labels,proto3" json:"labels,omitempty"`
	Items      []*UpdateLabGroupClientItem `protobuf:"bytes,3,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateLabGroupClientsRequest) Descriptor deprecated

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

Deprecated: Use UpdateLabGroupClientsRequest.ProtoReflect.Descriptor instead.

func (*UpdateLabGroupClientsRequest) GetBySelector

func (x *UpdateLabGroupClientsRequest) GetBySelector() *Selector

func (*UpdateLabGroupClientsRequest) GetItems

func (*UpdateLabGroupClientsRequest) GetLabels

func (*UpdateLabGroupClientsRequest) ProtoMessage

func (*UpdateLabGroupClientsRequest) ProtoMessage()

func (*UpdateLabGroupClientsRequest) ProtoReflect

func (*UpdateLabGroupClientsRequest) Reset

func (x *UpdateLabGroupClientsRequest) Reset()

func (*UpdateLabGroupClientsRequest) String

type UpdateLabGroupItem

type UpdateLabGroupItem struct {
	Name    string           `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Changes *LabGroupChanges `protobuf:"bytes,2,opt,name=changes,proto3" json:"changes,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateLabGroupItem) Descriptor deprecated

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

Deprecated: Use UpdateLabGroupItem.ProtoReflect.Descriptor instead.

func (*UpdateLabGroupItem) GetChanges

func (x *UpdateLabGroupItem) GetChanges() *LabGroupChanges

func (*UpdateLabGroupItem) GetName

func (x *UpdateLabGroupItem) GetName() string

func (*UpdateLabGroupItem) ProtoMessage

func (*UpdateLabGroupItem) ProtoMessage()

func (*UpdateLabGroupItem) ProtoReflect

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

func (*UpdateLabGroupItem) Reset

func (x *UpdateLabGroupItem) Reset()

func (*UpdateLabGroupItem) String

func (x *UpdateLabGroupItem) String() string

type UpdateLabGroupsRequest

type UpdateLabGroupsRequest struct {
	BySelector *Selector             `protobuf:"bytes,1,opt,name=by_selector,json=bySelector,proto3" json:"by_selector,omitempty"`
	Changes    *LabGroupChanges      `protobuf:"bytes,2,opt,name=changes,proto3" json:"changes,omitempty"`
	Items      []*UpdateLabGroupItem `protobuf:"bytes,3,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

Selector or items. changes apply to every target; an item's own changes win.

func (*UpdateLabGroupsRequest) Descriptor deprecated

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

Deprecated: Use UpdateLabGroupsRequest.ProtoReflect.Descriptor instead.

func (*UpdateLabGroupsRequest) GetBySelector

func (x *UpdateLabGroupsRequest) GetBySelector() *Selector

func (*UpdateLabGroupsRequest) GetChanges

func (x *UpdateLabGroupsRequest) GetChanges() *LabGroupChanges

func (*UpdateLabGroupsRequest) GetItems

func (x *UpdateLabGroupsRequest) GetItems() []*UpdateLabGroupItem

func (*UpdateLabGroupsRequest) ProtoMessage

func (*UpdateLabGroupsRequest) ProtoMessage()

func (*UpdateLabGroupsRequest) ProtoReflect

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

func (*UpdateLabGroupsRequest) Reset

func (x *UpdateLabGroupsRequest) Reset()

func (*UpdateLabGroupsRequest) String

func (x *UpdateLabGroupsRequest) String() string

type UpdateLabItem

type UpdateLabItem struct {
	LabGroup string      `protobuf:"bytes,1,opt,name=lab_group,json=labGroup,proto3" json:"lab_group,omitempty"`
	Name     string      `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Changes  *LabChanges `protobuf:"bytes,3,opt,name=changes,proto3" json:"changes,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateLabItem) Descriptor deprecated

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

Deprecated: Use UpdateLabItem.ProtoReflect.Descriptor instead.

func (*UpdateLabItem) GetChanges

func (x *UpdateLabItem) GetChanges() *LabChanges

func (*UpdateLabItem) GetLabGroup

func (x *UpdateLabItem) GetLabGroup() string

func (*UpdateLabItem) GetName

func (x *UpdateLabItem) GetName() string

func (*UpdateLabItem) ProtoMessage

func (*UpdateLabItem) ProtoMessage()

func (*UpdateLabItem) ProtoReflect

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

func (*UpdateLabItem) Reset

func (x *UpdateLabItem) Reset()

func (*UpdateLabItem) String

func (x *UpdateLabItem) String() string

type UpdateLabsRequest

type UpdateLabsRequest struct {
	BySelector *Selector        `protobuf:"bytes,1,opt,name=by_selector,json=bySelector,proto3" json:"by_selector,omitempty"`
	Changes    *LabChanges      `protobuf:"bytes,2,opt,name=changes,proto3" json:"changes,omitempty"`
	Items      []*UpdateLabItem `protobuf:"bytes,3,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateLabsRequest) Descriptor deprecated

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

Deprecated: Use UpdateLabsRequest.ProtoReflect.Descriptor instead.

func (*UpdateLabsRequest) GetBySelector

func (x *UpdateLabsRequest) GetBySelector() *Selector

func (*UpdateLabsRequest) GetChanges

func (x *UpdateLabsRequest) GetChanges() *LabChanges

func (*UpdateLabsRequest) GetItems

func (x *UpdateLabsRequest) GetItems() []*UpdateLabItem

func (*UpdateLabsRequest) ProtoMessage

func (*UpdateLabsRequest) ProtoMessage()

func (*UpdateLabsRequest) ProtoReflect

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

func (*UpdateLabsRequest) Reset

func (x *UpdateLabsRequest) Reset()

func (*UpdateLabsRequest) String

func (x *UpdateLabsRequest) String() string

Jump to

Keyboard shortcuts

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