adminv1

package
v0.1.80-dev.2 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2026 License: AGPL-3.0 Imports: 5 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	SetupMethod_name = map[int32]string{
		0: "SETUP_METHOD_UNSPECIFIED",
		1: "SETUP_METHOD_PASSKEY",
		2: "SETUP_METHOD_PASSWORD",
	}
	SetupMethod_value = map[string]int32{
		"SETUP_METHOD_UNSPECIFIED": 0,
		"SETUP_METHOD_PASSKEY":     1,
		"SETUP_METHOD_PASSWORD":    2,
	}
)

Enum value maps for SetupMethod.

View Source
var (
	Role_name = map[int32]string{
		0: "ROLE_UNSPECIFIED",
		1: "ROLE_OWNER",
		2: "ROLE_HELPER",
		3: "ROLE_READONLY",
	}
	Role_value = map[string]int32{
		"ROLE_UNSPECIFIED": 0,
		"ROLE_OWNER":       1,
		"ROLE_HELPER":      2,
		"ROLE_READONLY":    3,
	}
)

Enum value maps for Role.

View Source
var (
	AuditSource_name = map[int32]string{
		0: "AUDIT_SOURCE_UNSPECIFIED",
		1: "AUDIT_SOURCE_PANEL",
		2: "AUDIT_SOURCE_BOT",
		3: "AUDIT_SOURCE_MCP",
		4: "AUDIT_SOURCE_API",
	}
	AuditSource_value = map[string]int32{
		"AUDIT_SOURCE_UNSPECIFIED": 0,
		"AUDIT_SOURCE_PANEL":       1,
		"AUDIT_SOURCE_BOT":         2,
		"AUDIT_SOURCE_MCP":         3,
		"AUDIT_SOURCE_API":         4,
	}
)

Enum value maps for AuditSource.

View Source
var (
	AuditKind_name = map[int32]string{
		0: "AUDIT_KIND_UNSPECIFIED",
		1: "AUDIT_KIND_SIGN_IN",
		2: "AUDIT_KIND_CHANGES",
		3: "AUDIT_KIND_FAILURES",
	}
	AuditKind_value = map[string]int32{
		"AUDIT_KIND_UNSPECIFIED": 0,
		"AUDIT_KIND_SIGN_IN":     1,
		"AUDIT_KIND_CHANGES":     2,
		"AUDIT_KIND_FAILURES":    3,
	}
)

Enum value maps for AuditKind.

View Source
var (
	GenerateMode_name = map[int32]string{
		0: "GENERATE_MODE_UNSPECIFIED",
		1: "GENERATE_MODE_FULL",
		2: "GENERATE_MODE_SIGNATURE",
	}
	GenerateMode_value = map[string]int32{
		"GENERATE_MODE_UNSPECIFIED": 0,
		"GENERATE_MODE_FULL":        1,
		"GENERATE_MODE_SIGNATURE":   2,
	}
)

Enum value maps for GenerateMode.

View Source
var (
	NodeStatus_name = map[int32]string{
		0: "NODE_STATUS_UNSPECIFIED",
		1: "NODE_STATUS_PENDING",
		2: "NODE_STATUS_ONLINE",
		3: "NODE_STATUS_DOWN",
		4: "NODE_STATUS_BLIP",
		5: "NODE_STATUS_NO_TRAFFIC",
		6: "NODE_STATUS_UPDATING",
		7: "NODE_STATUS_RETIRED",
	}
	NodeStatus_value = map[string]int32{
		"NODE_STATUS_UNSPECIFIED": 0,
		"NODE_STATUS_PENDING":     1,
		"NODE_STATUS_ONLINE":      2,
		"NODE_STATUS_DOWN":        3,
		"NODE_STATUS_BLIP":        4,
		"NODE_STATUS_NO_TRAFFIC":  5,
		"NODE_STATUS_UPDATING":    6,
		"NODE_STATUS_RETIRED":     7,
	}
)

Enum value maps for NodeStatus.

View Source
var (
	App_name = map[int32]string{
		0: "APP_UNSPECIFIED",
		1: "APP_HAPP",
		2: "APP_AMNEZIA",
		3: "APP_TELEGRAM",
	}
	App_value = map[string]int32{
		"APP_UNSPECIFIED": 0,
		"APP_HAPP":        1,
		"APP_AMNEZIA":     2,
		"APP_TELEGRAM":    3,
	}
)

Enum value maps for App.

View Source
var (
	InboundState_name = map[int32]string{
		0: "INBOUND_STATE_UNSPECIFIED",
		1: "INBOUND_STATE_PENDING",
		2: "INBOUND_STATE_ACTIVE",
		3: "INBOUND_STATE_FAILED",
		4: "INBOUND_STATE_DISABLED",
	}
	InboundState_value = map[string]int32{
		"INBOUND_STATE_UNSPECIFIED": 0,
		"INBOUND_STATE_PENDING":     1,
		"INBOUND_STATE_ACTIVE":      2,
		"INBOUND_STATE_FAILED":      3,
		"INBOUND_STATE_DISABLED":    4,
	}
)

Enum value maps for InboundState.

View Source
var (
	WarpState_name = map[int32]string{
		0: "WARP_STATE_UNSPECIFIED",
		1: "WARP_STATE_NOT_CONFIGURED",
		2: "WARP_STATE_UNKNOWN",
		3: "WARP_STATE_UNAVAILABLE",
		4: "WARP_STATE_STARTING",
		5: "WARP_STATE_UP",
		6: "WARP_STATE_DOWN",
		7: "WARP_STATE_DISABLED",
	}
	WarpState_value = map[string]int32{
		"WARP_STATE_UNSPECIFIED":    0,
		"WARP_STATE_NOT_CONFIGURED": 1,
		"WARP_STATE_UNKNOWN":        2,
		"WARP_STATE_UNAVAILABLE":    3,
		"WARP_STATE_STARTING":       4,
		"WARP_STATE_UP":             5,
		"WARP_STATE_DOWN":           6,
		"WARP_STATE_DISABLED":       7,
	}
)

Enum value maps for WarpState.

View Source
var (
	WarpSource_name = map[int32]string{
		0: "WARP_SOURCE_UNSPECIFIED",
		1: "WARP_SOURCE_REGISTERED",
		2: "WARP_SOURCE_IMPORTED",
	}
	WarpSource_value = map[string]int32{
		"WARP_SOURCE_UNSPECIFIED": 0,
		"WARP_SOURCE_REGISTERED":  1,
		"WARP_SOURCE_IMPORTED":    2,
	}
)

Enum value maps for WarpSource.

View Source
var (
	DnsServerKind_name = map[int32]string{
		0: "DNS_SERVER_KIND_UNSPECIFIED",
		1: "DNS_SERVER_KIND_PLAIN",
		2: "DNS_SERVER_KIND_DOH",
		3: "DNS_SERVER_KIND_DOT",
	}
	DnsServerKind_value = map[string]int32{
		"DNS_SERVER_KIND_UNSPECIFIED": 0,
		"DNS_SERVER_KIND_PLAIN":       1,
		"DNS_SERVER_KIND_DOH":         2,
		"DNS_SERVER_KIND_DOT":         3,
	}
)

Enum value maps for DnsServerKind.

View Source
var (
	DnsTransport_name = map[int32]string{
		0: "DNS_TRANSPORT_UNSPECIFIED",
		1: "DNS_TRANSPORT_PLAIN",
		2: "DNS_TRANSPORT_DOT",
		3: "DNS_TRANSPORT_DOH",
	}
	DnsTransport_value = map[string]int32{
		"DNS_TRANSPORT_UNSPECIFIED": 0,
		"DNS_TRANSPORT_PLAIN":       1,
		"DNS_TRANSPORT_DOT":         2,
		"DNS_TRANSPORT_DOH":         3,
	}
)

Enum value maps for DnsTransport.

View Source
var (
	DnsCategory_name = map[int32]string{
		0: "DNS_CATEGORY_UNSPECIFIED",
		1: "DNS_CATEGORY_REGIONAL",
		2: "DNS_CATEGORY_REGULAR",
		3: "DNS_CATEGORY_NO_ADS",
		4: "DNS_CATEGORY_FAMILY",
		5: "DNS_CATEGORY_SECURITY",
	}
	DnsCategory_value = map[string]int32{
		"DNS_CATEGORY_UNSPECIFIED": 0,
		"DNS_CATEGORY_REGIONAL":    1,
		"DNS_CATEGORY_REGULAR":     2,
		"DNS_CATEGORY_NO_ADS":      3,
		"DNS_CATEGORY_FAMILY":      4,
		"DNS_CATEGORY_SECURITY":    5,
	}
)

Enum value maps for DnsCategory.

View Source
var (
	DnsClient_name = map[int32]string{
		0: "DNS_CLIENT_UNSPECIFIED",
		1: "DNS_CLIENT_HAPP",
		2: "DNS_CLIENT_MIHOMO",
		3: "DNS_CLIENT_AMNEZIAWG",
		4: "DNS_CLIENT_XRAY",
		5: "DNS_CLIENT_SINGBOX",
	}
	DnsClient_value = map[string]int32{
		"DNS_CLIENT_UNSPECIFIED": 0,
		"DNS_CLIENT_HAPP":        1,
		"DNS_CLIENT_MIHOMO":      2,
		"DNS_CLIENT_AMNEZIAWG":   3,
		"DNS_CLIENT_XRAY":        4,
		"DNS_CLIENT_SINGBOX":     5,
	}
)

Enum value maps for DnsClient.

View Source
var (
	OverviewRange_name = map[int32]string{
		0: "OVERVIEW_RANGE_UNSPECIFIED",
		1: "OVERVIEW_RANGE_24H",
		2: "OVERVIEW_RANGE_7D",
	}
	OverviewRange_value = map[string]int32{
		"OVERVIEW_RANGE_UNSPECIFIED": 0,
		"OVERVIEW_RANGE_24H":         1,
		"OVERVIEW_RANGE_7D":          2,
	}
)

Enum value maps for OverviewRange.

View Source
var (
	EventSeverity_name = map[int32]string{
		0: "EVENT_SEVERITY_UNSPECIFIED",
		1: "EVENT_SEVERITY_INFO",
		2: "EVENT_SEVERITY_WARNING",
		3: "EVENT_SEVERITY_ERROR",
	}
	EventSeverity_value = map[string]int32{
		"EVENT_SEVERITY_UNSPECIFIED": 0,
		"EVENT_SEVERITY_INFO":        1,
		"EVENT_SEVERITY_WARNING":     2,
		"EVENT_SEVERITY_ERROR":       3,
	}
)

Enum value maps for EventSeverity.

View Source
var (
	AlertSeverity_name = map[int32]string{
		0: "ALERT_SEVERITY_UNSPECIFIED",
		1: "ALERT_SEVERITY_INFO",
		2: "ALERT_SEVERITY_WARNING",
		3: "ALERT_SEVERITY_CRITICAL",
	}
	AlertSeverity_value = map[string]int32{
		"ALERT_SEVERITY_UNSPECIFIED": 0,
		"ALERT_SEVERITY_INFO":        1,
		"ALERT_SEVERITY_WARNING":     2,
		"ALERT_SEVERITY_CRITICAL":    3,
	}
)

Enum value maps for AlertSeverity.

View Source
var (
	AlertKind_name = map[int32]string{
		0:  "ALERT_KIND_UNSPECIFIED",
		1:  "ALERT_KIND_NODE_DOWN",
		2:  "ALERT_KIND_HOST_BLIP",
		3:  "ALERT_KIND_NO_TRAFFIC",
		4:  "ALERT_KIND_CHECK_FAILED",
		5:  "ALERT_KIND_DOCTOR_WARN",
		6:  "ALERT_KIND_DOCTOR_FAIL",
		7:  "ALERT_KIND_STATE_DRIFT",
		8:  "ALERT_KIND_QUOTA",
		9:  "ALERT_KIND_CERT_EXPIRY",
		10: "ALERT_KIND_SUBSCRIPTION_SHARED_SUSPECT",
		11: "ALERT_KIND_UPDATE_FAILED",
		12: "ALERT_KIND_ACCESS_ENDED",
		13: "ALERT_KIND_USER_CONNECTION",
		14: "ALERT_KIND_USERS_IMPACTED",
		15: "ALERT_KIND_TORRENT",
		16: "ALERT_KIND_PORT_LOSSY",
		17: "ALERT_KIND_DEVICE_LIMIT",
		18: "ALERT_KIND_COUNTRY_BLOCKED",
		19: "ALERT_KIND_RELAY_DOWN",
		20: "ALERT_KIND_PATH_LOSSY",
	}
	AlertKind_value = map[string]int32{
		"ALERT_KIND_UNSPECIFIED":                 0,
		"ALERT_KIND_NODE_DOWN":                   1,
		"ALERT_KIND_HOST_BLIP":                   2,
		"ALERT_KIND_NO_TRAFFIC":                  3,
		"ALERT_KIND_CHECK_FAILED":                4,
		"ALERT_KIND_DOCTOR_WARN":                 5,
		"ALERT_KIND_DOCTOR_FAIL":                 6,
		"ALERT_KIND_STATE_DRIFT":                 7,
		"ALERT_KIND_QUOTA":                       8,
		"ALERT_KIND_CERT_EXPIRY":                 9,
		"ALERT_KIND_SUBSCRIPTION_SHARED_SUSPECT": 10,
		"ALERT_KIND_UPDATE_FAILED":               11,
		"ALERT_KIND_ACCESS_ENDED":                12,
		"ALERT_KIND_USER_CONNECTION":             13,
		"ALERT_KIND_USERS_IMPACTED":              14,
		"ALERT_KIND_TORRENT":                     15,
		"ALERT_KIND_PORT_LOSSY":                  16,
		"ALERT_KIND_DEVICE_LIMIT":                17,
		"ALERT_KIND_COUNTRY_BLOCKED":             18,
		"ALERT_KIND_RELAY_DOWN":                  19,
		"ALERT_KIND_PATH_LOSSY":                  20,
	}
)

Enum value maps for AlertKind.

View Source
var (
	CheckStatus_name = map[int32]string{
		0: "CHECK_STATUS_UNSPECIFIED",
		1: "CHECK_STATUS_OK",
		2: "CHECK_STATUS_DEGRADED",
		3: "CHECK_STATUS_FAILED",
		4: "CHECK_STATUS_SKIPPED",
	}
	CheckStatus_value = map[string]int32{
		"CHECK_STATUS_UNSPECIFIED": 0,
		"CHECK_STATUS_OK":          1,
		"CHECK_STATUS_DEGRADED":    2,
		"CHECK_STATUS_FAILED":      3,
		"CHECK_STATUS_SKIPPED":     4,
	}
)

Enum value maps for CheckStatus.

View Source
var (
	CountryVerdict_name = map[int32]string{
		0: "COUNTRY_VERDICT_UNSPECIFIED",
		1: "COUNTRY_VERDICT_OK",
		2: "COUNTRY_VERDICT_TCP_BLOCKED",
		3: "COUNTRY_VERDICT_BLOCKED",
		4: "COUNTRY_VERDICT_UNKNOWN",
		5: "COUNTRY_VERDICT_LISTED",
		6: "COUNTRY_VERDICT_PARTIAL",
	}
	CountryVerdict_value = map[string]int32{
		"COUNTRY_VERDICT_UNSPECIFIED": 0,
		"COUNTRY_VERDICT_OK":          1,
		"COUNTRY_VERDICT_TCP_BLOCKED": 2,
		"COUNTRY_VERDICT_BLOCKED":     3,
		"COUNTRY_VERDICT_UNKNOWN":     4,
		"COUNTRY_VERDICT_LISTED":      5,
		"COUNTRY_VERDICT_PARTIAL":     6,
	}
)

Enum value maps for CountryVerdict.

View Source
var (
	DoctorStatus_name = map[int32]string{
		0: "DOCTOR_STATUS_UNSPECIFIED",
		1: "DOCTOR_STATUS_OK",
		2: "DOCTOR_STATUS_WARN",
		3: "DOCTOR_STATUS_FAIL",
		4: "DOCTOR_STATUS_SKIP",
	}
	DoctorStatus_value = map[string]int32{
		"DOCTOR_STATUS_UNSPECIFIED": 0,
		"DOCTOR_STATUS_OK":          1,
		"DOCTOR_STATUS_WARN":        2,
		"DOCTOR_STATUS_FAIL":        3,
		"DOCTOR_STATUS_SKIP":        4,
	}
)

Enum value maps for DoctorStatus.

View Source
var (
	TokenProfile_name = map[int32]string{
		0: "TOKEN_PROFILE_UNSPECIFIED",
		1: "TOKEN_PROFILE_READONLY",
		2: "TOKEN_PROFILE_OPERATOR",
		3: "TOKEN_PROFILE_ADMIN",
	}
	TokenProfile_value = map[string]int32{
		"TOKEN_PROFILE_UNSPECIFIED": 0,
		"TOKEN_PROFILE_READONLY":    1,
		"TOKEN_PROFILE_OPERATOR":    2,
		"TOKEN_PROFILE_ADMIN":       3,
	}
)

Enum value maps for TokenProfile.

View Source
var (
	TokenChannel_name = map[int32]string{
		0: "TOKEN_CHANNEL_UNSPECIFIED",
		1: "TOKEN_CHANNEL_API",
		2: "TOKEN_CHANNEL_MCP",
	}
	TokenChannel_value = map[string]int32{
		"TOKEN_CHANNEL_UNSPECIFIED": 0,
		"TOKEN_CHANNEL_API":         1,
		"TOKEN_CHANNEL_MCP":         2,
	}
)

Enum value maps for TokenChannel.

View Source
var (
	ApprovalState_name = map[int32]string{
		0: "APPROVAL_STATE_UNSPECIFIED",
		1: "APPROVAL_STATE_AWAITING",
		2: "APPROVAL_STATE_APPROVED",
		3: "APPROVAL_STATE_REJECTED",
		4: "APPROVAL_STATE_EXPIRED",
		5: "APPROVAL_STATE_APPLYING",
		6: "APPROVAL_STATE_APPLIED",
		7: "APPROVAL_STATE_FAILED",
		8: "APPROVAL_STATE_CANCELLED",
	}
	ApprovalState_value = map[string]int32{
		"APPROVAL_STATE_UNSPECIFIED": 0,
		"APPROVAL_STATE_AWAITING":    1,
		"APPROVAL_STATE_APPROVED":    2,
		"APPROVAL_STATE_REJECTED":    3,
		"APPROVAL_STATE_EXPIRED":     4,
		"APPROVAL_STATE_APPLYING":    5,
		"APPROVAL_STATE_APPLIED":     6,
		"APPROVAL_STATE_FAILED":      7,
		"APPROVAL_STATE_CANCELLED":   8,
	}
)

Enum value maps for ApprovalState.

View Source
var (
	AwgPrepareState_name = map[int32]string{
		0: "AWG_PREPARE_STATE_NONE",
		1: "AWG_PREPARE_STATE_RUNNING",
		2: "AWG_PREPARE_STATE_DONE",
		3: "AWG_PREPARE_STATE_FAILED",
	}
	AwgPrepareState_value = map[string]int32{
		"AWG_PREPARE_STATE_NONE":    0,
		"AWG_PREPARE_STATE_RUNNING": 1,
		"AWG_PREPARE_STATE_DONE":    2,
		"AWG_PREPARE_STATE_FAILED":  3,
	}
)

Enum value maps for AwgPrepareState.

View Source
var (
	PrepareAwgOutcome_name = map[int32]string{
		0: "PREPARE_AWG_OUTCOME_UNSPECIFIED",
		1: "PREPARE_AWG_OUTCOME_READY",
		2: "PREPARE_AWG_OUTCOME_NEEDS_PREPARE",
		3: "PREPARE_AWG_OUTCOME_STARTED",
		4: "PREPARE_AWG_OUTCOME_RUNNING",
		5: "PREPARE_AWG_OUTCOME_UNSUPPORTED",
	}
	PrepareAwgOutcome_value = map[string]int32{
		"PREPARE_AWG_OUTCOME_UNSPECIFIED":   0,
		"PREPARE_AWG_OUTCOME_READY":         1,
		"PREPARE_AWG_OUTCOME_NEEDS_PREPARE": 2,
		"PREPARE_AWG_OUTCOME_STARTED":       3,
		"PREPARE_AWG_OUTCOME_RUNNING":       4,
		"PREPARE_AWG_OUTCOME_UNSUPPORTED":   5,
	}
)

Enum value maps for PrepareAwgOutcome.

View Source
var (
	Ipv6EntryAction_name = map[int32]string{
		0: "IPV6_ENTRY_ACTION_UNSPECIFIED",
		1: "IPV6_ENTRY_ACTION_ENABLE",
		2: "IPV6_ENTRY_ACTION_DISABLE",
	}
	Ipv6EntryAction_value = map[string]int32{
		"IPV6_ENTRY_ACTION_UNSPECIFIED": 0,
		"IPV6_ENTRY_ACTION_ENABLE":      1,
		"IPV6_ENTRY_ACTION_DISABLE":     2,
	}
)

Enum value maps for Ipv6EntryAction.

View Source
var (
	LogLevel_name = map[int32]string{
		0: "LOG_LEVEL_UNSPECIFIED",
		1: "LOG_LEVEL_INFO",
		2: "LOG_LEVEL_WARNING",
		3: "LOG_LEVEL_ERROR",
	}
	LogLevel_value = map[string]int32{
		"LOG_LEVEL_UNSPECIFIED": 0,
		"LOG_LEVEL_INFO":        1,
		"LOG_LEVEL_WARNING":     2,
		"LOG_LEVEL_ERROR":       3,
	}
)

Enum value maps for LogLevel.

View Source
var (
	HappPing_name = map[int32]string{
		0: "HAPP_PING_UNSPECIFIED",
		1: "HAPP_PING_TCP",
	}
	HappPing_value = map[string]int32{
		"HAPP_PING_UNSPECIFIED": 0,
		"HAPP_PING_TCP":         1,
	}
)

Enum value maps for HappPing.

View Source
var (
	LinkDeviceLimit_name = map[int32]string{
		0: "LINK_DEVICE_LIMIT_UNSPECIFIED",
		1: "LINK_DEVICE_LIMIT_TRACK",
		2: "LINK_DEVICE_LIMIT_ENFORCE",
		3: "LINK_DEVICE_LIMIT_STRICT",
	}
	LinkDeviceLimit_value = map[string]int32{
		"LINK_DEVICE_LIMIT_UNSPECIFIED": 0,
		"LINK_DEVICE_LIMIT_TRACK":       1,
		"LINK_DEVICE_LIMIT_ENFORCE":     2,
		"LINK_DEVICE_LIMIT_STRICT":      3,
	}
)

Enum value maps for LinkDeviceLimit.

View Source
var (
	Platform_name = map[int32]string{
		0: "PLATFORM_UNSPECIFIED",
		1: "PLATFORM_IOS",
		2: "PLATFORM_ANDROID",
		3: "PLATFORM_WINDOWS",
		4: "PLATFORM_MACOS",
		5: "PLATFORM_LINUX",
	}
	Platform_value = map[string]int32{
		"PLATFORM_UNSPECIFIED": 0,
		"PLATFORM_IOS":         1,
		"PLATFORM_ANDROID":     2,
		"PLATFORM_WINDOWS":     3,
		"PLATFORM_MACOS":       4,
		"PLATFORM_LINUX":       5,
	}
)

Enum value maps for Platform.

View Source
var (
	SubFormat_name = map[int32]string{
		0: "SUB_FORMAT_UNSPECIFIED",
		1: "SUB_FORMAT_BASE64_URIS",
		2: "SUB_FORMAT_USER_PAGE",
		3: "SUB_FORMAT_DECOY",
		4: "SUB_FORMAT_MIHOMO_YAML",
		5: "SUB_FORMAT_XRAY_JSON",
		6: "SUB_FORMAT_SINGBOX_JSON",
	}
	SubFormat_value = map[string]int32{
		"SUB_FORMAT_UNSPECIFIED":  0,
		"SUB_FORMAT_BASE64_URIS":  1,
		"SUB_FORMAT_USER_PAGE":    2,
		"SUB_FORMAT_DECOY":        3,
		"SUB_FORMAT_MIHOMO_YAML":  4,
		"SUB_FORMAT_XRAY_JSON":    5,
		"SUB_FORMAT_SINGBOX_JSON": 6,
	}
)

Enum value maps for SubFormat.

View Source
var (
	BundleStatus_name = map[int32]string{
		0: "BUNDLE_STATUS_UNSPECIFIED",
		1: "BUNDLE_STATUS_MISSING",
		2: "BUNDLE_STATUS_TRUSTED",
		3: "BUNDLE_STATUS_UNTRUSTED",
		4: "BUNDLE_STATUS_NO_KEY",
	}
	BundleStatus_value = map[string]int32{
		"BUNDLE_STATUS_UNSPECIFIED": 0,
		"BUNDLE_STATUS_MISSING":     1,
		"BUNDLE_STATUS_TRUSTED":     2,
		"BUNDLE_STATUS_UNTRUSTED":   3,
		"BUNDLE_STATUS_NO_KEY":      4,
	}
)

Enum value maps for BundleStatus.

View Source
var (
	NodeUpdateState_name = map[int32]string{
		0: "NODE_UPDATE_STATE_UNSPECIFIED",
		1: "NODE_UPDATE_STATE_UP_TO_DATE",
		2: "NODE_UPDATE_STATE_OUTDATED",
		3: "NODE_UPDATE_STATE_UPDATING",
		4: "NODE_UPDATE_STATE_ROLLED_BACK",
		5: "NODE_UPDATE_STATE_FAILED",
		6: "NODE_UPDATE_STATE_UNSUPPORTED",
		7: "NODE_UPDATE_STATE_OFFLINE",
	}
	NodeUpdateState_value = map[string]int32{
		"NODE_UPDATE_STATE_UNSPECIFIED": 0,
		"NODE_UPDATE_STATE_UP_TO_DATE":  1,
		"NODE_UPDATE_STATE_OUTDATED":    2,
		"NODE_UPDATE_STATE_UPDATING":    3,
		"NODE_UPDATE_STATE_ROLLED_BACK": 4,
		"NODE_UPDATE_STATE_FAILED":      5,
		"NODE_UPDATE_STATE_UNSUPPORTED": 6,
		"NODE_UPDATE_STATE_OFFLINE":     7,
	}
)

Enum value maps for NodeUpdateState.

View Source
var (
	RolloutStatus_name = map[int32]string{
		0: "ROLLOUT_STATUS_UNSPECIFIED",
		1: "ROLLOUT_STATUS_RUNNING",
		2: "ROLLOUT_STATUS_PAUSED",
		3: "ROLLOUT_STATUS_DONE",
		4: "ROLLOUT_STATUS_CANCELLED",
		5: "ROLLOUT_STATUS_FAILED",
	}
	RolloutStatus_value = map[string]int32{
		"ROLLOUT_STATUS_UNSPECIFIED": 0,
		"ROLLOUT_STATUS_RUNNING":     1,
		"ROLLOUT_STATUS_PAUSED":      2,
		"ROLLOUT_STATUS_DONE":        3,
		"ROLLOUT_STATUS_CANCELLED":   4,
		"ROLLOUT_STATUS_FAILED":      5,
	}
)

Enum value maps for RolloutStatus.

View Source
var (
	StepState_name = map[int32]string{
		0: "STEP_STATE_UNSPECIFIED",
		1: "STEP_STATE_PENDING",
		2: "STEP_STATE_SENT",
		3: "STEP_STATE_GATING",
		4: "STEP_STATE_PASSED",
		5: "STEP_STATE_FAILED",
		6: "STEP_STATE_ROLLED_BACK",
		7: "STEP_STATE_SKIPPED",
	}
	StepState_value = map[string]int32{
		"STEP_STATE_UNSPECIFIED": 0,
		"STEP_STATE_PENDING":     1,
		"STEP_STATE_SENT":        2,
		"STEP_STATE_GATING":      3,
		"STEP_STATE_PASSED":      4,
		"STEP_STATE_FAILED":      5,
		"STEP_STATE_ROLLED_BACK": 6,
		"STEP_STATE_SKIPPED":     7,
	}
)

Enum value maps for StepState.

View Source
var (
	UserStatus_name = map[int32]string{
		0: "USER_STATUS_UNSPECIFIED",
		1: "USER_STATUS_ACTIVE",
		2: "USER_STATUS_DISABLED",
		3: "USER_STATUS_EXPIRED",
		4: "USER_STATUS_LIMITED",
	}
	UserStatus_value = map[string]int32{
		"USER_STATUS_UNSPECIFIED": 0,
		"USER_STATUS_ACTIVE":      1,
		"USER_STATUS_DISABLED":    2,
		"USER_STATUS_EXPIRED":     3,
		"USER_STATUS_LIMITED":     4,
	}
)

Enum value maps for UserStatus.

View Source
var (
	QuotaReset_name = map[int32]string{
		0: "QUOTA_RESET_UNSPECIFIED",
		1: "QUOTA_RESET_NONE",
		2: "QUOTA_RESET_DAY",
		3: "QUOTA_RESET_WEEK",
		4: "QUOTA_RESET_MONTH",
		5: "QUOTA_RESET_ROLLING_MONTH",
	}
	QuotaReset_value = map[string]int32{
		"QUOTA_RESET_UNSPECIFIED":   0,
		"QUOTA_RESET_NONE":          1,
		"QUOTA_RESET_DAY":           2,
		"QUOTA_RESET_WEEK":          3,
		"QUOTA_RESET_MONTH":         4,
		"QUOTA_RESET_ROLLING_MONTH": 5,
	}
)

Enum value maps for QuotaReset.

View Source
var (
	UserFilter_name = map[int32]string{
		0: "USER_FILTER_UNSPECIFIED",
		1: "USER_FILTER_ONLINE",
		2: "USER_FILTER_EXPIRING",
		3: "USER_FILTER_OVER_QUOTA",
		4: "USER_FILTER_OVER_DEVICE_LIMIT",
		5: "USER_FILTER_TELEGRAM",
	}
	UserFilter_value = map[string]int32{
		"USER_FILTER_UNSPECIFIED":       0,
		"USER_FILTER_ONLINE":            1,
		"USER_FILTER_EXPIRING":          2,
		"USER_FILTER_OVER_QUOTA":        3,
		"USER_FILTER_OVER_DEVICE_LIMIT": 4,
		"USER_FILTER_TELEGRAM":          5,
	}
)

Enum value maps for UserFilter.

View Source
var (
	UserSort_name = map[int32]string{
		0: "USER_SORT_UNSPECIFIED",
		1: "USER_SORT_NAME",
		2: "USER_SORT_TRAFFIC",
		3: "USER_SORT_EXPIRY",
		4: "USER_SORT_LAST_SEEN",
		5: "USER_SORT_DEVICES",
		6: "USER_SORT_GROUP",
		7: "USER_SORT_STATUS",
	}
	UserSort_value = map[string]int32{
		"USER_SORT_UNSPECIFIED": 0,
		"USER_SORT_NAME":        1,
		"USER_SORT_TRAFFIC":     2,
		"USER_SORT_EXPIRY":      3,
		"USER_SORT_LAST_SEEN":   4,
		"USER_SORT_DEVICES":     5,
		"USER_SORT_GROUP":       6,
		"USER_SORT_STATUS":      7,
	}
)

Enum value maps for UserSort.

View Source
var (
	DnsSource_name = map[int32]string{
		0: "DNS_SOURCE_UNSPECIFIED",
		1: "DNS_SOURCE_USER",
		2: "DNS_SOURCE_GROUP",
		3: "DNS_SOURCE_DEFAULT",
	}
	DnsSource_value = map[string]int32{
		"DNS_SOURCE_UNSPECIFIED": 0,
		"DNS_SOURCE_USER":        1,
		"DNS_SOURCE_GROUP":       2,
		"DNS_SOURCE_DEFAULT":     3,
	}
)

Enum value maps for DnsSource.

View Source
var (
	DeviceKind_name = map[int32]string{
		0: "DEVICE_KIND_UNSPECIFIED",
		1: "DEVICE_KIND_LINK",
		2: "DEVICE_KIND_LINK_SHARED",
		3: "DEVICE_KIND_KEY",
		4: "DEVICE_KIND_TELEGRAM_KEY",
	}
	DeviceKind_value = map[string]int32{
		"DEVICE_KIND_UNSPECIFIED":  0,
		"DEVICE_KIND_LINK":         1,
		"DEVICE_KIND_LINK_SHARED":  2,
		"DEVICE_KIND_KEY":          3,
		"DEVICE_KIND_TELEGRAM_KEY": 4,
	}
)

Enum value maps for DeviceKind.

View Source
var File_mistgate_admin_v1_auth_proto protoreflect.FileDescriptor
View Source
var File_mistgate_admin_v1_awg_proto protoreflect.FileDescriptor
View Source
var File_mistgate_admin_v1_backup_proto protoreflect.FileDescriptor
View Source
var File_mistgate_admin_v1_blocklist_proto protoreflect.FileDescriptor
View Source
var File_mistgate_admin_v1_bsbord_proto protoreflect.FileDescriptor
View Source
var File_mistgate_admin_v1_cheburcheck_proto protoreflect.FileDescriptor
View Source
var File_mistgate_admin_v1_client_probe_proto protoreflect.FileDescriptor
View Source
var File_mistgate_admin_v1_common_proto protoreflect.FileDescriptor
View Source
var File_mistgate_admin_v1_country_reachability_proto protoreflect.FileDescriptor
View Source
var File_mistgate_admin_v1_device_proto protoreflect.FileDescriptor
View Source
var File_mistgate_admin_v1_dns_proto protoreflect.FileDescriptor
View Source
var File_mistgate_admin_v1_fleet_proto protoreflect.FileDescriptor
View Source
var File_mistgate_admin_v1_globalping_proto protoreflect.FileDescriptor
View Source
var File_mistgate_admin_v1_group_proto protoreflect.FileDescriptor
View Source
var File_mistgate_admin_v1_health_proto protoreflect.FileDescriptor
View Source
var File_mistgate_admin_v1_instance_proto protoreflect.FileDescriptor
View Source
var File_mistgate_admin_v1_integrations_proto protoreflect.FileDescriptor
View Source
var File_mistgate_admin_v1_node_proto protoreflect.FileDescriptor
View Source
var File_mistgate_admin_v1_profile_proto protoreflect.FileDescriptor
View Source
var File_mistgate_admin_v1_provisioning_proto protoreflect.FileDescriptor
View Source
var File_mistgate_admin_v1_relay_proto protoreflect.FileDescriptor
View Source
var File_mistgate_admin_v1_subscription_proto protoreflect.FileDescriptor
View Source
var File_mistgate_admin_v1_telegram_proto protoreflect.FileDescriptor
View Source
var File_mistgate_admin_v1_tspu_probe_proto protoreflect.FileDescriptor
View Source
var File_mistgate_admin_v1_update_proto protoreflect.FileDescriptor
View Source
var File_mistgate_admin_v1_user_proto protoreflect.FileDescriptor
View Source
var File_mistgate_admin_v1_warp_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AcceptDoctorItemRequest

type AcceptDoctorItemRequest struct {
	NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	// The doctor check id ("foreign_nft").
	CheckId string `protobuf:"bytes,2,opt,name=check_id,json=checkId,proto3" json:"check_id,omitempty"`
	// contains filtered or unexported fields
}

func (*AcceptDoctorItemRequest) Descriptor deprecated

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

Deprecated: Use AcceptDoctorItemRequest.ProtoReflect.Descriptor instead.

func (*AcceptDoctorItemRequest) GetCheckId

func (x *AcceptDoctorItemRequest) GetCheckId() string

func (*AcceptDoctorItemRequest) GetNodeId

func (x *AcceptDoctorItemRequest) GetNodeId() string

func (*AcceptDoctorItemRequest) ProtoMessage

func (*AcceptDoctorItemRequest) ProtoMessage()

func (*AcceptDoctorItemRequest) ProtoReflect

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

func (*AcceptDoctorItemRequest) Reset

func (x *AcceptDoctorItemRequest) Reset()

func (*AcceptDoctorItemRequest) String

func (x *AcceptDoctorItemRequest) String() string

type AcceptDoctorItemResponse

type AcceptDoctorItemResponse struct {

	// The node's doctor state with the acceptance.
	Doctor *NodeDoctor `protobuf:"bytes,1,opt,name=doctor,proto3" json:"doctor,omitempty"`
	// contains filtered or unexported fields
}

func (*AcceptDoctorItemResponse) Descriptor deprecated

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

Deprecated: Use AcceptDoctorItemResponse.ProtoReflect.Descriptor instead.

func (*AcceptDoctorItemResponse) GetDoctor

func (x *AcceptDoctorItemResponse) GetDoctor() *NodeDoctor

func (*AcceptDoctorItemResponse) ProtoMessage

func (*AcceptDoctorItemResponse) ProtoMessage()

func (*AcceptDoctorItemResponse) ProtoReflect

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

func (*AcceptDoctorItemResponse) Reset

func (x *AcceptDoctorItemResponse) Reset()

func (*AcceptDoctorItemResponse) String

func (x *AcceptDoctorItemResponse) String() string

type AccessImpact

type AccessImpact struct {
	Lost   []*ImpactProfile `protobuf:"bytes,1,rep,name=lost,proto3" json:"lost,omitempty"`
	Gained []*ImpactProfile `protobuf:"bytes,2,rep,name=gained,proto3" json:"gained,omitempty"`
	// People touched: the user, or the group's users.
	Users uint32 `protobuf:"varint,3,opt,name=users,proto3" json:"users,omitempty"`
	// contains filtered or unexported fields
}

What a change of group (a user's, or a group's profile set) does to access: the profiles the people lose and gain. An AmneziaVPN key belongs to one profile, so the keys of a lost profile stop working.

func (*AccessImpact) Descriptor deprecated

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

Deprecated: Use AccessImpact.ProtoReflect.Descriptor instead.

func (*AccessImpact) GetGained

func (x *AccessImpact) GetGained() []*ImpactProfile

func (*AccessImpact) GetLost

func (x *AccessImpact) GetLost() []*ImpactProfile

func (*AccessImpact) GetUsers

func (x *AccessImpact) GetUsers() uint32

func (*AccessImpact) ProtoMessage

func (*AccessImpact) ProtoMessage()

func (*AccessImpact) ProtoReflect

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

func (*AccessImpact) Reset

func (x *AccessImpact) Reset()

func (*AccessImpact) String

func (x *AccessImpact) String() string

type AddNodeServerKeyRequest added in v0.1.74

type AddNodeServerKeyRequest struct {
	NodeId    string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	PublicKey string `protobuf:"bytes,2,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
	PanelKey  bool   `protobuf:"varint,3,opt,name=panel_key,json=panelKey,proto3" json:"panel_key,omitempty"`
	Confirm   bool   `protobuf:"varint,4,opt,name=confirm,proto3" json:"confirm,omitempty"`
	// contains filtered or unexported fields
}

func (*AddNodeServerKeyRequest) Descriptor deprecated added in v0.1.74

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

Deprecated: Use AddNodeServerKeyRequest.ProtoReflect.Descriptor instead.

func (*AddNodeServerKeyRequest) GetConfirm added in v0.1.74

func (x *AddNodeServerKeyRequest) GetConfirm() bool

func (*AddNodeServerKeyRequest) GetNodeId added in v0.1.74

func (x *AddNodeServerKeyRequest) GetNodeId() string

func (*AddNodeServerKeyRequest) GetPanelKey added in v0.1.74

func (x *AddNodeServerKeyRequest) GetPanelKey() bool

func (*AddNodeServerKeyRequest) GetPublicKey added in v0.1.74

func (x *AddNodeServerKeyRequest) GetPublicKey() string

func (*AddNodeServerKeyRequest) ProtoMessage added in v0.1.74

func (*AddNodeServerKeyRequest) ProtoMessage()

func (*AddNodeServerKeyRequest) ProtoReflect added in v0.1.74

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

func (*AddNodeServerKeyRequest) Reset added in v0.1.74

func (x *AddNodeServerKeyRequest) Reset()

func (*AddNodeServerKeyRequest) String added in v0.1.74

func (x *AddNodeServerKeyRequest) String() string

type AddNodeServerKeyResponse added in v0.1.74

type AddNodeServerKeyResponse struct {
	Key *NodeServerKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// contains filtered or unexported fields
}

func (*AddNodeServerKeyResponse) Descriptor deprecated added in v0.1.74

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

Deprecated: Use AddNodeServerKeyResponse.ProtoReflect.Descriptor instead.

func (*AddNodeServerKeyResponse) GetKey added in v0.1.74

func (*AddNodeServerKeyResponse) ProtoMessage added in v0.1.74

func (*AddNodeServerKeyResponse) ProtoMessage()

func (*AddNodeServerKeyResponse) ProtoReflect added in v0.1.74

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

func (*AddNodeServerKeyResponse) Reset added in v0.1.74

func (x *AddNodeServerKeyResponse) Reset()

func (*AddNodeServerKeyResponse) String added in v0.1.74

func (x *AddNodeServerKeyResponse) String() string

type Admin

type Admin struct {
	Id          string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	Role        Role   `protobuf:"varint,3,opt,name=role,proto3,enum=mistgate.admin.v1.Role" json:"role,omitempty"`
	// contains filtered or unexported fields
}

func (*Admin) Descriptor deprecated

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

Deprecated: Use Admin.ProtoReflect.Descriptor instead.

func (*Admin) GetDisplayName

func (x *Admin) GetDisplayName() string

func (*Admin) GetId

func (x *Admin) GetId() string

func (*Admin) GetRole

func (x *Admin) GetRole() Role

func (*Admin) ProtoMessage

func (*Admin) ProtoMessage()

func (*Admin) ProtoReflect

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

func (*Admin) Reset

func (x *Admin) Reset()

func (*Admin) String

func (x *Admin) String() string

type AdminSession

type AdminSession struct {

	// Opaque; pass it to EndSession.
	Id             string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	CreatedAtUnix  int64  `protobuf:"varint,2,opt,name=created_at_unix,json=createdAtUnix,proto3" json:"created_at_unix,omitempty"`
	LastSeenAtUnix int64  `protobuf:"varint,3,opt,name=last_seen_at_unix,json=lastSeenAtUnix,proto3" json:"last_seen_at_unix,omitempty"`
	Ip             string `protobuf:"bytes,4,opt,name=ip,proto3" json:"ip,omitempty"`
	UserAgent      string `protobuf:"bytes,5,opt,name=user_agent,json=userAgent,proto3" json:"user_agent,omitempty"`
	// The session making this call.
	Current bool `protobuf:"varint,6,opt,name=current,proto3" json:"current,omitempty"`
	// contains filtered or unexported fields
}

func (*AdminSession) Descriptor deprecated

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

Deprecated: Use AdminSession.ProtoReflect.Descriptor instead.

func (*AdminSession) GetCreatedAtUnix

func (x *AdminSession) GetCreatedAtUnix() int64

func (*AdminSession) GetCurrent

func (x *AdminSession) GetCurrent() bool

func (*AdminSession) GetId

func (x *AdminSession) GetId() string

func (*AdminSession) GetIp

func (x *AdminSession) GetIp() string

func (*AdminSession) GetLastSeenAtUnix

func (x *AdminSession) GetLastSeenAtUnix() int64

func (*AdminSession) GetUserAgent

func (x *AdminSession) GetUserAgent() string

func (*AdminSession) ProtoMessage

func (*AdminSession) ProtoMessage()

func (*AdminSession) ProtoReflect

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

func (*AdminSession) Reset

func (x *AdminSession) Reset()

func (*AdminSession) String

func (x *AdminSession) String() string

type Alert

type Alert struct {

	// "alt_..." opaque. A re-opened alert (same key returns within 1 h of resolving) keeps its id.
	Id       string        `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Severity AlertSeverity `protobuf:"varint,2,opt,name=severity,proto3,enum=mistgate.admin.v1.AlertSeverity" json:"severity,omitempty"`
	Kind     AlertKind     `protobuf:"varint,3,opt,name=kind,proto3,enum=mistgate.admin.v1.AlertKind" json:"kind,omitempty"`
	// Empty for fleet-wide and user alerts (QUOTA, SUBSCRIPTION_SHARED_SUSPECT, ACCESS_ENDED, the panel-egress guard).
	NodeId string `protobuf:"bytes,4,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	// Resolved by the server; a retired or renamed node keeps its last name.
	NodeName string `protobuf:"bytes,5,opt,name=node_name,json=nodeName,proto3" json:"node_name,omitempty"`
	// What the alert concerns beyond the node: doctor check id, inbound id, "agent", user id. May be empty.
	Subject string `protobuf:"bytes,6,opt,name=subject,proto3" json:"subject,omitempty"`
	// One-line title and the plain-language "why", both i18n keys (see the service comment). `why_key` already
	// contains the diagnosis variant, e.g. "health.alert.no_traffic.why.udp_blocked".
	TitleKey      string            `protobuf:"bytes,7,opt,name=title_key,json=titleKey,proto3" json:"title_key,omitempty"`
	Params        map[string]string `` /* 139-byte string literal not displayed */
	WhyKey        string            `protobuf:"bytes,9,opt,name=why_key,json=whyKey,proto3" json:"why_key,omitempty"`
	FirstSeenUnix int64             `protobuf:"varint,10,opt,name=first_seen_unix,json=firstSeenUnix,proto3" json:"first_seen_unix,omitempty"`
	// Last time the condition was observed to hold; for an active alert this trails "now" by at most one
	// evaluation interval (10 s for agent-driven conditions, the check round for synthetic ones).
	LastSeenUnix int64 `protobuf:"varint,11,opt,name=last_seen_unix,json=lastSeenUnix,proto3" json:"last_seen_unix,omitempty"`
	// 0 = still active.
	ResolvedAtUnix int64 `protobuf:"varint,12,opt,name=resolved_at_unix,json=resolvedAtUnix,proto3" json:"resolved_at_unix,omitempty"`
	// How it ended, for the history rows: "cleared" (the condition went away by itself), "fix_applied"
	// (ApplyFix), "node_retired", "node_returned" (HOST_BLIP), "superseded" (a bigger alert says the same),
	// "accepted" (the owner accepted the doctor warning as normal for the node). Empty while active.
	Resolution string `protobuf:"bytes,13,opt,name=resolution,proto3" json:"resolution,omitempty"`
	// 0 = not muted. Unix time when the mute ends. A mute ends by itself when the alert's severity rises.
	MutedUntilUnix int64 `protobuf:"varint,14,opt,name=muted_until_unix,json=mutedUntilUnix,proto3" json:"muted_until_unix,omitempty"`
	// Buttons, in display order. Vocabulary: "apply_fix:<fix_id>" (start the two-step fix; only offered while the
	// doctor result still carries that fix_id and the agent is connected), "restart_inbound" (NodeService.RestartInbounds
	// of the alert's inbound, params.inbound; params.online = its open sessions now), "restart_inbounds" (every profile
	// of the node), "open_profiles" (the node's Profiles tab: a port or a certificate to change there), "open_warp" (the
	// node's WARP card), "open_node" (go to the node page), "open_user" (go to the user page, params.user_id; only
	// ACCESS_ENDED and USER_CONNECTION), "accept" (a doctor warning: AcceptDoctorItem), "mute".
	// Unknown entries are ignored by the SPA.
	Actions []string `protobuf:"bytes,15,rep,name=actions,proto3" json:"actions,omitempty"`
	// Start of the current episode: equals first_seen_unix until the alert is re-opened (see id), then the time of the
	// re-open. A duration is counted from here, not from first_seen_unix, which also covers the gap between episodes.
	OpenedUnix int64 `protobuf:"varint,16,opt,name=opened_unix,json=openedUnix,proto3" json:"opened_unix,omitempty"`
	// contains filtered or unexported fields
}

func (*Alert) Descriptor deprecated

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

Deprecated: Use Alert.ProtoReflect.Descriptor instead.

func (*Alert) GetActions

func (x *Alert) GetActions() []string

func (*Alert) GetFirstSeenUnix

func (x *Alert) GetFirstSeenUnix() int64

func (*Alert) GetId

func (x *Alert) GetId() string

func (*Alert) GetKind

func (x *Alert) GetKind() AlertKind

func (*Alert) GetLastSeenUnix

func (x *Alert) GetLastSeenUnix() int64

func (*Alert) GetMutedUntilUnix

func (x *Alert) GetMutedUntilUnix() int64

func (*Alert) GetNodeId

func (x *Alert) GetNodeId() string

func (*Alert) GetNodeName

func (x *Alert) GetNodeName() string

func (*Alert) GetOpenedUnix added in v0.1.27

func (x *Alert) GetOpenedUnix() int64

func (*Alert) GetParams

func (x *Alert) GetParams() map[string]string

func (*Alert) GetResolution

func (x *Alert) GetResolution() string

func (*Alert) GetResolvedAtUnix

func (x *Alert) GetResolvedAtUnix() int64

func (*Alert) GetSeverity

func (x *Alert) GetSeverity() AlertSeverity

func (*Alert) GetSubject

func (x *Alert) GetSubject() string

func (*Alert) GetTitleKey

func (x *Alert) GetTitleKey() string

func (*Alert) GetWhyKey

func (x *Alert) GetWhyKey() string

func (*Alert) ProtoMessage

func (*Alert) ProtoMessage()

func (*Alert) ProtoReflect

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

func (*Alert) Reset

func (x *Alert) Reset()

func (*Alert) String

func (x *Alert) String() string

type AlertKind

type AlertKind int32

What the alert is about. One active alert per (kind, node_id, subject).

const (
	AlertKind_ALERT_KIND_UNSPECIFIED AlertKind = 0
	// No agent stream and the host did not come back within the blip window (10 min), and (once the
	// cross-node probe exists) other nodes cannot reach it either. CRITICAL.
	AlertKind_ALERT_KIND_NODE_DOWN AlertKind = 1
	// HISTORY ONLY (a blip is an event, not an alert). A record with severity INFO written when a
	// node that was silent < 10 min came back with an unchanged boot time: first_seen = silence start,
	// resolved_at = return. It is never active, never notifies and never reboots anything; it exists so the
	// 7-day history shows it. A silence that outlasts the window becomes NODE_DOWN instead.
	AlertKind_ALERT_KIND_HOST_BLIP AlertKind = 2
	// Agent connected and inbounds RUNNING, but every synthetic check of the node fails (node status
	// NO_TRAFFIC). CRITICAL. subject = "".
	AlertKind_ALERT_KIND_NO_TRAFFIC AlertKind = 3
	// Some, not all, inbounds of an online node fail their synthetic check. WARNING (CRITICAL when the failing
	// inbound is the only one of its protocol on the node). subject = inbound id.
	AlertKind_ALERT_KIND_CHECK_FAILED AlertKind = 4
	// A doctor check reports WARN. subject = check id. WARNING.
	AlertKind_ALERT_KIND_DOCTOR_WARN AlertKind = 5
	// A doctor check reports FAIL. subject = check id. CRITICAL.
	AlertKind_ALERT_KIND_DOCTOR_FAIL AlertKind = 6
	// Applied state hash differs from the desired one after the automatic full resend (agent.proto
	// "DESIRED STATE"). WARNING.
	AlertKind_ALERT_KIND_STATE_DRIFT AlertKind = 7
	// A user reached the quota (status limited). INFO. node_id = "", subject = user id, params{user_name}.
	AlertKind_ALERT_KIND_QUOTA AlertKind = 8
	// A certificate expires soon or does not match its SNI: inbound certificates and the agent's own mTLS
	// certificate. Raised from the doctor check cert_expiry (not duplicated as DOCTOR_*) and from the panel's
	// own view of Inbound.cert_not_after_unix. subject = inbound id or "agent". WARNING, CRITICAL < 3 days.
	AlertKind_ALERT_KIND_CERT_EXPIRY AlertKind = 9
	// One subscription looks shared between people (AWG endpoint jumping, device count above the limit).
	// INFO. node_id = "", subject = user id.
	AlertKind_ALERT_KIND_SUBSCRIPTION_SHARED_SUSPECT AlertKind = 10
	// A rollout of the node agent paused because a node failed its update gate or rejected the update.
	// WARNING. node_id = the failing node, subject = rollout id, params{rollout_id, reason}. Resolves by itself
	// when the rollout is resumed, cancelled or replaced. Produced from the updates module through a health
	// condition source, not from a doctor check.
	AlertKind_ALERT_KIND_UPDATE_FAILED AlertKind = 11
	// A user whose access expired or quota ran out is still fetching a subscription. WARNING.
	// node_id = "", subject = user id; why = expired or quota, params{user_name, since}.
	AlertKind_ALERT_KIND_ACCESS_ENDED AlertKind = 12
	// A likely connection problem for one user or device. INFO, never sent to Telegram.
	// subject = device id, or user id for silent; node_id is the node when known, else "".
	// Only never_connected, stale_key and silent are raised in this phase.
	AlertKind_ALERT_KIND_USER_CONNECTION AlertKind = 13
	// The current-hour peak users fell far below the same hour's usual level. WARNING.
	// node_id = node id, subject = protocol; only the gone variant is raised in this phase, params{now, usual, users}.
	AlertKind_ALERT_KIND_USERS_IMPACTED AlertKind = 14
	// A user tried to use BitTorrent through a node and the node's torrent guard blocked it. WARNING.
	// node_id = "", subject = user id, params{user_id, user_name, nodes, count, last_unix}: one alert per person over
	// the nodes they tried on. Open while the last attempt is under 24 hours old; attempts the node cannot attribute to a
	// user raise nothing.
	AlertKind_ALERT_KIND_TORRENT AlertKind = 15
	// The UDP delivery check found the current port of an enabled inbound losing packets (design/udp-port-check.md).
	// WARNING. node_id = node id, subject = inbound id, params{profile, port, sent, got, sender, checked_unix}. Derived
	// from the latest verdict of that port, not the sticky one: it resolves when a re-check is clean or the inbound moves
	// to another port.
	AlertKind_ALERT_KIND_PORT_LOSSY AlertKind = 16
	// A person was refused because they are at their device limit (an app asked for a new device and got the "limit
	// reached" entry instead of servers), in the last 24 hours. WARNING. node_id = "", subject = user id, params{user_id,
	// user_name, used, limit, count, last_unix}. Open while a refusal is under 24 hours old; in TRACK mode nobody is refused,
	// so the events it writes stay history and raise nothing.
	AlertKind_ALERT_KIND_DEVICE_LIMIT AlertKind = 17
	// The country check (a source of probes inside the country, see CountryCheck) found the node cut off from the country for
	// two rounds in a row: verdict BLOCKED or TCP_BLOCKED. WARNING. node_id = node id, subject = "" (one per node and country),
	// params{country, verdict, networks, ports}. "networks" is the probe networks that failed, comma separated; "ports" the TCP
	// ports tried. Opens after 2 consecutive rounds with a bad verdict and closes after 2 rounds with OK; UNKNOWN rounds
	// neither open nor close it. Muting works like for any other kind.
	AlertKind_ALERT_KIND_COUNTRY_BLOCKED AlertKind = 18
	// A relay (a server forwarded through an entry node) does not work end to end in the client-eye rounds. WARNING.
	// node_id = the entry node, subject = the relay id, params{relay, exit, exit_profile, port, stage}: stage is "leg" (the
	// entry does not reach the exit), "entry" (the forward is not installed), "path" (nothing comes through) or "freeze"
	// (a transfer stalls after the first kilobytes). Opens after the usual failure streak, is superseded while the exit's
	// own check alert or the entry's node_down is open, and closes on recovery.
	AlertKind_ALERT_KIND_RELAY_DOWN AlertKind = 19
	// A two-sender UDP check found loss from one sender but delivery from the other. WARNING. node_id = lossy sender,
	// subject = target node id, params{node, target, target_id, ports, sent, got, other, other_got, region, other_region,
	// checked_unix}. The condition expires 30 hours after the latest check or when that path-loss row is removed.
	AlertKind_ALERT_KIND_PATH_LOSSY AlertKind = 20
)

func (AlertKind) Descriptor

func (AlertKind) Descriptor() protoreflect.EnumDescriptor

func (AlertKind) Enum

func (x AlertKind) Enum() *AlertKind

func (AlertKind) EnumDescriptor deprecated

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

Deprecated: Use AlertKind.Descriptor instead.

func (AlertKind) Number

func (x AlertKind) Number() protoreflect.EnumNumber

func (AlertKind) String

func (x AlertKind) String() string

func (AlertKind) Type

type AlertSeverity

type AlertSeverity int32
const (
	AlertSeverity_ALERT_SEVERITY_UNSPECIFIED AlertSeverity = 0
	// Worth knowing, nobody has to act. Never notifies, never counted in the badge.
	AlertSeverity_ALERT_SEVERITY_INFO     AlertSeverity = 1
	AlertSeverity_ALERT_SEVERITY_WARNING  AlertSeverity = 2
	AlertSeverity_ALERT_SEVERITY_CRITICAL AlertSeverity = 3
)

func (AlertSeverity) Descriptor

func (AlertSeverity) Enum

func (x AlertSeverity) Enum() *AlertSeverity

func (AlertSeverity) EnumDescriptor deprecated

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

Deprecated: Use AlertSeverity.Descriptor instead.

func (AlertSeverity) Number

func (AlertSeverity) String

func (x AlertSeverity) String() string

func (AlertSeverity) Type

type ApiToken

type ApiToken struct {

	// "tok_..." opaque. Also what the audit log shows: "token:<id>" and "mcp:<id>".
	Id          string       `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name        string       `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Profile     TokenProfile `protobuf:"varint,3,opt,name=profile,proto3,enum=mistgate.admin.v1.TokenProfile" json:"profile,omitempty"`
	CreatedUnix int64        `protobuf:"varint,4,opt,name=created_unix,json=createdUnix,proto3" json:"created_unix,omitempty"`
	// Always set: a token cannot be unlimited.
	ExpiresUnix int64 `protobuf:"varint,5,opt,name=expires_unix,json=expiresUnix,proto3" json:"expires_unix,omitempty"`
	// 0 = never used. Written at most once a minute.
	LastUsedUnix int64 `protobuf:"varint,6,opt,name=last_used_unix,json=lastUsedUnix,proto3" json:"last_used_unix,omitempty"`
	// Client address of the last use; empty when never used.
	LastUsedIp  string       `protobuf:"bytes,7,opt,name=last_used_ip,json=lastUsedIp,proto3" json:"last_used_ip,omitempty"`
	LastUsedVia TokenChannel `` /* 133-byte string literal not displayed */
	// 0 = active (it may still be expired: compare with now).
	RevokedUnix int64 `protobuf:"varint,9,opt,name=revoked_unix,json=revokedUnix,proto3" json:"revoked_unix,omitempty"`
	// Display name of the admin that created it.
	CreatedByName string `protobuf:"bytes,10,opt,name=created_by_name,json=createdByName,proto3" json:"created_by_name,omitempty"`
	// Requests per minute the token may make (the effective value, never 0).
	RateLimitPerMin uint32 `protobuf:"varint,11,opt,name=rate_limit_per_min,json=rateLimitPerMin,proto3" json:"rate_limit_per_min,omitempty"`
	// The last four characters of the secret, to tell tokens apart in a list. Not usable for anything.
	Hint string `protobuf:"bytes,12,opt,name=hint,proto3" json:"hint,omitempty"`
	// contains filtered or unexported fields
}

func (*ApiToken) Descriptor deprecated

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

Deprecated: Use ApiToken.ProtoReflect.Descriptor instead.

func (*ApiToken) GetCreatedByName

func (x *ApiToken) GetCreatedByName() string

func (*ApiToken) GetCreatedUnix

func (x *ApiToken) GetCreatedUnix() int64

func (*ApiToken) GetExpiresUnix

func (x *ApiToken) GetExpiresUnix() int64

func (*ApiToken) GetHint

func (x *ApiToken) GetHint() string

func (*ApiToken) GetId

func (x *ApiToken) GetId() string

func (*ApiToken) GetLastUsedIp

func (x *ApiToken) GetLastUsedIp() string

func (*ApiToken) GetLastUsedUnix

func (x *ApiToken) GetLastUsedUnix() int64

func (*ApiToken) GetLastUsedVia

func (x *ApiToken) GetLastUsedVia() TokenChannel

func (*ApiToken) GetName

func (x *ApiToken) GetName() string

func (*ApiToken) GetProfile

func (x *ApiToken) GetProfile() TokenProfile

func (*ApiToken) GetRateLimitPerMin

func (x *ApiToken) GetRateLimitPerMin() uint32

func (*ApiToken) GetRevokedUnix

func (x *ApiToken) GetRevokedUnix() int64

func (*ApiToken) ProtoMessage

func (*ApiToken) ProtoMessage()

func (*ApiToken) ProtoReflect

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

func (*ApiToken) Reset

func (x *ApiToken) Reset()

func (*ApiToken) String

func (x *ApiToken) String() string

type App

type App int32
const (
	App_APP_UNSPECIFIED App = 0
	// Happ (Hysteria2 today; any Happ-consumable protocol later).
	App_APP_HAPP App = 1
	// AmneziaVPN / AmneziaWG apps.
	App_APP_AMNEZIA App = 2
	// Telegram clients: MTProto proxy links (tg://proxy).
	App_APP_TELEGRAM App = 3
)

func (App) Descriptor

func (App) Descriptor() protoreflect.EnumDescriptor

func (App) Enum

func (x App) Enum() *App

func (App) EnumDescriptor deprecated

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

Deprecated: Use App.Descriptor instead.

func (App) Number

func (x App) Number() protoreflect.EnumNumber

func (App) String

func (x App) String() string

func (App) Type

func (App) Type() protoreflect.EnumType

type AppToggles

type AppToggles struct {
	Happ    bool `protobuf:"varint,1,opt,name=happ,proto3" json:"happ,omitempty"`
	Amnezia bool `protobuf:"varint,2,opt,name=amnezia,proto3" json:"amnezia,omitempty"`
	// Telegram clients receive tg://proxy links for the MTProto profiles of the user's groups.
	Telegram bool `protobuf:"varint,3,opt,name=telegram,proto3" json:"telegram,omitempty"`
	// contains filtered or unexported fields
}

func (*AppToggles) Descriptor deprecated

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

Deprecated: Use AppToggles.ProtoReflect.Descriptor instead.

func (*AppToggles) GetAmnezia

func (x *AppToggles) GetAmnezia() bool

func (*AppToggles) GetHapp

func (x *AppToggles) GetHapp() bool

func (*AppToggles) GetTelegram added in v0.1.69

func (x *AppToggles) GetTelegram() bool

func (*AppToggles) ProtoMessage

func (*AppToggles) ProtoMessage()

func (*AppToggles) ProtoReflect

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

func (*AppToggles) Reset

func (x *AppToggles) Reset()

func (*AppToggles) String

func (x *AppToggles) String() string

type ApplyFixRequest

type ApplyFixRequest struct {
	NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	FixId  string `protobuf:"bytes,2,opt,name=fix_id,json=fixId,proto3" json:"fix_id,omitempty"`
	// restart_inbound: {"inbound_id"} (empty = all failed inbounds of the node). Others: none.
	Params map[string]string `` /* 139-byte string literal not displayed */
	// true = step 1 (plan, changes nothing). false = step 2 (perform; needs plan_id).
	DryRun bool `protobuf:"varint,4,opt,name=dry_run,json=dryRun,proto3" json:"dry_run,omitempty"`
	// From the dry run's response; required when dry_run is false.
	PlanId string `protobuf:"bytes,5,opt,name=plan_id,json=planId,proto3" json:"plan_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ApplyFixRequest) Descriptor deprecated

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

Deprecated: Use ApplyFixRequest.ProtoReflect.Descriptor instead.

func (*ApplyFixRequest) GetDryRun

func (x *ApplyFixRequest) GetDryRun() bool

func (*ApplyFixRequest) GetFixId

func (x *ApplyFixRequest) GetFixId() string

func (*ApplyFixRequest) GetNodeId

func (x *ApplyFixRequest) GetNodeId() string

func (*ApplyFixRequest) GetParams

func (x *ApplyFixRequest) GetParams() map[string]string

func (*ApplyFixRequest) GetPlanId

func (x *ApplyFixRequest) GetPlanId() string

func (*ApplyFixRequest) ProtoMessage

func (*ApplyFixRequest) ProtoMessage()

func (*ApplyFixRequest) ProtoReflect

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

func (*ApplyFixRequest) Reset

func (x *ApplyFixRequest) Reset()

func (*ApplyFixRequest) String

func (x *ApplyFixRequest) String() string

type ApplyFixResponse

type ApplyFixResponse struct {
	Plan *FixPlan `protobuf:"bytes,1,opt,name=plan,proto3" json:"plan,omitempty"`
	// Step 1 only: pass it back in step 2.
	PlanId string `protobuf:"bytes,2,opt,name=plan_id,json=planId,proto3" json:"plan_id,omitempty"`
	// Step 1 only: unix time when the plan_id expires.
	PlanExpiresUnix int64 `protobuf:"varint,3,opt,name=plan_expires_unix,json=planExpiresUnix,proto3" json:"plan_expires_unix,omitempty"`
	// Step 2 only: the node reported ok. On false, `error` carries the agent's short code
	// (agent.proto "CommandResult.error vocabulary") and the state is unchanged or partly changed as stated.
	Applied bool   `protobuf:"varint,4,opt,name=applied,proto3" json:"applied,omitempty"`
	Error   string `protobuf:"bytes,5,opt,name=error,proto3" json:"error,omitempty"`
	// Step 2 only: units changed, and the node's result facts.
	Affected     uint32            `protobuf:"varint,6,opt,name=affected,proto3" json:"affected,omitempty"`
	ResultParams map[string]string `` /* 171-byte string literal not displayed */
	// Step 2 only, when applied: the node's doctor state after the automatic re-check (may still be the old
	// report if the re-check did not arrive within 10 s).
	Doctor *NodeDoctor `protobuf:"bytes,8,opt,name=doctor,proto3" json:"doctor,omitempty"`
	// contains filtered or unexported fields
}

func (*ApplyFixResponse) Descriptor deprecated

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

Deprecated: Use ApplyFixResponse.ProtoReflect.Descriptor instead.

func (*ApplyFixResponse) GetAffected

func (x *ApplyFixResponse) GetAffected() uint32

func (*ApplyFixResponse) GetApplied

func (x *ApplyFixResponse) GetApplied() bool

func (*ApplyFixResponse) GetDoctor

func (x *ApplyFixResponse) GetDoctor() *NodeDoctor

func (*ApplyFixResponse) GetError

func (x *ApplyFixResponse) GetError() string

func (*ApplyFixResponse) GetPlan

func (x *ApplyFixResponse) GetPlan() *FixPlan

func (*ApplyFixResponse) GetPlanExpiresUnix

func (x *ApplyFixResponse) GetPlanExpiresUnix() int64

func (*ApplyFixResponse) GetPlanId

func (x *ApplyFixResponse) GetPlanId() string

func (*ApplyFixResponse) GetResultParams

func (x *ApplyFixResponse) GetResultParams() map[string]string

func (*ApplyFixResponse) ProtoMessage

func (*ApplyFixResponse) ProtoMessage()

func (*ApplyFixResponse) ProtoReflect

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

func (*ApplyFixResponse) Reset

func (x *ApplyFixResponse) Reset()

func (*ApplyFixResponse) String

func (x *ApplyFixResponse) String() string

type Approval

type Approval struct {

	// "pln_..." opaque: the plan the agent made.
	Id           string       `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	TokenId      string       `protobuf:"bytes,2,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty"`
	TokenName    string       `protobuf:"bytes,3,opt,name=token_name,json=tokenName,proto3" json:"token_name,omitempty"`
	TokenProfile TokenProfile `` /* 134-byte string literal not displayed */
	// The MCP tool, without the _plan suffix: "rollout_start", "node_fix", "node_rollback", "user_disable".
	Tool  string          `protobuf:"bytes,5,opt,name=tool,proto3" json:"tool,omitempty"`
	Facts []*ApprovalFact `protobuf:"bytes,6,rep,name=facts,proto3" json:"facts,omitempty"`
	// Why this needs a human: "step_up" (the operation itself asks for one), "fleet" (it changes what runs on
	// the nodes), "bulk" (many users at once).
	Danger []string `protobuf:"bytes,7,rep,name=danger,proto3" json:"danger,omitempty"`
	// The agent's own explanation, at most 300 characters. Untrusted: shown as a quote.
	Reason      string        `protobuf:"bytes,8,opt,name=reason,proto3" json:"reason,omitempty"`
	State       ApprovalState `protobuf:"varint,9,opt,name=state,proto3,enum=mistgate.admin.v1.ApprovalState" json:"state,omitempty"`
	CreatedUnix int64         `protobuf:"varint,10,opt,name=created_unix,json=createdUnix,proto3" json:"created_unix,omitempty"`
	// Plan time + 10 minutes.
	ExpiresUnix int64 `protobuf:"varint,11,opt,name=expires_unix,json=expiresUnix,proto3" json:"expires_unix,omitempty"`
	// Who approved or rejected, and when; empty / 0 before that.
	DecidedByName string `protobuf:"bytes,12,opt,name=decided_by_name,json=decidedByName,proto3" json:"decided_by_name,omitempty"`
	DecidedUnix   int64  `protobuf:"varint,13,opt,name=decided_unix,json=decidedUnix,proto3" json:"decided_unix,omitempty"`
	// When the apply finished; 0 before that.
	AppliedUnix int64 `protobuf:"varint,14,opt,name=applied_unix,json=appliedUnix,proto3" json:"applied_unix,omitempty"`
	// One short English line of what was done, once APPLIED.
	Result string `protobuf:"bytes,15,opt,name=result,proto3" json:"result,omitempty"`
	// Why it FAILED, short and without secrets.
	Error string `protobuf:"bytes,16,opt,name=error,proto3" json:"error,omitempty"`
	// What came of an APPLIED or FAILED change as a code the SPA words itself, with its values: "users_disabled" {n},
	// "rollout_started" {n}; for a failure the panel's own refusal ("no_trusted_bundle", "node_offline"), "timeout" or
	// "interrupted". Empty for plans made before codes existed: the SPA then shows `result` or `error`.
	OutcomeCode   string            `protobuf:"bytes,17,opt,name=outcome_code,json=outcomeCode,proto3" json:"outcome_code,omitempty"`
	OutcomeParams map[string]string `` /* 175-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Approval) Descriptor deprecated

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

Deprecated: Use Approval.ProtoReflect.Descriptor instead.

func (*Approval) GetAppliedUnix

func (x *Approval) GetAppliedUnix() int64

func (*Approval) GetCreatedUnix

func (x *Approval) GetCreatedUnix() int64

func (*Approval) GetDanger

func (x *Approval) GetDanger() []string

func (*Approval) GetDecidedByName

func (x *Approval) GetDecidedByName() string

func (*Approval) GetDecidedUnix

func (x *Approval) GetDecidedUnix() int64

func (*Approval) GetError

func (x *Approval) GetError() string

func (*Approval) GetExpiresUnix

func (x *Approval) GetExpiresUnix() int64

func (*Approval) GetFacts

func (x *Approval) GetFacts() []*ApprovalFact

func (*Approval) GetId

func (x *Approval) GetId() string

func (*Approval) GetOutcomeCode

func (x *Approval) GetOutcomeCode() string

func (*Approval) GetOutcomeParams

func (x *Approval) GetOutcomeParams() map[string]string

func (*Approval) GetReason

func (x *Approval) GetReason() string

func (*Approval) GetResult

func (x *Approval) GetResult() string

func (*Approval) GetState

func (x *Approval) GetState() ApprovalState

func (*Approval) GetTokenId

func (x *Approval) GetTokenId() string

func (*Approval) GetTokenName

func (x *Approval) GetTokenName() string

func (*Approval) GetTokenProfile

func (x *Approval) GetTokenProfile() TokenProfile

func (*Approval) GetTool

func (x *Approval) GetTool() string

func (*Approval) ProtoMessage

func (*Approval) ProtoMessage()

func (*Approval) ProtoReflect

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

func (*Approval) Reset

func (x *Approval) Reset()

func (*Approval) String

func (x *Approval) String() string

type ApprovalFact

type ApprovalFact struct {

	// Label key suffix: "approval.fact.<key>" ("node", "version", "users", "count", "fix").
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// The panel's own short English line (what the agent reads too). The SPA shows it when it has no words for `code`.
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// The value comes from data an attacker could have written (a user or node name, a note, the agent's own
	// reason): the SPA shows it as quoted plain text, apart from the panel's own wording.
	Untrusted bool `protobuf:"varint,3,opt,name=untrusted,proto3" json:"untrusted,omitempty"`
	// The same line as a code the SPA words itself, with its values: {key "effect", code "traffic_reset"}, {key
	// "duration", code "seconds", params {n: "3600"}}, {key "quota", code "quota", params {bytes, reset}}. Empty when the
	// fact has none (a name, a version).
	Code   string            `protobuf:"bytes,4,opt,name=code,proto3" json:"code,omitempty"`
	Params map[string]string `` /* 139-byte string literal not displayed */
	// The params that come from data (a node or profile name): the SPA puts them in quotes on a plate of their own,
	// never into the panel's own wording.
	UntrustedParams []string `protobuf:"bytes,6,rep,name=untrusted_params,json=untrustedParams,proto3" json:"untrusted_params,omitempty"`
	// contains filtered or unexported fields
}

One line of "what this will do". Built by the panel from the structured parameters, never copied from what the agent wrote, except where `untrusted` is set.

func (*ApprovalFact) Descriptor deprecated

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

Deprecated: Use ApprovalFact.ProtoReflect.Descriptor instead.

func (*ApprovalFact) GetCode

func (x *ApprovalFact) GetCode() string

func (*ApprovalFact) GetKey

func (x *ApprovalFact) GetKey() string

func (*ApprovalFact) GetParams

func (x *ApprovalFact) GetParams() map[string]string

func (*ApprovalFact) GetUntrusted

func (x *ApprovalFact) GetUntrusted() bool

func (*ApprovalFact) GetUntrustedParams

func (x *ApprovalFact) GetUntrustedParams() []string

func (*ApprovalFact) GetValue

func (x *ApprovalFact) GetValue() string

func (*ApprovalFact) ProtoMessage

func (*ApprovalFact) ProtoMessage()

func (*ApprovalFact) ProtoReflect

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

func (*ApprovalFact) Reset

func (x *ApprovalFact) Reset()

func (*ApprovalFact) String

func (x *ApprovalFact) String() string

type ApprovalState

type ApprovalState int32
const (
	ApprovalState_APPROVAL_STATE_UNSPECIFIED ApprovalState = 0
	// Waiting for the owner.
	ApprovalState_APPROVAL_STATE_AWAITING ApprovalState = 1
	// The owner agreed; the agent may apply until expires_unix.
	ApprovalState_APPROVAL_STATE_APPROVED ApprovalState = 2
	ApprovalState_APPROVAL_STATE_REJECTED ApprovalState = 3
	// Nobody decided, or the agent did not apply, within 10 minutes of the plan.
	ApprovalState_APPROVAL_STATE_EXPIRED ApprovalState = 4
	// The agent applied; the call is running.
	ApprovalState_APPROVAL_STATE_APPLYING ApprovalState = 5
	ApprovalState_APPROVAL_STATE_APPLIED  ApprovalState = 6
	// The agent applied and the operation itself failed (`error` says why).
	ApprovalState_APPROVAL_STATE_FAILED ApprovalState = 7
	// The token was revoked before the change went through.
	ApprovalState_APPROVAL_STATE_CANCELLED ApprovalState = 8
)

func (ApprovalState) Descriptor

func (ApprovalState) Enum

func (x ApprovalState) Enum() *ApprovalState

func (ApprovalState) EnumDescriptor deprecated

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

Deprecated: Use ApprovalState.Descriptor instead.

func (ApprovalState) Number

func (ApprovalState) String

func (x ApprovalState) String() string

func (ApprovalState) Type

type ApproveRequest

type ApproveRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// node_install only: the SSH password the owner types on the approval screen (the agent never sees it), and the host
	// key fingerprint the owner compared and confirmed there. The panel seals the login choice to the plan until apply.
	SshPassword          string `protobuf:"bytes,2,opt,name=ssh_password,json=sshPassword,proto3" json:"ssh_password,omitempty"`
	ConfirmedFingerprint string `protobuf:"bytes,3,opt,name=confirmed_fingerprint,json=confirmedFingerprint,proto3" json:"confirmed_fingerprint,omitempty"`
	// For node_install, select the panel key instead of entering ssh_password.
	UsePanelKey bool `protobuf:"varint,4,opt,name=use_panel_key,json=usePanelKey,proto3" json:"use_panel_key,omitempty"`
	// contains filtered or unexported fields
}

func (*ApproveRequest) Descriptor deprecated

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

Deprecated: Use ApproveRequest.ProtoReflect.Descriptor instead.

func (*ApproveRequest) GetConfirmedFingerprint added in v0.1.15

func (x *ApproveRequest) GetConfirmedFingerprint() string

func (*ApproveRequest) GetId

func (x *ApproveRequest) GetId() string

func (*ApproveRequest) GetSshPassword added in v0.1.15

func (x *ApproveRequest) GetSshPassword() string

func (*ApproveRequest) GetUsePanelKey added in v0.1.74

func (x *ApproveRequest) GetUsePanelKey() bool

func (*ApproveRequest) ProtoMessage

func (*ApproveRequest) ProtoMessage()

func (*ApproveRequest) ProtoReflect

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

func (*ApproveRequest) Reset

func (x *ApproveRequest) Reset()

func (*ApproveRequest) String

func (x *ApproveRequest) String() string

type ApproveResponse

type ApproveResponse struct {
	Approval *Approval `protobuf:"bytes,1,opt,name=approval,proto3" json:"approval,omitempty"`
	// contains filtered or unexported fields
}

func (*ApproveResponse) Descriptor deprecated

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

Deprecated: Use ApproveResponse.ProtoReflect.Descriptor instead.

func (*ApproveResponse) GetApproval

func (x *ApproveResponse) GetApproval() *Approval

func (*ApproveResponse) ProtoMessage

func (*ApproveResponse) ProtoMessage()

func (*ApproveResponse) ProtoReflect

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

func (*ApproveResponse) Reset

func (x *ApproveResponse) Reset()

func (*ApproveResponse) String

func (x *ApproveResponse) String() string

type AttachNodeServerAccessRequest added in v0.1.74

type AttachNodeServerAccessRequest struct {
	NodeId               string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	SshHost              string `protobuf:"bytes,2,opt,name=ssh_host,json=sshHost,proto3" json:"ssh_host,omitempty"`
	SshPort              uint32 `protobuf:"varint,3,opt,name=ssh_port,json=sshPort,proto3" json:"ssh_port,omitempty"`
	Fingerprint          string `protobuf:"bytes,4,opt,name=fingerprint,proto3" json:"fingerprint,omitempty"`
	Username             string `protobuf:"bytes,5,opt,name=username,proto3" json:"username,omitempty"`
	Password             string `protobuf:"bytes,6,opt,name=password,proto3" json:"password,omitempty"`
	UsePanelKey          bool   `protobuf:"varint,7,opt,name=use_panel_key,json=usePanelKey,proto3" json:"use_panel_key,omitempty"`
	PrivateKey           string `protobuf:"bytes,8,opt,name=private_key,json=privateKey,proto3" json:"private_key,omitempty"`
	PrivateKeyPassphrase string `protobuf:"bytes,9,opt,name=private_key_passphrase,json=privateKeyPassphrase,proto3" json:"private_key_passphrase,omitempty"`
	InstallPanelKey      bool   `protobuf:"varint,10,opt,name=install_panel_key,json=installPanelKey,proto3" json:"install_panel_key,omitempty"`
	Confirm              bool   `protobuf:"varint,11,opt,name=confirm,proto3" json:"confirm,omitempty"`
	// contains filtered or unexported fields
}

Attach access to a node that was enrolled outside the SSH installer.

func (*AttachNodeServerAccessRequest) Descriptor deprecated added in v0.1.74

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

Deprecated: Use AttachNodeServerAccessRequest.ProtoReflect.Descriptor instead.

func (*AttachNodeServerAccessRequest) GetConfirm added in v0.1.74

func (x *AttachNodeServerAccessRequest) GetConfirm() bool

func (*AttachNodeServerAccessRequest) GetFingerprint added in v0.1.74

func (x *AttachNodeServerAccessRequest) GetFingerprint() string

func (*AttachNodeServerAccessRequest) GetInstallPanelKey added in v0.1.74

func (x *AttachNodeServerAccessRequest) GetInstallPanelKey() bool

func (*AttachNodeServerAccessRequest) GetNodeId added in v0.1.74

func (x *AttachNodeServerAccessRequest) GetNodeId() string

func (*AttachNodeServerAccessRequest) GetPassword added in v0.1.74

func (x *AttachNodeServerAccessRequest) GetPassword() string

func (*AttachNodeServerAccessRequest) GetPrivateKey added in v0.1.74

func (x *AttachNodeServerAccessRequest) GetPrivateKey() string

func (*AttachNodeServerAccessRequest) GetPrivateKeyPassphrase added in v0.1.74

func (x *AttachNodeServerAccessRequest) GetPrivateKeyPassphrase() string

func (*AttachNodeServerAccessRequest) GetSshHost added in v0.1.74

func (x *AttachNodeServerAccessRequest) GetSshHost() string

func (*AttachNodeServerAccessRequest) GetSshPort added in v0.1.74

func (x *AttachNodeServerAccessRequest) GetSshPort() uint32

func (*AttachNodeServerAccessRequest) GetUsePanelKey added in v0.1.74

func (x *AttachNodeServerAccessRequest) GetUsePanelKey() bool

func (*AttachNodeServerAccessRequest) GetUsername added in v0.1.74

func (x *AttachNodeServerAccessRequest) GetUsername() string

func (*AttachNodeServerAccessRequest) ProtoMessage added in v0.1.74

func (*AttachNodeServerAccessRequest) ProtoMessage()

func (*AttachNodeServerAccessRequest) ProtoReflect added in v0.1.74

func (*AttachNodeServerAccessRequest) Reset added in v0.1.74

func (x *AttachNodeServerAccessRequest) Reset()

func (*AttachNodeServerAccessRequest) String added in v0.1.74

type AttachNodeServerAccessResponse added in v0.1.74

type AttachNodeServerAccessResponse struct {
	Access *NodeServerAccess `protobuf:"bytes,1,opt,name=access,proto3" json:"access,omitempty"`
	// Non-empty when password access was attached but the optional panel key could not be installed.
	PanelKeyError string `protobuf:"bytes,2,opt,name=panel_key_error,json=panelKeyError,proto3" json:"panel_key_error,omitempty"`
	// contains filtered or unexported fields
}

func (*AttachNodeServerAccessResponse) Descriptor deprecated added in v0.1.74

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

Deprecated: Use AttachNodeServerAccessResponse.ProtoReflect.Descriptor instead.

func (*AttachNodeServerAccessResponse) GetAccess added in v0.1.74

func (*AttachNodeServerAccessResponse) GetPanelKeyError added in v0.1.74

func (x *AttachNodeServerAccessResponse) GetPanelKeyError() string

func (*AttachNodeServerAccessResponse) ProtoMessage added in v0.1.74

func (*AttachNodeServerAccessResponse) ProtoMessage()

func (*AttachNodeServerAccessResponse) ProtoReflect added in v0.1.74

func (*AttachNodeServerAccessResponse) Reset added in v0.1.74

func (x *AttachNodeServerAccessResponse) Reset()

func (*AttachNodeServerAccessResponse) String added in v0.1.74

type AuditEntry

type AuditEntry struct {
	Id       int64       `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	TimeUnix int64       `protobuf:"varint,2,opt,name=time_unix,json=timeUnix,proto3" json:"time_unix,omitempty"`
	Source   AuditSource `protobuf:"varint,3,opt,name=source,proto3,enum=mistgate.admin.v1.AuditSource" json:"source,omitempty"`
	// Admin id, or "anonymous".
	ActorId string `protobuf:"bytes,4,opt,name=actor_id,json=actorId,proto3" json:"actor_id,omitempty"`
	// Display name of the admin, empty if unknown.
	ActorName string `protobuf:"bytes,5,opt,name=actor_name,json=actorName,proto3" json:"actor_name,omitempty"`
	// e.g. "login", "setup", "logout", "passkey_add".
	Action string `protobuf:"bytes,6,opt,name=action,proto3" json:"action,omitempty"`
	// JSON object, never contains secrets.
	ParamsJson string `protobuf:"bytes,7,opt,name=params_json,json=paramsJson,proto3" json:"params_json,omitempty"`
	// "ok", "fail", ...
	Result string `protobuf:"bytes,8,opt,name=result,proto3" json:"result,omitempty"`
	// Client address the action came from.
	Ip string `protobuf:"bytes,9,opt,name=ip,proto3" json:"ip,omitempty"`
	// contains filtered or unexported fields
}

func (*AuditEntry) Descriptor deprecated

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

Deprecated: Use AuditEntry.ProtoReflect.Descriptor instead.

func (*AuditEntry) GetAction

func (x *AuditEntry) GetAction() string

func (*AuditEntry) GetActorId

func (x *AuditEntry) GetActorId() string

func (*AuditEntry) GetActorName

func (x *AuditEntry) GetActorName() string

func (*AuditEntry) GetId

func (x *AuditEntry) GetId() int64

func (*AuditEntry) GetIp

func (x *AuditEntry) GetIp() string

func (*AuditEntry) GetParamsJson

func (x *AuditEntry) GetParamsJson() string

func (*AuditEntry) GetResult

func (x *AuditEntry) GetResult() string

func (*AuditEntry) GetSource

func (x *AuditEntry) GetSource() AuditSource

func (*AuditEntry) GetTimeUnix

func (x *AuditEntry) GetTimeUnix() int64

func (*AuditEntry) ProtoMessage

func (*AuditEntry) ProtoMessage()

func (*AuditEntry) ProtoReflect

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

func (*AuditEntry) Reset

func (x *AuditEntry) Reset()

func (*AuditEntry) String

func (x *AuditEntry) String() string

type AuditKind

type AuditKind int32

What a ListAudit page holds besides the source filter.

const (
	// Everything.
	AuditKind_AUDIT_KIND_UNSPECIFIED AuditKind = 0
	// Sign-ins and the admins' own security: setup, sign-in and out, lockouts (the panel's and a subscription page's),
	// step-up, captcha, passkeys, passwords, authenticator apps, sessions.
	AuditKind_AUDIT_KIND_SIGN_IN AuditKind = 1
	// What people and their tokens changed: users, groups, profiles and their nodes, devices, DNS presets, nodes, WARP,
	// updates, health fixes, tokens, approvals and the panel's settings.
	AuditKind_AUDIT_KIND_CHANGES AuditKind = 2
	// Rows whose result is not "ok": failed, refused or locked attempts of any kind.
	AuditKind_AUDIT_KIND_FAILURES AuditKind = 3
)

func (AuditKind) Descriptor

func (AuditKind) Descriptor() protoreflect.EnumDescriptor

func (AuditKind) Enum

func (x AuditKind) Enum() *AuditKind

func (AuditKind) EnumDescriptor deprecated

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

Deprecated: Use AuditKind.Descriptor instead.

func (AuditKind) Number

func (x AuditKind) Number() protoreflect.EnumNumber

func (AuditKind) String

func (x AuditKind) String() string

func (AuditKind) Type

type AuditSource

type AuditSource int32
const (
	// No filter: all sources.
	AuditSource_AUDIT_SOURCE_UNSPECIFIED AuditSource = 0
	AuditSource_AUDIT_SOURCE_PANEL       AuditSource = 1
	AuditSource_AUDIT_SOURCE_BOT         AuditSource = 2
	AuditSource_AUDIT_SOURCE_MCP         AuditSource = 3
	AuditSource_AUDIT_SOURCE_API         AuditSource = 4
)

func (AuditSource) Descriptor

func (AuditSource) Enum

func (x AuditSource) Enum() *AuditSource

func (AuditSource) EnumDescriptor deprecated

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

Deprecated: Use AuditSource.Descriptor instead.

func (AuditSource) Number

func (x AuditSource) Number() protoreflect.EnumNumber

func (AuditSource) String

func (x AuditSource) String() string

func (AuditSource) Type

type AwgInboundStatus

type AwgInboundStatus struct {

	// "kernel" | "userspace".
	Backend string `protobuf:"bytes,1,opt,name=backend,proto3" json:"backend,omitempty"`
	// "amneziawg kernel module, genl v3, maxattr 34" | "amneziawg-go v3.1.20260828".
	BackendVersion string `protobuf:"bytes,2,opt,name=backend_version,json=backendVersion,proto3" json:"backend_version,omitempty"`
	IfaceUp        bool   `protobuf:"varint,3,opt,name=iface_up,json=ifaceUp,proto3" json:"iface_up,omitempty"`
	Peers          uint32 `protobuf:"varint,4,opt,name=peers,proto3" json:"peers,omitempty"`
	// Peers that completed a handshake at least once; peers - this = devices that never connected.
	PeersHandshaken uint32 `protobuf:"varint,5,opt,name=peers_handshaken,json=peersHandshaken,proto3" json:"peers_handshaken,omitempty"`
	// Peers with a handshake younger than 190 s.
	PeersOnline         uint32 `protobuf:"varint,6,opt,name=peers_online,json=peersOnline,proto3" json:"peers_online,omitempty"`
	NewestHandshakeUnix int64  `protobuf:"varint,7,opt,name=newest_handshake_unix,json=newestHandshakeUnix,proto3" json:"newest_handshake_unix,omitempty"`
	// Datagrams to the UDP port since the interface came up: 0 = the provider or a firewall, > 0 without
	// handshakes = obfuscation parameters.
	UdpRxPackets      uint64 `protobuf:"varint,8,opt,name=udp_rx_packets,json=udpRxPackets,proto3" json:"udp_rx_packets,omitempty"`
	UnknownPeerEvents uint32 `protobuf:"varint,9,opt,name=unknown_peer_events,json=unknownPeerEvents,proto3" json:"unknown_peer_events,omitempty"`
	// When the node reported this, for "stale" captions.
	ReportedUnix int64 `protobuf:"varint,10,opt,name=reported_unix,json=reportedUnix,proto3" json:"reported_unix,omitempty"`
	// contains filtered or unexported fields
}

AmneziaWG interface state of one inbound (agent.v1.AwgHealth).

func (*AwgInboundStatus) Descriptor deprecated

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

Deprecated: Use AwgInboundStatus.ProtoReflect.Descriptor instead.

func (*AwgInboundStatus) GetBackend

func (x *AwgInboundStatus) GetBackend() string

func (*AwgInboundStatus) GetBackendVersion

func (x *AwgInboundStatus) GetBackendVersion() string

func (*AwgInboundStatus) GetIfaceUp

func (x *AwgInboundStatus) GetIfaceUp() bool

func (*AwgInboundStatus) GetNewestHandshakeUnix

func (x *AwgInboundStatus) GetNewestHandshakeUnix() int64

func (*AwgInboundStatus) GetPeers

func (x *AwgInboundStatus) GetPeers() uint32

func (*AwgInboundStatus) GetPeersHandshaken

func (x *AwgInboundStatus) GetPeersHandshaken() uint32

func (*AwgInboundStatus) GetPeersOnline

func (x *AwgInboundStatus) GetPeersOnline() uint32

func (*AwgInboundStatus) GetReportedUnix

func (x *AwgInboundStatus) GetReportedUnix() int64

func (*AwgInboundStatus) GetUdpRxPackets

func (x *AwgInboundStatus) GetUdpRxPackets() uint64

func (*AwgInboundStatus) GetUnknownPeerEvents

func (x *AwgInboundStatus) GetUnknownPeerEvents() uint32

func (*AwgInboundStatus) ProtoMessage

func (*AwgInboundStatus) ProtoMessage()

func (*AwgInboundStatus) ProtoReflect

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

func (*AwgInboundStatus) Reset

func (x *AwgInboundStatus) Reset()

func (*AwgInboundStatus) String

func (x *AwgInboundStatus) String() string

type AwgPackets added in v0.1.56

type AwgPackets struct {

	// Packets that reached the inbound's UDP port since the counter started (the node's nft counter of the port): it grows
	// while anything, a device or a scanner, sends to the port, also when no handshake follows. Compare two reads.
	UdpRxPackets uint64 `protobuf:"varint,1,opt,name=udp_rx_packets,json=udpRxPackets,proto3" json:"udp_rx_packets,omitempty"`
	ReportedUnix int64  `protobuf:"varint,2,opt,name=reported_unix,json=reportedUnix,proto3" json:"reported_unix,omitempty"`
	// "kernel" or "userspace".
	Backend string `protobuf:"bytes,3,opt,name=backend,proto3" json:"backend,omitempty"`
	// Peers with a handshake in the last 3 minutes.
	PeersOnline uint32 `protobuf:"varint,4,opt,name=peers_online,json=peersOnline,proto3" json:"peers_online,omitempty"`
	// contains filtered or unexported fields
}

func (*AwgPackets) Descriptor deprecated added in v0.1.56

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

Deprecated: Use AwgPackets.ProtoReflect.Descriptor instead.

func (*AwgPackets) GetBackend added in v0.1.56

func (x *AwgPackets) GetBackend() string

func (*AwgPackets) GetPeersOnline added in v0.1.56

func (x *AwgPackets) GetPeersOnline() uint32

func (*AwgPackets) GetReportedUnix added in v0.1.56

func (x *AwgPackets) GetReportedUnix() int64

func (*AwgPackets) GetUdpRxPackets added in v0.1.56

func (x *AwgPackets) GetUdpRxPackets() uint64

func (*AwgPackets) ProtoMessage added in v0.1.56

func (*AwgPackets) ProtoMessage()

func (*AwgPackets) ProtoReflect added in v0.1.56

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

func (*AwgPackets) Reset added in v0.1.56

func (x *AwgPackets) Reset()

func (*AwgPackets) String added in v0.1.56

func (x *AwgPackets) String() string

type AwgPrepare

type AwgPrepare struct {

	// The agent lists "awg-prepare/1" (live stream, else its last Hello): false = the UI shows the manual command.
	Supported bool            `protobuf:"varint,1,opt,name=supported,proto3" json:"supported,omitempty"`
	State     AwgPrepareState `protobuf:"varint,2,opt,name=state,proto3,enum=mistgate.admin.v1.AwgPrepareState" json:"state,omitempty"`
	SinceUnix int64           `protobuf:"varint,3,opt,name=since_unix,json=sinceUnix,proto3" json:"since_unix,omitempty"`
	// FAILED: a stable code (timeout, apt_lock, step_failed, source_moved, module_not_loaded, module_unusable,
	// module_build_failed, interrupted) and one short English sentence. Never package-manager output.
	ReasonCode string `protobuf:"bytes,4,opt,name=reason_code,json=reasonCode,proto3" json:"reason_code,omitempty"`
	Reason     string `protobuf:"bytes,5,opt,name=reason,proto3" json:"reason,omitempty"`
	// contains filtered or unexported fields
}

The automatic preparation of the kernel module, as the panel last learned it from the node.

func (*AwgPrepare) Descriptor deprecated

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

Deprecated: Use AwgPrepare.ProtoReflect.Descriptor instead.

func (*AwgPrepare) GetReason

func (x *AwgPrepare) GetReason() string

func (*AwgPrepare) GetReasonCode

func (x *AwgPrepare) GetReasonCode() string

func (*AwgPrepare) GetSinceUnix

func (x *AwgPrepare) GetSinceUnix() int64

func (*AwgPrepare) GetState

func (x *AwgPrepare) GetState() AwgPrepareState

func (*AwgPrepare) GetSupported

func (x *AwgPrepare) GetSupported() bool

func (*AwgPrepare) ProtoMessage

func (*AwgPrepare) ProtoMessage()

func (*AwgPrepare) ProtoReflect

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

func (*AwgPrepare) Reset

func (x *AwgPrepare) Reset()

func (*AwgPrepare) String

func (x *AwgPrepare) String() string

type AwgPrepareState

type AwgPrepareState int32
const (
	// Nothing was asked of this node yet (or the last result was cleared).
	AwgPrepareState_AWG_PREPARE_STATE_NONE AwgPrepareState = 0
	// Building: since_unix is when it began.
	AwgPrepareState_AWG_PREPARE_STATE_RUNNING AwgPrepareState = 1
	// Built and loaded; since_unix is when it finished.
	AwgPrepareState_AWG_PREPARE_STATE_DONE AwgPrepareState = 2
	// Did not work; the node kept its backend. reason_code / reason say why, since_unix when.
	AwgPrepareState_AWG_PREPARE_STATE_FAILED AwgPrepareState = 3
)

func (AwgPrepareState) Descriptor

func (AwgPrepareState) Enum

func (x AwgPrepareState) Enum() *AwgPrepareState

func (AwgPrepareState) EnumDescriptor deprecated

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

Deprecated: Use AwgPrepareState.Descriptor instead.

func (AwgPrepareState) Number

func (AwgPrepareState) String

func (x AwgPrepareState) String() string

func (AwgPrepareState) Type

type Backup

type Backup struct {
	Key         string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	SizeBytes   int64  `protobuf:"varint,2,opt,name=size_bytes,json=sizeBytes,proto3" json:"size_bytes,omitempty"`
	CreatedUnix int64  `protobuf:"varint,3,opt,name=created_unix,json=createdUnix,proto3" json:"created_unix,omitempty"`
	// contains filtered or unexported fields
}

func (*Backup) Descriptor deprecated

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

Deprecated: Use Backup.ProtoReflect.Descriptor instead.

func (*Backup) GetCreatedUnix

func (x *Backup) GetCreatedUnix() int64

func (*Backup) GetKey

func (x *Backup) GetKey() string

func (*Backup) GetSizeBytes

func (x *Backup) GetSizeBytes() int64

func (*Backup) ProtoMessage

func (*Backup) ProtoMessage()

func (*Backup) ProtoReflect

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

func (*Backup) Reset

func (x *Backup) Reset()

func (*Backup) String

func (x *Backup) String() string

type BackupSettings

type BackupSettings struct {
	AccountId       string `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
	Jurisdiction    string `protobuf:"bytes,2,opt,name=jurisdiction,proto3" json:"jurisdiction,omitempty"`
	Bucket          string `protobuf:"bytes,3,opt,name=bucket,proto3" json:"bucket,omitempty"`
	AccessKeyId     string `protobuf:"bytes,4,opt,name=access_key_id,json=accessKeyId,proto3" json:"access_key_id,omitempty"`
	HasSecret       bool   `protobuf:"varint,5,opt,name=has_secret,json=hasSecret,proto3" json:"has_secret,omitempty"`
	AgeRecipient    string `protobuf:"bytes,6,opt,name=age_recipient,json=ageRecipient,proto3" json:"age_recipient,omitempty"`
	Enabled         bool   `protobuf:"varint,7,opt,name=enabled,proto3" json:"enabled,omitempty"`
	IntervalHours   int32  `protobuf:"varint,8,opt,name=interval_hours,json=intervalHours,proto3" json:"interval_hours,omitempty"`
	RetentionDays   int32  `protobuf:"varint,9,opt,name=retention_days,json=retentionDays,proto3" json:"retention_days,omitempty"`
	LastSuccessUnix int64  `protobuf:"varint,10,opt,name=last_success_unix,json=lastSuccessUnix,proto3" json:"last_success_unix,omitempty"`
	LastErrorCode   string `protobuf:"bytes,11,opt,name=last_error_code,json=lastErrorCode,proto3" json:"last_error_code,omitempty"`
	// A backup is being made right now (scheduled, or started with CreateBackup); its outcome then shows in
	// last_success_unix and last_error_code.
	Running bool `protobuf:"varint,12,opt,name=running,proto3" json:"running,omitempty"`
	// contains filtered or unexported fields
}

func (*BackupSettings) Descriptor deprecated

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

Deprecated: Use BackupSettings.ProtoReflect.Descriptor instead.

func (*BackupSettings) GetAccessKeyId

func (x *BackupSettings) GetAccessKeyId() string

func (*BackupSettings) GetAccountId

func (x *BackupSettings) GetAccountId() string

func (*BackupSettings) GetAgeRecipient

func (x *BackupSettings) GetAgeRecipient() string

func (*BackupSettings) GetBucket

func (x *BackupSettings) GetBucket() string

func (*BackupSettings) GetEnabled

func (x *BackupSettings) GetEnabled() bool

func (*BackupSettings) GetHasSecret

func (x *BackupSettings) GetHasSecret() bool

func (*BackupSettings) GetIntervalHours

func (x *BackupSettings) GetIntervalHours() int32

func (*BackupSettings) GetJurisdiction

func (x *BackupSettings) GetJurisdiction() string

func (*BackupSettings) GetLastErrorCode

func (x *BackupSettings) GetLastErrorCode() string

func (*BackupSettings) GetLastSuccessUnix

func (x *BackupSettings) GetLastSuccessUnix() int64

func (*BackupSettings) GetRetentionDays

func (x *BackupSettings) GetRetentionDays() int32

func (*BackupSettings) GetRunning added in v0.1.15

func (x *BackupSettings) GetRunning() bool

func (*BackupSettings) ProtoMessage

func (*BackupSettings) ProtoMessage()

func (*BackupSettings) ProtoReflect

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

func (*BackupSettings) Reset

func (x *BackupSettings) Reset()

func (*BackupSettings) String

func (x *BackupSettings) String() string

type BeginAddPasskeyRequest

type BeginAddPasskeyRequest struct {

	// Shown in the list; default "Passkey". At most 64 characters.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*BeginAddPasskeyRequest) Descriptor deprecated

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

Deprecated: Use BeginAddPasskeyRequest.ProtoReflect.Descriptor instead.

func (*BeginAddPasskeyRequest) GetName

func (x *BeginAddPasskeyRequest) GetName() string

func (*BeginAddPasskeyRequest) ProtoMessage

func (*BeginAddPasskeyRequest) ProtoMessage()

func (*BeginAddPasskeyRequest) ProtoReflect

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

func (*BeginAddPasskeyRequest) Reset

func (x *BeginAddPasskeyRequest) Reset()

func (*BeginAddPasskeyRequest) String

func (x *BeginAddPasskeyRequest) String() string

type BeginAddPasskeyResponse

type BeginAddPasskeyResponse struct {
	CeremonyId string `protobuf:"bytes,1,opt,name=ceremony_id,json=ceremonyId,proto3" json:"ceremony_id,omitempty"`
	// PublicKeyCredentialCreationOptionsJSON; existing passkeys are excluded.
	OptionsJson string `protobuf:"bytes,2,opt,name=options_json,json=optionsJson,proto3" json:"options_json,omitempty"`
	// contains filtered or unexported fields
}

func (*BeginAddPasskeyResponse) Descriptor deprecated

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

Deprecated: Use BeginAddPasskeyResponse.ProtoReflect.Descriptor instead.

func (*BeginAddPasskeyResponse) GetCeremonyId

func (x *BeginAddPasskeyResponse) GetCeremonyId() string

func (*BeginAddPasskeyResponse) GetOptionsJson

func (x *BeginAddPasskeyResponse) GetOptionsJson() string

func (*BeginAddPasskeyResponse) ProtoMessage

func (*BeginAddPasskeyResponse) ProtoMessage()

func (*BeginAddPasskeyResponse) ProtoReflect

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

func (*BeginAddPasskeyResponse) Reset

func (x *BeginAddPasskeyResponse) Reset()

func (*BeginAddPasskeyResponse) String

func (x *BeginAddPasskeyResponse) String() string

type BeginLoginRequest

type BeginLoginRequest struct {

	// Turnstile token when GetLoginInfo.turnstile_enabled (see the service comment).
	TurnstileToken string `protobuf:"bytes,1,opt,name=turnstile_token,json=turnstileToken,proto3" json:"turnstile_token,omitempty"`
	// contains filtered or unexported fields
}

func (*BeginLoginRequest) Descriptor deprecated

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

Deprecated: Use BeginLoginRequest.ProtoReflect.Descriptor instead.

func (*BeginLoginRequest) GetTurnstileToken

func (x *BeginLoginRequest) GetTurnstileToken() string

func (*BeginLoginRequest) ProtoMessage

func (*BeginLoginRequest) ProtoMessage()

func (*BeginLoginRequest) ProtoReflect

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

func (*BeginLoginRequest) Reset

func (x *BeginLoginRequest) Reset()

func (*BeginLoginRequest) String

func (x *BeginLoginRequest) String() string

type BeginLoginResponse

type BeginLoginResponse struct {
	CeremonyId string `protobuf:"bytes,1,opt,name=ceremony_id,json=ceremonyId,proto3" json:"ceremony_id,omitempty"`
	// PublicKeyCredentialRequestOptionsJSON.
	OptionsJson string `protobuf:"bytes,2,opt,name=options_json,json=optionsJson,proto3" json:"options_json,omitempty"`
	// contains filtered or unexported fields
}

func (*BeginLoginResponse) Descriptor deprecated

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

Deprecated: Use BeginLoginResponse.ProtoReflect.Descriptor instead.

func (*BeginLoginResponse) GetCeremonyId

func (x *BeginLoginResponse) GetCeremonyId() string

func (*BeginLoginResponse) GetOptionsJson

func (x *BeginLoginResponse) GetOptionsJson() string

func (*BeginLoginResponse) ProtoMessage

func (*BeginLoginResponse) ProtoMessage()

func (*BeginLoginResponse) ProtoReflect

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

func (*BeginLoginResponse) Reset

func (x *BeginLoginResponse) Reset()

func (*BeginLoginResponse) String

func (x *BeginLoginResponse) String() string

type BeginSetupRequest

type BeginSetupRequest struct {
	SetupToken  string      `protobuf:"bytes,1,opt,name=setup_token,json=setupToken,proto3" json:"setup_token,omitempty"`
	DisplayName string      `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	Method      SetupMethod `protobuf:"varint,3,opt,name=method,proto3,enum=mistgate.admin.v1.SetupMethod" json:"method,omitempty"`
	// PASSWORD only. 3-64 characters of a-z 0-9 . _ @ - (case-insensitive, stored lower case).
	Login string `protobuf:"bytes,4,opt,name=login,proto3" json:"login,omitempty"`
	// PASSWORD only. 12 to 256 bytes.
	Password string `protobuf:"bytes,5,opt,name=password,proto3" json:"password,omitempty"`
	// Turnstile token when GetLoginInfo.turnstile_enabled (see the service comment).
	TurnstileToken string `protobuf:"bytes,6,opt,name=turnstile_token,json=turnstileToken,proto3" json:"turnstile_token,omitempty"`
	// contains filtered or unexported fields
}

func (*BeginSetupRequest) Descriptor deprecated

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

Deprecated: Use BeginSetupRequest.ProtoReflect.Descriptor instead.

func (*BeginSetupRequest) GetDisplayName

func (x *BeginSetupRequest) GetDisplayName() string

func (*BeginSetupRequest) GetLogin

func (x *BeginSetupRequest) GetLogin() string

func (*BeginSetupRequest) GetMethod

func (x *BeginSetupRequest) GetMethod() SetupMethod

func (*BeginSetupRequest) GetPassword

func (x *BeginSetupRequest) GetPassword() string

func (*BeginSetupRequest) GetSetupToken

func (x *BeginSetupRequest) GetSetupToken() string

func (*BeginSetupRequest) GetTurnstileToken

func (x *BeginSetupRequest) GetTurnstileToken() string

func (*BeginSetupRequest) ProtoMessage

func (*BeginSetupRequest) ProtoMessage()

func (*BeginSetupRequest) ProtoReflect

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

func (*BeginSetupRequest) Reset

func (x *BeginSetupRequest) Reset()

func (*BeginSetupRequest) String

func (x *BeginSetupRequest) String() string

type BeginSetupResponse

type BeginSetupResponse struct {

	// Binds Begin to Finish; the server keeps the ceremony for 5 minutes.
	CeremonyId string `protobuf:"bytes,1,opt,name=ceremony_id,json=ceremonyId,proto3" json:"ceremony_id,omitempty"`
	// PASSKEY: PublicKeyCredentialCreationOptionsJSON.
	OptionsJson string `protobuf:"bytes,2,opt,name=options_json,json=optionsJson,proto3" json:"options_json,omitempty"`
	// PASSWORD: otpauth://totp/... for the QR code, and the same secret in base32 for typing in.
	TotpUri    string `protobuf:"bytes,3,opt,name=totp_uri,json=totpUri,proto3" json:"totp_uri,omitempty"`
	TotpSecret string `protobuf:"bytes,4,opt,name=totp_secret,json=totpSecret,proto3" json:"totp_secret,omitempty"`
	// contains filtered or unexported fields
}

func (*BeginSetupResponse) Descriptor deprecated

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

Deprecated: Use BeginSetupResponse.ProtoReflect.Descriptor instead.

func (*BeginSetupResponse) GetCeremonyId

func (x *BeginSetupResponse) GetCeremonyId() string

func (*BeginSetupResponse) GetOptionsJson

func (x *BeginSetupResponse) GetOptionsJson() string

func (*BeginSetupResponse) GetTotpSecret

func (x *BeginSetupResponse) GetTotpSecret() string

func (*BeginSetupResponse) GetTotpUri

func (x *BeginSetupResponse) GetTotpUri() string

func (*BeginSetupResponse) ProtoMessage

func (*BeginSetupResponse) ProtoMessage()

func (*BeginSetupResponse) ProtoReflect

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

func (*BeginSetupResponse) Reset

func (x *BeginSetupResponse) Reset()

func (*BeginSetupResponse) String

func (x *BeginSetupResponse) String() string

type BeginStepUpRequest

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

func (*BeginStepUpRequest) Descriptor deprecated

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

Deprecated: Use BeginStepUpRequest.ProtoReflect.Descriptor instead.

func (*BeginStepUpRequest) ProtoMessage

func (*BeginStepUpRequest) ProtoMessage()

func (*BeginStepUpRequest) ProtoReflect

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

func (*BeginStepUpRequest) Reset

func (x *BeginStepUpRequest) Reset()

func (*BeginStepUpRequest) String

func (x *BeginStepUpRequest) String() string

type BeginStepUpResponse

type BeginStepUpResponse struct {

	// Binds Begin to Finish; the server keeps the ceremony for 5 minutes.
	CeremonyId string `protobuf:"bytes,1,opt,name=ceremony_id,json=ceremonyId,proto3" json:"ceremony_id,omitempty"`
	// PublicKeyCredentialRequestOptionsJSON limited to the admin's own passkeys. Empty when the
	// admin has no passkey (use totp_code).
	OptionsJson string `protobuf:"bytes,2,opt,name=options_json,json=optionsJson,proto3" json:"options_json,omitempty"`
	// contains filtered or unexported fields
}

func (*BeginStepUpResponse) Descriptor deprecated

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

Deprecated: Use BeginStepUpResponse.ProtoReflect.Descriptor instead.

func (*BeginStepUpResponse) GetCeremonyId

func (x *BeginStepUpResponse) GetCeremonyId() string

func (*BeginStepUpResponse) GetOptionsJson

func (x *BeginStepUpResponse) GetOptionsJson() string

func (*BeginStepUpResponse) ProtoMessage

func (*BeginStepUpResponse) ProtoMessage()

func (*BeginStepUpResponse) ProtoReflect

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

func (*BeginStepUpResponse) Reset

func (x *BeginStepUpResponse) Reset()

func (*BeginStepUpResponse) String

func (x *BeginStepUpResponse) String() string

type BeginTelegramLinkRequest added in v0.1.23

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

func (*BeginTelegramLinkRequest) Descriptor deprecated added in v0.1.23

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

Deprecated: Use BeginTelegramLinkRequest.ProtoReflect.Descriptor instead.

func (*BeginTelegramLinkRequest) ProtoMessage added in v0.1.23

func (*BeginTelegramLinkRequest) ProtoMessage()

func (*BeginTelegramLinkRequest) ProtoReflect added in v0.1.23

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

func (*BeginTelegramLinkRequest) Reset added in v0.1.23

func (x *BeginTelegramLinkRequest) Reset()

func (*BeginTelegramLinkRequest) String added in v0.1.23

func (x *BeginTelegramLinkRequest) String() string

type BeginTelegramLinkResponse added in v0.1.23

type BeginTelegramLinkResponse struct {

	// What the admin sends to the bot after /start; one use.
	Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
	// https://t.me/<bot>?start=<code>
	DeepLink    string `protobuf:"bytes,2,opt,name=deep_link,json=deepLink,proto3" json:"deep_link,omitempty"`
	ExpiresUnix int64  `protobuf:"varint,3,opt,name=expires_unix,json=expiresUnix,proto3" json:"expires_unix,omitempty"`
	// contains filtered or unexported fields
}

func (*BeginTelegramLinkResponse) Descriptor deprecated added in v0.1.23

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

Deprecated: Use BeginTelegramLinkResponse.ProtoReflect.Descriptor instead.

func (*BeginTelegramLinkResponse) GetCode added in v0.1.23

func (x *BeginTelegramLinkResponse) GetCode() string
func (x *BeginTelegramLinkResponse) GetDeepLink() string

func (*BeginTelegramLinkResponse) GetExpiresUnix added in v0.1.23

func (x *BeginTelegramLinkResponse) GetExpiresUnix() int64

func (*BeginTelegramLinkResponse) ProtoMessage added in v0.1.23

func (*BeginTelegramLinkResponse) ProtoMessage()

func (*BeginTelegramLinkResponse) ProtoReflect added in v0.1.23

func (*BeginTelegramLinkResponse) Reset added in v0.1.23

func (x *BeginTelegramLinkResponse) Reset()

func (*BeginTelegramLinkResponse) String added in v0.1.23

func (x *BeginTelegramLinkResponse) String() string

type BeginTotpEnrollmentRequest

type BeginTotpEnrollmentRequest struct {

	// Only when adding a password login (the admin has none): 3-64 characters of a-z 0-9 . _ @ - (stored lower case).
	Login string `protobuf:"bytes,1,opt,name=login,proto3" json:"login,omitempty"`
	// Only when adding: at least 12 characters, at most 256 bytes.
	Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	// contains filtered or unexported fields
}

func (*BeginTotpEnrollmentRequest) Descriptor deprecated

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

Deprecated: Use BeginTotpEnrollmentRequest.ProtoReflect.Descriptor instead.

func (*BeginTotpEnrollmentRequest) GetLogin

func (x *BeginTotpEnrollmentRequest) GetLogin() string

func (*BeginTotpEnrollmentRequest) GetPassword

func (x *BeginTotpEnrollmentRequest) GetPassword() string

func (*BeginTotpEnrollmentRequest) ProtoMessage

func (*BeginTotpEnrollmentRequest) ProtoMessage()

func (*BeginTotpEnrollmentRequest) ProtoReflect

func (*BeginTotpEnrollmentRequest) Reset

func (x *BeginTotpEnrollmentRequest) Reset()

func (*BeginTotpEnrollmentRequest) String

func (x *BeginTotpEnrollmentRequest) String() string

type BeginTotpEnrollmentResponse

type BeginTotpEnrollmentResponse struct {

	// Binds Begin to Finish for this session; the server keeps the ceremony for 5 minutes.
	CeremonyId string `protobuf:"bytes,1,opt,name=ceremony_id,json=ceremonyId,proto3" json:"ceremony_id,omitempty"`
	// otpauth://totp/... for the QR code, and the same secret in base32 for typing in.
	TotpUri    string `protobuf:"bytes,2,opt,name=totp_uri,json=totpUri,proto3" json:"totp_uri,omitempty"`
	TotpSecret string `protobuf:"bytes,3,opt,name=totp_secret,json=totpSecret,proto3" json:"totp_secret,omitempty"`
	// contains filtered or unexported fields
}

func (*BeginTotpEnrollmentResponse) Descriptor deprecated

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

Deprecated: Use BeginTotpEnrollmentResponse.ProtoReflect.Descriptor instead.

func (*BeginTotpEnrollmentResponse) GetCeremonyId

func (x *BeginTotpEnrollmentResponse) GetCeremonyId() string

func (*BeginTotpEnrollmentResponse) GetTotpSecret

func (x *BeginTotpEnrollmentResponse) GetTotpSecret() string

func (*BeginTotpEnrollmentResponse) GetTotpUri

func (x *BeginTotpEnrollmentResponse) GetTotpUri() string

func (*BeginTotpEnrollmentResponse) ProtoMessage

func (*BeginTotpEnrollmentResponse) ProtoMessage()

func (*BeginTotpEnrollmentResponse) ProtoReflect

func (*BeginTotpEnrollmentResponse) Reset

func (x *BeginTotpEnrollmentResponse) Reset()

func (*BeginTotpEnrollmentResponse) String

func (x *BeginTotpEnrollmentResponse) String() string

type BlockedDevice added in v0.1.39

type BlockedDevice struct {
	Id       string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Platform string `protobuf:"bytes,2,opt,name=platform,proto3" json:"platform,omitempty"`
	Model    string `protobuf:"bytes,3,opt,name=model,proto3" json:"model,omitempty"`
	// The app that last fetched with it ("Happ/3.4.2").
	Client      string `protobuf:"bytes,4,opt,name=client,proto3" json:"client,omitempty"`
	BlockedUnix int64  `protobuf:"varint,5,opt,name=blocked_unix,json=blockedUnix,proto3" json:"blocked_unix,omitempty"`
	// The first 6 hex characters of the device's hash.
	Fingerprint string `protobuf:"bytes,6,opt,name=fingerprint,proto3" json:"fingerprint,omitempty"`
	// contains filtered or unexported fields
}

A device that cannot register again (RevokeDeviceRequest.block). The HWID itself is never stored: the fingerprint is the start of its hash, enough to tell two phones of one model apart.

func (*BlockedDevice) Descriptor deprecated added in v0.1.39

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

Deprecated: Use BlockedDevice.ProtoReflect.Descriptor instead.

func (*BlockedDevice) GetBlockedUnix added in v0.1.39

func (x *BlockedDevice) GetBlockedUnix() int64

func (*BlockedDevice) GetClient added in v0.1.39

func (x *BlockedDevice) GetClient() string

func (*BlockedDevice) GetFingerprint added in v0.1.39

func (x *BlockedDevice) GetFingerprint() string

func (*BlockedDevice) GetId added in v0.1.39

func (x *BlockedDevice) GetId() string

func (*BlockedDevice) GetModel added in v0.1.39

func (x *BlockedDevice) GetModel() string

func (*BlockedDevice) GetPlatform added in v0.1.39

func (x *BlockedDevice) GetPlatform() string

func (*BlockedDevice) ProtoMessage added in v0.1.39

func (*BlockedDevice) ProtoMessage()

func (*BlockedDevice) ProtoReflect added in v0.1.39

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

func (*BlockedDevice) Reset added in v0.1.39

func (x *BlockedDevice) Reset()

func (*BlockedDevice) String added in v0.1.39

func (x *BlockedDevice) String() string

type BlocklistSettings added in v0.1.41

type BlocklistSettings struct {

	// Default false.
	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// false: the shared country of the country check (CountryReachabilityService) is not Russia, so this source does nothing and
	// a screen says "not available for this country". Only Russia has lists for now.
	Available bool `protobuf:"varint,2,opt,name=available,proto3" json:"available,omitempty"`
	// When the newest stored check ran, and the date of the lists it used; 0 = no check yet. Read from the stored results, so
	// it is the same on every process of the panel.
	CheckedUnix int64 `protobuf:"varint,3,opt,name=checked_unix,json=checkedUnix,proto3" json:"checked_unix,omitempty"`
	ListsUnix   int64 `protobuf:"varint,4,opt,name=lists_unix,json=listsUnix,proto3" json:"lists_unix,omitempty"`
	// contains filtered or unexported fields
}

func (*BlocklistSettings) Descriptor deprecated added in v0.1.41

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

Deprecated: Use BlocklistSettings.ProtoReflect.Descriptor instead.

func (*BlocklistSettings) GetAvailable added in v0.1.41

func (x *BlocklistSettings) GetAvailable() bool

func (*BlocklistSettings) GetCheckedUnix added in v0.1.41

func (x *BlocklistSettings) GetCheckedUnix() int64

func (*BlocklistSettings) GetEnabled added in v0.1.41

func (x *BlocklistSettings) GetEnabled() bool

func (*BlocklistSettings) GetListsUnix added in v0.1.41

func (x *BlocklistSettings) GetListsUnix() int64

func (*BlocklistSettings) ProtoMessage added in v0.1.41

func (*BlocklistSettings) ProtoMessage()

func (*BlocklistSettings) ProtoReflect added in v0.1.41

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

func (*BlocklistSettings) Reset added in v0.1.41

func (x *BlocklistSettings) Reset()

func (*BlocklistSettings) String added in v0.1.41

func (x *BlocklistSettings) String() string

type BsbordSettings added in v0.1.63

type BsbordSettings struct {
	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	HasKey  bool `protobuf:"varint,2,opt,name=has_key,json=hasKey,proto3" json:"has_key,omitempty"`
	// Minutes between runs; default 1440, range 60..1440.
	IntervalMin uint32 `protobuf:"varint,3,opt,name=interval_min,json=intervalMin,proto3" json:"interval_min,omitempty"`
	// Monthly cap; credits are kopecks. Default 10000 credits (100 RUB).
	CapCredits uint64 `protobuf:"varint,4,opt,name=cap_credits,json=capCredits,proto3" json:"cap_credits,omitempty"`
	// Explicit operator-unit keys. An empty selection is never sent to the API.
	Units           []string `protobuf:"bytes,5,rep,name=units,proto3" json:"units,omitempty"`
	SpendMonth      string   `protobuf:"bytes,6,opt,name=spend_month,json=spendMonth,proto3" json:"spend_month,omitempty"`
	SpentCredits    uint64   `protobuf:"varint,7,opt,name=spent_credits,json=spentCredits,proto3" json:"spent_credits,omitempty"`
	ReservedCredits uint64   `protobuf:"varint,8,opt,name=reserved_credits,json=reservedCredits,proto3" json:"reserved_credits,omitempty"`
	LastStatus      string   `protobuf:"bytes,9,opt,name=last_status,json=lastStatus,proto3" json:"last_status,omitempty"`
	LastRunUnix     int64    `protobuf:"varint,10,opt,name=last_run_unix,json=lastRunUnix,proto3" json:"last_run_unix,omitempty"`
	HoldUntilUnix   int64    `protobuf:"varint,11,opt,name=hold_until_unix,json=holdUntilUnix,proto3" json:"hold_until_unix,omitempty"`
	Pending         bool     `protobuf:"varint,12,opt,name=pending,proto3" json:"pending,omitempty"`
	// contains filtered or unexported fields
}

func (*BsbordSettings) Descriptor deprecated added in v0.1.63

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

Deprecated: Use BsbordSettings.ProtoReflect.Descriptor instead.

func (*BsbordSettings) GetCapCredits added in v0.1.63

func (x *BsbordSettings) GetCapCredits() uint64

func (*BsbordSettings) GetEnabled added in v0.1.63

func (x *BsbordSettings) GetEnabled() bool

func (*BsbordSettings) GetHasKey added in v0.1.63

func (x *BsbordSettings) GetHasKey() bool

func (*BsbordSettings) GetHoldUntilUnix added in v0.1.63

func (x *BsbordSettings) GetHoldUntilUnix() int64

func (*BsbordSettings) GetIntervalMin added in v0.1.63

func (x *BsbordSettings) GetIntervalMin() uint32

func (*BsbordSettings) GetLastRunUnix added in v0.1.63

func (x *BsbordSettings) GetLastRunUnix() int64

func (*BsbordSettings) GetLastStatus added in v0.1.63

func (x *BsbordSettings) GetLastStatus() string

func (*BsbordSettings) GetPending added in v0.1.63

func (x *BsbordSettings) GetPending() bool

func (*BsbordSettings) GetReservedCredits added in v0.1.63

func (x *BsbordSettings) GetReservedCredits() uint64

func (*BsbordSettings) GetSpendMonth added in v0.1.63

func (x *BsbordSettings) GetSpendMonth() string

func (*BsbordSettings) GetSpentCredits added in v0.1.63

func (x *BsbordSettings) GetSpentCredits() uint64

func (*BsbordSettings) GetUnits added in v0.1.63

func (x *BsbordSettings) GetUnits() []string

func (*BsbordSettings) ProtoMessage added in v0.1.63

func (*BsbordSettings) ProtoMessage()

func (*BsbordSettings) ProtoReflect added in v0.1.63

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

func (*BsbordSettings) Reset added in v0.1.63

func (x *BsbordSettings) Reset()

func (*BsbordSettings) String added in v0.1.63

func (x *BsbordSettings) String() string

type BsbordUnit added in v0.1.63

type BsbordUnit struct {
	OpKey        string `protobuf:"bytes,1,opt,name=op_key,json=opKey,proto3" json:"op_key,omitempty"`
	Operator     string `protobuf:"bytes,2,opt,name=operator,proto3" json:"operator,omitempty"`
	Name         string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Region       string `protobuf:"bytes,4,opt,name=region,proto3" json:"region,omitempty"`
	RegionCode   string `protobuf:"bytes,5,opt,name=region_code,json=regionCode,proto3" json:"region_code,omitempty"`
	Dpi          string `protobuf:"bytes,6,opt,name=dpi,proto3" json:"dpi,omitempty"`
	ChannelState string `protobuf:"bytes,7,opt,name=channel_state,json=channelState,proto3" json:"channel_state,omitempty"`
	Probeable    bool   `protobuf:"varint,8,opt,name=probeable,proto3" json:"probeable,omitempty"`
	Selected     bool   `protobuf:"varint,9,opt,name=selected,proto3" json:"selected,omitempty"`
	// contains filtered or unexported fields
}

func (*BsbordUnit) Descriptor deprecated added in v0.1.63

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

Deprecated: Use BsbordUnit.ProtoReflect.Descriptor instead.

func (*BsbordUnit) GetChannelState added in v0.1.63

func (x *BsbordUnit) GetChannelState() string

func (*BsbordUnit) GetDpi added in v0.1.63

func (x *BsbordUnit) GetDpi() string

func (*BsbordUnit) GetName added in v0.1.63

func (x *BsbordUnit) GetName() string

func (*BsbordUnit) GetOpKey added in v0.1.63

func (x *BsbordUnit) GetOpKey() string

func (*BsbordUnit) GetOperator added in v0.1.63

func (x *BsbordUnit) GetOperator() string

func (*BsbordUnit) GetProbeable added in v0.1.63

func (x *BsbordUnit) GetProbeable() bool

func (*BsbordUnit) GetRegion added in v0.1.63

func (x *BsbordUnit) GetRegion() string

func (*BsbordUnit) GetRegionCode added in v0.1.63

func (x *BsbordUnit) GetRegionCode() string

func (*BsbordUnit) GetSelected added in v0.1.63

func (x *BsbordUnit) GetSelected() bool

func (*BsbordUnit) ProtoMessage added in v0.1.63

func (*BsbordUnit) ProtoMessage()

func (*BsbordUnit) ProtoReflect added in v0.1.63

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

func (*BsbordUnit) Reset added in v0.1.63

func (x *BsbordUnit) Reset()

func (*BsbordUnit) String added in v0.1.63

func (x *BsbordUnit) String() string

type BsbordUnitSelection added in v0.1.63

type BsbordUnitSelection struct {
	OpKeys []string `protobuf:"bytes,1,rep,name=op_keys,json=opKeys,proto3" json:"op_keys,omitempty"`
	// contains filtered or unexported fields
}

func (*BsbordUnitSelection) Descriptor deprecated added in v0.1.63

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

Deprecated: Use BsbordUnitSelection.ProtoReflect.Descriptor instead.

func (*BsbordUnitSelection) GetOpKeys added in v0.1.63

func (x *BsbordUnitSelection) GetOpKeys() []string

func (*BsbordUnitSelection) ProtoMessage added in v0.1.63

func (*BsbordUnitSelection) ProtoMessage()

func (*BsbordUnitSelection) ProtoReflect added in v0.1.63

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

func (*BsbordUnitSelection) Reset added in v0.1.63

func (x *BsbordUnitSelection) Reset()

func (*BsbordUnitSelection) String added in v0.1.63

func (x *BsbordUnitSelection) String() string

type Bundle

type Bundle struct {
	Status BundleStatus `protobuf:"varint,1,opt,name=status,proto3,enum=mistgate.admin.v1.BundleStatus" json:"status,omitempty"`
	// From manifest.json; empty / 0 when it could not be parsed.
	Version     string        `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
	Built       int64         `protobuf:"varint,3,opt,name=built,proto3" json:"built,omitempty"`
	ExpiresUnix int64         `protobuf:"varint,4,opt,name=expires_unix,json=expiresUnix,proto3" json:"expires_unix,omitempty"`
	Files       []*BundleFile `protobuf:"bytes,5,rep,name=files,proto3" json:"files,omitempty"`
	// Set for MISSING and UNTRUSTED. Codes: no_manifest, no_signature, no_release, release_unreachable, bad_manifest,
	// bad_signature, file_missing, file_mismatch, expired, unsupported_schema.
	ErrorKey string `protobuf:"bytes,6,opt,name=error_key,json=errorKey,proto3" json:"error_key,omitempty"`
	// {file: name} for file_missing / file_mismatch.
	Params map[string]string `` /* 139-byte string literal not displayed */
	// When the directory was last read.
	ScannedUnix int64 `protobuf:"varint,8,opt,name=scanned_unix,json=scannedUnix,proto3" json:"scanned_unix,omitempty"`
	// For an edge build, the base URL of this panel's signed node release (ending in <version>/).
	DownloadBase string `protobuf:"bytes,9,opt,name=download_base,json=downloadBase,proto3" json:"download_base,omitempty"`
	// contains filtered or unexported fields
}

The release bundle read from <data-dir>/dist.

func (*Bundle) Descriptor deprecated

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

Deprecated: Use Bundle.ProtoReflect.Descriptor instead.

func (*Bundle) GetBuilt

func (x *Bundle) GetBuilt() int64

func (*Bundle) GetDownloadBase added in v0.1.50

func (x *Bundle) GetDownloadBase() string

func (*Bundle) GetErrorKey

func (x *Bundle) GetErrorKey() string

func (*Bundle) GetExpiresUnix

func (x *Bundle) GetExpiresUnix() int64

func (*Bundle) GetFiles

func (x *Bundle) GetFiles() []*BundleFile

func (*Bundle) GetParams

func (x *Bundle) GetParams() map[string]string

func (*Bundle) GetScannedUnix

func (x *Bundle) GetScannedUnix() int64

func (*Bundle) GetStatus

func (x *Bundle) GetStatus() BundleStatus

func (*Bundle) GetVersion

func (x *Bundle) GetVersion() string

func (*Bundle) ProtoMessage

func (*Bundle) ProtoMessage()

func (*Bundle) ProtoReflect

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

func (*Bundle) Reset

func (x *Bundle) Reset()

func (*Bundle) String

func (x *Bundle) String() string

type BundleFile

type BundleFile struct {
	Os   string `protobuf:"bytes,1,opt,name=os,proto3" json:"os,omitempty"`
	Arch string `protobuf:"bytes,2,opt,name=arch,proto3" json:"arch,omitempty"`
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Size uint64 `protobuf:"varint,4,opt,name=size,proto3" json:"size,omitempty"`
	// Lowercase hex.
	Sha256 string `protobuf:"bytes,5,opt,name=sha256,proto3" json:"sha256,omitempty"`
	// contains filtered or unexported fields
}

func (*BundleFile) Descriptor deprecated

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

Deprecated: Use BundleFile.ProtoReflect.Descriptor instead.

func (*BundleFile) GetArch

func (x *BundleFile) GetArch() string

func (*BundleFile) GetName

func (x *BundleFile) GetName() string

func (*BundleFile) GetOs

func (x *BundleFile) GetOs() string

func (*BundleFile) GetSha256

func (x *BundleFile) GetSha256() string

func (*BundleFile) GetSize

func (x *BundleFile) GetSize() uint64

func (*BundleFile) ProtoMessage

func (*BundleFile) ProtoMessage()

func (*BundleFile) ProtoReflect

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

func (*BundleFile) Reset

func (x *BundleFile) Reset()

func (*BundleFile) String

func (x *BundleFile) String() string

type BundleStatus

type BundleStatus int32
const (
	BundleStatus_BUNDLE_STATUS_UNSPECIFIED BundleStatus = 0
	// <data-dir>/dist has no manifest.json (or no directory).
	BundleStatus_BUNDLE_STATUS_MISSING BundleStatus = 1
	// The signature verifies under this panel's release key, the manifest is valid and every listed file is
	// present with the right size and SHA-256. Only a TRUSTED bundle can be rolled out.
	BundleStatus_BUNDLE_STATUS_TRUSTED BundleStatus = 2
	// Anything else that makes it unusable: bad signature, unreadable manifest, missing or altered file, expired.
	// `error_key` says which.
	BundleStatus_BUNDLE_STATUS_UNTRUSTED BundleStatus = 3
	// This panel build has no release key, so the bundle cannot be judged here (nodes judge it themselves).
	BundleStatus_BUNDLE_STATUS_NO_KEY BundleStatus = 4
)

func (BundleStatus) Descriptor

func (BundleStatus) Enum

func (x BundleStatus) Enum() *BundleStatus

func (BundleStatus) EnumDescriptor deprecated

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

Deprecated: Use BundleStatus.Descriptor instead.

func (BundleStatus) Number

func (BundleStatus) String

func (x BundleStatus) String() string

func (BundleStatus) Type

type CancelNodeUpdateScheduleRequest added in v0.1.8

type CancelNodeUpdateScheduleRequest struct {
	NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	// contains filtered or unexported fields
}

func (*CancelNodeUpdateScheduleRequest) Descriptor deprecated added in v0.1.8

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

Deprecated: Use CancelNodeUpdateScheduleRequest.ProtoReflect.Descriptor instead.

func (*CancelNodeUpdateScheduleRequest) GetNodeId added in v0.1.8

func (x *CancelNodeUpdateScheduleRequest) GetNodeId() string

func (*CancelNodeUpdateScheduleRequest) ProtoMessage added in v0.1.8

func (*CancelNodeUpdateScheduleRequest) ProtoMessage()

func (*CancelNodeUpdateScheduleRequest) ProtoReflect added in v0.1.8

func (*CancelNodeUpdateScheduleRequest) Reset added in v0.1.8

func (*CancelNodeUpdateScheduleRequest) String added in v0.1.8

type CancelNodeUpdateScheduleResponse added in v0.1.8

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

func (*CancelNodeUpdateScheduleResponse) Descriptor deprecated added in v0.1.8

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

Deprecated: Use CancelNodeUpdateScheduleResponse.ProtoReflect.Descriptor instead.

func (*CancelNodeUpdateScheduleResponse) GetCancelled added in v0.1.8

func (x *CancelNodeUpdateScheduleResponse) GetCancelled() bool

func (*CancelNodeUpdateScheduleResponse) ProtoMessage added in v0.1.8

func (*CancelNodeUpdateScheduleResponse) ProtoMessage()

func (*CancelNodeUpdateScheduleResponse) ProtoReflect added in v0.1.8

func (*CancelNodeUpdateScheduleResponse) Reset added in v0.1.8

func (*CancelNodeUpdateScheduleResponse) String added in v0.1.8

type CancelRolloutRequest

type CancelRolloutRequest struct {
	RolloutId string `protobuf:"bytes,1,opt,name=rollout_id,json=rolloutId,proto3" json:"rollout_id,omitempty"`
	// contains filtered or unexported fields
}

func (*CancelRolloutRequest) Descriptor deprecated

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

Deprecated: Use CancelRolloutRequest.ProtoReflect.Descriptor instead.

func (*CancelRolloutRequest) GetRolloutId

func (x *CancelRolloutRequest) GetRolloutId() string

func (*CancelRolloutRequest) ProtoMessage

func (*CancelRolloutRequest) ProtoMessage()

func (*CancelRolloutRequest) ProtoReflect

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

func (*CancelRolloutRequest) Reset

func (x *CancelRolloutRequest) Reset()

func (*CancelRolloutRequest) String

func (x *CancelRolloutRequest) String() string

type CancelRolloutResponse

type CancelRolloutResponse struct {
	Rollout *Rollout `protobuf:"bytes,1,opt,name=rollout,proto3" json:"rollout,omitempty"`
	// contains filtered or unexported fields
}

func (*CancelRolloutResponse) Descriptor deprecated

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

Deprecated: Use CancelRolloutResponse.ProtoReflect.Descriptor instead.

func (*CancelRolloutResponse) GetRollout

func (x *CancelRolloutResponse) GetRollout() *Rollout

func (*CancelRolloutResponse) ProtoMessage

func (*CancelRolloutResponse) ProtoMessage()

func (*CancelRolloutResponse) ProtoReflect

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

func (*CancelRolloutResponse) Reset

func (x *CancelRolloutResponse) Reset()

func (*CancelRolloutResponse) String

func (x *CancelRolloutResponse) String() string

type ChangePasswordRequest

type ChangePasswordRequest struct {
	CurrentPassword string `protobuf:"bytes,1,opt,name=current_password,json=currentPassword,proto3" json:"current_password,omitempty"`
	// At least 12 characters, at most 256 bytes.
	NewPassword string `protobuf:"bytes,2,opt,name=new_password,json=newPassword,proto3" json:"new_password,omitempty"`
	// contains filtered or unexported fields
}

func (*ChangePasswordRequest) Descriptor deprecated

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

Deprecated: Use ChangePasswordRequest.ProtoReflect.Descriptor instead.

func (*ChangePasswordRequest) GetCurrentPassword

func (x *ChangePasswordRequest) GetCurrentPassword() string

func (*ChangePasswordRequest) GetNewPassword

func (x *ChangePasswordRequest) GetNewPassword() string

func (*ChangePasswordRequest) ProtoMessage

func (*ChangePasswordRequest) ProtoMessage()

func (*ChangePasswordRequest) ProtoReflect

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

func (*ChangePasswordRequest) Reset

func (x *ChangePasswordRequest) Reset()

func (*ChangePasswordRequest) String

func (x *ChangePasswordRequest) String() string

type ChangePasswordResponse

type ChangePasswordResponse struct {

	// How many other sessions of the admin were ended.
	EndedSessions uint32 `protobuf:"varint,1,opt,name=ended_sessions,json=endedSessions,proto3" json:"ended_sessions,omitempty"`
	// contains filtered or unexported fields
}

func (*ChangePasswordResponse) Descriptor deprecated

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

Deprecated: Use ChangePasswordResponse.ProtoReflect.Descriptor instead.

func (*ChangePasswordResponse) GetEndedSessions

func (x *ChangePasswordResponse) GetEndedSessions() uint32

func (*ChangePasswordResponse) ProtoMessage

func (*ChangePasswordResponse) ProtoMessage()

func (*ChangePasswordResponse) ProtoReflect

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

func (*ChangePasswordResponse) Reset

func (x *ChangePasswordResponse) Reset()

func (*ChangePasswordResponse) String

func (x *ChangePasswordResponse) String() string

type CheburcheckSettings added in v0.1.63

type CheburcheckSettings struct {

	// Default false. When false, no site request is made.
	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// Public volunteer probes; default true. The source stays off unless enabled is true.
	PublicEnabled bool `protobuf:"varint,2,opt,name=public_enabled,json=publicEnabled,proto3" json:"public_enabled,omitempty"`
	// An own-probe token is stored. The token itself is never returned.
	HasToken bool `protobuf:"varint,3,opt,name=has_token,json=hasToken,proto3" json:"has_token,omitempty"`
	// Public probe interval in minutes; default and minimum 180.
	IntervalMin uint32 `protobuf:"varint,4,opt,name=interval_min,json=intervalMin,proto3" json:"interval_min,omitempty"`
	// Own-probe interval in minutes; default 60, minimum 30.
	OwnIntervalMin uint32 `protobuf:"varint,5,opt,name=own_interval_min,json=ownIntervalMin,proto3" json:"own_interval_min,omitempty"`
	// Last source status, including ip_probes_off or token_unknown when applicable.
	Status string `protobuf:"bytes,6,opt,name=status,proto3" json:"status,omitempty"`
	// A retry hold, as a Unix timestamp; zero when no hold is active.
	HoldUntilUnix int64 `protobuf:"varint,7,opt,name=hold_until_unix,json=holdUntilUnix,proto3" json:"hold_until_unix,omitempty"`
	// The time of the most recent stored row; zero when there has not been one.
	LastRunUnix int64 `protobuf:"varint,8,opt,name=last_run_unix,json=lastRunUnix,proto3" json:"last_run_unix,omitempty"`
	// The newest stored source verdict, if any.
	LastVerdict string `protobuf:"bytes,9,opt,name=last_verdict,json=lastVerdict,proto3" json:"last_verdict,omitempty"`
	// "country" when the shared country is not Russia; otherwise empty.
	Unavailable string `protobuf:"bytes,10,opt,name=unavailable,proto3" json:"unavailable,omitempty"`
	// True after the site rejects the stored own-probe token. Supplying a new token clears this flag.
	TokenUnknown bool `protobuf:"varint,11,opt,name=token_unknown,json=tokenUnknown,proto3" json:"token_unknown,omitempty"`
	// contains filtered or unexported fields
}

func (*CheburcheckSettings) Descriptor deprecated added in v0.1.63

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

Deprecated: Use CheburcheckSettings.ProtoReflect.Descriptor instead.

func (*CheburcheckSettings) GetEnabled added in v0.1.63

func (x *CheburcheckSettings) GetEnabled() bool

func (*CheburcheckSettings) GetHasToken added in v0.1.63

func (x *CheburcheckSettings) GetHasToken() bool

func (*CheburcheckSettings) GetHoldUntilUnix added in v0.1.63

func (x *CheburcheckSettings) GetHoldUntilUnix() int64

func (*CheburcheckSettings) GetIntervalMin added in v0.1.63

func (x *CheburcheckSettings) GetIntervalMin() uint32

func (*CheburcheckSettings) GetLastRunUnix added in v0.1.63

func (x *CheburcheckSettings) GetLastRunUnix() int64

func (*CheburcheckSettings) GetLastVerdict added in v0.1.63

func (x *CheburcheckSettings) GetLastVerdict() string

func (*CheburcheckSettings) GetOwnIntervalMin added in v0.1.63

func (x *CheburcheckSettings) GetOwnIntervalMin() uint32

func (*CheburcheckSettings) GetPublicEnabled added in v0.1.63

func (x *CheburcheckSettings) GetPublicEnabled() bool

func (*CheburcheckSettings) GetStatus added in v0.1.63

func (x *CheburcheckSettings) GetStatus() string

func (*CheburcheckSettings) GetTokenUnknown added in v0.1.63

func (x *CheburcheckSettings) GetTokenUnknown() bool

func (*CheburcheckSettings) GetUnavailable added in v0.1.63

func (x *CheburcheckSettings) GetUnavailable() string

func (*CheburcheckSettings) ProtoMessage added in v0.1.63

func (*CheburcheckSettings) ProtoMessage()

func (*CheburcheckSettings) ProtoReflect added in v0.1.63

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

func (*CheburcheckSettings) Reset added in v0.1.63

func (x *CheburcheckSettings) Reset()

func (*CheburcheckSettings) String added in v0.1.63

func (x *CheburcheckSettings) String() string

type CheckBucket

type CheckBucket struct {
	StartUnix int64 `protobuf:"varint,1,opt,name=start_unix,json=startUnix,proto3" json:"start_unix,omitempty"`
	// Rounds in the bucket (a round is one attempt plus at most one immediate retry).
	Ok     uint32 `protobuf:"varint,2,opt,name=ok,proto3" json:"ok,omitempty"`
	Failed uint32 `protobuf:"varint,3,opt,name=failed,proto3" json:"failed,omitempty"`
	// Median latency of the OK rounds, milliseconds; 0 = none.
	LatencyMs uint32 `protobuf:"varint,4,opt,name=latency_ms,json=latencyMs,proto3" json:"latency_ms,omitempty"`
	// contains filtered or unexported fields
}

Half-hour bucket of one cell. start is aligned to :00 or :30 UTC.

func (*CheckBucket) Descriptor deprecated

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

Deprecated: Use CheckBucket.ProtoReflect.Descriptor instead.

func (*CheckBucket) GetFailed

func (x *CheckBucket) GetFailed() uint32

func (*CheckBucket) GetLatencyMs

func (x *CheckBucket) GetLatencyMs() uint32

func (*CheckBucket) GetOk

func (x *CheckBucket) GetOk() uint32

func (*CheckBucket) GetStartUnix

func (x *CheckBucket) GetStartUnix() int64

func (*CheckBucket) ProtoMessage

func (*CheckBucket) ProtoMessage()

func (*CheckBucket) ProtoReflect

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

func (*CheckBucket) Reset

func (x *CheckBucket) Reset()

func (*CheckBucket) String

func (x *CheckBucket) String() string

type CheckCell

type CheckCell struct {

	// False: the profile is not deployed on this node (the "-" cell); everything below is empty.
	Deployed  bool   `protobuf:"varint,1,opt,name=deployed,proto3" json:"deployed,omitempty"`
	InboundId string `protobuf:"bytes,2,opt,name=inbound_id,json=inboundId,proto3" json:"inbound_id,omitempty"`
	// Last finished result; unset (status UNSPECIFIED) before the first round.
	Last *CheckResult `protobuf:"bytes,3,opt,name=last,proto3" json:"last,omitempty"`
	// Consecutive failed rounds up to now (the alert opens at 2).
	FailStreak uint32 `protobuf:"varint,4,opt,name=fail_streak,json=failStreak,proto3" json:"fail_streak,omitempty"`
	// Exactly 48 buckets, oldest first, the last one is the current partial bucket.
	History []*CheckBucket `protobuf:"bytes,5,rep,name=history,proto3" json:"history,omitempty"`
	// Median of latency_ms (the cold time of the whole round, see CheckResult) over the last hour of rounds whose tunnel
	// came up, ms; 0 = no data. Measured on the panel's server.
	LatencyHourMs uint32 `protobuf:"varint,6,opt,name=latency_hour_ms,json=latencyHourMs,proto3" json:"latency_hour_ms,omitempty"`
	// Median of response_ms (a request on an already open connection) over the last hour, ms; rounds without it are
	// left out; 0 = no data. Measured on the panel's server.
	ResponseHourMs uint32 `protobuf:"varint,7,opt,name=response_hour_ms,json=responseHourMs,proto3" json:"response_hour_ms,omitempty"`
	// Median of connect_ms (the time to open the tunnel and the first connection) over the last hour, ms; rounds without
	// it are left out; 0 = no data. Measured on the panel's server.
	ConnectHourMs uint32 `protobuf:"varint,8,opt,name=connect_hour_ms,json=connectHourMs,proto3" json:"connect_hour_ms,omitempty"`
	// Hysteria2 only: CheckResult.udp_sent and udp_lost summed over the last hour of rounds whose tunnel came up.
	UdpSentHour uint32 `protobuf:"varint,9,opt,name=udp_sent_hour,json=udpSentHour,proto3" json:"udp_sent_hour,omitempty"`
	UdpLostHour uint32 `protobuf:"varint,10,opt,name=udp_lost_hour,json=udpLostHour,proto3" json:"udp_lost_hour,omitempty"`
	// Hysteria2 only: the packets the node sent to the panel's check and declared lost, the way back, from the node's own
	// counters for the check's key (agents with "links/2") over the hour buckets that touch the last hour. The agent flushes
	// them every 10 minutes, so the newest are missing for up to that long. 0 = none counted.
	NodeSentHour uint32 `protobuf:"varint,11,opt,name=node_sent_hour,json=nodeSentHour,proto3" json:"node_sent_hour,omitempty"`
	NodeLostHour uint32 `protobuf:"varint,12,opt,name=node_lost_hour,json=nodeLostHour,proto3" json:"node_lost_hour,omitempty"`
	// contains filtered or unexported fields
}

One node x profile cell.

func (*CheckCell) Descriptor deprecated

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

Deprecated: Use CheckCell.ProtoReflect.Descriptor instead.

func (*CheckCell) GetConnectHourMs added in v0.1.41

func (x *CheckCell) GetConnectHourMs() uint32

func (*CheckCell) GetDeployed

func (x *CheckCell) GetDeployed() bool

func (*CheckCell) GetFailStreak

func (x *CheckCell) GetFailStreak() uint32

func (*CheckCell) GetHistory

func (x *CheckCell) GetHistory() []*CheckBucket

func (*CheckCell) GetInboundId

func (x *CheckCell) GetInboundId() string

func (*CheckCell) GetLast

func (x *CheckCell) GetLast() *CheckResult

func (*CheckCell) GetLatencyHourMs added in v0.1.27

func (x *CheckCell) GetLatencyHourMs() uint32

func (*CheckCell) GetNodeLostHour added in v0.1.61

func (x *CheckCell) GetNodeLostHour() uint32

func (*CheckCell) GetNodeSentHour added in v0.1.61

func (x *CheckCell) GetNodeSentHour() uint32

func (*CheckCell) GetResponseHourMs added in v0.1.41

func (x *CheckCell) GetResponseHourMs() uint32

func (*CheckCell) GetUdpLostHour added in v0.1.60

func (x *CheckCell) GetUdpLostHour() uint32

func (*CheckCell) GetUdpSentHour added in v0.1.60

func (x *CheckCell) GetUdpSentHour() uint32

func (*CheckCell) ProtoMessage

func (*CheckCell) ProtoMessage()

func (*CheckCell) ProtoReflect

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

func (*CheckCell) Reset

func (x *CheckCell) Reset()

func (*CheckCell) String

func (x *CheckCell) String() string

type CheckColumn

type CheckColumn struct {
	ProfileId string `protobuf:"bytes,1,opt,name=profile_id,json=profileId,proto3" json:"profile_id,omitempty"`
	// "hy2 · 443".
	ProfileName string `protobuf:"bytes,2,opt,name=profile_name,json=profileName,proto3" json:"profile_name,omitempty"`
	// Plugin id, "hysteria2".
	Protocol string `protobuf:"bytes,3,opt,name=protocol,proto3" json:"protocol,omitempty"`
	// contains filtered or unexported fields
}

One column of the matrix: a profile (the same profile is deployed on many nodes).

func (*CheckColumn) Descriptor deprecated

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

Deprecated: Use CheckColumn.ProtoReflect.Descriptor instead.

func (*CheckColumn) GetProfileId

func (x *CheckColumn) GetProfileId() string

func (*CheckColumn) GetProfileName

func (x *CheckColumn) GetProfileName() string

func (*CheckColumn) GetProtocol

func (x *CheckColumn) GetProtocol() string

func (*CheckColumn) ProtoMessage

func (*CheckColumn) ProtoMessage()

func (*CheckColumn) ProtoReflect

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

func (*CheckColumn) Reset

func (x *CheckColumn) Reset()

func (*CheckColumn) String

func (x *CheckColumn) String() string

type CheckIpv6Request added in v0.1.66

type CheckIpv6Request struct {
	NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	// The node's IPv6 address to check; empty = the one the node uses for outbound IPv6.
	Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	// contains filtered or unexported fields
}

func (*CheckIpv6Request) Descriptor deprecated added in v0.1.66

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

Deprecated: Use CheckIpv6Request.ProtoReflect.Descriptor instead.

func (*CheckIpv6Request) GetAddress added in v0.1.66

func (x *CheckIpv6Request) GetAddress() string

func (*CheckIpv6Request) GetNodeId added in v0.1.66

func (x *CheckIpv6Request) GetNodeId() string

func (*CheckIpv6Request) ProtoMessage added in v0.1.66

func (*CheckIpv6Request) ProtoMessage()

func (*CheckIpv6Request) ProtoReflect added in v0.1.66

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

func (*CheckIpv6Request) Reset added in v0.1.66

func (x *CheckIpv6Request) Reset()

func (*CheckIpv6Request) String added in v0.1.66

func (x *CheckIpv6Request) String() string

type CheckIpv6Response added in v0.1.66

type CheckIpv6Response struct {

	// The address that was checked (canonical spelling).
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// Every probed port answered as it should (tcp ours, udp ok). Never true for an error_code.
	Passed bool `protobuf:"varint,2,opt,name=passed,proto3" json:"passed,omitempty"`
	// "" = the ports were probed (passed and verdicts say how it went). Otherwise: node_offline, agent_too_old, nothing_to_check (the
	// node has no enabled server), no_ipv6_verifier (no other node has working IPv6, the panel has none, and Globalping is off or
	// could not connect), failed.
	ErrorCode string             `protobuf:"bytes,3,opt,name=error_code,json=errorCode,proto3" json:"error_code,omitempty"`
	Verdicts  []*Ipv6PortVerdict `protobuf:"bytes,4,rep,name=verdicts,proto3" json:"verdicts,omitempty"`
	// The name of the node that sent the probes, "panel", or "globalping" (it only proves that a connection opens). Empty when none did.
	Sender      string `protobuf:"bytes,5,opt,name=sender,proto3" json:"sender,omitempty"`
	CheckedUnix int64  `protobuf:"varint,6,opt,name=checked_unix,json=checkedUnix,proto3" json:"checked_unix,omitempty"`
	// contains filtered or unexported fields
}

func (*CheckIpv6Response) Descriptor deprecated added in v0.1.66

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

Deprecated: Use CheckIpv6Response.ProtoReflect.Descriptor instead.

func (*CheckIpv6Response) GetAddress added in v0.1.66

func (x *CheckIpv6Response) GetAddress() string

func (*CheckIpv6Response) GetCheckedUnix added in v0.1.66

func (x *CheckIpv6Response) GetCheckedUnix() int64

func (*CheckIpv6Response) GetErrorCode added in v0.1.66

func (x *CheckIpv6Response) GetErrorCode() string

func (*CheckIpv6Response) GetPassed added in v0.1.66

func (x *CheckIpv6Response) GetPassed() bool

func (*CheckIpv6Response) GetSender added in v0.1.66

func (x *CheckIpv6Response) GetSender() string

func (*CheckIpv6Response) GetVerdicts added in v0.1.66

func (x *CheckIpv6Response) GetVerdicts() []*Ipv6PortVerdict

func (*CheckIpv6Response) ProtoMessage added in v0.1.66

func (*CheckIpv6Response) ProtoMessage()

func (*CheckIpv6Response) ProtoReflect added in v0.1.66

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

func (*CheckIpv6Response) Reset added in v0.1.66

func (x *CheckIpv6Response) Reset()

func (*CheckIpv6Response) String added in v0.1.66

func (x *CheckIpv6Response) String() string

type CheckPanelUpdateRequest

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

func (*CheckPanelUpdateRequest) Descriptor deprecated

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

Deprecated: Use CheckPanelUpdateRequest.ProtoReflect.Descriptor instead.

func (*CheckPanelUpdateRequest) ProtoMessage

func (*CheckPanelUpdateRequest) ProtoMessage()

func (*CheckPanelUpdateRequest) ProtoReflect

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

func (*CheckPanelUpdateRequest) Reset

func (x *CheckPanelUpdateRequest) Reset()

func (*CheckPanelUpdateRequest) String

func (x *CheckPanelUpdateRequest) String() string

type CheckPanelUpdateResponse

type CheckPanelUpdateResponse struct {
	Update *PanelUpdate `protobuf:"bytes,1,opt,name=update,proto3" json:"update,omitempty"`
	// contains filtered or unexported fields
}

func (*CheckPanelUpdateResponse) Descriptor deprecated

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

Deprecated: Use CheckPanelUpdateResponse.ProtoReflect.Descriptor instead.

func (*CheckPanelUpdateResponse) GetUpdate

func (x *CheckPanelUpdateResponse) GetUpdate() *PanelUpdate

func (*CheckPanelUpdateResponse) ProtoMessage

func (*CheckPanelUpdateResponse) ProtoMessage()

func (*CheckPanelUpdateResponse) ProtoReflect

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

func (*CheckPanelUpdateResponse) Reset

func (x *CheckPanelUpdateResponse) Reset()

func (*CheckPanelUpdateResponse) String

func (x *CheckPanelUpdateResponse) String() string

type CheckPortsRequest added in v0.1.28

type CheckPortsRequest struct {
	NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	// At most 7; 443 is always added. Empty = the node's enabled UDP inbound ports.
	Ports []uint32 `protobuf:"varint,2,rep,packed,name=ports,proto3" json:"ports,omitempty"`
	// contains filtered or unexported fields
}

func (*CheckPortsRequest) Descriptor deprecated added in v0.1.28

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

Deprecated: Use CheckPortsRequest.ProtoReflect.Descriptor instead.

func (*CheckPortsRequest) GetNodeId added in v0.1.28

func (x *CheckPortsRequest) GetNodeId() string

func (*CheckPortsRequest) GetPorts added in v0.1.28

func (x *CheckPortsRequest) GetPorts() []uint32

func (*CheckPortsRequest) ProtoMessage added in v0.1.28

func (*CheckPortsRequest) ProtoMessage()

func (*CheckPortsRequest) ProtoReflect added in v0.1.28

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

func (*CheckPortsRequest) Reset added in v0.1.28

func (x *CheckPortsRequest) Reset()

func (*CheckPortsRequest) String added in v0.1.28

func (x *CheckPortsRequest) String() string

type CheckPortsResponse added in v0.1.28

type CheckPortsResponse struct {
	Ports []*PortCheck `protobuf:"bytes,1,rep,name=ports,proto3" json:"ports,omitempty"`
	// "" = checked. Otherwise PortCheck.reason's words; same_host and inconclusive still carry the counts in ports.
	ErrorCode string `protobuf:"bytes,2,opt,name=error_code,json=errorCode,proto3" json:"error_code,omitempty"`
	// "panel" or the name of the node that sent.
	Sender string `protobuf:"bytes,3,opt,name=sender,proto3" json:"sender,omitempty"`
	// The TCP half of the same run (design/vless.md section 7.4): port 80 when the node has an ACME name, the Hysteria2
	// site port, and the VLESS ports, at most 8, 80 first. Empty when the node has nothing to probe, is offline, or has no
	// sender for the TCP part (no other node lists "tcpcheck/1" and the panel does not send); the UDP part's error_code
	// does not decide it, except node_offline. A row that could not be probed has verdict "" and a reason.
	Tcp []*TcpCheck `protobuf:"bytes,4,rep,name=tcp,proto3" json:"tcp,omitempty"`
	// Latest paired check that found source-side UDP filtering; 0 = none or a later check passed cleanly.
	UdpFilteredUnix int64 `protobuf:"varint,5,opt,name=udp_filtered_unix,json=udpFilteredUnix,proto3" json:"udp_filtered_unix,omitempty"`
	// contains filtered or unexported fields
}

func (*CheckPortsResponse) Descriptor deprecated added in v0.1.28

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

Deprecated: Use CheckPortsResponse.ProtoReflect.Descriptor instead.

func (*CheckPortsResponse) GetErrorCode added in v0.1.28

func (x *CheckPortsResponse) GetErrorCode() string

func (*CheckPortsResponse) GetPorts added in v0.1.28

func (x *CheckPortsResponse) GetPorts() []*PortCheck

func (*CheckPortsResponse) GetSender added in v0.1.28

func (x *CheckPortsResponse) GetSender() string

func (*CheckPortsResponse) GetTcp added in v0.1.35

func (x *CheckPortsResponse) GetTcp() []*TcpCheck

func (*CheckPortsResponse) GetUdpFilteredUnix added in v0.1.77

func (x *CheckPortsResponse) GetUdpFilteredUnix() int64

func (*CheckPortsResponse) ProtoMessage added in v0.1.28

func (*CheckPortsResponse) ProtoMessage()

func (*CheckPortsResponse) ProtoReflect added in v0.1.28

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

func (*CheckPortsResponse) Reset added in v0.1.28

func (x *CheckPortsResponse) Reset()

func (*CheckPortsResponse) String added in v0.1.28

func (x *CheckPortsResponse) String() string

type CheckRelayRequest added in v0.1.65

type CheckRelayRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*CheckRelayRequest) Descriptor deprecated added in v0.1.65

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

Deprecated: Use CheckRelayRequest.ProtoReflect.Descriptor instead.

func (*CheckRelayRequest) GetId added in v0.1.65

func (x *CheckRelayRequest) GetId() string

func (*CheckRelayRequest) ProtoMessage added in v0.1.65

func (*CheckRelayRequest) ProtoMessage()

func (*CheckRelayRequest) ProtoReflect added in v0.1.65

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

func (*CheckRelayRequest) Reset added in v0.1.65

func (x *CheckRelayRequest) Reset()

func (*CheckRelayRequest) String added in v0.1.65

func (x *CheckRelayRequest) String() string

type CheckRelayResponse added in v0.1.65

type CheckRelayResponse struct {
	Relay *Relay `protobuf:"bytes,1,opt,name=relay,proto3" json:"relay,omitempty"`
	// contains filtered or unexported fields
}

func (*CheckRelayResponse) Descriptor deprecated added in v0.1.65

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

Deprecated: Use CheckRelayResponse.ProtoReflect.Descriptor instead.

func (*CheckRelayResponse) GetRelay added in v0.1.65

func (x *CheckRelayResponse) GetRelay() *Relay

func (*CheckRelayResponse) ProtoMessage added in v0.1.65

func (*CheckRelayResponse) ProtoMessage()

func (*CheckRelayResponse) ProtoReflect added in v0.1.65

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

func (*CheckRelayResponse) Reset added in v0.1.65

func (x *CheckRelayResponse) Reset()

func (*CheckRelayResponse) String added in v0.1.65

func (x *CheckRelayResponse) String() string

type CheckResult

type CheckResult struct {
	Status CheckStatus `protobuf:"varint,1,opt,name=status,proto3,enum=mistgate.admin.v1.CheckStatus" json:"status,omitempty"`
	AtUnix int64       `protobuf:"varint,2,opt,name=at_unix,json=atUnix,proto3" json:"at_unix,omitempty"`
	// The cold time of the round: from the start of the dial to the first response byte of the generate_204 probe,
	// milliseconds. It is measured on the panel's server, not on a person's device, and includes the tunnel handshake,
	// a fresh TCP + TLS connection to the probe host through the tunnel, and the request. Lost UDP packets add retry timers
	// (a second or more for QUIC and for TCP inside an AWG tunnel, 5 s for a WireGuard handshake). 0 when the tunnel did not
	// come up.
	LatencyMs uint32 `protobuf:"varint,3,opt,name=latency_ms,json=latencyMs,proto3" json:"latency_ms,omitempty"`
	// Exit IP and ISO 3166-1 alpha-2 country as seen by https://www.cloudflare.com/cdn-cgi/trace ("ip=", "loc=");
	// empty when that probe failed.
	ExitIp      string `protobuf:"bytes,4,opt,name=exit_ip,json=exitIp,proto3" json:"exit_ip,omitempty"`
	ExitCountry string `protobuf:"bytes,5,opt,name=exit_country,json=exitCountry,proto3" json:"exit_country,omitempty"`
	// Machine code for a non-OK result, the tail of the key "health.check.err.<code>": "timeout" (no QUIC
	// handshake, typical for blocked UDP), "auth" (credential refused), "tls" (certificate / SNI / pin),
	// "refused", "http_status", "exit_unreachable", "client_unsupported", "node_offline", "inbound_not_active".
	ErrorCode string `protobuf:"bytes,6,opt,name=error_code,json=errorCode,proto3" json:"error_code,omitempty"`
	// Short English fact for the mono caption ("handshake timeout after 8s"). Never secrets.
	ErrorDetail string `protobuf:"bytes,7,opt,name=error_detail,json=errorDetail,proto3" json:"error_detail,omitempty"`
	// From the start of the dial until the tunnel was up and the first connection through it was open, milliseconds,
	// measured on the panel's server. Hysteria2: the QUIC handshake and auth, then the TCP connect to the probe host.
	// AWG: the handshake, then the TCP connect. VLESS: the start of the local Xray client, then TCP and REALITY/TLS to
	// the node (the connect to the probe host is not in it). 0 = not measured (rounds from before this field, or a failed
	// round).
	ConnectMs uint32 `protobuf:"varint,8,opt,name=connect_ms,json=connectMs,proto3" json:"connect_ms,omitempty"`
	// One more generate_204 request on the HTTPS connection that the first one opened, right after it: what a person feels
	// while the tunnel is up. Measured on the panel's server. 0 = not measured (the connection was not reused, the
	// request failed, or the round is from before this field).
	ResponseMs uint32 `protobuf:"varint,9,opt,name=response_ms,json=responseMs,proto3" json:"response_ms,omitempty"`
	// Hysteria2 only: the packets the panel's own QUIC client sent during the round, the handshake included, and declared
	// lost: the way from the panel's server to the node (the way back is the node's count, CheckCell.node_lost_hour). 0 for
	// the other protocols and for rounds from before these fields.
	UdpSent uint32 `protobuf:"varint,10,opt,name=udp_sent,json=udpSent,proto3" json:"udp_sent,omitempty"`
	UdpLost uint32 `protobuf:"varint,11,opt,name=udp_lost,json=udpLost,proto3" json:"udp_lost,omitempty"`
	// contains filtered or unexported fields
}

One result of one probe round.

func (*CheckResult) Descriptor deprecated

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

Deprecated: Use CheckResult.ProtoReflect.Descriptor instead.

func (*CheckResult) GetAtUnix

func (x *CheckResult) GetAtUnix() int64

func (*CheckResult) GetConnectMs added in v0.1.41

func (x *CheckResult) GetConnectMs() uint32

func (*CheckResult) GetErrorCode

func (x *CheckResult) GetErrorCode() string

func (*CheckResult) GetErrorDetail

func (x *CheckResult) GetErrorDetail() string

func (*CheckResult) GetExitCountry

func (x *CheckResult) GetExitCountry() string

func (*CheckResult) GetExitIp

func (x *CheckResult) GetExitIp() string

func (*CheckResult) GetLatencyMs

func (x *CheckResult) GetLatencyMs() uint32

func (*CheckResult) GetResponseMs added in v0.1.41

func (x *CheckResult) GetResponseMs() uint32

func (*CheckResult) GetStatus

func (x *CheckResult) GetStatus() CheckStatus

func (*CheckResult) GetUdpLost added in v0.1.60

func (x *CheckResult) GetUdpLost() uint32

func (*CheckResult) GetUdpSent added in v0.1.60

func (x *CheckResult) GetUdpSent() uint32

func (*CheckResult) ProtoMessage

func (*CheckResult) ProtoMessage()

func (*CheckResult) ProtoReflect

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

func (*CheckResult) Reset

func (x *CheckResult) Reset()

func (*CheckResult) String

func (x *CheckResult) String() string

type CheckRow

type CheckRow struct {
	NodeId      string     `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	NodeName    string     `protobuf:"bytes,2,opt,name=node_name,json=nodeName,proto3" json:"node_name,omitempty"`
	CountryCode string     `protobuf:"bytes,3,opt,name=country_code,json=countryCode,proto3" json:"country_code,omitempty"`
	NodeStatus  NodeStatus `` /* 126-byte string literal not displayed */
	// One cell per entry of GetChecksResponse.columns, same order.
	Cells []*CheckCell `protobuf:"bytes,5,rep,name=cells,proto3" json:"cells,omitempty"`
	// contains filtered or unexported fields
}

func (*CheckRow) Descriptor deprecated

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

Deprecated: Use CheckRow.ProtoReflect.Descriptor instead.

func (*CheckRow) GetCells

func (x *CheckRow) GetCells() []*CheckCell

func (*CheckRow) GetCountryCode

func (x *CheckRow) GetCountryCode() string

func (*CheckRow) GetNodeId

func (x *CheckRow) GetNodeId() string

func (*CheckRow) GetNodeName

func (x *CheckRow) GetNodeName() string

func (*CheckRow) GetNodeStatus

func (x *CheckRow) GetNodeStatus() NodeStatus

func (*CheckRow) ProtoMessage

func (*CheckRow) ProtoMessage()

func (*CheckRow) ProtoReflect

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

func (*CheckRow) Reset

func (x *CheckRow) Reset()

func (*CheckRow) String

func (x *CheckRow) String() string

type CheckSSHRequest

type CheckSSHRequest struct {
	Host        string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
	Port        uint32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"`
	Fingerprint string `protobuf:"bytes,3,opt,name=fingerprint,proto3" json:"fingerprint,omitempty"`
	Password    string `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"`
	Username    string `protobuf:"bytes,5,opt,name=username,proto3" json:"username,omitempty"`
	// When true, password must be empty and the panel uses its public key's private half.
	UsePanelKey bool `protobuf:"varint,6,opt,name=use_panel_key,json=usePanelKey,proto3" json:"use_panel_key,omitempty"`
	// An owner's private key is used only for this check. It is never retained.
	PrivateKey           string `protobuf:"bytes,7,opt,name=private_key,json=privateKey,proto3" json:"private_key,omitempty"`
	PrivateKeyPassphrase string `protobuf:"bytes,8,opt,name=private_key_passphrase,json=privateKeyPassphrase,proto3" json:"private_key_passphrase,omitempty"`
	// contains filtered or unexported fields
}

func (*CheckSSHRequest) Descriptor deprecated

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

Deprecated: Use CheckSSHRequest.ProtoReflect.Descriptor instead.

func (*CheckSSHRequest) GetFingerprint

func (x *CheckSSHRequest) GetFingerprint() string

func (*CheckSSHRequest) GetHost

func (x *CheckSSHRequest) GetHost() string

func (*CheckSSHRequest) GetPassword

func (x *CheckSSHRequest) GetPassword() string

func (*CheckSSHRequest) GetPort

func (x *CheckSSHRequest) GetPort() uint32

func (*CheckSSHRequest) GetPrivateKey added in v0.1.74

func (x *CheckSSHRequest) GetPrivateKey() string

func (*CheckSSHRequest) GetPrivateKeyPassphrase added in v0.1.74

func (x *CheckSSHRequest) GetPrivateKeyPassphrase() string

func (*CheckSSHRequest) GetUsePanelKey added in v0.1.74

func (x *CheckSSHRequest) GetUsePanelKey() bool

func (*CheckSSHRequest) GetUsername

func (x *CheckSSHRequest) GetUsername() string

func (*CheckSSHRequest) ProtoMessage

func (*CheckSSHRequest) ProtoMessage()

func (*CheckSSHRequest) ProtoReflect

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

func (*CheckSSHRequest) Reset

func (x *CheckSSHRequest) Reset()

func (*CheckSSHRequest) String

func (x *CheckSSHRequest) String() string

type CheckSSHResponse

type CheckSSHResponse struct {
	Preflight *NodePreflight `protobuf:"bytes,1,opt,name=preflight,proto3" json:"preflight,omitempty"`
	// contains filtered or unexported fields
}

func (*CheckSSHResponse) Descriptor deprecated

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

Deprecated: Use CheckSSHResponse.ProtoReflect.Descriptor instead.

func (*CheckSSHResponse) GetPreflight

func (x *CheckSSHResponse) GetPreflight() *NodePreflight

func (*CheckSSHResponse) ProtoMessage

func (*CheckSSHResponse) ProtoMessage()

func (*CheckSSHResponse) ProtoReflect

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

func (*CheckSSHResponse) Reset

func (x *CheckSSHResponse) Reset()

func (*CheckSSHResponse) String

func (x *CheckSSHResponse) String() string

type CheckStatus

type CheckStatus int32
const (
	CheckStatus_CHECK_STATUS_UNSPECIFIED CheckStatus = 0
	// Both probes passed.
	CheckStatus_CHECK_STATUS_OK CheckStatus = 1
	// The tunnel works but one of the two probes failed (for example the exit cannot reach gstatic.com).
	// Shown as latency in warning colour; never opens an alert by itself.
	CheckStatus_CHECK_STATUS_DEGRADED CheckStatus = 2
	// The client could not establish the tunnel or neither probe passed.
	CheckStatus_CHECK_STATUS_FAILED CheckStatus = 3
	// Not measured on purpose: inbound disabled, node offline or updating, protocol has no client yet.
	CheckStatus_CHECK_STATUS_SKIPPED CheckStatus = 4
)

func (CheckStatus) Descriptor

func (CheckStatus) Enum

func (x CheckStatus) Enum() *CheckStatus

func (CheckStatus) EnumDescriptor deprecated

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

Deprecated: Use CheckStatus.Descriptor instead.

func (CheckStatus) Number

func (x CheckStatus) Number() protoreflect.EnumNumber

func (CheckStatus) String

func (x CheckStatus) String() string

func (CheckStatus) Type

type ClientConnections added in v0.1.56

type ClientConnections struct {

	// As the device reported it ("Happ/6.1.0"); "" unknown.
	Client       string `protobuf:"bytes,1,opt,name=client,proto3" json:"client,omitempty"`
	Platform     string `protobuf:"bytes,2,opt,name=platform,proto3" json:"platform,omitempty"`
	Devices      uint32 `protobuf:"varint,3,opt,name=devices,proto3" json:"devices,omitempty"`
	Connects     uint32 `protobuf:"varint,4,opt,name=connects,proto3" json:"connects,omitempty"`
	Rejects      uint32 `protobuf:"varint,5,opt,name=rejects,proto3" json:"rejects,omitempty"`
	Drops        uint32 `protobuf:"varint,6,opt,name=drops,proto3" json:"drops,omitempty"`
	Stalls       uint32 `protobuf:"varint,7,opt,name=stalls,proto3" json:"stalls,omitempty"`
	OnlineS      uint64 `protobuf:"varint,8,opt,name=online_s,json=onlineS,proto3" json:"online_s,omitempty"`
	Freezes      uint32 `protobuf:"varint,9,opt,name=freezes,proto3" json:"freezes,omitempty"`
	Quiet        uint32 `protobuf:"varint,10,opt,name=quiet,proto3" json:"quiet,omitempty"`
	RttMs        uint32 `protobuf:"varint,11,opt,name=rtt_ms,json=rttMs,proto3" json:"rtt_ms,omitempty"`
	LossPermille uint32 `protobuf:"varint,12,opt,name=loss_permille,json=lossPermille,proto3" json:"loss_permille,omitempty"`
	// contains filtered or unexported fields
}

func (*ClientConnections) Descriptor deprecated added in v0.1.56

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

Deprecated: Use ClientConnections.ProtoReflect.Descriptor instead.

func (*ClientConnections) GetClient added in v0.1.56

func (x *ClientConnections) GetClient() string

func (*ClientConnections) GetConnects added in v0.1.56

func (x *ClientConnections) GetConnects() uint32

func (*ClientConnections) GetDevices added in v0.1.56

func (x *ClientConnections) GetDevices() uint32

func (*ClientConnections) GetDrops added in v0.1.56

func (x *ClientConnections) GetDrops() uint32

func (*ClientConnections) GetFreezes added in v0.1.57

func (x *ClientConnections) GetFreezes() uint32

func (*ClientConnections) GetLossPermille added in v0.1.57

func (x *ClientConnections) GetLossPermille() uint32

func (*ClientConnections) GetOnlineS added in v0.1.56

func (x *ClientConnections) GetOnlineS() uint64

func (*ClientConnections) GetPlatform added in v0.1.56

func (x *ClientConnections) GetPlatform() string

func (*ClientConnections) GetQuiet added in v0.1.57

func (x *ClientConnections) GetQuiet() uint32

func (*ClientConnections) GetRejects added in v0.1.56

func (x *ClientConnections) GetRejects() uint32

func (*ClientConnections) GetRttMs added in v0.1.57

func (x *ClientConnections) GetRttMs() uint32

func (*ClientConnections) GetStalls added in v0.1.56

func (x *ClientConnections) GetStalls() uint32

func (*ClientConnections) ProtoMessage added in v0.1.56

func (*ClientConnections) ProtoMessage()

func (*ClientConnections) ProtoReflect added in v0.1.56

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

func (*ClientConnections) Reset added in v0.1.56

func (x *ClientConnections) Reset()

func (*ClientConnections) String added in v0.1.56

func (x *ClientConnections) String() string

type ClientDnsSupport

type ClientDnsSupport struct {
	Client     DnsClient      `protobuf:"varint,1,opt,name=client,proto3,enum=mistgate.admin.v1.DnsClient" json:"client,omitempty"`
	Transports []DnsTransport `protobuf:"varint,2,rep,packed,name=transports,proto3,enum=mistgate.admin.v1.DnsTransport" json:"transports,omitempty"`
	// IPv6 resolver addresses are usable (Amnezia keys and Happ take IPv4 only).
	Ipv6 bool `protobuf:"varint,3,opt,name=ipv6,proto3" json:"ipv6,omitempty"`
	// contains filtered or unexported fields
}

Which transports an app can carry in what a subscription hands it.

func (*ClientDnsSupport) Descriptor deprecated

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

Deprecated: Use ClientDnsSupport.ProtoReflect.Descriptor instead.

func (*ClientDnsSupport) GetClient

func (x *ClientDnsSupport) GetClient() DnsClient

func (*ClientDnsSupport) GetIpv6

func (x *ClientDnsSupport) GetIpv6() bool

func (*ClientDnsSupport) GetTransports

func (x *ClientDnsSupport) GetTransports() []DnsTransport

func (*ClientDnsSupport) ProtoMessage

func (*ClientDnsSupport) ProtoMessage()

func (*ClientDnsSupport) ProtoReflect

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

func (*ClientDnsSupport) Reset

func (x *ClientDnsSupport) Reset()

func (*ClientDnsSupport) String

func (x *ClientDnsSupport) String() string

type ClientInfo

type ClientInfo struct {

	// Stable id ("happ", "amnezia", "mihomo", …) and display name.
	Id   string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// Protocol plugin ids this client can use ("hysteria2", "awg").
	Protocols []string `protobuf:"bytes,3,rep,name=protocols,proto3" json:"protocols,omitempty"`
	// Formats this client understands.
	Formats []SubFormat `protobuf:"varint,4,rep,packed,name=formats,proto3,enum=mistgate.admin.v1.SubFormat" json:"formats,omitempty"`
	// contains filtered or unexported fields
}

func (*ClientInfo) Descriptor deprecated

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

Deprecated: Use ClientInfo.ProtoReflect.Descriptor instead.

func (*ClientInfo) GetFormats

func (x *ClientInfo) GetFormats() []SubFormat

func (*ClientInfo) GetId

func (x *ClientInfo) GetId() string

func (*ClientInfo) GetName

func (x *ClientInfo) GetName() string

func (*ClientInfo) GetProtocols

func (x *ClientInfo) GetProtocols() []string

func (*ClientInfo) ProtoMessage

func (*ClientInfo) ProtoMessage()

func (*ClientInfo) ProtoReflect

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

func (*ClientInfo) Reset

func (x *ClientInfo) Reset()

func (*ClientInfo) String

func (x *ClientInfo) String() string

type ClientProbeGroup added in v0.1.51

type ClientProbeGroup struct {
	Name  string            `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Tally *ClientProbeTally `protobuf:"bytes,2,opt,name=tally,proto3" json:"tally,omitempty"`
	// contains filtered or unexported fields
}

One operator or region. name is as the app saw it: the operator ("MTS PJSC", else "AS8359", else ""), or the region with its country ("RU · Moscow", "RU", or "" when the app did not know).

func (*ClientProbeGroup) Descriptor deprecated added in v0.1.51

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

Deprecated: Use ClientProbeGroup.ProtoReflect.Descriptor instead.

func (*ClientProbeGroup) GetName added in v0.1.51

func (x *ClientProbeGroup) GetName() string

func (*ClientProbeGroup) GetTally added in v0.1.51

func (x *ClientProbeGroup) GetTally() *ClientProbeTally

func (*ClientProbeGroup) ProtoMessage added in v0.1.51

func (*ClientProbeGroup) ProtoMessage()

func (*ClientProbeGroup) ProtoReflect added in v0.1.51

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

func (*ClientProbeGroup) Reset added in v0.1.51

func (x *ClientProbeGroup) Reset()

func (*ClientProbeGroup) String added in v0.1.51

func (x *ClientProbeGroup) String() string

type ClientProbeKind added in v0.1.56

type ClientProbeKind struct {
	Kind  string            `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"`
	Tally *ClientProbeTally `protobuf:"bytes,2,opt,name=tally,proto3" json:"tally,omitempty"`
	// Median of the latency the app measured (reports that have one); 0 when none has.
	MedianDelayMs uint32 `protobuf:"varint,3,opt,name=median_delay_ms,json=medianDelayMs,proto3" json:"median_delay_ms,omitempty"`
	// Reports with a download test, and those whose download stalled.
	DlChecked uint32 `protobuf:"varint,4,opt,name=dl_checked,json=dlChecked,proto3" json:"dl_checked,omitempty"`
	DlStalled uint32 `protobuf:"varint,5,opt,name=dl_stalled,json=dlStalled,proto3" json:"dl_stalled,omitempty"`
	// contains filtered or unexported fields
}

One kind of server of a node in the reports.

func (*ClientProbeKind) Descriptor deprecated added in v0.1.56

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

Deprecated: Use ClientProbeKind.ProtoReflect.Descriptor instead.

func (*ClientProbeKind) GetDlChecked added in v0.1.56

func (x *ClientProbeKind) GetDlChecked() uint32

func (*ClientProbeKind) GetDlStalled added in v0.1.56

func (x *ClientProbeKind) GetDlStalled() uint32

func (*ClientProbeKind) GetKind added in v0.1.56

func (x *ClientProbeKind) GetKind() string

func (*ClientProbeKind) GetMedianDelayMs added in v0.1.56

func (x *ClientProbeKind) GetMedianDelayMs() uint32

func (*ClientProbeKind) GetTally added in v0.1.56

func (x *ClientProbeKind) GetTally() *ClientProbeTally

func (*ClientProbeKind) ProtoMessage added in v0.1.56

func (*ClientProbeKind) ProtoMessage()

func (*ClientProbeKind) ProtoReflect added in v0.1.56

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

func (*ClientProbeKind) Reset added in v0.1.56

func (x *ClientProbeKind) Reset()

func (*ClientProbeKind) String added in v0.1.56

func (x *ClientProbeKind) String() string

type ClientProbeNode added in v0.1.51

type ClientProbeNode struct {
	NodeId string            `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	Tally  *ClientProbeTally `protobuf:"bytes,2,opt,name=tally,proto3" json:"tally,omitempty"`
	// Most reports first; at most 8 of each.
	Operators []*ClientProbeGroup `protobuf:"bytes,3,rep,name=operators,proto3" json:"operators,omitempty"`
	Regions   []*ClientProbeGroup `protobuf:"bytes,4,rep,name=regions,proto3" json:"regions,omitempty"`
	// By the kind of server the app checked (its stored kind: "hysteria2", "vless", "awg", ...), most reports first.
	Kinds []*ClientProbeKind `protobuf:"bytes,5,rep,name=kinds,proto3" json:"kinds,omitempty"`
	// contains filtered or unexported fields
}

func (*ClientProbeNode) Descriptor deprecated added in v0.1.51

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

Deprecated: Use ClientProbeNode.ProtoReflect.Descriptor instead.

func (*ClientProbeNode) GetKinds added in v0.1.56

func (x *ClientProbeNode) GetKinds() []*ClientProbeKind

func (*ClientProbeNode) GetNodeId added in v0.1.51

func (x *ClientProbeNode) GetNodeId() string

func (*ClientProbeNode) GetOperators added in v0.1.51

func (x *ClientProbeNode) GetOperators() []*ClientProbeGroup

func (*ClientProbeNode) GetRegions added in v0.1.51

func (x *ClientProbeNode) GetRegions() []*ClientProbeGroup

func (*ClientProbeNode) GetTally added in v0.1.51

func (x *ClientProbeNode) GetTally() *ClientProbeTally

func (*ClientProbeNode) ProtoMessage added in v0.1.51

func (*ClientProbeNode) ProtoMessage()

func (*ClientProbeNode) ProtoReflect added in v0.1.51

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

func (*ClientProbeNode) Reset added in v0.1.51

func (x *ClientProbeNode) Reset()

func (*ClientProbeNode) String added in v0.1.51

func (x *ClientProbeNode) String() string

type ClientProbeSettings added in v0.1.51

type ClientProbeSettings struct {

	// Default false.
	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// Reports stored (the last 7 days) and when the newest came; 0 = none.
	Reports  uint32 `protobuf:"varint,2,opt,name=reports,proto3" json:"reports,omitempty"`
	LastUnix int64  `protobuf:"varint,3,opt,name=last_unix,json=lastUnix,proto3" json:"last_unix,omitempty"`
	// contains filtered or unexported fields
}

func (*ClientProbeSettings) Descriptor deprecated added in v0.1.51

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

Deprecated: Use ClientProbeSettings.ProtoReflect.Descriptor instead.

func (*ClientProbeSettings) GetEnabled added in v0.1.51

func (x *ClientProbeSettings) GetEnabled() bool

func (*ClientProbeSettings) GetLastUnix added in v0.1.51

func (x *ClientProbeSettings) GetLastUnix() int64

func (*ClientProbeSettings) GetReports added in v0.1.51

func (x *ClientProbeSettings) GetReports() uint32

func (*ClientProbeSettings) ProtoMessage added in v0.1.51

func (*ClientProbeSettings) ProtoMessage()

func (*ClientProbeSettings) ProtoReflect added in v0.1.51

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

func (*ClientProbeSettings) Reset added in v0.1.51

func (x *ClientProbeSettings) Reset()

func (*ClientProbeSettings) String added in v0.1.51

func (x *ClientProbeSettings) String() string

type ClientProbeTally added in v0.1.51

type ClientProbeTally struct {
	Reports         uint32 `protobuf:"varint,1,opt,name=reports,proto3" json:"reports,omitempty"`
	Ok              uint32 `protobuf:"varint,2,opt,name=ok,proto3" json:"ok,omitempty"`
	Freeze          uint32 `protobuf:"varint,3,opt,name=freeze,proto3" json:"freeze,omitempty"`
	TcpBlocked      uint32 `protobuf:"varint,4,opt,name=tcp_blocked,json=tcpBlocked,proto3" json:"tcp_blocked,omitempty"`
	HandshakeFailed uint32 `protobuf:"varint,5,opt,name=handshake_failed,json=handshakeFailed,proto3" json:"handshake_failed,omitempty"`
	NoAnswer        uint32 `protobuf:"varint,6,opt,name=no_answer,json=noAnswer,proto3" json:"no_answer,omitempty"`
	// The newest of these reports.
	LastUnix int64 `protobuf:"varint,7,opt,name=last_unix,json=lastUnix,proto3" json:"last_unix,omitempty"`
	// contains filtered or unexported fields
}

What the reports say of a node, or of the part of them from one operator or region. A report counts once per node however many of the node's servers it checked, in every verdict one of them got: a report where VLESS froze and Hysteria2 passed is one freeze. ok counts the reports where every server of the node that was checked was ok.

func (*ClientProbeTally) Descriptor deprecated added in v0.1.51

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

Deprecated: Use ClientProbeTally.ProtoReflect.Descriptor instead.

func (*ClientProbeTally) GetFreeze added in v0.1.51

func (x *ClientProbeTally) GetFreeze() uint32

func (*ClientProbeTally) GetHandshakeFailed added in v0.1.51

func (x *ClientProbeTally) GetHandshakeFailed() uint32

func (*ClientProbeTally) GetLastUnix added in v0.1.51

func (x *ClientProbeTally) GetLastUnix() int64

func (*ClientProbeTally) GetNoAnswer added in v0.1.51

func (x *ClientProbeTally) GetNoAnswer() uint32

func (*ClientProbeTally) GetOk added in v0.1.51

func (x *ClientProbeTally) GetOk() uint32

func (*ClientProbeTally) GetReports added in v0.1.51

func (x *ClientProbeTally) GetReports() uint32

func (*ClientProbeTally) GetTcpBlocked added in v0.1.51

func (x *ClientProbeTally) GetTcpBlocked() uint32

func (*ClientProbeTally) ProtoMessage added in v0.1.51

func (*ClientProbeTally) ProtoMessage()

func (*ClientProbeTally) ProtoReflect added in v0.1.51

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

func (*ClientProbeTally) Reset added in v0.1.51

func (x *ClientProbeTally) Reset()

func (*ClientProbeTally) String added in v0.1.51

func (x *ClientProbeTally) String() string

type ClientRequirement

type ClientRequirement struct {

	// "AmneziaVPN", "AmneziaWG Android", "Mihomo".
	App string `protobuf:"bytes,1,opt,name=app,proto3" json:"app,omitempty"`
	// Release tag or version: "5.0.1.5".
	MinVersion string `protobuf:"bytes,2,opt,name=min_version,json=minVersion,proto3" json:"min_version,omitempty"`
	// contains filtered or unexported fields
}

func (*ClientRequirement) Descriptor deprecated

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

Deprecated: Use ClientRequirement.ProtoReflect.Descriptor instead.

func (*ClientRequirement) GetApp

func (x *ClientRequirement) GetApp() string

func (*ClientRequirement) GetMinVersion

func (x *ClientRequirement) GetMinVersion() string

func (*ClientRequirement) ProtoMessage

func (*ClientRequirement) ProtoMessage()

func (*ClientRequirement) ProtoReflect

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

func (*ClientRequirement) Reset

func (x *ClientRequirement) Reset()

func (*ClientRequirement) String

func (x *ClientRequirement) String() string

type ConfirmRestoreRequest added in v0.1.80

type ConfirmRestoreRequest struct {
	RestoreId      string `protobuf:"bytes,1,opt,name=restore_id,json=restoreId,proto3" json:"restore_id,omitempty"`
	TypedPanelName string `protobuf:"bytes,2,opt,name=typed_panel_name,json=typedPanelName,proto3" json:"typed_panel_name,omitempty"`
	// contains filtered or unexported fields
}

func (*ConfirmRestoreRequest) Descriptor deprecated added in v0.1.80

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

Deprecated: Use ConfirmRestoreRequest.ProtoReflect.Descriptor instead.

func (*ConfirmRestoreRequest) GetRestoreId added in v0.1.80

func (x *ConfirmRestoreRequest) GetRestoreId() string

func (*ConfirmRestoreRequest) GetTypedPanelName added in v0.1.80

func (x *ConfirmRestoreRequest) GetTypedPanelName() string

func (*ConfirmRestoreRequest) ProtoMessage added in v0.1.80

func (*ConfirmRestoreRequest) ProtoMessage()

func (*ConfirmRestoreRequest) ProtoReflect added in v0.1.80

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

func (*ConfirmRestoreRequest) Reset added in v0.1.80

func (x *ConfirmRestoreRequest) Reset()

func (*ConfirmRestoreRequest) String added in v0.1.80

func (x *ConfirmRestoreRequest) String() string

type ConfirmRestoreResponse added in v0.1.80

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

func (*ConfirmRestoreResponse) Descriptor deprecated added in v0.1.80

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

Deprecated: Use ConfirmRestoreResponse.ProtoReflect.Descriptor instead.

func (*ConfirmRestoreResponse) ProtoMessage added in v0.1.80

func (*ConfirmRestoreResponse) ProtoMessage()

func (*ConfirmRestoreResponse) ProtoReflect added in v0.1.80

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

func (*ConfirmRestoreResponse) Reset added in v0.1.80

func (x *ConfirmRestoreResponse) Reset()

func (*ConfirmRestoreResponse) String added in v0.1.80

func (x *ConfirmRestoreResponse) String() string

type CountryCheck added in v0.1.41

type CountryCheck struct {
	NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	// ISO 3166-1 alpha-2 of the probes, "RU".
	Country string          `protobuf:"bytes,2,opt,name=country,proto3" json:"country,omitempty"`
	Verdict CountryVerdict  `protobuf:"varint,3,opt,name=verdict,proto3,enum=mistgate.admin.v1.CountryVerdict" json:"verdict,omitempty"`
	AtUnix  int64           `protobuf:"varint,4,opt,name=at_unix,json=atUnix,proto3" json:"at_unix,omitempty"`
	Probes  []*CountryProbe `protobuf:"bytes,5,rep,name=probes,proto3" json:"probes,omitempty"`
	// Machine code when the verdict is UNKNOWN: "too_few_probes", "rate_limited", "source_error", "timeout". Empty otherwise.
	Reason string `protobuf:"bytes,6,opt,name=reason,proto3" json:"reason,omitempty"`
	// The probes were home or mobile networks; false: any network (too few of them were online).
	Eyeball bool `protobuf:"varint,7,opt,name=eyeball,proto3" json:"eyeball,omitempty"`
	// Where `verdict` comes from: "eyeball" (a live check from home or mobile networks), "dc_only" (a live check from data
	// centres only), "listed" (a block list only, no live check), "" (nothing to say, UNKNOWN). Computed when read.
	Confidence string `protobuf:"bytes,8,opt,name=confidence,proto3" json:"confidence,omitempty"`
	// The block lists that hold the node's address, whatever the verdict ("antifilter_ipsum", "antifilter_community"); empty
	// when the block lists are off or the address is in none.
	ListedBy []string `protobuf:"bytes,9,rep,name=listed_by,json=listedBy,proto3" json:"listed_by,omitempty"`
	// Provider and region of the CDN or hosting range of the node's address (context, from the block lists' CDN list); empty
	// when unknown or the block lists are off.
	CdnProvider string `protobuf:"bytes,10,opt,name=cdn_provider,json=cdnProvider,proto3" json:"cdn_provider,omitempty"`
	CdnRegion   string `protobuf:"bytes,11,opt,name=cdn_region,json=cdnRegion,proto3" json:"cdn_region,omitempty"`
	// Which sources the verdict rests on, in this order: "globalping", "tspu" (the probe node in the country, tspu_probe.proto),
	// "lists" (a block list only, verdict LISTED). Empty when there is nothing to say. With both live sources, `confidence` is
	// "eyeball" or "dc_only" when they agree and "conflict" when they do not (the worse verdict is shown).
	Sources []string `protobuf:"bytes,12,rep,name=sources,proto3" json:"sources,omitempty"`
	// What each live source said on its own (the combined `verdict` hides it): UNSPECIFIED when that source has no verdict.
	GlobalpingVerdict CountryVerdict `` /* 152-byte string literal not displayed */
	TspuVerdict       CountryVerdict `` /* 134-byte string literal not displayed */
	// The TSPU probe, whenever its source is on and has a recent row for the node. Its per-port detail, the TTL of the last
	// router before the TSPU box (dpi_hop) and the probe node (vantage) with the time of the run. All empty or 0 when it has none.
	// The probe is a datacentre view: the TSPU's `confidence` is always "dc_only".
	TspuPorts       []*TspuPort `protobuf:"bytes,15,rep,name=tspu_ports,json=tspuPorts,proto3" json:"tspu_ports,omitempty"`
	DpiHop          uint32      `protobuf:"varint,16,opt,name=dpi_hop,json=dpiHop,proto3" json:"dpi_hop,omitempty"`
	TspuVantageId   string      `protobuf:"bytes,17,opt,name=tspu_vantage_id,json=tspuVantageId,proto3" json:"tspu_vantage_id,omitempty"`
	TspuVantageName string      `protobuf:"bytes,18,opt,name=tspu_vantage_name,json=tspuVantageName,proto3" json:"tspu_vantage_name,omitempty"`
	TspuAtUnix      int64       `protobuf:"varint,19,opt,name=tspu_at_unix,json=tspuAtUnix,proto3" json:"tspu_at_unix,omitempty"`
	// Named operators with no matching online home or mobile probe in the latest Globalping round.
	NoProbe []string `protobuf:"bytes,20,rep,name=no_probe,json=noProbe,proto3" json:"no_probe,omitempty"`
	// Per-network, per-unit and per-probe observations from each fresh source row.
	Vantages []*CountryVantage `protobuf:"bytes,21,rep,name=vantages,proto3" json:"vantages,omitempty"`
	// Each source's own latest fresh verdict, including rows that do not count toward the combined result.
	SourceVerdicts []*SourceVerdict `protobuf:"bytes,22,rep,name=source_verdicts,json=sourceVerdicts,proto3" json:"source_verdicts,omitempty"`
	// The same node over IPv6, measured by Globalping from the same country (every other field above is IPv4 and does not change
	// with it). Present only while the IPv6 checks of Globalping are on (GlobalpingSettings.ipv6). A node that is not measured
	// over IPv6 has verdict UNKNOWN and a reason: "no_ipv6" (no global IPv6 address), "ipv6_broken" (it has an address, but
	// outbound IPv6 does not work at the hoster), "agent_old" (the node agent predates the IPv6 facts), "entry_off" (the IPv6
	// entry is off and the node's IPv4 is seen from the country, so IPv6 is not measured), "not_checked" (no report or no round
	// yet), "no_probes" (Globalping has no IPv6 probes in the country), plus the failures of any round
	// ("rate_limited", "source_error", "timeout", "too_few_probes"). Never nested further.
	Ipv6 *CountryCheck `protobuf:"bytes,23,opt,name=ipv6,proto3" json:"ipv6,omitempty"`
	// contains filtered or unexported fields
}

func (*CountryCheck) Descriptor deprecated added in v0.1.41

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

Deprecated: Use CountryCheck.ProtoReflect.Descriptor instead.

func (*CountryCheck) GetAtUnix added in v0.1.41

func (x *CountryCheck) GetAtUnix() int64

func (*CountryCheck) GetCdnProvider added in v0.1.41

func (x *CountryCheck) GetCdnProvider() string

func (*CountryCheck) GetCdnRegion added in v0.1.41

func (x *CountryCheck) GetCdnRegion() string

func (*CountryCheck) GetConfidence added in v0.1.41

func (x *CountryCheck) GetConfidence() string

func (*CountryCheck) GetCountry added in v0.1.41

func (x *CountryCheck) GetCountry() string

func (*CountryCheck) GetDpiHop added in v0.1.42

func (x *CountryCheck) GetDpiHop() uint32

func (*CountryCheck) GetEyeball added in v0.1.41

func (x *CountryCheck) GetEyeball() bool

func (*CountryCheck) GetGlobalpingVerdict added in v0.1.42

func (x *CountryCheck) GetGlobalpingVerdict() CountryVerdict

func (*CountryCheck) GetIpv6 added in v0.1.65

func (x *CountryCheck) GetIpv6() *CountryCheck

func (*CountryCheck) GetListedBy added in v0.1.41

func (x *CountryCheck) GetListedBy() []string

func (*CountryCheck) GetNoProbe added in v0.1.62

func (x *CountryCheck) GetNoProbe() []string

func (*CountryCheck) GetNodeId added in v0.1.41

func (x *CountryCheck) GetNodeId() string

func (*CountryCheck) GetProbes added in v0.1.41

func (x *CountryCheck) GetProbes() []*CountryProbe

func (*CountryCheck) GetReason added in v0.1.41

func (x *CountryCheck) GetReason() string

func (*CountryCheck) GetSourceVerdicts added in v0.1.63

func (x *CountryCheck) GetSourceVerdicts() []*SourceVerdict

func (*CountryCheck) GetSources added in v0.1.42

func (x *CountryCheck) GetSources() []string

func (*CountryCheck) GetTspuAtUnix added in v0.1.42

func (x *CountryCheck) GetTspuAtUnix() int64

func (*CountryCheck) GetTspuPorts added in v0.1.42

func (x *CountryCheck) GetTspuPorts() []*TspuPort

func (*CountryCheck) GetTspuVantageId added in v0.1.42

func (x *CountryCheck) GetTspuVantageId() string

func (*CountryCheck) GetTspuVantageName added in v0.1.42

func (x *CountryCheck) GetTspuVantageName() string

func (*CountryCheck) GetTspuVerdict added in v0.1.42

func (x *CountryCheck) GetTspuVerdict() CountryVerdict

func (*CountryCheck) GetVantages added in v0.1.63

func (x *CountryCheck) GetVantages() []*CountryVantage

func (*CountryCheck) GetVerdict added in v0.1.41

func (x *CountryCheck) GetVerdict() CountryVerdict

func (*CountryCheck) ProtoMessage added in v0.1.41

func (*CountryCheck) ProtoMessage()

func (*CountryCheck) ProtoReflect added in v0.1.41

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

func (*CountryCheck) Reset added in v0.1.41

func (x *CountryCheck) Reset()

func (*CountryCheck) String added in v0.1.41

func (x *CountryCheck) String() string

type CountryProbe added in v0.1.41

type CountryProbe struct {

	// Network name of the probe ("Rostelecom"), its AS number and city. No address of the probe is kept.
	Network string        `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"`
	Asn     uint32        `protobuf:"varint,2,opt,name=asn,proto3" json:"asn,omitempty"`
	City    string        `protobuf:"bytes,3,opt,name=city,proto3" json:"city,omitempty"`
	IcmpOk  bool          `protobuf:"varint,4,opt,name=icmp_ok,json=icmpOk,proto3" json:"icmp_ok,omitempty"`
	IcmpMs  uint32        `protobuf:"varint,5,opt,name=icmp_ms,json=icmpMs,proto3" json:"icmp_ms,omitempty"`
	Tcp     []*PortResult `protobuf:"bytes,6,rep,name=tcp,proto3" json:"tcp,omitempty"`
	// False: thrown away for this round (it failed the control site, or went offline); its answers are shown but not counted.
	Valid bool `protobuf:"varint,7,opt,name=valid,proto3" json:"valid,omitempty"`
	// It got no answer from this node despite completing every test, but reached another node in the same round.
	Dark bool `protobuf:"varint,8,opt,name=dark,proto3" json:"dark,omitempty"`
	// Home or mobile network, from this probe's assigned Globalping tags.
	Eyeball bool `protobuf:"varint,9,opt,name=eyeball,proto3" json:"eyeball,omitempty"`
	// contains filtered or unexported fields
}

func (*CountryProbe) Descriptor deprecated added in v0.1.41

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

Deprecated: Use CountryProbe.ProtoReflect.Descriptor instead.

func (*CountryProbe) GetAsn added in v0.1.41

func (x *CountryProbe) GetAsn() uint32

func (*CountryProbe) GetCity added in v0.1.41

func (x *CountryProbe) GetCity() string

func (*CountryProbe) GetDark added in v0.1.62

func (x *CountryProbe) GetDark() bool

func (*CountryProbe) GetEyeball added in v0.1.62

func (x *CountryProbe) GetEyeball() bool

func (*CountryProbe) GetIcmpMs added in v0.1.41

func (x *CountryProbe) GetIcmpMs() uint32

func (*CountryProbe) GetIcmpOk added in v0.1.41

func (x *CountryProbe) GetIcmpOk() bool

func (*CountryProbe) GetNetwork added in v0.1.41

func (x *CountryProbe) GetNetwork() string

func (*CountryProbe) GetTcp added in v0.1.41

func (x *CountryProbe) GetTcp() []*PortResult

func (*CountryProbe) GetValid added in v0.1.41

func (x *CountryProbe) GetValid() bool

func (*CountryProbe) ProtoMessage added in v0.1.41

func (*CountryProbe) ProtoMessage()

func (*CountryProbe) ProtoReflect added in v0.1.41

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

func (*CountryProbe) Reset added in v0.1.41

func (x *CountryProbe) Reset()

func (*CountryProbe) String added in v0.1.41

func (x *CountryProbe) String() string

type CountryReachability added in v0.1.41

type CountryReachability struct {

	// ISO 3166-1 alpha-2, upper case. Default "RU".
	Country string `protobuf:"bytes,1,opt,name=country,proto3" json:"country,omitempty"`
	// contains filtered or unexported fields
}

func (*CountryReachability) Descriptor deprecated added in v0.1.41

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

Deprecated: Use CountryReachability.ProtoReflect.Descriptor instead.

func (*CountryReachability) GetCountry added in v0.1.41

func (x *CountryReachability) GetCountry() string

func (*CountryReachability) ProtoMessage added in v0.1.41

func (*CountryReachability) ProtoMessage()

func (*CountryReachability) ProtoReflect added in v0.1.41

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

func (*CountryReachability) Reset added in v0.1.41

func (x *CountryReachability) Reset()

func (*CountryReachability) String added in v0.1.41

func (x *CountryReachability) String() string

type CountryVantage added in v0.1.63

type CountryVantage struct {
	Source  string `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"`
	Key     string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
	Network string `protobuf:"bytes,3,opt,name=network,proto3" json:"network,omitempty"`
	Region  string `protobuf:"bytes,4,opt,name=region,proto3" json:"region,omitempty"`
	Asn     string `protobuf:"bytes,5,opt,name=asn,proto3" json:"asn,omitempty"`
	Kind    string `protobuf:"bytes,6,opt,name=kind,proto3" json:"kind,omitempty"`
	// reach, dark, whitelist or uncertain.
	State  string `protobuf:"bytes,7,opt,name=state,proto3" json:"state,omitempty"`
	AtUnix int64  `protobuf:"varint,8,opt,name=at_unix,json=atUnix,proto3" json:"at_unix,omitempty"`
	DpiHop uint32 `protobuf:"varint,9,opt,name=dpi_hop,json=dpiHop,proto3" json:"dpi_hop,omitempty"`
	IcmpOk bool   `protobuf:"varint,10,opt,name=icmp_ok,json=icmpOk,proto3" json:"icmp_ok,omitempty"`
	TcpOk  bool   `protobuf:"varint,11,opt,name=tcp_ok,json=tcpOk,proto3" json:"tcp_ok,omitempty"`
	// contains filtered or unexported fields
}

One network, unit or city from a source's newest fresh row. Names are third-party labels, never addresses.

func (*CountryVantage) Descriptor deprecated added in v0.1.63

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

Deprecated: Use CountryVantage.ProtoReflect.Descriptor instead.

func (*CountryVantage) GetAsn added in v0.1.63

func (x *CountryVantage) GetAsn() string

func (*CountryVantage) GetAtUnix added in v0.1.63

func (x *CountryVantage) GetAtUnix() int64

func (*CountryVantage) GetDpiHop added in v0.1.63

func (x *CountryVantage) GetDpiHop() uint32

func (*CountryVantage) GetIcmpOk added in v0.1.63

func (x *CountryVantage) GetIcmpOk() bool

func (*CountryVantage) GetKey added in v0.1.63

func (x *CountryVantage) GetKey() string

func (*CountryVantage) GetKind added in v0.1.63

func (x *CountryVantage) GetKind() string

func (*CountryVantage) GetNetwork added in v0.1.63

func (x *CountryVantage) GetNetwork() string

func (*CountryVantage) GetRegion added in v0.1.63

func (x *CountryVantage) GetRegion() string

func (*CountryVantage) GetSource added in v0.1.63

func (x *CountryVantage) GetSource() string

func (*CountryVantage) GetState added in v0.1.63

func (x *CountryVantage) GetState() string

func (*CountryVantage) GetTcpOk added in v0.1.63

func (x *CountryVantage) GetTcpOk() bool

func (*CountryVantage) ProtoMessage added in v0.1.63

func (*CountryVantage) ProtoMessage()

func (*CountryVantage) ProtoReflect added in v0.1.63

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

func (*CountryVantage) Reset added in v0.1.63

func (x *CountryVantage) Reset()

func (*CountryVantage) String added in v0.1.63

func (x *CountryVantage) String() string

type CountryVerdict added in v0.1.41

type CountryVerdict int32
const (
	CountryVerdict_COUNTRY_VERDICT_UNSPECIFIED CountryVerdict = 0
	// TCP connects from at least half of the valid probes (for a node without a TCP port: ICMP answers on half).
	CountryVerdict_COUNTRY_VERDICT_OK CountryVerdict = 1
	// ICMP answers on at least half of the valid probes, but TCP fails on all of them: the SYN is dropped, not the address.
	CountryVerdict_COUNTRY_VERDICT_TCP_BLOCKED CountryVerdict = 2
	// Both ICMP and TCP fail on all valid probes.
	CountryVerdict_COUNTRY_VERDICT_BLOCKED CountryVerdict = 3
	// Fewer than 2 valid probes, a Globalping error or limit, a timeout, or a mixed picture that says nothing.
	CountryVerdict_COUNTRY_VERDICT_UNKNOWN CountryVerdict = 4
	// No live observation from inside the country, but the node's address (or its subnet) is in a public block list
	// (blocklist.proto). A context signal: in the registry, not proven dropped. Never opens an alert.
	CountryVerdict_COUNTRY_VERDICT_LISTED CountryVerdict = 5
	// A valid home or mobile probe, after completing every test, got no ICMP and no TCP from this node while it reached another
	// node of the round, and another valid probe reaches this node.
	CountryVerdict_COUNTRY_VERDICT_PARTIAL CountryVerdict = 6
)

func (CountryVerdict) Descriptor added in v0.1.41

func (CountryVerdict) Enum added in v0.1.41

func (x CountryVerdict) Enum() *CountryVerdict

func (CountryVerdict) EnumDescriptor deprecated added in v0.1.41

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

Deprecated: Use CountryVerdict.Descriptor instead.

func (CountryVerdict) Number added in v0.1.41

func (CountryVerdict) String added in v0.1.41

func (x CountryVerdict) String() string

func (CountryVerdict) Type added in v0.1.41

type CreateApiTokenRequest

type CreateApiTokenRequest struct {

	// 1..64 characters, unique among the live tokens ignoring case ("claude-ops", "backup-script").
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required. The owner chooses; the UI preselects READONLY.
	Profile TokenProfile `protobuf:"varint,2,opt,name=profile,proto3,enum=mistgate.admin.v1.TokenProfile" json:"profile,omitempty"`
	// Lifetime from now in days. 0 = 90. At most 365.
	TtlDays uint32 `protobuf:"varint,3,opt,name=ttl_days,json=ttlDays,proto3" json:"ttl_days,omitempty"`
	// Requests per minute. 0 = 120. At most 600.
	RateLimitPerMin uint32 `protobuf:"varint,4,opt,name=rate_limit_per_min,json=rateLimitPerMin,proto3" json:"rate_limit_per_min,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateApiTokenRequest) Descriptor deprecated

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

Deprecated: Use CreateApiTokenRequest.ProtoReflect.Descriptor instead.

func (*CreateApiTokenRequest) GetName

func (x *CreateApiTokenRequest) GetName() string

func (*CreateApiTokenRequest) GetProfile

func (x *CreateApiTokenRequest) GetProfile() TokenProfile

func (*CreateApiTokenRequest) GetRateLimitPerMin

func (x *CreateApiTokenRequest) GetRateLimitPerMin() uint32

func (*CreateApiTokenRequest) GetTtlDays

func (x *CreateApiTokenRequest) GetTtlDays() uint32

func (*CreateApiTokenRequest) ProtoMessage

func (*CreateApiTokenRequest) ProtoMessage()

func (*CreateApiTokenRequest) ProtoReflect

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

func (*CreateApiTokenRequest) Reset

func (x *CreateApiTokenRequest) Reset()

func (*CreateApiTokenRequest) String

func (x *CreateApiTokenRequest) String() string

type CreateApiTokenResponse

type CreateApiTokenResponse struct {
	Token *ApiToken `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	// The secret, "tk1_" + 43 URL-safe characters. Shown once here; the panel keeps only its hash.
	Secret string `protobuf:"bytes,2,opt,name=secret,proto3" json:"secret,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateApiTokenResponse) Descriptor deprecated

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

Deprecated: Use CreateApiTokenResponse.ProtoReflect.Descriptor instead.

func (*CreateApiTokenResponse) GetSecret

func (x *CreateApiTokenResponse) GetSecret() string

func (*CreateApiTokenResponse) GetToken

func (x *CreateApiTokenResponse) GetToken() *ApiToken

func (*CreateApiTokenResponse) ProtoMessage

func (*CreateApiTokenResponse) ProtoMessage()

func (*CreateApiTokenResponse) ProtoReflect

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

func (*CreateApiTokenResponse) Reset

func (x *CreateApiTokenResponse) Reset()

func (*CreateApiTokenResponse) String

func (x *CreateApiTokenResponse) String() string

type CreateAwgDeviceRequest

type CreateAwgDeviceRequest struct {
	UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// Required; an AWG profile that is in the user's group.
	ProfileId string `protobuf:"bytes,2,opt,name=profile_id,json=profileId,proto3" json:"profile_id,omitempty"`
	// "ios", "android", "windows", "macos", "linux", "other".
	Platform string `protobuf:"bytes,3,opt,name=platform,proto3" json:"platform,omitempty"`
	// 1..40 characters; empty = "<platform> <n>".
	Label string `protobuf:"bytes,4,opt,name=label,proto3" json:"label,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateAwgDeviceRequest) Descriptor deprecated

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

Deprecated: Use CreateAwgDeviceRequest.ProtoReflect.Descriptor instead.

func (*CreateAwgDeviceRequest) GetLabel

func (x *CreateAwgDeviceRequest) GetLabel() string

func (*CreateAwgDeviceRequest) GetPlatform

func (x *CreateAwgDeviceRequest) GetPlatform() string

func (*CreateAwgDeviceRequest) GetProfileId

func (x *CreateAwgDeviceRequest) GetProfileId() string

func (*CreateAwgDeviceRequest) GetUserId

func (x *CreateAwgDeviceRequest) GetUserId() string

func (*CreateAwgDeviceRequest) ProtoMessage

func (*CreateAwgDeviceRequest) ProtoMessage()

func (*CreateAwgDeviceRequest) ProtoReflect

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

func (*CreateAwgDeviceRequest) Reset

func (x *CreateAwgDeviceRequest) Reset()

func (*CreateAwgDeviceRequest) String

func (x *CreateAwgDeviceRequest) String() string

type CreateAwgDeviceResponse

type CreateAwgDeviceResponse struct {
	Device  *Device         `protobuf:"bytes,1,opt,name=device,proto3" json:"device,omitempty"`
	Configs []*DeviceConfig `protobuf:"bytes,2,rep,name=configs,proto3" json:"configs,omitempty"`
	// The user after the change (devices_used).
	User *User `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateAwgDeviceResponse) Descriptor deprecated

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

Deprecated: Use CreateAwgDeviceResponse.ProtoReflect.Descriptor instead.

func (*CreateAwgDeviceResponse) GetConfigs

func (x *CreateAwgDeviceResponse) GetConfigs() []*DeviceConfig

func (*CreateAwgDeviceResponse) GetDevice

func (x *CreateAwgDeviceResponse) GetDevice() *Device

func (*CreateAwgDeviceResponse) GetUser

func (x *CreateAwgDeviceResponse) GetUser() *User

func (*CreateAwgDeviceResponse) ProtoMessage

func (*CreateAwgDeviceResponse) ProtoMessage()

func (*CreateAwgDeviceResponse) ProtoReflect

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

func (*CreateAwgDeviceResponse) Reset

func (x *CreateAwgDeviceResponse) Reset()

func (*CreateAwgDeviceResponse) String

func (x *CreateAwgDeviceResponse) String() string

type CreateBackupRequest

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

func (*CreateBackupRequest) Descriptor deprecated

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

Deprecated: Use CreateBackupRequest.ProtoReflect.Descriptor instead.

func (*CreateBackupRequest) ProtoMessage

func (*CreateBackupRequest) ProtoMessage()

func (*CreateBackupRequest) ProtoReflect

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

func (*CreateBackupRequest) Reset

func (x *CreateBackupRequest) Reset()

func (*CreateBackupRequest) String

func (x *CreateBackupRequest) String() string

type CreateBackupResponse

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

CreateBackup only starts the backup: it outlives the request (a big database or a slow bucket takes longer than any request may), and BackupSettings.running says when it is done.

func (*CreateBackupResponse) Descriptor deprecated

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

Deprecated: Use CreateBackupResponse.ProtoReflect.Descriptor instead.

func (*CreateBackupResponse) ProtoMessage

func (*CreateBackupResponse) ProtoMessage()

func (*CreateBackupResponse) ProtoReflect

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

func (*CreateBackupResponse) Reset

func (x *CreateBackupResponse) Reset()

func (*CreateBackupResponse) String

func (x *CreateBackupResponse) String() string

type CreateDnsPresetRequest

type CreateDnsPresetRequest struct {
	Name        string          `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Description string          `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	Servers     []*DnsServer    `protobuf:"bytes,3,rep,name=servers,proto3" json:"servers,omitempty"`
	Split       []*DnsSplitRule `protobuf:"bytes,4,rep,name=split,proto3" json:"split,omitempty"`
	Ipv4Only    bool            `protobuf:"varint,5,opt,name=ipv4_only,json=ipv4Only,proto3" json:"ipv4_only,omitempty"`
	// Domains of the split rules bypass the VPN (Happ can only send a split resolver's domains direct). Off = the
	// split is ignored by clients that cannot keep it proxied; everything resolves through the main servers
	// inside the tunnel.
	SplitDirect bool `protobuf:"varint,6,opt,name=split_direct,json=splitDirect,proto3" json:"split_direct,omitempty"`
	// UNSPECIFIED = plain.
	PreferredTransport DnsTransport `` /* 152-byte string literal not displayed */
	// The apps drop the domains of the community list category-ads-all themselves, before any other rule (Mihomo,
	// Xray, sing-box, Happ; AmneziaWG keys and the plain link list have no rules).
	BlockAds bool `protobuf:"varint,8,opt,name=block_ads,json=blockAds,proto3" json:"block_ads,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateDnsPresetRequest) Descriptor deprecated

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

Deprecated: Use CreateDnsPresetRequest.ProtoReflect.Descriptor instead.

func (*CreateDnsPresetRequest) GetBlockAds added in v0.1.67

func (x *CreateDnsPresetRequest) GetBlockAds() bool

func (*CreateDnsPresetRequest) GetDescription

func (x *CreateDnsPresetRequest) GetDescription() string

func (*CreateDnsPresetRequest) GetIpv4Only

func (x *CreateDnsPresetRequest) GetIpv4Only() bool

func (*CreateDnsPresetRequest) GetName

func (x *CreateDnsPresetRequest) GetName() string

func (*CreateDnsPresetRequest) GetPreferredTransport

func (x *CreateDnsPresetRequest) GetPreferredTransport() DnsTransport

func (*CreateDnsPresetRequest) GetServers

func (x *CreateDnsPresetRequest) GetServers() []*DnsServer

func (*CreateDnsPresetRequest) GetSplit

func (x *CreateDnsPresetRequest) GetSplit() []*DnsSplitRule

func (*CreateDnsPresetRequest) GetSplitDirect

func (x *CreateDnsPresetRequest) GetSplitDirect() bool

func (*CreateDnsPresetRequest) ProtoMessage

func (*CreateDnsPresetRequest) ProtoMessage()

func (*CreateDnsPresetRequest) ProtoReflect

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

func (*CreateDnsPresetRequest) Reset

func (x *CreateDnsPresetRequest) Reset()

func (*CreateDnsPresetRequest) String

func (x *CreateDnsPresetRequest) String() string

type CreateDnsPresetResponse

type CreateDnsPresetResponse struct {
	Preset *DnsPreset `protobuf:"bytes,1,opt,name=preset,proto3" json:"preset,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateDnsPresetResponse) Descriptor deprecated

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

Deprecated: Use CreateDnsPresetResponse.ProtoReflect.Descriptor instead.

func (*CreateDnsPresetResponse) GetPreset

func (x *CreateDnsPresetResponse) GetPreset() *DnsPreset

func (*CreateDnsPresetResponse) ProtoMessage

func (*CreateDnsPresetResponse) ProtoMessage()

func (*CreateDnsPresetResponse) ProtoReflect

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

func (*CreateDnsPresetResponse) Reset

func (x *CreateDnsPresetResponse) Reset()

func (*CreateDnsPresetResponse) String

func (x *CreateDnsPresetResponse) String() string

type CreateEnrollmentRequest

type CreateEnrollmentRequest struct {

	// Empty = create a new node. Set = re-enroll this node (its old certificate is revoked on success).
	NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	// Required for a new node. [a-z0-9-]{2,24}, unique, case-insensitive.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// Required for a new node: the public host or IP that clients will connect to.
	Address     string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"`
	CountryCode string `protobuf:"bytes,4,opt,name=country_code,json=countryCode,proto3" json:"country_code,omitempty"`
	Location    string `protobuf:"bytes,5,opt,name=location,proto3" json:"location,omitempty"`
	Provider    string `protobuf:"bytes,6,opt,name=provider,proto3" json:"provider,omitempty"`
	// Token lifetime. 0 = 3600. Max 86400.
	TtlSeconds uint32 `protobuf:"varint,7,opt,name=ttl_seconds,json=ttlSeconds,proto3" json:"ttl_seconds,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateEnrollmentRequest) Descriptor deprecated

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

Deprecated: Use CreateEnrollmentRequest.ProtoReflect.Descriptor instead.

func (*CreateEnrollmentRequest) GetAddress

func (x *CreateEnrollmentRequest) GetAddress() string

func (*CreateEnrollmentRequest) GetCountryCode

func (x *CreateEnrollmentRequest) GetCountryCode() string

func (*CreateEnrollmentRequest) GetLocation

func (x *CreateEnrollmentRequest) GetLocation() string

func (*CreateEnrollmentRequest) GetName

func (x *CreateEnrollmentRequest) GetName() string

func (*CreateEnrollmentRequest) GetNodeId

func (x *CreateEnrollmentRequest) GetNodeId() string

func (*CreateEnrollmentRequest) GetProvider

func (x *CreateEnrollmentRequest) GetProvider() string

func (*CreateEnrollmentRequest) GetTtlSeconds

func (x *CreateEnrollmentRequest) GetTtlSeconds() uint32

func (*CreateEnrollmentRequest) ProtoMessage

func (*CreateEnrollmentRequest) ProtoMessage()

func (*CreateEnrollmentRequest) ProtoReflect

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

func (*CreateEnrollmentRequest) Reset

func (x *CreateEnrollmentRequest) Reset()

func (*CreateEnrollmentRequest) String

func (x *CreateEnrollmentRequest) String() string

type CreateEnrollmentResponse

type CreateEnrollmentResponse struct {
	Node *Node `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"`
	// The exact command to run as root on the server, one line: it runs the agent binary from /root/mistgate-node
	// (chmod, enroll, install; install copies it to /usr/local/bin), so nothing depends on PATH. It contains the one-time
	// token, so it is shown once and is not retrievable afterwards (create a new enrollment instead).
	InstallCommand string `protobuf:"bytes,2,opt,name=install_command,json=installCommand,proto3" json:"install_command,omitempty"`
	// "sha256:" + hex, of the panel CA certificate. Shown separately so the admin can compare it with
	// what the command contains.
	CaFingerprint string `protobuf:"bytes,3,opt,name=ca_fingerprint,json=caFingerprint,proto3" json:"ca_fingerprint,omitempty"`
	ExpiresUnix   int64  `protobuf:"varint,4,opt,name=expires_unix,json=expiresUnix,proto3" json:"expires_unix,omitempty"`
	// A command to run on the panel's own server that puts the linux/amd64 agent binary of the trusted update bundle at
	// /root/mistgate-node on the node ("scp <data-dir>/dist/mistgate-node-linux-amd64 root@<address>:/root/mistgate-node").
	// Empty when the panel has no trusted bundle.
	CopyCommand string `protobuf:"bytes,5,opt,name=copy_command,json=copyCommand,proto3" json:"copy_command,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateEnrollmentResponse) Descriptor deprecated

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

Deprecated: Use CreateEnrollmentResponse.ProtoReflect.Descriptor instead.

func (*CreateEnrollmentResponse) GetCaFingerprint

func (x *CreateEnrollmentResponse) GetCaFingerprint() string

func (*CreateEnrollmentResponse) GetCopyCommand

func (x *CreateEnrollmentResponse) GetCopyCommand() string

func (*CreateEnrollmentResponse) GetExpiresUnix

func (x *CreateEnrollmentResponse) GetExpiresUnix() int64

func (*CreateEnrollmentResponse) GetInstallCommand

func (x *CreateEnrollmentResponse) GetInstallCommand() string

func (*CreateEnrollmentResponse) GetNode

func (x *CreateEnrollmentResponse) GetNode() *Node

func (*CreateEnrollmentResponse) ProtoMessage

func (*CreateEnrollmentResponse) ProtoMessage()

func (*CreateEnrollmentResponse) ProtoReflect

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

func (*CreateEnrollmentResponse) Reset

func (x *CreateEnrollmentResponse) Reset()

func (*CreateEnrollmentResponse) String

func (x *CreateEnrollmentResponse) String() string

type CreateGroupRequest

type CreateGroupRequest struct {
	Name        string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	ProfileIds  []string `protobuf:"bytes,2,rep,name=profile_ids,json=profileIds,proto3" json:"profile_ids,omitempty"`
	DnsPresetId string   `protobuf:"bytes,3,opt,name=dns_preset_id,json=dnsPresetId,proto3" json:"dns_preset_id,omitempty"`
	// A tone of the palette (Group.color); "" = the least used one among the groups so far.
	Color           string   `protobuf:"bytes,4,opt,name=color,proto3" json:"color,omitempty"`
	DisabledNodeIds []string `protobuf:"bytes,5,rep,name=disabled_node_ids,json=disabledNodeIds,proto3" json:"disabled_node_ids,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateGroupRequest) Descriptor deprecated

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

Deprecated: Use CreateGroupRequest.ProtoReflect.Descriptor instead.

func (*CreateGroupRequest) GetColor added in v0.1.19

func (x *CreateGroupRequest) GetColor() string

func (*CreateGroupRequest) GetDisabledNodeIds added in v0.1.68

func (x *CreateGroupRequest) GetDisabledNodeIds() []string

func (*CreateGroupRequest) GetDnsPresetId

func (x *CreateGroupRequest) GetDnsPresetId() string

func (*CreateGroupRequest) GetName

func (x *CreateGroupRequest) GetName() string

func (*CreateGroupRequest) GetProfileIds

func (x *CreateGroupRequest) GetProfileIds() []string

func (*CreateGroupRequest) ProtoMessage

func (*CreateGroupRequest) ProtoMessage()

func (*CreateGroupRequest) ProtoReflect

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

func (*CreateGroupRequest) Reset

func (x *CreateGroupRequest) Reset()

func (*CreateGroupRequest) String

func (x *CreateGroupRequest) String() string

type CreateGroupResponse

type CreateGroupResponse struct {
	Group *Group `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateGroupResponse) Descriptor deprecated

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

Deprecated: Use CreateGroupResponse.ProtoReflect.Descriptor instead.

func (*CreateGroupResponse) GetGroup

func (x *CreateGroupResponse) GetGroup() *Group

func (*CreateGroupResponse) ProtoMessage

func (*CreateGroupResponse) ProtoMessage()

func (*CreateGroupResponse) ProtoReflect

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

func (*CreateGroupResponse) Reset

func (x *CreateGroupResponse) Reset()

func (*CreateGroupResponse) String

func (x *CreateGroupResponse) String() string

type CreateInboundRequest

type CreateInboundRequest struct {
	ProfileId string `protobuf:"bytes,1,opt,name=profile_id,json=profileId,proto3" json:"profile_id,omitempty"`
	NodeId    string `protobuf:"bytes,2,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	// 0 = use the profile's port.
	PortOverride uint32 `protobuf:"varint,3,opt,name=port_override,json=portOverride,proto3" json:"port_override,omitempty"`
	// Empty = profile sni, else node address.
	TlsServerNameOverride string `` /* 128-byte string literal not displayed */
	// Check only: the same checks and refusals as the real call, but nothing is written, no event and no state push, and
	// no key is kept (an AmneziaWG inbound is built with a throwaway one). The answer is the inbound as it would be, its
	// warnings and free_port. The add-profile dialog asks this on every change, before the click. It reads stored UDP
	// checks only and never runs one.
	ValidateOnly bool `protobuf:"varint,5,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
	// Add although the port lost UDP packets in the delivery check ("add anyway"); the choice is audited.
	AllowLossyPort bool `protobuf:"varint,6,opt,name=allow_lossy_port,json=allowLossyPort,proto3" json:"allow_lossy_port,omitempty"`
	// With an empty profile_id, validate_only must be true and these fields describe a new profile that is not stored.
	// This lets the add-profile plan run the same per-node checks without creating a temporary profile.
	Protocol     string `protobuf:"bytes,7,opt,name=protocol,proto3" json:"protocol,omitempty"`
	SettingsJson string `protobuf:"bytes,8,opt,name=settings_json,json=settingsJson,proto3" json:"settings_json,omitempty"`
	// contains filtered or unexported fields
}

The refusals of CreateInbound and UpdateInbound are codes the admin UI words itself (web/src/lib/errors.ts), the values after the code as a query string: "acme_needs_domain: address=203.0.113.10&node=de1" (a Let's Encrypt certificate and no domain: the node address is an IP and no SNI is set), "port_taken: port=443&profile=Main&node=de1&free=8443" (another profile of the node listens there; hop=20000-30000 when it is that profile's hop range; free = a port to take instead, 0 = none found), "hop_taken: from=20000&to=30000&profile=Main&node=de1" (this profile's own hop range overlaps another profile: no port fixes it), "port_in_hop: from=20000&to=30000" (the port lies inside the profile's own hop range), "sni_needs_domain: name=1.2.3.4" (an IP where Let's Encrypt wants a domain), "sni_invalid: name=..." (neither a domain nor an IP), "already_on_node", "node_retired", "port_lossy: port=8443&node=de1&sent=300&got=190&at=<unix>&sender=nl1&free=2053" (FAILED_PRECONDITION: the UDP delivery check of design/udp-port-check.md found the port losing packets on that node; free = a port the same run proved, else the picker's choice from stored checks, 0 = none; allow_lossy_port saves anyway).

func (*CreateInboundRequest) Descriptor deprecated

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

Deprecated: Use CreateInboundRequest.ProtoReflect.Descriptor instead.

func (*CreateInboundRequest) GetAllowLossyPort added in v0.1.28

func (x *CreateInboundRequest) GetAllowLossyPort() bool

func (*CreateInboundRequest) GetNodeId

func (x *CreateInboundRequest) GetNodeId() string

func (*CreateInboundRequest) GetPortOverride

func (x *CreateInboundRequest) GetPortOverride() uint32

func (*CreateInboundRequest) GetProfileId

func (x *CreateInboundRequest) GetProfileId() string

func (*CreateInboundRequest) GetProtocol added in v0.1.62

func (x *CreateInboundRequest) GetProtocol() string

func (*CreateInboundRequest) GetSettingsJson added in v0.1.62

func (x *CreateInboundRequest) GetSettingsJson() string

func (*CreateInboundRequest) GetTlsServerNameOverride

func (x *CreateInboundRequest) GetTlsServerNameOverride() string

func (*CreateInboundRequest) GetValidateOnly

func (x *CreateInboundRequest) GetValidateOnly() bool

func (*CreateInboundRequest) ProtoMessage

func (*CreateInboundRequest) ProtoMessage()

func (*CreateInboundRequest) ProtoReflect

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

func (*CreateInboundRequest) Reset

func (x *CreateInboundRequest) Reset()

func (*CreateInboundRequest) String

func (x *CreateInboundRequest) String() string

type CreateInboundResponse

type CreateInboundResponse struct {
	Inbound *Inbound `protobuf:"bytes,1,opt,name=inbound,proto3" json:"inbound,omitempty"`
	// What the admin should know although nothing stops the call: "warp_missing" {state: "none" | "paused" | "down"} (the
	// profile exits through WARP and the node has no WARP account, it is paused, or the node's last report says the tunnel
	// is down: the profile will not pass traffic there); "port_unchecked" {node, port, reason} (the UDP delivery check
	// could not run: reason as PortCheck.reason); "port_lossy" {node, port, sent, got, at, sender} (saved with
	// allow_lossy_port, or the port did not change).
	Warnings []*StatusReason `protobuf:"bytes,2,rep,name=warnings,proto3" json:"warnings,omitempty"`
	// validate_only: a UDP port the inbound could take on this node instead of its own (TwinProfile's picker: 8443, 4443,
	// 2053, 2083, 2087, 2096, then random ones in 10000-60000; hop ranges count). 0 = none found, or not a check.
	FreePort uint32 `protobuf:"varint,3,opt,name=free_port,json=freePort,proto3" json:"free_port,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateInboundResponse) Descriptor deprecated

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

Deprecated: Use CreateInboundResponse.ProtoReflect.Descriptor instead.

func (*CreateInboundResponse) GetFreePort

func (x *CreateInboundResponse) GetFreePort() uint32

func (*CreateInboundResponse) GetInbound

func (x *CreateInboundResponse) GetInbound() *Inbound

func (*CreateInboundResponse) GetWarnings

func (x *CreateInboundResponse) GetWarnings() []*StatusReason

func (*CreateInboundResponse) ProtoMessage

func (*CreateInboundResponse) ProtoMessage()

func (*CreateInboundResponse) ProtoReflect

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

func (*CreateInboundResponse) Reset

func (x *CreateInboundResponse) Reset()

func (*CreateInboundResponse) String

func (x *CreateInboundResponse) String() string

type CreateProfileRequest

type CreateProfileRequest struct {
	Protocol     string `protobuf:"bytes,1,opt,name=protocol,proto3" json:"protocol,omitempty"`
	Name         string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	SettingsJson string `protobuf:"bytes,3,opt,name=settings_json,json=settingsJson,proto3" json:"settings_json,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateProfileRequest) Descriptor deprecated

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

Deprecated: Use CreateProfileRequest.ProtoReflect.Descriptor instead.

func (*CreateProfileRequest) GetName

func (x *CreateProfileRequest) GetName() string

func (*CreateProfileRequest) GetProtocol

func (x *CreateProfileRequest) GetProtocol() string

func (*CreateProfileRequest) GetSettingsJson

func (x *CreateProfileRequest) GetSettingsJson() string

func (*CreateProfileRequest) ProtoMessage

func (*CreateProfileRequest) ProtoMessage()

func (*CreateProfileRequest) ProtoReflect

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

func (*CreateProfileRequest) Reset

func (x *CreateProfileRequest) Reset()

func (*CreateProfileRequest) String

func (x *CreateProfileRequest) String() string

type CreateProfileResponse

type CreateProfileResponse struct {
	Profile *ProfileSummary `protobuf:"bytes,1,opt,name=profile,proto3" json:"profile,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateProfileResponse) Descriptor deprecated

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

Deprecated: Use CreateProfileResponse.ProtoReflect.Descriptor instead.

func (*CreateProfileResponse) GetProfile

func (x *CreateProfileResponse) GetProfile() *ProfileSummary

func (*CreateProfileResponse) ProtoMessage

func (*CreateProfileResponse) ProtoMessage()

func (*CreateProfileResponse) ProtoReflect

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

func (*CreateProfileResponse) Reset

func (x *CreateProfileResponse) Reset()

func (*CreateProfileResponse) String

func (x *CreateProfileResponse) String() string

type CreateRelayRequest added in v0.1.65

type CreateRelayRequest struct {

	// The exit's server (an inbound).
	InboundId string `protobuf:"bytes,1,opt,name=inbound_id,json=inboundId,proto3" json:"inbound_id,omitempty"`
	ViaNodeId string `protobuf:"bytes,2,opt,name=via_node_id,json=viaNodeId,proto3" json:"via_node_id,omitempty"`
	Port      uint32 `protobuf:"varint,3,opt,name=port,proto3" json:"port,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateRelayRequest) Descriptor deprecated added in v0.1.65

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

Deprecated: Use CreateRelayRequest.ProtoReflect.Descriptor instead.

func (*CreateRelayRequest) GetInboundId added in v0.1.65

func (x *CreateRelayRequest) GetInboundId() string

func (*CreateRelayRequest) GetPort added in v0.1.65

func (x *CreateRelayRequest) GetPort() uint32

func (*CreateRelayRequest) GetViaNodeId added in v0.1.65

func (x *CreateRelayRequest) GetViaNodeId() string

func (*CreateRelayRequest) ProtoMessage added in v0.1.65

func (*CreateRelayRequest) ProtoMessage()

func (*CreateRelayRequest) ProtoReflect added in v0.1.65

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

func (*CreateRelayRequest) Reset added in v0.1.65

func (x *CreateRelayRequest) Reset()

func (*CreateRelayRequest) String added in v0.1.65

func (x *CreateRelayRequest) String() string

type CreateRelayResponse added in v0.1.65

type CreateRelayResponse struct {
	Relay *Relay `protobuf:"bytes,1,opt,name=relay,proto3" json:"relay,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateRelayResponse) Descriptor deprecated added in v0.1.65

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

Deprecated: Use CreateRelayResponse.ProtoReflect.Descriptor instead.

func (*CreateRelayResponse) GetRelay added in v0.1.65

func (x *CreateRelayResponse) GetRelay() *Relay

func (*CreateRelayResponse) ProtoMessage added in v0.1.65

func (*CreateRelayResponse) ProtoMessage()

func (*CreateRelayResponse) ProtoReflect added in v0.1.65

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

func (*CreateRelayResponse) Reset added in v0.1.65

func (x *CreateRelayResponse) Reset()

func (*CreateRelayResponse) String added in v0.1.65

func (x *CreateRelayResponse) String() string

type CreateUserRequest

type CreateUserRequest struct {

	// Required, unique case-insensitively.
	Name    string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	GroupId string `protobuf:"bytes,2,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
	// 0 = unlimited.
	QuotaBytes uint64 `protobuf:"varint,3,opt,name=quota_bytes,json=quotaBytes,proto3" json:"quota_bytes,omitempty"`
	// Unspecified = MONTH.
	QuotaReset QuotaReset `` /* 126-byte string literal not displayed */
	// Term from now. 0 = never expires.
	TermDays uint32 `protobuf:"varint,5,opt,name=term_days,json=termDays,proto3" json:"term_days,omitempty"`
	// 0 = default 5.
	DeviceLimit uint32 `protobuf:"varint,6,opt,name=device_limit,json=deviceLimit,proto3" json:"device_limit,omitempty"`
	// Absent = both on. At least one must be on.
	Apps *AppToggles `protobuf:"bytes,7,opt,name=apps,proto3" json:"apps,omitempty"`
	// Absent = all nodes.
	Nodes *NodeSelection `protobuf:"bytes,8,opt,name=nodes,proto3" json:"nodes,omitempty"`
	// The person limit (User.speed_limit_bps).
	SpeedLimitBps uint64 `protobuf:"varint,9,opt,name=speed_limit_bps,json=speedLimitBps,proto3" json:"speed_limit_bps,omitempty"`
	// Empty = inherit (group, then the instance default).
	DnsPresetId string `protobuf:"bytes,10,opt,name=dns_preset_id,json=dnsPresetId,proto3" json:"dns_preset_id,omitempty"`
	// The device limit (User.device_speed_limit_bps).
	DeviceSpeedLimitBps uint64 `protobuf:"varint,11,opt,name=device_speed_limit_bps,json=deviceSpeedLimitBps,proto3" json:"device_speed_limit_bps,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateUserRequest) Descriptor deprecated

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

Deprecated: Use CreateUserRequest.ProtoReflect.Descriptor instead.

func (*CreateUserRequest) GetApps

func (x *CreateUserRequest) GetApps() *AppToggles

func (*CreateUserRequest) GetDeviceLimit

func (x *CreateUserRequest) GetDeviceLimit() uint32

func (*CreateUserRequest) GetDeviceSpeedLimitBps added in v0.1.39

func (x *CreateUserRequest) GetDeviceSpeedLimitBps() uint64

func (*CreateUserRequest) GetDnsPresetId

func (x *CreateUserRequest) GetDnsPresetId() string

func (*CreateUserRequest) GetGroupId

func (x *CreateUserRequest) GetGroupId() string

func (*CreateUserRequest) GetName

func (x *CreateUserRequest) GetName() string

func (*CreateUserRequest) GetNodes

func (x *CreateUserRequest) GetNodes() *NodeSelection

func (*CreateUserRequest) GetQuotaBytes

func (x *CreateUserRequest) GetQuotaBytes() uint64

func (*CreateUserRequest) GetQuotaReset

func (x *CreateUserRequest) GetQuotaReset() QuotaReset

func (*CreateUserRequest) GetSpeedLimitBps

func (x *CreateUserRequest) GetSpeedLimitBps() uint64

func (*CreateUserRequest) GetTermDays

func (x *CreateUserRequest) GetTermDays() uint32

func (*CreateUserRequest) ProtoMessage

func (*CreateUserRequest) ProtoMessage()

func (*CreateUserRequest) ProtoReflect

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

func (*CreateUserRequest) Reset

func (x *CreateUserRequest) Reset()

func (*CreateUserRequest) String

func (x *CreateUserRequest) String() string

type CreateUserResponse

type CreateUserResponse struct {
	User            *User  `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	SubscriptionUrl string `protobuf:"bytes,2,opt,name=subscription_url,json=subscriptionUrl,proto3" json:"subscription_url,omitempty"`
	// The page password (xxxx-xxxx) of the new link; empty when the instance does not ask for one.
	PagePassword string `protobuf:"bytes,3,opt,name=page_password,json=pagePassword,proto3" json:"page_password,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateUserResponse) Descriptor deprecated

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

Deprecated: Use CreateUserResponse.ProtoReflect.Descriptor instead.

func (*CreateUserResponse) GetPagePassword

func (x *CreateUserResponse) GetPagePassword() string

func (*CreateUserResponse) GetSubscriptionUrl

func (x *CreateUserResponse) GetSubscriptionUrl() string

func (*CreateUserResponse) GetUser

func (x *CreateUserResponse) GetUser() *User

func (*CreateUserResponse) ProtoMessage

func (*CreateUserResponse) ProtoMessage()

func (*CreateUserResponse) ProtoReflect

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

func (*CreateUserResponse) Reset

func (x *CreateUserResponse) Reset()

func (*CreateUserResponse) String

func (x *CreateUserResponse) String() string

type DayTraffic

type DayTraffic struct {

	// 00:00 UTC of the day.
	DayUnix int64  `protobuf:"varint,1,opt,name=day_unix,json=dayUnix,proto3" json:"day_unix,omitempty"`
	Bytes   uint64 `protobuf:"varint,2,opt,name=bytes,proto3" json:"bytes,omitempty"`
	// contains filtered or unexported fields
}

func (*DayTraffic) Descriptor deprecated

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

Deprecated: Use DayTraffic.ProtoReflect.Descriptor instead.

func (*DayTraffic) GetBytes

func (x *DayTraffic) GetBytes() uint64

func (*DayTraffic) GetDayUnix

func (x *DayTraffic) GetDayUnix() int64

func (*DayTraffic) ProtoMessage

func (*DayTraffic) ProtoMessage()

func (*DayTraffic) ProtoReflect

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

func (*DayTraffic) Reset

func (x *DayTraffic) Reset()

func (*DayTraffic) String

func (x *DayTraffic) String() string

type DeleteDnsPresetRequest

type DeleteDnsPresetRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteDnsPresetRequest) Descriptor deprecated

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

Deprecated: Use DeleteDnsPresetRequest.ProtoReflect.Descriptor instead.

func (*DeleteDnsPresetRequest) GetId

func (x *DeleteDnsPresetRequest) GetId() string

func (*DeleteDnsPresetRequest) ProtoMessage

func (*DeleteDnsPresetRequest) ProtoMessage()

func (*DeleteDnsPresetRequest) ProtoReflect

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

func (*DeleteDnsPresetRequest) Reset

func (x *DeleteDnsPresetRequest) Reset()

func (*DeleteDnsPresetRequest) String

func (x *DeleteDnsPresetRequest) String() string

type DeleteDnsPresetResponse

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

func (*DeleteDnsPresetResponse) Descriptor deprecated

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

Deprecated: Use DeleteDnsPresetResponse.ProtoReflect.Descriptor instead.

func (*DeleteDnsPresetResponse) ProtoMessage

func (*DeleteDnsPresetResponse) ProtoMessage()

func (*DeleteDnsPresetResponse) ProtoReflect

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

func (*DeleteDnsPresetResponse) Reset

func (x *DeleteDnsPresetResponse) Reset()

func (*DeleteDnsPresetResponse) String

func (x *DeleteDnsPresetResponse) String() string

type DeleteGroupRequest

type DeleteGroupRequest struct {
	GroupId string `protobuf:"bytes,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
	// The group's users move here first, in the same transaction. Empty: refused with FAILED_PRECONDITION
	// "group_not_empty: users=N" while users belong to the group.
	MoveUsersTo string `protobuf:"bytes,2,opt,name=move_users_to,json=moveUsersTo,proto3" json:"move_users_to,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteGroupRequest) Descriptor deprecated

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

Deprecated: Use DeleteGroupRequest.ProtoReflect.Descriptor instead.

func (*DeleteGroupRequest) GetGroupId

func (x *DeleteGroupRequest) GetGroupId() string

func (*DeleteGroupRequest) GetMoveUsersTo

func (x *DeleteGroupRequest) GetMoveUsersTo() string

func (*DeleteGroupRequest) ProtoMessage

func (*DeleteGroupRequest) ProtoMessage()

func (*DeleteGroupRequest) ProtoReflect

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

func (*DeleteGroupRequest) Reset

func (x *DeleteGroupRequest) Reset()

func (*DeleteGroupRequest) String

func (x *DeleteGroupRequest) String() string

type DeleteGroupResponse

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

func (*DeleteGroupResponse) Descriptor deprecated

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

Deprecated: Use DeleteGroupResponse.ProtoReflect.Descriptor instead.

func (*DeleteGroupResponse) ProtoMessage

func (*DeleteGroupResponse) ProtoMessage()

func (*DeleteGroupResponse) ProtoReflect

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

func (*DeleteGroupResponse) Reset

func (x *DeleteGroupResponse) Reset()

func (*DeleteGroupResponse) String

func (x *DeleteGroupResponse) String() string

type DeleteInboundRequest

type DeleteInboundRequest struct {
	InboundId string `protobuf:"bytes,1,opt,name=inbound_id,json=inboundId,proto3" json:"inbound_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteInboundRequest) Descriptor deprecated

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

Deprecated: Use DeleteInboundRequest.ProtoReflect.Descriptor instead.

func (*DeleteInboundRequest) GetInboundId

func (x *DeleteInboundRequest) GetInboundId() string

func (*DeleteInboundRequest) ProtoMessage

func (*DeleteInboundRequest) ProtoMessage()

func (*DeleteInboundRequest) ProtoReflect

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

func (*DeleteInboundRequest) Reset

func (x *DeleteInboundRequest) Reset()

func (*DeleteInboundRequest) String

func (x *DeleteInboundRequest) String() string

type DeleteInboundResponse

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

func (*DeleteInboundResponse) Descriptor deprecated

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

Deprecated: Use DeleteInboundResponse.ProtoReflect.Descriptor instead.

func (*DeleteInboundResponse) ProtoMessage

func (*DeleteInboundResponse) ProtoMessage()

func (*DeleteInboundResponse) ProtoReflect

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

func (*DeleteInboundResponse) Reset

func (x *DeleteInboundResponse) Reset()

func (*DeleteInboundResponse) String

func (x *DeleteInboundResponse) String() string

type DeleteKeptDataRequest added in v0.1.80

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

func (*DeleteKeptDataRequest) Descriptor deprecated added in v0.1.80

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

Deprecated: Use DeleteKeptDataRequest.ProtoReflect.Descriptor instead.

func (*DeleteKeptDataRequest) GetName added in v0.1.80

func (x *DeleteKeptDataRequest) GetName() string

func (*DeleteKeptDataRequest) ProtoMessage added in v0.1.80

func (*DeleteKeptDataRequest) ProtoMessage()

func (*DeleteKeptDataRequest) ProtoReflect added in v0.1.80

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

func (*DeleteKeptDataRequest) Reset added in v0.1.80

func (x *DeleteKeptDataRequest) Reset()

func (*DeleteKeptDataRequest) String added in v0.1.80

func (x *DeleteKeptDataRequest) String() string

type DeleteKeptDataResponse added in v0.1.80

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

func (*DeleteKeptDataResponse) Descriptor deprecated added in v0.1.80

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

Deprecated: Use DeleteKeptDataResponse.ProtoReflect.Descriptor instead.

func (*DeleteKeptDataResponse) ProtoMessage added in v0.1.80

func (*DeleteKeptDataResponse) ProtoMessage()

func (*DeleteKeptDataResponse) ProtoReflect added in v0.1.80

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

func (*DeleteKeptDataResponse) Reset added in v0.1.80

func (x *DeleteKeptDataResponse) Reset()

func (*DeleteKeptDataResponse) String added in v0.1.80

func (x *DeleteKeptDataResponse) String() string

type DeleteProfileRequest

type DeleteProfileRequest struct {
	ProfileId string `protobuf:"bytes,1,opt,name=profile_id,json=profileId,proto3" json:"profile_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteProfileRequest) Descriptor deprecated

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

Deprecated: Use DeleteProfileRequest.ProtoReflect.Descriptor instead.

func (*DeleteProfileRequest) GetProfileId

func (x *DeleteProfileRequest) GetProfileId() string

func (*DeleteProfileRequest) ProtoMessage

func (*DeleteProfileRequest) ProtoMessage()

func (*DeleteProfileRequest) ProtoReflect

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

func (*DeleteProfileRequest) Reset

func (x *DeleteProfileRequest) Reset()

func (*DeleteProfileRequest) String

func (x *DeleteProfileRequest) String() string

type DeleteProfileResponse

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

func (*DeleteProfileResponse) Descriptor deprecated

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

Deprecated: Use DeleteProfileResponse.ProtoReflect.Descriptor instead.

func (*DeleteProfileResponse) ProtoMessage

func (*DeleteProfileResponse) ProtoMessage()

func (*DeleteProfileResponse) ProtoReflect

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

func (*DeleteProfileResponse) Reset

func (x *DeleteProfileResponse) Reset()

func (*DeleteProfileResponse) String

func (x *DeleteProfileResponse) String() string

type DeleteRelayRequest added in v0.1.65

type DeleteRelayRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteRelayRequest) Descriptor deprecated added in v0.1.65

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

Deprecated: Use DeleteRelayRequest.ProtoReflect.Descriptor instead.

func (*DeleteRelayRequest) GetId added in v0.1.65

func (x *DeleteRelayRequest) GetId() string

func (*DeleteRelayRequest) ProtoMessage added in v0.1.65

func (*DeleteRelayRequest) ProtoMessage()

func (*DeleteRelayRequest) ProtoReflect added in v0.1.65

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

func (*DeleteRelayRequest) Reset added in v0.1.65

func (x *DeleteRelayRequest) Reset()

func (*DeleteRelayRequest) String added in v0.1.65

func (x *DeleteRelayRequest) String() string

type DeleteRelayResponse added in v0.1.65

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

func (*DeleteRelayResponse) Descriptor deprecated added in v0.1.65

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

Deprecated: Use DeleteRelayResponse.ProtoReflect.Descriptor instead.

func (*DeleteRelayResponse) ProtoMessage added in v0.1.65

func (*DeleteRelayResponse) ProtoMessage()

func (*DeleteRelayResponse) ProtoReflect added in v0.1.65

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

func (*DeleteRelayResponse) Reset added in v0.1.65

func (x *DeleteRelayResponse) Reset()

func (*DeleteRelayResponse) String added in v0.1.65

func (x *DeleteRelayResponse) String() string

type DeleteUsersRequest

type DeleteUsersRequest struct {
	UserIds []string `protobuf:"bytes,1,rep,name=user_ids,json=userIds,proto3" json:"user_ids,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteUsersRequest) Descriptor deprecated

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

Deprecated: Use DeleteUsersRequest.ProtoReflect.Descriptor instead.

func (*DeleteUsersRequest) GetUserIds

func (x *DeleteUsersRequest) GetUserIds() []string

func (*DeleteUsersRequest) ProtoMessage

func (*DeleteUsersRequest) ProtoMessage()

func (*DeleteUsersRequest) ProtoReflect

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

func (*DeleteUsersRequest) Reset

func (x *DeleteUsersRequest) Reset()

func (*DeleteUsersRequest) String

func (x *DeleteUsersRequest) String() string

type DeleteUsersResponse

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

func (*DeleteUsersResponse) Descriptor deprecated

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

Deprecated: Use DeleteUsersResponse.ProtoReflect.Descriptor instead.

func (*DeleteUsersResponse) ProtoMessage

func (*DeleteUsersResponse) ProtoMessage()

func (*DeleteUsersResponse) ProtoReflect

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

func (*DeleteUsersResponse) Reset

func (x *DeleteUsersResponse) Reset()

func (*DeleteUsersResponse) String

func (x *DeleteUsersResponse) String() string

type DeleteWarpRequest

type DeleteWarpRequest struct {
	NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	// The node name typed by the owner; must equal the current name.
	ConfirmName string `protobuf:"bytes,2,opt,name=confirm_name,json=confirmName,proto3" json:"confirm_name,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteWarpRequest) Descriptor deprecated

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

Deprecated: Use DeleteWarpRequest.ProtoReflect.Descriptor instead.

func (*DeleteWarpRequest) GetConfirmName

func (x *DeleteWarpRequest) GetConfirmName() string

func (*DeleteWarpRequest) GetNodeId

func (x *DeleteWarpRequest) GetNodeId() string

func (*DeleteWarpRequest) ProtoMessage

func (*DeleteWarpRequest) ProtoMessage()

func (*DeleteWarpRequest) ProtoReflect

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

func (*DeleteWarpRequest) Reset

func (x *DeleteWarpRequest) Reset()

func (*DeleteWarpRequest) String

func (x *DeleteWarpRequest) String() string

type DeleteWarpResponse

type DeleteWarpResponse struct {

	// The device was also deleted at Cloudflare (false: no token, or Cloudflare did not answer; the local
	// account is gone either way).
	RemoteDeleted bool `protobuf:"varint,1,opt,name=remote_deleted,json=remoteDeleted,proto3" json:"remote_deleted,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteWarpResponse) Descriptor deprecated

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

Deprecated: Use DeleteWarpResponse.ProtoReflect.Descriptor instead.

func (*DeleteWarpResponse) GetRemoteDeleted

func (x *DeleteWarpResponse) GetRemoteDeleted() bool

func (*DeleteWarpResponse) ProtoMessage

func (*DeleteWarpResponse) ProtoMessage()

func (*DeleteWarpResponse) ProtoReflect

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

func (*DeleteWarpResponse) Reset

func (x *DeleteWarpResponse) Reset()

func (*DeleteWarpResponse) String

func (x *DeleteWarpResponse) String() string

type Device

type Device struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// "ios", "android", "windows", "macos", "linux", "other".
	Platform      string `protobuf:"bytes,2,opt,name=platform,proto3" json:"platform,omitempty"`
	Model         string `protobuf:"bytes,3,opt,name=model,proto3" json:"model,omitempty"`
	FirstSeenUnix int64  `protobuf:"varint,4,opt,name=first_seen_unix,json=firstSeenUnix,proto3" json:"first_seen_unix,omitempty"`
	LastSeenUnix  int64  `protobuf:"varint,5,opt,name=last_seen_unix,json=lastSeenUnix,proto3" json:"last_seen_unix,omitempty"`
	Online        bool   `protobuf:"varint,6,opt,name=online,proto3" json:"online,omitempty"`
	// Protocols this device holds credentials for ("hysteria2").
	Protocols []string `protobuf:"bytes,7,rep,name=protocols,proto3" json:"protocols,omitempty"`
	// AmneziaWG devices (DeviceService.CreateAwgDevice): one device = one peer bound to ONE profile. Empty /
	// zero for every other device. `model` carries the device label.
	AwgProfileId   string `protobuf:"bytes,8,opt,name=awg_profile_id,json=awgProfileId,proto3" json:"awg_profile_id,omitempty"`
	AwgProfileName string `protobuf:"bytes,9,opt,name=awg_profile_name,json=awgProfileName,proto3" json:"awg_profile_name,omitempty"`
	// "3.1" | "2.0".
	AwgVersion string `protobuf:"bytes,10,opt,name=awg_version,json=awgVersion,proto3" json:"awg_version,omitempty"`
	// The profile changed in a way that breaks the issued config (x-critical): the user must fetch a new one.
	Stale bool `protobuf:"varint,11,opt,name=stale,proto3" json:"stale,omitempty"`
	// The peer's tunnel address(es), "10.66.4.5, fd66:66:0:1::5".
	Address string `protobuf:"bytes,12,opt,name=address,proto3" json:"address,omitempty"`
	// Last handshake of the peer on any node; 0 = never connected.
	LastHandshakeUnix int64 `protobuf:"varint,13,opt,name=last_handshake_unix,json=lastHandshakeUnix,proto3" json:"last_handshake_unix,omitempty"`
	// What the device is: an app on the subscription link (its own HWID), the one place the apps without a HWID share, or an
	// AmneziaVPN key.
	Kind DeviceKind `protobuf:"varint,14,opt,name=kind,proto3,enum=mistgate.admin.v1.DeviceKind" json:"kind,omitempty"`
	// The OS version and the app ("Happ/3.4.2") the device last fetched with; empty when it never said.
	OsVersion string `protobuf:"bytes,15,opt,name=os_version,json=osVersion,proto3" json:"os_version,omitempty"`
	Client    string `protobuf:"bytes,16,opt,name=client,proto3" json:"client,omitempty"`
	// Everything the device carried, all time, both directions.
	UsedBytes uint64 `protobuf:"varint,17,opt,name=used_bytes,json=usedBytes,proto3" json:"used_bytes,omitempty"`
	// The connected nodes that have a session of this device right now (empty = offline). Two or more: the same keys are
	// in use on two servers at once, which is the sign of a copied config. A key (AmneziaVPN) device goes by its
	// handshake, so this is empty for it.
	OnlineNodeIds []string `protobuf:"bytes,18,rep,name=online_node_ids,json=onlineNodeIds,proto3" json:"online_node_ids,omitempty"`
	// 19 is not used: a blocked device is listed in GetUserResponse.blocked_devices, not here.
	// The first 6 hex characters of the device's hash, to tell two phones of one model apart. Empty for the shared device
	// and for keys.
	Fingerprint string `protobuf:"bytes,20,opt,name=fingerprint,proto3" json:"fingerprint,omitempty"`
	// contains filtered or unexported fields
}

func (*Device) Descriptor deprecated

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

Deprecated: Use Device.ProtoReflect.Descriptor instead.

func (*Device) GetAddress

func (x *Device) GetAddress() string

func (*Device) GetAwgProfileId

func (x *Device) GetAwgProfileId() string

func (*Device) GetAwgProfileName

func (x *Device) GetAwgProfileName() string

func (*Device) GetAwgVersion

func (x *Device) GetAwgVersion() string

func (*Device) GetClient added in v0.1.39

func (x *Device) GetClient() string

func (*Device) GetFingerprint added in v0.1.39

func (x *Device) GetFingerprint() string

func (*Device) GetFirstSeenUnix

func (x *Device) GetFirstSeenUnix() int64

func (*Device) GetId

func (x *Device) GetId() string

func (*Device) GetKind added in v0.1.39

func (x *Device) GetKind() DeviceKind

func (*Device) GetLastHandshakeUnix

func (x *Device) GetLastHandshakeUnix() int64

func (*Device) GetLastSeenUnix

func (x *Device) GetLastSeenUnix() int64

func (*Device) GetModel

func (x *Device) GetModel() string

func (*Device) GetOnline

func (x *Device) GetOnline() bool

func (*Device) GetOnlineNodeIds added in v0.1.39

func (x *Device) GetOnlineNodeIds() []string

func (*Device) GetOsVersion added in v0.1.39

func (x *Device) GetOsVersion() string

func (*Device) GetPlatform

func (x *Device) GetPlatform() string

func (*Device) GetProtocols

func (x *Device) GetProtocols() []string

func (*Device) GetStale

func (x *Device) GetStale() bool

func (*Device) GetUsedBytes added in v0.1.39

func (x *Device) GetUsedBytes() uint64

func (*Device) ProtoMessage

func (*Device) ProtoMessage()

func (*Device) ProtoReflect

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

func (*Device) Reset

func (x *Device) Reset()

func (*Device) String

func (x *Device) String() string

type DeviceConfig

type DeviceConfig struct {
	InboundId   string `protobuf:"bytes,1,opt,name=inbound_id,json=inboundId,proto3" json:"inbound_id,omitempty"`
	NodeId      string `protobuf:"bytes,2,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	NodeName    string `protobuf:"bytes,3,opt,name=node_name,json=nodeName,proto3" json:"node_name,omitempty"`
	CountryCode string `protobuf:"bytes,4,opt,name=country_code,json=countryCode,proto3" json:"country_code,omitempty"`
	ProfileName string `protobuf:"bytes,5,opt,name=profile_name,json=profileName,proto3" json:"profile_name,omitempty"`
	// "3.1" | "2.0".
	AwgVersion string `protobuf:"bytes,6,opt,name=awg_version,json=awgVersion,proto3" json:"awg_version,omitempty"`
	// WireGuard-style .conf: imports into AmneziaWG and AmneziaVPN; one QR code covers both.
	Conf string `protobuf:"bytes,7,opt,name=conf,proto3" json:"conf,omitempty"`
	// The vpn:// key for pasting into AmneziaVPN.
	VpnKey string `protobuf:"bytes,8,opt,name=vpn_key,json=vpnKey,proto3" json:"vpn_key,omitempty"`
	// The device is behind the profile's current epoch: this config replaces the one it holds.
	Stale bool `protobuf:"varint,9,opt,name=stale,proto3" json:"stale,omitempty"`
	// Shown next to the config: an older client drops unknown keys silently.
	MinClients []*ClientRequirement `protobuf:"bytes,10,rep,name=min_clients,json=minClients,proto3" json:"min_clients,omitempty"`
	// Stable codes the UI localises: amnezia_desktop_mtu, dns_no_split, dns_fallback, ...
	Warnings []string `protobuf:"bytes,11,rep,name=warnings,proto3" json:"warnings,omitempty"`
	// File name for "Download .conf", already safe ("de1-31.conf"); never derived from raw user input.
	ConfFilename string `protobuf:"bytes,12,opt,name=conf_filename,json=confFilename,proto3" json:"conf_filename,omitempty"`
	// contains filtered or unexported fields
}

One config of a device on one node. The QR code is rendered by the SPA from `conf`.

func (*DeviceConfig) Descriptor deprecated

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

Deprecated: Use DeviceConfig.ProtoReflect.Descriptor instead.

func (*DeviceConfig) GetAwgVersion

func (x *DeviceConfig) GetAwgVersion() string

func (*DeviceConfig) GetConf

func (x *DeviceConfig) GetConf() string

func (*DeviceConfig) GetConfFilename

func (x *DeviceConfig) GetConfFilename() string

func (*DeviceConfig) GetCountryCode

func (x *DeviceConfig) GetCountryCode() string

func (*DeviceConfig) GetInboundId

func (x *DeviceConfig) GetInboundId() string

func (*DeviceConfig) GetMinClients

func (x *DeviceConfig) GetMinClients() []*ClientRequirement

func (*DeviceConfig) GetNodeId

func (x *DeviceConfig) GetNodeId() string

func (*DeviceConfig) GetNodeName

func (x *DeviceConfig) GetNodeName() string

func (*DeviceConfig) GetProfileName

func (x *DeviceConfig) GetProfileName() string

func (*DeviceConfig) GetStale

func (x *DeviceConfig) GetStale() bool

func (*DeviceConfig) GetVpnKey

func (x *DeviceConfig) GetVpnKey() string

func (*DeviceConfig) GetWarnings

func (x *DeviceConfig) GetWarnings() []string

func (*DeviceConfig) ProtoMessage

func (*DeviceConfig) ProtoMessage()

func (*DeviceConfig) ProtoReflect

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

func (*DeviceConfig) Reset

func (x *DeviceConfig) Reset()

func (*DeviceConfig) String

func (x *DeviceConfig) String() string

type DeviceConnection added in v0.1.53

type DeviceConnection struct {
	DeviceId    string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
	NodeId      string `protobuf:"bytes,2,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	NodeName    string `protobuf:"bytes,3,opt,name=node_name,json=nodeName,proto3" json:"node_name,omitempty"`
	InboundId   string `protobuf:"bytes,4,opt,name=inbound_id,json=inboundId,proto3" json:"inbound_id,omitempty"`
	ProfileName string `protobuf:"bytes,5,opt,name=profile_name,json=profileName,proto3" json:"profile_name,omitempty"`
	Protocol    string `protobuf:"bytes,6,opt,name=protocol,proto3" json:"protocol,omitempty"`
	Connects    uint32 `protobuf:"varint,7,opt,name=connects,proto3" json:"connects,omitempty"`
	Rejects     uint32 `protobuf:"varint,8,opt,name=rejects,proto3" json:"rejects,omitempty"`
	Drops       uint32 `protobuf:"varint,9,opt,name=drops,proto3" json:"drops,omitempty"`
	Stalls      uint32 `protobuf:"varint,10,opt,name=stalls,proto3" json:"stalls,omitempty"`
	OnlineS     uint64 `protobuf:"varint,11,opt,name=online_s,json=onlineS,proto3" json:"online_s,omitempty"`
	// Start of the newest hour with a counter.
	LastHourUnix int64 `protobuf:"varint,12,opt,name=last_hour_unix,json=lastHourUnix,proto3" json:"last_hour_unix,omitempty"`
	// The device as the panel knows it now (Device.platform and .client from its last subscription fetch, not the app of each
	// hour; kind is the DeviceKind name without its prefix, such as "link" or "key"), so an app or a version that fails
	// everywhere stands out. "" when the device is gone.
	Platform string `protobuf:"bytes,13,opt,name=platform,proto3" json:"platform,omitempty"`
	Client   string `protobuf:"bytes,14,opt,name=client,proto3" json:"client,omitempty"`
	Kind     string `protobuf:"bytes,15,opt,name=kind,proto3" json:"kind,omitempty"`
	// With by_hour: the hours of the window that have a counter, oldest first.
	Hours []*LinkHour `protobuf:"bytes,16,rep,name=hours,proto3" json:"hours,omitempty"`
	// Hysteria2 with agents that list "links/2"; what they mean is under InboundConnections (node.proto).
	ClientCloses uint32 `protobuf:"varint,17,opt,name=client_closes,json=clientCloses,proto3" json:"client_closes,omitempty"`
	Freezes      uint32 `protobuf:"varint,18,opt,name=freezes,proto3" json:"freezes,omitempty"`
	Quiet        uint32 `protobuf:"varint,19,opt,name=quiet,proto3" json:"quiet,omitempty"`
	RttMs        uint32 `protobuf:"varint,20,opt,name=rtt_ms,json=rttMs,proto3" json:"rtt_ms,omitempty"`
	LossPermille uint32 `protobuf:"varint,21,opt,name=loss_permille,json=lossPermille,proto3" json:"loss_permille,omitempty"`
	RttSamples   uint32 `protobuf:"varint,22,opt,name=rtt_samples,json=rttSamples,proto3" json:"rtt_samples,omitempty"`
	PktsSent     uint64 `protobuf:"varint,23,opt,name=pkts_sent,json=pktsSent,proto3" json:"pkts_sent,omitempty"`
	// contains filtered or unexported fields
}

One device of the person on one inbound of a node, summed over the window. Rows without any counter are not sent.

func (*DeviceConnection) Descriptor deprecated added in v0.1.53

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

Deprecated: Use DeviceConnection.ProtoReflect.Descriptor instead.

func (*DeviceConnection) GetClient added in v0.1.56

func (x *DeviceConnection) GetClient() string

func (*DeviceConnection) GetClientCloses added in v0.1.57

func (x *DeviceConnection) GetClientCloses() uint32

func (*DeviceConnection) GetConnects added in v0.1.53

func (x *DeviceConnection) GetConnects() uint32

func (*DeviceConnection) GetDeviceId added in v0.1.53

func (x *DeviceConnection) GetDeviceId() string

func (*DeviceConnection) GetDrops added in v0.1.53

func (x *DeviceConnection) GetDrops() uint32

func (*DeviceConnection) GetFreezes added in v0.1.57

func (x *DeviceConnection) GetFreezes() uint32

func (*DeviceConnection) GetHours added in v0.1.56

func (x *DeviceConnection) GetHours() []*LinkHour

func (*DeviceConnection) GetInboundId added in v0.1.53

func (x *DeviceConnection) GetInboundId() string

func (*DeviceConnection) GetKind added in v0.1.56

func (x *DeviceConnection) GetKind() string

func (*DeviceConnection) GetLastHourUnix added in v0.1.53

func (x *DeviceConnection) GetLastHourUnix() int64

func (*DeviceConnection) GetLossPermille added in v0.1.57

func (x *DeviceConnection) GetLossPermille() uint32

func (*DeviceConnection) GetNodeId added in v0.1.53

func (x *DeviceConnection) GetNodeId() string

func (*DeviceConnection) GetNodeName added in v0.1.53

func (x *DeviceConnection) GetNodeName() string

func (*DeviceConnection) GetOnlineS added in v0.1.53

func (x *DeviceConnection) GetOnlineS() uint64

func (*DeviceConnection) GetPktsSent added in v0.1.57

func (x *DeviceConnection) GetPktsSent() uint64

func (*DeviceConnection) GetPlatform added in v0.1.56

func (x *DeviceConnection) GetPlatform() string

func (*DeviceConnection) GetProfileName added in v0.1.53

func (x *DeviceConnection) GetProfileName() string

func (*DeviceConnection) GetProtocol added in v0.1.53

func (x *DeviceConnection) GetProtocol() string

func (*DeviceConnection) GetQuiet added in v0.1.57

func (x *DeviceConnection) GetQuiet() uint32

func (*DeviceConnection) GetRejects added in v0.1.53

func (x *DeviceConnection) GetRejects() uint32

func (*DeviceConnection) GetRttMs added in v0.1.57

func (x *DeviceConnection) GetRttMs() uint32

func (*DeviceConnection) GetRttSamples added in v0.1.57

func (x *DeviceConnection) GetRttSamples() uint32

func (*DeviceConnection) GetStalls added in v0.1.53

func (x *DeviceConnection) GetStalls() uint32

func (*DeviceConnection) ProtoMessage added in v0.1.53

func (*DeviceConnection) ProtoMessage()

func (*DeviceConnection) ProtoReflect added in v0.1.53

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

func (*DeviceConnection) Reset added in v0.1.53

func (x *DeviceConnection) Reset()

func (*DeviceConnection) String added in v0.1.53

func (x *DeviceConnection) String() string

type DeviceKind added in v0.1.39

type DeviceKind int32
const (
	DeviceKind_DEVICE_KIND_UNSPECIFIED DeviceKind = 0
	// An app that fetches the subscription link and reports a HWID.
	DeviceKind_DEVICE_KIND_LINK DeviceKind = 1
	// The place shared by every app that sends no HWID.
	DeviceKind_DEVICE_KIND_LINK_SHARED DeviceKind = 2
	// An AmneziaVPN key (DeviceService.CreateAwgDevice).
	DeviceKind_DEVICE_KIND_KEY DeviceKind = 3
	// The person's Telegram proxy key (UserService.IssueTelegramKey): one secret for every MTProto link of the person.
	DeviceKind_DEVICE_KIND_TELEGRAM_KEY DeviceKind = 4
)

func (DeviceKind) Descriptor added in v0.1.39

func (DeviceKind) Descriptor() protoreflect.EnumDescriptor

func (DeviceKind) Enum added in v0.1.39

func (x DeviceKind) Enum() *DeviceKind

func (DeviceKind) EnumDescriptor deprecated added in v0.1.39

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

Deprecated: Use DeviceKind.Descriptor instead.

func (DeviceKind) Number added in v0.1.39

func (x DeviceKind) Number() protoreflect.EnumNumber

func (DeviceKind) String added in v0.1.39

func (x DeviceKind) String() string

func (DeviceKind) Type added in v0.1.39

type DisconnectBlocklistRequest added in v0.1.41

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

func (*DisconnectBlocklistRequest) Descriptor deprecated added in v0.1.41

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

Deprecated: Use DisconnectBlocklistRequest.ProtoReflect.Descriptor instead.

func (*DisconnectBlocklistRequest) ProtoMessage added in v0.1.41

func (*DisconnectBlocklistRequest) ProtoMessage()

func (*DisconnectBlocklistRequest) ProtoReflect added in v0.1.41

func (*DisconnectBlocklistRequest) Reset added in v0.1.41

func (x *DisconnectBlocklistRequest) Reset()

func (*DisconnectBlocklistRequest) String added in v0.1.41

func (x *DisconnectBlocklistRequest) String() string

type DisconnectBlocklistResponse added in v0.1.41

type DisconnectBlocklistResponse struct {
	Settings *BlocklistSettings `protobuf:"bytes,1,opt,name=settings,proto3" json:"settings,omitempty"`
	// contains filtered or unexported fields
}

func (*DisconnectBlocklistResponse) Descriptor deprecated added in v0.1.41

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

Deprecated: Use DisconnectBlocklistResponse.ProtoReflect.Descriptor instead.

func (*DisconnectBlocklistResponse) GetSettings added in v0.1.41

func (*DisconnectBlocklistResponse) ProtoMessage added in v0.1.41

func (*DisconnectBlocklistResponse) ProtoMessage()

func (*DisconnectBlocklistResponse) ProtoReflect added in v0.1.41

func (*DisconnectBlocklistResponse) Reset added in v0.1.41

func (x *DisconnectBlocklistResponse) Reset()

func (*DisconnectBlocklistResponse) String added in v0.1.41

func (x *DisconnectBlocklistResponse) String() string

type DisconnectBsbordRequest added in v0.1.63

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

func (*DisconnectBsbordRequest) Descriptor deprecated added in v0.1.63

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

Deprecated: Use DisconnectBsbordRequest.ProtoReflect.Descriptor instead.

func (*DisconnectBsbordRequest) ProtoMessage added in v0.1.63

func (*DisconnectBsbordRequest) ProtoMessage()

func (*DisconnectBsbordRequest) ProtoReflect added in v0.1.63

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

func (*DisconnectBsbordRequest) Reset added in v0.1.63

func (x *DisconnectBsbordRequest) Reset()

func (*DisconnectBsbordRequest) String added in v0.1.63

func (x *DisconnectBsbordRequest) String() string

type DisconnectBsbordResponse added in v0.1.63

type DisconnectBsbordResponse struct {
	Settings *BsbordSettings `protobuf:"bytes,1,opt,name=settings,proto3" json:"settings,omitempty"`
	// contains filtered or unexported fields
}

func (*DisconnectBsbordResponse) Descriptor deprecated added in v0.1.63

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

Deprecated: Use DisconnectBsbordResponse.ProtoReflect.Descriptor instead.

func (*DisconnectBsbordResponse) GetSettings added in v0.1.63

func (x *DisconnectBsbordResponse) GetSettings() *BsbordSettings

func (*DisconnectBsbordResponse) ProtoMessage added in v0.1.63

func (*DisconnectBsbordResponse) ProtoMessage()

func (*DisconnectBsbordResponse) ProtoReflect added in v0.1.63

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

func (*DisconnectBsbordResponse) Reset added in v0.1.63

func (x *DisconnectBsbordResponse) Reset()

func (*DisconnectBsbordResponse) String added in v0.1.63

func (x *DisconnectBsbordResponse) String() string

type DisconnectCheburcheckRequest added in v0.1.63

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

func (*DisconnectCheburcheckRequest) Descriptor deprecated added in v0.1.63

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

Deprecated: Use DisconnectCheburcheckRequest.ProtoReflect.Descriptor instead.

func (*DisconnectCheburcheckRequest) ProtoMessage added in v0.1.63

func (*DisconnectCheburcheckRequest) ProtoMessage()

func (*DisconnectCheburcheckRequest) ProtoReflect added in v0.1.63

func (*DisconnectCheburcheckRequest) Reset added in v0.1.63

func (x *DisconnectCheburcheckRequest) Reset()

func (*DisconnectCheburcheckRequest) String added in v0.1.63

type DisconnectCheburcheckResponse added in v0.1.63

type DisconnectCheburcheckResponse struct {
	Settings *CheburcheckSettings `protobuf:"bytes,1,opt,name=settings,proto3" json:"settings,omitempty"`
	// contains filtered or unexported fields
}

func (*DisconnectCheburcheckResponse) Descriptor deprecated added in v0.1.63

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

Deprecated: Use DisconnectCheburcheckResponse.ProtoReflect.Descriptor instead.

func (*DisconnectCheburcheckResponse) GetSettings added in v0.1.63

func (*DisconnectCheburcheckResponse) ProtoMessage added in v0.1.63

func (*DisconnectCheburcheckResponse) ProtoMessage()

func (*DisconnectCheburcheckResponse) ProtoReflect added in v0.1.63

func (*DisconnectCheburcheckResponse) Reset added in v0.1.63

func (x *DisconnectCheburcheckResponse) Reset()

func (*DisconnectCheburcheckResponse) String added in v0.1.63

type DisconnectClientProbeRequest added in v0.1.51

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

func (*DisconnectClientProbeRequest) Descriptor deprecated added in v0.1.51

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

Deprecated: Use DisconnectClientProbeRequest.ProtoReflect.Descriptor instead.

func (*DisconnectClientProbeRequest) ProtoMessage added in v0.1.51

func (*DisconnectClientProbeRequest) ProtoMessage()

func (*DisconnectClientProbeRequest) ProtoReflect added in v0.1.51

func (*DisconnectClientProbeRequest) Reset added in v0.1.51

func (x *DisconnectClientProbeRequest) Reset()

func (*DisconnectClientProbeRequest) String added in v0.1.51

type DisconnectClientProbeResponse added in v0.1.51

type DisconnectClientProbeResponse struct {
	Settings *ClientProbeSettings `protobuf:"bytes,1,opt,name=settings,proto3" json:"settings,omitempty"`
	// contains filtered or unexported fields
}

func (*DisconnectClientProbeResponse) Descriptor deprecated added in v0.1.51

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

Deprecated: Use DisconnectClientProbeResponse.ProtoReflect.Descriptor instead.

func (*DisconnectClientProbeResponse) GetSettings added in v0.1.51

func (*DisconnectClientProbeResponse) ProtoMessage added in v0.1.51

func (*DisconnectClientProbeResponse) ProtoMessage()

func (*DisconnectClientProbeResponse) ProtoReflect added in v0.1.51

func (*DisconnectClientProbeResponse) Reset added in v0.1.51

func (x *DisconnectClientProbeResponse) Reset()

func (*DisconnectClientProbeResponse) String added in v0.1.51

type DisconnectGlobalpingRequest added in v0.1.41

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

func (*DisconnectGlobalpingRequest) Descriptor deprecated added in v0.1.41

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

Deprecated: Use DisconnectGlobalpingRequest.ProtoReflect.Descriptor instead.

func (*DisconnectGlobalpingRequest) ProtoMessage added in v0.1.41

func (*DisconnectGlobalpingRequest) ProtoMessage()

func (*DisconnectGlobalpingRequest) ProtoReflect added in v0.1.41

func (*DisconnectGlobalpingRequest) Reset added in v0.1.41

func (x *DisconnectGlobalpingRequest) Reset()

func (*DisconnectGlobalpingRequest) String added in v0.1.41

func (x *DisconnectGlobalpingRequest) String() string

type DisconnectGlobalpingResponse added in v0.1.41

type DisconnectGlobalpingResponse struct {
	Settings *GlobalpingSettings `protobuf:"bytes,1,opt,name=settings,proto3" json:"settings,omitempty"`
	// contains filtered or unexported fields
}

func (*DisconnectGlobalpingResponse) Descriptor deprecated added in v0.1.41

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

Deprecated: Use DisconnectGlobalpingResponse.ProtoReflect.Descriptor instead.

func (*DisconnectGlobalpingResponse) GetSettings added in v0.1.41

func (*DisconnectGlobalpingResponse) ProtoMessage added in v0.1.41

func (*DisconnectGlobalpingResponse) ProtoMessage()

func (*DisconnectGlobalpingResponse) ProtoReflect added in v0.1.41

func (*DisconnectGlobalpingResponse) Reset added in v0.1.41

func (x *DisconnectGlobalpingResponse) Reset()

func (*DisconnectGlobalpingResponse) String added in v0.1.41

type DisconnectTspuProbeRequest added in v0.1.42

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

func (*DisconnectTspuProbeRequest) Descriptor deprecated added in v0.1.42

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

Deprecated: Use DisconnectTspuProbeRequest.ProtoReflect.Descriptor instead.

func (*DisconnectTspuProbeRequest) ProtoMessage added in v0.1.42

func (*DisconnectTspuProbeRequest) ProtoMessage()

func (*DisconnectTspuProbeRequest) ProtoReflect added in v0.1.42

func (*DisconnectTspuProbeRequest) Reset added in v0.1.42

func (x *DisconnectTspuProbeRequest) Reset()

func (*DisconnectTspuProbeRequest) String added in v0.1.42

func (x *DisconnectTspuProbeRequest) String() string

type DisconnectTspuProbeResponse added in v0.1.42

type DisconnectTspuProbeResponse struct {
	Settings *TspuProbeSettings `protobuf:"bytes,1,opt,name=settings,proto3" json:"settings,omitempty"`
	// contains filtered or unexported fields
}

func (*DisconnectTspuProbeResponse) Descriptor deprecated added in v0.1.42

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

Deprecated: Use DisconnectTspuProbeResponse.ProtoReflect.Descriptor instead.

func (*DisconnectTspuProbeResponse) GetSettings added in v0.1.42

func (*DisconnectTspuProbeResponse) ProtoMessage added in v0.1.42

func (*DisconnectTspuProbeResponse) ProtoMessage()

func (*DisconnectTspuProbeResponse) ProtoReflect added in v0.1.42

func (*DisconnectTspuProbeResponse) Reset added in v0.1.42

func (x *DisconnectTspuProbeResponse) Reset()

func (*DisconnectTspuProbeResponse) String added in v0.1.42

func (x *DisconnectTspuProbeResponse) String() string

type DnsCategory

type DnsCategory int32

What a provider variant is for; the UI groups the catalog and filters the presets by it. For a preset the value is computed by the server (built-ins: fixed; custom: the category of its first catalog server); UNSPECIFIED = "own".

const (
	DnsCategory_DNS_CATEGORY_UNSPECIFIED DnsCategory = 0
	// Built for the people of one country (the country field says which): resolves that country's sites from inside it.
	// Was DNS_CATEGORY_RUSSIA; same number, so stored and binary values keep their meaning.
	DnsCategory_DNS_CATEGORY_REGIONAL DnsCategory = 1
	DnsCategory_DNS_CATEGORY_REGULAR  DnsCategory = 2
	DnsCategory_DNS_CATEGORY_NO_ADS   DnsCategory = 3
	DnsCategory_DNS_CATEGORY_FAMILY   DnsCategory = 4
	DnsCategory_DNS_CATEGORY_SECURITY DnsCategory = 5
)

func (DnsCategory) Descriptor

func (DnsCategory) Enum

func (x DnsCategory) Enum() *DnsCategory

func (DnsCategory) EnumDescriptor deprecated

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

Deprecated: Use DnsCategory.Descriptor instead.

func (DnsCategory) Number

func (x DnsCategory) Number() protoreflect.EnumNumber

func (DnsCategory) String

func (x DnsCategory) String() string

func (DnsCategory) Type

type DnsClient

type DnsClient int32

An app that carries the DNS of a subscription.

const (
	DnsClient_DNS_CLIENT_UNSPECIFIED DnsClient = 0
	DnsClient_DNS_CLIENT_HAPP        DnsClient = 1
	// Mihomo core and apps built on it (Clash Verge, FlClash...).
	DnsClient_DNS_CLIENT_MIHOMO DnsClient = 2
	// AmneziaWG (.conf and the Amnezia vpn:// key).
	DnsClient_DNS_CLIENT_AMNEZIAWG DnsClient = 3
	// An Xray JSON subscription (v2rayNG, v2rayN and other Xray-based apps).
	DnsClient_DNS_CLIENT_XRAY DnsClient = 4
	// A sing-box profile (the official sing-box apps).
	DnsClient_DNS_CLIENT_SINGBOX DnsClient = 5
)

func (DnsClient) Descriptor

func (DnsClient) Descriptor() protoreflect.EnumDescriptor

func (DnsClient) Enum

func (x DnsClient) Enum() *DnsClient

func (DnsClient) EnumDescriptor deprecated

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

Deprecated: Use DnsClient.Descriptor instead.

func (DnsClient) Number

func (x DnsClient) Number() protoreflect.EnumNumber

func (DnsClient) String

func (x DnsClient) String() string

func (DnsClient) Type

type DnsPreset

type DnsPreset struct {
	Id          string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name        string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	Builtin     bool   `protobuf:"varint,4,opt,name=builtin,proto3" json:"builtin,omitempty"`
	// Main resolvers, in order of preference.
	Servers []*DnsServer    `protobuf:"bytes,5,rep,name=servers,proto3" json:"servers,omitempty"`
	Split   []*DnsSplitRule `protobuf:"bytes,6,rep,name=split,proto3" json:"split,omitempty"`
	// Resolve A records only (useful where IPv6 inside the tunnel is broken).
	Ipv4Only bool `protobuf:"varint,7,opt,name=ipv4_only,json=ipv4Only,proto3" json:"ipv4_only,omitempty"`
	// Users whose effective preset this is (direct, via group, or via the default).
	UserCount uint32 `protobuf:"varint,8,opt,name=user_count,json=userCount,proto3" json:"user_count,omitempty"`
	IsDefault bool   `protobuf:"varint,9,opt,name=is_default,json=isDefault,proto3" json:"is_default,omitempty"`
	// Domains of the split rules bypass the VPN (Happ can only send a split resolver's domains direct). Off = the
	// split is ignored by clients that cannot keep it proxied; everything resolves through the main servers
	// inside the tunnel.
	SplitDirect bool `protobuf:"varint,10,opt,name=split_direct,json=splitDirect,proto3" json:"split_direct,omitempty"`
	// The transport every app gets if it can carry it (catalog servers only; custom addresses keep their own kind).
	PreferredTransport DnsTransport `` /* 153-byte string literal not displayed */
	// Computed, see DnsCategory.
	Category DnsCategory `protobuf:"varint,12,opt,name=category,proto3,enum=mistgate.admin.v1.DnsCategory" json:"category,omitempty"`
	// Computed: the country of a regional preset (ISO 3166-1 alpha-2), empty otherwise.
	Country string `protobuf:"bytes,13,opt,name=country,proto3" json:"country,omitempty"`
	// The apps drop the domains of the community list category-ads-all themselves, before any other rule (Mihomo,
	// Xray, sing-box, Happ; AmneziaWG keys and the plain link list have no rules).
	BlockAds bool `protobuf:"varint,14,opt,name=block_ads,json=blockAds,proto3" json:"block_ads,omitempty"`
	// contains filtered or unexported fields
}

func (*DnsPreset) Descriptor deprecated

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

Deprecated: Use DnsPreset.ProtoReflect.Descriptor instead.

func (*DnsPreset) GetBlockAds added in v0.1.67

func (x *DnsPreset) GetBlockAds() bool

func (*DnsPreset) GetBuiltin

func (x *DnsPreset) GetBuiltin() bool

func (*DnsPreset) GetCategory

func (x *DnsPreset) GetCategory() DnsCategory

func (*DnsPreset) GetCountry added in v0.1.64

func (x *DnsPreset) GetCountry() string

func (*DnsPreset) GetDescription

func (x *DnsPreset) GetDescription() string

func (*DnsPreset) GetId

func (x *DnsPreset) GetId() string

func (*DnsPreset) GetIpv4Only

func (x *DnsPreset) GetIpv4Only() bool

func (*DnsPreset) GetIsDefault

func (x *DnsPreset) GetIsDefault() bool

func (*DnsPreset) GetName

func (x *DnsPreset) GetName() string

func (*DnsPreset) GetPreferredTransport

func (x *DnsPreset) GetPreferredTransport() DnsTransport

func (*DnsPreset) GetServers

func (x *DnsPreset) GetServers() []*DnsServer

func (*DnsPreset) GetSplit

func (x *DnsPreset) GetSplit() []*DnsSplitRule

func (*DnsPreset) GetSplitDirect

func (x *DnsPreset) GetSplitDirect() bool

func (*DnsPreset) GetUserCount

func (x *DnsPreset) GetUserCount() uint32

func (*DnsPreset) ProtoMessage

func (*DnsPreset) ProtoMessage()

func (*DnsPreset) ProtoReflect

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

func (*DnsPreset) Reset

func (x *DnsPreset) Reset()

func (*DnsPreset) String

func (x *DnsPreset) String() string

type DnsProvider

type DnsProvider struct {

	// "cloudflare".
	Id       string                `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name     string                `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Variants []*DnsProviderVariant `protobuf:"bytes,3,rep,name=variants,proto3" json:"variants,omitempty"`
	// contains filtered or unexported fields
}

func (*DnsProvider) Descriptor deprecated

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

Deprecated: Use DnsProvider.ProtoReflect.Descriptor instead.

func (*DnsProvider) GetId

func (x *DnsProvider) GetId() string

func (*DnsProvider) GetName

func (x *DnsProvider) GetName() string

func (*DnsProvider) GetVariants

func (x *DnsProvider) GetVariants() []*DnsProviderVariant

func (*DnsProvider) ProtoMessage

func (*DnsProvider) ProtoMessage()

func (*DnsProvider) ProtoReflect

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

func (*DnsProvider) Reset

func (x *DnsProvider) Reset()

func (*DnsProvider) String

func (x *DnsProvider) String() string

type DnsProviderVariant

type DnsProviderVariant struct {

	// "provider/variant", e.g. "adguard/family".
	Id       string      `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	NameRu   string      `protobuf:"bytes,2,opt,name=name_ru,json=nameRu,proto3" json:"name_ru,omitempty"`
	NameEn   string      `protobuf:"bytes,3,opt,name=name_en,json=nameEn,proto3" json:"name_en,omitempty"`
	Category DnsCategory `protobuf:"varint,4,opt,name=category,proto3,enum=mistgate.admin.v1.DnsCategory" json:"category,omitempty"`
	// Plain DNS addresses, primary first. For a variant with plain = false they only bootstrap DoT/DoH.
	Ipv4 []string `protobuf:"bytes,5,rep,name=ipv4,proto3" json:"ipv4,omitempty"`
	Ipv6 []string `protobuf:"bytes,6,rep,name=ipv6,proto3" json:"ipv6,omitempty"`
	// Whether the addresses answer plain DNS (Mullvad's do not).
	Plain bool `protobuf:"varint,7,opt,name=plain,proto3" json:"plain,omitempty"`
	// DoT host name and port; empty host = no DoT endpoint known.
	DotHost string `protobuf:"bytes,8,opt,name=dot_host,json=dotHost,proto3" json:"dot_host,omitempty"`
	DotPort uint32 `protobuf:"varint,9,opt,name=dot_port,json=dotPort,proto3" json:"dot_port,omitempty"`
	// DoH URL; empty = none known.
	DohUrl string `protobuf:"bytes,10,opt,name=doh_url,json=dohUrl,proto3" json:"doh_url,omitempty"`
	NoteRu string `protobuf:"bytes,11,opt,name=note_ru,json=noteRu,proto3" json:"note_ru,omitempty"`
	NoteEn string `protobuf:"bytes,12,opt,name=note_en,json=noteEn,proto3" json:"note_en,omitempty"`
	// ISO 3166-1 alpha-2 country of a DNS_CATEGORY_REGIONAL variant ("RU", "CN"); empty for the others.
	Country string `protobuf:"bytes,13,opt,name=country,proto3" json:"country,omitempty"`
	// contains filtered or unexported fields
}

One way to use a provider: its plain, DoT and DoH endpoints.

func (*DnsProviderVariant) Descriptor deprecated

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

Deprecated: Use DnsProviderVariant.ProtoReflect.Descriptor instead.

func (*DnsProviderVariant) GetCategory

func (x *DnsProviderVariant) GetCategory() DnsCategory

func (*DnsProviderVariant) GetCountry added in v0.1.64

func (x *DnsProviderVariant) GetCountry() string

func (*DnsProviderVariant) GetDohUrl

func (x *DnsProviderVariant) GetDohUrl() string

func (*DnsProviderVariant) GetDotHost

func (x *DnsProviderVariant) GetDotHost() string

func (*DnsProviderVariant) GetDotPort

func (x *DnsProviderVariant) GetDotPort() uint32

func (*DnsProviderVariant) GetId

func (x *DnsProviderVariant) GetId() string

func (*DnsProviderVariant) GetIpv4

func (x *DnsProviderVariant) GetIpv4() []string

func (*DnsProviderVariant) GetIpv6

func (x *DnsProviderVariant) GetIpv6() []string

func (*DnsProviderVariant) GetNameEn

func (x *DnsProviderVariant) GetNameEn() string

func (*DnsProviderVariant) GetNameRu

func (x *DnsProviderVariant) GetNameRu() string

func (*DnsProviderVariant) GetNoteEn

func (x *DnsProviderVariant) GetNoteEn() string

func (*DnsProviderVariant) GetNoteRu

func (x *DnsProviderVariant) GetNoteRu() string

func (*DnsProviderVariant) GetPlain

func (x *DnsProviderVariant) GetPlain() bool

func (*DnsProviderVariant) ProtoMessage

func (*DnsProviderVariant) ProtoMessage()

func (*DnsProviderVariant) ProtoReflect

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

func (*DnsProviderVariant) Reset

func (x *DnsProviderVariant) Reset()

func (*DnsProviderVariant) String

func (x *DnsProviderVariant) String() string

type DnsResolvers

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

func (*DnsResolvers) Descriptor deprecated

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

Deprecated: Use DnsResolvers.ProtoReflect.Descriptor instead.

func (*DnsResolvers) GetValues

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

func (*DnsResolvers) ProtoMessage

func (*DnsResolvers) ProtoMessage()

func (*DnsResolvers) ProtoReflect

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

func (*DnsResolvers) Reset

func (x *DnsResolvers) Reset()

func (*DnsResolvers) String

func (x *DnsResolvers) String() string

type DnsServer

type DnsServer struct {
	Kind    DnsServerKind `protobuf:"varint,1,opt,name=kind,proto3,enum=mistgate.admin.v1.DnsServerKind" json:"kind,omitempty"`
	Address string        `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	// DnsProviderVariant.id, e.g. "cloudflare/family". The addresses come from the built-in catalog at render time.
	ProviderVariant string `protobuf:"bytes,3,opt,name=provider_variant,json=providerVariant,proto3" json:"provider_variant,omitempty"`
	// contains filtered or unexported fields
}

A resolver of a preset: a catalog variant (provider_variant set; kind and address are then filled with a plain or DoH address for old clients and ignored on input) or a custom address (kind + address, as before).

func (*DnsServer) Descriptor deprecated

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

Deprecated: Use DnsServer.ProtoReflect.Descriptor instead.

func (*DnsServer) GetAddress

func (x *DnsServer) GetAddress() string

func (*DnsServer) GetKind

func (x *DnsServer) GetKind() DnsServerKind

func (*DnsServer) GetProviderVariant

func (x *DnsServer) GetProviderVariant() string

func (*DnsServer) ProtoMessage

func (*DnsServer) ProtoMessage()

func (*DnsServer) ProtoReflect

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

func (*DnsServer) Reset

func (x *DnsServer) Reset()

func (*DnsServer) String

func (x *DnsServer) String() string

type DnsServerKind

type DnsServerKind int32
const (
	DnsServerKind_DNS_SERVER_KIND_UNSPECIFIED DnsServerKind = 0
	// Plain DNS over UDP/TCP: "77.88.8.8" or "77.88.8.8:53".
	DnsServerKind_DNS_SERVER_KIND_PLAIN DnsServerKind = 1
	// DNS over HTTPS: "https://dns.adguard-dns.com/dns-query".
	DnsServerKind_DNS_SERVER_KIND_DOH DnsServerKind = 2
	// DNS over TLS: "dns.adguard-dns.com" or "94.140.14.14:853".
	DnsServerKind_DNS_SERVER_KIND_DOT DnsServerKind = 3
)

func (DnsServerKind) Descriptor

func (DnsServerKind) Enum

func (x DnsServerKind) Enum() *DnsServerKind

func (DnsServerKind) EnumDescriptor deprecated

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

Deprecated: Use DnsServerKind.Descriptor instead.

func (DnsServerKind) Number

func (DnsServerKind) String

func (x DnsServerKind) String() string

func (DnsServerKind) Type

type DnsSource

type DnsSource int32
const (
	DnsSource_DNS_SOURCE_UNSPECIFIED DnsSource = 0
	DnsSource_DNS_SOURCE_USER        DnsSource = 1
	DnsSource_DNS_SOURCE_GROUP       DnsSource = 2
	DnsSource_DNS_SOURCE_DEFAULT     DnsSource = 3
)

func (DnsSource) Descriptor

func (DnsSource) Descriptor() protoreflect.EnumDescriptor

func (DnsSource) Enum

func (x DnsSource) Enum() *DnsSource

func (DnsSource) EnumDescriptor deprecated

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

Deprecated: Use DnsSource.Descriptor instead.

func (DnsSource) Number

func (x DnsSource) Number() protoreflect.EnumNumber

func (DnsSource) String

func (x DnsSource) String() string

func (DnsSource) Type

type DnsSplitRule

type DnsSplitRule struct {

	// ".ru", "gosuslugi.ru", ".рф" (IDN is normalised to punycode by the server). A rule needs suffixes or geo (or both).
	Suffixes []string     `protobuf:"bytes,1,rep,name=suffixes,proto3" json:"suffixes,omitempty"`
	Servers  []*DnsServer `protobuf:"bytes,2,rep,name=servers,proto3" json:"servers,omitempty"`
	// Whole-country site lists by code: "cn". The domains of the country's geosite list and the addresses of its geoip list
	// resolve through the rule's servers and go direct, like the suffixes. An unknown code is INVALID_ARGUMENT.
	Geo []string `protobuf:"bytes,3,rep,name=geo,proto3" json:"geo,omitempty"`
	// contains filtered or unexported fields
}

Domains ending in one of the suffixes resolve through these servers instead of the preset's main ones.

func (*DnsSplitRule) Descriptor deprecated

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

Deprecated: Use DnsSplitRule.ProtoReflect.Descriptor instead.

func (*DnsSplitRule) GetGeo added in v0.1.64

func (x *DnsSplitRule) GetGeo() []string

func (*DnsSplitRule) GetServers

func (x *DnsSplitRule) GetServers() []*DnsServer

func (*DnsSplitRule) GetSuffixes

func (x *DnsSplitRule) GetSuffixes() []string

func (*DnsSplitRule) ProtoMessage

func (*DnsSplitRule) ProtoMessage()

func (*DnsSplitRule) ProtoReflect

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

func (*DnsSplitRule) Reset

func (x *DnsSplitRule) Reset()

func (*DnsSplitRule) String

func (x *DnsSplitRule) String() string

type DnsTransport

type DnsTransport int32

How queries travel to a resolver. A preset has one preferred transport; each app gets it if it can carry it, else the next one down the chain DoH -> DoT -> plain.

const (
	DnsTransport_DNS_TRANSPORT_UNSPECIFIED DnsTransport = 0
	// Plain DNS over UDP/TCP (IP addresses).
	DnsTransport_DNS_TRANSPORT_PLAIN DnsTransport = 1
	// DNS over TLS (host name).
	DnsTransport_DNS_TRANSPORT_DOT DnsTransport = 2
	// DNS over HTTPS (URL).
	DnsTransport_DNS_TRANSPORT_DOH DnsTransport = 3
)

func (DnsTransport) Descriptor

func (DnsTransport) Enum

func (x DnsTransport) Enum() *DnsTransport

func (DnsTransport) EnumDescriptor deprecated

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

Deprecated: Use DnsTransport.Descriptor instead.

func (DnsTransport) Number

func (DnsTransport) String

func (x DnsTransport) String() string

func (DnsTransport) Type

type DoctorItem

type DoctorItem struct {

	// Check id, see agent.proto "CHECK IDS".
	Id     string       `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Status DoctorStatus `protobuf:"varint,2,opt,name=status,proto3,enum=mistgate.admin.v1.DoctorStatus" json:"status,omitempty"`
	// From the agent: "doctor.<id>.title" + params. `detail` is its short English fact line for the mono caption.
	TitleKey string            `protobuf:"bytes,3,opt,name=title_key,json=titleKey,proto3" json:"title_key,omitempty"`
	Detail   string            `protobuf:"bytes,4,opt,name=detail,proto3" json:"detail,omitempty"`
	Params   map[string]string `` /* 139-byte string literal not displayed */
	// Panel-side plain-language explanation, "health.doctor.<id>.why" (+ ".<variant>"); uses the same params.
	WhyKey string `protobuf:"bytes,6,opt,name=why_key,json=whyKey,proto3" json:"why_key,omitempty"`
	// Offered automatic fix (agent.proto "FIX IDS"); empty = none. Already cleared by the server when the node
	// is offline or its agent cannot apply fixes.
	FixId        string `protobuf:"bytes,7,opt,name=fix_id,json=fixId,proto3" json:"fix_id,omitempty"`
	MeasuredUnix int64  `protobuf:"varint,8,opt,name=measured_unix,json=measuredUnix,proto3" json:"measured_unix,omitempty"`
	// Code of the fact line (agent.proto DoctorResult.detail_code); the SPA writes the sentence from it and `params`
	// and shows `detail` when the code is empty or unknown (an older agent). The panel adds "profile" next to an
	// "inbound_id" param, "profiles" next to "inbounds" (the profiles' names) and, for warp_path, "profiles" of the
	// node's WARP-exit profiles.
	DetailCode string `protobuf:"bytes,9,opt,name=detail_code,json=detailCode,proto3" json:"detail_code,omitempty"`
	// Set while a WARN is accepted as normal for this node (AcceptDoctorItem): when and by whom (admin id and name).
	AcceptedUnix   int64  `protobuf:"varint,10,opt,name=accepted_unix,json=acceptedUnix,proto3" json:"accepted_unix,omitempty"`
	AcceptedBy     string `protobuf:"bytes,11,opt,name=accepted_by,json=acceptedBy,proto3" json:"accepted_by,omitempty"`
	AcceptedByName string `protobuf:"bytes,12,opt,name=accepted_by_name,json=acceptedByName,proto3" json:"accepted_by_name,omitempty"`
	// contains filtered or unexported fields
}

func (*DoctorItem) Descriptor deprecated

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

Deprecated: Use DoctorItem.ProtoReflect.Descriptor instead.

func (*DoctorItem) GetAcceptedBy

func (x *DoctorItem) GetAcceptedBy() string

func (*DoctorItem) GetAcceptedByName

func (x *DoctorItem) GetAcceptedByName() string

func (*DoctorItem) GetAcceptedUnix

func (x *DoctorItem) GetAcceptedUnix() int64

func (*DoctorItem) GetDetail

func (x *DoctorItem) GetDetail() string

func (*DoctorItem) GetDetailCode

func (x *DoctorItem) GetDetailCode() string

func (*DoctorItem) GetFixId

func (x *DoctorItem) GetFixId() string

func (*DoctorItem) GetId

func (x *DoctorItem) GetId() string

func (*DoctorItem) GetMeasuredUnix

func (x *DoctorItem) GetMeasuredUnix() int64

func (*DoctorItem) GetParams

func (x *DoctorItem) GetParams() map[string]string

func (*DoctorItem) GetStatus

func (x *DoctorItem) GetStatus() DoctorStatus

func (*DoctorItem) GetTitleKey

func (x *DoctorItem) GetTitleKey() string

func (*DoctorItem) GetWhyKey

func (x *DoctorItem) GetWhyKey() string

func (*DoctorItem) ProtoMessage

func (*DoctorItem) ProtoMessage()

func (*DoctorItem) ProtoReflect

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

func (*DoctorItem) Reset

func (x *DoctorItem) Reset()

func (*DoctorItem) String

func (x *DoctorItem) String() string

type DoctorStatus

type DoctorStatus int32
const (
	DoctorStatus_DOCTOR_STATUS_UNSPECIFIED DoctorStatus = 0
	DoctorStatus_DOCTOR_STATUS_OK          DoctorStatus = 1
	DoctorStatus_DOCTOR_STATUS_WARN        DoctorStatus = 2
	DoctorStatus_DOCTOR_STATUS_FAIL        DoctorStatus = 3
	// Not evaluated on this host (detail says why).
	DoctorStatus_DOCTOR_STATUS_SKIP DoctorStatus = 4
)

func (DoctorStatus) Descriptor

func (DoctorStatus) Enum

func (x DoctorStatus) Enum() *DoctorStatus

func (DoctorStatus) EnumDescriptor deprecated

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

Deprecated: Use DoctorStatus.Descriptor instead.

func (DoctorStatus) Number

func (DoctorStatus) String

func (x DoctorStatus) String() string

func (DoctorStatus) Type

type EndOtherSessionsRequest

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

func (*EndOtherSessionsRequest) Descriptor deprecated

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

Deprecated: Use EndOtherSessionsRequest.ProtoReflect.Descriptor instead.

func (*EndOtherSessionsRequest) ProtoMessage

func (*EndOtherSessionsRequest) ProtoMessage()

func (*EndOtherSessionsRequest) ProtoReflect

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

func (*EndOtherSessionsRequest) Reset

func (x *EndOtherSessionsRequest) Reset()

func (*EndOtherSessionsRequest) String

func (x *EndOtherSessionsRequest) String() string

type EndOtherSessionsResponse

type EndOtherSessionsResponse struct {
	Ended uint32 `protobuf:"varint,1,opt,name=ended,proto3" json:"ended,omitempty"`
	// contains filtered or unexported fields
}

func (*EndOtherSessionsResponse) Descriptor deprecated

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

Deprecated: Use EndOtherSessionsResponse.ProtoReflect.Descriptor instead.

func (*EndOtherSessionsResponse) GetEnded

func (x *EndOtherSessionsResponse) GetEnded() uint32

func (*EndOtherSessionsResponse) ProtoMessage

func (*EndOtherSessionsResponse) ProtoMessage()

func (*EndOtherSessionsResponse) ProtoReflect

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

func (*EndOtherSessionsResponse) Reset

func (x *EndOtherSessionsResponse) Reset()

func (*EndOtherSessionsResponse) String

func (x *EndOtherSessionsResponse) String() string

type EndSessionRequest

type EndSessionRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*EndSessionRequest) Descriptor deprecated

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

Deprecated: Use EndSessionRequest.ProtoReflect.Descriptor instead.

func (*EndSessionRequest) GetId

func (x *EndSessionRequest) GetId() string

func (*EndSessionRequest) ProtoMessage

func (*EndSessionRequest) ProtoMessage()

func (*EndSessionRequest) ProtoReflect

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

func (*EndSessionRequest) Reset

func (x *EndSessionRequest) Reset()

func (*EndSessionRequest) String

func (x *EndSessionRequest) String() string

type EndSessionResponse

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

func (*EndSessionResponse) Descriptor deprecated

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

Deprecated: Use EndSessionResponse.ProtoReflect.Descriptor instead.

func (*EndSessionResponse) ProtoMessage

func (*EndSessionResponse) ProtoMessage()

func (*EndSessionResponse) ProtoReflect

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

func (*EndSessionResponse) Reset

func (x *EndSessionResponse) Reset()

func (*EndSessionResponse) String

func (x *EndSessionResponse) String() string

type Event

type Event struct {

	// Monotonic; also the pagination cursor.
	Id       int64         `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	TimeUnix int64         `protobuf:"varint,2,opt,name=time_unix,json=timeUnix,proto3" json:"time_unix,omitempty"`
	Severity EventSeverity `protobuf:"varint,3,opt,name=severity,proto3,enum=mistgate.admin.v1.EventSeverity" json:"severity,omitempty"`
	// Open vocabulary, localized in the SPA (agent codes such as "engine_failed", panel codes such as
	// "user_over_quota", "node_down", "node_blip", "node_recovered", "user_created", "device_revoked").
	Code   string            `protobuf:"bytes,4,opt,name=code,proto3" json:"code,omitempty"`
	Params map[string]string `` /* 139-byte string literal not displayed */
	// Either or both may be set; names are resolved by the server (retired/deleted subjects keep their
	// last name).
	NodeId   string `protobuf:"bytes,6,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	NodeName string `protobuf:"bytes,7,opt,name=node_name,json=nodeName,proto3" json:"node_name,omitempty"`
	UserId   string `protobuf:"bytes,8,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	UserName string `protobuf:"bytes,9,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"`
	// Events about one profile on a node (engine_started, profile_added, ...): the inbound, and the profile it deploys,
	// joined when the list is read (a removed inbound falls back to the names the event itself recorded).
	InboundId   string `protobuf:"bytes,10,opt,name=inbound_id,json=inboundId,proto3" json:"inbound_id,omitempty"`
	ProfileName string `protobuf:"bytes,11,opt,name=profile_name,json=profileName,proto3" json:"profile_name,omitempty"`
	Protocol    string `protobuf:"bytes,12,opt,name=protocol,proto3" json:"protocol,omitempty"`
	// Who wrote it: "agent" | "panel" | "admin" (an admin action; params.actor says which admin).
	Source string `protobuf:"bytes,13,opt,name=source,proto3" json:"source,omitempty"`
	// contains filtered or unexported fields
}

func (*Event) Descriptor deprecated

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

Deprecated: Use Event.ProtoReflect.Descriptor instead.

func (*Event) GetCode

func (x *Event) GetCode() string

func (*Event) GetId

func (x *Event) GetId() int64

func (*Event) GetInboundId

func (x *Event) GetInboundId() string

func (*Event) GetNodeId

func (x *Event) GetNodeId() string

func (*Event) GetNodeName

func (x *Event) GetNodeName() string

func (*Event) GetParams

func (x *Event) GetParams() map[string]string

func (*Event) GetProfileName

func (x *Event) GetProfileName() string

func (*Event) GetProtocol

func (x *Event) GetProtocol() string

func (*Event) GetSeverity

func (x *Event) GetSeverity() EventSeverity

func (*Event) GetSource

func (x *Event) GetSource() string

func (*Event) GetTimeUnix

func (x *Event) GetTimeUnix() int64

func (*Event) GetUserId

func (x *Event) GetUserId() string

func (*Event) GetUserName

func (x *Event) GetUserName() string

func (*Event) ProtoMessage

func (*Event) ProtoMessage()

func (*Event) ProtoReflect

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

func (*Event) Reset

func (x *Event) Reset()

func (*Event) String

func (x *Event) String() string

type EventSeverity

type EventSeverity int32
const (
	EventSeverity_EVENT_SEVERITY_UNSPECIFIED EventSeverity = 0
	EventSeverity_EVENT_SEVERITY_INFO        EventSeverity = 1
	EventSeverity_EVENT_SEVERITY_WARNING     EventSeverity = 2
	EventSeverity_EVENT_SEVERITY_ERROR       EventSeverity = 3
)

func (EventSeverity) Descriptor

func (EventSeverity) Enum

func (x EventSeverity) Enum() *EventSeverity

func (EventSeverity) EnumDescriptor deprecated

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

Deprecated: Use EventSeverity.Descriptor instead.

func (EventSeverity) Number

func (EventSeverity) String

func (x EventSeverity) String() string

func (EventSeverity) Type

type ExtendUsersRequest

type ExtendUsersRequest struct {
	UserIds []string `protobuf:"bytes,1,rep,name=user_ids,json=userIds,proto3" json:"user_ids,omitempty"`
	Days    uint32   `protobuf:"varint,2,opt,name=days,proto3" json:"days,omitempty"`
	// contains filtered or unexported fields
}

func (*ExtendUsersRequest) Descriptor deprecated

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

Deprecated: Use ExtendUsersRequest.ProtoReflect.Descriptor instead.

func (*ExtendUsersRequest) GetDays

func (x *ExtendUsersRequest) GetDays() uint32

func (*ExtendUsersRequest) GetUserIds

func (x *ExtendUsersRequest) GetUserIds() []string

func (*ExtendUsersRequest) ProtoMessage

func (*ExtendUsersRequest) ProtoMessage()

func (*ExtendUsersRequest) ProtoReflect

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

func (*ExtendUsersRequest) Reset

func (x *ExtendUsersRequest) Reset()

func (*ExtendUsersRequest) String

func (x *ExtendUsersRequest) String() string

type ExtendUsersResponse

type ExtendUsersResponse struct {
	Users []*User `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"`
	// contains filtered or unexported fields
}

func (*ExtendUsersResponse) Descriptor deprecated

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

Deprecated: Use ExtendUsersResponse.ProtoReflect.Descriptor instead.

func (*ExtendUsersResponse) GetUsers

func (x *ExtendUsersResponse) GetUsers() []*User

func (*ExtendUsersResponse) ProtoMessage

func (*ExtendUsersResponse) ProtoMessage()

func (*ExtendUsersResponse) ProtoReflect

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

func (*ExtendUsersResponse) Reset

func (x *ExtendUsersResponse) Reset()

func (*ExtendUsersResponse) String

func (x *ExtendUsersResponse) String() string

type FieldError

type FieldError struct {

	// JSON pointer into settings, "/obfs/password".
	Pointer string `protobuf:"bytes,1,opt,name=pointer,proto3" json:"pointer,omitempty"`
	// Short message, already in English; the UI may map `code`.
	Code    string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"`
	Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
	// Numbers the text of a warning needs, by name (AWG mtu_headroom: suggested_mtu). Empty for errors.
	Params map[string]string `` /* 139-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*FieldError) Descriptor deprecated

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

Deprecated: Use FieldError.ProtoReflect.Descriptor instead.

func (*FieldError) GetCode

func (x *FieldError) GetCode() string

func (*FieldError) GetMessage

func (x *FieldError) GetMessage() string

func (*FieldError) GetParams

func (x *FieldError) GetParams() map[string]string

func (*FieldError) GetPointer

func (x *FieldError) GetPointer() string

func (*FieldError) ProtoMessage

func (*FieldError) ProtoMessage()

func (*FieldError) ProtoReflect

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

func (*FieldError) Reset

func (x *FieldError) Reset()

func (*FieldError) String

func (x *FieldError) String() string

type FinishAddPasskeyRequest

type FinishAddPasskeyRequest struct {
	CeremonyId     string `protobuf:"bytes,1,opt,name=ceremony_id,json=ceremonyId,proto3" json:"ceremony_id,omitempty"`
	CredentialJson string `protobuf:"bytes,2,opt,name=credential_json,json=credentialJson,proto3" json:"credential_json,omitempty"`
	// contains filtered or unexported fields
}

func (*FinishAddPasskeyRequest) Descriptor deprecated

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

Deprecated: Use FinishAddPasskeyRequest.ProtoReflect.Descriptor instead.

func (*FinishAddPasskeyRequest) GetCeremonyId

func (x *FinishAddPasskeyRequest) GetCeremonyId() string

func (*FinishAddPasskeyRequest) GetCredentialJson

func (x *FinishAddPasskeyRequest) GetCredentialJson() string

func (*FinishAddPasskeyRequest) ProtoMessage

func (*FinishAddPasskeyRequest) ProtoMessage()

func (*FinishAddPasskeyRequest) ProtoReflect

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

func (*FinishAddPasskeyRequest) Reset

func (x *FinishAddPasskeyRequest) Reset()

func (*FinishAddPasskeyRequest) String

func (x *FinishAddPasskeyRequest) String() string

type FinishAddPasskeyResponse

type FinishAddPasskeyResponse struct {
	Passkey *Passkey `protobuf:"bytes,1,opt,name=passkey,proto3" json:"passkey,omitempty"`
	// contains filtered or unexported fields
}

func (*FinishAddPasskeyResponse) Descriptor deprecated

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

Deprecated: Use FinishAddPasskeyResponse.ProtoReflect.Descriptor instead.

func (*FinishAddPasskeyResponse) GetPasskey

func (x *FinishAddPasskeyResponse) GetPasskey() *Passkey

func (*FinishAddPasskeyResponse) ProtoMessage

func (*FinishAddPasskeyResponse) ProtoMessage()

func (*FinishAddPasskeyResponse) ProtoReflect

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

func (*FinishAddPasskeyResponse) Reset

func (x *FinishAddPasskeyResponse) Reset()

func (*FinishAddPasskeyResponse) String

func (x *FinishAddPasskeyResponse) String() string

type FinishLoginRequest

type FinishLoginRequest struct {
	CeremonyId string `protobuf:"bytes,1,opt,name=ceremony_id,json=ceremonyId,proto3" json:"ceremony_id,omitempty"`
	// AuthenticationResponseJSON (credential.toJSON()).
	CredentialJson string `protobuf:"bytes,2,opt,name=credential_json,json=credentialJson,proto3" json:"credential_json,omitempty"`
	// Ignored: Begin already passed the Turnstile check (see the service comment).
	TurnstileToken string `protobuf:"bytes,3,opt,name=turnstile_token,json=turnstileToken,proto3" json:"turnstile_token,omitempty"`
	// contains filtered or unexported fields
}

func (*FinishLoginRequest) Descriptor deprecated

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

Deprecated: Use FinishLoginRequest.ProtoReflect.Descriptor instead.

func (*FinishLoginRequest) GetCeremonyId

func (x *FinishLoginRequest) GetCeremonyId() string

func (*FinishLoginRequest) GetCredentialJson

func (x *FinishLoginRequest) GetCredentialJson() string

func (*FinishLoginRequest) GetTurnstileToken

func (x *FinishLoginRequest) GetTurnstileToken() string

func (*FinishLoginRequest) ProtoMessage

func (*FinishLoginRequest) ProtoMessage()

func (*FinishLoginRequest) ProtoReflect

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

func (*FinishLoginRequest) Reset

func (x *FinishLoginRequest) Reset()

func (*FinishLoginRequest) String

func (x *FinishLoginRequest) String() string

type FinishLoginResponse

type FinishLoginResponse struct {
	Admin *Admin `protobuf:"bytes,1,opt,name=admin,proto3" json:"admin,omitempty"`
	// contains filtered or unexported fields
}

func (*FinishLoginResponse) Descriptor deprecated

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

Deprecated: Use FinishLoginResponse.ProtoReflect.Descriptor instead.

func (*FinishLoginResponse) GetAdmin

func (x *FinishLoginResponse) GetAdmin() *Admin

func (*FinishLoginResponse) ProtoMessage

func (*FinishLoginResponse) ProtoMessage()

func (*FinishLoginResponse) ProtoReflect

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

func (*FinishLoginResponse) Reset

func (x *FinishLoginResponse) Reset()

func (*FinishLoginResponse) String

func (x *FinishLoginResponse) String() string

type FinishSetupRequest

type FinishSetupRequest struct {
	SetupToken string `protobuf:"bytes,1,opt,name=setup_token,json=setupToken,proto3" json:"setup_token,omitempty"`
	CeremonyId string `protobuf:"bytes,2,opt,name=ceremony_id,json=ceremonyId,proto3" json:"ceremony_id,omitempty"`
	// PASSKEY: RegistrationResponseJSON (credential.toJSON()).
	CredentialJson string `protobuf:"bytes,3,opt,name=credential_json,json=credentialJson,proto3" json:"credential_json,omitempty"`
	// PASSWORD: the current 6-digit code from the authenticator app, proving the secret was scanned.
	// A wrong code is INVALID_ARGUMENT and can be retried (5 times) on the same ceremony.
	TotpCode string `protobuf:"bytes,4,opt,name=totp_code,json=totpCode,proto3" json:"totp_code,omitempty"`
	// Ignored: Begin already passed the Turnstile check (see the service comment).
	TurnstileToken string `protobuf:"bytes,5,opt,name=turnstile_token,json=turnstileToken,proto3" json:"turnstile_token,omitempty"`
	// contains filtered or unexported fields
}

func (*FinishSetupRequest) Descriptor deprecated

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

Deprecated: Use FinishSetupRequest.ProtoReflect.Descriptor instead.

func (*FinishSetupRequest) GetCeremonyId

func (x *FinishSetupRequest) GetCeremonyId() string

func (*FinishSetupRequest) GetCredentialJson

func (x *FinishSetupRequest) GetCredentialJson() string

func (*FinishSetupRequest) GetSetupToken

func (x *FinishSetupRequest) GetSetupToken() string

func (*FinishSetupRequest) GetTotpCode

func (x *FinishSetupRequest) GetTotpCode() string

func (*FinishSetupRequest) GetTurnstileToken

func (x *FinishSetupRequest) GetTurnstileToken() string

func (*FinishSetupRequest) ProtoMessage

func (*FinishSetupRequest) ProtoMessage()

func (*FinishSetupRequest) ProtoReflect

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

func (*FinishSetupRequest) Reset

func (x *FinishSetupRequest) Reset()

func (*FinishSetupRequest) String

func (x *FinishSetupRequest) String() string

type FinishSetupResponse

type FinishSetupResponse struct {
	Admin *Admin `protobuf:"bytes,1,opt,name=admin,proto3" json:"admin,omitempty"`
	// contains filtered or unexported fields
}

func (*FinishSetupResponse) Descriptor deprecated

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

Deprecated: Use FinishSetupResponse.ProtoReflect.Descriptor instead.

func (*FinishSetupResponse) GetAdmin

func (x *FinishSetupResponse) GetAdmin() *Admin

func (*FinishSetupResponse) ProtoMessage

func (*FinishSetupResponse) ProtoMessage()

func (*FinishSetupResponse) ProtoReflect

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

func (*FinishSetupResponse) Reset

func (x *FinishSetupResponse) Reset()

func (*FinishSetupResponse) String

func (x *FinishSetupResponse) String() string

type FinishStepUpRequest

type FinishStepUpRequest struct {

	// Passkey: from BeginStepUp, with the AuthenticationResponseJSON.
	CeremonyId     string `protobuf:"bytes,1,opt,name=ceremony_id,json=ceremonyId,proto3" json:"ceremony_id,omitempty"`
	CredentialJson string `protobuf:"bytes,2,opt,name=credential_json,json=credentialJson,proto3" json:"credential_json,omitempty"`
	// Password admin: the current 6-digit authenticator code. A code works once, and it must
	// be a newer one than the one the admin signed in with (wait for the next 30 s step).
	// 5 wrong codes lock step-up for 15 minutes.
	TotpCode string `protobuf:"bytes,3,opt,name=totp_code,json=totpCode,proto3" json:"totp_code,omitempty"`
	// contains filtered or unexported fields
}

func (*FinishStepUpRequest) Descriptor deprecated

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

Deprecated: Use FinishStepUpRequest.ProtoReflect.Descriptor instead.

func (*FinishStepUpRequest) GetCeremonyId

func (x *FinishStepUpRequest) GetCeremonyId() string

func (*FinishStepUpRequest) GetCredentialJson

func (x *FinishStepUpRequest) GetCredentialJson() string

func (*FinishStepUpRequest) GetTotpCode

func (x *FinishStepUpRequest) GetTotpCode() string

func (*FinishStepUpRequest) ProtoMessage

func (*FinishStepUpRequest) ProtoMessage()

func (*FinishStepUpRequest) ProtoReflect

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

func (*FinishStepUpRequest) Reset

func (x *FinishStepUpRequest) Reset()

func (*FinishStepUpRequest) String

func (x *FinishStepUpRequest) String() string

type FinishStepUpResponse

type FinishStepUpResponse struct {

	// Step-up protected calls work until this Unix time (5 minutes from now).
	StepUpUntilUnix int64 `protobuf:"varint,1,opt,name=step_up_until_unix,json=stepUpUntilUnix,proto3" json:"step_up_until_unix,omitempty"`
	// contains filtered or unexported fields
}

func (*FinishStepUpResponse) Descriptor deprecated

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

Deprecated: Use FinishStepUpResponse.ProtoReflect.Descriptor instead.

func (*FinishStepUpResponse) GetStepUpUntilUnix

func (x *FinishStepUpResponse) GetStepUpUntilUnix() int64

func (*FinishStepUpResponse) ProtoMessage

func (*FinishStepUpResponse) ProtoMessage()

func (*FinishStepUpResponse) ProtoReflect

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

func (*FinishStepUpResponse) Reset

func (x *FinishStepUpResponse) Reset()

func (*FinishStepUpResponse) String

func (x *FinishStepUpResponse) String() string

type FinishTotpEnrollmentRequest

type FinishTotpEnrollmentRequest struct {
	CeremonyId string `protobuf:"bytes,1,opt,name=ceremony_id,json=ceremonyId,proto3" json:"ceremony_id,omitempty"`
	// The current 6-digit code of the new secret.
	TotpCode string `protobuf:"bytes,2,opt,name=totp_code,json=totpCode,proto3" json:"totp_code,omitempty"`
	// contains filtered or unexported fields
}

func (*FinishTotpEnrollmentRequest) Descriptor deprecated

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

Deprecated: Use FinishTotpEnrollmentRequest.ProtoReflect.Descriptor instead.

func (*FinishTotpEnrollmentRequest) GetCeremonyId

func (x *FinishTotpEnrollmentRequest) GetCeremonyId() string

func (*FinishTotpEnrollmentRequest) GetTotpCode

func (x *FinishTotpEnrollmentRequest) GetTotpCode() string

func (*FinishTotpEnrollmentRequest) ProtoMessage

func (*FinishTotpEnrollmentRequest) ProtoMessage()

func (*FinishTotpEnrollmentRequest) ProtoReflect

func (*FinishTotpEnrollmentRequest) Reset

func (x *FinishTotpEnrollmentRequest) Reset()

func (*FinishTotpEnrollmentRequest) String

func (x *FinishTotpEnrollmentRequest) String() string

type FinishTotpEnrollmentResponse

type FinishTotpEnrollmentResponse struct {

	// The login the admin signs in with.
	Login string `protobuf:"bytes,1,opt,name=login,proto3" json:"login,omitempty"`
	// A re-bind ends the admin's other sessions: how many.
	EndedSessions uint32 `protobuf:"varint,2,opt,name=ended_sessions,json=endedSessions,proto3" json:"ended_sessions,omitempty"`
	// contains filtered or unexported fields
}

func (*FinishTotpEnrollmentResponse) Descriptor deprecated

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

Deprecated: Use FinishTotpEnrollmentResponse.ProtoReflect.Descriptor instead.

func (*FinishTotpEnrollmentResponse) GetEndedSessions

func (x *FinishTotpEnrollmentResponse) GetEndedSessions() uint32

func (*FinishTotpEnrollmentResponse) GetLogin

func (x *FinishTotpEnrollmentResponse) GetLogin() string

func (*FinishTotpEnrollmentResponse) ProtoMessage

func (*FinishTotpEnrollmentResponse) ProtoMessage()

func (*FinishTotpEnrollmentResponse) ProtoReflect

func (*FinishTotpEnrollmentResponse) Reset

func (x *FinishTotpEnrollmentResponse) Reset()

func (*FinishTotpEnrollmentResponse) String

type FixPlan

type FixPlan struct {
	FixId string `protobuf:"bytes,1,opt,name=fix_id,json=fixId,proto3" json:"fix_id,omitempty"`
	// "health.fix.<fix_id>.plan": one sentence with placeholders, e.g. "Shrink the journal from {before_mb}
	// MB to {after_mb} MB".
	TitleKey string `protobuf:"bytes,2,opt,name=title_key,json=titleKey,proto3" json:"title_key,omitempty"`
	// Facts from the node (agent CommandResult.params), short English line in `detail`.
	Params map[string]string `` /* 139-byte string literal not displayed */
	Detail string            `protobuf:"bytes,4,opt,name=detail,proto3" json:"detail,omitempty"`
	// true when the fix interrupts client traffic (restart_inbound or reconnect_warp). The UI shows a warning.
	Disruptive bool `protobuf:"varint,5,opt,name=disruptive,proto3" json:"disruptive,omitempty"`
	// contains filtered or unexported fields
}

What a fix will do (dry run) or did.

func (*FixPlan) Descriptor deprecated

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

Deprecated: Use FixPlan.ProtoReflect.Descriptor instead.

func (*FixPlan) GetDetail

func (x *FixPlan) GetDetail() string

func (*FixPlan) GetDisruptive

func (x *FixPlan) GetDisruptive() bool

func (*FixPlan) GetFixId

func (x *FixPlan) GetFixId() string

func (*FixPlan) GetParams

func (x *FixPlan) GetParams() map[string]string

func (*FixPlan) GetTitleKey

func (x *FixPlan) GetTitleKey() string

func (*FixPlan) ProtoMessage

func (*FixPlan) ProtoMessage()

func (*FixPlan) ProtoReflect

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

func (*FixPlan) Reset

func (x *FixPlan) Reset()

func (*FixPlan) String

func (x *FixPlan) String() string

type ForgetNodeServerAccessRequest added in v0.1.15

type ForgetNodeServerAccessRequest struct {
	NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ForgetNodeServerAccessRequest) Descriptor deprecated added in v0.1.15

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

Deprecated: Use ForgetNodeServerAccessRequest.ProtoReflect.Descriptor instead.

func (*ForgetNodeServerAccessRequest) GetNodeId added in v0.1.15

func (x *ForgetNodeServerAccessRequest) GetNodeId() string

func (*ForgetNodeServerAccessRequest) ProtoMessage added in v0.1.15

func (*ForgetNodeServerAccessRequest) ProtoMessage()

func (*ForgetNodeServerAccessRequest) ProtoReflect added in v0.1.15

func (*ForgetNodeServerAccessRequest) Reset added in v0.1.15

func (x *ForgetNodeServerAccessRequest) Reset()

func (*ForgetNodeServerAccessRequest) String added in v0.1.15

type ForgetNodeServerAccessResponse added in v0.1.15

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

func (*ForgetNodeServerAccessResponse) Descriptor deprecated added in v0.1.15

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

Deprecated: Use ForgetNodeServerAccessResponse.ProtoReflect.Descriptor instead.

func (*ForgetNodeServerAccessResponse) ProtoMessage added in v0.1.15

func (*ForgetNodeServerAccessResponse) ProtoMessage()

func (*ForgetNodeServerAccessResponse) ProtoReflect added in v0.1.15

func (*ForgetNodeServerAccessResponse) Reset added in v0.1.15

func (x *ForgetNodeServerAccessResponse) Reset()

func (*ForgetNodeServerAccessResponse) String added in v0.1.15

type GenerateMode

type GenerateMode int32
const (
	// Same as FULL.
	GenerateMode_GENERATE_MODE_UNSPECIFIED GenerateMode = 0
	// Everything: junk, S, H, timers, key, seed, signature packets.
	GenerateMode_GENERATE_MODE_FULL GenerateMode = 1
	// Only preset, domain and I1-I5. Not for the "custom" preset (INVALID_ARGUMENT: it has no generator).
	GenerateMode_GENERATE_MODE_SIGNATURE GenerateMode = 2
)

func (GenerateMode) Descriptor

func (GenerateMode) Enum

func (x GenerateMode) Enum() *GenerateMode

func (GenerateMode) EnumDescriptor deprecated

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

Deprecated: Use GenerateMode.Descriptor instead.

func (GenerateMode) Number

func (GenerateMode) String

func (x GenerateMode) String() string

func (GenerateMode) Type

type GenerateObfuscationRequest

type GenerateObfuscationRequest struct {

	// "3.1" | "2.0".
	Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	// A preset id from ListMimicryPresets.
	Preset string `protobuf:"bytes,2,opt,name=preset,proto3" json:"preset,omitempty"`
	// The profile MTU; the generator keeps every packet below it and S4 within the room 1500 leaves. 0 = 1280.
	// Not used by mode SIGNATURE.
	Mtu uint32 `protobuf:"varint,3,opt,name=mtu,proto3" json:"mtu,omitempty"`
	// Host name for the presets that carry one (MimicryPreset.uses_domain); empty = a random one from the built-in
	// list. A name that is not a valid host name is INVALID_ARGUMENT, whatever the preset.
	Domain string       `protobuf:"bytes,4,opt,name=domain,proto3" json:"domain,omitempty"`
	Mode   GenerateMode `protobuf:"varint,5,opt,name=mode,proto3,enum=mistgate.admin.v1.GenerateMode" json:"mode,omitempty"`
	// contains filtered or unexported fields
}

func (*GenerateObfuscationRequest) Descriptor deprecated

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

Deprecated: Use GenerateObfuscationRequest.ProtoReflect.Descriptor instead.

func (*GenerateObfuscationRequest) GetDomain

func (x *GenerateObfuscationRequest) GetDomain() string

func (*GenerateObfuscationRequest) GetMode

func (*GenerateObfuscationRequest) GetMtu

func (x *GenerateObfuscationRequest) GetMtu() uint32

func (*GenerateObfuscationRequest) GetPreset

func (x *GenerateObfuscationRequest) GetPreset() string

func (*GenerateObfuscationRequest) GetVersion

func (x *GenerateObfuscationRequest) GetVersion() string

func (*GenerateObfuscationRequest) ProtoMessage

func (*GenerateObfuscationRequest) ProtoMessage()

func (*GenerateObfuscationRequest) ProtoReflect

func (*GenerateObfuscationRequest) Reset

func (x *GenerateObfuscationRequest) Reset()

func (*GenerateObfuscationRequest) String

func (x *GenerateObfuscationRequest) String() string

type GenerateObfuscationResponse

type GenerateObfuscationResponse struct {

	// JSON object for the settings key `obfuscation`, secrets included (the header protection key is new).
	// FULL: every obfuscation key but per_device_signature (the owner's choice stays) and `domain` (what was asked
	// for, normalised). SIGNATURE: only `preset`, `domain`, `i1`..`i5`.
	ObfuscationJson string `protobuf:"bytes,1,opt,name=obfuscation_json,json=obfuscationJson,proto3" json:"obfuscation_json,omitempty"`
	// Non-fatal notes as validator-style FieldError rows (severity is implied: warnings), with params. Empty for
	// SIGNATURE: PreviewProfile has the live ones.
	Warnings []*FieldError `protobuf:"bytes,2,rep,name=warnings,proto3" json:"warnings,omitempty"`
	// contains filtered or unexported fields
}

func (*GenerateObfuscationResponse) Descriptor deprecated

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

Deprecated: Use GenerateObfuscationResponse.ProtoReflect.Descriptor instead.

func (*GenerateObfuscationResponse) GetObfuscationJson

func (x *GenerateObfuscationResponse) GetObfuscationJson() string

func (*GenerateObfuscationResponse) GetWarnings

func (x *GenerateObfuscationResponse) GetWarnings() []*FieldError

func (*GenerateObfuscationResponse) ProtoMessage

func (*GenerateObfuscationResponse) ProtoMessage()

func (*GenerateObfuscationResponse) ProtoReflect

func (*GenerateObfuscationResponse) Reset

func (x *GenerateObfuscationResponse) Reset()

func (*GenerateObfuscationResponse) String

func (x *GenerateObfuscationResponse) String() string

type GetBackupSettingsRequest

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

func (*GetBackupSettingsRequest) Descriptor deprecated

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

Deprecated: Use GetBackupSettingsRequest.ProtoReflect.Descriptor instead.

func (*GetBackupSettingsRequest) ProtoMessage

func (*GetBackupSettingsRequest) ProtoMessage()

func (*GetBackupSettingsRequest) ProtoReflect

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

func (*GetBackupSettingsRequest) Reset

func (x *GetBackupSettingsRequest) Reset()

func (*GetBackupSettingsRequest) String

func (x *GetBackupSettingsRequest) String() string

type GetBackupSettingsResponse

type GetBackupSettingsResponse struct {
	Settings *BackupSettings `protobuf:"bytes,1,opt,name=settings,proto3" json:"settings,omitempty"`
	// contains filtered or unexported fields
}

func (*GetBackupSettingsResponse) Descriptor deprecated

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

Deprecated: Use GetBackupSettingsResponse.ProtoReflect.Descriptor instead.

func (*GetBackupSettingsResponse) GetSettings

func (x *GetBackupSettingsResponse) GetSettings() *BackupSettings

func (*GetBackupSettingsResponse) ProtoMessage

func (*GetBackupSettingsResponse) ProtoMessage()

func (*GetBackupSettingsResponse) ProtoReflect

func (*GetBackupSettingsResponse) Reset

func (x *GetBackupSettingsResponse) Reset()

func (*GetBackupSettingsResponse) String

func (x *GetBackupSettingsResponse) String() string

type GetBlocklistRequest added in v0.1.41

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

func (*GetBlocklistRequest) Descriptor deprecated added in v0.1.41

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

Deprecated: Use GetBlocklistRequest.ProtoReflect.Descriptor instead.

func (*GetBlocklistRequest) ProtoMessage added in v0.1.41

func (*GetBlocklistRequest) ProtoMessage()

func (*GetBlocklistRequest) ProtoReflect added in v0.1.41

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

func (*GetBlocklistRequest) Reset added in v0.1.41

func (x *GetBlocklistRequest) Reset()

func (*GetBlocklistRequest) String added in v0.1.41

func (x *GetBlocklistRequest) String() string

type GetBlocklistResponse added in v0.1.41

type GetBlocklistResponse struct {
	Settings *BlocklistSettings `protobuf:"bytes,1,opt,name=settings,proto3" json:"settings,omitempty"`
	// contains filtered or unexported fields
}

func (*GetBlocklistResponse) Descriptor deprecated added in v0.1.41

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

Deprecated: Use GetBlocklistResponse.ProtoReflect.Descriptor instead.

func (*GetBlocklistResponse) GetSettings added in v0.1.41

func (x *GetBlocklistResponse) GetSettings() *BlocklistSettings

func (*GetBlocklistResponse) ProtoMessage added in v0.1.41

func (*GetBlocklistResponse) ProtoMessage()

func (*GetBlocklistResponse) ProtoReflect added in v0.1.41

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

func (*GetBlocklistResponse) Reset added in v0.1.41

func (x *GetBlocklistResponse) Reset()

func (*GetBlocklistResponse) String added in v0.1.41

func (x *GetBlocklistResponse) String() string

type GetBsbordRequest added in v0.1.63

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

func (*GetBsbordRequest) Descriptor deprecated added in v0.1.63

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

Deprecated: Use GetBsbordRequest.ProtoReflect.Descriptor instead.

func (*GetBsbordRequest) ProtoMessage added in v0.1.63

func (*GetBsbordRequest) ProtoMessage()

func (*GetBsbordRequest) ProtoReflect added in v0.1.63

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

func (*GetBsbordRequest) Reset added in v0.1.63

func (x *GetBsbordRequest) Reset()

func (*GetBsbordRequest) String added in v0.1.63

func (x *GetBsbordRequest) String() string

type GetBsbordResponse added in v0.1.63

type GetBsbordResponse struct {
	Settings *BsbordSettings `protobuf:"bytes,1,opt,name=settings,proto3" json:"settings,omitempty"`
	// contains filtered or unexported fields
}

func (*GetBsbordResponse) Descriptor deprecated added in v0.1.63

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

Deprecated: Use GetBsbordResponse.ProtoReflect.Descriptor instead.

func (*GetBsbordResponse) GetSettings added in v0.1.63

func (x *GetBsbordResponse) GetSettings() *BsbordSettings

func (*GetBsbordResponse) ProtoMessage added in v0.1.63

func (*GetBsbordResponse) ProtoMessage()

func (*GetBsbordResponse) ProtoReflect added in v0.1.63

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

func (*GetBsbordResponse) Reset added in v0.1.63

func (x *GetBsbordResponse) Reset()

func (*GetBsbordResponse) String added in v0.1.63

func (x *GetBsbordResponse) String() string

type GetCheburcheckRequest added in v0.1.63

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

func (*GetCheburcheckRequest) Descriptor deprecated added in v0.1.63

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

Deprecated: Use GetCheburcheckRequest.ProtoReflect.Descriptor instead.

func (*GetCheburcheckRequest) ProtoMessage added in v0.1.63

func (*GetCheburcheckRequest) ProtoMessage()

func (*GetCheburcheckRequest) ProtoReflect added in v0.1.63

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

func (*GetCheburcheckRequest) Reset added in v0.1.63

func (x *GetCheburcheckRequest) Reset()

func (*GetCheburcheckRequest) String added in v0.1.63

func (x *GetCheburcheckRequest) String() string

type GetCheburcheckResponse added in v0.1.63

type GetCheburcheckResponse struct {
	Settings *CheburcheckSettings `protobuf:"bytes,1,opt,name=settings,proto3" json:"settings,omitempty"`
	// contains filtered or unexported fields
}

func (*GetCheburcheckResponse) Descriptor deprecated added in v0.1.63

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

Deprecated: Use GetCheburcheckResponse.ProtoReflect.Descriptor instead.

func (*GetCheburcheckResponse) GetSettings added in v0.1.63

func (x *GetCheburcheckResponse) GetSettings() *CheburcheckSettings

func (*GetCheburcheckResponse) ProtoMessage added in v0.1.63

func (*GetCheburcheckResponse) ProtoMessage()

func (*GetCheburcheckResponse) ProtoReflect added in v0.1.63

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

func (*GetCheburcheckResponse) Reset added in v0.1.63

func (x *GetCheburcheckResponse) Reset()

func (*GetCheburcheckResponse) String added in v0.1.63

func (x *GetCheburcheckResponse) String() string

type GetChecksRequest

type GetChecksRequest struct {

	// Empty = every node (the Health tab); set = only that node (the node Overview pills).
	NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetChecksRequest) Descriptor deprecated

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

Deprecated: Use GetChecksRequest.ProtoReflect.Descriptor instead.

func (*GetChecksRequest) GetNodeId

func (x *GetChecksRequest) GetNodeId() string

func (*GetChecksRequest) ProtoMessage

func (*GetChecksRequest) ProtoMessage()

func (*GetChecksRequest) ProtoReflect

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

func (*GetChecksRequest) Reset

func (x *GetChecksRequest) Reset()

func (*GetChecksRequest) String

func (x *GetChecksRequest) String() string

type GetChecksResponse

type GetChecksResponse struct {
	NowUnix int64 `protobuf:"varint,1,opt,name=now_unix,json=nowUnix,proto3" json:"now_unix,omitempty"`
	// Seconds between rounds of one inbound (default 300).
	IntervalS uint32         `protobuf:"varint,2,opt,name=interval_s,json=intervalS,proto3" json:"interval_s,omitempty"`
	Columns   []*CheckColumn `protobuf:"bytes,3,rep,name=columns,proto3" json:"columns,omitempty"`
	// Name order. Retired nodes are omitted.
	Rows []*CheckRow `protobuf:"bytes,4,rep,name=rows,proto3" json:"rows,omitempty"`
	// Set when UDP handshakes of the panel's own probes keep needing a retry while its TCP probes are fine: the panel's
	// host loses inbound UDP, and people, who connect to the nodes directly, are not affected. Unset when there is
	// nothing to say.
	UdpLoss *UdpLossNotice `protobuf:"bytes,5,opt,name=udp_loss,json=udpLoss,proto3" json:"udp_loss,omitempty"`
	// The latest country check of every node that has one (a node with an alert-worthy verdict first is the SPA's job): the
	// live Globalping round, the TSPU probe's run and what the block lists say, combined into one verdict (CountryCheck.confidence,
	// CountryCheck.sources). With GetChecksRequest.node_id only that node's. Empty while all three sources are off.
	CountryChecks []*CountryCheck `protobuf:"bytes,6,rep,name=country_checks,json=countryChecks,proto3" json:"country_checks,omitempty"`
	// The newest run of the TSPU probe (tspu_probe.proto): its status, time, probe node and dpi_hop. Unset while that source is
	// off or has not run yet. The per-node rows are in country_checks.
	TspuRun *TspuProbeRun `protobuf:"bytes,7,opt,name=tspu_run,json=tspuRun,proto3" json:"tspu_run,omitempty"`
	// contains filtered or unexported fields
}

func (*GetChecksResponse) Descriptor deprecated

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

Deprecated: Use GetChecksResponse.ProtoReflect.Descriptor instead.

func (*GetChecksResponse) GetColumns

func (x *GetChecksResponse) GetColumns() []*CheckColumn

func (*GetChecksResponse) GetCountryChecks added in v0.1.41

func (x *GetChecksResponse) GetCountryChecks() []*CountryCheck

func (*GetChecksResponse) GetIntervalS

func (x *GetChecksResponse) GetIntervalS() uint32

func (*GetChecksResponse) GetNowUnix

func (x *GetChecksResponse) GetNowUnix() int64

func (*GetChecksResponse) GetRows

func (x *GetChecksResponse) GetRows() []*CheckRow

func (*GetChecksResponse) GetTspuRun added in v0.1.42

func (x *GetChecksResponse) GetTspuRun() *TspuProbeRun

func (*GetChecksResponse) GetUdpLoss added in v0.1.41

func (x *GetChecksResponse) GetUdpLoss() *UdpLossNotice

func (*GetChecksResponse) ProtoMessage

func (*GetChecksResponse) ProtoMessage()

func (*GetChecksResponse) ProtoReflect

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

func (*GetChecksResponse) Reset

func (x *GetChecksResponse) Reset()

func (*GetChecksResponse) String

func (x *GetChecksResponse) String() string

type GetClientProbeRequest added in v0.1.51

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

func (*GetClientProbeRequest) Descriptor deprecated added in v0.1.51

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

Deprecated: Use GetClientProbeRequest.ProtoReflect.Descriptor instead.

func (*GetClientProbeRequest) ProtoMessage added in v0.1.51

func (*GetClientProbeRequest) ProtoMessage()

func (*GetClientProbeRequest) ProtoReflect added in v0.1.51

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

func (*GetClientProbeRequest) Reset added in v0.1.51

func (x *GetClientProbeRequest) Reset()

func (*GetClientProbeRequest) String added in v0.1.51

func (x *GetClientProbeRequest) String() string

type GetClientProbeResponse added in v0.1.51

type GetClientProbeResponse struct {
	Settings *ClientProbeSettings `protobuf:"bytes,1,opt,name=settings,proto3" json:"settings,omitempty"`
	// Every node a stored report checked, by node id; empty while the source is off.
	Nodes   []*ClientProbeNode `protobuf:"bytes,2,rep,name=nodes,proto3" json:"nodes,omitempty"`
	NowUnix int64              `protobuf:"varint,3,opt,name=now_unix,json=nowUnix,proto3" json:"now_unix,omitempty"`
	// contains filtered or unexported fields
}

func (*GetClientProbeResponse) Descriptor deprecated added in v0.1.51

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

Deprecated: Use GetClientProbeResponse.ProtoReflect.Descriptor instead.

func (*GetClientProbeResponse) GetNodes added in v0.1.51

func (x *GetClientProbeResponse) GetNodes() []*ClientProbeNode

func (*GetClientProbeResponse) GetNowUnix added in v0.1.51

func (x *GetClientProbeResponse) GetNowUnix() int64

func (*GetClientProbeResponse) GetSettings added in v0.1.51

func (x *GetClientProbeResponse) GetSettings() *ClientProbeSettings

func (*GetClientProbeResponse) ProtoMessage added in v0.1.51

func (*GetClientProbeResponse) ProtoMessage()

func (*GetClientProbeResponse) ProtoReflect added in v0.1.51

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

func (*GetClientProbeResponse) Reset added in v0.1.51

func (x *GetClientProbeResponse) Reset()

func (*GetClientProbeResponse) String added in v0.1.51

func (x *GetClientProbeResponse) String() string

type GetCountryReachabilityRequest added in v0.1.41

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

func (*GetCountryReachabilityRequest) Descriptor deprecated added in v0.1.41

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

Deprecated: Use GetCountryReachabilityRequest.ProtoReflect.Descriptor instead.

func (*GetCountryReachabilityRequest) ProtoMessage added in v0.1.41

func (*GetCountryReachabilityRequest) ProtoMessage()

func (*GetCountryReachabilityRequest) ProtoReflect added in v0.1.41

func (*GetCountryReachabilityRequest) Reset added in v0.1.41

func (x *GetCountryReachabilityRequest) Reset()

func (*GetCountryReachabilityRequest) String added in v0.1.41

type GetCountryReachabilityResponse added in v0.1.41

type GetCountryReachabilityResponse struct {
	Settings *CountryReachability `protobuf:"bytes,1,opt,name=settings,proto3" json:"settings,omitempty"`
	// contains filtered or unexported fields
}

func (*GetCountryReachabilityResponse) Descriptor deprecated added in v0.1.41

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

Deprecated: Use GetCountryReachabilityResponse.ProtoReflect.Descriptor instead.

func (*GetCountryReachabilityResponse) GetSettings added in v0.1.41

func (*GetCountryReachabilityResponse) ProtoMessage added in v0.1.41

func (*GetCountryReachabilityResponse) ProtoMessage()

func (*GetCountryReachabilityResponse) ProtoReflect added in v0.1.41

func (*GetCountryReachabilityResponse) Reset added in v0.1.41

func (x *GetCountryReachabilityResponse) Reset()

func (*GetCountryReachabilityResponse) String added in v0.1.41

type GetDeviceConfigsRequest

type GetDeviceConfigsRequest struct {
	DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetDeviceConfigsRequest) Descriptor deprecated

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

Deprecated: Use GetDeviceConfigsRequest.ProtoReflect.Descriptor instead.

func (*GetDeviceConfigsRequest) GetDeviceId

func (x *GetDeviceConfigsRequest) GetDeviceId() string

func (*GetDeviceConfigsRequest) ProtoMessage

func (*GetDeviceConfigsRequest) ProtoMessage()

func (*GetDeviceConfigsRequest) ProtoReflect

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

func (*GetDeviceConfigsRequest) Reset

func (x *GetDeviceConfigsRequest) Reset()

func (*GetDeviceConfigsRequest) String

func (x *GetDeviceConfigsRequest) String() string

type GetDeviceConfigsResponse

type GetDeviceConfigsResponse struct {
	Device  *Device         `protobuf:"bytes,1,opt,name=device,proto3" json:"device,omitempty"`
	Configs []*DeviceConfig `protobuf:"bytes,2,rep,name=configs,proto3" json:"configs,omitempty"`
	// contains filtered or unexported fields
}

func (*GetDeviceConfigsResponse) Descriptor deprecated

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

Deprecated: Use GetDeviceConfigsResponse.ProtoReflect.Descriptor instead.

func (*GetDeviceConfigsResponse) GetConfigs

func (x *GetDeviceConfigsResponse) GetConfigs() []*DeviceConfig

func (*GetDeviceConfigsResponse) GetDevice

func (x *GetDeviceConfigsResponse) GetDevice() *Device

func (*GetDeviceConfigsResponse) ProtoMessage

func (*GetDeviceConfigsResponse) ProtoMessage()

func (*GetDeviceConfigsResponse) ProtoReflect

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

func (*GetDeviceConfigsResponse) Reset

func (x *GetDeviceConfigsResponse) Reset()

func (*GetDeviceConfigsResponse) String

func (x *GetDeviceConfigsResponse) String() string

type GetDoctorRequest

type GetDoctorRequest struct {

	// Empty = every non-retired node (the fleet Doctor tab).
	NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetDoctorRequest) Descriptor deprecated

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

Deprecated: Use GetDoctorRequest.ProtoReflect.Descriptor instead.

func (*GetDoctorRequest) GetNodeId

func (x *GetDoctorRequest) GetNodeId() string

func (*GetDoctorRequest) ProtoMessage

func (*GetDoctorRequest) ProtoMessage()

func (*GetDoctorRequest) ProtoReflect

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

func (*GetDoctorRequest) Reset

func (x *GetDoctorRequest) Reset()

func (*GetDoctorRequest) String

func (x *GetDoctorRequest) String() string

type GetDoctorResponse

type GetDoctorResponse struct {
	NowUnix int64 `protobuf:"varint,1,opt,name=now_unix,json=nowUnix,proto3" json:"now_unix,omitempty"`
	// Name order.
	Nodes []*NodeDoctor `protobuf:"bytes,2,rep,name=nodes,proto3" json:"nodes,omitempty"`
	// contains filtered or unexported fields
}

func (*GetDoctorResponse) Descriptor deprecated

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

Deprecated: Use GetDoctorResponse.ProtoReflect.Descriptor instead.

func (*GetDoctorResponse) GetNodes

func (x *GetDoctorResponse) GetNodes() []*NodeDoctor

func (*GetDoctorResponse) GetNowUnix

func (x *GetDoctorResponse) GetNowUnix() int64

func (*GetDoctorResponse) ProtoMessage

func (*GetDoctorResponse) ProtoMessage()

func (*GetDoctorResponse) ProtoReflect

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

func (*GetDoctorResponse) Reset

func (x *GetDoctorResponse) Reset()

func (*GetDoctorResponse) String

func (x *GetDoctorResponse) String() string

type GetFleetConnectionsRequest added in v0.1.56

type GetFleetConnectionsRequest struct {

	// Hours back from now, 1 to 168. 0 means 24; more is cut to 168.
	Hours uint32 `protobuf:"varint,1,opt,name=hours,proto3" json:"hours,omitempty"`
	// contains filtered or unexported fields
}

func (*GetFleetConnectionsRequest) Descriptor deprecated added in v0.1.56

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

Deprecated: Use GetFleetConnectionsRequest.ProtoReflect.Descriptor instead.

func (*GetFleetConnectionsRequest) GetHours added in v0.1.56

func (x *GetFleetConnectionsRequest) GetHours() uint32

func (*GetFleetConnectionsRequest) ProtoMessage added in v0.1.56

func (*GetFleetConnectionsRequest) ProtoMessage()

func (*GetFleetConnectionsRequest) ProtoReflect added in v0.1.56

func (*GetFleetConnectionsRequest) Reset added in v0.1.56

func (x *GetFleetConnectionsRequest) Reset()

func (*GetFleetConnectionsRequest) String added in v0.1.56

func (x *GetFleetConnectionsRequest) String() string

type GetFleetConnectionsResponse added in v0.1.56

type GetFleetConnectionsResponse struct {
	SinceUnix int64 `protobuf:"varint,1,opt,name=since_unix,json=sinceUnix,proto3" json:"since_unix,omitempty"`
	NowUnix   int64 `protobuf:"varint,2,opt,name=now_unix,json=nowUnix,proto3" json:"now_unix,omitempty"`
	// Every node that is not retired, by name.
	Nodes []*NodeConnections `protobuf:"bytes,3,rep,name=nodes,proto3" json:"nodes,omitempty"`
	// contains filtered or unexported fields
}

func (*GetFleetConnectionsResponse) Descriptor deprecated added in v0.1.56

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

Deprecated: Use GetFleetConnectionsResponse.ProtoReflect.Descriptor instead.

func (*GetFleetConnectionsResponse) GetNodes added in v0.1.56

func (*GetFleetConnectionsResponse) GetNowUnix added in v0.1.56

func (x *GetFleetConnectionsResponse) GetNowUnix() int64

func (*GetFleetConnectionsResponse) GetSinceUnix added in v0.1.56

func (x *GetFleetConnectionsResponse) GetSinceUnix() int64

func (*GetFleetConnectionsResponse) ProtoMessage added in v0.1.56

func (*GetFleetConnectionsResponse) ProtoMessage()

func (*GetFleetConnectionsResponse) ProtoReflect added in v0.1.56

func (*GetFleetConnectionsResponse) Reset added in v0.1.56

func (x *GetFleetConnectionsResponse) Reset()

func (*GetFleetConnectionsResponse) String added in v0.1.56

func (x *GetFleetConnectionsResponse) String() string

type GetGlobalpingRequest added in v0.1.41

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

func (*GetGlobalpingRequest) Descriptor deprecated added in v0.1.41

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

Deprecated: Use GetGlobalpingRequest.ProtoReflect.Descriptor instead.

func (*GetGlobalpingRequest) ProtoMessage added in v0.1.41

func (*GetGlobalpingRequest) ProtoMessage()

func (*GetGlobalpingRequest) ProtoReflect added in v0.1.41

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

func (*GetGlobalpingRequest) Reset added in v0.1.41

func (x *GetGlobalpingRequest) Reset()

func (*GetGlobalpingRequest) String added in v0.1.41

func (x *GetGlobalpingRequest) String() string

type GetGlobalpingResponse added in v0.1.41

type GetGlobalpingResponse struct {
	Settings *GlobalpingSettings `protobuf:"bytes,1,opt,name=settings,proto3" json:"settings,omitempty"`
	// contains filtered or unexported fields
}

func (*GetGlobalpingResponse) Descriptor deprecated added in v0.1.41

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

Deprecated: Use GetGlobalpingResponse.ProtoReflect.Descriptor instead.

func (*GetGlobalpingResponse) GetSettings added in v0.1.41

func (x *GetGlobalpingResponse) GetSettings() *GlobalpingSettings

func (*GetGlobalpingResponse) ProtoMessage added in v0.1.41

func (*GetGlobalpingResponse) ProtoMessage()

func (*GetGlobalpingResponse) ProtoReflect added in v0.1.41

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

func (*GetGlobalpingResponse) Reset added in v0.1.41

func (x *GetGlobalpingResponse) Reset()

func (*GetGlobalpingResponse) String added in v0.1.41

func (x *GetGlobalpingResponse) String() string

type GetInstanceRequest

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

func (*GetInstanceRequest) Descriptor deprecated

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

Deprecated: Use GetInstanceRequest.ProtoReflect.Descriptor instead.

func (*GetInstanceRequest) ProtoMessage

func (*GetInstanceRequest) ProtoMessage()

func (*GetInstanceRequest) ProtoReflect

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

func (*GetInstanceRequest) Reset

func (x *GetInstanceRequest) Reset()

func (*GetInstanceRequest) String

func (x *GetInstanceRequest) String() string

type GetInstanceResponse

type GetInstanceResponse struct {
	Instance *Instance `protobuf:"bytes,1,opt,name=instance,proto3" json:"instance,omitempty"`
	// contains filtered or unexported fields
}

func (*GetInstanceResponse) Descriptor deprecated

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

Deprecated: Use GetInstanceResponse.ProtoReflect.Descriptor instead.

func (*GetInstanceResponse) GetInstance

func (x *GetInstanceResponse) GetInstance() *Instance

func (*GetInstanceResponse) ProtoMessage

func (*GetInstanceResponse) ProtoMessage()

func (*GetInstanceResponse) ProtoReflect

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

func (*GetInstanceResponse) Reset

func (x *GetInstanceResponse) Reset()

func (*GetInstanceResponse) String

func (x *GetInstanceResponse) String() string

type GetLoginInfoRequest

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

func (*GetLoginInfoRequest) Descriptor deprecated

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

Deprecated: Use GetLoginInfoRequest.ProtoReflect.Descriptor instead.

func (*GetLoginInfoRequest) ProtoMessage

func (*GetLoginInfoRequest) ProtoMessage()

func (*GetLoginInfoRequest) ProtoReflect

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

func (*GetLoginInfoRequest) Reset

func (x *GetLoginInfoRequest) Reset()

func (*GetLoginInfoRequest) String

func (x *GetLoginInfoRequest) String() string

type GetLoginInfoResponse

type GetLoginInfoResponse struct {

	// Wordmark parts: head in the text colour, tail in the accent colour. See InstanceService.
	BrandHead string `protobuf:"bytes,1,opt,name=brand_head,json=brandHead,proto3" json:"brand_head,omitempty"`
	BrandTail string `protobuf:"bytes,2,opt,name=brand_tail,json=brandTail,proto3" json:"brand_tail,omitempty"`
	// "#rrggbb".
	Accent string `protobuf:"bytes,3,opt,name=accent,proto3" json:"accent,omitempty"`
	// Default UI language, "en", "ru", or "zh".
	Language string `protobuf:"bytes,4,opt,name=language,proto3" json:"language,omitempty"`
	HasLogo bool `protobuf:"varint,5,opt,name=has_logo,json=hasLogo,proto3" json:"has_logo,omitempty"`
	// No admin exists yet: the setup page may be offered.
	SetupOpen bool `protobuf:"varint,6,opt,name=setup_open,json=setupOpen,proto3" json:"setup_open,omitempty"`
	// At least one admin can sign in with a password: show "another way" on the sign-in page.
	PasswordLogin bool `protobuf:"varint,7,opt,name=password_login,json=passwordLogin,proto3" json:"password_login,omitempty"`
	// Cloudflare Turnstile is on: render the widget (site_key) and send its token as
	// turnstile_token with BeginSetup, BeginLogin and PasswordLogin. Load the Cloudflare script
	// only when this is true. Both fields are empty/false when it is off.
	TurnstileEnabled bool   `protobuf:"varint,8,opt,name=turnstile_enabled,json=turnstileEnabled,proto3" json:"turnstile_enabled,omitempty"`
	TurnstileSiteKey string `protobuf:"bytes,9,opt,name=turnstile_site_key,json=turnstileSiteKey,proto3" json:"turnstile_site_key,omitempty"`
	// contains filtered or unexported fields
}

func (*GetLoginInfoResponse) Descriptor deprecated

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

Deprecated: Use GetLoginInfoResponse.ProtoReflect.Descriptor instead.

func (*GetLoginInfoResponse) GetAccent

func (x *GetLoginInfoResponse) GetAccent() string

func (*GetLoginInfoResponse) GetBrandHead

func (x *GetLoginInfoResponse) GetBrandHead() string

func (*GetLoginInfoResponse) GetBrandTail

func (x *GetLoginInfoResponse) GetBrandTail() string
func (x *GetLoginInfoResponse) GetHasLogo() bool

func (*GetLoginInfoResponse) GetLanguage

func (x *GetLoginInfoResponse) GetLanguage() string

func (*GetLoginInfoResponse) GetPasswordLogin

func (x *GetLoginInfoResponse) GetPasswordLogin() bool

func (*GetLoginInfoResponse) GetSetupOpen

func (x *GetLoginInfoResponse) GetSetupOpen() bool

func (*GetLoginInfoResponse) GetTurnstileEnabled

func (x *GetLoginInfoResponse) GetTurnstileEnabled() bool

func (*GetLoginInfoResponse) GetTurnstileSiteKey

func (x *GetLoginInfoResponse) GetTurnstileSiteKey() string

func (*GetLoginInfoResponse) ProtoMessage

func (*GetLoginInfoResponse) ProtoMessage()

func (*GetLoginInfoResponse) ProtoReflect

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

func (*GetLoginInfoResponse) Reset

func (x *GetLoginInfoResponse) Reset()

func (*GetLoginInfoResponse) String

func (x *GetLoginInfoResponse) String() string

type GetNodeConnectionsRequest added in v0.1.53

type GetNodeConnectionsRequest struct {
	NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	// Hours back from now, 1 to 168 (the retention). 0 means 24; more is cut to 168.
	Hours uint32 `protobuf:"varint,2,opt,name=hours,proto3" json:"hours,omitempty"`
	// Also each inbound hour by hour (InboundConnections.hours).
	ByHour bool `protobuf:"varint,3,opt,name=by_hour,json=byHour,proto3" json:"by_hour,omitempty"`
	// contains filtered or unexported fields
}

func (*GetNodeConnectionsRequest) Descriptor deprecated added in v0.1.53

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

Deprecated: Use GetNodeConnectionsRequest.ProtoReflect.Descriptor instead.

func (*GetNodeConnectionsRequest) GetByHour added in v0.1.56

func (x *GetNodeConnectionsRequest) GetByHour() bool

func (*GetNodeConnectionsRequest) GetHours added in v0.1.53

func (x *GetNodeConnectionsRequest) GetHours() uint32

func (*GetNodeConnectionsRequest) GetNodeId added in v0.1.53

func (x *GetNodeConnectionsRequest) GetNodeId() string

func (*GetNodeConnectionsRequest) ProtoMessage added in v0.1.53

func (*GetNodeConnectionsRequest) ProtoMessage()

func (*GetNodeConnectionsRequest) ProtoReflect added in v0.1.53

func (*GetNodeConnectionsRequest) Reset added in v0.1.53

func (x *GetNodeConnectionsRequest) Reset()

func (*GetNodeConnectionsRequest) String added in v0.1.53

func (x *GetNodeConnectionsRequest) String() string

type GetNodeConnectionsResponse added in v0.1.53

type GetNodeConnectionsResponse struct {

	// false: the node's agent does not send connection counters (it does not list "links/1"); inbounds is then empty.
	Supported bool  `protobuf:"varint,1,opt,name=supported,proto3" json:"supported,omitempty"`
	SinceUnix int64 `protobuf:"varint,2,opt,name=since_unix,json=sinceUnix,proto3" json:"since_unix,omitempty"`
	NowUnix   int64 `protobuf:"varint,3,opt,name=now_unix,json=nowUnix,proto3" json:"now_unix,omitempty"`
	// The node's inbounds that are not removed, in the order of the node page.
	Inbounds []*InboundConnections `protobuf:"bytes,4,rep,name=inbounds,proto3" json:"inbounds,omitempty"`
	// contains filtered or unexported fields
}

func (*GetNodeConnectionsResponse) Descriptor deprecated added in v0.1.53

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

Deprecated: Use GetNodeConnectionsResponse.ProtoReflect.Descriptor instead.

func (*GetNodeConnectionsResponse) GetInbounds added in v0.1.53

func (x *GetNodeConnectionsResponse) GetInbounds() []*InboundConnections

func (*GetNodeConnectionsResponse) GetNowUnix added in v0.1.53

func (x *GetNodeConnectionsResponse) GetNowUnix() int64

func (*GetNodeConnectionsResponse) GetSinceUnix added in v0.1.53

func (x *GetNodeConnectionsResponse) GetSinceUnix() int64

func (*GetNodeConnectionsResponse) GetSupported added in v0.1.53

func (x *GetNodeConnectionsResponse) GetSupported() bool

func (*GetNodeConnectionsResponse) ProtoMessage added in v0.1.53

func (*GetNodeConnectionsResponse) ProtoMessage()

func (*GetNodeConnectionsResponse) ProtoReflect added in v0.1.53

func (*GetNodeConnectionsResponse) Reset added in v0.1.53

func (x *GetNodeConnectionsResponse) Reset()

func (*GetNodeConnectionsResponse) String added in v0.1.53

func (x *GetNodeConnectionsResponse) String() string

type GetNodeJournalRequest added in v0.1.55

type GetNodeJournalRequest struct {

	// "" = every node that is not retired.
	NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	// Hours back from now, 1 to 168 (the retention). 0 means 24; more is cut to 168.
	Hours uint32 `protobuf:"varint,2,opt,name=hours,proto3" json:"hours,omitempty"`
	// WARNING (also for UNSPECIFIED and INFO) or ERROR.
	MinLevel EventSeverity `protobuf:"varint,3,opt,name=min_level,json=minLevel,proto3,enum=mistgate.admin.v1.EventSeverity" json:"min_level,omitempty"`
	// "agent", "hysteria2", "vless", "awg", "xray", ... "" = all.
	Source string `protobuf:"bytes,4,opt,name=source,proto3" json:"source,omitempty"`
	// "" = all; else only this inbound's entries.
	InboundId string `protobuf:"bytes,5,opt,name=inbound_id,json=inboundId,proto3" json:"inbound_id,omitempty"`
	// Case-insensitive substring of the message or of an attribute value; at most 100 characters. "" = all.
	Query string `protobuf:"bytes,6,opt,name=query,proto3" json:"query,omitempty"`
	// At most 200; 0 means 100.
	Limit uint32 `protobuf:"varint,7,opt,name=limit,proto3" json:"limit,omitempty"`
	// contains filtered or unexported fields
}

func (*GetNodeJournalRequest) Descriptor deprecated added in v0.1.55

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

Deprecated: Use GetNodeJournalRequest.ProtoReflect.Descriptor instead.

func (*GetNodeJournalRequest) GetHours added in v0.1.55

func (x *GetNodeJournalRequest) GetHours() uint32

func (*GetNodeJournalRequest) GetInboundId added in v0.1.55

func (x *GetNodeJournalRequest) GetInboundId() string

func (*GetNodeJournalRequest) GetLimit added in v0.1.55

func (x *GetNodeJournalRequest) GetLimit() uint32

func (*GetNodeJournalRequest) GetMinLevel added in v0.1.55

func (x *GetNodeJournalRequest) GetMinLevel() EventSeverity

func (*GetNodeJournalRequest) GetNodeId added in v0.1.55

func (x *GetNodeJournalRequest) GetNodeId() string

func (*GetNodeJournalRequest) GetQuery added in v0.1.55

func (x *GetNodeJournalRequest) GetQuery() string

func (*GetNodeJournalRequest) GetSource added in v0.1.55

func (x *GetNodeJournalRequest) GetSource() string

func (*GetNodeJournalRequest) ProtoMessage added in v0.1.55

func (*GetNodeJournalRequest) ProtoMessage()

func (*GetNodeJournalRequest) ProtoReflect added in v0.1.55

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

func (*GetNodeJournalRequest) Reset added in v0.1.55

func (x *GetNodeJournalRequest) Reset()

func (*GetNodeJournalRequest) String added in v0.1.55

func (x *GetNodeJournalRequest) String() string

type GetNodeJournalResponse added in v0.1.55

type GetNodeJournalResponse struct {
	SinceUnix int64 `protobuf:"varint,1,opt,name=since_unix,json=sinceUnix,proto3" json:"since_unix,omitempty"`
	NowUnix   int64 `protobuf:"varint,2,opt,name=now_unix,json=nowUnix,proto3" json:"now_unix,omitempty"`
	// Newest last_unix first, then node name.
	Entries []*NodeJournalEntry `protobuf:"bytes,3,rep,name=entries,proto3" json:"entries,omitempty"`
	// More entries matched than limit.
	Truncated bool `protobuf:"varint,4,opt,name=truncated,proto3" json:"truncated,omitempty"`
	// The nodes in scope (not retired) whose agent does not send the journal (it does not list "journal/1").
	NodesWithoutJournal []string `protobuf:"bytes,5,rep,name=nodes_without_journal,json=nodesWithoutJournal,proto3" json:"nodes_without_journal,omitempty"`
	// contains filtered or unexported fields
}

func (*GetNodeJournalResponse) Descriptor deprecated added in v0.1.55

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

Deprecated: Use GetNodeJournalResponse.ProtoReflect.Descriptor instead.

func (*GetNodeJournalResponse) GetEntries added in v0.1.55

func (x *GetNodeJournalResponse) GetEntries() []*NodeJournalEntry

func (*GetNodeJournalResponse) GetNodesWithoutJournal added in v0.1.55

func (x *GetNodeJournalResponse) GetNodesWithoutJournal() []string

func (*GetNodeJournalResponse) GetNowUnix added in v0.1.55

func (x *GetNodeJournalResponse) GetNowUnix() int64

func (*GetNodeJournalResponse) GetSinceUnix added in v0.1.55

func (x *GetNodeJournalResponse) GetSinceUnix() int64

func (*GetNodeJournalResponse) GetTruncated added in v0.1.55

func (x *GetNodeJournalResponse) GetTruncated() bool

func (*GetNodeJournalResponse) ProtoMessage added in v0.1.55

func (*GetNodeJournalResponse) ProtoMessage()

func (*GetNodeJournalResponse) ProtoReflect added in v0.1.55

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

func (*GetNodeJournalResponse) Reset added in v0.1.55

func (x *GetNodeJournalResponse) Reset()

func (*GetNodeJournalResponse) String added in v0.1.55

func (x *GetNodeJournalResponse) String() string

type GetNodeProvisionRequest

type GetNodeProvisionRequest struct {
	JobId string `protobuf:"bytes,1,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetNodeProvisionRequest) Descriptor deprecated

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

Deprecated: Use GetNodeProvisionRequest.ProtoReflect.Descriptor instead.

func (*GetNodeProvisionRequest) GetJobId

func (x *GetNodeProvisionRequest) GetJobId() string

func (*GetNodeProvisionRequest) ProtoMessage

func (*GetNodeProvisionRequest) ProtoMessage()

func (*GetNodeProvisionRequest) ProtoReflect

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

func (*GetNodeProvisionRequest) Reset

func (x *GetNodeProvisionRequest) Reset()

func (*GetNodeProvisionRequest) String

func (x *GetNodeProvisionRequest) String() string

type GetNodeProvisionResponse

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

func (*GetNodeProvisionResponse) Descriptor deprecated

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

Deprecated: Use GetNodeProvisionResponse.ProtoReflect.Descriptor instead.

func (*GetNodeProvisionResponse) GetJob

func (*GetNodeProvisionResponse) ProtoMessage

func (*GetNodeProvisionResponse) ProtoMessage()

func (*GetNodeProvisionResponse) ProtoReflect

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

func (*GetNodeProvisionResponse) Reset

func (x *GetNodeProvisionResponse) Reset()

func (*GetNodeProvisionResponse) String

func (x *GetNodeProvisionResponse) String() string

type GetNodeRequest

type GetNodeRequest struct {
	NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetNodeRequest) Descriptor deprecated

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

Deprecated: Use GetNodeRequest.ProtoReflect.Descriptor instead.

func (*GetNodeRequest) GetNodeId

func (x *GetNodeRequest) GetNodeId() string

func (*GetNodeRequest) ProtoMessage

func (*GetNodeRequest) ProtoMessage()

func (*GetNodeRequest) ProtoReflect

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

func (*GetNodeRequest) Reset

func (x *GetNodeRequest) Reset()

func (*GetNodeRequest) String

func (x *GetNodeRequest) String() string

type GetNodeResponse

type GetNodeResponse struct {
	Node *Node `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"`
	// Unset while no metrics have arrived.
	Metrics  *NodeMetrics `protobuf:"bytes,2,opt,name=metrics,proto3" json:"metrics,omitempty"`
	Facts    *NodeFacts   `protobuf:"bytes,3,opt,name=facts,proto3" json:"facts,omitempty"`
	Inbounds []*Inbound   `protobuf:"bytes,4,rep,name=inbounds,proto3" json:"inbounds,omitempty"`
	// "On this node now".
	OnlineUsers []*OnlineUser `protobuf:"bytes,5,rep,name=online_users,json=onlineUsers,proto3" json:"online_users,omitempty"`
	// "Top today": by bytes since 00:00 UTC, at most 10.
	TopToday     []*TopUser    `protobuf:"bytes,6,rep,name=top_today,json=topToday,proto3" json:"top_today,omitempty"`
	Notes        string        `protobuf:"bytes,7,opt,name=notes,proto3" json:"notes,omitempty"`
	DnsResolvers []string      `protobuf:"bytes,8,rep,name=dns_resolvers,json=dnsResolvers,proto3" json:"dns_resolvers,omitempty"`
	Timeouts     *NodeTimeouts `protobuf:"bytes,9,opt,name=timeouts,proto3" json:"timeouts,omitempty"`
	// PENDING nodes: when the enrollment token stops working.
	EnrollmentExpiresUnix int64 `` /* 128-byte string literal not displayed */
	CreatedUnix           int64 `protobuf:"varint,11,opt,name=created_unix,json=createdUnix,proto3" json:"created_unix,omitempty"`
	// Stored UDP delivery checks of this node's current address, by port.
	PortChecks []*PortCheck `protobuf:"bytes,12,rep,name=port_checks,json=portChecks,proto3" json:"port_checks,omitempty"`
	// Stored TCP checks of this node (the last run), by port.
	TcpChecks []*TcpCheck `protobuf:"bytes,13,rep,name=tcp_checks,json=tcpChecks,proto3" json:"tcp_checks,omitempty"`
	// Latest paired check that found source-side UDP filtering; 0 = none or a later check passed cleanly.
	UdpFilteredUnix int64 `protobuf:"varint,14,opt,name=udp_filtered_unix,json=udpFilteredUnix,proto3" json:"udp_filtered_unix,omitempty"`
	// contains filtered or unexported fields
}

func (*GetNodeResponse) Descriptor deprecated

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

Deprecated: Use GetNodeResponse.ProtoReflect.Descriptor instead.

func (*GetNodeResponse) GetCreatedUnix

func (x *GetNodeResponse) GetCreatedUnix() int64

func (*GetNodeResponse) GetDnsResolvers

func (x *GetNodeResponse) GetDnsResolvers() []string

func (*GetNodeResponse) GetEnrollmentExpiresUnix

func (x *GetNodeResponse) GetEnrollmentExpiresUnix() int64

func (*GetNodeResponse) GetFacts

func (x *GetNodeResponse) GetFacts() *NodeFacts

func (*GetNodeResponse) GetInbounds

func (x *GetNodeResponse) GetInbounds() []*Inbound

func (*GetNodeResponse) GetMetrics

func (x *GetNodeResponse) GetMetrics() *NodeMetrics

func (*GetNodeResponse) GetNode

func (x *GetNodeResponse) GetNode() *Node

func (*GetNodeResponse) GetNotes

func (x *GetNodeResponse) GetNotes() string

func (*GetNodeResponse) GetOnlineUsers

func (x *GetNodeResponse) GetOnlineUsers() []*OnlineUser

func (*GetNodeResponse) GetPortChecks added in v0.1.28

func (x *GetNodeResponse) GetPortChecks() []*PortCheck

func (*GetNodeResponse) GetTcpChecks added in v0.1.35

func (x *GetNodeResponse) GetTcpChecks() []*TcpCheck

func (*GetNodeResponse) GetTimeouts

func (x *GetNodeResponse) GetTimeouts() *NodeTimeouts

func (*GetNodeResponse) GetTopToday

func (x *GetNodeResponse) GetTopToday() []*TopUser

func (*GetNodeResponse) GetUdpFilteredUnix added in v0.1.77

func (x *GetNodeResponse) GetUdpFilteredUnix() int64

func (*GetNodeResponse) ProtoMessage

func (*GetNodeResponse) ProtoMessage()

func (*GetNodeResponse) ProtoReflect

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

func (*GetNodeResponse) Reset

func (x *GetNodeResponse) Reset()

func (*GetNodeResponse) String

func (x *GetNodeResponse) String() string

type GetPanelSSHKeyRequest added in v0.1.74

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

func (*GetPanelSSHKeyRequest) Descriptor deprecated added in v0.1.74

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

Deprecated: Use GetPanelSSHKeyRequest.ProtoReflect.Descriptor instead.

func (*GetPanelSSHKeyRequest) ProtoMessage added in v0.1.74

func (*GetPanelSSHKeyRequest) ProtoMessage()

func (*GetPanelSSHKeyRequest) ProtoReflect added in v0.1.74

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

func (*GetPanelSSHKeyRequest) Reset added in v0.1.74

func (x *GetPanelSSHKeyRequest) Reset()

func (*GetPanelSSHKeyRequest) String added in v0.1.74

func (x *GetPanelSSHKeyRequest) String() string

type GetPanelSSHKeyResponse added in v0.1.74

type GetPanelSSHKeyResponse struct {
	PublicKey   string `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
	Fingerprint string `protobuf:"bytes,2,opt,name=fingerprint,proto3" json:"fingerprint,omitempty"`
	// contains filtered or unexported fields
}

func (*GetPanelSSHKeyResponse) Descriptor deprecated added in v0.1.74

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

Deprecated: Use GetPanelSSHKeyResponse.ProtoReflect.Descriptor instead.

func (*GetPanelSSHKeyResponse) GetFingerprint added in v0.1.74

func (x *GetPanelSSHKeyResponse) GetFingerprint() string

func (*GetPanelSSHKeyResponse) GetPublicKey added in v0.1.74

func (x *GetPanelSSHKeyResponse) GetPublicKey() string

func (*GetPanelSSHKeyResponse) ProtoMessage added in v0.1.74

func (*GetPanelSSHKeyResponse) ProtoMessage()

func (*GetPanelSSHKeyResponse) ProtoReflect added in v0.1.74

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

func (*GetPanelSSHKeyResponse) Reset added in v0.1.74

func (x *GetPanelSSHKeyResponse) Reset()

func (*GetPanelSSHKeyResponse) String added in v0.1.74

func (x *GetPanelSSHKeyResponse) String() string

type GetPasswordLoginRequest

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

func (*GetPasswordLoginRequest) Descriptor deprecated

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

Deprecated: Use GetPasswordLoginRequest.ProtoReflect.Descriptor instead.

func (*GetPasswordLoginRequest) ProtoMessage

func (*GetPasswordLoginRequest) ProtoMessage()

func (*GetPasswordLoginRequest) ProtoReflect

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

func (*GetPasswordLoginRequest) Reset

func (x *GetPasswordLoginRequest) Reset()

func (*GetPasswordLoginRequest) String

func (x *GetPasswordLoginRequest) String() string

type GetPasswordLoginResponse

type GetPasswordLoginResponse struct {

	// The admin can sign in with login + password + authenticator code.
	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// The login, lower case; empty when not enabled.
	Login string `protobuf:"bytes,2,opt,name=login,proto3" json:"login,omitempty"`
	// This server can keep authenticator secrets (it has a master key): without one a password login cannot be added
	// or re-bound.
	Available bool `protobuf:"varint,3,opt,name=available,proto3" json:"available,omitempty"`
	// contains filtered or unexported fields
}

func (*GetPasswordLoginResponse) Descriptor deprecated

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

Deprecated: Use GetPasswordLoginResponse.ProtoReflect.Descriptor instead.

func (*GetPasswordLoginResponse) GetAvailable

func (x *GetPasswordLoginResponse) GetAvailable() bool

func (*GetPasswordLoginResponse) GetEnabled

func (x *GetPasswordLoginResponse) GetEnabled() bool

func (*GetPasswordLoginResponse) GetLogin

func (x *GetPasswordLoginResponse) GetLogin() string

func (*GetPasswordLoginResponse) ProtoMessage

func (*GetPasswordLoginResponse) ProtoMessage()

func (*GetPasswordLoginResponse) ProtoReflect

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

func (*GetPasswordLoginResponse) Reset

func (x *GetPasswordLoginResponse) Reset()

func (*GetPasswordLoginResponse) String

func (x *GetPasswordLoginResponse) String() string

type GetProfileRequest

type GetProfileRequest struct {
	ProfileId string `protobuf:"bytes,1,opt,name=profile_id,json=profileId,proto3" json:"profile_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetProfileRequest) Descriptor deprecated

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

Deprecated: Use GetProfileRequest.ProtoReflect.Descriptor instead.

func (*GetProfileRequest) GetProfileId

func (x *GetProfileRequest) GetProfileId() string

func (*GetProfileRequest) ProtoMessage

func (*GetProfileRequest) ProtoMessage()

func (*GetProfileRequest) ProtoReflect

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

func (*GetProfileRequest) Reset

func (x *GetProfileRequest) Reset()

func (*GetProfileRequest) String

func (x *GetProfileRequest) String() string

type GetProfileResponse

type GetProfileResponse struct {
	Profile *ProfileSummary `protobuf:"bytes,1,opt,name=profile,proto3" json:"profile,omitempty"`
	// Secrets masked.
	SettingsJson string     `protobuf:"bytes,2,opt,name=settings_json,json=settingsJson,proto3" json:"settings_json,omitempty"`
	Inbounds     []*Inbound `protobuf:"bytes,3,rep,name=inbounds,proto3" json:"inbounds,omitempty"`
	// contains filtered or unexported fields
}

func (*GetProfileResponse) Descriptor deprecated

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

Deprecated: Use GetProfileResponse.ProtoReflect.Descriptor instead.

func (*GetProfileResponse) GetInbounds

func (x *GetProfileResponse) GetInbounds() []*Inbound

func (*GetProfileResponse) GetProfile

func (x *GetProfileResponse) GetProfile() *ProfileSummary

func (*GetProfileResponse) GetSettingsJson

func (x *GetProfileResponse) GetSettingsJson() string

func (*GetProfileResponse) ProtoMessage

func (*GetProfileResponse) ProtoMessage()

func (*GetProfileResponse) ProtoReflect

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

func (*GetProfileResponse) Reset

func (x *GetProfileResponse) Reset()

func (*GetProfileResponse) String

func (x *GetProfileResponse) String() string

type GetReachabilityHistoryRequest added in v0.1.43

type GetReachabilityHistoryRequest struct {

	// Days back from now, 1 to 7. 0 means 7; more is cut to 7, the retention of the sources.
	Days uint32 `protobuf:"varint,1,opt,name=days,proto3" json:"days,omitempty"`
	// The address family of the rounds the lanes show: 0 and 4 are IPv4 (every source), 6 is IPv6 (the Globalping lane alone: it is
	// the only source that measures IPv6, and it has none while Globalping's IPv6 checks are off). Any other value is
	// INVALID_ARGUMENT.
	Family uint32 `protobuf:"varint,2,opt,name=family,proto3" json:"family,omitempty"`
	// contains filtered or unexported fields
}

func (*GetReachabilityHistoryRequest) Descriptor deprecated added in v0.1.43

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

Deprecated: Use GetReachabilityHistoryRequest.ProtoReflect.Descriptor instead.

func (*GetReachabilityHistoryRequest) GetDays added in v0.1.43

func (*GetReachabilityHistoryRequest) GetFamily added in v0.1.65

func (x *GetReachabilityHistoryRequest) GetFamily() uint32

func (*GetReachabilityHistoryRequest) ProtoMessage added in v0.1.43

func (*GetReachabilityHistoryRequest) ProtoMessage()

func (*GetReachabilityHistoryRequest) ProtoReflect added in v0.1.43

func (*GetReachabilityHistoryRequest) Reset added in v0.1.43

func (x *GetReachabilityHistoryRequest) Reset()

func (*GetReachabilityHistoryRequest) String added in v0.1.43

type GetReachabilityHistoryResponse added in v0.1.43

type GetReachabilityHistoryResponse struct {

	// The country the sources look from (CountryReachability.country). Globalping's lane holds the rounds of this country only.
	Country string `protobuf:"bytes,1,opt,name=country,proto3" json:"country,omitempty"`
	// The sources that are on: "globalping", "lists", "tspu", in this order.
	Sources   []string `protobuf:"bytes,2,rep,name=sources,proto3" json:"sources,omitempty"`
	SinceUnix int64    `protobuf:"varint,3,opt,name=since_unix,json=sinceUnix,proto3" json:"since_unix,omitempty"`
	NowUnix   int64    `protobuf:"varint,4,opt,name=now_unix,json=nowUnix,proto3" json:"now_unix,omitempty"`
	// Every node a source that is on measured in the window, by node id.
	Nodes []*NodeReachabilityHistory `protobuf:"bytes,5,rep,name=nodes,proto3" json:"nodes,omitempty"`
	// The family of the request: 4 or 6.
	Family uint32 `protobuf:"varint,6,opt,name=family,proto3" json:"family,omitempty"`
	// contains filtered or unexported fields
}

func (*GetReachabilityHistoryResponse) Descriptor deprecated added in v0.1.43

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

Deprecated: Use GetReachabilityHistoryResponse.ProtoReflect.Descriptor instead.

func (*GetReachabilityHistoryResponse) GetCountry added in v0.1.43

func (x *GetReachabilityHistoryResponse) GetCountry() string

func (*GetReachabilityHistoryResponse) GetFamily added in v0.1.65

func (x *GetReachabilityHistoryResponse) GetFamily() uint32

func (*GetReachabilityHistoryResponse) GetNodes added in v0.1.43

func (*GetReachabilityHistoryResponse) GetNowUnix added in v0.1.43

func (x *GetReachabilityHistoryResponse) GetNowUnix() int64

func (*GetReachabilityHistoryResponse) GetSinceUnix added in v0.1.43

func (x *GetReachabilityHistoryResponse) GetSinceUnix() int64

func (*GetReachabilityHistoryResponse) GetSources added in v0.1.43

func (x *GetReachabilityHistoryResponse) GetSources() []string

func (*GetReachabilityHistoryResponse) ProtoMessage added in v0.1.43

func (*GetReachabilityHistoryResponse) ProtoMessage()

func (*GetReachabilityHistoryResponse) ProtoReflect added in v0.1.43

func (*GetReachabilityHistoryResponse) Reset added in v0.1.43

func (x *GetReachabilityHistoryResponse) Reset()

func (*GetReachabilityHistoryResponse) String added in v0.1.43

type GetRestoreResultRequest added in v0.1.80

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

The helper writes the result into the active data directory. The next panel process saves it and exposes it here.

func (*GetRestoreResultRequest) Descriptor deprecated added in v0.1.80

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

Deprecated: Use GetRestoreResultRequest.ProtoReflect.Descriptor instead.

func (*GetRestoreResultRequest) ProtoMessage added in v0.1.80

func (*GetRestoreResultRequest) ProtoMessage()

func (*GetRestoreResultRequest) ProtoReflect added in v0.1.80

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

func (*GetRestoreResultRequest) Reset added in v0.1.80

func (x *GetRestoreResultRequest) Reset()

func (*GetRestoreResultRequest) String added in v0.1.80

func (x *GetRestoreResultRequest) String() string

type GetRestoreResultResponse added in v0.1.80

type GetRestoreResultResponse struct {
	Outcome       string `protobuf:"bytes,1,opt,name=outcome,proto3" json:"outcome,omitempty"`
	Source        string `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"`
	FileName      string `protobuf:"bytes,3,opt,name=file_name,json=fileName,proto3" json:"file_name,omitempty"`
	MadeByVersion string `protobuf:"bytes,4,opt,name=made_by_version,json=madeByVersion,proto3" json:"made_by_version,omitempty"`
	CompletedUnix int64  `protobuf:"varint,5,opt,name=completed_unix,json=completedUnix,proto3" json:"completed_unix,omitempty"`
	// contains filtered or unexported fields
}

func (*GetRestoreResultResponse) Descriptor deprecated added in v0.1.80

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

Deprecated: Use GetRestoreResultResponse.ProtoReflect.Descriptor instead.

func (*GetRestoreResultResponse) GetCompletedUnix added in v0.1.80

func (x *GetRestoreResultResponse) GetCompletedUnix() int64

func (*GetRestoreResultResponse) GetFileName added in v0.1.80

func (x *GetRestoreResultResponse) GetFileName() string

func (*GetRestoreResultResponse) GetMadeByVersion added in v0.1.80

func (x *GetRestoreResultResponse) GetMadeByVersion() string

func (*GetRestoreResultResponse) GetOutcome added in v0.1.80

func (x *GetRestoreResultResponse) GetOutcome() string

func (*GetRestoreResultResponse) GetSource added in v0.1.80

func (x *GetRestoreResultResponse) GetSource() string

func (*GetRestoreResultResponse) ProtoMessage added in v0.1.80

func (*GetRestoreResultResponse) ProtoMessage()

func (*GetRestoreResultResponse) ProtoReflect added in v0.1.80

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

func (*GetRestoreResultResponse) Reset added in v0.1.80

func (x *GetRestoreResultResponse) Reset()

func (*GetRestoreResultResponse) String added in v0.1.80

func (x *GetRestoreResultResponse) String() string

type GetSSHFingerprintRequest

type GetSSHFingerprintRequest struct {
	Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
	Port uint32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"`
	// contains filtered or unexported fields
}

func (*GetSSHFingerprintRequest) Descriptor deprecated

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

Deprecated: Use GetSSHFingerprintRequest.ProtoReflect.Descriptor instead.

func (*GetSSHFingerprintRequest) GetHost

func (x *GetSSHFingerprintRequest) GetHost() string

func (*GetSSHFingerprintRequest) GetPort

func (x *GetSSHFingerprintRequest) GetPort() uint32

func (*GetSSHFingerprintRequest) ProtoMessage

func (*GetSSHFingerprintRequest) ProtoMessage()

func (*GetSSHFingerprintRequest) ProtoReflect

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

func (*GetSSHFingerprintRequest) Reset

func (x *GetSSHFingerprintRequest) Reset()

func (*GetSSHFingerprintRequest) String

func (x *GetSSHFingerprintRequest) String() string

type GetSSHFingerprintResponse

type GetSSHFingerprintResponse struct {
	Host        string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
	Port        uint32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"`
	Fingerprint string `protobuf:"bytes,3,opt,name=fingerprint,proto3" json:"fingerprint,omitempty"`
	// The key type the fingerprint belongs to ("ssh-ed25519", "ecdsa-sha2-nistp256", "ssh-rsa"): a provider's console
	// lists one fingerprint per type, so the owner needs it to compare the right one.
	Algorithm string `protobuf:"bytes,4,opt,name=algorithm,proto3" json:"algorithm,omitempty"`
	// contains filtered or unexported fields
}

func (*GetSSHFingerprintResponse) Descriptor deprecated

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

Deprecated: Use GetSSHFingerprintResponse.ProtoReflect.Descriptor instead.

func (*GetSSHFingerprintResponse) GetAlgorithm added in v0.1.15

func (x *GetSSHFingerprintResponse) GetAlgorithm() string

func (*GetSSHFingerprintResponse) GetFingerprint

func (x *GetSSHFingerprintResponse) GetFingerprint() string

func (*GetSSHFingerprintResponse) GetHost

func (x *GetSSHFingerprintResponse) GetHost() string

func (*GetSSHFingerprintResponse) GetPort

func (x *GetSSHFingerprintResponse) GetPort() uint32

func (*GetSSHFingerprintResponse) ProtoMessage

func (*GetSSHFingerprintResponse) ProtoMessage()

func (*GetSSHFingerprintResponse) ProtoReflect

func (*GetSSHFingerprintResponse) Reset

func (x *GetSSHFingerprintResponse) Reset()

func (*GetSSHFingerprintResponse) String

func (x *GetSSHFingerprintResponse) String() string

type GetSecuritySettingsRequest

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

Owner-only security settings. Absent fields are left unchanged.

func (*GetSecuritySettingsRequest) Descriptor deprecated

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

Deprecated: Use GetSecuritySettingsRequest.ProtoReflect.Descriptor instead.

func (*GetSecuritySettingsRequest) ProtoMessage

func (*GetSecuritySettingsRequest) ProtoMessage()

func (*GetSecuritySettingsRequest) ProtoReflect

func (*GetSecuritySettingsRequest) Reset

func (x *GetSecuritySettingsRequest) Reset()

func (*GetSecuritySettingsRequest) String

func (x *GetSecuritySettingsRequest) String() string

type GetSecuritySettingsResponse

type GetSecuritySettingsResponse struct {
	TurnstileEnabled bool   `protobuf:"varint,1,opt,name=turnstile_enabled,json=turnstileEnabled,proto3" json:"turnstile_enabled,omitempty"`
	TurnstileSiteKey string `protobuf:"bytes,2,opt,name=turnstile_site_key,json=turnstileSiteKey,proto3" json:"turnstile_site_key,omitempty"`
	// A secret key is stored. The key itself is never returned.
	TurnstileSecretSet bool `protobuf:"varint,3,opt,name=turnstile_secret_set,json=turnstileSecretSet,proto3" json:"turnstile_secret_set,omitempty"`
	// contains filtered or unexported fields
}

func (*GetSecuritySettingsResponse) Descriptor deprecated

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

Deprecated: Use GetSecuritySettingsResponse.ProtoReflect.Descriptor instead.

func (*GetSecuritySettingsResponse) GetTurnstileEnabled

func (x *GetSecuritySettingsResponse) GetTurnstileEnabled() bool

func (*GetSecuritySettingsResponse) GetTurnstileSecretSet

func (x *GetSecuritySettingsResponse) GetTurnstileSecretSet() bool

func (*GetSecuritySettingsResponse) GetTurnstileSiteKey

func (x *GetSecuritySettingsResponse) GetTurnstileSiteKey() string

func (*GetSecuritySettingsResponse) ProtoMessage

func (*GetSecuritySettingsResponse) ProtoMessage()

func (*GetSecuritySettingsResponse) ProtoReflect

func (*GetSecuritySettingsResponse) Reset

func (x *GetSecuritySettingsResponse) Reset()

func (*GetSecuritySettingsResponse) String

func (x *GetSecuritySettingsResponse) String() string

type GetSubscriptionLinkRequest

type GetSubscriptionLinkRequest struct {
	UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	Rotate bool   `protobuf:"varint,2,opt,name=rotate,proto3" json:"rotate,omitempty"`
	// contains filtered or unexported fields
}

func (*GetSubscriptionLinkRequest) Descriptor deprecated

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

Deprecated: Use GetSubscriptionLinkRequest.ProtoReflect.Descriptor instead.

func (*GetSubscriptionLinkRequest) GetRotate

func (x *GetSubscriptionLinkRequest) GetRotate() bool

func (*GetSubscriptionLinkRequest) GetUserId

func (x *GetSubscriptionLinkRequest) GetUserId() string

func (*GetSubscriptionLinkRequest) ProtoMessage

func (*GetSubscriptionLinkRequest) ProtoMessage()

func (*GetSubscriptionLinkRequest) ProtoReflect

func (*GetSubscriptionLinkRequest) Reset

func (x *GetSubscriptionLinkRequest) Reset()

func (*GetSubscriptionLinkRequest) String

func (x *GetSubscriptionLinkRequest) String() string

type GetSubscriptionLinkResponse

type GetSubscriptionLinkResponse struct {

	// https://<subscription domain>/<secret prefix>/<token>. The token is shown only here and to the user.
	Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	// The password of the user's page for this link (xxxx-xxxx), derived from the token: a new link is a new password.
	// Empty when the instance does not ask for one. Like the link, never shown to agents.
	PagePassword string `protobuf:"bytes,2,opt,name=page_password,json=pagePassword,proto3" json:"page_password,omitempty"`
	// contains filtered or unexported fields
}

func (*GetSubscriptionLinkResponse) Descriptor deprecated

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

Deprecated: Use GetSubscriptionLinkResponse.ProtoReflect.Descriptor instead.

func (*GetSubscriptionLinkResponse) GetPagePassword

func (x *GetSubscriptionLinkResponse) GetPagePassword() string

func (*GetSubscriptionLinkResponse) GetUrl

func (x *GetSubscriptionLinkResponse) GetUrl() string

func (*GetSubscriptionLinkResponse) ProtoMessage

func (*GetSubscriptionLinkResponse) ProtoMessage()

func (*GetSubscriptionLinkResponse) ProtoReflect

func (*GetSubscriptionLinkResponse) Reset

func (x *GetSubscriptionLinkResponse) Reset()

func (*GetSubscriptionLinkResponse) String

func (x *GetSubscriptionLinkResponse) String() string

type GetSubscriptionSettingsRequest

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

func (*GetSubscriptionSettingsRequest) Descriptor deprecated

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

Deprecated: Use GetSubscriptionSettingsRequest.ProtoReflect.Descriptor instead.

func (*GetSubscriptionSettingsRequest) ProtoMessage

func (*GetSubscriptionSettingsRequest) ProtoMessage()

func (*GetSubscriptionSettingsRequest) ProtoReflect

func (*GetSubscriptionSettingsRequest) Reset

func (x *GetSubscriptionSettingsRequest) Reset()

func (*GetSubscriptionSettingsRequest) String

type GetSubscriptionSettingsResponse

type GetSubscriptionSettingsResponse struct {
	Settings *SubscriptionSettings `protobuf:"bytes,1,opt,name=settings,proto3" json:"settings,omitempty"`
	// The effective subscription title (settings.title or the brand), for placeholders in the UI.
	EffectiveTitle string `protobuf:"bytes,2,opt,name=effective_title,json=effectiveTitle,proto3" json:"effective_title,omitempty"`
	// What a person of the group most people are in gets in Happ right now, in subscription order: the preview of the
	// server names draws these. Empty when there is no such group or none of its servers runs.
	ServerSamples []*ServerSample `protobuf:"bytes,3,rep,name=server_samples,json=serverSamples,proto3" json:"server_samples,omitempty"`
	// That group's name ("" with no samples).
	SampleGroup string `protobuf:"bytes,4,opt,name=sample_group,json=sampleGroup,proto3" json:"sample_group,omitempty"`
	// The instance language ("en", "ru", or "zh"). {country} itself is the two-letter code whatever the language.
	NamesLanguage string `protobuf:"bytes,5,opt,name=names_language,json=namesLanguage,proto3" json:"names_language,omitempty"`
	// People who have a live common (no device ID) place right now: the apps that report none are what STRICT turns away,
	// so the confirmation of switching to it shows this number.
	SharedLinkUsers uint32 `protobuf:"varint,6,opt,name=shared_link_users,json=sharedLinkUsers,proto3" json:"shared_link_users,omitempty"`
	// Live AmneziaWG credentials held by the subscription link's devices, across all users. Turning link_awg off drops
	// each credential the next time its app fetches a Mihomo profile.
	LinkAwgKeys uint32 `protobuf:"varint,7,opt,name=link_awg_keys,json=linkAwgKeys,proto3" json:"link_awg_keys,omitempty"`
	// contains filtered or unexported fields
}

func (*GetSubscriptionSettingsResponse) Descriptor deprecated

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

Deprecated: Use GetSubscriptionSettingsResponse.ProtoReflect.Descriptor instead.

func (*GetSubscriptionSettingsResponse) GetEffectiveTitle

func (x *GetSubscriptionSettingsResponse) GetEffectiveTitle() string

func (*GetSubscriptionSettingsResponse) GetLinkAwgKeys added in v0.1.80

func (x *GetSubscriptionSettingsResponse) GetLinkAwgKeys() uint32

func (*GetSubscriptionSettingsResponse) GetNamesLanguage

func (x *GetSubscriptionSettingsResponse) GetNamesLanguage() string

func (*GetSubscriptionSettingsResponse) GetSampleGroup

func (x *GetSubscriptionSettingsResponse) GetSampleGroup() string

func (*GetSubscriptionSettingsResponse) GetServerSamples

func (x *GetSubscriptionSettingsResponse) GetServerSamples() []*ServerSample

func (*GetSubscriptionSettingsResponse) GetSettings

func (*GetSubscriptionSettingsResponse) GetSharedLinkUsers added in v0.1.39

func (x *GetSubscriptionSettingsResponse) GetSharedLinkUsers() uint32

func (*GetSubscriptionSettingsResponse) ProtoMessage

func (*GetSubscriptionSettingsResponse) ProtoMessage()

func (*GetSubscriptionSettingsResponse) ProtoReflect

func (*GetSubscriptionSettingsResponse) Reset

func (*GetSubscriptionSettingsResponse) String

type GetTelegramLinksRequest added in v0.1.69

type GetTelegramLinksRequest struct {
	UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetTelegramLinksRequest) Descriptor deprecated added in v0.1.69

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

Deprecated: Use GetTelegramLinksRequest.ProtoReflect.Descriptor instead.

func (*GetTelegramLinksRequest) GetUserId added in v0.1.69

func (x *GetTelegramLinksRequest) GetUserId() string

func (*GetTelegramLinksRequest) ProtoMessage added in v0.1.69

func (*GetTelegramLinksRequest) ProtoMessage()

func (*GetTelegramLinksRequest) ProtoReflect added in v0.1.69

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

func (*GetTelegramLinksRequest) Reset added in v0.1.69

func (x *GetTelegramLinksRequest) Reset()

func (*GetTelegramLinksRequest) String added in v0.1.69

func (x *GetTelegramLinksRequest) String() string

type GetTelegramLinksResponse added in v0.1.69

type GetTelegramLinksResponse struct {
	Links []*TelegramProxyLink `protobuf:"bytes,1,rep,name=links,proto3" json:"links,omitempty"`
	// The person holds a Telegram key. False: links is empty, whatever MTProto profiles run.
	HasKey bool `protobuf:"varint,2,opt,name=has_key,json=hasKey,proto3" json:"has_key,omitempty"`
	// The key's device (RevokeDevice removes it too); empty without a key.
	KeyDeviceId string `protobuf:"bytes,3,opt,name=key_device_id,json=keyDeviceId,proto3" json:"key_device_id,omitempty"`
	// When the key was issued or last rotated; 0 without a key.
	KeyIssuedUnix int64 `protobuf:"varint,4,opt,name=key_issued_unix,json=keyIssuedUnix,proto3" json:"key_issued_unix,omitempty"`
	// contains filtered or unexported fields
}

func (*GetTelegramLinksResponse) Descriptor deprecated added in v0.1.69

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

Deprecated: Use GetTelegramLinksResponse.ProtoReflect.Descriptor instead.

func (*GetTelegramLinksResponse) GetHasKey added in v0.1.69

func (x *GetTelegramLinksResponse) GetHasKey() bool

func (*GetTelegramLinksResponse) GetKeyDeviceId added in v0.1.69

func (x *GetTelegramLinksResponse) GetKeyDeviceId() string

func (*GetTelegramLinksResponse) GetKeyIssuedUnix added in v0.1.69

func (x *GetTelegramLinksResponse) GetKeyIssuedUnix() int64

func (*GetTelegramLinksResponse) ProtoMessage added in v0.1.69

func (*GetTelegramLinksResponse) ProtoMessage()

func (*GetTelegramLinksResponse) ProtoReflect added in v0.1.69

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

func (*GetTelegramLinksResponse) Reset added in v0.1.69

func (x *GetTelegramLinksResponse) Reset()

func (*GetTelegramLinksResponse) String added in v0.1.69

func (x *GetTelegramLinksResponse) String() string

type GetTelegramRequest added in v0.1.23

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

func (*GetTelegramRequest) Descriptor deprecated added in v0.1.23

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

Deprecated: Use GetTelegramRequest.ProtoReflect.Descriptor instead.

func (*GetTelegramRequest) ProtoMessage added in v0.1.23

func (*GetTelegramRequest) ProtoMessage()

func (*GetTelegramRequest) ProtoReflect added in v0.1.23

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

func (*GetTelegramRequest) Reset added in v0.1.23

func (x *GetTelegramRequest) Reset()

func (*GetTelegramRequest) String added in v0.1.23

func (x *GetTelegramRequest) String() string

type GetTelegramResponse added in v0.1.23

type GetTelegramResponse struct {
	Status *TelegramStatus `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*GetTelegramResponse) Descriptor deprecated added in v0.1.23

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

Deprecated: Use GetTelegramResponse.ProtoReflect.Descriptor instead.

func (*GetTelegramResponse) GetStatus added in v0.1.23

func (x *GetTelegramResponse) GetStatus() *TelegramStatus

func (*GetTelegramResponse) ProtoMessage added in v0.1.23

func (*GetTelegramResponse) ProtoMessage()

func (*GetTelegramResponse) ProtoReflect added in v0.1.23

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

func (*GetTelegramResponse) Reset added in v0.1.23

func (x *GetTelegramResponse) Reset()

func (*GetTelegramResponse) String added in v0.1.23

func (x *GetTelegramResponse) String() string

type GetTspuProbeRequest added in v0.1.42

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

func (*GetTspuProbeRequest) Descriptor deprecated added in v0.1.42

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

Deprecated: Use GetTspuProbeRequest.ProtoReflect.Descriptor instead.

func (*GetTspuProbeRequest) ProtoMessage added in v0.1.42

func (*GetTspuProbeRequest) ProtoMessage()

func (*GetTspuProbeRequest) ProtoReflect added in v0.1.42

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

func (*GetTspuProbeRequest) Reset added in v0.1.42

func (x *GetTspuProbeRequest) Reset()

func (*GetTspuProbeRequest) String added in v0.1.42

func (x *GetTspuProbeRequest) String() string

type GetTspuProbeResponse added in v0.1.42

type GetTspuProbeResponse struct {
	Settings *TspuProbeSettings `protobuf:"bytes,1,opt,name=settings,proto3" json:"settings,omitempty"`
	// contains filtered or unexported fields
}

func (*GetTspuProbeResponse) Descriptor deprecated added in v0.1.42

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

Deprecated: Use GetTspuProbeResponse.ProtoReflect.Descriptor instead.

func (*GetTspuProbeResponse) GetSettings added in v0.1.42

func (x *GetTspuProbeResponse) GetSettings() *TspuProbeSettings

func (*GetTspuProbeResponse) ProtoMessage added in v0.1.42

func (*GetTspuProbeResponse) ProtoMessage()

func (*GetTspuProbeResponse) ProtoReflect added in v0.1.42

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

func (*GetTspuProbeResponse) Reset added in v0.1.42

func (x *GetTspuProbeResponse) Reset()

func (*GetTspuProbeResponse) String added in v0.1.42

func (x *GetTspuProbeResponse) String() string

type GetUpdatesRequest

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

func (*GetUpdatesRequest) Descriptor deprecated

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

Deprecated: Use GetUpdatesRequest.ProtoReflect.Descriptor instead.

func (*GetUpdatesRequest) ProtoMessage

func (*GetUpdatesRequest) ProtoMessage()

func (*GetUpdatesRequest) ProtoReflect

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

func (*GetUpdatesRequest) Reset

func (x *GetUpdatesRequest) Reset()

func (*GetUpdatesRequest) String

func (x *GetUpdatesRequest) String() string

type GetUpdatesResponse

type GetUpdatesResponse struct {
	NowUnix int64         `protobuf:"varint,1,opt,name=now_unix,json=nowUnix,proto3" json:"now_unix,omitempty"`
	Panel   *PanelBuild   `protobuf:"bytes,2,opt,name=panel,proto3" json:"panel,omitempty"`
	Bundle  *Bundle       `protobuf:"bytes,3,opt,name=bundle,proto3" json:"bundle,omitempty"`
	Nodes   []*NodeUpdate `protobuf:"bytes,4,rep,name=nodes,proto3" json:"nodes,omitempty"`
	// The active rollout, else the most recent finished one, else unset.
	Rollout *Rollout `protobuf:"bytes,5,opt,name=rollout,proto3" json:"rollout,omitempty"`
	// Where the panel reads the bundle on its own server (<data-dir>/dist, absolute): the source of the scp line of a
	// manual update. Empty when the panel has no data directory.
	DistDir string `protobuf:"bytes,6,opt,name=dist_dir,json=distDir,proto3" json:"dist_dir,omitempty"`
	// Fixed UTC offset used to enter new scheduled updates (minutes east of UTC).
	ScheduleTimezoneOffsetMinutes int32 `` /* 153-byte string literal not displayed */
	// "What's new", newest first: the notes of the GitHub releases a node update would bring, i.e. every stable release
	// newer than the OLDEST agent version among the nodes, up to the trusted bundle's version. Empty without a trusted
	// bundle, when no node is behind it, or when the panel has not read the release notes (the Cloudflare edition never
	// does: it has no bundle).
	AgentNotes []*ReleaseNote `protobuf:"bytes,8,rep,name=agent_notes,json=agentNotes,proto3" json:"agent_notes,omitempty"`
	// The same for this panel: every release visible to update_channel newer than PanelBuild.version, up to PanelUpdate.version. Only while
	// PanelUpdate.available (a release whose signed panel manifest verified), else empty.
	PanelNotes []*ReleaseNote `protobuf:"bytes,9,rep,name=panel_notes,json=panelNotes,proto3" json:"panel_notes,omitempty"`
	// The configured channel used for panel and node-bundle discovery (stable when the setting is unset).
	UpdateChannel string `protobuf:"bytes,10,opt,name=update_channel,json=updateChannel,proto3" json:"update_channel,omitempty"`
	// The channel encoded by PanelBuild.version, empty for an unstamped development build.
	RunningVersionChannel string `` /* 127-byte string literal not displayed */
	// The channel encoded by PanelUpdate.version, empty when no release is known.
	OfferedReleaseChannel string `` /* 127-byte string literal not displayed */
	// The signed manifest of the newest release visible to update_channel is older than this panel's build time.
	RunningNewerThanChannelOffers bool `` /* 156-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*GetUpdatesResponse) Descriptor deprecated

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

Deprecated: Use GetUpdatesResponse.ProtoReflect.Descriptor instead.

func (*GetUpdatesResponse) GetAgentNotes added in v0.1.39

func (x *GetUpdatesResponse) GetAgentNotes() []*ReleaseNote

func (*GetUpdatesResponse) GetBundle

func (x *GetUpdatesResponse) GetBundle() *Bundle

func (*GetUpdatesResponse) GetDistDir

func (x *GetUpdatesResponse) GetDistDir() string

func (*GetUpdatesResponse) GetNodes

func (x *GetUpdatesResponse) GetNodes() []*NodeUpdate

func (*GetUpdatesResponse) GetNowUnix

func (x *GetUpdatesResponse) GetNowUnix() int64

func (*GetUpdatesResponse) GetOfferedReleaseChannel added in v0.1.80

func (x *GetUpdatesResponse) GetOfferedReleaseChannel() string

func (*GetUpdatesResponse) GetPanel

func (x *GetUpdatesResponse) GetPanel() *PanelBuild

func (*GetUpdatesResponse) GetPanelNotes added in v0.1.39

func (x *GetUpdatesResponse) GetPanelNotes() []*ReleaseNote

func (*GetUpdatesResponse) GetRollout

func (x *GetUpdatesResponse) GetRollout() *Rollout

func (*GetUpdatesResponse) GetRunningNewerThanChannelOffers added in v0.1.80

func (x *GetUpdatesResponse) GetRunningNewerThanChannelOffers() bool

func (*GetUpdatesResponse) GetRunningVersionChannel added in v0.1.80

func (x *GetUpdatesResponse) GetRunningVersionChannel() string

func (*GetUpdatesResponse) GetScheduleTimezoneOffsetMinutes added in v0.1.8

func (x *GetUpdatesResponse) GetScheduleTimezoneOffsetMinutes() int32

func (*GetUpdatesResponse) GetUpdateChannel added in v0.1.80

func (x *GetUpdatesResponse) GetUpdateChannel() string

func (*GetUpdatesResponse) ProtoMessage

func (*GetUpdatesResponse) ProtoMessage()

func (*GetUpdatesResponse) ProtoReflect

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

func (*GetUpdatesResponse) Reset

func (x *GetUpdatesResponse) Reset()

func (*GetUpdatesResponse) String

func (x *GetUpdatesResponse) String() string

type GetUserConnectionRequest added in v0.1.53

type GetUserConnectionRequest struct {
	UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// Hours back from now, 1 to 168 (the retention). 0 means 24; more is cut to 168.
	Hours uint32 `protobuf:"varint,2,opt,name=hours,proto3" json:"hours,omitempty"`
	// Also each row hour by hour (DeviceConnection.hours).
	ByHour bool `protobuf:"varint,3,opt,name=by_hour,json=byHour,proto3" json:"by_hour,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUserConnectionRequest) Descriptor deprecated added in v0.1.53

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

Deprecated: Use GetUserConnectionRequest.ProtoReflect.Descriptor instead.

func (*GetUserConnectionRequest) GetByHour added in v0.1.56

func (x *GetUserConnectionRequest) GetByHour() bool

func (*GetUserConnectionRequest) GetHours added in v0.1.53

func (x *GetUserConnectionRequest) GetHours() uint32

func (*GetUserConnectionRequest) GetUserId added in v0.1.53

func (x *GetUserConnectionRequest) GetUserId() string

func (*GetUserConnectionRequest) ProtoMessage added in v0.1.53

func (*GetUserConnectionRequest) ProtoMessage()

func (*GetUserConnectionRequest) ProtoReflect added in v0.1.53

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

func (*GetUserConnectionRequest) Reset added in v0.1.53

func (x *GetUserConnectionRequest) Reset()

func (*GetUserConnectionRequest) String added in v0.1.53

func (x *GetUserConnectionRequest) String() string

type GetUserConnectionResponse added in v0.1.53

type GetUserConnectionResponse struct {
	SinceUnix int64 `protobuf:"varint,1,opt,name=since_unix,json=sinceUnix,proto3" json:"since_unix,omitempty"`
	NowUnix   int64 `protobuf:"varint,2,opt,name=now_unix,json=nowUnix,proto3" json:"now_unix,omitempty"`
	// Device, then node name, then profile name.
	Rows []*DeviceConnection `protobuf:"bytes,3,rep,name=rows,proto3" json:"rows,omitempty"`
	// Nodes the person can use whose agent does not send connection counters: nothing from them is in rows.
	NodesWithoutCounters []string `protobuf:"bytes,4,rep,name=nodes_without_counters,json=nodesWithoutCounters,proto3" json:"nodes_without_counters,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUserConnectionResponse) Descriptor deprecated added in v0.1.53

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

Deprecated: Use GetUserConnectionResponse.ProtoReflect.Descriptor instead.

func (*GetUserConnectionResponse) GetNodesWithoutCounters added in v0.1.53

func (x *GetUserConnectionResponse) GetNodesWithoutCounters() []string

func (*GetUserConnectionResponse) GetNowUnix added in v0.1.53

func (x *GetUserConnectionResponse) GetNowUnix() int64

func (*GetUserConnectionResponse) GetRows added in v0.1.53

func (*GetUserConnectionResponse) GetSinceUnix added in v0.1.53

func (x *GetUserConnectionResponse) GetSinceUnix() int64

func (*GetUserConnectionResponse) ProtoMessage added in v0.1.53

func (*GetUserConnectionResponse) ProtoMessage()

func (*GetUserConnectionResponse) ProtoReflect added in v0.1.53

func (*GetUserConnectionResponse) Reset added in v0.1.53

func (x *GetUserConnectionResponse) Reset()

func (*GetUserConnectionResponse) String added in v0.1.53

func (x *GetUserConnectionResponse) String() string

type GetUserDnsChoicesRequest added in v0.1.17

type GetUserDnsChoicesRequest struct {
	UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUserDnsChoicesRequest) Descriptor deprecated added in v0.1.17

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

Deprecated: Use GetUserDnsChoicesRequest.ProtoReflect.Descriptor instead.

func (*GetUserDnsChoicesRequest) GetUserId added in v0.1.17

func (x *GetUserDnsChoicesRequest) GetUserId() string

func (*GetUserDnsChoicesRequest) ProtoMessage added in v0.1.17

func (*GetUserDnsChoicesRequest) ProtoMessage()

func (*GetUserDnsChoicesRequest) ProtoReflect added in v0.1.17

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

func (*GetUserDnsChoicesRequest) Reset added in v0.1.17

func (x *GetUserDnsChoicesRequest) Reset()

func (*GetUserDnsChoicesRequest) String added in v0.1.17

func (x *GetUserDnsChoicesRequest) String() string

type GetUserDnsChoicesResponse added in v0.1.17

type GetUserDnsChoicesResponse struct {
	Choices []*UserDnsChoice `protobuf:"bytes,1,rep,name=choices,proto3" json:"choices,omitempty"`
	// The pick for the apps that take the link (SubscriptionSettings.link_dns), one for all servers; node_id and node_name are
	// empty. Absent when the person picked nothing for them.
	Link *UserDnsChoice `protobuf:"bytes,2,opt,name=link,proto3" json:"link,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUserDnsChoicesResponse) Descriptor deprecated added in v0.1.17

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

Deprecated: Use GetUserDnsChoicesResponse.ProtoReflect.Descriptor instead.

func (*GetUserDnsChoicesResponse) GetChoices added in v0.1.17

func (x *GetUserDnsChoicesResponse) GetChoices() []*UserDnsChoice

func (*GetUserDnsChoicesResponse) ProtoMessage added in v0.1.17

func (*GetUserDnsChoicesResponse) ProtoMessage()

func (*GetUserDnsChoicesResponse) ProtoReflect added in v0.1.17

func (*GetUserDnsChoicesResponse) Reset added in v0.1.17

func (x *GetUserDnsChoicesResponse) Reset()

func (*GetUserDnsChoicesResponse) String added in v0.1.17

func (x *GetUserDnsChoicesResponse) String() string

type GetUserRequest

type GetUserRequest struct {
	UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUserRequest) Descriptor deprecated

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

Deprecated: Use GetUserRequest.ProtoReflect.Descriptor instead.

func (*GetUserRequest) GetUserId

func (x *GetUserRequest) GetUserId() string

func (*GetUserRequest) ProtoMessage

func (*GetUserRequest) ProtoMessage()

func (*GetUserRequest) ProtoReflect

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

func (*GetUserRequest) Reset

func (x *GetUserRequest) Reset()

func (*GetUserRequest) String

func (x *GetUserRequest) String() string

type GetUserResponse

type GetUserResponse struct {
	User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	// Non-revoked devices.
	Devices []*Device `protobuf:"bytes,2,rep,name=devices,proto3" json:"devices,omitempty"`
	// Last 14 days, oldest first, zero days included.
	DailyTraffic []*DayTraffic  `protobuf:"bytes,3,rep,name=daily_traffic,json=dailyTraffic,proto3" json:"daily_traffic,omitempty"`
	NodeTraffic  []*NodeTraffic `protobuf:"bytes,4,rep,name=node_traffic,json=nodeTraffic,proto3" json:"node_traffic,omitempty"`
	// Profiles that come from the group (chips in Access).
	Profiles   []*ProfileRef `protobuf:"bytes,5,rep,name=profiles,proto3" json:"profiles,omitempty"`
	NodeAccess []*NodeAccess `protobuf:"bytes,6,rep,name=node_access,json=nodeAccess,proto3" json:"node_access,omitempty"`
	// Devices the owner revoked with block: their app is refused until UnblockDevice.
	BlockedDevices []*BlockedDevice `protobuf:"bytes,7,rep,name=blocked_devices,json=blockedDevices,proto3" json:"blocked_devices,omitempty"` // History comes from FleetService.ListEvents(user_id).
	// contains filtered or unexported fields
}

func (*GetUserResponse) Descriptor deprecated

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

Deprecated: Use GetUserResponse.ProtoReflect.Descriptor instead.

func (*GetUserResponse) GetBlockedDevices added in v0.1.39

func (x *GetUserResponse) GetBlockedDevices() []*BlockedDevice

func (*GetUserResponse) GetDailyTraffic

func (x *GetUserResponse) GetDailyTraffic() []*DayTraffic

func (*GetUserResponse) GetDevices

func (x *GetUserResponse) GetDevices() []*Device

func (*GetUserResponse) GetNodeAccess

func (x *GetUserResponse) GetNodeAccess() []*NodeAccess

func (*GetUserResponse) GetNodeTraffic

func (x *GetUserResponse) GetNodeTraffic() []*NodeTraffic

func (*GetUserResponse) GetProfiles

func (x *GetUserResponse) GetProfiles() []*ProfileRef

func (*GetUserResponse) GetUser

func (x *GetUserResponse) GetUser() *User

func (*GetUserResponse) ProtoMessage

func (*GetUserResponse) ProtoMessage()

func (*GetUserResponse) ProtoReflect

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

func (*GetUserResponse) Reset

func (x *GetUserResponse) Reset()

func (*GetUserResponse) String

func (x *GetUserResponse) String() string

type GetWarpRegistrationParamsRequest

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

func (*GetWarpRegistrationParamsRequest) Descriptor deprecated

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

Deprecated: Use GetWarpRegistrationParamsRequest.ProtoReflect.Descriptor instead.

func (*GetWarpRegistrationParamsRequest) ProtoMessage

func (*GetWarpRegistrationParamsRequest) ProtoMessage()

func (*GetWarpRegistrationParamsRequest) ProtoReflect

func (*GetWarpRegistrationParamsRequest) Reset

func (*GetWarpRegistrationParamsRequest) String

type GetWarpRegistrationParamsResponse

type GetWarpRegistrationParamsResponse struct {
	Params *WarpRegistrationParams `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"`
	// The built-in values, for the "reset" button.
	Defaults *WarpRegistrationParams `protobuf:"bytes,2,opt,name=defaults,proto3" json:"defaults,omitempty"`
	// params differ from the built-in values.
	Customised bool `protobuf:"varint,3,opt,name=customised,proto3" json:"customised,omitempty"`
	// contains filtered or unexported fields
}

func (*GetWarpRegistrationParamsResponse) Descriptor deprecated

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

Deprecated: Use GetWarpRegistrationParamsResponse.ProtoReflect.Descriptor instead.

func (*GetWarpRegistrationParamsResponse) GetCustomised

func (x *GetWarpRegistrationParamsResponse) GetCustomised() bool

func (*GetWarpRegistrationParamsResponse) GetDefaults

func (*GetWarpRegistrationParamsResponse) GetParams

func (*GetWarpRegistrationParamsResponse) ProtoMessage

func (*GetWarpRegistrationParamsResponse) ProtoMessage()

func (*GetWarpRegistrationParamsResponse) ProtoReflect

func (*GetWarpRegistrationParamsResponse) Reset

func (*GetWarpRegistrationParamsResponse) String

type GetWarpRequest

type GetWarpRequest struct {
	NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetWarpRequest) Descriptor deprecated

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

Deprecated: Use GetWarpRequest.ProtoReflect.Descriptor instead.

func (*GetWarpRequest) GetNodeId

func (x *GetWarpRequest) GetNodeId() string

func (*GetWarpRequest) ProtoMessage

func (*GetWarpRequest) ProtoMessage()

func (*GetWarpRequest) ProtoReflect

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

func (*GetWarpRequest) Reset

func (x *GetWarpRequest) Reset()

func (*GetWarpRequest) String

func (x *GetWarpRequest) String() string

type GetWarpResponse

type GetWarpResponse struct {

	// Unset = no account on this node.
	Account *WarpAccount `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	// Unset until the node has reported.
	Health *WarpHealthView `protobuf:"bytes,2,opt,name=health,proto3" json:"health,omitempty"`
	// The account is in the desired state but the node has not confirmed it yet.
	PendingApply bool   `protobuf:"varint,3,opt,name=pending_apply,json=pendingApply,proto3" json:"pending_apply,omitempty"`
	ApplyError   string `protobuf:"bytes,4,opt,name=apply_error,json=applyError,proto3" json:"apply_error,omitempty"`
	// The node's agent can run WARP ("warp/1").
	AgentSupports bool `protobuf:"varint,5,opt,name=agent_supports,json=agentSupports,proto3" json:"agent_supports,omitempty"`
	// The terms the UI links next to the register button.
	TosUrl string `protobuf:"bytes,6,opt,name=tos_url,json=tosUrl,proto3" json:"tos_url,omitempty"`
	// The registration needs attention (it failed, or WARP went down and cannot heal itself): the owner decides.
	NeedsAttention bool `protobuf:"varint,7,opt,name=needs_attention,json=needsAttention,proto3" json:"needs_attention,omitempty"`
	// Why (a code: revoked, down_after_ladder, table_in_use, rule_pref_in_use, apply_failed; "" with needs_attention
	// false). The UI words the ones it knows.
	AttentionReason string `protobuf:"bytes,8,opt,name=attention_reason,json=attentionReason,proto3" json:"attention_reason,omitempty"`
	// The node's enabled profiles that exit through WARP: they stop while WARP is down or paused (the pause dialog
	// names them and how many are connected through them now).
	Inbounds []*WarpInbound `protobuf:"bytes,9,rep,name=inbounds,proto3" json:"inbounds,omitempty"`
	// contains filtered or unexported fields
}

func (*GetWarpResponse) Descriptor deprecated

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

Deprecated: Use GetWarpResponse.ProtoReflect.Descriptor instead.

func (*GetWarpResponse) GetAccount

func (x *GetWarpResponse) GetAccount() *WarpAccount

func (*GetWarpResponse) GetAgentSupports

func (x *GetWarpResponse) GetAgentSupports() bool

func (*GetWarpResponse) GetApplyError

func (x *GetWarpResponse) GetApplyError() string

func (*GetWarpResponse) GetAttentionReason

func (x *GetWarpResponse) GetAttentionReason() string

func (*GetWarpResponse) GetHealth

func (x *GetWarpResponse) GetHealth() *WarpHealthView

func (*GetWarpResponse) GetInbounds

func (x *GetWarpResponse) GetInbounds() []*WarpInbound

func (*GetWarpResponse) GetNeedsAttention

func (x *GetWarpResponse) GetNeedsAttention() bool

func (*GetWarpResponse) GetPendingApply

func (x *GetWarpResponse) GetPendingApply() bool

func (*GetWarpResponse) GetTosUrl

func (x *GetWarpResponse) GetTosUrl() string

func (*GetWarpResponse) ProtoMessage

func (*GetWarpResponse) ProtoMessage()

func (*GetWarpResponse) ProtoReflect

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

func (*GetWarpResponse) Reset

func (x *GetWarpResponse) Reset()

func (*GetWarpResponse) String

func (x *GetWarpResponse) String() string

type GlobalpingSettings added in v0.1.41

type GlobalpingSettings struct {

	// Default false.
	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// Minutes between rounds, 10..1440; default 15. When the hourly limit of Globalping needs it, the probes per measurement go
	// down from three to two, and then the rounds come less often than this.
	IntervalMin uint32 `protobuf:"varint,2,opt,name=interval_min,json=intervalMin,proto3" json:"interval_min,omitempty"`
	// A token is stored. The token itself is never returned.
	HasToken bool `protobuf:"varint,3,opt,name=has_token,json=hasToken,proto3" json:"has_token,omitempty"`
	// Also check the nodes that have working IPv6 by their IPv6 address, in a round of its own with a control site reached over
	// IPv6 (probes without IPv6 do not count). Default true. Each such node adds about the same number of tests as over IPv4,
	// so without a token the rounds come a little less often; false keeps the IPv4 checks as they were.
	Ipv6 bool `protobuf:"varint,4,opt,name=ipv6,proto3" json:"ipv6,omitempty"`
	// contains filtered or unexported fields
}

func (*GlobalpingSettings) Descriptor deprecated added in v0.1.41

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

Deprecated: Use GlobalpingSettings.ProtoReflect.Descriptor instead.

func (*GlobalpingSettings) GetEnabled added in v0.1.41

func (x *GlobalpingSettings) GetEnabled() bool

func (*GlobalpingSettings) GetHasToken added in v0.1.41

func (x *GlobalpingSettings) GetHasToken() bool

func (*GlobalpingSettings) GetIntervalMin added in v0.1.41

func (x *GlobalpingSettings) GetIntervalMin() uint32

func (*GlobalpingSettings) GetIpv6 added in v0.1.65

func (x *GlobalpingSettings) GetIpv6() bool

func (*GlobalpingSettings) ProtoMessage added in v0.1.41

func (*GlobalpingSettings) ProtoMessage()

func (*GlobalpingSettings) ProtoReflect added in v0.1.41

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

func (*GlobalpingSettings) Reset added in v0.1.41

func (x *GlobalpingSettings) Reset()

func (*GlobalpingSettings) String added in v0.1.41

func (x *GlobalpingSettings) String() string

type Group

type Group struct {
	Id         string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name       string   `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	ProfileIds []string `protobuf:"bytes,3,rep,name=profile_ids,json=profileIds,proto3" json:"profile_ids,omitempty"`
	UserCount  uint32   `protobuf:"varint,4,opt,name=user_count,json=userCount,proto3" json:"user_count,omitempty"`
	// Empty = the instance default.
	DnsPresetId string `protobuf:"bytes,5,opt,name=dns_preset_id,json=dnsPresetId,proto3" json:"dns_preset_id,omitempty"`
	// Nodes where the group's profiles give something right now: an enabled, pending or running inbound on an enrolled
	// node (the subscription's rule, without a user's own node choice and app switches), by the kind of app that takes
	// it: the subscription apps and AmneziaVPN keys. What a new user of the group gets; 0 = nothing there.
	HappNodes    uint32 `protobuf:"varint,6,opt,name=happ_nodes,json=happNodes,proto3" json:"happ_nodes,omitempty"`
	AmneziaNodes uint32 `protobuf:"varint,7,opt,name=amnezia_nodes,json=amneziaNodes,proto3" json:"amnezia_nodes,omitempty"`
	// The colour of the group's chip: a tone name of the admin's palette (lavender, sand, sage, rose, sky, mint), "" = none
	// picked (the admin then derives one from the id).
	Color string `protobuf:"bytes,8,opt,name=color,proto3" json:"color,omitempty"`
	// Nodes that are disabled for users in this group. Empty = every node is available, including future nodes.
	DisabledNodeIds []string `protobuf:"bytes,9,rep,name=disabled_node_ids,json=disabledNodeIds,proto3" json:"disabled_node_ids,omitempty"`
	// Nodes where the group's MTProto profiles give a Telegram proxy right now (same rule as happ_nodes and amnezia_nodes).
	TelegramNodes uint32 `protobuf:"varint,10,opt,name=telegram_nodes,json=telegramNodes,proto3" json:"telegram_nodes,omitempty"`
	// contains filtered or unexported fields
}

func (*Group) Descriptor deprecated

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

Deprecated: Use Group.ProtoReflect.Descriptor instead.

func (*Group) GetAmneziaNodes

func (x *Group) GetAmneziaNodes() uint32

func (*Group) GetColor added in v0.1.19

func (x *Group) GetColor() string

func (*Group) GetDisabledNodeIds added in v0.1.68

func (x *Group) GetDisabledNodeIds() []string

func (*Group) GetDnsPresetId

func (x *Group) GetDnsPresetId() string

func (*Group) GetHappNodes

func (x *Group) GetHappNodes() uint32

func (*Group) GetId

func (x *Group) GetId() string

func (*Group) GetName

func (x *Group) GetName() string

func (*Group) GetProfileIds

func (x *Group) GetProfileIds() []string

func (*Group) GetTelegramNodes added in v0.1.69

func (x *Group) GetTelegramNodes() uint32

func (*Group) GetUserCount

func (x *Group) GetUserCount() uint32

func (*Group) ProtoMessage

func (*Group) ProtoMessage()

func (*Group) ProtoReflect

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

func (*Group) Reset

func (x *Group) Reset()

func (*Group) String

func (x *Group) String() string

type HappPing added in v0.1.47

type HappPing int32

The ping-type header Happ is sent (only Happ, only when set), with ping-result: time (the delay in ms, not an icon).

const (
	HappPing_HAPP_PING_UNSPECIFIED HappPing = 0
	// ping-type: tcp, a TCP connection to the server's address and port.
	HappPing_HAPP_PING_TCP HappPing = 1
)

func (HappPing) Descriptor added in v0.1.47

func (HappPing) Descriptor() protoreflect.EnumDescriptor

func (HappPing) Enum added in v0.1.47

func (x HappPing) Enum() *HappPing

func (HappPing) EnumDescriptor deprecated added in v0.1.47

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

Deprecated: Use HappPing.Descriptor instead.

func (HappPing) Number added in v0.1.47

func (x HappPing) Number() protoreflect.EnumNumber

func (HappPing) String added in v0.1.47

func (x HappPing) String() string

func (HappPing) Type added in v0.1.47

type ImpactProfile

type ImpactProfile struct {
	Id       string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name     string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Protocol string `protobuf:"bytes,3,opt,name=protocol,proto3" json:"protocol,omitempty"`
	// Live AmneziaVPN keys (AWG devices) of the touched people bound to this profile.
	AwgDevices uint32 `protobuf:"varint,4,opt,name=awg_devices,json=awgDevices,proto3" json:"awg_devices,omitempty"`
	// contains filtered or unexported fields
}

func (*ImpactProfile) Descriptor deprecated

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

Deprecated: Use ImpactProfile.ProtoReflect.Descriptor instead.

func (*ImpactProfile) GetAwgDevices

func (x *ImpactProfile) GetAwgDevices() uint32

func (*ImpactProfile) GetId

func (x *ImpactProfile) GetId() string

func (*ImpactProfile) GetName

func (x *ImpactProfile) GetName() string

func (*ImpactProfile) GetProtocol

func (x *ImpactProfile) GetProtocol() string

func (*ImpactProfile) ProtoMessage

func (*ImpactProfile) ProtoMessage()

func (*ImpactProfile) ProtoReflect

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

func (*ImpactProfile) Reset

func (x *ImpactProfile) Reset()

func (*ImpactProfile) String

func (x *ImpactProfile) String() string

type ImportWarpRequest

type ImportWarpRequest struct {
	NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	// Text of wgcf-profile.conf (required).
	ProfileConf string `protobuf:"bytes,2,opt,name=profile_conf,json=profileConf,proto3" json:"profile_conf,omitempty"`
	// Text of wgcf-account.toml (optional; adds the token, device id and license, which enable Refresh/Delete).
	AccountToml string `protobuf:"bytes,3,opt,name=account_toml,json=accountToml,proto3" json:"account_toml,omitempty"`
	// contains filtered or unexported fields
}

func (*ImportWarpRequest) Descriptor deprecated

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

Deprecated: Use ImportWarpRequest.ProtoReflect.Descriptor instead.

func (*ImportWarpRequest) GetAccountToml

func (x *ImportWarpRequest) GetAccountToml() string

func (*ImportWarpRequest) GetNodeId

func (x *ImportWarpRequest) GetNodeId() string

func (*ImportWarpRequest) GetProfileConf

func (x *ImportWarpRequest) GetProfileConf() string

func (*ImportWarpRequest) ProtoMessage

func (*ImportWarpRequest) ProtoMessage()

func (*ImportWarpRequest) ProtoReflect

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

func (*ImportWarpRequest) Reset

func (x *ImportWarpRequest) Reset()

func (*ImportWarpRequest) String

func (x *ImportWarpRequest) String() string

type ImportWarpResponse

type ImportWarpResponse struct {
	Account *WarpAccount `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	// contains filtered or unexported fields
}

func (*ImportWarpResponse) Descriptor deprecated

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

Deprecated: Use ImportWarpResponse.ProtoReflect.Descriptor instead.

func (*ImportWarpResponse) GetAccount

func (x *ImportWarpResponse) GetAccount() *WarpAccount

func (*ImportWarpResponse) ProtoMessage

func (*ImportWarpResponse) ProtoMessage()

func (*ImportWarpResponse) ProtoReflect

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

func (*ImportWarpResponse) Reset

func (x *ImportWarpResponse) Reset()

func (*ImportWarpResponse) String

func (x *ImportWarpResponse) String() string

type Inbound

type Inbound struct {
	Id          string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	ProfileId   string `protobuf:"bytes,2,opt,name=profile_id,json=profileId,proto3" json:"profile_id,omitempty"`
	ProfileName string `protobuf:"bytes,3,opt,name=profile_name,json=profileName,proto3" json:"profile_name,omitempty"`
	Protocol    string `protobuf:"bytes,4,opt,name=protocol,proto3" json:"protocol,omitempty"`
	NodeId      string `protobuf:"bytes,5,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	NodeName    string `protobuf:"bytes,6,opt,name=node_name,json=nodeName,proto3" json:"node_name,omitempty"`
	// Effective UDP/TCP port: the override if set, else the profile's port.
	Port uint32 `protobuf:"varint,7,opt,name=port,proto3" json:"port,omitempty"`
	// Effective TLS server name (override, else the profile's sni, else the node address if it is a hostname).
	TlsServerName string       `protobuf:"bytes,8,opt,name=tls_server_name,json=tlsServerName,proto3" json:"tls_server_name,omitempty"`
	State         InboundState `protobuf:"varint,9,opt,name=state,proto3,enum=mistgate.admin.v1.InboundState" json:"state,omitempty"`
	LastError     string       `protobuf:"bytes,10,opt,name=last_error,json=lastError,proto3" json:"last_error,omitempty"`
	// Reported by the node after apply (self-signed / ACME certificate of this inbound).
	CertPinSha256    string `protobuf:"bytes,11,opt,name=cert_pin_sha256,json=certPinSha256,proto3" json:"cert_pin_sha256,omitempty"`
	CertNotAfterUnix int64  `protobuf:"varint,12,opt,name=cert_not_after_unix,json=certNotAfterUnix,proto3" json:"cert_not_after_unix,omitempty"`
	// Protocol "awg" only: what the node last reported; unset until the first report or for an older agent.
	Awg *AwgInboundStatus `protobuf:"bytes,13,opt,name=awg,proto3" json:"awg,omitempty"`
	// Where the inbound's traffic leaves the node: "direct" | "warp" (the profile's egress; empty when the plugin cannot
	// build the inbound).
	Egress string `protobuf:"bytes,14,opt,name=egress,proto3" json:"egress,omitempty"`
	// The configured override, or 0 when the profile port is used.
	PortOverride uint32 `protobuf:"varint,15,opt,name=port_override,json=portOverride,proto3" json:"port_override,omitempty"`
	// The configured server-name override, or empty when the profile/node default is used.
	TlsServerNameOverride string `` /* 129-byte string literal not displayed */
	// Whether this inbound is enabled in the desired state.
	Enabled bool `protobuf:"varint,17,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// Whether the server at the node's own address is included in subscriptions. The inbound keeps running when false.
	DirectInSubscriptions bool `` /* 128-byte string literal not displayed */
	// Whether clients reach this inbound through its CDN host instead of the node's address.
	Cdn bool `protobuf:"varint,19,opt,name=cdn,proto3" json:"cdn,omitempty"`
	// contains filtered or unexported fields
}

A profile deployed on a node (profile x node).

func (*Inbound) Descriptor deprecated

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

Deprecated: Use Inbound.ProtoReflect.Descriptor instead.

func (*Inbound) GetAwg

func (x *Inbound) GetAwg() *AwgInboundStatus

func (*Inbound) GetCdn added in v0.1.79

func (x *Inbound) GetCdn() bool

func (*Inbound) GetCertNotAfterUnix

func (x *Inbound) GetCertNotAfterUnix() int64

func (*Inbound) GetCertPinSha256

func (x *Inbound) GetCertPinSha256() string

func (*Inbound) GetDirectInSubscriptions added in v0.1.79

func (x *Inbound) GetDirectInSubscriptions() bool

func (*Inbound) GetEgress

func (x *Inbound) GetEgress() string

func (*Inbound) GetEnabled added in v0.1.62

func (x *Inbound) GetEnabled() bool

func (*Inbound) GetId

func (x *Inbound) GetId() string

func (*Inbound) GetLastError

func (x *Inbound) GetLastError() string

func (*Inbound) GetNodeId

func (x *Inbound) GetNodeId() string

func (*Inbound) GetNodeName

func (x *Inbound) GetNodeName() string

func (*Inbound) GetPort

func (x *Inbound) GetPort() uint32

func (*Inbound) GetPortOverride added in v0.1.62

func (x *Inbound) GetPortOverride() uint32

func (*Inbound) GetProfileId

func (x *Inbound) GetProfileId() string

func (*Inbound) GetProfileName

func (x *Inbound) GetProfileName() string

func (*Inbound) GetProtocol

func (x *Inbound) GetProtocol() string

func (*Inbound) GetState

func (x *Inbound) GetState() InboundState

func (*Inbound) GetTlsServerName

func (x *Inbound) GetTlsServerName() string

func (*Inbound) GetTlsServerNameOverride added in v0.1.62

func (x *Inbound) GetTlsServerNameOverride() string

func (*Inbound) ProtoMessage

func (*Inbound) ProtoMessage()

func (*Inbound) ProtoReflect

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

func (*Inbound) Reset

func (x *Inbound) Reset()

func (*Inbound) String

func (x *Inbound) String() string

type InboundConnections added in v0.1.53

type InboundConnections struct {
	InboundId   string `protobuf:"bytes,1,opt,name=inbound_id,json=inboundId,proto3" json:"inbound_id,omitempty"`
	ProfileId   string `protobuf:"bytes,2,opt,name=profile_id,json=profileId,proto3" json:"profile_id,omitempty"`
	ProfileName string `protobuf:"bytes,3,opt,name=profile_name,json=profileName,proto3" json:"profile_name,omitempty"`
	Protocol    string `protobuf:"bytes,4,opt,name=protocol,proto3" json:"protocol,omitempty"`
	Connects    uint32 `protobuf:"varint,5,opt,name=connects,proto3" json:"connects,omitempty"`
	Rejects     uint32 `protobuf:"varint,6,opt,name=rejects,proto3" json:"rejects,omitempty"`
	Drops       uint32 `protobuf:"varint,7,opt,name=drops,proto3" json:"drops,omitempty"`
	Stalls      uint32 `protobuf:"varint,8,opt,name=stalls,proto3" json:"stalls,omitempty"`
	OnlineS     uint64 `protobuf:"varint,9,opt,name=online_s,json=onlineS,proto3" json:"online_s,omitempty"`
	UnknownKeys uint32 `protobuf:"varint,10,opt,name=unknown_keys,json=unknownKeys,proto3" json:"unknown_keys,omitempty"`
	// Hysteria2: handshakes started and those that reached authentication, without the panel's own synthetic checks (the health
	// probe key's handshakes are taken off; at the window's edges by a check or two).
	Hellos     uint32 `protobuf:"varint,11,opt,name=hellos,proto3" json:"hellos,omitempty"`
	Handshakes uint32 `protobuf:"varint,12,opt,name=handshakes,proto3" json:"handshakes,omitempty"`
	// Keys that had a stall, and keys that tried at all (a connect or a stall), in the window.
	KeysStalled uint32 `protobuf:"varint,13,opt,name=keys_stalled,json=keysStalled,proto3" json:"keys_stalled,omitempty"`
	KeysTried   uint32 `protobuf:"varint,14,opt,name=keys_tried,json=keysTried,proto3" json:"keys_tried,omitempty"`
	// The counters this protocol, or this node's agent, does not count (their zero means nothing): awg "rejects", "drops",
	// "hellos", "handshakes" and every links/2 counter; vless every counter until its agent counts them; hysteria2 on an
	// agent without "links/2" the links/2 counters (client_closes, freezes, quiet, accepted, hellos_foreign, rtt_ms,
	// loss_permille, rtt_samples, pkts_sent).
	Unsupported []string `protobuf:"bytes,15,rep,name=unsupported,proto3" json:"unsupported,omitempty"`
	// With by_hour: the hours of the window that have a counter, oldest first.
	Hours []*LinkHour `protobuf:"bytes,16,rep,name=hours,proto3" json:"hours,omitempty"`
	// The window by the devices' current app label (Device.client and .platform), most activity first (connects, rejects,
	// drops and stalls together, so a failing app is not pushed out), at most 8; keys whose device is gone are not in it.
	Clients []*ClientConnections `protobuf:"bytes,17,rep,name=clients,proto3" json:"clients,omitempty"`
	// AmneziaWG inbounds only: what the node's last health report says of its UDP port.
	Awg           *AwgPackets `protobuf:"bytes,18,opt,name=awg,proto3" json:"awg,omitempty"`
	ClientCloses  uint32      `protobuf:"varint,19,opt,name=client_closes,json=clientCloses,proto3" json:"client_closes,omitempty"`
	Freezes       uint32      `protobuf:"varint,20,opt,name=freezes,proto3" json:"freezes,omitempty"`
	Quiet         uint32      `protobuf:"varint,21,opt,name=quiet,proto3" json:"quiet,omitempty"`
	Accepted      uint32      `protobuf:"varint,22,opt,name=accepted,proto3" json:"accepted,omitempty"`
	HellosForeign uint32      `protobuf:"varint,23,opt,name=hellos_foreign,json=hellosForeign,proto3" json:"hellos_foreign,omitempty"`
	RttMs         uint32      `protobuf:"varint,24,opt,name=rtt_ms,json=rttMs,proto3" json:"rtt_ms,omitempty"`
	LossPermille  uint32      `protobuf:"varint,25,opt,name=loss_permille,json=lossPermille,proto3" json:"loss_permille,omitempty"`
	RttSamples    uint32      `protobuf:"varint,26,opt,name=rtt_samples,json=rttSamples,proto3" json:"rtt_samples,omitempty"`
	PktsSent      uint64      `protobuf:"varint,27,opt,name=pkts_sent,json=pktsSent,proto3" json:"pkts_sent,omitempty"`
	// contains filtered or unexported fields
}

One inbound of the node: its counters summed over its keys and its own row, in the window. What the counters can and cannot say (none of them is a block by itself):

  • connects: accepted connections. Port hopping and short test connections make many for one person.
  • rejects: a known key refused because its term ended.
  • drops (Hysteria2): an idle timeout of a connection younger than 60 s or under 64 KiB. A TSPU freeze looks like this, and so does a short test connection of an app (a server check, auto-select): only together with other signals.
  • stalls (AmneziaWG): 10-second rounds in which the device's initiations reached the node and no handshake completed: the node's answer does not reach the device, or the device cannot read it.
  • online_s: seconds with an open session, including the idle tail of short sessions.
  • unknown_keys: attempts with a key the node does not hold (scanners too, and removed or rotated keys).
  • hellos, handshakes (Hysteria2): QUIC ClientHellos and the authentications that followed; hellos include scanners and apps that ping with a handshake, and miss resumed TLS sessions.

Hysteria2 with agents that list "links/2" (agent.proto LinkCounters), from the QUIC connection itself:

  • client_closes: connections the client closed itself.
  • freezes: idle timeouts after the node had kept sending and nothing came back: the path froze (how a TSPU freeze looks) or the client vanished mid-transfer. What tells a freeze from an app check, unlike drops. It needs a stats snapshot in the silence: the idle timeout (30 s) is longer than the stats interval (10 s).
  • quiet: idle timeouts in which neither side had anything to send: the client went away without closing (app checks, auto-select, a phone asleep). Harmless.
  • accepted: QUIC handshakes that completed; hellos - accepted never completed (a cut path, an app that gave up, or a scanner: hellos_foreign tells how many hellos were for another name), accepted - handshakes never asked to authenticate (pings).
  • hellos_foreign: ClientHellos for another server name (scanners).
  • rtt_ms (average smoothed RTT of connections that moved data, over rtt_samples samples) and loss_permille (packets the node declared lost per thousand it sent, over pkts_sent): how fast and clean the path was.

func (*InboundConnections) Descriptor deprecated added in v0.1.53

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

Deprecated: Use InboundConnections.ProtoReflect.Descriptor instead.

func (*InboundConnections) GetAccepted added in v0.1.57

func (x *InboundConnections) GetAccepted() uint32

func (*InboundConnections) GetAwg added in v0.1.56

func (x *InboundConnections) GetAwg() *AwgPackets

func (*InboundConnections) GetClientCloses added in v0.1.57

func (x *InboundConnections) GetClientCloses() uint32

func (*InboundConnections) GetClients added in v0.1.56

func (x *InboundConnections) GetClients() []*ClientConnections

func (*InboundConnections) GetConnects added in v0.1.53

func (x *InboundConnections) GetConnects() uint32

func (*InboundConnections) GetDrops added in v0.1.53

func (x *InboundConnections) GetDrops() uint32

func (*InboundConnections) GetFreezes added in v0.1.57

func (x *InboundConnections) GetFreezes() uint32

func (*InboundConnections) GetHandshakes added in v0.1.53

func (x *InboundConnections) GetHandshakes() uint32

func (*InboundConnections) GetHellos added in v0.1.53

func (x *InboundConnections) GetHellos() uint32

func (*InboundConnections) GetHellosForeign added in v0.1.57

func (x *InboundConnections) GetHellosForeign() uint32

func (*InboundConnections) GetHours added in v0.1.56

func (x *InboundConnections) GetHours() []*LinkHour

func (*InboundConnections) GetInboundId added in v0.1.53

func (x *InboundConnections) GetInboundId() string

func (*InboundConnections) GetKeysStalled added in v0.1.53

func (x *InboundConnections) GetKeysStalled() uint32

func (*InboundConnections) GetKeysTried added in v0.1.53

func (x *InboundConnections) GetKeysTried() uint32

func (*InboundConnections) GetLossPermille added in v0.1.57

func (x *InboundConnections) GetLossPermille() uint32

func (*InboundConnections) GetOnlineS added in v0.1.53

func (x *InboundConnections) GetOnlineS() uint64

func (*InboundConnections) GetPktsSent added in v0.1.57

func (x *InboundConnections) GetPktsSent() uint64

func (*InboundConnections) GetProfileId added in v0.1.53

func (x *InboundConnections) GetProfileId() string

func (*InboundConnections) GetProfileName added in v0.1.53

func (x *InboundConnections) GetProfileName() string

func (*InboundConnections) GetProtocol added in v0.1.53

func (x *InboundConnections) GetProtocol() string

func (*InboundConnections) GetQuiet added in v0.1.57

func (x *InboundConnections) GetQuiet() uint32

func (*InboundConnections) GetRejects added in v0.1.53

func (x *InboundConnections) GetRejects() uint32

func (*InboundConnections) GetRttMs added in v0.1.57

func (x *InboundConnections) GetRttMs() uint32

func (*InboundConnections) GetRttSamples added in v0.1.57

func (x *InboundConnections) GetRttSamples() uint32

func (*InboundConnections) GetStalls added in v0.1.53

func (x *InboundConnections) GetStalls() uint32

func (*InboundConnections) GetUnknownKeys added in v0.1.53

func (x *InboundConnections) GetUnknownKeys() uint32

func (*InboundConnections) GetUnsupported added in v0.1.56

func (x *InboundConnections) GetUnsupported() []string

func (*InboundConnections) ProtoMessage added in v0.1.53

func (*InboundConnections) ProtoMessage()

func (*InboundConnections) ProtoReflect added in v0.1.53

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

func (*InboundConnections) Reset added in v0.1.53

func (x *InboundConnections) Reset()

func (*InboundConnections) String added in v0.1.53

func (x *InboundConnections) String() string

type InboundState

type InboundState int32
const (
	InboundState_INBOUND_STATE_UNSPECIFIED InboundState = 0
	// Created on the panel, not yet sent or not yet answered.
	InboundState_INBOUND_STATE_PENDING InboundState = 1
	InboundState_INBOUND_STATE_ACTIVE  InboundState = 2
	InboundState_INBOUND_STATE_FAILED  InboundState = 3
	// Admin switched it off (kept in the database, removed from the desired state).
	InboundState_INBOUND_STATE_DISABLED InboundState = 4
)

func (InboundState) Descriptor

func (InboundState) Enum

func (x InboundState) Enum() *InboundState

func (InboundState) EnumDescriptor deprecated

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

Deprecated: Use InboundState.Descriptor instead.

func (InboundState) Number

func (InboundState) String

func (x InboundState) String() string

func (InboundState) Type

type InstallPanelUpdateRequest

type InstallPanelUpdateRequest struct {

	// The release the owner confirmed (PanelUpdate.version and .sha256). FAILED_PRECONDITION when the latest signed
	// release is another one; the root helper checks them again before it installs.
	ExpectedVersion string `protobuf:"bytes,1,opt,name=expected_version,json=expectedVersion,proto3" json:"expected_version,omitempty"`
	ExpectedSha256  string `protobuf:"bytes,2,opt,name=expected_sha256,json=expectedSha256,proto3" json:"expected_sha256,omitempty"`
	// contains filtered or unexported fields
}

func (*InstallPanelUpdateRequest) Descriptor deprecated

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

Deprecated: Use InstallPanelUpdateRequest.ProtoReflect.Descriptor instead.

func (*InstallPanelUpdateRequest) GetExpectedSha256 added in v0.1.15

func (x *InstallPanelUpdateRequest) GetExpectedSha256() string

func (*InstallPanelUpdateRequest) GetExpectedVersion added in v0.1.15

func (x *InstallPanelUpdateRequest) GetExpectedVersion() string

func (*InstallPanelUpdateRequest) ProtoMessage

func (*InstallPanelUpdateRequest) ProtoMessage()

func (*InstallPanelUpdateRequest) ProtoReflect

func (*InstallPanelUpdateRequest) Reset

func (x *InstallPanelUpdateRequest) Reset()

func (*InstallPanelUpdateRequest) String

func (x *InstallPanelUpdateRequest) String() string

type InstallPanelUpdateResponse

type InstallPanelUpdateResponse struct {
	Update *PanelUpdate `protobuf:"bytes,1,opt,name=update,proto3" json:"update,omitempty"`
	// contains filtered or unexported fields
}

func (*InstallPanelUpdateResponse) Descriptor deprecated

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

Deprecated: Use InstallPanelUpdateResponse.ProtoReflect.Descriptor instead.

func (*InstallPanelUpdateResponse) GetUpdate

func (x *InstallPanelUpdateResponse) GetUpdate() *PanelUpdate

func (*InstallPanelUpdateResponse) ProtoMessage

func (*InstallPanelUpdateResponse) ProtoMessage()

func (*InstallPanelUpdateResponse) ProtoReflect

func (*InstallPanelUpdateResponse) Reset

func (x *InstallPanelUpdateResponse) Reset()

func (*InstallPanelUpdateResponse) String

func (x *InstallPanelUpdateResponse) String() string

type Instance

type Instance struct {

	// The wordmark is brand_head in the text colour followed by brand_tail in the accent
	// colour, e.g. "mist" + "gate". Together they are the brand name ("Mistgate" by default).
	BrandHead string `protobuf:"bytes,1,opt,name=brand_head,json=brandHead,proto3" json:"brand_head,omitempty"`
	BrandTail string `protobuf:"bytes,2,opt,name=brand_tail,json=brandTail,proto3" json:"brand_tail,omitempty"`
	// "#rrggbb", lower case.
	Accent string `protobuf:"bytes,3,opt,name=accent,proto3" json:"accent,omitempty"`
	// Default UI language for new browsers: "en", "ru", or "zh".
	Language string `protobuf:"bytes,4,opt,name=language,proto3" json:"language,omitempty"`
	HasLogo bool `protobuf:"varint,5,opt,name=has_logo,json=hasLogo,proto3" json:"has_logo,omitempty"`
	// Changes with the logo, for cache busting (?v=...). Empty without a logo.
	LogoVersion string `protobuf:"bytes,6,opt,name=logo_version,json=logoVersion,proto3" json:"logo_version,omitempty"`
	// Read-only, filled for the owner only (empty for everyone else): where the admin is reached, and the base of every
	// subscription link up to and including its secret prefix ("" when no public address is set). Both are set by
	// `mistgate setup` on the panel server.
	AdminUrl         string `protobuf:"bytes,7,opt,name=admin_url,json=adminUrl,proto3" json:"admin_url,omitempty"`
	SubscriptionBase string `protobuf:"bytes,8,opt,name=subscription_base,json=subscriptionBase,proto3" json:"subscription_base,omitempty"`
	// contains filtered or unexported fields
}

func (*Instance) Descriptor deprecated

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

Deprecated: Use Instance.ProtoReflect.Descriptor instead.

func (*Instance) GetAccent

func (x *Instance) GetAccent() string

func (*Instance) GetAdminUrl

func (x *Instance) GetAdminUrl() string

func (*Instance) GetBrandHead

func (x *Instance) GetBrandHead() string

func (*Instance) GetBrandTail

func (x *Instance) GetBrandTail() string
func (x *Instance) GetHasLogo() bool

func (*Instance) GetLanguage

func (x *Instance) GetLanguage() string

func (*Instance) GetLogoVersion

func (x *Instance) GetLogoVersion() string

func (*Instance) GetSubscriptionBase

func (x *Instance) GetSubscriptionBase() string

func (*Instance) ProtoMessage

func (*Instance) ProtoMessage()

func (*Instance) ProtoReflect

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

func (*Instance) Reset

func (x *Instance) Reset()

func (*Instance) String

func (x *Instance) String() string

type Ipv6Address added in v0.1.66

type Ipv6Address struct {
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// The prefix length the host holds it with (64, or 128 for a single address).
	PrefixLen uint32 `protobuf:"varint,2,opt,name=prefix_len,json=prefixLen,proto3" json:"prefix_len,omitempty"`
	// contains filtered or unexported fields
}

func (*Ipv6Address) Descriptor deprecated added in v0.1.66

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

Deprecated: Use Ipv6Address.ProtoReflect.Descriptor instead.

func (*Ipv6Address) GetAddress added in v0.1.66

func (x *Ipv6Address) GetAddress() string

func (*Ipv6Address) GetPrefixLen added in v0.1.66

func (x *Ipv6Address) GetPrefixLen() uint32

func (*Ipv6Address) ProtoMessage added in v0.1.66

func (*Ipv6Address) ProtoMessage()

func (*Ipv6Address) ProtoReflect added in v0.1.66

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

func (*Ipv6Address) Reset added in v0.1.66

func (x *Ipv6Address) Reset()

func (*Ipv6Address) String added in v0.1.66

func (x *Ipv6Address) String() string

type Ipv6EntryAction added in v0.1.66

type Ipv6EntryAction int32
const (
	Ipv6EntryAction_IPV6_ENTRY_ACTION_UNSPECIFIED Ipv6EntryAction = 0
	Ipv6EntryAction_IPV6_ENTRY_ACTION_ENABLE      Ipv6EntryAction = 1
	Ipv6EntryAction_IPV6_ENTRY_ACTION_DISABLE     Ipv6EntryAction = 2 // 3 to 5 are for the steps of changing the address: ROTATE, CANCEL, DROP_OLD.
)

func (Ipv6EntryAction) Descriptor added in v0.1.66

func (Ipv6EntryAction) Enum added in v0.1.66

func (x Ipv6EntryAction) Enum() *Ipv6EntryAction

func (Ipv6EntryAction) EnumDescriptor deprecated added in v0.1.66

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

Deprecated: Use Ipv6EntryAction.Descriptor instead.

func (Ipv6EntryAction) Number added in v0.1.66

func (Ipv6EntryAction) String added in v0.1.66

func (x Ipv6EntryAction) String() string

func (Ipv6EntryAction) Type added in v0.1.66

type Ipv6PortVerdict added in v0.1.66

type Ipv6PortVerdict struct {

	// "tcp" | "udp".
	Network string `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"`
	Port    uint32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"`
	// tcp: ours (the connection reached this node), other (something else answered), refused, timeout, or reachable (Globalping
	// only connected). udp: ok, lossy, broken.
	Verdict string `protobuf:"bytes,3,opt,name=verdict,proto3" json:"verdict,omitempty"`
	// contains filtered or unexported fields
}

The answer for one port of a check of an IPv6 address.

func (*Ipv6PortVerdict) Descriptor deprecated added in v0.1.66

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

Deprecated: Use Ipv6PortVerdict.ProtoReflect.Descriptor instead.

func (*Ipv6PortVerdict) GetNetwork added in v0.1.66

func (x *Ipv6PortVerdict) GetNetwork() string

func (*Ipv6PortVerdict) GetPort added in v0.1.66

func (x *Ipv6PortVerdict) GetPort() uint32

func (*Ipv6PortVerdict) GetVerdict added in v0.1.66

func (x *Ipv6PortVerdict) GetVerdict() string

func (*Ipv6PortVerdict) ProtoMessage added in v0.1.66

func (*Ipv6PortVerdict) ProtoMessage()

func (*Ipv6PortVerdict) ProtoReflect added in v0.1.66

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

func (*Ipv6PortVerdict) Reset added in v0.1.66

func (x *Ipv6PortVerdict) Reset()

func (*Ipv6PortVerdict) String added in v0.1.66

func (x *Ipv6PortVerdict) String() string

type IssueTelegramKeyRequest added in v0.1.69

type IssueTelegramKeyRequest struct {
	UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// contains filtered or unexported fields
}

func (*IssueTelegramKeyRequest) Descriptor deprecated added in v0.1.69

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

Deprecated: Use IssueTelegramKeyRequest.ProtoReflect.Descriptor instead.

func (*IssueTelegramKeyRequest) GetUserId added in v0.1.69

func (x *IssueTelegramKeyRequest) GetUserId() string

func (*IssueTelegramKeyRequest) ProtoMessage added in v0.1.69

func (*IssueTelegramKeyRequest) ProtoMessage()

func (*IssueTelegramKeyRequest) ProtoReflect added in v0.1.69

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

func (*IssueTelegramKeyRequest) Reset added in v0.1.69

func (x *IssueTelegramKeyRequest) Reset()

func (*IssueTelegramKeyRequest) String added in v0.1.69

func (x *IssueTelegramKeyRequest) String() string

type IssueTelegramKeyResponse added in v0.1.69

type IssueTelegramKeyResponse struct {
	Proxy *GetTelegramLinksResponse `protobuf:"bytes,1,opt,name=proxy,proto3" json:"proxy,omitempty"`
	// contains filtered or unexported fields
}

func (*IssueTelegramKeyResponse) Descriptor deprecated added in v0.1.69

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

Deprecated: Use IssueTelegramKeyResponse.ProtoReflect.Descriptor instead.

func (*IssueTelegramKeyResponse) GetProxy added in v0.1.69

func (*IssueTelegramKeyResponse) ProtoMessage added in v0.1.69

func (*IssueTelegramKeyResponse) ProtoMessage()

func (*IssueTelegramKeyResponse) ProtoReflect added in v0.1.69

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

func (*IssueTelegramKeyResponse) Reset added in v0.1.69

func (x *IssueTelegramKeyResponse) Reset()

func (*IssueTelegramKeyResponse) String added in v0.1.69

func (x *IssueTelegramKeyResponse) String() string

type KeptData added in v0.1.80

type KeptData struct {
	Name         string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	SizeBytes    int64  `protobuf:"varint,2,opt,name=size_bytes,json=sizeBytes,proto3" json:"size_bytes,omitempty"`
	ModifiedUnix int64  `protobuf:"varint,3,opt,name=modified_unix,json=modifiedUnix,proto3" json:"modified_unix,omitempty"`
	// contains filtered or unexported fields
}

func (*KeptData) Descriptor deprecated added in v0.1.80

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

Deprecated: Use KeptData.ProtoReflect.Descriptor instead.

func (*KeptData) GetModifiedUnix added in v0.1.80

func (x *KeptData) GetModifiedUnix() int64

func (*KeptData) GetName added in v0.1.80

func (x *KeptData) GetName() string

func (*KeptData) GetSizeBytes added in v0.1.80

func (x *KeptData) GetSizeBytes() int64

func (*KeptData) ProtoMessage added in v0.1.80

func (*KeptData) ProtoMessage()

func (*KeptData) ProtoReflect added in v0.1.80

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

func (*KeptData) Reset added in v0.1.80

func (x *KeptData) Reset()

func (*KeptData) String added in v0.1.80

func (x *KeptData) String() string

type LastUpdate

type LastUpdate struct {
	Outcome     string `protobuf:"bytes,1,opt,name=outcome,proto3" json:"outcome,omitempty"`
	FromVersion string `protobuf:"bytes,2,opt,name=from_version,json=fromVersion,proto3" json:"from_version,omitempty"`
	FromBuilt   int64  `protobuf:"varint,3,opt,name=from_built,json=fromBuilt,proto3" json:"from_built,omitempty"`
	ToVersion   string `protobuf:"bytes,4,opt,name=to_version,json=toVersion,proto3" json:"to_version,omitempty"`
	ToBuilt     int64  `protobuf:"varint,5,opt,name=to_built,json=toBuilt,proto3" json:"to_built,omitempty"`
	// The agent's reason code, or the gate's ("gate_probe_failed", ...), see the service comment. An agent says "manual"
	// for any RollbackAgent it got; GetUpdates names the sender from the panel's records: "gate_<step error code>" when
	// the rollout's gate rolled the node back, "manual" only when the owner did (audit update_rollback_node), else
	// "command".
	Reason string `protobuf:"bytes,6,opt,name=reason,proto3" json:"reason,omitempty"`
	AtUnix int64  `protobuf:"varint,7,opt,name=at_unix,json=atUnix,proto3" json:"at_unix,omitempty"`
	// contains filtered or unexported fields
}

What the node reported in Hello.last_update. outcome is the agent.proto UpdateOutcome name in lowercase: "ok", "rolled_back", "failed".

func (*LastUpdate) Descriptor deprecated

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

Deprecated: Use LastUpdate.ProtoReflect.Descriptor instead.

func (*LastUpdate) GetAtUnix

func (x *LastUpdate) GetAtUnix() int64

func (*LastUpdate) GetFromBuilt

func (x *LastUpdate) GetFromBuilt() int64

func (*LastUpdate) GetFromVersion

func (x *LastUpdate) GetFromVersion() string

func (*LastUpdate) GetOutcome

func (x *LastUpdate) GetOutcome() string

func (*LastUpdate) GetReason

func (x *LastUpdate) GetReason() string

func (*LastUpdate) GetToBuilt

func (x *LastUpdate) GetToBuilt() int64

func (*LastUpdate) GetToVersion

func (x *LastUpdate) GetToVersion() string

func (*LastUpdate) ProtoMessage

func (*LastUpdate) ProtoMessage()

func (*LastUpdate) ProtoReflect

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

func (*LastUpdate) Reset

func (x *LastUpdate) Reset()

func (*LastUpdate) String

func (x *LastUpdate) String() string

type LinkDeviceLimit added in v0.1.39

type LinkDeviceLimit int32

How the device limit applies to the apps that take the subscription link (a key of AmneziaVPN is always limited).

const (
	LinkDeviceLimit_LINK_DEVICE_LIMIT_UNSPECIFIED LinkDeviceLimit = 0
	// Devices are registered and counted, the limit is shown and an event is written, but nothing is refused. A person
	// with twice the limit in devices gets no device of their own for one more HWID: that app shares the common place.
	LinkDeviceLimit_LINK_DEVICE_LIMIT_TRACK LinkDeviceLimit = 1
	// A new device over the limit is refused; the apps that report no device ID share one common place, if there is room.
	LinkDeviceLimit_LINK_DEVICE_LIMIT_ENFORCE LinkDeviceLimit = 2
	// As ENFORCE, and an app that reports no device ID is refused. Switching to it revokes every common place at once.
	LinkDeviceLimit_LINK_DEVICE_LIMIT_STRICT LinkDeviceLimit = 3
)

func (LinkDeviceLimit) Descriptor added in v0.1.39

func (LinkDeviceLimit) Enum added in v0.1.39

func (x LinkDeviceLimit) Enum() *LinkDeviceLimit

func (LinkDeviceLimit) EnumDescriptor deprecated added in v0.1.39

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

Deprecated: Use LinkDeviceLimit.Descriptor instead.

func (LinkDeviceLimit) Number added in v0.1.39

func (LinkDeviceLimit) String added in v0.1.39

func (x LinkDeviceLimit) String() string

func (LinkDeviceLimit) Type added in v0.1.39

type LinkDnsOptions added in v0.1.43

type LinkDnsOptions struct {

	// In the order the page lists them; at most 20. Empty = the page offers no choice for the link apps.
	PresetIds []string `protobuf:"bytes,1,rep,name=preset_ids,json=presetIds,proto3" json:"preset_ids,omitempty"`
	// One of preset_ids, or "" (the instance default stays the default).
	DefaultPresetId string `protobuf:"bytes,2,opt,name=default_preset_id,json=defaultPresetId,proto3" json:"default_preset_id,omitempty"`
	// contains filtered or unexported fields
}

What the owner offers for the link apps. A person's pick applies while it is offered; without one, their link apps get the user's own preset, else the group's, else default_preset_id, else the instance default.

func (*LinkDnsOptions) Descriptor deprecated added in v0.1.43

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

Deprecated: Use LinkDnsOptions.ProtoReflect.Descriptor instead.

func (*LinkDnsOptions) GetDefaultPresetId added in v0.1.43

func (x *LinkDnsOptions) GetDefaultPresetId() string

func (*LinkDnsOptions) GetPresetIds added in v0.1.43

func (x *LinkDnsOptions) GetPresetIds() []string

func (*LinkDnsOptions) ProtoMessage added in v0.1.43

func (*LinkDnsOptions) ProtoMessage()

func (*LinkDnsOptions) ProtoReflect added in v0.1.43

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

func (*LinkDnsOptions) Reset added in v0.1.43

func (x *LinkDnsOptions) Reset()

func (*LinkDnsOptions) String added in v0.1.43

func (x *LinkDnsOptions) String() string

type LinkHour added in v0.1.56

type LinkHour struct {
	HourStartUnix int64  `protobuf:"varint,1,opt,name=hour_start_unix,json=hourStartUnix,proto3" json:"hour_start_unix,omitempty"`
	Connects      uint32 `protobuf:"varint,2,opt,name=connects,proto3" json:"connects,omitempty"`
	Rejects       uint32 `protobuf:"varint,3,opt,name=rejects,proto3" json:"rejects,omitempty"`
	Drops         uint32 `protobuf:"varint,4,opt,name=drops,proto3" json:"drops,omitempty"`
	Stalls        uint32 `protobuf:"varint,5,opt,name=stalls,proto3" json:"stalls,omitempty"`
	OnlineS       uint64 `protobuf:"varint,6,opt,name=online_s,json=onlineS,proto3" json:"online_s,omitempty"`
	// Inbound rows only.
	UnknownKeys uint32 `protobuf:"varint,7,opt,name=unknown_keys,json=unknownKeys,proto3" json:"unknown_keys,omitempty"`
	Hellos      uint32 `protobuf:"varint,8,opt,name=hellos,proto3" json:"hellos,omitempty"`
	Handshakes  uint32 `protobuf:"varint,9,opt,name=handshakes,proto3" json:"handshakes,omitempty"`
	// Hysteria2 with agents that list "links/2" (see InboundConnections).
	ClientCloses  uint32 `protobuf:"varint,10,opt,name=client_closes,json=clientCloses,proto3" json:"client_closes,omitempty"`
	Freezes       uint32 `protobuf:"varint,11,opt,name=freezes,proto3" json:"freezes,omitempty"`
	Quiet         uint32 `protobuf:"varint,12,opt,name=quiet,proto3" json:"quiet,omitempty"`
	Accepted      uint32 `protobuf:"varint,13,opt,name=accepted,proto3" json:"accepted,omitempty"`
	HellosForeign uint32 `protobuf:"varint,14,opt,name=hellos_foreign,json=hellosForeign,proto3" json:"hellos_foreign,omitempty"`
	RttMs         uint32 `protobuf:"varint,15,opt,name=rtt_ms,json=rttMs,proto3" json:"rtt_ms,omitempty"`
	LossPermille  uint32 `protobuf:"varint,16,opt,name=loss_permille,json=lossPermille,proto3" json:"loss_permille,omitempty"`
	RttSamples    uint32 `protobuf:"varint,17,opt,name=rtt_samples,json=rttSamples,proto3" json:"rtt_samples,omitempty"`
	PktsSent      uint64 `protobuf:"varint,18,opt,name=pkts_sent,json=pktsSent,proto3" json:"pkts_sent,omitempty"`
	// contains filtered or unexported fields
}

One hour of connection counters (agent.proto LinkCounters) summed over a bucket: a device on an inbound (UserService.GetUserConnection) or an inbound with all its keys (NodeService.GetNodeConnections). What each counter means is under InboundConnections (node.proto).

func (*LinkHour) Descriptor deprecated added in v0.1.56

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

Deprecated: Use LinkHour.ProtoReflect.Descriptor instead.

func (*LinkHour) GetAccepted added in v0.1.57

func (x *LinkHour) GetAccepted() uint32

func (*LinkHour) GetClientCloses added in v0.1.57

func (x *LinkHour) GetClientCloses() uint32

func (*LinkHour) GetConnects added in v0.1.56

func (x *LinkHour) GetConnects() uint32

func (*LinkHour) GetDrops added in v0.1.56

func (x *LinkHour) GetDrops() uint32

func (*LinkHour) GetFreezes added in v0.1.57

func (x *LinkHour) GetFreezes() uint32

func (*LinkHour) GetHandshakes added in v0.1.56

func (x *LinkHour) GetHandshakes() uint32

func (*LinkHour) GetHellos added in v0.1.56

func (x *LinkHour) GetHellos() uint32

func (*LinkHour) GetHellosForeign added in v0.1.57

func (x *LinkHour) GetHellosForeign() uint32

func (*LinkHour) GetHourStartUnix added in v0.1.56

func (x *LinkHour) GetHourStartUnix() int64

func (*LinkHour) GetLossPermille added in v0.1.57

func (x *LinkHour) GetLossPermille() uint32

func (*LinkHour) GetOnlineS added in v0.1.56

func (x *LinkHour) GetOnlineS() uint64

func (*LinkHour) GetPktsSent added in v0.1.57

func (x *LinkHour) GetPktsSent() uint64

func (*LinkHour) GetQuiet added in v0.1.57

func (x *LinkHour) GetQuiet() uint32

func (*LinkHour) GetRejects added in v0.1.56

func (x *LinkHour) GetRejects() uint32

func (*LinkHour) GetRttMs added in v0.1.57

func (x *LinkHour) GetRttMs() uint32

func (*LinkHour) GetRttSamples added in v0.1.57

func (x *LinkHour) GetRttSamples() uint32

func (*LinkHour) GetStalls added in v0.1.56

func (x *LinkHour) GetStalls() uint32

func (*LinkHour) GetUnknownKeys added in v0.1.56

func (x *LinkHour) GetUnknownKeys() uint32

func (*LinkHour) ProtoMessage added in v0.1.56

func (*LinkHour) ProtoMessage()

func (*LinkHour) ProtoReflect added in v0.1.56

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

func (*LinkHour) Reset added in v0.1.56

func (x *LinkHour) Reset()

func (*LinkHour) String added in v0.1.56

func (x *LinkHour) String() string

type ListAlertsRequest

type ListAlertsRequest struct {

	// Filter; empty = all nodes (fleet-wide alerts have no node and show only in the unfiltered list).
	NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	// History window in seconds. 0 = 7 days, max 30 days.
	HistoryWindowS uint32 `protobuf:"varint,2,opt,name=history_window_s,json=historyWindowS,proto3" json:"history_window_s,omitempty"`
	// contains filtered or unexported fields
}

func (*ListAlertsRequest) Descriptor deprecated

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

Deprecated: Use ListAlertsRequest.ProtoReflect.Descriptor instead.

func (*ListAlertsRequest) GetHistoryWindowS

func (x *ListAlertsRequest) GetHistoryWindowS() uint32

func (*ListAlertsRequest) GetNodeId

func (x *ListAlertsRequest) GetNodeId() string

func (*ListAlertsRequest) ProtoMessage

func (*ListAlertsRequest) ProtoMessage()

func (*ListAlertsRequest) ProtoReflect

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

func (*ListAlertsRequest) Reset

func (x *ListAlertsRequest) Reset()

func (*ListAlertsRequest) String

func (x *ListAlertsRequest) String() string

type ListAlertsResponse

type ListAlertsResponse struct {
	NowUnix int64 `protobuf:"varint,1,opt,name=now_unix,json=nowUnix,proto3" json:"now_unix,omitempty"`
	// Not resolved (muted ones included), CRITICAL first, then newest first_seen.
	Active []*Alert `protobuf:"bytes,2,rep,name=active,proto3" json:"active,omitempty"`
	// Resolved inside the window, at most 200, newest resolved_at first.
	History []*Alert `protobuf:"bytes,3,rep,name=history,proto3" json:"history,omitempty"`
	// contains filtered or unexported fields
}

func (*ListAlertsResponse) Descriptor deprecated

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

Deprecated: Use ListAlertsResponse.ProtoReflect.Descriptor instead.

func (*ListAlertsResponse) GetActive

func (x *ListAlertsResponse) GetActive() []*Alert

func (*ListAlertsResponse) GetHistory

func (x *ListAlertsResponse) GetHistory() []*Alert

func (*ListAlertsResponse) GetNowUnix

func (x *ListAlertsResponse) GetNowUnix() int64

func (*ListAlertsResponse) ProtoMessage

func (*ListAlertsResponse) ProtoMessage()

func (*ListAlertsResponse) ProtoReflect

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

func (*ListAlertsResponse) Reset

func (x *ListAlertsResponse) Reset()

func (*ListAlertsResponse) String

func (x *ListAlertsResponse) String() string

type ListApiTokensRequest

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

func (*ListApiTokensRequest) Descriptor deprecated

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

Deprecated: Use ListApiTokensRequest.ProtoReflect.Descriptor instead.

func (*ListApiTokensRequest) ProtoMessage

func (*ListApiTokensRequest) ProtoMessage()

func (*ListApiTokensRequest) ProtoReflect

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

func (*ListApiTokensRequest) Reset

func (x *ListApiTokensRequest) Reset()

func (*ListApiTokensRequest) String

func (x *ListApiTokensRequest) String() string

type ListApiTokensResponse

type ListApiTokensResponse struct {
	Tokens []*ApiToken `protobuf:"bytes,1,rep,name=tokens,proto3" json:"tokens,omitempty"`
	// Server time, so the SPA can tell expired from active without trusting its own clock.
	NowUnix int64 `protobuf:"varint,2,opt,name=now_unix,json=nowUnix,proto3" json:"now_unix,omitempty"`
	// contains filtered or unexported fields
}

func (*ListApiTokensResponse) Descriptor deprecated

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

Deprecated: Use ListApiTokensResponse.ProtoReflect.Descriptor instead.

func (*ListApiTokensResponse) GetNowUnix

func (x *ListApiTokensResponse) GetNowUnix() int64

func (*ListApiTokensResponse) GetTokens

func (x *ListApiTokensResponse) GetTokens() []*ApiToken

func (*ListApiTokensResponse) ProtoMessage

func (*ListApiTokensResponse) ProtoMessage()

func (*ListApiTokensResponse) ProtoReflect

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

func (*ListApiTokensResponse) Reset

func (x *ListApiTokensResponse) Reset()

func (*ListApiTokensResponse) String

func (x *ListApiTokensResponse) String() string

type ListApprovalsRequest

type ListApprovalsRequest struct {

	// Only the AWAITING ones (the badge and the banner poll with this).
	AwaitingOnly bool `protobuf:"varint,1,opt,name=awaiting_only,json=awaitingOnly,proto3" json:"awaiting_only,omitempty"`
	// How many history rows after the awaiting ones. 0 = 50, at most 200.
	HistoryLimit uint32 `protobuf:"varint,2,opt,name=history_limit,json=historyLimit,proto3" json:"history_limit,omitempty"`
	// contains filtered or unexported fields
}

func (*ListApprovalsRequest) Descriptor deprecated

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

Deprecated: Use ListApprovalsRequest.ProtoReflect.Descriptor instead.

func (*ListApprovalsRequest) GetAwaitingOnly

func (x *ListApprovalsRequest) GetAwaitingOnly() bool

func (*ListApprovalsRequest) GetHistoryLimit

func (x *ListApprovalsRequest) GetHistoryLimit() uint32

func (*ListApprovalsRequest) ProtoMessage

func (*ListApprovalsRequest) ProtoMessage()

func (*ListApprovalsRequest) ProtoReflect

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

func (*ListApprovalsRequest) Reset

func (x *ListApprovalsRequest) Reset()

func (*ListApprovalsRequest) String

func (x *ListApprovalsRequest) String() string

type ListApprovalsResponse

type ListApprovalsResponse struct {
	Approvals []*Approval `protobuf:"bytes,1,rep,name=approvals,proto3" json:"approvals,omitempty"`
	// Number of AWAITING approvals (the badge).
	Awaiting uint32 `protobuf:"varint,2,opt,name=awaiting,proto3" json:"awaiting,omitempty"`
	NowUnix  int64  `protobuf:"varint,3,opt,name=now_unix,json=nowUnix,proto3" json:"now_unix,omitempty"`
	// contains filtered or unexported fields
}

func (*ListApprovalsResponse) Descriptor deprecated

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

Deprecated: Use ListApprovalsResponse.ProtoReflect.Descriptor instead.

func (*ListApprovalsResponse) GetApprovals

func (x *ListApprovalsResponse) GetApprovals() []*Approval

func (*ListApprovalsResponse) GetAwaiting

func (x *ListApprovalsResponse) GetAwaiting() uint32

func (*ListApprovalsResponse) GetNowUnix

func (x *ListApprovalsResponse) GetNowUnix() int64

func (*ListApprovalsResponse) ProtoMessage

func (*ListApprovalsResponse) ProtoMessage()

func (*ListApprovalsResponse) ProtoReflect

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

func (*ListApprovalsResponse) Reset

func (x *ListApprovalsResponse) Reset()

func (*ListApprovalsResponse) String

func (x *ListApprovalsResponse) String() string

type ListAuditRequest

type ListAuditRequest struct {
	Source AuditSource `protobuf:"varint,1,opt,name=source,proto3,enum=mistgate.admin.v1.AuditSource" json:"source,omitempty"`
	// Cursor: only entries with id < before_id; 0 = from the newest.
	BeforeId int64 `protobuf:"varint,2,opt,name=before_id,json=beforeId,proto3" json:"before_id,omitempty"`
	// Default 50, at most 200.
	PageSize uint32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Only one kind of action; unspecified = all. Combines with source.
	Kind AuditKind `protobuf:"varint,4,opt,name=kind,proto3,enum=mistgate.admin.v1.AuditKind" json:"kind,omitempty"`
	// contains filtered or unexported fields
}

func (*ListAuditRequest) Descriptor deprecated

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

Deprecated: Use ListAuditRequest.ProtoReflect.Descriptor instead.

func (*ListAuditRequest) GetBeforeId

func (x *ListAuditRequest) GetBeforeId() int64

func (*ListAuditRequest) GetKind

func (x *ListAuditRequest) GetKind() AuditKind

func (*ListAuditRequest) GetPageSize

func (x *ListAuditRequest) GetPageSize() uint32

func (*ListAuditRequest) GetSource

func (x *ListAuditRequest) GetSource() AuditSource

func (*ListAuditRequest) ProtoMessage

func (*ListAuditRequest) ProtoMessage()

func (*ListAuditRequest) ProtoReflect

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

func (*ListAuditRequest) Reset

func (x *ListAuditRequest) Reset()

func (*ListAuditRequest) String

func (x *ListAuditRequest) String() string

type ListAuditResponse

type ListAuditResponse struct {

	// Newest first.
	Entries []*AuditEntry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"`
	// Pass as before_id for the next page; 0 = no more.
	NextBeforeId int64 `protobuf:"varint,2,opt,name=next_before_id,json=nextBeforeId,proto3" json:"next_before_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ListAuditResponse) Descriptor deprecated

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

Deprecated: Use ListAuditResponse.ProtoReflect.Descriptor instead.

func (*ListAuditResponse) GetEntries

func (x *ListAuditResponse) GetEntries() []*AuditEntry

func (*ListAuditResponse) GetNextBeforeId

func (x *ListAuditResponse) GetNextBeforeId() int64

func (*ListAuditResponse) ProtoMessage

func (*ListAuditResponse) ProtoMessage()

func (*ListAuditResponse) ProtoReflect

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

func (*ListAuditResponse) Reset

func (x *ListAuditResponse) Reset()

func (*ListAuditResponse) String

func (x *ListAuditResponse) String() string

type ListBackupsRequest

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

func (*ListBackupsRequest) Descriptor deprecated

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

Deprecated: Use ListBackupsRequest.ProtoReflect.Descriptor instead.

func (*ListBackupsRequest) ProtoMessage

func (*ListBackupsRequest) ProtoMessage()

func (*ListBackupsRequest) ProtoReflect

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

func (*ListBackupsRequest) Reset

func (x *ListBackupsRequest) Reset()

func (*ListBackupsRequest) String

func (x *ListBackupsRequest) String() string

type ListBackupsResponse

type ListBackupsResponse struct {
	Backups []*Backup `protobuf:"bytes,1,rep,name=backups,proto3" json:"backups,omitempty"`
	// contains filtered or unexported fields
}

func (*ListBackupsResponse) Descriptor deprecated

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

Deprecated: Use ListBackupsResponse.ProtoReflect.Descriptor instead.

func (*ListBackupsResponse) GetBackups

func (x *ListBackupsResponse) GetBackups() []*Backup

func (*ListBackupsResponse) ProtoMessage

func (*ListBackupsResponse) ProtoMessage()

func (*ListBackupsResponse) ProtoReflect

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

func (*ListBackupsResponse) Reset

func (x *ListBackupsResponse) Reset()

func (*ListBackupsResponse) String

func (x *ListBackupsResponse) String() string

type ListBsbordUnitsRequest added in v0.1.63

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

func (*ListBsbordUnitsRequest) Descriptor deprecated added in v0.1.63

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

Deprecated: Use ListBsbordUnitsRequest.ProtoReflect.Descriptor instead.

func (*ListBsbordUnitsRequest) ProtoMessage added in v0.1.63

func (*ListBsbordUnitsRequest) ProtoMessage()

func (*ListBsbordUnitsRequest) ProtoReflect added in v0.1.63

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

func (*ListBsbordUnitsRequest) Reset added in v0.1.63

func (x *ListBsbordUnitsRequest) Reset()

func (*ListBsbordUnitsRequest) String added in v0.1.63

func (x *ListBsbordUnitsRequest) String() string

type ListBsbordUnitsResponse added in v0.1.63

type ListBsbordUnitsResponse struct {
	Units      []*BsbordUnit `protobuf:"bytes,1,rep,name=units,proto3" json:"units,omitempty"`
	NUnits     uint32        `protobuf:"varint,2,opt,name=n_units,json=nUnits,proto3" json:"n_units,omitempty"`
	NProbeable uint32        `protobuf:"varint,3,opt,name=n_probeable,json=nProbeable,proto3" json:"n_probeable,omitempty"`
	// contains filtered or unexported fields
}

func (*ListBsbordUnitsResponse) Descriptor deprecated added in v0.1.63

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

Deprecated: Use ListBsbordUnitsResponse.ProtoReflect.Descriptor instead.

func (*ListBsbordUnitsResponse) GetNProbeable added in v0.1.63

func (x *ListBsbordUnitsResponse) GetNProbeable() uint32

func (*ListBsbordUnitsResponse) GetNUnits added in v0.1.63

func (x *ListBsbordUnitsResponse) GetNUnits() uint32

func (*ListBsbordUnitsResponse) GetUnits added in v0.1.63

func (x *ListBsbordUnitsResponse) GetUnits() []*BsbordUnit

func (*ListBsbordUnitsResponse) ProtoMessage added in v0.1.63

func (*ListBsbordUnitsResponse) ProtoMessage()

func (*ListBsbordUnitsResponse) ProtoReflect added in v0.1.63

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

func (*ListBsbordUnitsResponse) Reset added in v0.1.63

func (x *ListBsbordUnitsResponse) Reset()

func (*ListBsbordUnitsResponse) String added in v0.1.63

func (x *ListBsbordUnitsResponse) String() string

type ListClientsRequest

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

func (*ListClientsRequest) Descriptor deprecated

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

Deprecated: Use ListClientsRequest.ProtoReflect.Descriptor instead.

func (*ListClientsRequest) ProtoMessage

func (*ListClientsRequest) ProtoMessage()

func (*ListClientsRequest) ProtoReflect

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

func (*ListClientsRequest) Reset

func (x *ListClientsRequest) Reset()

func (*ListClientsRequest) String

func (x *ListClientsRequest) String() string

type ListClientsResponse

type ListClientsResponse struct {
	Clients []*ClientInfo `protobuf:"bytes,1,rep,name=clients,proto3" json:"clients,omitempty"`
	// contains filtered or unexported fields
}

func (*ListClientsResponse) Descriptor deprecated

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

Deprecated: Use ListClientsResponse.ProtoReflect.Descriptor instead.

func (*ListClientsResponse) GetClients

func (x *ListClientsResponse) GetClients() []*ClientInfo

func (*ListClientsResponse) ProtoMessage

func (*ListClientsResponse) ProtoMessage()

func (*ListClientsResponse) ProtoReflect

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

func (*ListClientsResponse) Reset

func (x *ListClientsResponse) Reset()

func (*ListClientsResponse) String

func (x *ListClientsResponse) String() string

type ListDnsPresetsRequest

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

func (*ListDnsPresetsRequest) Descriptor deprecated

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

Deprecated: Use ListDnsPresetsRequest.ProtoReflect.Descriptor instead.

func (*ListDnsPresetsRequest) ProtoMessage

func (*ListDnsPresetsRequest) ProtoMessage()

func (*ListDnsPresetsRequest) ProtoReflect

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

func (*ListDnsPresetsRequest) Reset

func (x *ListDnsPresetsRequest) Reset()

func (*ListDnsPresetsRequest) String

func (x *ListDnsPresetsRequest) String() string

type ListDnsPresetsResponse

type ListDnsPresetsResponse struct {

	// Built-ins first, then custom presets by name.
	Presets []*DnsPreset `protobuf:"bytes,1,rep,name=presets,proto3" json:"presets,omitempty"`
	// The built-in provider catalog (it changes with panel releases), grouped by provider.
	Providers []*DnsProvider `protobuf:"bytes,2,rep,name=providers,proto3" json:"providers,omitempty"`
	// What each app can carry, in display order.
	ClientSupport []*ClientDnsSupport `protobuf:"bytes,3,rep,name=client_support,json=clientSupport,proto3" json:"client_support,omitempty"`
	// contains filtered or unexported fields
}

func (*ListDnsPresetsResponse) Descriptor deprecated

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

Deprecated: Use ListDnsPresetsResponse.ProtoReflect.Descriptor instead.

func (*ListDnsPresetsResponse) GetClientSupport

func (x *ListDnsPresetsResponse) GetClientSupport() []*ClientDnsSupport

func (*ListDnsPresetsResponse) GetPresets

func (x *ListDnsPresetsResponse) GetPresets() []*DnsPreset

func (*ListDnsPresetsResponse) GetProviders

func (x *ListDnsPresetsResponse) GetProviders() []*DnsProvider

func (*ListDnsPresetsResponse) ProtoMessage

func (*ListDnsPresetsResponse) ProtoMessage()

func (*ListDnsPresetsResponse) ProtoReflect

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

func (*ListDnsPresetsResponse) Reset

func (x *ListDnsPresetsResponse) Reset()

func (*ListDnsPresetsResponse) String

func (x *ListDnsPresetsResponse) String() string

type ListEventsRequest

type ListEventsRequest struct {

	// Filters; empty = any.
	NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// Minimum severity; UNSPECIFIED = all.
	MinSeverity EventSeverity `` /* 132-byte string literal not displayed */
	// Return events with id < before_id (0 = newest). Newest first.
	BeforeId int64 `protobuf:"varint,4,opt,name=before_id,json=beforeId,proto3" json:"before_id,omitempty"`
	// Default 50, max 200.
	Limit uint32 `protobuf:"varint,5,opt,name=limit,proto3" json:"limit,omitempty"`
	// "" = any. "profiles": events about a profile on a node (engine_*, profile_added, profile_removed,
	// profiles_restarted, awg_backend_unavailable, hop_failed, hop_rejected, credential_expired); "agent": all the others.
	// Anything else is INVALID_ARGUMENT.
	Family string `protobuf:"bytes,6,opt,name=family,proto3" json:"family,omitempty"`
	// contains filtered or unexported fields
}

func (*ListEventsRequest) Descriptor deprecated

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

Deprecated: Use ListEventsRequest.ProtoReflect.Descriptor instead.

func (*ListEventsRequest) GetBeforeId

func (x *ListEventsRequest) GetBeforeId() int64

func (*ListEventsRequest) GetFamily

func (x *ListEventsRequest) GetFamily() string

func (*ListEventsRequest) GetLimit

func (x *ListEventsRequest) GetLimit() uint32

func (*ListEventsRequest) GetMinSeverity

func (x *ListEventsRequest) GetMinSeverity() EventSeverity

func (*ListEventsRequest) GetNodeId

func (x *ListEventsRequest) GetNodeId() string

func (*ListEventsRequest) GetUserId

func (x *ListEventsRequest) GetUserId() string

func (*ListEventsRequest) ProtoMessage

func (*ListEventsRequest) ProtoMessage()

func (*ListEventsRequest) ProtoReflect

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

func (*ListEventsRequest) Reset

func (x *ListEventsRequest) Reset()

func (*ListEventsRequest) String

func (x *ListEventsRequest) String() string

type ListEventsResponse

type ListEventsResponse struct {
	Events []*Event `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"`
	// Empty page = no more.
	HasMore bool `protobuf:"varint,2,opt,name=has_more,json=hasMore,proto3" json:"has_more,omitempty"`
	// contains filtered or unexported fields
}

func (*ListEventsResponse) Descriptor deprecated

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

Deprecated: Use ListEventsResponse.ProtoReflect.Descriptor instead.

func (*ListEventsResponse) GetEvents

func (x *ListEventsResponse) GetEvents() []*Event

func (*ListEventsResponse) GetHasMore

func (x *ListEventsResponse) GetHasMore() bool

func (*ListEventsResponse) ProtoMessage

func (*ListEventsResponse) ProtoMessage()

func (*ListEventsResponse) ProtoReflect

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

func (*ListEventsResponse) Reset

func (x *ListEventsResponse) Reset()

func (*ListEventsResponse) String

func (x *ListEventsResponse) String() string

type ListGroupsRequest

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

func (*ListGroupsRequest) Descriptor deprecated

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

Deprecated: Use ListGroupsRequest.ProtoReflect.Descriptor instead.

func (*ListGroupsRequest) ProtoMessage

func (*ListGroupsRequest) ProtoMessage()

func (*ListGroupsRequest) ProtoReflect

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

func (*ListGroupsRequest) Reset

func (x *ListGroupsRequest) Reset()

func (*ListGroupsRequest) String

func (x *ListGroupsRequest) String() string

type ListGroupsResponse

type ListGroupsResponse struct {
	Groups []*Group `protobuf:"bytes,1,rep,name=groups,proto3" json:"groups,omitempty"`
	// contains filtered or unexported fields
}

func (*ListGroupsResponse) Descriptor deprecated

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

Deprecated: Use ListGroupsResponse.ProtoReflect.Descriptor instead.

func (*ListGroupsResponse) GetGroups

func (x *ListGroupsResponse) GetGroups() []*Group

func (*ListGroupsResponse) ProtoMessage

func (*ListGroupsResponse) ProtoMessage()

func (*ListGroupsResponse) ProtoReflect

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

func (*ListGroupsResponse) Reset

func (x *ListGroupsResponse) Reset()

func (*ListGroupsResponse) String

func (x *ListGroupsResponse) String() string

type ListKeptDataRequest added in v0.1.80

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

func (*ListKeptDataRequest) Descriptor deprecated added in v0.1.80

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

Deprecated: Use ListKeptDataRequest.ProtoReflect.Descriptor instead.

func (*ListKeptDataRequest) ProtoMessage added in v0.1.80

func (*ListKeptDataRequest) ProtoMessage()

func (*ListKeptDataRequest) ProtoReflect added in v0.1.80

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

func (*ListKeptDataRequest) Reset added in v0.1.80

func (x *ListKeptDataRequest) Reset()

func (*ListKeptDataRequest) String added in v0.1.80

func (x *ListKeptDataRequest) String() string

type ListKeptDataResponse added in v0.1.80

type ListKeptDataResponse struct {
	Directories []*KeptData `protobuf:"bytes,1,rep,name=directories,proto3" json:"directories,omitempty"`
	// contains filtered or unexported fields
}

func (*ListKeptDataResponse) Descriptor deprecated added in v0.1.80

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

Deprecated: Use ListKeptDataResponse.ProtoReflect.Descriptor instead.

func (*ListKeptDataResponse) GetDirectories added in v0.1.80

func (x *ListKeptDataResponse) GetDirectories() []*KeptData

func (*ListKeptDataResponse) ProtoMessage added in v0.1.80

func (*ListKeptDataResponse) ProtoMessage()

func (*ListKeptDataResponse) ProtoReflect added in v0.1.80

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

func (*ListKeptDataResponse) Reset added in v0.1.80

func (x *ListKeptDataResponse) Reset()

func (*ListKeptDataResponse) String added in v0.1.80

func (x *ListKeptDataResponse) String() string

type ListMimicryPresetsRequest

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

func (*ListMimicryPresetsRequest) Descriptor deprecated

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

Deprecated: Use ListMimicryPresetsRequest.ProtoReflect.Descriptor instead.

func (*ListMimicryPresetsRequest) ProtoMessage

func (*ListMimicryPresetsRequest) ProtoMessage()

func (*ListMimicryPresetsRequest) ProtoReflect

func (*ListMimicryPresetsRequest) Reset

func (x *ListMimicryPresetsRequest) Reset()

func (*ListMimicryPresetsRequest) String

func (x *ListMimicryPresetsRequest) String() string

type ListMimicryPresetsResponse

type ListMimicryPresetsResponse struct {
	Presets []*MimicryPreset `protobuf:"bytes,1,rep,name=presets,proto3" json:"presets,omitempty"`
	// The built-in host names an empty domain is drawn from: suggestions for the domain field.
	Domains []string `protobuf:"bytes,2,rep,name=domains,proto3" json:"domains,omitempty"`
	// contains filtered or unexported fields
}

func (*ListMimicryPresetsResponse) Descriptor deprecated

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

Deprecated: Use ListMimicryPresetsResponse.ProtoReflect.Descriptor instead.

func (*ListMimicryPresetsResponse) GetDomains

func (x *ListMimicryPresetsResponse) GetDomains() []string

func (*ListMimicryPresetsResponse) GetPresets

func (x *ListMimicryPresetsResponse) GetPresets() []*MimicryPreset

func (*ListMimicryPresetsResponse) ProtoMessage

func (*ListMimicryPresetsResponse) ProtoMessage()

func (*ListMimicryPresetsResponse) ProtoReflect

func (*ListMimicryPresetsResponse) Reset

func (x *ListMimicryPresetsResponse) Reset()

func (*ListMimicryPresetsResponse) String

func (x *ListMimicryPresetsResponse) String() string

type ListNodeDnsOptionsRequest added in v0.1.17

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

func (*ListNodeDnsOptionsRequest) Descriptor deprecated added in v0.1.17

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

Deprecated: Use ListNodeDnsOptionsRequest.ProtoReflect.Descriptor instead.

func (*ListNodeDnsOptionsRequest) ProtoMessage added in v0.1.17

func (*ListNodeDnsOptionsRequest) ProtoMessage()

func (*ListNodeDnsOptionsRequest) ProtoReflect added in v0.1.17

func (*ListNodeDnsOptionsRequest) Reset added in v0.1.17

func (x *ListNodeDnsOptionsRequest) Reset()

func (*ListNodeDnsOptionsRequest) String added in v0.1.17

func (x *ListNodeDnsOptionsRequest) String() string

type ListNodeDnsOptionsResponse added in v0.1.17

type ListNodeDnsOptionsResponse struct {
	Nodes []*NodeDnsOptions `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"`
	// contains filtered or unexported fields
}

func (*ListNodeDnsOptionsResponse) Descriptor deprecated added in v0.1.17

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

Deprecated: Use ListNodeDnsOptionsResponse.ProtoReflect.Descriptor instead.

func (*ListNodeDnsOptionsResponse) GetNodes added in v0.1.17

func (x *ListNodeDnsOptionsResponse) GetNodes() []*NodeDnsOptions

func (*ListNodeDnsOptionsResponse) ProtoMessage added in v0.1.17

func (*ListNodeDnsOptionsResponse) ProtoMessage()

func (*ListNodeDnsOptionsResponse) ProtoReflect added in v0.1.17

func (*ListNodeDnsOptionsResponse) Reset added in v0.1.17

func (x *ListNodeDnsOptionsResponse) Reset()

func (*ListNodeDnsOptionsResponse) String added in v0.1.17

func (x *ListNodeDnsOptionsResponse) String() string

type ListNodeProvisionEventsRequest

type ListNodeProvisionEventsRequest struct {
	JobId   string `protobuf:"bytes,1,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"`
	AfterId uint64 `protobuf:"varint,2,opt,name=after_id,json=afterId,proto3" json:"after_id,omitempty"`
	Limit   uint32 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"`
	// contains filtered or unexported fields
}

func (*ListNodeProvisionEventsRequest) Descriptor deprecated

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

Deprecated: Use ListNodeProvisionEventsRequest.ProtoReflect.Descriptor instead.

func (*ListNodeProvisionEventsRequest) GetAfterId

func (x *ListNodeProvisionEventsRequest) GetAfterId() uint64

func (*ListNodeProvisionEventsRequest) GetJobId

func (x *ListNodeProvisionEventsRequest) GetJobId() string

func (*ListNodeProvisionEventsRequest) GetLimit

func (x *ListNodeProvisionEventsRequest) GetLimit() uint32

func (*ListNodeProvisionEventsRequest) ProtoMessage

func (*ListNodeProvisionEventsRequest) ProtoMessage()

func (*ListNodeProvisionEventsRequest) ProtoReflect

func (*ListNodeProvisionEventsRequest) Reset

func (x *ListNodeProvisionEventsRequest) Reset()

func (*ListNodeProvisionEventsRequest) String

type ListNodeProvisionEventsResponse

type ListNodeProvisionEventsResponse struct {
	Events      []*NodeProvisionEvent `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"`
	NextAfterId uint64                `protobuf:"varint,2,opt,name=next_after_id,json=nextAfterId,proto3" json:"next_after_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ListNodeProvisionEventsResponse) Descriptor deprecated

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

Deprecated: Use ListNodeProvisionEventsResponse.ProtoReflect.Descriptor instead.

func (*ListNodeProvisionEventsResponse) GetEvents

func (*ListNodeProvisionEventsResponse) GetNextAfterId

func (x *ListNodeProvisionEventsResponse) GetNextAfterId() uint64

func (*ListNodeProvisionEventsResponse) ProtoMessage

func (*ListNodeProvisionEventsResponse) ProtoMessage()

func (*ListNodeProvisionEventsResponse) ProtoReflect

func (*ListNodeProvisionEventsResponse) Reset

func (*ListNodeProvisionEventsResponse) String

type ListNodeProvisionsRequest

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

func (*ListNodeProvisionsRequest) Descriptor deprecated

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

Deprecated: Use ListNodeProvisionsRequest.ProtoReflect.Descriptor instead.

func (*ListNodeProvisionsRequest) ProtoMessage

func (*ListNodeProvisionsRequest) ProtoMessage()

func (*ListNodeProvisionsRequest) ProtoReflect

func (*ListNodeProvisionsRequest) Reset

func (x *ListNodeProvisionsRequest) Reset()

func (*ListNodeProvisionsRequest) String

func (x *ListNodeProvisionsRequest) String() string

type ListNodeProvisionsResponse

type ListNodeProvisionsResponse struct {
	Jobs []*NodeProvisionJob `protobuf:"bytes,1,rep,name=jobs,proto3" json:"jobs,omitempty"`
	// contains filtered or unexported fields
}

func (*ListNodeProvisionsResponse) Descriptor deprecated

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

Deprecated: Use ListNodeProvisionsResponse.ProtoReflect.Descriptor instead.

func (*ListNodeProvisionsResponse) GetJobs

func (*ListNodeProvisionsResponse) ProtoMessage

func (*ListNodeProvisionsResponse) ProtoMessage()

func (*ListNodeProvisionsResponse) ProtoReflect

func (*ListNodeProvisionsResponse) Reset

func (x *ListNodeProvisionsResponse) Reset()

func (*ListNodeProvisionsResponse) String

func (x *ListNodeProvisionsResponse) String() string

type ListNodeServerAccessRequest

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

func (*ListNodeServerAccessRequest) Descriptor deprecated

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

Deprecated: Use ListNodeServerAccessRequest.ProtoReflect.Descriptor instead.

func (*ListNodeServerAccessRequest) ProtoMessage

func (*ListNodeServerAccessRequest) ProtoMessage()

func (*ListNodeServerAccessRequest) ProtoReflect

func (*ListNodeServerAccessRequest) Reset

func (x *ListNodeServerAccessRequest) Reset()

func (*ListNodeServerAccessRequest) String

func (x *ListNodeServerAccessRequest) String() string

type ListNodeServerAccessResponse

type ListNodeServerAccessResponse struct {
	Access []*NodeServerAccess `protobuf:"bytes,1,rep,name=access,proto3" json:"access,omitempty"`
	// contains filtered or unexported fields
}

func (*ListNodeServerAccessResponse) Descriptor deprecated

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

Deprecated: Use ListNodeServerAccessResponse.ProtoReflect.Descriptor instead.

func (*ListNodeServerAccessResponse) GetAccess

func (*ListNodeServerAccessResponse) ProtoMessage

func (*ListNodeServerAccessResponse) ProtoMessage()

func (*ListNodeServerAccessResponse) ProtoReflect

func (*ListNodeServerAccessResponse) Reset

func (x *ListNodeServerAccessResponse) Reset()

func (*ListNodeServerAccessResponse) String

type ListNodeServerKeysRequest added in v0.1.74

type ListNodeServerKeysRequest struct {
	NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ListNodeServerKeysRequest) Descriptor deprecated added in v0.1.74

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

Deprecated: Use ListNodeServerKeysRequest.ProtoReflect.Descriptor instead.

func (*ListNodeServerKeysRequest) GetNodeId added in v0.1.74

func (x *ListNodeServerKeysRequest) GetNodeId() string

func (*ListNodeServerKeysRequest) ProtoMessage added in v0.1.74

func (*ListNodeServerKeysRequest) ProtoMessage()

func (*ListNodeServerKeysRequest) ProtoReflect added in v0.1.74

func (*ListNodeServerKeysRequest) Reset added in v0.1.74

func (x *ListNodeServerKeysRequest) Reset()

func (*ListNodeServerKeysRequest) String added in v0.1.74

func (x *ListNodeServerKeysRequest) String() string

type ListNodeServerKeysResponse added in v0.1.74

type ListNodeServerKeysResponse struct {
	Keys       []*NodeServerKey `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"`
	OtherLines uint32           `protobuf:"varint,2,opt,name=other_lines,json=otherLines,proto3" json:"other_lines,omitempty"`
	// contains filtered or unexported fields
}

func (*ListNodeServerKeysResponse) Descriptor deprecated added in v0.1.74

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

Deprecated: Use ListNodeServerKeysResponse.ProtoReflect.Descriptor instead.

func (*ListNodeServerKeysResponse) GetKeys added in v0.1.74

func (x *ListNodeServerKeysResponse) GetKeys() []*NodeServerKey

func (*ListNodeServerKeysResponse) GetOtherLines added in v0.1.74

func (x *ListNodeServerKeysResponse) GetOtherLines() uint32

func (*ListNodeServerKeysResponse) ProtoMessage added in v0.1.74

func (*ListNodeServerKeysResponse) ProtoMessage()

func (*ListNodeServerKeysResponse) ProtoReflect added in v0.1.74

func (*ListNodeServerKeysResponse) Reset added in v0.1.74

func (x *ListNodeServerKeysResponse) Reset()

func (*ListNodeServerKeysResponse) String added in v0.1.74

func (x *ListNodeServerKeysResponse) String() string

type ListNodesRequest

type ListNodesRequest struct {

	// Retired nodes are hidden unless asked for.
	IncludeRetired bool `protobuf:"varint,1,opt,name=include_retired,json=includeRetired,proto3" json:"include_retired,omitempty"`
	// contains filtered or unexported fields
}

func (*ListNodesRequest) Descriptor deprecated

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

Deprecated: Use ListNodesRequest.ProtoReflect.Descriptor instead.

func (*ListNodesRequest) GetIncludeRetired

func (x *ListNodesRequest) GetIncludeRetired() bool

func (*ListNodesRequest) ProtoMessage

func (*ListNodesRequest) ProtoMessage()

func (*ListNodesRequest) ProtoReflect

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

func (*ListNodesRequest) Reset

func (x *ListNodesRequest) Reset()

func (*ListNodesRequest) String

func (x *ListNodesRequest) String() string

type ListNodesResponse

type ListNodesResponse struct {
	Nodes []*Node `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"`
	// Newest agent version this panel ships; the UI marks older agents "outdated agent".
	ExpectedAgentVersion string `protobuf:"bytes,2,opt,name=expected_agent_version,json=expectedAgentVersion,proto3" json:"expected_agent_version,omitempty"`
	// contains filtered or unexported fields
}

func (*ListNodesResponse) Descriptor deprecated

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

Deprecated: Use ListNodesResponse.ProtoReflect.Descriptor instead.

func (*ListNodesResponse) GetExpectedAgentVersion

func (x *ListNodesResponse) GetExpectedAgentVersion() string

func (*ListNodesResponse) GetNodes

func (x *ListNodesResponse) GetNodes() []*Node

func (*ListNodesResponse) ProtoMessage

func (*ListNodesResponse) ProtoMessage()

func (*ListNodesResponse) ProtoReflect

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

func (*ListNodesResponse) Reset

func (x *ListNodesResponse) Reset()

func (*ListNodesResponse) String

func (x *ListNodesResponse) String() string

type ListPasskeysRequest

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

func (*ListPasskeysRequest) Descriptor deprecated

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

Deprecated: Use ListPasskeysRequest.ProtoReflect.Descriptor instead.

func (*ListPasskeysRequest) ProtoMessage

func (*ListPasskeysRequest) ProtoMessage()

func (*ListPasskeysRequest) ProtoReflect

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

func (*ListPasskeysRequest) Reset

func (x *ListPasskeysRequest) Reset()

func (*ListPasskeysRequest) String

func (x *ListPasskeysRequest) String() string

type ListPasskeysResponse

type ListPasskeysResponse struct {
	Passkeys []*Passkey `protobuf:"bytes,1,rep,name=passkeys,proto3" json:"passkeys,omitempty"`
	// contains filtered or unexported fields
}

func (*ListPasskeysResponse) Descriptor deprecated

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

Deprecated: Use ListPasskeysResponse.ProtoReflect.Descriptor instead.

func (*ListPasskeysResponse) GetPasskeys

func (x *ListPasskeysResponse) GetPasskeys() []*Passkey

func (*ListPasskeysResponse) ProtoMessage

func (*ListPasskeysResponse) ProtoMessage()

func (*ListPasskeysResponse) ProtoReflect

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

func (*ListPasskeysResponse) Reset

func (x *ListPasskeysResponse) Reset()

func (*ListPasskeysResponse) String

func (x *ListPasskeysResponse) String() string

type ListProfilesRequest

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

func (*ListProfilesRequest) Descriptor deprecated

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

Deprecated: Use ListProfilesRequest.ProtoReflect.Descriptor instead.

func (*ListProfilesRequest) ProtoMessage

func (*ListProfilesRequest) ProtoMessage()

func (*ListProfilesRequest) ProtoReflect

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

func (*ListProfilesRequest) Reset

func (x *ListProfilesRequest) Reset()

func (*ListProfilesRequest) String

func (x *ListProfilesRequest) String() string

type ListProfilesResponse

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

func (*ListProfilesResponse) Descriptor deprecated

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

Deprecated: Use ListProfilesResponse.ProtoReflect.Descriptor instead.

func (*ListProfilesResponse) GetProfiles

func (x *ListProfilesResponse) GetProfiles() []*ProfileSummary

func (*ListProfilesResponse) ProtoMessage

func (*ListProfilesResponse) ProtoMessage()

func (*ListProfilesResponse) ProtoReflect

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

func (*ListProfilesResponse) Reset

func (x *ListProfilesResponse) Reset()

func (*ListProfilesResponse) String

func (x *ListProfilesResponse) String() string

type ListProtocolsRequest

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

func (*ListProtocolsRequest) Descriptor deprecated

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

Deprecated: Use ListProtocolsRequest.ProtoReflect.Descriptor instead.

func (*ListProtocolsRequest) ProtoMessage

func (*ListProtocolsRequest) ProtoMessage()

func (*ListProtocolsRequest) ProtoReflect

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

func (*ListProtocolsRequest) Reset

func (x *ListProtocolsRequest) Reset()

func (*ListProtocolsRequest) String

func (x *ListProtocolsRequest) String() string

type ListProtocolsResponse

type ListProtocolsResponse struct {
	Protocols []*ProtocolInfo `protobuf:"bytes,1,rep,name=protocols,proto3" json:"protocols,omitempty"`
	// contains filtered or unexported fields
}

func (*ListProtocolsResponse) Descriptor deprecated

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

Deprecated: Use ListProtocolsResponse.ProtoReflect.Descriptor instead.

func (*ListProtocolsResponse) GetProtocols

func (x *ListProtocolsResponse) GetProtocols() []*ProtocolInfo

func (*ListProtocolsResponse) ProtoMessage

func (*ListProtocolsResponse) ProtoMessage()

func (*ListProtocolsResponse) ProtoReflect

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

func (*ListProtocolsResponse) Reset

func (x *ListProtocolsResponse) Reset()

func (*ListProtocolsResponse) String

func (x *ListProtocolsResponse) String() string

type ListRelayCandidatesRequest added in v0.1.65

type ListRelayCandidatesRequest struct {
	ViaNodeId string `protobuf:"bytes,1,opt,name=via_node_id,json=viaNodeId,proto3" json:"via_node_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ListRelayCandidatesRequest) Descriptor deprecated added in v0.1.65

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

Deprecated: Use ListRelayCandidatesRequest.ProtoReflect.Descriptor instead.

func (*ListRelayCandidatesRequest) GetViaNodeId added in v0.1.65

func (x *ListRelayCandidatesRequest) GetViaNodeId() string

func (*ListRelayCandidatesRequest) ProtoMessage added in v0.1.65

func (*ListRelayCandidatesRequest) ProtoMessage()

func (*ListRelayCandidatesRequest) ProtoReflect added in v0.1.65

func (*ListRelayCandidatesRequest) Reset added in v0.1.65

func (x *ListRelayCandidatesRequest) Reset()

func (*ListRelayCandidatesRequest) String added in v0.1.65

func (x *ListRelayCandidatesRequest) String() string

type ListRelayCandidatesResponse added in v0.1.65

type ListRelayCandidatesResponse struct {

	// Those that can be relayed first; among them the exits the country check or the probe says are cut come first.
	Candidates []*RelayCandidate `protobuf:"bytes,1,rep,name=candidates,proto3" json:"candidates,omitempty"`
	// The entry's agent lists "relay-forward/1".
	AgentSupported bool `protobuf:"varint,2,opt,name=agent_supported,json=agentSupported,proto3" json:"agent_supported,omitempty"`
	// The entry's own country check: do people see the entry? Compare its dark list with the exit's.
	EntryCountry *RelayCountryHint `protobuf:"bytes,3,opt,name=entry_country,json=entryCountry,proto3" json:"entry_country,omitempty"`
	// contains filtered or unexported fields
}

func (*ListRelayCandidatesResponse) Descriptor deprecated added in v0.1.65

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

Deprecated: Use ListRelayCandidatesResponse.ProtoReflect.Descriptor instead.

func (*ListRelayCandidatesResponse) GetAgentSupported added in v0.1.65

func (x *ListRelayCandidatesResponse) GetAgentSupported() bool

func (*ListRelayCandidatesResponse) GetCandidates added in v0.1.65

func (x *ListRelayCandidatesResponse) GetCandidates() []*RelayCandidate

func (*ListRelayCandidatesResponse) GetEntryCountry added in v0.1.65

func (x *ListRelayCandidatesResponse) GetEntryCountry() *RelayCountryHint

func (*ListRelayCandidatesResponse) ProtoMessage added in v0.1.65

func (*ListRelayCandidatesResponse) ProtoMessage()

func (*ListRelayCandidatesResponse) ProtoReflect added in v0.1.65

func (*ListRelayCandidatesResponse) Reset added in v0.1.65

func (x *ListRelayCandidatesResponse) Reset()

func (*ListRelayCandidatesResponse) String added in v0.1.65

func (x *ListRelayCandidatesResponse) String() string

type ListRelaysRequest added in v0.1.65

type ListRelaysRequest struct {
	NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ListRelaysRequest) Descriptor deprecated added in v0.1.65

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

Deprecated: Use ListRelaysRequest.ProtoReflect.Descriptor instead.

func (*ListRelaysRequest) GetNodeId added in v0.1.65

func (x *ListRelaysRequest) GetNodeId() string

func (*ListRelaysRequest) ProtoMessage added in v0.1.65

func (*ListRelaysRequest) ProtoMessage()

func (*ListRelaysRequest) ProtoReflect added in v0.1.65

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

func (*ListRelaysRequest) Reset added in v0.1.65

func (x *ListRelaysRequest) Reset()

func (*ListRelaysRequest) String added in v0.1.65

func (x *ListRelaysRequest) String() string

type ListRelaysResponse added in v0.1.65

type ListRelaysResponse struct {
	Relays []*Relay `protobuf:"bytes,1,rep,name=relays,proto3" json:"relays,omitempty"`
	// contains filtered or unexported fields
}

func (*ListRelaysResponse) Descriptor deprecated added in v0.1.65

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

Deprecated: Use ListRelaysResponse.ProtoReflect.Descriptor instead.

func (*ListRelaysResponse) GetRelays added in v0.1.65

func (x *ListRelaysResponse) GetRelays() []*Relay

func (*ListRelaysResponse) ProtoMessage added in v0.1.65

func (*ListRelaysResponse) ProtoMessage()

func (*ListRelaysResponse) ProtoReflect added in v0.1.65

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

func (*ListRelaysResponse) Reset added in v0.1.65

func (x *ListRelaysResponse) Reset()

func (*ListRelaysResponse) String added in v0.1.65

func (x *ListRelaysResponse) String() string

type ListSessionsRequest

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

func (*ListSessionsRequest) Descriptor deprecated

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

Deprecated: Use ListSessionsRequest.ProtoReflect.Descriptor instead.

func (*ListSessionsRequest) ProtoMessage

func (*ListSessionsRequest) ProtoMessage()

func (*ListSessionsRequest) ProtoReflect

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

func (*ListSessionsRequest) Reset

func (x *ListSessionsRequest) Reset()

func (*ListSessionsRequest) String

func (x *ListSessionsRequest) String() string

type ListSessionsResponse

type ListSessionsResponse struct {

	// Live sessions, most recently used first.
	Sessions []*AdminSession `protobuf:"bytes,1,rep,name=sessions,proto3" json:"sessions,omitempty"`
	// contains filtered or unexported fields
}

func (*ListSessionsResponse) Descriptor deprecated

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

Deprecated: Use ListSessionsResponse.ProtoReflect.Descriptor instead.

func (*ListSessionsResponse) GetSessions

func (x *ListSessionsResponse) GetSessions() []*AdminSession

func (*ListSessionsResponse) ProtoMessage

func (*ListSessionsResponse) ProtoMessage()

func (*ListSessionsResponse) ProtoReflect

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

func (*ListSessionsResponse) Reset

func (x *ListSessionsResponse) Reset()

func (*ListSessionsResponse) String

func (x *ListSessionsResponse) String() string

type ListUsersRequest

type ListUsersRequest struct {
	Filter UserFilter `protobuf:"varint,1,opt,name=filter,proto3,enum=mistgate.admin.v1.UserFilter" json:"filter,omitempty"`
	// Case-insensitive substring of name or group name.
	Query   string `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"`
	GroupId string `protobuf:"bytes,3,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
	// Default 50, max 200. The selected sort value uses `descending`; ties use name ascending, then id ascending.
	// Name order supports keyset paging with page_token. Other orders use offset paging; page_token with any other
	// sort or with the opposite name direction is invalid. Earlier unversioned name tokens remain valid ascending.
	// Name is unique case-insensitively, so the name token is a stable key.
	PageSize  uint32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	PageToken string `protobuf:"bytes,5,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// Rows to skip before the page (after page_token when both are given): numbered pages. 0 = none, at most 100000.
	// The size of what is being paged is in the response counts (the chip of the filter in use).
	Offset     uint32   `protobuf:"varint,6,opt,name=offset,proto3" json:"offset,omitempty"`
	Sort       UserSort `protobuf:"varint,7,opt,name=sort,proto3,enum=mistgate.admin.v1.UserSort" json:"sort,omitempty"`
	Descending bool     `protobuf:"varint,8,opt,name=descending,proto3" json:"descending,omitempty"`
	// contains filtered or unexported fields
}

func (*ListUsersRequest) Descriptor deprecated

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

Deprecated: Use ListUsersRequest.ProtoReflect.Descriptor instead.

func (*ListUsersRequest) GetDescending added in v0.1.39

func (x *ListUsersRequest) GetDescending() bool

func (*ListUsersRequest) GetFilter

func (x *ListUsersRequest) GetFilter() UserFilter

func (*ListUsersRequest) GetGroupId

func (x *ListUsersRequest) GetGroupId() string

func (*ListUsersRequest) GetOffset added in v0.1.25

func (x *ListUsersRequest) GetOffset() uint32

func (*ListUsersRequest) GetPageSize

func (x *ListUsersRequest) GetPageSize() uint32

func (*ListUsersRequest) GetPageToken

func (x *ListUsersRequest) GetPageToken() string

func (*ListUsersRequest) GetQuery

func (x *ListUsersRequest) GetQuery() string

func (*ListUsersRequest) GetSort added in v0.1.39

func (x *ListUsersRequest) GetSort() UserSort

func (*ListUsersRequest) ProtoMessage

func (*ListUsersRequest) ProtoMessage()

func (*ListUsersRequest) ProtoReflect

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

func (*ListUsersRequest) Reset

func (x *ListUsersRequest) Reset()

func (*ListUsersRequest) String

func (x *ListUsersRequest) String() string

type ListUsersResponse

type ListUsersResponse struct {
	Users []*User `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"`
	// Empty on the last page.
	NextPageToken string      `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	Counts        *UserCounts `protobuf:"bytes,3,opt,name=counts,proto3" json:"counts,omitempty"`
	// contains filtered or unexported fields
}

func (*ListUsersResponse) Descriptor deprecated

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

Deprecated: Use ListUsersResponse.ProtoReflect.Descriptor instead.

func (*ListUsersResponse) GetCounts

func (x *ListUsersResponse) GetCounts() *UserCounts

func (*ListUsersResponse) GetNextPageToken

func (x *ListUsersResponse) GetNextPageToken() string

func (*ListUsersResponse) GetUsers

func (x *ListUsersResponse) GetUsers() []*User

func (*ListUsersResponse) ProtoMessage

func (*ListUsersResponse) ProtoMessage()

func (*ListUsersResponse) ProtoReflect

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

func (*ListUsersResponse) Reset

func (x *ListUsersResponse) Reset()

func (*ListUsersResponse) String

func (x *ListUsersResponse) String() string

type LogLevel

type LogLevel int32
const (
	// As a filter: all levels.
	LogLevel_LOG_LEVEL_UNSPECIFIED LogLevel = 0
	LogLevel_LOG_LEVEL_INFO        LogLevel = 1
	LogLevel_LOG_LEVEL_WARNING     LogLevel = 2
	LogLevel_LOG_LEVEL_ERROR       LogLevel = 3
)

func (LogLevel) Descriptor

func (LogLevel) Descriptor() protoreflect.EnumDescriptor

func (LogLevel) Enum

func (x LogLevel) Enum() *LogLevel

func (LogLevel) EnumDescriptor deprecated

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

Deprecated: Use LogLevel.Descriptor instead.

func (LogLevel) Number

func (x LogLevel) Number() protoreflect.EnumNumber

func (LogLevel) String

func (x LogLevel) String() string

func (LogLevel) Type

type LogLine

type LogLine struct {
	TimeUnixMs int64    `protobuf:"varint,1,opt,name=time_unix_ms,json=timeUnixMs,proto3" json:"time_unix_ms,omitempty"`
	Level      LogLevel `protobuf:"varint,2,opt,name=level,proto3,enum=mistgate.admin.v1.LogLevel" json:"level,omitempty"`
	Source     string   `protobuf:"bytes,3,opt,name=source,proto3" json:"source,omitempty"`
	Message    string   `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*LogLine) Descriptor deprecated

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

Deprecated: Use LogLine.ProtoReflect.Descriptor instead.

func (*LogLine) GetLevel

func (x *LogLine) GetLevel() LogLevel

func (*LogLine) GetMessage

func (x *LogLine) GetMessage() string

func (*LogLine) GetSource

func (x *LogLine) GetSource() string

func (*LogLine) GetTimeUnixMs

func (x *LogLine) GetTimeUnixMs() int64

func (*LogLine) ProtoMessage

func (*LogLine) ProtoMessage()

func (*LogLine) ProtoReflect

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

func (*LogLine) Reset

func (x *LogLine) Reset()

func (*LogLine) String

func (x *LogLine) String() string

type LogoutRequest

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

func (*LogoutRequest) Descriptor deprecated

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

Deprecated: Use LogoutRequest.ProtoReflect.Descriptor instead.

func (*LogoutRequest) ProtoMessage

func (*LogoutRequest) ProtoMessage()

func (*LogoutRequest) ProtoReflect

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

func (*LogoutRequest) Reset

func (x *LogoutRequest) Reset()

func (*LogoutRequest) String

func (x *LogoutRequest) String() string

type LogoutResponse

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

func (*LogoutResponse) Descriptor deprecated

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

Deprecated: Use LogoutResponse.ProtoReflect.Descriptor instead.

func (*LogoutResponse) ProtoMessage

func (*LogoutResponse) ProtoMessage()

func (*LogoutResponse) ProtoReflect

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

func (*LogoutResponse) Reset

func (x *LogoutResponse) Reset()

func (*LogoutResponse) String

func (x *LogoutResponse) String() string

type MeRequest

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

func (*MeRequest) Descriptor deprecated

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

Deprecated: Use MeRequest.ProtoReflect.Descriptor instead.

func (*MeRequest) ProtoMessage

func (*MeRequest) ProtoMessage()

func (*MeRequest) ProtoReflect

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

func (*MeRequest) Reset

func (x *MeRequest) Reset()

func (*MeRequest) String

func (x *MeRequest) String() string

type MeResponse

type MeResponse struct {
	Admin *Admin `protobuf:"bytes,1,opt,name=admin,proto3" json:"admin,omitempty"`
	// Panel build version, e.g. "0.1.0-dev".
	Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
	// This session proved a sign-in factor recently: step-up protected calls work until this Unix
	// time. 0 = step-up needed now.
	StepUpUntilUnix int64 `protobuf:"varint,3,opt,name=step_up_until_unix,json=stepUpUntilUnix,proto3" json:"step_up_until_unix,omitempty"`
	// Where the source code of this panel is published (serve --source-url), linked next to the version in the admin
	// (AGPL-3.0 section 13). Empty = no link.
	SourceUrl string `protobuf:"bytes,4,opt,name=source_url,json=sourceUrl,proto3" json:"source_url,omitempty"`
	// Edition this panel runs: "vps" or "edge".
	Edition string `protobuf:"bytes,5,opt,name=edition,proto3" json:"edition,omitempty"`
	// Stable feature IDs that are not available in this edition.
	Unavailable []string `protobuf:"bytes,6,rep,name=unavailable,proto3" json:"unavailable,omitempty"`
	// The star count of the source_url repository on GitHub, read by the panel (never by the browser) at most once an
	// hour. Unset when unknown: source_url is not a github.com repository, the count has not been read yet, or this
	// edition does not read it (the Cloudflare edge).
	SourceStars *uint32 `protobuf:"varint,7,opt,name=source_stars,json=sourceStars,proto3,oneof" json:"source_stars,omitempty"`
	// contains filtered or unexported fields
}

func (*MeResponse) Descriptor deprecated

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

Deprecated: Use MeResponse.ProtoReflect.Descriptor instead.

func (*MeResponse) GetAdmin

func (x *MeResponse) GetAdmin() *Admin

func (*MeResponse) GetEdition added in v0.1.35

func (x *MeResponse) GetEdition() string

func (*MeResponse) GetSourceStars added in v0.1.65

func (x *MeResponse) GetSourceStars() uint32

func (*MeResponse) GetSourceUrl

func (x *MeResponse) GetSourceUrl() string

func (*MeResponse) GetStepUpUntilUnix

func (x *MeResponse) GetStepUpUntilUnix() int64

func (*MeResponse) GetUnavailable added in v0.1.35

func (x *MeResponse) GetUnavailable() []string

func (*MeResponse) GetVersion

func (x *MeResponse) GetVersion() string

func (*MeResponse) ProtoMessage

func (*MeResponse) ProtoMessage()

func (*MeResponse) ProtoReflect

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

func (*MeResponse) Reset

func (x *MeResponse) Reset()

func (*MeResponse) String

func (x *MeResponse) String() string

type MeasureBandwidthRequest added in v0.1.20

type MeasureBandwidthRequest struct {
	NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	// contains filtered or unexported fields
}

func (*MeasureBandwidthRequest) Descriptor deprecated added in v0.1.20

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

Deprecated: Use MeasureBandwidthRequest.ProtoReflect.Descriptor instead.

func (*MeasureBandwidthRequest) GetNodeId added in v0.1.20

func (x *MeasureBandwidthRequest) GetNodeId() string

func (*MeasureBandwidthRequest) ProtoMessage added in v0.1.20

func (*MeasureBandwidthRequest) ProtoMessage()

func (*MeasureBandwidthRequest) ProtoReflect added in v0.1.20

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

func (*MeasureBandwidthRequest) Reset added in v0.1.20

func (x *MeasureBandwidthRequest) Reset()

func (*MeasureBandwidthRequest) String added in v0.1.20

func (x *MeasureBandwidthRequest) String() string

type MeasureBandwidthResponse added in v0.1.20

type MeasureBandwidthResponse struct {

	// Mbps (megabits per second), measured from the node: what it downloaded from, and uploaded to, the test server. 0 up
	// = the upload could not be measured (the server did not take it). Both are 0 when error_code is set.
	DownMbps uint32 `protobuf:"varint,1,opt,name=down_mbps,json=downMbps,proto3" json:"down_mbps,omitempty"`
	UpMbps   uint32 `protobuf:"varint,2,opt,name=up_mbps,json=upMbps,proto3" json:"up_mbps,omitempty"`
	// The test server that answered: "Ookla" (see server_detail), "speed.cloudflare.com", "proof.ovh.net" or "cachefly.net".
	Server string `protobuf:"bytes,3,opt,name=server,proto3" json:"server,omitempty"`
	// "" = measured. Otherwise what the node answered: busy (a measurement is already running), unreachable (no test server
	// gave a usable answer), unsupported, failed.
	ErrorCode string `protobuf:"bytes,4,opt,name=error_code,json=errorCode,proto3" json:"error_code,omitempty"`
	// How long the whole measurement took, in seconds.
	Seconds uint32 `protobuf:"varint,5,opt,name=seconds,proto3" json:"seconds,omitempty"`
	// The part of the best run's rate that the interface carried beyond the test: people already using the node (already
	// included in down_mbps / up_mbps). 0 = none, or the node's interface could not be read.
	PeopleDownMbps uint32 `protobuf:"varint,6,opt,name=people_down_mbps,json=peopleDownMbps,proto3" json:"people_down_mbps,omitempty"`
	PeopleUpMbps   uint32 `protobuf:"varint,7,opt,name=people_up_mbps,json=peopleUpMbps,proto3" json:"people_up_mbps,omitempty"`
	// Runs that gave a result, of runs_total.
	Runs uint32 `protobuf:"varint,8,opt,name=runs,proto3" json:"runs,omitempty"`
	// Runs the node was asked to do (3). 0 = the agent did not say (an older one): read it as equal to runs.
	RunsTotal uint32 `protobuf:"varint,9,opt,name=runs_total,json=runsTotal,proto3" json:"runs_total,omitempty"`
	// Why each run that did not work failed, in order: rate_limited, timeout, unreachable, http_<code> or failed. Empty when
	// every run worked, and for an agent that does not report it.
	RunFailures []string `protobuf:"bytes,10,rep,name=run_failures,json=runFailures,proto3" json:"run_failures,omitempty"`
	// Which server of the provider answered: for Ookla, the sponsor and city ("MTS, Moscow"); "" for the others.
	ServerDetail string `protobuf:"bytes,11,opt,name=server_detail,json=serverDetail,proto3" json:"server_detail,omitempty"`
	// contains filtered or unexported fields
}

func (*MeasureBandwidthResponse) Descriptor deprecated added in v0.1.20

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

Deprecated: Use MeasureBandwidthResponse.ProtoReflect.Descriptor instead.

func (*MeasureBandwidthResponse) GetDownMbps added in v0.1.20

func (x *MeasureBandwidthResponse) GetDownMbps() uint32

func (*MeasureBandwidthResponse) GetErrorCode added in v0.1.20

func (x *MeasureBandwidthResponse) GetErrorCode() string

func (*MeasureBandwidthResponse) GetPeopleDownMbps added in v0.1.20

func (x *MeasureBandwidthResponse) GetPeopleDownMbps() uint32

func (*MeasureBandwidthResponse) GetPeopleUpMbps added in v0.1.20

func (x *MeasureBandwidthResponse) GetPeopleUpMbps() uint32

func (*MeasureBandwidthResponse) GetRunFailures added in v0.1.22

func (x *MeasureBandwidthResponse) GetRunFailures() []string

func (*MeasureBandwidthResponse) GetRuns added in v0.1.20

func (x *MeasureBandwidthResponse) GetRuns() uint32

func (*MeasureBandwidthResponse) GetRunsTotal added in v0.1.22

func (x *MeasureBandwidthResponse) GetRunsTotal() uint32

func (*MeasureBandwidthResponse) GetSeconds added in v0.1.20

func (x *MeasureBandwidthResponse) GetSeconds() uint32

func (*MeasureBandwidthResponse) GetServer added in v0.1.20

func (x *MeasureBandwidthResponse) GetServer() string

func (*MeasureBandwidthResponse) GetServerDetail added in v0.1.22

func (x *MeasureBandwidthResponse) GetServerDetail() string

func (*MeasureBandwidthResponse) GetUpMbps added in v0.1.20

func (x *MeasureBandwidthResponse) GetUpMbps() uint32

func (*MeasureBandwidthResponse) ProtoMessage added in v0.1.20

func (*MeasureBandwidthResponse) ProtoMessage()

func (*MeasureBandwidthResponse) ProtoReflect added in v0.1.20

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

func (*MeasureBandwidthResponse) Reset added in v0.1.20

func (x *MeasureBandwidthResponse) Reset()

func (*MeasureBandwidthResponse) String added in v0.1.20

func (x *MeasureBandwidthResponse) String() string

type MimicryPreset

type MimicryPreset struct {

	// "quic", "curl_quic", "dns", "stun", "webrtc", "sip", "ntp", "rtp", "ssdp", "dtls", "custom".
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Display name; the UI may localise by id.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// AWG versions the preset supports ("3.1", "2.0").
	Versions []string `protobuf:"bytes,3,rep,name=versions,proto3" json:"versions,omitempty"`
	// The preset's packets carry a host name (GenerateObfuscationRequest.domain, obfuscation.domain): show the
	// domain field for it. quic, curl_quic, dns, sip.
	UsesDomain bool `protobuf:"varint,4,opt,name=uses_domain,json=usesDomain,proto3" json:"uses_domain,omitempty"`
	// UDP ports where this traffic is normal (QUIC 443, DNS 53, NTP 123, SIP 5060, SSDP 1900); empty = any port.
	// A profile on another port gets the preset_port warning.
	NaturalPorts []uint32 `protobuf:"varint,5,rep,packed,name=natural_ports,json=naturalPorts,proto3" json:"natural_ports,omitempty"`
	// The generator draws different I1-I5 each time, so per-device signatures give every device another chain.
	// False for stun, webrtc, dtls (and custom): the same packets whatever the seed, the switch does nothing.
	VariesPerDevice bool `protobuf:"varint,6,opt,name=varies_per_device,json=variesPerDevice,proto3" json:"varies_per_device,omitempty"`
	// contains filtered or unexported fields
}

func (*MimicryPreset) Descriptor deprecated

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

Deprecated: Use MimicryPreset.ProtoReflect.Descriptor instead.

func (*MimicryPreset) GetId

func (x *MimicryPreset) GetId() string

func (*MimicryPreset) GetName

func (x *MimicryPreset) GetName() string

func (*MimicryPreset) GetNaturalPorts

func (x *MimicryPreset) GetNaturalPorts() []uint32

func (*MimicryPreset) GetUsesDomain

func (x *MimicryPreset) GetUsesDomain() bool

func (*MimicryPreset) GetVariesPerDevice

func (x *MimicryPreset) GetVariesPerDevice() bool

func (*MimicryPreset) GetVersions

func (x *MimicryPreset) GetVersions() []string

func (*MimicryPreset) ProtoMessage

func (*MimicryPreset) ProtoMessage()

func (*MimicryPreset) ProtoReflect

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

func (*MimicryPreset) Reset

func (x *MimicryPreset) Reset()

func (*MimicryPreset) String

func (x *MimicryPreset) String() string

type MuteAlertRequest

type MuteAlertRequest struct {
	AlertId string `protobuf:"bytes,1,opt,name=alert_id,json=alertId,proto3" json:"alert_id,omitempty"`
	// 0 = unmute. Max 7 days (604800). Typical: 3600 ("Mute for 1 h").
	DurationS uint32 `protobuf:"varint,2,opt,name=duration_s,json=durationS,proto3" json:"duration_s,omitempty"`
	// contains filtered or unexported fields
}

func (*MuteAlertRequest) Descriptor deprecated

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

Deprecated: Use MuteAlertRequest.ProtoReflect.Descriptor instead.

func (*MuteAlertRequest) GetAlertId

func (x *MuteAlertRequest) GetAlertId() string

func (*MuteAlertRequest) GetDurationS

func (x *MuteAlertRequest) GetDurationS() uint32

func (*MuteAlertRequest) ProtoMessage

func (*MuteAlertRequest) ProtoMessage()

func (*MuteAlertRequest) ProtoReflect

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

func (*MuteAlertRequest) Reset

func (x *MuteAlertRequest) Reset()

func (*MuteAlertRequest) String

func (x *MuteAlertRequest) String() string

type MuteAlertResponse

type MuteAlertResponse struct {
	Alert *Alert `protobuf:"bytes,1,opt,name=alert,proto3" json:"alert,omitempty"`
	// contains filtered or unexported fields
}

func (*MuteAlertResponse) Descriptor deprecated

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

Deprecated: Use MuteAlertResponse.ProtoReflect.Descriptor instead.

func (*MuteAlertResponse) GetAlert

func (x *MuteAlertResponse) GetAlert() *Alert

func (*MuteAlertResponse) ProtoMessage

func (*MuteAlertResponse) ProtoMessage()

func (*MuteAlertResponse) ProtoReflect

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

func (*MuteAlertResponse) Reset

func (x *MuteAlertResponse) Reset()

func (*MuteAlertResponse) String

func (x *MuteAlertResponse) String() string

type Node

type Node struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Short unique name shown everywhere: "de1".
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// ISO 3166-1 alpha-2, for the flag/code badge.
	CountryCode string `protobuf:"bytes,3,opt,name=country_code,json=countryCode,proto3" json:"country_code,omitempty"`
	// Free text shown next to the country: "Estonia", "Helsinki", "Moscow".
	Location string `protobuf:"bytes,4,opt,name=location,proto3" json:"location,omitempty"`
	Provider string `protobuf:"bytes,5,opt,name=provider,proto3" json:"provider,omitempty"`
	// Public host or IP that clients connect to; used in subscriptions.
	Address string        `protobuf:"bytes,6,opt,name=address,proto3" json:"address,omitempty"`
	Status  NodeStatus    `protobuf:"varint,7,opt,name=status,proto3,enum=mistgate.admin.v1.NodeStatus" json:"status,omitempty"`
	Reason  *StatusReason `protobuf:"bytes,8,opt,name=reason,proto3" json:"reason,omitempty"`
	// Plugin ids of the protocols deployed here (from inbounds).
	Protocols []string `protobuf:"bytes,9,rep,name=protocols,proto3" json:"protocols,omitempty"`
	// People online now, per protocol.
	Online []*ProtocolCount `protobuf:"bytes,10,rep,name=online,proto3" json:"online,omitempty"`
	// Bytes (up + down) since 00:00 UTC.
	TrafficTodayBytes uint64 `protobuf:"varint,11,opt,name=traffic_today_bytes,json=trafficTodayBytes,proto3" json:"traffic_today_bytes,omitempty"`
	// Latest gauges; unset (has_metrics = false) while the node is down or pending.
	HasMetrics   bool    `protobuf:"varint,12,opt,name=has_metrics,json=hasMetrics,proto3" json:"has_metrics,omitempty"`
	CpuPct       float32 `protobuf:"fixed32,13,opt,name=cpu_pct,json=cpuPct,proto3" json:"cpu_pct,omitempty"`
	RamPct       float32 `protobuf:"fixed32,14,opt,name=ram_pct,json=ramPct,proto3" json:"ram_pct,omitempty"`
	AgentVersion string  `protobuf:"bytes,15,opt,name=agent_version,json=agentVersion,proto3" json:"agent_version,omitempty"`
	// Host uptime from the agent; 0 when unknown.
	UptimeS uint64 `protobuf:"varint,16,opt,name=uptime_s,json=uptimeS,proto3" json:"uptime_s,omitempty"`
	// Last time anything was received from the agent.
	LastSeenUnix int64 `protobuf:"varint,17,opt,name=last_seen_unix,json=lastSeenUnix,proto3" json:"last_seen_unix,omitempty"`
	// AmneziaWG backend setting of the node: "auto" | "kernel" | "userspace" (what is running is in
	// Inbound.awg.backend).
	AwgBackend string `protobuf:"bytes,18,opt,name=awg_backend,json=awgBackend,proto3" json:"awg_backend,omitempty"`
	// WARP egress of this node; state NOT_CONFIGURED when it has no account.
	Warp *WarpSummary `protobuf:"bytes,19,opt,name=warp,proto3" json:"warp,omitempty"`
	// Building the AmneziaWG kernel module on the node.
	AwgPrepare *AwgPrepare `protobuf:"bytes,20,opt,name=awg_prepare,json=awgPrepare,proto3" json:"awg_prepare,omitempty"`
	// Whether the node blocks recognized BitTorrent traffic.
	TorrentBlockerEnabled bool `` /* 128-byte string literal not displayed */
	// The connected or last-seen agent lists "torrentguard/1".
	TorrentBlockerSupported bool `` /* 134-byte string literal not displayed */
	// Optional symmetric network capacity in Mbps; 0 means unknown and disables utilization percentages.
	BandwidthMbps uint32 `protobuf:"varint,23,opt,name=bandwidth_mbps,json=bandwidthMbps,proto3" json:"bandwidth_mbps,omitempty"`
	// "IPv6 for clients": true (the default) lets people leave the node over IPv6; false makes the node refuse client
	// IPv6 that would leave through its own uplink, so apps fall back to IPv4 at once.
	ClientIpv6 bool `protobuf:"varint,24,opt,name=client_ipv6,json=clientIpv6,proto3" json:"client_ipv6,omitempty"`
	// The connected or last-seen agent lists "client-ipv6/1", so it follows client_ipv6 = false.
	ClientIpv6Supported bool `protobuf:"varint,25,opt,name=client_ipv6_supported,json=clientIpv6Supported,proto3" json:"client_ipv6_supported,omitempty"`
	// Configured mode, "builtin" | "panel" | "own". Existing nodes retain builtin unless changed by the owner.
	DecoyMode string `protobuf:"bytes,26,opt,name=decoy_mode,json=decoyMode,proto3" json:"decoy_mode,omitempty"`
	// Whether the connected or last-seen agent lists "decoy/1".
	DecoySupported bool `protobuf:"varint,27,opt,name=decoy_supported,json=decoySupported,proto3" json:"decoy_supported,omitempty"`
	// Why the node is still serving builtin or has not applied its configured mode: empty when current.
	DecoyReasonCode string `protobuf:"bytes,28,opt,name=decoy_reason_code,json=decoyReasonCode,proto3" json:"decoy_reason_code,omitempty"`
	// SHA-256 of the saved own bundle for this node; empty when none is uploaded.
	DecoyBundleSha256 string `protobuf:"bytes,29,opt,name=decoy_bundle_sha256,json=decoyBundleSha256,proto3" json:"decoy_bundle_sha256,omitempty"`
	// Whether this panel has a valid --decoy-dir bundle.
	DecoyPanelAvailable bool `protobuf:"varint,30,opt,name=decoy_panel_available,json=decoyPanelAvailable,proto3" json:"decoy_panel_available,omitempty"`
	// False in editions that do not store own bundles.
	DecoyOwnAvailable bool `protobuf:"varint,31,opt,name=decoy_own_available,json=decoyOwnAvailable,proto3" json:"decoy_own_available,omitempty"`
	// Mode and SHA-256 last reported by the node agent.
	DecoyAgentMode   string `protobuf:"bytes,32,opt,name=decoy_agent_mode,json=decoyAgentMode,proto3" json:"decoy_agent_mode,omitempty"`
	DecoyAgentSha256 string `protobuf:"bytes,33,opt,name=decoy_agent_sha256,json=decoyAgentSha256,proto3" json:"decoy_agent_sha256,omitempty"`
	// The connected or last-seen agent lists "user-rate-limit/1", so it applies the per-person speed limit
	// (User.speed_limit_bps). False: this node holds people to the smaller of their two limits per device instead.
	UserRateLimitSupported bool `` /* 133-byte string literal not displayed */
	// The IPv6 entry of this node: unset only for a node message that was built without the doctor's view (never in the lists).
	Ipv6 *NodeIpv6 `protobuf:"bytes,35,opt,name=ipv6,proto3" json:"ipv6,omitempty"`
	// Operator notes for the admin list. Not included in user pages or subscription names.
	Notes string `protobuf:"bytes,36,opt,name=notes,proto3" json:"notes,omitempty"`
	// contains filtered or unexported fields
}

One row of the nodes table / one card.

func (*Node) Descriptor deprecated

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

Deprecated: Use Node.ProtoReflect.Descriptor instead.

func (*Node) GetAddress

func (x *Node) GetAddress() string

func (*Node) GetAgentVersion

func (x *Node) GetAgentVersion() string

func (*Node) GetAwgBackend

func (x *Node) GetAwgBackend() string

func (*Node) GetAwgPrepare

func (x *Node) GetAwgPrepare() *AwgPrepare

func (*Node) GetBandwidthMbps added in v0.1.9

func (x *Node) GetBandwidthMbps() uint32

func (*Node) GetClientIpv6 added in v0.1.22

func (x *Node) GetClientIpv6() bool

func (*Node) GetClientIpv6Supported added in v0.1.22

func (x *Node) GetClientIpv6Supported() bool

func (*Node) GetCountryCode

func (x *Node) GetCountryCode() string

func (*Node) GetCpuPct

func (x *Node) GetCpuPct() float32

func (*Node) GetDecoyAgentMode added in v0.1.36

func (x *Node) GetDecoyAgentMode() string

func (*Node) GetDecoyAgentSha256 added in v0.1.36

func (x *Node) GetDecoyAgentSha256() string

func (*Node) GetDecoyBundleSha256 added in v0.1.36

func (x *Node) GetDecoyBundleSha256() string

func (*Node) GetDecoyMode added in v0.1.36

func (x *Node) GetDecoyMode() string

func (*Node) GetDecoyOwnAvailable added in v0.1.36

func (x *Node) GetDecoyOwnAvailable() bool

func (*Node) GetDecoyPanelAvailable added in v0.1.36

func (x *Node) GetDecoyPanelAvailable() bool

func (*Node) GetDecoyReasonCode added in v0.1.36

func (x *Node) GetDecoyReasonCode() string

func (*Node) GetDecoySupported added in v0.1.36

func (x *Node) GetDecoySupported() bool

func (*Node) GetHasMetrics

func (x *Node) GetHasMetrics() bool

func (*Node) GetId

func (x *Node) GetId() string

func (*Node) GetIpv6 added in v0.1.66

func (x *Node) GetIpv6() *NodeIpv6

func (*Node) GetLastSeenUnix

func (x *Node) GetLastSeenUnix() int64

func (*Node) GetLocation

func (x *Node) GetLocation() string

func (*Node) GetName

func (x *Node) GetName() string

func (*Node) GetNotes added in v0.1.78

func (x *Node) GetNotes() string

func (*Node) GetOnline

func (x *Node) GetOnline() []*ProtocolCount

func (*Node) GetProtocols

func (x *Node) GetProtocols() []string

func (*Node) GetProvider

func (x *Node) GetProvider() string

func (*Node) GetRamPct

func (x *Node) GetRamPct() float32

func (*Node) GetReason

func (x *Node) GetReason() *StatusReason

func (*Node) GetStatus

func (x *Node) GetStatus() NodeStatus

func (*Node) GetTorrentBlockerEnabled added in v0.1.5

func (x *Node) GetTorrentBlockerEnabled() bool

func (*Node) GetTorrentBlockerSupported added in v0.1.5

func (x *Node) GetTorrentBlockerSupported() bool

func (*Node) GetTrafficTodayBytes

func (x *Node) GetTrafficTodayBytes() uint64

func (*Node) GetUptimeS

func (x *Node) GetUptimeS() uint64

func (*Node) GetUserRateLimitSupported added in v0.1.39

func (x *Node) GetUserRateLimitSupported() bool

func (*Node) GetWarp

func (x *Node) GetWarp() *WarpSummary

func (*Node) ProtoMessage

func (*Node) ProtoMessage()

func (*Node) ProtoReflect

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

func (*Node) Reset

func (x *Node) Reset()

func (*Node) String

func (x *Node) String() string

type NodeAccess

type NodeAccess struct {
	NodeId      string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	NodeName    string `protobuf:"bytes,2,opt,name=node_name,json=nodeName,proto3" json:"node_name,omitempty"`
	CountryCode string `protobuf:"bytes,3,opt,name=country_code,json=countryCode,proto3" json:"country_code,omitempty"`
	Location    string `protobuf:"bytes,4,opt,name=location,proto3" json:"location,omitempty"`
	Provider    string `protobuf:"bytes,5,opt,name=provider,proto3" json:"provider,omitempty"`
	// Protocols deployed on that node that the user's group and app toggles allow (empty = nothing usable
	// there; the UI greys it out).
	Protocols []string `protobuf:"bytes,6,rep,name=protocols,proto3" json:"protocols,omitempty"`
	// Protocols deployed on the node at all, for the "Hysteria2 only" note.
	NodeProtocols []string `protobuf:"bytes,7,rep,name=node_protocols,json=nodeProtocols,proto3" json:"node_protocols,omitempty"`
	// Whether the node is part of the user's selection (true for every node when nodes.all).
	Selected bool `protobuf:"varint,8,opt,name=selected,proto3" json:"selected,omitempty"`
	// contains filtered or unexported fields
}

One row of the Access section: a node and what this user could use there.

func (*NodeAccess) Descriptor deprecated

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

Deprecated: Use NodeAccess.ProtoReflect.Descriptor instead.

func (*NodeAccess) GetCountryCode

func (x *NodeAccess) GetCountryCode() string

func (*NodeAccess) GetLocation

func (x *NodeAccess) GetLocation() string

func (*NodeAccess) GetNodeId

func (x *NodeAccess) GetNodeId() string

func (*NodeAccess) GetNodeName

func (x *NodeAccess) GetNodeName() string

func (*NodeAccess) GetNodeProtocols

func (x *NodeAccess) GetNodeProtocols() []string

func (*NodeAccess) GetProtocols

func (x *NodeAccess) GetProtocols() []string

func (*NodeAccess) GetProvider

func (x *NodeAccess) GetProvider() string

func (*NodeAccess) GetSelected

func (x *NodeAccess) GetSelected() bool

func (*NodeAccess) ProtoMessage

func (*NodeAccess) ProtoMessage()

func (*NodeAccess) ProtoReflect

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

func (*NodeAccess) Reset

func (x *NodeAccess) Reset()

func (*NodeAccess) String

func (x *NodeAccess) String() string

type NodeCard

type NodeCard struct {
	Id          string           `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name        string           `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	CountryCode string           `protobuf:"bytes,3,opt,name=country_code,json=countryCode,proto3" json:"country_code,omitempty"`
	Location    string           `protobuf:"bytes,4,opt,name=location,proto3" json:"location,omitempty"`
	Provider    string           `protobuf:"bytes,5,opt,name=provider,proto3" json:"provider,omitempty"`
	Status      NodeStatus       `protobuf:"varint,6,opt,name=status,proto3,enum=mistgate.admin.v1.NodeStatus" json:"status,omitempty"`
	Reason      *StatusReason    `protobuf:"bytes,7,opt,name=reason,proto3" json:"reason,omitempty"`
	Online      []*ProtocolCount `protobuf:"bytes,8,rep,name=online,proto3" json:"online,omitempty"`
	// Current download speed (all users), bits per second; 0 when down.
	DownBps    uint64  `protobuf:"varint,9,opt,name=down_bps,json=downBps,proto3" json:"down_bps,omitempty"`
	UpBps      uint64  `protobuf:"varint,10,opt,name=up_bps,json=upBps,proto3" json:"up_bps,omitempty"`
	HasMetrics bool    `protobuf:"varint,11,opt,name=has_metrics,json=hasMetrics,proto3" json:"has_metrics,omitempty"`
	CpuPct     float32 `protobuf:"fixed32,12,opt,name=cpu_pct,json=cpuPct,proto3" json:"cpu_pct,omitempty"`
	// Bytes per hour for the last 24 hours, oldest first, exactly 24 values (the tiny bar chart on the card).
	SparkBytes []uint64 `protobuf:"varint,13,rep,packed,name=spark_bytes,json=sparkBytes,proto3" json:"spark_bytes,omitempty"`
	// contains filtered or unexported fields
}

One card of the 5-column node grid. The SPA sorts problems first; the server returns name order.

func (*NodeCard) Descriptor deprecated

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

Deprecated: Use NodeCard.ProtoReflect.Descriptor instead.

func (*NodeCard) GetCountryCode

func (x *NodeCard) GetCountryCode() string

func (*NodeCard) GetCpuPct

func (x *NodeCard) GetCpuPct() float32

func (*NodeCard) GetDownBps

func (x *NodeCard) GetDownBps() uint64

func (*NodeCard) GetHasMetrics

func (x *NodeCard) GetHasMetrics() bool

func (*NodeCard) GetId

func (x *NodeCard) GetId() string

func (*NodeCard) GetLocation

func (x *NodeCard) GetLocation() string

func (*NodeCard) GetName

func (x *NodeCard) GetName() string

func (*NodeCard) GetOnline

func (x *NodeCard) GetOnline() []*ProtocolCount

func (*NodeCard) GetProvider

func (x *NodeCard) GetProvider() string

func (*NodeCard) GetReason

func (x *NodeCard) GetReason() *StatusReason

func (*NodeCard) GetSparkBytes

func (x *NodeCard) GetSparkBytes() []uint64

func (*NodeCard) GetStatus

func (x *NodeCard) GetStatus() NodeStatus

func (*NodeCard) GetUpBps

func (x *NodeCard) GetUpBps() uint64

func (*NodeCard) ProtoMessage

func (*NodeCard) ProtoMessage()

func (*NodeCard) ProtoReflect

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

func (*NodeCard) Reset

func (x *NodeCard) Reset()

func (*NodeCard) String

func (x *NodeCard) String() string

type NodeConnections added in v0.1.56

type NodeConnections struct {
	NodeId      string                `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	NodeName    string                `protobuf:"bytes,2,opt,name=node_name,json=nodeName,proto3" json:"node_name,omitempty"`
	CountryCode string                `protobuf:"bytes,3,opt,name=country_code,json=countryCode,proto3" json:"country_code,omitempty"`
	Supported   bool                  `protobuf:"varint,4,opt,name=supported,proto3" json:"supported,omitempty"`
	Inbounds    []*InboundConnections `protobuf:"bytes,5,rep,name=inbounds,proto3" json:"inbounds,omitempty"`
	// contains filtered or unexported fields
}

One node of GetFleetConnections: GetNodeConnections without hours and clients.

func (*NodeConnections) Descriptor deprecated added in v0.1.56

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

Deprecated: Use NodeConnections.ProtoReflect.Descriptor instead.

func (*NodeConnections) GetCountryCode added in v0.1.56

func (x *NodeConnections) GetCountryCode() string

func (*NodeConnections) GetInbounds added in v0.1.56

func (x *NodeConnections) GetInbounds() []*InboundConnections

func (*NodeConnections) GetNodeId added in v0.1.56

func (x *NodeConnections) GetNodeId() string

func (*NodeConnections) GetNodeName added in v0.1.56

func (x *NodeConnections) GetNodeName() string

func (*NodeConnections) GetSupported added in v0.1.56

func (x *NodeConnections) GetSupported() bool

func (*NodeConnections) ProtoMessage added in v0.1.56

func (*NodeConnections) ProtoMessage()

func (*NodeConnections) ProtoReflect added in v0.1.56

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

func (*NodeConnections) Reset added in v0.1.56

func (x *NodeConnections) Reset()

func (*NodeConnections) String added in v0.1.56

func (x *NodeConnections) String() string

type NodeDnsOptions added in v0.1.17

type NodeDnsOptions struct {
	NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	// Offered presets in the owner's order (the page lists them so).
	PresetIds []string `protobuf:"bytes,2,rep,name=preset_ids,json=presetIds,proto3" json:"preset_ids,omitempty"`
	// One of preset_ids, or empty: then people who picked nothing get the preset of their user, group or instance.
	DefaultPresetId string `protobuf:"bytes,3,opt,name=default_preset_id,json=defaultPresetId,proto3" json:"default_preset_id,omitempty"`
	// contains filtered or unexported fields
}

What one node offers on the user page.

func (*NodeDnsOptions) Descriptor deprecated added in v0.1.17

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

Deprecated: Use NodeDnsOptions.ProtoReflect.Descriptor instead.

func (*NodeDnsOptions) GetDefaultPresetId added in v0.1.17

func (x *NodeDnsOptions) GetDefaultPresetId() string

func (*NodeDnsOptions) GetNodeId added in v0.1.17

func (x *NodeDnsOptions) GetNodeId() string

func (*NodeDnsOptions) GetPresetIds added in v0.1.17

func (x *NodeDnsOptions) GetPresetIds() []string

func (*NodeDnsOptions) ProtoMessage added in v0.1.17

func (*NodeDnsOptions) ProtoMessage()

func (*NodeDnsOptions) ProtoReflect added in v0.1.17

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

func (*NodeDnsOptions) Reset added in v0.1.17

func (x *NodeDnsOptions) Reset()

func (*NodeDnsOptions) String added in v0.1.17

func (x *NodeDnsOptions) String() string

type NodeDoctor

type NodeDoctor struct {
	NodeId     string     `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	NodeName   string     `protobuf:"bytes,2,opt,name=node_name,json=nodeName,proto3" json:"node_name,omitempty"`
	NodeStatus NodeStatus `` /* 126-byte string literal not displayed */
	// false: this agent predates the doctor (no "doctor/1" capability); `items` is empty and the UI says so.
	AgentSupported bool `protobuf:"varint,4,opt,name=agent_supported,json=agentSupported,proto3" json:"agent_supported,omitempty"`
	// false: supported but no report yet (first report comes ~30 s after the agent connects).
	HasReport bool `protobuf:"varint,5,opt,name=has_report,json=hasReport,proto3" json:"has_report,omitempty"`
	// When the panel received the report, and its age in seconds at the time of this response. A report older
	// than 25 min (2.5 periods) is stale: the UI greys it out and says how old it is.
	ReceivedUnix int64  `protobuf:"varint,6,opt,name=received_unix,json=receivedUnix,proto3" json:"received_unix,omitempty"`
	AgeS         uint32 `protobuf:"varint,7,opt,name=age_s,json=ageS,proto3" json:"age_s,omitempty"`
	Stale        bool   `protobuf:"varint,8,opt,name=stale,proto3" json:"stale,omitempty"`
	// Check order of agent.proto "CHECK IDS" (fixed, not sorted by status: the SPA sorts problems first).
	Items []*DoctorItem `protobuf:"bytes,9,rep,name=items,proto3" json:"items,omitempty"`
	// The agent version of the last Hello (the fleet tab says which agent is too old) and when the node was last
	// heard from (an offline node's report is its last one).
	AgentVersion string `protobuf:"bytes,10,opt,name=agent_version,json=agentVersion,proto3" json:"agent_version,omitempty"`
	LastSeenUnix int64  `protobuf:"varint,11,opt,name=last_seen_unix,json=lastSeenUnix,proto3" json:"last_seen_unix,omitempty"`
	// contains filtered or unexported fields
}

The doctor state of one node.

func (*NodeDoctor) Descriptor deprecated

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

Deprecated: Use NodeDoctor.ProtoReflect.Descriptor instead.

func (*NodeDoctor) GetAgeS

func (x *NodeDoctor) GetAgeS() uint32

func (*NodeDoctor) GetAgentSupported

func (x *NodeDoctor) GetAgentSupported() bool

func (*NodeDoctor) GetAgentVersion

func (x *NodeDoctor) GetAgentVersion() string

func (*NodeDoctor) GetHasReport

func (x *NodeDoctor) GetHasReport() bool

func (*NodeDoctor) GetItems

func (x *NodeDoctor) GetItems() []*DoctorItem

func (*NodeDoctor) GetLastSeenUnix

func (x *NodeDoctor) GetLastSeenUnix() int64

func (*NodeDoctor) GetNodeId

func (x *NodeDoctor) GetNodeId() string

func (*NodeDoctor) GetNodeName

func (x *NodeDoctor) GetNodeName() string

func (*NodeDoctor) GetNodeStatus

func (x *NodeDoctor) GetNodeStatus() NodeStatus

func (*NodeDoctor) GetReceivedUnix

func (x *NodeDoctor) GetReceivedUnix() int64

func (*NodeDoctor) GetStale

func (x *NodeDoctor) GetStale() bool

func (*NodeDoctor) ProtoMessage

func (*NodeDoctor) ProtoMessage()

func (*NodeDoctor) ProtoReflect

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

func (*NodeDoctor) Reset

func (x *NodeDoctor) Reset()

func (*NodeDoctor) String

func (x *NodeDoctor) String() string

type NodeFacts

type NodeFacts struct {
	Hostname       string `protobuf:"bytes,1,opt,name=hostname,proto3" json:"hostname,omitempty"`
	Os             string `protobuf:"bytes,2,opt,name=os,proto3" json:"os,omitempty"`
	Kernel         string `protobuf:"bytes,3,opt,name=kernel,proto3" json:"kernel,omitempty"`
	Arch           string `protobuf:"bytes,4,opt,name=arch,proto3" json:"arch,omitempty"`
	CpuCount       uint32 `protobuf:"varint,5,opt,name=cpu_count,json=cpuCount,proto3" json:"cpu_count,omitempty"`
	RamTotalBytes  uint64 `protobuf:"varint,6,opt,name=ram_total_bytes,json=ramTotalBytes,proto3" json:"ram_total_bytes,omitempty"`
	DiskTotalBytes uint64 `protobuf:"varint,7,opt,name=disk_total_bytes,json=diskTotalBytes,proto3" json:"disk_total_bytes,omitempty"`
	Virt           string `protobuf:"bytes,8,opt,name=virt,proto3" json:"virt,omitempty"`
	HasIpv6        bool   `protobuf:"varint,9,opt,name=has_ipv6,json=hasIpv6,proto3" json:"has_ipv6,omitempty"`
	BootUnix       int64  `protobuf:"varint,10,opt,name=boot_unix,json=bootUnix,proto3" json:"boot_unix,omitempty"`
	// Engine versions, "hysteria2: hysteria core v2.12.3".
	Engines []string `protobuf:"bytes,11,rep,name=engines,proto3" json:"engines,omitempty"`
	// contains filtered or unexported fields
}

"Host facts" block. The full pre-check result comes with SSH provisioning.

func (*NodeFacts) Descriptor deprecated

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

Deprecated: Use NodeFacts.ProtoReflect.Descriptor instead.

func (*NodeFacts) GetArch

func (x *NodeFacts) GetArch() string

func (*NodeFacts) GetBootUnix

func (x *NodeFacts) GetBootUnix() int64

func (*NodeFacts) GetCpuCount

func (x *NodeFacts) GetCpuCount() uint32

func (*NodeFacts) GetDiskTotalBytes

func (x *NodeFacts) GetDiskTotalBytes() uint64

func (*NodeFacts) GetEngines

func (x *NodeFacts) GetEngines() []string

func (*NodeFacts) GetHasIpv6

func (x *NodeFacts) GetHasIpv6() bool

func (*NodeFacts) GetHostname

func (x *NodeFacts) GetHostname() string

func (*NodeFacts) GetKernel

func (x *NodeFacts) GetKernel() string

func (*NodeFacts) GetOs

func (x *NodeFacts) GetOs() string

func (*NodeFacts) GetRamTotalBytes

func (x *NodeFacts) GetRamTotalBytes() uint64

func (*NodeFacts) GetVirt

func (x *NodeFacts) GetVirt() string

func (*NodeFacts) ProtoMessage

func (*NodeFacts) ProtoMessage()

func (*NodeFacts) ProtoReflect

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

func (*NodeFacts) Reset

func (x *NodeFacts) Reset()

func (*NodeFacts) String

func (x *NodeFacts) String() string

type NodeIds added in v0.1.68

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

func (*NodeIds) Descriptor deprecated added in v0.1.68

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

Deprecated: Use NodeIds.ProtoReflect.Descriptor instead.

func (*NodeIds) GetValues added in v0.1.68

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

func (*NodeIds) ProtoMessage added in v0.1.68

func (*NodeIds) ProtoMessage()

func (*NodeIds) ProtoReflect added in v0.1.68

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

func (*NodeIds) Reset added in v0.1.68

func (x *NodeIds) Reset()

func (*NodeIds) String added in v0.1.68

func (x *NodeIds) String() string

type NodeIpv6 added in v0.1.66

type NodeIpv6 struct {

	// The address the "· IPv6" servers connect to. Empty = the entry is off.
	Entry string `protobuf:"bytes,1,opt,name=entry,proto3" json:"entry,omitempty"`
	// Whether the node can take the entry now: its host has IPv6 that works and the main address is not an IPv6 one already.
	EntrySupported bool `protobuf:"varint,2,opt,name=entry_supported,json=entrySupported,proto3" json:"entry_supported,omitempty"`
	// Why not, when entry_supported is false: no_ipv6 (the host has no global IPv6 address), ipv6_broken (it has one but
	// outbound IPv6 does not work, so nothing will come in either), agent_old (IPv6 works but the agent names no address),
	// not_checked (the doctor has not reported yet) or main_is_ipv6 (the node's address is IPv6 already). Empty when supported.
	UnavailableReason string `protobuf:"bytes,3,opt,name=unavailable_reason,json=unavailableReason,proto3" json:"unavailable_reason,omitempty"`
	// The stable global addresses of the node's uplink, as its doctor reports them; the entry is chosen among these.
	Addresses []*Ipv6Address `protobuf:"bytes,4,rep,name=addresses,proto3" json:"addresses,omitempty"`
	// The address the node uses for its own outbound IPv6: the default choice. Empty when the agent does not say.
	Src string `protobuf:"bytes,5,opt,name=src,proto3" json:"src,omitempty"`
	// The latest outside check of the entry's address (while the entry is on), else the latest of any address: when, by whom
	// (sender), and the verdict of every port. Unset when the node was never checked.
	LastCheck *CheckIpv6Response `protobuf:"bytes,6,opt,name=last_check,json=lastCheck,proto3" json:"last_check,omitempty"` // Fields 7 to 15 are for changing the address of the entry (prefix, rotation state, the old address and until when).
	// contains filtered or unexported fields
}

The IPv6 entry: an extra way in for people whose network blocks this node's IPv4 address. It adds one server, "<node> · IPv6", next to each of the node's servers in every subscription that has the node; it connects to an IPv6 address of the node with the same names, keys and certificates as the main one, and apps without IPv6 skip it. It is not the same as "IPv6 for clients" (Node.client_ipv6), which decides whether people's traffic may leave the node over IPv6. Static AmneziaWG keys (.conf, vpn://) are not part of it; the Mihomo proxies of AmneziaWG are.

func (*NodeIpv6) Descriptor deprecated added in v0.1.66

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

Deprecated: Use NodeIpv6.ProtoReflect.Descriptor instead.

func (*NodeIpv6) GetAddresses added in v0.1.66

func (x *NodeIpv6) GetAddresses() []*Ipv6Address

func (*NodeIpv6) GetEntry added in v0.1.66

func (x *NodeIpv6) GetEntry() string

func (*NodeIpv6) GetEntrySupported added in v0.1.66

func (x *NodeIpv6) GetEntrySupported() bool

func (*NodeIpv6) GetLastCheck added in v0.1.66

func (x *NodeIpv6) GetLastCheck() *CheckIpv6Response

func (*NodeIpv6) GetSrc added in v0.1.66

func (x *NodeIpv6) GetSrc() string

func (*NodeIpv6) GetUnavailableReason added in v0.1.66

func (x *NodeIpv6) GetUnavailableReason() string

func (*NodeIpv6) ProtoMessage added in v0.1.66

func (*NodeIpv6) ProtoMessage()

func (*NodeIpv6) ProtoReflect added in v0.1.66

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

func (*NodeIpv6) Reset added in v0.1.66

func (x *NodeIpv6) Reset()

func (*NodeIpv6) String added in v0.1.66

func (x *NodeIpv6) String() string

type NodeJournalEntry added in v0.1.55

type NodeJournalEntry struct {
	NodeId        string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	NodeName      string `protobuf:"bytes,2,opt,name=node_name,json=nodeName,proto3" json:"node_name,omitempty"`
	HourStartUnix int64  `protobuf:"varint,3,opt,name=hour_start_unix,json=hourStartUnix,proto3" json:"hour_start_unix,omitempty"`
	// WARNING or ERROR.
	Level  EventSeverity `protobuf:"varint,4,opt,name=level,proto3,enum=mistgate.admin.v1.EventSeverity" json:"level,omitempty"`
	Source string        `protobuf:"bytes,5,opt,name=source,proto3" json:"source,omitempty"`
	// The template of the record, addresses replaced by "<ip>" or "<ip>:port".
	Message string `protobuf:"bytes,6,opt,name=message,proto3" json:"message,omitempty"`
	// "" when the record names no inbound.
	InboundId string `protobuf:"bytes,7,opt,name=inbound_id,json=inboundId,proto3" json:"inbound_id,omitempty"`
	// The inbound's profile name; "" when there is no inbound or it was removed.
	ProfileName string `protobuf:"bytes,8,opt,name=profile_name,json=profileName,proto3" json:"profile_name,omitempty"`
	// The allow-listed attributes of the first record of the hour (agent.proto JournalEntry), cleaned like message.
	Attrs     map[string]string `` /* 137-byte string literal not displayed */
	Count     uint32            `protobuf:"varint,10,opt,name=count,proto3" json:"count,omitempty"`
	FirstUnix int64             `protobuf:"varint,11,opt,name=first_unix,json=firstUnix,proto3" json:"first_unix,omitempty"`
	LastUnix  int64             `protobuf:"varint,12,opt,name=last_unix,json=lastUnix,proto3" json:"last_unix,omitempty"`
	// contains filtered or unexported fields
}

One kind of record of one node in one hour.

func (*NodeJournalEntry) Descriptor deprecated added in v0.1.55

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

Deprecated: Use NodeJournalEntry.ProtoReflect.Descriptor instead.

func (*NodeJournalEntry) GetAttrs added in v0.1.55

func (x *NodeJournalEntry) GetAttrs() map[string]string

func (*NodeJournalEntry) GetCount added in v0.1.55

func (x *NodeJournalEntry) GetCount() uint32

func (*NodeJournalEntry) GetFirstUnix added in v0.1.55

func (x *NodeJournalEntry) GetFirstUnix() int64

func (*NodeJournalEntry) GetHourStartUnix added in v0.1.55

func (x *NodeJournalEntry) GetHourStartUnix() int64

func (*NodeJournalEntry) GetInboundId added in v0.1.55

func (x *NodeJournalEntry) GetInboundId() string

func (*NodeJournalEntry) GetLastUnix added in v0.1.55

func (x *NodeJournalEntry) GetLastUnix() int64

func (*NodeJournalEntry) GetLevel added in v0.1.55

func (x *NodeJournalEntry) GetLevel() EventSeverity

func (*NodeJournalEntry) GetMessage added in v0.1.55

func (x *NodeJournalEntry) GetMessage() string

func (*NodeJournalEntry) GetNodeId added in v0.1.55

func (x *NodeJournalEntry) GetNodeId() string

func (*NodeJournalEntry) GetNodeName added in v0.1.55

func (x *NodeJournalEntry) GetNodeName() string

func (*NodeJournalEntry) GetProfileName added in v0.1.55

func (x *NodeJournalEntry) GetProfileName() string

func (*NodeJournalEntry) GetSource added in v0.1.55

func (x *NodeJournalEntry) GetSource() string

func (*NodeJournalEntry) ProtoMessage added in v0.1.55

func (*NodeJournalEntry) ProtoMessage()

func (*NodeJournalEntry) ProtoReflect added in v0.1.55

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

func (*NodeJournalEntry) Reset added in v0.1.55

func (x *NodeJournalEntry) Reset()

func (*NodeJournalEntry) String added in v0.1.55

func (x *NodeJournalEntry) String() string

type NodeMetrics

type NodeMetrics struct {
	CpuPct         float32 `protobuf:"fixed32,1,opt,name=cpu_pct,json=cpuPct,proto3" json:"cpu_pct,omitempty"`
	SoftirqPct     float32 `protobuf:"fixed32,2,opt,name=softirq_pct,json=softirqPct,proto3" json:"softirq_pct,omitempty"`
	Load1          float32 `protobuf:"fixed32,3,opt,name=load1,proto3" json:"load1,omitempty"`
	RamUsedBytes   uint64  `protobuf:"varint,4,opt,name=ram_used_bytes,json=ramUsedBytes,proto3" json:"ram_used_bytes,omitempty"`
	RamTotalBytes  uint64  `protobuf:"varint,5,opt,name=ram_total_bytes,json=ramTotalBytes,proto3" json:"ram_total_bytes,omitempty"`
	DiskUsedBytes  uint64  `protobuf:"varint,6,opt,name=disk_used_bytes,json=diskUsedBytes,proto3" json:"disk_used_bytes,omitempty"`
	DiskTotalBytes uint64  `protobuf:"varint,7,opt,name=disk_total_bytes,json=diskTotalBytes,proto3" json:"disk_total_bytes,omitempty"`
	// Bits per second, main NIC.
	NetRxBps uint64 `protobuf:"varint,8,opt,name=net_rx_bps,json=netRxBps,proto3" json:"net_rx_bps,omitempty"`
	NetTxBps uint64 `protobuf:"varint,9,opt,name=net_tx_bps,json=netTxBps,proto3" json:"net_tx_bps,omitempty"`
	AtUnix   int64  `protobuf:"varint,10,opt,name=at_unix,json=atUnix,proto3" json:"at_unix,omitempty"`
	// contains filtered or unexported fields
}

Gauges for the Overview tab of the node (CPU incl. softirq, RAM, disk, network).

func (*NodeMetrics) Descriptor deprecated

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

Deprecated: Use NodeMetrics.ProtoReflect.Descriptor instead.

func (*NodeMetrics) GetAtUnix

func (x *NodeMetrics) GetAtUnix() int64

func (*NodeMetrics) GetCpuPct

func (x *NodeMetrics) GetCpuPct() float32

func (*NodeMetrics) GetDiskTotalBytes

func (x *NodeMetrics) GetDiskTotalBytes() uint64

func (*NodeMetrics) GetDiskUsedBytes

func (x *NodeMetrics) GetDiskUsedBytes() uint64

func (*NodeMetrics) GetLoad1

func (x *NodeMetrics) GetLoad1() float32

func (*NodeMetrics) GetNetRxBps

func (x *NodeMetrics) GetNetRxBps() uint64

func (*NodeMetrics) GetNetTxBps

func (x *NodeMetrics) GetNetTxBps() uint64

func (*NodeMetrics) GetRamTotalBytes

func (x *NodeMetrics) GetRamTotalBytes() uint64

func (*NodeMetrics) GetRamUsedBytes

func (x *NodeMetrics) GetRamUsedBytes() uint64

func (*NodeMetrics) GetSoftirqPct

func (x *NodeMetrics) GetSoftirqPct() float32

func (*NodeMetrics) ProtoMessage

func (*NodeMetrics) ProtoMessage()

func (*NodeMetrics) ProtoReflect

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

func (*NodeMetrics) Reset

func (x *NodeMetrics) Reset()

func (*NodeMetrics) String

func (x *NodeMetrics) String() string

type NodePreflight

type NodePreflight struct {
	Distribution       string `protobuf:"bytes,1,opt,name=distribution,proto3" json:"distribution,omitempty"`
	Version            string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
	Kernel             string `protobuf:"bytes,3,opt,name=kernel,proto3" json:"kernel,omitempty"`
	Architecture       string `protobuf:"bytes,4,opt,name=architecture,proto3" json:"architecture,omitempty"`
	CpuCount           uint32 `protobuf:"varint,5,opt,name=cpu_count,json=cpuCount,proto3" json:"cpu_count,omitempty"`
	MemoryBytes        uint64 `protobuf:"varint,6,opt,name=memory_bytes,json=memoryBytes,proto3" json:"memory_bytes,omitempty"`
	DiskAvailableBytes uint64 `protobuf:"varint,7,opt,name=disk_available_bytes,json=diskAvailableBytes,proto3" json:"disk_available_bytes,omitempty"`
	Systemd            bool   `protobuf:"varint,8,opt,name=systemd,proto3" json:"systemd,omitempty"`
	AlreadyEnrolled    bool   `protobuf:"varint,9,opt,name=already_enrolled,json=alreadyEnrolled,proto3" json:"already_enrolled,omitempty"`
	PanelReachable     bool   `protobuf:"varint,10,opt,name=panel_reachable,json=panelReachable,proto3" json:"panel_reachable,omitempty"`
	// contains filtered or unexported fields
}

func (*NodePreflight) Descriptor deprecated

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

Deprecated: Use NodePreflight.ProtoReflect.Descriptor instead.

func (*NodePreflight) GetAlreadyEnrolled

func (x *NodePreflight) GetAlreadyEnrolled() bool

func (*NodePreflight) GetArchitecture

func (x *NodePreflight) GetArchitecture() string

func (*NodePreflight) GetCpuCount

func (x *NodePreflight) GetCpuCount() uint32

func (*NodePreflight) GetDiskAvailableBytes

func (x *NodePreflight) GetDiskAvailableBytes() uint64

func (*NodePreflight) GetDistribution

func (x *NodePreflight) GetDistribution() string

func (*NodePreflight) GetKernel

func (x *NodePreflight) GetKernel() string

func (*NodePreflight) GetMemoryBytes

func (x *NodePreflight) GetMemoryBytes() uint64

func (*NodePreflight) GetPanelReachable

func (x *NodePreflight) GetPanelReachable() bool

func (*NodePreflight) GetSystemd

func (x *NodePreflight) GetSystemd() bool

func (*NodePreflight) GetVersion

func (x *NodePreflight) GetVersion() string

func (*NodePreflight) ProtoMessage

func (*NodePreflight) ProtoMessage()

func (*NodePreflight) ProtoReflect

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

func (*NodePreflight) Reset

func (x *NodePreflight) Reset()

func (*NodePreflight) String

func (x *NodePreflight) String() string

type NodeProvisionEvent

type NodeProvisionEvent struct {
	Id          uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Phase       string `protobuf:"bytes,2,opt,name=phase,proto3" json:"phase,omitempty"`
	Code        string `protobuf:"bytes,3,opt,name=code,proto3" json:"code,omitempty"`
	CreatedUnix int64  `protobuf:"varint,4,opt,name=created_unix,json=createdUnix,proto3" json:"created_unix,omitempty"`
	// contains filtered or unexported fields
}

func (*NodeProvisionEvent) Descriptor deprecated

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

Deprecated: Use NodeProvisionEvent.ProtoReflect.Descriptor instead.

func (*NodeProvisionEvent) GetCode

func (x *NodeProvisionEvent) GetCode() string

func (*NodeProvisionEvent) GetCreatedUnix

func (x *NodeProvisionEvent) GetCreatedUnix() int64

func (*NodeProvisionEvent) GetId

func (x *NodeProvisionEvent) GetId() uint64

func (*NodeProvisionEvent) GetPhase

func (x *NodeProvisionEvent) GetPhase() string

func (*NodeProvisionEvent) ProtoMessage

func (*NodeProvisionEvent) ProtoMessage()

func (*NodeProvisionEvent) ProtoReflect

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

func (*NodeProvisionEvent) Reset

func (x *NodeProvisionEvent) Reset()

func (*NodeProvisionEvent) String

func (x *NodeProvisionEvent) String() string

type NodeProvisionJob

type NodeProvisionJob struct {
	Id          string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	NodeId      string `protobuf:"bytes,2,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	Name        string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	SshHost     string `protobuf:"bytes,4,opt,name=ssh_host,json=sshHost,proto3" json:"ssh_host,omitempty"`
	SshPort     uint32 `protobuf:"varint,5,opt,name=ssh_port,json=sshPort,proto3" json:"ssh_port,omitempty"`
	State       string `protobuf:"bytes,6,opt,name=state,proto3" json:"state,omitempty"`
	Phase       string `protobuf:"bytes,7,opt,name=phase,proto3" json:"phase,omitempty"`
	ErrorCode   string `protobuf:"bytes,8,opt,name=error_code,json=errorCode,proto3" json:"error_code,omitempty"`
	CreatedUnix int64  `protobuf:"varint,9,opt,name=created_unix,json=createdUnix,proto3" json:"created_unix,omitempty"`
	UpdatedUnix int64  `protobuf:"varint,10,opt,name=updated_unix,json=updatedUnix,proto3" json:"updated_unix,omitempty"`
	// contains filtered or unexported fields
}

func (*NodeProvisionJob) Descriptor deprecated

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

Deprecated: Use NodeProvisionJob.ProtoReflect.Descriptor instead.

func (*NodeProvisionJob) GetCreatedUnix

func (x *NodeProvisionJob) GetCreatedUnix() int64

func (*NodeProvisionJob) GetErrorCode

func (x *NodeProvisionJob) GetErrorCode() string

func (*NodeProvisionJob) GetId

func (x *NodeProvisionJob) GetId() string

func (*NodeProvisionJob) GetName

func (x *NodeProvisionJob) GetName() string

func (*NodeProvisionJob) GetNodeId

func (x *NodeProvisionJob) GetNodeId() string

func (*NodeProvisionJob) GetPhase

func (x *NodeProvisionJob) GetPhase() string

func (*NodeProvisionJob) GetSshHost

func (x *NodeProvisionJob) GetSshHost() string

func (*NodeProvisionJob) GetSshPort

func (x *NodeProvisionJob) GetSshPort() uint32

func (*NodeProvisionJob) GetState

func (x *NodeProvisionJob) GetState() string

func (*NodeProvisionJob) GetUpdatedUnix

func (x *NodeProvisionJob) GetUpdatedUnix() int64

func (*NodeProvisionJob) ProtoMessage

func (*NodeProvisionJob) ProtoMessage()

func (*NodeProvisionJob) ProtoReflect

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

func (*NodeProvisionJob) Reset

func (x *NodeProvisionJob) Reset()

func (*NodeProvisionJob) String

func (x *NodeProvisionJob) String() string

type NodeReachabilityHistory added in v0.1.43

type NodeReachabilityHistory struct {
	NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	// In the order of GetReachabilityHistoryResponse.sources; a source with nothing on the node has no lane.
	Lanes []*ReachabilityLane `protobuf:"bytes,2,rep,name=lanes,proto3" json:"lanes,omitempty"`
	// contains filtered or unexported fields
}

func (*NodeReachabilityHistory) Descriptor deprecated added in v0.1.43

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

Deprecated: Use NodeReachabilityHistory.ProtoReflect.Descriptor instead.

func (*NodeReachabilityHistory) GetLanes added in v0.1.43

func (x *NodeReachabilityHistory) GetLanes() []*ReachabilityLane

func (*NodeReachabilityHistory) GetNodeId added in v0.1.43

func (x *NodeReachabilityHistory) GetNodeId() string

func (*NodeReachabilityHistory) ProtoMessage added in v0.1.43

func (*NodeReachabilityHistory) ProtoMessage()

func (*NodeReachabilityHistory) ProtoReflect added in v0.1.43

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

func (*NodeReachabilityHistory) Reset added in v0.1.43

func (x *NodeReachabilityHistory) Reset()

func (*NodeReachabilityHistory) String added in v0.1.43

func (x *NodeReachabilityHistory) String() string

type NodeSelection

type NodeSelection struct {

	// true: every node, including future ones ("new nodes are added automatically"). node_ids is ignored.
	All     bool     `protobuf:"varint,1,opt,name=all,proto3" json:"all,omitempty"`
	NodeIds []string `protobuf:"bytes,2,rep,name=node_ids,json=nodeIds,proto3" json:"node_ids,omitempty"`
	// contains filtered or unexported fields
}

func (*NodeSelection) Descriptor deprecated

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

Deprecated: Use NodeSelection.ProtoReflect.Descriptor instead.

func (*NodeSelection) GetAll

func (x *NodeSelection) GetAll() bool

func (*NodeSelection) GetNodeIds

func (x *NodeSelection) GetNodeIds() []string

func (*NodeSelection) ProtoMessage

func (*NodeSelection) ProtoMessage()

func (*NodeSelection) ProtoReflect

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

func (*NodeSelection) Reset

func (x *NodeSelection) Reset()

func (*NodeSelection) String

func (x *NodeSelection) String() string

type NodeServerAccess

type NodeServerAccess struct {
	NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	// The node's current name.
	NodeName        string `protobuf:"bytes,2,opt,name=node_name,json=nodeName,proto3" json:"node_name,omitempty"`
	Host            string `protobuf:"bytes,3,opt,name=host,proto3" json:"host,omitempty"`
	Port            uint32 `protobuf:"varint,4,opt,name=port,proto3" json:"port,omitempty"`
	Username        string `protobuf:"bytes,5,opt,name=username,proto3" json:"username,omitempty"`
	Fingerprint     string `protobuf:"bytes,6,opt,name=fingerprint,proto3" json:"fingerprint,omitempty"`
	ConfiguredUnix  int64  `protobuf:"varint,7,opt,name=configured_unix,json=configuredUnix,proto3" json:"configured_unix,omitempty"`
	RotationPending bool   `protobuf:"varint,8,opt,name=rotation_pending,json=rotationPending,proto3" json:"rotation_pending,omitempty"`
	// The panel generated the saved password (a rotation through MCP): only the panel knows it.
	PasswordGenerated bool `protobuf:"varint,9,opt,name=password_generated,json=passwordGenerated,proto3" json:"password_generated,omitempty"`
	// The node is retired. Its access stays, so the owner can still reveal the password, until it is forgotten.
	NodeRetired bool `protobuf:"varint,10,opt,name=node_retired,json=nodeRetired,proto3" json:"node_retired,omitempty"`
	// False when this node has no saved SSH password (for example, a panel-key install).
	PasswordSaved bool `protobuf:"varint,11,opt,name=password_saved,json=passwordSaved,proto3" json:"password_saved,omitempty"`
	// Whether the saved password last authenticated over SSH; false also for key-only installs not yet checked.
	PasswordLogin bool `protobuf:"varint,12,opt,name=password_login,json=passwordLogin,proto3" json:"password_login,omitempty"`
	// SHA256 fingerprint of the panel key, empty when this node uses another login method.
	PanelKeyFingerprint string `protobuf:"bytes,13,opt,name=panel_key_fingerprint,json=panelKeyFingerprint,proto3" json:"panel_key_fingerprint,omitempty"`
	// contains filtered or unexported fields
}

Public SSH access metadata. Passwords and their ciphertext never leave the panel.

func (*NodeServerAccess) Descriptor deprecated

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

Deprecated: Use NodeServerAccess.ProtoReflect.Descriptor instead.

func (*NodeServerAccess) GetConfiguredUnix

func (x *NodeServerAccess) GetConfiguredUnix() int64

func (*NodeServerAccess) GetFingerprint

func (x *NodeServerAccess) GetFingerprint() string

func (*NodeServerAccess) GetHost

func (x *NodeServerAccess) GetHost() string

func (*NodeServerAccess) GetNodeId

func (x *NodeServerAccess) GetNodeId() string

func (*NodeServerAccess) GetNodeName

func (x *NodeServerAccess) GetNodeName() string

func (*NodeServerAccess) GetNodeRetired added in v0.1.15

func (x *NodeServerAccess) GetNodeRetired() bool

func (*NodeServerAccess) GetPanelKeyFingerprint added in v0.1.74

func (x *NodeServerAccess) GetPanelKeyFingerprint() string

func (*NodeServerAccess) GetPasswordGenerated added in v0.1.15

func (x *NodeServerAccess) GetPasswordGenerated() bool

func (*NodeServerAccess) GetPasswordLogin added in v0.1.74

func (x *NodeServerAccess) GetPasswordLogin() bool

func (*NodeServerAccess) GetPasswordSaved added in v0.1.74

func (x *NodeServerAccess) GetPasswordSaved() bool

func (*NodeServerAccess) GetPort

func (x *NodeServerAccess) GetPort() uint32

func (*NodeServerAccess) GetRotationPending

func (x *NodeServerAccess) GetRotationPending() bool

func (*NodeServerAccess) GetUsername

func (x *NodeServerAccess) GetUsername() string

func (*NodeServerAccess) ProtoMessage

func (*NodeServerAccess) ProtoMessage()

func (*NodeServerAccess) ProtoReflect

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

func (*NodeServerAccess) Reset

func (x *NodeServerAccess) Reset()

func (*NodeServerAccess) String

func (x *NodeServerAccess) String() string

type NodeServerKey added in v0.1.74

type NodeServerKey struct {
	Type        string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	Bits        uint32 `protobuf:"varint,2,opt,name=bits,proto3" json:"bits,omitempty"`
	Fingerprint string `protobuf:"bytes,3,opt,name=fingerprint,proto3" json:"fingerprint,omitempty"`
	Comment     string `protobuf:"bytes,4,opt,name=comment,proto3" json:"comment,omitempty"`
	PanelKey    bool   `protobuf:"varint,5,opt,name=panel_key,json=panelKey,proto3" json:"panel_key,omitempty"`
	Restricted  bool   `protobuf:"varint,6,opt,name=restricted,proto3" json:"restricted,omitempty"`
	Lines       uint32 `protobuf:"varint,7,opt,name=lines,proto3" json:"lines,omitempty"`
	// contains filtered or unexported fields
}

A public authorized_keys entry. Comments are untrusted server text and are cleaned before they are returned.

func (*NodeServerKey) Descriptor deprecated added in v0.1.74

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

Deprecated: Use NodeServerKey.ProtoReflect.Descriptor instead.

func (*NodeServerKey) GetBits added in v0.1.74

func (x *NodeServerKey) GetBits() uint32

func (*NodeServerKey) GetComment added in v0.1.74

func (x *NodeServerKey) GetComment() string

func (*NodeServerKey) GetFingerprint added in v0.1.74

func (x *NodeServerKey) GetFingerprint() string

func (*NodeServerKey) GetLines added in v0.1.74

func (x *NodeServerKey) GetLines() uint32

func (*NodeServerKey) GetPanelKey added in v0.1.74

func (x *NodeServerKey) GetPanelKey() bool

func (*NodeServerKey) GetRestricted added in v0.1.74

func (x *NodeServerKey) GetRestricted() bool

func (*NodeServerKey) GetType added in v0.1.74

func (x *NodeServerKey) GetType() string

func (*NodeServerKey) ProtoMessage added in v0.1.74

func (*NodeServerKey) ProtoMessage()

func (*NodeServerKey) ProtoReflect added in v0.1.74

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

func (*NodeServerKey) Reset added in v0.1.74

func (x *NodeServerKey) Reset()

func (*NodeServerKey) String added in v0.1.74

func (x *NodeServerKey) String() string

type NodeStatus

type NodeStatus int32

Status of a node as the admin UI shows it. NO_TRAFFIC needs the synthetic checks and UPDATING needs an agent rollout; the other states need neither.

const (
	NodeStatus_NODE_STATUS_UNSPECIFIED NodeStatus = 0
	// Enrollment created, the agent has not connected yet.
	NodeStatus_NODE_STATUS_PENDING NodeStatus = 1
	NodeStatus_NODE_STATUS_ONLINE  NodeStatus = 2
	// No agent stream and the host did not come back within the blip window (10 min).
	NodeStatus_NODE_STATUS_DOWN NodeStatus = 3
	// Stream lost < 10 min ago, or it returned with an unchanged boot time: host blip, not an alert.
	NodeStatus_NODE_STATUS_BLIP NodeStatus = 4
	// Agent connected but the synthetic check fails.
	NodeStatus_NODE_STATUS_NO_TRAFFIC NodeStatus = 5
	// Agent update in progress.
	NodeStatus_NODE_STATUS_UPDATING NodeStatus = 6
	NodeStatus_NODE_STATUS_RETIRED  NodeStatus = 7
)

func (NodeStatus) Descriptor

func (NodeStatus) Descriptor() protoreflect.EnumDescriptor

func (NodeStatus) Enum

func (x NodeStatus) Enum() *NodeStatus

func (NodeStatus) EnumDescriptor deprecated

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

Deprecated: Use NodeStatus.Descriptor instead.

func (NodeStatus) Number

func (x NodeStatus) Number() protoreflect.EnumNumber

func (NodeStatus) String

func (x NodeStatus) String() string

func (NodeStatus) Type

type NodeTimeouts

type NodeTimeouts struct {

	// Silence before the panel closes the agent stream. Default 90.
	LivenessTimeoutS uint32 `protobuf:"varint,1,opt,name=liveness_timeout_s,json=livenessTimeoutS,proto3" json:"liveness_timeout_s,omitempty"`
	// Wait for a command result before marking it "no answer". Default 120.
	ApplyTimeoutS uint32 `protobuf:"varint,2,opt,name=apply_timeout_s,json=applyTimeoutS,proto3" json:"apply_timeout_s,omitempty"`
	// Agent dial timeout. Default 15.
	DialTimeoutS uint32 `protobuf:"varint,3,opt,name=dial_timeout_s,json=dialTimeoutS,proto3" json:"dial_timeout_s,omitempty"`
	// contains filtered or unexported fields
}

Per-node tunables. Zero = default.

func (*NodeTimeouts) Descriptor deprecated

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

Deprecated: Use NodeTimeouts.ProtoReflect.Descriptor instead.

func (*NodeTimeouts) GetApplyTimeoutS

func (x *NodeTimeouts) GetApplyTimeoutS() uint32

func (*NodeTimeouts) GetDialTimeoutS

func (x *NodeTimeouts) GetDialTimeoutS() uint32

func (*NodeTimeouts) GetLivenessTimeoutS

func (x *NodeTimeouts) GetLivenessTimeoutS() uint32

func (*NodeTimeouts) ProtoMessage

func (*NodeTimeouts) ProtoMessage()

func (*NodeTimeouts) ProtoReflect

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

func (*NodeTimeouts) Reset

func (x *NodeTimeouts) Reset()

func (*NodeTimeouts) String

func (x *NodeTimeouts) String() string

type NodeTraffic

type NodeTraffic struct {
	NodeId   string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	NodeName string `protobuf:"bytes,2,opt,name=node_name,json=nodeName,proto3" json:"node_name,omitempty"`
	Protocol string `protobuf:"bytes,3,opt,name=protocol,proto3" json:"protocol,omitempty"`
	// In the current quota period.
	Bytes uint64 `protobuf:"varint,4,opt,name=bytes,proto3" json:"bytes,omitempty"`
	// contains filtered or unexported fields
}

func (*NodeTraffic) Descriptor deprecated

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

Deprecated: Use NodeTraffic.ProtoReflect.Descriptor instead.

func (*NodeTraffic) GetBytes

func (x *NodeTraffic) GetBytes() uint64

func (*NodeTraffic) GetNodeId

func (x *NodeTraffic) GetNodeId() string

func (*NodeTraffic) GetNodeName

func (x *NodeTraffic) GetNodeName() string

func (*NodeTraffic) GetProtocol

func (x *NodeTraffic) GetProtocol() string

func (*NodeTraffic) ProtoMessage

func (*NodeTraffic) ProtoMessage()

func (*NodeTraffic) ProtoReflect

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

func (*NodeTraffic) Reset

func (x *NodeTraffic) Reset()

func (*NodeTraffic) String

func (x *NodeTraffic) String() string

type NodeUpdate

type NodeUpdate struct {
	NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	Name   string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// Last Hello of the node (kept while it is offline).
	Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`
	Built   int64  `protobuf:"varint,4,opt,name=built,proto3" json:"built,omitempty"`
	// "update/1" was in the last Hello.
	SupportsUpdate bool `protobuf:"varint,5,opt,name=supports_update,json=supportsUpdate,proto3" json:"supports_update,omitempty"`
	// "update-guard/1" was in the last Hello: the unit restores the previous binary after a crash loop. False on a
	// node that supports updates: the UI warns that only the 5-minute self-rollback protects it.
	CrashGuard bool            `protobuf:"varint,6,opt,name=crash_guard,json=crashGuard,proto3" json:"crash_guard,omitempty"`
	State      NodeUpdateState `protobuf:"varint,7,opt,name=state,proto3,enum=mistgate.admin.v1.NodeUpdateState" json:"state,omitempty"`
	// Unset when the node never had an update.
	LastUpdate *LastUpdate `protobuf:"bytes,8,opt,name=last_update,json=lastUpdate,proto3" json:"last_update,omitempty"`
	// Live inbound count, for the canary choice and the gate; the UI shows it next to the name.
	Inbounds    uint32 `protobuf:"varint,9,opt,name=inbounds,proto3" json:"inbounds,omitempty"`
	OnlineUsers uint32 `protobuf:"varint,10,opt,name=online_users,json=onlineUsers,proto3" json:"online_users,omitempty"`
	// The node's public address and its CPU architecture from the last Hello facts ("amd64", "arm64"; empty when
	// unknown): the UI builds the manual update commands of an UNSUPPORTED node from them.
	Address string `protobuf:"bytes,11,opt,name=address,proto3" json:"address,omitempty"`
	Arch    string `protobuf:"bytes,12,opt,name=arch,proto3" json:"arch,omitempty"`
	// Non-zero when an update is scheduled for this node. The schedule is pinned to this exact signed bundle.
	ScheduledUnix    int64  `protobuf:"varint,13,opt,name=scheduled_unix,json=scheduledUnix,proto3" json:"scheduled_unix,omitempty"`
	ScheduledVersion string `protobuf:"bytes,14,opt,name=scheduled_version,json=scheduledVersion,proto3" json:"scheduled_version,omitempty"`
	ScheduledBuilt   int64  `protobuf:"varint,15,opt,name=scheduled_built,json=scheduledBuilt,proto3" json:"scheduled_built,omitempty"`
	// Fixed UTC offset used when the schedule was created (minutes east of UTC).
	ScheduledTimezoneOffsetMinutes int32 `` /* 157-byte string literal not displayed */
	// The schedule could not start within 2 hours of its time (the node was offline, another update was running, the
	// bundle changed): it is kept, marked missed, and never starts by itself. Schedule again or cancel it.
	ScheduledMissed bool `protobuf:"varint,17,opt,name=scheduled_missed,json=scheduledMissed,proto3" json:"scheduled_missed,omitempty"`
	// contains filtered or unexported fields
}

func (*NodeUpdate) Descriptor deprecated

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

Deprecated: Use NodeUpdate.ProtoReflect.Descriptor instead.

func (*NodeUpdate) GetAddress

func (x *NodeUpdate) GetAddress() string

func (*NodeUpdate) GetArch

func (x *NodeUpdate) GetArch() string

func (*NodeUpdate) GetBuilt

func (x *NodeUpdate) GetBuilt() int64

func (*NodeUpdate) GetCrashGuard

func (x *NodeUpdate) GetCrashGuard() bool

func (*NodeUpdate) GetInbounds

func (x *NodeUpdate) GetInbounds() uint32

func (*NodeUpdate) GetLastUpdate

func (x *NodeUpdate) GetLastUpdate() *LastUpdate

func (*NodeUpdate) GetName

func (x *NodeUpdate) GetName() string

func (*NodeUpdate) GetNodeId

func (x *NodeUpdate) GetNodeId() string

func (*NodeUpdate) GetOnlineUsers

func (x *NodeUpdate) GetOnlineUsers() uint32

func (*NodeUpdate) GetScheduledBuilt added in v0.1.8

func (x *NodeUpdate) GetScheduledBuilt() int64

func (*NodeUpdate) GetScheduledMissed added in v0.1.15

func (x *NodeUpdate) GetScheduledMissed() bool

func (*NodeUpdate) GetScheduledTimezoneOffsetMinutes added in v0.1.8

func (x *NodeUpdate) GetScheduledTimezoneOffsetMinutes() int32

func (*NodeUpdate) GetScheduledUnix added in v0.1.8

func (x *NodeUpdate) GetScheduledUnix() int64

func (*NodeUpdate) GetScheduledVersion added in v0.1.8

func (x *NodeUpdate) GetScheduledVersion() string

func (*NodeUpdate) GetState

func (x *NodeUpdate) GetState() NodeUpdateState

func (*NodeUpdate) GetSupportsUpdate

func (x *NodeUpdate) GetSupportsUpdate() bool

func (*NodeUpdate) GetVersion

func (x *NodeUpdate) GetVersion() string

func (*NodeUpdate) ProtoMessage

func (*NodeUpdate) ProtoMessage()

func (*NodeUpdate) ProtoReflect

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

func (*NodeUpdate) Reset

func (x *NodeUpdate) Reset()

func (*NodeUpdate) String

func (x *NodeUpdate) String() string

type NodeUpdateState

type NodeUpdateState int32
const (
	NodeUpdateState_NODE_UPDATE_STATE_UNSPECIFIED NodeUpdateState = 0
	// built >= the reference built: the trusted bundle's, and without a trusted bundle the panel's own
	// (PanelBuild.built), so the page is useful before a bundle exists.
	NodeUpdateState_NODE_UPDATE_STATE_UP_TO_DATE NodeUpdateState = 1
	// Can update and its built is lower than the reference built.
	NodeUpdateState_NODE_UPDATE_STATE_OUTDATED NodeUpdateState = 2
	// A rollout step of this node is in flight (command sent, reconnect or gate pending).
	NodeUpdateState_NODE_UPDATE_STATE_UPDATING NodeUpdateState = 3
	// Its last update ended in a rollback (by the agent or by the gate); it runs the previous build.
	NodeUpdateState_NODE_UPDATE_STATE_ROLLED_BACK NodeUpdateState = 4
	// Its last update failed on the agent without a rollback record (see LastUpdate FAILED).
	NodeUpdateState_NODE_UPDATE_STATE_FAILED NodeUpdateState = 5
	// No "update/1" capability: an old agent, or a build without a release key, or a read-only install. Update
	// by hand once (`mistgate-node install` with the new binary).
	NodeUpdateState_NODE_UPDATE_STATE_UNSUPPORTED NodeUpdateState = 6
	// No agent stream now. The last known build is shown.
	NodeUpdateState_NODE_UPDATE_STATE_OFFLINE NodeUpdateState = 7
)

func (NodeUpdateState) Descriptor

func (NodeUpdateState) Enum

func (x NodeUpdateState) Enum() *NodeUpdateState

func (NodeUpdateState) EnumDescriptor deprecated

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

Deprecated: Use NodeUpdateState.Descriptor instead.

func (NodeUpdateState) Number

func (NodeUpdateState) String

func (x NodeUpdateState) String() string

func (NodeUpdateState) Type

type ObfuscationScore

type ObfuscationScore struct {
	Value uint32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
	// The starting point of the tier.
	Base uint32 `protobuf:"varint,2,opt,name=base,proto3" json:"base,omitempty"`
	// What the headers and handshake show on the wire: "header_protection" | "ranges" | "cps" | "headers" |
	// "wireguard". The UI text is awg.score.tier.<tier>.
	Tier  string       `protobuf:"bytes,3,opt,name=tier,proto3" json:"tier,omitempty"`
	Items []*ScoreItem `protobuf:"bytes,4,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

How far an AWG profile is from the fingerprints a censor knows, 0-100, and why. value = clamp(base + the sum of the items' delta, 0, 100). It rates the configuration, not a censor.

func (*ObfuscationScore) Descriptor deprecated

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

Deprecated: Use ObfuscationScore.ProtoReflect.Descriptor instead.

func (*ObfuscationScore) GetBase

func (x *ObfuscationScore) GetBase() uint32

func (*ObfuscationScore) GetItems

func (x *ObfuscationScore) GetItems() []*ScoreItem

func (*ObfuscationScore) GetTier

func (x *ObfuscationScore) GetTier() string

func (*ObfuscationScore) GetValue

func (x *ObfuscationScore) GetValue() uint32

func (*ObfuscationScore) ProtoMessage

func (*ObfuscationScore) ProtoMessage()

func (*ObfuscationScore) ProtoReflect

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

func (*ObfuscationScore) Reset

func (x *ObfuscationScore) Reset()

func (*ObfuscationScore) String

func (x *ObfuscationScore) String() string

type OnlineUser

type OnlineUser struct {
	UserId          string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	UserName        string `protobuf:"bytes,2,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"`
	Protocol        string `protobuf:"bytes,3,opt,name=protocol,proto3" json:"protocol,omitempty"`
	DeviceModel     string `protobuf:"bytes,4,opt,name=device_model,json=deviceModel,proto3" json:"device_model,omitempty"`
	ConnectedAtUnix int64  `protobuf:"varint,5,opt,name=connected_at_unix,json=connectedAtUnix,proto3" json:"connected_at_unix,omitempty"`
	// Current download speed through this node, bits per second.
	DownBps uint64 `protobuf:"varint,6,opt,name=down_bps,json=downBps,proto3" json:"down_bps,omitempty"`
	// contains filtered or unexported fields
}

func (*OnlineUser) Descriptor deprecated

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

Deprecated: Use OnlineUser.ProtoReflect.Descriptor instead.

func (*OnlineUser) GetConnectedAtUnix

func (x *OnlineUser) GetConnectedAtUnix() int64

func (*OnlineUser) GetDeviceModel

func (x *OnlineUser) GetDeviceModel() string

func (*OnlineUser) GetDownBps

func (x *OnlineUser) GetDownBps() uint64

func (*OnlineUser) GetProtocol

func (x *OnlineUser) GetProtocol() string

func (*OnlineUser) GetUserId

func (x *OnlineUser) GetUserId() string

func (*OnlineUser) GetUserName

func (x *OnlineUser) GetUserName() string

func (*OnlineUser) ProtoMessage

func (*OnlineUser) ProtoMessage()

func (*OnlineUser) ProtoReflect

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

func (*OnlineUser) Reset

func (x *OnlineUser) Reset()

func (*OnlineUser) String

func (x *OnlineUser) String() string

type OverviewRange

type OverviewRange int32
const (
	// 24 hours.
	OverviewRange_OVERVIEW_RANGE_UNSPECIFIED OverviewRange = 0
	OverviewRange_OVERVIEW_RANGE_24H         OverviewRange = 1
	// 7 days. Still hourly points (168): the SPA folds them into local-time days, so the server needs no
	// time zone.
	OverviewRange_OVERVIEW_RANGE_7D OverviewRange = 2
)

func (OverviewRange) Descriptor

func (OverviewRange) Enum

func (x OverviewRange) Enum() *OverviewRange

func (OverviewRange) EnumDescriptor deprecated

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

Deprecated: Use OverviewRange.Descriptor instead.

func (OverviewRange) Number

func (OverviewRange) String

func (x OverviewRange) String() string

func (OverviewRange) Type

type OverviewRequest

type OverviewRequest struct {
	Range OverviewRange `protobuf:"varint,1,opt,name=range,proto3,enum=mistgate.admin.v1.OverviewRange" json:"range,omitempty"`
	// Events to return. 0 = 6. Only the ones worth the fleet feed: WARNING and above, node_down, node_blip,
	// node_recovered, node_enrolled, node_retired, engine_failed, update_* and user_*; the rest is on the node's tab.
	EventLimit uint32 `protobuf:"varint,2,opt,name=event_limit,json=eventLimit,proto3" json:"event_limit,omitempty"`
	// contains filtered or unexported fields
}

func (*OverviewRequest) Descriptor deprecated

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

Deprecated: Use OverviewRequest.ProtoReflect.Descriptor instead.

func (*OverviewRequest) GetEventLimit

func (x *OverviewRequest) GetEventLimit() uint32

func (*OverviewRequest) GetRange

func (x *OverviewRequest) GetRange() OverviewRange

func (*OverviewRequest) ProtoMessage

func (*OverviewRequest) ProtoMessage()

func (*OverviewRequest) ProtoReflect

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

func (*OverviewRequest) Reset

func (x *OverviewRequest) Reset()

func (*OverviewRequest) String

func (x *OverviewRequest) String() string

type OverviewResponse

type OverviewResponse struct {
	NowUnix int64 `protobuf:"varint,1,opt,name=now_unix,json=nowUnix,proto3" json:"now_unix,omitempty"`
	// Health strip. Healthy/problem nodes can be derived from `nodes`; these are the ready numbers.
	NodesTotal   uint32      `protobuf:"varint,2,opt,name=nodes_total,json=nodesTotal,proto3" json:"nodes_total,omitempty"`
	NodesProblem uint32      `protobuf:"varint,3,opt,name=nodes_problem,json=nodesProblem,proto3" json:"nodes_problem,omitempty"`
	UsersOnline  uint32      `protobuf:"varint,4,opt,name=users_online,json=usersOnline,proto3" json:"users_online,omitempty"`
	Nodes        []*NodeCard `protobuf:"bytes,5,rep,name=nodes,proto3" json:"nodes,omitempty"`
	// "Traffic - GB/h": hourly, oldest first, ending with the current (partial) hour.
	Traffic []*SeriesPoint `protobuf:"bytes,6,rep,name=traffic,proto3" json:"traffic,omitempty"`
	// "Online - people": hourly peaks, same span; the last point is the live value.
	Online []*SeriesPoint `protobuf:"bytes,7,rep,name=online,proto3" json:"online,omitempty"`
	Events []*Event       `protobuf:"bytes,8,rep,name=events,proto3" json:"events,omitempty"`
	// Top 5 by current download speed.
	TopConsumers []*TopConsumer `protobuf:"bytes,9,rep,name=top_consumers,json=topConsumers,proto3" json:"top_consumers,omitempty"`
	// Health badge (sidebar count, mobile dot): active alerts that are not muted and not INFO, and how many of
	// them are CRITICAL. The alerts about people (ACCESS_ENDED, USER_CONNECTION) are not counted: they are not
	// problems of the fleet and have their own list. Here so the 10 s Overview poll feeds the badge without a
	// second call.
	AlertsActive   uint32 `protobuf:"varint,10,opt,name=alerts_active,json=alertsActive,proto3" json:"alerts_active,omitempty"`
	AlertsCritical uint32 `protobuf:"varint,11,opt,name=alerts_critical,json=alertsCritical,proto3" json:"alerts_critical,omitempty"`
	// contains filtered or unexported fields
}

func (*OverviewResponse) Descriptor deprecated

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

Deprecated: Use OverviewResponse.ProtoReflect.Descriptor instead.

func (*OverviewResponse) GetAlertsActive

func (x *OverviewResponse) GetAlertsActive() uint32

func (*OverviewResponse) GetAlertsCritical

func (x *OverviewResponse) GetAlertsCritical() uint32

func (*OverviewResponse) GetEvents

func (x *OverviewResponse) GetEvents() []*Event

func (*OverviewResponse) GetNodes

func (x *OverviewResponse) GetNodes() []*NodeCard

func (*OverviewResponse) GetNodesProblem

func (x *OverviewResponse) GetNodesProblem() uint32

func (*OverviewResponse) GetNodesTotal

func (x *OverviewResponse) GetNodesTotal() uint32

func (*OverviewResponse) GetNowUnix

func (x *OverviewResponse) GetNowUnix() int64

func (*OverviewResponse) GetOnline

func (x *OverviewResponse) GetOnline() []*SeriesPoint

func (*OverviewResponse) GetTopConsumers

func (x *OverviewResponse) GetTopConsumers() []*TopConsumer

func (*OverviewResponse) GetTraffic

func (x *OverviewResponse) GetTraffic() []*SeriesPoint

func (*OverviewResponse) GetUsersOnline

func (x *OverviewResponse) GetUsersOnline() uint32

func (*OverviewResponse) ProtoMessage

func (*OverviewResponse) ProtoMessage()

func (*OverviewResponse) ProtoReflect

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

func (*OverviewResponse) Reset

func (x *OverviewResponse) Reset()

func (*OverviewResponse) String

func (x *OverviewResponse) String() string

type PanelBuild

type PanelBuild struct {
	Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	// buildinfo.Built: Unix time of the commit, 0 when the binary was built without it.
	Built int64 `protobuf:"varint,2,opt,name=built,proto3" json:"built,omitempty"`
	// False: this build has no release key compiled in, so it cannot judge a bundle and will not start a rollout.
	HasReleaseKey bool `protobuf:"varint,3,opt,name=has_release_key,json=hasReleaseKey,proto3" json:"has_release_key,omitempty"`
	// First 16 hex characters of SHA-256 of the compiled-in public key, to compare with what the owner printed at
	// `mistgate release keygen`. Empty without a key.
	ReleaseKeyFingerprint string `` /* 126-byte string literal not displayed */
	// Latest stable GitHub panel release and whether this installation can apply it.
	Update *PanelUpdate `protobuf:"bytes,5,opt,name=update,proto3" json:"update,omitempty"`
	// contains filtered or unexported fields
}

func (*PanelBuild) Descriptor deprecated

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

Deprecated: Use PanelBuild.ProtoReflect.Descriptor instead.

func (*PanelBuild) GetBuilt

func (x *PanelBuild) GetBuilt() int64

func (*PanelBuild) GetHasReleaseKey

func (x *PanelBuild) GetHasReleaseKey() bool

func (*PanelBuild) GetReleaseKeyFingerprint

func (x *PanelBuild) GetReleaseKeyFingerprint() string

func (*PanelBuild) GetUpdate

func (x *PanelBuild) GetUpdate() *PanelUpdate

func (*PanelBuild) GetVersion

func (x *PanelBuild) GetVersion() string

func (*PanelBuild) ProtoMessage

func (*PanelBuild) ProtoMessage()

func (*PanelBuild) ProtoReflect

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

func (*PanelBuild) Reset

func (x *PanelBuild) Reset()

func (*PanelBuild) String

func (x *PanelBuild) String() string

type PanelUpdate

type PanelUpdate struct {
	Version       string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	Url           string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
	PublishedUnix int64  `protobuf:"varint,3,opt,name=published_unix,json=publishedUnix,proto3" json:"published_unix,omitempty"`
	CheckedUnix   int64  `protobuf:"varint,4,opt,name=checked_unix,json=checkedUnix,proto3" json:"checked_unix,omitempty"`
	// A release is available only when its signed panel manifest verifies under this binary's compiled-in release key,
	// has not expired and is newer by build time than this panel.
	Available   bool `protobuf:"varint,5,opt,name=available,proto3" json:"available,omitempty"`
	Supported   bool `protobuf:"varint,6,opt,name=supported,proto3" json:"supported,omitempty"`
	Installable bool `protobuf:"varint,7,opt,name=installable,proto3" json:"installable,omitempty"`
	Installing  bool `protobuf:"varint,8,opt,name=installing,proto3" json:"installing,omitempty"`
	// Stable UI key: no_release, check_failed, asset_missing, unsigned (no panel manifest signed with this panel's
	// key: the release cannot be installed), expired, no_key (this build has no compiled-in release key),
	// schedule_failed, install_failed (the helper ended without replacing the panel), unsupported, or empty.
	ErrorKey string `protobuf:"bytes,9,opt,name=error_key,json=errorKey,proto3" json:"error_key,omitempty"`
	// From the release's signed panel manifest (0 / empty without one): its build time, which orders releases, and the
	// SHA-256 of this architecture's binary. InstallPanelUpdate names both back.
	Built  int64  `protobuf:"varint,10,opt,name=built,proto3" json:"built,omitempty"`
	Sha256 string `protobuf:"bytes,11,opt,name=sha256,proto3" json:"sha256,omitempty"`
	// contains filtered or unexported fields
}

func (*PanelUpdate) Descriptor deprecated

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

Deprecated: Use PanelUpdate.ProtoReflect.Descriptor instead.

func (*PanelUpdate) GetAvailable

func (x *PanelUpdate) GetAvailable() bool

func (*PanelUpdate) GetBuilt added in v0.1.15

func (x *PanelUpdate) GetBuilt() int64

func (*PanelUpdate) GetCheckedUnix

func (x *PanelUpdate) GetCheckedUnix() int64

func (*PanelUpdate) GetErrorKey

func (x *PanelUpdate) GetErrorKey() string

func (*PanelUpdate) GetInstallable

func (x *PanelUpdate) GetInstallable() bool

func (*PanelUpdate) GetInstalling

func (x *PanelUpdate) GetInstalling() bool

func (*PanelUpdate) GetPublishedUnix

func (x *PanelUpdate) GetPublishedUnix() int64

func (*PanelUpdate) GetSha256 added in v0.1.15

func (x *PanelUpdate) GetSha256() string

func (*PanelUpdate) GetSupported

func (x *PanelUpdate) GetSupported() bool

func (*PanelUpdate) GetUrl

func (x *PanelUpdate) GetUrl() string

func (*PanelUpdate) GetVersion

func (x *PanelUpdate) GetVersion() string

func (*PanelUpdate) ProtoMessage

func (*PanelUpdate) ProtoMessage()

func (*PanelUpdate) ProtoReflect

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

func (*PanelUpdate) Reset

func (x *PanelUpdate) Reset()

func (*PanelUpdate) String

func (x *PanelUpdate) String() string

type Passkey

type Passkey struct {
	Id            string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name          string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	CreatedAtUnix int64  `protobuf:"varint,3,opt,name=created_at_unix,json=createdAtUnix,proto3" json:"created_at_unix,omitempty"`
	// 0 = never used to sign in.
	LastUsedAtUnix int64 `protobuf:"varint,4,opt,name=last_used_at_unix,json=lastUsedAtUnix,proto3" json:"last_used_at_unix,omitempty"`
	// "internal", "usb", "hybrid" ...
	Transports []string `protobuf:"bytes,5,rep,name=transports,proto3" json:"transports,omitempty"`
	// Synced passkey (backup state flag).
	BackedUp bool `protobuf:"varint,6,opt,name=backed_up,json=backedUp,proto3" json:"backed_up,omitempty"`
	// contains filtered or unexported fields
}

func (*Passkey) Descriptor deprecated

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

Deprecated: Use Passkey.ProtoReflect.Descriptor instead.

func (*Passkey) GetBackedUp

func (x *Passkey) GetBackedUp() bool

func (*Passkey) GetCreatedAtUnix

func (x *Passkey) GetCreatedAtUnix() int64

func (*Passkey) GetId

func (x *Passkey) GetId() string

func (*Passkey) GetLastUsedAtUnix

func (x *Passkey) GetLastUsedAtUnix() int64

func (*Passkey) GetName

func (x *Passkey) GetName() string

func (*Passkey) GetTransports

func (x *Passkey) GetTransports() []string

func (*Passkey) ProtoMessage

func (*Passkey) ProtoMessage()

func (*Passkey) ProtoReflect

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

func (*Passkey) Reset

func (x *Passkey) Reset()

func (*Passkey) String

func (x *Passkey) String() string

type PasswordLoginRequest

type PasswordLoginRequest struct {
	Login    string `protobuf:"bytes,1,opt,name=login,proto3" json:"login,omitempty"`
	Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	// 6 digits; spaces are ignored. A code can be used once.
	TotpCode string `protobuf:"bytes,3,opt,name=totp_code,json=totpCode,proto3" json:"totp_code,omitempty"`
	// Turnstile token when GetLoginInfo.turnstile_enabled (see the service comment). Each attempt
	// needs a fresh one: there is no Begin step to carry it.
	TurnstileToken string `protobuf:"bytes,4,opt,name=turnstile_token,json=turnstileToken,proto3" json:"turnstile_token,omitempty"`
	// contains filtered or unexported fields
}

func (*PasswordLoginRequest) Descriptor deprecated

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

Deprecated: Use PasswordLoginRequest.ProtoReflect.Descriptor instead.

func (*PasswordLoginRequest) GetLogin

func (x *PasswordLoginRequest) GetLogin() string

func (*PasswordLoginRequest) GetPassword

func (x *PasswordLoginRequest) GetPassword() string

func (*PasswordLoginRequest) GetTotpCode

func (x *PasswordLoginRequest) GetTotpCode() string

func (*PasswordLoginRequest) GetTurnstileToken

func (x *PasswordLoginRequest) GetTurnstileToken() string

func (*PasswordLoginRequest) ProtoMessage

func (*PasswordLoginRequest) ProtoMessage()

func (*PasswordLoginRequest) ProtoReflect

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

func (*PasswordLoginRequest) Reset

func (x *PasswordLoginRequest) Reset()

func (*PasswordLoginRequest) String

func (x *PasswordLoginRequest) String() string

type PasswordLoginResponse

type PasswordLoginResponse struct {
	Admin *Admin `protobuf:"bytes,1,opt,name=admin,proto3" json:"admin,omitempty"`
	// contains filtered or unexported fields
}

func (*PasswordLoginResponse) Descriptor deprecated

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

Deprecated: Use PasswordLoginResponse.ProtoReflect.Descriptor instead.

func (*PasswordLoginResponse) GetAdmin

func (x *PasswordLoginResponse) GetAdmin() *Admin

func (*PasswordLoginResponse) ProtoMessage

func (*PasswordLoginResponse) ProtoMessage()

func (*PasswordLoginResponse) ProtoReflect

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

func (*PasswordLoginResponse) Reset

func (x *PasswordLoginResponse) Reset()

func (*PasswordLoginResponse) String

func (x *PasswordLoginResponse) String() string

type PauseRolloutRequest

type PauseRolloutRequest struct {
	RolloutId string `protobuf:"bytes,1,opt,name=rollout_id,json=rolloutId,proto3" json:"rollout_id,omitempty"`
	// contains filtered or unexported fields
}

func (*PauseRolloutRequest) Descriptor deprecated

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

Deprecated: Use PauseRolloutRequest.ProtoReflect.Descriptor instead.

func (*PauseRolloutRequest) GetRolloutId

func (x *PauseRolloutRequest) GetRolloutId() string

func (*PauseRolloutRequest) ProtoMessage

func (*PauseRolloutRequest) ProtoMessage()

func (*PauseRolloutRequest) ProtoReflect

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

func (*PauseRolloutRequest) Reset

func (x *PauseRolloutRequest) Reset()

func (*PauseRolloutRequest) String

func (x *PauseRolloutRequest) String() string

type PauseRolloutResponse

type PauseRolloutResponse struct {
	Rollout *Rollout `protobuf:"bytes,1,opt,name=rollout,proto3" json:"rollout,omitempty"`
	// contains filtered or unexported fields
}

func (*PauseRolloutResponse) Descriptor deprecated

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

Deprecated: Use PauseRolloutResponse.ProtoReflect.Descriptor instead.

func (*PauseRolloutResponse) GetRollout

func (x *PauseRolloutResponse) GetRollout() *Rollout

func (*PauseRolloutResponse) ProtoMessage

func (*PauseRolloutResponse) ProtoMessage()

func (*PauseRolloutResponse) ProtoReflect

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

func (*PauseRolloutResponse) Reset

func (x *PauseRolloutResponse) Reset()

func (*PauseRolloutResponse) String

func (x *PauseRolloutResponse) String() string

type Platform

type Platform int32
const (
	Platform_PLATFORM_UNSPECIFIED Platform = 0
	Platform_PLATFORM_IOS         Platform = 1
	Platform_PLATFORM_ANDROID     Platform = 2
	Platform_PLATFORM_WINDOWS     Platform = 3
	Platform_PLATFORM_MACOS       Platform = 4
	Platform_PLATFORM_LINUX       Platform = 5
)

func (Platform) Descriptor

func (Platform) Descriptor() protoreflect.EnumDescriptor

func (Platform) Enum

func (x Platform) Enum() *Platform

func (Platform) EnumDescriptor deprecated

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

Deprecated: Use Platform.Descriptor instead.

func (Platform) Number

func (x Platform) Number() protoreflect.EnumNumber

func (Platform) String

func (x Platform) String() string

func (Platform) Type

type PlatformApp

type PlatformApp struct {
	Platform Platform `protobuf:"varint,1,opt,name=platform,proto3,enum=mistgate.admin.v1.Platform" json:"platform,omitempty"`
	// APP_HAPP = apps that take the subscription link ("by subscription link" in the admin UI); APP_AMNEZIA = apps that take
	// per-device AWG keys ("AmneziaWG key"). The enum names are kept for compatibility.
	Kind        App    `protobuf:"varint,2,opt,name=kind,proto3,enum=mistgate.admin.v1.App" json:"kind,omitempty"`
	Name        string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	DownloadUrl string `protobuf:"bytes,4,opt,name=download_url,json=downloadUrl,proto3" json:"download_url,omitempty"`
	// One-tap "add" link. Placeholders: {url} (subscription URL as is), {url_enc} (URL-encoded),
	// {name_enc} (URL-encoded subscription title). Empty = the page offers "copy the link" instead.
	AddLinkTemplate string `protobuf:"bytes,5,opt,name=add_link_template,json=addLinkTemplate,proto3" json:"add_link_template,omitempty"`
	// One plain-text line on the app's card of the public page ("what you get"); at most 80 characters. Empty = none.
	Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"`
	// Marks the app with a "recommended" badge on the card. Several apps may share a platform and a kind.
	Recommended bool `protobuf:"varint,7,opt,name=recommended,proto3" json:"recommended,omitempty"`
	// contains filtered or unexported fields
}

One app the user page recommends: e.g. iOS + APP_HAPP -> "Happ" (App Store link, happ://add/{url}), Windows + APP_HAPP -> an instance's own desktop client, any platform + APP_AMNEZIA -> AmneziaVPN.

func (*PlatformApp) Descriptor deprecated

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

Deprecated: Use PlatformApp.ProtoReflect.Descriptor instead.

func (*PlatformApp) GetAddLinkTemplate

func (x *PlatformApp) GetAddLinkTemplate() string

func (*PlatformApp) GetDescription

func (x *PlatformApp) GetDescription() string

func (*PlatformApp) GetDownloadUrl

func (x *PlatformApp) GetDownloadUrl() string

func (*PlatformApp) GetKind

func (x *PlatformApp) GetKind() App

func (*PlatformApp) GetName

func (x *PlatformApp) GetName() string

func (*PlatformApp) GetPlatform

func (x *PlatformApp) GetPlatform() Platform

func (*PlatformApp) GetRecommended

func (x *PlatformApp) GetRecommended() bool

func (*PlatformApp) ProtoMessage

func (*PlatformApp) ProtoMessage()

func (*PlatformApp) ProtoReflect

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

func (*PlatformApp) Reset

func (x *PlatformApp) Reset()

func (*PlatformApp) String

func (x *PlatformApp) String() string

type PortCheck added in v0.1.28

type PortCheck struct {
	NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	Port   uint32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"`
	// ok (>= 95 % delivered) | lossy (70-95 %) | broken (< 70 %); "" = not checked, see reason.
	Verdict     string `protobuf:"bytes,3,opt,name=verdict,proto3" json:"verdict,omitempty"`
	Sent        uint32 `protobuf:"varint,4,opt,name=sent,proto3" json:"sent,omitempty"`
	Got         uint32 `protobuf:"varint,5,opt,name=got,proto3" json:"got,omitempty"`
	CheckedUnix int64  `protobuf:"varint,6,opt,name=checked_unix,json=checkedUnix,proto3" json:"checked_unix,omitempty"`
	// The last run in the last 30 days that lost 5 % or more; 0 = none. The port picker never offers such a port.
	BadUnix int64 `protobuf:"varint,7,opt,name=bad_unix,json=badUnix,proto3" json:"bad_unix,omitempty"`
	// "panel" or the name of the node that sent.
	Sender string `protobuf:"bytes,8,opt,name=sender,proto3" json:"sender,omitempty"`
	// verdict "": node_offline | agent_too_old | no_sender | busy | inconclusive | same_host | no_route | failed.
	Reason string `protobuf:"bytes,9,opt,name=reason,proto3" json:"reason,omitempty"`
	// The first sender's verdict before comparison with a confirmation sender.
	SenderVerdict string `protobuf:"bytes,10,opt,name=sender_verdict,json=senderVerdict,proto3" json:"sender_verdict,omitempty"`
	// "panel" or the name of the confirmation node; empty when there was no confirmation run.
	ConfirmSender string `protobuf:"bytes,11,opt,name=confirm_sender,json=confirmSender,proto3" json:"confirm_sender,omitempty"`
	// Packets sent by the confirmation sender for this port; 0 when there was no confirmation run.
	ConfirmSent uint32 `protobuf:"varint,12,opt,name=confirm_sent,json=confirmSent,proto3" json:"confirm_sent,omitempty"`
	// Packets counted by the target from the confirmation sender; 0 when there was no confirmation run.
	ConfirmGot uint32 `protobuf:"varint,13,opt,name=confirm_got,json=confirmGot,proto3" json:"confirm_got,omitempty"`
	// The confirmation sender's verdict after the relative-loss rule; empty when there was no confirmation run.
	ConfirmVerdict string `protobuf:"bytes,14,opt,name=confirm_verdict,json=confirmVerdict,proto3" json:"confirm_verdict,omitempty"`
	// "node" when both runs found loss, "path" when only one did, or empty when unconfirmed or both were clean.
	Blame string `protobuf:"bytes,15,opt,name=blame,proto3" json:"blame,omitempty"`
	// Unix time of the latest successful panel protocol probe through an enabled inbound on this port; 0 if its latest result failed or none is stored.
	ProtocolOkUnix int64 `protobuf:"varint,16,opt,name=protocol_ok_unix,json=protocolOkUnix,proto3" json:"protocol_ok_unix,omitempty"`
	// contains filtered or unexported fields
}

One port of a node in the UDP delivery check (design/udp-port-check.md).

func (*PortCheck) Descriptor deprecated added in v0.1.28

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

Deprecated: Use PortCheck.ProtoReflect.Descriptor instead.

func (*PortCheck) GetBadUnix added in v0.1.28

func (x *PortCheck) GetBadUnix() int64

func (*PortCheck) GetBlame added in v0.1.73

func (x *PortCheck) GetBlame() string

func (*PortCheck) GetCheckedUnix added in v0.1.28

func (x *PortCheck) GetCheckedUnix() int64

func (*PortCheck) GetConfirmGot added in v0.1.73

func (x *PortCheck) GetConfirmGot() uint32

func (*PortCheck) GetConfirmSender added in v0.1.73

func (x *PortCheck) GetConfirmSender() string

func (*PortCheck) GetConfirmSent added in v0.1.73

func (x *PortCheck) GetConfirmSent() uint32

func (*PortCheck) GetConfirmVerdict added in v0.1.73

func (x *PortCheck) GetConfirmVerdict() string

func (*PortCheck) GetGot added in v0.1.28

func (x *PortCheck) GetGot() uint32

func (*PortCheck) GetNodeId added in v0.1.28

func (x *PortCheck) GetNodeId() string

func (*PortCheck) GetPort added in v0.1.28

func (x *PortCheck) GetPort() uint32

func (*PortCheck) GetProtocolOkUnix added in v0.1.77

func (x *PortCheck) GetProtocolOkUnix() int64

func (*PortCheck) GetReason added in v0.1.28

func (x *PortCheck) GetReason() string

func (*PortCheck) GetSender added in v0.1.28

func (x *PortCheck) GetSender() string

func (*PortCheck) GetSenderVerdict added in v0.1.73

func (x *PortCheck) GetSenderVerdict() string

func (*PortCheck) GetSent added in v0.1.28

func (x *PortCheck) GetSent() uint32

func (*PortCheck) GetVerdict added in v0.1.28

func (x *PortCheck) GetVerdict() string

func (*PortCheck) ProtoMessage added in v0.1.28

func (*PortCheck) ProtoMessage()

func (*PortCheck) ProtoReflect added in v0.1.28

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

func (*PortCheck) Reset added in v0.1.28

func (x *PortCheck) Reset()

func (*PortCheck) String added in v0.1.28

func (x *PortCheck) String() string

type PortResult added in v0.1.41

type PortResult struct {
	Port uint32 `protobuf:"varint,1,opt,name=port,proto3" json:"port,omitempty"`
	Ok   bool   `protobuf:"varint,2,opt,name=ok,proto3" json:"ok,omitempty"`
	// Average round trip of the received packets, milliseconds; 0 when none came back.
	Ms uint32 `protobuf:"varint,3,opt,name=ms,proto3" json:"ms,omitempty"`
	// contains filtered or unexported fields
}

func (*PortResult) Descriptor deprecated added in v0.1.41

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

Deprecated: Use PortResult.ProtoReflect.Descriptor instead.

func (*PortResult) GetMs added in v0.1.41

func (x *PortResult) GetMs() uint32

func (*PortResult) GetOk added in v0.1.41

func (x *PortResult) GetOk() bool

func (*PortResult) GetPort added in v0.1.41

func (x *PortResult) GetPort() uint32

func (*PortResult) ProtoMessage added in v0.1.41

func (*PortResult) ProtoMessage()

func (*PortResult) ProtoReflect added in v0.1.41

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

func (*PortResult) Reset added in v0.1.41

func (x *PortResult) Reset()

func (*PortResult) String added in v0.1.41

func (x *PortResult) String() string

type PrepareAwgKernelRequest

type PrepareAwgKernelRequest struct {
	NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	// false: ask only (the answer is READY, NEEDS_PREPARE, RUNNING or UNSUPPORTED). true: start the build when the module is
	// not ready (answer STARTED, or RUNNING when one already runs, READY when there is nothing to do).
	Confirm bool `protobuf:"varint,2,opt,name=confirm,proto3" json:"confirm,omitempty"`
	// contains filtered or unexported fields
}

func (*PrepareAwgKernelRequest) Descriptor deprecated

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

Deprecated: Use PrepareAwgKernelRequest.ProtoReflect.Descriptor instead.

func (*PrepareAwgKernelRequest) GetConfirm

func (x *PrepareAwgKernelRequest) GetConfirm() bool

func (*PrepareAwgKernelRequest) GetNodeId

func (x *PrepareAwgKernelRequest) GetNodeId() string

func (*PrepareAwgKernelRequest) ProtoMessage

func (*PrepareAwgKernelRequest) ProtoMessage()

func (*PrepareAwgKernelRequest) ProtoReflect

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

func (*PrepareAwgKernelRequest) Reset

func (x *PrepareAwgKernelRequest) Reset()

func (*PrepareAwgKernelRequest) String

func (x *PrepareAwgKernelRequest) String() string

type PrepareAwgKernelResponse

type PrepareAwgKernelResponse struct {
	Outcome    PrepareAwgOutcome `protobuf:"varint,1,opt,name=outcome,proto3,enum=mistgate.admin.v1.PrepareAwgOutcome" json:"outcome,omitempty"`
	ReasonCode string            `protobuf:"bytes,2,opt,name=reason_code,json=reasonCode,proto3" json:"reason_code,omitempty"`
	Reason     string            `protobuf:"bytes,3,opt,name=reason,proto3" json:"reason,omitempty"`
	// The node as it is after the call (awg_prepare included).
	Node *Node `protobuf:"bytes,4,opt,name=node,proto3" json:"node,omitempty"`
	// contains filtered or unexported fields
}

func (*PrepareAwgKernelResponse) Descriptor deprecated

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

Deprecated: Use PrepareAwgKernelResponse.ProtoReflect.Descriptor instead.

func (*PrepareAwgKernelResponse) GetNode

func (x *PrepareAwgKernelResponse) GetNode() *Node

func (*PrepareAwgKernelResponse) GetOutcome

func (*PrepareAwgKernelResponse) GetReason

func (x *PrepareAwgKernelResponse) GetReason() string

func (*PrepareAwgKernelResponse) GetReasonCode

func (x *PrepareAwgKernelResponse) GetReasonCode() string

func (*PrepareAwgKernelResponse) ProtoMessage

func (*PrepareAwgKernelResponse) ProtoMessage()

func (*PrepareAwgKernelResponse) ProtoReflect

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

func (*PrepareAwgKernelResponse) Reset

func (x *PrepareAwgKernelResponse) Reset()

func (*PrepareAwgKernelResponse) String

func (x *PrepareAwgKernelResponse) String() string

type PrepareAwgOutcome

type PrepareAwgOutcome int32
const (
	PrepareAwgOutcome_PREPARE_AWG_OUTCOME_UNSPECIFIED PrepareAwgOutcome = 0
	// The module is loaded and usable: switching to it is just a setting.
	PrepareAwgOutcome_PREPARE_AWG_OUTCOME_READY PrepareAwgOutcome = 1
	// Not ready, and it can be built on this node (confirm = false).
	PrepareAwgOutcome_PREPARE_AWG_OUTCOME_NEEDS_PREPARE PrepareAwgOutcome = 2
	// The build began just now.
	PrepareAwgOutcome_PREPARE_AWG_OUTCOME_STARTED PrepareAwgOutcome = 3
	// A build is already going; nothing was started.
	PrepareAwgOutcome_PREPARE_AWG_OUTCOME_RUNNING PrepareAwgOutcome = 4
	// It cannot be built here (reason_code: container, distro, unknown_kernel, secure_boot, no_systemd, launch_failed).
	PrepareAwgOutcome_PREPARE_AWG_OUTCOME_UNSUPPORTED PrepareAwgOutcome = 5
)

func (PrepareAwgOutcome) Descriptor

func (PrepareAwgOutcome) Enum

func (PrepareAwgOutcome) EnumDescriptor deprecated

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

Deprecated: Use PrepareAwgOutcome.Descriptor instead.

func (PrepareAwgOutcome) Number

func (PrepareAwgOutcome) String

func (x PrepareAwgOutcome) String() string

func (PrepareAwgOutcome) Type

type PrepareRestoreRequest added in v0.1.80

type PrepareRestoreRequest struct {

	// Exactly one source is required. An upload id is returned by POST /backup/upload.
	UploadId    string `protobuf:"bytes,1,opt,name=upload_id,json=uploadId,proto3" json:"upload_id,omitempty"`
	R2ObjectKey string `protobuf:"bytes,2,opt,name=r2_object_key,json=r2ObjectKey,proto3" json:"r2_object_key,omitempty"`
	// Exactly one key is required. Identity bytes and passphrases are used only for this request.
	IdentityFile []byte `protobuf:"bytes,3,opt,name=identity_file,json=identityFile,proto3" json:"identity_file,omitempty"`
	Passphrase   string `protobuf:"bytes,4,opt,name=passphrase,proto3" json:"passphrase,omitempty"`
	// contains filtered or unexported fields
}

func (*PrepareRestoreRequest) Descriptor deprecated added in v0.1.80

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

Deprecated: Use PrepareRestoreRequest.ProtoReflect.Descriptor instead.

func (*PrepareRestoreRequest) GetIdentityFile added in v0.1.80

func (x *PrepareRestoreRequest) GetIdentityFile() []byte

func (*PrepareRestoreRequest) GetPassphrase added in v0.1.80

func (x *PrepareRestoreRequest) GetPassphrase() string

func (*PrepareRestoreRequest) GetR2ObjectKey added in v0.1.80

func (x *PrepareRestoreRequest) GetR2ObjectKey() string

func (*PrepareRestoreRequest) GetUploadId added in v0.1.80

func (x *PrepareRestoreRequest) GetUploadId() string

func (*PrepareRestoreRequest) ProtoMessage added in v0.1.80

func (*PrepareRestoreRequest) ProtoMessage()

func (*PrepareRestoreRequest) ProtoReflect added in v0.1.80

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

func (*PrepareRestoreRequest) Reset added in v0.1.80

func (x *PrepareRestoreRequest) Reset()

func (*PrepareRestoreRequest) String added in v0.1.80

func (x *PrepareRestoreRequest) String() string

type PrepareRestoreResponse added in v0.1.80

type PrepareRestoreResponse struct {
	RestoreId string          `protobuf:"bytes,1,opt,name=restore_id,json=restoreId,proto3" json:"restore_id,omitempty"`
	Summary   *RestoreSummary `protobuf:"bytes,2,opt,name=summary,proto3" json:"summary,omitempty"`
	// contains filtered or unexported fields
}

func (*PrepareRestoreResponse) Descriptor deprecated added in v0.1.80

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

Deprecated: Use PrepareRestoreResponse.ProtoReflect.Descriptor instead.

func (*PrepareRestoreResponse) GetRestoreId added in v0.1.80

func (x *PrepareRestoreResponse) GetRestoreId() string

func (*PrepareRestoreResponse) GetSummary added in v0.1.80

func (x *PrepareRestoreResponse) GetSummary() *RestoreSummary

func (*PrepareRestoreResponse) ProtoMessage added in v0.1.80

func (*PrepareRestoreResponse) ProtoMessage()

func (*PrepareRestoreResponse) ProtoReflect added in v0.1.80

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

func (*PrepareRestoreResponse) Reset added in v0.1.80

func (x *PrepareRestoreResponse) Reset()

func (*PrepareRestoreResponse) String added in v0.1.80

func (x *PrepareRestoreResponse) String() string

type PreviewBsbordRequest added in v0.1.63

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

func (*PreviewBsbordRequest) Descriptor deprecated added in v0.1.63

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

Deprecated: Use PreviewBsbordRequest.ProtoReflect.Descriptor instead.

func (*PreviewBsbordRequest) ProtoMessage added in v0.1.63

func (*PreviewBsbordRequest) ProtoMessage()

func (*PreviewBsbordRequest) ProtoReflect added in v0.1.63

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

func (*PreviewBsbordRequest) Reset added in v0.1.63

func (x *PreviewBsbordRequest) Reset()

func (*PreviewBsbordRequest) String added in v0.1.63

func (x *PreviewBsbordRequest) String() string

type PreviewBsbordResponse added in v0.1.63

type PreviewBsbordResponse struct {
	CostCredits    uint64 `protobuf:"varint,1,opt,name=cost_credits,json=costCredits,proto3" json:"cost_credits,omitempty"`
	MonthlyCredits uint64 `protobuf:"varint,2,opt,name=monthly_credits,json=monthlyCredits,proto3" json:"monthly_credits,omitempty"`
	TargetCount    uint32 `protobuf:"varint,3,opt,name=target_count,json=targetCount,proto3" json:"target_count,omitempty"`
	UnitCount      uint32 `protobuf:"varint,4,opt,name=unit_count,json=unitCount,proto3" json:"unit_count,omitempty"`
	CapReached     bool   `protobuf:"varint,5,opt,name=cap_reached,json=capReached,proto3" json:"cap_reached,omitempty"`
	// contains filtered or unexported fields
}

func (*PreviewBsbordResponse) Descriptor deprecated added in v0.1.63

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

Deprecated: Use PreviewBsbordResponse.ProtoReflect.Descriptor instead.

func (*PreviewBsbordResponse) GetCapReached added in v0.1.63

func (x *PreviewBsbordResponse) GetCapReached() bool

func (*PreviewBsbordResponse) GetCostCredits added in v0.1.63

func (x *PreviewBsbordResponse) GetCostCredits() uint64

func (*PreviewBsbordResponse) GetMonthlyCredits added in v0.1.63

func (x *PreviewBsbordResponse) GetMonthlyCredits() uint64

func (*PreviewBsbordResponse) GetTargetCount added in v0.1.63

func (x *PreviewBsbordResponse) GetTargetCount() uint32

func (*PreviewBsbordResponse) GetUnitCount added in v0.1.63

func (x *PreviewBsbordResponse) GetUnitCount() uint32

func (*PreviewBsbordResponse) ProtoMessage added in v0.1.63

func (*PreviewBsbordResponse) ProtoMessage()

func (*PreviewBsbordResponse) ProtoReflect added in v0.1.63

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

func (*PreviewBsbordResponse) Reset added in v0.1.63

func (x *PreviewBsbordResponse) Reset()

func (*PreviewBsbordResponse) String added in v0.1.63

func (x *PreviewBsbordResponse) String() string

type PreviewProfileRequest

type PreviewProfileRequest struct {
	Protocol     string `protobuf:"bytes,1,opt,name=protocol,proto3" json:"protocol,omitempty"`
	SettingsJson string `protobuf:"bytes,2,opt,name=settings_json,json=settingsJson,proto3" json:"settings_json,omitempty"`
	// Render the fragment for this node's address and certificate; empty = any node / placeholder host.
	NodeId string `protobuf:"bytes,3,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	// contains filtered or unexported fields
}

func (*PreviewProfileRequest) Descriptor deprecated

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

Deprecated: Use PreviewProfileRequest.ProtoReflect.Descriptor instead.

func (*PreviewProfileRequest) GetNodeId

func (x *PreviewProfileRequest) GetNodeId() string

func (*PreviewProfileRequest) GetProtocol

func (x *PreviewProfileRequest) GetProtocol() string

func (*PreviewProfileRequest) GetSettingsJson

func (x *PreviewProfileRequest) GetSettingsJson() string

func (*PreviewProfileRequest) ProtoMessage

func (*PreviewProfileRequest) ProtoMessage()

func (*PreviewProfileRequest) ProtoReflect

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

func (*PreviewProfileRequest) Reset

func (x *PreviewProfileRequest) Reset()

func (*PreviewProfileRequest) String

func (x *PreviewProfileRequest) String() string

type PreviewProfileResponse

type PreviewProfileResponse struct {
	Errors []*FieldError `protobuf:"bytes,1,rep,name=errors,proto3" json:"errors,omitempty"`
	// Mono text of the client fragment with secrets as "••••" (for Hysteria2: the hysteria2:// URI).
	ClientPreview string `protobuf:"bytes,2,opt,name=client_preview,json=clientPreview,proto3" json:"client_preview,omitempty"`
	// What the client receives it as: "Happ · URI list".
	ClientLabel string `protobuf:"bytes,3,opt,name=client_label,json=clientLabel,proto3" json:"client_label,omitempty"`
	// Same line ProfileSummary.summary would carry.
	Summary string `protobuf:"bytes,4,opt,name=summary,proto3" json:"summary,omitempty"`
	// Legal but notable settings (AWG: awg.Warnings): code is stable, the UI owns the text (awg.warn.<code>), pointer
	// is the field to mark. Empty while there are errors. Hysteria2 has none.
	Warnings []*FieldError `protobuf:"bytes,5,rep,name=warnings,proto3" json:"warnings,omitempty"`
	// AWG only, absent otherwise and while there are errors.
	ObfuscationScore *ObfuscationScore `protobuf:"bytes,6,opt,name=obfuscation_score,json=obfuscationScore,proto3" json:"obfuscation_score,omitempty"`
	// In which subscription formats the draft works (as ProfileSummary.formats). Empty while there are errors.
	Formats []*ProfileFormat `protobuf:"bytes,7,rep,name=formats,proto3" json:"formats,omitempty"`
	// contains filtered or unexported fields
}

func (*PreviewProfileResponse) Descriptor deprecated

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

Deprecated: Use PreviewProfileResponse.ProtoReflect.Descriptor instead.

func (*PreviewProfileResponse) GetClientLabel

func (x *PreviewProfileResponse) GetClientLabel() string

func (*PreviewProfileResponse) GetClientPreview

func (x *PreviewProfileResponse) GetClientPreview() string

func (*PreviewProfileResponse) GetErrors

func (x *PreviewProfileResponse) GetErrors() []*FieldError

func (*PreviewProfileResponse) GetFormats added in v0.1.40

func (x *PreviewProfileResponse) GetFormats() []*ProfileFormat

func (*PreviewProfileResponse) GetObfuscationScore

func (x *PreviewProfileResponse) GetObfuscationScore() *ObfuscationScore

func (*PreviewProfileResponse) GetSummary

func (x *PreviewProfileResponse) GetSummary() string

func (*PreviewProfileResponse) GetWarnings

func (x *PreviewProfileResponse) GetWarnings() []*FieldError

func (*PreviewProfileResponse) ProtoMessage

func (*PreviewProfileResponse) ProtoMessage()

func (*PreviewProfileResponse) ProtoReflect

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

func (*PreviewProfileResponse) Reset

func (x *PreviewProfileResponse) Reset()

func (*PreviewProfileResponse) String

func (x *PreviewProfileResponse) String() string

type ProfileFormat added in v0.1.40

type ProfileFormat struct {

	// One of BASE64_URIS, MIHOMO_YAML, XRAY_JSON, SINGBOX_JSON.
	Format SubFormat `protobuf:"varint,1,opt,name=format,proto3,enum=mistgate.admin.v1.SubFormat" json:"format,omitempty"`
	Ok     bool      `protobuf:"varint,2,opt,name=ok,proto3" json:"ok,omitempty"`
	Note   string    `protobuf:"bytes,3,opt,name=note,proto3" json:"note,omitempty"`
	// contains filtered or unexported fields
}

Whether a profile is carried by one subscription format. It comes from a masked trial render in that format with the same functions the subscription uses, so it cannot drift from what people really get. `note` is a stable code, the UI owns the text:

ok = false, the reason the format leaves the profile out:
  "xhttp"        the format has no XHTTP transport (sing-box)
  "self_signed"  the format cannot pin a self-signed certificate (sing-box)
  "gecko"        the format has no Gecko obfuscation (link list, Xray JSON, sing-box)
  "awg"          the format cannot carry AmneziaWG (link list, Xray JSON, sing-box)
  "unsupported"  any other case in which the plugin renders nothing
ok = true, a degraded rendering:
  "hop_single_port"  a Hysteria2 port-hopping range is written as its one listening port (link list, Xray JSON)

Empty `note` with ok = true: carried in full.

func (*ProfileFormat) Descriptor deprecated added in v0.1.40

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

Deprecated: Use ProfileFormat.ProtoReflect.Descriptor instead.

func (*ProfileFormat) GetFormat added in v0.1.40

func (x *ProfileFormat) GetFormat() SubFormat

func (*ProfileFormat) GetNote added in v0.1.40

func (x *ProfileFormat) GetNote() string

func (*ProfileFormat) GetOk added in v0.1.40

func (x *ProfileFormat) GetOk() bool

func (*ProfileFormat) ProtoMessage added in v0.1.40

func (*ProfileFormat) ProtoMessage()

func (*ProfileFormat) ProtoReflect added in v0.1.40

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

func (*ProfileFormat) Reset added in v0.1.40

func (x *ProfileFormat) Reset()

func (*ProfileFormat) String added in v0.1.40

func (x *ProfileFormat) String() string

type ProfileIds

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

func (*ProfileIds) Descriptor deprecated

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

Deprecated: Use ProfileIds.ProtoReflect.Descriptor instead.

func (*ProfileIds) GetValues

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

func (*ProfileIds) ProtoMessage

func (*ProfileIds) ProtoMessage()

func (*ProfileIds) ProtoReflect

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

func (*ProfileIds) Reset

func (x *ProfileIds) Reset()

func (*ProfileIds) String

func (x *ProfileIds) String() string

type ProfileImpact

type ProfileImpact struct {

	// Inbounds that will be restarted (connected users of these reconnect).
	InboundsRestarted uint32 `protobuf:"varint,1,opt,name=inbounds_restarted,json=inboundsRestarted,proto3" json:"inbounds_restarted,omitempty"`
	// Users connected through those inbounds right now.
	UsersOnline uint32 `protobuf:"varint,2,opt,name=users_online,json=usersOnline,proto3" json:"users_online,omitempty"`
	// Devices that hold an already issued config which stops working (x-critical change of an AmneziaWG profile:
	// every live device of the profile, each becomes "stale" and needs a new key; always 0 for Hysteria2 because
	// its URI is re-fetched from the subscription).
	DevicesNeedReissue uint32 `protobuf:"varint,3,opt,name=devices_need_reissue,json=devicesNeedReissue,proto3" json:"devices_need_reissue,omitempty"`
	// Names of the affected users, at most 50, for the confirmation modal.
	AffectedUserNames []string `protobuf:"bytes,4,rep,name=affected_user_names,json=affectedUserNames,proto3" json:"affected_user_names,omitempty"`
	// JSON pointers of changed x-critical fields.
	CriticalFields []string `protobuf:"bytes,5,rep,name=critical_fields,json=criticalFields,proto3" json:"critical_fields,omitempty"`
	// contains filtered or unexported fields
}

What saving would do; filled for dry_run and real updates alike.

func (*ProfileImpact) Descriptor deprecated

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

Deprecated: Use ProfileImpact.ProtoReflect.Descriptor instead.

func (*ProfileImpact) GetAffectedUserNames

func (x *ProfileImpact) GetAffectedUserNames() []string

func (*ProfileImpact) GetCriticalFields

func (x *ProfileImpact) GetCriticalFields() []string

func (*ProfileImpact) GetDevicesNeedReissue

func (x *ProfileImpact) GetDevicesNeedReissue() uint32

func (*ProfileImpact) GetInboundsRestarted

func (x *ProfileImpact) GetInboundsRestarted() uint32

func (*ProfileImpact) GetUsersOnline

func (x *ProfileImpact) GetUsersOnline() uint32

func (*ProfileImpact) ProtoMessage

func (*ProfileImpact) ProtoMessage()

func (*ProfileImpact) ProtoReflect

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

func (*ProfileImpact) Reset

func (x *ProfileImpact) Reset()

func (*ProfileImpact) String

func (x *ProfileImpact) String() string

type ProfileRef

type ProfileRef struct {
	Id       string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name     string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Protocol string `protobuf:"bytes,3,opt,name=protocol,proto3" json:"protocol,omitempty"`
	// In which subscription formats the profile works (ProfileSummary.formats). Empty when it could not be trial-rendered.
	Formats []*ProfileFormat `protobuf:"bytes,4,rep,name=formats,proto3" json:"formats,omitempty"`
	// contains filtered or unexported fields
}

func (*ProfileRef) Descriptor deprecated

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

Deprecated: Use ProfileRef.ProtoReflect.Descriptor instead.

func (*ProfileRef) GetFormats added in v0.1.40

func (x *ProfileRef) GetFormats() []*ProfileFormat

func (*ProfileRef) GetId

func (x *ProfileRef) GetId() string

func (*ProfileRef) GetName

func (x *ProfileRef) GetName() string

func (*ProfileRef) GetProtocol

func (x *ProfileRef) GetProtocol() string

func (*ProfileRef) ProtoMessage

func (*ProfileRef) ProtoMessage()

func (*ProfileRef) ProtoReflect

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

func (*ProfileRef) Reset

func (x *ProfileRef) Reset()

func (*ProfileRef) String

func (x *ProfileRef) String() string

type ProfileSummary

type ProfileSummary struct {
	Id       string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name     string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Protocol string `protobuf:"bytes,3,opt,name=protocol,proto3" json:"protocol,omitempty"`
	// Short mono parameter line from the plugin, e.g. "UDP 443 · Salamander · Let's Encrypt".
	Summary   string `protobuf:"bytes,4,opt,name=summary,proto3" json:"summary,omitempty"`
	NodeCount uint32 `protobuf:"varint,5,opt,name=node_count,json=nodeCount,proto3" json:"node_count,omitempty"`
	// Users whose group contains this profile and whose app toggles allow the protocol.
	UserCount uint32 `protobuf:"varint,6,opt,name=user_count,json=userCount,proto3" json:"user_count,omitempty"`
	// Plugin or fleet warning for the amber dot, e.g. code "udp_blocked_on_node" + params.
	Warnings []*StatusReason `protobuf:"bytes,7,rep,name=warnings,proto3" json:"warnings,omitempty"`
	Version  uint32          `protobuf:"varint,8,opt,name=version,proto3" json:"version,omitempty"`
	// In which subscription formats the profile works, with the reason where it does not (see ProfileFormat). Order: link
	// list, Mihomo, Xray JSON, sing-box JSON. Empty when the profile could not be trial-rendered.
	Formats []*ProfileFormat `protobuf:"bytes,9,rep,name=formats,proto3" json:"formats,omitempty"`
	// contains filtered or unexported fields
}

func (*ProfileSummary) Descriptor deprecated

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

Deprecated: Use ProfileSummary.ProtoReflect.Descriptor instead.

func (*ProfileSummary) GetFormats added in v0.1.40

func (x *ProfileSummary) GetFormats() []*ProfileFormat

func (*ProfileSummary) GetId

func (x *ProfileSummary) GetId() string

func (*ProfileSummary) GetName

func (x *ProfileSummary) GetName() string

func (*ProfileSummary) GetNodeCount

func (x *ProfileSummary) GetNodeCount() uint32

func (*ProfileSummary) GetProtocol

func (x *ProfileSummary) GetProtocol() string

func (*ProfileSummary) GetSummary

func (x *ProfileSummary) GetSummary() string

func (*ProfileSummary) GetUserCount

func (x *ProfileSummary) GetUserCount() uint32

func (*ProfileSummary) GetVersion

func (x *ProfileSummary) GetVersion() uint32

func (*ProfileSummary) GetWarnings

func (x *ProfileSummary) GetWarnings() []*StatusReason

func (*ProfileSummary) ProtoMessage

func (*ProfileSummary) ProtoMessage()

func (*ProfileSummary) ProtoReflect

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

func (*ProfileSummary) Reset

func (x *ProfileSummary) Reset()

func (*ProfileSummary) String

func (x *ProfileSummary) String() string

type ProtocolCount

type ProtocolCount struct {

	// Plugin id, e.g. "hysteria2".
	Protocol string `protobuf:"bytes,1,opt,name=protocol,proto3" json:"protocol,omitempty"`
	Users    uint32 `protobuf:"varint,2,opt,name=users,proto3" json:"users,omitempty"`
	// contains filtered or unexported fields
}

Online people on one protocol ("Online by protocol", "Hysteria2 n / AmneziaWG m").

func (*ProtocolCount) Descriptor deprecated

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

Deprecated: Use ProtocolCount.ProtoReflect.Descriptor instead.

func (*ProtocolCount) GetProtocol

func (x *ProtocolCount) GetProtocol() string

func (*ProtocolCount) GetUsers

func (x *ProtocolCount) GetUsers() uint32

func (*ProtocolCount) ProtoMessage

func (*ProtocolCount) ProtoMessage()

func (*ProtocolCount) ProtoReflect

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

func (*ProtocolCount) Reset

func (x *ProtocolCount) Reset()

func (*ProtocolCount) String

func (x *ProtocolCount) String() string

type ProtocolInfo

type ProtocolInfo struct {

	// Plugin id: "hysteria2".
	Id          string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// JSON Schema of the settings object.
	SettingsSchemaJson string `protobuf:"bytes,3,opt,name=settings_schema_json,json=settingsSchemaJson,proto3" json:"settings_schema_json,omitempty"`
	// Settings for a brand-new profile, secrets already generated (shown masked).
	DefaultSettingsJson string `protobuf:"bytes,4,opt,name=default_settings_json,json=defaultSettingsJson,proto3" json:"default_settings_json,omitempty"`
	// Which user-facing app can consume the protocol (drives the user's Happ/Amnezia toggles).
	Apps []App `protobuf:"varint,5,rep,packed,name=apps,proto3,enum=mistgate.admin.v1.App" json:"apps,omitempty"`
	// The protocol is new and not proven in the field (MTProto today): the list marks it, and the owner knows it may change.
	Experimental bool `protobuf:"varint,6,opt,name=experimental,proto3" json:"experimental,omitempty"`
	// contains filtered or unexported fields
}

func (*ProtocolInfo) Descriptor deprecated

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

Deprecated: Use ProtocolInfo.ProtoReflect.Descriptor instead.

func (*ProtocolInfo) GetApps

func (x *ProtocolInfo) GetApps() []App

func (*ProtocolInfo) GetDefaultSettingsJson

func (x *ProtocolInfo) GetDefaultSettingsJson() string

func (*ProtocolInfo) GetDisplayName

func (x *ProtocolInfo) GetDisplayName() string

func (*ProtocolInfo) GetExperimental added in v0.1.69

func (x *ProtocolInfo) GetExperimental() bool

func (*ProtocolInfo) GetId

func (x *ProtocolInfo) GetId() string

func (*ProtocolInfo) GetSettingsSchemaJson

func (x *ProtocolInfo) GetSettingsSchemaJson() string

func (*ProtocolInfo) ProtoMessage

func (*ProtocolInfo) ProtoMessage()

func (*ProtocolInfo) ProtoReflect

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

func (*ProtocolInfo) Reset

func (x *ProtocolInfo) Reset()

func (*ProtocolInfo) String

func (x *ProtocolInfo) String() string

type ProtocolValue

type ProtocolValue struct {
	Protocol string `protobuf:"bytes,1,opt,name=protocol,proto3" json:"protocol,omitempty"`
	// Traffic series: bytes (up + down). Online series: peak people online in that hour.
	Value uint64 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*ProtocolValue) Descriptor deprecated

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

Deprecated: Use ProtocolValue.ProtoReflect.Descriptor instead.

func (*ProtocolValue) GetProtocol

func (x *ProtocolValue) GetProtocol() string

func (*ProtocolValue) GetValue

func (x *ProtocolValue) GetValue() uint64

func (*ProtocolValue) ProtoMessage

func (*ProtocolValue) ProtoMessage()

func (*ProtocolValue) ProtoReflect

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

func (*ProtocolValue) Reset

func (x *ProtocolValue) Reset()

func (*ProtocolValue) String

func (x *ProtocolValue) String() string

type QuotaReset

type QuotaReset int32
const (
	QuotaReset_QUOTA_RESET_UNSPECIFIED QuotaReset = 0
	QuotaReset_QUOTA_RESET_NONE        QuotaReset = 1
	QuotaReset_QUOTA_RESET_DAY         QuotaReset = 2
	QuotaReset_QUOTA_RESET_WEEK        QuotaReset = 3
	// 1st of the month, UTC.
	QuotaReset_QUOTA_RESET_MONTH QuotaReset = 4
	// 30 days after the previous reset.
	QuotaReset_QUOTA_RESET_ROLLING_MONTH QuotaReset = 5
)

func (QuotaReset) Descriptor

func (QuotaReset) Descriptor() protoreflect.EnumDescriptor

func (QuotaReset) Enum

func (x QuotaReset) Enum() *QuotaReset

func (QuotaReset) EnumDescriptor deprecated

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

Deprecated: Use QuotaReset.Descriptor instead.

func (QuotaReset) Number

func (x QuotaReset) Number() protoreflect.EnumNumber

func (QuotaReset) String

func (x QuotaReset) String() string

func (QuotaReset) Type

type ReachabilityLane added in v0.1.43

type ReachabilityLane struct {

	// "globalping" | "lists" | "tspu"
	Source string               `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"`
	Points []*ReachabilityPoint `protobuf:"bytes,2,rep,name=points,proto3" json:"points,omitempty"`
	// Where the last point ends: now, as GetChecks shows the newest measurement whatever its age; for the TSPU probe the moment
	// its newest run stops counting (three intervals), when that is earlier.
	UntilUnix int64 `protobuf:"varint,3,opt,name=until_unix,json=untilUnix,proto3" json:"until_unix,omitempty"`
	// contains filtered or unexported fields
}

One source's view of one node, oldest first. Consecutive measurements with the same verdict are one point.

func (*ReachabilityLane) Descriptor deprecated added in v0.1.43

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

Deprecated: Use ReachabilityLane.ProtoReflect.Descriptor instead.

func (*ReachabilityLane) GetPoints added in v0.1.43

func (x *ReachabilityLane) GetPoints() []*ReachabilityPoint

func (*ReachabilityLane) GetSource added in v0.1.43

func (x *ReachabilityLane) GetSource() string

func (*ReachabilityLane) GetUntilUnix added in v0.1.43

func (x *ReachabilityLane) GetUntilUnix() int64

func (*ReachabilityLane) ProtoMessage added in v0.1.43

func (*ReachabilityLane) ProtoMessage()

func (*ReachabilityLane) ProtoReflect added in v0.1.43

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

func (*ReachabilityLane) Reset added in v0.1.43

func (x *ReachabilityLane) Reset()

func (*ReachabilityLane) String added in v0.1.43

func (x *ReachabilityLane) String() string

type ReachabilityPoint added in v0.1.43

type ReachabilityPoint struct {
	AtUnix int64 `protobuf:"varint,1,opt,name=at_unix,json=atUnix,proto3" json:"at_unix,omitempty"`
	// Globalping and the TSPU probe: OK, TCP_BLOCKED, BLOCKED or UNKNOWN, as CountryCheck.globalping_verdict and tspu_verdict.
	// The block lists: LISTED when a list holds the address, OK when none does.
	Verdict CountryVerdict `protobuf:"varint,2,opt,name=verdict,proto3,enum=mistgate.admin.v1.CountryVerdict" json:"verdict,omitempty"`
	// contains filtered or unexported fields
}

A verdict from at_unix on, until the next point of the lane (the last one until the lane's until_unix).

func (*ReachabilityPoint) Descriptor deprecated added in v0.1.43

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

Deprecated: Use ReachabilityPoint.ProtoReflect.Descriptor instead.

func (*ReachabilityPoint) GetAtUnix added in v0.1.43

func (x *ReachabilityPoint) GetAtUnix() int64

func (*ReachabilityPoint) GetVerdict added in v0.1.43

func (x *ReachabilityPoint) GetVerdict() CountryVerdict

func (*ReachabilityPoint) ProtoMessage added in v0.1.43

func (*ReachabilityPoint) ProtoMessage()

func (*ReachabilityPoint) ProtoReflect added in v0.1.43

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

func (*ReachabilityPoint) Reset added in v0.1.43

func (x *ReachabilityPoint) Reset()

func (*ReachabilityPoint) String added in v0.1.43

func (x *ReachabilityPoint) String() string

type RefreshWarpRequest

type RefreshWarpRequest struct {
	NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	// contains filtered or unexported fields
}

func (*RefreshWarpRequest) Descriptor deprecated

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

Deprecated: Use RefreshWarpRequest.ProtoReflect.Descriptor instead.

func (*RefreshWarpRequest) GetNodeId

func (x *RefreshWarpRequest) GetNodeId() string

func (*RefreshWarpRequest) ProtoMessage

func (*RefreshWarpRequest) ProtoMessage()

func (*RefreshWarpRequest) ProtoReflect

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

func (*RefreshWarpRequest) Reset

func (x *RefreshWarpRequest) Reset()

func (*RefreshWarpRequest) String

func (x *RefreshWarpRequest) String() string

type RefreshWarpResponse

type RefreshWarpResponse struct {
	Account *WarpAccount `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	// contains filtered or unexported fields
}

func (*RefreshWarpResponse) Descriptor deprecated

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

Deprecated: Use RefreshWarpResponse.ProtoReflect.Descriptor instead.

func (*RefreshWarpResponse) GetAccount

func (x *RefreshWarpResponse) GetAccount() *WarpAccount

func (*RefreshWarpResponse) ProtoMessage

func (*RefreshWarpResponse) ProtoMessage()

func (*RefreshWarpResponse) ProtoReflect

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

func (*RefreshWarpResponse) Reset

func (x *RefreshWarpResponse) Reset()

func (*RefreshWarpResponse) String

func (x *RefreshWarpResponse) String() string

type RegisterWarpRequest

type RegisterWarpRequest struct {
	NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	// The owner read the terms and accepts them for THIS account. false = INVALID_ARGUMENT tos_not_accepted.
	AcceptTos bool `protobuf:"varint,2,opt,name=accept_tos,json=acceptTos,proto3" json:"accept_tos,omitempty"`
	// The URL the UI showed; stored with the acceptance.
	TosUrlShown string `protobuf:"bytes,3,opt,name=tos_url_shown,json=tosUrlShown,proto3" json:"tos_url_shown,omitempty"`
	// The node has an account (Cloudflare revoked it): register a new device and replace the old account with it in
	// one step, the way the automatic re-registration does; the old device is deleted at Cloudflare afterwards. Without
	// it an existing account is FAILED_PRECONDITION account_exists.
	ReplaceExisting bool `protobuf:"varint,4,opt,name=replace_existing,json=replaceExisting,proto3" json:"replace_existing,omitempty"`
	// contains filtered or unexported fields
}

func (*RegisterWarpRequest) Descriptor deprecated

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

Deprecated: Use RegisterWarpRequest.ProtoReflect.Descriptor instead.

func (*RegisterWarpRequest) GetAcceptTos

func (x *RegisterWarpRequest) GetAcceptTos() bool

func (*RegisterWarpRequest) GetNodeId

func (x *RegisterWarpRequest) GetNodeId() string

func (*RegisterWarpRequest) GetReplaceExisting

func (x *RegisterWarpRequest) GetReplaceExisting() bool

func (*RegisterWarpRequest) GetTosUrlShown

func (x *RegisterWarpRequest) GetTosUrlShown() string

func (*RegisterWarpRequest) ProtoMessage

func (*RegisterWarpRequest) ProtoMessage()

func (*RegisterWarpRequest) ProtoReflect

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

func (*RegisterWarpRequest) Reset

func (x *RegisterWarpRequest) Reset()

func (*RegisterWarpRequest) String

func (x *RegisterWarpRequest) String() string

type RegisterWarpResponse

type RegisterWarpResponse struct {
	Account *WarpAccount `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	// contains filtered or unexported fields
}

func (*RegisterWarpResponse) Descriptor deprecated

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

Deprecated: Use RegisterWarpResponse.ProtoReflect.Descriptor instead.

func (*RegisterWarpResponse) GetAccount

func (x *RegisterWarpResponse) GetAccount() *WarpAccount

func (*RegisterWarpResponse) ProtoMessage

func (*RegisterWarpResponse) ProtoMessage()

func (*RegisterWarpResponse) ProtoReflect

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

func (*RegisterWarpResponse) Reset

func (x *RegisterWarpResponse) Reset()

func (*RegisterWarpResponse) String

func (x *RegisterWarpResponse) String() string

type RejectRequest

type RejectRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*RejectRequest) Descriptor deprecated

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

Deprecated: Use RejectRequest.ProtoReflect.Descriptor instead.

func (*RejectRequest) GetId

func (x *RejectRequest) GetId() string

func (*RejectRequest) ProtoMessage

func (*RejectRequest) ProtoMessage()

func (*RejectRequest) ProtoReflect

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

func (*RejectRequest) Reset

func (x *RejectRequest) Reset()

func (*RejectRequest) String

func (x *RejectRequest) String() string

type RejectResponse

type RejectResponse struct {
	Approval *Approval `protobuf:"bytes,1,opt,name=approval,proto3" json:"approval,omitempty"`
	// contains filtered or unexported fields
}

func (*RejectResponse) Descriptor deprecated

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

Deprecated: Use RejectResponse.ProtoReflect.Descriptor instead.

func (*RejectResponse) GetApproval

func (x *RejectResponse) GetApproval() *Approval

func (*RejectResponse) ProtoMessage

func (*RejectResponse) ProtoMessage()

func (*RejectResponse) ProtoReflect

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

func (*RejectResponse) Reset

func (x *RejectResponse) Reset()

func (*RejectResponse) String

func (x *RejectResponse) String() string

type Relay added in v0.1.65

type Relay struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The exit's server and the node it is on.
	InboundId    string `protobuf:"bytes,2,opt,name=inbound_id,json=inboundId,proto3" json:"inbound_id,omitempty"`
	ExitNodeId   string `protobuf:"bytes,3,opt,name=exit_node_id,json=exitNodeId,proto3" json:"exit_node_id,omitempty"`
	ExitNodeName string `protobuf:"bytes,4,opt,name=exit_node_name,json=exitNodeName,proto3" json:"exit_node_name,omitempty"`
	ProfileId    string `protobuf:"bytes,5,opt,name=profile_id,json=profileId,proto3" json:"profile_id,omitempty"`
	ProfileName  string `protobuf:"bytes,6,opt,name=profile_name,json=profileName,proto3" json:"profile_name,omitempty"`
	Protocol     string `protobuf:"bytes,7,opt,name=protocol,proto3" json:"protocol,omitempty"`
	// The entry node.
	ViaNodeId   string `protobuf:"bytes,8,opt,name=via_node_id,json=viaNodeId,proto3" json:"via_node_id,omitempty"`
	ViaNodeName string `protobuf:"bytes,9,opt,name=via_node_name,json=viaNodeName,proto3" json:"via_node_name,omitempty"`
	// "tcp" | "udp": the network of the exit's server and of the forward.
	Network string `protobuf:"bytes,10,opt,name=network,proto3" json:"network,omitempty"`
	// The port on the entry node, and the port of the server on the exit (hop ranges are not forwarded).
	Port     uint32 `protobuf:"varint,11,opt,name=port,proto3" json:"port,omitempty"`
	ExitPort uint32 `protobuf:"varint,12,opt,name=exit_port,json=exitPort,proto3" json:"exit_port,omitempty"`
	Enabled  bool   `protobuf:"varint,13,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// What the entry's agent reported for the forward: PENDING (nothing since it was switched on), ACTIVE, FAILED
	// (last_error says why: "refused: ...", "resolve: ...", "forward_drop", "unsupported_host", ...). A relay that is
	// switched off is PENDING.
	State     InboundState `protobuf:"varint,14,opt,name=state,proto3,enum=mistgate.admin.v1.InboundState" json:"state,omitempty"`
	LastError string       `protobuf:"bytes,15,opt,name=last_error,json=lastError,proto3" json:"last_error,omitempty"`
	// The address of the exit the entry forwards to (as the agent resolved it), empty before it reported.
	ToIp        string `protobuf:"bytes,16,opt,name=to_ip,json=toIp,proto3" json:"to_ip,omitempty"`
	AppliedUnix int64  `protobuf:"varint,17,opt,name=applied_unix,json=appliedUnix,proto3" json:"applied_unix,omitempty"`
	// The exit's server is usable now (on, not failed, on an enrolled node): the entry gets the forward only then.
	ExitLive bool `protobuf:"varint,18,opt,name=exit_live,json=exitLive,proto3" json:"exit_live,omitempty"`
	// The entry's agent lists "relay-forward/1", so it can take the forward.
	AgentSupported bool  `protobuf:"varint,19,opt,name=agent_supported,json=agentSupported,proto3" json:"agent_supported,omitempty"`
	CreatedUnix    int64 `protobuf:"varint,20,opt,name=created_unix,json=createdUnix,proto3" json:"created_unix,omitempty"`
	// The latest CheckRelay (or the check made on switching on); absent before the first.
	Check *RelayCheck `protobuf:"bytes,21,opt,name=check,proto3" json:"check,omitempty"`
	// The latest client-eye round through the forward; absent before the first.
	Monitor *RelayMonitor `protobuf:"bytes,22,opt,name=monitor,proto3" json:"monitor,omitempty"`
	// What went to the exit through the forward since the entry's agent installed it (its nft counter), and when the
	// agent read it. Zero with counted_unix 0 when the agent does not report counters.
	Bytes       uint64 `protobuf:"varint,23,opt,name=bytes,proto3" json:"bytes,omitempty"`
	Packets     uint64 `protobuf:"varint,24,opt,name=packets,proto3" json:"packets,omitempty"`
	CountedUnix int64  `protobuf:"varint,25,opt,name=counted_unix,json=countedUnix,proto3" json:"counted_unix,omitempty"`
	// contains filtered or unexported fields
}

func (*Relay) Descriptor deprecated added in v0.1.65

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

Deprecated: Use Relay.ProtoReflect.Descriptor instead.

func (*Relay) GetAgentSupported added in v0.1.65

func (x *Relay) GetAgentSupported() bool

func (*Relay) GetAppliedUnix added in v0.1.65

func (x *Relay) GetAppliedUnix() int64

func (*Relay) GetBytes added in v0.1.65

func (x *Relay) GetBytes() uint64

func (*Relay) GetCheck added in v0.1.65

func (x *Relay) GetCheck() *RelayCheck

func (*Relay) GetCountedUnix added in v0.1.65

func (x *Relay) GetCountedUnix() int64

func (*Relay) GetCreatedUnix added in v0.1.65

func (x *Relay) GetCreatedUnix() int64

func (*Relay) GetEnabled added in v0.1.65

func (x *Relay) GetEnabled() bool

func (*Relay) GetExitLive added in v0.1.65

func (x *Relay) GetExitLive() bool

func (*Relay) GetExitNodeId added in v0.1.65

func (x *Relay) GetExitNodeId() string

func (*Relay) GetExitNodeName added in v0.1.65

func (x *Relay) GetExitNodeName() string

func (*Relay) GetExitPort added in v0.1.65

func (x *Relay) GetExitPort() uint32

func (*Relay) GetId added in v0.1.65

func (x *Relay) GetId() string

func (*Relay) GetInboundId added in v0.1.65

func (x *Relay) GetInboundId() string

func (*Relay) GetLastError added in v0.1.65

func (x *Relay) GetLastError() string

func (*Relay) GetMonitor added in v0.1.65

func (x *Relay) GetMonitor() *RelayMonitor

func (*Relay) GetNetwork added in v0.1.65

func (x *Relay) GetNetwork() string

func (*Relay) GetPackets added in v0.1.65

func (x *Relay) GetPackets() uint64

func (*Relay) GetPort added in v0.1.65

func (x *Relay) GetPort() uint32

func (*Relay) GetProfileId added in v0.1.65

func (x *Relay) GetProfileId() string

func (*Relay) GetProfileName added in v0.1.65

func (x *Relay) GetProfileName() string

func (*Relay) GetProtocol added in v0.1.65

func (x *Relay) GetProtocol() string

func (*Relay) GetState added in v0.1.65

func (x *Relay) GetState() InboundState

func (*Relay) GetToIp added in v0.1.65

func (x *Relay) GetToIp() string

func (*Relay) GetViaNodeId added in v0.1.65

func (x *Relay) GetViaNodeId() string

func (*Relay) GetViaNodeName added in v0.1.65

func (x *Relay) GetViaNodeName() string

func (*Relay) ProtoMessage added in v0.1.65

func (*Relay) ProtoMessage()

func (*Relay) ProtoReflect added in v0.1.65

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

func (*Relay) Reset added in v0.1.65

func (x *Relay) Reset()

func (*Relay) String added in v0.1.65

func (x *Relay) String() string

type RelayCandidate added in v0.1.65

type RelayCandidate struct {
	InboundId   string `protobuf:"bytes,1,opt,name=inbound_id,json=inboundId,proto3" json:"inbound_id,omitempty"`
	NodeId      string `protobuf:"bytes,2,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	NodeName    string `protobuf:"bytes,3,opt,name=node_name,json=nodeName,proto3" json:"node_name,omitempty"`
	ProfileId   string `protobuf:"bytes,4,opt,name=profile_id,json=profileId,proto3" json:"profile_id,omitempty"`
	ProfileName string `protobuf:"bytes,5,opt,name=profile_name,json=profileName,proto3" json:"profile_name,omitempty"`
	Protocol    string `protobuf:"bytes,6,opt,name=protocol,proto3" json:"protocol,omitempty"`
	Network     string `protobuf:"bytes,7,opt,name=network,proto3" json:"network,omitempty"`
	// The server's port on the exit.
	Port uint32 `protobuf:"varint,8,opt,name=port,proto3" json:"port,omitempty"`
	// Empty: it can be relayed. Else why not: "cdn" (people connect to the CDN), "acme_ip" (the certificate names the exit's
	// IP address), "awg" (not yet), "build_failed" (the server's settings do not build).
	Unsupported string `protobuf:"bytes,9,opt,name=unsupported,proto3" json:"unsupported,omitempty"`
	// The server has a hop range; a relay passes the one port only.
	Hop bool `protobuf:"varint,10,opt,name=hop,proto3" json:"hop,omitempty"`
	// This entry already forwards this server.
	RelayId string            `protobuf:"bytes,11,opt,name=relay_id,json=relayId,proto3" json:"relay_id,omitempty"`
	Country *RelayCountryHint `protobuf:"bytes,12,opt,name=country,proto3" json:"country,omitempty"`
	Reach   *RelayReachHint   `protobuf:"bytes,13,opt,name=reach,proto3" json:"reach,omitempty"`
	// contains filtered or unexported fields
}

func (*RelayCandidate) Descriptor deprecated added in v0.1.65

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

Deprecated: Use RelayCandidate.ProtoReflect.Descriptor instead.

func (*RelayCandidate) GetCountry added in v0.1.65

func (x *RelayCandidate) GetCountry() *RelayCountryHint

func (*RelayCandidate) GetHop added in v0.1.65

func (x *RelayCandidate) GetHop() bool

func (*RelayCandidate) GetInboundId added in v0.1.65

func (x *RelayCandidate) GetInboundId() string

func (*RelayCandidate) GetNetwork added in v0.1.65

func (x *RelayCandidate) GetNetwork() string

func (*RelayCandidate) GetNodeId added in v0.1.65

func (x *RelayCandidate) GetNodeId() string

func (*RelayCandidate) GetNodeName added in v0.1.65

func (x *RelayCandidate) GetNodeName() string

func (*RelayCandidate) GetPort added in v0.1.65

func (x *RelayCandidate) GetPort() uint32

func (*RelayCandidate) GetProfileId added in v0.1.65

func (x *RelayCandidate) GetProfileId() string

func (*RelayCandidate) GetProfileName added in v0.1.65

func (x *RelayCandidate) GetProfileName() string

func (*RelayCandidate) GetProtocol added in v0.1.65

func (x *RelayCandidate) GetProtocol() string

func (*RelayCandidate) GetReach added in v0.1.65

func (x *RelayCandidate) GetReach() *RelayReachHint

func (*RelayCandidate) GetRelayId added in v0.1.65

func (x *RelayCandidate) GetRelayId() string

func (*RelayCandidate) GetUnsupported added in v0.1.65

func (x *RelayCandidate) GetUnsupported() string

func (*RelayCandidate) ProtoMessage added in v0.1.65

func (*RelayCandidate) ProtoMessage()

func (*RelayCandidate) ProtoReflect added in v0.1.65

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

func (*RelayCandidate) Reset added in v0.1.65

func (x *RelayCandidate) Reset()

func (*RelayCandidate) String added in v0.1.65

func (x *RelayCandidate) String() string

type RelayCheck added in v0.1.65

type RelayCheck struct {
	AtUnix  int64  `protobuf:"varint,1,opt,name=at_unix,json=atUnix,proto3" json:"at_unix,omitempty"`
	Network string `protobuf:"bytes,2,opt,name=network,proto3" json:"network,omitempty"`
	// The entry's port the path was checked on, and the exit's address:port the check was made for (a change of the target
	// makes the leg stale).
	Port uint32      `protobuf:"varint,3,opt,name=port,proto3" json:"port,omitempty"`
	To   string      `protobuf:"bytes,4,opt,name=to,proto3" json:"to,omitempty"`
	Leg  *RelayStage `protobuf:"bytes,5,opt,name=leg,proto3" json:"leg,omitempty"`
	Path *RelayStage `protobuf:"bytes,6,opt,name=path,proto3" json:"path,omitempty"`
	// No stage that ran failed, and the leg passed or was skipped as unverifiable.
	Ok bool `protobuf:"varint,7,opt,name=ok,proto3" json:"ok,omitempty"`
	// The first stage that failed: "leg", "path", or "".
	Stage string `protobuf:"bytes,8,opt,name=stage,proto3" json:"stage,omitempty"`
	// Both stages ran and passed: the relay works from outside.
	Verified bool `protobuf:"varint,9,opt,name=verified,proto3" json:"verified,omitempty"`
	// contains filtered or unexported fields
}

What a check found. leg: the entry node to the exit's server. path: a third node to the entry's forwarded port, the packets counted (UDP) or the server's identity proven (TCP) at the exit.

func (*RelayCheck) Descriptor deprecated added in v0.1.65

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

Deprecated: Use RelayCheck.ProtoReflect.Descriptor instead.

func (*RelayCheck) GetAtUnix added in v0.1.65

func (x *RelayCheck) GetAtUnix() int64

func (*RelayCheck) GetLeg added in v0.1.65

func (x *RelayCheck) GetLeg() *RelayStage

func (*RelayCheck) GetNetwork added in v0.1.65

func (x *RelayCheck) GetNetwork() string

func (*RelayCheck) GetOk added in v0.1.65

func (x *RelayCheck) GetOk() bool

func (*RelayCheck) GetPath added in v0.1.65

func (x *RelayCheck) GetPath() *RelayStage

func (*RelayCheck) GetPort added in v0.1.65

func (x *RelayCheck) GetPort() uint32

func (*RelayCheck) GetStage added in v0.1.65

func (x *RelayCheck) GetStage() string

func (*RelayCheck) GetTo added in v0.1.65

func (x *RelayCheck) GetTo() string

func (*RelayCheck) GetVerified added in v0.1.65

func (x *RelayCheck) GetVerified() bool

func (*RelayCheck) ProtoMessage added in v0.1.65

func (*RelayCheck) ProtoMessage()

func (*RelayCheck) ProtoReflect added in v0.1.65

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

func (*RelayCheck) Reset added in v0.1.65

func (x *RelayCheck) Reset()

func (*RelayCheck) String added in v0.1.65

func (x *RelayCheck) String() string

type RelayCountryHint added in v0.1.65

type RelayCountryHint struct {

	// "ok", "partial", "blocked" (also tcp_blocked), "listed" or "no_data".
	Verdict string `protobuf:"bytes,1,opt,name=verdict,proto3" json:"verdict,omitempty"`
	// Networks that see the exit dark (the vantages with state dark), sorted.
	Dark   []string `protobuf:"bytes,2,rep,name=dark,proto3" json:"dark,omitempty"`
	AtUnix int64    `protobuf:"varint,3,opt,name=at_unix,json=atUnix,proto3" json:"at_unix,omitempty"`
	// contains filtered or unexported fields
}

The panel's knowledge about the exit's country check, from the whole country-check machinery (Globalping, the TSPU probe, the lists). "no_data" when it has none.

func (*RelayCountryHint) Descriptor deprecated added in v0.1.65

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

Deprecated: Use RelayCountryHint.ProtoReflect.Descriptor instead.

func (*RelayCountryHint) GetAtUnix added in v0.1.65

func (x *RelayCountryHint) GetAtUnix() int64

func (*RelayCountryHint) GetDark added in v0.1.65

func (x *RelayCountryHint) GetDark() []string

func (*RelayCountryHint) GetVerdict added in v0.1.65

func (x *RelayCountryHint) GetVerdict() string

func (*RelayCountryHint) ProtoMessage added in v0.1.65

func (*RelayCountryHint) ProtoMessage()

func (*RelayCountryHint) ProtoReflect added in v0.1.65

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

func (*RelayCountryHint) Reset added in v0.1.65

func (x *RelayCountryHint) Reset()

func (*RelayCountryHint) String added in v0.1.65

func (x *RelayCountryHint) String() string

type RelayMonitor added in v0.1.65

type RelayMonitor struct {
	AtUnix int64 `protobuf:"varint,1,opt,name=at_unix,json=atUnix,proto3" json:"at_unix,omitempty"`
	Ok     bool  `protobuf:"varint,2,opt,name=ok,proto3" json:"ok,omitempty"`
	// The stage that failed: "leg", "entry", "path", "freeze", or "" when ok.
	Stage string `protobuf:"bytes,3,opt,name=stage,proto3" json:"stage,omitempty"`
	// Why, in the codes of RelayStage where they apply.
	Code string `protobuf:"bytes,4,opt,name=code,proto3" json:"code,omitempty"`
	// A request through the forward, as response_ms of the client-eye checks.
	ResponseMs uint32 `protobuf:"varint,5,opt,name=response_ms,json=responseMs,proto3" json:"response_ms,omitempty"`
	// Consecutive failed rounds.
	FailStreak uint32 `protobuf:"varint,6,opt,name=fail_streak,json=failStreak,proto3" json:"fail_streak,omitempty"`
	// contains filtered or unexported fields
}

A client-eye round through a relay: the panel's checker connects to the entry's forwarded port as an app would and moves enough data (at least 64 KB) to see a transfer that stalls after the first kilobytes.

func (*RelayMonitor) Descriptor deprecated added in v0.1.65

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

Deprecated: Use RelayMonitor.ProtoReflect.Descriptor instead.

func (*RelayMonitor) GetAtUnix added in v0.1.65

func (x *RelayMonitor) GetAtUnix() int64

func (*RelayMonitor) GetCode added in v0.1.65

func (x *RelayMonitor) GetCode() string

func (*RelayMonitor) GetFailStreak added in v0.1.65

func (x *RelayMonitor) GetFailStreak() uint32

func (*RelayMonitor) GetOk added in v0.1.65

func (x *RelayMonitor) GetOk() bool

func (*RelayMonitor) GetResponseMs added in v0.1.65

func (x *RelayMonitor) GetResponseMs() uint32

func (*RelayMonitor) GetStage added in v0.1.65

func (x *RelayMonitor) GetStage() string

func (*RelayMonitor) ProtoMessage added in v0.1.65

func (*RelayMonitor) ProtoMessage()

func (*RelayMonitor) ProtoReflect added in v0.1.65

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

func (*RelayMonitor) Reset added in v0.1.65

func (x *RelayMonitor) Reset()

func (*RelayMonitor) String added in v0.1.65

func (x *RelayMonitor) String() string

type RelayReachHint added in v0.1.65

type RelayReachHint struct {

	// "reach", "partial", "blocked" or "no_data".
	Verdict string `protobuf:"bytes,1,opt,name=verdict,proto3" json:"verdict,omitempty"`
	// "tspu_row": the probe's row for the exit from this entry. "refs_pass": the probe found no TSPU on this entry's path
	// (a blocked reference answers), so nothing is cut here. "" with no_data.
	Source string `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"`
	AtUnix int64  `protobuf:"varint,3,opt,name=at_unix,json=atUnix,proto3" json:"at_unix,omitempty"`
	// contains filtered or unexported fields
}

Does the entry reach the exit? Known only when the TSPU probe ran from this entry node.

func (*RelayReachHint) Descriptor deprecated added in v0.1.65

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

Deprecated: Use RelayReachHint.ProtoReflect.Descriptor instead.

func (*RelayReachHint) GetAtUnix added in v0.1.65

func (x *RelayReachHint) GetAtUnix() int64

func (*RelayReachHint) GetSource added in v0.1.65

func (x *RelayReachHint) GetSource() string

func (*RelayReachHint) GetVerdict added in v0.1.65

func (x *RelayReachHint) GetVerdict() string

func (*RelayReachHint) ProtoMessage added in v0.1.65

func (*RelayReachHint) ProtoMessage()

func (*RelayReachHint) ProtoReflect added in v0.1.65

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

func (*RelayReachHint) Reset added in v0.1.65

func (x *RelayReachHint) Reset()

func (*RelayReachHint) String added in v0.1.65

func (x *RelayReachHint) String() string

type RelayStage added in v0.1.65

type RelayStage struct {

	// "ok", "fail", "skipped" or "" (did not run).
	Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	// Why it failed, or was skipped. Failed: "node_offline", "agent_too_old", "exit_offline", "no_sender", "no_route", "busy",
	// "failed", "refused" and "timeout" (a TCP port that answers nothing), "other" (a TCP port that answers, but not
	// Mistgate), "lossy" and "broken" (UDP counted at the exit: 70-95 % and under 70 % of the packets), "same_host" (only the
	// panel could send and it runs on the entry or the exit), "spec" (the server's settings do not build), "apply_failed" and
	// "apply_timeout" (the entry did not install the forward), "switched_off" (someone switched the relay off while it was
	// waited for). Skipped: "unverifiable" (the server has no name to attribute the TLS identity to this node), "off" (the relay
	// is not switched on, so there is no forward to reach), "leg_failed".
	Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"`
	// The node that sent the probe (its id), or "panel".
	SenderId   string `protobuf:"bytes,3,opt,name=sender_id,json=senderId,proto3" json:"sender_id,omitempty"`
	SenderName string `protobuf:"bytes,4,opt,name=sender_name,json=senderName,proto3" json:"sender_name,omitempty"`
	// TCP: "ours", "other", "refused" or "timeout"; UDP: "ok", "lossy" or "broken".
	Verdict string `protobuf:"bytes,5,opt,name=verdict,proto3" json:"verdict,omitempty"`
	// UDP only: packets sent and counted by the exit.
	Sent   uint32 `protobuf:"varint,6,opt,name=sent,proto3" json:"sent,omitempty"`
	Got    uint32 `protobuf:"varint,7,opt,name=got,proto3" json:"got,omitempty"`
	AtUnix int64  `protobuf:"varint,8,opt,name=at_unix,json=atUnix,proto3" json:"at_unix,omitempty"`
	// contains filtered or unexported fields
}

One stage of a check.

func (*RelayStage) Descriptor deprecated added in v0.1.65

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

Deprecated: Use RelayStage.ProtoReflect.Descriptor instead.

func (*RelayStage) GetAtUnix added in v0.1.65

func (x *RelayStage) GetAtUnix() int64

func (*RelayStage) GetCode added in v0.1.65

func (x *RelayStage) GetCode() string

func (*RelayStage) GetGot added in v0.1.65

func (x *RelayStage) GetGot() uint32

func (*RelayStage) GetSenderId added in v0.1.65

func (x *RelayStage) GetSenderId() string

func (*RelayStage) GetSenderName added in v0.1.65

func (x *RelayStage) GetSenderName() string

func (*RelayStage) GetSent added in v0.1.65

func (x *RelayStage) GetSent() uint32

func (*RelayStage) GetStatus added in v0.1.65

func (x *RelayStage) GetStatus() string

func (*RelayStage) GetVerdict added in v0.1.65

func (x *RelayStage) GetVerdict() string

func (*RelayStage) ProtoMessage added in v0.1.65

func (*RelayStage) ProtoMessage()

func (*RelayStage) ProtoReflect added in v0.1.65

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

func (*RelayStage) Reset added in v0.1.65

func (x *RelayStage) Reset()

func (*RelayStage) String added in v0.1.65

func (x *RelayStage) String() string

type ReleaseNote added in v0.1.39

type ReleaseNote struct {

	// The release tag, "v0.1.38".
	Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	// The release page on GitHub (https://github.com/Mistgate/mistgate/releases/tag/<version>).
	Url           string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
	PublishedUnix int64  `protobuf:"varint,3,opt,name=published_unix,json=publishedUnix,proto3" json:"published_unix,omitempty"`
	// The notes in markdown per language; an empty one means the release has none in it and the SPA falls back to English.
	En string `protobuf:"bytes,4,opt,name=en,proto3" json:"en,omitempty"`
	Ru string `protobuf:"bytes,5,opt,name=ru,proto3" json:"ru,omitempty"`
	Zh string `protobuf:"bytes,6,opt,name=zh,proto3" json:"zh,omitempty"`
	// A heading "Security", "Безопасность" or "安全" (any level) is in the notes: the SPA badges the release and tells the
	// owner it is worth updating soon.
	Security bool `protobuf:"varint,7,opt,name=security,proto3" json:"security,omitempty"`
	// The release channel encoded by version: stable, testing or dev.
	Channel string `protobuf:"bytes,8,opt,name=channel,proto3" json:"channel,omitempty"`
	// contains filtered or unexported fields
}

The notes of one GitHub release, as the maintainers wrote them in the release description. They are INFORMATIONAL and NOT signed (the signed things are the manifests): the panel reads them over HTTPS from the official repository, like the release check, and the SPA renders them with its own tiny markdown renderer, never as HTML. A description is an English part, a line "---", a Russian part and, from the releases that follow, another "---" and a Simplified Chinese part; the panel splits it on lines that are exactly "---" and gives each part the language of its script, not of its position. The "Full Changelog" line is dropped.

func (*ReleaseNote) Descriptor deprecated added in v0.1.39

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

Deprecated: Use ReleaseNote.ProtoReflect.Descriptor instead.

func (*ReleaseNote) GetChannel added in v0.1.80

func (x *ReleaseNote) GetChannel() string

func (*ReleaseNote) GetEn added in v0.1.39

func (x *ReleaseNote) GetEn() string

func (*ReleaseNote) GetPublishedUnix added in v0.1.39

func (x *ReleaseNote) GetPublishedUnix() int64

func (*ReleaseNote) GetRu added in v0.1.39

func (x *ReleaseNote) GetRu() string

func (*ReleaseNote) GetSecurity added in v0.1.39

func (x *ReleaseNote) GetSecurity() bool

func (*ReleaseNote) GetUrl added in v0.1.39

func (x *ReleaseNote) GetUrl() string

func (*ReleaseNote) GetVersion added in v0.1.39

func (x *ReleaseNote) GetVersion() string

func (*ReleaseNote) GetZh added in v0.1.39

func (x *ReleaseNote) GetZh() string

func (*ReleaseNote) ProtoMessage added in v0.1.39

func (*ReleaseNote) ProtoMessage()

func (*ReleaseNote) ProtoReflect added in v0.1.39

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

func (*ReleaseNote) Reset added in v0.1.39

func (x *ReleaseNote) Reset()

func (*ReleaseNote) String added in v0.1.39

func (x *ReleaseNote) String() string

type RemoveNodeServerKeyRequest added in v0.1.74

type RemoveNodeServerKeyRequest struct {
	NodeId          string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	Fingerprint     string `protobuf:"bytes,2,opt,name=fingerprint,proto3" json:"fingerprint,omitempty"`
	Confirm         bool   `protobuf:"varint,3,opt,name=confirm,proto3" json:"confirm,omitempty"`
	ConfirmPanelKey bool   `protobuf:"varint,4,opt,name=confirm_panel_key,json=confirmPanelKey,proto3" json:"confirm_panel_key,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveNodeServerKeyRequest) Descriptor deprecated added in v0.1.74

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

Deprecated: Use RemoveNodeServerKeyRequest.ProtoReflect.Descriptor instead.

func (*RemoveNodeServerKeyRequest) GetConfirm added in v0.1.74

func (x *RemoveNodeServerKeyRequest) GetConfirm() bool

func (*RemoveNodeServerKeyRequest) GetConfirmPanelKey added in v0.1.74

func (x *RemoveNodeServerKeyRequest) GetConfirmPanelKey() bool

func (*RemoveNodeServerKeyRequest) GetFingerprint added in v0.1.74

func (x *RemoveNodeServerKeyRequest) GetFingerprint() string

func (*RemoveNodeServerKeyRequest) GetNodeId added in v0.1.74

func (x *RemoveNodeServerKeyRequest) GetNodeId() string

func (*RemoveNodeServerKeyRequest) ProtoMessage added in v0.1.74

func (*RemoveNodeServerKeyRequest) ProtoMessage()

func (*RemoveNodeServerKeyRequest) ProtoReflect added in v0.1.74

func (*RemoveNodeServerKeyRequest) Reset added in v0.1.74

func (x *RemoveNodeServerKeyRequest) Reset()

func (*RemoveNodeServerKeyRequest) String added in v0.1.74

func (x *RemoveNodeServerKeyRequest) String() string

type RemoveNodeServerKeyResponse added in v0.1.74

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

func (*RemoveNodeServerKeyResponse) Descriptor deprecated added in v0.1.74

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

Deprecated: Use RemoveNodeServerKeyResponse.ProtoReflect.Descriptor instead.

func (*RemoveNodeServerKeyResponse) ProtoMessage added in v0.1.74

func (*RemoveNodeServerKeyResponse) ProtoMessage()

func (*RemoveNodeServerKeyResponse) ProtoReflect added in v0.1.74

func (*RemoveNodeServerKeyResponse) Reset added in v0.1.74

func (x *RemoveNodeServerKeyResponse) Reset()

func (*RemoveNodeServerKeyResponse) String added in v0.1.74

func (x *RemoveNodeServerKeyResponse) String() string

type RemovePasskeyRequest

type RemovePasskeyRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*RemovePasskeyRequest) Descriptor deprecated

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

Deprecated: Use RemovePasskeyRequest.ProtoReflect.Descriptor instead.

func (*RemovePasskeyRequest) GetId

func (x *RemovePasskeyRequest) GetId() string

func (*RemovePasskeyRequest) ProtoMessage

func (*RemovePasskeyRequest) ProtoMessage()

func (*RemovePasskeyRequest) ProtoReflect

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

func (*RemovePasskeyRequest) Reset

func (x *RemovePasskeyRequest) Reset()

func (*RemovePasskeyRequest) String

func (x *RemovePasskeyRequest) String() string

type RemovePasskeyResponse

type RemovePasskeyResponse struct {
	// contains filtered or unexported fields
}

func (*RemovePasskeyResponse) Descriptor deprecated

func (*RemovePasskeyResponse) Descriptor() ([]byte, []int)

Deprecated: Use RemovePasskeyResponse.ProtoReflect.Descriptor instead.

func (*RemovePasskeyResponse) ProtoMessage

func (*RemovePasskeyResponse) ProtoMessage()

func (*RemovePasskeyResponse) ProtoReflect

func (x *RemovePasskeyResponse) ProtoReflect() protoreflect.Message

func (*RemovePasskeyResponse) Reset

func (x *RemovePasskeyResponse) Reset()

func (*RemovePasskeyResponse) String

func (x *RemovePasskeyResponse) String() string

type RenameDeviceRequest

type RenameDeviceRequest struct {
	DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
	Label    string `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"`
	// contains filtered or unexported fields
}

func (*RenameDeviceRequest) Descriptor deprecated

func (*RenameDeviceRequest) Descriptor() ([]byte, []int)

Deprecated: Use RenameDeviceRequest.ProtoReflect.Descriptor instead.

func (*RenameDeviceRequest) GetDeviceId

func (x *RenameDeviceRequest) GetDeviceId() string

func (*RenameDeviceRequest) GetLabel

func (x *RenameDeviceRequest) GetLabel() string

func (*RenameDeviceRequest) ProtoMessage

func (*RenameDeviceRequest) ProtoMessage()

func (*RenameDeviceRequest) ProtoReflect

func (x *RenameDeviceRequest) ProtoReflect() protoreflect.Message

func (*RenameDeviceRequest) Reset

func (x *RenameDeviceRequest) Reset()

func (*RenameDeviceRequest) String

func (x *RenameDeviceRequest) String() string

type RenameDeviceResponse

type RenameDeviceResponse struct {
	Device *Device `protobuf:"bytes,1,opt,name=device,proto3" json:"device,omitempty"`
	// contains filtered or unexported fields
}

func (*RenameDeviceResponse) Descriptor deprecated

func (*RenameDeviceResponse) Descriptor() ([]byte, []int)

Deprecated: Use RenameDeviceResponse.ProtoReflect.Descriptor instead.

func (*RenameDeviceResponse) GetDevice

func (x *RenameDeviceResponse) GetDevice() *Device

func (*RenameDeviceResponse) ProtoMessage

func (*RenameDeviceResponse) ProtoMessage()

func (*RenameDeviceResponse) ProtoReflect

func (x *RenameDeviceResponse) ProtoReflect() protoreflect.Message

func (*RenameDeviceResponse) Reset

func (x *RenameDeviceResponse) Reset()

func (*RenameDeviceResponse) String

func (x *RenameDeviceResponse) String() string

type RescanBundleRequest

type RescanBundleRequest struct {
	// contains filtered or unexported fields
}

func (*RescanBundleRequest) Descriptor deprecated

func (*RescanBundleRequest) Descriptor() ([]byte, []int)

Deprecated: Use RescanBundleRequest.ProtoReflect.Descriptor instead.

func (*RescanBundleRequest) ProtoMessage

func (*RescanBundleRequest) ProtoMessage()

func (*RescanBundleRequest) ProtoReflect

func (x *RescanBundleRequest) ProtoReflect() protoreflect.Message

func (*RescanBundleRequest) Reset

func (x *RescanBundleRequest) Reset()

func (*RescanBundleRequest) String

func (x *RescanBundleRequest) String() string

type RescanBundleResponse

type RescanBundleResponse struct {
	Bundle *Bundle `protobuf:"bytes,1,opt,name=bundle,proto3" json:"bundle,omitempty"`
	// contains filtered or unexported fields
}

func (*RescanBundleResponse) Descriptor deprecated

func (*RescanBundleResponse) Descriptor() ([]byte, []int)

Deprecated: Use RescanBundleResponse.ProtoReflect.Descriptor instead.

func (*RescanBundleResponse) GetBundle

func (x *RescanBundleResponse) GetBundle() *Bundle

func (*RescanBundleResponse) ProtoMessage

func (*RescanBundleResponse) ProtoMessage()

func (*RescanBundleResponse) ProtoReflect

func (x *RescanBundleResponse) ProtoReflect() protoreflect.Message

func (*RescanBundleResponse) Reset

func (x *RescanBundleResponse) Reset()

func (*RescanBundleResponse) String

func (x *RescanBundleResponse) String() string

type ResetUserDnsChoicesRequest added in v0.1.17

type ResetUserDnsChoicesRequest struct {
	UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ResetUserDnsChoicesRequest) Descriptor deprecated added in v0.1.17

func (*ResetUserDnsChoicesRequest) Descriptor() ([]byte, []int)

Deprecated: Use ResetUserDnsChoicesRequest.ProtoReflect.Descriptor instead.

func (*ResetUserDnsChoicesRequest) GetUserId added in v0.1.17

func (x *ResetUserDnsChoicesRequest) GetUserId() string

func (*ResetUserDnsChoicesRequest) ProtoMessage added in v0.1.17

func (*ResetUserDnsChoicesRequest) ProtoMessage()

func (*ResetUserDnsChoicesRequest) ProtoReflect added in v0.1.17

func (*ResetUserDnsChoicesRequest) Reset added in v0.1.17

func (x *ResetUserDnsChoicesRequest) Reset()

func (*ResetUserDnsChoicesRequest) String added in v0.1.17

func (x *ResetUserDnsChoicesRequest) String() string

type ResetUserDnsChoicesResponse added in v0.1.17

type ResetUserDnsChoicesResponse struct {

	// How many picks were removed, the one for the link apps included.
	Removed uint32 `protobuf:"varint,1,opt,name=removed,proto3" json:"removed,omitempty"`
	// contains filtered or unexported fields
}

func (*ResetUserDnsChoicesResponse) Descriptor deprecated added in v0.1.17

func (*ResetUserDnsChoicesResponse) Descriptor() ([]byte, []int)

Deprecated: Use ResetUserDnsChoicesResponse.ProtoReflect.Descriptor instead.

func (*ResetUserDnsChoicesResponse) GetRemoved added in v0.1.17

func (x *ResetUserDnsChoicesResponse) GetRemoved() uint32

func (*ResetUserDnsChoicesResponse) ProtoMessage added in v0.1.17

func (*ResetUserDnsChoicesResponse) ProtoMessage()

func (*ResetUserDnsChoicesResponse) ProtoReflect added in v0.1.17

func (*ResetUserDnsChoicesResponse) Reset added in v0.1.17

func (x *ResetUserDnsChoicesResponse) Reset()

func (*ResetUserDnsChoicesResponse) String added in v0.1.17

func (x *ResetUserDnsChoicesResponse) String() string

type ResetUserTrafficRequest

type ResetUserTrafficRequest struct {
	UserIds []string `protobuf:"bytes,1,rep,name=user_ids,json=userIds,proto3" json:"user_ids,omitempty"`
	// contains filtered or unexported fields
}

func (*ResetUserTrafficRequest) Descriptor deprecated

func (*ResetUserTrafficRequest) Descriptor() ([]byte, []int)

Deprecated: Use ResetUserTrafficRequest.ProtoReflect.Descriptor instead.

func (*ResetUserTrafficRequest) GetUserIds

func (x *ResetUserTrafficRequest) GetUserIds() []string

func (*ResetUserTrafficRequest) ProtoMessage

func (*ResetUserTrafficRequest) ProtoMessage()

func (*ResetUserTrafficRequest) ProtoReflect

func (x *ResetUserTrafficRequest) ProtoReflect() protoreflect.Message

func (*ResetUserTrafficRequest) Reset

func (x *ResetUserTrafficRequest) Reset()

func (*ResetUserTrafficRequest) String

func (x *ResetUserTrafficRequest) String() string

type ResetUserTrafficResponse

type ResetUserTrafficResponse struct {
	Users []*User `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"`
	// contains filtered or unexported fields
}

func (*ResetUserTrafficResponse) Descriptor deprecated

func (*ResetUserTrafficResponse) Descriptor() ([]byte, []int)

Deprecated: Use ResetUserTrafficResponse.ProtoReflect.Descriptor instead.

func (*ResetUserTrafficResponse) GetUsers

func (x *ResetUserTrafficResponse) GetUsers() []*User

func (*ResetUserTrafficResponse) ProtoMessage

func (*ResetUserTrafficResponse) ProtoMessage()

func (*ResetUserTrafficResponse) ProtoReflect

func (x *ResetUserTrafficResponse) ProtoReflect() protoreflect.Message

func (*ResetUserTrafficResponse) Reset

func (x *ResetUserTrafficResponse) Reset()

func (*ResetUserTrafficResponse) String

func (x *ResetUserTrafficResponse) String() string

type RestartInboundsRequest

type RestartInboundsRequest struct {
	NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	// Empty = all inbounds of the node.
	InboundId string `protobuf:"bytes,2,opt,name=inbound_id,json=inboundId,proto3" json:"inbound_id,omitempty"`
	// contains filtered or unexported fields
}

func (*RestartInboundsRequest) Descriptor deprecated

func (*RestartInboundsRequest) Descriptor() ([]byte, []int)

Deprecated: Use RestartInboundsRequest.ProtoReflect.Descriptor instead.

func (*RestartInboundsRequest) GetInboundId

func (x *RestartInboundsRequest) GetInboundId() string

func (*RestartInboundsRequest) GetNodeId

func (x *RestartInboundsRequest) GetNodeId() string

func (*RestartInboundsRequest) ProtoMessage

func (*RestartInboundsRequest) ProtoMessage()

func (*RestartInboundsRequest) ProtoReflect

func (x *RestartInboundsRequest) ProtoReflect() protoreflect.Message

func (*RestartInboundsRequest) Reset

func (x *RestartInboundsRequest) Reset()

func (*RestartInboundsRequest) String

func (x *RestartInboundsRequest) String() string

type RestartInboundsResponse

type RestartInboundsResponse struct {

	// Inbounds restarted. Fails with FAILED_PRECONDITION if the node is not connected.
	Restarted uint32 `protobuf:"varint,1,opt,name=restarted,proto3" json:"restarted,omitempty"`
	// contains filtered or unexported fields
}

func (*RestartInboundsResponse) Descriptor deprecated

func (*RestartInboundsResponse) Descriptor() ([]byte, []int)

Deprecated: Use RestartInboundsResponse.ProtoReflect.Descriptor instead.

func (*RestartInboundsResponse) GetRestarted

func (x *RestartInboundsResponse) GetRestarted() uint32

func (*RestartInboundsResponse) ProtoMessage

func (*RestartInboundsResponse) ProtoMessage()

func (*RestartInboundsResponse) ProtoReflect

func (x *RestartInboundsResponse) ProtoReflect() protoreflect.Message

func (*RestartInboundsResponse) Reset

func (x *RestartInboundsResponse) Reset()

func (*RestartInboundsResponse) String

func (x *RestartInboundsResponse) String() string

type RestartWarpRequest

type RestartWarpRequest struct {
	NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	// contains filtered or unexported fields
}

func (*RestartWarpRequest) Descriptor deprecated

func (*RestartWarpRequest) Descriptor() ([]byte, []int)

Deprecated: Use RestartWarpRequest.ProtoReflect.Descriptor instead.

func (*RestartWarpRequest) GetNodeId

func (x *RestartWarpRequest) GetNodeId() string

func (*RestartWarpRequest) ProtoMessage

func (*RestartWarpRequest) ProtoMessage()

func (*RestartWarpRequest) ProtoReflect

func (x *RestartWarpRequest) ProtoReflect() protoreflect.Message

func (*RestartWarpRequest) Reset

func (x *RestartWarpRequest) Reset()

func (*RestartWarpRequest) String

func (x *RestartWarpRequest) String() string

type RestartWarpResponse

type RestartWarpResponse struct {
	Account *WarpAccount `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	// The node confirmed the pause before the resume went out (false: it did not answer in time, the resume went out
	// anyway).
	Confirmed bool `protobuf:"varint,2,opt,name=confirmed,proto3" json:"confirmed,omitempty"`
	// contains filtered or unexported fields
}

func (*RestartWarpResponse) Descriptor deprecated

func (*RestartWarpResponse) Descriptor() ([]byte, []int)

Deprecated: Use RestartWarpResponse.ProtoReflect.Descriptor instead.

func (*RestartWarpResponse) GetAccount

func (x *RestartWarpResponse) GetAccount() *WarpAccount

func (*RestartWarpResponse) GetConfirmed

func (x *RestartWarpResponse) GetConfirmed() bool

func (*RestartWarpResponse) ProtoMessage

func (*RestartWarpResponse) ProtoMessage()

func (*RestartWarpResponse) ProtoReflect

func (x *RestartWarpResponse) ProtoReflect() protoreflect.Message

func (*RestartWarpResponse) Reset

func (x *RestartWarpResponse) Reset()

func (*RestartWarpResponse) String

func (x *RestartWarpResponse) String() string

type RestoreSummary added in v0.1.80

type RestoreSummary struct {
	PanelName       string `protobuf:"bytes,1,opt,name=panel_name,json=panelName,proto3" json:"panel_name,omitempty"`
	MadeByVersion   string `protobuf:"bytes,2,opt,name=made_by_version,json=madeByVersion,proto3" json:"made_by_version,omitempty"`
	CreatedUnix     int64  `protobuf:"varint,3,opt,name=created_unix,json=createdUnix,proto3" json:"created_unix,omitempty"`
	BackupNodes     int64  `protobuf:"varint,4,opt,name=backup_nodes,json=backupNodes,proto3" json:"backup_nodes,omitempty"`
	BackupUsers     int64  `protobuf:"varint,5,opt,name=backup_users,json=backupUsers,proto3" json:"backup_users,omitempty"`
	BackupProfiles  int64  `protobuf:"varint,6,opt,name=backup_profiles,json=backupProfiles,proto3" json:"backup_profiles,omitempty"`
	CurrentNodes    int64  `protobuf:"varint,7,opt,name=current_nodes,json=currentNodes,proto3" json:"current_nodes,omitempty"`
	CurrentUsers    int64  `protobuf:"varint,8,opt,name=current_users,json=currentUsers,proto3" json:"current_users,omitempty"`
	CurrentProfiles int64  `protobuf:"varint,9,opt,name=current_profiles,json=currentProfiles,proto3" json:"current_profiles,omitempty"`
	// contains filtered or unexported fields
}

func (*RestoreSummary) Descriptor deprecated added in v0.1.80

func (*RestoreSummary) Descriptor() ([]byte, []int)

Deprecated: Use RestoreSummary.ProtoReflect.Descriptor instead.

func (*RestoreSummary) GetBackupNodes added in v0.1.80

func (x *RestoreSummary) GetBackupNodes() int64

func (*RestoreSummary) GetBackupProfiles added in v0.1.80

func (x *RestoreSummary) GetBackupProfiles() int64

func (*RestoreSummary) GetBackupUsers added in v0.1.80

func (x *RestoreSummary) GetBackupUsers() int64

func (*RestoreSummary) GetCreatedUnix added in v0.1.80

func (x *RestoreSummary) GetCreatedUnix() int64

func (*RestoreSummary) GetCurrentNodes added in v0.1.80

func (x *RestoreSummary) GetCurrentNodes() int64

func (*RestoreSummary) GetCurrentProfiles added in v0.1.80

func (x *RestoreSummary) GetCurrentProfiles() int64

func (*RestoreSummary) GetCurrentUsers added in v0.1.80

func (x *RestoreSummary) GetCurrentUsers() int64

func (*RestoreSummary) GetMadeByVersion added in v0.1.80

func (x *RestoreSummary) GetMadeByVersion() string

func (*RestoreSummary) GetPanelName added in v0.1.80

func (x *RestoreSummary) GetPanelName() string

func (*RestoreSummary) ProtoMessage added in v0.1.80

func (*RestoreSummary) ProtoMessage()

func (*RestoreSummary) ProtoReflect added in v0.1.80

func (x *RestoreSummary) ProtoReflect() protoreflect.Message

func (*RestoreSummary) Reset added in v0.1.80

func (x *RestoreSummary) Reset()

func (*RestoreSummary) String added in v0.1.80

func (x *RestoreSummary) String() string

type ResumeRolloutRequest

type ResumeRolloutRequest struct {
	RolloutId string `protobuf:"bytes,1,opt,name=rollout_id,json=rolloutId,proto3" json:"rollout_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ResumeRolloutRequest) Descriptor deprecated

func (*ResumeRolloutRequest) Descriptor() ([]byte, []int)

Deprecated: Use ResumeRolloutRequest.ProtoReflect.Descriptor instead.

func (*ResumeRolloutRequest) GetRolloutId

func (x *ResumeRolloutRequest) GetRolloutId() string

func (*ResumeRolloutRequest) ProtoMessage

func (*ResumeRolloutRequest) ProtoMessage()

func (*ResumeRolloutRequest) ProtoReflect

func (x *ResumeRolloutRequest) ProtoReflect() protoreflect.Message

func (*ResumeRolloutRequest) Reset

func (x *ResumeRolloutRequest) Reset()

func (*ResumeRolloutRequest) String

func (x *ResumeRolloutRequest) String() string

type ResumeRolloutResponse

type ResumeRolloutResponse struct {
	Rollout *Rollout `protobuf:"bytes,1,opt,name=rollout,proto3" json:"rollout,omitempty"`
	// contains filtered or unexported fields
}

func (*ResumeRolloutResponse) Descriptor deprecated

func (*ResumeRolloutResponse) Descriptor() ([]byte, []int)

Deprecated: Use ResumeRolloutResponse.ProtoReflect.Descriptor instead.

func (*ResumeRolloutResponse) GetRollout

func (x *ResumeRolloutResponse) GetRollout() *Rollout

func (*ResumeRolloutResponse) ProtoMessage

func (*ResumeRolloutResponse) ProtoMessage()

func (*ResumeRolloutResponse) ProtoReflect

func (x *ResumeRolloutResponse) ProtoReflect() protoreflect.Message

func (*ResumeRolloutResponse) Reset

func (x *ResumeRolloutResponse) Reset()

func (*ResumeRolloutResponse) String

func (x *ResumeRolloutResponse) String() string

type RetireNodeRequest

type RetireNodeRequest struct {
	NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	// The node name typed by the admin; must equal the current name.
	ConfirmName string `protobuf:"bytes,2,opt,name=confirm_name,json=confirmName,proto3" json:"confirm_name,omitempty"`
	// contains filtered or unexported fields
}

func (*RetireNodeRequest) Descriptor deprecated

func (*RetireNodeRequest) Descriptor() ([]byte, []int)

Deprecated: Use RetireNodeRequest.ProtoReflect.Descriptor instead.

func (*RetireNodeRequest) GetConfirmName

func (x *RetireNodeRequest) GetConfirmName() string

func (*RetireNodeRequest) GetNodeId

func (x *RetireNodeRequest) GetNodeId() string

func (*RetireNodeRequest) ProtoMessage

func (*RetireNodeRequest) ProtoMessage()

func (*RetireNodeRequest) ProtoReflect

func (x *RetireNodeRequest) ProtoReflect() protoreflect.Message

func (*RetireNodeRequest) Reset

func (x *RetireNodeRequest) Reset()

func (*RetireNodeRequest) String

func (x *RetireNodeRequest) String() string

type RetireNodeResponse

type RetireNodeResponse struct {

	// false if the agent was offline; it cannot reconnect anyway (its certificate is revoked).
	AgentNotified bool `protobuf:"varint,1,opt,name=agent_notified,json=agentNotified,proto3" json:"agent_notified,omitempty"`
	// contains filtered or unexported fields
}

func (*RetireNodeResponse) Descriptor deprecated

func (*RetireNodeResponse) Descriptor() ([]byte, []int)

Deprecated: Use RetireNodeResponse.ProtoReflect.Descriptor instead.

func (*RetireNodeResponse) GetAgentNotified

func (x *RetireNodeResponse) GetAgentNotified() bool

func (*RetireNodeResponse) ProtoMessage

func (*RetireNodeResponse) ProtoMessage()

func (*RetireNodeResponse) ProtoReflect

func (x *RetireNodeResponse) ProtoReflect() protoreflect.Message

func (*RetireNodeResponse) Reset

func (x *RetireNodeResponse) Reset()

func (*RetireNodeResponse) String

func (x *RetireNodeResponse) String() string

type RetryNodeProvisionRequest

type RetryNodeProvisionRequest struct {
	JobId          string `protobuf:"bytes,1,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"`
	ConfirmInstall bool   `protobuf:"varint,2,opt,name=confirm_install,json=confirmInstall,proto3" json:"confirm_install,omitempty"`
	Password       string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"`
	SshUsername    string `protobuf:"bytes,4,opt,name=ssh_username,json=sshUsername,proto3" json:"ssh_username,omitempty"`
	// When true, password must be empty and the panel key is used.
	UsePanelKey          bool   `protobuf:"varint,5,opt,name=use_panel_key,json=usePanelKey,proto3" json:"use_panel_key,omitempty"`
	PrivateKey           string `protobuf:"bytes,6,opt,name=private_key,json=privateKey,proto3" json:"private_key,omitempty"`
	PrivateKeyPassphrase string `protobuf:"bytes,7,opt,name=private_key_passphrase,json=privateKeyPassphrase,proto3" json:"private_key_passphrase,omitempty"`
	// When true, the panel key is added and verified before access is saved.
	InstallPanelKey bool `protobuf:"varint,8,opt,name=install_panel_key,json=installPanelKey,proto3" json:"install_panel_key,omitempty"`
	// contains filtered or unexported fields
}

func (*RetryNodeProvisionRequest) Descriptor deprecated

func (*RetryNodeProvisionRequest) Descriptor() ([]byte, []int)

Deprecated: Use RetryNodeProvisionRequest.ProtoReflect.Descriptor instead.

func (*RetryNodeProvisionRequest) GetConfirmInstall

func (x *RetryNodeProvisionRequest) GetConfirmInstall() bool

func (*RetryNodeProvisionRequest) GetInstallPanelKey added in v0.1.74

func (x *RetryNodeProvisionRequest) GetInstallPanelKey() bool

func (*RetryNodeProvisionRequest) GetJobId

func (x *RetryNodeProvisionRequest) GetJobId() string

func (*RetryNodeProvisionRequest) GetPassword

func (x *RetryNodeProvisionRequest) GetPassword() string

func (*RetryNodeProvisionRequest) GetPrivateKey added in v0.1.74

func (x *RetryNodeProvisionRequest) GetPrivateKey() string

func (*RetryNodeProvisionRequest) GetPrivateKeyPassphrase added in v0.1.74

func (x *RetryNodeProvisionRequest) GetPrivateKeyPassphrase() string

func (*RetryNodeProvisionRequest) GetSshUsername

func (x *RetryNodeProvisionRequest) GetSshUsername() string

func (*RetryNodeProvisionRequest) GetUsePanelKey added in v0.1.74

func (x *RetryNodeProvisionRequest) GetUsePanelKey() bool

func (*RetryNodeProvisionRequest) ProtoMessage

func (*RetryNodeProvisionRequest) ProtoMessage()

func (*RetryNodeProvisionRequest) ProtoReflect

func (*RetryNodeProvisionRequest) Reset

func (x *RetryNodeProvisionRequest) Reset()

func (*RetryNodeProvisionRequest) String

func (x *RetryNodeProvisionRequest) String() string

type RetryNodeProvisionResponse

type RetryNodeProvisionResponse struct {
	Job *NodeProvisionJob `protobuf:"bytes,1,opt,name=job,proto3" json:"job,omitempty"`
	// contains filtered or unexported fields
}

func (*RetryNodeProvisionResponse) Descriptor deprecated

func (*RetryNodeProvisionResponse) Descriptor() ([]byte, []int)

Deprecated: Use RetryNodeProvisionResponse.ProtoReflect.Descriptor instead.

func (*RetryNodeProvisionResponse) GetJob

func (*RetryNodeProvisionResponse) ProtoMessage

func (*RetryNodeProvisionResponse) ProtoMessage()

func (*RetryNodeProvisionResponse) ProtoReflect

func (*RetryNodeProvisionResponse) Reset

func (x *RetryNodeProvisionResponse) Reset()

func (*RetryNodeProvisionResponse) String

func (x *RetryNodeProvisionResponse) String() string

type RevealNodeServerPasswordRequest added in v0.1.1

type RevealNodeServerPasswordRequest struct {
	NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	// contains filtered or unexported fields
}

Owner-only, step-up protected retrieval. This procedure is deliberately not exposed as an MCP tool.

func (*RevealNodeServerPasswordRequest) Descriptor deprecated added in v0.1.1

func (*RevealNodeServerPasswordRequest) Descriptor() ([]byte, []int)

Deprecated: Use RevealNodeServerPasswordRequest.ProtoReflect.Descriptor instead.

func (*RevealNodeServerPasswordRequest) GetNodeId added in v0.1.1

func (x *RevealNodeServerPasswordRequest) GetNodeId() string

func (*RevealNodeServerPasswordRequest) ProtoMessage added in v0.1.1

func (*RevealNodeServerPasswordRequest) ProtoMessage()

func (*RevealNodeServerPasswordRequest) ProtoReflect added in v0.1.1

func (*RevealNodeServerPasswordRequest) Reset added in v0.1.1

func (*RevealNodeServerPasswordRequest) String added in v0.1.1

type RevealNodeServerPasswordResponse added in v0.1.1

type RevealNodeServerPasswordResponse struct {
	Password string `protobuf:"bytes,1,opt,name=password,proto3" json:"password,omitempty"`
	// Set only when a password change was interrupted and the server could not be reached to tell which login works:
	// password is then the last verified one and pending_password the replacement that may already be in effect.
	// Neither is verified; the SPA labels them so.
	PendingPassword string `protobuf:"bytes,2,opt,name=pending_password,json=pendingPassword,proto3" json:"pending_password,omitempty"`
	Unverified      bool   `protobuf:"varint,3,opt,name=unverified,proto3" json:"unverified,omitempty"`
	// contains filtered or unexported fields
}

func (*RevealNodeServerPasswordResponse) Descriptor deprecated added in v0.1.1

func (*RevealNodeServerPasswordResponse) Descriptor() ([]byte, []int)

Deprecated: Use RevealNodeServerPasswordResponse.ProtoReflect.Descriptor instead.

func (*RevealNodeServerPasswordResponse) GetPassword added in v0.1.1

func (x *RevealNodeServerPasswordResponse) GetPassword() string

func (*RevealNodeServerPasswordResponse) GetPendingPassword added in v0.1.15

func (x *RevealNodeServerPasswordResponse) GetPendingPassword() string

func (*RevealNodeServerPasswordResponse) GetUnverified added in v0.1.15

func (x *RevealNodeServerPasswordResponse) GetUnverified() bool

func (*RevealNodeServerPasswordResponse) ProtoMessage added in v0.1.1

func (*RevealNodeServerPasswordResponse) ProtoMessage()

func (*RevealNodeServerPasswordResponse) ProtoReflect added in v0.1.1

func (*RevealNodeServerPasswordResponse) Reset added in v0.1.1

func (*RevealNodeServerPasswordResponse) String added in v0.1.1

type RevokeApiTokenRequest

type RevokeApiTokenRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*RevokeApiTokenRequest) Descriptor deprecated

func (*RevokeApiTokenRequest) Descriptor() ([]byte, []int)

Deprecated: Use RevokeApiTokenRequest.ProtoReflect.Descriptor instead.

func (*RevokeApiTokenRequest) GetId

func (x *RevokeApiTokenRequest) GetId() string

func (*RevokeApiTokenRequest) ProtoMessage

func (*RevokeApiTokenRequest) ProtoMessage()

func (*RevokeApiTokenRequest) ProtoReflect

func (x *RevokeApiTokenRequest) ProtoReflect() protoreflect.Message

func (*RevokeApiTokenRequest) Reset

func (x *RevokeApiTokenRequest) Reset()

func (*RevokeApiTokenRequest) String

func (x *RevokeApiTokenRequest) String() string

type RevokeApiTokenResponse

type RevokeApiTokenResponse struct {
	Token *ApiToken `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	// contains filtered or unexported fields
}

func (*RevokeApiTokenResponse) Descriptor deprecated

func (*RevokeApiTokenResponse) Descriptor() ([]byte, []int)

Deprecated: Use RevokeApiTokenResponse.ProtoReflect.Descriptor instead.

func (*RevokeApiTokenResponse) GetToken

func (x *RevokeApiTokenResponse) GetToken() *ApiToken

func (*RevokeApiTokenResponse) ProtoMessage

func (*RevokeApiTokenResponse) ProtoMessage()

func (*RevokeApiTokenResponse) ProtoReflect

func (x *RevokeApiTokenResponse) ProtoReflect() protoreflect.Message

func (*RevokeApiTokenResponse) Reset

func (x *RevokeApiTokenResponse) Reset()

func (*RevokeApiTokenResponse) String

func (x *RevokeApiTokenResponse) String() string

type RevokeDeviceRequest

type RevokeDeviceRequest struct {
	DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
	// Also refuse the device's HWID from now on (it cannot register a new device), until UnblockDevice. Only a device that
	// reported a HWID can be blocked; the common place and an AmneziaVPN key cannot (FAILED_PRECONDITION cannot_block).
	Block bool `protobuf:"varint,2,opt,name=block,proto3" json:"block,omitempty"`
	// contains filtered or unexported fields
}

func (*RevokeDeviceRequest) Descriptor deprecated

func (*RevokeDeviceRequest) Descriptor() ([]byte, []int)

Deprecated: Use RevokeDeviceRequest.ProtoReflect.Descriptor instead.

func (*RevokeDeviceRequest) GetBlock added in v0.1.39

func (x *RevokeDeviceRequest) GetBlock() bool

func (*RevokeDeviceRequest) GetDeviceId

func (x *RevokeDeviceRequest) GetDeviceId() string

func (*RevokeDeviceRequest) ProtoMessage

func (*RevokeDeviceRequest) ProtoMessage()

func (*RevokeDeviceRequest) ProtoReflect

func (x *RevokeDeviceRequest) ProtoReflect() protoreflect.Message

func (*RevokeDeviceRequest) Reset

func (x *RevokeDeviceRequest) Reset()

func (*RevokeDeviceRequest) String

func (x *RevokeDeviceRequest) String() string

type RevokeDeviceResponse

type RevokeDeviceResponse struct {
	User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	// contains filtered or unexported fields
}

func (*RevokeDeviceResponse) Descriptor deprecated

func (*RevokeDeviceResponse) Descriptor() ([]byte, []int)

Deprecated: Use RevokeDeviceResponse.ProtoReflect.Descriptor instead.

func (*RevokeDeviceResponse) GetUser

func (x *RevokeDeviceResponse) GetUser() *User

func (*RevokeDeviceResponse) ProtoMessage

func (*RevokeDeviceResponse) ProtoMessage()

func (*RevokeDeviceResponse) ProtoReflect

func (x *RevokeDeviceResponse) ProtoReflect() protoreflect.Message

func (*RevokeDeviceResponse) Reset

func (x *RevokeDeviceResponse) Reset()

func (*RevokeDeviceResponse) String

func (x *RevokeDeviceResponse) String() string

type RevokeTelegramKeyRequest added in v0.1.69

type RevokeTelegramKeyRequest struct {
	UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// contains filtered or unexported fields
}

func (*RevokeTelegramKeyRequest) Descriptor deprecated added in v0.1.69

func (*RevokeTelegramKeyRequest) Descriptor() ([]byte, []int)

Deprecated: Use RevokeTelegramKeyRequest.ProtoReflect.Descriptor instead.

func (*RevokeTelegramKeyRequest) GetUserId added in v0.1.69

func (x *RevokeTelegramKeyRequest) GetUserId() string

func (*RevokeTelegramKeyRequest) ProtoMessage added in v0.1.69

func (*RevokeTelegramKeyRequest) ProtoMessage()

func (*RevokeTelegramKeyRequest) ProtoReflect added in v0.1.69

func (x *RevokeTelegramKeyRequest) ProtoReflect() protoreflect.Message

func (*RevokeTelegramKeyRequest) Reset added in v0.1.69

func (x *RevokeTelegramKeyRequest) Reset()

func (*RevokeTelegramKeyRequest) String added in v0.1.69

func (x *RevokeTelegramKeyRequest) String() string

type RevokeTelegramKeyResponse added in v0.1.69

type RevokeTelegramKeyResponse struct {
	Proxy *GetTelegramLinksResponse `protobuf:"bytes,1,opt,name=proxy,proto3" json:"proxy,omitempty"`
	// contains filtered or unexported fields
}

func (*RevokeTelegramKeyResponse) Descriptor deprecated added in v0.1.69

func (*RevokeTelegramKeyResponse) Descriptor() ([]byte, []int)

Deprecated: Use RevokeTelegramKeyResponse.ProtoReflect.Descriptor instead.

func (*RevokeTelegramKeyResponse) GetProxy added in v0.1.69

func (*RevokeTelegramKeyResponse) ProtoMessage added in v0.1.69

func (*RevokeTelegramKeyResponse) ProtoMessage()

func (*RevokeTelegramKeyResponse) ProtoReflect added in v0.1.69

func (*RevokeTelegramKeyResponse) Reset added in v0.1.69

func (x *RevokeTelegramKeyResponse) Reset()

func (*RevokeTelegramKeyResponse) String added in v0.1.69

func (x *RevokeTelegramKeyResponse) String() string

type Role

type Role int32
const (
	Role_ROLE_UNSPECIFIED Role = 0
	Role_ROLE_OWNER       Role = 1
	Role_ROLE_HELPER      Role = 2
	Role_ROLE_READONLY    Role = 3
)

func (Role) Descriptor

func (Role) Descriptor() protoreflect.EnumDescriptor

func (Role) Enum

func (x Role) Enum() *Role

func (Role) EnumDescriptor deprecated

func (Role) EnumDescriptor() ([]byte, []int)

Deprecated: Use Role.Descriptor instead.

func (Role) Number

func (x Role) Number() protoreflect.EnumNumber

func (Role) String

func (x Role) String() string

func (Role) Type

func (Role) Type() protoreflect.EnumType

type RollbackNodeRequest

type RollbackNodeRequest struct {
	NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	// contains filtered or unexported fields
}

func (*RollbackNodeRequest) Descriptor deprecated

func (*RollbackNodeRequest) Descriptor() ([]byte, []int)

Deprecated: Use RollbackNodeRequest.ProtoReflect.Descriptor instead.

func (*RollbackNodeRequest) GetNodeId

func (x *RollbackNodeRequest) GetNodeId() string

func (*RollbackNodeRequest) ProtoMessage

func (*RollbackNodeRequest) ProtoMessage()

func (*RollbackNodeRequest) ProtoReflect

func (x *RollbackNodeRequest) ProtoReflect() protoreflect.Message

func (*RollbackNodeRequest) Reset

func (x *RollbackNodeRequest) Reset()

func (*RollbackNodeRequest) String

func (x *RollbackNodeRequest) String() string

type RollbackNodeResponse

type RollbackNodeResponse struct {

	// The node as it is when the agent answered (the re-execution follows; its state turns to ROLLED_BACK
	// after it reconnects). FAILED_PRECONDITION with the agent's error code in the message when it refused
	// ("no_previous").
	Node *NodeUpdate `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"`
	// contains filtered or unexported fields
}

func (*RollbackNodeResponse) Descriptor deprecated

func (*RollbackNodeResponse) Descriptor() ([]byte, []int)

Deprecated: Use RollbackNodeResponse.ProtoReflect.Descriptor instead.

func (*RollbackNodeResponse) GetNode

func (x *RollbackNodeResponse) GetNode() *NodeUpdate

func (*RollbackNodeResponse) ProtoMessage

func (*RollbackNodeResponse) ProtoMessage()

func (*RollbackNodeResponse) ProtoReflect

func (x *RollbackNodeResponse) ProtoReflect() protoreflect.Message

func (*RollbackNodeResponse) Reset

func (x *RollbackNodeResponse) Reset()

func (*RollbackNodeResponse) String

func (x *RollbackNodeResponse) String() string

type Rollout

type Rollout struct {

	// "rol_..." opaque.
	Id     string        `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Status RolloutStatus `protobuf:"varint,2,opt,name=status,proto3,enum=mistgate.admin.v1.RolloutStatus" json:"status,omitempty"`
	// The bundle the rollout ships (copied at start; a later bundle change does not affect it).
	ToVersion   string `protobuf:"bytes,3,opt,name=to_version,json=toVersion,proto3" json:"to_version,omitempty"`
	ToBuilt     int64  `protobuf:"varint,4,opt,name=to_built,json=toBuilt,proto3" json:"to_built,omitempty"`
	BatchSize   uint32 `protobuf:"varint,5,opt,name=batch_size,json=batchSize,proto3" json:"batch_size,omitempty"`
	CreatedUnix int64  `protobuf:"varint,6,opt,name=created_unix,json=createdUnix,proto3" json:"created_unix,omitempty"`
	// 0 while RUNNING or PAUSED.
	FinishedUnix int64 `protobuf:"varint,7,opt,name=finished_unix,json=finishedUnix,proto3" json:"finished_unix,omitempty"`
	// Set while PAUSED: "updates.pause.<code>". Codes: owner; step_failed (a node rejected the update, agent error
	// code in pause_params.reason); gate_failed (a node came back but failed the gate, or never came back);
	// bundle_changed (the bundle directory now holds another release than the one being rolled out: cancel and
	// start again); panel_restart_ambiguous (the panel restarted while a step was in flight and the node had not
	// reported by its deadline: check the node).
	PauseKey string `protobuf:"bytes,8,opt,name=pause_key,json=pauseKey,proto3" json:"pause_key,omitempty"`
	// {node: name, reason: step error code} for gate_failed / step_failed.
	PauseParams map[string]string `` /* 168-byte string literal not displayed */
	Steps       []*RolloutStep    `protobuf:"bytes,10,rep,name=steps,proto3" json:"steps,omitempty"`
	// contains filtered or unexported fields
}

func (*Rollout) Descriptor deprecated

func (*Rollout) Descriptor() ([]byte, []int)

Deprecated: Use Rollout.ProtoReflect.Descriptor instead.

func (*Rollout) GetBatchSize

func (x *Rollout) GetBatchSize() uint32

func (*Rollout) GetCreatedUnix

func (x *Rollout) GetCreatedUnix() int64

func (*Rollout) GetFinishedUnix

func (x *Rollout) GetFinishedUnix() int64

func (*Rollout) GetId

func (x *Rollout) GetId() string

func (*Rollout) GetPauseKey

func (x *Rollout) GetPauseKey() string

func (*Rollout) GetPauseParams

func (x *Rollout) GetPauseParams() map[string]string

func (*Rollout) GetStatus

func (x *Rollout) GetStatus() RolloutStatus

func (*Rollout) GetSteps

func (x *Rollout) GetSteps() []*RolloutStep

func (*Rollout) GetToBuilt

func (x *Rollout) GetToBuilt() int64

func (*Rollout) GetToVersion

func (x *Rollout) GetToVersion() string

func (*Rollout) ProtoMessage

func (*Rollout) ProtoMessage()

func (*Rollout) ProtoReflect

func (x *Rollout) ProtoReflect() protoreflect.Message

func (*Rollout) Reset

func (x *Rollout) Reset()

func (*Rollout) String

func (x *Rollout) String() string

type RolloutStatus

type RolloutStatus int32
const (
	RolloutStatus_ROLLOUT_STATUS_UNSPECIFIED RolloutStatus = 0
	RolloutStatus_ROLLOUT_STATUS_RUNNING     RolloutStatus = 1
	// Paused by the owner or by a failed gate (`pause_key`).
	RolloutStatus_ROLLOUT_STATUS_PAUSED RolloutStatus = 2
	// Every step is decided and none failed.
	RolloutStatus_ROLLOUT_STATUS_DONE      RolloutStatus = 3
	RolloutStatus_ROLLOUT_STATUS_CANCELLED RolloutStatus = 4
	// Finished with at least one FAILED or ROLLED_BACK step (the owner chose not to resume, or cancelled).
	RolloutStatus_ROLLOUT_STATUS_FAILED RolloutStatus = 5
)

func (RolloutStatus) Descriptor

func (RolloutStatus) Enum

func (x RolloutStatus) Enum() *RolloutStatus

func (RolloutStatus) EnumDescriptor deprecated

func (RolloutStatus) EnumDescriptor() ([]byte, []int)

Deprecated: Use RolloutStatus.Descriptor instead.

func (RolloutStatus) Number

func (RolloutStatus) String

func (x RolloutStatus) String() string

func (RolloutStatus) Type

type RolloutStep

type RolloutStep struct {
	NodeId   string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	NodeName string `protobuf:"bytes,2,opt,name=node_name,json=nodeName,proto3" json:"node_name,omitempty"`
	// 0 = canary, 1.. = batches in order.
	Stage        uint32    `protobuf:"varint,3,opt,name=stage,proto3" json:"stage,omitempty"`
	State        StepState `protobuf:"varint,4,opt,name=state,proto3,enum=mistgate.admin.v1.StepState" json:"state,omitempty"`
	FromVersion  string    `protobuf:"bytes,5,opt,name=from_version,json=fromVersion,proto3" json:"from_version,omitempty"`
	FromBuilt    int64     `protobuf:"varint,6,opt,name=from_built,json=fromBuilt,proto3" json:"from_built,omitempty"`
	StartedUnix  int64     `protobuf:"varint,7,opt,name=started_unix,json=startedUnix,proto3" json:"started_unix,omitempty"`
	FinishedUnix int64     `protobuf:"varint,8,opt,name=finished_unix,json=finishedUnix,proto3" json:"finished_unix,omitempty"`
	// "updates.step.err.<error_key>" for FAILED / ROLLED_BACK / SKIPPED. Codes: the agent's (bad_signature, expired,
	// download_failed, ...), and the gate's: not_reconnected, not_committed, state_not_applied, inbounds_unreadable,
	// warp_down, inbound_failed, probe_failed, rolled_back_by_agent, no_answer, offline, unsupported, up_to_date,
	// cancelled. Before 0.1.47 state_not_applied also stood for not_committed and inbounds_unreadable.
	ErrorKey string            `protobuf:"bytes,9,opt,name=error_key,json=errorKey,proto3" json:"error_key,omitempty"`
	Params   map[string]string `` /* 140-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*RolloutStep) Descriptor deprecated

func (*RolloutStep) Descriptor() ([]byte, []int)

Deprecated: Use RolloutStep.ProtoReflect.Descriptor instead.

func (*RolloutStep) GetErrorKey

func (x *RolloutStep) GetErrorKey() string

func (*RolloutStep) GetFinishedUnix

func (x *RolloutStep) GetFinishedUnix() int64

func (*RolloutStep) GetFromBuilt

func (x *RolloutStep) GetFromBuilt() int64

func (*RolloutStep) GetFromVersion

func (x *RolloutStep) GetFromVersion() string

func (*RolloutStep) GetNodeId

func (x *RolloutStep) GetNodeId() string

func (*RolloutStep) GetNodeName

func (x *RolloutStep) GetNodeName() string

func (*RolloutStep) GetParams

func (x *RolloutStep) GetParams() map[string]string

func (*RolloutStep) GetStage

func (x *RolloutStep) GetStage() uint32

func (*RolloutStep) GetStartedUnix

func (x *RolloutStep) GetStartedUnix() int64

func (*RolloutStep) GetState

func (x *RolloutStep) GetState() StepState

func (*RolloutStep) ProtoMessage

func (*RolloutStep) ProtoMessage()

func (*RolloutStep) ProtoReflect

func (x *RolloutStep) ProtoReflect() protoreflect.Message

func (*RolloutStep) Reset

func (x *RolloutStep) Reset()

func (*RolloutStep) String

func (x *RolloutStep) String() string

type RotateDeviceKeysRequest

type RotateDeviceKeysRequest struct {
	DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
	// contains filtered or unexported fields
}

func (*RotateDeviceKeysRequest) Descriptor deprecated

func (*RotateDeviceKeysRequest) Descriptor() ([]byte, []int)

Deprecated: Use RotateDeviceKeysRequest.ProtoReflect.Descriptor instead.

func (*RotateDeviceKeysRequest) GetDeviceId

func (x *RotateDeviceKeysRequest) GetDeviceId() string

func (*RotateDeviceKeysRequest) ProtoMessage

func (*RotateDeviceKeysRequest) ProtoMessage()

func (*RotateDeviceKeysRequest) ProtoReflect

func (x *RotateDeviceKeysRequest) ProtoReflect() protoreflect.Message

func (*RotateDeviceKeysRequest) Reset

func (x *RotateDeviceKeysRequest) Reset()

func (*RotateDeviceKeysRequest) String

func (x *RotateDeviceKeysRequest) String() string

type RotateDeviceKeysResponse

type RotateDeviceKeysResponse struct {
	Device  *Device         `protobuf:"bytes,1,opt,name=device,proto3" json:"device,omitempty"`
	Configs []*DeviceConfig `protobuf:"bytes,2,rep,name=configs,proto3" json:"configs,omitempty"`
	// contains filtered or unexported fields
}

func (*RotateDeviceKeysResponse) Descriptor deprecated

func (*RotateDeviceKeysResponse) Descriptor() ([]byte, []int)

Deprecated: Use RotateDeviceKeysResponse.ProtoReflect.Descriptor instead.

func (*RotateDeviceKeysResponse) GetConfigs

func (x *RotateDeviceKeysResponse) GetConfigs() []*DeviceConfig

func (*RotateDeviceKeysResponse) GetDevice

func (x *RotateDeviceKeysResponse) GetDevice() *Device

func (*RotateDeviceKeysResponse) ProtoMessage

func (*RotateDeviceKeysResponse) ProtoMessage()

func (*RotateDeviceKeysResponse) ProtoReflect

func (x *RotateDeviceKeysResponse) ProtoReflect() protoreflect.Message

func (*RotateDeviceKeysResponse) Reset

func (x *RotateDeviceKeysResponse) Reset()

func (*RotateDeviceKeysResponse) String

func (x *RotateDeviceKeysResponse) String() string

type RotateNodeServerPasswordRequest

type RotateNodeServerPasswordRequest struct {
	NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	// The owner's new password (at least 12 characters); empty when generate is set.
	NewPassword string `protobuf:"bytes,2,opt,name=new_password,json=newPassword,proto3" json:"new_password,omitempty"`
	Confirm     bool   `protobuf:"varint,3,opt,name=confirm,proto3" json:"confirm,omitempty"`
	// The panel generates a strong random password itself; it is never returned (the owner can reveal it).
	Generate bool `protobuf:"varint,4,opt,name=generate,proto3" json:"generate,omitempty"`
	// contains filtered or unexported fields
}

func (*RotateNodeServerPasswordRequest) Descriptor deprecated

func (*RotateNodeServerPasswordRequest) Descriptor() ([]byte, []int)

Deprecated: Use RotateNodeServerPasswordRequest.ProtoReflect.Descriptor instead.

func (*RotateNodeServerPasswordRequest) GetConfirm

func (x *RotateNodeServerPasswordRequest) GetConfirm() bool

func (*RotateNodeServerPasswordRequest) GetGenerate added in v0.1.15

func (x *RotateNodeServerPasswordRequest) GetGenerate() bool

func (*RotateNodeServerPasswordRequest) GetNewPassword

func (x *RotateNodeServerPasswordRequest) GetNewPassword() string

func (*RotateNodeServerPasswordRequest) GetNodeId

func (x *RotateNodeServerPasswordRequest) GetNodeId() string

func (*RotateNodeServerPasswordRequest) ProtoMessage

func (*RotateNodeServerPasswordRequest) ProtoMessage()

func (*RotateNodeServerPasswordRequest) ProtoReflect

func (*RotateNodeServerPasswordRequest) Reset

func (*RotateNodeServerPasswordRequest) String

type RotateNodeServerPasswordResponse

type RotateNodeServerPasswordResponse struct {
	Rotated bool `protobuf:"varint,1,opt,name=rotated,proto3" json:"rotated,omitempty"`
	// contains filtered or unexported fields
}

func (*RotateNodeServerPasswordResponse) Descriptor deprecated

func (*RotateNodeServerPasswordResponse) Descriptor() ([]byte, []int)

Deprecated: Use RotateNodeServerPasswordResponse.ProtoReflect.Descriptor instead.

func (*RotateNodeServerPasswordResponse) GetRotated

func (x *RotateNodeServerPasswordResponse) GetRotated() bool

func (*RotateNodeServerPasswordResponse) ProtoMessage

func (*RotateNodeServerPasswordResponse) ProtoMessage()

func (*RotateNodeServerPasswordResponse) ProtoReflect

func (*RotateNodeServerPasswordResponse) Reset

func (*RotateNodeServerPasswordResponse) String

type RotateTelegramKeyRequest added in v0.1.69

type RotateTelegramKeyRequest struct {
	UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// contains filtered or unexported fields
}

func (*RotateTelegramKeyRequest) Descriptor deprecated added in v0.1.69

func (*RotateTelegramKeyRequest) Descriptor() ([]byte, []int)

Deprecated: Use RotateTelegramKeyRequest.ProtoReflect.Descriptor instead.

func (*RotateTelegramKeyRequest) GetUserId added in v0.1.69

func (x *RotateTelegramKeyRequest) GetUserId() string

func (*RotateTelegramKeyRequest) ProtoMessage added in v0.1.69

func (*RotateTelegramKeyRequest) ProtoMessage()

func (*RotateTelegramKeyRequest) ProtoReflect added in v0.1.69

func (x *RotateTelegramKeyRequest) ProtoReflect() protoreflect.Message

func (*RotateTelegramKeyRequest) Reset added in v0.1.69

func (x *RotateTelegramKeyRequest) Reset()

func (*RotateTelegramKeyRequest) String added in v0.1.69

func (x *RotateTelegramKeyRequest) String() string

type RotateTelegramKeyResponse added in v0.1.69

type RotateTelegramKeyResponse struct {
	Proxy *GetTelegramLinksResponse `protobuf:"bytes,1,opt,name=proxy,proto3" json:"proxy,omitempty"`
	// contains filtered or unexported fields
}

func (*RotateTelegramKeyResponse) Descriptor deprecated added in v0.1.69

func (*RotateTelegramKeyResponse) Descriptor() ([]byte, []int)

Deprecated: Use RotateTelegramKeyResponse.ProtoReflect.Descriptor instead.

func (*RotateTelegramKeyResponse) GetProxy added in v0.1.69

func (*RotateTelegramKeyResponse) ProtoMessage added in v0.1.69

func (*RotateTelegramKeyResponse) ProtoMessage()

func (*RotateTelegramKeyResponse) ProtoReflect added in v0.1.69

func (*RotateTelegramKeyResponse) Reset added in v0.1.69

func (x *RotateTelegramKeyResponse) Reset()

func (*RotateTelegramKeyResponse) String added in v0.1.69

func (x *RotateTelegramKeyResponse) String() string

type RunChecksNowRequest

type RunChecksNowRequest struct {

	// Empty = every node.
	NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	// contains filtered or unexported fields
}

func (*RunChecksNowRequest) Descriptor deprecated

func (*RunChecksNowRequest) Descriptor() ([]byte, []int)

Deprecated: Use RunChecksNowRequest.ProtoReflect.Descriptor instead.

func (*RunChecksNowRequest) GetNodeId

func (x *RunChecksNowRequest) GetNodeId() string

func (*RunChecksNowRequest) ProtoMessage

func (*RunChecksNowRequest) ProtoMessage()

func (*RunChecksNowRequest) ProtoReflect

func (x *RunChecksNowRequest) ProtoReflect() protoreflect.Message

func (*RunChecksNowRequest) Reset

func (x *RunChecksNowRequest) Reset()

func (*RunChecksNowRequest) String

func (x *RunChecksNowRequest) String() string

type RunChecksNowResponse

type RunChecksNowResponse struct {

	// Inbounds scheduled.
	Scheduled uint32 `protobuf:"varint,1,opt,name=scheduled,proto3" json:"scheduled,omitempty"`
	// Inbounds skipped by the rate limit, node offline or protocol without a client.
	Skipped uint32 `protobuf:"varint,2,opt,name=skipped,proto3" json:"skipped,omitempty"`
	// contains filtered or unexported fields
}

func (*RunChecksNowResponse) Descriptor deprecated

func (*RunChecksNowResponse) Descriptor() ([]byte, []int)

Deprecated: Use RunChecksNowResponse.ProtoReflect.Descriptor instead.

func (*RunChecksNowResponse) GetScheduled

func (x *RunChecksNowResponse) GetScheduled() uint32

func (*RunChecksNowResponse) GetSkipped

func (x *RunChecksNowResponse) GetSkipped() uint32

func (*RunChecksNowResponse) ProtoMessage

func (*RunChecksNowResponse) ProtoMessage()

func (*RunChecksNowResponse) ProtoReflect

func (x *RunChecksNowResponse) ProtoReflect() protoreflect.Message

func (*RunChecksNowResponse) Reset

func (x *RunChecksNowResponse) Reset()

func (*RunChecksNowResponse) String

func (x *RunChecksNowResponse) String() string

type RunDoctorRequest

type RunDoctorRequest struct {

	// Empty = every connected node with doctor support; offline nodes keep their old report (not an error).
	NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	// contains filtered or unexported fields
}

func (*RunDoctorRequest) Descriptor deprecated

func (*RunDoctorRequest) Descriptor() ([]byte, []int)

Deprecated: Use RunDoctorRequest.ProtoReflect.Descriptor instead.

func (*RunDoctorRequest) GetNodeId

func (x *RunDoctorRequest) GetNodeId() string

func (*RunDoctorRequest) ProtoMessage

func (*RunDoctorRequest) ProtoMessage()

func (*RunDoctorRequest) ProtoReflect

func (x *RunDoctorRequest) ProtoReflect() protoreflect.Message

func (*RunDoctorRequest) Reset

func (x *RunDoctorRequest) Reset()

func (*RunDoctorRequest) String

func (x *RunDoctorRequest) String() string

type RunDoctorResponse

type RunDoctorResponse struct {
	NowUnix int64         `protobuf:"varint,1,opt,name=now_unix,json=nowUnix,proto3" json:"now_unix,omitempty"`
	Nodes   []*NodeDoctor `protobuf:"bytes,2,rep,name=nodes,proto3" json:"nodes,omitempty"`
	// contains filtered or unexported fields
}

func (*RunDoctorResponse) Descriptor deprecated

func (*RunDoctorResponse) Descriptor() ([]byte, []int)

Deprecated: Use RunDoctorResponse.ProtoReflect.Descriptor instead.

func (*RunDoctorResponse) GetNodes

func (x *RunDoctorResponse) GetNodes() []*NodeDoctor

func (*RunDoctorResponse) GetNowUnix

func (x *RunDoctorResponse) GetNowUnix() int64

func (*RunDoctorResponse) ProtoMessage

func (*RunDoctorResponse) ProtoMessage()

func (*RunDoctorResponse) ProtoReflect

func (x *RunDoctorResponse) ProtoReflect() protoreflect.Message

func (*RunDoctorResponse) Reset

func (x *RunDoctorResponse) Reset()

func (*RunDoctorResponse) String

func (x *RunDoctorResponse) String() string

type ScheduleNodeUpdateRequest added in v0.1.8

type ScheduleNodeUpdateRequest struct {
	NodeId                string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	LocalDatetime         string `protobuf:"bytes,2,opt,name=local_datetime,json=localDatetime,proto3" json:"local_datetime,omitempty"`
	TimezoneOffsetMinutes int32  `` /* 127-byte string literal not displayed */
	// Guard against confirming a plan for a release that was replaced in the panel.
	ExpectedVersion string `protobuf:"bytes,4,opt,name=expected_version,json=expectedVersion,proto3" json:"expected_version,omitempty"`
	ExpectedBuilt   int64  `protobuf:"varint,5,opt,name=expected_built,json=expectedBuilt,proto3" json:"expected_built,omitempty"`
	// contains filtered or unexported fields
}

func (*ScheduleNodeUpdateRequest) Descriptor deprecated added in v0.1.8

func (*ScheduleNodeUpdateRequest) Descriptor() ([]byte, []int)

Deprecated: Use ScheduleNodeUpdateRequest.ProtoReflect.Descriptor instead.

func (*ScheduleNodeUpdateRequest) GetExpectedBuilt added in v0.1.8

func (x *ScheduleNodeUpdateRequest) GetExpectedBuilt() int64

func (*ScheduleNodeUpdateRequest) GetExpectedVersion added in v0.1.8

func (x *ScheduleNodeUpdateRequest) GetExpectedVersion() string

func (*ScheduleNodeUpdateRequest) GetLocalDatetime added in v0.1.8

func (x *ScheduleNodeUpdateRequest) GetLocalDatetime() string

func (*ScheduleNodeUpdateRequest) GetNodeId added in v0.1.8

func (x *ScheduleNodeUpdateRequest) GetNodeId() string

func (*ScheduleNodeUpdateRequest) GetTimezoneOffsetMinutes added in v0.1.8

func (x *ScheduleNodeUpdateRequest) GetTimezoneOffsetMinutes() int32

func (*ScheduleNodeUpdateRequest) ProtoMessage added in v0.1.8

func (*ScheduleNodeUpdateRequest) ProtoMessage()

func (*ScheduleNodeUpdateRequest) ProtoReflect added in v0.1.8

func (*ScheduleNodeUpdateRequest) Reset added in v0.1.8

func (x *ScheduleNodeUpdateRequest) Reset()

func (*ScheduleNodeUpdateRequest) String added in v0.1.8

func (x *ScheduleNodeUpdateRequest) String() string

type ScheduleNodeUpdateResponse added in v0.1.8

type ScheduleNodeUpdateResponse struct {
	ScheduledUnix         int64  `protobuf:"varint,1,opt,name=scheduled_unix,json=scheduledUnix,proto3" json:"scheduled_unix,omitempty"`
	Version               string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
	Built                 int64  `protobuf:"varint,3,opt,name=built,proto3" json:"built,omitempty"`
	TimezoneOffsetMinutes int32  `` /* 127-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ScheduleNodeUpdateResponse) Descriptor deprecated added in v0.1.8

func (*ScheduleNodeUpdateResponse) Descriptor() ([]byte, []int)

Deprecated: Use ScheduleNodeUpdateResponse.ProtoReflect.Descriptor instead.

func (*ScheduleNodeUpdateResponse) GetBuilt added in v0.1.8

func (x *ScheduleNodeUpdateResponse) GetBuilt() int64

func (*ScheduleNodeUpdateResponse) GetScheduledUnix added in v0.1.8

func (x *ScheduleNodeUpdateResponse) GetScheduledUnix() int64

func (*ScheduleNodeUpdateResponse) GetTimezoneOffsetMinutes added in v0.1.8

func (x *ScheduleNodeUpdateResponse) GetTimezoneOffsetMinutes() int32

func (*ScheduleNodeUpdateResponse) GetVersion added in v0.1.8

func (x *ScheduleNodeUpdateResponse) GetVersion() string

func (*ScheduleNodeUpdateResponse) ProtoMessage added in v0.1.8

func (*ScheduleNodeUpdateResponse) ProtoMessage()

func (*ScheduleNodeUpdateResponse) ProtoReflect added in v0.1.8

func (*ScheduleNodeUpdateResponse) Reset added in v0.1.8

func (x *ScheduleNodeUpdateResponse) Reset()

func (*ScheduleNodeUpdateResponse) String added in v0.1.8

func (x *ScheduleNodeUpdateResponse) String() string

type ScoreItem

type ScoreItem struct {
	Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
	// The field to fix.
	Pointer string `protobuf:"bytes,2,opt,name=pointer,proto3" json:"pointer,omitempty"`
	// Negative for a penalty; the one bonus (per_device_signature) is positive.
	Delta int32 `protobuf:"zigzag32,3,opt,name=delta,proto3" json:"delta,omitempty"`
	// As FieldError.params.
	Params map[string]string `` /* 139-byte string literal not displayed */
	// contains filtered or unexported fields
}

One reason of the score. The UI text is awg.score.<code>.

func (*ScoreItem) Descriptor deprecated

func (*ScoreItem) Descriptor() ([]byte, []int)

Deprecated: Use ScoreItem.ProtoReflect.Descriptor instead.

func (*ScoreItem) GetCode

func (x *ScoreItem) GetCode() string

func (*ScoreItem) GetDelta

func (x *ScoreItem) GetDelta() int32

func (*ScoreItem) GetParams

func (x *ScoreItem) GetParams() map[string]string

func (*ScoreItem) GetPointer

func (x *ScoreItem) GetPointer() string

func (*ScoreItem) ProtoMessage

func (*ScoreItem) ProtoMessage()

func (*ScoreItem) ProtoReflect

func (x *ScoreItem) ProtoReflect() protoreflect.Message

func (*ScoreItem) Reset

func (x *ScoreItem) Reset()

func (*ScoreItem) String

func (x *ScoreItem) String() string

type SendTelegramTestRequest added in v0.1.23

type SendTelegramTestRequest struct {
	// contains filtered or unexported fields
}

func (*SendTelegramTestRequest) Descriptor deprecated added in v0.1.23

func (*SendTelegramTestRequest) Descriptor() ([]byte, []int)

Deprecated: Use SendTelegramTestRequest.ProtoReflect.Descriptor instead.

func (*SendTelegramTestRequest) ProtoMessage added in v0.1.23

func (*SendTelegramTestRequest) ProtoMessage()

func (*SendTelegramTestRequest) ProtoReflect added in v0.1.23

func (x *SendTelegramTestRequest) ProtoReflect() protoreflect.Message

func (*SendTelegramTestRequest) Reset added in v0.1.23

func (x *SendTelegramTestRequest) Reset()

func (*SendTelegramTestRequest) String added in v0.1.23

func (x *SendTelegramTestRequest) String() string

type SendTelegramTestResponse added in v0.1.23

type SendTelegramTestResponse struct {
	// contains filtered or unexported fields
}

func (*SendTelegramTestResponse) Descriptor deprecated added in v0.1.23

func (*SendTelegramTestResponse) Descriptor() ([]byte, []int)

Deprecated: Use SendTelegramTestResponse.ProtoReflect.Descriptor instead.

func (*SendTelegramTestResponse) ProtoMessage added in v0.1.23

func (*SendTelegramTestResponse) ProtoMessage()

func (*SendTelegramTestResponse) ProtoReflect added in v0.1.23

func (x *SendTelegramTestResponse) ProtoReflect() protoreflect.Message

func (*SendTelegramTestResponse) Reset added in v0.1.23

func (x *SendTelegramTestResponse) Reset()

func (*SendTelegramTestResponse) String added in v0.1.23

func (x *SendTelegramTestResponse) String() string

type SeriesPoint

type SeriesPoint struct {

	// Start of the hour, UTC.
	StartUnix int64            `protobuf:"varint,1,opt,name=start_unix,json=startUnix,proto3" json:"start_unix,omitempty"`
	Values    []*ProtocolValue `protobuf:"bytes,2,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

One hourly point. `values` has one entry per protocol that has data; absent protocol = 0.

func (*SeriesPoint) Descriptor deprecated

func (*SeriesPoint) Descriptor() ([]byte, []int)

Deprecated: Use SeriesPoint.ProtoReflect.Descriptor instead.

func (*SeriesPoint) GetStartUnix

func (x *SeriesPoint) GetStartUnix() int64

func (*SeriesPoint) GetValues

func (x *SeriesPoint) GetValues() []*ProtocolValue

func (*SeriesPoint) ProtoMessage

func (*SeriesPoint) ProtoMessage()

func (*SeriesPoint) ProtoReflect

func (x *SeriesPoint) ProtoReflect() protoreflect.Message

func (*SeriesPoint) Reset

func (x *SeriesPoint) Reset()

func (*SeriesPoint) String

func (x *SeriesPoint) String() string

type ServeRule

type ServeRule struct {

	// Case-insensitive substring of the User-Agent, e.g. "mihomo", "happ", "curl".
	UaContains string    `protobuf:"bytes,1,opt,name=ua_contains,json=uaContains,proto3" json:"ua_contains,omitempty"`
	Format     SubFormat `protobuf:"varint,2,opt,name=format,proto3,enum=mistgate.admin.v1.SubFormat" json:"format,omitempty"`
	// contains filtered or unexported fields
}

func (*ServeRule) Descriptor deprecated

func (*ServeRule) Descriptor() ([]byte, []int)

Deprecated: Use ServeRule.ProtoReflect.Descriptor instead.

func (*ServeRule) GetFormat

func (x *ServeRule) GetFormat() SubFormat

func (*ServeRule) GetUaContains

func (x *ServeRule) GetUaContains() string

func (*ServeRule) ProtoMessage

func (*ServeRule) ProtoMessage()

func (*ServeRule) ProtoReflect

func (x *ServeRule) ProtoReflect() protoreflect.Message

func (*ServeRule) Reset

func (x *ServeRule) Reset()

func (*ServeRule) String

func (x *ServeRule) String() string

type ServerSample

type ServerSample struct {
	Node        string `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"`
	CountryCode string `protobuf:"bytes,2,opt,name=country_code,json=countryCode,proto3" json:"country_code,omitempty"`
	Profile     string `protobuf:"bytes,3,opt,name=profile,proto3" json:"profile,omitempty"`
	// Current node utilization, only when the panel has capacity and a fresh agent sample.
	LoadPercent *uint32 `protobuf:"varint,4,opt,name=load_percent,json=loadPercent,proto3,oneof" json:"load_percent,omitempty"`
	// contains filtered or unexported fields
}

One server of the preview: what a server name is built from.

func (*ServerSample) Descriptor deprecated

func (*ServerSample) Descriptor() ([]byte, []int)

Deprecated: Use ServerSample.ProtoReflect.Descriptor instead.

func (*ServerSample) GetCountryCode

func (x *ServerSample) GetCountryCode() string

func (*ServerSample) GetLoadPercent added in v0.1.10

func (x *ServerSample) GetLoadPercent() uint32

func (*ServerSample) GetNode

func (x *ServerSample) GetNode() string

func (*ServerSample) GetProfile

func (x *ServerSample) GetProfile() string

func (*ServerSample) ProtoMessage

func (*ServerSample) ProtoMessage()

func (*ServerSample) ProtoReflect

func (x *ServerSample) ProtoReflect() protoreflect.Message

func (*ServerSample) Reset

func (x *ServerSample) Reset()

func (*ServerSample) String

func (x *ServerSample) String() string

type SetNodeDecoyModeRequest added in v0.1.36

type SetNodeDecoyModeRequest struct {
	NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	Mode   string `protobuf:"bytes,2,opt,name=mode,proto3" json:"mode,omitempty"`
	// Optional bundle when selecting "own"; empty reuses the saved bundle.
	BundleArchive []byte `protobuf:"bytes,3,opt,name=bundle_archive,json=bundleArchive,proto3" json:"bundle_archive,omitempty"`
	// contains filtered or unexported fields
}

func (*SetNodeDecoyModeRequest) Descriptor deprecated added in v0.1.36

func (*SetNodeDecoyModeRequest) Descriptor() ([]byte, []int)

Deprecated: Use SetNodeDecoyModeRequest.ProtoReflect.Descriptor instead.

func (*SetNodeDecoyModeRequest) GetBundleArchive added in v0.1.36

func (x *SetNodeDecoyModeRequest) GetBundleArchive() []byte

func (*SetNodeDecoyModeRequest) GetMode added in v0.1.36

func (x *SetNodeDecoyModeRequest) GetMode() string

func (*SetNodeDecoyModeRequest) GetNodeId added in v0.1.36

func (x *SetNodeDecoyModeRequest) GetNodeId() string

func (*SetNodeDecoyModeRequest) ProtoMessage added in v0.1.36

func (*SetNodeDecoyModeRequest) ProtoMessage()

func (*SetNodeDecoyModeRequest) ProtoReflect added in v0.1.36

func (x *SetNodeDecoyModeRequest) ProtoReflect() protoreflect.Message

func (*SetNodeDecoyModeRequest) Reset added in v0.1.36

func (x *SetNodeDecoyModeRequest) Reset()

func (*SetNodeDecoyModeRequest) String added in v0.1.36

func (x *SetNodeDecoyModeRequest) String() string

type SetNodeDecoyModeResponse added in v0.1.36

type SetNodeDecoyModeResponse struct {
	Node *Node `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"`
	// contains filtered or unexported fields
}

func (*SetNodeDecoyModeResponse) Descriptor deprecated added in v0.1.36

func (*SetNodeDecoyModeResponse) Descriptor() ([]byte, []int)

Deprecated: Use SetNodeDecoyModeResponse.ProtoReflect.Descriptor instead.

func (*SetNodeDecoyModeResponse) GetNode added in v0.1.36

func (x *SetNodeDecoyModeResponse) GetNode() *Node

func (*SetNodeDecoyModeResponse) ProtoMessage added in v0.1.36

func (*SetNodeDecoyModeResponse) ProtoMessage()

func (*SetNodeDecoyModeResponse) ProtoReflect added in v0.1.36

func (x *SetNodeDecoyModeResponse) ProtoReflect() protoreflect.Message

func (*SetNodeDecoyModeResponse) Reset added in v0.1.36

func (x *SetNodeDecoyModeResponse) Reset()

func (*SetNodeDecoyModeResponse) String added in v0.1.36

func (x *SetNodeDecoyModeResponse) String() string

type SetNodeDnsOptionsRequest added in v0.1.17

type SetNodeDnsOptionsRequest struct {
	NodeId          string   `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	PresetIds       []string `protobuf:"bytes,2,rep,name=preset_ids,json=presetIds,proto3" json:"preset_ids,omitempty"`
	DefaultPresetId string   `protobuf:"bytes,3,opt,name=default_preset_id,json=defaultPresetId,proto3" json:"default_preset_id,omitempty"`
	// contains filtered or unexported fields
}

func (*SetNodeDnsOptionsRequest) Descriptor deprecated added in v0.1.17

func (*SetNodeDnsOptionsRequest) Descriptor() ([]byte, []int)

Deprecated: Use SetNodeDnsOptionsRequest.ProtoReflect.Descriptor instead.

func (*SetNodeDnsOptionsRequest) GetDefaultPresetId added in v0.1.17

func (x *SetNodeDnsOptionsRequest) GetDefaultPresetId() string

func (*SetNodeDnsOptionsRequest) GetNodeId added in v0.1.17

func (x *SetNodeDnsOptionsRequest) GetNodeId() string

func (*SetNodeDnsOptionsRequest) GetPresetIds added in v0.1.17

func (x *SetNodeDnsOptionsRequest) GetPresetIds() []string

func (*SetNodeDnsOptionsRequest) ProtoMessage added in v0.1.17

func (*SetNodeDnsOptionsRequest) ProtoMessage()

func (*SetNodeDnsOptionsRequest) ProtoReflect added in v0.1.17

func (x *SetNodeDnsOptionsRequest) ProtoReflect() protoreflect.Message

func (*SetNodeDnsOptionsRequest) Reset added in v0.1.17

func (x *SetNodeDnsOptionsRequest) Reset()

func (*SetNodeDnsOptionsRequest) String added in v0.1.17

func (x *SetNodeDnsOptionsRequest) String() string

type SetNodeDnsOptionsResponse added in v0.1.17

type SetNodeDnsOptionsResponse struct {
	Options *NodeDnsOptions `protobuf:"bytes,1,opt,name=options,proto3" json:"options,omitempty"`
	// contains filtered or unexported fields
}

func (*SetNodeDnsOptionsResponse) Descriptor deprecated added in v0.1.17

func (*SetNodeDnsOptionsResponse) Descriptor() ([]byte, []int)

Deprecated: Use SetNodeDnsOptionsResponse.ProtoReflect.Descriptor instead.

func (*SetNodeDnsOptionsResponse) GetOptions added in v0.1.17

func (x *SetNodeDnsOptionsResponse) GetOptions() *NodeDnsOptions

func (*SetNodeDnsOptionsResponse) ProtoMessage added in v0.1.17

func (*SetNodeDnsOptionsResponse) ProtoMessage()

func (*SetNodeDnsOptionsResponse) ProtoReflect added in v0.1.17

func (*SetNodeDnsOptionsResponse) Reset added in v0.1.17

func (x *SetNodeDnsOptionsResponse) Reset()

func (*SetNodeDnsOptionsResponse) String added in v0.1.17

func (x *SetNodeDnsOptionsResponse) String() string

type SetNodesDecoyModeRequest added in v0.1.36

type SetNodesDecoyModeRequest struct {
	NodeIds []string `protobuf:"bytes,1,rep,name=node_ids,json=nodeIds,proto3" json:"node_ids,omitempty"`
	Mode    string   `protobuf:"bytes,2,opt,name=mode,proto3" json:"mode,omitempty"`
	// contains filtered or unexported fields
}

func (*SetNodesDecoyModeRequest) Descriptor deprecated added in v0.1.36

func (*SetNodesDecoyModeRequest) Descriptor() ([]byte, []int)

Deprecated: Use SetNodesDecoyModeRequest.ProtoReflect.Descriptor instead.

func (*SetNodesDecoyModeRequest) GetMode added in v0.1.36

func (x *SetNodesDecoyModeRequest) GetMode() string

func (*SetNodesDecoyModeRequest) GetNodeIds added in v0.1.36

func (x *SetNodesDecoyModeRequest) GetNodeIds() []string

func (*SetNodesDecoyModeRequest) ProtoMessage added in v0.1.36

func (*SetNodesDecoyModeRequest) ProtoMessage()

func (*SetNodesDecoyModeRequest) ProtoReflect added in v0.1.36

func (x *SetNodesDecoyModeRequest) ProtoReflect() protoreflect.Message

func (*SetNodesDecoyModeRequest) Reset added in v0.1.36

func (x *SetNodesDecoyModeRequest) Reset()

func (*SetNodesDecoyModeRequest) String added in v0.1.36

func (x *SetNodesDecoyModeRequest) String() string

type SetNodesDecoyModeResponse added in v0.1.36

type SetNodesDecoyModeResponse struct {
	Nodes []*Node `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"`
	// contains filtered or unexported fields
}

func (*SetNodesDecoyModeResponse) Descriptor deprecated added in v0.1.36

func (*SetNodesDecoyModeResponse) Descriptor() ([]byte, []int)

Deprecated: Use SetNodesDecoyModeResponse.ProtoReflect.Descriptor instead.

func (*SetNodesDecoyModeResponse) GetNodes added in v0.1.36

func (x *SetNodesDecoyModeResponse) GetNodes() []*Node

func (*SetNodesDecoyModeResponse) ProtoMessage added in v0.1.36

func (*SetNodesDecoyModeResponse) ProtoMessage()

func (*SetNodesDecoyModeResponse) ProtoReflect added in v0.1.36

func (*SetNodesDecoyModeResponse) Reset added in v0.1.36

func (x *SetNodesDecoyModeResponse) Reset()

func (*SetNodesDecoyModeResponse) String added in v0.1.36

func (x *SetNodesDecoyModeResponse) String() string

type SetTelegramAlertsRequest added in v0.1.23

type SetTelegramAlertsRequest struct {
	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// contains filtered or unexported fields
}

func (*SetTelegramAlertsRequest) Descriptor deprecated added in v0.1.23

func (*SetTelegramAlertsRequest) Descriptor() ([]byte, []int)

Deprecated: Use SetTelegramAlertsRequest.ProtoReflect.Descriptor instead.

func (*SetTelegramAlertsRequest) GetEnabled added in v0.1.23

func (x *SetTelegramAlertsRequest) GetEnabled() bool

func (*SetTelegramAlertsRequest) ProtoMessage added in v0.1.23

func (*SetTelegramAlertsRequest) ProtoMessage()

func (*SetTelegramAlertsRequest) ProtoReflect added in v0.1.23

func (x *SetTelegramAlertsRequest) ProtoReflect() protoreflect.Message

func (*SetTelegramAlertsRequest) Reset added in v0.1.23

func (x *SetTelegramAlertsRequest) Reset()

func (*SetTelegramAlertsRequest) String added in v0.1.23

func (x *SetTelegramAlertsRequest) String() string

type SetTelegramAlertsResponse added in v0.1.23

type SetTelegramAlertsResponse struct {
	Status *TelegramStatus `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*SetTelegramAlertsResponse) Descriptor deprecated added in v0.1.23

func (*SetTelegramAlertsResponse) Descriptor() ([]byte, []int)

Deprecated: Use SetTelegramAlertsResponse.ProtoReflect.Descriptor instead.

func (*SetTelegramAlertsResponse) GetStatus added in v0.1.23

func (x *SetTelegramAlertsResponse) GetStatus() *TelegramStatus

func (*SetTelegramAlertsResponse) ProtoMessage added in v0.1.23

func (*SetTelegramAlertsResponse) ProtoMessage()

func (*SetTelegramAlertsResponse) ProtoReflect added in v0.1.23

func (*SetTelegramAlertsResponse) Reset added in v0.1.23

func (x *SetTelegramAlertsResponse) Reset()

func (*SetTelegramAlertsResponse) String added in v0.1.23

func (x *SetTelegramAlertsResponse) String() string

type SetTelegramBotRequest added in v0.1.23

type SetTelegramBotRequest struct {

	// The token from @BotFather ("123456:ABC..."). Empty with clear unset is an error.
	Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	// Forget the bot and every link.
	Clear bool `protobuf:"varint,2,opt,name=clear,proto3" json:"clear,omitempty"`
	// contains filtered or unexported fields
}

func (*SetTelegramBotRequest) Descriptor deprecated added in v0.1.23

func (*SetTelegramBotRequest) Descriptor() ([]byte, []int)

Deprecated: Use SetTelegramBotRequest.ProtoReflect.Descriptor instead.

func (*SetTelegramBotRequest) GetClear added in v0.1.23

func (x *SetTelegramBotRequest) GetClear() bool

func (*SetTelegramBotRequest) GetToken added in v0.1.23

func (x *SetTelegramBotRequest) GetToken() string

func (*SetTelegramBotRequest) ProtoMessage added in v0.1.23

func (*SetTelegramBotRequest) ProtoMessage()

func (*SetTelegramBotRequest) ProtoReflect added in v0.1.23

func (x *SetTelegramBotRequest) ProtoReflect() protoreflect.Message

func (*SetTelegramBotRequest) Reset added in v0.1.23

func (x *SetTelegramBotRequest) Reset()

func (*SetTelegramBotRequest) String added in v0.1.23

func (x *SetTelegramBotRequest) String() string

type SetTelegramBotResponse added in v0.1.23

type SetTelegramBotResponse struct {
	Status *TelegramStatus `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*SetTelegramBotResponse) Descriptor deprecated added in v0.1.23

func (*SetTelegramBotResponse) Descriptor() ([]byte, []int)

Deprecated: Use SetTelegramBotResponse.ProtoReflect.Descriptor instead.

func (*SetTelegramBotResponse) GetStatus added in v0.1.23

func (x *SetTelegramBotResponse) GetStatus() *TelegramStatus

func (*SetTelegramBotResponse) ProtoMessage added in v0.1.23

func (*SetTelegramBotResponse) ProtoMessage()

func (*SetTelegramBotResponse) ProtoReflect added in v0.1.23

func (x *SetTelegramBotResponse) ProtoReflect() protoreflect.Message

func (*SetTelegramBotResponse) Reset added in v0.1.23

func (x *SetTelegramBotResponse) Reset()

func (*SetTelegramBotResponse) String added in v0.1.23

func (x *SetTelegramBotResponse) String() string

type SetUpdateChannelRequest added in v0.1.80

type SetUpdateChannelRequest struct {

	// One of stable, testing or dev.
	Channel string `protobuf:"bytes,1,opt,name=channel,proto3" json:"channel,omitempty"`
	// contains filtered or unexported fields
}

func (*SetUpdateChannelRequest) Descriptor deprecated added in v0.1.80

func (*SetUpdateChannelRequest) Descriptor() ([]byte, []int)

Deprecated: Use SetUpdateChannelRequest.ProtoReflect.Descriptor instead.

func (*SetUpdateChannelRequest) GetChannel added in v0.1.80

func (x *SetUpdateChannelRequest) GetChannel() string

func (*SetUpdateChannelRequest) ProtoMessage added in v0.1.80

func (*SetUpdateChannelRequest) ProtoMessage()

func (*SetUpdateChannelRequest) ProtoReflect added in v0.1.80

func (x *SetUpdateChannelRequest) ProtoReflect() protoreflect.Message

func (*SetUpdateChannelRequest) Reset added in v0.1.80

func (x *SetUpdateChannelRequest) Reset()

func (*SetUpdateChannelRequest) String added in v0.1.80

func (x *SetUpdateChannelRequest) String() string

type SetUpdateChannelResponse added in v0.1.80

type SetUpdateChannelResponse struct {
	Channel string `protobuf:"bytes,1,opt,name=channel,proto3" json:"channel,omitempty"`
	// contains filtered or unexported fields
}

func (*SetUpdateChannelResponse) Descriptor deprecated added in v0.1.80

func (*SetUpdateChannelResponse) Descriptor() ([]byte, []int)

Deprecated: Use SetUpdateChannelResponse.ProtoReflect.Descriptor instead.

func (*SetUpdateChannelResponse) GetChannel added in v0.1.80

func (x *SetUpdateChannelResponse) GetChannel() string

func (*SetUpdateChannelResponse) ProtoMessage added in v0.1.80

func (*SetUpdateChannelResponse) ProtoMessage()

func (*SetUpdateChannelResponse) ProtoReflect added in v0.1.80

func (x *SetUpdateChannelResponse) ProtoReflect() protoreflect.Message

func (*SetUpdateChannelResponse) Reset added in v0.1.80

func (x *SetUpdateChannelResponse) Reset()

func (*SetUpdateChannelResponse) String added in v0.1.80

func (x *SetUpdateChannelResponse) String() string

type SetUpdateTimezoneRequest added in v0.1.8

type SetUpdateTimezoneRequest struct {
	TimezoneOffsetMinutes int32 `` /* 127-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*SetUpdateTimezoneRequest) Descriptor deprecated added in v0.1.8

func (*SetUpdateTimezoneRequest) Descriptor() ([]byte, []int)

Deprecated: Use SetUpdateTimezoneRequest.ProtoReflect.Descriptor instead.

func (*SetUpdateTimezoneRequest) GetTimezoneOffsetMinutes added in v0.1.8

func (x *SetUpdateTimezoneRequest) GetTimezoneOffsetMinutes() int32

func (*SetUpdateTimezoneRequest) ProtoMessage added in v0.1.8

func (*SetUpdateTimezoneRequest) ProtoMessage()

func (*SetUpdateTimezoneRequest) ProtoReflect added in v0.1.8

func (x *SetUpdateTimezoneRequest) ProtoReflect() protoreflect.Message

func (*SetUpdateTimezoneRequest) Reset added in v0.1.8

func (x *SetUpdateTimezoneRequest) Reset()

func (*SetUpdateTimezoneRequest) String added in v0.1.8

func (x *SetUpdateTimezoneRequest) String() string

type SetUpdateTimezoneResponse added in v0.1.8

type SetUpdateTimezoneResponse struct {
	TimezoneOffsetMinutes int32 `` /* 127-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*SetUpdateTimezoneResponse) Descriptor deprecated added in v0.1.8

func (*SetUpdateTimezoneResponse) Descriptor() ([]byte, []int)

Deprecated: Use SetUpdateTimezoneResponse.ProtoReflect.Descriptor instead.

func (*SetUpdateTimezoneResponse) GetTimezoneOffsetMinutes added in v0.1.8

func (x *SetUpdateTimezoneResponse) GetTimezoneOffsetMinutes() int32

func (*SetUpdateTimezoneResponse) ProtoMessage added in v0.1.8

func (*SetUpdateTimezoneResponse) ProtoMessage()

func (*SetUpdateTimezoneResponse) ProtoReflect added in v0.1.8

func (*SetUpdateTimezoneResponse) Reset added in v0.1.8

func (x *SetUpdateTimezoneResponse) Reset()

func (*SetUpdateTimezoneResponse) String added in v0.1.8

func (x *SetUpdateTimezoneResponse) String() string

type SetUsersEnabledRequest

type SetUsersEnabledRequest struct {
	UserIds []string `protobuf:"bytes,1,rep,name=user_ids,json=userIds,proto3" json:"user_ids,omitempty"`
	Enabled bool     `protobuf:"varint,2,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// contains filtered or unexported fields
}

func (*SetUsersEnabledRequest) Descriptor deprecated

func (*SetUsersEnabledRequest) Descriptor() ([]byte, []int)

Deprecated: Use SetUsersEnabledRequest.ProtoReflect.Descriptor instead.

func (*SetUsersEnabledRequest) GetEnabled

func (x *SetUsersEnabledRequest) GetEnabled() bool

func (*SetUsersEnabledRequest) GetUserIds

func (x *SetUsersEnabledRequest) GetUserIds() []string

func (*SetUsersEnabledRequest) ProtoMessage

func (*SetUsersEnabledRequest) ProtoMessage()

func (*SetUsersEnabledRequest) ProtoReflect

func (x *SetUsersEnabledRequest) ProtoReflect() protoreflect.Message

func (*SetUsersEnabledRequest) Reset

func (x *SetUsersEnabledRequest) Reset()

func (*SetUsersEnabledRequest) String

func (x *SetUsersEnabledRequest) String() string

type SetUsersEnabledResponse

type SetUsersEnabledResponse struct {
	Users []*User `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"`
	// contains filtered or unexported fields
}

func (*SetUsersEnabledResponse) Descriptor deprecated

func (*SetUsersEnabledResponse) Descriptor() ([]byte, []int)

Deprecated: Use SetUsersEnabledResponse.ProtoReflect.Descriptor instead.

func (*SetUsersEnabledResponse) GetUsers

func (x *SetUsersEnabledResponse) GetUsers() []*User

func (*SetUsersEnabledResponse) ProtoMessage

func (*SetUsersEnabledResponse) ProtoMessage()

func (*SetUsersEnabledResponse) ProtoReflect

func (x *SetUsersEnabledResponse) ProtoReflect() protoreflect.Message

func (*SetUsersEnabledResponse) Reset

func (x *SetUsersEnabledResponse) Reset()

func (*SetUsersEnabledResponse) String

func (x *SetUsersEnabledResponse) String() string

type SetWarpEnabledRequest

type SetWarpEnabledRequest struct {
	NodeId  string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	Enabled bool   `protobuf:"varint,2,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// contains filtered or unexported fields
}

func (*SetWarpEnabledRequest) Descriptor deprecated

func (*SetWarpEnabledRequest) Descriptor() ([]byte, []int)

Deprecated: Use SetWarpEnabledRequest.ProtoReflect.Descriptor instead.

func (*SetWarpEnabledRequest) GetEnabled

func (x *SetWarpEnabledRequest) GetEnabled() bool

func (*SetWarpEnabledRequest) GetNodeId

func (x *SetWarpEnabledRequest) GetNodeId() string

func (*SetWarpEnabledRequest) ProtoMessage

func (*SetWarpEnabledRequest) ProtoMessage()

func (*SetWarpEnabledRequest) ProtoReflect

func (x *SetWarpEnabledRequest) ProtoReflect() protoreflect.Message

func (*SetWarpEnabledRequest) Reset

func (x *SetWarpEnabledRequest) Reset()

func (*SetWarpEnabledRequest) String

func (x *SetWarpEnabledRequest) String() string

type SetWarpEnabledResponse

type SetWarpEnabledResponse struct {
	Account *WarpAccount `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	// contains filtered or unexported fields
}

func (*SetWarpEnabledResponse) Descriptor deprecated

func (*SetWarpEnabledResponse) Descriptor() ([]byte, []int)

Deprecated: Use SetWarpEnabledResponse.ProtoReflect.Descriptor instead.

func (*SetWarpEnabledResponse) GetAccount

func (x *SetWarpEnabledResponse) GetAccount() *WarpAccount

func (*SetWarpEnabledResponse) ProtoMessage

func (*SetWarpEnabledResponse) ProtoMessage()

func (*SetWarpEnabledResponse) ProtoReflect

func (x *SetWarpEnabledResponse) ProtoReflect() protoreflect.Message

func (*SetWarpEnabledResponse) Reset

func (x *SetWarpEnabledResponse) Reset()

func (*SetWarpEnabledResponse) String

func (x *SetWarpEnabledResponse) String() string

type SetupMethod

type SetupMethod int32
const (
	// Same as PASSKEY.
	SetupMethod_SETUP_METHOD_UNSPECIFIED SetupMethod = 0
	SetupMethod_SETUP_METHOD_PASSKEY     SetupMethod = 1
	SetupMethod_SETUP_METHOD_PASSWORD    SetupMethod = 2
)

func (SetupMethod) Descriptor

func (SetupMethod) Enum

func (x SetupMethod) Enum() *SetupMethod

func (SetupMethod) EnumDescriptor deprecated

func (SetupMethod) EnumDescriptor() ([]byte, []int)

Deprecated: Use SetupMethod.Descriptor instead.

func (SetupMethod) Number

func (x SetupMethod) Number() protoreflect.EnumNumber

func (SetupMethod) String

func (x SetupMethod) String() string

func (SetupMethod) Type

type SignInFailure

type SignInFailure struct {

	// Failures left before the lockout; 0 when locked.
	AttemptsLeft int32 `protobuf:"varint,1,opt,name=attempts_left,json=attemptsLeft,proto3" json:"attempts_left,omitempty"`
	// Unix seconds until the login is locked; 0 = not locked. The lock also applies when the
	// sign-in address (IPv4, or the IPv6 /64) made too many failed attempts, whatever the login.
	LockedUntilUnix int64 `protobuf:"varint,2,opt,name=locked_until_unix,json=lockedUntilUnix,proto3" json:"locked_until_unix,omitempty"`
	// contains filtered or unexported fields
}

Connect error detail attached to UNAUTHENTICATED by PasswordLogin. The same for unknown logins, so it does not reveal which logins exist.

func (*SignInFailure) Descriptor deprecated

func (*SignInFailure) Descriptor() ([]byte, []int)

Deprecated: Use SignInFailure.ProtoReflect.Descriptor instead.

func (*SignInFailure) GetAttemptsLeft

func (x *SignInFailure) GetAttemptsLeft() int32

func (*SignInFailure) GetLockedUntilUnix

func (x *SignInFailure) GetLockedUntilUnix() int64

func (*SignInFailure) ProtoMessage

func (*SignInFailure) ProtoMessage()

func (*SignInFailure) ProtoReflect

func (x *SignInFailure) ProtoReflect() protoreflect.Message

func (*SignInFailure) Reset

func (x *SignInFailure) Reset()

func (*SignInFailure) String

func (x *SignInFailure) String() string

type SourceVerdict added in v0.1.63

type SourceVerdict struct {
	Source  string         `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"`
	Verdict CountryVerdict `protobuf:"varint,2,opt,name=verdict,proto3,enum=mistgate.admin.v1.CountryVerdict" json:"verdict,omitempty"`
	Eyeball bool           `protobuf:"varint,3,opt,name=eyeball,proto3" json:"eyeball,omitempty"`
	AtUnix  int64          `protobuf:"varint,4,opt,name=at_unix,json=atUnix,proto3" json:"at_unix,omitempty"`
	Reason  string         `protobuf:"bytes,5,opt,name=reason,proto3" json:"reason,omitempty"`
	// contains filtered or unexported fields
}

One source's newest fresh verdict, including unknown when that source ran without a usable result.

func (*SourceVerdict) Descriptor deprecated added in v0.1.63

func (*SourceVerdict) Descriptor() ([]byte, []int)

Deprecated: Use SourceVerdict.ProtoReflect.Descriptor instead.

func (*SourceVerdict) GetAtUnix added in v0.1.63

func (x *SourceVerdict) GetAtUnix() int64

func (*SourceVerdict) GetEyeball added in v0.1.63

func (x *SourceVerdict) GetEyeball() bool

func (*SourceVerdict) GetReason added in v0.1.63

func (x *SourceVerdict) GetReason() string

func (*SourceVerdict) GetSource added in v0.1.63

func (x *SourceVerdict) GetSource() string

func (*SourceVerdict) GetVerdict added in v0.1.63

func (x *SourceVerdict) GetVerdict() CountryVerdict

func (*SourceVerdict) ProtoMessage added in v0.1.63

func (*SourceVerdict) ProtoMessage()

func (*SourceVerdict) ProtoReflect added in v0.1.63

func (x *SourceVerdict) ProtoReflect() protoreflect.Message

func (*SourceVerdict) Reset added in v0.1.63

func (x *SourceVerdict) Reset()

func (*SourceVerdict) String added in v0.1.63

func (x *SourceVerdict) String() string

type StartNodeProvisionRequest

type StartNodeProvisionRequest struct {
	ConfirmInstall bool   `protobuf:"varint,1,opt,name=confirm_install,json=confirmInstall,proto3" json:"confirm_install,omitempty"`
	Name           string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Address        string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"`
	CountryCode    string `protobuf:"bytes,4,opt,name=country_code,json=countryCode,proto3" json:"country_code,omitempty"`
	Location       string `protobuf:"bytes,5,opt,name=location,proto3" json:"location,omitempty"`
	Provider       string `protobuf:"bytes,6,opt,name=provider,proto3" json:"provider,omitempty"`
	SshHost        string `protobuf:"bytes,7,opt,name=ssh_host,json=sshHost,proto3" json:"ssh_host,omitempty"`
	SshPort        uint32 `protobuf:"varint,8,opt,name=ssh_port,json=sshPort,proto3" json:"ssh_port,omitempty"`
	Fingerprint    string `protobuf:"bytes,9,opt,name=fingerprint,proto3" json:"fingerprint,omitempty"`
	Password       string `protobuf:"bytes,10,opt,name=password,proto3" json:"password,omitempty"`
	SshUsername    string `protobuf:"bytes,11,opt,name=ssh_username,json=sshUsername,proto3" json:"ssh_username,omitempty"`
	// MCP only: the approved node_install plan being applied. password stays empty: the panel uses the password the owner
	// chose on that plan's approval screen, and only with the fingerprint the owner confirmed there.
	PlanId string `protobuf:"bytes,12,opt,name=plan_id,json=planId,proto3" json:"plan_id,omitempty"`
	// Direct installs: when true, password must be empty and the panel key is used.
	UsePanelKey bool `protobuf:"varint,13,opt,name=use_panel_key,json=usePanelKey,proto3" json:"use_panel_key,omitempty"`
	// For wizard requests, the UI sends true by default and false only when the owner opts out.
	InstallPanelKey bool `protobuf:"varint,14,opt,name=install_panel_key,json=installPanelKey,proto3" json:"install_panel_key,omitempty"`
	// An owner's private key is used for this install only; the worker replaces it with the panel key for saved access.
	PrivateKey           string `protobuf:"bytes,15,opt,name=private_key,json=privateKey,proto3" json:"private_key,omitempty"`
	PrivateKeyPassphrase string `protobuf:"bytes,16,opt,name=private_key_passphrase,json=privateKeyPassphrase,proto3" json:"private_key_passphrase,omitempty"`
	// contains filtered or unexported fields
}

func (*StartNodeProvisionRequest) Descriptor deprecated

func (*StartNodeProvisionRequest) Descriptor() ([]byte, []int)

Deprecated: Use StartNodeProvisionRequest.ProtoReflect.Descriptor instead.

func (*StartNodeProvisionRequest) GetAddress

func (x *StartNodeProvisionRequest) GetAddress() string

func (*StartNodeProvisionRequest) GetConfirmInstall

func (x *StartNodeProvisionRequest) GetConfirmInstall() bool

func (*StartNodeProvisionRequest) GetCountryCode

func (x *StartNodeProvisionRequest) GetCountryCode() string

func (*StartNodeProvisionRequest) GetFingerprint

func (x *StartNodeProvisionRequest) GetFingerprint() string

func (*StartNodeProvisionRequest) GetInstallPanelKey added in v0.1.74

func (x *StartNodeProvisionRequest) GetInstallPanelKey() bool

func (*StartNodeProvisionRequest) GetLocation

func (x *StartNodeProvisionRequest) GetLocation() string

func (*StartNodeProvisionRequest) GetName

func (x *StartNodeProvisionRequest) GetName() string

func (*StartNodeProvisionRequest) GetPassword

func (x *StartNodeProvisionRequest) GetPassword() string

func (*StartNodeProvisionRequest) GetPlanId added in v0.1.15

func (x *StartNodeProvisionRequest) GetPlanId() string

func (*StartNodeProvisionRequest) GetPrivateKey added in v0.1.74

func (x *StartNodeProvisionRequest) GetPrivateKey() string

func (*StartNodeProvisionRequest) GetPrivateKeyPassphrase added in v0.1.74

func (x *StartNodeProvisionRequest) GetPrivateKeyPassphrase() string

func (*StartNodeProvisionRequest) GetProvider

func (x *StartNodeProvisionRequest) GetProvider() string

func (*StartNodeProvisionRequest) GetSshHost

func (x *StartNodeProvisionRequest) GetSshHost() string

func (*StartNodeProvisionRequest) GetSshPort

func (x *StartNodeProvisionRequest) GetSshPort() uint32

func (*StartNodeProvisionRequest) GetSshUsername

func (x *StartNodeProvisionRequest) GetSshUsername() string

func (*StartNodeProvisionRequest) GetUsePanelKey added in v0.1.74

func (x *StartNodeProvisionRequest) GetUsePanelKey() bool

func (*StartNodeProvisionRequest) ProtoMessage

func (*StartNodeProvisionRequest) ProtoMessage()

func (*StartNodeProvisionRequest) ProtoReflect

func (*StartNodeProvisionRequest) Reset

func (x *StartNodeProvisionRequest) Reset()

func (*StartNodeProvisionRequest) String

func (x *StartNodeProvisionRequest) String() string

type StartNodeProvisionResponse

type StartNodeProvisionResponse struct {
	Job *NodeProvisionJob `protobuf:"bytes,1,opt,name=job,proto3" json:"job,omitempty"`
	// contains filtered or unexported fields
}

func (*StartNodeProvisionResponse) Descriptor deprecated

func (*StartNodeProvisionResponse) Descriptor() ([]byte, []int)

Deprecated: Use StartNodeProvisionResponse.ProtoReflect.Descriptor instead.

func (*StartNodeProvisionResponse) GetJob

func (*StartNodeProvisionResponse) ProtoMessage

func (*StartNodeProvisionResponse) ProtoMessage()

func (*StartNodeProvisionResponse) ProtoReflect

func (*StartNodeProvisionResponse) Reset

func (x *StartNodeProvisionResponse) Reset()

func (*StartNodeProvisionResponse) String

func (x *StartNodeProvisionResponse) String() string

type StartRolloutRequest

type StartRolloutRequest struct {

	// Empty = every OUTDATED node.
	NodeIds []string `protobuf:"bytes,1,rep,name=node_ids,json=nodeIds,proto3" json:"node_ids,omitempty"`
	// Nodes updated at the same time after the canary. 0 = default: 1 while the fleet has fewer than 5 nodes to
	// update, else 2. Maximum 10. The canary is always one node.
	BatchSize uint32 `protobuf:"varint,2,opt,name=batch_size,json=batchSize,proto3" json:"batch_size,omitempty"`
	// The bundle the owner approved (GetUpdates bundle.version and .built). FAILED_PRECONDITION "the update bundle
	// changed; review the new version" when the trusted bundle is another one by the time the rollout starts.
	ExpectedVersion string `protobuf:"bytes,3,opt,name=expected_version,json=expectedVersion,proto3" json:"expected_version,omitempty"`
	ExpectedBuilt   int64  `protobuf:"varint,4,opt,name=expected_built,json=expectedBuilt,proto3" json:"expected_built,omitempty"`
	// contains filtered or unexported fields
}

func (*StartRolloutRequest) Descriptor deprecated

func (*StartRolloutRequest) Descriptor() ([]byte, []int)

Deprecated: Use StartRolloutRequest.ProtoReflect.Descriptor instead.

func (*StartRolloutRequest) GetBatchSize

func (x *StartRolloutRequest) GetBatchSize() uint32

func (*StartRolloutRequest) GetExpectedBuilt added in v0.1.15

func (x *StartRolloutRequest) GetExpectedBuilt() int64

func (*StartRolloutRequest) GetExpectedVersion added in v0.1.15

func (x *StartRolloutRequest) GetExpectedVersion() string

func (*StartRolloutRequest) GetNodeIds

func (x *StartRolloutRequest) GetNodeIds() []string

func (*StartRolloutRequest) ProtoMessage

func (*StartRolloutRequest) ProtoMessage()

func (*StartRolloutRequest) ProtoReflect

func (x *StartRolloutRequest) ProtoReflect() protoreflect.Message

func (*StartRolloutRequest) Reset

func (x *StartRolloutRequest) Reset()

func (*StartRolloutRequest) String

func (x *StartRolloutRequest) String() string

type StartRolloutResponse

type StartRolloutResponse struct {
	Rollout *Rollout `protobuf:"bytes,1,opt,name=rollout,proto3" json:"rollout,omitempty"`
	// contains filtered or unexported fields
}

func (*StartRolloutResponse) Descriptor deprecated

func (*StartRolloutResponse) Descriptor() ([]byte, []int)

Deprecated: Use StartRolloutResponse.ProtoReflect.Descriptor instead.

func (*StartRolloutResponse) GetRollout

func (x *StartRolloutResponse) GetRollout() *Rollout

func (*StartRolloutResponse) ProtoMessage

func (*StartRolloutResponse) ProtoMessage()

func (*StartRolloutResponse) ProtoReflect

func (x *StartRolloutResponse) ProtoReflect() protoreflect.Message

func (*StartRolloutResponse) Reset

func (x *StartRolloutResponse) Reset()

func (*StartRolloutResponse) String

func (x *StartRolloutResponse) String() string

type StatusReason

type StatusReason struct {
	Code   string            `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
	Params map[string]string `` /* 139-byte string literal not displayed */
	// contains filtered or unexported fields
}

Why a status is what it is. The UI localizes `code`; `params` fill the placeholders. Codes: agent_silent {minutes}, host_blip {minutes}, enrollment_pending {expires_in_minutes, expires_unix}, enrollment_expired (PENDING without a usable install command), inbound_failed {inbound, error, profile, failed, total} (failed of the node's total enabled profiles do not run), state_drift, clock_skew {seconds}, no_profiles (ONLINE, nothing else wrong, but no enabled profile: nobody gets the node), inbound_no_way_in {profile, node, reason} (hiding the direct server leaves no usable IPv6 twin, CDN host or relay; reason is "awg", "acme_ip" or "no_usable_relay"). The health checks add no_traffic {failed, total} (status NO_TRAFFIC: agent on, synthetic checks failing) and doctor_fail {check} (status stays ONLINE, reason shows the worst FAIL of the doctor).

func (*StatusReason) Descriptor deprecated

func (*StatusReason) Descriptor() ([]byte, []int)

Deprecated: Use StatusReason.ProtoReflect.Descriptor instead.

func (*StatusReason) GetCode

func (x *StatusReason) GetCode() string

func (*StatusReason) GetParams

func (x *StatusReason) GetParams() map[string]string

func (*StatusReason) ProtoMessage

func (*StatusReason) ProtoMessage()

func (*StatusReason) ProtoReflect

func (x *StatusReason) ProtoReflect() protoreflect.Message

func (*StatusReason) Reset

func (x *StatusReason) Reset()

func (*StatusReason) String

func (x *StatusReason) String() string

type StepState

type StepState int32
const (
	StepState_STEP_STATE_UNSPECIFIED StepState = 0
	// Waiting for its turn (canary first, then batches).
	StepState_STEP_STATE_PENDING StepState = 1
	// UpdateAgent sent; waiting for the agent's answer and its reconnect.
	StepState_STEP_STATE_SENT StepState = 2
	// The node reconnected with the target built; the gate (5 minutes) is running.
	StepState_STEP_STATE_GATING StepState = 3
	// Gate passed.
	StepState_STEP_STATE_PASSED StepState = 4
	// Sent but the node rejected the update (error codes of agent.proto UPDATE), or it never came back in time and
	// nothing could be done. The node still runs the old build unless rolled back by the agent itself.
	StepState_STEP_STATE_FAILED StepState = 5
	// The node came back but failed the gate (or rolled itself back) and RollbackAgent was sent / confirmed.
	StepState_STEP_STATE_ROLLED_BACK StepState = 6
	// Not attempted: rollout cancelled, node already up to date, offline when its turn came, or unsupported.
	StepState_STEP_STATE_SKIPPED StepState = 7
)

func (StepState) Descriptor

func (StepState) Descriptor() protoreflect.EnumDescriptor

func (StepState) Enum

func (x StepState) Enum() *StepState

func (StepState) EnumDescriptor deprecated

func (StepState) EnumDescriptor() ([]byte, []int)

Deprecated: Use StepState.Descriptor instead.

func (StepState) Number

func (x StepState) Number() protoreflect.EnumNumber

func (StepState) String

func (x StepState) String() string

func (StepState) Type

type StepUpRequired

type StepUpRequired struct {

	// The admin has a passkey: BeginStepUp / FinishStepUp with credential_json.
	Passkey bool `protobuf:"varint,1,opt,name=passkey,proto3" json:"passkey,omitempty"`
	// The admin has a password + authenticator app: FinishStepUp with totp_code.
	Totp bool `protobuf:"varint,2,opt,name=totp,proto3" json:"totp,omitempty"`
	// contains filtered or unexported fields
}

Connect error detail attached to PERMISSION_DENIED when a call needs step-up re-authentication (see BeginStepUp).

func (*StepUpRequired) Descriptor deprecated

func (*StepUpRequired) Descriptor() ([]byte, []int)

Deprecated: Use StepUpRequired.ProtoReflect.Descriptor instead.

func (*StepUpRequired) GetPasskey

func (x *StepUpRequired) GetPasskey() bool

func (*StepUpRequired) GetTotp

func (x *StepUpRequired) GetTotp() bool

func (*StepUpRequired) ProtoMessage

func (*StepUpRequired) ProtoMessage()

func (*StepUpRequired) ProtoReflect

func (x *StepUpRequired) ProtoReflect() protoreflect.Message

func (*StepUpRequired) Reset

func (x *StepUpRequired) Reset()

func (*StepUpRequired) String

func (x *StepUpRequired) String() string

type StreamLogsRequest

type StreamLogsRequest struct {
	NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	// "agent", "hysteria2". Empty = all.
	Sources []string `protobuf:"bytes,2,rep,name=sources,proto3" json:"sources,omitempty"`
	// Max 1000.
	TailLines uint32   `protobuf:"varint,3,opt,name=tail_lines,json=tailLines,proto3" json:"tail_lines,omitempty"`
	Follow    bool     `protobuf:"varint,4,opt,name=follow,proto3" json:"follow,omitempty"`
	MinLevel  LogLevel `protobuf:"varint,5,opt,name=min_level,json=minLevel,proto3,enum=mistgate.admin.v1.LogLevel" json:"min_level,omitempty"`
	// contains filtered or unexported fields
}

func (*StreamLogsRequest) Descriptor deprecated

func (*StreamLogsRequest) Descriptor() ([]byte, []int)

Deprecated: Use StreamLogsRequest.ProtoReflect.Descriptor instead.

func (*StreamLogsRequest) GetFollow

func (x *StreamLogsRequest) GetFollow() bool

func (*StreamLogsRequest) GetMinLevel

func (x *StreamLogsRequest) GetMinLevel() LogLevel

func (*StreamLogsRequest) GetNodeId

func (x *StreamLogsRequest) GetNodeId() string

func (*StreamLogsRequest) GetSources

func (x *StreamLogsRequest) GetSources() []string

func (*StreamLogsRequest) GetTailLines

func (x *StreamLogsRequest) GetTailLines() uint32

func (*StreamLogsRequest) ProtoMessage

func (*StreamLogsRequest) ProtoMessage()

func (*StreamLogsRequest) ProtoReflect

func (x *StreamLogsRequest) ProtoReflect() protoreflect.Message

func (*StreamLogsRequest) Reset

func (x *StreamLogsRequest) Reset()

func (*StreamLogsRequest) String

func (x *StreamLogsRequest) String() string

type StreamLogsResponse

type StreamLogsResponse struct {
	Lines   []*LogLine `protobuf:"bytes,1,rep,name=lines,proto3" json:"lines,omitempty"`
	Eof     bool       `protobuf:"varint,2,opt,name=eof,proto3" json:"eof,omitempty"`
	Dropped uint32     `protobuf:"varint,3,opt,name=dropped,proto3" json:"dropped,omitempty"`
	Error   string     `protobuf:"bytes,4,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*StreamLogsResponse) Descriptor deprecated

func (*StreamLogsResponse) Descriptor() ([]byte, []int)

Deprecated: Use StreamLogsResponse.ProtoReflect.Descriptor instead.

func (*StreamLogsResponse) GetDropped

func (x *StreamLogsResponse) GetDropped() uint32

func (*StreamLogsResponse) GetEof

func (x *StreamLogsResponse) GetEof() bool

func (*StreamLogsResponse) GetError

func (x *StreamLogsResponse) GetError() string

func (*StreamLogsResponse) GetLines

func (x *StreamLogsResponse) GetLines() []*LogLine

func (*StreamLogsResponse) ProtoMessage

func (*StreamLogsResponse) ProtoMessage()

func (*StreamLogsResponse) ProtoReflect

func (x *StreamLogsResponse) ProtoReflect() protoreflect.Message

func (*StreamLogsResponse) Reset

func (x *StreamLogsResponse) Reset()

func (*StreamLogsResponse) String

func (x *StreamLogsResponse) String() string

type SubFormat

type SubFormat int32
const (
	SubFormat_SUB_FORMAT_UNSPECIFIED SubFormat = 0
	// base64 list of share links (hysteria2://…): Happ, v2rayNG, mihomo-based desktop clients, …
	SubFormat_SUB_FORMAT_BASE64_URIS SubFormat = 1
	// The public HTML user page (browsers).
	SubFormat_SUB_FORMAT_USER_PAGE SubFormat = 2
	// Pretend the link does not exist (the decoy 404).
	SubFormat_SUB_FORMAT_DECOY SubFormat = 3
	// Mihomo / Clash Meta YAML with every protocol the user has.
	SubFormat_SUB_FORMAT_MIHOMO_YAML SubFormat = 4
	// An array of Xray configs, one per server, each with its remarks (v2rayNG, Happ and the other Xray-based apps).
	SubFormat_SUB_FORMAT_XRAY_JSON SubFormat = 5
	// One sing-box profile: a TUN inbound, a selector over the servers, the DNS of the user's preset (sing-box 1.12 and later).
	SubFormat_SUB_FORMAT_SINGBOX_JSON SubFormat = 6
)

func (SubFormat) Descriptor

func (SubFormat) Descriptor() protoreflect.EnumDescriptor

func (SubFormat) Enum

func (x SubFormat) Enum() *SubFormat

func (SubFormat) EnumDescriptor deprecated

func (SubFormat) EnumDescriptor() ([]byte, []int)

Deprecated: Use SubFormat.Descriptor instead.

func (SubFormat) Number

func (x SubFormat) Number() protoreflect.EnumNumber

func (SubFormat) String

func (x SubFormat) String() string

func (SubFormat) Type

type SubscriptionSettings

type SubscriptionSettings struct {

	// Subscription name shown in apps (profile-title). Empty = the instance brand.
	Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	// Announcement shown in apps (announce header) and on the user page. Empty = none.
	Announcement string `protobuf:"bytes,2,opt,name=announcement,proto3" json:"announcement,omitempty"`
	// Support link (support-url header, "Message support" on the user page). Empty = none.
	SupportUrl string `protobuf:"bytes,3,opt,name=support_url,json=supportUrl,proto3" json:"support_url,omitempty"`
	// Hours between app refreshes (profile-update-interval). 0 = 12.
	UpdateIntervalHours uint32 `protobuf:"varint,4,opt,name=update_interval_hours,json=updateIntervalHours,proto3" json:"update_interval_hours,omitempty"`
	// Server name template. Placeholders: {flag} (emoji from the node country), {country} (the two-letter
	// country code), {node} (node name), {profile} (profile name). Empty = "{flag} {country} · {profile}". When servers
	// of one user render to the same name, the second gets " 2", the third " 3" ("🇩🇪 DE · Hysteria2 2").
	ServerNameTemplate string `protobuf:"bytes,5,opt,name=server_name_template,json=serverNameTemplate,proto3" json:"server_name_template,omitempty"`
	// What the user page recommends, per platform and access kind. Order = display order.
	Apps     []*PlatformApp   `protobuf:"bytes,6,rep,name=apps,proto3" json:"apps,omitempty"`
	UserPage *UserPageOptions `protobuf:"bytes,7,opt,name=user_page,json=userPage,proto3" json:"user_page,omitempty"`
	// Tried in order; the first match wins. No match: a browser-like User-Agent gets the user page,
	// anything else gets SUB_FORMAT_BASE64_URIS.
	Rules []*ServeRule `protobuf:"bytes,8,rep,name=rules,proto3" json:"rules,omitempty"`
	// DNS preset for users and groups that have none of their own (DnsService). Empty = the built-in default.
	DefaultDnsPresetId string `protobuf:"bytes,9,opt,name=default_dns_preset_id,json=defaultDnsPresetId,proto3" json:"default_dns_preset_id,omitempty"`
	// What a subscription fetch does when a person has no room for one more device (device_limit): count it only, refuse it,
	// or refuse it and also turn away the apps that report no device ID. Absent in a request = leave the stored mode as it is;
	// a panel that has never been given one counts only (LINK_DEVICE_LIMIT_TRACK).
	LinkDeviceLimit *LinkDeviceLimit `` /* 155-byte string literal not displayed */
	// The DNS presets a person may pick on their page for the apps that take the link (Happ, the Mihomo apps, Xray JSON, sing-box):
	// one DNS for all servers, since these apps have one resolver for the whole subscription. Kept by the DNS module, like
	// default_dns_preset_id. Absent in a request = leave the stored offer as it is.
	LinkDns *LinkDnsOptions `protobuf:"bytes,11,opt,name=link_dns,json=linkDns,proto3" json:"link_dns,omitempty"`
	// How Happ pings the servers of the subscription. Unspecified = the app's own default: no ping headers are sent.
	HappPing HappPing `protobuf:"varint,12,opt,name=happ_ping,json=happPing,proto3,enum=mistgate.admin.v1.HappPing" json:"happ_ping,omitempty"`
	// With happ_ping set: Happ pings the servers each time it opens (subscription-ping-onopen-enabled: 1, else 0).
	HappPingOnOpen bool `protobuf:"varint,13,opt,name=happ_ping_on_open,json=happPingOnOpen,proto3" json:"happ_ping_on_open,omitempty"`
	// AmneziaWG servers in what the subscription link hands out (today only the Mihomo profile carries them).
	// Absent = true: settings stored before this switch existed keep today's behaviour.
	LinkAwg *bool `protobuf:"varint,14,opt,name=link_awg,json=linkAwg,proto3,oneof" json:"link_awg,omitempty"`
	// contains filtered or unexported fields
}

func (*SubscriptionSettings) Descriptor deprecated

func (*SubscriptionSettings) Descriptor() ([]byte, []int)

Deprecated: Use SubscriptionSettings.ProtoReflect.Descriptor instead.

func (*SubscriptionSettings) GetAnnouncement

func (x *SubscriptionSettings) GetAnnouncement() string

func (*SubscriptionSettings) GetApps

func (x *SubscriptionSettings) GetApps() []*PlatformApp

func (*SubscriptionSettings) GetDefaultDnsPresetId

func (x *SubscriptionSettings) GetDefaultDnsPresetId() string

func (*SubscriptionSettings) GetHappPing added in v0.1.47

func (x *SubscriptionSettings) GetHappPing() HappPing

func (*SubscriptionSettings) GetHappPingOnOpen added in v0.1.47

func (x *SubscriptionSettings) GetHappPingOnOpen() bool

func (*SubscriptionSettings) GetLinkAwg added in v0.1.80

func (x *SubscriptionSettings) GetLinkAwg() bool

func (*SubscriptionSettings) GetLinkDeviceLimit added in v0.1.39

func (x *SubscriptionSettings) GetLinkDeviceLimit() LinkDeviceLimit

func (*SubscriptionSettings) GetLinkDns added in v0.1.43

func (x *SubscriptionSettings) GetLinkDns() *LinkDnsOptions

func (*SubscriptionSettings) GetRules

func (x *SubscriptionSettings) GetRules() []*ServeRule

func (*SubscriptionSettings) GetServerNameTemplate

func (x *SubscriptionSettings) GetServerNameTemplate() string

func (*SubscriptionSettings) GetSupportUrl

func (x *SubscriptionSettings) GetSupportUrl() string

func (*SubscriptionSettings) GetTitle

func (x *SubscriptionSettings) GetTitle() string

func (*SubscriptionSettings) GetUpdateIntervalHours

func (x *SubscriptionSettings) GetUpdateIntervalHours() uint32

func (*SubscriptionSettings) GetUserPage

func (x *SubscriptionSettings) GetUserPage() *UserPageOptions

func (*SubscriptionSettings) ProtoMessage

func (*SubscriptionSettings) ProtoMessage()

func (*SubscriptionSettings) ProtoReflect

func (x *SubscriptionSettings) ProtoReflect() protoreflect.Message

func (*SubscriptionSettings) Reset

func (x *SubscriptionSettings) Reset()

func (*SubscriptionSettings) String

func (x *SubscriptionSettings) String() string

type TcpCheck added in v0.1.35

type TcpCheck struct {
	Port uint32 `protobuf:"varint,1,opt,name=port,proto3" json:"port,omitempty"`
	// acme (TCP 80, Let's Encrypt HTTP-01) | site (the Hysteria2 HTTPS decoy) | vless (a VLESS listener).
	Role string `protobuf:"bytes,2,opt,name=role,proto3" json:"role,omitempty"`
	// The listener on this port answers TLS-ALPN-01 (acme-tls/1): a site, a TLS front or a "this node's site" REALITY on 443.
	// The panel needs it to say whether certificates renew without port 80.
	Alpn bool `protobuf:"varint,3,opt,name=alpn,proto3" json:"alpn,omitempty"`
	// The profile that owns the port; "" for acme.
	Profile string `protobuf:"bytes,4,opt,name=profile,proto3" json:"profile,omitempty"`
	// ours | other (something else answers) | busy (port 80 is held by another program on the node) | refused (closed)
	// | timeout (filtered); "" = not checked, see reason.
	Verdict string `protobuf:"bytes,5,opt,name=verdict,proto3" json:"verdict,omitempty"`
	// verdict "": agent_too_old | failed | busy | no_route.
	Reason string `protobuf:"bytes,6,opt,name=reason,proto3" json:"reason,omitempty"`
	// "panel" or the name of the node that probed.
	Sender      string `protobuf:"bytes,7,opt,name=sender,proto3" json:"sender,omitempty"`
	CheckedUnix int64  `protobuf:"varint,8,opt,name=checked_unix,json=checkedUnix,proto3" json:"checked_unix,omitempty"`
	// contains filtered or unexported fields
}

One TCP port of a node in the port check (design/vless.md section 7.4): does a connection reach Mistgate itself.

func (*TcpCheck) Descriptor deprecated added in v0.1.35

func (*TcpCheck) Descriptor() ([]byte, []int)

Deprecated: Use TcpCheck.ProtoReflect.Descriptor instead.

func (*TcpCheck) GetAlpn added in v0.1.35

func (x *TcpCheck) GetAlpn() bool

func (*TcpCheck) GetCheckedUnix added in v0.1.35

func (x *TcpCheck) GetCheckedUnix() int64

func (*TcpCheck) GetPort added in v0.1.35

func (x *TcpCheck) GetPort() uint32

func (*TcpCheck) GetProfile added in v0.1.35

func (x *TcpCheck) GetProfile() string

func (*TcpCheck) GetReason added in v0.1.35

func (x *TcpCheck) GetReason() string

func (*TcpCheck) GetRole added in v0.1.35

func (x *TcpCheck) GetRole() string

func (*TcpCheck) GetSender added in v0.1.35

func (x *TcpCheck) GetSender() string

func (*TcpCheck) GetVerdict added in v0.1.35

func (x *TcpCheck) GetVerdict() string

func (*TcpCheck) ProtoMessage added in v0.1.35

func (*TcpCheck) ProtoMessage()

func (*TcpCheck) ProtoReflect added in v0.1.35

func (x *TcpCheck) ProtoReflect() protoreflect.Message

func (*TcpCheck) Reset added in v0.1.35

func (x *TcpCheck) Reset()

func (*TcpCheck) String added in v0.1.35

func (x *TcpCheck) String() string

type TelegramBot added in v0.1.23

type TelegramBot struct {

	// A token is stored.
	Configured bool `protobuf:"varint,1,opt,name=configured,proto3" json:"configured,omitempty"`
	// The bot's @username without the "@"; empty until a token was accepted.
	Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
	// How the last conversation with Telegram went, a code the SPA words itself: "" (fine), "unauthorized" (the token was
	// revoked or is wrong), "unreachable" (no answer), "conflict" (another process polls this bot or a webhook is set).
	Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*TelegramBot) Descriptor deprecated added in v0.1.23

func (*TelegramBot) Descriptor() ([]byte, []int)

Deprecated: Use TelegramBot.ProtoReflect.Descriptor instead.

func (*TelegramBot) GetConfigured added in v0.1.23

func (x *TelegramBot) GetConfigured() bool

func (*TelegramBot) GetError added in v0.1.23

func (x *TelegramBot) GetError() string

func (*TelegramBot) GetUsername added in v0.1.23

func (x *TelegramBot) GetUsername() string

func (*TelegramBot) ProtoMessage added in v0.1.23

func (*TelegramBot) ProtoMessage()

func (*TelegramBot) ProtoReflect added in v0.1.23

func (x *TelegramBot) ProtoReflect() protoreflect.Message

func (*TelegramBot) Reset added in v0.1.23

func (x *TelegramBot) Reset()

func (*TelegramBot) String added in v0.1.23

func (x *TelegramBot) String() string
type TelegramLink struct {
	AdminId   string `protobuf:"bytes,1,opt,name=admin_id,json=adminId,proto3" json:"admin_id,omitempty"`
	AdminName string `protobuf:"bytes,2,opt,name=admin_name,json=adminName,proto3" json:"admin_name,omitempty"`
	// owner, helper or readonly: what the admin receives follows it.
	Role string `protobuf:"bytes,3,opt,name=role,proto3" json:"role,omitempty"`
	// Alerts are on for this chat.
	Enabled    bool  `protobuf:"varint,4,opt,name=enabled,proto3" json:"enabled,omitempty"`
	LinkedUnix int64 `protobuf:"varint,5,opt,name=linked_unix,json=linkedUnix,proto3" json:"linked_unix,omitempty"`
	// The Telegram chat id, only on the caller's own link (0 on the others): the id of a private chat is the person's own
	// Telegram id, and it is what another sender of the same bot (the panel watcher Worker) needs to write to this chat.
	ChatId int64 `protobuf:"varint,6,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"`
	// contains filtered or unexported fields
}

func (*TelegramLink) Descriptor deprecated added in v0.1.23

func (*TelegramLink) Descriptor() ([]byte, []int)

Deprecated: Use TelegramLink.ProtoReflect.Descriptor instead.

func (*TelegramLink) GetAdminId added in v0.1.23

func (x *TelegramLink) GetAdminId() string

func (*TelegramLink) GetAdminName added in v0.1.23

func (x *TelegramLink) GetAdminName() string

func (*TelegramLink) GetChatId added in v0.1.23

func (x *TelegramLink) GetChatId() int64

func (*TelegramLink) GetEnabled added in v0.1.23

func (x *TelegramLink) GetEnabled() bool

func (*TelegramLink) GetLinkedUnix added in v0.1.23

func (x *TelegramLink) GetLinkedUnix() int64

func (*TelegramLink) GetRole added in v0.1.23

func (x *TelegramLink) GetRole() string

func (*TelegramLink) ProtoMessage added in v0.1.23

func (*TelegramLink) ProtoMessage()

func (*TelegramLink) ProtoReflect added in v0.1.23

func (x *TelegramLink) ProtoReflect() protoreflect.Message

func (*TelegramLink) Reset added in v0.1.23

func (x *TelegramLink) Reset()

func (*TelegramLink) String added in v0.1.23

func (x *TelegramLink) String() string
type TelegramProxyLink struct {
	NodeId      string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	NodeName    string `protobuf:"bytes,2,opt,name=node_name,json=nodeName,proto3" json:"node_name,omitempty"`
	ProfileId   string `protobuf:"bytes,3,opt,name=profile_id,json=profileId,proto3" json:"profile_id,omitempty"`
	ProfileName string `protobuf:"bytes,4,opt,name=profile_name,json=profileName,proto3" json:"profile_name,omitempty"`
	Url         string `protobuf:"bytes,5,opt,name=url,proto3" json:"url,omitempty"`
	// A twin of the node's link: its IPv6 entry, or a relay of an entry node whose country code is `via`. Both false: the link
	// to the node itself. The owner sees node_name and profile_name; the person's page never does.
	Ipv6  bool   `protobuf:"varint,6,opt,name=ipv6,proto3" json:"ipv6,omitempty"`
	Relay bool   `protobuf:"varint,7,opt,name=relay,proto3" json:"relay,omitempty"`
	Via   string `protobuf:"bytes,8,opt,name=via,proto3" json:"via,omitempty"`
	// contains filtered or unexported fields
}

One tg://proxy link of a person. The secret is in the URL: the UI must treat it like a password.

func (*TelegramProxyLink) Descriptor deprecated added in v0.1.69

func (*TelegramProxyLink) Descriptor() ([]byte, []int)

Deprecated: Use TelegramProxyLink.ProtoReflect.Descriptor instead.

func (*TelegramProxyLink) GetIpv6 added in v0.1.69

func (x *TelegramProxyLink) GetIpv6() bool

func (*TelegramProxyLink) GetNodeId added in v0.1.69

func (x *TelegramProxyLink) GetNodeId() string

func (*TelegramProxyLink) GetNodeName added in v0.1.69

func (x *TelegramProxyLink) GetNodeName() string

func (*TelegramProxyLink) GetProfileId added in v0.1.69

func (x *TelegramProxyLink) GetProfileId() string

func (*TelegramProxyLink) GetProfileName added in v0.1.69

func (x *TelegramProxyLink) GetProfileName() string

func (*TelegramProxyLink) GetRelay added in v0.1.69

func (x *TelegramProxyLink) GetRelay() bool

func (*TelegramProxyLink) GetUrl added in v0.1.69

func (x *TelegramProxyLink) GetUrl() string

func (*TelegramProxyLink) GetVia added in v0.1.69

func (x *TelegramProxyLink) GetVia() string

func (*TelegramProxyLink) ProtoMessage added in v0.1.69

func (*TelegramProxyLink) ProtoMessage()

func (*TelegramProxyLink) ProtoReflect added in v0.1.69

func (x *TelegramProxyLink) ProtoReflect() protoreflect.Message

func (*TelegramProxyLink) Reset added in v0.1.69

func (x *TelegramProxyLink) Reset()

func (*TelegramProxyLink) String added in v0.1.69

func (x *TelegramProxyLink) String() string

type TelegramStatus added in v0.1.23

type TelegramStatus struct {
	Bot *TelegramBot `protobuf:"bytes,1,opt,name=bot,proto3" json:"bot,omitempty"`
	// This admin's chat; unset when none is linked.
	Mine *TelegramLink `protobuf:"bytes,2,opt,name=mine,proto3" json:"mine,omitempty"`
	// Everyone who linked a chat. Filled for the owner only.
	Links []*TelegramLink `protobuf:"bytes,3,rep,name=links,proto3" json:"links,omitempty"`
	// The panel knows its public admin address, so alerts carry a link to the admin. Without it they say what happened only.
	AdminUrlKnown bool `protobuf:"varint,4,opt,name=admin_url_known,json=adminUrlKnown,proto3" json:"admin_url_known,omitempty"`
	// contains filtered or unexported fields
}

func (*TelegramStatus) Descriptor deprecated added in v0.1.23

func (*TelegramStatus) Descriptor() ([]byte, []int)

Deprecated: Use TelegramStatus.ProtoReflect.Descriptor instead.

func (*TelegramStatus) GetAdminUrlKnown added in v0.1.23

func (x *TelegramStatus) GetAdminUrlKnown() bool

func (*TelegramStatus) GetBot added in v0.1.23

func (x *TelegramStatus) GetBot() *TelegramBot
func (x *TelegramStatus) GetLinks() []*TelegramLink

func (*TelegramStatus) GetMine added in v0.1.23

func (x *TelegramStatus) GetMine() *TelegramLink

func (*TelegramStatus) ProtoMessage added in v0.1.23

func (*TelegramStatus) ProtoMessage()

func (*TelegramStatus) ProtoReflect added in v0.1.23

func (x *TelegramStatus) ProtoReflect() protoreflect.Message

func (*TelegramStatus) Reset added in v0.1.23

func (x *TelegramStatus) Reset()

func (*TelegramStatus) String added in v0.1.23

func (x *TelegramStatus) String() string

type TestBackupStorageRequest

type TestBackupStorageRequest struct {
	// contains filtered or unexported fields
}

func (*TestBackupStorageRequest) Descriptor deprecated

func (*TestBackupStorageRequest) Descriptor() ([]byte, []int)

Deprecated: Use TestBackupStorageRequest.ProtoReflect.Descriptor instead.

func (*TestBackupStorageRequest) ProtoMessage

func (*TestBackupStorageRequest) ProtoMessage()

func (*TestBackupStorageRequest) ProtoReflect

func (x *TestBackupStorageRequest) ProtoReflect() protoreflect.Message

func (*TestBackupStorageRequest) Reset

func (x *TestBackupStorageRequest) Reset()

func (*TestBackupStorageRequest) String

func (x *TestBackupStorageRequest) String() string

type TestBackupStorageResponse

type TestBackupStorageResponse struct {
	Ok bool `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"`
	// contains filtered or unexported fields
}

func (*TestBackupStorageResponse) Descriptor deprecated

func (*TestBackupStorageResponse) Descriptor() ([]byte, []int)

Deprecated: Use TestBackupStorageResponse.ProtoReflect.Descriptor instead.

func (*TestBackupStorageResponse) GetOk

func (x *TestBackupStorageResponse) GetOk() bool

func (*TestBackupStorageResponse) ProtoMessage

func (*TestBackupStorageResponse) ProtoMessage()

func (*TestBackupStorageResponse) ProtoReflect

func (*TestBackupStorageResponse) Reset

func (x *TestBackupStorageResponse) Reset()

func (*TestBackupStorageResponse) String

func (x *TestBackupStorageResponse) String() string

type TestBlocklistRequest added in v0.1.41

type TestBlocklistRequest struct {
	// contains filtered or unexported fields
}

func (*TestBlocklistRequest) Descriptor deprecated added in v0.1.41

func (*TestBlocklistRequest) Descriptor() ([]byte, []int)

Deprecated: Use TestBlocklistRequest.ProtoReflect.Descriptor instead.

func (*TestBlocklistRequest) ProtoMessage added in v0.1.41

func (*TestBlocklistRequest) ProtoMessage()

func (*TestBlocklistRequest) ProtoReflect added in v0.1.41

func (x *TestBlocklistRequest) ProtoReflect() protoreflect.Message

func (*TestBlocklistRequest) Reset added in v0.1.41

func (x *TestBlocklistRequest) Reset()

func (*TestBlocklistRequest) String added in v0.1.41

func (x *TestBlocklistRequest) String() string

type TestBlocklistResponse added in v0.1.41

type TestBlocklistResponse struct {

	// Date of the newest list in use (its Last-Modified, else the time it was downloaded).
	ListsUnix int64 `protobuf:"varint,1,opt,name=lists_unix,json=listsUnix,proto3" json:"lists_unix,omitempty"`
	// Prefixes of the registry lists (ipsum and community) and of the CDN list; IPv6 ranges are not counted.
	Prefixes  uint32 `protobuf:"varint,2,opt,name=prefixes,proto3" json:"prefixes,omitempty"`
	CdnRanges uint32 `protobuf:"varint,3,opt,name=cdn_ranges,json=cdnRanges,proto3" json:"cdn_ranges,omitempty"`
	// Active nodes that were checked, and how many of them are in the registry lists.
	NodesChecked uint32 `protobuf:"varint,4,opt,name=nodes_checked,json=nodesChecked,proto3" json:"nodes_checked,omitempty"`
	NodesListed  uint32 `protobuf:"varint,5,opt,name=nodes_listed,json=nodesListed,proto3" json:"nodes_listed,omitempty"`
	// The fallback mirror served ipsum.lst because the main address did not answer.
	MirrorUsed bool `protobuf:"varint,6,opt,name=mirror_used,json=mirrorUsed,proto3" json:"mirror_used,omitempty"`
	// contains filtered or unexported fields
}

func (*TestBlocklistResponse) Descriptor deprecated added in v0.1.41

func (*TestBlocklistResponse) Descriptor() ([]byte, []int)

Deprecated: Use TestBlocklistResponse.ProtoReflect.Descriptor instead.

func (*TestBlocklistResponse) GetCdnRanges added in v0.1.41

func (x *TestBlocklistResponse) GetCdnRanges() uint32

func (*TestBlocklistResponse) GetListsUnix added in v0.1.41

func (x *TestBlocklistResponse) GetListsUnix() int64

func (*TestBlocklistResponse) GetMirrorUsed added in v0.1.41

func (x *TestBlocklistResponse) GetMirrorUsed() bool

func (*TestBlocklistResponse) GetNodesChecked added in v0.1.41

func (x *TestBlocklistResponse) GetNodesChecked() uint32

func (*TestBlocklistResponse) GetNodesListed added in v0.1.41

func (x *TestBlocklistResponse) GetNodesListed() uint32

func (*TestBlocklistResponse) GetPrefixes added in v0.1.41

func (x *TestBlocklistResponse) GetPrefixes() uint32

func (*TestBlocklistResponse) ProtoMessage added in v0.1.41

func (*TestBlocklistResponse) ProtoMessage()

func (*TestBlocklistResponse) ProtoReflect added in v0.1.41

func (x *TestBlocklistResponse) ProtoReflect() protoreflect.Message

func (*TestBlocklistResponse) Reset added in v0.1.41

func (x *TestBlocklistResponse) Reset()

func (*TestBlocklistResponse) String added in v0.1.41

func (x *TestBlocklistResponse) String() string

type TestBsbordRequest added in v0.1.63

type TestBsbordRequest struct {
	// contains filtered or unexported fields
}

func (*TestBsbordRequest) Descriptor deprecated added in v0.1.63

func (*TestBsbordRequest) Descriptor() ([]byte, []int)

Deprecated: Use TestBsbordRequest.ProtoReflect.Descriptor instead.

func (*TestBsbordRequest) ProtoMessage added in v0.1.63

func (*TestBsbordRequest) ProtoMessage()

func (*TestBsbordRequest) ProtoReflect added in v0.1.63

func (x *TestBsbordRequest) ProtoReflect() protoreflect.Message

func (*TestBsbordRequest) Reset added in v0.1.63

func (x *TestBsbordRequest) Reset()

func (*TestBsbordRequest) String added in v0.1.63

func (x *TestBsbordRequest) String() string

type TestBsbordResponse added in v0.1.63

type TestBsbordResponse struct {
	Reachable      bool   `protobuf:"varint,1,opt,name=reachable,proto3" json:"reachable,omitempty"`
	Tier           string `protobuf:"bytes,2,opt,name=tier,proto3" json:"tier,omitempty"`
	BalanceCredits uint64 `protobuf:"varint,3,opt,name=balance_credits,json=balanceCredits,proto3" json:"balance_credits,omitempty"`
	BonusCredits   uint64 `protobuf:"varint,4,opt,name=bonus_credits,json=bonusCredits,proto3" json:"bonus_credits,omitempty"`
	BalanceTotal   uint64 `protobuf:"varint,5,opt,name=balance_total,json=balanceTotal,proto3" json:"balance_total,omitempty"`
	NUnits         uint32 `protobuf:"varint,6,opt,name=n_units,json=nUnits,proto3" json:"n_units,omitempty"`
	NProbeable     uint32 `protobuf:"varint,7,opt,name=n_probeable,json=nProbeable,proto3" json:"n_probeable,omitempty"`
	MinIntervalSec uint32 `protobuf:"varint,8,opt,name=min_interval_sec,json=minIntervalSec,proto3" json:"min_interval_sec,omitempty"`
	ApiVersion     string `protobuf:"bytes,9,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"`
	// contains filtered or unexported fields
}

func (*TestBsbordResponse) Descriptor deprecated added in v0.1.63

func (*TestBsbordResponse) Descriptor() ([]byte, []int)

Deprecated: Use TestBsbordResponse.ProtoReflect.Descriptor instead.

func (*TestBsbordResponse) GetApiVersion added in v0.1.63

func (x *TestBsbordResponse) GetApiVersion() string

func (*TestBsbordResponse) GetBalanceCredits added in v0.1.63

func (x *TestBsbordResponse) GetBalanceCredits() uint64

func (*TestBsbordResponse) GetBalanceTotal added in v0.1.63

func (x *TestBsbordResponse) GetBalanceTotal() uint64

func (*TestBsbordResponse) GetBonusCredits added in v0.1.63

func (x *TestBsbordResponse) GetBonusCredits() uint64

func (*TestBsbordResponse) GetMinIntervalSec added in v0.1.63

func (x *TestBsbordResponse) GetMinIntervalSec() uint32

func (*TestBsbordResponse) GetNProbeable added in v0.1.63

func (x *TestBsbordResponse) GetNProbeable() uint32

func (*TestBsbordResponse) GetNUnits added in v0.1.63

func (x *TestBsbordResponse) GetNUnits() uint32

func (*TestBsbordResponse) GetReachable added in v0.1.63

func (x *TestBsbordResponse) GetReachable() bool

func (*TestBsbordResponse) GetTier added in v0.1.63

func (x *TestBsbordResponse) GetTier() string

func (*TestBsbordResponse) ProtoMessage added in v0.1.63

func (*TestBsbordResponse) ProtoMessage()

func (*TestBsbordResponse) ProtoReflect added in v0.1.63

func (x *TestBsbordResponse) ProtoReflect() protoreflect.Message

func (*TestBsbordResponse) Reset added in v0.1.63

func (x *TestBsbordResponse) Reset()

func (*TestBsbordResponse) String added in v0.1.63

func (x *TestBsbordResponse) String() string

type TestCheburcheckRequest added in v0.1.63

type TestCheburcheckRequest struct {
	// contains filtered or unexported fields
}

func (*TestCheburcheckRequest) Descriptor deprecated added in v0.1.63

func (*TestCheburcheckRequest) Descriptor() ([]byte, []int)

Deprecated: Use TestCheburcheckRequest.ProtoReflect.Descriptor instead.

func (*TestCheburcheckRequest) ProtoMessage added in v0.1.63

func (*TestCheburcheckRequest) ProtoMessage()

func (*TestCheburcheckRequest) ProtoReflect added in v0.1.63

func (x *TestCheburcheckRequest) ProtoReflect() protoreflect.Message

func (*TestCheburcheckRequest) Reset added in v0.1.63

func (x *TestCheburcheckRequest) Reset()

func (*TestCheburcheckRequest) String added in v0.1.63

func (x *TestCheburcheckRequest) String() string

type TestCheburcheckResponse added in v0.1.63

type TestCheburcheckResponse struct {
	Reachable   bool   `protobuf:"varint,1,opt,name=reachable,proto3" json:"reachable,omitempty"`
	Version     string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
	LastUpdate  string `protobuf:"bytes,3,opt,name=last_update,json=lastUpdate,proto3" json:"last_update,omitempty"`
	DomainCount uint64 `protobuf:"varint,4,opt,name=domain_count,json=domainCount,proto3" json:"domain_count,omitempty"`
	V4Count     uint64 `protobuf:"varint,5,opt,name=v4_count,json=v4Count,proto3" json:"v4_count,omitempty"`
	// contains filtered or unexported fields
}

func (*TestCheburcheckResponse) Descriptor deprecated added in v0.1.63

func (*TestCheburcheckResponse) Descriptor() ([]byte, []int)

Deprecated: Use TestCheburcheckResponse.ProtoReflect.Descriptor instead.

func (*TestCheburcheckResponse) GetDomainCount added in v0.1.63

func (x *TestCheburcheckResponse) GetDomainCount() uint64

func (*TestCheburcheckResponse) GetLastUpdate added in v0.1.63

func (x *TestCheburcheckResponse) GetLastUpdate() string

func (*TestCheburcheckResponse) GetReachable added in v0.1.63

func (x *TestCheburcheckResponse) GetReachable() bool

func (*TestCheburcheckResponse) GetV4Count added in v0.1.63

func (x *TestCheburcheckResponse) GetV4Count() uint64

func (*TestCheburcheckResponse) GetVersion added in v0.1.63

func (x *TestCheburcheckResponse) GetVersion() string

func (*TestCheburcheckResponse) ProtoMessage added in v0.1.63

func (*TestCheburcheckResponse) ProtoMessage()

func (*TestCheburcheckResponse) ProtoReflect added in v0.1.63

func (x *TestCheburcheckResponse) ProtoReflect() protoreflect.Message

func (*TestCheburcheckResponse) Reset added in v0.1.63

func (x *TestCheburcheckResponse) Reset()

func (*TestCheburcheckResponse) String added in v0.1.63

func (x *TestCheburcheckResponse) String() string

type TestGlobalpingRequest added in v0.1.41

type TestGlobalpingRequest struct {
	// contains filtered or unexported fields
}

func (*TestGlobalpingRequest) Descriptor deprecated added in v0.1.41

func (*TestGlobalpingRequest) Descriptor() ([]byte, []int)

Deprecated: Use TestGlobalpingRequest.ProtoReflect.Descriptor instead.

func (*TestGlobalpingRequest) ProtoMessage added in v0.1.41

func (*TestGlobalpingRequest) ProtoMessage()

func (*TestGlobalpingRequest) ProtoReflect added in v0.1.41

func (x *TestGlobalpingRequest) ProtoReflect() protoreflect.Message

func (*TestGlobalpingRequest) Reset added in v0.1.41

func (x *TestGlobalpingRequest) Reset()

func (*TestGlobalpingRequest) String added in v0.1.41

func (x *TestGlobalpingRequest) String() string

type TestGlobalpingResponse added in v0.1.41

type TestGlobalpingResponse struct {

	// Globalping answered. false never happens here: a failure is the error above.
	Reachable bool `protobuf:"varint,1,opt,name=reachable,proto3" json:"reachable,omitempty"`
	// The stored token was sent and accepted. false with has_token true cannot happen (a refused token is the error above).
	TokenUsed bool `protobuf:"varint,2,opt,name=token_used,json=tokenUsed,proto3" json:"token_used,omitempty"`
	// The hourly limit that applies (250 without a token, 500 with one), what is left of it and the seconds until it resets.
	Limit     uint32 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"`
	Remaining uint32 `protobuf:"varint,4,opt,name=remaining,proto3" json:"remaining,omitempty"`
	ResetS    uint32 `protobuf:"varint,5,opt,name=reset_s,json=resetS,proto3" json:"reset_s,omitempty"`
	// Credits of the account; 0 without a token.
	Credits uint32 `protobuf:"varint,6,opt,name=credits,proto3" json:"credits,omitempty"`
	// contains filtered or unexported fields
}

func (*TestGlobalpingResponse) Descriptor deprecated added in v0.1.41

func (*TestGlobalpingResponse) Descriptor() ([]byte, []int)

Deprecated: Use TestGlobalpingResponse.ProtoReflect.Descriptor instead.

func (*TestGlobalpingResponse) GetCredits added in v0.1.41

func (x *TestGlobalpingResponse) GetCredits() uint32

func (*TestGlobalpingResponse) GetLimit added in v0.1.41

func (x *TestGlobalpingResponse) GetLimit() uint32

func (*TestGlobalpingResponse) GetReachable added in v0.1.41

func (x *TestGlobalpingResponse) GetReachable() bool

func (*TestGlobalpingResponse) GetRemaining added in v0.1.41

func (x *TestGlobalpingResponse) GetRemaining() uint32

func (*TestGlobalpingResponse) GetResetS added in v0.1.41

func (x *TestGlobalpingResponse) GetResetS() uint32

func (*TestGlobalpingResponse) GetTokenUsed added in v0.1.41

func (x *TestGlobalpingResponse) GetTokenUsed() bool

func (*TestGlobalpingResponse) ProtoMessage added in v0.1.41

func (*TestGlobalpingResponse) ProtoMessage()

func (*TestGlobalpingResponse) ProtoReflect added in v0.1.41

func (x *TestGlobalpingResponse) ProtoReflect() protoreflect.Message

func (*TestGlobalpingResponse) Reset added in v0.1.41

func (x *TestGlobalpingResponse) Reset()

func (*TestGlobalpingResponse) String added in v0.1.41

func (x *TestGlobalpingResponse) String() string

type TestTspuProbeRequest added in v0.1.42

type TestTspuProbeRequest struct {
	// contains filtered or unexported fields
}

func (*TestTspuProbeRequest) Descriptor deprecated added in v0.1.42

func (*TestTspuProbeRequest) Descriptor() ([]byte, []int)

Deprecated: Use TestTspuProbeRequest.ProtoReflect.Descriptor instead.

func (*TestTspuProbeRequest) ProtoMessage added in v0.1.42

func (*TestTspuProbeRequest) ProtoMessage()

func (*TestTspuProbeRequest) ProtoReflect added in v0.1.42

func (x *TestTspuProbeRequest) ProtoReflect() protoreflect.Message

func (*TestTspuProbeRequest) Reset added in v0.1.42

func (x *TestTspuProbeRequest) Reset()

func (*TestTspuProbeRequest) String added in v0.1.42

func (x *TestTspuProbeRequest) String() string

type TestTspuProbeResponse added in v0.1.42

type TestTspuProbeResponse struct {
	Run *TspuProbeRun `protobuf:"bytes,1,opt,name=run,proto3" json:"run,omitempty"`
	// The nodes that got a verdict before the run ended (all of them when run.status is "ok").
	Nodes []*TspuNodeVerdict `protobuf:"bytes,2,rep,name=nodes,proto3" json:"nodes,omitempty"`
	// contains filtered or unexported fields
}

func (*TestTspuProbeResponse) Descriptor deprecated added in v0.1.42

func (*TestTspuProbeResponse) Descriptor() ([]byte, []int)

Deprecated: Use TestTspuProbeResponse.ProtoReflect.Descriptor instead.

func (*TestTspuProbeResponse) GetNodes added in v0.1.42

func (x *TestTspuProbeResponse) GetNodes() []*TspuNodeVerdict

func (*TestTspuProbeResponse) GetRun added in v0.1.42

func (x *TestTspuProbeResponse) GetRun() *TspuProbeRun

func (*TestTspuProbeResponse) ProtoMessage added in v0.1.42

func (*TestTspuProbeResponse) ProtoMessage()

func (*TestTspuProbeResponse) ProtoReflect added in v0.1.42

func (x *TestTspuProbeResponse) ProtoReflect() protoreflect.Message

func (*TestTspuProbeResponse) Reset added in v0.1.42

func (x *TestTspuProbeResponse) Reset()

func (*TestTspuProbeResponse) String added in v0.1.42

func (x *TestTspuProbeResponse) String() string

type TestUserAgentRequest

type TestUserAgentRequest struct {
	UserAgent string `protobuf:"bytes,1,opt,name=user_agent,json=userAgent,proto3" json:"user_agent,omitempty"`
	// contains filtered or unexported fields
}

func (*TestUserAgentRequest) Descriptor deprecated

func (*TestUserAgentRequest) Descriptor() ([]byte, []int)

Deprecated: Use TestUserAgentRequest.ProtoReflect.Descriptor instead.

func (*TestUserAgentRequest) GetUserAgent

func (x *TestUserAgentRequest) GetUserAgent() string

func (*TestUserAgentRequest) ProtoMessage

func (*TestUserAgentRequest) ProtoMessage()

func (*TestUserAgentRequest) ProtoReflect

func (x *TestUserAgentRequest) ProtoReflect() protoreflect.Message

func (*TestUserAgentRequest) Reset

func (x *TestUserAgentRequest) Reset()

func (*TestUserAgentRequest) String

func (x *TestUserAgentRequest) String() string

type TestUserAgentResponse

type TestUserAgentResponse struct {

	// Index into settings.rules; -1 = no rule matched (fallback).
	RuleIndex int32     `protobuf:"varint,1,opt,name=rule_index,json=ruleIndex,proto3" json:"rule_index,omitempty"`
	Format    SubFormat `protobuf:"varint,2,opt,name=format,proto3,enum=mistgate.admin.v1.SubFormat" json:"format,omitempty"`
	// True when the fallback treated the User-Agent as a browser.
	Browser bool `protobuf:"varint,3,opt,name=browser,proto3" json:"browser,omitempty"`
	// contains filtered or unexported fields
}

func (*TestUserAgentResponse) Descriptor deprecated

func (*TestUserAgentResponse) Descriptor() ([]byte, []int)

Deprecated: Use TestUserAgentResponse.ProtoReflect.Descriptor instead.

func (*TestUserAgentResponse) GetBrowser

func (x *TestUserAgentResponse) GetBrowser() bool

func (*TestUserAgentResponse) GetFormat

func (x *TestUserAgentResponse) GetFormat() SubFormat

func (*TestUserAgentResponse) GetRuleIndex

func (x *TestUserAgentResponse) GetRuleIndex() int32

func (*TestUserAgentResponse) ProtoMessage

func (*TestUserAgentResponse) ProtoMessage()

func (*TestUserAgentResponse) ProtoReflect

func (x *TestUserAgentResponse) ProtoReflect() protoreflect.Message

func (*TestUserAgentResponse) Reset

func (x *TestUserAgentResponse) Reset()

func (*TestUserAgentResponse) String

func (x *TestUserAgentResponse) String() string

type TokenChannel

type TokenChannel int32

Where a token was last used.

const (
	TokenChannel_TOKEN_CHANNEL_UNSPECIFIED TokenChannel = 0
	// Connect-RPC call with a Bearer header (a script).
	TokenChannel_TOKEN_CHANNEL_API TokenChannel = 1
	// The MCP endpoint.
	TokenChannel_TOKEN_CHANNEL_MCP TokenChannel = 2
)

func (TokenChannel) Descriptor

func (TokenChannel) Enum

func (x TokenChannel) Enum() *TokenChannel

func (TokenChannel) EnumDescriptor deprecated

func (TokenChannel) EnumDescriptor() ([]byte, []int)

Deprecated: Use TokenChannel.Descriptor instead.

func (TokenChannel) Number

func (TokenChannel) String

func (x TokenChannel) String() string

func (TokenChannel) Type

type TokenProfile

type TokenProfile int32
const (
	TokenProfile_TOKEN_PROFILE_UNSPECIFIED TokenProfile = 0
	// Reads only. Role readonly.
	TokenProfile_TOKEN_PROFILE_READONLY TokenProfile = 1
	// Reads and day-to-day changes (users, devices, alerts). Role helper.
	TokenProfile_TOKEN_PROFILE_OPERATOR TokenProfile = 2
	// Everything a token may do, including fixes and rollouts (those through the owner's approval). Role owner.
	TokenProfile_TOKEN_PROFILE_ADMIN TokenProfile = 3
)

func (TokenProfile) Descriptor

func (TokenProfile) Enum

func (x TokenProfile) Enum() *TokenProfile

func (TokenProfile) EnumDescriptor deprecated

func (TokenProfile) EnumDescriptor() ([]byte, []int)

Deprecated: Use TokenProfile.Descriptor instead.

func (TokenProfile) Number

func (TokenProfile) String

func (x TokenProfile) String() string

func (TokenProfile) Type

type TopConsumer

type TopConsumer struct {
	UserId   string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	UserName string `protobuf:"bytes,2,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"`
	NodeId   string `protobuf:"bytes,3,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	NodeName string `protobuf:"bytes,4,opt,name=node_name,json=nodeName,proto3" json:"node_name,omitempty"`
	// Download speed over the last ~60 s, bits per second.
	DownBps uint64 `protobuf:"varint,5,opt,name=down_bps,json=downBps,proto3" json:"down_bps,omitempty"`
	// contains filtered or unexported fields
}

func (*TopConsumer) Descriptor deprecated

func (*TopConsumer) Descriptor() ([]byte, []int)

Deprecated: Use TopConsumer.ProtoReflect.Descriptor instead.

func (*TopConsumer) GetDownBps

func (x *TopConsumer) GetDownBps() uint64

func (*TopConsumer) GetNodeId

func (x *TopConsumer) GetNodeId() string

func (*TopConsumer) GetNodeName

func (x *TopConsumer) GetNodeName() string

func (*TopConsumer) GetUserId

func (x *TopConsumer) GetUserId() string

func (*TopConsumer) GetUserName

func (x *TopConsumer) GetUserName() string

func (*TopConsumer) ProtoMessage

func (*TopConsumer) ProtoMessage()

func (*TopConsumer) ProtoReflect

func (x *TopConsumer) ProtoReflect() protoreflect.Message

func (*TopConsumer) Reset

func (x *TopConsumer) Reset()

func (*TopConsumer) String

func (x *TopConsumer) String() string

type TopUser

type TopUser struct {
	UserId   string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	UserName string `protobuf:"bytes,2,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"`
	Bytes    uint64 `protobuf:"varint,3,opt,name=bytes,proto3" json:"bytes,omitempty"`
	// contains filtered or unexported fields
}

func (*TopUser) Descriptor deprecated

func (*TopUser) Descriptor() ([]byte, []int)

Deprecated: Use TopUser.ProtoReflect.Descriptor instead.

func (*TopUser) GetBytes

func (x *TopUser) GetBytes() uint64

func (*TopUser) GetUserId

func (x *TopUser) GetUserId() string

func (*TopUser) GetUserName

func (x *TopUser) GetUserName() string

func (*TopUser) ProtoMessage

func (*TopUser) ProtoMessage()

func (*TopUser) ProtoReflect

func (x *TopUser) ProtoReflect() protoreflect.Message

func (*TopUser) Reset

func (x *TopUser) Reset()

func (*TopUser) String

func (x *TopUser) String() string

type TspuNodeVerdict added in v0.1.42

type TspuNodeVerdict struct {
	NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	Name   string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// "blocked" (every tested port), "partial", "open" (none), "unknown" (no verdict).
	Verdict string      `protobuf:"bytes,3,opt,name=verdict,proto3" json:"verdict,omitempty"`
	Ports   []*TspuPort `protobuf:"bytes,4,rep,name=ports,proto3" json:"ports,omitempty"`
	// contains filtered or unexported fields
}

func (*TspuNodeVerdict) Descriptor deprecated added in v0.1.42

func (*TspuNodeVerdict) Descriptor() ([]byte, []int)

Deprecated: Use TspuNodeVerdict.ProtoReflect.Descriptor instead.

func (*TspuNodeVerdict) GetName added in v0.1.42

func (x *TspuNodeVerdict) GetName() string

func (*TspuNodeVerdict) GetNodeId added in v0.1.42

func (x *TspuNodeVerdict) GetNodeId() string

func (*TspuNodeVerdict) GetPorts added in v0.1.42

func (x *TspuNodeVerdict) GetPorts() []*TspuPort

func (*TspuNodeVerdict) GetVerdict added in v0.1.42

func (x *TspuNodeVerdict) GetVerdict() string

func (*TspuNodeVerdict) ProtoMessage added in v0.1.42

func (*TspuNodeVerdict) ProtoMessage()

func (*TspuNodeVerdict) ProtoReflect added in v0.1.42

func (x *TspuNodeVerdict) ProtoReflect() protoreflect.Message

func (*TspuNodeVerdict) Reset added in v0.1.42

func (x *TspuNodeVerdict) Reset()

func (*TspuNodeVerdict) String added in v0.1.42

func (x *TspuNodeVerdict) String() string

type TspuPort added in v0.1.42

type TspuPort struct {
	Port    uint32 `protobuf:"varint,1,opt,name=port,proto3" json:"port,omitempty"`
	Verdict string `protobuf:"bytes,2,opt,name=verdict,proto3" json:"verdict,omitempty"`
	// contains filtered or unexported fields
}

What the probe node saw on one TCP port of a node: "blocked" (the SYN dies at the TSPU), "open" (connected, or a router behind the TSPU answered), "refused" (a reset), "timeout" (no verdict).

func (*TspuPort) Descriptor deprecated added in v0.1.42

func (*TspuPort) Descriptor() ([]byte, []int)

Deprecated: Use TspuPort.ProtoReflect.Descriptor instead.

func (*TspuPort) GetPort added in v0.1.42

func (x *TspuPort) GetPort() uint32

func (*TspuPort) GetVerdict added in v0.1.42

func (x *TspuPort) GetVerdict() string

func (*TspuPort) ProtoMessage added in v0.1.42

func (*TspuPort) ProtoMessage()

func (*TspuPort) ProtoReflect added in v0.1.42

func (x *TspuPort) ProtoReflect() protoreflect.Message

func (*TspuPort) Reset added in v0.1.42

func (x *TspuPort) Reset()

func (*TspuPort) String added in v0.1.42

func (x *TspuPort) String() string

type TspuProbeNode added in v0.1.42

type TspuProbeNode struct {
	Id   string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// ISO 3166-1 alpha-2 of the node (as the owner entered it), "" when unknown.
	CountryCode string `protobuf:"bytes,3,opt,name=country_code,json=countryCode,proto3" json:"country_code,omitempty"`
	// In the shared country of the country check.
	InCountry bool `protobuf:"varint,4,opt,name=in_country,json=inCountry,proto3" json:"in_country,omitempty"`
	// The agent lists country-probe/1.
	Declares bool `protobuf:"varint,5,opt,name=declares,proto3" json:"declares,omitempty"`
	Online   bool `protobuf:"varint,6,opt,name=online,proto3" json:"online,omitempty"`
	// contains filtered or unexported fields
}

A node that could be the probe node. The picker lists every active node, those in the selected country first.

func (*TspuProbeNode) Descriptor deprecated added in v0.1.42

func (*TspuProbeNode) Descriptor() ([]byte, []int)

Deprecated: Use TspuProbeNode.ProtoReflect.Descriptor instead.

func (*TspuProbeNode) GetCountryCode added in v0.1.42

func (x *TspuProbeNode) GetCountryCode() string

func (*TspuProbeNode) GetDeclares added in v0.1.42

func (x *TspuProbeNode) GetDeclares() bool

func (*TspuProbeNode) GetId added in v0.1.42

func (x *TspuProbeNode) GetId() string

func (*TspuProbeNode) GetInCountry added in v0.1.42

func (x *TspuProbeNode) GetInCountry() bool

func (*TspuProbeNode) GetName added in v0.1.42

func (x *TspuProbeNode) GetName() string

func (*TspuProbeNode) GetOnline added in v0.1.42

func (x *TspuProbeNode) GetOnline() bool

func (*TspuProbeNode) ProtoMessage added in v0.1.42

func (*TspuProbeNode) ProtoMessage()

func (*TspuProbeNode) ProtoReflect added in v0.1.42

func (x *TspuProbeNode) ProtoReflect() protoreflect.Message

func (*TspuProbeNode) Reset added in v0.1.42

func (x *TspuProbeNode) Reset()

func (*TspuProbeNode) String added in v0.1.42

func (x *TspuProbeNode) String() string

type TspuProbeRun added in v0.1.42

type TspuProbeRun struct {

	// "ok": the probe ran and rows were stored. "control_failed": the control address is blocked behind the TSPU on this network,
	// so the method does not apply there (no verdict about any node). "no_dpi_hop": the TSPU could not be placed (every reference
	// address was tried; see reason). "busy": the agent was busy, tried again later. "failed": no answer or an error.
	Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	// When it ended.
	AtUnix int64 `protobuf:"varint,2,opt,name=at_unix,json=atUnix,proto3" json:"at_unix,omitempty"`
	// The probe node that ran it.
	NodeId string `protobuf:"bytes,3,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	// The TTL of the last router before the TSPU box, 0 when it was not placed.
	DpiHop uint32 `protobuf:"varint,4,opt,name=dpi_hop,json=dpiHop,proto3" json:"dpi_hop,omitempty"`
	// The reference address (blocked in the country) that placed the TSPU, "" when none did.
	BlockedRef string `protobuf:"bytes,5,opt,name=blocked_ref,json=blockedRef,proto3" json:"blocked_ref,omitempty"`
	// Nodes that got a verdict in the run.
	NodesChecked uint32 `protobuf:"varint,6,opt,name=nodes_checked,json=nodesChecked,proto3" json:"nodes_checked,omitempty"`
	// For "failed", a machine word: "agent_too_old", "unreachable", "timeout", "agent_error"; "" otherwise.
	Detail string `protobuf:"bytes,7,opt,name=detail,proto3" json:"detail,omitempty"`
	// For "no_dpi_hop", why the TSPU could not be placed: "refs_pass" (a reference address answered, so blocked addresses get
	// through on the probe node's path: it has no TSPU this method can see), "no_hops" (no router on the path answered, so the
	// route is hidden); "" when unknown (an older agent) and for every other status.
	Reason string `protobuf:"bytes,8,opt,name=reason,proto3" json:"reason,omitempty"`
	// contains filtered or unexported fields
}

What the last run of the probe node said. Absent (unset) until the first run.

func (*TspuProbeRun) Descriptor deprecated added in v0.1.42

func (*TspuProbeRun) Descriptor() ([]byte, []int)

Deprecated: Use TspuProbeRun.ProtoReflect.Descriptor instead.

func (*TspuProbeRun) GetAtUnix added in v0.1.42

func (x *TspuProbeRun) GetAtUnix() int64

func (*TspuProbeRun) GetBlockedRef added in v0.1.42

func (x *TspuProbeRun) GetBlockedRef() string

func (*TspuProbeRun) GetDetail added in v0.1.42

func (x *TspuProbeRun) GetDetail() string

func (*TspuProbeRun) GetDpiHop added in v0.1.42

func (x *TspuProbeRun) GetDpiHop() uint32

func (*TspuProbeRun) GetNodeId added in v0.1.42

func (x *TspuProbeRun) GetNodeId() string

func (*TspuProbeRun) GetNodesChecked added in v0.1.42

func (x *TspuProbeRun) GetNodesChecked() uint32

func (*TspuProbeRun) GetReason added in v0.1.44

func (x *TspuProbeRun) GetReason() string

func (*TspuProbeRun) GetStatus added in v0.1.42

func (x *TspuProbeRun) GetStatus() string

func (*TspuProbeRun) ProtoMessage added in v0.1.42

func (*TspuProbeRun) ProtoMessage()

func (*TspuProbeRun) ProtoReflect added in v0.1.42

func (x *TspuProbeRun) ProtoReflect() protoreflect.Message

func (*TspuProbeRun) Reset added in v0.1.42

func (x *TspuProbeRun) Reset()

func (*TspuProbeRun) String added in v0.1.42

func (x *TspuProbeRun) String() string

type TspuProbeSettings added in v0.1.42

type TspuProbeSettings struct {

	// Default false.
	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// false: the shared country of the country check is not Russia, or this is the Cloudflare edition; see unavailable_reason.
	Available bool `protobuf:"varint,2,opt,name=available,proto3" json:"available,omitempty"`
	// "country" or "edition" when available is false, "" otherwise.
	UnavailableReason string `protobuf:"bytes,3,opt,name=unavailable_reason,json=unavailableReason,proto3" json:"unavailable_reason,omitempty"`
	// The probe node's id, "" = none chosen (nothing runs).
	ProbeNodeId string `protobuf:"bytes,4,opt,name=probe_node_id,json=probeNodeId,proto3" json:"probe_node_id,omitempty"`
	// Minutes between runs, 30..1440; default 120.
	IntervalMin uint32 `protobuf:"varint,5,opt,name=interval_min,json=intervalMin,proto3" json:"interval_min,omitempty"`
	// The picker: every active node, nodes in the selected country first, each with whether it can do the job now.
	Nodes   []*TspuProbeNode `protobuf:"bytes,6,rep,name=nodes,proto3" json:"nodes,omitempty"`
	LastRun *TspuProbeRun    `protobuf:"bytes,7,opt,name=last_run,json=lastRun,proto3" json:"last_run,omitempty"`
	// contains filtered or unexported fields
}

func (*TspuProbeSettings) Descriptor deprecated added in v0.1.42

func (*TspuProbeSettings) Descriptor() ([]byte, []int)

Deprecated: Use TspuProbeSettings.ProtoReflect.Descriptor instead.

func (*TspuProbeSettings) GetAvailable added in v0.1.42

func (x *TspuProbeSettings) GetAvailable() bool

func (*TspuProbeSettings) GetEnabled added in v0.1.42

func (x *TspuProbeSettings) GetEnabled() bool

func (*TspuProbeSettings) GetIntervalMin added in v0.1.42

func (x *TspuProbeSettings) GetIntervalMin() uint32

func (*TspuProbeSettings) GetLastRun added in v0.1.42

func (x *TspuProbeSettings) GetLastRun() *TspuProbeRun

func (*TspuProbeSettings) GetNodes added in v0.1.42

func (x *TspuProbeSettings) GetNodes() []*TspuProbeNode

func (*TspuProbeSettings) GetProbeNodeId added in v0.1.42

func (x *TspuProbeSettings) GetProbeNodeId() string

func (*TspuProbeSettings) GetUnavailableReason added in v0.1.42

func (x *TspuProbeSettings) GetUnavailableReason() string

func (*TspuProbeSettings) ProtoMessage added in v0.1.42

func (*TspuProbeSettings) ProtoMessage()

func (*TspuProbeSettings) ProtoReflect added in v0.1.42

func (x *TspuProbeSettings) ProtoReflect() protoreflect.Message

func (*TspuProbeSettings) Reset added in v0.1.42

func (x *TspuProbeSettings) Reset()

func (*TspuProbeSettings) String added in v0.1.42

func (x *TspuProbeSettings) String() string

type TwinProfileRequest

type TwinProfileRequest struct {
	ProfileId string `protobuf:"bytes,1,opt,name=profile_id,json=profileId,proto3" json:"profile_id,omitempty"`
	// "direct" | "warp": the twin's exit. Empty = the other one than the profile's own.
	Egress string `protobuf:"bytes,2,opt,name=egress,proto3" json:"egress,omitempty"`
	DryRun bool   `protobuf:"varint,3,opt,name=dry_run,json=dryRun,proto3" json:"dry_run,omitempty"`
	// The port a dry run named; the real call sends it back so that the plan that was confirmed is the one that is made.
	// 0 = choose one.
	Port uint32 `protobuf:"varint,4,opt,name=port,proto3" json:"port,omitempty"`
	// Nodes of the profile the twin is not put on (the owner unticked them: a node without WARP, where a WARP twin
	// never starts). The response's node_ids leave them out; a dry run is usually asked without, to list them all.
	SkipNodeIds []string `protobuf:"bytes,5,rep,name=skip_node_ids,json=skipNodeIds,proto3" json:"skip_node_ids,omitempty"`
	// contains filtered or unexported fields
}

func (*TwinProfileRequest) Descriptor deprecated

func (*TwinProfileRequest) Descriptor() ([]byte, []int)

Deprecated: Use TwinProfileRequest.ProtoReflect.Descriptor instead.

func (*TwinProfileRequest) GetDryRun

func (x *TwinProfileRequest) GetDryRun() bool

func (*TwinProfileRequest) GetEgress

func (x *TwinProfileRequest) GetEgress() string

func (*TwinProfileRequest) GetPort

func (x *TwinProfileRequest) GetPort() uint32

func (*TwinProfileRequest) GetProfileId

func (x *TwinProfileRequest) GetProfileId() string

func (*TwinProfileRequest) GetSkipNodeIds

func (x *TwinProfileRequest) GetSkipNodeIds() []string

func (*TwinProfileRequest) ProtoMessage

func (*TwinProfileRequest) ProtoMessage()

func (*TwinProfileRequest) ProtoReflect

func (x *TwinProfileRequest) ProtoReflect() protoreflect.Message

func (*TwinProfileRequest) Reset

func (x *TwinProfileRequest) Reset()

func (*TwinProfileRequest) String

func (x *TwinProfileRequest) String() string

type TwinProfileResponse

type TwinProfileResponse struct {

	// The new profile; unset on a dry run.
	Profile *ProfileSummary `protobuf:"bytes,1,opt,name=profile,proto3" json:"profile,omitempty"`
	Name    string          `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Egress  string          `protobuf:"bytes,3,opt,name=egress,proto3" json:"egress,omitempty"`
	Port    uint32          `protobuf:"varint,4,opt,name=port,proto3" json:"port,omitempty"`
	// Where the twin goes: the nodes the profile runs on (enabled inbounds) and the groups it is in.
	NodeIds  []string `protobuf:"bytes,5,rep,name=node_ids,json=nodeIds,proto3" json:"node_ids,omitempty"`
	GroupIds []string `protobuf:"bytes,6,rep,name=group_ids,json=groupIds,proto3" json:"group_ids,omitempty"`
	// The profile has port hopping and the twin has none (the two ranges would overlap).
	HopDropped bool `protobuf:"varint,7,opt,name=hop_dropped,json=hopDropped,proto3" json:"hop_dropped,omitempty"`
	// The UDP delivery check behind the chosen port: its result on each node (verdict "" with a reason where it could
	// not run), and the candidates skipped because they lost packets. A twin that finds no clean port fails with
	// FAILED_PRECONDITION "no_clean_port".
	PortChecks []*PortCheck `protobuf:"bytes,8,rep,name=port_checks,json=portChecks,proto3" json:"port_checks,omitempty"`
	// contains filtered or unexported fields
}

func (*TwinProfileResponse) Descriptor deprecated

func (*TwinProfileResponse) Descriptor() ([]byte, []int)

Deprecated: Use TwinProfileResponse.ProtoReflect.Descriptor instead.

func (*TwinProfileResponse) GetEgress

func (x *TwinProfileResponse) GetEgress() string

func (*TwinProfileResponse) GetGroupIds

func (x *TwinProfileResponse) GetGroupIds() []string

func (*TwinProfileResponse) GetHopDropped

func (x *TwinProfileResponse) GetHopDropped() bool

func (*TwinProfileResponse) GetName

func (x *TwinProfileResponse) GetName() string

func (*TwinProfileResponse) GetNodeIds

func (x *TwinProfileResponse) GetNodeIds() []string

func (*TwinProfileResponse) GetPort

func (x *TwinProfileResponse) GetPort() uint32

func (*TwinProfileResponse) GetPortChecks added in v0.1.28

func (x *TwinProfileResponse) GetPortChecks() []*PortCheck

func (*TwinProfileResponse) GetProfile

func (x *TwinProfileResponse) GetProfile() *ProfileSummary

func (*TwinProfileResponse) ProtoMessage

func (*TwinProfileResponse) ProtoMessage()

func (*TwinProfileResponse) ProtoReflect

func (x *TwinProfileResponse) ProtoReflect() protoreflect.Message

func (*TwinProfileResponse) Reset

func (x *TwinProfileResponse) Reset()

func (*TwinProfileResponse) String

func (x *TwinProfileResponse) String() string

type UdpLossNotice added in v0.1.41

type UdpLossNotice struct {
	NodeIds []string `protobuf:"bytes,1,rep,name=node_ids,json=nodeIds,proto3" json:"node_ids,omitempty"`
	// Share of slow UDP rounds across the listed nodes, 0-100.
	SharePercent uint32 `protobuf:"varint,2,opt,name=share_percent,json=sharePercent,proto3" json:"share_percent,omitempty"`
	// Packets the panel's Hysteria2 client declared lost, per thousand sent, over the listed nodes' rounds of the last hour;
	// 0 when it lost none or there were no Hysteria2 rounds. The way from the panel to the nodes.
	LostPermille uint32 `protobuf:"varint,3,opt,name=lost_permille,json=lostPermille,proto3" json:"lost_permille,omitempty"`
	// The same for the way back: what the listed nodes declared lost of what they sent to the panel's Hysteria2 check
	// (CheckCell.node_lost_hour over node_sent_hour). 0 when none or not counted.
	NodeLostPermille uint32 `protobuf:"varint,4,opt,name=node_lost_permille,json=nodeLostPermille,proto3" json:"node_lost_permille,omitempty"`
	// contains filtered or unexported fields
}

The nodes whose UDP probes (hysteria2, awg) were slow over the last hour of OK rounds, judged against the panel's TCP probe (vless) of the same node: a UDP round is slow when its latency_ms is 600 ms or more above the median latency_ms of that node's VLESS rounds, which is what a lost packet costs (a QUIC or TCP retry timer) and what jitter never does. A node needs at least 3 UDP rounds, and is listed when 20 % of them or more were slow. A node without VLESS rounds is judged by the old rule (connect_ms of 2000 or more) and is listed only when another such node is too. Not shown while the panel's TCP probes are slow themselves (5 % of VLESS rounds or more with connect_ms of 2000 or more): then the panel's own network is the problem, not UDP.

func (*UdpLossNotice) Descriptor deprecated added in v0.1.41

func (*UdpLossNotice) Descriptor() ([]byte, []int)

Deprecated: Use UdpLossNotice.ProtoReflect.Descriptor instead.

func (*UdpLossNotice) GetLostPermille added in v0.1.60

func (x *UdpLossNotice) GetLostPermille() uint32

func (*UdpLossNotice) GetNodeIds added in v0.1.41

func (x *UdpLossNotice) GetNodeIds() []string

func (*UdpLossNotice) GetNodeLostPermille added in v0.1.61

func (x *UdpLossNotice) GetNodeLostPermille() uint32

func (*UdpLossNotice) GetSharePercent added in v0.1.41

func (x *UdpLossNotice) GetSharePercent() uint32

func (*UdpLossNotice) ProtoMessage added in v0.1.41

func (*UdpLossNotice) ProtoMessage()

func (*UdpLossNotice) ProtoReflect added in v0.1.41

func (x *UdpLossNotice) ProtoReflect() protoreflect.Message

func (*UdpLossNotice) Reset added in v0.1.41

func (x *UdpLossNotice) Reset()

func (*UdpLossNotice) String added in v0.1.41

func (x *UdpLossNotice) String() string

type UnacceptDoctorItemRequest

type UnacceptDoctorItemRequest struct {
	NodeId  string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	CheckId string `protobuf:"bytes,2,opt,name=check_id,json=checkId,proto3" json:"check_id,omitempty"`
	// contains filtered or unexported fields
}

func (*UnacceptDoctorItemRequest) Descriptor deprecated

func (*UnacceptDoctorItemRequest) Descriptor() ([]byte, []int)

Deprecated: Use UnacceptDoctorItemRequest.ProtoReflect.Descriptor instead.

func (*UnacceptDoctorItemRequest) GetCheckId

func (x *UnacceptDoctorItemRequest) GetCheckId() string

func (*UnacceptDoctorItemRequest) GetNodeId

func (x *UnacceptDoctorItemRequest) GetNodeId() string

func (*UnacceptDoctorItemRequest) ProtoMessage

func (*UnacceptDoctorItemRequest) ProtoMessage()

func (*UnacceptDoctorItemRequest) ProtoReflect

func (*UnacceptDoctorItemRequest) Reset

func (x *UnacceptDoctorItemRequest) Reset()

func (*UnacceptDoctorItemRequest) String

func (x *UnacceptDoctorItemRequest) String() string

type UnacceptDoctorItemResponse

type UnacceptDoctorItemResponse struct {
	Doctor *NodeDoctor `protobuf:"bytes,1,opt,name=doctor,proto3" json:"doctor,omitempty"`
	// contains filtered or unexported fields
}

func (*UnacceptDoctorItemResponse) Descriptor deprecated

func (*UnacceptDoctorItemResponse) Descriptor() ([]byte, []int)

Deprecated: Use UnacceptDoctorItemResponse.ProtoReflect.Descriptor instead.

func (*UnacceptDoctorItemResponse) GetDoctor

func (x *UnacceptDoctorItemResponse) GetDoctor() *NodeDoctor

func (*UnacceptDoctorItemResponse) ProtoMessage

func (*UnacceptDoctorItemResponse) ProtoMessage()

func (*UnacceptDoctorItemResponse) ProtoReflect

func (*UnacceptDoctorItemResponse) Reset

func (x *UnacceptDoctorItemResponse) Reset()

func (*UnacceptDoctorItemResponse) String

func (x *UnacceptDoctorItemResponse) String() string

type UnblockDeviceRequest added in v0.1.39

type UnblockDeviceRequest struct {

	// The id of a device in GetUserResponse.blocked_devices.
	DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
	// contains filtered or unexported fields
}

func (*UnblockDeviceRequest) Descriptor deprecated added in v0.1.39

func (*UnblockDeviceRequest) Descriptor() ([]byte, []int)

Deprecated: Use UnblockDeviceRequest.ProtoReflect.Descriptor instead.

func (*UnblockDeviceRequest) GetDeviceId added in v0.1.39

func (x *UnblockDeviceRequest) GetDeviceId() string

func (*UnblockDeviceRequest) ProtoMessage added in v0.1.39

func (*UnblockDeviceRequest) ProtoMessage()

func (*UnblockDeviceRequest) ProtoReflect added in v0.1.39

func (x *UnblockDeviceRequest) ProtoReflect() protoreflect.Message

func (*UnblockDeviceRequest) Reset added in v0.1.39

func (x *UnblockDeviceRequest) Reset()

func (*UnblockDeviceRequest) String added in v0.1.39

func (x *UnblockDeviceRequest) String() string

type UnblockDeviceResponse added in v0.1.39

type UnblockDeviceResponse struct {
	User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	// contains filtered or unexported fields
}

func (*UnblockDeviceResponse) Descriptor deprecated added in v0.1.39

func (*UnblockDeviceResponse) Descriptor() ([]byte, []int)

Deprecated: Use UnblockDeviceResponse.ProtoReflect.Descriptor instead.

func (*UnblockDeviceResponse) GetUser added in v0.1.39

func (x *UnblockDeviceResponse) GetUser() *User

func (*UnblockDeviceResponse) ProtoMessage added in v0.1.39

func (*UnblockDeviceResponse) ProtoMessage()

func (*UnblockDeviceResponse) ProtoReflect added in v0.1.39

func (x *UnblockDeviceResponse) ProtoReflect() protoreflect.Message

func (*UnblockDeviceResponse) Reset added in v0.1.39

func (x *UnblockDeviceResponse) Reset()

func (*UnblockDeviceResponse) String added in v0.1.39

func (x *UnblockDeviceResponse) String() string

type UnlinkTelegramRequest added in v0.1.23

type UnlinkTelegramRequest struct {
	// contains filtered or unexported fields
}

func (*UnlinkTelegramRequest) Descriptor deprecated added in v0.1.23

func (*UnlinkTelegramRequest) Descriptor() ([]byte, []int)

Deprecated: Use UnlinkTelegramRequest.ProtoReflect.Descriptor instead.

func (*UnlinkTelegramRequest) ProtoMessage added in v0.1.23

func (*UnlinkTelegramRequest) ProtoMessage()

func (*UnlinkTelegramRequest) ProtoReflect added in v0.1.23

func (x *UnlinkTelegramRequest) ProtoReflect() protoreflect.Message

func (*UnlinkTelegramRequest) Reset added in v0.1.23

func (x *UnlinkTelegramRequest) Reset()

func (*UnlinkTelegramRequest) String added in v0.1.23

func (x *UnlinkTelegramRequest) String() string

type UnlinkTelegramResponse added in v0.1.23

type UnlinkTelegramResponse struct {
	Status *TelegramStatus `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*UnlinkTelegramResponse) Descriptor deprecated added in v0.1.23

func (*UnlinkTelegramResponse) Descriptor() ([]byte, []int)

Deprecated: Use UnlinkTelegramResponse.ProtoReflect.Descriptor instead.

func (*UnlinkTelegramResponse) GetStatus added in v0.1.23

func (x *UnlinkTelegramResponse) GetStatus() *TelegramStatus

func (*UnlinkTelegramResponse) ProtoMessage added in v0.1.23

func (*UnlinkTelegramResponse) ProtoMessage()

func (*UnlinkTelegramResponse) ProtoReflect added in v0.1.23

func (x *UnlinkTelegramResponse) ProtoReflect() protoreflect.Message

func (*UnlinkTelegramResponse) Reset added in v0.1.23

func (x *UnlinkTelegramResponse) Reset()

func (*UnlinkTelegramResponse) String added in v0.1.23

func (x *UnlinkTelegramResponse) String() string

type UpdateBackupSettingsRequest

type UpdateBackupSettingsRequest struct {
	AccountId       string `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
	Jurisdiction    string `protobuf:"bytes,2,opt,name=jurisdiction,proto3" json:"jurisdiction,omitempty"`
	Bucket          string `protobuf:"bytes,3,opt,name=bucket,proto3" json:"bucket,omitempty"`
	AccessKeyId     string `protobuf:"bytes,4,opt,name=access_key_id,json=accessKeyId,proto3" json:"access_key_id,omitempty"`
	SecretAccessKey string `protobuf:"bytes,5,opt,name=secret_access_key,json=secretAccessKey,proto3" json:"secret_access_key,omitempty"`
	AgeRecipient    string `protobuf:"bytes,6,opt,name=age_recipient,json=ageRecipient,proto3" json:"age_recipient,omitempty"`
	Enabled         bool   `protobuf:"varint,7,opt,name=enabled,proto3" json:"enabled,omitempty"`
	IntervalHours   int32  `protobuf:"varint,8,opt,name=interval_hours,json=intervalHours,proto3" json:"interval_hours,omitempty"`
	RetentionDays   int32  `protobuf:"varint,9,opt,name=retention_days,json=retentionDays,proto3" json:"retention_days,omitempty"`
	ClearSecret     bool   `protobuf:"varint,10,opt,name=clear_secret,json=clearSecret,proto3" json:"clear_secret,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateBackupSettingsRequest) Descriptor deprecated

func (*UpdateBackupSettingsRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateBackupSettingsRequest.ProtoReflect.Descriptor instead.

func (*UpdateBackupSettingsRequest) GetAccessKeyId

func (x *UpdateBackupSettingsRequest) GetAccessKeyId() string

func (*UpdateBackupSettingsRequest) GetAccountId

func (x *UpdateBackupSettingsRequest) GetAccountId() string

func (*UpdateBackupSettingsRequest) GetAgeRecipient

func (x *UpdateBackupSettingsRequest) GetAgeRecipient() string

func (*UpdateBackupSettingsRequest) GetBucket

func (x *UpdateBackupSettingsRequest) GetBucket() string

func (*UpdateBackupSettingsRequest) GetClearSecret

func (x *UpdateBackupSettingsRequest) GetClearSecret() bool

func (*UpdateBackupSettingsRequest) GetEnabled

func (x *UpdateBackupSettingsRequest) GetEnabled() bool

func (*UpdateBackupSettingsRequest) GetIntervalHours

func (x *UpdateBackupSettingsRequest) GetIntervalHours() int32

func (*UpdateBackupSettingsRequest) GetJurisdiction

func (x *UpdateBackupSettingsRequest) GetJurisdiction() string

func (*UpdateBackupSettingsRequest) GetRetentionDays

func (x *UpdateBackupSettingsRequest) GetRetentionDays() int32

func (*UpdateBackupSettingsRequest) GetSecretAccessKey

func (x *UpdateBackupSettingsRequest) GetSecretAccessKey() string

func (*UpdateBackupSettingsRequest) ProtoMessage

func (*UpdateBackupSettingsRequest) ProtoMessage()

func (*UpdateBackupSettingsRequest) ProtoReflect

func (*UpdateBackupSettingsRequest) Reset

func (x *UpdateBackupSettingsRequest) Reset()

func (*UpdateBackupSettingsRequest) String

func (x *UpdateBackupSettingsRequest) String() string

type UpdateBackupSettingsResponse

type UpdateBackupSettingsResponse struct {
	Settings *BackupSettings `protobuf:"bytes,1,opt,name=settings,proto3" json:"settings,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateBackupSettingsResponse) Descriptor deprecated

func (*UpdateBackupSettingsResponse) Descriptor() ([]byte, []int)

Deprecated: Use UpdateBackupSettingsResponse.ProtoReflect.Descriptor instead.

func (*UpdateBackupSettingsResponse) GetSettings

func (x *UpdateBackupSettingsResponse) GetSettings() *BackupSettings

func (*UpdateBackupSettingsResponse) ProtoMessage

func (*UpdateBackupSettingsResponse) ProtoMessage()

func (*UpdateBackupSettingsResponse) ProtoReflect

func (*UpdateBackupSettingsResponse) Reset

func (x *UpdateBackupSettingsResponse) Reset()

func (*UpdateBackupSettingsResponse) String

type UpdateBlocklistRequest added in v0.1.41

type UpdateBlocklistRequest struct {
	Enabled *bool `protobuf:"varint,1,opt,name=enabled,proto3,oneof" json:"enabled,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateBlocklistRequest) Descriptor deprecated added in v0.1.41

func (*UpdateBlocklistRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateBlocklistRequest.ProtoReflect.Descriptor instead.

func (*UpdateBlocklistRequest) GetEnabled added in v0.1.41

func (x *UpdateBlocklistRequest) GetEnabled() bool

func (*UpdateBlocklistRequest) ProtoMessage added in v0.1.41

func (*UpdateBlocklistRequest) ProtoMessage()

func (*UpdateBlocklistRequest) ProtoReflect added in v0.1.41

func (x *UpdateBlocklistRequest) ProtoReflect() protoreflect.Message

func (*UpdateBlocklistRequest) Reset added in v0.1.41

func (x *UpdateBlocklistRequest) Reset()

func (*UpdateBlocklistRequest) String added in v0.1.41

func (x *UpdateBlocklistRequest) String() string

type UpdateBlocklistResponse added in v0.1.41

type UpdateBlocklistResponse struct {
	Settings *BlocklistSettings `protobuf:"bytes,1,opt,name=settings,proto3" json:"settings,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateBlocklistResponse) Descriptor deprecated added in v0.1.41

func (*UpdateBlocklistResponse) Descriptor() ([]byte, []int)

Deprecated: Use UpdateBlocklistResponse.ProtoReflect.Descriptor instead.

func (*UpdateBlocklistResponse) GetSettings added in v0.1.41

func (x *UpdateBlocklistResponse) GetSettings() *BlocklistSettings

func (*UpdateBlocklistResponse) ProtoMessage added in v0.1.41

func (*UpdateBlocklistResponse) ProtoMessage()

func (*UpdateBlocklistResponse) ProtoReflect added in v0.1.41

func (x *UpdateBlocklistResponse) ProtoReflect() protoreflect.Message

func (*UpdateBlocklistResponse) Reset added in v0.1.41

func (x *UpdateBlocklistResponse) Reset()

func (*UpdateBlocklistResponse) String added in v0.1.41

func (x *UpdateBlocklistResponse) String() string

type UpdateBsbordRequest added in v0.1.63

type UpdateBsbordRequest struct {
	Enabled *bool `protobuf:"varint,1,opt,name=enabled,proto3,oneof" json:"enabled,omitempty"`
	// bsk_live_ key, at most 256 characters, no spaces; write-only. "" removes it.
	Key         *string `protobuf:"bytes,2,opt,name=key,proto3,oneof" json:"key,omitempty"`
	IntervalMin *uint32 `protobuf:"varint,3,opt,name=interval_min,json=intervalMin,proto3,oneof" json:"interval_min,omitempty"`
	CapCredits  *uint64 `protobuf:"varint,4,opt,name=cap_credits,json=capCredits,proto3,oneof" json:"cap_credits,omitempty"`
	// Present means replace the selection, including with an empty selection.
	Units *BsbordUnitSelection `protobuf:"bytes,5,opt,name=units,proto3" json:"units,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateBsbordRequest) Descriptor deprecated added in v0.1.63

func (*UpdateBsbordRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateBsbordRequest.ProtoReflect.Descriptor instead.

func (*UpdateBsbordRequest) GetCapCredits added in v0.1.63

func (x *UpdateBsbordRequest) GetCapCredits() uint64

func (*UpdateBsbordRequest) GetEnabled added in v0.1.63

func (x *UpdateBsbordRequest) GetEnabled() bool

func (*UpdateBsbordRequest) GetIntervalMin added in v0.1.63

func (x *UpdateBsbordRequest) GetIntervalMin() uint32

func (*UpdateBsbordRequest) GetKey added in v0.1.63

func (x *UpdateBsbordRequest) GetKey() string

func (*UpdateBsbordRequest) GetUnits added in v0.1.63

func (*UpdateBsbordRequest) ProtoMessage added in v0.1.63

func (*UpdateBsbordRequest) ProtoMessage()

func (*UpdateBsbordRequest) ProtoReflect added in v0.1.63

func (x *UpdateBsbordRequest) ProtoReflect() protoreflect.Message

func (*UpdateBsbordRequest) Reset added in v0.1.63

func (x *UpdateBsbordRequest) Reset()

func (*UpdateBsbordRequest) String added in v0.1.63

func (x *UpdateBsbordRequest) String() string

type UpdateBsbordResponse added in v0.1.63

type UpdateBsbordResponse struct {
	Settings *BsbordSettings `protobuf:"bytes,1,opt,name=settings,proto3" json:"settings,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateBsbordResponse) Descriptor deprecated added in v0.1.63

func (*UpdateBsbordResponse) Descriptor() ([]byte, []int)

Deprecated: Use UpdateBsbordResponse.ProtoReflect.Descriptor instead.

func (*UpdateBsbordResponse) GetSettings added in v0.1.63

func (x *UpdateBsbordResponse) GetSettings() *BsbordSettings

func (*UpdateBsbordResponse) ProtoMessage added in v0.1.63

func (*UpdateBsbordResponse) ProtoMessage()

func (*UpdateBsbordResponse) ProtoReflect added in v0.1.63

func (x *UpdateBsbordResponse) ProtoReflect() protoreflect.Message

func (*UpdateBsbordResponse) Reset added in v0.1.63

func (x *UpdateBsbordResponse) Reset()

func (*UpdateBsbordResponse) String added in v0.1.63

func (x *UpdateBsbordResponse) String() string

type UpdateCheburcheckRequest added in v0.1.63

type UpdateCheburcheckRequest struct {
	Enabled       *bool `protobuf:"varint,1,opt,name=enabled,proto3,oneof" json:"enabled,omitempty"`
	PublicEnabled *bool `protobuf:"varint,2,opt,name=public_enabled,json=publicEnabled,proto3,oneof" json:"public_enabled,omitempty"`
	// A cheburprobe credential; at most 256 characters, no spaces; write-only. "" removes it.
	Token          *string `protobuf:"bytes,3,opt,name=token,proto3,oneof" json:"token,omitempty"`
	IntervalMin    *uint32 `protobuf:"varint,4,opt,name=interval_min,json=intervalMin,proto3,oneof" json:"interval_min,omitempty"`
	OwnIntervalMin *uint32 `protobuf:"varint,5,opt,name=own_interval_min,json=ownIntervalMin,proto3,oneof" json:"own_interval_min,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateCheburcheckRequest) Descriptor deprecated added in v0.1.63

func (*UpdateCheburcheckRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateCheburcheckRequest.ProtoReflect.Descriptor instead.

func (*UpdateCheburcheckRequest) GetEnabled added in v0.1.63

func (x *UpdateCheburcheckRequest) GetEnabled() bool

func (*UpdateCheburcheckRequest) GetIntervalMin added in v0.1.63

func (x *UpdateCheburcheckRequest) GetIntervalMin() uint32

func (*UpdateCheburcheckRequest) GetOwnIntervalMin added in v0.1.63

func (x *UpdateCheburcheckRequest) GetOwnIntervalMin() uint32

func (*UpdateCheburcheckRequest) GetPublicEnabled added in v0.1.63

func (x *UpdateCheburcheckRequest) GetPublicEnabled() bool

func (*UpdateCheburcheckRequest) GetToken added in v0.1.63

func (x *UpdateCheburcheckRequest) GetToken() string

func (*UpdateCheburcheckRequest) ProtoMessage added in v0.1.63

func (*UpdateCheburcheckRequest) ProtoMessage()

func (*UpdateCheburcheckRequest) ProtoReflect added in v0.1.63

func (x *UpdateCheburcheckRequest) ProtoReflect() protoreflect.Message

func (*UpdateCheburcheckRequest) Reset added in v0.1.63

func (x *UpdateCheburcheckRequest) Reset()

func (*UpdateCheburcheckRequest) String added in v0.1.63

func (x *UpdateCheburcheckRequest) String() string

type UpdateCheburcheckResponse added in v0.1.63

type UpdateCheburcheckResponse struct {
	Settings *CheburcheckSettings `protobuf:"bytes,1,opt,name=settings,proto3" json:"settings,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateCheburcheckResponse) Descriptor deprecated added in v0.1.63

func (*UpdateCheburcheckResponse) Descriptor() ([]byte, []int)

Deprecated: Use UpdateCheburcheckResponse.ProtoReflect.Descriptor instead.

func (*UpdateCheburcheckResponse) GetSettings added in v0.1.63

func (*UpdateCheburcheckResponse) ProtoMessage added in v0.1.63

func (*UpdateCheburcheckResponse) ProtoMessage()

func (*UpdateCheburcheckResponse) ProtoReflect added in v0.1.63

func (*UpdateCheburcheckResponse) Reset added in v0.1.63

func (x *UpdateCheburcheckResponse) Reset()

func (*UpdateCheburcheckResponse) String added in v0.1.63

func (x *UpdateCheburcheckResponse) String() string

type UpdateClientProbeRequest added in v0.1.51

type UpdateClientProbeRequest struct {
	Enabled *bool `protobuf:"varint,1,opt,name=enabled,proto3,oneof" json:"enabled,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateClientProbeRequest) Descriptor deprecated added in v0.1.51

func (*UpdateClientProbeRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateClientProbeRequest.ProtoReflect.Descriptor instead.

func (*UpdateClientProbeRequest) GetEnabled added in v0.1.51

func (x *UpdateClientProbeRequest) GetEnabled() bool

func (*UpdateClientProbeRequest) ProtoMessage added in v0.1.51

func (*UpdateClientProbeRequest) ProtoMessage()

func (*UpdateClientProbeRequest) ProtoReflect added in v0.1.51

func (x *UpdateClientProbeRequest) ProtoReflect() protoreflect.Message

func (*UpdateClientProbeRequest) Reset added in v0.1.51

func (x *UpdateClientProbeRequest) Reset()

func (*UpdateClientProbeRequest) String added in v0.1.51

func (x *UpdateClientProbeRequest) String() string

type UpdateClientProbeResponse added in v0.1.51

type UpdateClientProbeResponse struct {
	Settings *ClientProbeSettings `protobuf:"bytes,1,opt,name=settings,proto3" json:"settings,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateClientProbeResponse) Descriptor deprecated added in v0.1.51

func (*UpdateClientProbeResponse) Descriptor() ([]byte, []int)

Deprecated: Use UpdateClientProbeResponse.ProtoReflect.Descriptor instead.

func (*UpdateClientProbeResponse) GetSettings added in v0.1.51

func (*UpdateClientProbeResponse) ProtoMessage added in v0.1.51

func (*UpdateClientProbeResponse) ProtoMessage()

func (*UpdateClientProbeResponse) ProtoReflect added in v0.1.51

func (*UpdateClientProbeResponse) Reset added in v0.1.51

func (x *UpdateClientProbeResponse) Reset()

func (*UpdateClientProbeResponse) String added in v0.1.51

func (x *UpdateClientProbeResponse) String() string

type UpdateCountryReachabilityRequest added in v0.1.41

type UpdateCountryReachabilityRequest struct {

	// Two letters; stored in upper case.
	Country string `protobuf:"bytes,1,opt,name=country,proto3" json:"country,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateCountryReachabilityRequest) Descriptor deprecated added in v0.1.41

func (*UpdateCountryReachabilityRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateCountryReachabilityRequest.ProtoReflect.Descriptor instead.

func (*UpdateCountryReachabilityRequest) GetCountry added in v0.1.41

func (x *UpdateCountryReachabilityRequest) GetCountry() string

func (*UpdateCountryReachabilityRequest) ProtoMessage added in v0.1.41

func (*UpdateCountryReachabilityRequest) ProtoMessage()

func (*UpdateCountryReachabilityRequest) ProtoReflect added in v0.1.41

func (*UpdateCountryReachabilityRequest) Reset added in v0.1.41

func (*UpdateCountryReachabilityRequest) String added in v0.1.41

type UpdateCountryReachabilityResponse added in v0.1.41

type UpdateCountryReachabilityResponse struct {
	Settings *CountryReachability `protobuf:"bytes,1,opt,name=settings,proto3" json:"settings,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateCountryReachabilityResponse) Descriptor deprecated added in v0.1.41

func (*UpdateCountryReachabilityResponse) Descriptor() ([]byte, []int)

Deprecated: Use UpdateCountryReachabilityResponse.ProtoReflect.Descriptor instead.

func (*UpdateCountryReachabilityResponse) GetSettings added in v0.1.41

func (*UpdateCountryReachabilityResponse) ProtoMessage added in v0.1.41

func (*UpdateCountryReachabilityResponse) ProtoMessage()

func (*UpdateCountryReachabilityResponse) ProtoReflect added in v0.1.41

func (*UpdateCountryReachabilityResponse) Reset added in v0.1.41

func (*UpdateCountryReachabilityResponse) String added in v0.1.41

type UpdateDnsPresetRequest

type UpdateDnsPresetRequest struct {

	// Replaces every field except id and builtin.
	Id          string          `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name        string          `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Description string          `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	Servers     []*DnsServer    `protobuf:"bytes,4,rep,name=servers,proto3" json:"servers,omitempty"`
	Split       []*DnsSplitRule `protobuf:"bytes,5,rep,name=split,proto3" json:"split,omitempty"`
	Ipv4Only    bool            `protobuf:"varint,6,opt,name=ipv4_only,json=ipv4Only,proto3" json:"ipv4_only,omitempty"`
	// Domains of the split rules bypass the VPN (Happ can only send a split resolver's domains direct). Off = the
	// split is ignored by clients that cannot keep it proxied; everything resolves through the main servers
	// inside the tunnel.
	SplitDirect bool `protobuf:"varint,7,opt,name=split_direct,json=splitDirect,proto3" json:"split_direct,omitempty"`
	// UNSPECIFIED keeps the stored value (clients that predate this field).
	PreferredTransport DnsTransport `` /* 152-byte string literal not displayed */
	// The apps drop the domains of the community list category-ads-all themselves, before any other rule (Mihomo,
	// Xray, sing-box, Happ; AmneziaWG keys and the plain link list have no rules).
	// Absent keeps the stored value (clients that predate this field).
	BlockAds *bool `protobuf:"varint,9,opt,name=block_ads,json=blockAds,proto3,oneof" json:"block_ads,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateDnsPresetRequest) Descriptor deprecated

func (*UpdateDnsPresetRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateDnsPresetRequest.ProtoReflect.Descriptor instead.

func (*UpdateDnsPresetRequest) GetBlockAds added in v0.1.67

func (x *UpdateDnsPresetRequest) GetBlockAds() bool

func (*UpdateDnsPresetRequest) GetDescription

func (x *UpdateDnsPresetRequest) GetDescription() string

func (*UpdateDnsPresetRequest) GetId

func (x *UpdateDnsPresetRequest) GetId() string

func (*UpdateDnsPresetRequest) GetIpv4Only

func (x *UpdateDnsPresetRequest) GetIpv4Only() bool

func (*UpdateDnsPresetRequest) GetName

func (x *UpdateDnsPresetRequest) GetName() string

func (*UpdateDnsPresetRequest) GetPreferredTransport

func (x *UpdateDnsPresetRequest) GetPreferredTransport() DnsTransport

func (*UpdateDnsPresetRequest) GetServers

func (x *UpdateDnsPresetRequest) GetServers() []*DnsServer

func (*UpdateDnsPresetRequest) GetSplit

func (x *UpdateDnsPresetRequest) GetSplit() []*DnsSplitRule

func (*UpdateDnsPresetRequest) GetSplitDirect

func (x *UpdateDnsPresetRequest) GetSplitDirect() bool

func (*UpdateDnsPresetRequest) ProtoMessage

func (*UpdateDnsPresetRequest) ProtoMessage()

func (*UpdateDnsPresetRequest) ProtoReflect

func (x *UpdateDnsPresetRequest) ProtoReflect() protoreflect.Message

func (*UpdateDnsPresetRequest) Reset

func (x *UpdateDnsPresetRequest) Reset()

func (*UpdateDnsPresetRequest) String

func (x *UpdateDnsPresetRequest) String() string

type UpdateDnsPresetResponse

type UpdateDnsPresetResponse struct {
	Preset *DnsPreset `protobuf:"bytes,1,opt,name=preset,proto3" json:"preset,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateDnsPresetResponse) Descriptor deprecated

func (*UpdateDnsPresetResponse) Descriptor() ([]byte, []int)

Deprecated: Use UpdateDnsPresetResponse.ProtoReflect.Descriptor instead.

func (*UpdateDnsPresetResponse) GetPreset

func (x *UpdateDnsPresetResponse) GetPreset() *DnsPreset

func (*UpdateDnsPresetResponse) ProtoMessage

func (*UpdateDnsPresetResponse) ProtoMessage()

func (*UpdateDnsPresetResponse) ProtoReflect

func (x *UpdateDnsPresetResponse) ProtoReflect() protoreflect.Message

func (*UpdateDnsPresetResponse) Reset

func (x *UpdateDnsPresetResponse) Reset()

func (*UpdateDnsPresetResponse) String

func (x *UpdateDnsPresetResponse) String() string

type UpdateGlobalpingRequest added in v0.1.41

type UpdateGlobalpingRequest struct {
	Enabled     *bool   `protobuf:"varint,1,opt,name=enabled,proto3,oneof" json:"enabled,omitempty"`
	IntervalMin *uint32 `protobuf:"varint,2,opt,name=interval_min,json=intervalMin,proto3,oneof" json:"interval_min,omitempty"`
	// A token from https://dash.globalping.io/tokens, at most 256 characters, no spaces; write-only. "" removes it.
	Token *string `protobuf:"bytes,3,opt,name=token,proto3,oneof" json:"token,omitempty"`
	Ipv6  *bool   `protobuf:"varint,4,opt,name=ipv6,proto3,oneof" json:"ipv6,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateGlobalpingRequest) Descriptor deprecated added in v0.1.41

func (*UpdateGlobalpingRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateGlobalpingRequest.ProtoReflect.Descriptor instead.

func (*UpdateGlobalpingRequest) GetEnabled added in v0.1.41

func (x *UpdateGlobalpingRequest) GetEnabled() bool

func (*UpdateGlobalpingRequest) GetIntervalMin added in v0.1.41

func (x *UpdateGlobalpingRequest) GetIntervalMin() uint32

func (*UpdateGlobalpingRequest) GetIpv6 added in v0.1.65

func (x *UpdateGlobalpingRequest) GetIpv6() bool

func (*UpdateGlobalpingRequest) GetToken added in v0.1.41

func (x *UpdateGlobalpingRequest) GetToken() string

func (*UpdateGlobalpingRequest) ProtoMessage added in v0.1.41

func (*UpdateGlobalpingRequest) ProtoMessage()

func (*UpdateGlobalpingRequest) ProtoReflect added in v0.1.41

func (x *UpdateGlobalpingRequest) ProtoReflect() protoreflect.Message

func (*UpdateGlobalpingRequest) Reset added in v0.1.41

func (x *UpdateGlobalpingRequest) Reset()

func (*UpdateGlobalpingRequest) String added in v0.1.41

func (x *UpdateGlobalpingRequest) String() string

type UpdateGlobalpingResponse added in v0.1.41

type UpdateGlobalpingResponse struct {
	Settings *GlobalpingSettings `protobuf:"bytes,1,opt,name=settings,proto3" json:"settings,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateGlobalpingResponse) Descriptor deprecated added in v0.1.41

func (*UpdateGlobalpingResponse) Descriptor() ([]byte, []int)

Deprecated: Use UpdateGlobalpingResponse.ProtoReflect.Descriptor instead.

func (*UpdateGlobalpingResponse) GetSettings added in v0.1.41

func (x *UpdateGlobalpingResponse) GetSettings() *GlobalpingSettings

func (*UpdateGlobalpingResponse) ProtoMessage added in v0.1.41

func (*UpdateGlobalpingResponse) ProtoMessage()

func (*UpdateGlobalpingResponse) ProtoReflect added in v0.1.41

func (x *UpdateGlobalpingResponse) ProtoReflect() protoreflect.Message

func (*UpdateGlobalpingResponse) Reset added in v0.1.41

func (x *UpdateGlobalpingResponse) Reset()

func (*UpdateGlobalpingResponse) String added in v0.1.41

func (x *UpdateGlobalpingResponse) String() string

type UpdateGroupRequest

type UpdateGroupRequest struct {
	GroupId string  `protobuf:"bytes,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
	Name    *string `protobuf:"bytes,2,opt,name=name,proto3,oneof" json:"name,omitempty"`
	// Presence = replace the set.
	ProfileIds *ProfileIds `protobuf:"bytes,3,opt,name=profile_ids,json=profileIds,proto3,oneof" json:"profile_ids,omitempty"`
	// "" = the instance default.
	DnsPresetId *string `protobuf:"bytes,4,opt,name=dns_preset_id,json=dnsPresetId,proto3,oneof" json:"dns_preset_id,omitempty"`
	// Check the change and say what it does (UpdateGroupResponse.impact); nothing is written, the nodes hear nothing.
	DryRun bool `protobuf:"varint,5,opt,name=dry_run,json=dryRun,proto3" json:"dry_run,omitempty"`
	// Presence = set the colour (a tone of the palette, see Group.color; "" = none picked). INVALID_ARGUMENT for a name outside it.
	Color *string `protobuf:"bytes,6,opt,name=color,proto3,oneof" json:"color,omitempty"`
	// Presence = replace the group's disabled node set.
	DisabledNodeIds *NodeIds `protobuf:"bytes,7,opt,name=disabled_node_ids,json=disabledNodeIds,proto3,oneof" json:"disabled_node_ids,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateGroupRequest) Descriptor deprecated

func (*UpdateGroupRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateGroupRequest.ProtoReflect.Descriptor instead.

func (*UpdateGroupRequest) GetColor added in v0.1.19

func (x *UpdateGroupRequest) GetColor() string

func (*UpdateGroupRequest) GetDisabledNodeIds added in v0.1.68

func (x *UpdateGroupRequest) GetDisabledNodeIds() *NodeIds

func (*UpdateGroupRequest) GetDnsPresetId

func (x *UpdateGroupRequest) GetDnsPresetId() string

func (*UpdateGroupRequest) GetDryRun

func (x *UpdateGroupRequest) GetDryRun() bool

func (*UpdateGroupRequest) GetGroupId

func (x *UpdateGroupRequest) GetGroupId() string

func (*UpdateGroupRequest) GetName

func (x *UpdateGroupRequest) GetName() string

func (*UpdateGroupRequest) GetProfileIds

func (x *UpdateGroupRequest) GetProfileIds() *ProfileIds

func (*UpdateGroupRequest) ProtoMessage

func (*UpdateGroupRequest) ProtoMessage()

func (*UpdateGroupRequest) ProtoReflect

func (x *UpdateGroupRequest) ProtoReflect() protoreflect.Message

func (*UpdateGroupRequest) Reset

func (x *UpdateGroupRequest) Reset()

func (*UpdateGroupRequest) String

func (x *UpdateGroupRequest) String() string

type UpdateGroupResponse

type UpdateGroupResponse struct {

	// The group after the update; with dry_run, as it is now.
	Group *Group `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"`
	// What the new profile set does to the group's users; unset when the set stays.
	Impact *AccessImpact `protobuf:"bytes,2,opt,name=impact,proto3" json:"impact,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateGroupResponse) Descriptor deprecated

func (*UpdateGroupResponse) Descriptor() ([]byte, []int)

Deprecated: Use UpdateGroupResponse.ProtoReflect.Descriptor instead.

func (*UpdateGroupResponse) GetGroup

func (x *UpdateGroupResponse) GetGroup() *Group

func (*UpdateGroupResponse) GetImpact

func (x *UpdateGroupResponse) GetImpact() *AccessImpact

func (*UpdateGroupResponse) ProtoMessage

func (*UpdateGroupResponse) ProtoMessage()

func (*UpdateGroupResponse) ProtoReflect

func (x *UpdateGroupResponse) ProtoReflect() protoreflect.Message

func (*UpdateGroupResponse) Reset

func (x *UpdateGroupResponse) Reset()

func (*UpdateGroupResponse) String

func (x *UpdateGroupResponse) String() string

type UpdateInboundRequest

type UpdateInboundRequest struct {
	InboundId             string  `protobuf:"bytes,1,opt,name=inbound_id,json=inboundId,proto3" json:"inbound_id,omitempty"`
	PortOverride          *uint32 `protobuf:"varint,2,opt,name=port_override,json=portOverride,proto3,oneof" json:"port_override,omitempty"`
	TlsServerNameOverride *string `` /* 134-byte string literal not displayed */
	Enabled               *bool   `protobuf:"varint,4,opt,name=enabled,proto3,oneof" json:"enabled,omitempty"`
	// As CreateInboundRequest.validate_only.
	ValidateOnly bool `protobuf:"varint,5,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
	// As CreateInboundRequest.allow_lossy_port.
	AllowLossyPort bool `protobuf:"varint,6,opt,name=allow_lossy_port,json=allowLossyPort,proto3" json:"allow_lossy_port,omitempty"`
	// Whether the server at the node's own address is included in subscriptions; absent = leave unchanged.
	DirectInSubscriptions *bool `` /* 133-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*UpdateInboundRequest) Descriptor deprecated

func (*UpdateInboundRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateInboundRequest.ProtoReflect.Descriptor instead.

func (*UpdateInboundRequest) GetAllowLossyPort added in v0.1.28

func (x *UpdateInboundRequest) GetAllowLossyPort() bool

func (*UpdateInboundRequest) GetDirectInSubscriptions added in v0.1.79

func (x *UpdateInboundRequest) GetDirectInSubscriptions() bool

func (*UpdateInboundRequest) GetEnabled

func (x *UpdateInboundRequest) GetEnabled() bool

func (*UpdateInboundRequest) GetInboundId

func (x *UpdateInboundRequest) GetInboundId() string

func (*UpdateInboundRequest) GetPortOverride

func (x *UpdateInboundRequest) GetPortOverride() uint32

func (*UpdateInboundRequest) GetTlsServerNameOverride

func (x *UpdateInboundRequest) GetTlsServerNameOverride() string

func (*UpdateInboundRequest) GetValidateOnly

func (x *UpdateInboundRequest) GetValidateOnly() bool

func (*UpdateInboundRequest) ProtoMessage

func (*UpdateInboundRequest) ProtoMessage()

func (*UpdateInboundRequest) ProtoReflect

func (x *UpdateInboundRequest) ProtoReflect() protoreflect.Message

func (*UpdateInboundRequest) Reset

func (x *UpdateInboundRequest) Reset()

func (*UpdateInboundRequest) String

func (x *UpdateInboundRequest) String() string

type UpdateInboundResponse

type UpdateInboundResponse struct {
	Inbound *Inbound `protobuf:"bytes,1,opt,name=inbound,proto3" json:"inbound,omitempty"`
	// As CreateInboundResponse.
	Warnings []*StatusReason `protobuf:"bytes,2,rep,name=warnings,proto3" json:"warnings,omitempty"`
	FreePort uint32          `protobuf:"varint,3,opt,name=free_port,json=freePort,proto3" json:"free_port,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateInboundResponse) Descriptor deprecated

func (*UpdateInboundResponse) Descriptor() ([]byte, []int)

Deprecated: Use UpdateInboundResponse.ProtoReflect.Descriptor instead.

func (*UpdateInboundResponse) GetFreePort

func (x *UpdateInboundResponse) GetFreePort() uint32

func (*UpdateInboundResponse) GetInbound

func (x *UpdateInboundResponse) GetInbound() *Inbound

func (*UpdateInboundResponse) GetWarnings

func (x *UpdateInboundResponse) GetWarnings() []*StatusReason

func (*UpdateInboundResponse) ProtoMessage

func (*UpdateInboundResponse) ProtoMessage()

func (*UpdateInboundResponse) ProtoReflect

func (x *UpdateInboundResponse) ProtoReflect() protoreflect.Message

func (*UpdateInboundResponse) Reset

func (x *UpdateInboundResponse) Reset()

func (*UpdateInboundResponse) String

func (x *UpdateInboundResponse) String() string

type UpdateInstanceRequest

type UpdateInstanceRequest struct {

	// 1-24 characters of letters, digits, space and - . _ ; the tail may be empty.
	BrandHead *string `protobuf:"bytes,1,opt,name=brand_head,json=brandHead,proto3,oneof" json:"brand_head,omitempty"`
	BrandTail *string `protobuf:"bytes,2,opt,name=brand_tail,json=brandTail,proto3,oneof" json:"brand_tail,omitempty"`
	// "#rrggbb".
	Accent *string `protobuf:"bytes,3,opt,name=accent,proto3,oneof" json:"accent,omitempty"`
	// "en", "ru", or "zh".
	Language *string `protobuf:"bytes,4,opt,name=language,proto3,oneof" json:"language,omitempty"`
	// SVG source, at most 64 KB. It is sanitised on the way in: scripts, foreign objects,
	// event handlers, links, animation and external references are removed. "" removes the logo.
	LogoSvg *string `protobuf:"bytes,5,opt,name=logo_svg,json=logoSvg,proto3,oneof" json:"logo_svg,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateInstanceRequest) Descriptor deprecated

func (*UpdateInstanceRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateInstanceRequest.ProtoReflect.Descriptor instead.

func (*UpdateInstanceRequest) GetAccent

func (x *UpdateInstanceRequest) GetAccent() string

func (*UpdateInstanceRequest) GetBrandHead

func (x *UpdateInstanceRequest) GetBrandHead() string

func (*UpdateInstanceRequest) GetBrandTail

func (x *UpdateInstanceRequest) GetBrandTail() string

func (*UpdateInstanceRequest) GetLanguage

func (x *UpdateInstanceRequest) GetLanguage() string

func (*UpdateInstanceRequest) GetLogoSvg

func (x *UpdateInstanceRequest) GetLogoSvg() string

func (*UpdateInstanceRequest) ProtoMessage

func (*UpdateInstanceRequest) ProtoMessage()

func (*UpdateInstanceRequest) ProtoReflect

func (x *UpdateInstanceRequest) ProtoReflect() protoreflect.Message

func (*UpdateInstanceRequest) Reset

func (x *UpdateInstanceRequest) Reset()

func (*UpdateInstanceRequest) String

func (x *UpdateInstanceRequest) String() string

type UpdateInstanceResponse

type UpdateInstanceResponse struct {
	Instance *Instance `protobuf:"bytes,1,opt,name=instance,proto3" json:"instance,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateInstanceResponse) Descriptor deprecated

func (*UpdateInstanceResponse) Descriptor() ([]byte, []int)

Deprecated: Use UpdateInstanceResponse.ProtoReflect.Descriptor instead.

func (*UpdateInstanceResponse) GetInstance

func (x *UpdateInstanceResponse) GetInstance() *Instance

func (*UpdateInstanceResponse) ProtoMessage

func (*UpdateInstanceResponse) ProtoMessage()

func (*UpdateInstanceResponse) ProtoReflect

func (x *UpdateInstanceResponse) ProtoReflect() protoreflect.Message

func (*UpdateInstanceResponse) Reset

func (x *UpdateInstanceResponse) Reset()

func (*UpdateInstanceResponse) String

func (x *UpdateInstanceResponse) String() string

type UpdateIpv6EntryRequest added in v0.1.66

type UpdateIpv6EntryRequest struct {
	NodeId string          `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	Action Ipv6EntryAction `protobuf:"varint,2,opt,name=action,proto3,enum=mistgate.admin.v1.Ipv6EntryAction" json:"action,omitempty"`
	// ENABLE: one of the node's addresses (Node.ipv6.addresses); empty = the one the node uses for outbound IPv6. Turning the
	// entry on for another address while it is on is FAILED_PRECONDITION "ipv6_entry_on": turn it off first.
	Address string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateIpv6EntryRequest) Descriptor deprecated added in v0.1.66

func (*UpdateIpv6EntryRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateIpv6EntryRequest.ProtoReflect.Descriptor instead.

func (*UpdateIpv6EntryRequest) GetAction added in v0.1.66

func (x *UpdateIpv6EntryRequest) GetAction() Ipv6EntryAction

func (*UpdateIpv6EntryRequest) GetAddress added in v0.1.66

func (x *UpdateIpv6EntryRequest) GetAddress() string

func (*UpdateIpv6EntryRequest) GetNodeId added in v0.1.66

func (x *UpdateIpv6EntryRequest) GetNodeId() string

func (*UpdateIpv6EntryRequest) ProtoMessage added in v0.1.66

func (*UpdateIpv6EntryRequest) ProtoMessage()

func (*UpdateIpv6EntryRequest) ProtoReflect added in v0.1.66

func (x *UpdateIpv6EntryRequest) ProtoReflect() protoreflect.Message

func (*UpdateIpv6EntryRequest) Reset added in v0.1.66

func (x *UpdateIpv6EntryRequest) Reset()

func (*UpdateIpv6EntryRequest) String added in v0.1.66

func (x *UpdateIpv6EntryRequest) String() string

type UpdateIpv6EntryResponse added in v0.1.66

type UpdateIpv6EntryResponse struct {

	// The node as it is now (unchanged when error_code is set).
	Node *Node `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"`
	// "" = done (or already so). Otherwise nothing changed: CheckIpv6Response.error_code's words when the check could not run, or
	// check_failed when it ran and a port did not answer as the node's own.
	ErrorCode string `protobuf:"bytes,2,opt,name=error_code,json=errorCode,proto3" json:"error_code,omitempty"`
	// The check ENABLE used (a fresh one, or the one it ran); unset for DISABLE.
	Check *CheckIpv6Response `protobuf:"bytes,3,opt,name=check,proto3" json:"check,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateIpv6EntryResponse) Descriptor deprecated added in v0.1.66

func (*UpdateIpv6EntryResponse) Descriptor() ([]byte, []int)

Deprecated: Use UpdateIpv6EntryResponse.ProtoReflect.Descriptor instead.

func (*UpdateIpv6EntryResponse) GetCheck added in v0.1.66

func (*UpdateIpv6EntryResponse) GetErrorCode added in v0.1.66

func (x *UpdateIpv6EntryResponse) GetErrorCode() string

func (*UpdateIpv6EntryResponse) GetNode added in v0.1.66

func (x *UpdateIpv6EntryResponse) GetNode() *Node

func (*UpdateIpv6EntryResponse) ProtoMessage added in v0.1.66

func (*UpdateIpv6EntryResponse) ProtoMessage()

func (*UpdateIpv6EntryResponse) ProtoReflect added in v0.1.66

func (x *UpdateIpv6EntryResponse) ProtoReflect() protoreflect.Message

func (*UpdateIpv6EntryResponse) Reset added in v0.1.66

func (x *UpdateIpv6EntryResponse) Reset()

func (*UpdateIpv6EntryResponse) String added in v0.1.66

func (x *UpdateIpv6EntryResponse) String() string

type UpdateNodeRequest

type UpdateNodeRequest struct {
	NodeId      string  `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	Name        *string `protobuf:"bytes,2,opt,name=name,proto3,oneof" json:"name,omitempty"`
	Address     *string `protobuf:"bytes,3,opt,name=address,proto3,oneof" json:"address,omitempty"`
	CountryCode *string `protobuf:"bytes,4,opt,name=country_code,json=countryCode,proto3,oneof" json:"country_code,omitempty"`
	Location    *string `protobuf:"bytes,5,opt,name=location,proto3,oneof" json:"location,omitempty"`
	Provider    *string `protobuf:"bytes,6,opt,name=provider,proto3,oneof" json:"provider,omitempty"`
	Notes       *string `protobuf:"bytes,7,opt,name=notes,proto3,oneof" json:"notes,omitempty"`
	// Presence = replace the whole list (empty list = use the agent default by geolocation).
	DnsResolvers *DnsResolvers `protobuf:"bytes,8,opt,name=dns_resolvers,json=dnsResolvers,proto3,oneof" json:"dns_resolvers,omitempty"`
	Timeouts     *NodeTimeouts `protobuf:"bytes,9,opt,name=timeouts,proto3,oneof" json:"timeouts,omitempty"`
	// "auto" | "kernel" | "userspace". Needs an agent with "awg/1" while the node has awg inbounds
	// (FAILED_PRECONDITION "agent too old" otherwise).
	AwgBackend *string `protobuf:"bytes,10,opt,name=awg_backend,json=awgBackend,proto3,oneof" json:"awg_backend,omitempty"`
	// Requires an agent with "torrentguard/1" when true. Disabling is always allowed.
	TorrentBlockerEnabled *bool `` /* 134-byte string literal not displayed */
	// Symmetric network capacity in Mbps. 0 disables utilization percentages; maximum 1,000,000.
	BandwidthMbps *uint32 `protobuf:"varint,12,opt,name=bandwidth_mbps,json=bandwidthMbps,proto3,oneof" json:"bandwidth_mbps,omitempty"`
	// "IPv6 for clients". Owner only (PERMISSION_DENIED for a helper). Requires an agent with "client-ipv6/1" when false
	// (FAILED_PRECONDITION "agent too old" otherwise); turning it back on is always allowed.
	ClientIpv6 *bool `protobuf:"varint,13,opt,name=client_ipv6,json=clientIpv6,proto3,oneof" json:"client_ipv6,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateNodeRequest) Descriptor deprecated

func (*UpdateNodeRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateNodeRequest.ProtoReflect.Descriptor instead.

func (*UpdateNodeRequest) GetAddress

func (x *UpdateNodeRequest) GetAddress() string

func (*UpdateNodeRequest) GetAwgBackend

func (x *UpdateNodeRequest) GetAwgBackend() string

func (*UpdateNodeRequest) GetBandwidthMbps added in v0.1.9

func (x *UpdateNodeRequest) GetBandwidthMbps() uint32

func (*UpdateNodeRequest) GetClientIpv6 added in v0.1.22

func (x *UpdateNodeRequest) GetClientIpv6() bool

func (*UpdateNodeRequest) GetCountryCode

func (x *UpdateNodeRequest) GetCountryCode() string

func (*UpdateNodeRequest) GetDnsResolvers

func (x *UpdateNodeRequest) GetDnsResolvers() *DnsResolvers

func (*UpdateNodeRequest) GetLocation

func (x *UpdateNodeRequest) GetLocation() string

func (*UpdateNodeRequest) GetName

func (x *UpdateNodeRequest) GetName() string

func (*UpdateNodeRequest) GetNodeId

func (x *UpdateNodeRequest) GetNodeId() string

func (*UpdateNodeRequest) GetNotes

func (x *UpdateNodeRequest) GetNotes() string

func (*UpdateNodeRequest) GetProvider

func (x *UpdateNodeRequest) GetProvider() string

func (*UpdateNodeRequest) GetTimeouts

func (x *UpdateNodeRequest) GetTimeouts() *NodeTimeouts

func (*UpdateNodeRequest) GetTorrentBlockerEnabled added in v0.1.5

func (x *UpdateNodeRequest) GetTorrentBlockerEnabled() bool

func (*UpdateNodeRequest) ProtoMessage

func (*UpdateNodeRequest) ProtoMessage()

func (*UpdateNodeRequest) ProtoReflect

func (x *UpdateNodeRequest) ProtoReflect() protoreflect.Message

func (*UpdateNodeRequest) Reset

func (x *UpdateNodeRequest) Reset()

func (*UpdateNodeRequest) String

func (x *UpdateNodeRequest) String() string

type UpdateNodeResponse

type UpdateNodeResponse struct {
	Node *Node `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateNodeResponse) Descriptor deprecated

func (*UpdateNodeResponse) Descriptor() ([]byte, []int)

Deprecated: Use UpdateNodeResponse.ProtoReflect.Descriptor instead.

func (*UpdateNodeResponse) GetNode

func (x *UpdateNodeResponse) GetNode() *Node

func (*UpdateNodeResponse) ProtoMessage

func (*UpdateNodeResponse) ProtoMessage()

func (*UpdateNodeResponse) ProtoReflect

func (x *UpdateNodeResponse) ProtoReflect() protoreflect.Message

func (*UpdateNodeResponse) Reset

func (x *UpdateNodeResponse) Reset()

func (*UpdateNodeResponse) String

func (x *UpdateNodeResponse) String() string

type UpdateProfileRequest

type UpdateProfileRequest struct {
	ProfileId       string  `protobuf:"bytes,1,opt,name=profile_id,json=profileId,proto3" json:"profile_id,omitempty"`
	Name            *string `protobuf:"bytes,2,opt,name=name,proto3,oneof" json:"name,omitempty"`
	SettingsJson    *string `protobuf:"bytes,3,opt,name=settings_json,json=settingsJson,proto3,oneof" json:"settings_json,omitempty"`
	ExpectedVersion uint32  `protobuf:"varint,4,opt,name=expected_version,json=expectedVersion,proto3" json:"expected_version,omitempty"`
	DryRun          bool    `protobuf:"varint,5,opt,name=dry_run,json=dryRun,proto3" json:"dry_run,omitempty"`
	// Save although a node's changed port lost UDP packets in the delivery check ("add anyway"); the choice is audited.
	AllowLossyPort bool `protobuf:"varint,6,opt,name=allow_lossy_port,json=allowLossyPort,proto3" json:"allow_lossy_port,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateProfileRequest) Descriptor deprecated

func (*UpdateProfileRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateProfileRequest.ProtoReflect.Descriptor instead.

func (*UpdateProfileRequest) GetAllowLossyPort added in v0.1.28

func (x *UpdateProfileRequest) GetAllowLossyPort() bool

func (*UpdateProfileRequest) GetDryRun

func (x *UpdateProfileRequest) GetDryRun() bool

func (*UpdateProfileRequest) GetExpectedVersion

func (x *UpdateProfileRequest) GetExpectedVersion() uint32

func (*UpdateProfileRequest) GetName

func (x *UpdateProfileRequest) GetName() string

func (*UpdateProfileRequest) GetProfileId

func (x *UpdateProfileRequest) GetProfileId() string

func (*UpdateProfileRequest) GetSettingsJson

func (x *UpdateProfileRequest) GetSettingsJson() string

func (*UpdateProfileRequest) ProtoMessage

func (*UpdateProfileRequest) ProtoMessage()

func (*UpdateProfileRequest) ProtoReflect

func (x *UpdateProfileRequest) ProtoReflect() protoreflect.Message

func (*UpdateProfileRequest) Reset

func (x *UpdateProfileRequest) Reset()

func (*UpdateProfileRequest) String

func (x *UpdateProfileRequest) String() string

type UpdateProfileResponse

type UpdateProfileResponse struct {
	Profile *ProfileSummary `protobuf:"bytes,1,opt,name=profile,proto3" json:"profile,omitempty"`
	Impact  *ProfileImpact  `protobuf:"bytes,2,opt,name=impact,proto3" json:"impact,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateProfileResponse) Descriptor deprecated

func (*UpdateProfileResponse) Descriptor() ([]byte, []int)

Deprecated: Use UpdateProfileResponse.ProtoReflect.Descriptor instead.

func (*UpdateProfileResponse) GetImpact

func (x *UpdateProfileResponse) GetImpact() *ProfileImpact

func (*UpdateProfileResponse) GetProfile

func (x *UpdateProfileResponse) GetProfile() *ProfileSummary

func (*UpdateProfileResponse) ProtoMessage

func (*UpdateProfileResponse) ProtoMessage()

func (*UpdateProfileResponse) ProtoReflect

func (x *UpdateProfileResponse) ProtoReflect() protoreflect.Message

func (*UpdateProfileResponse) Reset

func (x *UpdateProfileResponse) Reset()

func (*UpdateProfileResponse) String

func (x *UpdateProfileResponse) String() string

type UpdateRelayRequest added in v0.1.65

type UpdateRelayRequest struct {
	Id      string  `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Enabled *bool   `protobuf:"varint,2,opt,name=enabled,proto3,oneof" json:"enabled,omitempty"`
	Port    *uint32 `protobuf:"varint,3,opt,name=port,proto3,oneof" json:"port,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateRelayRequest) Descriptor deprecated added in v0.1.65

func (*UpdateRelayRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateRelayRequest.ProtoReflect.Descriptor instead.

func (*UpdateRelayRequest) GetEnabled added in v0.1.65

func (x *UpdateRelayRequest) GetEnabled() bool

func (*UpdateRelayRequest) GetId added in v0.1.65

func (x *UpdateRelayRequest) GetId() string

func (*UpdateRelayRequest) GetPort added in v0.1.65

func (x *UpdateRelayRequest) GetPort() uint32

func (*UpdateRelayRequest) ProtoMessage added in v0.1.65

func (*UpdateRelayRequest) ProtoMessage()

func (*UpdateRelayRequest) ProtoReflect added in v0.1.65

func (x *UpdateRelayRequest) ProtoReflect() protoreflect.Message

func (*UpdateRelayRequest) Reset added in v0.1.65

func (x *UpdateRelayRequest) Reset()

func (*UpdateRelayRequest) String added in v0.1.65

func (x *UpdateRelayRequest) String() string

type UpdateRelayResponse added in v0.1.65

type UpdateRelayResponse struct {
	Relay *Relay `protobuf:"bytes,1,opt,name=relay,proto3" json:"relay,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateRelayResponse) Descriptor deprecated added in v0.1.65

func (*UpdateRelayResponse) Descriptor() ([]byte, []int)

Deprecated: Use UpdateRelayResponse.ProtoReflect.Descriptor instead.

func (*UpdateRelayResponse) GetRelay added in v0.1.65

func (x *UpdateRelayResponse) GetRelay() *Relay

func (*UpdateRelayResponse) ProtoMessage added in v0.1.65

func (*UpdateRelayResponse) ProtoMessage()

func (*UpdateRelayResponse) ProtoReflect added in v0.1.65

func (x *UpdateRelayResponse) ProtoReflect() protoreflect.Message

func (*UpdateRelayResponse) Reset added in v0.1.65

func (x *UpdateRelayResponse) Reset()

func (*UpdateRelayResponse) String added in v0.1.65

func (x *UpdateRelayResponse) String() string

type UpdateSecuritySettingsRequest

type UpdateSecuritySettingsRequest struct {

	// Turning it on needs a site key and a secret key (stored or sent in this request): otherwise
	// FAILED_PRECONDITION. Whenever the call leaves the check on with keys it has not been proven with (switching it on,
	// or a new site key or secret key while it is on), the keys are tried first: see turnstile_test_token.
	TurnstileEnabled *bool `protobuf:"varint,1,opt,name=turnstile_enabled,json=turnstileEnabled,proto3,oneof" json:"turnstile_enabled,omitempty"`
	// At most 128 characters of letters, digits, - and _.
	TurnstileSiteKey *string `protobuf:"bytes,2,opt,name=turnstile_site_key,json=turnstileSiteKey,proto3,oneof" json:"turnstile_site_key,omitempty"`
	// At most 256 characters; sealed with the master key at rest. "" removes it (and with it the
	// captcha is switched off).
	TurnstileSecretKey *string `protobuf:"bytes,3,opt,name=turnstile_secret_key,json=turnstileSecretKey,proto3,oneof" json:"turnstile_secret_key,omitempty"`
	// The proof that the new keys work: a token the widget made with the new site key on the admin page, checked with
	// Cloudflare's siteverify and the new secret key before anything is saved. Nothing is saved without it when a proof is
	// needed: FAILED_PRECONDITION "turnstile_test_required"; a secret key Cloudflare does not know is FAILED_PRECONDITION
	// "turnstile_secret_rejected", a token it refuses (another widget's site key, used or expired) "turnstile_token_rejected",
	// and Cloudflare out of reach is UNAVAILABLE "turnstile_unreachable". The way out if the check still locks everyone
	// out: `mistgate auth turnstile off` on the panel server.
	TurnstileTestToken string `protobuf:"bytes,4,opt,name=turnstile_test_token,json=turnstileTestToken,proto3" json:"turnstile_test_token,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateSecuritySettingsRequest) Descriptor deprecated

func (*UpdateSecuritySettingsRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateSecuritySettingsRequest.ProtoReflect.Descriptor instead.

func (*UpdateSecuritySettingsRequest) GetTurnstileEnabled

func (x *UpdateSecuritySettingsRequest) GetTurnstileEnabled() bool

func (*UpdateSecuritySettingsRequest) GetTurnstileSecretKey

func (x *UpdateSecuritySettingsRequest) GetTurnstileSecretKey() string

func (*UpdateSecuritySettingsRequest) GetTurnstileSiteKey

func (x *UpdateSecuritySettingsRequest) GetTurnstileSiteKey() string

func (*UpdateSecuritySettingsRequest) GetTurnstileTestToken

func (x *UpdateSecuritySettingsRequest) GetTurnstileTestToken() string

func (*UpdateSecuritySettingsRequest) ProtoMessage

func (*UpdateSecuritySettingsRequest) ProtoMessage()

func (*UpdateSecuritySettingsRequest) ProtoReflect

func (*UpdateSecuritySettingsRequest) Reset

func (x *UpdateSecuritySettingsRequest) Reset()

func (*UpdateSecuritySettingsRequest) String

type UpdateSecuritySettingsResponse

type UpdateSecuritySettingsResponse struct {
	TurnstileEnabled   bool   `protobuf:"varint,1,opt,name=turnstile_enabled,json=turnstileEnabled,proto3" json:"turnstile_enabled,omitempty"`
	TurnstileSiteKey   string `protobuf:"bytes,2,opt,name=turnstile_site_key,json=turnstileSiteKey,proto3" json:"turnstile_site_key,omitempty"`
	TurnstileSecretSet bool   `protobuf:"varint,3,opt,name=turnstile_secret_set,json=turnstileSecretSet,proto3" json:"turnstile_secret_set,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateSecuritySettingsResponse) Descriptor deprecated

func (*UpdateSecuritySettingsResponse) Descriptor() ([]byte, []int)

Deprecated: Use UpdateSecuritySettingsResponse.ProtoReflect.Descriptor instead.

func (*UpdateSecuritySettingsResponse) GetTurnstileEnabled

func (x *UpdateSecuritySettingsResponse) GetTurnstileEnabled() bool

func (*UpdateSecuritySettingsResponse) GetTurnstileSecretSet

func (x *UpdateSecuritySettingsResponse) GetTurnstileSecretSet() bool

func (*UpdateSecuritySettingsResponse) GetTurnstileSiteKey

func (x *UpdateSecuritySettingsResponse) GetTurnstileSiteKey() string

func (*UpdateSecuritySettingsResponse) ProtoMessage

func (*UpdateSecuritySettingsResponse) ProtoMessage()

func (*UpdateSecuritySettingsResponse) ProtoReflect

func (*UpdateSecuritySettingsResponse) Reset

func (x *UpdateSecuritySettingsResponse) Reset()

func (*UpdateSecuritySettingsResponse) String

type UpdateSubscriptionSettingsRequest

type UpdateSubscriptionSettingsRequest struct {

	// Replaces all settings. Owner or admin.
	Settings *SubscriptionSettings `protobuf:"bytes,1,opt,name=settings,proto3" json:"settings,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateSubscriptionSettingsRequest) Descriptor deprecated

func (*UpdateSubscriptionSettingsRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateSubscriptionSettingsRequest.ProtoReflect.Descriptor instead.

func (*UpdateSubscriptionSettingsRequest) GetSettings

func (*UpdateSubscriptionSettingsRequest) ProtoMessage

func (*UpdateSubscriptionSettingsRequest) ProtoMessage()

func (*UpdateSubscriptionSettingsRequest) ProtoReflect

func (*UpdateSubscriptionSettingsRequest) Reset

func (*UpdateSubscriptionSettingsRequest) String

type UpdateSubscriptionSettingsResponse

type UpdateSubscriptionSettingsResponse struct {
	Settings *SubscriptionSettings `protobuf:"bytes,1,opt,name=settings,proto3" json:"settings,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateSubscriptionSettingsResponse) Descriptor deprecated

func (*UpdateSubscriptionSettingsResponse) Descriptor() ([]byte, []int)

Deprecated: Use UpdateSubscriptionSettingsResponse.ProtoReflect.Descriptor instead.

func (*UpdateSubscriptionSettingsResponse) GetSettings

func (*UpdateSubscriptionSettingsResponse) ProtoMessage

func (*UpdateSubscriptionSettingsResponse) ProtoMessage()

func (*UpdateSubscriptionSettingsResponse) ProtoReflect

func (*UpdateSubscriptionSettingsResponse) Reset

func (*UpdateSubscriptionSettingsResponse) String

type UpdateTspuProbeRequest added in v0.1.42

type UpdateTspuProbeRequest struct {
	Enabled *bool `protobuf:"varint,1,opt,name=enabled,proto3,oneof" json:"enabled,omitempty"`
	// "" clears the choice.
	ProbeNodeId *string `protobuf:"bytes,2,opt,name=probe_node_id,json=probeNodeId,proto3,oneof" json:"probe_node_id,omitempty"`
	IntervalMin *uint32 `protobuf:"varint,3,opt,name=interval_min,json=intervalMin,proto3,oneof" json:"interval_min,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateTspuProbeRequest) Descriptor deprecated added in v0.1.42

func (*UpdateTspuProbeRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateTspuProbeRequest.ProtoReflect.Descriptor instead.

func (*UpdateTspuProbeRequest) GetEnabled added in v0.1.42

func (x *UpdateTspuProbeRequest) GetEnabled() bool

func (*UpdateTspuProbeRequest) GetIntervalMin added in v0.1.42

func (x *UpdateTspuProbeRequest) GetIntervalMin() uint32

func (*UpdateTspuProbeRequest) GetProbeNodeId added in v0.1.42

func (x *UpdateTspuProbeRequest) GetProbeNodeId() string

func (*UpdateTspuProbeRequest) ProtoMessage added in v0.1.42

func (*UpdateTspuProbeRequest) ProtoMessage()

func (*UpdateTspuProbeRequest) ProtoReflect added in v0.1.42

func (x *UpdateTspuProbeRequest) ProtoReflect() protoreflect.Message

func (*UpdateTspuProbeRequest) Reset added in v0.1.42

func (x *UpdateTspuProbeRequest) Reset()

func (*UpdateTspuProbeRequest) String added in v0.1.42

func (x *UpdateTspuProbeRequest) String() string

type UpdateTspuProbeResponse added in v0.1.42

type UpdateTspuProbeResponse struct {
	Settings *TspuProbeSettings `protobuf:"bytes,1,opt,name=settings,proto3" json:"settings,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateTspuProbeResponse) Descriptor deprecated added in v0.1.42

func (*UpdateTspuProbeResponse) Descriptor() ([]byte, []int)

Deprecated: Use UpdateTspuProbeResponse.ProtoReflect.Descriptor instead.

func (*UpdateTspuProbeResponse) GetSettings added in v0.1.42

func (x *UpdateTspuProbeResponse) GetSettings() *TspuProbeSettings

func (*UpdateTspuProbeResponse) ProtoMessage added in v0.1.42

func (*UpdateTspuProbeResponse) ProtoMessage()

func (*UpdateTspuProbeResponse) ProtoReflect added in v0.1.42

func (x *UpdateTspuProbeResponse) ProtoReflect() protoreflect.Message

func (*UpdateTspuProbeResponse) Reset added in v0.1.42

func (x *UpdateTspuProbeResponse) Reset()

func (*UpdateTspuProbeResponse) String added in v0.1.42

func (x *UpdateTspuProbeResponse) String() string

type UpdateUserRequest

type UpdateUserRequest struct {
	UserId     string      `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	Name       *string     `protobuf:"bytes,2,opt,name=name,proto3,oneof" json:"name,omitempty"`
	GroupId    *string     `protobuf:"bytes,3,opt,name=group_id,json=groupId,proto3,oneof" json:"group_id,omitempty"`
	QuotaBytes *uint64     `protobuf:"varint,4,opt,name=quota_bytes,json=quotaBytes,proto3,oneof" json:"quota_bytes,omitempty"`
	QuotaReset *QuotaReset `` /* 132-byte string literal not displayed */
	// 0 = never. Setting a future date lifts EXPIRED.
	ExpiresUnix *int64         `protobuf:"varint,6,opt,name=expires_unix,json=expiresUnix,proto3,oneof" json:"expires_unix,omitempty"`
	DeviceLimit *uint32        `protobuf:"varint,7,opt,name=device_limit,json=deviceLimit,proto3,oneof" json:"device_limit,omitempty"`
	Apps        *AppToggles    `protobuf:"bytes,8,opt,name=apps,proto3,oneof" json:"apps,omitempty"`
	Nodes       *NodeSelection `protobuf:"bytes,9,opt,name=nodes,proto3,oneof" json:"nodes,omitempty"`
	// The person limit. 0 = remove the limit.
	SpeedLimitBps *uint64 `protobuf:"varint,10,opt,name=speed_limit_bps,json=speedLimitBps,proto3,oneof" json:"speed_limit_bps,omitempty"`
	// "" = inherit.
	DnsPresetId *string `protobuf:"bytes,11,opt,name=dns_preset_id,json=dnsPresetId,proto3,oneof" json:"dns_preset_id,omitempty"`
	// Check the change and say what it does (UpdateUserResponse.impact); nothing is written, the nodes hear nothing.
	DryRun bool `protobuf:"varint,12,opt,name=dry_run,json=dryRun,proto3" json:"dry_run,omitempty"`
	// Empty clears the public name and falls back to the account name.
	SubscriptionName *string `protobuf:"bytes,13,opt,name=subscription_name,json=subscriptionName,proto3,oneof" json:"subscription_name,omitempty"`
	// The device limit (User.device_speed_limit_bps). 0 = remove the limit.
	DeviceSpeedLimitBps *uint64 `` /* 130-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*UpdateUserRequest) Descriptor deprecated

func (*UpdateUserRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateUserRequest.ProtoReflect.Descriptor instead.

func (*UpdateUserRequest) GetApps

func (x *UpdateUserRequest) GetApps() *AppToggles

func (*UpdateUserRequest) GetDeviceLimit

func (x *UpdateUserRequest) GetDeviceLimit() uint32

func (*UpdateUserRequest) GetDeviceSpeedLimitBps added in v0.1.39

func (x *UpdateUserRequest) GetDeviceSpeedLimitBps() uint64

func (*UpdateUserRequest) GetDnsPresetId

func (x *UpdateUserRequest) GetDnsPresetId() string

func (*UpdateUserRequest) GetDryRun

func (x *UpdateUserRequest) GetDryRun() bool

func (*UpdateUserRequest) GetExpiresUnix

func (x *UpdateUserRequest) GetExpiresUnix() int64

func (*UpdateUserRequest) GetGroupId

func (x *UpdateUserRequest) GetGroupId() string

func (*UpdateUserRequest) GetName

func (x *UpdateUserRequest) GetName() string

func (*UpdateUserRequest) GetNodes

func (x *UpdateUserRequest) GetNodes() *NodeSelection

func (*UpdateUserRequest) GetQuotaBytes

func (x *UpdateUserRequest) GetQuotaBytes() uint64

func (*UpdateUserRequest) GetQuotaReset

func (x *UpdateUserRequest) GetQuotaReset() QuotaReset

func (*UpdateUserRequest) GetSpeedLimitBps

func (x *UpdateUserRequest) GetSpeedLimitBps() uint64

func (*UpdateUserRequest) GetSubscriptionName added in v0.1.8

func (x *UpdateUserRequest) GetSubscriptionName() string

func (*UpdateUserRequest) GetUserId

func (x *UpdateUserRequest) GetUserId() string

func (*UpdateUserRequest) ProtoMessage

func (*UpdateUserRequest) ProtoMessage()

func (*UpdateUserRequest) ProtoReflect

func (x *UpdateUserRequest) ProtoReflect() protoreflect.Message

func (*UpdateUserRequest) Reset

func (x *UpdateUserRequest) Reset()

func (*UpdateUserRequest) String

func (x *UpdateUserRequest) String() string

type UpdateUserResponse

type UpdateUserResponse struct {

	// The user after the update; with dry_run, as it is now.
	User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	// What a new group does to the user's profiles; unset when the group stays.
	Impact *AccessImpact `protobuf:"bytes,2,opt,name=impact,proto3" json:"impact,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateUserResponse) Descriptor deprecated

func (*UpdateUserResponse) Descriptor() ([]byte, []int)

Deprecated: Use UpdateUserResponse.ProtoReflect.Descriptor instead.

func (*UpdateUserResponse) GetImpact

func (x *UpdateUserResponse) GetImpact() *AccessImpact

func (*UpdateUserResponse) GetUser

func (x *UpdateUserResponse) GetUser() *User

func (*UpdateUserResponse) ProtoMessage

func (*UpdateUserResponse) ProtoMessage()

func (*UpdateUserResponse) ProtoReflect

func (x *UpdateUserResponse) ProtoReflect() protoreflect.Message

func (*UpdateUserResponse) Reset

func (x *UpdateUserResponse) Reset()

func (*UpdateUserResponse) String

func (x *UpdateUserResponse) String() string

type UpdateWarpRegistrationParamsRequest

type UpdateWarpRegistrationParamsRequest struct {
	Params *WarpRegistrationParams `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateWarpRegistrationParamsRequest) Descriptor deprecated

func (*UpdateWarpRegistrationParamsRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateWarpRegistrationParamsRequest.ProtoReflect.Descriptor instead.

func (*UpdateWarpRegistrationParamsRequest) GetParams

func (*UpdateWarpRegistrationParamsRequest) ProtoMessage

func (*UpdateWarpRegistrationParamsRequest) ProtoMessage()

func (*UpdateWarpRegistrationParamsRequest) ProtoReflect

func (*UpdateWarpRegistrationParamsRequest) Reset

func (*UpdateWarpRegistrationParamsRequest) String

type UpdateWarpRegistrationParamsResponse

type UpdateWarpRegistrationParamsResponse struct {
	Params     *WarpRegistrationParams `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"`
	Customised bool                    `protobuf:"varint,2,opt,name=customised,proto3" json:"customised,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateWarpRegistrationParamsResponse) Descriptor deprecated

func (*UpdateWarpRegistrationParamsResponse) Descriptor() ([]byte, []int)

Deprecated: Use UpdateWarpRegistrationParamsResponse.ProtoReflect.Descriptor instead.

func (*UpdateWarpRegistrationParamsResponse) GetCustomised

func (x *UpdateWarpRegistrationParamsResponse) GetCustomised() bool

func (*UpdateWarpRegistrationParamsResponse) GetParams

func (*UpdateWarpRegistrationParamsResponse) ProtoMessage

func (*UpdateWarpRegistrationParamsResponse) ProtoMessage()

func (*UpdateWarpRegistrationParamsResponse) ProtoReflect

func (*UpdateWarpRegistrationParamsResponse) Reset

func (*UpdateWarpRegistrationParamsResponse) String

type UploadNodeDecoyRequest added in v0.1.36

type UploadNodeDecoyRequest struct {
	NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	// ZIP or TAR archive containing only regular static files. Archive and total expanded files are each <= 2 MiB.
	BundleArchive []byte `protobuf:"bytes,2,opt,name=bundle_archive,json=bundleArchive,proto3" json:"bundle_archive,omitempty"`
	// contains filtered or unexported fields
}

func (*UploadNodeDecoyRequest) Descriptor deprecated added in v0.1.36

func (*UploadNodeDecoyRequest) Descriptor() ([]byte, []int)

Deprecated: Use UploadNodeDecoyRequest.ProtoReflect.Descriptor instead.

func (*UploadNodeDecoyRequest) GetBundleArchive added in v0.1.36

func (x *UploadNodeDecoyRequest) GetBundleArchive() []byte

func (*UploadNodeDecoyRequest) GetNodeId added in v0.1.36

func (x *UploadNodeDecoyRequest) GetNodeId() string

func (*UploadNodeDecoyRequest) ProtoMessage added in v0.1.36

func (*UploadNodeDecoyRequest) ProtoMessage()

func (*UploadNodeDecoyRequest) ProtoReflect added in v0.1.36

func (x *UploadNodeDecoyRequest) ProtoReflect() protoreflect.Message

func (*UploadNodeDecoyRequest) Reset added in v0.1.36

func (x *UploadNodeDecoyRequest) Reset()

func (*UploadNodeDecoyRequest) String added in v0.1.36

func (x *UploadNodeDecoyRequest) String() string

type UploadNodeDecoyResponse added in v0.1.36

type UploadNodeDecoyResponse struct {
	Node *Node `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"`
	// contains filtered or unexported fields
}

func (*UploadNodeDecoyResponse) Descriptor deprecated added in v0.1.36

func (*UploadNodeDecoyResponse) Descriptor() ([]byte, []int)

Deprecated: Use UploadNodeDecoyResponse.ProtoReflect.Descriptor instead.

func (*UploadNodeDecoyResponse) GetNode added in v0.1.36

func (x *UploadNodeDecoyResponse) GetNode() *Node

func (*UploadNodeDecoyResponse) ProtoMessage added in v0.1.36

func (*UploadNodeDecoyResponse) ProtoMessage()

func (*UploadNodeDecoyResponse) ProtoReflect added in v0.1.36

func (x *UploadNodeDecoyResponse) ProtoReflect() protoreflect.Message

func (*UploadNodeDecoyResponse) Reset added in v0.1.36

func (x *UploadNodeDecoyResponse) Reset()

func (*UploadNodeDecoyResponse) String added in v0.1.36

func (x *UploadNodeDecoyResponse) String() string

type User

type User struct {
	Id        string      `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name      string      `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	GroupId   string      `protobuf:"bytes,3,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
	GroupName string      `protobuf:"bytes,4,opt,name=group_name,json=groupName,proto3" json:"group_name,omitempty"`
	Status    UserStatus  `protobuf:"varint,5,opt,name=status,proto3,enum=mistgate.admin.v1.UserStatus" json:"status,omitempty"`
	Apps      *AppToggles `protobuf:"bytes,6,opt,name=apps,proto3" json:"apps,omitempty"`
	// Apps actually used in the last 7 days. Empty = never connected. Both = "Both".
	Via []App `protobuf:"varint,7,rep,packed,name=via,proto3,enum=mistgate.admin.v1.App" json:"via,omitempty"`
	// Non-revoked devices / limit ("3/5").
	DevicesUsed uint32 `protobuf:"varint,8,opt,name=devices_used,json=devicesUsed,proto3" json:"devices_used,omitempty"`
	DeviceLimit uint32 `protobuf:"varint,9,opt,name=device_limit,json=deviceLimit,proto3" json:"device_limit,omitempty"`
	// Traffic (up + down) in the current quota period.
	UsedBytes uint64 `protobuf:"varint,10,opt,name=used_bytes,json=usedBytes,proto3" json:"used_bytes,omitempty"`
	// 0 = unlimited.
	QuotaBytes uint64     `protobuf:"varint,11,opt,name=quota_bytes,json=quotaBytes,proto3" json:"quota_bytes,omitempty"`
	QuotaReset QuotaReset `` /* 127-byte string literal not displayed */
	// Next reset; 0 when quota_reset is NONE.
	NextResetUnix int64 `protobuf:"varint,13,opt,name=next_reset_unix,json=nextResetUnix,proto3" json:"next_reset_unix,omitempty"`
	// 0 = never expires.
	ExpiresUnix int64 `protobuf:"varint,14,opt,name=expires_unix,json=expiresUnix,proto3" json:"expires_unix,omitempty"`
	// Last time any session of this user was seen; 0 = never.
	LastSeenUnix int64 `protobuf:"varint,15,opt,name=last_seen_unix,json=lastSeenUnix,proto3" json:"last_seen_unix,omitempty"`
	Online       bool  `protobuf:"varint,16,opt,name=online,proto3" json:"online,omitempty"`
	// Node of the newest open session; empty when offline.
	CurrentNodeId   string `protobuf:"bytes,17,opt,name=current_node_id,json=currentNodeId,proto3" json:"current_node_id,omitempty"`
	CurrentNodeName string `protobuf:"bytes,18,opt,name=current_node_name,json=currentNodeName,proto3" json:"current_node_name,omitempty"`
	// The PERSON limit: 0 = no limit. Experimental: one token bucket per person on each node, shared by all the
	// person's devices there. A person on two nodes at once can reach twice the limit.
	SpeedLimitBps uint64         `protobuf:"varint,19,opt,name=speed_limit_bps,json=speedLimitBps,proto3" json:"speed_limit_bps,omitempty"`
	Nodes         *NodeSelection `protobuf:"bytes,20,opt,name=nodes,proto3" json:"nodes,omitempty"`
	CreatedUnix   int64          `protobuf:"varint,21,opt,name=created_unix,json=createdUnix,proto3" json:"created_unix,omitempty"`
	// DNS preset set on the user; empty = inherited (group, then the instance default).
	DnsPresetId string `protobuf:"bytes,22,opt,name=dns_preset_id,json=dnsPresetId,proto3" json:"dns_preset_id,omitempty"`
	// The preset that applies (own, group or default) and where it comes from.
	EffectiveDnsPresetId   string    `` /* 126-byte string literal not displayed */
	EffectiveDnsPresetName string    `` /* 132-byte string literal not displayed */
	DnsSource              DnsSource `protobuf:"varint,25,opt,name=dns_source,json=dnsSource,proto3,enum=mistgate.admin.v1.DnsSource" json:"dns_source,omitempty"`
	// What the user's page offers, by app, as the subscription decides it: the app is switched on and the group gives
	// it something on an enabled group node the user may use (an enabled, pending or running inbound on an enrolled node). Both false =
	// the person gets nothing yet. The status does not cut them (a disabled user's page shows the status instead).
	AccessHapp    bool `protobuf:"varint,26,opt,name=access_happ,json=accessHapp,proto3" json:"access_happ,omitempty"`
	AccessAmnezia bool `protobuf:"varint,27,opt,name=access_amnezia,json=accessAmnezia,proto3" json:"access_amnezia,omitempty"`
	// Optional name shown on the public subscription page; empty falls back to name.
	SubscriptionName string `protobuf:"bytes,28,opt,name=subscription_name,json=subscriptionName,proto3" json:"subscription_name,omitempty"`
	// The colour of the user's group (Group.color), so a list of people paints the group's chip without a second request.
	GroupColor string `protobuf:"bytes,29,opt,name=group_color,json=groupColor,proto3" json:"group_color,omitempty"`
	// The DEVICE limit: no single device of the person goes faster than this. 0 = no separate device limit.
	DeviceSpeedLimitBps uint64 `protobuf:"varint,30,opt,name=device_speed_limit_bps,json=deviceSpeedLimitBps,proto3" json:"device_speed_limit_bps,omitempty"`
	// The Telegram toggle and at least one usable MTProto inbound for the person.
	AccessTelegram bool `protobuf:"varint,31,opt,name=access_telegram,json=accessTelegram,proto3" json:"access_telegram,omitempty"`
	// A Telegram key was issued to the person: a live DEVICE_KIND_TELEGRAM_KEY device. The links need the key, the toggle and
	// a usable MTProto inbound (access_telegram). Not called "key": a token-reachable response has no field that looks like a secret.
	TelegramIssued bool `protobuf:"varint,32,opt,name=telegram_issued,json=telegramIssued,proto3" json:"telegram_issued,omitempty"`
	// contains filtered or unexported fields
}

func (*User) Descriptor deprecated

func (*User) Descriptor() ([]byte, []int)

Deprecated: Use User.ProtoReflect.Descriptor instead.

func (*User) GetAccessAmnezia

func (x *User) GetAccessAmnezia() bool

func (*User) GetAccessHapp

func (x *User) GetAccessHapp() bool

func (*User) GetAccessTelegram added in v0.1.69

func (x *User) GetAccessTelegram() bool

func (*User) GetApps

func (x *User) GetApps() *AppToggles

func (*User) GetCreatedUnix

func (x *User) GetCreatedUnix() int64

func (*User) GetCurrentNodeId

func (x *User) GetCurrentNodeId() string

func (*User) GetCurrentNodeName

func (x *User) GetCurrentNodeName() string

func (*User) GetDeviceLimit

func (x *User) GetDeviceLimit() uint32

func (*User) GetDeviceSpeedLimitBps added in v0.1.39

func (x *User) GetDeviceSpeedLimitBps() uint64

func (*User) GetDevicesUsed

func (x *User) GetDevicesUsed() uint32

func (*User) GetDnsPresetId

func (x *User) GetDnsPresetId() string

func (*User) GetDnsSource

func (x *User) GetDnsSource() DnsSource

func (*User) GetEffectiveDnsPresetId

func (x *User) GetEffectiveDnsPresetId() string

func (*User) GetEffectiveDnsPresetName

func (x *User) GetEffectiveDnsPresetName() string

func (*User) GetExpiresUnix

func (x *User) GetExpiresUnix() int64

func (*User) GetGroupColor added in v0.1.19

func (x *User) GetGroupColor() string

func (*User) GetGroupId

func (x *User) GetGroupId() string

func (*User) GetGroupName

func (x *User) GetGroupName() string

func (*User) GetId

func (x *User) GetId() string

func (*User) GetLastSeenUnix

func (x *User) GetLastSeenUnix() int64

func (*User) GetName

func (x *User) GetName() string

func (*User) GetNextResetUnix

func (x *User) GetNextResetUnix() int64

func (*User) GetNodes

func (x *User) GetNodes() *NodeSelection

func (*User) GetOnline

func (x *User) GetOnline() bool

func (*User) GetQuotaBytes

func (x *User) GetQuotaBytes() uint64

func (*User) GetQuotaReset

func (x *User) GetQuotaReset() QuotaReset

func (*User) GetSpeedLimitBps

func (x *User) GetSpeedLimitBps() uint64

func (*User) GetStatus

func (x *User) GetStatus() UserStatus

func (*User) GetSubscriptionName added in v0.1.8

func (x *User) GetSubscriptionName() string

func (*User) GetTelegramIssued added in v0.1.69

func (x *User) GetTelegramIssued() bool

func (*User) GetUsedBytes

func (x *User) GetUsedBytes() uint64

func (*User) GetVia

func (x *User) GetVia() []App

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) ProtoReflect

func (x *User) ProtoReflect() protoreflect.Message

func (*User) Reset

func (x *User) Reset()

func (*User) String

func (x *User) String() string

type UserCounts

type UserCounts struct {
	All       uint32 `protobuf:"varint,1,opt,name=all,proto3" json:"all,omitempty"`
	Online    uint32 `protobuf:"varint,2,opt,name=online,proto3" json:"online,omitempty"`
	Expiring  uint32 `protobuf:"varint,3,opt,name=expiring,proto3" json:"expiring,omitempty"`
	OverQuota uint32 `protobuf:"varint,4,opt,name=over_quota,json=overQuota,proto3" json:"over_quota,omitempty"`
	// Live, non-revoked devices in use for users matching query/group_id, regardless of filter or page. All apps on
	// one implicit subscription-fetch device count once; each AmneziaWG key counts as one device.
	DevicesUsed uint32 `protobuf:"varint,5,opt,name=devices_used,json=devicesUsed,proto3" json:"devices_used,omitempty"`
	// Matching devices whose Device.online value is true, regardless of filter or page. Subscription devices are
	// online while their user is online; AmneziaWG devices are online after a handshake within the 3-minute window.
	DevicesOnline uint32 `protobuf:"varint,6,opt,name=devices_online,json=devicesOnline,proto3" json:"devices_online,omitempty"`
	// People with more live devices than their device_limit, counted like devices_used.
	OverDeviceLimit uint32 `protobuf:"varint,7,opt,name=over_device_limit,json=overDeviceLimit,proto3" json:"over_device_limit,omitempty"`
	// People with the Telegram toggle on, for the same query and group_id (the chip of USER_FILTER_TELEGRAM).
	Telegram uint32 `protobuf:"varint,8,opt,name=telegram,proto3" json:"telegram,omitempty"`
	// contains filtered or unexported fields
}

Badge numbers on the filter chips; computed for the same query and group_id, ignoring `filter`.

func (*UserCounts) Descriptor deprecated

func (*UserCounts) Descriptor() ([]byte, []int)

Deprecated: Use UserCounts.ProtoReflect.Descriptor instead.

func (*UserCounts) GetAll

func (x *UserCounts) GetAll() uint32

func (*UserCounts) GetDevicesOnline added in v0.1.39

func (x *UserCounts) GetDevicesOnline() uint32

func (*UserCounts) GetDevicesUsed added in v0.1.39

func (x *UserCounts) GetDevicesUsed() uint32

func (*UserCounts) GetExpiring

func (x *UserCounts) GetExpiring() uint32

func (*UserCounts) GetOnline

func (x *UserCounts) GetOnline() uint32

func (*UserCounts) GetOverDeviceLimit added in v0.1.39

func (x *UserCounts) GetOverDeviceLimit() uint32

func (*UserCounts) GetOverQuota

func (x *UserCounts) GetOverQuota() uint32

func (*UserCounts) GetTelegram added in v0.1.69

func (x *UserCounts) GetTelegram() uint32

func (*UserCounts) ProtoMessage

func (*UserCounts) ProtoMessage()

func (*UserCounts) ProtoReflect

func (x *UserCounts) ProtoReflect() protoreflect.Message

func (*UserCounts) Reset

func (x *UserCounts) Reset()

func (*UserCounts) String

func (x *UserCounts) String() string

type UserDnsChoice added in v0.1.17

type UserDnsChoice struct {
	NodeId   string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	NodeName string `protobuf:"bytes,2,opt,name=node_name,json=nodeName,proto3" json:"node_name,omitempty"`
	// What they picked and, for the UI language, its stored name (built-ins are named by id there).
	PresetId   string `protobuf:"bytes,3,opt,name=preset_id,json=presetId,proto3" json:"preset_id,omitempty"`
	PresetName string `protobuf:"bytes,4,opt,name=preset_name,json=presetName,proto3" json:"preset_name,omitempty"`
	// False when the node (or the offer for the link apps) no longer has it: the pick does nothing and what applies without a
	// pick applies.
	Offered bool `protobuf:"varint,5,opt,name=offered,proto3" json:"offered,omitempty"`
	// What applies to the person on this node (or in the link apps) now.
	EffectivePresetId   string `protobuf:"bytes,6,opt,name=effective_preset_id,json=effectivePresetId,proto3" json:"effective_preset_id,omitempty"`
	EffectivePresetName string `protobuf:"bytes,7,opt,name=effective_preset_name,json=effectivePresetName,proto3" json:"effective_preset_name,omitempty"`
	UpdatedUnix         int64  `protobuf:"varint,8,opt,name=updated_unix,json=updatedUnix,proto3" json:"updated_unix,omitempty"`
	// contains filtered or unexported fields
}

One pick of a person on one node, or for the link apps (node_id empty).

func (*UserDnsChoice) Descriptor deprecated added in v0.1.17

func (*UserDnsChoice) Descriptor() ([]byte, []int)

Deprecated: Use UserDnsChoice.ProtoReflect.Descriptor instead.

func (*UserDnsChoice) GetEffectivePresetId added in v0.1.17

func (x *UserDnsChoice) GetEffectivePresetId() string

func (*UserDnsChoice) GetEffectivePresetName added in v0.1.17

func (x *UserDnsChoice) GetEffectivePresetName() string

func (*UserDnsChoice) GetNodeId added in v0.1.17

func (x *UserDnsChoice) GetNodeId() string

func (*UserDnsChoice) GetNodeName added in v0.1.17

func (x *UserDnsChoice) GetNodeName() string

func (*UserDnsChoice) GetOffered added in v0.1.17

func (x *UserDnsChoice) GetOffered() bool

func (*UserDnsChoice) GetPresetId added in v0.1.17

func (x *UserDnsChoice) GetPresetId() string

func (*UserDnsChoice) GetPresetName added in v0.1.17

func (x *UserDnsChoice) GetPresetName() string

func (*UserDnsChoice) GetUpdatedUnix added in v0.1.17

func (x *UserDnsChoice) GetUpdatedUnix() int64

func (*UserDnsChoice) ProtoMessage added in v0.1.17

func (*UserDnsChoice) ProtoMessage()

func (*UserDnsChoice) ProtoReflect added in v0.1.17

func (x *UserDnsChoice) ProtoReflect() protoreflect.Message

func (*UserDnsChoice) Reset added in v0.1.17

func (x *UserDnsChoice) Reset()

func (*UserDnsChoice) String added in v0.1.17

func (x *UserDnsChoice) String() string

type UserFilter

type UserFilter int32
const (
	// "All".
	UserFilter_USER_FILTER_UNSPECIFIED UserFilter = 0
	UserFilter_USER_FILTER_ONLINE      UserFilter = 1
	// expires within 7 days and not disabled ("Expiring <= 7 d").
	UserFilter_USER_FILTER_EXPIRING UserFilter = 2
	// used_bytes > quota_bytes ("Over quota").
	UserFilter_USER_FILTER_OVER_QUOTA UserFilter = 3
	// More live devices than device_limit (a limit of 0 is never over).
	UserFilter_USER_FILTER_OVER_DEVICE_LIMIT UserFilter = 4
	// The Telegram toggle is on (apps.telegram): the people of the Telegram proxy, whatever their key or the MTProto profiles.
	UserFilter_USER_FILTER_TELEGRAM UserFilter = 5
)

func (UserFilter) Descriptor

func (UserFilter) Descriptor() protoreflect.EnumDescriptor

func (UserFilter) Enum

func (x UserFilter) Enum() *UserFilter

func (UserFilter) EnumDescriptor deprecated

func (UserFilter) EnumDescriptor() ([]byte, []int)

Deprecated: Use UserFilter.Descriptor instead.

func (UserFilter) Number

func (x UserFilter) Number() protoreflect.EnumNumber

func (UserFilter) String

func (x UserFilter) String() string

func (UserFilter) Type

type UserPageOptions

type UserPageOptions struct {
	ShowAnnouncement bool `protobuf:"varint,1,opt,name=show_announcement,json=showAnnouncement,proto3" json:"show_announcement,omitempty"`
	ShowSupport      bool `protobuf:"varint,2,opt,name=show_support,json=showSupport,proto3" json:"show_support,omitempty"`
	ShowQr           bool `protobuf:"varint,3,opt,name=show_qr,json=showQr,proto3" json:"show_qr,omitempty"`
	// Users may add, rotate and revoke their own AmneziaWG devices on the public page (limited by the user's
	// device limit, a per-token write counter and the token itself). Absent = true: settings stored before AmneziaWG
	// support have no such key and must not silently turn the feature off.
	AllowDeviceSelfService *bool `` /* 138-byte string literal not displayed */
	// The user's page asks for a password (shown to the admin next to the link) before it shows anything or answers a
	// self-service call. The subscription itself, which apps fetch from the same address, is never gated. Absent = true:
	// settings stored before this key existed turn it on, which is the default.
	RequirePagePassword *bool `` /* 127-byte string literal not displayed */
	// People may pick, on their page, one of the DNS presets the owner offers on each server (DnsService.SetNodeDnsOptions).
	// Absent = false: a new feature does not switch itself on for settings stored before it existed.
	AllowDnsChoice *bool `protobuf:"varint,6,opt,name=allow_dns_choice,json=allowDnsChoice,proto3,oneof" json:"allow_dns_choice,omitempty"`
	// contains filtered or unexported fields
}

func (*UserPageOptions) Descriptor deprecated

func (*UserPageOptions) Descriptor() ([]byte, []int)

Deprecated: Use UserPageOptions.ProtoReflect.Descriptor instead.

func (*UserPageOptions) GetAllowDeviceSelfService

func (x *UserPageOptions) GetAllowDeviceSelfService() bool

func (*UserPageOptions) GetAllowDnsChoice added in v0.1.17

func (x *UserPageOptions) GetAllowDnsChoice() bool

func (*UserPageOptions) GetRequirePagePassword

func (x *UserPageOptions) GetRequirePagePassword() bool

func (*UserPageOptions) GetShowAnnouncement

func (x *UserPageOptions) GetShowAnnouncement() bool

func (*UserPageOptions) GetShowQr

func (x *UserPageOptions) GetShowQr() bool

func (*UserPageOptions) GetShowSupport

func (x *UserPageOptions) GetShowSupport() bool

func (*UserPageOptions) ProtoMessage

func (*UserPageOptions) ProtoMessage()

func (*UserPageOptions) ProtoReflect

func (x *UserPageOptions) ProtoReflect() protoreflect.Message

func (*UserPageOptions) Reset

func (x *UserPageOptions) Reset()

func (*UserPageOptions) String

func (x *UserPageOptions) String() string

type UserSort added in v0.1.39

type UserSort int32
const (
	// Default: name order; direction follows descending.
	UserSort_USER_SORT_UNSPECIFIED UserSort = 0
	UserSort_USER_SORT_NAME        UserSort = 1
	// Current quota period's used_bytes (upload + download).
	UserSort_USER_SORT_TRAFFIC UserSort = 2
	// Expiry time. Users without an expiry sort after dated users ascending and before them descending.
	UserSort_USER_SORT_EXPIRY UserSort = 3
	// Last session time. Online users count as most recent; never-seen users sort last descending.
	UserSort_USER_SORT_LAST_SEEN UserSort = 4
	// Number of devices used, then device_limit.
	UserSort_USER_SORT_DEVICES UserSort = 5
	// The displayed group name.
	UserSort_USER_SORT_GROUP UserSort = 6
	// Displayed status ascending: active, devices full, quota, expired, disabled.
	UserSort_USER_SORT_STATUS UserSort = 7
)

func (UserSort) Descriptor added in v0.1.39

func (UserSort) Descriptor() protoreflect.EnumDescriptor

func (UserSort) Enum added in v0.1.39

func (x UserSort) Enum() *UserSort

func (UserSort) EnumDescriptor deprecated added in v0.1.39

func (UserSort) EnumDescriptor() ([]byte, []int)

Deprecated: Use UserSort.Descriptor instead.

func (UserSort) Number added in v0.1.39

func (x UserSort) Number() protoreflect.EnumNumber

func (UserSort) String added in v0.1.39

func (x UserSort) String() string

func (UserSort) Type added in v0.1.39

type UserStatus

type UserStatus int32
const (
	UserStatus_USER_STATUS_UNSPECIFIED UserStatus = 0
	UserStatus_USER_STATUS_ACTIVE      UserStatus = 1
	UserStatus_USER_STATUS_DISABLED    UserStatus = 2
	UserStatus_USER_STATUS_EXPIRED     UserStatus = 3
	// Quota used up.
	UserStatus_USER_STATUS_LIMITED UserStatus = 4
)

func (UserStatus) Descriptor

func (UserStatus) Descriptor() protoreflect.EnumDescriptor

func (UserStatus) Enum

func (x UserStatus) Enum() *UserStatus

func (UserStatus) EnumDescriptor deprecated

func (UserStatus) EnumDescriptor() ([]byte, []int)

Deprecated: Use UserStatus.Descriptor instead.

func (UserStatus) Number

func (x UserStatus) Number() protoreflect.EnumNumber

func (UserStatus) String

func (x UserStatus) String() string

func (UserStatus) Type

type WarpAccount

type WarpAccount struct {
	NodeId string     `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	Source WarpSource `protobuf:"varint,2,opt,name=source,proto3,enum=mistgate.admin.v1.WarpSource" json:"source,omitempty"`
	// "free" | "plus" | "".
	AccountType   string `protobuf:"bytes,3,opt,name=account_type,json=accountType,proto3" json:"account_type,omitempty"`
	Enabled       bool   `protobuf:"varint,4,opt,name=enabled,proto3" json:"enabled,omitempty"`
	PeerPublicKey string `protobuf:"bytes,5,opt,name=peer_public_key,json=peerPublicKey,proto3" json:"peer_public_key,omitempty"`
	// IP literals as stored (no port).
	EndpointV4 string   `protobuf:"bytes,6,opt,name=endpoint_v4,json=endpointV4,proto3" json:"endpoint_v4,omitempty"`
	EndpointV6 string   `protobuf:"bytes,7,opt,name=endpoint_v6,json=endpointV6,proto3" json:"endpoint_v6,omitempty"`
	Ports      []uint32 `protobuf:"varint,8,rep,packed,name=ports,proto3" json:"ports,omitempty"`
	AddressV4  string   `protobuf:"bytes,9,opt,name=address_v4,json=addressV4,proto3" json:"address_v4,omitempty"`
	AddressV6  string   `protobuf:"bytes,10,opt,name=address_v6,json=addressV6,proto3" json:"address_v6,omitempty"`
	Mtu        uint32   `protobuf:"varint,11,opt,name=mtu,proto3" json:"mtu,omitempty"`
	// The account carries the "reserved" bytes and the node stamps them.
	UseReserved bool `protobuf:"varint,12,opt,name=use_reserved,json=useReserved,proto3" json:"use_reserved,omitempty"`
	// An access token is stored, so RefreshWarp and the remote part of DeleteWarp work.
	HasToken bool `protobuf:"varint,13,opt,name=has_token,json=hasToken,proto3" json:"has_token,omitempty"`
	// The terms URL the owner was shown and who accepted (empty for an import).
	TosUrl          string `protobuf:"bytes,14,opt,name=tos_url,json=tosUrl,proto3" json:"tos_url,omitempty"`
	TosAcceptedBy   string `protobuf:"bytes,15,opt,name=tos_accepted_by,json=tosAcceptedBy,proto3" json:"tos_accepted_by,omitempty"`
	TosAcceptedUnix int64  `protobuf:"varint,16,opt,name=tos_accepted_unix,json=tosAcceptedUnix,proto3" json:"tos_accepted_unix,omitempty"`
	// API version + user agent used at registration (diagnosis of 429s).
	RegisteredWith string `protobuf:"bytes,17,opt,name=registered_with,json=registeredWith,proto3" json:"registered_with,omitempty"`
	CreatedUnix    int64  `protobuf:"varint,18,opt,name=created_unix,json=createdUnix,proto3" json:"created_unix,omitempty"`
	UpdatedUnix    int64  `protobuf:"varint,19,opt,name=updated_unix,json=updatedUnix,proto3" json:"updated_unix,omitempty"`
	// contains filtered or unexported fields
}

A WARP account without its secrets (private key, access token, license).

func (*WarpAccount) Descriptor deprecated

func (*WarpAccount) Descriptor() ([]byte, []int)

Deprecated: Use WarpAccount.ProtoReflect.Descriptor instead.

func (*WarpAccount) GetAccountType

func (x *WarpAccount) GetAccountType() string

func (*WarpAccount) GetAddressV4

func (x *WarpAccount) GetAddressV4() string

func (*WarpAccount) GetAddressV6

func (x *WarpAccount) GetAddressV6() string

func (*WarpAccount) GetCreatedUnix

func (x *WarpAccount) GetCreatedUnix() int64

func (*WarpAccount) GetEnabled

func (x *WarpAccount) GetEnabled() bool

func (*WarpAccount) GetEndpointV4

func (x *WarpAccount) GetEndpointV4() string

func (*WarpAccount) GetEndpointV6

func (x *WarpAccount) GetEndpointV6() string

func (*WarpAccount) GetHasToken

func (x *WarpAccount) GetHasToken() bool

func (*WarpAccount) GetMtu

func (x *WarpAccount) GetMtu() uint32

func (*WarpAccount) GetNodeId

func (x *WarpAccount) GetNodeId() string

func (*WarpAccount) GetPeerPublicKey

func (x *WarpAccount) GetPeerPublicKey() string

func (*WarpAccount) GetPorts

func (x *WarpAccount) GetPorts() []uint32

func (*WarpAccount) GetRegisteredWith

func (x *WarpAccount) GetRegisteredWith() string

func (*WarpAccount) GetSource

func (x *WarpAccount) GetSource() WarpSource

func (*WarpAccount) GetTosAcceptedBy

func (x *WarpAccount) GetTosAcceptedBy() string

func (*WarpAccount) GetTosAcceptedUnix

func (x *WarpAccount) GetTosAcceptedUnix() int64

func (*WarpAccount) GetTosUrl

func (x *WarpAccount) GetTosUrl() string

func (*WarpAccount) GetUpdatedUnix

func (x *WarpAccount) GetUpdatedUnix() int64

func (*WarpAccount) GetUseReserved

func (x *WarpAccount) GetUseReserved() bool

func (*WarpAccount) ProtoMessage

func (*WarpAccount) ProtoMessage()

func (*WarpAccount) ProtoReflect

func (x *WarpAccount) ProtoReflect() protoreflect.Message

func (*WarpAccount) Reset

func (x *WarpAccount) Reset()

func (*WarpAccount) String

func (x *WarpAccount) String() string

type WarpHealthView

type WarpHealthView struct {
	State             WarpState `protobuf:"varint,1,opt,name=state,proto3,enum=mistgate.admin.v1.WarpState" json:"state,omitempty"`
	Backend           string    `protobuf:"bytes,2,opt,name=backend,proto3" json:"backend,omitempty"`
	Endpoint          string    `protobuf:"bytes,3,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
	LastHandshakeUnix int64     `protobuf:"varint,4,opt,name=last_handshake_unix,json=lastHandshakeUnix,proto3" json:"last_handshake_unix,omitempty"`
	// "on" | "plus" | "off" | "".
	WarpFlag            string `protobuf:"bytes,5,opt,name=warp_flag,json=warpFlag,proto3" json:"warp_flag,omitempty"`
	Colo                string `protobuf:"bytes,6,opt,name=colo,proto3" json:"colo,omitempty"`
	ProbeCloudflareOk   bool   `protobuf:"varint,7,opt,name=probe_cloudflare_ok,json=probeCloudflareOk,proto3" json:"probe_cloudflare_ok,omitempty"`
	ProbeOtherOk        bool   `protobuf:"varint,8,opt,name=probe_other_ok,json=probeOtherOk,proto3" json:"probe_other_ok,omitempty"`
	ConsecutiveFailures uint32 `protobuf:"varint,9,opt,name=consecutive_failures,json=consecutiveFailures,proto3" json:"consecutive_failures,omitempty"`
	RxBytes             uint64 `protobuf:"varint,10,opt,name=rx_bytes,json=rxBytes,proto3" json:"rx_bytes,omitempty"`
	TxBytes             uint64 `protobuf:"varint,11,opt,name=tx_bytes,json=txBytes,proto3" json:"tx_bytes,omitempty"`
	LastError           string `protobuf:"bytes,12,opt,name=last_error,json=lastError,proto3" json:"last_error,omitempty"`
	// When the node reported it.
	ReportedUnix int64 `protobuf:"varint,13,opt,name=reported_unix,json=reportedUnix,proto3" json:"reported_unix,omitempty"`
	// The latest round of each probe; unset = not run, or a node whose agent predates it (fall back to the *_ok flags).
	ProbeCloudflare *WarpProbeResult `protobuf:"bytes,14,opt,name=probe_cloudflare,json=probeCloudflare,proto3" json:"probe_cloudflare,omitempty"`
	ProbeOther      *WarpProbeResult `protobuf:"bytes,15,opt,name=probe_other,json=probeOther,proto3" json:"probe_other,omitempty"`
	// When the node's latest health check finished (0 = unknown, an old agent).
	CheckedUnix int64 `protobuf:"varint,16,opt,name=checked_unix,json=checkedUnix,proto3" json:"checked_unix,omitempty"`
	// contains filtered or unexported fields
}

agent.v1.WarpHealth as the panel last stored it.

func (*WarpHealthView) Descriptor deprecated

func (*WarpHealthView) Descriptor() ([]byte, []int)

Deprecated: Use WarpHealthView.ProtoReflect.Descriptor instead.

func (*WarpHealthView) GetBackend

func (x *WarpHealthView) GetBackend() string

func (*WarpHealthView) GetCheckedUnix

func (x *WarpHealthView) GetCheckedUnix() int64

func (*WarpHealthView) GetColo

func (x *WarpHealthView) GetColo() string

func (*WarpHealthView) GetConsecutiveFailures

func (x *WarpHealthView) GetConsecutiveFailures() uint32

func (*WarpHealthView) GetEndpoint

func (x *WarpHealthView) GetEndpoint() string

func (*WarpHealthView) GetLastError

func (x *WarpHealthView) GetLastError() string

func (*WarpHealthView) GetLastHandshakeUnix

func (x *WarpHealthView) GetLastHandshakeUnix() int64

func (*WarpHealthView) GetProbeCloudflare

func (x *WarpHealthView) GetProbeCloudflare() *WarpProbeResult

func (*WarpHealthView) GetProbeCloudflareOk

func (x *WarpHealthView) GetProbeCloudflareOk() bool

func (*WarpHealthView) GetProbeOther

func (x *WarpHealthView) GetProbeOther() *WarpProbeResult

func (*WarpHealthView) GetProbeOtherOk

func (x *WarpHealthView) GetProbeOtherOk() bool

func (*WarpHealthView) GetReportedUnix

func (x *WarpHealthView) GetReportedUnix() int64

func (*WarpHealthView) GetRxBytes

func (x *WarpHealthView) GetRxBytes() uint64

func (*WarpHealthView) GetState

func (x *WarpHealthView) GetState() WarpState

func (*WarpHealthView) GetTxBytes

func (x *WarpHealthView) GetTxBytes() uint64

func (*WarpHealthView) GetWarpFlag

func (x *WarpHealthView) GetWarpFlag() string

func (*WarpHealthView) ProtoMessage

func (*WarpHealthView) ProtoMessage()

func (*WarpHealthView) ProtoReflect

func (x *WarpHealthView) ProtoReflect() protoreflect.Message

func (*WarpHealthView) Reset

func (x *WarpHealthView) Reset()

func (*WarpHealthView) String

func (x *WarpHealthView) String() string

type WarpInbound

type WarpInbound struct {
	InboundId   string `protobuf:"bytes,1,opt,name=inbound_id,json=inboundId,proto3" json:"inbound_id,omitempty"`
	ProfileName string `protobuf:"bytes,2,opt,name=profile_name,json=profileName,proto3" json:"profile_name,omitempty"`
	// Sessions open through it now (one per connected device).
	Online uint32 `protobuf:"varint,3,opt,name=online,proto3" json:"online,omitempty"`
	// contains filtered or unexported fields
}

A profile on the node whose traffic leaves through WARP.

func (*WarpInbound) Descriptor deprecated

func (*WarpInbound) Descriptor() ([]byte, []int)

Deprecated: Use WarpInbound.ProtoReflect.Descriptor instead.

func (*WarpInbound) GetInboundId

func (x *WarpInbound) GetInboundId() string

func (*WarpInbound) GetOnline

func (x *WarpInbound) GetOnline() uint32

func (*WarpInbound) GetProfileName

func (x *WarpInbound) GetProfileName() string

func (*WarpInbound) ProtoMessage

func (*WarpInbound) ProtoMessage()

func (*WarpInbound) ProtoReflect

func (x *WarpInbound) ProtoReflect() protoreflect.Message

func (*WarpInbound) Reset

func (x *WarpInbound) Reset()

func (*WarpInbound) String

func (x *WarpInbound) String() string

type WarpProbeResult

type WarpProbeResult struct {
	Ok        bool   `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"`
	LatencyMs uint32 `protobuf:"varint,2,opt,name=latency_ms,json=latencyMs,proto3" json:"latency_ms,omitempty"`
	AtUnix    int64  `protobuf:"varint,3,opt,name=at_unix,json=atUnix,proto3" json:"at_unix,omitempty"`
	// Safe diagnostic category such as timeout, dns, connection, http_502, or warp_off; never raw error text.
	FailureCode string `protobuf:"bytes,4,opt,name=failure_code,json=failureCode,proto3" json:"failure_code,omitempty"`
	// contains filtered or unexported fields
}

func (*WarpProbeResult) Descriptor deprecated

func (*WarpProbeResult) Descriptor() ([]byte, []int)

Deprecated: Use WarpProbeResult.ProtoReflect.Descriptor instead.

func (*WarpProbeResult) GetAtUnix

func (x *WarpProbeResult) GetAtUnix() int64

func (*WarpProbeResult) GetFailureCode

func (x *WarpProbeResult) GetFailureCode() string

func (*WarpProbeResult) GetLatencyMs

func (x *WarpProbeResult) GetLatencyMs() uint32

func (*WarpProbeResult) GetOk

func (x *WarpProbeResult) GetOk() bool

func (*WarpProbeResult) ProtoMessage

func (*WarpProbeResult) ProtoMessage()

func (*WarpProbeResult) ProtoReflect

func (x *WarpProbeResult) ProtoReflect() protoreflect.Message

func (*WarpProbeResult) Reset

func (x *WarpProbeResult) Reset()

func (*WarpProbeResult) String

func (x *WarpProbeResult) String() string

type WarpRegistrationParams

type WarpRegistrationParams struct {

	// The API version segment of the registration URL ("v0a5641").
	ApiVersion      string `protobuf:"bytes,1,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"`
	UserAgent       string `protobuf:"bytes,2,opt,name=user_agent,json=userAgent,proto3" json:"user_agent,omitempty"`
	CfClientVersion string `protobuf:"bytes,3,opt,name=cf_client_version,json=cfClientVersion,proto3" json:"cf_client_version,omitempty"`
	// The uTLS ClientHello identifier that makes the request look like the Android app ("wgcf_v2.3.0").
	TlsSpecId string `protobuf:"bytes,4,opt,name=tls_spec_id,json=tlsSpecId,proto3" json:"tls_spec_id,omitempty"`
	// Re-register by itself when the account is revoked: off by default; at most once an hour, with jitter and
	// a back-off on 429. Turning it on means the owner accepts the terms for future accounts too.
	AutoReregister bool `protobuf:"varint,5,opt,name=auto_reregister,json=autoReregister,proto3" json:"auto_reregister,omitempty"`
	// contains filtered or unexported fields
}

What the registration request is built from. Empty fields in an update fall back to the built-in value.

func (*WarpRegistrationParams) Descriptor deprecated

func (*WarpRegistrationParams) Descriptor() ([]byte, []int)

Deprecated: Use WarpRegistrationParams.ProtoReflect.Descriptor instead.

func (*WarpRegistrationParams) GetApiVersion

func (x *WarpRegistrationParams) GetApiVersion() string

func (*WarpRegistrationParams) GetAutoReregister

func (x *WarpRegistrationParams) GetAutoReregister() bool

func (*WarpRegistrationParams) GetCfClientVersion

func (x *WarpRegistrationParams) GetCfClientVersion() string

func (*WarpRegistrationParams) GetTlsSpecId

func (x *WarpRegistrationParams) GetTlsSpecId() string

func (*WarpRegistrationParams) GetUserAgent

func (x *WarpRegistrationParams) GetUserAgent() string

func (*WarpRegistrationParams) ProtoMessage

func (*WarpRegistrationParams) ProtoMessage()

func (*WarpRegistrationParams) ProtoReflect

func (x *WarpRegistrationParams) ProtoReflect() protoreflect.Message

func (*WarpRegistrationParams) Reset

func (x *WarpRegistrationParams) Reset()

func (*WarpRegistrationParams) String

func (x *WarpRegistrationParams) String() string

type WarpSource

type WarpSource int32

Where a WARP account came from.

const (
	WarpSource_WARP_SOURCE_UNSPECIFIED WarpSource = 0
	// Registered by the panel at the owner's click (anonymous device registration, terms accepted).
	WarpSource_WARP_SOURCE_REGISTERED WarpSource = 1
	// Imported from wgcf files.
	WarpSource_WARP_SOURCE_IMPORTED WarpSource = 2
)

func (WarpSource) Descriptor

func (WarpSource) Descriptor() protoreflect.EnumDescriptor

func (WarpSource) Enum

func (x WarpSource) Enum() *WarpSource

func (WarpSource) EnumDescriptor deprecated

func (WarpSource) EnumDescriptor() ([]byte, []int)

Deprecated: Use WarpSource.Descriptor instead.

func (WarpSource) Number

func (x WarpSource) Number() protoreflect.EnumNumber

func (WarpSource) String

func (x WarpSource) String() string

func (WarpSource) Type

type WarpState

type WarpState int32

State of the WARP egress of one node (WarpService; agent.v1.WarpState plus "not configured" and "unknown").

const (
	WarpState_WARP_STATE_UNSPECIFIED WarpState = 0
	// No WARP account on this node.
	WarpState_WARP_STATE_NOT_CONFIGURED WarpState = 1
	// An account exists but the node has not reported yet, or the node is offline.
	WarpState_WARP_STATE_UNKNOWN WarpState = 2
	// No usable backend on the host.
	WarpState_WARP_STATE_UNAVAILABLE WarpState = 3
	WarpState_WARP_STATE_STARTING    WarpState = 4
	WarpState_WARP_STATE_UP          WarpState = 5
	// Handshake or probes failing; inbounds with egress "warp" fail closed.
	WarpState_WARP_STATE_DOWN WarpState = 6
	// Paused by the owner.
	WarpState_WARP_STATE_DISABLED WarpState = 7
)

func (WarpState) Descriptor

func (WarpState) Descriptor() protoreflect.EnumDescriptor

func (WarpState) Enum

func (x WarpState) Enum() *WarpState

func (WarpState) EnumDescriptor deprecated

func (WarpState) EnumDescriptor() ([]byte, []int)

Deprecated: Use WarpState.Descriptor instead.

func (WarpState) Number

func (x WarpState) Number() protoreflect.EnumNumber

func (WarpState) String

func (x WarpState) String() string

func (WarpState) Type

type WarpSummary

type WarpSummary struct {
	State  WarpState  `protobuf:"varint,1,opt,name=state,proto3,enum=mistgate.admin.v1.WarpState" json:"state,omitempty"`
	Source WarpSource `protobuf:"varint,2,opt,name=source,proto3,enum=mistgate.admin.v1.WarpSource" json:"source,omitempty"`
	// Cloudflare data centre from the last probe ("FRA"); empty when unknown.
	Colo string `protobuf:"bytes,3,opt,name=colo,proto3" json:"colo,omitempty"`
	// "free" | "plus" | "".
	AccountType string `protobuf:"bytes,4,opt,name=account_type,json=accountType,proto3" json:"account_type,omitempty"`
	// contains filtered or unexported fields
}

The WARP badge of a node card.

func (*WarpSummary) Descriptor deprecated

func (*WarpSummary) Descriptor() ([]byte, []int)

Deprecated: Use WarpSummary.ProtoReflect.Descriptor instead.

func (*WarpSummary) GetAccountType

func (x *WarpSummary) GetAccountType() string

func (*WarpSummary) GetColo

func (x *WarpSummary) GetColo() string

func (*WarpSummary) GetSource

func (x *WarpSummary) GetSource() WarpSource

func (*WarpSummary) GetState

func (x *WarpSummary) GetState() WarpState

func (*WarpSummary) ProtoMessage

func (*WarpSummary) ProtoMessage()

func (*WarpSummary) ProtoReflect

func (x *WarpSummary) ProtoReflect() protoreflect.Message

func (*WarpSummary) Reset

func (x *WarpSummary) Reset()

func (*WarpSummary) String

func (x *WarpSummary) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL