protobuf

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2026 License: Apache-2.0 Imports: 10 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_CreateReservations_FullMethodName     = "/labmanager.LabManager/CreateReservations"
	LabManager_ListReservations_FullMethodName       = "/labmanager.LabManager/ListReservations"
	LabManager_UpdateReservations_FullMethodName     = "/labmanager.LabManager/UpdateReservations"
	LabManager_DeleteReservations_FullMethodName     = "/labmanager.LabManager/DeleteReservations"
	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_RunChecks_FullMethodName              = "/labmanager.LabManager/RunChecks"
	LabManager_ExportDeviceSnapshot_FullMethodName   = "/labmanager.LabManager/ExportDeviceSnapshot"
	LabManager_GetLabGroupActivity_FullMethodName    = "/labmanager.LabManager/GetLabGroupActivity"
)

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 (
	ReservationPhase_name = map[int32]string{
		0: "RESERVATION_PHASE_UNSPECIFIED",
		1: "RESERVATION_PHASE_PENDING",
		2: "RESERVATION_PHASE_ACTIVE",
		3: "RESERVATION_PHASE_ENDING",
		4: "RESERVATION_PHASE_ENDED",
	}
	ReservationPhase_value = map[string]int32{
		"RESERVATION_PHASE_UNSPECIFIED": 0,
		"RESERVATION_PHASE_PENDING":     1,
		"RESERVATION_PHASE_ACTIVE":      2,
		"RESERVATION_PHASE_ENDING":      3,
		"RESERVATION_PHASE_ENDED":       4,
	}
)

Enum value maps for ReservationPhase.

View Source
var (
	CheckMode_name = map[int32]string{
		0: "CHECK_MODE_UNSPECIFIED",
		1: "CHECK_MODE_ONCE",
		2: "CHECK_MODE_CONTINUOUS",
	}
	CheckMode_value = map[string]int32{
		"CHECK_MODE_UNSPECIFIED": 0,
		"CHECK_MODE_ONCE":        1,
		"CHECK_MODE_CONTINUOUS":  2,
	}
)

Enum value maps for CheckMode.

View Source
var (
	CheckState_name = map[int32]string{
		0: "CHECK_STATE_UNKNOWN",
		1: "CHECK_STATE_PASSED",
		2: "CHECK_STATE_NOT_PASSED",
		3: "CHECK_STATE_ERROR",
	}
	CheckState_value = map[string]int32{
		"CHECK_STATE_UNKNOWN":    0,
		"CHECK_STATE_PASSED":     1,
		"CHECK_STATE_NOT_PASSED": 2,
		"CHECK_STATE_ERROR":      3,
	}
)

Enum value maps for CheckState.

View Source
var (
	BootstrapPhase_name = map[int32]string{
		0: "BOOTSTRAP_PHASE_NONE",
		1: "BOOTSTRAP_PHASE_PENDING",
		2: "BOOTSTRAP_PHASE_DONE",
		3: "BOOTSTRAP_PHASE_FAILED",
	}
	BootstrapPhase_value = map[string]int32{
		"BOOTSTRAP_PHASE_NONE":    0,
		"BOOTSTRAP_PHASE_PENDING": 1,
		"BOOTSTRAP_PHASE_DONE":    2,
		"BOOTSTRAP_PHASE_FAILED":  3,
	}
)

Enum value maps for BootstrapPhase.

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 (
	ActivityKind_name = map[int32]string{
		0: "ACTIVITY_KIND_UNSPECIFIED",
		1: "ACTIVITY_KIND_INTERNET_EGRESS",
		2: "ACTIVITY_KIND_CONSOLE_SESSION",
		3: "ACTIVITY_KIND_DEVICE_TOUCH",
	}
	ActivityKind_value = map[string]int32{
		"ACTIVITY_KIND_UNSPECIFIED":     0,
		"ACTIVITY_KIND_INTERNET_EGRESS": 1,
		"ACTIVITY_KIND_CONSOLE_SESSION": 2,
		"ACTIVITY_KIND_DEVICE_TOUCH":    3,
	}
)

Enum value maps for ActivityKind.

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: "CreateReservations",
			Handler:    _LabManager_CreateReservations_Handler,
		},
		{
			MethodName: "ListReservations",
			Handler:    _LabManager_ListReservations_Handler,
		},
		{
			MethodName: "UpdateReservations",
			Handler:    _LabManager_UpdateReservations_Handler,
		},
		{
			MethodName: "DeleteReservations",
			Handler:    _LabManager_DeleteReservations_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,
		},
		{
			MethodName: "RunChecks",
			Handler:    _LabManager_RunChecks_Handler,
		},
		{
			MethodName: "GetLabGroupActivity",
			Handler:    _LabManager_GetLabGroupActivity_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 AccessFeature added in v1.10.0

type AccessFeature struct {
	Http     bool `protobuf:"varint,1,opt,name=http,proto3" json:"http,omitempty"`
	Terminal bool `protobuf:"varint,2,opt,name=terminal,proto3" json:"terminal,omitempty"`
	Vnc      bool `protobuf:"varint,3,opt,name=vnc,proto3" json:"vnc,omitempty"`
	Rdp      bool `protobuf:"varint,4,opt,name=rdp,proto3" json:"rdp,omitempty"`
	// contains filtered or unexported fields
}

AccessFeature: http is always served (the L7 proxy). terminal is true only when its option is on AND the component that serves it is there. vnc and rdp are accepted in a device spec and stored, and nothing serves them: always false in this version. The address of a kind of access to a device is a host name alone, never a path or a query: the link is LabAccessEntry.url of the entry of that kind, and the daemon takes it from there, as it does for http. Which accesses of a device the laboratory serves. http needs the L7 proxy and is served whenever it runs (proxy.enabled); terminal also needs terminal.enabled; vnc and rdp need proxy.vnc.enabled / proxy.rdp.enabled (nothing serves them yet, so they are false). A lab with a device that asks for an access that is not served is refused (reason ACCESS_UNAVAILABLE, contract 2.8; terminal had its own refusal before).

func (*AccessFeature) Descriptor deprecated added in v1.10.0

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

Deprecated: Use AccessFeature.ProtoReflect.Descriptor instead.

func (*AccessFeature) GetHttp added in v1.10.0

func (x *AccessFeature) GetHttp() bool

func (*AccessFeature) GetRdp added in v1.10.0

func (x *AccessFeature) GetRdp() bool

func (*AccessFeature) GetTerminal added in v1.10.0

func (x *AccessFeature) GetTerminal() bool

func (*AccessFeature) GetVnc added in v1.10.0

func (x *AccessFeature) GetVnc() bool

func (*AccessFeature) ProtoMessage added in v1.10.0

func (*AccessFeature) ProtoMessage()

func (*AccessFeature) ProtoReflect added in v1.10.0

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

func (*AccessFeature) Reset added in v1.10.0

func (x *AccessFeature) Reset()

func (*AccessFeature) String added in v1.10.0

func (x *AccessFeature) String() string

type AccessInclude added in v1.10.0

type AccessInclude struct {
	Host   int32 `protobuf:"varint,1,opt,name=host,proto3" json:"host,omitempty"`
	Prefix int32 `protobuf:"varint,2,opt,name=prefix,proto3" json:"prefix,omitempty"`
	// contains filtered or unexported fields
}

A subnet of a gateway's /24, <the /24>.host/prefix: prefix 24..32, host the first address of the subnet (a multiple of its size, 0..255). It is relative to the gateway because the operator allocates the /24; it always lies inside it.

func (*AccessInclude) Descriptor deprecated added in v1.10.0

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

Deprecated: Use AccessInclude.ProtoReflect.Descriptor instead.

func (*AccessInclude) GetHost added in v1.10.0

func (x *AccessInclude) GetHost() int32

func (*AccessInclude) GetPrefix added in v1.10.0

func (x *AccessInclude) GetPrefix() int32

func (*AccessInclude) ProtoMessage added in v1.10.0

func (*AccessInclude) ProtoMessage()

func (*AccessInclude) ProtoReflect added in v1.10.0

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

func (*AccessInclude) Reset added in v1.10.0

func (x *AccessInclude) Reset()

func (*AccessInclude) String added in v1.10.0

func (x *AccessInclude) String() string

type ActivityEvent added in v1.10.0

type ActivityEvent struct {
	AtMs    int64  `protobuf:"varint,1,opt,name=at_ms,json=atMs,proto3" json:"at_ms,omitempty"`
	LabName string `protobuf:"bytes,2,opt,name=lab_name,json=labName,proto3" json:"lab_name,omitempty"`
	// Types that are valid to be assigned to Fact:
	//
	//	*ActivityEvent_Egress
	//	*ActivityEvent_Console
	//	*ActivityEvent_Touch
	Fact isActivityEvent_Fact `protobuf_oneof:"fact"`
	// contains filtered or unexported fields
}

ActivityEvent is one raw fact. egress and touch are deltas of the minute that ends at at_ms (sum them); console is a point.

func (*ActivityEvent) Descriptor deprecated added in v1.10.0

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

Deprecated: Use ActivityEvent.ProtoReflect.Descriptor instead.

func (*ActivityEvent) GetAtMs added in v1.10.0

func (x *ActivityEvent) GetAtMs() int64

func (*ActivityEvent) GetConsole added in v1.10.0

func (x *ActivityEvent) GetConsole() *ConsoleSession

func (*ActivityEvent) GetEgress added in v1.10.0

func (x *ActivityEvent) GetEgress() *InternetEgress

func (*ActivityEvent) GetFact added in v1.10.0

func (x *ActivityEvent) GetFact() isActivityEvent_Fact

func (*ActivityEvent) GetLabName added in v1.10.0

func (x *ActivityEvent) GetLabName() string

func (*ActivityEvent) GetTouch added in v1.10.0

func (x *ActivityEvent) GetTouch() *DeviceTouch

func (*ActivityEvent) ProtoMessage added in v1.10.0

func (*ActivityEvent) ProtoMessage()

func (*ActivityEvent) ProtoReflect added in v1.10.0

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

func (*ActivityEvent) Reset added in v1.10.0

func (x *ActivityEvent) Reset()

func (*ActivityEvent) String added in v1.10.0

func (x *ActivityEvent) String() string

type ActivityEvent_Console added in v1.10.0

type ActivityEvent_Console struct {
	Console *ConsoleSession `protobuf:"bytes,11,opt,name=console,proto3,oneof"`
}

type ActivityEvent_Egress added in v1.10.0

type ActivityEvent_Egress struct {
	Egress *InternetEgress `protobuf:"bytes,10,opt,name=egress,proto3,oneof"`
}

type ActivityEvent_Touch added in v1.10.0

type ActivityEvent_Touch struct {
	Touch *DeviceTouch `protobuf:"bytes,12,opt,name=touch,proto3,oneof"`
}

type ActivityFeature added in v1.10.0

type ActivityFeature struct {
	Enabled             bool  `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	MaxEvents           int32 `protobuf:"varint,2,opt,name=max_events,json=maxEvents,proto3" json:"max_events,omitempty"`
	RingMinutes         int32 `protobuf:"varint,3,opt,name=ring_minutes,json=ringMinutes,proto3" json:"ring_minutes,omitempty"`
	ConsoleMaxLifetimeS int32 `protobuf:"varint,4,opt,name=console_max_lifetime_s,json=consoleMaxLifetimeS,proto3" json:"console_max_lifetime_s,omitempty"`
	DeviceTouch         bool  `protobuf:"varint,5,opt,name=device_touch,json=deviceTouch,proto3" json:"device_touch,omitempty"`
	// contains filtered or unexported fields
}

ActivityFeature: enabled is true when the cluster keeps raw activity facts for GetLabGroupActivity (the chart value activityReports.enabled). max_events and ring_minutes bound what the laboratory keeps per writer; a platform that pulls less often than every ring_minutes may lose events (the response says so in gap). console_max_lifetime_s (contract 2.6) is the longest a console session lives (terminal.limits.maxLifetime; 0 when the console is off): a console_session still open longer than that after its opening event ended without a closing event (its proxy replica died). device_touch (contract 2.6) is true only when this cluster produces device_touch events: activity reports are on and the VPN firewall keeps connection tracking (iptables); with nft there are none, so a platform reports "not reported" (null) for the devices-touched figure and not zero.

func (*ActivityFeature) Descriptor deprecated added in v1.10.0

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

Deprecated: Use ActivityFeature.ProtoReflect.Descriptor instead.

func (*ActivityFeature) GetConsoleMaxLifetimeS added in v1.10.0

func (x *ActivityFeature) GetConsoleMaxLifetimeS() int32

func (*ActivityFeature) GetDeviceTouch added in v1.10.0

func (x *ActivityFeature) GetDeviceTouch() bool

func (*ActivityFeature) GetEnabled added in v1.10.0

func (x *ActivityFeature) GetEnabled() bool

func (*ActivityFeature) GetMaxEvents added in v1.10.0

func (x *ActivityFeature) GetMaxEvents() int32

func (*ActivityFeature) GetRingMinutes added in v1.10.0

func (x *ActivityFeature) GetRingMinutes() int32

func (*ActivityFeature) ProtoMessage added in v1.10.0

func (*ActivityFeature) ProtoMessage()

func (*ActivityFeature) ProtoReflect added in v1.10.0

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

func (*ActivityFeature) Reset added in v1.10.0

func (x *ActivityFeature) Reset()

func (*ActivityFeature) String added in v1.10.0

func (x *ActivityFeature) String() string

type ActivityKind added in v1.10.0

type ActivityKind int32
const (
	ActivityKind_ACTIVITY_KIND_UNSPECIFIED ActivityKind = 0
	// Internet egress of a lab: one event per minute, source address and destination address and port. Deltas of that minute.
	ActivityKind_ACTIVITY_KIND_INTERNET_EGRESS ActivityKind = 1
	// A console session of a client on a device: an event when it opens and another when it ends, with the same session_id.
	ActivityKind_ACTIVITY_KIND_CONSOLE_SESSION ActivityKind = 2
	// The bytes one VPN client exchanged with one lab address in one minute. Deltas of that minute. Needs the iptables VPN firewall.
	ActivityKind_ACTIVITY_KIND_DEVICE_TOUCH ActivityKind = 3
)

func (ActivityKind) Descriptor added in v1.10.0

func (ActivityKind) Enum added in v1.10.0

func (x ActivityKind) Enum() *ActivityKind

func (ActivityKind) EnumDescriptor deprecated added in v1.10.0

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

Deprecated: Use ActivityKind.Descriptor instead.

func (ActivityKind) Number added in v1.10.0

func (ActivityKind) String added in v1.10.0

func (x ActivityKind) String() string

func (ActivityKind) Type added in v1.10.0

type AllowedRegistriesFeature added in v1.10.0

type AllowedRegistriesFeature struct {
	Any bool `protobuf:"varint,1,opt,name=any,proto3" json:"any,omitempty"`
	// Canonical hosts ("docker.io", "ghcr.io", "registry.example.com:5000"), the platform's own image registries included.
	Registries []string `protobuf:"bytes,2,rep,name=registries,proto3" json:"registries,omitempty"`
	// contains filtered or unexported fields
}

The list of allowed registries. any is true when every registry is allowed (the chart list holds "*"); registries is then empty.

func (*AllowedRegistriesFeature) Descriptor deprecated added in v1.10.0

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

Deprecated: Use AllowedRegistriesFeature.ProtoReflect.Descriptor instead.

func (*AllowedRegistriesFeature) GetAny added in v1.10.0

func (x *AllowedRegistriesFeature) GetAny() bool

func (*AllowedRegistriesFeature) GetRegistries added in v1.10.0

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

func (*AllowedRegistriesFeature) ProtoMessage added in v1.10.0

func (*AllowedRegistriesFeature) ProtoMessage()

func (*AllowedRegistriesFeature) ProtoReflect added in v1.10.0

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

func (*AllowedRegistriesFeature) Reset added in v1.10.0

func (x *AllowedRegistriesFeature) Reset()

func (*AllowedRegistriesFeature) String added in v1.10.0

func (x *AllowedRegistriesFeature) String() string

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 BootstrapFeature added in v1.10.0

type BootstrapFeature struct {
	MaxScriptBytes      int32 `protobuf:"varint,1,opt,name=max_script_bytes,json=maxScriptBytes,proto3" json:"max_script_bytes,omitempty"`
	MaxFiles            int32 `protobuf:"varint,2,opt,name=max_files,json=maxFiles,proto3" json:"max_files,omitempty"`
	MaxFileBytes        int32 `protobuf:"varint,3,opt,name=max_file_bytes,json=maxFileBytes,proto3" json:"max_file_bytes,omitempty"`
	MaxTotalBytes       int32 `protobuf:"varint,4,opt,name=max_total_bytes,json=maxTotalBytes,proto3" json:"max_total_bytes,omitempty"`
	MaxTimeLimitSeconds int32 `protobuf:"varint,5,opt,name=max_time_limit_seconds,json=maxTimeLimitSeconds,proto3" json:"max_time_limit_seconds,omitempty"`
	MaxAttempts         int32 `protobuf:"varint,6,opt,name=max_attempts,json=maxAttempts,proto3" json:"max_attempts,omitempty"`
	// contains filtered or unexported fields
}

The limits of a device bootstrap; bootstrap itself is always available.

func (*BootstrapFeature) Descriptor deprecated added in v1.10.0

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

Deprecated: Use BootstrapFeature.ProtoReflect.Descriptor instead.

func (*BootstrapFeature) GetMaxAttempts added in v1.10.0

func (x *BootstrapFeature) GetMaxAttempts() int32

func (*BootstrapFeature) GetMaxFileBytes added in v1.10.0

func (x *BootstrapFeature) GetMaxFileBytes() int32

func (*BootstrapFeature) GetMaxFiles added in v1.10.0

func (x *BootstrapFeature) GetMaxFiles() int32

func (*BootstrapFeature) GetMaxScriptBytes added in v1.10.0

func (x *BootstrapFeature) GetMaxScriptBytes() int32

func (*BootstrapFeature) GetMaxTimeLimitSeconds added in v1.10.0

func (x *BootstrapFeature) GetMaxTimeLimitSeconds() int32

func (*BootstrapFeature) GetMaxTotalBytes added in v1.10.0

func (x *BootstrapFeature) GetMaxTotalBytes() int32

func (*BootstrapFeature) ProtoMessage added in v1.10.0

func (*BootstrapFeature) ProtoMessage()

func (*BootstrapFeature) ProtoReflect added in v1.10.0

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

func (*BootstrapFeature) Reset added in v1.10.0

func (x *BootstrapFeature) Reset()

func (*BootstrapFeature) String added in v1.10.0

func (x *BootstrapFeature) String() string

type BootstrapFile added in v1.10.0

type BootstrapFile struct {
	Path    string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`       // absolute, clean
	Content []byte `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"` // at most 256 KiB
	Owner   string `protobuf:"bytes,3,opt,name=owner,proto3" json:"owner,omitempty"`     // name or numeric id; empty = root
	Group   string `protobuf:"bytes,4,opt,name=group,proto3" json:"group,omitempty"`
	Mode    uint32 `protobuf:"varint,5,opt,name=mode,proto3" json:"mode,omitempty"` // permission bits (0644 is 420); 0 = 0644
	// contains filtered or unexported fields
}

func (*BootstrapFile) Descriptor deprecated added in v1.10.0

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

Deprecated: Use BootstrapFile.ProtoReflect.Descriptor instead.

func (*BootstrapFile) GetContent added in v1.10.0

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

func (*BootstrapFile) GetGroup added in v1.10.0

func (x *BootstrapFile) GetGroup() string

func (*BootstrapFile) GetMode added in v1.10.0

func (x *BootstrapFile) GetMode() uint32

func (*BootstrapFile) GetOwner added in v1.10.0

func (x *BootstrapFile) GetOwner() string

func (*BootstrapFile) GetPath added in v1.10.0

func (x *BootstrapFile) GetPath() string

func (*BootstrapFile) ProtoMessage added in v1.10.0

func (*BootstrapFile) ProtoMessage()

func (*BootstrapFile) ProtoReflect added in v1.10.0

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

func (*BootstrapFile) Reset added in v1.10.0

func (x *BootstrapFile) Reset()

func (*BootstrapFile) String added in v1.10.0

func (x *BootstrapFile) String() string

type BootstrapPhase added in v1.10.0

type BootstrapPhase int32
const (
	BootstrapPhase_BOOTSTRAP_PHASE_NONE    BootstrapPhase = 0 // no bootstrap, or nothing observed yet
	BootstrapPhase_BOOTSTRAP_PHASE_PENDING BootstrapPhase = 1
	BootstrapPhase_BOOTSTRAP_PHASE_DONE    BootstrapPhase = 2
	BootstrapPhase_BOOTSTRAP_PHASE_FAILED  BootstrapPhase = 3 // the attempts are used up
)

func (BootstrapPhase) Descriptor added in v1.10.0

func (BootstrapPhase) Enum added in v1.10.0

func (x BootstrapPhase) Enum() *BootstrapPhase

func (BootstrapPhase) EnumDescriptor deprecated added in v1.10.0

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

Deprecated: Use BootstrapPhase.Descriptor instead.

func (BootstrapPhase) Number added in v1.10.0

func (BootstrapPhase) String added in v1.10.0

func (x BootstrapPhase) String() string

func (BootstrapPhase) Type added in v1.10.0

type BootstrapStatus added in v1.10.0

type BootstrapStatus struct {
	Phase    BootstrapPhase `protobuf:"varint,1,opt,name=phase,proto3,enum=labmanager.BootstrapPhase" json:"phase,omitempty"`
	Attempts int32          `protobuf:"varint,2,opt,name=attempts,proto3" json:"attempts,omitempty"`
	Reason   string         `protobuf:"bytes,3,opt,name=reason,proto3" json:"reason,omitempty"` // at most 256 bytes
	// contains filtered or unexported fields
}

BootstrapStatus holds no secret: the reason is a short text for the author.

func (*BootstrapStatus) Descriptor deprecated added in v1.10.0

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

Deprecated: Use BootstrapStatus.ProtoReflect.Descriptor instead.

func (*BootstrapStatus) GetAttempts added in v1.10.0

func (x *BootstrapStatus) GetAttempts() int32

func (*BootstrapStatus) GetPhase added in v1.10.0

func (x *BootstrapStatus) GetPhase() BootstrapPhase

func (*BootstrapStatus) GetReason added in v1.10.0

func (x *BootstrapStatus) GetReason() string

func (*BootstrapStatus) ProtoMessage added in v1.10.0

func (*BootstrapStatus) ProtoMessage()

func (*BootstrapStatus) ProtoReflect added in v1.10.0

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

func (*BootstrapStatus) Reset added in v1.10.0

func (x *BootstrapStatus) Reset()

func (*BootstrapStatus) String added in v1.10.0

func (x *BootstrapStatus) 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 */
	// The capacity the lab nodes that exist now give: the same as the quota fields (has_cpu_quota .. memory_quota_bytes) but
	// without the room the capacity budget still allows for nodes not yet present. Equal to the quota fields when the cluster
	// has no budget. has_current is false for an older agent.
	HasCurrent           bool  `protobuf:"varint,20,opt,name=has_current,json=hasCurrent,proto3" json:"has_current,omitempty"`
	CurrentCpuMillicores int64 `protobuf:"varint,21,opt,name=current_cpu_millicores,json=currentCpuMillicores,proto3" json:"current_cpu_millicores,omitempty"`
	CurrentMemoryBytes   int64 `protobuf:"varint,22,opt,name=current_memory_bytes,json=currentMemoryBytes,proto3" json:"current_memory_bytes,omitempty"`
	// The device profiles this laboratory offers and whether they can run (container, microvm; never vm for now). A profile
	// that is switched off is absent; an empty list is an older agent (the caller takes container as available).
	NodeProfiles []*NodeProfileCapacity `protobuf:"bytes,23,rep,name=node_profiles,json=nodeProfiles,proto3" json:"node_profiles,omitempty"`
	// 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) GetCurrentCpuMillicores added in v1.5.0

func (x *CapacityResponse) GetCurrentCpuMillicores() int64

func (*CapacityResponse) GetCurrentMemoryBytes added in v1.5.0

func (x *CapacityResponse) GetCurrentMemoryBytes() 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) GetHasCurrent added in v1.5.0

func (x *CapacityResponse) GetHasCurrent() 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) GetNodeProfiles added in v1.8.0

func (x *CapacityResponse) GetNodeProfiles() []*NodeProfileCapacity

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 Check added in v1.10.0

type Check struct {
	Id               string       `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`         // 1..64 characters, unique in the lab
	Device           string       `protobuf:"bytes,2,opt,name=device,proto3" json:"device,omitempty"` // a container device of the lab
	Mode             CheckMode    `protobuf:"varint,3,opt,name=mode,proto3,enum=labmanager.CheckMode" json:"mode,omitempty"`
	ScheduleSeconds  int32        `protobuf:"varint,4,opt,name=schedule_seconds,json=scheduleSeconds,proto3" json:"schedule_seconds,omitempty"`      // 0 = no schedule (manual only); at most 86400, not below the time limit
	ManualRun        bool         `protobuf:"varint,5,opt,name=manual_run,json=manualRun,proto3" json:"manual_run,omitempty"`                        // RunChecks may run it
	TimeLimitSeconds int32        `protobuf:"varint,6,opt,name=time_limit_seconds,json=timeLimitSeconds,proto3" json:"time_limit_seconds,omitempty"` // 1..600; 0 = 30
	Parts            []*CheckPart `protobuf:"bytes,7,rep,name=parts,proto3" json:"parts,omitempty"`                                                  // 1..8, all must hold in the same run
	// contains filtered or unexported fields
}

func (*Check) Descriptor deprecated added in v1.10.0

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

Deprecated: Use Check.ProtoReflect.Descriptor instead.

func (*Check) GetDevice added in v1.10.0

func (x *Check) GetDevice() string

func (*Check) GetId added in v1.10.0

func (x *Check) GetId() string

func (*Check) GetManualRun added in v1.10.0

func (x *Check) GetManualRun() bool

func (*Check) GetMode added in v1.10.0

func (x *Check) GetMode() CheckMode

func (*Check) GetParts added in v1.10.0

func (x *Check) GetParts() []*CheckPart

func (*Check) GetScheduleSeconds added in v1.10.0

func (x *Check) GetScheduleSeconds() int32

func (*Check) GetTimeLimitSeconds added in v1.10.0

func (x *Check) GetTimeLimitSeconds() int32

func (*Check) ProtoMessage added in v1.10.0

func (*Check) ProtoMessage()

func (*Check) ProtoReflect added in v1.10.0

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

func (*Check) Reset added in v1.10.0

func (x *Check) Reset()

func (*Check) String added in v1.10.0

func (x *Check) String() string

type CheckMode added in v1.10.0

type CheckMode int32
const (
	CheckMode_CHECK_MODE_UNSPECIFIED CheckMode = 0 // refused
	CheckMode_CHECK_MODE_ONCE        CheckMode = 1 // stops after the first pass
	CheckMode_CHECK_MODE_CONTINUOUS  CheckMode = 2 // the current state matters
)

func (CheckMode) Descriptor added in v1.10.0

func (CheckMode) Descriptor() protoreflect.EnumDescriptor

func (CheckMode) Enum added in v1.10.0

func (x CheckMode) Enum() *CheckMode

func (CheckMode) EnumDescriptor deprecated added in v1.10.0

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

Deprecated: Use CheckMode.Descriptor instead.

func (CheckMode) Number added in v1.10.0

func (x CheckMode) Number() protoreflect.EnumNumber

func (CheckMode) String added in v1.10.0

func (x CheckMode) String() string

func (CheckMode) Type added in v1.10.0

type CheckPart added in v1.10.0

type CheckPart struct {

	// Types that are valid to be assigned to Observation:
	//
	//	*CheckPart_File
	//	*CheckPart_Custom
	//	*CheckPart_Directory
	//	*CheckPart_Process
	//	*CheckPart_Port
	//	*CheckPart_KernelParam
	//	*CheckPart_Request
	//	*CheckPart_Permission
	Observation isCheckPart_Observation `protobuf_oneof:"observation"`
	// contains filtered or unexported fields
}

func (*CheckPart) Descriptor deprecated added in v1.10.0

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

Deprecated: Use CheckPart.ProtoReflect.Descriptor instead.

func (*CheckPart) GetCustom added in v1.10.0

func (x *CheckPart) GetCustom() *CustomObservation

func (*CheckPart) GetDirectory added in v1.10.0

func (x *CheckPart) GetDirectory() *DirectoryObservation

func (*CheckPart) GetFile added in v1.10.0

func (x *CheckPart) GetFile() *FileObservation

func (*CheckPart) GetKernelParam added in v1.10.0

func (x *CheckPart) GetKernelParam() *KernelParamObservation

func (*CheckPart) GetObservation added in v1.10.0

func (x *CheckPart) GetObservation() isCheckPart_Observation

func (*CheckPart) GetPermission added in v1.10.0

func (x *CheckPart) GetPermission() *PermissionObservation

func (*CheckPart) GetPort added in v1.10.0

func (x *CheckPart) GetPort() *PortObservation

func (*CheckPart) GetProcess added in v1.10.0

func (x *CheckPart) GetProcess() *ProcessObservation

func (*CheckPart) GetRequest added in v1.10.0

func (x *CheckPart) GetRequest() *RequestObservation

func (*CheckPart) ProtoMessage added in v1.10.0

func (*CheckPart) ProtoMessage()

func (*CheckPart) ProtoReflect added in v1.10.0

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

func (*CheckPart) Reset added in v1.10.0

func (x *CheckPart) Reset()

func (*CheckPart) String added in v1.10.0

func (x *CheckPart) String() string

type CheckPart_Custom added in v1.10.0

type CheckPart_Custom struct {
	Custom *CustomObservation `protobuf:"bytes,2,opt,name=custom,proto3,oneof"`
}

type CheckPart_Directory added in v1.10.0

type CheckPart_Directory struct {
	// The built-in observations: the in-device program reads the state itself and executes nothing of the device. Expected values
	// never go to the device; they are compared by the checker.
	Directory *DirectoryObservation `protobuf:"bytes,3,opt,name=directory,proto3,oneof"`
}

type CheckPart_File added in v1.10.0

type CheckPart_File struct {
	File *FileObservation `protobuf:"bytes,1,opt,name=file,proto3,oneof"`
}

type CheckPart_KernelParam added in v1.10.0

type CheckPart_KernelParam struct {
	KernelParam *KernelParamObservation `protobuf:"bytes,6,opt,name=kernel_param,json=kernelParam,proto3,oneof"`
}

type CheckPart_Permission added in v1.10.0

type CheckPart_Permission struct {
	Permission *PermissionObservation `protobuf:"bytes,8,opt,name=permission,proto3,oneof"`
}

type CheckPart_Port added in v1.10.0

type CheckPart_Port struct {
	Port *PortObservation `protobuf:"bytes,5,opt,name=port,proto3,oneof"`
}

type CheckPart_Process added in v1.10.0

type CheckPart_Process struct {
	Process *ProcessObservation `protobuf:"bytes,4,opt,name=process,proto3,oneof"`
}

type CheckPart_Request added in v1.10.0

type CheckPart_Request struct {
	Request *RequestObservation `protobuf:"bytes,7,opt,name=request,proto3,oneof"`
}

type CheckResult added in v1.10.0

type CheckResult struct {
	Id                string     `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	State             CheckState `protobuf:"varint,2,opt,name=state,proto3,enum=labmanager.CheckState" json:"state,omitempty"`
	FirstPassedUnixMs int64      `protobuf:"varint,3,opt,name=first_passed_unix_ms,json=firstPassedUnixMs,proto3" json:"first_passed_unix_ms,omitempty"` // 0 = never passed
	ChangedUnixMs     int64      `protobuf:"varint,4,opt,name=changed_unix_ms,json=changedUnixMs,proto3" json:"changed_unix_ms,omitempty"`               // when the state last changed
	Value             string     `protobuf:"bytes,5,opt,name=value,proto3" json:"value,omitempty"`                                                       // optional, at most 256 bytes
	Detail            string     `protobuf:"bytes,6,opt,name=detail,proto3" json:"detail,omitempty"`                                                     // for the author or the teacher, at most 2048 bytes
	// contains filtered or unexported fields
}

CheckResult is the last published result of one check. Only CHANGES are published: the entry changes when the state, value or detail changes, so a Monitoring delta carries it once. Never show detail to a participant.

func (*CheckResult) Descriptor deprecated added in v1.10.0

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

Deprecated: Use CheckResult.ProtoReflect.Descriptor instead.

func (*CheckResult) GetChangedUnixMs added in v1.10.0

func (x *CheckResult) GetChangedUnixMs() int64

func (*CheckResult) GetDetail added in v1.10.0

func (x *CheckResult) GetDetail() string

func (*CheckResult) GetFirstPassedUnixMs added in v1.10.0

func (x *CheckResult) GetFirstPassedUnixMs() int64

func (*CheckResult) GetId added in v1.10.0

func (x *CheckResult) GetId() string

func (*CheckResult) GetState added in v1.10.0

func (x *CheckResult) GetState() CheckState

func (*CheckResult) GetValue added in v1.10.0

func (x *CheckResult) GetValue() string

func (*CheckResult) ProtoMessage added in v1.10.0

func (*CheckResult) ProtoMessage()

func (*CheckResult) ProtoReflect added in v1.10.0

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

func (*CheckResult) Reset added in v1.10.0

func (x *CheckResult) Reset()

func (*CheckResult) String added in v1.10.0

func (x *CheckResult) String() string

type CheckState added in v1.10.0

type CheckState int32
const (
	CheckState_CHECK_STATE_UNKNOWN    CheckState = 0 // no result yet
	CheckState_CHECK_STATE_PASSED     CheckState = 1
	CheckState_CHECK_STATE_NOT_PASSED CheckState = 2
	CheckState_CHECK_STATE_ERROR      CheckState = 3 // could not be made (device not ready, command did not start or ran over its limit); the consumer keeps the previous state
)

func (CheckState) Descriptor added in v1.10.0

func (CheckState) Descriptor() protoreflect.EnumDescriptor

func (CheckState) Enum added in v1.10.0

func (x CheckState) Enum() *CheckState

func (CheckState) EnumDescriptor deprecated added in v1.10.0

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

Deprecated: Use CheckState.Descriptor instead.

func (CheckState) Number added in v1.10.0

func (x CheckState) Number() protoreflect.EnumNumber

func (CheckState) String added in v1.10.0

func (x CheckState) String() string

func (CheckState) Type added in v1.10.0

type ChecksFeature added in v1.10.0

type ChecksFeature struct {
	Enabled             bool  `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	MaxChecksPerLab     int32 `protobuf:"varint,2,opt,name=max_checks_per_lab,json=maxChecksPerLab,proto3" json:"max_checks_per_lab,omitempty"`
	MaxPartsPerCheck    int32 `protobuf:"varint,3,opt,name=max_parts_per_check,json=maxPartsPerCheck,proto3" json:"max_parts_per_check,omitempty"`
	MaxTimeLimitSeconds int32 `protobuf:"varint,4,opt,name=max_time_limit_seconds,json=maxTimeLimitSeconds,proto3" json:"max_time_limit_seconds,omitempty"`
	MaxScheduleSeconds  int32 `protobuf:"varint,5,opt,name=max_schedule_seconds,json=maxScheduleSeconds,proto3" json:"max_schedule_seconds,omitempty"`
	MaxDetailBytes      int32 `protobuf:"varint,6,opt,name=max_detail_bytes,json=maxDetailBytes,proto3" json:"max_detail_bytes,omitempty"`
	// The kinds of observation this laboratory's checker runs: file, custom, and the built-in ones (directory, process, port,
	// kernel_param, request, permission). A check with a kind that is not listed is refused.
	Observations []string `protobuf:"bytes,7,rep,name=observations,proto3" json:"observations,omitempty"`
	// contains filtered or unexported fields
}

func (*ChecksFeature) Descriptor deprecated added in v1.10.0

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

Deprecated: Use ChecksFeature.ProtoReflect.Descriptor instead.

func (*ChecksFeature) GetEnabled added in v1.10.0

func (x *ChecksFeature) GetEnabled() bool

func (*ChecksFeature) GetMaxChecksPerLab added in v1.10.0

func (x *ChecksFeature) GetMaxChecksPerLab() int32

func (*ChecksFeature) GetMaxDetailBytes added in v1.10.0

func (x *ChecksFeature) GetMaxDetailBytes() int32

func (*ChecksFeature) GetMaxPartsPerCheck added in v1.10.0

func (x *ChecksFeature) GetMaxPartsPerCheck() int32

func (*ChecksFeature) GetMaxScheduleSeconds added in v1.10.0

func (x *ChecksFeature) GetMaxScheduleSeconds() int32

func (*ChecksFeature) GetMaxTimeLimitSeconds added in v1.10.0

func (x *ChecksFeature) GetMaxTimeLimitSeconds() int32

func (*ChecksFeature) GetObservations added in v1.10.0

func (x *ChecksFeature) GetObservations() []string

func (*ChecksFeature) ProtoMessage added in v1.10.0

func (*ChecksFeature) ProtoMessage()

func (*ChecksFeature) ProtoReflect added in v1.10.0

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

func (*ChecksFeature) Reset added in v1.10.0

func (x *ChecksFeature) Reset()

func (*ChecksFeature) String added in v1.10.0

func (x *ChecksFeature) 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 ConsoleSession added in v1.10.0

type ConsoleSession struct {
	SessionId  string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	Device     string `protobuf:"bytes,2,opt,name=device,proto3" json:"device,omitempty"`
	Client     string `protobuf:"bytes,3,opt,name=client,proto3" json:"client,omitempty"` // the LabGroupClient of the participant
	OpenedAtMs int64  `protobuf:"varint,4,opt,name=opened_at_ms,json=openedAtMs,proto3" json:"opened_at_ms,omitempty"`
	ClosedAtMs int64  `protobuf:"varint,5,opt,name=closed_at_ms,json=closedAtMs,proto3" json:"closed_at_ms,omitempty"` // 0 on the opening event
	// contains filtered or unexported fields
}

func (*ConsoleSession) Descriptor deprecated added in v1.10.0

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

Deprecated: Use ConsoleSession.ProtoReflect.Descriptor instead.

func (*ConsoleSession) GetClient added in v1.10.0

func (x *ConsoleSession) GetClient() string

func (*ConsoleSession) GetClosedAtMs added in v1.10.0

func (x *ConsoleSession) GetClosedAtMs() int64

func (*ConsoleSession) GetDevice added in v1.10.0

func (x *ConsoleSession) GetDevice() string

func (*ConsoleSession) GetOpenedAtMs added in v1.10.0

func (x *ConsoleSession) GetOpenedAtMs() int64

func (*ConsoleSession) GetSessionId added in v1.10.0

func (x *ConsoleSession) GetSessionId() string

func (*ConsoleSession) ProtoMessage added in v1.10.0

func (*ConsoleSession) ProtoMessage()

func (*ConsoleSession) ProtoReflect added in v1.10.0

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

func (*ConsoleSession) Reset added in v1.10.0

func (x *ConsoleSession) Reset()

func (*ConsoleSession) String added in v1.10.0

func (x *ConsoleSession) 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 CreateReservationsRequest added in v1.6.0

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

func (*CreateReservationsRequest) Descriptor deprecated added in v1.6.0

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

Deprecated: Use CreateReservationsRequest.ProtoReflect.Descriptor instead.

func (*CreateReservationsRequest) GetItems added in v1.6.0

func (x *CreateReservationsRequest) GetItems() []*ReservationItem

func (*CreateReservationsRequest) GetLabels added in v1.6.0

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

func (*CreateReservationsRequest) ProtoMessage added in v1.6.0

func (*CreateReservationsRequest) ProtoMessage()

func (*CreateReservationsRequest) ProtoReflect added in v1.6.0

func (*CreateReservationsRequest) Reset added in v1.6.0

func (x *CreateReservationsRequest) Reset()

func (*CreateReservationsRequest) String added in v1.6.0

func (x *CreateReservationsRequest) String() string

type CustomObservation added in v1.10.0

type CustomObservation struct {
	Command        []string `protobuf:"bytes,1,rep,name=command,proto3" json:"command,omitempty"` // exactly one of command and script
	Script         string   `protobuf:"bytes,2,opt,name=script,proto3" json:"script,omitempty"`
	Interpreter    string   `protobuf:"bytes,3,opt,name=interpreter,proto3" json:"interpreter,omitempty"` // for a script; empty = /bin/sh
	User           string   `protobuf:"bytes,4,opt,name=user,proto3" json:"user,omitempty"`               // empty = nobody; any other user, root included, is the author's explicit choice
	OutputContains *string  `protobuf:"bytes,5,opt,name=output_contains,json=outputContains,proto3,oneof" json:"output_contains,omitempty"`
	OutputMatches  *string  `protobuf:"bytes,6,opt,name=output_matches,json=outputMatches,proto3,oneof" json:"output_matches,omitempty"` // RE2 regular expression
	// contains filtered or unexported fields
}

CustomObservation runs a command or a script in the device; exit code 0 is "passed".

func (*CustomObservation) Descriptor deprecated added in v1.10.0

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

Deprecated: Use CustomObservation.ProtoReflect.Descriptor instead.

func (*CustomObservation) GetCommand added in v1.10.0

func (x *CustomObservation) GetCommand() []string

func (*CustomObservation) GetInterpreter added in v1.10.0

func (x *CustomObservation) GetInterpreter() string

func (*CustomObservation) GetOutputContains added in v1.10.0

func (x *CustomObservation) GetOutputContains() string

func (*CustomObservation) GetOutputMatches added in v1.10.0

func (x *CustomObservation) GetOutputMatches() string

func (*CustomObservation) GetScript added in v1.10.0

func (x *CustomObservation) GetScript() string

func (*CustomObservation) GetUser added in v1.10.0

func (x *CustomObservation) GetUser() string

func (*CustomObservation) ProtoMessage added in v1.10.0

func (*CustomObservation) ProtoMessage()

func (*CustomObservation) ProtoReflect added in v1.10.0

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

func (*CustomObservation) Reset added in v1.10.0

func (x *CustomObservation) Reset()

func (*CustomObservation) String added in v1.10.0

func (x *CustomObservation) 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 DeviceBootstrap added in v1.10.0

type DeviceBootstrap struct {
	Device           string           `protobuf:"bytes,1,opt,name=device,proto3" json:"device,omitempty"`
	Script           string           `protobuf:"bytes,2,opt,name=script,proto3" json:"script,omitempty"`                                                // text; at most 64 KiB
	Interpreter      string           `protobuf:"bytes,3,opt,name=interpreter,proto3" json:"interpreter,omitempty"`                                      // absolute path to run the script with; empty = /bin/sh
	Files            []*BootstrapFile `protobuf:"bytes,4,rep,name=files,proto3" json:"files,omitempty"`                                                  // at most 32; script and file contents together at most 512 KiB
	TimeLimitSeconds int32            `protobuf:"varint,5,opt,name=time_limit_seconds,json=timeLimitSeconds,proto3" json:"time_limit_seconds,omitempty"` // per attempt, 1..3600; 0 = 300
	// contains filtered or unexported fields
}

DeviceBootstrap is the bootstrap list of one device with the values already filled in. Secret material: it travels like DeviceEnv, is stored in the Secret <device>-bootstrap (key bootstrap.json) and is never put on a CR or returned. A list with no script and no files removes the Secret. The device must be a container device of the lab.

func (*DeviceBootstrap) Descriptor deprecated added in v1.10.0

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

Deprecated: Use DeviceBootstrap.ProtoReflect.Descriptor instead.

func (*DeviceBootstrap) GetDevice added in v1.10.0

func (x *DeviceBootstrap) GetDevice() string

func (*DeviceBootstrap) GetFiles added in v1.10.0

func (x *DeviceBootstrap) GetFiles() []*BootstrapFile

func (*DeviceBootstrap) GetInterpreter added in v1.10.0

func (x *DeviceBootstrap) GetInterpreter() string

func (*DeviceBootstrap) GetScript added in v1.10.0

func (x *DeviceBootstrap) GetScript() string

func (*DeviceBootstrap) GetTimeLimitSeconds added in v1.10.0

func (x *DeviceBootstrap) GetTimeLimitSeconds() int32

func (*DeviceBootstrap) ProtoMessage added in v1.10.0

func (*DeviceBootstrap) ProtoMessage()

func (*DeviceBootstrap) ProtoReflect added in v1.10.0

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

func (*DeviceBootstrap) Reset added in v1.10.0

func (x *DeviceBootstrap) Reset()

func (*DeviceBootstrap) String added in v1.10.0

func (x *DeviceBootstrap) 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 DeviceTouch added in v1.10.0

type DeviceTouch struct {
	Client      string `protobuf:"bytes,1,opt,name=client,proto3" json:"client,omitempty"`
	DstAddress  string `protobuf:"bytes,2,opt,name=dst_address,json=dstAddress,proto3" json:"dst_address,omitempty"`
	Protocol    string `protobuf:"bytes,3,opt,name=protocol,proto3" json:"protocol,omitempty"`
	BytesOut    int64  `protobuf:"varint,4,opt,name=bytes_out,json=bytesOut,proto3" json:"bytes_out,omitempty"` // from the client
	BytesIn     int64  `protobuf:"varint,5,opt,name=bytes_in,json=bytesIn,proto3" json:"bytes_in,omitempty"`    // from the lab
	FirstSeenMs int64  `protobuf:"varint,6,opt,name=first_seen_ms,json=firstSeenMs,proto3" json:"first_seen_ms,omitempty"`
	LastSeenMs  int64  `protobuf:"varint,7,opt,name=last_seen_ms,json=lastSeenMs,proto3" json:"last_seen_ms,omitempty"`
	// contains filtered or unexported fields
}

DeviceTouch: what one VPN client exchanged with one lab address (the address is of a lab device, or any address of the lab's network).

func (*DeviceTouch) Descriptor deprecated added in v1.10.0

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

Deprecated: Use DeviceTouch.ProtoReflect.Descriptor instead.

func (*DeviceTouch) GetBytesIn added in v1.10.0

func (x *DeviceTouch) GetBytesIn() int64

func (*DeviceTouch) GetBytesOut added in v1.10.0

func (x *DeviceTouch) GetBytesOut() int64

func (*DeviceTouch) GetClient added in v1.10.0

func (x *DeviceTouch) GetClient() string

func (*DeviceTouch) GetDstAddress added in v1.10.0

func (x *DeviceTouch) GetDstAddress() string

func (*DeviceTouch) GetFirstSeenMs added in v1.10.0

func (x *DeviceTouch) GetFirstSeenMs() int64

func (*DeviceTouch) GetLastSeenMs added in v1.10.0

func (x *DeviceTouch) GetLastSeenMs() int64

func (*DeviceTouch) GetProtocol added in v1.10.0

func (x *DeviceTouch) GetProtocol() string

func (*DeviceTouch) ProtoMessage added in v1.10.0

func (*DeviceTouch) ProtoMessage()

func (*DeviceTouch) ProtoReflect added in v1.10.0

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

func (*DeviceTouch) Reset added in v1.10.0

func (x *DeviceTouch) Reset()

func (*DeviceTouch) String added in v1.10.0

func (x *DeviceTouch) 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 DirectoryObservation added in v1.10.0

type DirectoryObservation struct {
	Path         string   `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` // absolute, clean
	Exists       *bool    `protobuf:"varint,2,opt,name=exists,proto3,oneof" json:"exists,omitempty"`
	Mode         *uint32  `protobuf:"varint,3,opt,name=mode,proto3,oneof" json:"mode,omitempty"`
	Owner        *string  `protobuf:"bytes,4,opt,name=owner,proto3,oneof" json:"owner,omitempty"`
	Group        *string  `protobuf:"bytes,5,opt,name=group,proto3,oneof" json:"group,omitempty"`
	HasEntries   []string `protobuf:"bytes,6,rep,name=has_entries,json=hasEntries,proto3" json:"has_entries,omitempty"`       // at most 64 names
	LacksEntries []string `protobuf:"bytes,7,rep,name=lacks_entries,json=lacksEntries,proto3" json:"lacks_entries,omitempty"` // at most 64 names
	// contains filtered or unexported fields
}

DirectoryObservation: exists (default true), mode, owner, group, names that must be directly in the directory and names that must not.

func (*DirectoryObservation) Descriptor deprecated added in v1.10.0

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

Deprecated: Use DirectoryObservation.ProtoReflect.Descriptor instead.

func (*DirectoryObservation) GetExists added in v1.10.0

func (x *DirectoryObservation) GetExists() bool

func (*DirectoryObservation) GetGroup added in v1.10.0

func (x *DirectoryObservation) GetGroup() string

func (*DirectoryObservation) GetHasEntries added in v1.10.0

func (x *DirectoryObservation) GetHasEntries() []string

func (*DirectoryObservation) GetLacksEntries added in v1.10.0

func (x *DirectoryObservation) GetLacksEntries() []string

func (*DirectoryObservation) GetMode added in v1.10.0

func (x *DirectoryObservation) GetMode() uint32

func (*DirectoryObservation) GetOwner added in v1.10.0

func (x *DirectoryObservation) GetOwner() string

func (*DirectoryObservation) GetPath added in v1.10.0

func (x *DirectoryObservation) GetPath() string

func (*DirectoryObservation) ProtoMessage added in v1.10.0

func (*DirectoryObservation) ProtoMessage()

func (*DirectoryObservation) ProtoReflect added in v1.10.0

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

func (*DirectoryObservation) Reset added in v1.10.0

func (x *DirectoryObservation) Reset()

func (*DirectoryObservation) String added in v1.10.0

func (x *DirectoryObservation) 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"`
	Reservations *ReservationsFeature `protobuf:"bytes,14,opt,name=reservations,proto3" json:"reservations,omitempty"`
	// The API contract version of this agent (pkg/agent/client ContractVersion, "major.minor"): the same major, and a minor not
	// below the one the caller was built against, means every call of the caller exists. Empty = an agent older than the field.
	ContractVersion string              `protobuf:"bytes,15,opt,name=contract_version,json=contractVersion,proto3" json:"contract_version,omitempty"`
	GroupLimits     *GroupLimitsFeature `protobuf:"bytes,16,opt,name=group_limits,json=groupLimits,proto3" json:"group_limits,omitempty"`
	// Optional parts of the laboratory (contract 1.5). A lab with checks is refused when checks.enabled is false, a lab with a terminal
	// device when terminal.enabled is false. Absent = an agent older than the fields (nothing of it).
	Checks    *ChecksFeature    `protobuf:"bytes,17,opt,name=checks,proto3" json:"checks,omitempty"`
	Bootstrap *BootstrapFeature `protobuf:"bytes,19,opt,name=bootstrap,proto3" json:"bootstrap,omitempty"`
	// How the VPN gateway treats connections started by a lab (contract 1.5). Absent = an agent older than the field: it does not
	// enforce the default, so a daemon must not send spec.vpn.reverseConnections to it and must not promise the participant that
	// the lab cannot connect to the participant's machine.
	Vpn *VPNFeature `protobuf:"bytes,20,opt,name=vpn,proto3" json:"vpn,omitempty"`
	// Which device access kinds this laboratory serves (contract 1.5; docs/specs/2026-11-12-device-access-and-checks.md). Absent = an
	// agent older than the field: only http.
	Access *AccessFeature `protobuf:"bytes,21,opt,name=access,proto3" json:"access,omitempty"`
	// Activity reports (contract 2.5), off by default. Absent = an agent older than the field.
	Activity *ActivityFeature `protobuf:"bytes,22,opt,name=activity,proto3" json:"activity,omitempty"`
	// The internet gateway (contract 2.8).
	Internet *InternetFeature `protobuf:"bytes,23,opt,name=internet,proto3" json:"internet,omitempty"`
	// The registries the laboratory pulls lab images from (chart registry.allowedRegistries; contract 2.8). An image from another registry
	// is refused (PermissionDenied, ErrorInfo reason REGISTRY_NOT_ALLOWED). Absent = an agent older than the field: no list is enforced.
	AllowedRegistries *AllowedRegistriesFeature `protobuf:"bytes,24,opt,name=allowed_registries,json=allowedRegistries,proto3" json:"allowed_registries,omitempty"`
	// contains filtered or unexported fields
}

func (*FeaturesResponse) Descriptor deprecated

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

Deprecated: Use FeaturesResponse.ProtoReflect.Descriptor instead.

func (*FeaturesResponse) GetAccess added in v1.10.0

func (x *FeaturesResponse) GetAccess() *AccessFeature

func (*FeaturesResponse) GetActivity added in v1.10.0

func (x *FeaturesResponse) GetActivity() *ActivityFeature

func (*FeaturesResponse) GetAllowedRegistries added in v1.10.0

func (x *FeaturesResponse) GetAllowedRegistries() *AllowedRegistriesFeature

func (*FeaturesResponse) GetBootstrap added in v1.10.0

func (x *FeaturesResponse) GetBootstrap() *BootstrapFeature

func (*FeaturesResponse) GetCertificate

func (x *FeaturesResponse) GetCertificate() *CertificateFeature

func (*FeaturesResponse) GetChecks added in v1.10.0

func (x *FeaturesResponse) GetChecks() *ChecksFeature

func (*FeaturesResponse) GetConstants

func (x *FeaturesResponse) GetConstants() *DeviceConstants

func (*FeaturesResponse) GetContractVersion added in v1.8.0

func (x *FeaturesResponse) GetContractVersion() string

func (*FeaturesResponse) GetDeviceProfiles

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

func (*FeaturesResponse) GetEndpoints

func (x *FeaturesResponse) GetEndpoints() *EndpointsFeature

func (*FeaturesResponse) GetGroupLimits added in v1.8.0

func (x *FeaturesResponse) GetGroupLimits() *GroupLimitsFeature

func (*FeaturesResponse) GetGroupPods

func (x *FeaturesResponse) GetGroupPods() *GroupPodsFeature

func (*FeaturesResponse) GetImageCache

func (x *FeaturesResponse) GetImageCache() *ImageCacheFeature

func (*FeaturesResponse) GetInternet added in v1.10.0

func (x *FeaturesResponse) GetInternet() *InternetFeature

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) GetReservations added in v1.6.0

func (x *FeaturesResponse) GetReservations() *ReservationsFeature

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) GetVpn added in v1.10.0

func (x *FeaturesResponse) GetVpn() *VPNFeature

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 FileObservation added in v1.10.0

type FileObservation struct {
	Path            string  `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`            // absolute, clean
	Exists          *bool   `protobuf:"varint,2,opt,name=exists,proto3,oneof" json:"exists,omitempty"` // true: exists; false: absent (then no other expectation)
	ContentContains *string `protobuf:"bytes,3,opt,name=content_contains,json=contentContains,proto3,oneof" json:"content_contains,omitempty"`
	ContentMatches  *string `protobuf:"bytes,4,opt,name=content_matches,json=contentMatches,proto3,oneof" json:"content_matches,omitempty"` // RE2 regular expression
	Mode            *uint32 `protobuf:"varint,5,opt,name=mode,proto3,oneof" json:"mode,omitempty"`                                          // permission bits
	Owner           *string `protobuf:"bytes,6,opt,name=owner,proto3,oneof" json:"owner,omitempty"`
	Group           *string `protobuf:"bytes,7,opt,name=group,proto3,oneof" json:"group,omitempty"`
	Type            *string `protobuf:"bytes,8,opt,name=type,proto3,oneof" json:"type,omitempty"`         // file | directory | symlink (what the path itself is)
	Checksum        *string `protobuf:"bytes,9,opt,name=checksum,proto3,oneof" json:"checksum,omitempty"` // sha256 of the content, 64 lower-case hex characters; a regular file of at most 256 KiB
	// contains filtered or unexported fields
}

FileObservation reads a file of the device; every expectation is optional, at least one is required.

func (*FileObservation) Descriptor deprecated added in v1.10.0

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

Deprecated: Use FileObservation.ProtoReflect.Descriptor instead.

func (*FileObservation) GetChecksum added in v1.10.0

func (x *FileObservation) GetChecksum() string

func (*FileObservation) GetContentContains added in v1.10.0

func (x *FileObservation) GetContentContains() string

func (*FileObservation) GetContentMatches added in v1.10.0

func (x *FileObservation) GetContentMatches() string

func (*FileObservation) GetExists added in v1.10.0

func (x *FileObservation) GetExists() bool

func (*FileObservation) GetGroup added in v1.10.0

func (x *FileObservation) GetGroup() string

func (*FileObservation) GetMode added in v1.10.0

func (x *FileObservation) GetMode() uint32

func (*FileObservation) GetOwner added in v1.10.0

func (x *FileObservation) GetOwner() string

func (*FileObservation) GetPath added in v1.10.0

func (x *FileObservation) GetPath() string

func (*FileObservation) GetType added in v1.10.0

func (x *FileObservation) GetType() string

func (*FileObservation) ProtoMessage added in v1.10.0

func (*FileObservation) ProtoMessage()

func (*FileObservation) ProtoReflect added in v1.10.0

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

func (*FileObservation) Reset added in v1.10.0

func (x *FileObservation) Reset()

func (*FileObservation) String added in v1.10.0

func (x *FileObservation) String() string

type GetLabGroupActivityRequest added in v1.10.0

type GetLabGroupActivityRequest struct {
	LabGroupName string `protobuf:"bytes,1,opt,name=lab_group_name,json=labGroupName,proto3" json:"lab_group_name,omitempty"`
	// Empty: from the oldest event the laboratory still keeps. Otherwise next_cursor of an earlier response, unchanged.
	Cursor string `protobuf:"bytes,2,opt,name=cursor,proto3" json:"cursor,omitempty"`
	// At most this many events (default 1000, at most 5000).
	Limit int32 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"`
	// Only these kinds (empty: all).
	Kinds []ActivityKind `protobuf:"varint,4,rep,packed,name=kinds,proto3,enum=labmanager.ActivityKind" json:"kinds,omitempty"`
	// contains filtered or unexported fields
}

func (*GetLabGroupActivityRequest) Descriptor deprecated added in v1.10.0

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

Deprecated: Use GetLabGroupActivityRequest.ProtoReflect.Descriptor instead.

func (*GetLabGroupActivityRequest) GetCursor added in v1.10.0

func (x *GetLabGroupActivityRequest) GetCursor() string

func (*GetLabGroupActivityRequest) GetKinds added in v1.10.0

func (x *GetLabGroupActivityRequest) GetKinds() []ActivityKind

func (*GetLabGroupActivityRequest) GetLabGroupName added in v1.10.0

func (x *GetLabGroupActivityRequest) GetLabGroupName() string

func (*GetLabGroupActivityRequest) GetLimit added in v1.10.0

func (x *GetLabGroupActivityRequest) GetLimit() int32

func (*GetLabGroupActivityRequest) ProtoMessage added in v1.10.0

func (*GetLabGroupActivityRequest) ProtoMessage()

func (*GetLabGroupActivityRequest) ProtoReflect added in v1.10.0

func (*GetLabGroupActivityRequest) Reset added in v1.10.0

func (x *GetLabGroupActivityRequest) Reset()

func (*GetLabGroupActivityRequest) String added in v1.10.0

func (x *GetLabGroupActivityRequest) String() string

type GetLabGroupActivityResponse added in v1.10.0

type GetLabGroupActivityResponse struct {

	// In time order; events of one writer keep their order.
	Events []*ActivityEvent `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"`
	// Pass it back to get the events after these. It is given even when events is empty.
	NextCursor string `protobuf:"bytes,2,opt,name=next_cursor,json=nextCursor,proto3" json:"next_cursor,omitempty"`
	// More events are waiting: call again at once.
	HasMore bool `protobuf:"varint,3,opt,name=has_more,json=hasMore,proto3" json:"has_more,omitempty"`
	// The laboratory dropped events the cursor had not reached (a ring was full or too old): totals built from the events are a lower bound.
	Gap bool `protobuf:"varint,4,opt,name=gap,proto3" json:"gap,omitempty"`
	// contains filtered or unexported fields
}

func (*GetLabGroupActivityResponse) Descriptor deprecated added in v1.10.0

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

Deprecated: Use GetLabGroupActivityResponse.ProtoReflect.Descriptor instead.

func (*GetLabGroupActivityResponse) GetEvents added in v1.10.0

func (x *GetLabGroupActivityResponse) GetEvents() []*ActivityEvent

func (*GetLabGroupActivityResponse) GetGap added in v1.10.0

func (x *GetLabGroupActivityResponse) GetGap() bool

func (*GetLabGroupActivityResponse) GetHasMore added in v1.10.0

func (x *GetLabGroupActivityResponse) GetHasMore() bool

func (*GetLabGroupActivityResponse) GetNextCursor added in v1.10.0

func (x *GetLabGroupActivityResponse) GetNextCursor() string

func (*GetLabGroupActivityResponse) ProtoMessage added in v1.10.0

func (*GetLabGroupActivityResponse) ProtoMessage()

func (*GetLabGroupActivityResponse) ProtoReflect added in v1.10.0

func (*GetLabGroupActivityResponse) Reset added in v1.10.0

func (x *GetLabGroupActivityResponse) Reset()

func (*GetLabGroupActivityResponse) String added in v1.10.0

func (x *GetLabGroupActivityResponse) 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 GroupLimitsFeature added in v1.8.0

type GroupLimitsFeature struct {
	MaxUsers     int32 `protobuf:"varint,1,opt,name=max_users,json=maxUsers,proto3" json:"max_users,omitempty"`
	MaxLabs      int32 `protobuf:"varint,2,opt,name=max_labs,json=maxLabs,proto3" json:"max_labs,omitempty"`
	DefaultUsers int32 `protobuf:"varint,3,opt,name=default_users,json=defaultUsers,proto3" json:"default_users,omitempty"`
	DefaultLabs  int32 `protobuf:"varint,4,opt,name=default_labs,json=defaultLabs,proto3" json:"default_labs,omitempty"`
	// contains filtered or unexported fields
}

The limits on the groups of this cluster (the chart's groupLimits): the most users and labs a group may be made for, and the counts a group gets when its item sets none.

func (*GroupLimitsFeature) Descriptor deprecated added in v1.8.0

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

Deprecated: Use GroupLimitsFeature.ProtoReflect.Descriptor instead.

func (*GroupLimitsFeature) GetDefaultLabs added in v1.8.0

func (x *GroupLimitsFeature) GetDefaultLabs() int32

func (*GroupLimitsFeature) GetDefaultUsers added in v1.8.0

func (x *GroupLimitsFeature) GetDefaultUsers() int32

func (*GroupLimitsFeature) GetMaxLabs added in v1.8.0

func (x *GroupLimitsFeature) GetMaxLabs() int32

func (*GroupLimitsFeature) GetMaxUsers added in v1.8.0

func (x *GroupLimitsFeature) GetMaxUsers() int32

func (*GroupLimitsFeature) ProtoMessage added in v1.8.0

func (*GroupLimitsFeature) ProtoMessage()

func (*GroupLimitsFeature) ProtoReflect added in v1.8.0

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

func (*GroupLimitsFeature) Reset added in v1.8.0

func (x *GroupLimitsFeature) Reset()

func (*GroupLimitsFeature) String added in v1.8.0

func (x *GroupLimitsFeature) 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; an image of another registry is refused (there is no direct pull).
	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 InternetEgress added in v1.10.0

type InternetEgress struct {
	SourceAddress string `protobuf:"bytes,2,opt,name=source_address,json=sourceAddress,proto3" json:"source_address,omitempty"`
	DstAddress    string `protobuf:"bytes,3,opt,name=dst_address,json=dstAddress,proto3" json:"dst_address,omitempty"`
	DstPort       int32  `protobuf:"varint,4,opt,name=dst_port,json=dstPort,proto3" json:"dst_port,omitempty"`
	Protocol      string `protobuf:"bytes,5,opt,name=protocol,proto3" json:"protocol,omitempty"`                     // tcp
	BytesUp       int64  `protobuf:"varint,6,opt,name=bytes_up,json=bytesUp,proto3" json:"bytes_up,omitempty"`       // from the lab
	BytesDown     int64  `protobuf:"varint,7,opt,name=bytes_down,json=bytesDown,proto3" json:"bytes_down,omitempty"` // to the lab
	FirstSeenMs   int64  `protobuf:"varint,8,opt,name=first_seen_ms,json=firstSeenMs,proto3" json:"first_seen_ms,omitempty"`
	LastSeenMs    int64  `protobuf:"varint,9,opt,name=last_seen_ms,json=lastSeenMs,proto3" json:"last_seen_ms,omitempty"`
	Connections   int64  `protobuf:"varint,10,opt,name=connections,proto3" json:"connections,omitempty"`
	// contains filtered or unexported fields
}

InternetEgress: the traffic of a lab to the internet through its internet gateway (the TCP the gateway proxy carries). source_address is the address the lab used. Which device owns it is for the platform to say: attribution inside a lab is best effort, because an author may set any addresses, a DHCP server may run inside the lab and routing may be complex. The fact that a lab used the internet is reliable.

func (*InternetEgress) Descriptor deprecated added in v1.10.0

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

Deprecated: Use InternetEgress.ProtoReflect.Descriptor instead.

func (*InternetEgress) GetBytesDown added in v1.10.0

func (x *InternetEgress) GetBytesDown() int64

func (*InternetEgress) GetBytesUp added in v1.10.0

func (x *InternetEgress) GetBytesUp() int64

func (*InternetEgress) GetConnections added in v1.10.0

func (x *InternetEgress) GetConnections() int64

func (*InternetEgress) GetDstAddress added in v1.10.0

func (x *InternetEgress) GetDstAddress() string

func (*InternetEgress) GetDstPort added in v1.10.0

func (x *InternetEgress) GetDstPort() int32

func (*InternetEgress) GetFirstSeenMs added in v1.10.0

func (x *InternetEgress) GetFirstSeenMs() int64

func (*InternetEgress) GetLastSeenMs added in v1.10.0

func (x *InternetEgress) GetLastSeenMs() int64

func (*InternetEgress) GetProtocol added in v1.10.0

func (x *InternetEgress) GetProtocol() string

func (*InternetEgress) GetSourceAddress added in v1.10.0

func (x *InternetEgress) GetSourceAddress() string

func (*InternetEgress) ProtoMessage added in v1.10.0

func (*InternetEgress) ProtoMessage()

func (*InternetEgress) ProtoReflect added in v1.10.0

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

func (*InternetEgress) Reset added in v1.10.0

func (x *InternetEgress) Reset()

func (*InternetEgress) String added in v1.10.0

func (x *InternetEgress) String() string

type InternetFeature added in v1.10.0

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

The internet gateway of the laboratory (chart inetGateway.enabled; contract 2.8). When enabled is false there is no gateway pod, and a lab with an Internet gateway and a group's internet_enabled true are refused (reason INTERNET_UNAVAILABLE). Absent (the whole message) = an agent older than the field: it runs one.

func (*InternetFeature) Descriptor deprecated added in v1.10.0

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

Deprecated: Use InternetFeature.ProtoReflect.Descriptor instead.

func (*InternetFeature) GetEnabled added in v1.10.0

func (x *InternetFeature) GetEnabled() bool

func (*InternetFeature) ProtoMessage added in v1.10.0

func (*InternetFeature) ProtoMessage()

func (*InternetFeature) ProtoReflect added in v1.10.0

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

func (*InternetFeature) Reset added in v1.10.0

func (x *InternetFeature) Reset()

func (*InternetFeature) String added in v1.10.0

func (x *InternetFeature) 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"`
	// A machine code for a FAILED item, when the failure has one: RESERVATION_REQUIRED | RESERVATION_NOT_FOUND |
	// RESERVATION_ENDED | RESERVATION_FULL | RESERVATION_MISMATCH | OVER_QUOTA | COOLDOWN. Empty otherwise (error is the text).
	Reason string `protobuf:"bytes,5,opt,name=reason,proto3" json:"reason,omitempty"`
	// Set by CreateLabGroups for an item that was created or exists: the sizes assigned to the group's own pods (from expected_users /
	// expected_labs, the defaults, or the sizes sent), so the caller sees what the counts became.
	VpnSize     *PodSize `protobuf:"bytes,6,opt,name=vpn_size,json=vpnSize,proto3" json:"vpn_size,omitempty"`
	GatewaySize *PodSize `protobuf:"bytes,7,opt,name=gateway_size,json=gatewaySize,proto3" json:"gateway_size,omitempty"`
	// The least time to wait before the same call can succeed, for a FAILED item whose failure is a wait (reason COOLDOWN: RunChecks inside the
	// cooldown between manual runs of a lab). The same value is the retry_delay of a google.rpc.RetryInfo detail of the status the call raised
	// inside the agent, so a caller reads a number and parses no text. Unset otherwise.
	RetryAfter *durationpb.Duration `protobuf:"bytes,8,opt,name=retry_after,json=retryAfter,proto3" json:"retry_after,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) GetGatewaySize added in v1.8.0

func (x *ItemResult) GetGatewaySize() *PodSize

func (*ItemResult) GetReason added in v1.6.0

func (x *ItemResult) GetReason() string

func (*ItemResult) GetRef

func (x *ItemResult) GetRef() *ItemRef

func (*ItemResult) GetRetryAfter added in v1.10.0

func (x *ItemResult) GetRetryAfter() *durationpb.Duration

func (*ItemResult) GetRetryable

func (x *ItemResult) GetRetryable() bool

func (*ItemResult) GetState

func (x *ItemResult) GetState() ItemState

func (*ItemResult) GetVpnSize added in v1.8.0

func (x *ItemResult) GetVpnSize() *PodSize

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 KernelParamObservation added in v1.10.0

type KernelParamObservation struct {
	Name    string  `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // with dots, e.g. net.ipv4.ip_forward
	Equals  *string `protobuf:"bytes,2,opt,name=equals,proto3,oneof" json:"equals,omitempty"`
	Matches *string `protobuf:"bytes,3,opt,name=matches,proto3,oneof" json:"matches,omitempty"` // RE2 regular expression
	// contains filtered or unexported fields
}

KernelParamObservation: the value of a sysctl; at least one of equals and matches.

func (*KernelParamObservation) Descriptor deprecated added in v1.10.0

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

Deprecated: Use KernelParamObservation.ProtoReflect.Descriptor instead.

func (*KernelParamObservation) GetEquals added in v1.10.0

func (x *KernelParamObservation) GetEquals() string

func (*KernelParamObservation) GetMatches added in v1.10.0

func (x *KernelParamObservation) GetMatches() string

func (*KernelParamObservation) GetName added in v1.10.0

func (x *KernelParamObservation) GetName() string

func (*KernelParamObservation) ProtoMessage added in v1.10.0

func (*KernelParamObservation) ProtoMessage()

func (*KernelParamObservation) ProtoReflect added in v1.10.0

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

func (*KernelParamObservation) Reset added in v1.10.0

func (x *KernelParamObservation) Reset()

func (*KernelParamObservation) String added in v1.10.0

func (x *KernelParamObservation) String() string

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
	// The reservation the lab runs under, as given; empty = unreserved.
	ReservationId string `protobuf:"bytes,16,opt,name=reservation_id,json=reservationId,proto3" json:"reservation_id,omitempty"`
	// 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) GetReservationId added in v1.6.0

func (x *Lab) GetReservationId() 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
}

protocol is http or https for a web port. protocol "terminal" (contract 1.5) is the browser terminal of the device: port 0, and url is the host of its console, https://<device>-<code>t.<endpoints.labs_domain>. Every access host is one label <device>-<code><kind>; the last character is the kind of access (w web, t console, v vnc, r rdp), which is the lab's private encoding: a caller never parses the host, it takes the link and its kind from this entry (protocol + url). url is empty until the device has its code; no link is built by the caller.

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"`
	// Attach only, as LabGroupChanges.reservation_id: the lab's spec and pods are untouched.
	ReservationId *string `protobuf:"bytes,3,opt,name=reservation_id,json=reservationId,proto3,oneof" json:"reservation_id,omitempty"`
	// Rewrite the bootstrap Secret of every listed device with exactly this list (an empty list removes it). Only a device that
	// had a bootstrap at creation (spec.devices[].bootstrap.enabled) can have one rewritten.
	Bootstrap []*DeviceBootstrap `protobuf:"bytes,4,rep,name=bootstrap,proto3" json:"bootstrap,omitempty"`
	// Rewrite the checks Secret of the lab with exactly these checks (the whole set). Only a lab that had checks at creation can be
	// rewritten, and the ids, devices and manual_run flags must stay the same (the CR spec does not change); the expected values,
	// parts, mode, schedule and time limit may change.
	Checks *LabChecks `protobuf:"bytes,5,opt,name=checks,proto3" json:"checks,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) GetBootstrap added in v1.10.0

func (x *LabChanges) GetBootstrap() []*DeviceBootstrap

func (*LabChanges) GetChecks added in v1.10.0

func (x *LabChanges) GetChecks() *LabChecks

func (*LabChanges) GetEnv

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

func (*LabChanges) GetLabels

func (x *LabChanges) GetLabels() *LabelChanges

func (*LabChanges) GetReservationId added in v1.6.0

func (x *LabChanges) GetReservationId() string

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 LabChecks added in v1.10.0

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

LabChecks is the complete set of checks of a lab. Secret material (it holds expected values): stored in the Secret <lab>-checks (key checks.json), never put on a CR or returned. The CR spec only lists the ids, devices and manual-run flags.

func (*LabChecks) Descriptor deprecated added in v1.10.0

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

Deprecated: Use LabChecks.ProtoReflect.Descriptor instead.

func (*LabChecks) GetItems added in v1.10.0

func (x *LabChecks) GetItems() []*Check

func (*LabChecks) ProtoMessage added in v1.10.0

func (*LabChecks) ProtoMessage()

func (*LabChecks) ProtoReflect added in v1.10.0

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

func (*LabChecks) Reset added in v1.10.0

func (x *LabChecks) Reset()

func (*LabChecks) String added in v1.10.0

func (x *LabChecks) 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"`
	// CPU throttling: the share of the CFS periods in which the device container hit its CPU limit and had to wait, over the last
	// cpu_throttle_window_seconds (at most five minutes), in steps of 10. Above 50 the device is starved by its limit. Both are
	// 0 when there is no data (the pod has not run long enough, or is not throttled).
	CpuThrottledPercent      int32 `protobuf:"varint,13,opt,name=cpu_throttled_percent,json=cpuThrottledPercent,proto3" json:"cpu_throttled_percent,omitempty"`
	CpuThrottleWindowSeconds int32 `` /* 139-byte string literal not displayed */
	// Why the device container last restarted in place (the kubelet's last termination of a container: OOMKilled, Error, ...) and
	// when. Empty / 0 when it never restarted. restart_count counts the restarts; only the device restarts, never the lab.
	LastRestartReason string `protobuf:"bytes,15,opt,name=last_restart_reason,json=lastRestartReason,proto3" json:"last_restart_reason,omitempty"`
	LastRestartUnixMs int64  `protobuf:"varint,16,opt,name=last_restart_unix_ms,json=lastRestartUnixMs,proto3" json:"last_restart_unix_ms,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"`
	// The bootstrap of the device (contract 1.5); absent for a device without one.
	Bootstrap *BootstrapStatus `protobuf:"bytes,32,opt,name=bootstrap,proto3" json:"bootstrap,omitempty"`
	// contains filtered or unexported fields
}

func (*LabDeviceStatus) Descriptor deprecated

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

Deprecated: Use LabDeviceStatus.ProtoReflect.Descriptor instead.

func (*LabDeviceStatus) GetBootstrap added in v1.10.0

func (x *LabDeviceStatus) GetBootstrap() *BootstrapStatus

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) GetCpuThrottleWindowSeconds added in v1.7.0

func (x *LabDeviceStatus) GetCpuThrottleWindowSeconds() int32

func (*LabDeviceStatus) GetCpuThrottledPercent added in v1.7.0

func (x *LabDeviceStatus) GetCpuThrottledPercent() int32

func (*LabDeviceStatus) GetLastRestartReason added in v1.8.0

func (x *LabDeviceStatus) GetLastRestartReason() string

func (*LabDeviceStatus) GetLastRestartUnixMs added in v1.8.0

func (x *LabDeviceStatus) GetLastRestartUnixMs() 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 LabGatewayStatus added in v1.10.0

type LabGatewayStatus struct {
	Name  string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Kind  string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"` // "vpn" or "internet"
	Cidr  string `protobuf:"bytes,3,opt,name=cidr,proto3" json:"cidr,omitempty"` // the /24 of the gateway; empty until it has one
	Ready bool   `protobuf:"varint,4,opt,name=ready,proto3" json:"ready,omitempty"`
	// vpn gateways only: true only when the VPN gateway of the lab's group has confirmed that it blocks connections the lab's devices start
	// towards VPN clients (reverse_connections of the gateway is false and the gateway program enforces it). False in every other case: the
	// switch is on, or the group's VPN pod still runs an older program or has not applied the gateway yet.
	LabInitiatedBlocked bool `protobuf:"varint,5,opt,name=lab_initiated_blocked,json=labInitiatedBlocked,proto3" json:"lab_initiated_blocked,omitempty"`
	// contains filtered or unexported fields
}

LabGatewayStatus is the state of one gateway of a lab: a VPN entry or an Internet exit.

func (*LabGatewayStatus) Descriptor deprecated added in v1.10.0

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

Deprecated: Use LabGatewayStatus.ProtoReflect.Descriptor instead.

func (*LabGatewayStatus) GetCidr added in v1.10.0

func (x *LabGatewayStatus) GetCidr() string

func (*LabGatewayStatus) GetKind added in v1.10.0

func (x *LabGatewayStatus) GetKind() string

func (*LabGatewayStatus) GetLabInitiatedBlocked added in v1.10.0

func (x *LabGatewayStatus) GetLabInitiatedBlocked() bool

func (*LabGatewayStatus) GetName added in v1.10.0

func (x *LabGatewayStatus) GetName() string

func (*LabGatewayStatus) GetReady added in v1.10.0

func (x *LabGatewayStatus) GetReady() bool

func (*LabGatewayStatus) ProtoMessage added in v1.10.0

func (*LabGatewayStatus) ProtoMessage()

func (*LabGatewayStatus) ProtoReflect added in v1.10.0

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

func (*LabGatewayStatus) Reset added in v1.10.0

func (x *LabGatewayStatus) Reset()

func (*LabGatewayStatus) String added in v1.10.0

func (x *LabGatewayStatus) 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"`
	// The reservation the group runs under, as given; empty = unreserved.
	ReservationId string `protobuf:"bytes,19,opt,name=reservation_id,json=reservationId,proto3" json:"reservation_id,omitempty"`
	// The switches of the group's servers as they are now (contract 2.7; a group that predates them reports both on): a server that is off
	// has no pod, no entry in status.pods, and for the VPN no vpn_registered and no current_vpn_boot_*. The group is Ready (status.phase)
	// without a VPN server when its VPN is off.
	VpnEnabled      bool `protobuf:"varint,20,opt,name=vpn_enabled,json=vpnEnabled,proto3" json:"vpn_enabled,omitempty"`
	InternetEnabled bool `protobuf:"varint,21,opt,name=internet_enabled,json=internetEnabled,proto3" json:"internet_enabled,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) GetInternetEnabled added in v1.10.0

func (x *LabGroup) GetInternetEnabled() bool

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) GetReservationId added in v1.6.0

func (x *LabGroup) GetReservationId() string

func (*LabGroup) GetStatus

func (x *LabGroup) GetStatus() *LabGroupStatus

func (*LabGroup) GetUid added in v1.1.0

func (x *LabGroup) GetUid() string

func (*LabGroup) GetVpnEnabled added in v1.10.0

func (x *LabGroup) GetVpnEnabled() bool

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 (a deny rule only: an allow rule must name its laboratories).
	LabNames []string `protobuf:"bytes,3,rep,name=lab_names,json=labNames,proto3" json:"lab_names,omitempty"`
	// The VPN gateways (connectors) of those laboratories, by the name in the lab's spec.gateways (contract 2.4). An allow rule must name them: access is per
	// client and per connector, never per whole laboratory. A deny rule with none means every VPN gateway.
	GatewayNames []string `protobuf:"bytes,4,rep,name=gateway_names,json=gatewayNames,proto3" json:"gateway_names,omitempty"`
	// Allow only: narrows the access to these subnets of each named gateway's /24 (the union). Empty means the whole /24.
	Include []*AccessInclude `protobuf:"bytes,5,rep,name=include,proto3" json:"include,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) GetGatewayNames added in v1.10.0

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

func (*LabGroupAccessRule) GetInclude added in v1.10.0

func (x *LabGroupAccessRule) GetInclude() []*AccessInclude

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"`
	// The connectors of the lab the row covers (contract 2.4); the counters are the client's in the lab, over all of them.
	GatewayNames []string `protobuf:"bytes,7,rep,name=gateway_names,json=gatewayNames,proto3" json:"gateway_names,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) GetGatewayNames added in v1.10.0

func (x *LabGroupAccessRuleStatistics) GetGatewayNames() []string

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"`
	// The old VPN switch; see LabGroupItem.vpn_disabled. vpn_enabled wins when both are sent.
	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 */
	// The switches of the group's servers (contract 2.7). Turning one OFF while a lab of the group uses it (a lab with a VPN gateway for
	// the VPN, an Internet gateway for the internet) is refused with GROUP_SERVER_IN_USE and nothing changes; turning one on makes its
	// pod. Turning the VPN off does not delete the group's clients (they stay, unserved, and the VPN comes back with the switch).
	VpnEnabled      *bool `protobuf:"varint,6,opt,name=vpn_enabled,json=vpnEnabled,proto3,oneof" json:"vpn_enabled,omitempty"`
	InternetEnabled *bool `protobuf:"varint,7,opt,name=internet_enabled,json=internetEnabled,proto3,oneof" json:"internet_enabled,omitempty"`
	// Attach only: puts a group that runs under no reservation under this one (same tenant, not ended). No fit check
	// (running work is never refused) and only the label changes. Another id on a group that has one is
	// RESERVATION_MISMATCH; the same id is a no-op.
	ReservationId *string `protobuf:"bytes,5,opt,name=reservation_id,json=reservationId,proto3,oneof" json:"reservation_id,omitempty"`
	// contains filtered or unexported fields
}

func (*LabGroupChanges) Descriptor deprecated

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

Deprecated: Use LabGroupChanges.ProtoReflect.Descriptor instead.

func (*LabGroupChanges) GetInternetEnabled added in v1.10.0

func (x *LabGroupChanges) GetInternetEnabled() bool

func (*LabGroupChanges) GetLabels

func (x *LabGroupChanges) GetLabels() *LabelChanges

func (*LabGroupChanges) GetProbeWhileSuspended

func (x *LabGroupChanges) GetProbeWhileSuspended() bool

func (*LabGroupChanges) GetReservationId added in v1.6.0

func (x *LabGroupChanges) GetReservationId() string

func (*LabGroupChanges) GetSuspended

func (x *LabGroupChanges) GetSuspended() bool

func (*LabGroupChanges) GetVpnDisabled

func (x *LabGroupChanges) GetVpnDisabled() bool

func (*LabGroupChanges) GetVpnEnabled added in v1.10.0

func (x *LabGroupChanges) GetVpnEnabled() 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"`
	// The old VPN switch (true = no VPN server). Deprecated: send vpn_enabled. Still honoured: true means vpn_enabled false (and sending
	// vpn_disabled true together with vpn_enabled true is InvalidArgument); false means nothing.
	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 switches of the group's two servers (contract 2.7). The pod of a server exists only while its switch is on, so a group that needs
	// no VPN and no internet costs neither pod. A lab with a VPN gateway, and a LabGroupClient, are refused (reason GROUP_VPN_OFF) in a group
	// whose VPN is off; a lab with an Internet gateway is refused (GROUP_INTERNET_OFF) in a group whose internet is off. An item that sets
	// NEITHER field is the old shape (a caller made before contract 2.7): the VPN follows vpn_disabled (on unless true) and the gateway is
	// on. An item that sets EITHER field gets the explicit meaning: the one left unset is OFF, so a platform that always sends both decides
	// what a group costs. A group made before these fields keeps both servers (an absent switch on the object means on) and reports them on.
	VpnEnabled      *bool `protobuf:"varint,13,opt,name=vpn_enabled,json=vpnEnabled,proto3,oneof" json:"vpn_enabled,omitempty"`
	InternetEnabled *bool `protobuf:"varint,14,opt,name=internet_enabled,json=internetEnabled,proto3,oneof" json:"internet_enabled,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"`
	// The simple way to size the group's own pods: how many VPN users and how many labs (at the same time) the group is made for. The
	// agent computes the sizes (formulas in code, from measurements) and the pods are created at exactly that size and not changed;
	// more than expected still works, within the margin of the formula. Over the maximum (FeaturesResponse.group_limits) the item is
	// refused (InvalidArgument). Setting either one means the counts are used (the sizes above are then ignored); a group that sets
	// neither count nor size gets the default counts (group_limits.default_users, default_labs). Only vpn_size / gateway_size
	// (and no count): the old behaviour, as before.
	ExpectedUsers int32 `protobuf:"varint,11,opt,name=expected_users,json=expectedUsers,proto3" json:"expected_users,omitempty"`
	ExpectedLabs  int32 `protobuf:"varint,12,opt,name=expected_labs,json=expectedLabs,proto3" json:"expected_labs,omitempty"`
	// The reservation the group runs under (its id as given to CreateReservations); required. The group's own pods (VPN,
	// gateway) count against it. The agent writes the reserved label laboratory.cybericebox.com/reservation from it.
	ReservationId string `protobuf:"bytes,10,opt,name=reservation_id,json=reservationId,proto3" json:"reservation_id,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) GetExpectedLabs added in v1.8.0

func (x *LabGroupItem) GetExpectedLabs() int32

func (*LabGroupItem) GetExpectedUsers added in v1.8.0

func (x *LabGroupItem) GetExpectedUsers() int32

func (*LabGroupItem) GetGatewaySize

func (x *LabGroupItem) GetGatewaySize() *PodSize

func (*LabGroupItem) GetInternetEnabled added in v1.10.0

func (x *LabGroupItem) GetInternetEnabled() bool

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) GetReservationId added in v1.6.0

func (x *LabGroupItem) GetReservationId() string

func (*LabGroupItem) GetSuspended

func (x *LabGroupItem) GetSuspended() bool

func (*LabGroupItem) GetVpnDisabled

func (x *LabGroupItem) GetVpnDisabled() bool

func (*LabGroupItem) GetVpnEnabled added in v1.10.0

func (x *LabGroupItem) GetVpnEnabled() 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"`
	// Live usage of the pod (Monitoring, ListLabGroups): CPU and memory now, the size it runs with (requests = limits) and the load
	// it serves: VPN clients of the group (vpn) or labs that use the internet (gateway). usage_available is false when the metrics
	// are not available (cpu_millicores and memory_bytes are then 0).
	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"`
	CpuLimitMillicores int64 `protobuf:"varint,6,opt,name=cpu_limit_millicores,json=cpuLimitMillicores,proto3" json:"cpu_limit_millicores,omitempty"`
	MemoryLimitBytes   int64 `protobuf:"varint,7,opt,name=memory_limit_bytes,json=memoryLimitBytes,proto3" json:"memory_limit_bytes,omitempty"`
	Units              int32 `protobuf:"varint,8,opt,name=units,proto3" json:"units,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) GetCpuLimitMillicores added in v1.8.0

func (x *LabGroupPod) GetCpuLimitMillicores() int64

func (*LabGroupPod) GetCpuMillicores added in v1.8.0

func (x *LabGroupPod) GetCpuMillicores() int64

func (*LabGroupPod) GetMemoryBytes added in v1.8.0

func (x *LabGroupPod) GetMemoryBytes() int64

func (*LabGroupPod) GetMemoryLimitBytes added in v1.8.0

func (x *LabGroupPod) GetMemoryLimitBytes() int64

func (*LabGroupPod) GetName

func (x *LabGroupPod) GetName() string

func (*LabGroupPod) GetScheduling

func (x *LabGroupPod) GetScheduling() *PodScheduling

func (*LabGroupPod) GetUnits added in v1.8.0

func (x *LabGroupPod) GetUnits() int32

func (*LabGroupPod) GetUsageAvailable added in v1.8.0

func (x *LabGroupPod) GetUsageAvailable() bool

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"`
	// The reservation the lab runs under; required, and independent of its LabGroup's (see LabGroupItem.reservation_id).
	ReservationId string `protobuf:"bytes,9,opt,name=reservation_id,json=reservationId,proto3" json:"reservation_id,omitempty"`
	// This lab's own bootstrap lists; they replace the variant's list of the same device.
	Bootstrap []*DeviceBootstrap `protobuf:"bytes,10,rep,name=bootstrap,proto3" json:"bootstrap,omitempty"`
	// This lab's own checks; when present they replace the variant's checks as a whole.
	Checks *LabChecks `protobuf:"bytes,11,opt,name=checks,proto3" json:"checks,omitempty"`
	// contains filtered or unexported fields
}

func (*LabItem) Descriptor deprecated

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

Deprecated: Use LabItem.ProtoReflect.Descriptor instead.

func (*LabItem) GetBootstrap added in v1.10.0

func (x *LabItem) GetBootstrap() []*DeviceBootstrap

func (*LabItem) GetChecks added in v1.10.0

func (x *LabItem) GetChecks() *LabChecks

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) GetReservationId added in v1.6.0

func (x *LabItem) GetReservationId() 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)
	// Reservations: cpu and memory the cluster keeps for the caller's tenant in a time window. Every LabGroup and Lab
	// runs under one: CreateLabGroups and CreateLabs require reservation_id (features.reservations.required), and an item
	// without one is FAILED with reason RESERVATION_REQUIRED. An item that does not fit the rest of its reservation is
	// FAILED with "not enough room in this reservation" and reason RESERVATION_FULL (retryable: room may come back). The
	// other refusals are RESERVATION_NOT_FOUND, RESERVATION_ENDED, RESERVATION_MISMATCH (the deploy group already runs
	// under another reservation, or an object that has one is moved) and, for the reservation calls, OVER_QUOTA (the
	// tenant's overlapping reservations would peak above its quota).
	//
	// A reservation id is any 1..64 character string, stable for the life of the reservation: extending the window or
	// changing the amount is UpdateReservations with the same id. Create with the same spec again is EXISTS, with
	// another spec FAILED. Update moves `to` and the amount at any time and `from` only while the reservation is
	// Pending; `to` must stay in the future (DeleteReservations is the way to end now). Delete removes it: the groups
	// that ran under it get the ending notice and are then deleted. N before `to` (features.reservations
	// .ending_notice_seconds) the reservation turns ENDING; at `to` everything still attached is deleted. Monitoring
	// carries every reservation of the tenant (MonitoringUpdate.reservations) and deleted keys of kind "Reservation".
	CreateReservations(ctx context.Context, in *CreateReservationsRequest, opts ...grpc.CallOption) (*BatchResult, error)
	ListReservations(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (*ReservationList, error)
	UpdateReservations(ctx context.Context, in *UpdateReservationsRequest, opts ...grpc.CallOption) (*BatchResult, error)
	DeleteReservations(ctx context.Context, in *DeleteRequest, 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)
	// RunChecks asks for a manual run of checks of labs (contract 1.5). Explicit (lab_group, lab) items; each lists the check ids to run
	// or none for every check that allows a manual run. The answer is acceptance per lab only (ITEM_STATE_UPDATED: the request was
	// recorded for the checker), never a result: results come in Monitoring (LabStatus.checks). FAILED: the lab has no checks, an id
	// is unknown or does not allow a manual run. The call answers FAILED_PRECONDITION as a whole when the laboratory has the checks
	// option off (features.checks.enabled is false). The request is recorded as the annotation
	// laboratory.cybericebox.com/run-checks on the Lab with a token that grows by one per accepted request.
	RunChecks(ctx context.Context, in *RunChecksRequest, 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)
	// GetLabGroupActivity (contract 2.5) hands the platform the RAW activity facts of one lab group since a cursor: internet egress of the
	// labs, console sessions, and the lab addresses the VPN clients reached. The laboratory aggregates and stores nothing beyond a short
	// ring (FeaturesResponse.activity: at most max_events events and ring_minutes minutes per writer); the platform pulls about once a
	// minute and aggregates. These are data handed only to your own platform through this call; the laboratory sends nothing anywhere by
	// itself. FailedPrecondition "activity reports disabled": the cluster runs without them (FeaturesResponse.activity.enabled is false).
	// NotFound: no such group, or it belongs to another tenant. InvalidArgument: a cursor that this agent did not give.
	GetLabGroupActivity(ctx context.Context, in *GetLabGroupActivityRequest, opts ...grpc.CallOption) (*GetLabGroupActivityResponse, 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)
	// Reservations: cpu and memory the cluster keeps for the caller's tenant in a time window. Every LabGroup and Lab
	// runs under one: CreateLabGroups and CreateLabs require reservation_id (features.reservations.required), and an item
	// without one is FAILED with reason RESERVATION_REQUIRED. An item that does not fit the rest of its reservation is
	// FAILED with "not enough room in this reservation" and reason RESERVATION_FULL (retryable: room may come back). The
	// other refusals are RESERVATION_NOT_FOUND, RESERVATION_ENDED, RESERVATION_MISMATCH (the deploy group already runs
	// under another reservation, or an object that has one is moved) and, for the reservation calls, OVER_QUOTA (the
	// tenant's overlapping reservations would peak above its quota).
	//
	// A reservation id is any 1..64 character string, stable for the life of the reservation: extending the window or
	// changing the amount is UpdateReservations with the same id. Create with the same spec again is EXISTS, with
	// another spec FAILED. Update moves `to` and the amount at any time and `from` only while the reservation is
	// Pending; `to` must stay in the future (DeleteReservations is the way to end now). Delete removes it: the groups
	// that ran under it get the ending notice and are then deleted. N before `to` (features.reservations
	// .ending_notice_seconds) the reservation turns ENDING; at `to` everything still attached is deleted. Monitoring
	// carries every reservation of the tenant (MonitoringUpdate.reservations) and deleted keys of kind "Reservation".
	CreateReservations(context.Context, *CreateReservationsRequest) (*BatchResult, error)
	ListReservations(context.Context, *ListRequest) (*ReservationList, error)
	UpdateReservations(context.Context, *UpdateReservationsRequest) (*BatchResult, error)
	DeleteReservations(context.Context, *DeleteRequest) (*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)
	// RunChecks asks for a manual run of checks of labs (contract 1.5). Explicit (lab_group, lab) items; each lists the check ids to run
	// or none for every check that allows a manual run. The answer is acceptance per lab only (ITEM_STATE_UPDATED: the request was
	// recorded for the checker), never a result: results come in Monitoring (LabStatus.checks). FAILED: the lab has no checks, an id
	// is unknown or does not allow a manual run. The call answers FAILED_PRECONDITION as a whole when the laboratory has the checks
	// option off (features.checks.enabled is false). The request is recorded as the annotation
	// laboratory.cybericebox.com/run-checks on the Lab with a token that grows by one per accepted request.
	RunChecks(context.Context, *RunChecksRequest) (*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
	// GetLabGroupActivity (contract 2.5) hands the platform the RAW activity facts of one lab group since a cursor: internet egress of the
	// labs, console sessions, and the lab addresses the VPN clients reached. The laboratory aggregates and stores nothing beyond a short
	// ring (FeaturesResponse.activity: at most max_events events and ring_minutes minutes per writer); the platform pulls about once a
	// minute and aggregates. These are data handed only to your own platform through this call; the laboratory sends nothing anywhere by
	// itself. FailedPrecondition "activity reports disabled": the cluster runs without them (FeaturesResponse.activity.enabled is false).
	// NotFound: no such group, or it belongs to another tenant. InvalidArgument: a cursor that this agent did not give.
	GetLabGroupActivity(context.Context, *GetLabGroupActivityRequest) (*GetLabGroupActivityResponse, 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"`
	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)
	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"`
	// The results of the lab checks (contract 1.5), one entry per check that has a result.
	Checks []*CheckResult `protobuf:"bytes,44,rep,name=checks,proto3" json:"checks,omitempty"`
	// The RunChecks token the checker has taken (the annotation token it has seen).
	ChecksRunAck int64 `protobuf:"varint,45,opt,name=checks_run_ack,json=checksRunAck,proto3" json:"checks_run_ack,omitempty"`
	// The gateways of the lab (contract 2.0), one entry per entry of spec.gateways, in spec order.
	Gateways []*LabGatewayStatus `protobuf:"bytes,47,rep,name=gateways,proto3" json:"gateways,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) GetChecks added in v1.10.0

func (x *LabStatus) GetChecks() []*CheckResult

func (*LabStatus) GetChecksRunAck added in v1.10.0

func (x *LabStatus) GetChecksRunAck() int64

func (*LabStatus) GetConnections

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

func (*LabStatus) GetDevices

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

func (*LabStatus) GetGateways added in v1.10.0

func (x *LabStatus) GetGateways() []*LabGatewayStatus

func (*LabStatus) GetImageWarning

func (x *LabStatus) GetImageWarning() string

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) 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 (contract 2.2: devices[].internet, allow|deny)
	Env       []*DeviceEnv `protobuf:"bytes,3,rep,name=env,proto3" json:"env,omitempty"`                           // variables common to every lab of the variant
	// Pull credentials for the variant's private images (at most 8, one per registry host).
	// The agent stores them in a per-lab dockerconfigjson Secret and sets
	// Lab.spec.imagePullSecret to it; any imagePullSecret in spec_json is ignored. They
	// are write-only: never returned, logged or put in a status.
	RegistryCredentials []*RegistryCredential `protobuf:"bytes,4,rep,name=registry_credentials,json=registryCredentials,proto3" json:"registry_credentials,omitempty"`
	// Bootstrap lists of the devices, common to every lab of the variant (contract 1.5). Secret material, like env: stored in the
	// per-device Secret <device>-bootstrap, never in the CR spec and never returned.
	Bootstrap []*DeviceBootstrap `protobuf:"bytes,5,rep,name=bootstrap,proto3" json:"bootstrap,omitempty"`
	// The checks of the lab, common to every lab of the variant. Presence matters: an item's own `checks` replaces the variant's.
	Checks *LabChecks `protobuf:"bytes,6,opt,name=checks,proto3" json:"checks,omitempty"`
	// 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) GetBootstrap added in v1.10.0

func (x *LabVariant) GetBootstrap() []*DeviceBootstrap

func (*LabVariant) GetChecks added in v1.10.0

func (x *LabVariant) GetChecks() *LabChecks

func (*LabVariant) GetEnv

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

func (*LabVariant) GetRegistryCredentials added in v1.2.0

func (x *LabVariant) GetRegistryCredentials() []*RegistryCredential

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"`
	// Why a capability the cluster is configured for is false: the node-agents check their node at start and the answer is what the
	// nodes REALLY support (runtime observation: the cgroup tree and the container runtime; retained restart: persistence too). Same
	// grammar as StatePersistenceFeature.unavailable_reason, with CGROUP_V2_MISSING, RUNTIME_SOCKET_UNAVAILABLE, OBSERVATION_DISABLED and
	// NODE_UNCONFIRMED for the observation. The observation's reason wins when both fail (it holds back every capability). Empty when
	// nothing configured is held back.
	UnavailableReason string `protobuf:"bytes,6,opt,name=unavailable_reason,json=unavailableReason,proto3" json:"unavailable_reason,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) GetUnavailableReason added in v1.8.0

func (x *LifecycleFeature) GetUnavailableReason() string

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, access policy and Reservation 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"`
	// The tenant's reservations: state records like clients. The snapshot carries all of them (ended ones too, until the
	// operator removes them), deltas the ones whose spec, phase, notice, conditions or usage changed (usage at most every
	// 30 s per reservation). A removed one is a deleted key of kind "Reservation" with name = its id. The selector
	// applies to their labels as to the other kinds.
	Reservations []*Reservation `protobuf:"bytes,21,rep,name=reservations,proto3" json:"reservations,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) GetReservations added in v1.6.0

func (x *MonitoringUpdate) GetReservations() []*Reservation

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 NodeProfileCapacity added in v1.8.0

type NodeProfileCapacity struct {
	Profile               string `protobuf:"bytes,1,opt,name=profile,proto3" json:"profile,omitempty"`                                  // "container" | "microvm"
	AvailableNow          bool   `protobuf:"varint,2,opt,name=available_now,json=availableNow,proto3" json:"available_now,omitempty"`   // a running, schedulable node can run it
	ScaleUpKnown          bool   `protobuf:"varint,3,opt,name=scale_up_known,json=scaleUpKnown,proto3" json:"scale_up_known,omitempty"` // the chart told which profiles its autoscaler node groups can add
	AvailableAfterScaleUp bool   ``                                                                                                     // meaningful only with scale_up_known
	/* 129-byte string literal not displayed */
	OverheadCpuMillicores int64 `` // added to every pod of the profile (RuntimeClass overhead); 0 for container
	/* 127-byte string literal not displayed */
	OverheadMemoryBytes int64 `protobuf:"varint,6,opt,name=overhead_memory_bytes,json=overheadMemoryBytes,proto3" json:"overhead_memory_bytes,omitempty"`
	// contains filtered or unexported fields
}

One device profile as the nodes of this laboratory can run it. No node names or counts: the cluster layout stays private.

func (*NodeProfileCapacity) Descriptor deprecated added in v1.8.0

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

Deprecated: Use NodeProfileCapacity.ProtoReflect.Descriptor instead.

func (*NodeProfileCapacity) GetAvailableAfterScaleUp added in v1.8.0

func (x *NodeProfileCapacity) GetAvailableAfterScaleUp() bool

func (*NodeProfileCapacity) GetAvailableNow added in v1.8.0

func (x *NodeProfileCapacity) GetAvailableNow() bool

func (*NodeProfileCapacity) GetOverheadCpuMillicores added in v1.8.0

func (x *NodeProfileCapacity) GetOverheadCpuMillicores() int64

func (*NodeProfileCapacity) GetOverheadMemoryBytes added in v1.8.0

func (x *NodeProfileCapacity) GetOverheadMemoryBytes() int64

func (*NodeProfileCapacity) GetProfile added in v1.8.0

func (x *NodeProfileCapacity) GetProfile() string

func (*NodeProfileCapacity) GetScaleUpKnown added in v1.8.0

func (x *NodeProfileCapacity) GetScaleUpKnown() bool

func (*NodeProfileCapacity) ProtoMessage added in v1.8.0

func (*NodeProfileCapacity) ProtoMessage()

func (*NodeProfileCapacity) ProtoReflect added in v1.8.0

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

func (*NodeProfileCapacity) Reset added in v1.8.0

func (x *NodeProfileCapacity) Reset()

func (*NodeProfileCapacity) String added in v1.8.0

func (x *NodeProfileCapacity) String() string

type PermissionObservation added in v1.10.0

type PermissionObservation struct {
	User    string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	Path    string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` // absolute, clean
	Read    *bool  `protobuf:"varint,3,opt,name=read,proto3,oneof" json:"read,omitempty"`
	Write   *bool  `protobuf:"varint,4,opt,name=write,proto3,oneof" json:"write,omitempty"`
	Execute *bool  `protobuf:"varint,5,opt,name=execute,proto3,oneof" json:"execute,omitempty"`
	// contains filtered or unexported fields
}

PermissionObservation: whether a user may read, write or execute a path. Tested without changing anything. Each given boolean must equal the real answer; at least one is required.

func (*PermissionObservation) Descriptor deprecated added in v1.10.0

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

Deprecated: Use PermissionObservation.ProtoReflect.Descriptor instead.

func (*PermissionObservation) GetExecute added in v1.10.0

func (x *PermissionObservation) GetExecute() bool

func (*PermissionObservation) GetPath added in v1.10.0

func (x *PermissionObservation) GetPath() string

func (*PermissionObservation) GetRead added in v1.10.0

func (x *PermissionObservation) GetRead() bool

func (*PermissionObservation) GetUser added in v1.10.0

func (x *PermissionObservation) GetUser() string

func (*PermissionObservation) GetWrite added in v1.10.0

func (x *PermissionObservation) GetWrite() bool

func (*PermissionObservation) ProtoMessage added in v1.10.0

func (*PermissionObservation) ProtoMessage()

func (*PermissionObservation) ProtoReflect added in v1.10.0

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

func (*PermissionObservation) Reset added in v1.10.0

func (x *PermissionObservation) Reset()

func (*PermissionObservation) String added in v1.10.0

func (x *PermissionObservation) 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
	// How often in a row the pod's group was withdrawn: not every pod got a node within the node timeout. 0 after the pod was
	// Ready.
	Withdrawals int32 `protobuf:"varint,6,opt,name=withdrawals,proto3" json:"withdrawals,omitempty"`
	// When a withdrawn group may be sent again; 0 = no wait.
	RetryAfterUnixMs int64 `protobuf:"varint,7,opt,name=retry_after_unix_ms,json=retryAfterUnixMs,proto3" json:"retry_after_unix_ms,omitempty"`
	// 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) GetRetryAfterUnixMs added in v1.5.0

func (x *PodScheduling) GetRetryAfterUnixMs() int64

func (*PodScheduling) GetStartedUnixMs

func (x *PodScheduling) GetStartedUnixMs() int64

func (*PodScheduling) GetState

func (x *PodScheduling) GetState() PodState

func (*PodScheduling) GetWithdrawals added in v1.5.0

func (x *PodScheduling) GetWithdrawals() int32

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 PortObservation added in v1.10.0

type PortObservation struct {
	Port      int32   `protobuf:"varint,1,opt,name=port,proto3" json:"port,omitempty"`                 // 1..65535
	Protocol  string  `protobuf:"bytes,2,opt,name=protocol,proto3" json:"protocol,omitempty"`          // tcp (default) | udp
	Listening *bool   `protobuf:"varint,3,opt,name=listening,proto3,oneof" json:"listening,omitempty"` // default true
	Address   *string `protobuf:"bytes,4,opt,name=address,proto3,oneof" json:"address,omitempty"`      // an IP address; a listener on the wildcard also counts
	Process   *string `protobuf:"bytes,5,opt,name=process,proto3,oneof" json:"process,omitempty"`      // the listener belongs to a process of this name
	// contains filtered or unexported fields
}

PortObservation: whether something listens on a port of the device.

func (*PortObservation) Descriptor deprecated added in v1.10.0

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

Deprecated: Use PortObservation.ProtoReflect.Descriptor instead.

func (*PortObservation) GetAddress added in v1.10.0

func (x *PortObservation) GetAddress() string

func (*PortObservation) GetListening added in v1.10.0

func (x *PortObservation) GetListening() bool

func (*PortObservation) GetPort added in v1.10.0

func (x *PortObservation) GetPort() int32

func (*PortObservation) GetProcess added in v1.10.0

func (x *PortObservation) GetProcess() string

func (*PortObservation) GetProtocol added in v1.10.0

func (x *PortObservation) GetProtocol() string

func (*PortObservation) ProtoMessage added in v1.10.0

func (*PortObservation) ProtoMessage()

func (*PortObservation) ProtoReflect added in v1.10.0

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

func (*PortObservation) Reset added in v1.10.0

func (x *PortObservation) Reset()

func (*PortObservation) String added in v1.10.0

func (x *PortObservation) String() string

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"`
	// Pull credentials for private images of this request only (see LabVariant).
	RegistryCredentials []*RegistryCredential `protobuf:"bytes,2,rep,name=registry_credentials,json=registryCredentials,proto3" json:"registry_credentials,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) GetRegistryCredentials added in v1.2.0

func (x *PrewarmImagesRequest) GetRegistryCredentials() []*RegistryCredential

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 // nothing to prewarm: a platform image is in the platform registry already
)

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 ProcessObservation added in v1.10.0

type ProcessObservation struct {
	Name    *string `protobuf:"bytes,1,opt,name=name,proto3,oneof" json:"name,omitempty"`
	Matches *string `protobuf:"bytes,2,opt,name=matches,proto3,oneof" json:"matches,omitempty"` // RE2 regular expression on the command line
	User    *string `protobuf:"bytes,3,opt,name=user,proto3,oneof" json:"user,omitempty"`
	Running *bool   `protobuf:"varint,4,opt,name=running,proto3,oneof" json:"running,omitempty"` // default true; false: no such process may run
	// contains filtered or unexported fields
}

ProcessObservation: a process by name (the command without its directory) or by a regular expression on the command line; at least one of name and matches.

func (*ProcessObservation) Descriptor deprecated added in v1.10.0

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

Deprecated: Use ProcessObservation.ProtoReflect.Descriptor instead.

func (*ProcessObservation) GetMatches added in v1.10.0

func (x *ProcessObservation) GetMatches() string

func (*ProcessObservation) GetName added in v1.10.0

func (x *ProcessObservation) GetName() string

func (*ProcessObservation) GetRunning added in v1.10.0

func (x *ProcessObservation) GetRunning() bool

func (*ProcessObservation) GetUser added in v1.10.0

func (x *ProcessObservation) GetUser() string

func (*ProcessObservation) ProtoMessage added in v1.10.0

func (*ProcessObservation) ProtoMessage()

func (*ProcessObservation) ProtoReflect added in v1.10.0

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

func (*ProcessObservation) Reset added in v1.10.0

func (x *ProcessObservation) Reset()

func (*ProcessObservation) String added in v1.10.0

func (x *ProcessObservation) String() string

type ProxyFeature

type ProxyFeature struct {

	// The longest exp - iat of an access grant (the JWS the platform signs for one device host) that the L7 proxy and the
	// device-access service accept; a longer one is refused. The backend caps the exp of a grant with it. There is no
	// session on the proxy side: the grant itself is the session, so no idle or sliding limit exists.
	GrantMaxTtlSeconds int64 `protobuf:"varint,1,opt,name=grant_max_ttl_seconds,json=grantMaxTtlSeconds,proto3" json:"grant_max_ttl_seconds,omitempty"`
	// 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) GetGrantMaxTtlSeconds added in v1.10.0

func (x *ProxyFeature) GetGrantMaxTtlSeconds() 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 RegistryCredential added in v1.2.0

type RegistryCredential struct {
	Registry string `protobuf:"bytes,1,opt,name=registry,proto3" json:"registry,omitempty"` // registry host, optionally with a port ("index.docker.io", "ghcr.io"); no scheme, no path
	Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
	Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"` // a password or token; required
	// contains filtered or unexported fields
}

RegistryCredential is a pull credential for one registry host.

func (*RegistryCredential) Descriptor deprecated added in v1.2.0

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

Deprecated: Use RegistryCredential.ProtoReflect.Descriptor instead.

func (*RegistryCredential) GetPassword added in v1.2.0

func (x *RegistryCredential) GetPassword() string

func (*RegistryCredential) GetRegistry added in v1.2.0

func (x *RegistryCredential) GetRegistry() string

func (*RegistryCredential) GetUsername added in v1.2.0

func (x *RegistryCredential) GetUsername() string

func (*RegistryCredential) ProtoMessage added in v1.2.0

func (*RegistryCredential) ProtoMessage()

func (*RegistryCredential) ProtoReflect added in v1.2.0

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

func (*RegistryCredential) Reset added in v1.2.0

func (x *RegistryCredential) Reset()

func (*RegistryCredential) String added in v1.2.0

func (x *RegistryCredential) 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 RequestObservation added in v1.10.0

type RequestObservation struct {
	Protocol     string  `protobuf:"bytes,1,opt,name=protocol,proto3" json:"protocol,omitempty"`                                   // tcp | http | https
	Host         string  `protobuf:"bytes,2,opt,name=host,proto3" json:"host,omitempty"`                                           // empty = 127.0.0.1
	Port         int32   `protobuf:"varint,3,opt,name=port,proto3" json:"port,omitempty"`                                          // 1..65535
	Method       string  `protobuf:"bytes,4,opt,name=method,proto3" json:"method,omitempty"`                                       // http(s): GET (default) | HEAD
	Path         string  `protobuf:"bytes,5,opt,name=path,proto3" json:"path,omitempty"`                                           // http(s): starts with /, default /
	Status       *int32  `protobuf:"varint,6,opt,name=status,proto3,oneof" json:"status,omitempty"`                                // http(s): expected status, default 200
	BodyContains *string `protobuf:"bytes,7,opt,name=body_contains,json=bodyContains,proto3,oneof" json:"body_contains,omitempty"` // GET only
	BodyMatches  *string `protobuf:"bytes,8,opt,name=body_matches,json=bodyMatches,proto3,oneof" json:"body_matches,omitempty"`    // RE2 regular expression; GET only
	// contains filtered or unexported fields
}

RequestObservation: a connection made from inside the device by the in-device program. tcp: passed when the connection opens. http and https: GET or HEAD with the expected status and body rules; a redirect is not followed; https is not verified.

func (*RequestObservation) Descriptor deprecated added in v1.10.0

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

Deprecated: Use RequestObservation.ProtoReflect.Descriptor instead.

func (*RequestObservation) GetBodyContains added in v1.10.0

func (x *RequestObservation) GetBodyContains() string

func (*RequestObservation) GetBodyMatches added in v1.10.0

func (x *RequestObservation) GetBodyMatches() string

func (*RequestObservation) GetHost added in v1.10.0

func (x *RequestObservation) GetHost() string

func (*RequestObservation) GetMethod added in v1.10.0

func (x *RequestObservation) GetMethod() string

func (*RequestObservation) GetPath added in v1.10.0

func (x *RequestObservation) GetPath() string

func (*RequestObservation) GetPort added in v1.10.0

func (x *RequestObservation) GetPort() int32

func (*RequestObservation) GetProtocol added in v1.10.0

func (x *RequestObservation) GetProtocol() string

func (*RequestObservation) GetStatus added in v1.10.0

func (x *RequestObservation) GetStatus() int32

func (*RequestObservation) ProtoMessage added in v1.10.0

func (*RequestObservation) ProtoMessage()

func (*RequestObservation) ProtoReflect added in v1.10.0

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

func (*RequestObservation) Reset added in v1.10.0

func (x *RequestObservation) Reset()

func (*RequestObservation) String added in v1.10.0

func (x *RequestObservation) 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 Reservation added in v1.6.0

type Reservation struct {
	Id            string             `protobuf:"bytes,1,opt,name=id,proto3" json:"id,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"`
	CpuMillicores int64              `protobuf:"varint,4,opt,name=cpu_millicores,json=cpuMillicores,proto3" json:"cpu_millicores,omitempty"`
	MemoryBytes   int64              `protobuf:"varint,5,opt,name=memory_bytes,json=memoryBytes,proto3" json:"memory_bytes,omitempty"`
	Labels        map[string]string  `` /* 139-byte string literal not displayed */
	Status        *ReservationStatus `protobuf:"bytes,7,opt,name=status,proto3" json:"status,omitempty"`
	Uid           string             `protobuf:"bytes,8,opt,name=uid,proto3" json:"uid,omitempty"`
	// contains filtered or unexported fields
}

func (*Reservation) Descriptor deprecated added in v1.6.0

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

Deprecated: Use Reservation.ProtoReflect.Descriptor instead.

func (*Reservation) GetCpuMillicores added in v1.6.0

func (x *Reservation) GetCpuMillicores() int64

func (*Reservation) GetFromUnixMs added in v1.6.0

func (x *Reservation) GetFromUnixMs() int64

func (*Reservation) GetId added in v1.6.0

func (x *Reservation) GetId() string

func (*Reservation) GetLabels added in v1.6.0

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

func (*Reservation) GetMemoryBytes added in v1.6.0

func (x *Reservation) GetMemoryBytes() int64

func (*Reservation) GetStatus added in v1.6.0

func (x *Reservation) GetStatus() *ReservationStatus

func (*Reservation) GetToUnixMs added in v1.6.0

func (x *Reservation) GetToUnixMs() int64

func (*Reservation) GetUid added in v1.6.0

func (x *Reservation) GetUid() string

func (*Reservation) ProtoMessage added in v1.6.0

func (*Reservation) ProtoMessage()

func (*Reservation) ProtoReflect added in v1.6.0

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

func (*Reservation) Reset added in v1.6.0

func (x *Reservation) Reset()

func (*Reservation) String added in v1.6.0

func (x *Reservation) String() string

type ReservationChanges added in v1.6.0

type ReservationChanges struct {
	FromUnixMs    *int64        `protobuf:"varint,1,opt,name=from_unix_ms,json=fromUnixMs,proto3,oneof" json:"from_unix_ms,omitempty"` // only while the reservation is Pending
	ToUnixMs      *int64        `protobuf:"varint,2,opt,name=to_unix_ms,json=toUnixMs,proto3,oneof" json:"to_unix_ms,omitempty"`
	CpuMillicores *int64        `protobuf:"varint,3,opt,name=cpu_millicores,json=cpuMillicores,proto3,oneof" json:"cpu_millicores,omitempty"`
	MemoryBytes   *int64        `protobuf:"varint,4,opt,name=memory_bytes,json=memoryBytes,proto3,oneof" json:"memory_bytes,omitempty"`
	Labels        *LabelChanges `protobuf:"bytes,5,opt,name=labels,proto3" json:"labels,omitempty"`
	// contains filtered or unexported fields
}

ReservationChanges: unset fields stay as they are.

func (*ReservationChanges) Descriptor deprecated added in v1.6.0

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

Deprecated: Use ReservationChanges.ProtoReflect.Descriptor instead.

func (*ReservationChanges) GetCpuMillicores added in v1.6.0

func (x *ReservationChanges) GetCpuMillicores() int64

func (*ReservationChanges) GetFromUnixMs added in v1.6.0

func (x *ReservationChanges) GetFromUnixMs() int64

func (*ReservationChanges) GetLabels added in v1.6.0

func (x *ReservationChanges) GetLabels() *LabelChanges

func (*ReservationChanges) GetMemoryBytes added in v1.6.0

func (x *ReservationChanges) GetMemoryBytes() int64

func (*ReservationChanges) GetToUnixMs added in v1.6.0

func (x *ReservationChanges) GetToUnixMs() int64

func (*ReservationChanges) ProtoMessage added in v1.6.0

func (*ReservationChanges) ProtoMessage()

func (*ReservationChanges) ProtoReflect added in v1.6.0

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

func (*ReservationChanges) Reset added in v1.6.0

func (x *ReservationChanges) Reset()

func (*ReservationChanges) String added in v1.6.0

func (x *ReservationChanges) String() string

type ReservationItem added in v1.6.0

type ReservationItem struct {
	Id            string            `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // 1..64 characters, stable for the life of the reservation
	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"`              // after from and in the future; to - from at most 31 days
	CpuMillicores int64             `protobuf:"varint,4,opt,name=cpu_millicores,json=cpuMillicores,proto3" json:"cpu_millicores,omitempty"` // > 0
	MemoryBytes   int64             `protobuf:"varint,5,opt,name=memory_bytes,json=memoryBytes,proto3" json:"memory_bytes,omitempty"`       // > 0
	Labels        map[string]string ``                                                                                                      /* 139-byte string literal not displayed */
	// contains filtered or unexported fields
}

ReservationItem is a reservation to create. Labels follow the rules of the other kinds.

func (*ReservationItem) Descriptor deprecated added in v1.6.0

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

Deprecated: Use ReservationItem.ProtoReflect.Descriptor instead.

func (*ReservationItem) GetCpuMillicores added in v1.6.0

func (x *ReservationItem) GetCpuMillicores() int64

func (*ReservationItem) GetFromUnixMs added in v1.6.0

func (x *ReservationItem) GetFromUnixMs() int64

func (*ReservationItem) GetId added in v1.6.0

func (x *ReservationItem) GetId() string

func (*ReservationItem) GetLabels added in v1.6.0

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

func (*ReservationItem) GetMemoryBytes added in v1.6.0

func (x *ReservationItem) GetMemoryBytes() int64

func (*ReservationItem) GetToUnixMs added in v1.6.0

func (x *ReservationItem) GetToUnixMs() int64

func (*ReservationItem) ProtoMessage added in v1.6.0

func (*ReservationItem) ProtoMessage()

func (*ReservationItem) ProtoReflect added in v1.6.0

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

func (*ReservationItem) Reset added in v1.6.0

func (x *ReservationItem) Reset()

func (*ReservationItem) String added in v1.6.0

func (x *ReservationItem) String() string

type ReservationList added in v1.6.0

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

func (*ReservationList) Descriptor deprecated added in v1.6.0

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

Deprecated: Use ReservationList.ProtoReflect.Descriptor instead.

func (*ReservationList) GetItems added in v1.6.0

func (x *ReservationList) GetItems() []*Reservation

func (*ReservationList) ProtoMessage added in v1.6.0

func (*ReservationList) ProtoMessage()

func (*ReservationList) ProtoReflect added in v1.6.0

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

func (*ReservationList) Reset added in v1.6.0

func (x *ReservationList) Reset()

func (*ReservationList) String added in v1.6.0

func (x *ReservationList) String() string

type ReservationPhase added in v1.6.0

type ReservationPhase int32
const (
	ReservationPhase_RESERVATION_PHASE_UNSPECIFIED ReservationPhase = 0 // not observed yet
	ReservationPhase_RESERVATION_PHASE_PENDING     ReservationPhase = 1 // the window has not started
	ReservationPhase_RESERVATION_PHASE_ACTIVE      ReservationPhase = 2
	ReservationPhase_RESERVATION_PHASE_ENDING      ReservationPhase = 3 // the ending notice is given
	ReservationPhase_RESERVATION_PHASE_ENDED       ReservationPhase = 4 // the window is over, its groups are deleted
)

func (ReservationPhase) Descriptor added in v1.6.0

func (ReservationPhase) Enum added in v1.6.0

func (ReservationPhase) EnumDescriptor deprecated added in v1.6.0

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

Deprecated: Use ReservationPhase.Descriptor instead.

func (ReservationPhase) Number added in v1.6.0

func (ReservationPhase) String added in v1.6.0

func (x ReservationPhase) String() string

func (ReservationPhase) Type added in v1.6.0

type ReservationStatus added in v1.6.0

type ReservationStatus struct {
	Phase          ReservationPhase `protobuf:"varint,1,opt,name=phase,proto3,enum=labmanager.ReservationPhase" json:"phase,omitempty"`
	NoticeAtUnixMs int64            `protobuf:"varint,2,opt,name=notice_at_unix_ms,json=noticeAtUnixMs,proto3" json:"notice_at_unix_ms,omitempty"` // 0 = no notice
	// When the groups under it are deleted, while an ending is announced: `to` (WindowClosing), the notice + N
	// (TenantGone, or `to` when sooner), or the notice + N for the groups created before a shrink (AmountReduced, the
	// phase may stay ACTIVE). 0 = no ending announced.
	EndsAtUnixMs      int64  `protobuf:"varint,3,opt,name=ends_at_unix_ms,json=endsAtUnixMs,proto3" json:"ends_at_unix_ms,omitempty"`
	EndingReason      string `protobuf:"bytes,4,opt,name=ending_reason,json=endingReason,proto3" json:"ending_reason,omitempty"`                   // WindowClosing | TenantGone | AmountReduced | ""
	UsedCpuMillicores int64  `protobuf:"varint,5,opt,name=used_cpu_millicores,json=usedCpuMillicores,proto3" json:"used_cpu_millicores,omitempty"` // what the groups under it request now
	UsedMemoryBytes   int64  `protobuf:"varint,6,opt,name=used_memory_bytes,json=usedMemoryBytes,proto3" json:"used_memory_bytes,omitempty"`
	Groups            int32  `protobuf:"varint,7,opt,name=groups,proto3" json:"groups,omitempty"`
	UsedAtUnixMs      int64  `protobuf:"varint,8,opt,name=used_at_unix_ms,json=usedAtUnixMs,proto3" json:"used_at_unix_ms,omitempty"` // when the usage was counted
	Exceeded          bool   `protobuf:"varint,9,opt,name=exceeded,proto3" json:"exceeded,omitempty"`                                 // made smaller than what runs under it (see ends_at)
	OverAmount        bool   `protobuf:"varint,10,opt,name=over_amount,json=overAmount,proto3" json:"over_amount,omitempty"`          // usage over the amount for another reason; nothing is deleted for it
	Invalid           bool   `protobuf:"varint,11,opt,name=invalid,proto3" json:"invalid,omitempty"`                                  // the amount reserves nothing
	// contains filtered or unexported fields
}

func (*ReservationStatus) Descriptor deprecated added in v1.6.0

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

Deprecated: Use ReservationStatus.ProtoReflect.Descriptor instead.

func (*ReservationStatus) GetEndingReason added in v1.6.0

func (x *ReservationStatus) GetEndingReason() string

func (*ReservationStatus) GetEndsAtUnixMs added in v1.6.0

func (x *ReservationStatus) GetEndsAtUnixMs() int64

func (*ReservationStatus) GetExceeded added in v1.6.0

func (x *ReservationStatus) GetExceeded() bool

func (*ReservationStatus) GetGroups added in v1.6.0

func (x *ReservationStatus) GetGroups() int32

func (*ReservationStatus) GetInvalid added in v1.6.0

func (x *ReservationStatus) GetInvalid() bool

func (*ReservationStatus) GetNoticeAtUnixMs added in v1.6.0

func (x *ReservationStatus) GetNoticeAtUnixMs() int64

func (*ReservationStatus) GetOverAmount added in v1.6.0

func (x *ReservationStatus) GetOverAmount() bool

func (*ReservationStatus) GetPhase added in v1.6.0

func (x *ReservationStatus) GetPhase() ReservationPhase

func (*ReservationStatus) GetUsedAtUnixMs added in v1.6.0

func (x *ReservationStatus) GetUsedAtUnixMs() int64

func (*ReservationStatus) GetUsedCpuMillicores added in v1.6.0

func (x *ReservationStatus) GetUsedCpuMillicores() int64

func (*ReservationStatus) GetUsedMemoryBytes added in v1.6.0

func (x *ReservationStatus) GetUsedMemoryBytes() int64

func (*ReservationStatus) ProtoMessage added in v1.6.0

func (*ReservationStatus) ProtoMessage()

func (*ReservationStatus) ProtoReflect added in v1.6.0

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

func (*ReservationStatus) Reset added in v1.6.0

func (x *ReservationStatus) Reset()

func (*ReservationStatus) String added in v1.6.0

func (x *ReservationStatus) String() string

type ReservationsFeature added in v1.6.0

type ReservationsFeature struct {

	// CreateLabGroups and CreateLabs require reservation_id. Always true on an agent that has the reservation calls.
	Required bool `protobuf:"varint,1,opt,name=required,proto3" json:"required,omitempty"`
	// How long before `to` a reservation turns ENDING (the chart's reservations.endingNoticeSeconds); also the delay
	// after the notice for a tenant that is gone and for a reservation made smaller than what runs under it.
	EndingNoticeSeconds int32 `protobuf:"varint,2,opt,name=ending_notice_seconds,json=endingNoticeSeconds,proto3" json:"ending_notice_seconds,omitempty"`
	// contains filtered or unexported fields
}

How reservations work on this laboratory.

func (*ReservationsFeature) Descriptor deprecated added in v1.6.0

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

Deprecated: Use ReservationsFeature.ProtoReflect.Descriptor instead.

func (*ReservationsFeature) GetEndingNoticeSeconds added in v1.6.0

func (x *ReservationsFeature) GetEndingNoticeSeconds() int32

func (*ReservationsFeature) GetRequired added in v1.6.0

func (x *ReservationsFeature) GetRequired() bool

func (*ReservationsFeature) ProtoMessage added in v1.6.0

func (*ReservationsFeature) ProtoMessage()

func (*ReservationsFeature) ProtoReflect added in v1.6.0

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

func (*ReservationsFeature) Reset added in v1.6.0

func (x *ReservationsFeature) Reset()

func (*ReservationsFeature) String added in v1.6.0

func (x *ReservationsFeature) 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 RunChecksItem added in v1.10.0

type RunChecksItem 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"`
	CheckIds []string `protobuf:"bytes,3,rep,name=check_ids,json=checkIds,proto3" json:"check_ids,omitempty"` // none = every check that allows a manual run
	// contains filtered or unexported fields
}

func (*RunChecksItem) Descriptor deprecated added in v1.10.0

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

Deprecated: Use RunChecksItem.ProtoReflect.Descriptor instead.

func (*RunChecksItem) GetCheckIds added in v1.10.0

func (x *RunChecksItem) GetCheckIds() []string

func (*RunChecksItem) GetLab added in v1.10.0

func (x *RunChecksItem) GetLab() string

func (*RunChecksItem) GetLabGroup added in v1.10.0

func (x *RunChecksItem) GetLabGroup() string

func (*RunChecksItem) ProtoMessage added in v1.10.0

func (*RunChecksItem) ProtoMessage()

func (*RunChecksItem) ProtoReflect added in v1.10.0

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

func (*RunChecksItem) Reset added in v1.10.0

func (x *RunChecksItem) Reset()

func (*RunChecksItem) String added in v1.10.0

func (x *RunChecksItem) String() string

type RunChecksRequest added in v1.10.0

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

func (*RunChecksRequest) Descriptor deprecated added in v1.10.0

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

Deprecated: Use RunChecksRequest.ProtoReflect.Descriptor instead.

func (*RunChecksRequest) GetItems added in v1.10.0

func (x *RunChecksRequest) GetItems() []*RunChecksItem

func (*RunChecksRequest) ProtoMessage added in v1.10.0

func (*RunChecksRequest) ProtoMessage()

func (*RunChecksRequest) ProtoReflect added in v1.10.0

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

func (*RunChecksRequest) Reset added in v1.10.0

func (x *RunChecksRequest) Reset()

func (*RunChecksRequest) String added in v1.10.0

func (x *RunChecksRequest) 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"`
	// The gang commit: when some sent pod of a group has no node this long after the group's last dispatch, the whole group is
	// withdrawn and queued again (chart capacity.nodeTimeoutSeconds).
	NodeTimeoutSeconds int32 `protobuf:"varint,3,opt,name=node_timeout_seconds,json=nodeTimeoutSeconds,proto3" json:"node_timeout_seconds,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) GetNodeTimeoutSeconds added in v1.5.0

func (x *SchedulerFeature) GetNodeTimeoutSeconds() 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"`
	// Why `available` is false although the cluster is configured for persistence: the node-agents check their node at start (the
	// containerd root, the container runtime, the snapshot registry) and the answer is what the nodes REALLY support. Grammar:
	// "<CODE>:<n>/<m>" with CODE one of CONTAINERD_ROOT_MISSING, SNAPSHOTTER_MISSING, RUNTIME_SOCKET_UNAVAILABLE,
	// SNAPSHOT_REGISTRY_UNREACHABLE, PERSISTENCE_DISABLED, NODE_UNCONFIRMED (the code most nodes give), n the lab nodes that do not
	// confirm and m the lab nodes asked. Never a node name, a path or an error text. Empty when available, when persistence is off by
	// configuration, or when no node has reported yet.
	UnavailableReason string `protobuf:"bytes,8,opt,name=unavailable_reason,json=unavailableReason,proto3" json:"unavailable_reason,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) GetUnavailableReason added in v1.8.0

func (x *StatePersistenceFeature) GetUnavailableReason() string

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) CreateReservations added in v1.6.0

func (UnimplementedLabManagerServer) DeleteLabGroupClients

func (UnimplementedLabManagerServer) DeleteLabGroups

func (UnimplementedLabManagerServer) DeleteLabs

func (UnimplementedLabManagerServer) DeleteReservations added in v1.6.0

func (UnimplementedLabManagerServer) Enroll

func (UnimplementedLabManagerServer) ExportDeviceSnapshot

func (UnimplementedLabManagerServer) GetCapacity

func (UnimplementedLabManagerServer) GetFeatures

func (UnimplementedLabManagerServer) GetLabGroupActivity added in v1.10.0

func (UnimplementedLabManagerServer) ListLabGroupClients

func (UnimplementedLabManagerServer) ListLabGroups

func (UnimplementedLabManagerServer) ListLabs

func (UnimplementedLabManagerServer) ListMaintenanceWindows

func (UnimplementedLabManagerServer) ListReservations added in v1.6.0

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) RunChecks added in v1.10.0

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

func (UnimplementedLabManagerServer) UpdateReservations added in v1.6.0

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

type UpdateReservationItem added in v1.6.0

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

func (*UpdateReservationItem) Descriptor deprecated added in v1.6.0

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

Deprecated: Use UpdateReservationItem.ProtoReflect.Descriptor instead.

func (*UpdateReservationItem) GetChanges added in v1.6.0

func (x *UpdateReservationItem) GetChanges() *ReservationChanges

func (*UpdateReservationItem) GetId added in v1.6.0

func (x *UpdateReservationItem) GetId() string

func (*UpdateReservationItem) ProtoMessage added in v1.6.0

func (*UpdateReservationItem) ProtoMessage()

func (*UpdateReservationItem) ProtoReflect added in v1.6.0

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

func (*UpdateReservationItem) Reset added in v1.6.0

func (x *UpdateReservationItem) Reset()

func (*UpdateReservationItem) String added in v1.6.0

func (x *UpdateReservationItem) String() string

type UpdateReservationsRequest added in v1.6.0

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

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

func (*UpdateReservationsRequest) Descriptor deprecated added in v1.6.0

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

Deprecated: Use UpdateReservationsRequest.ProtoReflect.Descriptor instead.

func (*UpdateReservationsRequest) GetBySelector added in v1.6.0

func (x *UpdateReservationsRequest) GetBySelector() *Selector

func (*UpdateReservationsRequest) GetChanges added in v1.6.0

func (*UpdateReservationsRequest) GetItems added in v1.6.0

func (*UpdateReservationsRequest) ProtoMessage added in v1.6.0

func (*UpdateReservationsRequest) ProtoMessage()

func (*UpdateReservationsRequest) ProtoReflect added in v1.6.0

func (*UpdateReservationsRequest) Reset added in v1.6.0

func (x *UpdateReservationsRequest) Reset()

func (*UpdateReservationsRequest) String added in v1.6.0

func (x *UpdateReservationsRequest) String() string

type VPNFeature added in v1.10.0

type VPNFeature struct {
	ReverseConnections bool  `protobuf:"varint,1,opt,name=reverse_connections,json=reverseConnections,proto3" json:"reverse_connections,omitempty"`
	MaxGateways        int32 `protobuf:"varint,2,opt,name=max_gateways,json=maxGateways,proto3" json:"max_gateways,omitempty"`
	// The laboratory runs a VPN (chart vpn.enabled; contract 2.8). Absent = an agent older than the field: it runs one. When false there is
	// no WireGuard demultiplexer and no VPN pod, and a lab with a VPN gateway, a LabGroupClient, a LabGroupAccessPolicy and a group's
	// vpn_enabled true are refused (reason VPN_UNAVAILABLE).
	Enabled *bool `protobuf:"varint,3,opt,name=enabled,proto3,oneof" json:"enabled,omitempty"`
	// contains filtered or unexported fields
}

VPNFeature: reverse_connections is true when this agent and the VPN pods it makes block, by default, connections that a device of a lab starts towards a VPN client (only replies to connections the client started pass from the lab to the client), and accept the per-gateway switch reverseConnections that allows them (fixed at creation, like the rest of the lab spec). The switch is refused on an Internet gateway. max_gateways is the most gateways (VPN and Internet together) one lab may have; a lab with more is refused.

func (*VPNFeature) Descriptor deprecated added in v1.10.0

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

Deprecated: Use VPNFeature.ProtoReflect.Descriptor instead.

func (*VPNFeature) GetEnabled added in v1.10.0

func (x *VPNFeature) GetEnabled() bool

func (*VPNFeature) GetMaxGateways added in v1.10.0

func (x *VPNFeature) GetMaxGateways() int32

func (*VPNFeature) GetReverseConnections added in v1.10.0

func (x *VPNFeature) GetReverseConnections() bool

func (*VPNFeature) ProtoMessage added in v1.10.0

func (*VPNFeature) ProtoMessage()

func (*VPNFeature) ProtoReflect added in v1.10.0

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

func (*VPNFeature) Reset added in v1.10.0

func (x *VPNFeature) Reset()

func (*VPNFeature) String added in v1.10.0

func (x *VPNFeature) String() string

Jump to

Keyboard shortcuts

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