apiv2

package
v0.5.5 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2026 License: MIT Imports: 9 Imported by: 48

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	AuditPhase_name = map[int32]string{
		0: "AUDIT_PHASE_UNSPECIFIED",
		1: "AUDIT_PHASE_REQUEST",
		2: "AUDIT_PHASE_RESPONSE",
	}
	AuditPhase_value = map[string]int32{
		"AUDIT_PHASE_UNSPECIFIED": 0,
		"AUDIT_PHASE_REQUEST":     1,
		"AUDIT_PHASE_RESPONSE":    2,
	}
)

Enum value maps for AuditPhase.

View Source
var (
	TenantRole_name = map[int32]string{
		0: "TENANT_ROLE_UNSPECIFIED",
		1: "TENANT_ROLE_OWNER",
		2: "TENANT_ROLE_EDITOR",
		3: "TENANT_ROLE_VIEWER",
		4: "TENANT_ROLE_GUEST",
	}
	TenantRole_value = map[string]int32{
		"TENANT_ROLE_UNSPECIFIED": 0,
		"TENANT_ROLE_OWNER":       1,
		"TENANT_ROLE_EDITOR":      2,
		"TENANT_ROLE_VIEWER":      3,
		"TENANT_ROLE_GUEST":       4,
	}
)

Enum value maps for TenantRole.

View Source
var (
	ProjectRole_name = map[int32]string{
		0: "PROJECT_ROLE_UNSPECIFIED",
		1: "PROJECT_ROLE_OWNER",
		2: "PROJECT_ROLE_EDITOR",
		3: "PROJECT_ROLE_VIEWER",
	}
	ProjectRole_value = map[string]int32{
		"PROJECT_ROLE_UNSPECIFIED": 0,
		"PROJECT_ROLE_OWNER":       1,
		"PROJECT_ROLE_EDITOR":      2,
		"PROJECT_ROLE_VIEWER":      3,
	}
)

Enum value maps for ProjectRole.

View Source
var (
	AdminRole_name = map[int32]string{
		0: "ADMIN_ROLE_UNSPECIFIED",
		1: "ADMIN_ROLE_EDITOR",
		2: "ADMIN_ROLE_VIEWER",
	}
	AdminRole_value = map[string]int32{
		"ADMIN_ROLE_UNSPECIFIED": 0,
		"ADMIN_ROLE_EDITOR":      1,
		"ADMIN_ROLE_VIEWER":      2,
	}
)

Enum value maps for AdminRole.

View Source
var (
	InfraRole_name = map[int32]string{
		0: "INFRA_ROLE_UNSPECIFIED",
		1: "INFRA_ROLE_EDITOR",
		2: "INFRA_ROLE_VIEWER",
	}
	InfraRole_value = map[string]int32{
		"INFRA_ROLE_UNSPECIFIED": 0,
		"INFRA_ROLE_EDITOR":      1,
		"INFRA_ROLE_VIEWER":      2,
	}
)

Enum value maps for InfraRole.

View Source
var (
	MachineRole_name = map[int32]string{
		0: "MACHINE_ROLE_UNSPECIFIED",
		1: "MACHINE_ROLE_EDITOR",
		2: "MACHINE_ROLE_VIEWER",
	}
	MachineRole_value = map[string]int32{
		"MACHINE_ROLE_UNSPECIFIED": 0,
		"MACHINE_ROLE_EDITOR":      1,
		"MACHINE_ROLE_VIEWER":      2,
	}
)

Enum value maps for MachineRole.

View Source
var (
	Visibility_name = map[int32]string{
		0: "VISIBILITY_UNSPECIFIED",
		1: "VISIBILITY_PUBLIC",
		2: "VISIBILITY_SELF",
	}
	Visibility_value = map[string]int32{
		"VISIBILITY_UNSPECIFIED": 0,
		"VISIBILITY_PUBLIC":      1,
		"VISIBILITY_SELF":        2,
	}
)

Enum value maps for Visibility.

View Source
var (
	Auditing_name = map[int32]string{
		0: "AUDITING_UNSPECIFIED",
		1: "AUDITING_INCLUDED",
		2: "AUDITING_EXCLUDED",
	}
	Auditing_value = map[string]int32{
		"AUDITING_UNSPECIFIED": 0,
		"AUDITING_INCLUDED":    1,
		"AUDITING_EXCLUDED":    2,
	}
)

Enum value maps for Auditing.

View Source
var (
	OptimisticLockingStrategy_name = map[int32]string{
		0: "OPTIMISTIC_LOCKING_STRATEGY_UNSPECIFIED",
		1: "OPTIMISTIC_LOCKING_STRATEGY_CLIENT",
		2: "OPTIMISTIC_LOCKING_STRATEGY_SERVER",
	}
	OptimisticLockingStrategy_value = map[string]int32{
		"OPTIMISTIC_LOCKING_STRATEGY_UNSPECIFIED": 0,
		"OPTIMISTIC_LOCKING_STRATEGY_CLIENT":      1,
		"OPTIMISTIC_LOCKING_STRATEGY_SERVER":      2,
	}
)

Enum value maps for OptimisticLockingStrategy.

View Source
var (
	// TenantRoles are used to define the tenant role a logged in user must provide to call this method.
	//
	// repeated metalstack.api.v2.TenantRole tenant_roles = 51000;
	E_TenantRoles = &file_metalstack_api_v2_common_proto_extTypes[0]
	// ProjectRoles are used to define the project role a logged in user must provide to call this method.
	//
	// repeated metalstack.api.v2.ProjectRole project_roles = 51001;
	E_ProjectRoles = &file_metalstack_api_v2_common_proto_extTypes[1]
	// AdminRoles are used to define the admin role a logged in user must provide to call this method.
	//
	// repeated metalstack.api.v2.AdminRole admin_roles = 51002;
	E_AdminRoles = &file_metalstack_api_v2_common_proto_extTypes[2]
	// Visibility defines the visibility of this method, this is used to have public or self visible methods.
	//
	// optional metalstack.api.v2.Visibility visibility = 51003;
	E_Visibility = &file_metalstack_api_v2_common_proto_extTypes[3]
	// Auditing defines if calls to this method should be audited or not.
	//
	// optional metalstack.api.v2.Auditing auditing = 51004;
	E_Auditing = &file_metalstack_api_v2_common_proto_extTypes[4]
	// InfraRoles are used to define the infra role a microservice must provide to call this method.
	//
	// repeated metalstack.api.v2.InfraRole infra_roles = 51005;
	E_InfraRoles = &file_metalstack_api_v2_common_proto_extTypes[5]
	// MachineRole are used to define which machine role a microservice must provide to call this method.
	//
	// repeated metalstack.api.v2.MachineRole machine_roles = 51006;
	E_MachineRoles = &file_metalstack_api_v2_common_proto_extTypes[6]
)

Extension fields to descriptorpb.MethodOptions.

View Source
var (
	ComponentType_name = map[int32]string{
		0: "COMPONENT_TYPE_UNSPECIFIED",
		1: "COMPONENT_TYPE_PIXIECORE",
		2: "COMPONENT_TYPE_METAL_CORE",
		3: "COMPONENT_TYPE_METAL_BMC",
		4: "COMPONENT_TYPE_METAL_IMAGE_CACHE_SYNC",
		5: "COMPONENT_TYPE_METAL_CONSOLE",
		6: "COMPONENT_TYPE_METAL_METRICS_EXPORTER",
		7: "COMPONENT_TYPE_EXTERNAL_APPLICATION",
	}
	ComponentType_value = map[string]int32{
		"COMPONENT_TYPE_UNSPECIFIED":            0,
		"COMPONENT_TYPE_PIXIECORE":              1,
		"COMPONENT_TYPE_METAL_CORE":             2,
		"COMPONENT_TYPE_METAL_BMC":              3,
		"COMPONENT_TYPE_METAL_IMAGE_CACHE_SYNC": 4,
		"COMPONENT_TYPE_METAL_CONSOLE":          5,
		"COMPONENT_TYPE_METAL_METRICS_EXPORTER": 6,
		"COMPONENT_TYPE_EXTERNAL_APPLICATION":   7,
	}
)

Enum value maps for ComponentType.

View Source
var (
	LVMType_name = map[int32]string{
		0: "LVM_TYPE_UNSPECIFIED",
		1: "LVM_TYPE_LINEAR",
		2: "LVM_TYPE_STRIPED",
		3: "LVM_TYPE_RAID1",
	}
	LVMType_value = map[string]int32{
		"LVM_TYPE_UNSPECIFIED": 0,
		"LVM_TYPE_LINEAR":      1,
		"LVM_TYPE_STRIPED":     2,
		"LVM_TYPE_RAID1":       3,
	}
)

Enum value maps for LVMType.

View Source
var (
	Format_name = map[int32]string{
		0: "FORMAT_UNSPECIFIED",
		1: "FORMAT_VFAT",
		2: "FORMAT_EXT3",
		3: "FORMAT_EXT4",
		4: "FORMAT_SWAP",
		5: "FORMAT_TMPFS",
		6: "FORMAT_NONE",
	}
	Format_value = map[string]int32{
		"FORMAT_UNSPECIFIED": 0,
		"FORMAT_VFAT":        1,
		"FORMAT_EXT3":        2,
		"FORMAT_EXT4":        3,
		"FORMAT_SWAP":        4,
		"FORMAT_TMPFS":       5,
		"FORMAT_NONE":        6,
	}
)

Enum value maps for Format.

View Source
var (
	GPTType_name = map[int32]string{
		0: "GPT_TYPE_UNSPECIFIED",
		1: "GPT_TYPE_BOOT",
		2: "GPT_TYPE_LINUX",
		3: "GPT_TYPE_LINUX_RAID",
		4: "GPT_TYPE_LINUX_LVM",
	}
	GPTType_value = map[string]int32{
		"GPT_TYPE_UNSPECIFIED": 0,
		"GPT_TYPE_BOOT":        1,
		"GPT_TYPE_LINUX":       2,
		"GPT_TYPE_LINUX_RAID":  3,
		"GPT_TYPE_LINUX_LVM":   4,
	}
)

Enum value maps for GPTType.

View Source
var (
	RaidLevel_name = map[int32]string{
		0: "RAID_LEVEL_UNSPECIFIED",
		1: "RAID_LEVEL_0",
		2: "RAID_LEVEL_1",
	}
	RaidLevel_value = map[string]int32{
		"RAID_LEVEL_UNSPECIFIED": 0,
		"RAID_LEVEL_0":           1,
		"RAID_LEVEL_1":           2,
	}
)

Enum value maps for RaidLevel.

View Source
var (
	ServiceStatus_name = map[int32]string{
		0: "SERVICE_STATUS_UNSPECIFIED",
		1: "SERVICE_STATUS_DEGRADED",
		2: "SERVICE_STATUS_UNHEALTHY",
		3: "SERVICE_STATUS_HEALTHY",
	}
	ServiceStatus_value = map[string]int32{
		"SERVICE_STATUS_UNSPECIFIED": 0,
		"SERVICE_STATUS_DEGRADED":    1,
		"SERVICE_STATUS_UNHEALTHY":   2,
		"SERVICE_STATUS_HEALTHY":     3,
	}
)

Enum value maps for ServiceStatus.

View Source
var (
	Service_name = map[int32]string{
		0: "SERVICE_UNSPECIFIED",
		1: "SERVICE_IPAM",
		2: "SERVICE_RETHINK",
		3: "SERVICE_TENANT_APISERVER",
		4: "SERVICE_MACHINES",
		5: "SERVICE_AUDIT",
		6: "SERVICE_VPN",
		7: "SERVICE_REDIS",
		8: "SERVICE_TASKS",
	}
	Service_value = map[string]int32{
		"SERVICE_UNSPECIFIED":      0,
		"SERVICE_IPAM":             1,
		"SERVICE_RETHINK":          2,
		"SERVICE_TENANT_APISERVER": 3,
		"SERVICE_MACHINES":         4,
		"SERVICE_AUDIT":            5,
		"SERVICE_VPN":              6,
		"SERVICE_REDIS":            7,
		"SERVICE_TASKS":            8,
	}
)

Enum value maps for Service.

View Source
var (
	ImageFeature_name = map[int32]string{
		0: "IMAGE_FEATURE_UNSPECIFIED",
		1: "IMAGE_FEATURE_MACHINE",
		2: "IMAGE_FEATURE_FIREWALL",
	}
	ImageFeature_value = map[string]int32{
		"IMAGE_FEATURE_UNSPECIFIED": 0,
		"IMAGE_FEATURE_MACHINE":     1,
		"IMAGE_FEATURE_FIREWALL":    2,
	}
)

Enum value maps for ImageFeature.

View Source
var (
	ImageClassification_name = map[int32]string{
		0: "IMAGE_CLASSIFICATION_UNSPECIFIED",
		1: "IMAGE_CLASSIFICATION_PREVIEW",
		2: "IMAGE_CLASSIFICATION_SUPPORTED",
		3: "IMAGE_CLASSIFICATION_DEPRECATED",
	}
	ImageClassification_value = map[string]int32{
		"IMAGE_CLASSIFICATION_UNSPECIFIED": 0,
		"IMAGE_CLASSIFICATION_PREVIEW":     1,
		"IMAGE_CLASSIFICATION_SUPPORTED":   2,
		"IMAGE_CLASSIFICATION_DEPRECATED":  3,
	}
)

Enum value maps for ImageClassification.

View Source
var (
	IPType_name = map[int32]string{
		0: "IP_TYPE_UNSPECIFIED",
		1: "IP_TYPE_EPHEMERAL",
		2: "IP_TYPE_STATIC",
	}
	IPType_value = map[string]int32{
		"IP_TYPE_UNSPECIFIED": 0,
		"IP_TYPE_EPHEMERAL":   1,
		"IP_TYPE_STATIC":      2,
	}
)

Enum value maps for IPType.

View Source
var (
	IPAddressFamily_name = map[int32]string{
		0: "IP_ADDRESS_FAMILY_UNSPECIFIED",
		1: "IP_ADDRESS_FAMILY_V4",
		2: "IP_ADDRESS_FAMILY_V6",
	}
	IPAddressFamily_value = map[string]int32{
		"IP_ADDRESS_FAMILY_UNSPECIFIED": 0,
		"IP_ADDRESS_FAMILY_V4":          1,
		"IP_ADDRESS_FAMILY_V6":          2,
	}
)

Enum value maps for IPAddressFamily.

View Source
var (
	IPProtocol_name = map[int32]string{
		0: "IP_PROTOCOL_UNSPECIFIED",
		1: "IP_PROTOCOL_TCP",
		2: "IP_PROTOCOL_UDP",
	}
	IPProtocol_value = map[string]int32{
		"IP_PROTOCOL_UNSPECIFIED": 0,
		"IP_PROTOCOL_TCP":         1,
		"IP_PROTOCOL_UDP":         2,
	}
)

Enum value maps for IPProtocol.

View Source
var (
	MachineState_name = map[int32]string{
		0: "MACHINE_STATE_UNSPECIFIED",
		1: "MACHINE_STATE_TAINTED",
		2: "MACHINE_STATE_LOCKED",
		3: "MACHINE_STATE_AVAILABLE",
	}
	MachineState_value = map[string]int32{
		"MACHINE_STATE_UNSPECIFIED": 0,
		"MACHINE_STATE_TAINTED":     1,
		"MACHINE_STATE_LOCKED":      2,
		"MACHINE_STATE_AVAILABLE":   3,
	}
)

Enum value maps for MachineState.

View Source
var (
	MachineProvisioningEventState_name = map[int32]string{
		0: "MACHINE_PROVISIONING_EVENT_STATE_UNSPECIFIED",
		1: "MACHINE_PROVISIONING_EVENT_STATE_CRASHLOOP",
		2: "MACHINE_PROVISIONING_EVENT_STATE_FAILED_RECLAIM",
	}
	MachineProvisioningEventState_value = map[string]int32{
		"MACHINE_PROVISIONING_EVENT_STATE_UNSPECIFIED":    0,
		"MACHINE_PROVISIONING_EVENT_STATE_CRASHLOOP":      1,
		"MACHINE_PROVISIONING_EVENT_STATE_FAILED_RECLAIM": 2,
	}
)

Enum value maps for MachineProvisioningEventState.

View Source
var (
	MachineProvisioningEventType_name = map[int32]string{
		0:  "MACHINE_PROVISIONING_EVENT_TYPE_UNSPECIFIED",
		1:  "MACHINE_PROVISIONING_EVENT_TYPE_ALIVE",
		2:  "MACHINE_PROVISIONING_EVENT_TYPE_CRASHED",
		3:  "MACHINE_PROVISIONING_EVENT_TYPE_PXE_BOOTING",
		4:  "MACHINE_PROVISIONING_EVENT_TYPE_PLANNED_REBOOT",
		5:  "MACHINE_PROVISIONING_EVENT_TYPE_PREPARING",
		6:  "MACHINE_PROVISIONING_EVENT_TYPE_REGISTERING",
		7:  "MACHINE_PROVISIONING_EVENT_TYPE_WAITING",
		8:  "MACHINE_PROVISIONING_EVENT_TYPE_INSTALLING",
		9:  "MACHINE_PROVISIONING_EVENT_TYPE_BOOTING_NEW_KERNEL",
		10: "MACHINE_PROVISIONING_EVENT_TYPE_PHONED_HOME",
		11: "MACHINE_PROVISIONING_EVENT_TYPE_MACHINE_RECLAIM",
	}
	MachineProvisioningEventType_value = map[string]int32{
		"MACHINE_PROVISIONING_EVENT_TYPE_UNSPECIFIED":        0,
		"MACHINE_PROVISIONING_EVENT_TYPE_ALIVE":              1,
		"MACHINE_PROVISIONING_EVENT_TYPE_CRASHED":            2,
		"MACHINE_PROVISIONING_EVENT_TYPE_PXE_BOOTING":        3,
		"MACHINE_PROVISIONING_EVENT_TYPE_PLANNED_REBOOT":     4,
		"MACHINE_PROVISIONING_EVENT_TYPE_PREPARING":          5,
		"MACHINE_PROVISIONING_EVENT_TYPE_REGISTERING":        6,
		"MACHINE_PROVISIONING_EVENT_TYPE_WAITING":            7,
		"MACHINE_PROVISIONING_EVENT_TYPE_INSTALLING":         8,
		"MACHINE_PROVISIONING_EVENT_TYPE_BOOTING_NEW_KERNEL": 9,
		"MACHINE_PROVISIONING_EVENT_TYPE_PHONED_HOME":        10,
		"MACHINE_PROVISIONING_EVENT_TYPE_MACHINE_RECLAIM":    11,
	}
)

Enum value maps for MachineProvisioningEventType.

View Source
var (
	MachineLiveliness_name = map[int32]string{
		0: "MACHINE_LIVELINESS_UNSPECIFIED",
		1: "MACHINE_LIVELINESS_ALIVE",
		2: "MACHINE_LIVELINESS_DEAD",
		3: "MACHINE_LIVELINESS_UNKNOWN",
	}
	MachineLiveliness_value = map[string]int32{
		"MACHINE_LIVELINESS_UNSPECIFIED": 0,
		"MACHINE_LIVELINESS_ALIVE":       1,
		"MACHINE_LIVELINESS_DEAD":        2,
		"MACHINE_LIVELINESS_UNKNOWN":     3,
	}
)

Enum value maps for MachineLiveliness.

View Source
var (
	MachineAllocationType_name = map[int32]string{
		0: "MACHINE_ALLOCATION_TYPE_UNSPECIFIED",
		1: "MACHINE_ALLOCATION_TYPE_MACHINE",
		2: "MACHINE_ALLOCATION_TYPE_FIREWALL",
	}
	MachineAllocationType_value = map[string]int32{
		"MACHINE_ALLOCATION_TYPE_UNSPECIFIED": 0,
		"MACHINE_ALLOCATION_TYPE_MACHINE":     1,
		"MACHINE_ALLOCATION_TYPE_FIREWALL":    2,
	}
)

Enum value maps for MachineAllocationType.

View Source
var (
	MachineBMCCommand_name = map[int32]string{
		0:  "MACHINE_BMC_COMMAND_UNSPECIFIED",
		1:  "MACHINE_BMC_COMMAND_ON",
		2:  "MACHINE_BMC_COMMAND_OFF",
		3:  "MACHINE_BMC_COMMAND_RESET",
		4:  "MACHINE_BMC_COMMAND_CYCLE",
		5:  "MACHINE_BMC_COMMAND_BOOT_TO_BIOS",
		6:  "MACHINE_BMC_COMMAND_BOOT_FROM_DISK",
		7:  "MACHINE_BMC_COMMAND_BOOT_FROM_PXE",
		8:  "MACHINE_BMC_COMMAND_IDENTIFY_LED_ON",
		9:  "MACHINE_BMC_COMMAND_IDENTIFY_LED_OFF",
		10: "MACHINE_BMC_COMMAND_MACHINE_DELETED",
		11: "MACHINE_BMC_COMMAND_MACHINE_CREATED",
	}
	MachineBMCCommand_value = map[string]int32{
		"MACHINE_BMC_COMMAND_UNSPECIFIED":      0,
		"MACHINE_BMC_COMMAND_ON":               1,
		"MACHINE_BMC_COMMAND_OFF":              2,
		"MACHINE_BMC_COMMAND_RESET":            3,
		"MACHINE_BMC_COMMAND_CYCLE":            4,
		"MACHINE_BMC_COMMAND_BOOT_TO_BIOS":     5,
		"MACHINE_BMC_COMMAND_BOOT_FROM_DISK":   6,
		"MACHINE_BMC_COMMAND_BOOT_FROM_PXE":    7,
		"MACHINE_BMC_COMMAND_IDENTIFY_LED_ON":  8,
		"MACHINE_BMC_COMMAND_IDENTIFY_LED_OFF": 9,
		"MACHINE_BMC_COMMAND_MACHINE_DELETED":  10,
		"MACHINE_BMC_COMMAND_MACHINE_CREATED":  11,
	}
)

Enum value maps for MachineBMCCommand.

View Source
var (
	MachineIssueType_name = map[int32]string{
		0:  "MACHINE_ISSUE_TYPE_UNSPECIFIED",
		1:  "MACHINE_ISSUE_TYPE_ASN_UNIQUENESS",
		2:  "MACHINE_ISSUE_TYPE_BMC_INFO_OUTDATED",
		3:  "MACHINE_ISSUE_TYPE_BMC_NON_DISTINCT_IP",
		4:  "MACHINE_ISSUE_TYPE_BMC_WITHOUT_IP",
		5:  "MACHINE_ISSUE_TYPE_BMC_WITHOUT_MAC",
		6:  "MACHINE_ISSUE_TYPE_CRASH_LOOP",
		7:  "MACHINE_ISSUE_TYPE_FAILED_MACHINE_RECLAIM",
		8:  "MACHINE_ISSUE_TYPE_LAST_EVENT_ERROR",
		9:  "MACHINE_ISSUE_TYPE_LIVELINESS_DEAD",
		10: "MACHINE_ISSUE_TYPE_LIVELINESS_NOT_AVAILABLE",
		11: "MACHINE_ISSUE_TYPE_LIVELINESS_UNKNOWN",
		12: "MACHINE_ISSUE_TYPE_NO_EVENT_CONTAINER",
		13: "MACHINE_ISSUE_TYPE_NO_PARTITION",
	}
	MachineIssueType_value = map[string]int32{
		"MACHINE_ISSUE_TYPE_UNSPECIFIED":              0,
		"MACHINE_ISSUE_TYPE_ASN_UNIQUENESS":           1,
		"MACHINE_ISSUE_TYPE_BMC_INFO_OUTDATED":        2,
		"MACHINE_ISSUE_TYPE_BMC_NON_DISTINCT_IP":      3,
		"MACHINE_ISSUE_TYPE_BMC_WITHOUT_IP":           4,
		"MACHINE_ISSUE_TYPE_BMC_WITHOUT_MAC":          5,
		"MACHINE_ISSUE_TYPE_CRASH_LOOP":               6,
		"MACHINE_ISSUE_TYPE_FAILED_MACHINE_RECLAIM":   7,
		"MACHINE_ISSUE_TYPE_LAST_EVENT_ERROR":         8,
		"MACHINE_ISSUE_TYPE_LIVELINESS_DEAD":          9,
		"MACHINE_ISSUE_TYPE_LIVELINESS_NOT_AVAILABLE": 10,
		"MACHINE_ISSUE_TYPE_LIVELINESS_UNKNOWN":       11,
		"MACHINE_ISSUE_TYPE_NO_EVENT_CONTAINER":       12,
		"MACHINE_ISSUE_TYPE_NO_PARTITION":             13,
	}
)

Enum value maps for MachineIssueType.

View Source
var (
	MachineIssueSeverity_name = map[int32]string{
		0: "MACHINE_ISSUE_SEVERITY_UNSPECIFIED",
		1: "MACHINE_ISSUE_SEVERITY_MINOR",
		2: "MACHINE_ISSUE_SEVERITY_MAJOR",
		3: "MACHINE_ISSUE_SEVERITY_CRITICAL",
	}
	MachineIssueSeverity_value = map[string]int32{
		"MACHINE_ISSUE_SEVERITY_UNSPECIFIED": 0,
		"MACHINE_ISSUE_SEVERITY_MINOR":       1,
		"MACHINE_ISSUE_SEVERITY_MAJOR":       2,
		"MACHINE_ISSUE_SEVERITY_CRITICAL":    3,
	}
)

Enum value maps for MachineIssueSeverity.

View Source
var (
	NATType_name = map[int32]string{
		0: "NAT_TYPE_UNSPECIFIED",
		1: "NAT_TYPE_NONE",
		2: "NAT_TYPE_IPV4_MASQUERADE",
	}
	NATType_value = map[string]int32{
		"NAT_TYPE_UNSPECIFIED":     0,
		"NAT_TYPE_NONE":            1,
		"NAT_TYPE_IPV4_MASQUERADE": 2,
	}
)

Enum value maps for NATType.

View Source
var (
	NetworkType_name = map[int32]string{
		0: "NETWORK_TYPE_UNSPECIFIED",
		1: "NETWORK_TYPE_EXTERNAL",
		2: "NETWORK_TYPE_UNDERLAY",
		3: "NETWORK_TYPE_SUPER",
		4: "NETWORK_TYPE_SUPER_NAMESPACED",
		5: "NETWORK_TYPE_CHILD",
		6: "NETWORK_TYPE_CHILD_SHARED",
	}
	NetworkType_value = map[string]int32{
		"NETWORK_TYPE_UNSPECIFIED":      0,
		"NETWORK_TYPE_EXTERNAL":         1,
		"NETWORK_TYPE_UNDERLAY":         2,
		"NETWORK_TYPE_SUPER":            3,
		"NETWORK_TYPE_SUPER_NAMESPACED": 4,
		"NETWORK_TYPE_CHILD":            5,
		"NETWORK_TYPE_CHILD_SHARED":     6,
	}
)

Enum value maps for NetworkType.

View Source
var (
	NetworkAddressFamily_name = map[int32]string{
		0: "NETWORK_ADDRESS_FAMILY_UNSPECIFIED",
		1: "NETWORK_ADDRESS_FAMILY_V4",
		2: "NETWORK_ADDRESS_FAMILY_V6",
		3: "NETWORK_ADDRESS_FAMILY_DUAL_STACK",
	}
	NetworkAddressFamily_value = map[string]int32{
		"NETWORK_ADDRESS_FAMILY_UNSPECIFIED": 0,
		"NETWORK_ADDRESS_FAMILY_V4":          1,
		"NETWORK_ADDRESS_FAMILY_V6":          2,
		"NETWORK_ADDRESS_FAMILY_DUAL_STACK":  3,
	}
)

Enum value maps for NetworkAddressFamily.

View Source
var (
	// Macaddress returns true if the given string is a valid macaddress.
	//
	// optional bool macaddress = 80048951;
	E_Macaddress = &file_metalstack_api_v2_predefined_rules_proto_extTypes[0]
	// IsName returns true if name field satisfies our requirements.
	//
	// optional bool is_name = 80048952;
	E_IsName = &file_metalstack_api_v2_predefined_rules_proto_extTypes[1]
	// IsDescription returns true if description field satisfies our requirements.
	//
	// optional bool is_description = 80048953;
	E_IsDescription = &file_metalstack_api_v2_predefined_rules_proto_extTypes[2]
	// IsPartition returns true if partition field satisfies our requirements.
	//
	// optional bool is_partition = 80048954;
	E_IsPartition = &file_metalstack_api_v2_predefined_rules_proto_extTypes[3]
	// IsPrefix validates if the given string is a valid prefix.
	//
	// optional bool is_prefix = 80048955;
	E_IsPrefix = &file_metalstack_api_v2_predefined_rules_proto_extTypes[4]
	// IsUri validates if the given string is a valid URI.
	//
	// optional bool is_uri = 80048956;
	E_IsUri = &file_metalstack_api_v2_predefined_rules_proto_extTypes[5]
	// IsIpOrHostname validates that the given string is either a ip or a hostname.
	//
	// optional bool is_ip_or_hostname = 80048957;
	E_IsIpOrHostname = &file_metalstack_api_v2_predefined_rules_proto_extTypes[6]
	// Trimmed enforces the string to be trimmed, e.g. no whitespaces at the begin and end.
	//
	// optional bool trimmed = 80048958;
	E_Trimmed = &file_metalstack_api_v2_predefined_rules_proto_extTypes[7]
	// IsUser returns true if name field satisfies our requirements.
	//
	// optional bool is_user = 80048959;
	E_IsUser = &file_metalstack_api_v2_predefined_rules_proto_extTypes[8]
	// IsOption returns true if name field satisfies our requirements.
	//
	// optional bool is_option = 80048960;
	E_IsOption = &file_metalstack_api_v2_predefined_rules_proto_extTypes[9]
	// IsKey returns true if name field satisfies our requirements.
	//
	// optional bool is_key = 80048961;
	E_IsKey = &file_metalstack_api_v2_predefined_rules_proto_extTypes[10]
	// IsTenantLogin returns true if name field satisfies our requirements.
	//
	// optional bool is_tenant_login = 80048962;
	E_IsTenantLogin = &file_metalstack_api_v2_predefined_rules_proto_extTypes[11]
	// IsTenantSubjectPermission returns true if name field satisfies our requirements.
	//
	// optional bool is_tenant_subject_permission = 80048963;
	E_IsTenantSubjectPermission = &file_metalstack_api_v2_predefined_rules_proto_extTypes[12]
	// IsProjectSubjectPermission returns true if name field satisfies our requirements.
	//
	// optional bool is_project_subject_permission = 80048964;
	E_IsProjectSubjectPermission = &file_metalstack_api_v2_predefined_rules_proto_extTypes[13]
	// IsMachineSubjectPermission returns true if name field satisfies our requirements.
	//
	// optional bool is_machine_subject_permission = 80048965;
	E_IsMachineSubjectPermission = &file_metalstack_api_v2_predefined_rules_proto_extTypes[14]
	// IsBase64 ensures the given string is base64 encoded
	//
	// optional bool is_base64 = 80048966;
	E_IsBase64 = &file_metalstack_api_v2_predefined_rules_proto_extTypes[15]
)

Extension fields to validate.StringRules.

View Source
var (
	// Prefixes validates if a slice of prefixes in string form are valid.
	//
	// optional bool prefixes = 80058951;
	E_Prefixes = &file_metalstack_api_v2_predefined_rules_proto_extTypes[16]
	// Ips validates if a slice of ips in string form are valid.
	//
	// optional bool ips = 80058952;
	E_Ips = &file_metalstack_api_v2_predefined_rules_proto_extTypes[17]
	// AreHostAndPort validates if a slice of strings are all in the form of <ip | host>:<port>.
	//
	// optional bool are_host_and_port = 80058953;
	E_AreHostAndPort = &file_metalstack_api_v2_predefined_rules_proto_extTypes[18]
	// All Trimmed enforces all strings to be trimmed, e.g. no whitespaces at the begin and end.
	//
	// optional bool all_trimmed = 80058954;
	E_AllTrimmed = &file_metalstack_api_v2_predefined_rules_proto_extTypes[19]
)

Extension fields to validate.RepeatedRules.

View Source
var (
	// Keys and Values trimmed enforces all map keys and values to be trimmed, e.g. no whitespaces at the begin and end.
	//
	// optional bool keys_and_values_trimmed = 80068951;
	E_KeysAndValuesTrimmed = &file_metalstack_api_v2_predefined_rules_proto_extTypes[20]
	// Keys trimmed enforces all map keys and values to be trimmed, e.g. no whitespaces at the begin and end.
	//
	// optional bool keys_trimmed = 80068952;
	E_KeysTrimmed = &file_metalstack_api_v2_predefined_rules_proto_extTypes[21]
	// ProjectRolesKeysValid ensures that project roles keys met our requirements.
	//
	// optional bool project_roles_keys_valid = 80068953;
	E_ProjectRolesKeysValid = &file_metalstack_api_v2_predefined_rules_proto_extTypes[22]
	// TenantRolesKeysValid ensures that tenant roles keys met our requirements.
	//
	// optional bool tenant_roles_keys_valid = 80068954;
	E_TenantRolesKeysValid = &file_metalstack_api_v2_predefined_rules_proto_extTypes[23]
	// MachineRolesKeysValid ensures that machine roles keys met our requirements.
	//
	// optional bool machine_roles_keys_valid = 80068955;
	E_MachineRolesKeysValid = &file_metalstack_api_v2_predefined_rules_proto_extTypes[24]
)

Extension fields to validate.MapRules.

View Source
var (
	SizeConstraintType_name = map[int32]string{
		0: "SIZE_CONSTRAINT_TYPE_UNSPECIFIED",
		1: "SIZE_CONSTRAINT_TYPE_CORES",
		2: "SIZE_CONSTRAINT_TYPE_MEMORY",
		3: "SIZE_CONSTRAINT_TYPE_STORAGE",
		4: "SIZE_CONSTRAINT_TYPE_GPU",
	}
	SizeConstraintType_value = map[string]int32{
		"SIZE_CONSTRAINT_TYPE_UNSPECIFIED": 0,
		"SIZE_CONSTRAINT_TYPE_CORES":       1,
		"SIZE_CONSTRAINT_TYPE_MEMORY":      2,
		"SIZE_CONSTRAINT_TYPE_STORAGE":     3,
		"SIZE_CONSTRAINT_TYPE_GPU":         4,
	}
)

Enum value maps for SizeConstraintType.

View Source
var (
	BGPState_name = map[int32]string{
		0: "BGP_STATE_UNSPECIFIED",
		1: "BGP_STATE_IDLE",
		2: "BGP_STATE_CONNECT",
		3: "BGP_STATE_ACTIVE",
		4: "BGP_STATE_OPEN_SENT",
		5: "BGP_STATE_OPEN_CONFIRM",
		6: "BGP_STATE_ESTABLISHED",
	}
	BGPState_value = map[string]int32{
		"BGP_STATE_UNSPECIFIED":  0,
		"BGP_STATE_IDLE":         1,
		"BGP_STATE_CONNECT":      2,
		"BGP_STATE_ACTIVE":       3,
		"BGP_STATE_OPEN_SENT":    4,
		"BGP_STATE_OPEN_CONFIRM": 5,
		"BGP_STATE_ESTABLISHED":  6,
	}
)

Enum value maps for BGPState.

View Source
var (
	SwitchReplaceMode_name = map[int32]string{
		0: "SWITCH_REPLACE_MODE_UNSPECIFIED",
		1: "SWITCH_REPLACE_MODE_REPLACE",
		2: "SWITCH_REPLACE_MODE_OPERATIONAL",
	}
	SwitchReplaceMode_value = map[string]int32{
		"SWITCH_REPLACE_MODE_UNSPECIFIED": 0,
		"SWITCH_REPLACE_MODE_REPLACE":     1,
		"SWITCH_REPLACE_MODE_OPERATIONAL": 2,
	}
)

Enum value maps for SwitchReplaceMode.

View Source
var (
	SwitchOSVendor_name = map[int32]string{
		0: "SWITCH_OS_VENDOR_UNSPECIFIED",
		1: "SWITCH_OS_VENDOR_CUMULUS",
		2: "SWITCH_OS_VENDOR_SONIC",
	}
	SwitchOSVendor_value = map[string]int32{
		"SWITCH_OS_VENDOR_UNSPECIFIED": 0,
		"SWITCH_OS_VENDOR_CUMULUS":     1,
		"SWITCH_OS_VENDOR_SONIC":       2,
	}
)

Enum value maps for SwitchOSVendor.

View Source
var (
	SwitchPortStatus_name = map[int32]string{
		0: "SWITCH_PORT_STATUS_UNSPECIFIED",
		1: "SWITCH_PORT_STATUS_UP",
		2: "SWITCH_PORT_STATUS_DOWN",
		3: "SWITCH_PORT_STATUS_UNKNOWN",
	}
	SwitchPortStatus_value = map[string]int32{
		"SWITCH_PORT_STATUS_UNSPECIFIED": 0,
		"SWITCH_PORT_STATUS_UP":          1,
		"SWITCH_PORT_STATUS_DOWN":        2,
		"SWITCH_PORT_STATUS_UNKNOWN":     3,
	}
)

Enum value maps for SwitchPortStatus.

View Source
var (
	TokenType_name = map[int32]string{
		0: "TOKEN_TYPE_UNSPECIFIED",
		1: "TOKEN_TYPE_API",
		2: "TOKEN_TYPE_USER",
	}
	TokenType_value = map[string]int32{
		"TOKEN_TYPE_UNSPECIFIED": 0,
		"TOKEN_TYPE_API":         1,
		"TOKEN_TYPE_USER":        2,
	}
)

Enum value maps for TokenType.

View Source
var (
	// StringValue which can be set to a enum.
	//
	// optional string enum_string_value = 52000;
	E_EnumStringValue = &file_metalstack_api_v2_common_proto_extTypes[7]
)

Extension fields to descriptorpb.EnumValueOptions.

View Source
var File_metalstack_api_v2_audit_proto protoreflect.FileDescriptor
View Source
var File_metalstack_api_v2_common_proto protoreflect.FileDescriptor
View Source
var File_metalstack_api_v2_component_proto protoreflect.FileDescriptor
View Source
var File_metalstack_api_v2_filesystem_proto protoreflect.FileDescriptor
View Source
var File_metalstack_api_v2_health_proto protoreflect.FileDescriptor
View Source
var File_metalstack_api_v2_image_proto protoreflect.FileDescriptor
View Source
var File_metalstack_api_v2_ip_proto protoreflect.FileDescriptor
View Source
var File_metalstack_api_v2_machine_proto protoreflect.FileDescriptor
View Source
var File_metalstack_api_v2_method_proto protoreflect.FileDescriptor
View Source
var File_metalstack_api_v2_network_proto protoreflect.FileDescriptor
View Source
var File_metalstack_api_v2_partition_proto protoreflect.FileDescriptor
View Source
var File_metalstack_api_v2_predefined_rules_proto protoreflect.FileDescriptor
View Source
var File_metalstack_api_v2_project_proto protoreflect.FileDescriptor
View Source
var File_metalstack_api_v2_size_imageconstraint_proto protoreflect.FileDescriptor
View Source
var File_metalstack_api_v2_size_proto protoreflect.FileDescriptor
View Source
var File_metalstack_api_v2_size_reservation_proto protoreflect.FileDescriptor
View Source
var File_metalstack_api_v2_switch_proto protoreflect.FileDescriptor
View Source
var File_metalstack_api_v2_tenant_proto protoreflect.FileDescriptor
View Source
var File_metalstack_api_v2_token_proto protoreflect.FileDescriptor
View Source
var File_metalstack_api_v2_user_proto protoreflect.FileDescriptor
View Source
var File_metalstack_api_v2_version_proto protoreflect.FileDescriptor
View Source
var File_metalstack_api_v2_vpn_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AdminPermissions added in v0.4.0

type AdminPermissions struct {

	// Methods which should be accessible.
	Methods []string `protobuf:"bytes,2,rep,name=methods,proto3" json:"methods,omitempty"`
	// contains filtered or unexported fields
}

AdminPermissions carries admin method permissions.

func (*AdminPermissions) Descriptor deprecated added in v0.4.0

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

Deprecated: Use AdminPermissions.ProtoReflect.Descriptor instead.

func (*AdminPermissions) GetMethods added in v0.4.0

func (x *AdminPermissions) GetMethods() []string

func (*AdminPermissions) ProtoMessage added in v0.4.0

func (*AdminPermissions) ProtoMessage()

func (*AdminPermissions) ProtoReflect added in v0.4.0

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

func (*AdminPermissions) Reset added in v0.4.0

func (x *AdminPermissions) Reset()

func (*AdminPermissions) String added in v0.4.0

func (x *AdminPermissions) String() string

type AdminRole

type AdminRole int32

AdminRole specifies what role a logged in user needs to call this admin service.

const (
	// ADMIN_ROLE_UNSPECIFIED is not specified.
	AdminRole_ADMIN_ROLE_UNSPECIFIED AdminRole = 0
	// ADMIN_ROLE_EDITOR the logged in user needs at least editor role to call this method.
	AdminRole_ADMIN_ROLE_EDITOR AdminRole = 1
	// ADMIN_ROLE_VIEWER the logged in user needs at least viewer role to call this method.
	AdminRole_ADMIN_ROLE_VIEWER AdminRole = 2
)

func (AdminRole) Descriptor

func (AdminRole) Descriptor() protoreflect.EnumDescriptor

func (AdminRole) Enum

func (x AdminRole) Enum() *AdminRole

func (AdminRole) EnumDescriptor deprecated

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

Deprecated: Use AdminRole.Descriptor instead.

func (AdminRole) Number

func (x AdminRole) Number() protoreflect.EnumNumber

func (AdminRole) String

func (x AdminRole) String() string

func (AdminRole) Type

type AuditPhase added in v0.0.55

type AuditPhase int32

AuditPhase specifies the phase of an audit trace.

const (
	// AUDIT_PHASE_UNSPECIFIED is not specified.
	AuditPhase_AUDIT_PHASE_UNSPECIFIED AuditPhase = 0
	// AUDIT_PHASE_REQUEST defines an audit trace in the request phase.
	AuditPhase_AUDIT_PHASE_REQUEST AuditPhase = 1
	// AUDIT_PHASE_RESPONSE defines an audit trace in the response phase.
	AuditPhase_AUDIT_PHASE_RESPONSE AuditPhase = 2
)

func (AuditPhase) Descriptor added in v0.0.55

func (AuditPhase) Descriptor() protoreflect.EnumDescriptor

func (AuditPhase) Enum added in v0.0.55

func (x AuditPhase) Enum() *AuditPhase

func (AuditPhase) EnumDescriptor deprecated added in v0.0.55

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

Deprecated: Use AuditPhase.Descriptor instead.

func (AuditPhase) Number added in v0.0.55

func (x AuditPhase) Number() protoreflect.EnumNumber

func (AuditPhase) String added in v0.0.55

func (x AuditPhase) String() string

func (AuditPhase) Type added in v0.0.55

type AuditQuery added in v0.0.55

type AuditQuery struct {

	// Uuid of the audit trace.
	Uuid *string `protobuf:"bytes,2,opt,name=uuid,proto3,oneof" json:"uuid,omitempty"`
	// From describes the start of the time window in which to list audit traces. Defaults to the last eight hours.
	From *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=from,proto3,oneof" json:"from,omitempty"`
	// To describes the end of the time window in which to list audit traces. Defaults to the time the request was issued.
	To *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=to,proto3,oneof" json:"to,omitempty"`
	// User is the user who called the api method.
	User *string `protobuf:"bytes,5,opt,name=user,proto3,oneof" json:"user,omitempty"`
	// Project is the project targeted by the api call.
	Project *string `protobuf:"bytes,6,opt,name=project,proto3,oneof" json:"project,omitempty"`
	// Method is the api method that was called.
	Method *string `protobuf:"bytes,7,opt,name=method,proto3,oneof" json:"method,omitempty"`
	// Source IP contains the ip address of the caller.
	SourceIp *string `protobuf:"bytes,8,opt,name=source_ip,json=sourceIp,proto3,oneof" json:"source_ip,omitempty"`
	// Result Code is a string describing the result of the api call.
	ResultCode *int32 `protobuf:"varint,9,opt,name=result_code,json=resultCode,proto3,oneof" json:"result_code,omitempty"`
	// Body is a string providing text-search of the body field.
	Body *string `protobuf:"bytes,10,opt,name=body,proto3,oneof" json:"body,omitempty"`
	// Limit is a number limiting the length of the response (min: 1, max: 1000, defaults to 200).
	Limit *int32 `protobuf:"varint,11,opt,name=limit,proto3,oneof" json:"limit,omitempty"`
	// Phase specifies the audit phase.
	Phase *AuditPhase `protobuf:"varint,12,opt,name=phase,proto3,enum=metalstack.api.v2.AuditPhase,oneof" json:"phase,omitempty"`
	// contains filtered or unexported fields
}

AuditQuery is the query for audit traces.

func (*AuditQuery) Descriptor deprecated added in v0.0.55

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

Deprecated: Use AuditQuery.ProtoReflect.Descriptor instead.

func (*AuditQuery) GetBody added in v0.0.55

func (x *AuditQuery) GetBody() string

func (*AuditQuery) GetFrom added in v0.0.55

func (x *AuditQuery) GetFrom() *timestamppb.Timestamp

func (*AuditQuery) GetLimit added in v0.0.55

func (x *AuditQuery) GetLimit() int32

func (*AuditQuery) GetMethod added in v0.0.55

func (x *AuditQuery) GetMethod() string

func (*AuditQuery) GetPhase added in v0.0.55

func (x *AuditQuery) GetPhase() AuditPhase

func (*AuditQuery) GetProject added in v0.0.55

func (x *AuditQuery) GetProject() string

func (*AuditQuery) GetResultCode added in v0.0.55

func (x *AuditQuery) GetResultCode() int32

func (*AuditQuery) GetSourceIp added in v0.0.55

func (x *AuditQuery) GetSourceIp() string

func (*AuditQuery) GetTo added in v0.0.55

func (x *AuditQuery) GetTo() *timestamppb.Timestamp

func (*AuditQuery) GetUser added in v0.0.55

func (x *AuditQuery) GetUser() string

func (*AuditQuery) GetUuid added in v0.0.55

func (x *AuditQuery) GetUuid() string

func (*AuditQuery) ProtoMessage added in v0.0.55

func (*AuditQuery) ProtoMessage()

func (*AuditQuery) ProtoReflect added in v0.0.55

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

func (*AuditQuery) Reset added in v0.0.55

func (x *AuditQuery) Reset()

func (*AuditQuery) String added in v0.0.55

func (x *AuditQuery) String() string

type AuditServiceGetRequest added in v0.0.55

type AuditServiceGetRequest struct {

	// Login for this tenant.
	Login string `protobuf:"bytes,1,opt,name=login,proto3" json:"login,omitempty"`
	// Uuid of the audit trace.
	Uuid string `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"`
	// Phase specifies the audit phase. Defaults to request.
	Phase *AuditPhase `protobuf:"varint,3,opt,name=phase,proto3,enum=metalstack.api.v2.AuditPhase,oneof" json:"phase,omitempty"`
	// contains filtered or unexported fields
}

AuditServiceGetRequest is the request payload of a audit get request.

func (*AuditServiceGetRequest) Descriptor deprecated added in v0.0.55

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

Deprecated: Use AuditServiceGetRequest.ProtoReflect.Descriptor instead.

func (*AuditServiceGetRequest) GetLogin added in v0.0.55

func (x *AuditServiceGetRequest) GetLogin() string

func (*AuditServiceGetRequest) GetPhase added in v0.0.55

func (x *AuditServiceGetRequest) GetPhase() AuditPhase

func (*AuditServiceGetRequest) GetUuid added in v0.0.55

func (x *AuditServiceGetRequest) GetUuid() string

func (*AuditServiceGetRequest) ProtoMessage added in v0.0.55

func (*AuditServiceGetRequest) ProtoMessage()

func (*AuditServiceGetRequest) ProtoReflect added in v0.0.55

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

func (*AuditServiceGetRequest) Reset added in v0.0.55

func (x *AuditServiceGetRequest) Reset()

func (*AuditServiceGetRequest) String added in v0.0.55

func (x *AuditServiceGetRequest) String() string

type AuditServiceGetResponse added in v0.0.55

type AuditServiceGetResponse struct {

	// Trace is the audit trace.
	Trace *AuditTrace `protobuf:"bytes,1,opt,name=trace,proto3" json:"trace,omitempty"`
	// contains filtered or unexported fields
}

AuditServiceGetResponse is the response payload of a audit get request.

func (*AuditServiceGetResponse) Descriptor deprecated added in v0.0.55

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

Deprecated: Use AuditServiceGetResponse.ProtoReflect.Descriptor instead.

func (*AuditServiceGetResponse) GetTrace added in v0.0.55

func (x *AuditServiceGetResponse) GetTrace() *AuditTrace

func (*AuditServiceGetResponse) ProtoMessage added in v0.0.55

func (*AuditServiceGetResponse) ProtoMessage()

func (*AuditServiceGetResponse) ProtoReflect added in v0.0.55

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

func (*AuditServiceGetResponse) Reset added in v0.0.55

func (x *AuditServiceGetResponse) Reset()

func (*AuditServiceGetResponse) String added in v0.0.55

func (x *AuditServiceGetResponse) String() string

type AuditServiceListRequest added in v0.0.55

type AuditServiceListRequest struct {

	// Login for this tenant.
	Login string `protobuf:"bytes,1,opt,name=login,proto3" json:"login,omitempty"`
	// Query for audit traces.
	Query *AuditQuery `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"`
	// contains filtered or unexported fields
}

AuditServiceListRequest is the request payload for an audit list request.

func (*AuditServiceListRequest) Descriptor deprecated added in v0.0.55

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

Deprecated: Use AuditServiceListRequest.ProtoReflect.Descriptor instead.

func (*AuditServiceListRequest) GetLogin added in v0.0.55

func (x *AuditServiceListRequest) GetLogin() string

func (*AuditServiceListRequest) GetQuery added in v0.0.55

func (x *AuditServiceListRequest) GetQuery() *AuditQuery

func (*AuditServiceListRequest) ProtoMessage added in v0.0.55

func (*AuditServiceListRequest) ProtoMessage()

func (*AuditServiceListRequest) ProtoReflect added in v0.0.55

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

func (*AuditServiceListRequest) Reset added in v0.0.55

func (x *AuditServiceListRequest) Reset()

func (*AuditServiceListRequest) String added in v0.0.55

func (x *AuditServiceListRequest) String() string

type AuditServiceListResponse added in v0.0.55

type AuditServiceListResponse struct {

	// Traces is a list of audit traces.
	Traces []*AuditTrace `protobuf:"bytes,1,rep,name=traces,proto3" json:"traces,omitempty"`
	// contains filtered or unexported fields
}

AuditServiceListResponse is the response payload of a audit list request.

func (*AuditServiceListResponse) Descriptor deprecated added in v0.0.55

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

Deprecated: Use AuditServiceListResponse.ProtoReflect.Descriptor instead.

func (*AuditServiceListResponse) GetTraces added in v0.0.55

func (x *AuditServiceListResponse) GetTraces() []*AuditTrace

func (*AuditServiceListResponse) ProtoMessage added in v0.0.55

func (*AuditServiceListResponse) ProtoMessage()

func (*AuditServiceListResponse) ProtoReflect added in v0.0.55

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

func (*AuditServiceListResponse) Reset added in v0.0.55

func (x *AuditServiceListResponse) Reset()

func (*AuditServiceListResponse) String added in v0.0.55

func (x *AuditServiceListResponse) String() string

type AuditTrace added in v0.0.55

type AuditTrace struct {

	// Uuid of the audit trace.
	Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	// Timestamp is the timestamp when the request arrived at the API.
	Timestamp *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// User is the login user who called the API method.
	User string `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"`
	// Tenant is the tenant targeted by the API call.
	Tenant string `protobuf:"bytes,4,opt,name=tenant,proto3" json:"tenant,omitempty"`
	// Project is the project targeted by the API call.
	Project *string `protobuf:"bytes,5,opt,name=project,proto3,oneof" json:"project,omitempty"`
	// Method is the API method that was called.
	Method string `protobuf:"bytes,6,opt,name=method,proto3" json:"method,omitempty"`
	// Body is the payload of the API call. In the request phase this contains the payload sent by the client, in the response phase it contains the payload returned by the API server.
	Body *string `protobuf:"bytes,7,opt,name=body,proto3,oneof" json:"body,omitempty"`
	// SourceIP contains the source IP address of the API call.
	SourceIp string `protobuf:"bytes,8,opt,name=source_ip,json=sourceIp,proto3" json:"source_ip,omitempty"`
	// ResultCode is a status code describing the result of the API call. It is set for traces in the response phase and contains official gRPC status codes.
	ResultCode *int32 `protobuf:"varint,9,opt,name=result_code,json=resultCode,proto3,oneof" json:"result_code,omitempty"`
	// Phase represents the phase of the audit trace.
	Phase AuditPhase `protobuf:"varint,10,opt,name=phase,proto3,enum=metalstack.api.v2.AuditPhase" json:"phase,omitempty"`
	// Meta for this audit trace.
	Meta *Meta `protobuf:"bytes,11,opt,name=meta,proto3" json:"meta,omitempty"`
	// contains filtered or unexported fields
}

AuditTrace is an audit trace.

func (*AuditTrace) Descriptor deprecated added in v0.0.55

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

Deprecated: Use AuditTrace.ProtoReflect.Descriptor instead.

func (*AuditTrace) GetBody added in v0.0.55

func (x *AuditTrace) GetBody() string

func (*AuditTrace) GetMeta added in v0.1.2

func (x *AuditTrace) GetMeta() *Meta

func (*AuditTrace) GetMethod added in v0.0.55

func (x *AuditTrace) GetMethod() string

func (*AuditTrace) GetPhase added in v0.0.55

func (x *AuditTrace) GetPhase() AuditPhase

func (*AuditTrace) GetProject added in v0.0.55

func (x *AuditTrace) GetProject() string

func (*AuditTrace) GetResultCode added in v0.0.55

func (x *AuditTrace) GetResultCode() int32

func (*AuditTrace) GetSourceIp added in v0.0.55

func (x *AuditTrace) GetSourceIp() string

func (*AuditTrace) GetTenant added in v0.0.55

func (x *AuditTrace) GetTenant() string

func (*AuditTrace) GetTimestamp added in v0.0.55

func (x *AuditTrace) GetTimestamp() *timestamppb.Timestamp

func (*AuditTrace) GetUser added in v0.0.55

func (x *AuditTrace) GetUser() string

func (*AuditTrace) GetUuid added in v0.0.55

func (x *AuditTrace) GetUuid() string

func (*AuditTrace) ProtoMessage added in v0.0.55

func (*AuditTrace) ProtoMessage()

func (*AuditTrace) ProtoReflect added in v0.0.55

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

func (*AuditTrace) Reset added in v0.0.55

func (x *AuditTrace) Reset()

func (*AuditTrace) String added in v0.0.55

func (x *AuditTrace) String() string

type Auditing

type Auditing int32

Auditing option specified per service method. By default all service methods are included. Add the auditing option if you want to exclude a method in auditing.

const (
	// AUDITING_UNSPECIFIED is not specified.
	Auditing_AUDITING_UNSPECIFIED Auditing = 0
	// AUDITING_INCLUDED if a method is annotated with this, all calls are audited.
	Auditing_AUDITING_INCLUDED Auditing = 1
	// AUDITING_EXCLUDED if a method is annotated with this, no calls are audited.
	Auditing_AUDITING_EXCLUDED Auditing = 2
)

func (Auditing) Descriptor

func (Auditing) Descriptor() protoreflect.EnumDescriptor

func (Auditing) Enum

func (x Auditing) Enum() *Auditing

func (Auditing) EnumDescriptor deprecated

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

Deprecated: Use Auditing.Descriptor instead.

func (Auditing) Number

func (x Auditing) Number() protoreflect.EnumNumber

func (Auditing) String

func (x Auditing) String() string

func (Auditing) Type

type BGPFilter added in v0.0.8

type BGPFilter struct {

	// CIDRs for which to allow BGP.
	Cidrs []string `protobuf:"bytes,1,rep,name=cidrs,proto3" json:"cidrs,omitempty"`
	// VNIs for which to allow BGP.
	Vnis []string `protobuf:"bytes,2,rep,name=vnis,proto3" json:"vnis,omitempty"`
	// contains filtered or unexported fields
}

BGPFilter can be used to restrict BGP based on CIDRs and VNIs.

func (*BGPFilter) Descriptor deprecated added in v0.0.8

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

Deprecated: Use BGPFilter.ProtoReflect.Descriptor instead.

func (*BGPFilter) GetCidrs added in v0.0.8

func (x *BGPFilter) GetCidrs() []string

func (*BGPFilter) GetVnis added in v0.0.8

func (x *BGPFilter) GetVnis() []string

func (*BGPFilter) ProtoMessage added in v0.0.8

func (*BGPFilter) ProtoMessage()

func (*BGPFilter) ProtoReflect added in v0.0.8

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

func (*BGPFilter) Reset added in v0.0.8

func (x *BGPFilter) Reset()

func (*BGPFilter) String added in v0.0.8

func (x *BGPFilter) String() string

type BGPState added in v0.0.8

type BGPState int32

BGPState represents the state of a BGP session.

const (
	// BGP_STATE_UNSPECIFIED is not specified.
	BGPState_BGP_STATE_UNSPECIFIED BGPState = 0
	// BGP_STATE_IDLE is the Idle state of a BGP session.
	BGPState_BGP_STATE_IDLE BGPState = 1
	// BGP_STATE_CONNECT is the Connect state of a BGP session.
	BGPState_BGP_STATE_CONNECT BGPState = 2
	// BGP_STATE_ACTIVE is the Active state of a BGP session.
	BGPState_BGP_STATE_ACTIVE BGPState = 3
	// BGP_STATE_OPEN_SENT is the OpenSent state of a BGP session.
	BGPState_BGP_STATE_OPEN_SENT BGPState = 4
	// BGP_STATE_OPEN_CONFIRM is the OpenConfirm state of a BGP session.
	BGPState_BGP_STATE_OPEN_CONFIRM BGPState = 5
	// BGP_STATE_ESTABLISHED is the Established state of a BGP session.
	BGPState_BGP_STATE_ESTABLISHED BGPState = 6
)

func (BGPState) Descriptor added in v0.0.8

func (BGPState) Descriptor() protoreflect.EnumDescriptor

func (BGPState) Enum added in v0.0.8

func (x BGPState) Enum() *BGPState

func (BGPState) EnumDescriptor deprecated added in v0.0.8

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

Deprecated: Use BGPState.Descriptor instead.

func (BGPState) Number added in v0.0.8

func (x BGPState) Number() protoreflect.EnumNumber

func (BGPState) String added in v0.0.8

func (x BGPState) String() string

func (BGPState) Type added in v0.0.8

type ChildPrefixLength

type ChildPrefixLength struct {

	// IPv4 bit length of this network in this addressfamily.
	Ipv4 *uint32 `protobuf:"varint,1,opt,name=ipv4,proto3,oneof" json:"ipv4,omitempty"`
	// IPv6 bit length of this network in this addressfamily.
	Ipv6 *uint32 `protobuf:"varint,2,opt,name=ipv6,proto3,oneof" json:"ipv6,omitempty"`
	// contains filtered or unexported fields
}

ChildPrefixLength.

func (*ChildPrefixLength) Descriptor deprecated

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

Deprecated: Use ChildPrefixLength.ProtoReflect.Descriptor instead.

func (*ChildPrefixLength) GetIpv4

func (x *ChildPrefixLength) GetIpv4() uint32

func (*ChildPrefixLength) GetIpv6

func (x *ChildPrefixLength) GetIpv6() uint32

func (*ChildPrefixLength) ProtoMessage

func (*ChildPrefixLength) ProtoMessage()

func (*ChildPrefixLength) ProtoReflect

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

func (*ChildPrefixLength) Reset

func (x *ChildPrefixLength) Reset()

func (*ChildPrefixLength) String

func (x *ChildPrefixLength) String() string

type Component added in v0.0.50

type Component struct {

	// UUID identifies this component event.
	Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	// Type defines which service is actually pinging.
	Type ComponentType `protobuf:"varint,2,opt,name=type,proto3,enum=metalstack.api.v2.ComponentType" json:"type,omitempty"`
	// Identifier is a unique identifier of this service, e.g. if two instance are running, this might be the pod id.
	// micro_service and identifier guarantee uniqueness.
	Identifier string `protobuf:"bytes,3,opt,name=identifier,proto3" json:"identifier,omitempty"`
	// StartedAt is the timestamp this service was started.
	StartedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"`
	// ReportedAt is the timestamp this service sent this ping.
	ReportedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=reported_at,json=reportedAt,proto3" json:"reported_at,omitempty"`
	// Interval at which the ping is scheduled.
	Interval *durationpb.Duration `protobuf:"bytes,6,opt,name=interval,proto3" json:"interval,omitempty"`
	// Version of this service.
	Version *Version `protobuf:"bytes,7,opt,name=version,proto3" json:"version,omitempty"`
	// Token is the token which is actually used by this microservice.
	Token *Token `protobuf:"bytes,8,opt,name=token,proto3" json:"token,omitempty"`
	// Meta for this component.
	Meta *Meta `protobuf:"bytes,9,opt,name=meta,proto3" json:"meta,omitempty"`
	// contains filtered or unexported fields
}

Component represents a microservice connected to our apiserver.

func (*Component) Descriptor deprecated added in v0.0.50

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

Deprecated: Use Component.ProtoReflect.Descriptor instead.

func (*Component) GetIdentifier added in v0.0.50

func (x *Component) GetIdentifier() string

func (*Component) GetInterval added in v0.0.50

func (x *Component) GetInterval() *durationpb.Duration

func (*Component) GetMeta added in v0.1.2

func (x *Component) GetMeta() *Meta

func (*Component) GetReportedAt added in v0.0.50

func (x *Component) GetReportedAt() *timestamppb.Timestamp

func (*Component) GetStartedAt added in v0.0.50

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

func (*Component) GetToken added in v0.0.50

func (x *Component) GetToken() *Token

func (*Component) GetType added in v0.0.50

func (x *Component) GetType() ComponentType

func (*Component) GetUuid added in v0.0.50

func (x *Component) GetUuid() string

func (*Component) GetVersion added in v0.0.50

func (x *Component) GetVersion() *Version

func (*Component) ProtoMessage added in v0.0.50

func (*Component) ProtoMessage()

func (*Component) ProtoReflect added in v0.0.50

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

func (*Component) Reset added in v0.0.50

func (x *Component) Reset()

func (*Component) String added in v0.0.50

func (x *Component) String() string

type ComponentQuery added in v0.0.50

type ComponentQuery struct {

	// UUID identifies this component.
	Uuid *string `protobuf:"bytes,1,opt,name=uuid,proto3,oneof" json:"uuid,omitempty"`
	// Type defines which service is actually pinging.
	Type *ComponentType `protobuf:"varint,2,opt,name=type,proto3,enum=metalstack.api.v2.ComponentType,oneof" json:"type,omitempty"`
	// Identifier is a unique identifier of this service, e.g. if two instance are running, this might be the pod id.
	// micro_service and identifier guarantee uniqueness.
	Identifier *string `protobuf:"bytes,3,opt,name=identifier,proto3,oneof" json:"identifier,omitempty"`
	// contains filtered or unexported fields
}

ComponentQuery to query components.

func (*ComponentQuery) Descriptor deprecated added in v0.0.50

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

Deprecated: Use ComponentQuery.ProtoReflect.Descriptor instead.

func (*ComponentQuery) GetIdentifier added in v0.0.50

func (x *ComponentQuery) GetIdentifier() string

func (*ComponentQuery) GetType added in v0.0.50

func (x *ComponentQuery) GetType() ComponentType

func (*ComponentQuery) GetUuid added in v0.0.50

func (x *ComponentQuery) GetUuid() string

func (*ComponentQuery) ProtoMessage added in v0.0.50

func (*ComponentQuery) ProtoMessage()

func (*ComponentQuery) ProtoReflect added in v0.0.50

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

func (*ComponentQuery) Reset added in v0.0.50

func (x *ComponentQuery) Reset()

func (*ComponentQuery) String added in v0.0.50

func (x *ComponentQuery) String() string

type ComponentType added in v0.0.50

type ComponentType int32

ComponentType defines which service is actually pinging.

const (
	// COMPONENT_TYPE_UNSPECIFIED is unspecified.
	ComponentType_COMPONENT_TYPE_UNSPECIFIED ComponentType = 0
	// COMPONENT_TYPE_PIXIECORE is pixiecore.
	ComponentType_COMPONENT_TYPE_PIXIECORE ComponentType = 1
	// COMPONENT_TYPE_METAL_CORE is metal-core.
	ComponentType_COMPONENT_TYPE_METAL_CORE ComponentType = 2
	// COMPONENT_TYPE_METAL_BMC is metal-bmc.
	ComponentType_COMPONENT_TYPE_METAL_BMC ComponentType = 3
	// COMPONENT_TYPE_METAL_IMAGE_CACHE_SYNC is metal-image-cache-sync.
	ComponentType_COMPONENT_TYPE_METAL_IMAGE_CACHE_SYNC ComponentType = 4
	// COMPONENT_TYPE_METAL_CONSOLE is metal-console.
	ComponentType_COMPONENT_TYPE_METAL_CONSOLE ComponentType = 5
	// COMPONENT_TYPE_METAL_METRICS_EXPORTER is metal-metrics-exporter.
	ComponentType_COMPONENT_TYPE_METAL_METRICS_EXPORTER ComponentType = 6
	// COMPONENT_TYPE_EXTERNAL_APPLICATION is an external application.
	ComponentType_COMPONENT_TYPE_EXTERNAL_APPLICATION ComponentType = 7
)

func (ComponentType) Descriptor added in v0.0.50

func (ComponentType) Enum added in v0.0.50

func (x ComponentType) Enum() *ComponentType

func (ComponentType) EnumDescriptor deprecated added in v0.0.50

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

Deprecated: Use ComponentType.Descriptor instead.

func (ComponentType) Number added in v0.0.50

func (ComponentType) String added in v0.0.50

func (x ComponentType) String() string

func (ComponentType) Type added in v0.0.50

type DNSServer

type DNSServer struct {

	// IP address of this dns server.
	Ip string `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"`
	// contains filtered or unexported fields
}

DNSServer.

func (*DNSServer) Descriptor deprecated

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

Deprecated: Use DNSServer.ProtoReflect.Descriptor instead.

func (*DNSServer) GetIp

func (x *DNSServer) GetIp() 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 Disk

type Disk struct {

	// Device the device to create the partitions.
	Device string `protobuf:"bytes,1,opt,name=device,proto3" json:"device,omitempty"`
	// Partitions list of partitions to create on this disk.
	Partitions []*DiskPartition `protobuf:"bytes,2,rep,name=partitions,proto3" json:"partitions,omitempty"`
	// contains filtered or unexported fields
}

Disk.

func (*Disk) Descriptor deprecated

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

Deprecated: Use Disk.ProtoReflect.Descriptor instead.

func (*Disk) GetDevice

func (x *Disk) GetDevice() string

func (*Disk) GetPartitions

func (x *Disk) GetPartitions() []*DiskPartition

func (*Disk) ProtoMessage

func (*Disk) ProtoMessage()

func (*Disk) ProtoReflect

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

func (*Disk) Reset

func (x *Disk) Reset()

func (*Disk) String

func (x *Disk) String() string

type DiskPartition

type DiskPartition struct {

	// Number partition number, will be appended to partitionprefix to create the final devicename.
	Number uint32 `protobuf:"varint,1,opt,name=number,proto3" json:"number,omitempty"`
	// Label an optional label for this partition.
	Label *string `protobuf:"bytes,2,opt,name=label,proto3,oneof" json:"label,omitempty"`
	// Size in mebibytes (MiB) of this partition.
	Size uint64 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"`
	// GPTType the gpt partition table type of this partition.
	GptType *GPTType `protobuf:"varint,4,opt,name=gpt_type,json=gptType,proto3,enum=metalstack.api.v2.GPTType,oneof" json:"gpt_type,omitempty"`
	// contains filtered or unexported fields
}

DiskPartition.

func (*DiskPartition) Descriptor deprecated

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

Deprecated: Use DiskPartition.ProtoReflect.Descriptor instead.

func (*DiskPartition) GetGptType

func (x *DiskPartition) GetGptType() GPTType

func (*DiskPartition) GetLabel

func (x *DiskPartition) GetLabel() string

func (*DiskPartition) GetNumber

func (x *DiskPartition) GetNumber() uint32

func (*DiskPartition) GetSize

func (x *DiskPartition) GetSize() uint64

func (*DiskPartition) ProtoMessage

func (*DiskPartition) ProtoMessage()

func (*DiskPartition) ProtoReflect

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

func (*DiskPartition) Reset

func (x *DiskPartition) Reset()

func (*DiskPartition) String

func (x *DiskPartition) String() string

type ExternalNetworkMember added in v0.5.2

type ExternalNetworkMember struct {

	// Switch the external members are connected to.
	Switch string `protobuf:"bytes,1,opt,name=switch,proto3" json:"switch,omitempty"`
	// Ports of the switch that participate in the network.
	Ports []string `protobuf:"bytes,2,rep,name=ports,proto3" json:"ports,omitempty"`
	// contains filtered or unexported fields
}

ExternalNetworkMember contains the ports of a switch that participate in a network and are connected to machines not known to metal-stack.

func (*ExternalNetworkMember) Descriptor deprecated added in v0.5.2

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

Deprecated: Use ExternalNetworkMember.ProtoReflect.Descriptor instead.

func (*ExternalNetworkMember) GetPorts added in v0.5.2

func (x *ExternalNetworkMember) GetPorts() []string

func (*ExternalNetworkMember) GetSwitch added in v0.5.2

func (x *ExternalNetworkMember) GetSwitch() string

func (*ExternalNetworkMember) ProtoMessage added in v0.5.2

func (*ExternalNetworkMember) ProtoMessage()

func (*ExternalNetworkMember) ProtoReflect added in v0.5.2

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

func (*ExternalNetworkMember) Reset added in v0.5.2

func (x *ExternalNetworkMember) Reset()

func (*ExternalNetworkMember) String added in v0.5.2

func (x *ExternalNetworkMember) String() string

type ExternalNetworkMemberQuery added in v0.5.2

type ExternalNetworkMemberQuery struct {

	// Switch whose ports are queried.
	Switch *string `protobuf:"bytes,1,opt,name=switch,proto3,oneof" json:"switch,omitempty"`
	// Rack for which the members of the network are queried.
	Rack *string `protobuf:"bytes,2,opt,name=rack,proto3,oneof" json:"rack,omitempty"`
	// Partition where the members of the network reside..
	Partition *string `protobuf:"bytes,3,opt,name=partition,proto3,oneof" json:"partition,omitempty"`
	// contains filtered or unexported fields
}

ExternalNetworkMemberQuery defines which filters to apply when looking up external network members.

func (*ExternalNetworkMemberQuery) Descriptor deprecated added in v0.5.2

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

Deprecated: Use ExternalNetworkMemberQuery.ProtoReflect.Descriptor instead.

func (*ExternalNetworkMemberQuery) GetPartition added in v0.5.4

func (x *ExternalNetworkMemberQuery) GetPartition() string

func (*ExternalNetworkMemberQuery) GetRack added in v0.5.2

func (x *ExternalNetworkMemberQuery) GetRack() string

func (*ExternalNetworkMemberQuery) GetSwitch added in v0.5.2

func (x *ExternalNetworkMemberQuery) GetSwitch() string

func (*ExternalNetworkMemberQuery) ProtoMessage added in v0.5.2

func (*ExternalNetworkMemberQuery) ProtoMessage()

func (*ExternalNetworkMemberQuery) ProtoReflect added in v0.5.2

func (*ExternalNetworkMemberQuery) Reset added in v0.5.2

func (x *ExternalNetworkMemberQuery) Reset()

func (*ExternalNetworkMemberQuery) String added in v0.5.2

func (x *ExternalNetworkMemberQuery) String() string

type Filesystem

type Filesystem struct {

	// Device the underlying device where this filesystem should be created.
	Device string `protobuf:"bytes,1,opt,name=device,proto3" json:"device,omitempty"`
	// Format of the filesystem format.
	Format Format `protobuf:"varint,2,opt,name=format,proto3,enum=metalstack.api.v2.Format" json:"format,omitempty"`
	// Name of this filesystem.
	Name *string `protobuf:"bytes,3,opt,name=name,proto3,oneof" json:"name,omitempty"`
	// Description of this filesystem.
	Description *string `protobuf:"bytes,4,opt,name=description,proto3,oneof" json:"description,omitempty"`
	// Path the mountpoint where this filesystem should be mounted on.
	Path *string `protobuf:"bytes,5,opt,name=path,proto3,oneof" json:"path,omitempty"`
	// Label an optional label for this filesystem.
	Label *string `protobuf:"bytes,6,opt,name=label,proto3,oneof" json:"label,omitempty"`
	// MountOptions the options to use to mount this filesystem.
	MountOptions []string `protobuf:"bytes,7,rep,name=mount_options,json=mountOptions,proto3" json:"mount_options,omitempty"`
	// CreateOptions the options to use to create (mkfs) this filesystem.
	CreateOptions []string `protobuf:"bytes,8,rep,name=create_options,json=createOptions,proto3" json:"create_options,omitempty"`
	// contains filtered or unexported fields
}

Filesystem.

func (*Filesystem) Descriptor deprecated

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

Deprecated: Use Filesystem.ProtoReflect.Descriptor instead.

func (*Filesystem) GetCreateOptions

func (x *Filesystem) GetCreateOptions() []string

func (*Filesystem) GetDescription

func (x *Filesystem) GetDescription() string

func (*Filesystem) GetDevice

func (x *Filesystem) GetDevice() string

func (*Filesystem) GetFormat

func (x *Filesystem) GetFormat() Format

func (*Filesystem) GetLabel

func (x *Filesystem) GetLabel() string

func (*Filesystem) GetMountOptions

func (x *Filesystem) GetMountOptions() []string

func (*Filesystem) GetName

func (x *Filesystem) GetName() string

func (*Filesystem) GetPath

func (x *Filesystem) GetPath() string

func (*Filesystem) ProtoMessage

func (*Filesystem) ProtoMessage()

func (*Filesystem) ProtoReflect

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

func (*Filesystem) Reset

func (x *Filesystem) Reset()

func (*Filesystem) String

func (x *Filesystem) String() string

type FilesystemLayout

type FilesystemLayout struct {

	// Id of this filesystemLayout.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Meta for this filesystemLayout.
	Meta *Meta `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta,omitempty"`
	// Name of this filesystemLayout.
	Name *string `protobuf:"bytes,3,opt,name=name,proto3,oneof" json:"name,omitempty"`
	// Description of this filesystemLayout.
	Description *string `protobuf:"bytes,4,opt,name=description,proto3,oneof" json:"description,omitempty"`
	// Filesystems is a list of filesystems to create on a machine.
	Filesystems []*Filesystem `protobuf:"bytes,5,rep,name=filesystems,proto3" json:"filesystems,omitempty"`
	// Disks list of disks that belong to this layout.
	Disks []*Disk `protobuf:"bytes,6,rep,name=disks,proto3" json:"disks,omitempty"`
	// Raid arrays to create.
	Raid []*Raid `protobuf:"bytes,7,rep,name=raid,proto3" json:"raid,omitempty"`
	// VolumeGroups list of volumegroups to create.
	VolumeGroups []*VolumeGroup `protobuf:"bytes,8,rep,name=volume_groups,json=volumeGroups,proto3" json:"volume_groups,omitempty"`
	// LogicalVolumes list of logicalvolumes to create.
	LogicalVolumes []*LogicalVolume `protobuf:"bytes,9,rep,name=logical_volumes,json=logicalVolumes,proto3" json:"logical_volumes,omitempty"`
	// Constraints which must match that this layout is taken, if sizes and images are empty these are develop layouts.
	Constraints *FilesystemLayoutConstraints `protobuf:"bytes,10,opt,name=constraints,proto3" json:"constraints,omitempty"`
	// contains filtered or unexported fields
}

FilesystemLayout.

func (*FilesystemLayout) Descriptor deprecated

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

Deprecated: Use FilesystemLayout.ProtoReflect.Descriptor instead.

func (*FilesystemLayout) GetConstraints

func (x *FilesystemLayout) GetConstraints() *FilesystemLayoutConstraints

func (*FilesystemLayout) GetDescription

func (x *FilesystemLayout) GetDescription() string

func (*FilesystemLayout) GetDisks

func (x *FilesystemLayout) GetDisks() []*Disk

func (*FilesystemLayout) GetFilesystems

func (x *FilesystemLayout) GetFilesystems() []*Filesystem

func (*FilesystemLayout) GetId

func (x *FilesystemLayout) GetId() string

func (*FilesystemLayout) GetLogicalVolumes

func (x *FilesystemLayout) GetLogicalVolumes() []*LogicalVolume

func (*FilesystemLayout) GetMeta

func (x *FilesystemLayout) GetMeta() *Meta

func (*FilesystemLayout) GetName

func (x *FilesystemLayout) GetName() string

func (*FilesystemLayout) GetRaid

func (x *FilesystemLayout) GetRaid() []*Raid

func (*FilesystemLayout) GetVolumeGroups

func (x *FilesystemLayout) GetVolumeGroups() []*VolumeGroup

func (*FilesystemLayout) ProtoMessage

func (*FilesystemLayout) ProtoMessage()

func (*FilesystemLayout) ProtoReflect

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

func (*FilesystemLayout) Reset

func (x *FilesystemLayout) Reset()

func (*FilesystemLayout) String

func (x *FilesystemLayout) String() string

type FilesystemLayoutConstraints

type FilesystemLayoutConstraints struct {

	// Sizes list of sizes this layout applies to.
	// This could either be a concrete size, or a asterisk to match all sizes.
	Sizes []string `protobuf:"bytes,1,rep,name=sizes,proto3" json:"sizes,omitempty"`
	// Images list of images this layout applies to in the following form:
	// Key must be the first part of available images, e.g. the name of the imag.
	// Value must be a semver match expression with the constraint and the version separated by space.
	// This would match all debian images which are greater or equal 12:
	// "debian": >= 12.0.
	Images map[string]string `` /* 139-byte string literal not displayed */
	// contains filtered or unexported fields
}

FilesystemLayoutConstraints.

func (*FilesystemLayoutConstraints) Descriptor deprecated

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

Deprecated: Use FilesystemLayoutConstraints.ProtoReflect.Descriptor instead.

func (*FilesystemLayoutConstraints) GetImages

func (x *FilesystemLayoutConstraints) GetImages() map[string]string

func (*FilesystemLayoutConstraints) GetSizes

func (x *FilesystemLayoutConstraints) GetSizes() []string

func (*FilesystemLayoutConstraints) ProtoMessage

func (*FilesystemLayoutConstraints) ProtoMessage()

func (*FilesystemLayoutConstraints) ProtoReflect

func (*FilesystemLayoutConstraints) Reset

func (x *FilesystemLayoutConstraints) Reset()

func (*FilesystemLayoutConstraints) String

func (x *FilesystemLayoutConstraints) String() string

type FilesystemServiceGetRequest

type FilesystemServiceGetRequest struct {

	// ID of the filesystem to get.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

FilesystemServiceGetRequest is the request payload for a filesystem get request.

func (*FilesystemServiceGetRequest) Descriptor deprecated

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

Deprecated: Use FilesystemServiceGetRequest.ProtoReflect.Descriptor instead.

func (*FilesystemServiceGetRequest) GetId

func (*FilesystemServiceGetRequest) ProtoMessage

func (*FilesystemServiceGetRequest) ProtoMessage()

func (*FilesystemServiceGetRequest) ProtoReflect

func (*FilesystemServiceGetRequest) Reset

func (x *FilesystemServiceGetRequest) Reset()

func (*FilesystemServiceGetRequest) String

func (x *FilesystemServiceGetRequest) String() string

type FilesystemServiceGetResponse

type FilesystemServiceGetResponse struct {

	// FilesystemLayout the filesystemlayout.
	FilesystemLayout *FilesystemLayout `protobuf:"bytes,1,opt,name=filesystem_layout,json=filesystemLayout,proto3" json:"filesystem_layout,omitempty"`
	// contains filtered or unexported fields
}

FilesystemServiceGetResponse is the response payload for a filesystem get request.

func (*FilesystemServiceGetResponse) Descriptor deprecated

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

Deprecated: Use FilesystemServiceGetResponse.ProtoReflect.Descriptor instead.

func (*FilesystemServiceGetResponse) GetFilesystemLayout

func (x *FilesystemServiceGetResponse) GetFilesystemLayout() *FilesystemLayout

func (*FilesystemServiceGetResponse) ProtoMessage

func (*FilesystemServiceGetResponse) ProtoMessage()

func (*FilesystemServiceGetResponse) ProtoReflect

func (*FilesystemServiceGetResponse) Reset

func (x *FilesystemServiceGetResponse) Reset()

func (*FilesystemServiceGetResponse) String

type FilesystemServiceListRequest

type FilesystemServiceListRequest struct {

	// ID of the filesystem to get.
	Id *string `protobuf:"bytes,1,opt,name=id,proto3,oneof" json:"id,omitempty"`
	// contains filtered or unexported fields
}

FilesystemServiceListRequest is the request payload for a filesystem list request.

func (*FilesystemServiceListRequest) Descriptor deprecated

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

Deprecated: Use FilesystemServiceListRequest.ProtoReflect.Descriptor instead.

func (*FilesystemServiceListRequest) GetId

func (*FilesystemServiceListRequest) ProtoMessage

func (*FilesystemServiceListRequest) ProtoMessage()

func (*FilesystemServiceListRequest) ProtoReflect

func (*FilesystemServiceListRequest) Reset

func (x *FilesystemServiceListRequest) Reset()

func (*FilesystemServiceListRequest) String

type FilesystemServiceListResponse

type FilesystemServiceListResponse struct {

	// FilesystemLayouts the filesystemlayouts.
	FilesystemLayouts []*FilesystemLayout `protobuf:"bytes,1,rep,name=filesystem_layouts,json=filesystemLayouts,proto3" json:"filesystem_layouts,omitempty"`
	// contains filtered or unexported fields
}

FilesystemServiceListResponse is the response payload for a filesystem list request.

func (*FilesystemServiceListResponse) Descriptor deprecated

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

Deprecated: Use FilesystemServiceListResponse.ProtoReflect.Descriptor instead.

func (*FilesystemServiceListResponse) GetFilesystemLayouts

func (x *FilesystemServiceListResponse) GetFilesystemLayouts() []*FilesystemLayout

func (*FilesystemServiceListResponse) ProtoMessage

func (*FilesystemServiceListResponse) ProtoMessage()

func (*FilesystemServiceListResponse) ProtoReflect

func (*FilesystemServiceListResponse) Reset

func (x *FilesystemServiceListResponse) Reset()

func (*FilesystemServiceListResponse) String

type FirewallEgressRule added in v0.0.9

type FirewallEgressRule struct {

	// Protocol the protocol for the rule, defaults to tcp.
	Protocol IPProtocol `protobuf:"varint,1,opt,name=protocol,proto3,enum=metalstack.api.v2.IPProtocol" json:"protocol,omitempty"`
	// Ports the ports affected by this rule.
	Ports []uint32 `protobuf:"varint,2,rep,packed,name=ports,proto3" json:"ports,omitempty"`
	// To the destination cidrs affected by this rule.
	To []string `protobuf:"bytes,3,rep,name=to,proto3" json:"to,omitempty"`
	// Comment for this rule.
	Comment string `protobuf:"bytes,4,opt,name=comment,proto3" json:"comment,omitempty"`
	// contains filtered or unexported fields
}

FirewallEgressRule defines rules for outgoing traffic.

func (*FirewallEgressRule) Descriptor deprecated added in v0.0.9

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

Deprecated: Use FirewallEgressRule.ProtoReflect.Descriptor instead.

func (*FirewallEgressRule) GetComment added in v0.0.9

func (x *FirewallEgressRule) GetComment() string

func (*FirewallEgressRule) GetPorts added in v0.0.9

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

func (*FirewallEgressRule) GetProtocol added in v0.0.9

func (x *FirewallEgressRule) GetProtocol() IPProtocol

func (*FirewallEgressRule) GetTo added in v0.0.9

func (x *FirewallEgressRule) GetTo() []string

func (*FirewallEgressRule) ProtoMessage added in v0.0.9

func (*FirewallEgressRule) ProtoMessage()

func (*FirewallEgressRule) ProtoReflect added in v0.0.9

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

func (*FirewallEgressRule) Reset added in v0.0.9

func (x *FirewallEgressRule) Reset()

func (*FirewallEgressRule) String added in v0.0.9

func (x *FirewallEgressRule) String() string

type FirewallIngressRule added in v0.0.9

type FirewallIngressRule struct {

	// Protocol the protocol for the rule, defaults to tcp.
	Protocol IPProtocol `protobuf:"varint,1,opt,name=protocol,proto3,enum=metalstack.api.v2.IPProtocol" json:"protocol,omitempty"`
	// Ports the ports affected by this rule.
	Ports []uint32 `protobuf:"varint,2,rep,packed,name=ports,proto3" json:"ports,omitempty"`
	// To the destination cidrs affected by this rule.
	To []string `protobuf:"bytes,3,rep,name=to,proto3" json:"to,omitempty"`
	// From the source cidrs affected by this rule.
	From []string `protobuf:"bytes,4,rep,name=from,proto3" json:"from,omitempty"`
	// Comment for this rule.
	Comment string `protobuf:"bytes,5,opt,name=comment,proto3" json:"comment,omitempty"`
	// contains filtered or unexported fields
}

FirewallIngressRule defines rules for incoming traffic.

func (*FirewallIngressRule) Descriptor deprecated added in v0.0.9

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

Deprecated: Use FirewallIngressRule.ProtoReflect.Descriptor instead.

func (*FirewallIngressRule) GetComment added in v0.0.9

func (x *FirewallIngressRule) GetComment() string

func (*FirewallIngressRule) GetFrom added in v0.0.9

func (x *FirewallIngressRule) GetFrom() []string

func (*FirewallIngressRule) GetPorts added in v0.0.9

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

func (*FirewallIngressRule) GetProtocol added in v0.0.9

func (x *FirewallIngressRule) GetProtocol() IPProtocol

func (*FirewallIngressRule) GetTo added in v0.0.9

func (x *FirewallIngressRule) GetTo() []string

func (*FirewallIngressRule) ProtoMessage added in v0.0.9

func (*FirewallIngressRule) ProtoMessage()

func (*FirewallIngressRule) ProtoReflect added in v0.0.9

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

func (*FirewallIngressRule) Reset added in v0.0.9

func (x *FirewallIngressRule) Reset()

func (*FirewallIngressRule) String added in v0.0.9

func (x *FirewallIngressRule) String() string

type FirewallRules added in v0.0.9

type FirewallRules struct {

	// Egress list of egress rules to be deployed during firewall allocation.
	Egress []*FirewallEgressRule `protobuf:"bytes,1,rep,name=egress,proto3" json:"egress,omitempty"`
	// Ingress list of ingress rules to be deployed during firewall allocation.
	Ingress []*FirewallIngressRule `protobuf:"bytes,2,rep,name=ingress,proto3" json:"ingress,omitempty"`
	// contains filtered or unexported fields
}

FirewallRules can be defined during firewall allocation.

func (*FirewallRules) Descriptor deprecated added in v0.0.9

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

Deprecated: Use FirewallRules.ProtoReflect.Descriptor instead.

func (*FirewallRules) GetEgress added in v0.0.9

func (x *FirewallRules) GetEgress() []*FirewallEgressRule

func (*FirewallRules) GetIngress added in v0.0.9

func (x *FirewallRules) GetIngress() []*FirewallIngressRule

func (*FirewallRules) ProtoMessage added in v0.0.9

func (*FirewallRules) ProtoMessage()

func (*FirewallRules) ProtoReflect added in v0.0.9

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

func (*FirewallRules) Reset added in v0.0.9

func (x *FirewallRules) Reset()

func (*FirewallRules) String added in v0.0.9

func (x *FirewallRules) String() string

type FirewallSpec added in v0.0.14

type FirewallSpec struct {

	// FirewallRules to be applied if this is a firewall.
	FirewallRules *FirewallRules `protobuf:"bytes,1,opt,name=firewall_rules,json=firewallRules,proto3" json:"firewall_rules,omitempty"`
	// contains filtered or unexported fields
}

FirewallSpec contains firewall specific firewall creation parameters.

func (*FirewallSpec) Descriptor deprecated added in v0.0.14

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

Deprecated: Use FirewallSpec.ProtoReflect.Descriptor instead.

func (*FirewallSpec) GetFirewallRules added in v0.0.14

func (x *FirewallSpec) GetFirewallRules() *FirewallRules

func (*FirewallSpec) ProtoMessage added in v0.0.14

func (*FirewallSpec) ProtoMessage()

func (*FirewallSpec) ProtoReflect added in v0.0.14

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

func (*FirewallSpec) Reset added in v0.0.14

func (x *FirewallSpec) Reset()

func (*FirewallSpec) String added in v0.0.14

func (x *FirewallSpec) String() string

type Format

type Format int32

Format specifies the filesystem to use on a volume.

const (
	// FORMAT_UNSPECIFIED.
	Format_FORMAT_UNSPECIFIED Format = 0
	// FORMAT_VFAT is used for the UEFI boot partition.
	Format_FORMAT_VFAT Format = 1
	// FORMAT_EXT3 is usually only used for /boot.
	Format_FORMAT_EXT3 Format = 2
	// FORMAT_EXT4 is the default fs.
	Format_FORMAT_EXT4 Format = 3
	// FORMAT_SWAP is for the swap partition.
	Format_FORMAT_SWAP Format = 4
	// FORMAT_TMPFS is used for a memory filesystem typically /tmp.
	Format_FORMAT_TMPFS Format = 5
	// FORMAT_NONE.
	Format_FORMAT_NONE Format = 6
)

func (Format) Descriptor

func (Format) Descriptor() protoreflect.EnumDescriptor

func (Format) Enum

func (x Format) Enum() *Format

func (Format) EnumDescriptor deprecated

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

Deprecated: Use Format.Descriptor instead.

func (Format) Number

func (x Format) Number() protoreflect.EnumNumber

func (Format) String

func (x Format) String() string

func (Format) Type

func (Format) Type() protoreflect.EnumType

type GPTType

type GPTType int32

GPTType specifies the partition type in uefi systems.

const (
	// GPT_TYPE_UNSPECIFIED is no specified.
	GPTType_GPT_TYPE_UNSPECIFIED GPTType = 0
	// GPT_TYPE_BOOT EFI Boot Partition.
	GPTType_GPT_TYPE_BOOT GPTType = 1
	// GPT_TYPE_LINUX Linux Partition.
	GPTType_GPT_TYPE_LINUX GPTType = 2
	// GPT_TYPE_LINUX_RAID Linux Raid Partition.
	GPTType_GPT_TYPE_LINUX_RAID GPTType = 3
	// GPT_TYPE_LINUX_LVM Linux LVM Partition.
	GPTType_GPT_TYPE_LINUX_LVM GPTType = 4
)

func (GPTType) Descriptor

func (GPTType) Descriptor() protoreflect.EnumDescriptor

func (GPTType) Enum

func (x GPTType) Enum() *GPTType

func (GPTType) EnumDescriptor deprecated

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

Deprecated: Use GPTType.Descriptor instead.

func (GPTType) Number

func (x GPTType) Number() protoreflect.EnumNumber

func (GPTType) String

func (x GPTType) String() string

func (GPTType) Type

func (GPTType) Type() protoreflect.EnumType

type Health

type Health struct {

	// Services contains the health of all individual services.
	Services []*HealthStatus `protobuf:"bytes,1,rep,name=services,proto3" json:"services,omitempty"`
	// contains filtered or unexported fields
}

Health reports the health status of all services.

func (*Health) Descriptor deprecated

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

Deprecated: Use Health.ProtoReflect.Descriptor instead.

func (*Health) GetServices

func (x *Health) GetServices() []*HealthStatus

func (*Health) ProtoMessage

func (*Health) ProtoMessage()

func (*Health) ProtoReflect

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

func (*Health) Reset

func (x *Health) Reset()

func (*Health) String

func (x *Health) String() string

type HealthServiceGetRequest

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

HealthServiceGetRequest is the request payload for getting the health of the system.

func (*HealthServiceGetRequest) Descriptor deprecated

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

Deprecated: Use HealthServiceGetRequest.ProtoReflect.Descriptor instead.

func (*HealthServiceGetRequest) ProtoMessage

func (*HealthServiceGetRequest) ProtoMessage()

func (*HealthServiceGetRequest) ProtoReflect

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

func (*HealthServiceGetRequest) Reset

func (x *HealthServiceGetRequest) Reset()

func (*HealthServiceGetRequest) String

func (x *HealthServiceGetRequest) String() string

type HealthServiceGetResponse

type HealthServiceGetResponse struct {

	// Health contains the overall health of the system.
	Health *Health `protobuf:"bytes,1,opt,name=health,proto3" json:"health,omitempty"`
	// contains filtered or unexported fields
}

HealthServiceGetResponse is the response payload for getting the health of the system.

func (*HealthServiceGetResponse) Descriptor deprecated

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

Deprecated: Use HealthServiceGetResponse.ProtoReflect.Descriptor instead.

func (*HealthServiceGetResponse) GetHealth

func (x *HealthServiceGetResponse) GetHealth() *Health

func (*HealthServiceGetResponse) ProtoMessage

func (*HealthServiceGetResponse) ProtoMessage()

func (*HealthServiceGetResponse) ProtoReflect

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

func (*HealthServiceGetResponse) Reset

func (x *HealthServiceGetResponse) Reset()

func (*HealthServiceGetResponse) String

func (x *HealthServiceGetResponse) String() string

type HealthStatus

type HealthStatus struct {

	// Name is the name of the service.
	Name Service `protobuf:"varint,1,opt,name=name,proto3,enum=metalstack.api.v2.Service" json:"name,omitempty"`
	// Status is the status of this service.
	Status ServiceStatus `protobuf:"varint,2,opt,name=status,proto3,enum=metalstack.api.v2.ServiceStatus" json:"status,omitempty"`
	// Message describes the reason for the unhealthy status if possible.
	Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
	// Partitions describes the health of the service by partition.
	Partitions map[string]*PartitionHealth `` /* 147-byte string literal not displayed */
	// contains filtered or unexported fields
}

HealthStatus represents the health status of one service.

func (*HealthStatus) Descriptor deprecated

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

Deprecated: Use HealthStatus.ProtoReflect.Descriptor instead.

func (*HealthStatus) GetMessage

func (x *HealthStatus) GetMessage() string

func (*HealthStatus) GetName

func (x *HealthStatus) GetName() Service

func (*HealthStatus) GetPartitions

func (x *HealthStatus) GetPartitions() map[string]*PartitionHealth

func (*HealthStatus) GetStatus

func (x *HealthStatus) GetStatus() ServiceStatus

func (*HealthStatus) ProtoMessage

func (*HealthStatus) ProtoMessage()

func (*HealthStatus) ProtoReflect

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

func (*HealthStatus) Reset

func (x *HealthStatus) Reset()

func (*HealthStatus) String

func (x *HealthStatus) String() string

type IP

type IP struct {

	// Uuid of this ip.
	Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	// Meta for this ip.
	Meta *Meta `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta,omitempty"`
	// Ip is either ipv4 or ipv6 address.
	Ip string `protobuf:"bytes,3,opt,name=ip,proto3" json:"ip,omitempty"`
	// Name of this ip.
	Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	// Description of this ip.
	Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
	// Network is the network this ip belongs to.
	Network string `protobuf:"bytes,6,opt,name=network,proto3" json:"network,omitempty"`
	// Project where this ip address belongs to.
	Project string `protobuf:"bytes,7,opt,name=project,proto3" json:"project,omitempty"`
	// Type of this ip.
	Type IPType `protobuf:"varint,8,opt,name=type,proto3,enum=metalstack.api.v2.IPType" json:"type,omitempty"`
	// Namespace if specified this ip is from a namespaced network and can therefore overlap with others.
	// Will be equal with project most of the time.
	Namespace *string `protobuf:"bytes,9,opt,name=namespace,proto3,oneof" json:"namespace,omitempty"`
	// contains filtered or unexported fields
}

IP is an IP address which can be used as loadbalancer addresses.

func (*IP) Descriptor deprecated

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

Deprecated: Use IP.ProtoReflect.Descriptor instead.

func (*IP) GetDescription

func (x *IP) GetDescription() string

func (*IP) GetIp

func (x *IP) GetIp() string

func (*IP) GetMeta

func (x *IP) GetMeta() *Meta

func (*IP) GetName

func (x *IP) GetName() string

func (*IP) GetNamespace

func (x *IP) GetNamespace() string

func (*IP) GetNetwork

func (x *IP) GetNetwork() string

func (*IP) GetProject

func (x *IP) GetProject() string

func (*IP) GetType

func (x *IP) GetType() IPType

func (*IP) GetUuid

func (x *IP) GetUuid() string

func (*IP) ProtoMessage

func (*IP) ProtoMessage()

func (*IP) ProtoReflect

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

func (*IP) Reset

func (x *IP) Reset()

func (*IP) String

func (x *IP) String() string

type IPAddressFamily

type IPAddressFamily int32

IPAddressFamily defines either IPv4 or IPv6 Addressfamily.

const (
	// IP_ADDRESS_FAMILY_UNSPECIFIED is not specified.
	IPAddressFamily_IP_ADDRESS_FAMILY_UNSPECIFIED IPAddressFamily = 0
	// IP_ADDRESS_FAMILY_V4 defines a IPv4 address.
	IPAddressFamily_IP_ADDRESS_FAMILY_V4 IPAddressFamily = 1
	// IP_ADDRESS_FAMILY_V6 defines a IPv6 address.
	IPAddressFamily_IP_ADDRESS_FAMILY_V6 IPAddressFamily = 2
)

func (IPAddressFamily) Descriptor

func (IPAddressFamily) Enum

func (x IPAddressFamily) Enum() *IPAddressFamily

func (IPAddressFamily) EnumDescriptor deprecated

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

Deprecated: Use IPAddressFamily.Descriptor instead.

func (IPAddressFamily) Number

func (IPAddressFamily) String

func (x IPAddressFamily) String() string

func (IPAddressFamily) Type

type IPProtocol added in v0.0.9

type IPProtocol int32

IPProtocol defines tcp|udp.

const (
	// IP_PROTOCOL_UNSPECIFIED is not specified.
	IPProtocol_IP_PROTOCOL_UNSPECIFIED IPProtocol = 0
	// IP_PROTOCOL_TCP is tcp.
	IPProtocol_IP_PROTOCOL_TCP IPProtocol = 1
	// IP_PROTOCOL_UDP is udp.
	IPProtocol_IP_PROTOCOL_UDP IPProtocol = 2
)

func (IPProtocol) Descriptor added in v0.0.9

func (IPProtocol) Descriptor() protoreflect.EnumDescriptor

func (IPProtocol) Enum added in v0.0.9

func (x IPProtocol) Enum() *IPProtocol

func (IPProtocol) EnumDescriptor deprecated added in v0.0.9

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

Deprecated: Use IPProtocol.Descriptor instead.

func (IPProtocol) Number added in v0.0.9

func (x IPProtocol) Number() protoreflect.EnumNumber

func (IPProtocol) String added in v0.0.9

func (x IPProtocol) String() string

func (IPProtocol) Type added in v0.0.9

type IPQuery

type IPQuery struct {

	// Ip the ip to list.
	Ip *string `protobuf:"bytes,1,opt,name=ip,proto3,oneof" json:"ip,omitempty"`
	// Network from which the IPs are to list.
	Network *string `protobuf:"bytes,2,opt,name=network,proto3,oneof" json:"network,omitempty"`
	// Project of the ips to list.
	Project *string `protobuf:"bytes,3,opt,name=project,proto3,oneof" json:"project,omitempty"`
	// Name of this ip.
	Name *string `protobuf:"bytes,4,opt,name=name,proto3,oneof" json:"name,omitempty"`
	// UUID for which these IPs should be filtered.
	Uuid *string `protobuf:"bytes,5,opt,name=uuid,proto3,oneof" json:"uuid,omitempty"`
	// Machine for which these IPs should be filtered.
	Machine *string `protobuf:"bytes,6,opt,name=machine,proto3,oneof" json:"machine,omitempty"`
	// ParentPrefixCidr for which this ips should get filtered.
	ParentPrefixCidr *string `protobuf:"bytes,7,opt,name=parent_prefix_cidr,json=parentPrefixCidr,proto3,oneof" json:"parent_prefix_cidr,omitempty"`
	// Labels for which these IPs should be filtered.
	Labels *Labels `protobuf:"bytes,8,opt,name=labels,proto3,oneof" json:"labels,omitempty"`
	// Static if set to true, this will be a Static ip.
	Type *IPType `protobuf:"varint,9,opt,name=type,proto3,enum=metalstack.api.v2.IPType,oneof" json:"type,omitempty"`
	// Address family of the IPs to list, defaults to all address families.
	AddressFamily *IPAddressFamily `` /* 147-byte string literal not displayed */
	// Namespace can be specified to get the ip of a namespace.
	Namespace *string `protobuf:"bytes,11,opt,name=namespace,proto3,oneof" json:"namespace,omitempty"`
	// contains filtered or unexported fields
}

IPQuery can be used to query a IP or a list of IP.

func (*IPQuery) Descriptor deprecated

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

Deprecated: Use IPQuery.ProtoReflect.Descriptor instead.

func (*IPQuery) GetAddressFamily

func (x *IPQuery) GetAddressFamily() IPAddressFamily

func (*IPQuery) GetIp

func (x *IPQuery) GetIp() string

func (*IPQuery) GetLabels

func (x *IPQuery) GetLabels() *Labels

func (*IPQuery) GetMachine added in v0.0.13

func (x *IPQuery) GetMachine() string

func (*IPQuery) GetName

func (x *IPQuery) GetName() string

func (*IPQuery) GetNamespace

func (x *IPQuery) GetNamespace() string

func (*IPQuery) GetNetwork

func (x *IPQuery) GetNetwork() string

func (*IPQuery) GetParentPrefixCidr

func (x *IPQuery) GetParentPrefixCidr() string

func (*IPQuery) GetProject

func (x *IPQuery) GetProject() string

func (*IPQuery) GetType

func (x *IPQuery) GetType() IPType

func (*IPQuery) GetUuid

func (x *IPQuery) GetUuid() string

func (*IPQuery) ProtoMessage

func (*IPQuery) ProtoMessage()

func (*IPQuery) ProtoReflect

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

func (*IPQuery) Reset

func (x *IPQuery) Reset()

func (*IPQuery) String

func (x *IPQuery) String() string

type IPServiceCreateRequest

type IPServiceCreateRequest struct {

	// Network from which the IP should be created.
	Network string `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"`
	// Project of the ip.
	Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
	// Name of the ip.
	Name *string `protobuf:"bytes,3,opt,name=name,proto3,oneof" json:"name,omitempty"`
	// Description of the ip.
	Description *string `protobuf:"bytes,4,opt,name=description,proto3,oneof" json:"description,omitempty"`
	// IP if given try to create this ip if still available.
	Ip *string `protobuf:"bytes,5,opt,name=ip,proto3,oneof" json:"ip,omitempty"`
	// Machine for which this ip should get created.
	Machine *string `protobuf:"bytes,6,opt,name=machine,proto3,oneof" json:"machine,omitempty"`
	// Labels to put onto the ip.
	Labels *Labels `protobuf:"bytes,7,opt,name=labels,proto3,oneof" json:"labels,omitempty"`
	// Type of the IP, ether ephemeral (default), or static.
	Type *IPType `protobuf:"varint,8,opt,name=type,proto3,enum=metalstack.api.v2.IPType,oneof" json:"type,omitempty"`
	// Addressfamily of the IP to create, defaults to ipv4.
	AddressFamily *IPAddressFamily `` /* 146-byte string literal not displayed */
	// contains filtered or unexported fields
}

IPServiceCreateRequest is the request payload for an IP create request.

func (*IPServiceCreateRequest) Descriptor deprecated

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

Deprecated: Use IPServiceCreateRequest.ProtoReflect.Descriptor instead.

func (*IPServiceCreateRequest) GetAddressFamily

func (x *IPServiceCreateRequest) GetAddressFamily() IPAddressFamily

func (*IPServiceCreateRequest) GetDescription

func (x *IPServiceCreateRequest) GetDescription() string

func (*IPServiceCreateRequest) GetIp

func (x *IPServiceCreateRequest) GetIp() string

func (*IPServiceCreateRequest) GetLabels

func (x *IPServiceCreateRequest) GetLabels() *Labels

func (*IPServiceCreateRequest) GetMachine added in v0.0.13

func (x *IPServiceCreateRequest) GetMachine() string

func (*IPServiceCreateRequest) GetName

func (x *IPServiceCreateRequest) GetName() string

func (*IPServiceCreateRequest) GetNetwork

func (x *IPServiceCreateRequest) GetNetwork() string

func (*IPServiceCreateRequest) GetProject

func (x *IPServiceCreateRequest) GetProject() string

func (*IPServiceCreateRequest) GetType

func (x *IPServiceCreateRequest) GetType() IPType

func (*IPServiceCreateRequest) ProtoMessage

func (*IPServiceCreateRequest) ProtoMessage()

func (*IPServiceCreateRequest) ProtoReflect

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

func (*IPServiceCreateRequest) Reset

func (x *IPServiceCreateRequest) Reset()

func (*IPServiceCreateRequest) String

func (x *IPServiceCreateRequest) String() string

type IPServiceCreateResponse

type IPServiceCreateResponse struct {

	// Ip the ip.
	Ip *IP `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"`
	// contains filtered or unexported fields
}

IPServiceCreateResponse is the response payload for an IP create request.

func (*IPServiceCreateResponse) Descriptor deprecated

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

Deprecated: Use IPServiceCreateResponse.ProtoReflect.Descriptor instead.

func (*IPServiceCreateResponse) GetIp

func (x *IPServiceCreateResponse) GetIp() *IP

func (*IPServiceCreateResponse) ProtoMessage

func (*IPServiceCreateResponse) ProtoMessage()

func (*IPServiceCreateResponse) ProtoReflect

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

func (*IPServiceCreateResponse) Reset

func (x *IPServiceCreateResponse) Reset()

func (*IPServiceCreateResponse) String

func (x *IPServiceCreateResponse) String() string

type IPServiceDeleteRequest

type IPServiceDeleteRequest struct {

	// IP of the ip to delete.
	Ip string `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"`
	// Project of the ip.
	Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
	// contains filtered or unexported fields
}

IPServiceDeleteRequest is the request payload for a ip delete request.

func (*IPServiceDeleteRequest) Descriptor deprecated

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

Deprecated: Use IPServiceDeleteRequest.ProtoReflect.Descriptor instead.

func (*IPServiceDeleteRequest) GetIp

func (x *IPServiceDeleteRequest) GetIp() string

func (*IPServiceDeleteRequest) GetProject

func (x *IPServiceDeleteRequest) GetProject() string

func (*IPServiceDeleteRequest) ProtoMessage

func (*IPServiceDeleteRequest) ProtoMessage()

func (*IPServiceDeleteRequest) ProtoReflect

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

func (*IPServiceDeleteRequest) Reset

func (x *IPServiceDeleteRequest) Reset()

func (*IPServiceDeleteRequest) String

func (x *IPServiceDeleteRequest) String() string

type IPServiceDeleteResponse

type IPServiceDeleteResponse struct {

	// Ip the ip.
	Ip *IP `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"`
	// contains filtered or unexported fields
}

IPServiceDeleteResponse is the response payload for an IP delete request.

func (*IPServiceDeleteResponse) Descriptor deprecated

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

Deprecated: Use IPServiceDeleteResponse.ProtoReflect.Descriptor instead.

func (*IPServiceDeleteResponse) GetIp

func (x *IPServiceDeleteResponse) GetIp() *IP

func (*IPServiceDeleteResponse) ProtoMessage

func (*IPServiceDeleteResponse) ProtoMessage()

func (*IPServiceDeleteResponse) ProtoReflect

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

func (*IPServiceDeleteResponse) Reset

func (x *IPServiceDeleteResponse) Reset()

func (*IPServiceDeleteResponse) String

func (x *IPServiceDeleteResponse) String() string

type IPServiceGetRequest

type IPServiceGetRequest struct {

	// IP of the ip to get.
	Ip string `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"`
	// Project of the ip.
	Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
	// Namespace can be specified to get the ip of a namespace.
	Namespace *string `protobuf:"bytes,3,opt,name=namespace,proto3,oneof" json:"namespace,omitempty"`
	// contains filtered or unexported fields
}

IPServiceGetRequest is the request payload for an IP get request.

func (*IPServiceGetRequest) Descriptor deprecated

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

Deprecated: Use IPServiceGetRequest.ProtoReflect.Descriptor instead.

func (*IPServiceGetRequest) GetIp

func (x *IPServiceGetRequest) GetIp() string

func (*IPServiceGetRequest) GetNamespace

func (x *IPServiceGetRequest) GetNamespace() string

func (*IPServiceGetRequest) GetProject

func (x *IPServiceGetRequest) GetProject() string

func (*IPServiceGetRequest) ProtoMessage

func (*IPServiceGetRequest) ProtoMessage()

func (*IPServiceGetRequest) ProtoReflect

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

func (*IPServiceGetRequest) Reset

func (x *IPServiceGetRequest) Reset()

func (*IPServiceGetRequest) String

func (x *IPServiceGetRequest) String() string

type IPServiceGetResponse

type IPServiceGetResponse struct {

	// Ip the ip.
	Ip *IP `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"`
	// contains filtered or unexported fields
}

IPServiceGetResponse is the response payload for an IP get request.

func (*IPServiceGetResponse) Descriptor deprecated

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

Deprecated: Use IPServiceGetResponse.ProtoReflect.Descriptor instead.

func (*IPServiceGetResponse) GetIp

func (x *IPServiceGetResponse) GetIp() *IP

func (*IPServiceGetResponse) ProtoMessage

func (*IPServiceGetResponse) ProtoMessage()

func (*IPServiceGetResponse) ProtoReflect

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

func (*IPServiceGetResponse) Reset

func (x *IPServiceGetResponse) Reset()

func (*IPServiceGetResponse) String

func (x *IPServiceGetResponse) String() string

type IPServiceListRequest

type IPServiceListRequest struct {

	// Project of the ips to list.
	Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
	// Query to list one or more IPs.
	Query *IPQuery `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"`
	// contains filtered or unexported fields
}

IPServiceListRequest is the request payload for an IP list request.

func (*IPServiceListRequest) Descriptor deprecated

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

Deprecated: Use IPServiceListRequest.ProtoReflect.Descriptor instead.

func (*IPServiceListRequest) GetProject

func (x *IPServiceListRequest) GetProject() string

func (*IPServiceListRequest) GetQuery

func (x *IPServiceListRequest) GetQuery() *IPQuery

func (*IPServiceListRequest) ProtoMessage

func (*IPServiceListRequest) ProtoMessage()

func (*IPServiceListRequest) ProtoReflect

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

func (*IPServiceListRequest) Reset

func (x *IPServiceListRequest) Reset()

func (*IPServiceListRequest) String

func (x *IPServiceListRequest) String() string

type IPServiceListResponse

type IPServiceListResponse struct {

	// Ips the ips.
	Ips []*IP `protobuf:"bytes,1,rep,name=ips,proto3" json:"ips,omitempty"`
	// contains filtered or unexported fields
}

IPServiceListResponse is the response payload for an IP list request.

func (*IPServiceListResponse) Descriptor deprecated

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

Deprecated: Use IPServiceListResponse.ProtoReflect.Descriptor instead.

func (*IPServiceListResponse) GetIps

func (x *IPServiceListResponse) GetIps() []*IP

func (*IPServiceListResponse) ProtoMessage

func (*IPServiceListResponse) ProtoMessage()

func (*IPServiceListResponse) ProtoReflect

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

func (*IPServiceListResponse) Reset

func (x *IPServiceListResponse) Reset()

func (*IPServiceListResponse) String

func (x *IPServiceListResponse) String() string

type IPServiceUpdateRequest

type IPServiceUpdateRequest struct {

	// Ip the ip address to update.
	Ip string `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"`
	// UpdateMeta contains the timestamp and strategy to be used in this update request.
	UpdateMeta *UpdateMeta `protobuf:"bytes,2,opt,name=update_meta,json=updateMeta,proto3" json:"update_meta,omitempty"`
	// Project id of the ip.
	Project string `protobuf:"bytes,3,opt,name=project,proto3" json:"project,omitempty"`
	// Name of this ip.
	Name *string `protobuf:"bytes,4,opt,name=name,proto3,oneof" json:"name,omitempty"`
	// Description of this ip.
	Description *string `protobuf:"bytes,5,opt,name=description,proto3,oneof" json:"description,omitempty"`
	// Type of this ip.
	Type *IPType `protobuf:"varint,6,opt,name=type,proto3,enum=metalstack.api.v2.IPType,oneof" json:"type,omitempty"`
	// Labels on this ip.
	Labels *UpdateLabels `protobuf:"bytes,7,opt,name=labels,proto3,oneof" json:"labels,omitempty"`
	// contains filtered or unexported fields
}

IPServiceUpdateRequest is the request payload for an IP update request.

func (*IPServiceUpdateRequest) Descriptor deprecated

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

Deprecated: Use IPServiceUpdateRequest.ProtoReflect.Descriptor instead.

func (*IPServiceUpdateRequest) GetDescription

func (x *IPServiceUpdateRequest) GetDescription() string

func (*IPServiceUpdateRequest) GetIp

func (x *IPServiceUpdateRequest) GetIp() string

func (*IPServiceUpdateRequest) GetLabels

func (x *IPServiceUpdateRequest) GetLabels() *UpdateLabels

func (*IPServiceUpdateRequest) GetName

func (x *IPServiceUpdateRequest) GetName() string

func (*IPServiceUpdateRequest) GetProject

func (x *IPServiceUpdateRequest) GetProject() string

func (*IPServiceUpdateRequest) GetType

func (x *IPServiceUpdateRequest) GetType() IPType

func (*IPServiceUpdateRequest) GetUpdateMeta added in v0.0.21

func (x *IPServiceUpdateRequest) GetUpdateMeta() *UpdateMeta

func (*IPServiceUpdateRequest) ProtoMessage

func (*IPServiceUpdateRequest) ProtoMessage()

func (*IPServiceUpdateRequest) ProtoReflect

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

func (*IPServiceUpdateRequest) Reset

func (x *IPServiceUpdateRequest) Reset()

func (*IPServiceUpdateRequest) String

func (x *IPServiceUpdateRequest) String() string

type IPServiceUpdateResponse

type IPServiceUpdateResponse struct {

	// Ip the ip.
	Ip *IP `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"`
	// contains filtered or unexported fields
}

IPServiceUpdateResponse is the response payload for a ip update request.

func (*IPServiceUpdateResponse) Descriptor deprecated

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

Deprecated: Use IPServiceUpdateResponse.ProtoReflect.Descriptor instead.

func (*IPServiceUpdateResponse) GetIp

func (x *IPServiceUpdateResponse) GetIp() *IP

func (*IPServiceUpdateResponse) ProtoMessage

func (*IPServiceUpdateResponse) ProtoMessage()

func (*IPServiceUpdateResponse) ProtoReflect

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

func (*IPServiceUpdateResponse) Reset

func (x *IPServiceUpdateResponse) Reset()

func (*IPServiceUpdateResponse) String

func (x *IPServiceUpdateResponse) String() string

type IPType

type IPType int32

IPType specifies different IP address types.

const (
	// IP_TYPE_UNSPECIFIED is not specified.
	IPType_IP_TYPE_UNSPECIFIED IPType = 0
	// IP_TYPE_EPHEMERAL defines an ephemeral IP address which is freed/deleted after usage.
	IPType_IP_TYPE_EPHEMERAL IPType = 1
	// IP_TYPE_STATIC defines a static ip address which must be freed/deleted explicitly.
	IPType_IP_TYPE_STATIC IPType = 2
)

func (IPType) Descriptor

func (IPType) Descriptor() protoreflect.EnumDescriptor

func (IPType) Enum

func (x IPType) Enum() *IPType

func (IPType) EnumDescriptor deprecated

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

Deprecated: Use IPType.Descriptor instead.

func (IPType) Number

func (x IPType) Number() protoreflect.EnumNumber

func (IPType) String

func (x IPType) String() string

func (IPType) Type

func (IPType) Type() protoreflect.EnumType

type Image

type Image struct {

	// Id of this image.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Meta for this image.
	Meta *Meta `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta,omitempty"`
	// URL where this image is located.
	Url string `protobuf:"bytes,3,opt,name=url,proto3" json:"url,omitempty"`
	// Name of this image.
	Name *string `protobuf:"bytes,4,opt,name=name,proto3,oneof" json:"name,omitempty"`
	// Description of this image.
	Description *string `protobuf:"bytes,5,opt,name=description,proto3,oneof" json:"description,omitempty"`
	// Features of this image.
	Features []ImageFeature `protobuf:"varint,6,rep,packed,name=features,proto3,enum=metalstack.api.v2.ImageFeature" json:"features,omitempty"`
	// Classification of this image.
	Classification ImageClassification `protobuf:"varint,7,opt,name=classification,proto3,enum=metalstack.api.v2.ImageClassification" json:"classification,omitempty"`
	// ExpiresAt usage is not possible after this date.
	ExpiresAt *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"`
	// contains filtered or unexported fields
}

Image.

func (*Image) Descriptor deprecated

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

Deprecated: Use Image.ProtoReflect.Descriptor instead.

func (*Image) GetClassification

func (x *Image) GetClassification() ImageClassification

func (*Image) GetDescription

func (x *Image) GetDescription() string

func (*Image) GetExpiresAt

func (x *Image) GetExpiresAt() *timestamppb.Timestamp

func (*Image) GetFeatures

func (x *Image) GetFeatures() []ImageFeature

func (*Image) GetId

func (x *Image) GetId() string

func (*Image) GetMeta

func (x *Image) GetMeta() *Meta

func (*Image) GetName

func (x *Image) GetName() string

func (*Image) GetUrl

func (x *Image) GetUrl() string

func (*Image) ProtoMessage

func (*Image) ProtoMessage()

func (*Image) ProtoReflect

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

func (*Image) Reset

func (x *Image) Reset()

func (*Image) String

func (x *Image) String() string

type ImageClassification

type ImageClassification int32

Image.

const (
	// IMAGE_CLASSIFICATION_UNSPECIFIED is not specified.
	ImageClassification_IMAGE_CLASSIFICATION_UNSPECIFIED ImageClassification = 0
	// IMAGE_CLASSIFICATION_PREVIEW indicates that this image is in preview.
	ImageClassification_IMAGE_CLASSIFICATION_PREVIEW ImageClassification = 1
	// IMAGE_CLASSIFICATION_SUPPORTED indicates that this image is supported.
	ImageClassification_IMAGE_CLASSIFICATION_SUPPORTED ImageClassification = 2
	// IMAGE_CLASSIFICATION_DEPRECATED indicates that this image is deprecated.
	ImageClassification_IMAGE_CLASSIFICATION_DEPRECATED ImageClassification = 3
)

func (ImageClassification) Descriptor

func (ImageClassification) Enum

func (ImageClassification) EnumDescriptor deprecated

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

Deprecated: Use ImageClassification.Descriptor instead.

func (ImageClassification) Number

func (ImageClassification) String

func (x ImageClassification) String() string

func (ImageClassification) Type

type ImageConstraint added in v0.0.52

type ImageConstraint struct {

	// Image of the constraint.
	Image string `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"`
	// SemverMatch which defines in semver match format which image version should apply.
	SemverMatch string `protobuf:"bytes,2,opt,name=semver_match,json=semverMatch,proto3" json:"semver_match,omitempty"`
	// contains filtered or unexported fields
}

ImageConstraint defines a constraint for an image. Examples: images:

ubuntu: ">= 20.04.20211011
debian: ">= 10.0.20210101

func (*ImageConstraint) Descriptor deprecated added in v0.0.52

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

Deprecated: Use ImageConstraint.ProtoReflect.Descriptor instead.

func (*ImageConstraint) GetImage added in v0.0.52

func (x *ImageConstraint) GetImage() string

func (*ImageConstraint) GetSemverMatch added in v0.0.52

func (x *ImageConstraint) GetSemverMatch() string

func (*ImageConstraint) ProtoMessage added in v0.0.52

func (*ImageConstraint) ProtoMessage()

func (*ImageConstraint) ProtoReflect added in v0.0.52

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

func (*ImageConstraint) Reset added in v0.0.52

func (x *ImageConstraint) Reset()

func (*ImageConstraint) String added in v0.0.52

func (x *ImageConstraint) String() string

type ImageFeature

type ImageFeature int32

ImageFeature.

const (
	// IMAGE_FEATURE_UNSPECIFIED is not specified.
	ImageFeature_IMAGE_FEATURE_UNSPECIFIED ImageFeature = 0
	// IMAGE_FEATURE_MACHINE indicates this image is usable for a machine.
	ImageFeature_IMAGE_FEATURE_MACHINE ImageFeature = 1
	// IMAGE_FEATURE_FIREWALL indicates this image is usable for a firewall.
	ImageFeature_IMAGE_FEATURE_FIREWALL ImageFeature = 2
)

func (ImageFeature) Descriptor

func (ImageFeature) Enum

func (x ImageFeature) Enum() *ImageFeature

func (ImageFeature) EnumDescriptor deprecated

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

Deprecated: Use ImageFeature.Descriptor instead.

func (ImageFeature) Number

func (ImageFeature) String

func (x ImageFeature) String() string

func (ImageFeature) Type

type ImageQuery

type ImageQuery struct {

	// ID of the image to get.
	Id *string `protobuf:"bytes,1,opt,name=id,proto3,oneof" json:"id,omitempty"`
	// OS of the image.
	Os *string `protobuf:"bytes,2,opt,name=os,proto3,oneof" json:"os,omitempty"`
	// Version of the Image.
	Version *string `protobuf:"bytes,3,opt,name=version,proto3,oneof" json:"version,omitempty"`
	// Name of the image to query.
	Name *string `protobuf:"bytes,4,opt,name=name,proto3,oneof" json:"name,omitempty"`
	// Description of the image to query.
	Description *string `protobuf:"bytes,5,opt,name=description,proto3,oneof" json:"description,omitempty"`
	// Url of the image to query.
	Url *string `protobuf:"bytes,6,opt,name=url,proto3,oneof" json:"url,omitempty"`
	// Feature of the image to query.
	Feature *ImageFeature `protobuf:"varint,7,opt,name=feature,proto3,enum=metalstack.api.v2.ImageFeature,oneof" json:"feature,omitempty"`
	// Classification of the image to query.
	Classification *ImageClassification `` /* 131-byte string literal not displayed */
	// Labels lists only images containing the given labels.
	Labels *Labels `protobuf:"bytes,9,opt,name=labels,proto3,oneof" json:"labels,omitempty"`
	// contains filtered or unexported fields
}

ImageQuery is used to search images.

func (*ImageQuery) Descriptor deprecated

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

Deprecated: Use ImageQuery.ProtoReflect.Descriptor instead.

func (*ImageQuery) GetClassification

func (x *ImageQuery) GetClassification() ImageClassification

func (*ImageQuery) GetDescription

func (x *ImageQuery) GetDescription() string

func (*ImageQuery) GetFeature

func (x *ImageQuery) GetFeature() ImageFeature

func (*ImageQuery) GetId

func (x *ImageQuery) GetId() string

func (*ImageQuery) GetLabels added in v0.0.19

func (x *ImageQuery) GetLabels() *Labels

func (*ImageQuery) GetName

func (x *ImageQuery) GetName() string

func (*ImageQuery) GetOs

func (x *ImageQuery) GetOs() string

func (*ImageQuery) GetUrl added in v0.0.19

func (x *ImageQuery) GetUrl() string

func (*ImageQuery) GetVersion

func (x *ImageQuery) GetVersion() string

func (*ImageQuery) ProtoMessage

func (*ImageQuery) ProtoMessage()

func (*ImageQuery) ProtoReflect

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

func (*ImageQuery) Reset

func (x *ImageQuery) Reset()

func (*ImageQuery) String

func (x *ImageQuery) String() string

type ImageServiceGetRequest

type ImageServiceGetRequest struct {

	// ID of the image to get.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

ImageServiceGetRequest is the request payload for an image get request.

func (*ImageServiceGetRequest) Descriptor deprecated

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

Deprecated: Use ImageServiceGetRequest.ProtoReflect.Descriptor instead.

func (*ImageServiceGetRequest) GetId

func (x *ImageServiceGetRequest) GetId() string

func (*ImageServiceGetRequest) ProtoMessage

func (*ImageServiceGetRequest) ProtoMessage()

func (*ImageServiceGetRequest) ProtoReflect

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

func (*ImageServiceGetRequest) Reset

func (x *ImageServiceGetRequest) Reset()

func (*ImageServiceGetRequest) String

func (x *ImageServiceGetRequest) String() string

type ImageServiceGetResponse

type ImageServiceGetResponse struct {

	// Image the image.
	Image *Image `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"`
	// contains filtered or unexported fields
}

ImageServiceGetResponse is the response payload for an image get request.

func (*ImageServiceGetResponse) Descriptor deprecated

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

Deprecated: Use ImageServiceGetResponse.ProtoReflect.Descriptor instead.

func (*ImageServiceGetResponse) GetImage

func (x *ImageServiceGetResponse) GetImage() *Image

func (*ImageServiceGetResponse) ProtoMessage

func (*ImageServiceGetResponse) ProtoMessage()

func (*ImageServiceGetResponse) ProtoReflect

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

func (*ImageServiceGetResponse) Reset

func (x *ImageServiceGetResponse) Reset()

func (*ImageServiceGetResponse) String

func (x *ImageServiceGetResponse) String() string

type ImageServiceLatestRequest

type ImageServiceLatestRequest struct {

	// OS for which the latest image should be fetched.
	// Should contain os and major.minor then latest patch version of this os is returned.
	Os string `protobuf:"bytes,1,opt,name=os,proto3" json:"os,omitempty"`
	// Classification of the image latest image.
	Classification *ImageClassification `` /* 131-byte string literal not displayed */
	// contains filtered or unexported fields
}

ImageServiceLatestRequest is the request payload for an image latest request.

func (*ImageServiceLatestRequest) Descriptor deprecated

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

Deprecated: Use ImageServiceLatestRequest.ProtoReflect.Descriptor instead.

func (*ImageServiceLatestRequest) GetClassification added in v0.0.60

func (x *ImageServiceLatestRequest) GetClassification() ImageClassification

func (*ImageServiceLatestRequest) GetOs

func (x *ImageServiceLatestRequest) GetOs() string

func (*ImageServiceLatestRequest) ProtoMessage

func (*ImageServiceLatestRequest) ProtoMessage()

func (*ImageServiceLatestRequest) ProtoReflect

func (*ImageServiceLatestRequest) Reset

func (x *ImageServiceLatestRequest) Reset()

func (*ImageServiceLatestRequest) String

func (x *ImageServiceLatestRequest) String() string

type ImageServiceLatestResponse

type ImageServiceLatestResponse struct {

	// Image which is the latest for one os.
	Image *Image `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"`
	// contains filtered or unexported fields
}

ImageServiceLatestResponse is the response payload for an image latest request.

func (*ImageServiceLatestResponse) Descriptor deprecated

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

Deprecated: Use ImageServiceLatestResponse.ProtoReflect.Descriptor instead.

func (*ImageServiceLatestResponse) GetImage

func (x *ImageServiceLatestResponse) GetImage() *Image

func (*ImageServiceLatestResponse) ProtoMessage

func (*ImageServiceLatestResponse) ProtoMessage()

func (*ImageServiceLatestResponse) ProtoReflect

func (*ImageServiceLatestResponse) Reset

func (x *ImageServiceLatestResponse) Reset()

func (*ImageServiceLatestResponse) String

func (x *ImageServiceLatestResponse) String() string

type ImageServiceListRequest

type ImageServiceListRequest struct {

	// Query for images.
	Query *ImageQuery `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"`
	// contains filtered or unexported fields
}

ImageServiceListRequest is the request payload for an image list request.

func (*ImageServiceListRequest) Descriptor deprecated

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

Deprecated: Use ImageServiceListRequest.ProtoReflect.Descriptor instead.

func (*ImageServiceListRequest) GetQuery

func (x *ImageServiceListRequest) GetQuery() *ImageQuery

func (*ImageServiceListRequest) ProtoMessage

func (*ImageServiceListRequest) ProtoMessage()

func (*ImageServiceListRequest) ProtoReflect

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

func (*ImageServiceListRequest) Reset

func (x *ImageServiceListRequest) Reset()

func (*ImageServiceListRequest) String

func (x *ImageServiceListRequest) String() string

type ImageServiceListResponse

type ImageServiceListResponse struct {

	// Images the images.
	Images []*Image `protobuf:"bytes,1,rep,name=images,proto3" json:"images,omitempty"`
	// contains filtered or unexported fields
}

ImageServiceListResponse is the response payload for an image list request.

func (*ImageServiceListResponse) Descriptor deprecated

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

Deprecated: Use ImageServiceListResponse.ProtoReflect.Descriptor instead.

func (*ImageServiceListResponse) GetImages

func (x *ImageServiceListResponse) GetImages() []*Image

func (*ImageServiceListResponse) ProtoMessage

func (*ImageServiceListResponse) ProtoMessage()

func (*ImageServiceListResponse) ProtoReflect

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

func (*ImageServiceListResponse) Reset

func (x *ImageServiceListResponse) Reset()

func (*ImageServiceListResponse) String

func (x *ImageServiceListResponse) String() string

type ImageUsage

type ImageUsage struct {

	// Image with usage.
	Image *Image `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"`
	// UsedBy the following machines/firewalls.
	UsedBy []string `protobuf:"bytes,2,rep,name=used_by,json=usedBy,proto3" json:"used_by,omitempty"`
	// contains filtered or unexported fields
}

ImageUsage reports which machines/firewalls actually use this image.

func (*ImageUsage) Descriptor deprecated

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

Deprecated: Use ImageUsage.ProtoReflect.Descriptor instead.

func (*ImageUsage) GetImage

func (x *ImageUsage) GetImage() *Image

func (*ImageUsage) GetUsedBy

func (x *ImageUsage) GetUsedBy() []string

func (*ImageUsage) ProtoMessage

func (*ImageUsage) ProtoMessage()

func (*ImageUsage) ProtoReflect

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

func (*ImageUsage) Reset

func (x *ImageUsage) Reset()

func (*ImageUsage) String

func (x *ImageUsage) String() string

type InfraPermissions added in v0.4.0

type InfraPermissions struct {

	// Methods which should be accessible.
	Methods []string `protobuf:"bytes,2,rep,name=methods,proto3" json:"methods,omitempty"`
	// contains filtered or unexported fields
}

InfraPermissions carries infra method permissions.

func (*InfraPermissions) Descriptor deprecated added in v0.4.0

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

Deprecated: Use InfraPermissions.ProtoReflect.Descriptor instead.

func (*InfraPermissions) GetMethods added in v0.4.0

func (x *InfraPermissions) GetMethods() []string

func (*InfraPermissions) ProtoMessage added in v0.4.0

func (*InfraPermissions) ProtoMessage()

func (*InfraPermissions) ProtoReflect added in v0.4.0

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

func (*InfraPermissions) Reset added in v0.4.0

func (x *InfraPermissions) Reset()

func (*InfraPermissions) String added in v0.4.0

func (x *InfraPermissions) String() string

type InfraRole

type InfraRole int32

InfraRole specifies what role a microservice needs to call this infra service.

const (
	// INFRA_ROLE_UNSPECIFIED is not specified.
	InfraRole_INFRA_ROLE_UNSPECIFIED InfraRole = 0
	// INFRA_ROLE_EDITOR a microservice needs at least editor role to call this method.
	InfraRole_INFRA_ROLE_EDITOR InfraRole = 1
	// INFRA_ROLE_VIEWER a microservice needs at least viewer role to call this method.
	InfraRole_INFRA_ROLE_VIEWER InfraRole = 2
)

func (InfraRole) Descriptor

func (InfraRole) Descriptor() protoreflect.EnumDescriptor

func (InfraRole) Enum

func (x InfraRole) Enum() *InfraRole

func (InfraRole) EnumDescriptor deprecated

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

Deprecated: Use InfraRole.Descriptor instead.

func (InfraRole) Number

func (x InfraRole) Number() protoreflect.EnumNumber

func (InfraRole) String

func (x InfraRole) String() string

func (InfraRole) Type

type LVMType

type LVMType int32

LVMType.

const (
	// LVM_TYPE_UNSPECIFIED is not specified.
	LVMType_LVM_TYPE_UNSPECIFIED LVMType = 0
	// LVM_TYPE_LINEAR append across all physical volumes.
	LVMType_LVM_TYPE_LINEAR LVMType = 1
	// LVM_TYPE_STRIPED stripe across all physical volumes.
	LVMType_LVM_TYPE_STRIPED LVMType = 2
	// LVM_TYPE_RAID1 mirror with raid across all physical volumes.
	LVMType_LVM_TYPE_RAID1 LVMType = 3
)

func (LVMType) Descriptor

func (LVMType) Descriptor() protoreflect.EnumDescriptor

func (LVMType) Enum

func (x LVMType) Enum() *LVMType

func (LVMType) EnumDescriptor deprecated

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

Deprecated: Use LVMType.Descriptor instead.

func (LVMType) Number

func (x LVMType) Number() protoreflect.EnumNumber

func (LVMType) String

func (x LVMType) String() string

func (LVMType) Type

func (LVMType) Type() protoreflect.EnumType

type Labels

type Labels struct {

	// Labels consists labels.
	Labels map[string]string `` /* 139-byte string literal not displayed */
	// contains filtered or unexported fields
}

Labels define additional information to a entity.

func (*Labels) Descriptor deprecated

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

Deprecated: Use Labels.ProtoReflect.Descriptor instead.

func (*Labels) GetLabels

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

func (*Labels) ProtoMessage

func (*Labels) ProtoMessage()

func (*Labels) ProtoReflect

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

func (*Labels) Reset

func (x *Labels) Reset()

func (*Labels) String

func (x *Labels) String() string

type LabelsPatch added in v0.2.3

type LabelsPatch struct {

	// Update labels. New ones will be added, existing ones overwritten.
	Update *Labels `protobuf:"bytes,1,opt,name=update,proto3" json:"update,omitempty"`
	// Remove labels by key.
	Remove []string `protobuf:"bytes,2,rep,name=remove,proto3" json:"remove,omitempty"`
	// contains filtered or unexported fields
}

LabelsPatch adds, updates or remove given labels without modifying others.

func (*LabelsPatch) Descriptor deprecated added in v0.2.3

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

Deprecated: Use LabelsPatch.ProtoReflect.Descriptor instead.

func (*LabelsPatch) GetRemove added in v0.2.3

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

func (*LabelsPatch) GetUpdate added in v0.2.3

func (x *LabelsPatch) GetUpdate() *Labels

func (*LabelsPatch) ProtoMessage added in v0.2.3

func (*LabelsPatch) ProtoMessage()

func (*LabelsPatch) ProtoReflect added in v0.2.3

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

func (*LabelsPatch) Reset added in v0.2.3

func (x *LabelsPatch) Reset()

func (*LabelsPatch) String added in v0.2.3

func (x *LabelsPatch) String() string

type LogicalVolume

type LogicalVolume struct {

	// Name the name of the logical volume.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// VolumeGroup the name of the volume group where to create the logical volume onto.
	VolumeGroup string `protobuf:"bytes,2,opt,name=volume_group,json=volumeGroup,proto3" json:"volume_group,omitempty"`
	// Size size in mebibytes (MiB) of this volume.
	Size uint64 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"`
	// LVMType the type of this logical volume can be either linear|striped|raid1.
	LvmType LVMType `protobuf:"varint,4,opt,name=lvm_type,json=lvmType,proto3,enum=metalstack.api.v2.LVMType" json:"lvm_type,omitempty"`
	// contains filtered or unexported fields
}

LogicalVolume.

func (*LogicalVolume) Descriptor deprecated

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

Deprecated: Use LogicalVolume.ProtoReflect.Descriptor instead.

func (*LogicalVolume) GetLvmType

func (x *LogicalVolume) GetLvmType() LVMType

func (*LogicalVolume) GetName

func (x *LogicalVolume) GetName() string

func (*LogicalVolume) GetSize

func (x *LogicalVolume) GetSize() uint64

func (*LogicalVolume) GetVolumeGroup

func (x *LogicalVolume) GetVolumeGroup() string

func (*LogicalVolume) ProtoMessage

func (*LogicalVolume) ProtoMessage()

func (*LogicalVolume) ProtoReflect

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

func (*LogicalVolume) Reset

func (x *LogicalVolume) Reset()

func (*LogicalVolume) String

func (x *LogicalVolume) String() string

type Machine added in v0.0.9

type Machine struct {

	// UUID of this machine.
	Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	// Meta for this machine.
	Meta *Meta `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta,omitempty"`
	// Partition where this machine resides.
	Partition *Partition `protobuf:"bytes,3,opt,name=partition,proto3" json:"partition,omitempty"`
	// Rack where this machine is located.
	Rack string `protobuf:"bytes,4,opt,name=rack,proto3" json:"rack,omitempty"`
	// Room where this machine is located.
	Room string `protobuf:"bytes,5,opt,name=room,proto3" json:"room,omitempty"`
	// Size of this machine.
	Size *Size `protobuf:"bytes,6,opt,name=size,proto3" json:"size,omitempty"`
	// Hardware specs of this machine.
	Hardware *MachineHardware `protobuf:"bytes,7,opt,name=hardware,proto3" json:"hardware,omitempty"`
	// Allocation details.
	Allocation *MachineAllocation `protobuf:"bytes,8,opt,name=allocation,proto3" json:"allocation,omitempty"`
	// Status contains several status details related to this machine.
	Status *MachineStatus `protobuf:"bytes,9,opt,name=status,proto3" json:"status,omitempty"`
	// MachineRecentProvisioningEvents contains the recent provisioning events.
	RecentProvisioningEvents *MachineRecentProvisioningEvents `` /* 136-byte string literal not displayed */
	// contains filtered or unexported fields
}

Machine represents a physical bare metal machine.

func (*Machine) Descriptor deprecated added in v0.0.9

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

Deprecated: Use Machine.ProtoReflect.Descriptor instead.

func (*Machine) GetAllocation added in v0.0.9

func (x *Machine) GetAllocation() *MachineAllocation

func (*Machine) GetHardware added in v0.0.9

func (x *Machine) GetHardware() *MachineHardware

func (*Machine) GetMeta added in v0.0.9

func (x *Machine) GetMeta() *Meta

func (*Machine) GetPartition added in v0.0.9

func (x *Machine) GetPartition() *Partition

func (*Machine) GetRack added in v0.0.9

func (x *Machine) GetRack() string

func (*Machine) GetRecentProvisioningEvents added in v0.0.9

func (x *Machine) GetRecentProvisioningEvents() *MachineRecentProvisioningEvents

func (*Machine) GetRoom added in v0.3.0

func (x *Machine) GetRoom() string

func (*Machine) GetSize added in v0.0.9

func (x *Machine) GetSize() *Size

func (*Machine) GetStatus added in v0.0.9

func (x *Machine) GetStatus() *MachineStatus

func (*Machine) GetUuid added in v0.0.9

func (x *Machine) GetUuid() string

func (*Machine) ProtoMessage added in v0.0.9

func (*Machine) ProtoMessage()

func (*Machine) ProtoReflect added in v0.0.9

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

func (*Machine) Reset added in v0.0.9

func (x *Machine) Reset()

func (*Machine) String added in v0.0.9

func (x *Machine) String() string

type MachineAllocation added in v0.0.9

type MachineAllocation struct {

	// UUID of this machine allocation.
	Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	// Meta for this machine allocation.
	Meta *Meta `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta,omitempty"`
	// Name of this allocation.
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// Description of this allocation.
	Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	// Created By indicates who created this machine allocation.
	CreatedBy string `protobuf:"bytes,5,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"`
	// Project of the allocation.
	Project string `protobuf:"bytes,6,opt,name=project,proto3" json:"project,omitempty"`
	// Image to be used to install on this machine.
	Image *Image `protobuf:"bytes,7,opt,name=image,proto3" json:"image,omitempty"`
	// FilesystemLayout to create on the disks.
	FilesystemLayout *FilesystemLayout `protobuf:"bytes,8,opt,name=filesystem_layout,json=filesystemLayout,proto3" json:"filesystem_layout,omitempty"`
	// Networks this machine should be attached to.
	// Order of ips of external networks will be preserved.
	Networks []*MachineNetwork `protobuf:"bytes,9,rep,name=networks,proto3" json:"networks,omitempty"`
	// Hostname of the allocated machine.
	Hostname string `protobuf:"bytes,10,opt,name=hostname,proto3" json:"hostname,omitempty"`
	// SSHPublicKeys which should be installed on this machine.
	SshPublicKeys []string `protobuf:"bytes,11,rep,name=ssh_public_keys,json=sshPublicKeys,proto3" json:"ssh_public_keys,omitempty"`
	// Userdata contains instructions required to bootstrap the machine.
	// AWS limits the max userdata size to 16k, lets allow twice as much.
	Userdata string `protobuf:"bytes,12,opt,name=userdata,proto3" json:"userdata,omitempty"`
	// AllocationType of this machine.
	AllocationType MachineAllocationType `` /* 150-byte string literal not displayed */
	// FirewallRules to be applied if this is a firewall.
	FirewallRules *FirewallRules `protobuf:"bytes,14,opt,name=firewall_rules,json=firewallRules,proto3" json:"firewall_rules,omitempty"`
	// DNSServers for this machine.
	DnsServers []*DNSServer `protobuf:"bytes,15,rep,name=dns_servers,json=dnsServers,proto3" json:"dns_servers,omitempty"`
	// NTPServers for this machine.
	NtpServers []*NTPServer `protobuf:"bytes,16,rep,name=ntp_servers,json=ntpServers,proto3" json:"ntp_servers,omitempty"`
	// VPN connection configuration.
	Vpn *MachineVPN `protobuf:"bytes,17,opt,name=vpn,proto3" json:"vpn,omitempty"`
	// PlacementLabels by default machines are spread across the racks inside a partition for every project.
	// if placement labels are provided, the machine candidate has an additional anti-affinity to other machines having the same labels.
	PlacementLabels *Labels `protobuf:"bytes,18,opt,name=placement_labels,json=placementLabels,proto3" json:"placement_labels,omitempty"`
	// contains filtered or unexported fields
}

MachineAllocation contains properties if this machine is allocated.

func (*MachineAllocation) Descriptor deprecated added in v0.0.9

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

Deprecated: Use MachineAllocation.ProtoReflect.Descriptor instead.

func (*MachineAllocation) GetAllocationType added in v0.0.10

func (x *MachineAllocation) GetAllocationType() MachineAllocationType

func (*MachineAllocation) GetCreatedBy added in v0.0.9

func (x *MachineAllocation) GetCreatedBy() string

func (*MachineAllocation) GetDescription added in v0.0.9

func (x *MachineAllocation) GetDescription() string

func (*MachineAllocation) GetDnsServers added in v0.0.54

func (x *MachineAllocation) GetDnsServers() []*DNSServer

func (*MachineAllocation) GetFilesystemLayout added in v0.0.9

func (x *MachineAllocation) GetFilesystemLayout() *FilesystemLayout

func (*MachineAllocation) GetFirewallRules added in v0.0.9

func (x *MachineAllocation) GetFirewallRules() *FirewallRules

func (*MachineAllocation) GetHostname added in v0.0.9

func (x *MachineAllocation) GetHostname() string

func (*MachineAllocation) GetImage added in v0.0.9

func (x *MachineAllocation) GetImage() *Image

func (*MachineAllocation) GetMeta added in v0.0.9

func (x *MachineAllocation) GetMeta() *Meta

func (*MachineAllocation) GetName added in v0.0.9

func (x *MachineAllocation) GetName() string

func (*MachineAllocation) GetNetworks added in v0.0.9

func (x *MachineAllocation) GetNetworks() []*MachineNetwork

func (*MachineAllocation) GetNtpServers added in v0.0.54

func (x *MachineAllocation) GetNtpServers() []*NTPServer

func (*MachineAllocation) GetPlacementLabels added in v0.5.0

func (x *MachineAllocation) GetPlacementLabels() *Labels

func (*MachineAllocation) GetProject added in v0.0.9

func (x *MachineAllocation) GetProject() string

func (*MachineAllocation) GetSshPublicKeys added in v0.0.9

func (x *MachineAllocation) GetSshPublicKeys() []string

func (*MachineAllocation) GetUserdata added in v0.0.9

func (x *MachineAllocation) GetUserdata() string

func (*MachineAllocation) GetUuid added in v0.0.9

func (x *MachineAllocation) GetUuid() string

func (*MachineAllocation) GetVpn added in v0.0.9

func (x *MachineAllocation) GetVpn() *MachineVPN

func (*MachineAllocation) ProtoMessage added in v0.0.9

func (*MachineAllocation) ProtoMessage()

func (*MachineAllocation) ProtoReflect added in v0.0.9

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

func (*MachineAllocation) Reset added in v0.0.9

func (x *MachineAllocation) Reset()

func (*MachineAllocation) String added in v0.0.9

func (x *MachineAllocation) String() string

type MachineAllocationNetwork added in v0.0.9

type MachineAllocationNetwork struct {

	// Network the id of the network that this machine will be placed in.
	Network string `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"`
	// IPs to to attach to this machine additionally.
	// If none given, one ip address is acquired per network for the machine.
	// Order of ips is preserved on the loopback interface.
	Ips []string `protobuf:"bytes,2,rep,name=ips,proto3" json:"ips,omitempty"`
	// contains filtered or unexported fields
}

MachineAllocationNetwork defines which network should be attached to a machine and if ips should be autoacquired.

func (*MachineAllocationNetwork) Descriptor deprecated added in v0.0.9

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

Deprecated: Use MachineAllocationNetwork.ProtoReflect.Descriptor instead.

func (*MachineAllocationNetwork) GetIps added in v0.0.61

func (x *MachineAllocationNetwork) GetIps() []string

func (*MachineAllocationNetwork) GetNetwork added in v0.0.9

func (x *MachineAllocationNetwork) GetNetwork() string

func (*MachineAllocationNetwork) ProtoMessage added in v0.0.9

func (*MachineAllocationNetwork) ProtoMessage()

func (*MachineAllocationNetwork) ProtoReflect added in v0.0.9

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

func (*MachineAllocationNetwork) Reset added in v0.0.9

func (x *MachineAllocationNetwork) Reset()

func (*MachineAllocationNetwork) String added in v0.0.9

func (x *MachineAllocationNetwork) String() string

type MachineAllocationQuery added in v0.0.9

type MachineAllocationQuery struct {

	// UUID of the allocation of the machine to get.
	Uuid *string `protobuf:"bytes,1,opt,name=uuid,proto3,oneof" json:"uuid,omitempty"`
	// Name of the machine to get.
	Name *string `protobuf:"bytes,2,opt,name=name,proto3,oneof" json:"name,omitempty"`
	// Project of the machine to get.
	Project *string `protobuf:"bytes,3,opt,name=project,proto3,oneof" json:"project,omitempty"`
	// Image of the machine to get.
	Image *string `protobuf:"bytes,4,opt,name=image,proto3,oneof" json:"image,omitempty"`
	// FilesystemLayout of the machine to get.
	FilesystemLayout *string `protobuf:"bytes,5,opt,name=filesystem_layout,json=filesystemLayout,proto3,oneof" json:"filesystem_layout,omitempty"`
	// Hostname of the machine to get.
	Hostname *string `protobuf:"bytes,6,opt,name=hostname,proto3,oneof" json:"hostname,omitempty"`
	// AllocationType of this machine.
	AllocationType *MachineAllocationType `` /* 155-byte string literal not displayed */
	// Labels for which this machine allocation should get filtered.
	Labels *Labels `protobuf:"bytes,8,opt,name=labels,proto3,oneof" json:"labels,omitempty"`
	// VPN query if this machine has a vpn configuration.
	Vpn *MachineVPN `protobuf:"bytes,9,opt,name=vpn,proto3,oneof" json:"vpn,omitempty"`
	// contains filtered or unexported fields
}

MachineAllocationQuery allocation specific query parameters.

func (*MachineAllocationQuery) Descriptor deprecated added in v0.0.9

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

Deprecated: Use MachineAllocationQuery.ProtoReflect.Descriptor instead.

func (*MachineAllocationQuery) GetAllocationType added in v0.0.10

func (x *MachineAllocationQuery) GetAllocationType() MachineAllocationType

func (*MachineAllocationQuery) GetFilesystemLayout added in v0.0.9

func (x *MachineAllocationQuery) GetFilesystemLayout() string

func (*MachineAllocationQuery) GetHostname added in v0.0.9

func (x *MachineAllocationQuery) GetHostname() string

func (*MachineAllocationQuery) GetImage added in v0.0.9

func (x *MachineAllocationQuery) GetImage() string

func (*MachineAllocationQuery) GetLabels added in v0.0.14

func (x *MachineAllocationQuery) GetLabels() *Labels

func (*MachineAllocationQuery) GetName added in v0.0.9

func (x *MachineAllocationQuery) GetName() string

func (*MachineAllocationQuery) GetProject added in v0.0.9

func (x *MachineAllocationQuery) GetProject() string

func (*MachineAllocationQuery) GetUuid added in v0.0.9

func (x *MachineAllocationQuery) GetUuid() string

func (*MachineAllocationQuery) GetVpn added in v0.0.37

func (x *MachineAllocationQuery) GetVpn() *MachineVPN

func (*MachineAllocationQuery) ProtoMessage added in v0.0.9

func (*MachineAllocationQuery) ProtoMessage()

func (*MachineAllocationQuery) ProtoReflect added in v0.0.9

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

func (*MachineAllocationQuery) Reset added in v0.0.9

func (x *MachineAllocationQuery) Reset()

func (*MachineAllocationQuery) String added in v0.0.9

func (x *MachineAllocationQuery) String() string

type MachineAllocationType added in v0.0.10

type MachineAllocationType int32

MachineAllocationType defines if this is a machine or a firewall.

const (
	// MACHINE_ALLOCATION_TYPE_UNSPECIFIED is unspecified.
	MachineAllocationType_MACHINE_ALLOCATION_TYPE_UNSPECIFIED MachineAllocationType = 0
	// MACHINE_ALLOCATION_TYPE_MACHINE is a machine.
	MachineAllocationType_MACHINE_ALLOCATION_TYPE_MACHINE MachineAllocationType = 1
	// MACHINE_ALLOCATION_TYPE_FIREWALL is a firewall.
	MachineAllocationType_MACHINE_ALLOCATION_TYPE_FIREWALL MachineAllocationType = 2
)

func (MachineAllocationType) Descriptor added in v0.0.10

func (MachineAllocationType) Enum added in v0.0.10

func (MachineAllocationType) EnumDescriptor deprecated added in v0.0.10

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

Deprecated: Use MachineAllocationType.Descriptor instead.

func (MachineAllocationType) Number added in v0.0.10

func (MachineAllocationType) String added in v0.0.10

func (x MachineAllocationType) String() string

func (MachineAllocationType) Type added in v0.0.10

type MachineBMC added in v0.0.41

type MachineBMC struct {

	// Address of this ipmi device from outside in the form of <ip or hostname>:<port>.
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// Mac address of the network interface of this ipmi device.
	Mac string `protobuf:"bytes,2,opt,name=mac,proto3" json:"mac,omitempty"`
	// User of this ipmi device.
	User string `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"`
	// Password of this ipmi device.
	Password string `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"`
	// Interface of this ipmi device.
	Interface string `protobuf:"bytes,5,opt,name=interface,proto3" json:"interface,omitempty"`
	// Version of this bmc device.
	Version string `protobuf:"bytes,6,opt,name=version,proto3" json:"version,omitempty"`
	// PowerState of this machine.
	PowerState string `protobuf:"bytes,7,opt,name=power_state,json=powerState,proto3" json:"power_state,omitempty"`
	// contains filtered or unexported fields
}

MachineBMC describe details of the ipmi or out of band device.

func (*MachineBMC) Descriptor deprecated added in v0.0.41

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

Deprecated: Use MachineBMC.ProtoReflect.Descriptor instead.

func (*MachineBMC) GetAddress added in v0.0.41

func (x *MachineBMC) GetAddress() string

func (*MachineBMC) GetInterface added in v0.0.41

func (x *MachineBMC) GetInterface() string

func (*MachineBMC) GetMac added in v0.0.41

func (x *MachineBMC) GetMac() string

func (*MachineBMC) GetPassword added in v0.0.41

func (x *MachineBMC) GetPassword() string

func (*MachineBMC) GetPowerState added in v0.0.41

func (x *MachineBMC) GetPowerState() string

func (*MachineBMC) GetUser added in v0.0.41

func (x *MachineBMC) GetUser() string

func (*MachineBMC) GetVersion added in v0.0.41

func (x *MachineBMC) GetVersion() string

func (*MachineBMC) ProtoMessage added in v0.0.41

func (*MachineBMC) ProtoMessage()

func (*MachineBMC) ProtoReflect added in v0.0.41

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

func (*MachineBMC) Reset added in v0.0.41

func (x *MachineBMC) Reset()

func (*MachineBMC) String added in v0.0.41

func (x *MachineBMC) String() string

type MachineBMCCommand added in v0.0.41

type MachineBMCCommand int32

MachineBMCCommand defines commands send to the BMC of the machine.

const (
	// MACHINE_BMC_COMMAND_UNSPECIFIED is not defined.
	MachineBMCCommand_MACHINE_BMC_COMMAND_UNSPECIFIED MachineBMCCommand = 0
	// MACHINE_BMC_COMMAND_ON Power on the machine.
	MachineBMCCommand_MACHINE_BMC_COMMAND_ON MachineBMCCommand = 1
	// MACHINE_BMC_COMMAND_OFF Power off the machine.
	MachineBMCCommand_MACHINE_BMC_COMMAND_OFF MachineBMCCommand = 2
	// MACHINE_BMC_COMMAND_RESET Power reset the machine.
	MachineBMCCommand_MACHINE_BMC_COMMAND_RESET MachineBMCCommand = 3
	// MACHINE_BMC_COMMAND_CYCLE Power cycle the machine.
	MachineBMCCommand_MACHINE_BMC_COMMAND_CYCLE MachineBMCCommand = 4
	// MACHINE_BMC_COMMAND_BOOT_TO_BIOS boot the machine into bios.
	MachineBMCCommand_MACHINE_BMC_COMMAND_BOOT_TO_BIOS MachineBMCCommand = 5
	// MACHINE_BMC_COMMAND_BOOT_FROM_DISK boot the machine from hard disk.
	MachineBMCCommand_MACHINE_BMC_COMMAND_BOOT_FROM_DISK MachineBMCCommand = 6
	// MACHINE_BMC_COMMAND_BOOT_FROM_PXE boot the machine from pxe.
	MachineBMCCommand_MACHINE_BMC_COMMAND_BOOT_FROM_PXE MachineBMCCommand = 7
	// MACHINE_BMC_COMMAND_IDENTIFY_LED_ON set identify led of the machine chassis to on.
	MachineBMCCommand_MACHINE_BMC_COMMAND_IDENTIFY_LED_ON MachineBMCCommand = 8
	// MACHINE_BMC_COMMAND_IDENTIFY_LED_OFF set identify led of the machine chassis to off.
	MachineBMCCommand_MACHINE_BMC_COMMAND_IDENTIFY_LED_OFF MachineBMCCommand = 9
	// MACHINE_BMC_COMMAND_MACHINE_DELETED should be called if the machine was deleted to power cycle and boot into pxe.
	MachineBMCCommand_MACHINE_BMC_COMMAND_MACHINE_DELETED MachineBMCCommand = 10
	// MACHINE_BMC_COMMAND_MACHINE_CREATED should be called if the machine was created to set the boot order to boot from disk.
	MachineBMCCommand_MACHINE_BMC_COMMAND_MACHINE_CREATED MachineBMCCommand = 11
)

func (MachineBMCCommand) Descriptor added in v0.0.41

func (MachineBMCCommand) Enum added in v0.0.41

func (MachineBMCCommand) EnumDescriptor deprecated added in v0.0.41

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

Deprecated: Use MachineBMCCommand.Descriptor instead.

func (MachineBMCCommand) Number added in v0.0.41

func (MachineBMCCommand) String added in v0.0.41

func (x MachineBMCCommand) String() string

func (MachineBMCCommand) Type added in v0.0.41

type MachineBMCDetails added in v0.5.0

type MachineBMCDetails struct {

	// UUID of this machine.
	Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	// Partition where this machine resides.
	Partition string `protobuf:"bytes,2,opt,name=partition,proto3" json:"partition,omitempty"`
	// Rack where this machine is located.
	Rack string `protobuf:"bytes,3,opt,name=rack,proto3" json:"rack,omitempty"`
	// Room where this machine is located.
	Room string `protobuf:"bytes,4,opt,name=room,proto3" json:"room,omitempty"`
	// Size of this machine.
	Size string `protobuf:"bytes,5,opt,name=size,proto3" json:"size,omitempty"`
	// BMCReport contains the bmc details.
	BmcReport *MachineBMCReport `protobuf:"bytes,6,opt,name=bmc_report,json=bmcReport,proto3" json:"bmc_report,omitempty"`
	// contains filtered or unexported fields
}

MachineBMCDetails contains machine and bmc details of a machine.

func (*MachineBMCDetails) Descriptor deprecated added in v0.5.0

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

Deprecated: Use MachineBMCDetails.ProtoReflect.Descriptor instead.

func (*MachineBMCDetails) GetBmcReport added in v0.5.0

func (x *MachineBMCDetails) GetBmcReport() *MachineBMCReport

func (*MachineBMCDetails) GetPartition added in v0.5.0

func (x *MachineBMCDetails) GetPartition() string

func (*MachineBMCDetails) GetRack added in v0.5.0

func (x *MachineBMCDetails) GetRack() string

func (*MachineBMCDetails) GetRoom added in v0.5.0

func (x *MachineBMCDetails) GetRoom() string

func (*MachineBMCDetails) GetSize added in v0.5.0

func (x *MachineBMCDetails) GetSize() string

func (*MachineBMCDetails) GetUuid added in v0.5.0

func (x *MachineBMCDetails) GetUuid() string

func (*MachineBMCDetails) ProtoMessage added in v0.5.0

func (*MachineBMCDetails) ProtoMessage()

func (*MachineBMCDetails) ProtoReflect added in v0.5.0

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

func (*MachineBMCDetails) Reset added in v0.5.0

func (x *MachineBMCDetails) Reset()

func (*MachineBMCDetails) String added in v0.5.0

func (x *MachineBMCDetails) String() string

type MachineBMCQuery added in v0.0.41

type MachineBMCQuery struct {

	// Address of the ipmi system of this machine.
	Address *string `protobuf:"bytes,1,opt,name=address,proto3,oneof" json:"address,omitempty"`
	// Mac of the ipmi system of this machine.
	Mac *string `protobuf:"bytes,2,opt,name=mac,proto3,oneof" json:"mac,omitempty"`
	// User of the ipmi system of this machine.
	User *string `protobuf:"bytes,3,opt,name=user,proto3,oneof" json:"user,omitempty"`
	// Interface of the ipmi system of this machine.
	Interface *string `protobuf:"bytes,4,opt,name=interface,proto3,oneof" json:"interface,omitempty"`
	// contains filtered or unexported fields
}

MachineBMCQuery machine ipmi or bmc specific machine queries.

func (*MachineBMCQuery) Descriptor deprecated added in v0.0.41

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

Deprecated: Use MachineBMCQuery.ProtoReflect.Descriptor instead.

func (*MachineBMCQuery) GetAddress added in v0.0.41

func (x *MachineBMCQuery) GetAddress() string

func (*MachineBMCQuery) GetInterface added in v0.0.41

func (x *MachineBMCQuery) GetInterface() string

func (*MachineBMCQuery) GetMac added in v0.0.41

func (x *MachineBMCQuery) GetMac() string

func (*MachineBMCQuery) GetUser added in v0.0.41

func (x *MachineBMCQuery) GetUser() string

func (*MachineBMCQuery) ProtoMessage added in v0.0.41

func (*MachineBMCQuery) ProtoMessage()

func (*MachineBMCQuery) ProtoReflect added in v0.0.41

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

func (*MachineBMCQuery) Reset added in v0.0.41

func (x *MachineBMCQuery) Reset()

func (*MachineBMCQuery) String added in v0.0.41

func (x *MachineBMCQuery) String() string

type MachineBMCReport added in v0.0.41

type MachineBMCReport struct {

	// UUID of the machine.
	Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	// Bmc contains bmc details.
	Bmc *MachineBMC `protobuf:"bytes,2,opt,name=bmc,proto3" json:"bmc,omitempty"`
	// Bios contains bios details.
	Bios *MachineBios `protobuf:"bytes,3,opt,name=bios,proto3" json:"bios,omitempty"`
	// Fru contains field replaceable unit details.
	Fru *MachineFRU `protobuf:"bytes,4,opt,name=fru,proto3" json:"fru,omitempty"`
	// PowerMetric contains the power statistics of the machine.
	PowerMetric *MachinePowerMetric `protobuf:"bytes,5,opt,name=power_metric,json=powerMetric,proto3" json:"power_metric,omitempty"`
	// PowerSupplies contains details about all power supplies and their state.
	PowerSupplies []*MachinePowerSupply `protobuf:"bytes,6,rep,name=power_supplies,json=powerSupplies,proto3" json:"power_supplies,omitempty"`
	// LedState indicates the state of the indicator LED on this machine.
	LedState *MachineChassisIdentifyLEDState `protobuf:"bytes,7,opt,name=led_state,json=ledState,proto3" json:"led_state,omitempty"`
	// UpdatedAt contains the date when this data was last updated.
	UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// contains filtered or unexported fields
}

MachineBMCReport is sent from the metal-bmc to update bmc and power related details.

func (*MachineBMCReport) Descriptor deprecated added in v0.0.41

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

Deprecated: Use MachineBMCReport.ProtoReflect.Descriptor instead.

func (*MachineBMCReport) GetBios added in v0.0.41

func (x *MachineBMCReport) GetBios() *MachineBios

func (*MachineBMCReport) GetBmc added in v0.0.41

func (x *MachineBMCReport) GetBmc() *MachineBMC

func (*MachineBMCReport) GetFru added in v0.0.41

func (x *MachineBMCReport) GetFru() *MachineFRU

func (*MachineBMCReport) GetLedState added in v0.0.41

func (*MachineBMCReport) GetPowerMetric added in v0.0.41

func (x *MachineBMCReport) GetPowerMetric() *MachinePowerMetric

func (*MachineBMCReport) GetPowerSupplies added in v0.0.41

func (x *MachineBMCReport) GetPowerSupplies() []*MachinePowerSupply

func (*MachineBMCReport) GetUpdatedAt added in v0.0.41

func (x *MachineBMCReport) GetUpdatedAt() *timestamppb.Timestamp

func (*MachineBMCReport) GetUuid added in v0.5.0

func (x *MachineBMCReport) GetUuid() string

func (*MachineBMCReport) ProtoMessage added in v0.0.41

func (*MachineBMCReport) ProtoMessage()

func (*MachineBMCReport) ProtoReflect added in v0.0.41

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

func (*MachineBMCReport) Reset added in v0.0.41

func (x *MachineBMCReport) Reset()

func (*MachineBMCReport) String added in v0.0.41

func (x *MachineBMCReport) String() string

type MachineBios added in v0.0.9

type MachineBios struct {

	// Version the bios version.
	Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	// Vendor the bios vendor.
	Vendor string `protobuf:"bytes,2,opt,name=vendor,proto3" json:"vendor,omitempty"`
	// Date the bios date as string because every vendor has different ideas how to describe the date.
	Date string `protobuf:"bytes,3,opt,name=date,proto3" json:"date,omitempty"`
	// contains filtered or unexported fields
}

MachineBios contains BIOS details of this machine.

func (*MachineBios) Descriptor deprecated added in v0.0.9

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

Deprecated: Use MachineBios.ProtoReflect.Descriptor instead.

func (*MachineBios) GetDate added in v0.0.9

func (x *MachineBios) GetDate() string

func (*MachineBios) GetVendor added in v0.0.9

func (x *MachineBios) GetVendor() string

func (*MachineBios) GetVersion added in v0.0.9

func (x *MachineBios) GetVersion() string

func (*MachineBios) ProtoMessage added in v0.0.9

func (*MachineBios) ProtoMessage()

func (*MachineBios) ProtoReflect added in v0.0.9

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

func (*MachineBios) Reset added in v0.0.9

func (x *MachineBios) Reset()

func (*MachineBios) String added in v0.0.9

func (x *MachineBios) String() string

type MachineBlockDevice added in v0.0.9

type MachineBlockDevice struct {

	// Name of this block device.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Size of this block device in bytes.
	Size uint64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"`
	// contains filtered or unexported fields
}

MachineBlockDevice contains details of a block device of this machine.

func (*MachineBlockDevice) Descriptor deprecated added in v0.0.9

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

Deprecated: Use MachineBlockDevice.ProtoReflect.Descriptor instead.

func (*MachineBlockDevice) GetName added in v0.0.9

func (x *MachineBlockDevice) GetName() string

func (*MachineBlockDevice) GetSize added in v0.0.9

func (x *MachineBlockDevice) GetSize() uint64

func (*MachineBlockDevice) ProtoMessage added in v0.0.9

func (*MachineBlockDevice) ProtoMessage()

func (*MachineBlockDevice) ProtoReflect added in v0.0.9

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

func (*MachineBlockDevice) Reset added in v0.0.9

func (x *MachineBlockDevice) Reset()

func (*MachineBlockDevice) String added in v0.0.9

func (x *MachineBlockDevice) String() string

type MachineChassisIdentifyLEDState added in v0.0.9

type MachineChassisIdentifyLEDState struct {

	// Value the state of this chassis identify LED. empty means LED-OF.
	Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// Description a description why this chassis identify LED is in the given state.
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

MachineChassisIdentifyLEDState describes the identifier led state.

func (*MachineChassisIdentifyLEDState) Descriptor deprecated added in v0.0.9

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

Deprecated: Use MachineChassisIdentifyLEDState.ProtoReflect.Descriptor instead.

func (*MachineChassisIdentifyLEDState) GetDescription added in v0.0.9

func (x *MachineChassisIdentifyLEDState) GetDescription() string

func (*MachineChassisIdentifyLEDState) GetValue added in v0.0.9

func (x *MachineChassisIdentifyLEDState) GetValue() string

func (*MachineChassisIdentifyLEDState) ProtoMessage added in v0.0.9

func (*MachineChassisIdentifyLEDState) ProtoMessage()

func (*MachineChassisIdentifyLEDState) ProtoReflect added in v0.0.9

func (*MachineChassisIdentifyLEDState) Reset added in v0.0.9

func (x *MachineChassisIdentifyLEDState) Reset()

func (*MachineChassisIdentifyLEDState) String added in v0.0.9

type MachineCondition added in v0.0.9

type MachineCondition struct {

	// State the state of this machine. empty means available for al.
	State MachineState `protobuf:"varint,1,opt,name=state,proto3,enum=metalstack.api.v2.MachineState" json:"state,omitempty"`
	// Description a description why this machine is in the given state.
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// Issuer the user that changed the state.
	Issuer string `protobuf:"bytes,3,opt,name=issuer,proto3" json:"issuer,omitempty"`
	// contains filtered or unexported fields
}

MachineCondition describes the availability of this machine.

func (*MachineCondition) Descriptor deprecated added in v0.0.9

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

Deprecated: Use MachineCondition.ProtoReflect.Descriptor instead.

func (*MachineCondition) GetDescription added in v0.0.9

func (x *MachineCondition) GetDescription() string

func (*MachineCondition) GetIssuer added in v0.0.9

func (x *MachineCondition) GetIssuer() string

func (*MachineCondition) GetState added in v0.0.9

func (x *MachineCondition) GetState() MachineState

func (*MachineCondition) ProtoMessage added in v0.0.9

func (*MachineCondition) ProtoMessage()

func (*MachineCondition) ProtoReflect added in v0.0.9

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

func (*MachineCondition) Reset added in v0.0.9

func (x *MachineCondition) Reset()

func (*MachineCondition) String added in v0.0.9

func (x *MachineCondition) String() string

type MachineConnection added in v0.0.23

type MachineConnection struct {

	// MachineId of the machine connected to the nic.
	MachineId string `protobuf:"bytes,1,opt,name=machine_id,json=machineId,proto3" json:"machine_id,omitempty"`
	// Nic the machine is connected to.
	Nic *SwitchNic `protobuf:"bytes,2,opt,name=nic,proto3" json:"nic,omitempty"`
	// contains filtered or unexported fields
}

MachineConnection associates a machine with the corresponding switch nic.

func (*MachineConnection) Descriptor deprecated added in v0.0.23

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

Deprecated: Use MachineConnection.ProtoReflect.Descriptor instead.

func (*MachineConnection) GetMachineId added in v0.0.23

func (x *MachineConnection) GetMachineId() string

func (*MachineConnection) GetNic added in v0.0.23

func (x *MachineConnection) GetNic() *SwitchNic

func (*MachineConnection) ProtoMessage added in v0.0.23

func (*MachineConnection) ProtoMessage()

func (*MachineConnection) ProtoReflect added in v0.0.23

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

func (*MachineConnection) Reset added in v0.0.23

func (x *MachineConnection) Reset()

func (*MachineConnection) String added in v0.0.23

func (x *MachineConnection) String() string

type MachineDiskQuery added in v0.0.9

type MachineDiskQuery struct {

	// Names of disks in this machine.
	Names []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"`
	// Sizes of disks in this machine.
	Sizes []uint64 `protobuf:"varint,2,rep,packed,name=sizes,proto3" json:"sizes,omitempty"`
	// contains filtered or unexported fields
}

MachineDiskQuery disk specific machine queries.

func (*MachineDiskQuery) Descriptor deprecated added in v0.0.9

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

Deprecated: Use MachineDiskQuery.ProtoReflect.Descriptor instead.

func (*MachineDiskQuery) GetNames added in v0.0.9

func (x *MachineDiskQuery) GetNames() []string

func (*MachineDiskQuery) GetSizes added in v0.0.9

func (x *MachineDiskQuery) GetSizes() []uint64

func (*MachineDiskQuery) ProtoMessage added in v0.0.9

func (*MachineDiskQuery) ProtoMessage()

func (*MachineDiskQuery) ProtoReflect added in v0.0.9

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

func (*MachineDiskQuery) Reset added in v0.0.9

func (x *MachineDiskQuery) Reset()

func (*MachineDiskQuery) String added in v0.0.9

func (x *MachineDiskQuery) String() string

type MachineFRU added in v0.0.41

type MachineFRU struct {

	// ChassisPartNumber is the part number of the machine chassis.
	ChassisPartNumber *string `protobuf:"bytes,1,opt,name=chassis_part_number,json=chassisPartNumber,proto3,oneof" json:"chassis_part_number,omitempty"`
	// ChassisPartSerial is the serial number of the machine chassis.
	ChassisPartSerial *string `protobuf:"bytes,2,opt,name=chassis_part_serial,json=chassisPartSerial,proto3,oneof" json:"chassis_part_serial,omitempty"`
	// BoardMfg is the short description of the mainboard.
	BoardMfg *string `protobuf:"bytes,3,opt,name=board_mfg,json=boardMfg,proto3,oneof" json:"board_mfg,omitempty"`
	// BoardMfgSerial is the serial number of the mainboard.
	BoardMfgSerial *string `protobuf:"bytes,4,opt,name=board_mfg_serial,json=boardMfgSerial,proto3,oneof" json:"board_mfg_serial,omitempty"`
	// BoardPartNumber is the part number of the mainboard.
	BoardPartNumber *string `protobuf:"bytes,5,opt,name=board_part_number,json=boardPartNumber,proto3,oneof" json:"board_part_number,omitempty"`
	// ProductManufacturer is the manufacturer of the machine.
	ProductManufacturer *string `protobuf:"bytes,6,opt,name=product_manufacturer,json=productManufacturer,proto3,oneof" json:"product_manufacturer,omitempty"`
	// ProductPartNumber is the part number of the machine.
	ProductPartNumber *string `protobuf:"bytes,7,opt,name=product_part_number,json=productPartNumber,proto3,oneof" json:"product_part_number,omitempty"`
	// ProductSerial is the serial number of the machine.
	ProductSerial *string `protobuf:"bytes,8,opt,name=product_serial,json=productSerial,proto3,oneof" json:"product_serial,omitempty"`
	// contains filtered or unexported fields
}

MachineFRU describes details to the machine which are required in case of a necessary replacement.

func (*MachineFRU) Descriptor deprecated added in v0.0.41

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

Deprecated: Use MachineFRU.ProtoReflect.Descriptor instead.

func (*MachineFRU) GetBoardMfg added in v0.0.41

func (x *MachineFRU) GetBoardMfg() string

func (*MachineFRU) GetBoardMfgSerial added in v0.0.41

func (x *MachineFRU) GetBoardMfgSerial() string

func (*MachineFRU) GetBoardPartNumber added in v0.0.41

func (x *MachineFRU) GetBoardPartNumber() string

func (*MachineFRU) GetChassisPartNumber added in v0.0.41

func (x *MachineFRU) GetChassisPartNumber() string

func (*MachineFRU) GetChassisPartSerial added in v0.0.41

func (x *MachineFRU) GetChassisPartSerial() string

func (*MachineFRU) GetProductManufacturer added in v0.0.41

func (x *MachineFRU) GetProductManufacturer() string

func (*MachineFRU) GetProductPartNumber added in v0.0.41

func (x *MachineFRU) GetProductPartNumber() string

func (*MachineFRU) GetProductSerial added in v0.0.41

func (x *MachineFRU) GetProductSerial() string

func (*MachineFRU) ProtoMessage added in v0.0.41

func (*MachineFRU) ProtoMessage()

func (*MachineFRU) ProtoReflect added in v0.0.41

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

func (*MachineFRU) Reset added in v0.0.41

func (x *MachineFRU) Reset()

func (*MachineFRU) String added in v0.0.41

func (x *MachineFRU) String() string

type MachineFRUQuery added in v0.0.9

type MachineFRUQuery struct {

	// ChassisPartNumber of this machine.
	ChassisPartNumber *string `protobuf:"bytes,1,opt,name=chassis_part_number,json=chassisPartNumber,proto3,oneof" json:"chassis_part_number,omitempty"`
	// ChassisPartSerial of this machine.
	ChassisPartSerial *string `protobuf:"bytes,2,opt,name=chassis_part_serial,json=chassisPartSerial,proto3,oneof" json:"chassis_part_serial,omitempty"`
	// BoardMFG of this machine.
	BoardMfg *string `protobuf:"bytes,3,opt,name=board_mfg,json=boardMfg,proto3,oneof" json:"board_mfg,omitempty"`
	// BoardSerial of this machine.
	BoardSerial *string `protobuf:"bytes,4,opt,name=board_serial,json=boardSerial,proto3,oneof" json:"board_serial,omitempty"`
	// BoardPartNumber of this machine.
	BoardPartNumber *string `protobuf:"bytes,5,opt,name=board_part_number,json=boardPartNumber,proto3,oneof" json:"board_part_number,omitempty"`
	// ProductManufacturer of this machine.
	ProductManufacturer *string `protobuf:"bytes,6,opt,name=product_manufacturer,json=productManufacturer,proto3,oneof" json:"product_manufacturer,omitempty"`
	// ProductPartNumber of this machine.
	ProductPartNumber *string `protobuf:"bytes,7,opt,name=product_part_number,json=productPartNumber,proto3,oneof" json:"product_part_number,omitempty"`
	// ProductSerial of this machine.
	ProductSerial *string `protobuf:"bytes,8,opt,name=product_serial,json=productSerial,proto3,oneof" json:"product_serial,omitempty"`
	// contains filtered or unexported fields
}

MachineFRUQuery machine fru specific machine queries.

func (*MachineFRUQuery) Descriptor deprecated added in v0.0.9

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

Deprecated: Use MachineFRUQuery.ProtoReflect.Descriptor instead.

func (*MachineFRUQuery) GetBoardMfg added in v0.0.9

func (x *MachineFRUQuery) GetBoardMfg() string

func (*MachineFRUQuery) GetBoardPartNumber added in v0.0.9

func (x *MachineFRUQuery) GetBoardPartNumber() string

func (*MachineFRUQuery) GetBoardSerial added in v0.0.9

func (x *MachineFRUQuery) GetBoardSerial() string

func (*MachineFRUQuery) GetChassisPartNumber added in v0.0.9

func (x *MachineFRUQuery) GetChassisPartNumber() string

func (*MachineFRUQuery) GetChassisPartSerial added in v0.0.9

func (x *MachineFRUQuery) GetChassisPartSerial() string

func (*MachineFRUQuery) GetProductManufacturer added in v0.0.9

func (x *MachineFRUQuery) GetProductManufacturer() string

func (*MachineFRUQuery) GetProductPartNumber added in v0.0.9

func (x *MachineFRUQuery) GetProductPartNumber() string

func (*MachineFRUQuery) GetProductSerial added in v0.0.9

func (x *MachineFRUQuery) GetProductSerial() string

func (*MachineFRUQuery) ProtoMessage added in v0.0.9

func (*MachineFRUQuery) ProtoMessage()

func (*MachineFRUQuery) ProtoReflect added in v0.0.9

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

func (*MachineFRUQuery) Reset added in v0.0.9

func (x *MachineFRUQuery) Reset()

func (*MachineFRUQuery) String added in v0.0.9

func (x *MachineFRUQuery) String() string

type MachineHardware added in v0.0.9

type MachineHardware struct {

	// Memory the total memory of the machine in bytes.
	Memory uint64 `protobuf:"varint,1,opt,name=memory,proto3" json:"memory,omitempty"`
	// Disks the list of block devices of this machine.
	Disks []*MachineBlockDevice `protobuf:"bytes,2,rep,name=disks,proto3" json:"disks,omitempty"`
	// CPUs the cpu details.
	Cpus []*MetalCPU `protobuf:"bytes,3,rep,name=cpus,proto3" json:"cpus,omitempty"`
	// GPUs the gpu details.
	Gpus []*MetalGPU `protobuf:"bytes,4,rep,name=gpus,proto3" json:"gpus,omitempty"`
	// Nics the list of network interfaces of this machine.
	Nics []*MachineNic `protobuf:"bytes,5,rep,name=nics,proto3" json:"nics,omitempty"`
	// contains filtered or unexported fields
}

MachineHardware contains hardware details.

func (*MachineHardware) Descriptor deprecated added in v0.0.9

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

Deprecated: Use MachineHardware.ProtoReflect.Descriptor instead.

func (*MachineHardware) GetCpus added in v0.0.9

func (x *MachineHardware) GetCpus() []*MetalCPU

func (*MachineHardware) GetDisks added in v0.0.9

func (x *MachineHardware) GetDisks() []*MachineBlockDevice

func (*MachineHardware) GetGpus added in v0.0.9

func (x *MachineHardware) GetGpus() []*MetalGPU

func (*MachineHardware) GetMemory added in v0.0.9

func (x *MachineHardware) GetMemory() uint64

func (*MachineHardware) GetNics added in v0.0.9

func (x *MachineHardware) GetNics() []*MachineNic

func (*MachineHardware) ProtoMessage added in v0.0.9

func (*MachineHardware) ProtoMessage()

func (*MachineHardware) ProtoReflect added in v0.0.9

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

func (*MachineHardware) Reset added in v0.0.9

func (x *MachineHardware) Reset()

func (*MachineHardware) String added in v0.0.9

func (x *MachineHardware) String() string

type MachineHardwareQuery added in v0.0.9

type MachineHardwareQuery struct {

	// Memory the total memory of the machine in bytes.
	Memory *uint64 `protobuf:"varint,1,opt,name=memory,proto3,oneof" json:"memory,omitempty"`
	// CPUCores the number of cpu cores.
	CpuCores *uint32 `protobuf:"varint,2,opt,name=cpu_cores,json=cpuCores,proto3,oneof" json:"cpu_cores,omitempty"`
	// contains filtered or unexported fields
}

MachineHardwareQuery machine hardware specific machine queries.

func (*MachineHardwareQuery) Descriptor deprecated added in v0.0.9

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

Deprecated: Use MachineHardwareQuery.ProtoReflect.Descriptor instead.

func (*MachineHardwareQuery) GetCpuCores added in v0.0.9

func (x *MachineHardwareQuery) GetCpuCores() uint32

func (*MachineHardwareQuery) GetMemory added in v0.0.9

func (x *MachineHardwareQuery) GetMemory() uint64

func (*MachineHardwareQuery) ProtoMessage added in v0.0.9

func (*MachineHardwareQuery) ProtoMessage()

func (*MachineHardwareQuery) ProtoReflect added in v0.0.9

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

func (*MachineHardwareQuery) Reset added in v0.0.9

func (x *MachineHardwareQuery) Reset()

func (*MachineHardwareQuery) String added in v0.0.9

func (x *MachineHardwareQuery) String() string

type MachineIssue added in v0.2.0

type MachineIssue struct {

	// Type specifies the issue type (id).
	Type MachineIssueType `protobuf:"varint,1,opt,name=type,proto3,enum=metalstack.api.v2.MachineIssueType" json:"type,omitempty"`
	// Severity specifies the severity of an issue.
	Severity MachineIssueSeverity `protobuf:"varint,2,opt,name=severity,proto3,enum=metalstack.api.v2.MachineIssueSeverity" json:"severity,omitempty"`
	// Description provides an issue description.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// RefURL provides a link to a more detailed issue description in the metal-stack documentation.
	ReferenceUrl string `protobuf:"bytes,4,opt,name=reference_url,json=referenceUrl,proto3" json:"reference_url,omitempty"`
	// Details may contain additional details on an evaluated issue.
	Details string `protobuf:"bytes,5,opt,name=details,proto3" json:"details,omitempty"`
	// contains filtered or unexported fields
}

MachineIssue contains details of one issue.

func (*MachineIssue) Descriptor deprecated added in v0.2.0

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

Deprecated: Use MachineIssue.ProtoReflect.Descriptor instead.

func (*MachineIssue) GetDescription added in v0.2.0

func (x *MachineIssue) GetDescription() string

func (*MachineIssue) GetDetails added in v0.2.0

func (x *MachineIssue) GetDetails() string

func (*MachineIssue) GetReferenceUrl added in v0.2.0

func (x *MachineIssue) GetReferenceUrl() string

func (*MachineIssue) GetSeverity added in v0.2.0

func (x *MachineIssue) GetSeverity() MachineIssueSeverity

func (*MachineIssue) GetType added in v0.2.0

func (x *MachineIssue) GetType() MachineIssueType

func (*MachineIssue) ProtoMessage added in v0.2.0

func (*MachineIssue) ProtoMessage()

func (*MachineIssue) ProtoReflect added in v0.2.0

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

func (*MachineIssue) Reset added in v0.2.0

func (x *MachineIssue) Reset()

func (*MachineIssue) String added in v0.2.0

func (x *MachineIssue) String() string

type MachineIssueSeverity added in v0.2.0

type MachineIssueSeverity int32

MachineIssueSeverity defines the severity of an issue.

const (
	// MACHINE_ISSUE_SEVERITY_UNSPECIFIED severity is not specified.
	MachineIssueSeverity_MACHINE_ISSUE_SEVERITY_UNSPECIFIED MachineIssueSeverity = 0
	// MACHINE_ISSUE_SEVERITY_MINOR machine issues is of severity minor.
	MachineIssueSeverity_MACHINE_ISSUE_SEVERITY_MINOR MachineIssueSeverity = 1
	// MACHINE_ISSUE_SEVERITY_MAJOR machine issues is of severity major.
	MachineIssueSeverity_MACHINE_ISSUE_SEVERITY_MAJOR MachineIssueSeverity = 2
	// MACHINE_ISSUE_SEVERITY_CRITICAL machine issues is of severity critical.
	MachineIssueSeverity_MACHINE_ISSUE_SEVERITY_CRITICAL MachineIssueSeverity = 3
)

func (MachineIssueSeverity) Descriptor added in v0.2.0

func (MachineIssueSeverity) Enum added in v0.2.0

func (MachineIssueSeverity) EnumDescriptor deprecated added in v0.2.0

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

Deprecated: Use MachineIssueSeverity.Descriptor instead.

func (MachineIssueSeverity) Number added in v0.2.0

func (MachineIssueSeverity) String added in v0.2.0

func (x MachineIssueSeverity) String() string

func (MachineIssueSeverity) Type added in v0.2.0

type MachineIssueType added in v0.2.0

type MachineIssueType int32

MachineIssueType defines which type of issue it is.

const (
	// MACHINE_ISSUE_TYPE_UNSPECIFIED type is not specified.
	MachineIssueType_MACHINE_ISSUE_TYPE_UNSPECIFIED MachineIssueType = 0
	// MACHINE_ISSUE_TYPE_ASN_UNIQUENESS machine asn is not unique.
	MachineIssueType_MACHINE_ISSUE_TYPE_ASN_UNIQUENESS MachineIssueType = 1
	// MACHINE_ISSUE_TYPE_BMC_INFO_OUTDATED machine bmc info out of date.
	MachineIssueType_MACHINE_ISSUE_TYPE_BMC_INFO_OUTDATED MachineIssueType = 2
	// MACHINE_ISSUE_TYPE_BMC_NON_DISTINCT_IP machine bmc ip is not distinct.
	MachineIssueType_MACHINE_ISSUE_TYPE_BMC_NON_DISTINCT_IP MachineIssueType = 3
	// MACHINE_ISSUE_TYPE_BMC_WITHOUT_IP machine bmc without ip.
	MachineIssueType_MACHINE_ISSUE_TYPE_BMC_WITHOUT_IP MachineIssueType = 4
	// MACHINE_ISSUE_TYPE_BMC_WITHOUT_MAC machine bmc without mac address.
	MachineIssueType_MACHINE_ISSUE_TYPE_BMC_WITHOUT_MAC MachineIssueType = 5
	// MACHINE_ISSUE_TYPE_CRASH_LOOP machine is in crashloop.
	MachineIssueType_MACHINE_ISSUE_TYPE_CRASH_LOOP MachineIssueType = 6
	// MACHINE_ISSUE_TYPE_FAILED_MACHINE_RECLAIM machine was not freed after delete.
	MachineIssueType_MACHINE_ISSUE_TYPE_FAILED_MACHINE_RECLAIM MachineIssueType = 7
	// MACHINE_ISSUE_TYPE_LAST_EVENT_ERROR machine last event error.
	MachineIssueType_MACHINE_ISSUE_TYPE_LAST_EVENT_ERROR MachineIssueType = 8
	// MACHINE_ISSUE_TYPE_LIVELINESS_DEAD machine is dead.
	MachineIssueType_MACHINE_ISSUE_TYPE_LIVELINESS_DEAD MachineIssueType = 9
	// MACHINE_ISSUE_TYPE_LIVELINESS_NOT_AVAILABLE machine liveliness is not available.
	MachineIssueType_MACHINE_ISSUE_TYPE_LIVELINESS_NOT_AVAILABLE MachineIssueType = 10
	// MACHINE_ISSUE_TYPE_LIVELINESS_UNKNOWN machine liveliness is unknown.
	MachineIssueType_MACHINE_ISSUE_TYPE_LIVELINESS_UNKNOWN MachineIssueType = 11
	// MACHINE_ISSUE_TYPE_NO_EVENT_CONTAINER machine does not have a event container.
	MachineIssueType_MACHINE_ISSUE_TYPE_NO_EVENT_CONTAINER MachineIssueType = 12
	// MACHINE_ISSUE_TYPE_NO_PARTITION no partition set.
	MachineIssueType_MACHINE_ISSUE_TYPE_NO_PARTITION MachineIssueType = 13
)

func (MachineIssueType) Descriptor added in v0.2.0

func (MachineIssueType) Enum added in v0.2.0

func (MachineIssueType) EnumDescriptor deprecated added in v0.2.0

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

Deprecated: Use MachineIssueType.Descriptor instead.

func (MachineIssueType) Number added in v0.2.0

func (MachineIssueType) String added in v0.2.0

func (x MachineIssueType) String() string

func (MachineIssueType) Type added in v0.2.0

type MachineIssues added in v0.2.0

type MachineIssues struct {

	// UUID of the machine for which the issues are listed.
	Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	// Issues of this machine.
	Issues []*MachineIssue `protobuf:"bytes,2,rep,name=issues,proto3" json:"issues,omitempty"`
	// contains filtered or unexported fields
}

MachineIssues is a list of issues for a machine.

func (*MachineIssues) Descriptor deprecated added in v0.2.0

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

Deprecated: Use MachineIssues.ProtoReflect.Descriptor instead.

func (*MachineIssues) GetIssues added in v0.2.0

func (x *MachineIssues) GetIssues() []*MachineIssue

func (*MachineIssues) GetUuid added in v0.2.0

func (x *MachineIssues) GetUuid() string

func (*MachineIssues) ProtoMessage added in v0.2.0

func (*MachineIssues) ProtoMessage()

func (*MachineIssues) ProtoReflect added in v0.2.0

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

func (*MachineIssues) Reset added in v0.2.0

func (x *MachineIssues) Reset()

func (*MachineIssues) String added in v0.2.0

func (x *MachineIssues) String() string

type MachineIssuesQuery added in v0.2.0

type MachineIssuesQuery struct {

	// MachineQuery to select specific machines.
	MachineQuery *MachineQuery `protobuf:"bytes,1,opt,name=machine_query,json=machineQuery,proto3" json:"machine_query,omitempty"`
	// Only includes the specified machine issue types.
	Only []MachineIssueType `protobuf:"varint,2,rep,packed,name=only,proto3,enum=metalstack.api.v2.MachineIssueType" json:"only,omitempty"`
	// Omits the specified machine issues.
	Omit []MachineIssueType `protobuf:"varint,3,rep,packed,name=omit,proto3,enum=metalstack.api.v2.MachineIssueType" json:"omit,omitempty"`
	// Severity filters issue for given severity.
	Severity *MachineIssueSeverity `protobuf:"varint,4,opt,name=severity,proto3,enum=metalstack.api.v2.MachineIssueSeverity,oneof" json:"severity,omitempty"`
	// LastErrorThreshold defines the last error threshold.
	LastErrorThreshold *durationpb.Duration `protobuf:"bytes,5,opt,name=last_error_threshold,json=lastErrorThreshold,proto3" json:"last_error_threshold,omitempty"`
	// contains filtered or unexported fields
}

MachineIssuesQuery defines which machine issues should be listed.

func (*MachineIssuesQuery) Descriptor deprecated added in v0.2.0

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

Deprecated: Use MachineIssuesQuery.ProtoReflect.Descriptor instead.

func (*MachineIssuesQuery) GetLastErrorThreshold added in v0.2.0

func (x *MachineIssuesQuery) GetLastErrorThreshold() *durationpb.Duration

func (*MachineIssuesQuery) GetMachineQuery added in v0.2.0

func (x *MachineIssuesQuery) GetMachineQuery() *MachineQuery

func (*MachineIssuesQuery) GetOmit added in v0.2.0

func (x *MachineIssuesQuery) GetOmit() []MachineIssueType

func (*MachineIssuesQuery) GetOnly added in v0.2.0

func (x *MachineIssuesQuery) GetOnly() []MachineIssueType

func (*MachineIssuesQuery) GetSeverity added in v0.2.0

func (x *MachineIssuesQuery) GetSeverity() MachineIssueSeverity

func (*MachineIssuesQuery) ProtoMessage added in v0.2.0

func (*MachineIssuesQuery) ProtoMessage()

func (*MachineIssuesQuery) ProtoReflect added in v0.2.0

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

func (*MachineIssuesQuery) Reset added in v0.2.0

func (x *MachineIssuesQuery) Reset()

func (*MachineIssuesQuery) String added in v0.2.0

func (x *MachineIssuesQuery) String() string

type MachineLiveliness added in v0.0.9

type MachineLiveliness int32

MachineLiveliness specifies the liveliness of a machine.

const (
	// MACHINE_LIVELINESS_UNSPECIFIED is not defined.
	MachineLiveliness_MACHINE_LIVELINESS_UNSPECIFIED MachineLiveliness = 0
	// MACHINE_LIVELINESS_ALIVE liveliness is alive.
	MachineLiveliness_MACHINE_LIVELINESS_ALIVE MachineLiveliness = 1
	// MACHINE_LIVELINESS_DEAD liveliness is dead.
	MachineLiveliness_MACHINE_LIVELINESS_DEAD MachineLiveliness = 2
	// MACHINE_LIVELINESS_UNKNOWN liveliness is unknown.
	MachineLiveliness_MACHINE_LIVELINESS_UNKNOWN MachineLiveliness = 3
)

func (MachineLiveliness) Descriptor added in v0.0.9

func (MachineLiveliness) Enum added in v0.0.9

func (MachineLiveliness) EnumDescriptor deprecated added in v0.0.9

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

Deprecated: Use MachineLiveliness.Descriptor instead.

func (MachineLiveliness) Number added in v0.0.9

func (MachineLiveliness) String added in v0.0.9

func (x MachineLiveliness) String() string

func (MachineLiveliness) Type added in v0.0.9

type MachineNetwork added in v0.0.9

type MachineNetwork struct {

	// Network the networkID of the allocated machine in this vrf.
	Network string `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"`
	// Prefixes the prefixes of this network.
	Prefixes []string `protobuf:"bytes,2,rep,name=prefixes,proto3" json:"prefixes,omitempty"`
	// DestinationPrefixes prefixes that are reachable within this network.
	DestinationPrefixes []string `protobuf:"bytes,3,rep,name=destination_prefixes,json=destinationPrefixes,proto3" json:"destination_prefixes,omitempty"`
	// IPs the ip addresses of the allocated machine in this vrf.
	Ips []string `protobuf:"bytes,4,rep,name=ips,proto3" json:"ips,omitempty"`
	// NetworkType the type of network of this vrf.
	NetworkType NetworkType `` /* 130-byte string literal not displayed */
	// NatType what type of nat if any should be used.
	NatType NATType `protobuf:"varint,6,opt,name=nat_type,json=natType,proto3,enum=metalstack.api.v2.NATType" json:"nat_type,omitempty"`
	// VRF the vrf id.
	Vrf uint64 `protobuf:"varint,7,opt,name=vrf,proto3" json:"vrf,omitempty"`
	// ASN the autonomous system number for this network.
	Asn uint32 `protobuf:"varint,8,opt,name=asn,proto3" json:"asn,omitempty"`
	// Project is the project uuid associated with this network.
	Project *string `protobuf:"bytes,9,opt,name=project,proto3,oneof" json:"project,omitempty"`
	// contains filtered or unexported fields
}

MachineNetwork contains details which network should be created on a allocated machine.

func (*MachineNetwork) Descriptor deprecated added in v0.0.9

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

Deprecated: Use MachineNetwork.ProtoReflect.Descriptor instead.

func (*MachineNetwork) GetAsn added in v0.0.9

func (x *MachineNetwork) GetAsn() uint32

func (*MachineNetwork) GetDestinationPrefixes added in v0.0.9

func (x *MachineNetwork) GetDestinationPrefixes() []string

func (*MachineNetwork) GetIps added in v0.0.9

func (x *MachineNetwork) GetIps() []string

func (*MachineNetwork) GetNatType added in v0.0.9

func (x *MachineNetwork) GetNatType() NATType

func (*MachineNetwork) GetNetwork added in v0.0.9

func (x *MachineNetwork) GetNetwork() string

func (*MachineNetwork) GetNetworkType added in v0.0.9

func (x *MachineNetwork) GetNetworkType() NetworkType

func (*MachineNetwork) GetPrefixes added in v0.0.9

func (x *MachineNetwork) GetPrefixes() []string

func (*MachineNetwork) GetProject added in v0.0.56

func (x *MachineNetwork) GetProject() string

func (*MachineNetwork) GetVrf added in v0.0.9

func (x *MachineNetwork) GetVrf() uint64

func (*MachineNetwork) ProtoMessage added in v0.0.9

func (*MachineNetwork) ProtoMessage()

func (*MachineNetwork) ProtoReflect added in v0.0.9

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

func (*MachineNetwork) Reset added in v0.0.9

func (x *MachineNetwork) Reset()

func (*MachineNetwork) String added in v0.0.9

func (x *MachineNetwork) String() string

type MachineNetworkQuery added in v0.0.9

type MachineNetworkQuery struct {

	// Networks this machine is connected to.
	Networks []string `protobuf:"bytes,1,rep,name=networks,proto3" json:"networks,omitempty"`
	// Prefixes this machine is connected to.
	Prefixes []string `protobuf:"bytes,2,rep,name=prefixes,proto3" json:"prefixes,omitempty"`
	// DestinationPrefixes this machine is connected to.
	DestinationPrefixes []string `protobuf:"bytes,3,rep,name=destination_prefixes,json=destinationPrefixes,proto3" json:"destination_prefixes,omitempty"`
	// IPs this machine has.
	Ips []string `protobuf:"bytes,4,rep,name=ips,proto3" json:"ips,omitempty"`
	// VRFs this machine is connected to.
	Vrfs []uint64 `protobuf:"varint,5,rep,packed,name=vrfs,proto3" json:"vrfs,omitempty"`
	// ASNs this machine is connected to.
	Asns []uint32 `protobuf:"varint,6,rep,packed,name=asns,proto3" json:"asns,omitempty"`
	// contains filtered or unexported fields
}

MachineNetworkQuery network specific machine queries.

func (*MachineNetworkQuery) Descriptor deprecated added in v0.0.9

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

Deprecated: Use MachineNetworkQuery.ProtoReflect.Descriptor instead.

func (*MachineNetworkQuery) GetAsns added in v0.0.9

func (x *MachineNetworkQuery) GetAsns() []uint32

func (*MachineNetworkQuery) GetDestinationPrefixes added in v0.0.9

func (x *MachineNetworkQuery) GetDestinationPrefixes() []string

func (*MachineNetworkQuery) GetIps added in v0.0.9

func (x *MachineNetworkQuery) GetIps() []string

func (*MachineNetworkQuery) GetNetworks added in v0.0.9

func (x *MachineNetworkQuery) GetNetworks() []string

func (*MachineNetworkQuery) GetPrefixes added in v0.0.9

func (x *MachineNetworkQuery) GetPrefixes() []string

func (*MachineNetworkQuery) GetVrfs added in v0.0.9

func (x *MachineNetworkQuery) GetVrfs() []uint64

func (*MachineNetworkQuery) ProtoMessage added in v0.0.9

func (*MachineNetworkQuery) ProtoMessage()

func (*MachineNetworkQuery) ProtoReflect added in v0.0.9

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

func (*MachineNetworkQuery) Reset added in v0.0.9

func (x *MachineNetworkQuery) Reset()

func (*MachineNetworkQuery) String added in v0.0.9

func (x *MachineNetworkQuery) String() string

type MachineNic added in v0.0.9

type MachineNic struct {

	// Mac the macaddress of this interface.
	Mac string `protobuf:"bytes,1,opt,name=mac,proto3" json:"mac,omitempty"`
	// Name of this interface.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// Identifier the unique identifier of this network interface.
	Identifier string `protobuf:"bytes,3,opt,name=identifier,proto3" json:"identifier,omitempty"`
	// Vendor of this network card.
	Vendor string `protobuf:"bytes,4,opt,name=vendor,proto3" json:"vendor,omitempty"`
	// Model of this network card.
	Model string `protobuf:"bytes,5,opt,name=model,proto3" json:"model,omitempty"`
	// Speed in bits/second of this network card.
	Speed uint64 `protobuf:"varint,6,opt,name=speed,proto3" json:"speed,omitempty"`
	// Neighbors the neighbors visible to this network interface.
	Neighbors []*MachineNic `protobuf:"bytes,7,rep,name=neighbors,proto3" json:"neighbors,omitempty"`
	// Hostname the nic belongs to.
	Hostname string `protobuf:"bytes,8,opt,name=hostname,proto3" json:"hostname,omitempty"`
	// contains filtered or unexported fields
}

MachineNic contains details of a network interface of this machine.

func (*MachineNic) Descriptor deprecated added in v0.0.9

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

Deprecated: Use MachineNic.ProtoReflect.Descriptor instead.

func (*MachineNic) GetHostname added in v0.0.36

func (x *MachineNic) GetHostname() string

func (*MachineNic) GetIdentifier added in v0.0.9

func (x *MachineNic) GetIdentifier() string

func (*MachineNic) GetMac added in v0.0.9

func (x *MachineNic) GetMac() string

func (*MachineNic) GetModel added in v0.0.10

func (x *MachineNic) GetModel() string

func (*MachineNic) GetName added in v0.0.9

func (x *MachineNic) GetName() string

func (*MachineNic) GetNeighbors added in v0.0.9

func (x *MachineNic) GetNeighbors() []*MachineNic

func (*MachineNic) GetSpeed added in v0.0.10

func (x *MachineNic) GetSpeed() uint64

func (*MachineNic) GetVendor added in v0.0.10

func (x *MachineNic) GetVendor() string

func (*MachineNic) ProtoMessage added in v0.0.9

func (*MachineNic) ProtoMessage()

func (*MachineNic) ProtoReflect added in v0.0.9

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

func (*MachineNic) Reset added in v0.0.9

func (x *MachineNic) Reset()

func (*MachineNic) String added in v0.0.9

func (x *MachineNic) String() string

type MachineNicQuery added in v0.0.9

type MachineNicQuery struct {

	// Macs this machine nic has.
	Macs []string `protobuf:"bytes,1,rep,name=macs,proto3" json:"macs,omitempty"`
	// Names this machine nic has.
	Names []string `protobuf:"bytes,2,rep,name=names,proto3" json:"names,omitempty"`
	// NeighborMacs this machine nic has.
	NeighborMacs []string `protobuf:"bytes,3,rep,name=neighbor_macs,json=neighborMacs,proto3" json:"neighbor_macs,omitempty"`
	// NeighborNames this machine nic has.
	NeighborNames []string `protobuf:"bytes,4,rep,name=neighbor_names,json=neighborNames,proto3" json:"neighbor_names,omitempty"`
	// contains filtered or unexported fields
}

MachineNicQuery nic specific machine queries.

func (*MachineNicQuery) Descriptor deprecated added in v0.0.9

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

Deprecated: Use MachineNicQuery.ProtoReflect.Descriptor instead.

func (*MachineNicQuery) GetMacs added in v0.0.9

func (x *MachineNicQuery) GetMacs() []string

func (*MachineNicQuery) GetNames added in v0.0.9

func (x *MachineNicQuery) GetNames() []string

func (*MachineNicQuery) GetNeighborMacs added in v0.0.9

func (x *MachineNicQuery) GetNeighborMacs() []string

func (*MachineNicQuery) GetNeighborNames added in v0.0.9

func (x *MachineNicQuery) GetNeighborNames() []string

func (*MachineNicQuery) ProtoMessage added in v0.0.9

func (*MachineNicQuery) ProtoMessage()

func (*MachineNicQuery) ProtoReflect added in v0.0.9

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

func (*MachineNicQuery) Reset added in v0.0.9

func (x *MachineNicQuery) Reset()

func (*MachineNicQuery) String added in v0.0.9

func (x *MachineNicQuery) String() string

type MachinePermissions added in v0.4.0

type MachinePermissions struct {

	// UUID of this machine.
	// Asterisk (*) can be specified to match any subject.
	Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	// Methods which should be accessible.
	Methods []string `protobuf:"bytes,2,rep,name=methods,proto3" json:"methods,omitempty"`
	// contains filtered or unexported fields
}

MachinePermissions carries machine method permissions.

func (*MachinePermissions) Descriptor deprecated added in v0.4.0

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

Deprecated: Use MachinePermissions.ProtoReflect.Descriptor instead.

func (*MachinePermissions) GetMethods added in v0.4.0

func (x *MachinePermissions) GetMethods() []string

func (*MachinePermissions) GetUuid added in v0.4.0

func (x *MachinePermissions) GetUuid() string

func (*MachinePermissions) ProtoMessage added in v0.4.0

func (*MachinePermissions) ProtoMessage()

func (*MachinePermissions) ProtoReflect added in v0.4.0

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

func (*MachinePermissions) Reset added in v0.4.0

func (x *MachinePermissions) Reset()

func (*MachinePermissions) String added in v0.4.0

func (x *MachinePermissions) String() string

type MachinePowerMetric added in v0.0.41

type MachinePowerMetric struct {

	// AverageConsumedWatts shall represent the average power level that occurred averaged over the last IntervalInMin minutes.
	AverageConsumedWatts float32 `protobuf:"fixed32,1,opt,name=average_consumed_watts,json=averageConsumedWatts,proto3" json:"average_consumed_watts,omitempty"`
	// IntervalInMin shall represent the time interval (or window), in minutes, in which the PowerMetrics properties are measured over.
	// Should be an integer, but some Dell implementations return as a float.
	IntervalInMin float32 `protobuf:"fixed32,2,opt,name=interval_in_min,json=intervalInMin,proto3" json:"interval_in_min,omitempty"`
	// MaxConsumedWatts shall represent the maximum power level in watts that occurred within the last IntervalInMin minutes.
	MaxConsumedWatts float32 `protobuf:"fixed32,3,opt,name=max_consumed_watts,json=maxConsumedWatts,proto3" json:"max_consumed_watts,omitempty"`
	// MinConsumedWatts shall represent the minimum power level in watts that occurred within the last IntervalInMin minutes.
	MinConsumedWatts float32 `protobuf:"fixed32,4,opt,name=min_consumed_watts,json=minConsumedWatts,proto3" json:"min_consumed_watts,omitempty"`
	// contains filtered or unexported fields
}

MachinePowerMetric contains metrics of the power consumption of a machine.

func (*MachinePowerMetric) Descriptor deprecated added in v0.0.41

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

Deprecated: Use MachinePowerMetric.ProtoReflect.Descriptor instead.

func (*MachinePowerMetric) GetAverageConsumedWatts added in v0.0.41

func (x *MachinePowerMetric) GetAverageConsumedWatts() float32

func (*MachinePowerMetric) GetIntervalInMin added in v0.0.41

func (x *MachinePowerMetric) GetIntervalInMin() float32

func (*MachinePowerMetric) GetMaxConsumedWatts added in v0.0.41

func (x *MachinePowerMetric) GetMaxConsumedWatts() float32

func (*MachinePowerMetric) GetMinConsumedWatts added in v0.0.41

func (x *MachinePowerMetric) GetMinConsumedWatts() float32

func (*MachinePowerMetric) ProtoMessage added in v0.0.41

func (*MachinePowerMetric) ProtoMessage()

func (*MachinePowerMetric) ProtoReflect added in v0.0.41

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

func (*MachinePowerMetric) Reset added in v0.0.41

func (x *MachinePowerMetric) Reset()

func (*MachinePowerMetric) String added in v0.0.41

func (x *MachinePowerMetric) String() string

type MachinePowerSupply added in v0.0.41

type MachinePowerSupply struct {

	// Health of the powersupply.
	Health string `protobuf:"bytes,1,opt,name=health,proto3" json:"health,omitempty"`
	// State of the powersupply.
	State string `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"`
	// contains filtered or unexported fields
}

MachinePowerSupply contains details of the power supply of a machine.

func (*MachinePowerSupply) Descriptor deprecated added in v0.0.41

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

Deprecated: Use MachinePowerSupply.ProtoReflect.Descriptor instead.

func (*MachinePowerSupply) GetHealth added in v0.0.41

func (x *MachinePowerSupply) GetHealth() string

func (*MachinePowerSupply) GetState added in v0.0.41

func (x *MachinePowerSupply) GetState() string

func (*MachinePowerSupply) ProtoMessage added in v0.0.41

func (*MachinePowerSupply) ProtoMessage()

func (*MachinePowerSupply) ProtoReflect added in v0.0.41

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

func (*MachinePowerSupply) Reset added in v0.0.41

func (x *MachinePowerSupply) Reset()

func (*MachinePowerSupply) String added in v0.0.41

func (x *MachinePowerSupply) String() string

type MachineProvisioningEvent added in v0.0.9

type MachineProvisioningEvent struct {

	// Time the time that this event was received.
	Time *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"`
	// Event the event emitted by the machine.
	Event MachineProvisioningEventType `protobuf:"varint,2,opt,name=event,proto3,enum=metalstack.api.v2.MachineProvisioningEventType" json:"event,omitempty"`
	// Message an additional message to add to the event.
	Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

MachineProvisioningEvent is an event that has occurred during provisioning.

func (*MachineProvisioningEvent) Descriptor deprecated added in v0.0.9

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

Deprecated: Use MachineProvisioningEvent.ProtoReflect.Descriptor instead.

func (*MachineProvisioningEvent) GetEvent added in v0.0.9

func (*MachineProvisioningEvent) GetMessage added in v0.0.9

func (x *MachineProvisioningEvent) GetMessage() string

func (*MachineProvisioningEvent) GetTime added in v0.0.9

func (*MachineProvisioningEvent) ProtoMessage added in v0.0.9

func (*MachineProvisioningEvent) ProtoMessage()

func (*MachineProvisioningEvent) ProtoReflect added in v0.0.9

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

func (*MachineProvisioningEvent) Reset added in v0.0.9

func (x *MachineProvisioningEvent) Reset()

func (*MachineProvisioningEvent) String added in v0.0.9

func (x *MachineProvisioningEvent) String() string

type MachineProvisioningEventState added in v0.0.9

type MachineProvisioningEventState int32

MachineProvisioningEventState possible event states.

const (
	// MACHINE_PROVISIONING_EVENT_STATE_UNSPECIFIED is not specified.
	MachineProvisioningEventState_MACHINE_PROVISIONING_EVENT_STATE_UNSPECIFIED MachineProvisioningEventState = 0
	// MACHINE_PROVISIONING_EVENT_STATE_CRASHLOOP machine is in crash loop.
	MachineProvisioningEventState_MACHINE_PROVISIONING_EVENT_STATE_CRASHLOOP MachineProvisioningEventState = 1
	// MACHINE_PROVISIONING_EVENT_STATE_FAILED_RECLAIM machine is in failed reclaim.
	MachineProvisioningEventState_MACHINE_PROVISIONING_EVENT_STATE_FAILED_RECLAIM MachineProvisioningEventState = 2
)

func (MachineProvisioningEventState) Descriptor added in v0.0.9

func (MachineProvisioningEventState) Enum added in v0.0.9

func (MachineProvisioningEventState) EnumDescriptor deprecated added in v0.0.9

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

Deprecated: Use MachineProvisioningEventState.Descriptor instead.

func (MachineProvisioningEventState) Number added in v0.0.9

func (MachineProvisioningEventState) String added in v0.0.9

func (MachineProvisioningEventState) Type added in v0.0.9

type MachineProvisioningEventType added in v0.0.12

type MachineProvisioningEventType int32

MachineProvisioningEventType defines in which phase the machine actually is.

const (
	// MACHINE_PROVISIONING_EVENT_TYPE_UNSPECIFIED is not specified.
	MachineProvisioningEventType_MACHINE_PROVISIONING_EVENT_TYPE_UNSPECIFIED MachineProvisioningEventType = 0
	// MACHINE_PROVISIONING_EVENT_TYPE_ALIVE machine is alive.
	MachineProvisioningEventType_MACHINE_PROVISIONING_EVENT_TYPE_ALIVE MachineProvisioningEventType = 1
	// MACHINE_PROVISIONING_EVENT_TYPE_CRASHED machine crashed.
	MachineProvisioningEventType_MACHINE_PROVISIONING_EVENT_TYPE_CRASHED MachineProvisioningEventType = 2
	// MACHINE_PROVISIONING_EVENT_TYPE_PXE_BOOTING machine is pxe booting into metal-hammer.
	MachineProvisioningEventType_MACHINE_PROVISIONING_EVENT_TYPE_PXE_BOOTING MachineProvisioningEventType = 3
	// MACHINE_PROVISIONING_EVENT_TYPE_PLANNED_REBOOT machine got a reboot instruction.
	MachineProvisioningEventType_MACHINE_PROVISIONING_EVENT_TYPE_PLANNED_REBOOT MachineProvisioningEventType = 4
	// MACHINE_PROVISIONING_EVENT_TYPE_PREPARING metal-hammer is preparing the machine.
	MachineProvisioningEventType_MACHINE_PROVISIONING_EVENT_TYPE_PREPARING MachineProvisioningEventType = 5
	// MACHINE_PROVISIONING_EVENT_TYPE_REGISTERING metal-hammer registers machine at the apiserver.
	MachineProvisioningEventType_MACHINE_PROVISIONING_EVENT_TYPE_REGISTERING MachineProvisioningEventType = 6
	// MACHINE_PROVISIONING_EVENT_TYPE_WAITING machine is waiting for installation.
	MachineProvisioningEventType_MACHINE_PROVISIONING_EVENT_TYPE_WAITING MachineProvisioningEventType = 7
	// MACHINE_PROVISIONING_EVENT_TYPE_INSTALLING metal-hammer is installing the desired os.
	MachineProvisioningEventType_MACHINE_PROVISIONING_EVENT_TYPE_INSTALLING MachineProvisioningEventType = 8
	// MACHINE_PROVISIONING_EVENT_TYPE_BOOTING_NEW_KERNEL metal-hammer completed installation and boots into target os.
	MachineProvisioningEventType_MACHINE_PROVISIONING_EVENT_TYPE_BOOTING_NEW_KERNEL MachineProvisioningEventType = 9
	// MACHINE_PROVISIONING_EVENT_TYPE_PHONED_HOME machine is installed and phones home.
	MachineProvisioningEventType_MACHINE_PROVISIONING_EVENT_TYPE_PHONED_HOME MachineProvisioningEventType = 10
	// MACHINE_PROVISIONING_EVENT_TYPE_MACHINE_RECLAIM machine is not allocated, but phones home.
	MachineProvisioningEventType_MACHINE_PROVISIONING_EVENT_TYPE_MACHINE_RECLAIM MachineProvisioningEventType = 11
)

func (MachineProvisioningEventType) Descriptor added in v0.0.12

func (MachineProvisioningEventType) Enum added in v0.0.12

func (MachineProvisioningEventType) EnumDescriptor deprecated added in v0.0.12

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

Deprecated: Use MachineProvisioningEventType.Descriptor instead.

func (MachineProvisioningEventType) Number added in v0.0.12

func (MachineProvisioningEventType) String added in v0.0.12

func (MachineProvisioningEventType) Type added in v0.0.12

type MachineQuery added in v0.0.9

type MachineQuery struct {

	// UUID of the machine to get.
	Uuid *string `protobuf:"bytes,1,opt,name=uuid,proto3,oneof" json:"uuid,omitempty"`
	// Name of the machine to get.
	Name *string `protobuf:"bytes,2,opt,name=name,proto3,oneof" json:"name,omitempty"`
	// Partition of the machine to get.
	Partition *string `protobuf:"bytes,3,opt,name=partition,proto3,oneof" json:"partition,omitempty"`
	// Size of the machine to get.
	Size *string `protobuf:"bytes,4,opt,name=size,proto3,oneof" json:"size,omitempty"`
	// Rack of the machine to get.
	Rack *string `protobuf:"bytes,5,opt,name=rack,proto3,oneof" json:"rack,omitempty"`
	// Room of the machine to get.
	Room *string `protobuf:"bytes,6,opt,name=room,proto3,oneof" json:"room,omitempty"`
	// Labels for which this machine should get filtered.
	Labels *Labels `protobuf:"bytes,7,opt,name=labels,proto3,oneof" json:"labels,omitempty"`
	// Allocation specific machine queries.
	Allocation *MachineAllocationQuery `protobuf:"bytes,8,opt,name=allocation,proto3,oneof" json:"allocation,omitempty"`
	// Network specific machine queries.
	Network *MachineNetworkQuery `protobuf:"bytes,9,opt,name=network,proto3,oneof" json:"network,omitempty"`
	// Nic specific machine queries.
	Nic *MachineNicQuery `protobuf:"bytes,10,opt,name=nic,proto3,oneof" json:"nic,omitempty"`
	// Disk specific machine queries.
	Disk *MachineDiskQuery `protobuf:"bytes,11,opt,name=disk,proto3,oneof" json:"disk,omitempty"`
	// Bmc specific machine queries.
	Bmc *MachineBMCQuery `protobuf:"bytes,12,opt,name=bmc,proto3,oneof" json:"bmc,omitempty"`
	// Fru specific machine queries.
	Fru *MachineFRUQuery `protobuf:"bytes,13,opt,name=fru,proto3,oneof" json:"fru,omitempty"`
	// Hardware specific machine query.
	Hardware *MachineHardwareQuery `protobuf:"bytes,14,opt,name=hardware,proto3,oneof" json:"hardware,omitempty"`
	// State this machine has.
	State *MachineState `protobuf:"varint,15,opt,name=state,proto3,enum=metalstack.api.v2.MachineState,oneof" json:"state,omitempty"`
	// Waiting if set to true, only waiting machines are returned.
	// Only useful for admins.
	Waiting *bool `protobuf:"varint,16,opt,name=waiting,proto3,oneof" json:"waiting,omitempty"`
	// Preallocated if set to true, only machines which are preallocated are returned.
	// Only useful for admins.
	Preallocated *bool `protobuf:"varint,17,opt,name=preallocated,proto3,oneof" json:"preallocated,omitempty"`
	// NotAllocated if set to true, only machines which are not allocated are returned.
	// Only useful for admins.
	NotAllocated *bool `protobuf:"varint,18,opt,name=not_allocated,json=notAllocated,proto3,oneof" json:"not_allocated,omitempty"`
	// contains filtered or unexported fields
}

MachineQuery contains fields which can be specified to list specific machines.

func (*MachineQuery) Descriptor deprecated added in v0.0.9

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

Deprecated: Use MachineQuery.ProtoReflect.Descriptor instead.

func (*MachineQuery) GetAllocation added in v0.0.9

func (x *MachineQuery) GetAllocation() *MachineAllocationQuery

func (*MachineQuery) GetBmc added in v0.0.41

func (x *MachineQuery) GetBmc() *MachineBMCQuery

func (*MachineQuery) GetDisk added in v0.0.9

func (x *MachineQuery) GetDisk() *MachineDiskQuery

func (*MachineQuery) GetFru added in v0.0.9

func (x *MachineQuery) GetFru() *MachineFRUQuery

func (*MachineQuery) GetHardware added in v0.0.9

func (x *MachineQuery) GetHardware() *MachineHardwareQuery

func (*MachineQuery) GetLabels added in v0.0.9

func (x *MachineQuery) GetLabels() *Labels

func (*MachineQuery) GetName added in v0.0.9

func (x *MachineQuery) GetName() string

func (*MachineQuery) GetNetwork added in v0.0.9

func (x *MachineQuery) GetNetwork() *MachineNetworkQuery

func (*MachineQuery) GetNic added in v0.0.9

func (x *MachineQuery) GetNic() *MachineNicQuery

func (*MachineQuery) GetNotAllocated added in v0.0.56

func (x *MachineQuery) GetNotAllocated() bool

func (*MachineQuery) GetPartition added in v0.0.9

func (x *MachineQuery) GetPartition() string

func (*MachineQuery) GetPreallocated added in v0.0.56

func (x *MachineQuery) GetPreallocated() bool

func (*MachineQuery) GetRack added in v0.0.9

func (x *MachineQuery) GetRack() string

func (*MachineQuery) GetRoom added in v0.3.0

func (x *MachineQuery) GetRoom() string

func (*MachineQuery) GetSize added in v0.0.9

func (x *MachineQuery) GetSize() string

func (*MachineQuery) GetState added in v0.0.9

func (x *MachineQuery) GetState() MachineState

func (*MachineQuery) GetUuid added in v0.0.9

func (x *MachineQuery) GetUuid() string

func (*MachineQuery) GetWaiting added in v0.0.56

func (x *MachineQuery) GetWaiting() bool

func (*MachineQuery) ProtoMessage added in v0.0.9

func (*MachineQuery) ProtoMessage()

func (*MachineQuery) ProtoReflect added in v0.0.9

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

func (*MachineQuery) Reset added in v0.0.9

func (x *MachineQuery) Reset()

func (*MachineQuery) String added in v0.0.9

func (x *MachineQuery) String() string

type MachineRecentProvisioningEvents added in v0.0.9

type MachineRecentProvisioningEvents struct {

	// Events the log of recent machine provisioning events.
	Events []*MachineProvisioningEvent `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"`
	// LastEventTime the time where the last event was received.
	LastEventTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=last_event_time,json=lastEventTime,proto3" json:"last_event_time,omitempty"`
	// LastErrorEvent the last erroneous event received.
	LastErrorEvent *MachineProvisioningEvent `protobuf:"bytes,3,opt,name=last_error_event,json=lastErrorEvent,proto3" json:"last_error_event,omitempty"`
	// State can be either CrashLoop, FailedReclaim or something else.
	State MachineProvisioningEventState `protobuf:"varint,4,opt,name=state,proto3,enum=metalstack.api.v2.MachineProvisioningEventState" json:"state,omitempty"`
	// contains filtered or unexported fields
}

MachineRecentProvisioningEvents the recent provisioning events for this machine.

func (*MachineRecentProvisioningEvents) Descriptor deprecated added in v0.0.9

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

Deprecated: Use MachineRecentProvisioningEvents.ProtoReflect.Descriptor instead.

func (*MachineRecentProvisioningEvents) GetEvents added in v0.0.9

func (*MachineRecentProvisioningEvents) GetLastErrorEvent added in v0.0.9

func (*MachineRecentProvisioningEvents) GetLastEventTime added in v0.0.9

func (x *MachineRecentProvisioningEvents) GetLastEventTime() *timestamppb.Timestamp

func (*MachineRecentProvisioningEvents) GetState added in v0.0.9

func (*MachineRecentProvisioningEvents) ProtoMessage added in v0.0.9

func (*MachineRecentProvisioningEvents) ProtoMessage()

func (*MachineRecentProvisioningEvents) ProtoReflect added in v0.0.9

func (*MachineRecentProvisioningEvents) Reset added in v0.0.9

func (*MachineRecentProvisioningEvents) String added in v0.0.9

type MachineRole added in v0.0.9

type MachineRole int32

MachineRole specifies what role a microservice needs to call this machine service.

const (
	// MACHINE_ROLE_UNSPECIFIED is not specified.
	MachineRole_MACHINE_ROLE_UNSPECIFIED MachineRole = 0
	// MACHINE_ROLE_EDITOR a microservice needs at least editor role to call this method.
	MachineRole_MACHINE_ROLE_EDITOR MachineRole = 1
	// MACHINE_ROLE_VIEWER a microservice needs at least viewer role to call this method.
	MachineRole_MACHINE_ROLE_VIEWER MachineRole = 2
)

func (MachineRole) Descriptor added in v0.0.9

func (MachineRole) Enum added in v0.0.9

func (x MachineRole) Enum() *MachineRole

func (MachineRole) EnumDescriptor deprecated added in v0.0.9

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

Deprecated: Use MachineRole.Descriptor instead.

func (MachineRole) Number added in v0.0.9

func (x MachineRole) Number() protoreflect.EnumNumber

func (MachineRole) String added in v0.0.9

func (x MachineRole) String() string

func (MachineRole) Type added in v0.0.9

type MachineServiceBMCCommandRequest added in v0.0.41

type MachineServiceBMCCommandRequest struct {

	// UUID of the machine to send the command to.
	Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	// Project of the machine.
	Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
	// Command to send to the bmc of the machine.
	Command MachineBMCCommand `protobuf:"varint,3,opt,name=command,proto3,enum=metalstack.api.v2.MachineBMCCommand" json:"command,omitempty"`
	// contains filtered or unexported fields
}

MachineServiceBMCCommandRequest is the request payload for a machine bmc command.

func (*MachineServiceBMCCommandRequest) Descriptor deprecated added in v0.0.41

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

Deprecated: Use MachineServiceBMCCommandRequest.ProtoReflect.Descriptor instead.

func (*MachineServiceBMCCommandRequest) GetCommand added in v0.0.41

func (*MachineServiceBMCCommandRequest) GetProject added in v0.0.41

func (x *MachineServiceBMCCommandRequest) GetProject() string

func (*MachineServiceBMCCommandRequest) GetUuid added in v0.0.41

func (*MachineServiceBMCCommandRequest) ProtoMessage added in v0.0.41

func (*MachineServiceBMCCommandRequest) ProtoMessage()

func (*MachineServiceBMCCommandRequest) ProtoReflect added in v0.0.41

func (*MachineServiceBMCCommandRequest) Reset added in v0.0.41

func (*MachineServiceBMCCommandRequest) String added in v0.0.41

type MachineServiceBMCCommandResponse added in v0.0.41

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

MachineServiceBMCCommandResponse is the response payload for a machine bmc command.

func (*MachineServiceBMCCommandResponse) Descriptor deprecated added in v0.0.41

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

Deprecated: Use MachineServiceBMCCommandResponse.ProtoReflect.Descriptor instead.

func (*MachineServiceBMCCommandResponse) ProtoMessage added in v0.0.41

func (*MachineServiceBMCCommandResponse) ProtoMessage()

func (*MachineServiceBMCCommandResponse) ProtoReflect added in v0.0.41

func (*MachineServiceBMCCommandResponse) Reset added in v0.0.41

func (*MachineServiceBMCCommandResponse) String added in v0.0.41

type MachineServiceCreateRequest added in v0.0.9

type MachineServiceCreateRequest struct {

	// Project of the machine.
	Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
	// UUID if this field is set, this specific machine will be allocated if it is not in available state and not currently allocated.
	// this field takes precedence over size and partition.
	// Can only be used with ADMIN_ROLE_EDITOR.
	Uuid *string `protobuf:"bytes,2,opt,name=uuid,proto3,oneof" json:"uuid,omitempty"`
	// Name of this machine.
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// Description for this machine.
	Description *string `protobuf:"bytes,4,opt,name=description,proto3,oneof" json:"description,omitempty"`
	// Hostname the hostname for the allocated machine (defaults to metal).
	Hostname *string `protobuf:"bytes,5,opt,name=hostname,proto3,oneof" json:"hostname,omitempty"`
	// Partition the partition id to assign this machine to, must be omitted if uuid is given.
	Partition *string `protobuf:"bytes,6,opt,name=partition,proto3,oneof" json:"partition,omitempty"`
	// Size of the machine to create, must be omitted if uuid is given.
	Size *string `protobuf:"bytes,7,opt,name=size,proto3,oneof" json:"size,omitempty"`
	// Image which should be installed on this machine.
	// The image can be specified either in the fully qualified form, e.g. including os, major, minor and patch
	// - debian-13.0.2026040
	// - or in a simplified form which omits the patch version.
	// - debian-13.
	// If the fully qualified form is specified, exactly this image is taken regardless of the image classification.
	// If the short form is given, only the most recent images which has image classification supported is used.
	Image string `protobuf:"bytes,8,opt,name=image,proto3" json:"image,omitempty"`
	// FilesystemLayout which should be applied for the operating system installation.
	// Is defaulted by a lookup at the available fsls for this size and image.
	// Can be specified to test new fsls during development of fsls.
	FilesystemLayout *string `protobuf:"bytes,9,opt,name=filesystem_layout,json=filesystemLayout,proto3,oneof" json:"filesystem_layout,omitempty"`
	// SSHPublicKeys defines the ssh public key to be installed on the machine to access it via ssh.
	SshPublicKeys []string `protobuf:"bytes,10,rep,name=ssh_public_keys,json=sshPublicKeys,proto3" json:"ssh_public_keys,omitempty"`
	// Userdata contains instructions required to bootstrap the machine.
	// AWS limits the max userdata size to 16k, lets allow twice as much.
	// Must be base64 encoded.
	Userdata *string `protobuf:"bytes,11,opt,name=userdata,proto3,oneof" json:"userdata,omitempty"`
	// Labels to be attached to this machine allocation.
	Labels *Labels `protobuf:"bytes,12,opt,name=labels,proto3" json:"labels,omitempty"`
	// Networks the networks that this machine will be placed in.
	Networks []*MachineAllocationNetwork `protobuf:"bytes,13,rep,name=networks,proto3" json:"networks,omitempty"`
	// PlacementLabels by default machines are spread across the racks inside a partition for every project.
	// if placement labels are provided, the machine candidate has an additional anti-affinity to other machines having the same labels.
	PlacementLabels *Labels `protobuf:"bytes,14,opt,name=placement_labels,json=placementLabels,proto3" json:"placement_labels,omitempty"`
	// DNSServer the dns servers used for the machine.
	DnsServers []*DNSServer `protobuf:"bytes,15,rep,name=dns_servers,json=dnsServers,proto3" json:"dns_servers,omitempty"`
	// NTPServer the ntp servers used for the machine.
	NtpServers []*NTPServer `protobuf:"bytes,16,rep,name=ntp_servers,json=ntpServers,proto3" json:"ntp_servers,omitempty"`
	// AllocationType of this machine.
	AllocationType MachineAllocationType `` /* 150-byte string literal not displayed */
	// FirewallSpec provides firewall specific parameters if allocationType is firewall.
	FirewallSpec *FirewallSpec `protobuf:"bytes,18,opt,name=firewall_spec,json=firewallSpec,proto3" json:"firewall_spec,omitempty"`
	// contains filtered or unexported fields
}

MachineServiceCreateRequest is the request payload for a machine create request.

func (*MachineServiceCreateRequest) Descriptor deprecated added in v0.0.9

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

Deprecated: Use MachineServiceCreateRequest.ProtoReflect.Descriptor instead.

func (*MachineServiceCreateRequest) GetAllocationType added in v0.0.10

func (x *MachineServiceCreateRequest) GetAllocationType() MachineAllocationType

func (*MachineServiceCreateRequest) GetDescription added in v0.0.9

func (x *MachineServiceCreateRequest) GetDescription() string

func (*MachineServiceCreateRequest) GetDnsServers added in v0.0.54

func (x *MachineServiceCreateRequest) GetDnsServers() []*DNSServer

func (*MachineServiceCreateRequest) GetFilesystemLayout added in v0.0.9

func (x *MachineServiceCreateRequest) GetFilesystemLayout() string

func (*MachineServiceCreateRequest) GetFirewallSpec added in v0.0.14

func (x *MachineServiceCreateRequest) GetFirewallSpec() *FirewallSpec

func (*MachineServiceCreateRequest) GetHostname added in v0.0.9

func (x *MachineServiceCreateRequest) GetHostname() string

func (*MachineServiceCreateRequest) GetImage added in v0.0.9

func (x *MachineServiceCreateRequest) GetImage() string

func (*MachineServiceCreateRequest) GetLabels added in v0.0.9

func (x *MachineServiceCreateRequest) GetLabels() *Labels

func (*MachineServiceCreateRequest) GetName added in v0.0.9

func (x *MachineServiceCreateRequest) GetName() string

func (*MachineServiceCreateRequest) GetNetworks added in v0.0.9

func (*MachineServiceCreateRequest) GetNtpServers added in v0.0.54

func (x *MachineServiceCreateRequest) GetNtpServers() []*NTPServer

func (*MachineServiceCreateRequest) GetPartition added in v0.0.9

func (x *MachineServiceCreateRequest) GetPartition() string

func (*MachineServiceCreateRequest) GetPlacementLabels added in v0.5.0

func (x *MachineServiceCreateRequest) GetPlacementLabels() *Labels

func (*MachineServiceCreateRequest) GetProject added in v0.0.9

func (x *MachineServiceCreateRequest) GetProject() string

func (*MachineServiceCreateRequest) GetSize added in v0.0.9

func (x *MachineServiceCreateRequest) GetSize() string

func (*MachineServiceCreateRequest) GetSshPublicKeys added in v0.0.9

func (x *MachineServiceCreateRequest) GetSshPublicKeys() []string

func (*MachineServiceCreateRequest) GetUserdata added in v0.0.9

func (x *MachineServiceCreateRequest) GetUserdata() string

func (*MachineServiceCreateRequest) GetUuid added in v0.0.9

func (x *MachineServiceCreateRequest) GetUuid() string

func (*MachineServiceCreateRequest) ProtoMessage added in v0.0.9

func (*MachineServiceCreateRequest) ProtoMessage()

func (*MachineServiceCreateRequest) ProtoReflect added in v0.0.9

func (*MachineServiceCreateRequest) Reset added in v0.0.9

func (x *MachineServiceCreateRequest) Reset()

func (*MachineServiceCreateRequest) String added in v0.0.9

func (x *MachineServiceCreateRequest) String() string

type MachineServiceCreateResponse added in v0.0.9

type MachineServiceCreateResponse struct {

	// Machine which was created.
	Machine *Machine `protobuf:"bytes,1,opt,name=machine,proto3" json:"machine,omitempty"`
	// contains filtered or unexported fields
}

MachineServiceCreateResponse is the response payload for a machine create request.

func (*MachineServiceCreateResponse) Descriptor deprecated added in v0.0.9

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

Deprecated: Use MachineServiceCreateResponse.ProtoReflect.Descriptor instead.

func (*MachineServiceCreateResponse) GetMachine added in v0.0.9

func (x *MachineServiceCreateResponse) GetMachine() *Machine

func (*MachineServiceCreateResponse) ProtoMessage added in v0.0.9

func (*MachineServiceCreateResponse) ProtoMessage()

func (*MachineServiceCreateResponse) ProtoReflect added in v0.0.9

func (*MachineServiceCreateResponse) Reset added in v0.0.9

func (x *MachineServiceCreateResponse) Reset()

func (*MachineServiceCreateResponse) String added in v0.0.9

type MachineServiceDeleteRequest added in v0.0.9

type MachineServiceDeleteRequest struct {

	// UUID of the machine to delete.
	Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	// Project of the machine.
	Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
	// contains filtered or unexported fields
}

MachineServiceDeleteRequest is the request payload for a machine delete request.

func (*MachineServiceDeleteRequest) Descriptor deprecated added in v0.0.9

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

Deprecated: Use MachineServiceDeleteRequest.ProtoReflect.Descriptor instead.

func (*MachineServiceDeleteRequest) GetProject added in v0.0.9

func (x *MachineServiceDeleteRequest) GetProject() string

func (*MachineServiceDeleteRequest) GetUuid added in v0.0.9

func (x *MachineServiceDeleteRequest) GetUuid() string

func (*MachineServiceDeleteRequest) ProtoMessage added in v0.0.9

func (*MachineServiceDeleteRequest) ProtoMessage()

func (*MachineServiceDeleteRequest) ProtoReflect added in v0.0.9

func (*MachineServiceDeleteRequest) Reset added in v0.0.9

func (x *MachineServiceDeleteRequest) Reset()

func (*MachineServiceDeleteRequest) String added in v0.0.9

func (x *MachineServiceDeleteRequest) String() string

type MachineServiceDeleteResponse added in v0.0.9

type MachineServiceDeleteResponse struct {

	// Machine which was deleted.
	Machine *Machine `protobuf:"bytes,1,opt,name=machine,proto3" json:"machine,omitempty"`
	// contains filtered or unexported fields
}

MachineServiceDeleteResponse is the response payload for a machine delete request.

func (*MachineServiceDeleteResponse) Descriptor deprecated added in v0.0.9

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

Deprecated: Use MachineServiceDeleteResponse.ProtoReflect.Descriptor instead.

func (*MachineServiceDeleteResponse) GetMachine added in v0.0.9

func (x *MachineServiceDeleteResponse) GetMachine() *Machine

func (*MachineServiceDeleteResponse) ProtoMessage added in v0.0.9

func (*MachineServiceDeleteResponse) ProtoMessage()

func (*MachineServiceDeleteResponse) ProtoReflect added in v0.0.9

func (*MachineServiceDeleteResponse) Reset added in v0.0.9

func (x *MachineServiceDeleteResponse) Reset()

func (*MachineServiceDeleteResponse) String added in v0.0.9

type MachineServiceGetBMCRequest added in v0.0.41

type MachineServiceGetBMCRequest struct {

	// UUID of the machine to get.
	Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	// Project of the machine.
	Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
	// contains filtered or unexported fields
}

MachineServiceGetBMCRequest is the request payload for a machine getbmc request.

func (*MachineServiceGetBMCRequest) Descriptor deprecated added in v0.0.41

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

Deprecated: Use MachineServiceGetBMCRequest.ProtoReflect.Descriptor instead.

func (*MachineServiceGetBMCRequest) GetProject added in v0.0.41

func (x *MachineServiceGetBMCRequest) GetProject() string

func (*MachineServiceGetBMCRequest) GetUuid added in v0.0.41

func (x *MachineServiceGetBMCRequest) GetUuid() string

func (*MachineServiceGetBMCRequest) ProtoMessage added in v0.0.41

func (*MachineServiceGetBMCRequest) ProtoMessage()

func (*MachineServiceGetBMCRequest) ProtoReflect added in v0.0.41

func (*MachineServiceGetBMCRequest) Reset added in v0.0.41

func (x *MachineServiceGetBMCRequest) Reset()

func (*MachineServiceGetBMCRequest) String added in v0.0.41

func (x *MachineServiceGetBMCRequest) String() string

type MachineServiceGetBMCResponse added in v0.0.41

type MachineServiceGetBMCResponse struct {

	// BMCDetails contains the BMC details of this machine.
	BmcDetails *MachineBMCDetails `protobuf:"bytes,6,opt,name=bmc_details,json=bmcDetails,proto3" json:"bmc_details,omitempty"`
	// contains filtered or unexported fields
}

MachineServiceGetBMCResponse is the response payload for a machine getbmc request.

func (*MachineServiceGetBMCResponse) Descriptor deprecated added in v0.0.41

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

Deprecated: Use MachineServiceGetBMCResponse.ProtoReflect.Descriptor instead.

func (*MachineServiceGetBMCResponse) GetBmcDetails added in v0.5.0

func (x *MachineServiceGetBMCResponse) GetBmcDetails() *MachineBMCDetails

func (*MachineServiceGetBMCResponse) ProtoMessage added in v0.0.41

func (*MachineServiceGetBMCResponse) ProtoMessage()

func (*MachineServiceGetBMCResponse) ProtoReflect added in v0.0.41

func (*MachineServiceGetBMCResponse) Reset added in v0.0.41

func (x *MachineServiceGetBMCResponse) Reset()

func (*MachineServiceGetBMCResponse) String added in v0.0.41

type MachineServiceGetRequest added in v0.0.9

type MachineServiceGetRequest struct {

	// UUID of the machine to get.
	Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	// Project of the machine.
	Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
	// contains filtered or unexported fields
}

MachineServiceGetRequest is the request payload for a machine get request.

func (*MachineServiceGetRequest) Descriptor deprecated added in v0.0.9

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

Deprecated: Use MachineServiceGetRequest.ProtoReflect.Descriptor instead.

func (*MachineServiceGetRequest) GetProject added in v0.0.9

func (x *MachineServiceGetRequest) GetProject() string

func (*MachineServiceGetRequest) GetUuid added in v0.0.9

func (x *MachineServiceGetRequest) GetUuid() string

func (*MachineServiceGetRequest) ProtoMessage added in v0.0.9

func (*MachineServiceGetRequest) ProtoMessage()

func (*MachineServiceGetRequest) ProtoReflect added in v0.0.9

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

func (*MachineServiceGetRequest) Reset added in v0.0.9

func (x *MachineServiceGetRequest) Reset()

func (*MachineServiceGetRequest) String added in v0.0.9

func (x *MachineServiceGetRequest) String() string

type MachineServiceGetResponse added in v0.0.9

type MachineServiceGetResponse struct {

	// Machine is the machine requested.
	Machine *Machine `protobuf:"bytes,1,opt,name=machine,proto3" json:"machine,omitempty"`
	// contains filtered or unexported fields
}

MachineServiceGetResponse is the response payload for a machine get request.

func (*MachineServiceGetResponse) Descriptor deprecated added in v0.0.9

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

Deprecated: Use MachineServiceGetResponse.ProtoReflect.Descriptor instead.

func (*MachineServiceGetResponse) GetMachine added in v0.0.9

func (x *MachineServiceGetResponse) GetMachine() *Machine

func (*MachineServiceGetResponse) ProtoMessage added in v0.0.9

func (*MachineServiceGetResponse) ProtoMessage()

func (*MachineServiceGetResponse) ProtoReflect added in v0.0.9

func (*MachineServiceGetResponse) Reset added in v0.0.9

func (x *MachineServiceGetResponse) Reset()

func (*MachineServiceGetResponse) String added in v0.0.9

func (x *MachineServiceGetResponse) String() string

type MachineServiceListRequest added in v0.0.9

type MachineServiceListRequest struct {

	// Project of the machines to list.
	Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
	// Query to list one ore more machines.
	Query *MachineQuery `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"`
	// contains filtered or unexported fields
}

MachineServiceListRequest is the request payload for a machine list request.

func (*MachineServiceListRequest) Descriptor deprecated added in v0.0.9

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

Deprecated: Use MachineServiceListRequest.ProtoReflect.Descriptor instead.

func (*MachineServiceListRequest) GetProject added in v0.0.9

func (x *MachineServiceListRequest) GetProject() string

func (*MachineServiceListRequest) GetQuery added in v0.0.9

func (x *MachineServiceListRequest) GetQuery() *MachineQuery

func (*MachineServiceListRequest) ProtoMessage added in v0.0.9

func (*MachineServiceListRequest) ProtoMessage()

func (*MachineServiceListRequest) ProtoReflect added in v0.0.9

func (*MachineServiceListRequest) Reset added in v0.0.9

func (x *MachineServiceListRequest) Reset()

func (*MachineServiceListRequest) String added in v0.0.9

func (x *MachineServiceListRequest) String() string

type MachineServiceListResponse added in v0.0.9

type MachineServiceListResponse struct {

	// Machines are the machines requested by a list request.
	Machines []*Machine `protobuf:"bytes,1,rep,name=machines,proto3" json:"machines,omitempty"`
	// contains filtered or unexported fields
}

MachineServiceListResponse is the response payload for a machine list request.

func (*MachineServiceListResponse) Descriptor deprecated added in v0.0.9

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

Deprecated: Use MachineServiceListResponse.ProtoReflect.Descriptor instead.

func (*MachineServiceListResponse) GetMachines added in v0.0.9

func (x *MachineServiceListResponse) GetMachines() []*Machine

func (*MachineServiceListResponse) ProtoMessage added in v0.0.9

func (*MachineServiceListResponse) ProtoMessage()

func (*MachineServiceListResponse) ProtoReflect added in v0.0.9

func (*MachineServiceListResponse) Reset added in v0.0.9

func (x *MachineServiceListResponse) Reset()

func (*MachineServiceListResponse) String added in v0.0.9

func (x *MachineServiceListResponse) String() string

type MachineServiceUpdateRequest added in v0.0.9

type MachineServiceUpdateRequest struct {

	// UUID of the machine to modify.
	Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	// UpdateMeta contains the timestamp and strategy to be used in this update request.
	UpdateMeta *UpdateMeta `protobuf:"bytes,2,opt,name=update_meta,json=updateMeta,proto3" json:"update_meta,omitempty"`
	// Project of the machine.
	Project string `protobuf:"bytes,3,opt,name=project,proto3" json:"project,omitempty"`
	// Description of this machine allocation.
	Description *string `protobuf:"bytes,4,opt,name=description,proto3,oneof" json:"description,omitempty"`
	// Labels to update on this machine allocation.
	Labels *UpdateLabels `protobuf:"bytes,5,opt,name=labels,proto3,oneof" json:"labels,omitempty"`
	// SSHPublicKeys which should be update of this machine allocation.
	SshPublicKeys []string `protobuf:"bytes,6,rep,name=ssh_public_keys,json=sshPublicKeys,proto3" json:"ssh_public_keys,omitempty"`
	// contains filtered or unexported fields
}

MachineServiceUpdateRequest is the request payload for a machine update request.

func (*MachineServiceUpdateRequest) Descriptor deprecated added in v0.0.9

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

Deprecated: Use MachineServiceUpdateRequest.ProtoReflect.Descriptor instead.

func (*MachineServiceUpdateRequest) GetDescription added in v0.0.9

func (x *MachineServiceUpdateRequest) GetDescription() string

func (*MachineServiceUpdateRequest) GetLabels added in v0.0.9

func (x *MachineServiceUpdateRequest) GetLabels() *UpdateLabels

func (*MachineServiceUpdateRequest) GetProject added in v0.0.9

func (x *MachineServiceUpdateRequest) GetProject() string

func (*MachineServiceUpdateRequest) GetSshPublicKeys added in v0.0.9

func (x *MachineServiceUpdateRequest) GetSshPublicKeys() []string

func (*MachineServiceUpdateRequest) GetUpdateMeta added in v0.0.21

func (x *MachineServiceUpdateRequest) GetUpdateMeta() *UpdateMeta

func (*MachineServiceUpdateRequest) GetUuid added in v0.0.9

func (x *MachineServiceUpdateRequest) GetUuid() string

func (*MachineServiceUpdateRequest) ProtoMessage added in v0.0.9

func (*MachineServiceUpdateRequest) ProtoMessage()

func (*MachineServiceUpdateRequest) ProtoReflect added in v0.0.9

func (*MachineServiceUpdateRequest) Reset added in v0.0.9

func (x *MachineServiceUpdateRequest) Reset()

func (*MachineServiceUpdateRequest) String added in v0.0.9

func (x *MachineServiceUpdateRequest) String() string

type MachineServiceUpdateResponse added in v0.0.9

type MachineServiceUpdateResponse struct {

	// Machine which was updated.
	Machine *Machine `protobuf:"bytes,1,opt,name=machine,proto3" json:"machine,omitempty"`
	// contains filtered or unexported fields
}

MachineServiceUpdateResponse is the response payload for a machine update request.

func (*MachineServiceUpdateResponse) Descriptor deprecated added in v0.0.9

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

Deprecated: Use MachineServiceUpdateResponse.ProtoReflect.Descriptor instead.

func (*MachineServiceUpdateResponse) GetMachine added in v0.0.9

func (x *MachineServiceUpdateResponse) GetMachine() *Machine

func (*MachineServiceUpdateResponse) ProtoMessage added in v0.0.9

func (*MachineServiceUpdateResponse) ProtoMessage()

func (*MachineServiceUpdateResponse) ProtoReflect added in v0.0.9

func (*MachineServiceUpdateResponse) Reset added in v0.0.9

func (x *MachineServiceUpdateResponse) Reset()

func (*MachineServiceUpdateResponse) String added in v0.0.9

type MachineState added in v0.0.9

type MachineState int32

MachineState defines if the machine was locked or reserved from a operator.

const (
	// MACHINE_STATE_UNSPECIFIED is not specified.
	MachineState_MACHINE_STATE_UNSPECIFIED MachineState = 0
	// MACHINE_STATE_TAINTED this machine is tainted, i.e. this machine is not considered during random machine allocation, but still by specifying the uui.
	MachineState_MACHINE_STATE_TAINTED MachineState = 1
	// MACHINE_STATE_LOCKED this machine is locked, i.e. this machine cannot be allocated or delete.
	MachineState_MACHINE_STATE_LOCKED MachineState = 2
	// MACHINE_STATE_AVAILABLE this machine is available for all.
	MachineState_MACHINE_STATE_AVAILABLE MachineState = 3
)

func (MachineState) Descriptor added in v0.0.9

func (MachineState) Enum added in v0.0.9

func (x MachineState) Enum() *MachineState

func (MachineState) EnumDescriptor deprecated added in v0.0.9

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

Deprecated: Use MachineState.Descriptor instead.

func (MachineState) Number added in v0.0.9

func (MachineState) String added in v0.0.9

func (x MachineState) String() string

func (MachineState) Type added in v0.0.9

type MachineStatus added in v0.0.9

type MachineStatus struct {

	// Condition describes the availability.
	Condition *MachineCondition `protobuf:"bytes,1,opt,name=condition,proto3" json:"condition,omitempty"`
	// LEDState indicates the state of the indicator LED on this machine.
	LedState *MachineChassisIdentifyLEDState `protobuf:"bytes,2,opt,name=led_state,json=ledState,proto3" json:"led_state,omitempty"`
	// Liveliness of this machine.
	Liveliness MachineLiveliness `protobuf:"varint,3,opt,name=liveliness,proto3,enum=metalstack.api.v2.MachineLiveliness" json:"liveliness,omitempty"`
	// MetalHammerVersion the version of metal hammer which put the machine in waiting state.
	MetalHammerVersion string `protobuf:"bytes,4,opt,name=metal_hammer_version,json=metalHammerVersion,proto3" json:"metal_hammer_version,omitempty"`
	// contains filtered or unexported fields
}

MachineStatus contains several status details related to this machine.

func (*MachineStatus) Descriptor deprecated added in v0.0.9

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

Deprecated: Use MachineStatus.ProtoReflect.Descriptor instead.

func (*MachineStatus) GetCondition added in v0.0.9

func (x *MachineStatus) GetCondition() *MachineCondition

func (*MachineStatus) GetLedState added in v0.0.9

func (*MachineStatus) GetLiveliness added in v0.0.9

func (x *MachineStatus) GetLiveliness() MachineLiveliness

func (*MachineStatus) GetMetalHammerVersion added in v0.0.9

func (x *MachineStatus) GetMetalHammerVersion() string

func (*MachineStatus) ProtoMessage added in v0.0.9

func (*MachineStatus) ProtoMessage()

func (*MachineStatus) ProtoReflect added in v0.0.9

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

func (*MachineStatus) Reset added in v0.0.9

func (x *MachineStatus) Reset()

func (*MachineStatus) String added in v0.0.9

func (x *MachineStatus) String() string

type MachineVPN added in v0.0.9

type MachineVPN struct {

	// Address of VPN control plane.
	ControlPlaneAddress string `protobuf:"bytes,1,opt,name=control_plane_address,json=controlPlaneAddress,proto3" json:"control_plane_address,omitempty"`
	// Auth key used to connect to VPN.
	AuthKey string `protobuf:"bytes,2,opt,name=auth_key,json=authKey,proto3" json:"auth_key,omitempty"`
	// Connected indicate if this machine is connected to the VPN.
	Connected bool `protobuf:"varint,3,opt,name=connected,proto3" json:"connected,omitempty"`
	// IPs of the machine connected to the vpn.
	Ips []string `protobuf:"bytes,4,rep,name=ips,proto3" json:"ips,omitempty"`
	// contains filtered or unexported fields
}

MachineVPN contains configuration data for the VPN connection.

func (*MachineVPN) Descriptor deprecated added in v0.0.9

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

Deprecated: Use MachineVPN.ProtoReflect.Descriptor instead.

func (*MachineVPN) GetAuthKey added in v0.0.9

func (x *MachineVPN) GetAuthKey() string

func (*MachineVPN) GetConnected added in v0.0.9

func (x *MachineVPN) GetConnected() bool

func (*MachineVPN) GetControlPlaneAddress added in v0.0.9

func (x *MachineVPN) GetControlPlaneAddress() string

func (*MachineVPN) GetIps added in v0.0.37

func (x *MachineVPN) GetIps() []string

func (*MachineVPN) ProtoMessage added in v0.0.9

func (*MachineVPN) ProtoMessage()

func (*MachineVPN) ProtoReflect added in v0.0.9

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

func (*MachineVPN) Reset added in v0.0.9

func (x *MachineVPN) Reset()

func (*MachineVPN) String added in v0.0.9

func (x *MachineVPN) String() string

type Meta

type Meta struct {

	// Tags on this entity.
	Labels *Labels `protobuf:"bytes,1,opt,name=labels,proto3,oneof" json:"labels,omitempty"`
	// CreatedAt is the date when this entity was created.
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// UpdatedAt is the date when this entity was updated.
	// must be part of the update request to ensure optimistic locking.
	UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// Generation identifies how often this entity was modified since creation.
	Generation uint64 `protobuf:"varint,4,opt,name=generation,proto3" json:"generation,omitempty"`
	// DeletionTaskID is an optional id that is set to the meta after triggering the deletion.
	// This can be used by admins to track the deletion progress if necessary.
	DeletionTaskId *string `protobuf:"bytes,5,opt,name=deletion_task_id,json=deletionTaskId,proto3,oneof" json:"deletion_task_id,omitempty"`
	// contains filtered or unexported fields
}

Meta of a message.

func (*Meta) Descriptor deprecated

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

Deprecated: Use Meta.ProtoReflect.Descriptor instead.

func (*Meta) GetCreatedAt

func (x *Meta) GetCreatedAt() *timestamppb.Timestamp

func (*Meta) GetDeletionTaskId added in v0.1.2

func (x *Meta) GetDeletionTaskId() string

func (*Meta) GetGeneration

func (x *Meta) GetGeneration() uint64

func (*Meta) GetLabels

func (x *Meta) GetLabels() *Labels

func (*Meta) GetUpdatedAt

func (x *Meta) GetUpdatedAt() *timestamppb.Timestamp

func (*Meta) ProtoMessage

func (*Meta) ProtoMessage()

func (*Meta) ProtoReflect

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

func (*Meta) Reset

func (x *Meta) Reset()

func (*Meta) String

func (x *Meta) String() string

type MetalCPU added in v0.0.9

type MetalCPU struct {

	// Vendor of this cpu.
	Vendor string `protobuf:"bytes,1,opt,name=vendor,proto3" json:"vendor,omitempty"`
	// Model of this cpu.
	Model string `protobuf:"bytes,2,opt,name=model,proto3" json:"model,omitempty"`
	// Cores of this cpu.
	Cores uint32 `protobuf:"varint,3,opt,name=cores,proto3" json:"cores,omitempty"`
	// Threads of this cpu.
	Threads uint32 `protobuf:"varint,4,opt,name=threads,proto3" json:"threads,omitempty"`
	// contains filtered or unexported fields
}

MetalCPU contains details of a cpu in this machine.

func (*MetalCPU) Descriptor deprecated added in v0.0.9

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

Deprecated: Use MetalCPU.ProtoReflect.Descriptor instead.

func (*MetalCPU) GetCores added in v0.0.9

func (x *MetalCPU) GetCores() uint32

func (*MetalCPU) GetModel added in v0.0.9

func (x *MetalCPU) GetModel() string

func (*MetalCPU) GetThreads added in v0.0.9

func (x *MetalCPU) GetThreads() uint32

func (*MetalCPU) GetVendor added in v0.0.9

func (x *MetalCPU) GetVendor() string

func (*MetalCPU) ProtoMessage added in v0.0.9

func (*MetalCPU) ProtoMessage()

func (*MetalCPU) ProtoReflect added in v0.0.9

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

func (*MetalCPU) Reset added in v0.0.9

func (x *MetalCPU) Reset()

func (*MetalCPU) String added in v0.0.9

func (x *MetalCPU) String() string

type MetalGPU added in v0.0.9

type MetalGPU struct {

	// Vendor of this gpu.
	Vendor string `protobuf:"bytes,1,opt,name=vendor,proto3" json:"vendor,omitempty"`
	// Model of this gpu.
	Model string `protobuf:"bytes,2,opt,name=model,proto3" json:"model,omitempty"`
	// contains filtered or unexported fields
}

MetalGPU contains details of a gpu in this machine.

func (*MetalGPU) Descriptor deprecated added in v0.0.9

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

Deprecated: Use MetalGPU.ProtoReflect.Descriptor instead.

func (*MetalGPU) GetModel added in v0.0.9

func (x *MetalGPU) GetModel() string

func (*MetalGPU) GetVendor added in v0.0.9

func (x *MetalGPU) GetVendor() string

func (*MetalGPU) ProtoMessage added in v0.0.9

func (*MetalGPU) ProtoMessage()

func (*MetalGPU) ProtoReflect added in v0.0.9

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

func (*MetalGPU) Reset added in v0.0.9

func (x *MetalGPU) Reset()

func (*MetalGPU) String added in v0.0.9

func (x *MetalGPU) String() string

type MethodPermission

type MethodPermission struct {

	// Subject may be either the project or the tenant for which the methods should be allowed.
	//
	// Asterisk (*) can be specified to match any subject.
	// Empty string ("") can be specified for requests that do not require a subject, e.g. partition list.
	// Otherwise either a projectid or a tenant login should be specified.
	Subject string `protobuf:"bytes,1,opt,name=subject,proto3" json:"subject,omitempty"`
	// Methods which should be accessible.
	Methods []string `protobuf:"bytes,2,rep,name=methods,proto3" json:"methods,omitempty"`
	// contains filtered or unexported fields
}

MethodPermission is a mapping from a subject/project to a service method.

func (*MethodPermission) Descriptor deprecated

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

Deprecated: Use MethodPermission.ProtoReflect.Descriptor instead.

func (*MethodPermission) GetMethods

func (x *MethodPermission) GetMethods() []string

func (*MethodPermission) GetSubject

func (x *MethodPermission) GetSubject() string

func (*MethodPermission) ProtoMessage

func (*MethodPermission) ProtoMessage()

func (*MethodPermission) ProtoReflect

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

func (*MethodPermission) Reset

func (x *MethodPermission) Reset()

func (*MethodPermission) String

func (x *MethodPermission) String() string

type MethodServiceListRequest

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

MethodServiceListRequest is the request payload for listing all public methods.

func (*MethodServiceListRequest) Descriptor deprecated

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

Deprecated: Use MethodServiceListRequest.ProtoReflect.Descriptor instead.

func (*MethodServiceListRequest) ProtoMessage

func (*MethodServiceListRequest) ProtoMessage()

func (*MethodServiceListRequest) ProtoReflect

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

func (*MethodServiceListRequest) Reset

func (x *MethodServiceListRequest) Reset()

func (*MethodServiceListRequest) String

func (x *MethodServiceListRequest) String() string

type MethodServiceListResponse

type MethodServiceListResponse struct {

	// Methods is a list of methods public callable.
	Methods []string `protobuf:"bytes,1,rep,name=methods,proto3" json:"methods,omitempty"`
	// contains filtered or unexported fields
}

MethodServiceListResponse is the response payload for listing all public methods.

func (*MethodServiceListResponse) Descriptor deprecated

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

Deprecated: Use MethodServiceListResponse.ProtoReflect.Descriptor instead.

func (*MethodServiceListResponse) GetMethods

func (x *MethodServiceListResponse) GetMethods() []string

func (*MethodServiceListResponse) ProtoMessage

func (*MethodServiceListResponse) ProtoMessage()

func (*MethodServiceListResponse) ProtoReflect

func (*MethodServiceListResponse) Reset

func (x *MethodServiceListResponse) Reset()

func (*MethodServiceListResponse) String

func (x *MethodServiceListResponse) String() string

type MethodServiceTokenScopedListRequest

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

MethodServiceTokenScopedListRequest is the request payload for listing all methods callable with the token present in the request.

func (*MethodServiceTokenScopedListRequest) Descriptor deprecated

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

Deprecated: Use MethodServiceTokenScopedListRequest.ProtoReflect.Descriptor instead.

func (*MethodServiceTokenScopedListRequest) ProtoMessage

func (*MethodServiceTokenScopedListRequest) ProtoMessage()

func (*MethodServiceTokenScopedListRequest) ProtoReflect

func (*MethodServiceTokenScopedListRequest) Reset

func (*MethodServiceTokenScopedListRequest) String

type MethodServiceTokenScopedListResponse

type MethodServiceTokenScopedListResponse struct {

	// Permissions contains a list of methods which can be called.
	Permissions []*MethodPermission `protobuf:"bytes,1,rep,name=permissions,proto3" json:"permissions,omitempty"`
	// ProjectRoles associates a project ID with the corresponding role of the token owner.
	ProjectRoles map[string]ProjectRole `` /* 207-byte string literal not displayed */
	// TenantRoles associates a tenant ID with the corresponding role of the token owner.
	TenantRoles map[string]TenantRole `` /* 203-byte string literal not displayed */
	// AdminRole defines the admin role of the token owner.
	AdminRole *AdminRole `` /* 128-byte string literal not displayed */
	// InfraRole defines the infrastructure role of the token owner.
	InfraRole *InfraRole `` /* 128-byte string literal not displayed */
	// MachineRoles defines the machine roles of the token owner.
	MachineRoles map[string]MachineRole `` /* 207-byte string literal not displayed */
	// contains filtered or unexported fields
}

MethodServiceTokenScopedListResponse is the response payload which contains all methods which are callable with the given token.

func (*MethodServiceTokenScopedListResponse) Descriptor deprecated

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

Deprecated: Use MethodServiceTokenScopedListResponse.ProtoReflect.Descriptor instead.

func (*MethodServiceTokenScopedListResponse) GetAdminRole

func (*MethodServiceTokenScopedListResponse) GetInfraRole added in v0.0.34

func (*MethodServiceTokenScopedListResponse) GetMachineRoles added in v0.0.41

func (x *MethodServiceTokenScopedListResponse) GetMachineRoles() map[string]MachineRole

func (*MethodServiceTokenScopedListResponse) GetPermissions

func (*MethodServiceTokenScopedListResponse) GetProjectRoles

func (x *MethodServiceTokenScopedListResponse) GetProjectRoles() map[string]ProjectRole

func (*MethodServiceTokenScopedListResponse) GetTenantRoles

func (x *MethodServiceTokenScopedListResponse) GetTenantRoles() map[string]TenantRole

func (*MethodServiceTokenScopedListResponse) ProtoMessage

func (*MethodServiceTokenScopedListResponse) ProtoMessage()

func (*MethodServiceTokenScopedListResponse) ProtoReflect

func (*MethodServiceTokenScopedListResponse) Reset

func (*MethodServiceTokenScopedListResponse) String

type NATType

type NATType int32

NATType defines how and if outgoing traffic is translated.

const (
	// NAT_TYPE_UNSPECIFIED indicates a unspecified nat type.
	NATType_NAT_TYPE_UNSPECIFIED NATType = 0
	// NAT_TYPE_NONE indicates that no nat is configured.
	NATType_NAT_TYPE_NONE NATType = 1
	// NAT_TYPE_IPV4_MASQUERADE masquerade ipv4 behind gateway ip when traffic enters this network.
	NATType_NAT_TYPE_IPV4_MASQUERADE NATType = 2
)

func (NATType) Descriptor

func (NATType) Descriptor() protoreflect.EnumDescriptor

func (NATType) Enum

func (x NATType) Enum() *NATType

func (NATType) EnumDescriptor deprecated

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

Deprecated: Use NATType.Descriptor instead.

func (NATType) Number

func (x NATType) Number() protoreflect.EnumNumber

func (NATType) String

func (x NATType) String() string

func (NATType) Type

func (NATType) Type() protoreflect.EnumType

type NTPServer

type NTPServer struct {

	// Address either as ip or hostname.
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// contains filtered or unexported fields
}

NTPServer.

func (*NTPServer) Descriptor deprecated

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

Deprecated: Use NTPServer.ProtoReflect.Descriptor instead.

func (*NTPServer) GetAddress

func (x *NTPServer) GetAddress() string

func (*NTPServer) ProtoMessage

func (*NTPServer) ProtoMessage()

func (*NTPServer) ProtoReflect

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

func (*NTPServer) Reset

func (x *NTPServer) Reset()

func (*NTPServer) String

func (x *NTPServer) String() string

type Network

type Network struct {

	// Id of this network.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Meta for this network.
	Meta *Meta `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta,omitempty"`
	// Name of this network.
	Name *string `protobuf:"bytes,3,opt,name=name,proto3,oneof" json:"name,omitempty"`
	// Description of this network.
	Description *string `protobuf:"bytes,4,opt,name=description,proto3,oneof" json:"description,omitempty"`
	// Partition where this network will be created.
	Partition *string `protobuf:"bytes,5,opt,name=partition,proto3,oneof" json:"partition,omitempty"`
	// Project where this network belongs to.
	Project *string `protobuf:"bytes,6,opt,name=project,proto3,oneof" json:"project,omitempty"`
	// Namespace if specified, this network is namespaced and can therefore overlap with others.
	// Will be equal with project most of the time.
	Namespace *string `protobuf:"bytes,7,opt,name=namespace,proto3,oneof" json:"namespace,omitempty"`
	// Prefixes in this network.
	Prefixes []string `protobuf:"bytes,8,rep,name=prefixes,proto3" json:"prefixes,omitempty"`
	// Destination Prefixes in this network.
	DestinationPrefixes []string `protobuf:"bytes,9,rep,name=destination_prefixes,json=destinationPrefixes,proto3" json:"destination_prefixes,omitempty"`
	// Default Child Prefix length defines the bit length of a child network created per address family, if not specified during the allocate request.
	DefaultChildPrefixLength *ChildPrefixLength `` /* 138-byte string literal not displayed */
	// Min Child Prefix length asserts that during child network creation the requested bit length is greater or equal the min child prefix length.
	MinChildPrefixLength *ChildPrefixLength `` /* 126-byte string literal not displayed */
	// Type of the network.
	Type NetworkType `protobuf:"varint,12,opt,name=type,proto3,enum=metalstack.api.v2.NetworkType" json:"type,omitempty"`
	// NATType of this network.
	NatType NATType `protobuf:"varint,13,opt,name=nat_type,json=natType,proto3,enum=metalstack.api.v2.NATType" json:"nat_type,omitempty"`
	// VRF of this network has this VNI.
	Vrf *uint32 `protobuf:"varint,14,opt,name=vrf,proto3,oneof" json:"vrf,omitempty"`
	// Parent Network points to the id of the parent network if any.
	ParentNetwork *string `protobuf:"bytes,15,opt,name=parent_network,json=parentNetwork,proto3,oneof" json:"parent_network,omitempty"`
	// AdditionalAnnouncableCidrs will be added to the allow list on the switch which prefixes might be announced.
	AdditionalAnnouncableCidrs []string `` /* 142-byte string literal not displayed */
	// Consumption of IPs and prefixes in this network.
	Consumption *NetworkConsumption `protobuf:"bytes,17,opt,name=consumption,proto3" json:"consumption,omitempty"`
	// contains filtered or unexported fields
}

Network.

func (*Network) Descriptor deprecated

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

Deprecated: Use Network.ProtoReflect.Descriptor instead.

func (*Network) GetAdditionalAnnouncableCidrs

func (x *Network) GetAdditionalAnnouncableCidrs() []string

func (*Network) GetConsumption

func (x *Network) GetConsumption() *NetworkConsumption

func (*Network) GetDefaultChildPrefixLength

func (x *Network) GetDefaultChildPrefixLength() *ChildPrefixLength

func (*Network) GetDescription

func (x *Network) GetDescription() string

func (*Network) GetDestinationPrefixes

func (x *Network) GetDestinationPrefixes() []string

func (*Network) GetId

func (x *Network) GetId() string

func (*Network) GetMeta

func (x *Network) GetMeta() *Meta

func (*Network) GetMinChildPrefixLength

func (x *Network) GetMinChildPrefixLength() *ChildPrefixLength

func (*Network) GetName

func (x *Network) GetName() string

func (*Network) GetNamespace

func (x *Network) GetNamespace() string

func (*Network) GetNatType

func (x *Network) GetNatType() NATType

func (*Network) GetParentNetwork added in v0.0.13

func (x *Network) GetParentNetwork() string

func (*Network) GetPartition

func (x *Network) GetPartition() string

func (*Network) GetPrefixes

func (x *Network) GetPrefixes() []string

func (*Network) GetProject

func (x *Network) GetProject() string

func (*Network) GetType

func (x *Network) GetType() NetworkType

func (*Network) GetVrf

func (x *Network) GetVrf() uint32

func (*Network) ProtoMessage

func (*Network) ProtoMessage()

func (*Network) ProtoReflect

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

func (*Network) Reset

func (x *Network) Reset()

func (*Network) String

func (x *Network) String() string

type NetworkAddressFamily

type NetworkAddressFamily int32

NetworkAddressFamily defines the address family of a network.

const (
	// NETWORK_ADDRESS_FAMILY_UNSPECIFIED is not specified.
	NetworkAddressFamily_NETWORK_ADDRESS_FAMILY_UNSPECIFIED NetworkAddressFamily = 0
	// NETWORK_ADDRESS_FAMILY_V4 defines a network with IPv4 address prefixes.
	NetworkAddressFamily_NETWORK_ADDRESS_FAMILY_V4 NetworkAddressFamily = 1
	// NETWORK_ADDRESS_FAMILY_V6 defines a network with IPv6 address prefixes.
	NetworkAddressFamily_NETWORK_ADDRESS_FAMILY_V6 NetworkAddressFamily = 2
	// NETWORK_ADDRESS_FAMILY_DUAL_STACK defines a network with both IPv4 and IPv6 address prefixes.
	NetworkAddressFamily_NETWORK_ADDRESS_FAMILY_DUAL_STACK NetworkAddressFamily = 3
)

func (NetworkAddressFamily) Descriptor

func (NetworkAddressFamily) Enum

func (NetworkAddressFamily) EnumDescriptor deprecated

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

Deprecated: Use NetworkAddressFamily.Descriptor instead.

func (NetworkAddressFamily) Number

func (NetworkAddressFamily) String

func (x NetworkAddressFamily) String() string

func (NetworkAddressFamily) Type

type NetworkConsumption

type NetworkConsumption struct {

	// IPv4 network usage.
	Ipv4 *NetworkUsage `protobuf:"bytes,1,opt,name=ipv4,proto3" json:"ipv4,omitempty"`
	// IPv6 network usage, this can be approximated for high numbers.
	Ipv6 *NetworkUsage `protobuf:"bytes,2,opt,name=ipv6,proto3" json:"ipv6,omitempty"`
	// contains filtered or unexported fields
}

NetworkConsumption contains ip and prefix usage by addressfamily.

func (*NetworkConsumption) Descriptor deprecated

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

Deprecated: Use NetworkConsumption.ProtoReflect.Descriptor instead.

func (*NetworkConsumption) GetIpv4

func (x *NetworkConsumption) GetIpv4() *NetworkUsage

func (*NetworkConsumption) GetIpv6

func (x *NetworkConsumption) GetIpv6() *NetworkUsage

func (*NetworkConsumption) ProtoMessage

func (*NetworkConsumption) ProtoMessage()

func (*NetworkConsumption) ProtoReflect

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

func (*NetworkConsumption) Reset

func (x *NetworkConsumption) Reset()

func (*NetworkConsumption) String

func (x *NetworkConsumption) String() string

type NetworkQuery

type NetworkQuery struct {

	// Id of the network to query.
	Id *string `protobuf:"bytes,1,opt,name=id,proto3,oneof" json:"id,omitempty"`
	// Name of this network.
	Name *string `protobuf:"bytes,2,opt,name=name,proto3,oneof" json:"name,omitempty"`
	// Description of this network.
	Description *string `protobuf:"bytes,3,opt,name=description,proto3,oneof" json:"description,omitempty"`
	// Partition where this network will be created.
	Partition *string `protobuf:"bytes,4,opt,name=partition,proto3,oneof" json:"partition,omitempty"`
	// Project where this network belongs to.
	Project *string `protobuf:"bytes,5,opt,name=project,proto3,oneof" json:"project,omitempty"`
	// Namespace where this network belongs to.
	Namespace *string `protobuf:"bytes,6,opt,name=namespace,proto3,oneof" json:"namespace,omitempty"`
	// Prefixes in this network.
	Prefixes []string `protobuf:"bytes,7,rep,name=prefixes,proto3" json:"prefixes,omitempty"`
	// Destination Prefixes in this network.
	DestinationPrefixes []string `protobuf:"bytes,8,rep,name=destination_prefixes,json=destinationPrefixes,proto3" json:"destination_prefixes,omitempty"`
	// VRF of this network has this VNI.
	Vrf *uint32 `protobuf:"varint,9,opt,name=vrf,proto3,oneof" json:"vrf,omitempty"`
	// Parent Network points to the id of the parent network if any.
	ParentNetwork *string `protobuf:"bytes,10,opt,name=parent_network,json=parentNetwork,proto3,oneof" json:"parent_network,omitempty"`
	// Addressfamily to query.
	AddressFamily *NetworkAddressFamily `` /* 152-byte string literal not displayed */
	// Type of the network to query for.
	Type *NetworkType `protobuf:"varint,12,opt,name=type,proto3,enum=metalstack.api.v2.NetworkType,oneof" json:"type,omitempty"`
	// NATType configured.
	NatType *NATType `protobuf:"varint,13,opt,name=nat_type,json=natType,proto3,enum=metalstack.api.v2.NATType,oneof" json:"nat_type,omitempty"`
	// Labels on this network.
	Labels *Labels `protobuf:"bytes,14,opt,name=labels,proto3,oneof" json:"labels,omitempty"`
	// contains filtered or unexported fields
}

NetworkQuery defines which networks to query.

func (*NetworkQuery) Descriptor deprecated

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

Deprecated: Use NetworkQuery.ProtoReflect.Descriptor instead.

func (*NetworkQuery) GetAddressFamily

func (x *NetworkQuery) GetAddressFamily() NetworkAddressFamily

func (*NetworkQuery) GetDescription

func (x *NetworkQuery) GetDescription() string

func (*NetworkQuery) GetDestinationPrefixes

func (x *NetworkQuery) GetDestinationPrefixes() []string

func (*NetworkQuery) GetId

func (x *NetworkQuery) GetId() string

func (*NetworkQuery) GetLabels

func (x *NetworkQuery) GetLabels() *Labels

func (*NetworkQuery) GetName

func (x *NetworkQuery) GetName() string

func (*NetworkQuery) GetNamespace

func (x *NetworkQuery) GetNamespace() string

func (*NetworkQuery) GetNatType

func (x *NetworkQuery) GetNatType() NATType

func (*NetworkQuery) GetParentNetwork added in v0.0.13

func (x *NetworkQuery) GetParentNetwork() string

func (*NetworkQuery) GetPartition

func (x *NetworkQuery) GetPartition() string

func (*NetworkQuery) GetPrefixes

func (x *NetworkQuery) GetPrefixes() []string

func (*NetworkQuery) GetProject

func (x *NetworkQuery) GetProject() string

func (*NetworkQuery) GetType

func (x *NetworkQuery) GetType() NetworkType

func (*NetworkQuery) GetVrf

func (x *NetworkQuery) GetVrf() uint32

func (*NetworkQuery) ProtoMessage

func (*NetworkQuery) ProtoMessage()

func (*NetworkQuery) ProtoReflect

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

func (*NetworkQuery) Reset

func (x *NetworkQuery) Reset()

func (*NetworkQuery) String

func (x *NetworkQuery) String() string

type NetworkServiceCreateRequest

type NetworkServiceCreateRequest struct {

	// Project where this network belongs to.
	Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
	// Name of this network.
	Name *string `protobuf:"bytes,2,opt,name=name,proto3,oneof" json:"name,omitempty"`
	// Description of this network.
	Description *string `protobuf:"bytes,3,opt,name=description,proto3,oneof" json:"description,omitempty"`
	// Partition where this network will be created.
	Partition *string `protobuf:"bytes,4,opt,name=partition,proto3,oneof" json:"partition,omitempty"`
	// Labels on this network.
	Labels *Labels `protobuf:"bytes,5,opt,name=labels,proto3" json:"labels,omitempty"`
	// Parent Network points to the id of the parent network if any.
	ParentNetwork *string `protobuf:"bytes,6,opt,name=parent_network,json=parentNetwork,proto3,oneof" json:"parent_network,omitempty"`
	// Length per addressfamily.
	Length *ChildPrefixLength `protobuf:"bytes,7,opt,name=length,proto3,oneof" json:"length,omitempty"`
	// AddressFamily to create, defaults to the same as the parent.
	AddressFamily *NetworkAddressFamily `` /* 151-byte string literal not displayed */
	// contains filtered or unexported fields
}

NetworkServiceCreateRequest.

func (*NetworkServiceCreateRequest) Descriptor deprecated

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

Deprecated: Use NetworkServiceCreateRequest.ProtoReflect.Descriptor instead.

func (*NetworkServiceCreateRequest) GetAddressFamily

func (x *NetworkServiceCreateRequest) GetAddressFamily() NetworkAddressFamily

func (*NetworkServiceCreateRequest) GetDescription

func (x *NetworkServiceCreateRequest) GetDescription() string

func (*NetworkServiceCreateRequest) GetLabels

func (x *NetworkServiceCreateRequest) GetLabels() *Labels

func (*NetworkServiceCreateRequest) GetLength

func (*NetworkServiceCreateRequest) GetName

func (x *NetworkServiceCreateRequest) GetName() string

func (*NetworkServiceCreateRequest) GetParentNetwork added in v0.0.13

func (x *NetworkServiceCreateRequest) GetParentNetwork() string

func (*NetworkServiceCreateRequest) GetPartition

func (x *NetworkServiceCreateRequest) GetPartition() string

func (*NetworkServiceCreateRequest) GetProject

func (x *NetworkServiceCreateRequest) GetProject() string

func (*NetworkServiceCreateRequest) ProtoMessage

func (*NetworkServiceCreateRequest) ProtoMessage()

func (*NetworkServiceCreateRequest) ProtoReflect

func (*NetworkServiceCreateRequest) Reset

func (x *NetworkServiceCreateRequest) Reset()

func (*NetworkServiceCreateRequest) String

func (x *NetworkServiceCreateRequest) String() string

type NetworkServiceCreateResponse

type NetworkServiceCreateResponse struct {

	// Network is the created network.
	Network *Network `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"`
	// contains filtered or unexported fields
}

NetworkServiceCreateResponse.

func (*NetworkServiceCreateResponse) Descriptor deprecated

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

Deprecated: Use NetworkServiceCreateResponse.ProtoReflect.Descriptor instead.

func (*NetworkServiceCreateResponse) GetNetwork

func (x *NetworkServiceCreateResponse) GetNetwork() *Network

func (*NetworkServiceCreateResponse) ProtoMessage

func (*NetworkServiceCreateResponse) ProtoMessage()

func (*NetworkServiceCreateResponse) ProtoReflect

func (*NetworkServiceCreateResponse) Reset

func (x *NetworkServiceCreateResponse) Reset()

func (*NetworkServiceCreateResponse) String

type NetworkServiceDeleteRequest

type NetworkServiceDeleteRequest struct {

	// ID of the network to get.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Project of the network.
	Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
	// contains filtered or unexported fields
}

NetworkServiceDeleteRequest.

func (*NetworkServiceDeleteRequest) Descriptor deprecated

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

Deprecated: Use NetworkServiceDeleteRequest.ProtoReflect.Descriptor instead.

func (*NetworkServiceDeleteRequest) GetId

func (*NetworkServiceDeleteRequest) GetProject

func (x *NetworkServiceDeleteRequest) GetProject() string

func (*NetworkServiceDeleteRequest) ProtoMessage

func (*NetworkServiceDeleteRequest) ProtoMessage()

func (*NetworkServiceDeleteRequest) ProtoReflect

func (*NetworkServiceDeleteRequest) Reset

func (x *NetworkServiceDeleteRequest) Reset()

func (*NetworkServiceDeleteRequest) String

func (x *NetworkServiceDeleteRequest) String() string

type NetworkServiceDeleteResponse

type NetworkServiceDeleteResponse struct {

	// Network is the deleted network.
	Network *Network `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"`
	// contains filtered or unexported fields
}

NetworkServiceDeleteResponse.

func (*NetworkServiceDeleteResponse) Descriptor deprecated

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

Deprecated: Use NetworkServiceDeleteResponse.ProtoReflect.Descriptor instead.

func (*NetworkServiceDeleteResponse) GetNetwork

func (x *NetworkServiceDeleteResponse) GetNetwork() *Network

func (*NetworkServiceDeleteResponse) ProtoMessage

func (*NetworkServiceDeleteResponse) ProtoMessage()

func (*NetworkServiceDeleteResponse) ProtoReflect

func (*NetworkServiceDeleteResponse) Reset

func (x *NetworkServiceDeleteResponse) Reset()

func (*NetworkServiceDeleteResponse) String

type NetworkServiceGetRequest

type NetworkServiceGetRequest struct {

	// ID of the network to get.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Project of the network.
	Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
	// contains filtered or unexported fields
}

NetworkServiceGetRequest.

func (*NetworkServiceGetRequest) Descriptor deprecated

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

Deprecated: Use NetworkServiceGetRequest.ProtoReflect.Descriptor instead.

func (*NetworkServiceGetRequest) GetId

func (x *NetworkServiceGetRequest) GetId() string

func (*NetworkServiceGetRequest) GetProject

func (x *NetworkServiceGetRequest) GetProject() string

func (*NetworkServiceGetRequest) ProtoMessage

func (*NetworkServiceGetRequest) ProtoMessage()

func (*NetworkServiceGetRequest) ProtoReflect

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

func (*NetworkServiceGetRequest) Reset

func (x *NetworkServiceGetRequest) Reset()

func (*NetworkServiceGetRequest) String

func (x *NetworkServiceGetRequest) String() string

type NetworkServiceGetResponse

type NetworkServiceGetResponse struct {

	// Network which was requested to get.
	Network *Network `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"`
	// contains filtered or unexported fields
}

NetworkServiceGetResponse.

func (*NetworkServiceGetResponse) Descriptor deprecated

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

Deprecated: Use NetworkServiceGetResponse.ProtoReflect.Descriptor instead.

func (*NetworkServiceGetResponse) GetNetwork

func (x *NetworkServiceGetResponse) GetNetwork() *Network

func (*NetworkServiceGetResponse) ProtoMessage

func (*NetworkServiceGetResponse) ProtoMessage()

func (*NetworkServiceGetResponse) ProtoReflect

func (*NetworkServiceGetResponse) Reset

func (x *NetworkServiceGetResponse) Reset()

func (*NetworkServiceGetResponse) String

func (x *NetworkServiceGetResponse) String() string

type NetworkServiceListBaseNetworksRequest

type NetworkServiceListBaseNetworksRequest struct {

	// Project of the base networks to list.
	Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
	// Query which specifies which networks to return.
	Query *NetworkQuery `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"`
	// contains filtered or unexported fields
}

NetworkServiceListRequest.

func (*NetworkServiceListBaseNetworksRequest) Descriptor deprecated

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

Deprecated: Use NetworkServiceListBaseNetworksRequest.ProtoReflect.Descriptor instead.

func (*NetworkServiceListBaseNetworksRequest) GetProject

func (*NetworkServiceListBaseNetworksRequest) GetQuery

func (*NetworkServiceListBaseNetworksRequest) ProtoMessage

func (*NetworkServiceListBaseNetworksRequest) ProtoMessage()

func (*NetworkServiceListBaseNetworksRequest) ProtoReflect

func (*NetworkServiceListBaseNetworksRequest) Reset

func (*NetworkServiceListBaseNetworksRequest) String

type NetworkServiceListBaseNetworksResponse

type NetworkServiceListBaseNetworksResponse struct {

	// Networks are the requested networks.
	Networks []*Network `protobuf:"bytes,1,rep,name=networks,proto3" json:"networks,omitempty"`
	// contains filtered or unexported fields
}

NetworkServiceListResponse.

func (*NetworkServiceListBaseNetworksResponse) Descriptor deprecated

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

Deprecated: Use NetworkServiceListBaseNetworksResponse.ProtoReflect.Descriptor instead.

func (*NetworkServiceListBaseNetworksResponse) GetNetworks

func (x *NetworkServiceListBaseNetworksResponse) GetNetworks() []*Network

func (*NetworkServiceListBaseNetworksResponse) ProtoMessage

func (*NetworkServiceListBaseNetworksResponse) ProtoReflect

func (*NetworkServiceListBaseNetworksResponse) Reset

func (*NetworkServiceListBaseNetworksResponse) String

type NetworkServiceListRequest

type NetworkServiceListRequest struct {

	// Project of the networks to list.
	Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
	// Query which specifies which networks to return.
	Query *NetworkQuery `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"`
	// contains filtered or unexported fields
}

NetworkServiceListRequest.

func (*NetworkServiceListRequest) Descriptor deprecated

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

Deprecated: Use NetworkServiceListRequest.ProtoReflect.Descriptor instead.

func (*NetworkServiceListRequest) GetProject

func (x *NetworkServiceListRequest) GetProject() string

func (*NetworkServiceListRequest) GetQuery

func (x *NetworkServiceListRequest) GetQuery() *NetworkQuery

func (*NetworkServiceListRequest) ProtoMessage

func (*NetworkServiceListRequest) ProtoMessage()

func (*NetworkServiceListRequest) ProtoReflect

func (*NetworkServiceListRequest) Reset

func (x *NetworkServiceListRequest) Reset()

func (*NetworkServiceListRequest) String

func (x *NetworkServiceListRequest) String() string

type NetworkServiceListResponse

type NetworkServiceListResponse struct {

	// Networks are the requested networks.
	Networks []*Network `protobuf:"bytes,1,rep,name=networks,proto3" json:"networks,omitempty"`
	// contains filtered or unexported fields
}

NetworkServiceListResponse.

func (*NetworkServiceListResponse) Descriptor deprecated

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

Deprecated: Use NetworkServiceListResponse.ProtoReflect.Descriptor instead.

func (*NetworkServiceListResponse) GetNetworks

func (x *NetworkServiceListResponse) GetNetworks() []*Network

func (*NetworkServiceListResponse) ProtoMessage

func (*NetworkServiceListResponse) ProtoMessage()

func (*NetworkServiceListResponse) ProtoReflect

func (*NetworkServiceListResponse) Reset

func (x *NetworkServiceListResponse) Reset()

func (*NetworkServiceListResponse) String

func (x *NetworkServiceListResponse) String() string

type NetworkServiceUpdateRequest

type NetworkServiceUpdateRequest struct {

	// ID of the network to get.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// UpdateMeta contains the timestamp and strategy to be used in this update request.
	UpdateMeta *UpdateMeta `protobuf:"bytes,2,opt,name=update_meta,json=updateMeta,proto3" json:"update_meta,omitempty"`
	// Project of the network.
	Project string `protobuf:"bytes,3,opt,name=project,proto3" json:"project,omitempty"`
	// Name of this network.
	Name *string `protobuf:"bytes,4,opt,name=name,proto3,oneof" json:"name,omitempty"`
	// Description of this network.
	Description *string `protobuf:"bytes,5,opt,name=description,proto3,oneof" json:"description,omitempty"`
	// Labels on this network.
	Labels *UpdateLabels `protobuf:"bytes,6,opt,name=labels,proto3,oneof" json:"labels,omitempty"`
	// contains filtered or unexported fields
}

NetworkServiceUpdateRequest.

func (*NetworkServiceUpdateRequest) Descriptor deprecated

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

Deprecated: Use NetworkServiceUpdateRequest.ProtoReflect.Descriptor instead.

func (*NetworkServiceUpdateRequest) GetDescription

func (x *NetworkServiceUpdateRequest) GetDescription() string

func (*NetworkServiceUpdateRequest) GetId

func (*NetworkServiceUpdateRequest) GetLabels

func (x *NetworkServiceUpdateRequest) GetLabels() *UpdateLabels

func (*NetworkServiceUpdateRequest) GetName

func (x *NetworkServiceUpdateRequest) GetName() string

func (*NetworkServiceUpdateRequest) GetProject

func (x *NetworkServiceUpdateRequest) GetProject() string

func (*NetworkServiceUpdateRequest) GetUpdateMeta added in v0.0.21

func (x *NetworkServiceUpdateRequest) GetUpdateMeta() *UpdateMeta

func (*NetworkServiceUpdateRequest) ProtoMessage

func (*NetworkServiceUpdateRequest) ProtoMessage()

func (*NetworkServiceUpdateRequest) ProtoReflect

func (*NetworkServiceUpdateRequest) Reset

func (x *NetworkServiceUpdateRequest) Reset()

func (*NetworkServiceUpdateRequest) String

func (x *NetworkServiceUpdateRequest) String() string

type NetworkServiceUpdateResponse

type NetworkServiceUpdateResponse struct {

	// Network is the updated network.
	Network *Network `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"`
	// contains filtered or unexported fields
}

NetworkServiceUpdateResponse.

func (*NetworkServiceUpdateResponse) Descriptor deprecated

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

Deprecated: Use NetworkServiceUpdateResponse.ProtoReflect.Descriptor instead.

func (*NetworkServiceUpdateResponse) GetNetwork

func (x *NetworkServiceUpdateResponse) GetNetwork() *Network

func (*NetworkServiceUpdateResponse) ProtoMessage

func (*NetworkServiceUpdateResponse) ProtoMessage()

func (*NetworkServiceUpdateResponse) ProtoReflect

func (*NetworkServiceUpdateResponse) Reset

func (x *NetworkServiceUpdateResponse) Reset()

func (*NetworkServiceUpdateResponse) String

type NetworkType

type NetworkType int32

NetworkType indicates the purpose of the network, it cannot be changed after creation.

const (
	// NETWORK_TYPE_UNSPECIFIED indicates a unknown network type.
	NetworkType_NETWORK_TYPE_UNSPECIFIED NetworkType = 0
	// NETWORK_TYPE_EXTERNAL indicates network where multiple projects can allocate ips, it offers connectivity to other external networks.
	// In most cases this is the internet network or a network which offers connectivity to legacy datacenter networks.
	// If it is not project scoped everyone can allocate Ips in this network, otherwise only from the same project ip allocation is possible.
	NetworkType_NETWORK_TYPE_EXTERNAL NetworkType = 1
	// NETWORK_TYPE_UNDERLAY indicates a underlay network.
	// The underlay network connects all switches and the firewalls to build a EVPN dataplane.
	// It is not project scoped. Is part of the dataplane and reserved for administrative purposes.
	NetworkType_NETWORK_TYPE_UNDERLAY NetworkType = 2
	// NETWORK_TYPE_SUPER indicates a super network which is only used to create child networks.
	// If the vrf id is given, child networks will inherit this vrf.
	// If the vrf id is nil in this network, child vrf is taken from the pool.
	// If the partition is given, child networks inherit the partition.
	// If the partition is nil, child networks also do not have a partition (i.e. requires vrf is distributed across all partitions).
	// If the partition is given, only one super network in that partition can be created.
	// If the partition is nil, multiple super networks can exist. Then, for child network creation the network id must be specified (base networks can be queried by label selector).
	// For child creation destination prefixes will be inherited.
	// If this is project scoped, the child project must match, otherwise can be freely specified.
	NetworkType_NETWORK_TYPE_SUPER NetworkType = 3
	// NETWORK_TYPE_SUPER_NAMESPACED indicates a super network which is only used to create child networks.
	// All rules from NETWORK_TYPE_SUPER apply for them as well.
	// In addition, a network namespace will be created for every project. Child networks per project will have disjunct prefixes.
	// Prefix allocation will start again with the same base cidr for every project / namespace.
	// This will allow the creation of much more child networks from a given super network size.
	NetworkType_NETWORK_TYPE_SUPER_NAMESPACED NetworkType = 4
	// NETWORK_TYPE_CHILD indicates a child network of a project.
	// This is the only network type that can be created by a user.
	// Connectivity to external networks is not possible without going through an additional firewall in this network which creates connectivity to other networks.
	// Such a network will be created either from a super, or super namespaced.
	NetworkType_NETWORK_TYPE_CHILD NetworkType = 5
	// NETWORK_TYPE_CHILD_SHARED indicates a child network of a project which allows the allocation of ips from different projects.
	// Connectivity to external networks is not possible, as for normal child networks.
	// These networks are usually used to provide connectivity to shared services which are created in child networks, e.g. storage.
	// With this approach the number of hops can be reduced to the bare minimum in order to increase availability and performance.
	// Only one child shared network per project is allowed.
	NetworkType_NETWORK_TYPE_CHILD_SHARED NetworkType = 6
)

func (NetworkType) Descriptor

func (NetworkType) Enum

func (x NetworkType) Enum() *NetworkType

func (NetworkType) EnumDescriptor deprecated

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

Deprecated: Use NetworkType.Descriptor instead.

func (NetworkType) Number

func (x NetworkType) Number() protoreflect.EnumNumber

func (NetworkType) String

func (x NetworkType) String() string

func (NetworkType) Type

type NetworkUsage

type NetworkUsage struct {

	// the total available IPs.
	AvailableIps uint64 `protobuf:"varint,1,opt,name=available_ips,json=availableIps,proto3" json:"available_ips,omitempty"`
	// the total used IPs.
	UsedIps uint64 `protobuf:"varint,2,opt,name=used_ips,json=usedIps,proto3" json:"used_ips,omitempty"`
	// the total available 2-bit prefixes.
	AvailablePrefixes uint64 `protobuf:"varint,3,opt,name=available_prefixes,json=availablePrefixes,proto3" json:"available_prefixes,omitempty"`
	// the total used Prefixes.
	UsedPrefixes uint64 `protobuf:"varint,4,opt,name=used_prefixes,json=usedPrefixes,proto3" json:"used_prefixes,omitempty"`
	// contains filtered or unexported fields
}

NetworkUsage reports core metrics about available and used IPs or Prefixes in a Network.

func (*NetworkUsage) Descriptor deprecated

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

Deprecated: Use NetworkUsage.ProtoReflect.Descriptor instead.

func (*NetworkUsage) GetAvailableIps

func (x *NetworkUsage) GetAvailableIps() uint64

func (*NetworkUsage) GetAvailablePrefixes

func (x *NetworkUsage) GetAvailablePrefixes() uint64

func (*NetworkUsage) GetUsedIps

func (x *NetworkUsage) GetUsedIps() uint64

func (*NetworkUsage) GetUsedPrefixes

func (x *NetworkUsage) GetUsedPrefixes() uint64

func (*NetworkUsage) ProtoMessage

func (*NetworkUsage) ProtoMessage()

func (*NetworkUsage) ProtoReflect

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

func (*NetworkUsage) Reset

func (x *NetworkUsage) Reset()

func (*NetworkUsage) String

func (x *NetworkUsage) String() string

type NicState added in v0.0.23

type NicState struct {

	// Desired is the desired port state.
	Desired *SwitchPortStatus `protobuf:"varint,1,opt,name=desired,proto3,enum=metalstack.api.v2.SwitchPortStatus,oneof" json:"desired,omitempty"`
	// Actual is the actual port state.
	Actual SwitchPortStatus `protobuf:"varint,2,opt,name=actual,proto3,enum=metalstack.api.v2.SwitchPortStatus" json:"actual,omitempty"`
	// contains filtered or unexported fields
}

NicState represents the current state of a switch port.

func (*NicState) Descriptor deprecated added in v0.0.23

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

Deprecated: Use NicState.ProtoReflect.Descriptor instead.

func (*NicState) GetActual added in v0.0.23

func (x *NicState) GetActual() SwitchPortStatus

func (*NicState) GetDesired added in v0.0.23

func (x *NicState) GetDesired() SwitchPortStatus

func (*NicState) ProtoMessage added in v0.0.23

func (*NicState) ProtoMessage()

func (*NicState) ProtoReflect added in v0.0.23

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

func (*NicState) Reset added in v0.0.23

func (x *NicState) Reset()

func (*NicState) String added in v0.0.23

func (x *NicState) String() string

type OptimisticLockingStrategy added in v0.0.21

type OptimisticLockingStrategy int32

OptimisticLockingStrategy defines how optimistic locking should be handled. It defaults to client side, which requires the UpdatedAt timestamp to be provided.

const (
	// OPTIMISTIC_LOCKING_STRATEGY_UNSPECIFIED same as client side.
	OptimisticLockingStrategy_OPTIMISTIC_LOCKING_STRATEGY_UNSPECIFIED OptimisticLockingStrategy = 0
	// OPTIMISTIC_LOCKING_STRATEGY_CLIENT requires UpdatedAt to be specified.
	OptimisticLockingStrategy_OPTIMISTIC_LOCKING_STRATEGY_CLIENT OptimisticLockingStrategy = 1
	// OPTIMISTIC_LOCKING_STRATEGY_SERVER allows to omit UpdatedAt.
	// and fetches the most recent entity before updating with the given values with the update request.
	OptimisticLockingStrategy_OPTIMISTIC_LOCKING_STRATEGY_SERVER OptimisticLockingStrategy = 2
)

func (OptimisticLockingStrategy) Descriptor added in v0.0.21

func (OptimisticLockingStrategy) Enum added in v0.0.21

func (OptimisticLockingStrategy) EnumDescriptor deprecated added in v0.0.21

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

Deprecated: Use OptimisticLockingStrategy.Descriptor instead.

func (OptimisticLockingStrategy) Number added in v0.0.21

func (OptimisticLockingStrategy) String added in v0.0.21

func (x OptimisticLockingStrategy) String() string

func (OptimisticLockingStrategy) Type added in v0.0.21

type Paging

type Paging struct {

	// Page is used for pagination, if unset only the first page is returned,.
	// the list response contains then the page number for the next page.
	Page *uint64 `protobuf:"varint,1,opt,name=page,proto3,oneof" json:"page,omitempty"`
	// Count is the number of results returned per page, if not given server side defaults apply.
	Count *uint64 `protobuf:"varint,2,opt,name=count,proto3,oneof" json:"count,omitempty"`
	// contains filtered or unexported fields
}

Paging defines paging for methods with a lot of results.

func (*Paging) Descriptor deprecated

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

Deprecated: Use Paging.ProtoReflect.Descriptor instead.

func (*Paging) GetCount

func (x *Paging) GetCount() uint64

func (*Paging) GetPage

func (x *Paging) GetPage() uint64

func (*Paging) ProtoMessage

func (*Paging) ProtoMessage()

func (*Paging) ProtoReflect

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

func (*Paging) Reset

func (x *Paging) Reset()

func (*Paging) String

func (x *Paging) String() string

type Partition

type Partition struct {

	// ID of this partition.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Meta for this partition.
	Meta *Meta `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta,omitempty"`
	// Description of this partition.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// PartitionBootConfiguration defines how metal-hammer boots.
	BootConfiguration *PartitionBootConfiguration `protobuf:"bytes,4,opt,name=boot_configuration,json=bootConfiguration,proto3" json:"boot_configuration,omitempty"`
	// DNSServers for this partition.
	DnsServers []*DNSServer `protobuf:"bytes,5,rep,name=dns_servers,json=dnsServers,proto3" json:"dns_servers,omitempty"`
	// NTPServers for this partition.
	NtpServers []*NTPServer `protobuf:"bytes,6,rep,name=ntp_servers,json=ntpServers,proto3" json:"ntp_servers,omitempty"`
	// ManagementServiceAddresses defines where the management is reachable.
	// should be in the form <ip|host>:<port>.
	MgmtServiceAddresses []string `protobuf:"bytes,7,rep,name=mgmt_service_addresses,json=mgmtServiceAddresses,proto3" json:"mgmt_service_addresses,omitempty"`
	// contains filtered or unexported fields
}

Partition is a failure domain with machines and switches.

func (*Partition) Descriptor deprecated

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

Deprecated: Use Partition.ProtoReflect.Descriptor instead.

func (*Partition) GetBootConfiguration

func (x *Partition) GetBootConfiguration() *PartitionBootConfiguration

func (*Partition) GetDescription

func (x *Partition) GetDescription() string

func (*Partition) GetDnsServers added in v0.0.54

func (x *Partition) GetDnsServers() []*DNSServer

func (*Partition) GetId

func (x *Partition) GetId() string

func (*Partition) GetMeta

func (x *Partition) GetMeta() *Meta

func (*Partition) GetMgmtServiceAddresses

func (x *Partition) GetMgmtServiceAddresses() []string

func (*Partition) GetNtpServers added in v0.0.54

func (x *Partition) GetNtpServers() []*NTPServer

func (*Partition) ProtoMessage

func (*Partition) ProtoMessage()

func (*Partition) ProtoReflect

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

func (*Partition) Reset

func (x *Partition) Reset()

func (*Partition) String

func (x *Partition) String() string

type PartitionBootConfiguration

type PartitionBootConfiguration struct {

	// ImageURL the url to download the initrd for the boot image.
	ImageUrl string `protobuf:"bytes,1,opt,name=image_url,json=imageUrl,proto3" json:"image_url,omitempty"`
	// KernelURL the url to download the kernel for the boot image.
	KernelUrl string `protobuf:"bytes,2,opt,name=kernel_url,json=kernelUrl,proto3" json:"kernel_url,omitempty"`
	// Commandline the kernel command line for the boot image.
	Commandline string `protobuf:"bytes,3,opt,name=commandline,proto3" json:"commandline,omitempty"`
	// contains filtered or unexported fields
}

PartitionBootConfiguration defines how metal-hammer boots.

func (*PartitionBootConfiguration) Descriptor deprecated

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

Deprecated: Use PartitionBootConfiguration.ProtoReflect.Descriptor instead.

func (*PartitionBootConfiguration) GetCommandline

func (x *PartitionBootConfiguration) GetCommandline() string

func (*PartitionBootConfiguration) GetImageUrl

func (x *PartitionBootConfiguration) GetImageUrl() string

func (*PartitionBootConfiguration) GetKernelUrl

func (x *PartitionBootConfiguration) GetKernelUrl() string

func (*PartitionBootConfiguration) ProtoMessage

func (*PartitionBootConfiguration) ProtoMessage()

func (*PartitionBootConfiguration) ProtoReflect

func (*PartitionBootConfiguration) Reset

func (x *PartitionBootConfiguration) Reset()

func (*PartitionBootConfiguration) String

func (x *PartitionBootConfiguration) String() string

type PartitionHealth

type PartitionHealth struct {

	// Status is the health status of the service in this partition.
	Status ServiceStatus `protobuf:"varint,1,opt,name=status,proto3,enum=metalstack.api.v2.ServiceStatus" json:"status,omitempty"`
	// Message describes the reason for the unhealthy status if possible.
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

PartitionHealth represents the status of a specific service in this partition.

func (*PartitionHealth) Descriptor deprecated

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

Deprecated: Use PartitionHealth.ProtoReflect.Descriptor instead.

func (*PartitionHealth) GetMessage

func (x *PartitionHealth) GetMessage() string

func (*PartitionHealth) GetStatus

func (x *PartitionHealth) GetStatus() ServiceStatus

func (*PartitionHealth) ProtoMessage

func (*PartitionHealth) ProtoMessage()

func (*PartitionHealth) ProtoReflect

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

func (*PartitionHealth) Reset

func (x *PartitionHealth) Reset()

func (*PartitionHealth) String

func (x *PartitionHealth) String() string

type PartitionQuery

type PartitionQuery struct {

	// ID of the partition to get.
	Id *string `protobuf:"bytes,1,opt,name=id,proto3,oneof" json:"id,omitempty"`
	// Labels lists only partitions containing the given labels.
	Labels *Labels `protobuf:"bytes,2,opt,name=labels,proto3,oneof" json:"labels,omitempty"`
	// contains filtered or unexported fields
}

PartitionQuery is used to search partitions.

func (*PartitionQuery) Descriptor deprecated

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

Deprecated: Use PartitionQuery.ProtoReflect.Descriptor instead.

func (*PartitionQuery) GetId

func (x *PartitionQuery) GetId() string

func (*PartitionQuery) GetLabels added in v0.0.19

func (x *PartitionQuery) GetLabels() *Labels

func (*PartitionQuery) ProtoMessage

func (*PartitionQuery) ProtoMessage()

func (*PartitionQuery) ProtoReflect

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

func (*PartitionQuery) Reset

func (x *PartitionQuery) Reset()

func (*PartitionQuery) String

func (x *PartitionQuery) String() string

type PartitionServiceGetRequest

type PartitionServiceGetRequest struct {

	// ID of the partition to get.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

PartitionServiceGetRequest is the request payload for a partition get request.

func (*PartitionServiceGetRequest) Descriptor deprecated

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

Deprecated: Use PartitionServiceGetRequest.ProtoReflect.Descriptor instead.

func (*PartitionServiceGetRequest) GetId

func (*PartitionServiceGetRequest) ProtoMessage

func (*PartitionServiceGetRequest) ProtoMessage()

func (*PartitionServiceGetRequest) ProtoReflect

func (*PartitionServiceGetRequest) Reset

func (x *PartitionServiceGetRequest) Reset()

func (*PartitionServiceGetRequest) String

func (x *PartitionServiceGetRequest) String() string

type PartitionServiceGetResponse

type PartitionServiceGetResponse struct {

	// Partition is the partition.
	Partition *Partition `protobuf:"bytes,1,opt,name=partition,proto3" json:"partition,omitempty"`
	// contains filtered or unexported fields
}

PartitionServiceGetResponse is the response payload for a partition get request.

func (*PartitionServiceGetResponse) Descriptor deprecated

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

Deprecated: Use PartitionServiceGetResponse.ProtoReflect.Descriptor instead.

func (*PartitionServiceGetResponse) GetPartition

func (x *PartitionServiceGetResponse) GetPartition() *Partition

func (*PartitionServiceGetResponse) ProtoMessage

func (*PartitionServiceGetResponse) ProtoMessage()

func (*PartitionServiceGetResponse) ProtoReflect

func (*PartitionServiceGetResponse) Reset

func (x *PartitionServiceGetResponse) Reset()

func (*PartitionServiceGetResponse) String

func (x *PartitionServiceGetResponse) String() string

type PartitionServiceListRequest

type PartitionServiceListRequest struct {

	// Query for partitions.
	Query *PartitionQuery `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"`
	// contains filtered or unexported fields
}

PartitionServiceListRequest is the request payload for a partition list request.

func (*PartitionServiceListRequest) Descriptor deprecated

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

Deprecated: Use PartitionServiceListRequest.ProtoReflect.Descriptor instead.

func (*PartitionServiceListRequest) GetQuery

func (*PartitionServiceListRequest) ProtoMessage

func (*PartitionServiceListRequest) ProtoMessage()

func (*PartitionServiceListRequest) ProtoReflect

func (*PartitionServiceListRequest) Reset

func (x *PartitionServiceListRequest) Reset()

func (*PartitionServiceListRequest) String

func (x *PartitionServiceListRequest) String() string

type PartitionServiceListResponse

type PartitionServiceListResponse struct {

	// Partitions are the partitions.
	Partitions []*Partition `protobuf:"bytes,1,rep,name=partitions,proto3" json:"partitions,omitempty"`
	// contains filtered or unexported fields
}

PartitionServiceListResponse is the response payload for a partition list request.

func (*PartitionServiceListResponse) Descriptor deprecated

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

Deprecated: Use PartitionServiceListResponse.ProtoReflect.Descriptor instead.

func (*PartitionServiceListResponse) GetPartitions

func (x *PartitionServiceListResponse) GetPartitions() []*Partition

func (*PartitionServiceListResponse) ProtoMessage

func (*PartitionServiceListResponse) ProtoMessage()

func (*PartitionServiceListResponse) ProtoReflect

func (*PartitionServiceListResponse) Reset

func (x *PartitionServiceListResponse) Reset()

func (*PartitionServiceListResponse) String

type PermissionsByVisibility added in v0.4.0

type PermissionsByVisibility struct {

	// Visibility defines the visibility of the requested method permissions.
	//
	// Types that are valid to be assigned to Visibility:
	//
	//	*PermissionsByVisibility_Public
	//	*PermissionsByVisibility_Self
	//	*PermissionsByVisibility_Project
	//	*PermissionsByVisibility_Tenant
	//	*PermissionsByVisibility_Admin
	//	*PermissionsByVisibility_Machine
	//	*PermissionsByVisibility_Infra
	Visibility isPermissionsByVisibility_Visibility `protobuf_oneof:"visibility"`
	// contains filtered or unexported fields
}

PermissionsByVisibility contains method permissions by visibility.

func (*PermissionsByVisibility) Descriptor deprecated added in v0.4.0

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

Deprecated: Use PermissionsByVisibility.ProtoReflect.Descriptor instead.

func (*PermissionsByVisibility) GetAdmin added in v0.4.0

func (*PermissionsByVisibility) GetInfra added in v0.4.0

func (*PermissionsByVisibility) GetMachine added in v0.4.0

func (*PermissionsByVisibility) GetProject added in v0.4.0

func (*PermissionsByVisibility) GetPublic added in v0.4.0

func (*PermissionsByVisibility) GetSelf added in v0.4.0

func (*PermissionsByVisibility) GetTenant added in v0.4.0

func (*PermissionsByVisibility) GetVisibility added in v0.4.0

func (x *PermissionsByVisibility) GetVisibility() isPermissionsByVisibility_Visibility

func (*PermissionsByVisibility) ProtoMessage added in v0.4.0

func (*PermissionsByVisibility) ProtoMessage()

func (*PermissionsByVisibility) ProtoReflect added in v0.4.0

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

func (*PermissionsByVisibility) Reset added in v0.4.0

func (x *PermissionsByVisibility) Reset()

func (*PermissionsByVisibility) String added in v0.4.0

func (x *PermissionsByVisibility) String() string

type PermissionsByVisibility_Admin added in v0.4.0

type PermissionsByVisibility_Admin struct {
	// AdminPermissions carries admin method permissions.
	Admin *AdminPermissions `protobuf:"bytes,5,opt,name=admin,proto3,oneof"`
}

type PermissionsByVisibility_Infra added in v0.4.0

type PermissionsByVisibility_Infra struct {
	// InfraPermissions carries infra method permissions.
	Infra *InfraPermissions `protobuf:"bytes,7,opt,name=infra,proto3,oneof"`
}

type PermissionsByVisibility_Machine added in v0.4.0

type PermissionsByVisibility_Machine struct {
	// MachinePermissions carries machine method permissions.
	Machine *MachinePermissions `protobuf:"bytes,6,opt,name=machine,proto3,oneof"`
}

type PermissionsByVisibility_Project added in v0.4.0

type PermissionsByVisibility_Project struct {
	// ProjectPermissions carries project method permissions.
	Project *ProjectPermissions `protobuf:"bytes,3,opt,name=project,proto3,oneof"`
}

type PermissionsByVisibility_Public added in v0.4.0

type PermissionsByVisibility_Public struct {
	// PublicPermissions carries public method permissions.
	Public *PublicPermissions `protobuf:"bytes,1,opt,name=public,proto3,oneof"`
}

type PermissionsByVisibility_Self added in v0.4.0

type PermissionsByVisibility_Self struct {
	// SelfPermissions carries self method permissions.
	Self *SelfPermissions `protobuf:"bytes,2,opt,name=self,proto3,oneof"`
}

type PermissionsByVisibility_Tenant added in v0.4.0

type PermissionsByVisibility_Tenant struct {
	// TenantPermissions carries tenant method permissions.
	Tenant *TenantPermissions `protobuf:"bytes,4,opt,name=tenant,proto3,oneof"`
}

type Project

type Project struct {

	// Uuid of this project.
	Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	// Meta for this project.
	Meta *Meta `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta,omitempty"`
	// Name of this project must be unique per tenant.
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// Description of this project.
	Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	// Tenant this project belongs to.
	Tenant string `protobuf:"bytes,5,opt,name=tenant,proto3" json:"tenant,omitempty"`
	// AvatarUrl of the Project.
	AvatarUrl *string `protobuf:"bytes,6,opt,name=avatar_url,json=avatarUrl,proto3,oneof" json:"avatar_url,omitempty"`
	// contains filtered or unexported fields
}

Project defines a group of resources belonging to a tenant. a tenant can have multiple projects.

func (*Project) Descriptor deprecated

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

Deprecated: Use Project.ProtoReflect.Descriptor instead.

func (*Project) GetAvatarUrl

func (x *Project) GetAvatarUrl() string

func (*Project) GetDescription

func (x *Project) GetDescription() string

func (*Project) GetMeta

func (x *Project) GetMeta() *Meta

func (*Project) GetName

func (x *Project) GetName() string

func (*Project) GetTenant

func (x *Project) GetTenant() string

func (*Project) GetUuid

func (x *Project) GetUuid() string

func (*Project) ProtoMessage

func (*Project) ProtoMessage()

func (*Project) ProtoReflect

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

func (*Project) Reset

func (x *Project) Reset()

func (*Project) String

func (x *Project) String() string

type ProjectInvite

type ProjectInvite struct {

	// Secret is the secret part of the invite, typically part of the url.
	Secret string `protobuf:"bytes,1,opt,name=secret,proto3" json:"secret,omitempty"`
	// Project is the project id for which this invite was created.
	Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
	// Role is the role in this project the user will get after accepting the invitation.
	Role ProjectRole `protobuf:"varint,3,opt,name=role,proto3,enum=metalstack.api.v2.ProjectRole" json:"role,omitempty"`
	// Joined is false as long as a user has not accepted the invite.
	Joined bool `protobuf:"varint,4,opt,name=joined,proto3" json:"joined,omitempty"`
	// ProjectName is the project name for which this invite was created.
	ProjectName string `protobuf:"bytes,5,opt,name=project_name,json=projectName,proto3" json:"project_name,omitempty"`
	// Tenant is the login of the tenant inviting another user to join this project.
	Tenant string `protobuf:"bytes,6,opt,name=tenant,proto3" json:"tenant,omitempty"`
	// TenantName is the name of the tenant inviting another user to join this project.
	TenantName string `protobuf:"bytes,7,opt,name=tenant_name,json=tenantName,proto3" json:"tenant_name,omitempty"`
	// ExpiresAt the date when this invite expires.
	ExpiresAt *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"`
	// JoinedAt the date when the member accepted this invite.
	JoinedAt *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=joined_at,json=joinedAt,proto3" json:"joined_at,omitempty"`
	// contains filtered or unexported fields
}

ProjectInvite defines invite to project.

func (*ProjectInvite) Descriptor deprecated

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

Deprecated: Use ProjectInvite.ProtoReflect.Descriptor instead.

func (*ProjectInvite) GetExpiresAt

func (x *ProjectInvite) GetExpiresAt() *timestamppb.Timestamp

func (*ProjectInvite) GetJoined

func (x *ProjectInvite) GetJoined() bool

func (*ProjectInvite) GetJoinedAt

func (x *ProjectInvite) GetJoinedAt() *timestamppb.Timestamp

func (*ProjectInvite) GetProject

func (x *ProjectInvite) GetProject() string

func (*ProjectInvite) GetProjectName

func (x *ProjectInvite) GetProjectName() string

func (*ProjectInvite) GetRole

func (x *ProjectInvite) GetRole() ProjectRole

func (*ProjectInvite) GetSecret

func (x *ProjectInvite) GetSecret() string

func (*ProjectInvite) GetTenant

func (x *ProjectInvite) GetTenant() string

func (*ProjectInvite) GetTenantName

func (x *ProjectInvite) GetTenantName() string

func (*ProjectInvite) ProtoMessage

func (*ProjectInvite) ProtoMessage()

func (*ProjectInvite) ProtoReflect

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

func (*ProjectInvite) Reset

func (x *ProjectInvite) Reset()

func (*ProjectInvite) String

func (x *ProjectInvite) String() string

type ProjectMember

type ProjectMember struct {

	// Id is the user id of the member.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Role is the role of the member.
	Role ProjectRole `protobuf:"varint,2,opt,name=role,proto3,enum=metalstack.api.v2.ProjectRole" json:"role,omitempty"`
	// InheritedMembership indicates that this member has implicit permissions on the project through his membership within the tenant.
	// This member does not have direct project membership but gains permissions on this project from the role he has in the tenant.
	// Inherited memberships are not included in member lists for users with guest permission but only for direct tenant members.
	InheritedMembership bool `protobuf:"varint,3,opt,name=inherited_membership,json=inheritedMembership,proto3" json:"inherited_membership,omitempty"`
	// CreatedAt the date when the member was added to the project.
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// Meta for this project member.
	Meta *Meta `protobuf:"bytes,5,opt,name=meta,proto3" json:"meta,omitempty"`
	// contains filtered or unexported fields
}

ProjectMember defines a user that participates in a project.

func (*ProjectMember) Descriptor deprecated

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

Deprecated: Use ProjectMember.ProtoReflect.Descriptor instead.

func (*ProjectMember) GetCreatedAt

func (x *ProjectMember) GetCreatedAt() *timestamppb.Timestamp

func (*ProjectMember) GetId

func (x *ProjectMember) GetId() string

func (*ProjectMember) GetInheritedMembership

func (x *ProjectMember) GetInheritedMembership() bool

func (*ProjectMember) GetMeta added in v0.1.2

func (x *ProjectMember) GetMeta() *Meta

func (*ProjectMember) GetRole

func (x *ProjectMember) GetRole() ProjectRole

func (*ProjectMember) ProtoMessage

func (*ProjectMember) ProtoMessage()

func (*ProjectMember) ProtoReflect

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

func (*ProjectMember) Reset

func (x *ProjectMember) Reset()

func (*ProjectMember) String

func (x *ProjectMember) String() string

type ProjectPermissions added in v0.4.0

type ProjectPermissions struct {

	// Project scope for the permissions.
	// Asterisk (*) can be specified to match any subject.
	Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
	// Methods which should be accessible.
	Methods []string `protobuf:"bytes,2,rep,name=methods,proto3" json:"methods,omitempty"`
	// contains filtered or unexported fields
}

ProjectPermissions carries project method permissions.

func (*ProjectPermissions) Descriptor deprecated added in v0.4.0

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

Deprecated: Use ProjectPermissions.ProtoReflect.Descriptor instead.

func (*ProjectPermissions) GetMethods added in v0.4.0

func (x *ProjectPermissions) GetMethods() []string

func (*ProjectPermissions) GetProject added in v0.4.0

func (x *ProjectPermissions) GetProject() string

func (*ProjectPermissions) ProtoMessage added in v0.4.0

func (*ProjectPermissions) ProtoMessage()

func (*ProjectPermissions) ProtoReflect added in v0.4.0

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

func (*ProjectPermissions) Reset added in v0.4.0

func (x *ProjectPermissions) Reset()

func (*ProjectPermissions) String added in v0.4.0

func (x *ProjectPermissions) String() string

type ProjectQuery added in v0.2.0

type ProjectQuery struct {

	// Uuid lists only projects with this uuid.
	Uuid *string `protobuf:"bytes,1,opt,name=uuid,proto3,oneof" json:"uuid,omitempty"`
	// Name lists only projects with this name.
	Name *string `protobuf:"bytes,2,opt,name=name,proto3,oneof" json:"name,omitempty"`
	// Tenant lists only projects of this tenant.
	Tenant *string `protobuf:"bytes,3,opt,name=tenant,proto3,oneof" json:"tenant,omitempty"`
	// Labels lists only projects containing the given labels.
	Labels *Labels `protobuf:"bytes,4,opt,name=labels,proto3,oneof" json:"labels,omitempty"`
	// contains filtered or unexported fields
}

ProjectQuery is used to search projects.

func (*ProjectQuery) Descriptor deprecated added in v0.2.0

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

Deprecated: Use ProjectQuery.ProtoReflect.Descriptor instead.

func (*ProjectQuery) GetLabels added in v0.2.0

func (x *ProjectQuery) GetLabels() *Labels

func (*ProjectQuery) GetName added in v0.2.0

func (x *ProjectQuery) GetName() string

func (*ProjectQuery) GetTenant added in v0.2.0

func (x *ProjectQuery) GetTenant() string

func (*ProjectQuery) GetUuid added in v0.2.0

func (x *ProjectQuery) GetUuid() string

func (*ProjectQuery) ProtoMessage added in v0.2.0

func (*ProjectQuery) ProtoMessage()

func (*ProjectQuery) ProtoReflect added in v0.2.0

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

func (*ProjectQuery) Reset added in v0.2.0

func (x *ProjectQuery) Reset()

func (*ProjectQuery) String added in v0.2.0

func (x *ProjectQuery) String() string

type ProjectRole

type ProjectRole int32

ProjectRole specifies what role a logged in user needs to call this project scoped service.

const (
	// PROJECT_ROLE_UNSPECIFIED is not specified.
	ProjectRole_PROJECT_ROLE_UNSPECIFIED ProjectRole = 0
	// PROJECT_ROLE_OWNER the logged in user needs at least owner role to call this method.
	ProjectRole_PROJECT_ROLE_OWNER ProjectRole = 1
	// PROJECT_ROLE_EDITOR the logged in user needs at least editor role to call this method.
	ProjectRole_PROJECT_ROLE_EDITOR ProjectRole = 2
	// PROJECT_ROLE_VIEWER the logged in user needs at least viewer role to call this method.
	ProjectRole_PROJECT_ROLE_VIEWER ProjectRole = 3
)

func (ProjectRole) Descriptor

func (ProjectRole) Enum

func (x ProjectRole) Enum() *ProjectRole

func (ProjectRole) EnumDescriptor deprecated

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

Deprecated: Use ProjectRole.Descriptor instead.

func (ProjectRole) Number

func (x ProjectRole) Number() protoreflect.EnumNumber

func (ProjectRole) String

func (x ProjectRole) String() string

func (ProjectRole) Type

type ProjectServiceAddMemberRequest added in v0.3.0

type ProjectServiceAddMemberRequest struct {

	// Project is the uuid of the project.
	Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
	// Login of the member to add.
	Member string `protobuf:"bytes,2,opt,name=member,proto3" json:"member,omitempty"`
	// Role to assign to the new member.
	Role ProjectRole `protobuf:"varint,3,opt,name=role,proto3,enum=metalstack.api.v2.ProjectRole" json:"role,omitempty"`
	// contains filtered or unexported fields
}

ProjectServiceAddMemberRequest is the request payload for adding a member to a project.

func (*ProjectServiceAddMemberRequest) Descriptor deprecated added in v0.3.0

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

Deprecated: Use ProjectServiceAddMemberRequest.ProtoReflect.Descriptor instead.

func (*ProjectServiceAddMemberRequest) GetMember added in v0.3.0

func (x *ProjectServiceAddMemberRequest) GetMember() string

func (*ProjectServiceAddMemberRequest) GetProject added in v0.3.0

func (x *ProjectServiceAddMemberRequest) GetProject() string

func (*ProjectServiceAddMemberRequest) GetRole added in v0.3.0

func (*ProjectServiceAddMemberRequest) ProtoMessage added in v0.3.0

func (*ProjectServiceAddMemberRequest) ProtoMessage()

func (*ProjectServiceAddMemberRequest) ProtoReflect added in v0.3.0

func (*ProjectServiceAddMemberRequest) Reset added in v0.3.0

func (x *ProjectServiceAddMemberRequest) Reset()

func (*ProjectServiceAddMemberRequest) String added in v0.3.0

type ProjectServiceAddMemberResponse added in v0.3.0

type ProjectServiceAddMemberResponse struct {

	// ProjectRole is the added project member.
	ProjectMember ProjectRole `` /* 136-byte string literal not displayed */
	// contains filtered or unexported fields
}

ProjectServiceAddMemberResponse is the response payload for the add member request.

func (*ProjectServiceAddMemberResponse) Descriptor deprecated added in v0.3.0

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

Deprecated: Use ProjectServiceAddMemberResponse.ProtoReflect.Descriptor instead.

func (*ProjectServiceAddMemberResponse) GetProjectMember added in v0.3.0

func (x *ProjectServiceAddMemberResponse) GetProjectMember() ProjectRole

func (*ProjectServiceAddMemberResponse) ProtoMessage added in v0.3.0

func (*ProjectServiceAddMemberResponse) ProtoMessage()

func (*ProjectServiceAddMemberResponse) ProtoReflect added in v0.3.0

func (*ProjectServiceAddMemberResponse) Reset added in v0.3.0

func (*ProjectServiceAddMemberResponse) String added in v0.3.0

type ProjectServiceCreateRequest

type ProjectServiceCreateRequest struct {

	// Login is the tenant of this project.
	// TODO: is login really a good name?.
	Login string `protobuf:"bytes,1,opt,name=login,proto3" json:"login,omitempty"`
	// Name of this project, unique per tenant.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// Description of this project.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// Avatar URL of the project.
	AvatarUrl *string `protobuf:"bytes,4,opt,name=avatar_url,json=avatarUrl,proto3,oneof" json:"avatar_url,omitempty"`
	// Labels on the project.
	Labels *Labels `protobuf:"bytes,5,opt,name=labels,proto3" json:"labels,omitempty"`
	// contains filtered or unexported fields
}

ProjectServiceCreateRequest is the request payload to Create a project.

func (*ProjectServiceCreateRequest) Descriptor deprecated

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

Deprecated: Use ProjectServiceCreateRequest.ProtoReflect.Descriptor instead.

func (*ProjectServiceCreateRequest) GetAvatarUrl

func (x *ProjectServiceCreateRequest) GetAvatarUrl() string

func (*ProjectServiceCreateRequest) GetDescription

func (x *ProjectServiceCreateRequest) GetDescription() string

func (*ProjectServiceCreateRequest) GetLabels added in v0.0.15

func (x *ProjectServiceCreateRequest) GetLabels() *Labels

func (*ProjectServiceCreateRequest) GetLogin

func (x *ProjectServiceCreateRequest) GetLogin() string

func (*ProjectServiceCreateRequest) GetName

func (x *ProjectServiceCreateRequest) GetName() string

func (*ProjectServiceCreateRequest) ProtoMessage

func (*ProjectServiceCreateRequest) ProtoMessage()

func (*ProjectServiceCreateRequest) ProtoReflect

func (*ProjectServiceCreateRequest) Reset

func (x *ProjectServiceCreateRequest) Reset()

func (*ProjectServiceCreateRequest) String

func (x *ProjectServiceCreateRequest) String() string

type ProjectServiceCreateResponse

type ProjectServiceCreateResponse struct {

	// Project is the project.
	Project *Project `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
	// contains filtered or unexported fields
}

ProjectServiceCreateResponse is the response payload of creation of a project.

func (*ProjectServiceCreateResponse) Descriptor deprecated

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

Deprecated: Use ProjectServiceCreateResponse.ProtoReflect.Descriptor instead.

func (*ProjectServiceCreateResponse) GetProject

func (x *ProjectServiceCreateResponse) GetProject() *Project

func (*ProjectServiceCreateResponse) ProtoMessage

func (*ProjectServiceCreateResponse) ProtoMessage()

func (*ProjectServiceCreateResponse) ProtoReflect

func (*ProjectServiceCreateResponse) Reset

func (x *ProjectServiceCreateResponse) Reset()

func (*ProjectServiceCreateResponse) String

type ProjectServiceDeleteRequest

type ProjectServiceDeleteRequest struct {

	// Project is the uuid of the project to delete.
	Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
	// contains filtered or unexported fields
}

ProjectServiceDeleteRequest is the request payload to delete a project.

func (*ProjectServiceDeleteRequest) Descriptor deprecated

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

Deprecated: Use ProjectServiceDeleteRequest.ProtoReflect.Descriptor instead.

func (*ProjectServiceDeleteRequest) GetProject

func (x *ProjectServiceDeleteRequest) GetProject() string

func (*ProjectServiceDeleteRequest) ProtoMessage

func (*ProjectServiceDeleteRequest) ProtoMessage()

func (*ProjectServiceDeleteRequest) ProtoReflect

func (*ProjectServiceDeleteRequest) Reset

func (x *ProjectServiceDeleteRequest) Reset()

func (*ProjectServiceDeleteRequest) String

func (x *ProjectServiceDeleteRequest) String() string

type ProjectServiceDeleteResponse

type ProjectServiceDeleteResponse struct {

	// Project is the project.
	Project *Project `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
	// contains filtered or unexported fields
}

ProjectServiceDeleteResponse is the response payload to delete a project.

func (*ProjectServiceDeleteResponse) Descriptor deprecated

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

Deprecated: Use ProjectServiceDeleteResponse.ProtoReflect.Descriptor instead.

func (*ProjectServiceDeleteResponse) GetProject

func (x *ProjectServiceDeleteResponse) GetProject() *Project

func (*ProjectServiceDeleteResponse) ProtoMessage

func (*ProjectServiceDeleteResponse) ProtoMessage()

func (*ProjectServiceDeleteResponse) ProtoReflect

func (*ProjectServiceDeleteResponse) Reset

func (x *ProjectServiceDeleteResponse) Reset()

func (*ProjectServiceDeleteResponse) String

type ProjectServiceGetRequest

type ProjectServiceGetRequest struct {

	// Project is the uuid of the project to get.
	Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
	// contains filtered or unexported fields
}

ProjectServiceGetRequest is the request payload to get a project.

func (*ProjectServiceGetRequest) Descriptor deprecated

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

Deprecated: Use ProjectServiceGetRequest.ProtoReflect.Descriptor instead.

func (*ProjectServiceGetRequest) GetProject

func (x *ProjectServiceGetRequest) GetProject() string

func (*ProjectServiceGetRequest) ProtoMessage

func (*ProjectServiceGetRequest) ProtoMessage()

func (*ProjectServiceGetRequest) ProtoReflect

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

func (*ProjectServiceGetRequest) Reset

func (x *ProjectServiceGetRequest) Reset()

func (*ProjectServiceGetRequest) String

func (x *ProjectServiceGetRequest) String() string

type ProjectServiceGetResponse

type ProjectServiceGetResponse struct {

	// Project is the project.
	Project *Project `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
	// ProjectMembers in this project, projects guests will only see direct project members and not implicit memberships from tenant permissions.
	ProjectMembers []*ProjectMember `protobuf:"bytes,2,rep,name=project_members,json=projectMembers,proto3" json:"project_members,omitempty"`
	// contains filtered or unexported fields
}

ProjectServiceGetResponse is the response payload to get a projects.

func (*ProjectServiceGetResponse) Descriptor deprecated

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

Deprecated: Use ProjectServiceGetResponse.ProtoReflect.Descriptor instead.

func (*ProjectServiceGetResponse) GetProject

func (x *ProjectServiceGetResponse) GetProject() *Project

func (*ProjectServiceGetResponse) GetProjectMembers

func (x *ProjectServiceGetResponse) GetProjectMembers() []*ProjectMember

func (*ProjectServiceGetResponse) ProtoMessage

func (*ProjectServiceGetResponse) ProtoMessage()

func (*ProjectServiceGetResponse) ProtoReflect

func (*ProjectServiceGetResponse) Reset

func (x *ProjectServiceGetResponse) Reset()

func (*ProjectServiceGetResponse) String

func (x *ProjectServiceGetResponse) String() string

type ProjectServiceInviteAcceptRequest

type ProjectServiceInviteAcceptRequest struct {

	// Secret is the invitation secret part of the invitation url.
	Secret string `protobuf:"bytes,1,opt,name=secret,proto3" json:"secret,omitempty"`
	// contains filtered or unexported fields
}

ProjectServiceInviteAcceptRequest is the request payload to a accept invite request.

func (*ProjectServiceInviteAcceptRequest) Descriptor deprecated

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

Deprecated: Use ProjectServiceInviteAcceptRequest.ProtoReflect.Descriptor instead.

func (*ProjectServiceInviteAcceptRequest) GetSecret

func (*ProjectServiceInviteAcceptRequest) ProtoMessage

func (*ProjectServiceInviteAcceptRequest) ProtoMessage()

func (*ProjectServiceInviteAcceptRequest) ProtoReflect

func (*ProjectServiceInviteAcceptRequest) Reset

func (*ProjectServiceInviteAcceptRequest) String

type ProjectServiceInviteAcceptResponse

type ProjectServiceInviteAcceptResponse struct {

	// Project ID of the project joined.
	Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
	// ProjectName of the project joined.
	ProjectName string `protobuf:"bytes,2,opt,name=project_name,json=projectName,proto3" json:"project_name,omitempty"`
	// contains filtered or unexported fields
}

ProjectServiceInviteAcceptResponse is the response payload to a accept invite request.

func (*ProjectServiceInviteAcceptResponse) Descriptor deprecated

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

Deprecated: Use ProjectServiceInviteAcceptResponse.ProtoReflect.Descriptor instead.

func (*ProjectServiceInviteAcceptResponse) GetProject

func (*ProjectServiceInviteAcceptResponse) GetProjectName

func (x *ProjectServiceInviteAcceptResponse) GetProjectName() string

func (*ProjectServiceInviteAcceptResponse) ProtoMessage

func (*ProjectServiceInviteAcceptResponse) ProtoMessage()

func (*ProjectServiceInviteAcceptResponse) ProtoReflect

func (*ProjectServiceInviteAcceptResponse) Reset

func (*ProjectServiceInviteAcceptResponse) String

type ProjectServiceInviteDeleteRequest

type ProjectServiceInviteDeleteRequest struct {

	// Project is the uuid of the project.
	Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
	// Secret of the invite to delete.
	Secret string `protobuf:"bytes,2,opt,name=secret,proto3" json:"secret,omitempty"`
	// contains filtered or unexported fields
}

ProjectServiceInviteDeleteRequest is the request payload to a delete invite.

func (*ProjectServiceInviteDeleteRequest) Descriptor deprecated

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

Deprecated: Use ProjectServiceInviteDeleteRequest.ProtoReflect.Descriptor instead.

func (*ProjectServiceInviteDeleteRequest) GetProject

func (x *ProjectServiceInviteDeleteRequest) GetProject() string

func (*ProjectServiceInviteDeleteRequest) GetSecret

func (*ProjectServiceInviteDeleteRequest) ProtoMessage

func (*ProjectServiceInviteDeleteRequest) ProtoMessage()

func (*ProjectServiceInviteDeleteRequest) ProtoReflect

func (*ProjectServiceInviteDeleteRequest) Reset

func (*ProjectServiceInviteDeleteRequest) String

type ProjectServiceInviteDeleteResponse

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

ProjectServiceInviteDeleteResponse is the response payload of a delete invite request.

func (*ProjectServiceInviteDeleteResponse) Descriptor deprecated

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

Deprecated: Use ProjectServiceInviteDeleteResponse.ProtoReflect.Descriptor instead.

func (*ProjectServiceInviteDeleteResponse) ProtoMessage

func (*ProjectServiceInviteDeleteResponse) ProtoMessage()

func (*ProjectServiceInviteDeleteResponse) ProtoReflect

func (*ProjectServiceInviteDeleteResponse) Reset

func (*ProjectServiceInviteDeleteResponse) String

type ProjectServiceInviteGetRequest

type ProjectServiceInviteGetRequest struct {

	// Secret of the invite to list.
	Secret string `protobuf:"bytes,1,opt,name=secret,proto3" json:"secret,omitempty"`
	// contains filtered or unexported fields
}

ProjectServiceInviteGetRequest is the request payload to get a invite.

func (*ProjectServiceInviteGetRequest) Descriptor deprecated

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

Deprecated: Use ProjectServiceInviteGetRequest.ProtoReflect.Descriptor instead.

func (*ProjectServiceInviteGetRequest) GetSecret

func (x *ProjectServiceInviteGetRequest) GetSecret() string

func (*ProjectServiceInviteGetRequest) ProtoMessage

func (*ProjectServiceInviteGetRequest) ProtoMessage()

func (*ProjectServiceInviteGetRequest) ProtoReflect

func (*ProjectServiceInviteGetRequest) Reset

func (x *ProjectServiceInviteGetRequest) Reset()

func (*ProjectServiceInviteGetRequest) String

type ProjectServiceInviteGetResponse

type ProjectServiceInviteGetResponse struct {

	// Invite is the invite.
	Invite *ProjectInvite `protobuf:"bytes,1,opt,name=invite,proto3" json:"invite,omitempty"`
	// contains filtered or unexported fields
}

ProjectServiceInviteGetResponse is the response payload to a get invite request.

func (*ProjectServiceInviteGetResponse) Descriptor deprecated

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

Deprecated: Use ProjectServiceInviteGetResponse.ProtoReflect.Descriptor instead.

func (*ProjectServiceInviteGetResponse) GetInvite

func (*ProjectServiceInviteGetResponse) ProtoMessage

func (*ProjectServiceInviteGetResponse) ProtoMessage()

func (*ProjectServiceInviteGetResponse) ProtoReflect

func (*ProjectServiceInviteGetResponse) Reset

func (*ProjectServiceInviteGetResponse) String

type ProjectServiceInviteRequest

type ProjectServiceInviteRequest struct {

	// Project is the uuid of the project.
	Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
	// Role of this user in this project.
	Role ProjectRole `protobuf:"varint,2,opt,name=role,proto3,enum=metalstack.api.v2.ProjectRole" json:"role,omitempty"`
	// contains filtered or unexported fields
}

ProjectServiceInviteRequest is used to invite a member to a project.

func (*ProjectServiceInviteRequest) Descriptor deprecated

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

Deprecated: Use ProjectServiceInviteRequest.ProtoReflect.Descriptor instead.

func (*ProjectServiceInviteRequest) GetProject

func (x *ProjectServiceInviteRequest) GetProject() string

func (*ProjectServiceInviteRequest) GetRole

func (*ProjectServiceInviteRequest) ProtoMessage

func (*ProjectServiceInviteRequest) ProtoMessage()

func (*ProjectServiceInviteRequest) ProtoReflect

func (*ProjectServiceInviteRequest) Reset

func (x *ProjectServiceInviteRequest) Reset()

func (*ProjectServiceInviteRequest) String

func (x *ProjectServiceInviteRequest) String() string

type ProjectServiceInviteResponse

type ProjectServiceInviteResponse struct {

	// Inviter contains a secret which can be sent to a potential user.
	// can be appended to the invitation endpoint at our cloud console like.
	// console.metalstack.cloud/invite/<secret.
	Invite *ProjectInvite `protobuf:"bytes,1,opt,name=invite,proto3" json:"invite,omitempty"`
	// contains filtered or unexported fields
}

ProjectServiceInviteResponse is the response payload to a invite member request.

func (*ProjectServiceInviteResponse) Descriptor deprecated

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

Deprecated: Use ProjectServiceInviteResponse.ProtoReflect.Descriptor instead.

func (*ProjectServiceInviteResponse) GetInvite

func (*ProjectServiceInviteResponse) ProtoMessage

func (*ProjectServiceInviteResponse) ProtoMessage()

func (*ProjectServiceInviteResponse) ProtoReflect

func (*ProjectServiceInviteResponse) Reset

func (x *ProjectServiceInviteResponse) Reset()

func (*ProjectServiceInviteResponse) String

type ProjectServiceInvitesListRequest

type ProjectServiceInvitesListRequest struct {

	// Project is the uuid of the project.
	Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
	// contains filtered or unexported fields
}

ProjectServiceInvitesListRequest is the request payload to a list invites request.

func (*ProjectServiceInvitesListRequest) Descriptor deprecated

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

Deprecated: Use ProjectServiceInvitesListRequest.ProtoReflect.Descriptor instead.

func (*ProjectServiceInvitesListRequest) GetProject

func (x *ProjectServiceInvitesListRequest) GetProject() string

func (*ProjectServiceInvitesListRequest) ProtoMessage

func (*ProjectServiceInvitesListRequest) ProtoMessage()

func (*ProjectServiceInvitesListRequest) ProtoReflect

func (*ProjectServiceInvitesListRequest) Reset

func (*ProjectServiceInvitesListRequest) String

type ProjectServiceInvitesListResponse

type ProjectServiceInvitesListResponse struct {

	// Invites not already accepted the invitation to this project.
	Invites []*ProjectInvite `protobuf:"bytes,1,rep,name=invites,proto3" json:"invites,omitempty"`
	// contains filtered or unexported fields
}

ProjectServiceInvitesListResponse is the response payload to a list invites request.

func (*ProjectServiceInvitesListResponse) Descriptor deprecated

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

Deprecated: Use ProjectServiceInvitesListResponse.ProtoReflect.Descriptor instead.

func (*ProjectServiceInvitesListResponse) GetInvites

func (*ProjectServiceInvitesListResponse) ProtoMessage

func (*ProjectServiceInvitesListResponse) ProtoMessage()

func (*ProjectServiceInvitesListResponse) ProtoReflect

func (*ProjectServiceInvitesListResponse) Reset

func (*ProjectServiceInvitesListResponse) String

type ProjectServiceLeaveRequest added in v0.0.32

type ProjectServiceLeaveRequest struct {

	// Project is the uuid of the project.
	Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
	// contains filtered or unexported fields
}

ProjectServiceLeaveRequest is used to leave a project.

func (*ProjectServiceLeaveRequest) Descriptor deprecated added in v0.0.32

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

Deprecated: Use ProjectServiceLeaveRequest.ProtoReflect.Descriptor instead.

func (*ProjectServiceLeaveRequest) GetProject added in v0.0.32

func (x *ProjectServiceLeaveRequest) GetProject() string

func (*ProjectServiceLeaveRequest) ProtoMessage added in v0.0.32

func (*ProjectServiceLeaveRequest) ProtoMessage()

func (*ProjectServiceLeaveRequest) ProtoReflect added in v0.0.32

func (*ProjectServiceLeaveRequest) Reset added in v0.0.32

func (x *ProjectServiceLeaveRequest) Reset()

func (*ProjectServiceLeaveRequest) String added in v0.0.32

func (x *ProjectServiceLeaveRequest) String() string

type ProjectServiceLeaveResponse added in v0.0.32

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

ProjectServiceLeaveResponse is the response payload to a leave project request.

func (*ProjectServiceLeaveResponse) Descriptor deprecated added in v0.0.32

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

Deprecated: Use ProjectServiceLeaveResponse.ProtoReflect.Descriptor instead.

func (*ProjectServiceLeaveResponse) ProtoMessage added in v0.0.32

func (*ProjectServiceLeaveResponse) ProtoMessage()

func (*ProjectServiceLeaveResponse) ProtoReflect added in v0.0.32

func (*ProjectServiceLeaveResponse) Reset added in v0.0.32

func (x *ProjectServiceLeaveResponse) Reset()

func (*ProjectServiceLeaveResponse) String added in v0.0.32

func (x *ProjectServiceLeaveResponse) String() string

type ProjectServiceListRequest

type ProjectServiceListRequest struct {

	// Query for projects.
	Query *ProjectQuery `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"`
	// contains filtered or unexported fields
}

ProjectServiceListRequest is the request payload to list all projects.

func (*ProjectServiceListRequest) Descriptor deprecated

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

Deprecated: Use ProjectServiceListRequest.ProtoReflect.Descriptor instead.

func (*ProjectServiceListRequest) GetQuery added in v0.2.0

func (x *ProjectServiceListRequest) GetQuery() *ProjectQuery

func (*ProjectServiceListRequest) ProtoMessage

func (*ProjectServiceListRequest) ProtoMessage()

func (*ProjectServiceListRequest) ProtoReflect

func (*ProjectServiceListRequest) Reset

func (x *ProjectServiceListRequest) Reset()

func (*ProjectServiceListRequest) String

func (x *ProjectServiceListRequest) String() string

type ProjectServiceListResponse

type ProjectServiceListResponse struct {

	// Projects is a list of all your projects.
	Projects []*Project `protobuf:"bytes,1,rep,name=projects,proto3" json:"projects,omitempty"`
	// contains filtered or unexported fields
}

ProjectServiceListResponse is the response payload to list all projects.

func (*ProjectServiceListResponse) Descriptor deprecated

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

Deprecated: Use ProjectServiceListResponse.ProtoReflect.Descriptor instead.

func (*ProjectServiceListResponse) GetProjects

func (x *ProjectServiceListResponse) GetProjects() []*Project

func (*ProjectServiceListResponse) ProtoMessage

func (*ProjectServiceListResponse) ProtoMessage()

func (*ProjectServiceListResponse) ProtoReflect

func (*ProjectServiceListResponse) Reset

func (x *ProjectServiceListResponse) Reset()

func (*ProjectServiceListResponse) String

func (x *ProjectServiceListResponse) String() string

type ProjectServiceRemoveMemberRequest

type ProjectServiceRemoveMemberRequest struct {

	// Project is the uuid of the project.
	Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
	// Member is the id of the member to remove from this project.
	Member string `protobuf:"bytes,2,opt,name=member,proto3" json:"member,omitempty"`
	// contains filtered or unexported fields
}

ProjectServiceRemoveMemberRequest is used to remove a member from a project.

func (*ProjectServiceRemoveMemberRequest) Descriptor deprecated

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

Deprecated: Use ProjectServiceRemoveMemberRequest.ProtoReflect.Descriptor instead.

func (*ProjectServiceRemoveMemberRequest) GetMember added in v0.0.13

func (*ProjectServiceRemoveMemberRequest) GetProject

func (x *ProjectServiceRemoveMemberRequest) GetProject() string

func (*ProjectServiceRemoveMemberRequest) ProtoMessage

func (*ProjectServiceRemoveMemberRequest) ProtoMessage()

func (*ProjectServiceRemoveMemberRequest) ProtoReflect

func (*ProjectServiceRemoveMemberRequest) Reset

func (*ProjectServiceRemoveMemberRequest) String

type ProjectServiceRemoveMemberResponse

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

ProjectServiceRemoveMemberResponse is the response payload to a remove member request.

func (*ProjectServiceRemoveMemberResponse) Descriptor deprecated

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

Deprecated: Use ProjectServiceRemoveMemberResponse.ProtoReflect.Descriptor instead.

func (*ProjectServiceRemoveMemberResponse) ProtoMessage

func (*ProjectServiceRemoveMemberResponse) ProtoMessage()

func (*ProjectServiceRemoveMemberResponse) ProtoReflect

func (*ProjectServiceRemoveMemberResponse) Reset

func (*ProjectServiceRemoveMemberResponse) String

type ProjectServiceUpdateMemberRequest

type ProjectServiceUpdateMemberRequest struct {

	// Project is the uuid of the project.
	Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
	// Member is the id of the member to remove from this project.
	Member string `protobuf:"bytes,2,opt,name=member,proto3" json:"member,omitempty"`
	// Role is the role in this project the user will get after the update.
	Role ProjectRole `protobuf:"varint,3,opt,name=role,proto3,enum=metalstack.api.v2.ProjectRole" json:"role,omitempty"`
	// contains filtered or unexported fields
}

ProjectServiceUpdateMemberRequest is used to update a member of a project.

func (*ProjectServiceUpdateMemberRequest) Descriptor deprecated

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

Deprecated: Use ProjectServiceUpdateMemberRequest.ProtoReflect.Descriptor instead.

func (*ProjectServiceUpdateMemberRequest) GetMember added in v0.0.13

func (*ProjectServiceUpdateMemberRequest) GetProject

func (x *ProjectServiceUpdateMemberRequest) GetProject() string

func (*ProjectServiceUpdateMemberRequest) GetRole

func (*ProjectServiceUpdateMemberRequest) ProtoMessage

func (*ProjectServiceUpdateMemberRequest) ProtoMessage()

func (*ProjectServiceUpdateMemberRequest) ProtoReflect

func (*ProjectServiceUpdateMemberRequest) Reset

func (*ProjectServiceUpdateMemberRequest) String

type ProjectServiceUpdateMemberResponse

type ProjectServiceUpdateMemberResponse struct {

	// ProjectMember is the updated project member.
	ProjectMember *ProjectMember `protobuf:"bytes,1,opt,name=project_member,json=projectMember,proto3" json:"project_member,omitempty"`
	// contains filtered or unexported fields
}

ProjectServiceUpdateMemberResponse is the response payload to a update member request.

func (*ProjectServiceUpdateMemberResponse) Descriptor deprecated

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

Deprecated: Use ProjectServiceUpdateMemberResponse.ProtoReflect.Descriptor instead.

func (*ProjectServiceUpdateMemberResponse) GetProjectMember

func (x *ProjectServiceUpdateMemberResponse) GetProjectMember() *ProjectMember

func (*ProjectServiceUpdateMemberResponse) ProtoMessage

func (*ProjectServiceUpdateMemberResponse) ProtoMessage()

func (*ProjectServiceUpdateMemberResponse) ProtoReflect

func (*ProjectServiceUpdateMemberResponse) Reset

func (*ProjectServiceUpdateMemberResponse) String

type ProjectServiceUpdateRequest

type ProjectServiceUpdateRequest struct {

	// Project is the uuid of the project to get.
	Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
	// UpdateMeta contains the timestamp and strategy to be used in this update request.
	UpdateMeta *UpdateMeta `protobuf:"bytes,2,opt,name=update_meta,json=updateMeta,proto3" json:"update_meta,omitempty"`
	// Name of this project unique per tenant.
	Name *string `protobuf:"bytes,3,opt,name=name,proto3,oneof" json:"name,omitempty"`
	// Description of this project.
	Description *string `protobuf:"bytes,4,opt,name=description,proto3,oneof" json:"description,omitempty"`
	// Avatar URL of the project.
	AvatarUrl *string `protobuf:"bytes,5,opt,name=avatar_url,json=avatarUrl,proto3,oneof" json:"avatar_url,omitempty"`
	// Labels on this project.
	Labels *UpdateLabels `protobuf:"bytes,6,opt,name=labels,proto3,oneof" json:"labels,omitempty"`
	// contains filtered or unexported fields
}

ProjectServiceUpdateRequest is the request payload to update a project.

func (*ProjectServiceUpdateRequest) Descriptor deprecated

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

Deprecated: Use ProjectServiceUpdateRequest.ProtoReflect.Descriptor instead.

func (*ProjectServiceUpdateRequest) GetAvatarUrl

func (x *ProjectServiceUpdateRequest) GetAvatarUrl() string

func (*ProjectServiceUpdateRequest) GetDescription

func (x *ProjectServiceUpdateRequest) GetDescription() string

func (*ProjectServiceUpdateRequest) GetLabels added in v0.0.15

func (x *ProjectServiceUpdateRequest) GetLabels() *UpdateLabels

func (*ProjectServiceUpdateRequest) GetName

func (x *ProjectServiceUpdateRequest) GetName() string

func (*ProjectServiceUpdateRequest) GetProject

func (x *ProjectServiceUpdateRequest) GetProject() string

func (*ProjectServiceUpdateRequest) GetUpdateMeta added in v0.0.21

func (x *ProjectServiceUpdateRequest) GetUpdateMeta() *UpdateMeta

func (*ProjectServiceUpdateRequest) ProtoMessage

func (*ProjectServiceUpdateRequest) ProtoMessage()

func (*ProjectServiceUpdateRequest) ProtoReflect

func (*ProjectServiceUpdateRequest) Reset

func (x *ProjectServiceUpdateRequest) Reset()

func (*ProjectServiceUpdateRequest) String

func (x *ProjectServiceUpdateRequest) String() string

type ProjectServiceUpdateResponse

type ProjectServiceUpdateResponse struct {

	// Project is the project.
	Project *Project `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
	// contains filtered or unexported fields
}

ProjectServiceUpdateResponse is the response payload to update a project.

func (*ProjectServiceUpdateResponse) Descriptor deprecated

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

Deprecated: Use ProjectServiceUpdateResponse.ProtoReflect.Descriptor instead.

func (*ProjectServiceUpdateResponse) GetProject

func (x *ProjectServiceUpdateResponse) GetProject() *Project

func (*ProjectServiceUpdateResponse) ProtoMessage

func (*ProjectServiceUpdateResponse) ProtoMessage()

func (*ProjectServiceUpdateResponse) ProtoReflect

func (*ProjectServiceUpdateResponse) Reset

func (x *ProjectServiceUpdateResponse) Reset()

func (*ProjectServiceUpdateResponse) String

type PublicPermissions added in v0.4.0

type PublicPermissions struct {

	// Methods which should be accessible.
	Methods []string `protobuf:"bytes,2,rep,name=methods,proto3" json:"methods,omitempty"`
	// contains filtered or unexported fields
}

PublicPermissions carries public method permissions.

func (*PublicPermissions) Descriptor deprecated added in v0.4.0

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

Deprecated: Use PublicPermissions.ProtoReflect.Descriptor instead.

func (*PublicPermissions) GetMethods added in v0.4.0

func (x *PublicPermissions) GetMethods() []string

func (*PublicPermissions) ProtoMessage added in v0.4.0

func (*PublicPermissions) ProtoMessage()

func (*PublicPermissions) ProtoReflect added in v0.4.0

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

func (*PublicPermissions) Reset added in v0.4.0

func (x *PublicPermissions) Reset()

func (*PublicPermissions) String added in v0.4.0

func (x *PublicPermissions) String() string

type Raid

type Raid struct {

	// ArrayName the name of the resulting array device.
	ArrayName string `protobuf:"bytes,1,opt,name=array_name,json=arrayName,proto3" json:"array_name,omitempty"`
	// Devices list of devices to form the raid array from.
	Devices []string `protobuf:"bytes,2,rep,name=devices,proto3" json:"devices,omitempty"`
	// Level raid level to create, should be 0 or 1.
	Level RaidLevel `protobuf:"varint,3,opt,name=level,proto3,enum=metalstack.api.v2.RaidLevel" json:"level,omitempty"`
	// CreateOptions the options to use to create the raid array.
	CreateOptions []string `protobuf:"bytes,4,rep,name=create_options,json=createOptions,proto3" json:"create_options,omitempty"`
	// Spares number of spares for the raid array.
	Spares int32 `protobuf:"varint,5,opt,name=spares,proto3" json:"spares,omitempty"`
	// contains filtered or unexported fields
}

Raid.

func (*Raid) Descriptor deprecated

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

Deprecated: Use Raid.ProtoReflect.Descriptor instead.

func (*Raid) GetArrayName

func (x *Raid) GetArrayName() string

func (*Raid) GetCreateOptions

func (x *Raid) GetCreateOptions() []string

func (*Raid) GetDevices

func (x *Raid) GetDevices() []string

func (*Raid) GetLevel

func (x *Raid) GetLevel() RaidLevel

func (*Raid) GetSpares

func (x *Raid) GetSpares() int32

func (*Raid) ProtoMessage

func (*Raid) ProtoMessage()

func (*Raid) ProtoReflect

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

func (*Raid) Reset

func (x *Raid) Reset()

func (*Raid) String

func (x *Raid) String() string

type RaidLevel

type RaidLevel int32

RaidLevel defines howto mirror two or more block devices.

const (
	// RAID_LEVEL_UNSPECIFIED is not specified.
	RaidLevel_RAID_LEVEL_UNSPECIFIED RaidLevel = 0
	// RAID_LEVEL_0 is a stripe of two or more disks.
	RaidLevel_RAID_LEVEL_0 RaidLevel = 1
	// RAID_LEVEL_1 is a mirror of two disks.
	RaidLevel_RAID_LEVEL_1 RaidLevel = 2
)

func (RaidLevel) Descriptor

func (RaidLevel) Descriptor() protoreflect.EnumDescriptor

func (RaidLevel) Enum

func (x RaidLevel) Enum() *RaidLevel

func (RaidLevel) EnumDescriptor deprecated

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

Deprecated: Use RaidLevel.Descriptor instead.

func (RaidLevel) Number

func (x RaidLevel) Number() protoreflect.EnumNumber

func (RaidLevel) String

func (x RaidLevel) String() string

func (RaidLevel) Type

type SelfPermissions added in v0.4.0

type SelfPermissions struct {

	// Methods which should be accessible.
	Methods []string `protobuf:"bytes,2,rep,name=methods,proto3" json:"methods,omitempty"`
	// contains filtered or unexported fields
}

SelfPermissions carries self method permissions.

func (*SelfPermissions) Descriptor deprecated added in v0.4.0

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

Deprecated: Use SelfPermissions.ProtoReflect.Descriptor instead.

func (*SelfPermissions) GetMethods added in v0.4.0

func (x *SelfPermissions) GetMethods() []string

func (*SelfPermissions) ProtoMessage added in v0.4.0

func (*SelfPermissions) ProtoMessage()

func (*SelfPermissions) ProtoReflect added in v0.4.0

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

func (*SelfPermissions) Reset added in v0.4.0

func (x *SelfPermissions) Reset()

func (*SelfPermissions) String added in v0.4.0

func (x *SelfPermissions) String() string

type Service

type Service int32

Service defines the service for which the healthiness is reported.

const (
	// SERVICE_UNSPECIFIED is a unknown service.
	Service_SERVICE_UNSPECIFIED Service = 0
	// SERVICE_IPAM the IPAM service.
	Service_SERVICE_IPAM Service = 1
	// SERVICE_RETHINK the RethinkDB.
	Service_SERVICE_RETHINK Service = 2
	// SERVICE_TENANT_APISERVER the tenant-apiserver.
	Service_SERVICE_TENANT_APISERVER Service = 3
	// SERVICE_MACHINES the machine service.
	Service_SERVICE_MACHINES Service = 4
	// SERVICE_AUDIT the auditing.
	Service_SERVICE_AUDIT Service = 5
	// SERVICE_VPN the VPN service.
	Service_SERVICE_VPN Service = 6
	// SERVICE_REDIS the Redis service.
	Service_SERVICE_REDIS Service = 7
	// SERVICE_TASKS the tasks service.
	Service_SERVICE_TASKS Service = 8
)

func (Service) Descriptor

func (Service) Descriptor() protoreflect.EnumDescriptor

func (Service) Enum

func (x Service) Enum() *Service

func (Service) EnumDescriptor deprecated

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

Deprecated: Use Service.Descriptor instead.

func (Service) Number

func (x Service) Number() protoreflect.EnumNumber

func (Service) String

func (x Service) String() string

func (Service) Type

func (Service) Type() protoreflect.EnumType

type ServiceStatus

type ServiceStatus int32

ServiceStatus defines the status of a service.

const (
	// SERVICE_STATUS_UNSPECIFIED service status is not known or unspecified.
	ServiceStatus_SERVICE_STATUS_UNSPECIFIED ServiceStatus = 0
	// SERVICE_STATUS_DEGRADED the service is in degraded status, not the whole functionality is available.
	ServiceStatus_SERVICE_STATUS_DEGRADED ServiceStatus = 1
	// SERVICE_STATUS_UNHEALTHY the service is in unhealthy status, serious impact is expected.
	ServiceStatus_SERVICE_STATUS_UNHEALTHY ServiceStatus = 2
	// SERVICE_STATUS_HEALTHY the service is in healthy status, for example fully functional.
	ServiceStatus_SERVICE_STATUS_HEALTHY ServiceStatus = 3
)

func (ServiceStatus) Descriptor

func (ServiceStatus) Enum

func (x ServiceStatus) Enum() *ServiceStatus

func (ServiceStatus) EnumDescriptor deprecated

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

Deprecated: Use ServiceStatus.Descriptor instead.

func (ServiceStatus) Number

func (ServiceStatus) String

func (x ServiceStatus) String() string

func (ServiceStatus) Type

type Size added in v0.0.2

type Size struct {

	// Id of this size.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Meta for this size.
	Meta *Meta `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta,omitempty"`
	// Name of this size.
	Name *string `protobuf:"bytes,3,opt,name=name,proto3,oneof" json:"name,omitempty"`
	// Description of this size.
	Description *string `protobuf:"bytes,4,opt,name=description,proto3,oneof" json:"description,omitempty"`
	// Constraints which must match that a specific machine is considered of this size.
	Constraints []*SizeConstraint `protobuf:"bytes,5,rep,name=constraints,proto3" json:"constraints,omitempty"`
	// contains filtered or unexported fields
}

Size.

func (*Size) Descriptor deprecated added in v0.0.2

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

Deprecated: Use Size.ProtoReflect.Descriptor instead.

func (*Size) GetConstraints added in v0.0.2

func (x *Size) GetConstraints() []*SizeConstraint

func (*Size) GetDescription added in v0.0.2

func (x *Size) GetDescription() string

func (*Size) GetId added in v0.0.2

func (x *Size) GetId() string

func (*Size) GetMeta added in v0.0.2

func (x *Size) GetMeta() *Meta

func (*Size) GetName added in v0.0.2

func (x *Size) GetName() string

func (*Size) ProtoMessage added in v0.0.2

func (*Size) ProtoMessage()

func (*Size) ProtoReflect added in v0.0.2

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

func (*Size) Reset added in v0.0.2

func (x *Size) Reset()

func (*Size) String added in v0.0.2

func (x *Size) String() string

type SizeConstraint added in v0.0.2

type SizeConstraint struct {

	// Type a machine matches to a size in order to make them easier to categorize.
	Type SizeConstraintType `protobuf:"varint,1,opt,name=type,proto3,enum=metalstack.api.v2.SizeConstraintType" json:"type,omitempty"`
	// Min the minimum value of the constraint.
	Min uint64 `protobuf:"varint,2,opt,name=min,proto3" json:"min,omitempty"`
	// Max the maximum value of the constraint.
	Max uint64 `protobuf:"varint,3,opt,name=max,proto3" json:"max,omitempty"`
	// Identifier glob pattern which matches to the given type, for example gpu pci id.
	Identifier *string `protobuf:"bytes,4,opt,name=identifier,proto3,oneof" json:"identifier,omitempty"`
	// contains filtered or unexported fields
}

SizeConstraint defines the boundaries for certain type of machine property which must match to identify this machine as this size.

func (*SizeConstraint) Descriptor deprecated added in v0.0.2

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

Deprecated: Use SizeConstraint.ProtoReflect.Descriptor instead.

func (*SizeConstraint) GetIdentifier added in v0.0.2

func (x *SizeConstraint) GetIdentifier() string

func (*SizeConstraint) GetMax added in v0.0.2

func (x *SizeConstraint) GetMax() uint64

func (*SizeConstraint) GetMin added in v0.0.2

func (x *SizeConstraint) GetMin() uint64

func (*SizeConstraint) GetType added in v0.0.2

func (x *SizeConstraint) GetType() SizeConstraintType

func (*SizeConstraint) ProtoMessage added in v0.0.2

func (*SizeConstraint) ProtoMessage()

func (*SizeConstraint) ProtoReflect added in v0.0.2

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

func (*SizeConstraint) Reset added in v0.0.2

func (x *SizeConstraint) Reset()

func (*SizeConstraint) String added in v0.0.2

func (x *SizeConstraint) String() string

type SizeConstraintType added in v0.0.2

type SizeConstraintType int32

SizeConstraintType defines the property for which a constraint is defined.

const (
	// SIZE_CONSTRAINT_TYPE_UNSPECIFIED type is not specified.
	SizeConstraintType_SIZE_CONSTRAINT_TYPE_UNSPECIFIED SizeConstraintType = 0
	// SIZE_CONSTRAINT_TYPE_CORES defines the number of cores as property.
	SizeConstraintType_SIZE_CONSTRAINT_TYPE_CORES SizeConstraintType = 1
	// SIZE_CONSTRAINT_TYPE_MEMORY defines the amount of memory as property.
	SizeConstraintType_SIZE_CONSTRAINT_TYPE_MEMORY SizeConstraintType = 2
	// SIZE_CONSTRAINT_TYPE_STORAGE defines the amount of storage as property.
	SizeConstraintType_SIZE_CONSTRAINT_TYPE_STORAGE SizeConstraintType = 3
	// SIZE_CONSTRAINT_TYPE_GPU defines the number of gpus as property.
	SizeConstraintType_SIZE_CONSTRAINT_TYPE_GPU SizeConstraintType = 4
)

func (SizeConstraintType) Descriptor added in v0.0.2

func (SizeConstraintType) Enum added in v0.0.2

func (SizeConstraintType) EnumDescriptor deprecated added in v0.0.2

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

Deprecated: Use SizeConstraintType.Descriptor instead.

func (SizeConstraintType) Number added in v0.0.2

func (SizeConstraintType) String added in v0.0.2

func (x SizeConstraintType) String() string

func (SizeConstraintType) Type added in v0.0.2

type SizeImageConstraint added in v0.0.52

type SizeImageConstraint struct {

	// Size where this constraint should apply.
	Size string `protobuf:"bytes,1,opt,name=size,proto3" json:"size,omitempty"`
	// ImageConstraints to apply to this size.
	ImageConstraints []*ImageConstraint `protobuf:"bytes,2,rep,name=image_constraints,json=imageConstraints,proto3" json:"image_constraints,omitempty"`
	// Meta for this size image constraint.
	Meta *Meta `protobuf:"bytes,3,opt,name=meta,proto3" json:"meta,omitempty"`
	// Name of this size image constraint.
	Name *string `protobuf:"bytes,4,opt,name=name,proto3,oneof" json:"name,omitempty"`
	// Description of this size image constraint.
	Description *string `protobuf:"bytes,5,opt,name=description,proto3,oneof" json:"description,omitempty"`
	// contains filtered or unexported fields
}

SizeImageConstraint expresses optional restrictions for specific size to image combinations. This might be required if the support for a specific hardware in a given size is only supported with a newer version of the image.

If the size in question is not found, no restrictions apply. If the image in question is not found, no restrictions apply as well. If the image in question is found, but does not match the given expression, machine creation must be forbidden.

func (*SizeImageConstraint) Descriptor deprecated added in v0.0.52

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

Deprecated: Use SizeImageConstraint.ProtoReflect.Descriptor instead.

func (*SizeImageConstraint) GetDescription added in v0.0.52

func (x *SizeImageConstraint) GetDescription() string

func (*SizeImageConstraint) GetImageConstraints added in v0.0.52

func (x *SizeImageConstraint) GetImageConstraints() []*ImageConstraint

func (*SizeImageConstraint) GetMeta added in v0.0.52

func (x *SizeImageConstraint) GetMeta() *Meta

func (*SizeImageConstraint) GetName added in v0.0.52

func (x *SizeImageConstraint) GetName() string

func (*SizeImageConstraint) GetSize added in v0.0.52

func (x *SizeImageConstraint) GetSize() string

func (*SizeImageConstraint) ProtoMessage added in v0.0.52

func (*SizeImageConstraint) ProtoMessage()

func (*SizeImageConstraint) ProtoReflect added in v0.0.52

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

func (*SizeImageConstraint) Reset added in v0.0.52

func (x *SizeImageConstraint) Reset()

func (*SizeImageConstraint) String added in v0.0.52

func (x *SizeImageConstraint) String() string

type SizeImageConstraintQuery added in v0.0.52

type SizeImageConstraintQuery struct {

	// Size of the size image constraint.
	Size *string `protobuf:"bytes,1,opt,name=size,proto3,oneof" json:"size,omitempty"`
	// Name of the size image constraint to query.
	Name *string `protobuf:"bytes,2,opt,name=name,proto3,oneof" json:"name,omitempty"`
	// Description of the size image constraint to query.
	Description *string `protobuf:"bytes,3,opt,name=description,proto3,oneof" json:"description,omitempty"`
	// contains filtered or unexported fields
}

SizeImageConstraintQuery is used to search size image constraints.

func (*SizeImageConstraintQuery) Descriptor deprecated added in v0.0.52

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

Deprecated: Use SizeImageConstraintQuery.ProtoReflect.Descriptor instead.

func (*SizeImageConstraintQuery) GetDescription added in v0.0.52

func (x *SizeImageConstraintQuery) GetDescription() string

func (*SizeImageConstraintQuery) GetName added in v0.0.52

func (x *SizeImageConstraintQuery) GetName() string

func (*SizeImageConstraintQuery) GetSize added in v0.0.52

func (x *SizeImageConstraintQuery) GetSize() string

func (*SizeImageConstraintQuery) ProtoMessage added in v0.0.52

func (*SizeImageConstraintQuery) ProtoMessage()

func (*SizeImageConstraintQuery) ProtoReflect added in v0.0.52

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

func (*SizeImageConstraintQuery) Reset added in v0.0.52

func (x *SizeImageConstraintQuery) Reset()

func (*SizeImageConstraintQuery) String added in v0.0.52

func (x *SizeImageConstraintQuery) String() string

type SizeImageConstraintServiceTryRequest added in v0.0.52

type SizeImageConstraintServiceTryRequest struct {

	// Size to try.
	Size string `protobuf:"bytes,1,opt,name=size,proto3" json:"size,omitempty"`
	// Image to try.
	Image string `protobuf:"bytes,2,opt,name=image,proto3" json:"image,omitempty"`
	// contains filtered or unexported fields
}

SizeImageConstraintServiceTryRequest is the request payload for a size image constraint try request.

func (*SizeImageConstraintServiceTryRequest) Descriptor deprecated added in v0.0.52

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

Deprecated: Use SizeImageConstraintServiceTryRequest.ProtoReflect.Descriptor instead.

func (*SizeImageConstraintServiceTryRequest) GetImage added in v0.0.52

func (*SizeImageConstraintServiceTryRequest) GetSize added in v0.0.52

func (*SizeImageConstraintServiceTryRequest) ProtoMessage added in v0.0.52

func (*SizeImageConstraintServiceTryRequest) ProtoMessage()

func (*SizeImageConstraintServiceTryRequest) ProtoReflect added in v0.0.52

func (*SizeImageConstraintServiceTryRequest) Reset added in v0.0.52

func (*SizeImageConstraintServiceTryRequest) String added in v0.0.52

type SizeImageConstraintServiceTryResponse added in v0.0.52

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

SizeImageConstraintServiceTryResponse is the response payload for a size image constraint try request.

func (*SizeImageConstraintServiceTryResponse) Descriptor deprecated added in v0.0.52

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

Deprecated: Use SizeImageConstraintServiceTryResponse.ProtoReflect.Descriptor instead.

func (*SizeImageConstraintServiceTryResponse) ProtoMessage added in v0.0.52

func (*SizeImageConstraintServiceTryResponse) ProtoMessage()

func (*SizeImageConstraintServiceTryResponse) ProtoReflect added in v0.0.52

func (*SizeImageConstraintServiceTryResponse) Reset added in v0.0.52

func (*SizeImageConstraintServiceTryResponse) String added in v0.0.52

type SizeQuery added in v0.0.2

type SizeQuery struct {

	// ID of the size to get.
	Id *string `protobuf:"bytes,1,opt,name=id,proto3,oneof" json:"id,omitempty"`
	// Name of the size to query.
	Name *string `protobuf:"bytes,2,opt,name=name,proto3,oneof" json:"name,omitempty"`
	// Description of the size to query.
	Description *string `protobuf:"bytes,3,opt,name=description,proto3,oneof" json:"description,omitempty"`
	// Labels lists only sizes containing the given labels.
	Labels *Labels `protobuf:"bytes,4,opt,name=labels,proto3,oneof" json:"labels,omitempty"`
	// contains filtered or unexported fields
}

SizeQuery is used to search sizes.

func (*SizeQuery) Descriptor deprecated added in v0.0.2

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

Deprecated: Use SizeQuery.ProtoReflect.Descriptor instead.

func (*SizeQuery) GetDescription added in v0.0.2

func (x *SizeQuery) GetDescription() string

func (*SizeQuery) GetId added in v0.0.2

func (x *SizeQuery) GetId() string

func (*SizeQuery) GetLabels added in v0.0.2

func (x *SizeQuery) GetLabels() *Labels

func (*SizeQuery) GetName added in v0.0.2

func (x *SizeQuery) GetName() string

func (*SizeQuery) ProtoMessage added in v0.0.2

func (*SizeQuery) ProtoMessage()

func (*SizeQuery) ProtoReflect added in v0.0.2

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

func (*SizeQuery) Reset added in v0.0.2

func (x *SizeQuery) Reset()

func (*SizeQuery) String added in v0.0.2

func (x *SizeQuery) String() string

type SizeReservation added in v0.0.47

type SizeReservation struct {

	// Id of this size reservation, is generated on creation.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Meta for this size reservation.
	Meta *Meta `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta,omitempty"`
	// Name of this size reservation.
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// Description of this size reservation.
	Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	// Project of the size reservation.
	Project string `protobuf:"bytes,5,opt,name=project,proto3" json:"project,omitempty"`
	// Size id of this size reservation.
	Size string `protobuf:"bytes,6,opt,name=size,proto3" json:"size,omitempty"`
	// Partition ids of this size reservation.
	Partitions []string `protobuf:"bytes,7,rep,name=partitions,proto3" json:"partitions,omitempty"`
	// Amount of reservations of this size reservation.
	Amount int32 `protobuf:"varint,8,opt,name=amount,proto3" json:"amount,omitempty"`
	// contains filtered or unexported fields
}

SizeReservation.

func (*SizeReservation) Descriptor deprecated added in v0.0.47

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

Deprecated: Use SizeReservation.ProtoReflect.Descriptor instead.

func (*SizeReservation) GetAmount added in v0.0.47

func (x *SizeReservation) GetAmount() int32

func (*SizeReservation) GetDescription added in v0.0.47

func (x *SizeReservation) GetDescription() string

func (*SizeReservation) GetId added in v0.0.47

func (x *SizeReservation) GetId() string

func (*SizeReservation) GetMeta added in v0.0.47

func (x *SizeReservation) GetMeta() *Meta

func (*SizeReservation) GetName added in v0.0.47

func (x *SizeReservation) GetName() string

func (*SizeReservation) GetPartitions added in v0.0.47

func (x *SizeReservation) GetPartitions() []string

func (*SizeReservation) GetProject added in v0.0.47

func (x *SizeReservation) GetProject() string

func (*SizeReservation) GetSize added in v0.0.47

func (x *SizeReservation) GetSize() string

func (*SizeReservation) ProtoMessage added in v0.0.47

func (*SizeReservation) ProtoMessage()

func (*SizeReservation) ProtoReflect added in v0.0.47

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

func (*SizeReservation) Reset added in v0.0.47

func (x *SizeReservation) Reset()

func (*SizeReservation) String added in v0.0.47

func (x *SizeReservation) String() string

type SizeReservationQuery added in v0.0.47

type SizeReservationQuery struct {

	// ID of the size reservation to get.
	Id *string `protobuf:"bytes,1,opt,name=id,proto3,oneof" json:"id,omitempty"`
	// Name of this size reservation.
	Name *string `protobuf:"bytes,2,opt,name=name,proto3,oneof" json:"name,omitempty"`
	// Description of this size reservation.
	Description *string `protobuf:"bytes,3,opt,name=description,proto3,oneof" json:"description,omitempty"`
	// Size id of this size reservation.
	Size *string `protobuf:"bytes,4,opt,name=size,proto3,oneof" json:"size,omitempty"`
	// Project of the size reservation.
	Project *string `protobuf:"bytes,5,opt,name=project,proto3,oneof" json:"project,omitempty"`
	// Partition of the size reservation.
	Partition *string `protobuf:"bytes,6,opt,name=partition,proto3,oneof" json:"partition,omitempty"`
	// Labels lists only size reservations containing the given labels.
	Labels *Labels `protobuf:"bytes,7,opt,name=labels,proto3,oneof" json:"labels,omitempty"`
	// contains filtered or unexported fields
}

SizeReservationQuery is used to search size reservations.

func (*SizeReservationQuery) Descriptor deprecated added in v0.0.47

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

Deprecated: Use SizeReservationQuery.ProtoReflect.Descriptor instead.

func (*SizeReservationQuery) GetDescription added in v0.0.47

func (x *SizeReservationQuery) GetDescription() string

func (*SizeReservationQuery) GetId added in v0.0.47

func (x *SizeReservationQuery) GetId() string

func (*SizeReservationQuery) GetLabels added in v0.0.47

func (x *SizeReservationQuery) GetLabels() *Labels

func (*SizeReservationQuery) GetName added in v0.0.47

func (x *SizeReservationQuery) GetName() string

func (*SizeReservationQuery) GetPartition added in v0.0.47

func (x *SizeReservationQuery) GetPartition() string

func (*SizeReservationQuery) GetProject added in v0.0.47

func (x *SizeReservationQuery) GetProject() string

func (*SizeReservationQuery) GetSize added in v0.0.47

func (x *SizeReservationQuery) GetSize() string

func (*SizeReservationQuery) ProtoMessage added in v0.0.47

func (*SizeReservationQuery) ProtoMessage()

func (*SizeReservationQuery) ProtoReflect added in v0.0.47

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

func (*SizeReservationQuery) Reset added in v0.0.47

func (x *SizeReservationQuery) Reset()

func (*SizeReservationQuery) String added in v0.0.47

func (x *SizeReservationQuery) String() string

type SizeReservationServiceGetRequest added in v0.0.47

type SizeReservationServiceGetRequest struct {

	// ID of the size reservation to get.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Project of the size reservation.
	Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
	// contains filtered or unexported fields
}

SizeReservationServiceGetRequest is the request payload for a size get request.

func (*SizeReservationServiceGetRequest) Descriptor deprecated added in v0.0.47

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

Deprecated: Use SizeReservationServiceGetRequest.ProtoReflect.Descriptor instead.

func (*SizeReservationServiceGetRequest) GetId added in v0.0.47

func (*SizeReservationServiceGetRequest) GetProject added in v0.0.47

func (x *SizeReservationServiceGetRequest) GetProject() string

func (*SizeReservationServiceGetRequest) ProtoMessage added in v0.0.47

func (*SizeReservationServiceGetRequest) ProtoMessage()

func (*SizeReservationServiceGetRequest) ProtoReflect added in v0.0.47

func (*SizeReservationServiceGetRequest) Reset added in v0.0.47

func (*SizeReservationServiceGetRequest) String added in v0.0.47

type SizeReservationServiceGetResponse added in v0.0.47

type SizeReservationServiceGetResponse struct {

	// Size reservation.
	SizeReservation *SizeReservation `protobuf:"bytes,1,opt,name=size_reservation,json=sizeReservation,proto3" json:"size_reservation,omitempty"`
	// contains filtered or unexported fields
}

SizeReservationServiceGetResponse is the response payload for a size reservation get request.

func (*SizeReservationServiceGetResponse) Descriptor deprecated added in v0.0.47

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

Deprecated: Use SizeReservationServiceGetResponse.ProtoReflect.Descriptor instead.

func (*SizeReservationServiceGetResponse) GetSizeReservation added in v0.0.47

func (x *SizeReservationServiceGetResponse) GetSizeReservation() *SizeReservation

func (*SizeReservationServiceGetResponse) ProtoMessage added in v0.0.47

func (*SizeReservationServiceGetResponse) ProtoMessage()

func (*SizeReservationServiceGetResponse) ProtoReflect added in v0.0.47

func (*SizeReservationServiceGetResponse) Reset added in v0.0.47

func (*SizeReservationServiceGetResponse) String added in v0.0.47

type SizeReservationServiceListRequest added in v0.0.47

type SizeReservationServiceListRequest struct {

	// Project of the size reservation.
	Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
	// Query for size reservations.
	Query *SizeReservationQuery `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"`
	// contains filtered or unexported fields
}

SizeReservationServiceListRequest is the request payload for a size list request.

func (*SizeReservationServiceListRequest) Descriptor deprecated added in v0.0.47

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

Deprecated: Use SizeReservationServiceListRequest.ProtoReflect.Descriptor instead.

func (*SizeReservationServiceListRequest) GetProject added in v0.0.47

func (x *SizeReservationServiceListRequest) GetProject() string

func (*SizeReservationServiceListRequest) GetQuery added in v0.0.47

func (*SizeReservationServiceListRequest) ProtoMessage added in v0.0.47

func (*SizeReservationServiceListRequest) ProtoMessage()

func (*SizeReservationServiceListRequest) ProtoReflect added in v0.0.47

func (*SizeReservationServiceListRequest) Reset added in v0.0.47

func (*SizeReservationServiceListRequest) String added in v0.0.47

type SizeReservationServiceListResponse added in v0.0.47

type SizeReservationServiceListResponse struct {

	// Size reservations.
	SizeReservations []*SizeReservation `protobuf:"bytes,1,rep,name=size_reservations,json=sizeReservations,proto3" json:"size_reservations,omitempty"`
	// contains filtered or unexported fields
}

SizeReservationServiceListResponse is the response payload for a size reservation list request.

func (*SizeReservationServiceListResponse) Descriptor deprecated added in v0.0.47

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

Deprecated: Use SizeReservationServiceListResponse.ProtoReflect.Descriptor instead.

func (*SizeReservationServiceListResponse) GetSizeReservations added in v0.0.47

func (x *SizeReservationServiceListResponse) GetSizeReservations() []*SizeReservation

func (*SizeReservationServiceListResponse) ProtoMessage added in v0.0.47

func (*SizeReservationServiceListResponse) ProtoMessage()

func (*SizeReservationServiceListResponse) ProtoReflect added in v0.0.47

func (*SizeReservationServiceListResponse) Reset added in v0.0.47

func (*SizeReservationServiceListResponse) String added in v0.0.47

type SizeServiceGetRequest added in v0.0.2

type SizeServiceGetRequest struct {

	// ID of the size to get.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

SizeServiceGetRequest is the request payload for a size get request.

func (*SizeServiceGetRequest) Descriptor deprecated added in v0.0.2

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

Deprecated: Use SizeServiceGetRequest.ProtoReflect.Descriptor instead.

func (*SizeServiceGetRequest) GetId added in v0.0.2

func (x *SizeServiceGetRequest) GetId() string

func (*SizeServiceGetRequest) ProtoMessage added in v0.0.2

func (*SizeServiceGetRequest) ProtoMessage()

func (*SizeServiceGetRequest) ProtoReflect added in v0.0.2

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

func (*SizeServiceGetRequest) Reset added in v0.0.2

func (x *SizeServiceGetRequest) Reset()

func (*SizeServiceGetRequest) String added in v0.0.2

func (x *SizeServiceGetRequest) String() string

type SizeServiceGetResponse added in v0.0.2

type SizeServiceGetResponse struct {

	// Size the size.
	Size *Size `protobuf:"bytes,1,opt,name=size,proto3" json:"size,omitempty"`
	// contains filtered or unexported fields
}

SizeServiceGetResponse is the response payload for a size get request.

func (*SizeServiceGetResponse) Descriptor deprecated added in v0.0.2

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

Deprecated: Use SizeServiceGetResponse.ProtoReflect.Descriptor instead.

func (*SizeServiceGetResponse) GetSize added in v0.0.2

func (x *SizeServiceGetResponse) GetSize() *Size

func (*SizeServiceGetResponse) ProtoMessage added in v0.0.2

func (*SizeServiceGetResponse) ProtoMessage()

func (*SizeServiceGetResponse) ProtoReflect added in v0.0.2

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

func (*SizeServiceGetResponse) Reset added in v0.0.2

func (x *SizeServiceGetResponse) Reset()

func (*SizeServiceGetResponse) String added in v0.0.2

func (x *SizeServiceGetResponse) String() string

type SizeServiceListRequest added in v0.0.2

type SizeServiceListRequest struct {

	// Query for sizes.
	Query *SizeQuery `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"`
	// contains filtered or unexported fields
}

SizeServiceListRequest is the request payload for a size list request.

func (*SizeServiceListRequest) Descriptor deprecated added in v0.0.2

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

Deprecated: Use SizeServiceListRequest.ProtoReflect.Descriptor instead.

func (*SizeServiceListRequest) GetQuery added in v0.0.2

func (x *SizeServiceListRequest) GetQuery() *SizeQuery

func (*SizeServiceListRequest) ProtoMessage added in v0.0.2

func (*SizeServiceListRequest) ProtoMessage()

func (*SizeServiceListRequest) ProtoReflect added in v0.0.2

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

func (*SizeServiceListRequest) Reset added in v0.0.2

func (x *SizeServiceListRequest) Reset()

func (*SizeServiceListRequest) String added in v0.0.2

func (x *SizeServiceListRequest) String() string

type SizeServiceListResponse added in v0.0.2

type SizeServiceListResponse struct {

	// Sizes the sizes.
	Sizes []*Size `protobuf:"bytes,1,rep,name=sizes,proto3" json:"sizes,omitempty"`
	// contains filtered or unexported fields
}

SizeServiceListResponse is the response payload for a size list request.

func (*SizeServiceListResponse) Descriptor deprecated added in v0.0.2

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

Deprecated: Use SizeServiceListResponse.ProtoReflect.Descriptor instead.

func (*SizeServiceListResponse) GetSizes added in v0.0.2

func (x *SizeServiceListResponse) GetSizes() []*Size

func (*SizeServiceListResponse) ProtoMessage added in v0.0.2

func (*SizeServiceListResponse) ProtoMessage()

func (*SizeServiceListResponse) ProtoReflect added in v0.0.2

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

func (*SizeServiceListResponse) Reset added in v0.0.2

func (x *SizeServiceListResponse) Reset()

func (*SizeServiceListResponse) String added in v0.0.2

func (x *SizeServiceListResponse) String() string

type Switch added in v0.0.8

type Switch struct {

	// Id of the switch.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Meta for this switch.
	Meta *Meta `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta,omitempty"`
	// Description of the switch.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// Rack ID if the switch resides in a rack.
	Rack *string `protobuf:"bytes,4,opt,name=rack,proto3,oneof" json:"rack,omitempty"`
	// Room ID if the switch resides in a room.
	Room *string `protobuf:"bytes,5,opt,name=room,proto3,oneof" json:"room,omitempty"`
	// Partition the switch belongs to.
	Partition string `protobuf:"bytes,6,opt,name=partition,proto3" json:"partition,omitempty"`
	// ReplaceMode is used to mark a switch ready for replacement.
	ReplaceMode SwitchReplaceMode `` /* 136-byte string literal not displayed */
	// ManagementIp is the switch's IP for management access.
	ManagementIp string `protobuf:"bytes,8,opt,name=management_ip,json=managementIp,proto3" json:"management_ip,omitempty"`
	// ManagementUser is the user name to use for management access.
	ManagementUser *string `protobuf:"bytes,9,opt,name=management_user,json=managementUser,proto3,oneof" json:"management_user,omitempty"`
	// ConsoleCommand is the command for accessing the switch's console.
	ConsoleCommand *string `protobuf:"bytes,10,opt,name=console_command,json=consoleCommand,proto3,oneof" json:"console_command,omitempty"`
	// Nics are the front panel ports of the switch.
	Nics []*SwitchNic `protobuf:"bytes,11,rep,name=nics,proto3" json:"nics,omitempty"`
	// SwitchOs is the OS running on the switch.
	Os *SwitchOS `protobuf:"bytes,12,opt,name=os,proto3" json:"os,omitempty"`
	// MachineConnections map machines to the nics they are connected to.
	MachineConnections []*MachineConnection `protobuf:"bytes,13,rep,name=machine_connections,json=machineConnections,proto3" json:"machine_connections,omitempty"`
	// LastSync contains information about the last heartbeat of the switch.
	LastSync *SwitchSync `protobuf:"bytes,14,opt,name=last_sync,json=lastSync,proto3" json:"last_sync,omitempty"`
	// LastSyncError contains information about the last unsuccessful heartbeat of the switch.
	LastSyncError *SwitchSync `protobuf:"bytes,15,opt,name=last_sync_error,json=lastSyncError,proto3" json:"last_sync_error,omitempty"`
	// contains filtered or unexported fields
}

Switch represents a network switch.

func (*Switch) Descriptor deprecated added in v0.0.8

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

Deprecated: Use Switch.ProtoReflect.Descriptor instead.

func (*Switch) GetConsoleCommand added in v0.0.8

func (x *Switch) GetConsoleCommand() string

func (*Switch) GetDescription added in v0.0.8

func (x *Switch) GetDescription() string

func (*Switch) GetId added in v0.0.8

func (x *Switch) GetId() string

func (*Switch) GetLastSync added in v0.0.38

func (x *Switch) GetLastSync() *SwitchSync

func (*Switch) GetLastSyncError added in v0.0.38

func (x *Switch) GetLastSyncError() *SwitchSync

func (*Switch) GetMachineConnections added in v0.0.23

func (x *Switch) GetMachineConnections() []*MachineConnection

func (*Switch) GetManagementIp added in v0.0.8

func (x *Switch) GetManagementIp() string

func (*Switch) GetManagementUser added in v0.0.8

func (x *Switch) GetManagementUser() string

func (*Switch) GetMeta added in v0.0.23

func (x *Switch) GetMeta() *Meta

func (*Switch) GetNics added in v0.0.23

func (x *Switch) GetNics() []*SwitchNic

func (*Switch) GetOs added in v0.0.23

func (x *Switch) GetOs() *SwitchOS

func (*Switch) GetPartition added in v0.0.8

func (x *Switch) GetPartition() string

func (*Switch) GetRack added in v0.0.13

func (x *Switch) GetRack() string

func (*Switch) GetReplaceMode added in v0.0.8

func (x *Switch) GetReplaceMode() SwitchReplaceMode

func (*Switch) GetRoom added in v0.3.0

func (x *Switch) GetRoom() string

func (*Switch) ProtoMessage added in v0.0.8

func (*Switch) ProtoMessage()

func (*Switch) ProtoReflect added in v0.0.8

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

func (*Switch) Reset added in v0.0.8

func (x *Switch) Reset()

func (*Switch) String added in v0.0.8

func (x *Switch) String() string

type SwitchBGPPortState added in v0.0.8

type SwitchBGPPortState struct {

	// Neighbor of this port.
	Neighbor string `protobuf:"bytes,1,opt,name=neighbor,proto3" json:"neighbor,omitempty"`
	// PeerGroup of this port.
	PeerGroup string `protobuf:"bytes,2,opt,name=peer_group,json=peerGroup,proto3" json:"peer_group,omitempty"`
	// VrfName of the VRF this port is bound to.
	VrfName string `protobuf:"bytes,3,opt,name=vrf_name,json=vrfName,proto3" json:"vrf_name,omitempty"`
	// BgpState of the connection on this port.
	BgpState BGPState `protobuf:"varint,4,opt,name=bgp_state,json=bgpState,proto3,enum=metalstack.api.v2.BGPState" json:"bgp_state,omitempty"`
	// BgpTimerUpEstablished reports when this port's BGP connection was established.
	BgpTimerUpEstablished *timestamppb.Timestamp `` /* 128-byte string literal not displayed */
	// SentPrefixCounter counts the prefixes sent by the switch on this port.
	SentPrefixCounter uint64 `protobuf:"varint,6,opt,name=sent_prefix_counter,json=sentPrefixCounter,proto3" json:"sent_prefix_counter,omitempty"`
	// AcceptedPrefixCounter counts the prefixes received on this port.
	AcceptedPrefixCounter uint64 `` /* 127-byte string literal not displayed */
	// contains filtered or unexported fields
}

SwitchBGPPortState holds information about the BGP state of a port.

func (*SwitchBGPPortState) Descriptor deprecated added in v0.0.8

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

Deprecated: Use SwitchBGPPortState.ProtoReflect.Descriptor instead.

func (*SwitchBGPPortState) GetAcceptedPrefixCounter added in v0.0.8

func (x *SwitchBGPPortState) GetAcceptedPrefixCounter() uint64

func (*SwitchBGPPortState) GetBgpState added in v0.0.8

func (x *SwitchBGPPortState) GetBgpState() BGPState

func (*SwitchBGPPortState) GetBgpTimerUpEstablished added in v0.0.8

func (x *SwitchBGPPortState) GetBgpTimerUpEstablished() *timestamppb.Timestamp

func (*SwitchBGPPortState) GetNeighbor added in v0.0.8

func (x *SwitchBGPPortState) GetNeighbor() string

func (*SwitchBGPPortState) GetPeerGroup added in v0.0.8

func (x *SwitchBGPPortState) GetPeerGroup() string

func (*SwitchBGPPortState) GetSentPrefixCounter added in v0.0.8

func (x *SwitchBGPPortState) GetSentPrefixCounter() uint64

func (*SwitchBGPPortState) GetVrfName added in v0.0.8

func (x *SwitchBGPPortState) GetVrfName() string

func (*SwitchBGPPortState) ProtoMessage added in v0.0.8

func (*SwitchBGPPortState) ProtoMessage()

func (*SwitchBGPPortState) ProtoReflect added in v0.0.8

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

func (*SwitchBGPPortState) Reset added in v0.0.8

func (x *SwitchBGPPortState) Reset()

func (*SwitchBGPPortState) String added in v0.0.8

func (x *SwitchBGPPortState) String() string

type SwitchNic added in v0.0.8

type SwitchNic struct {

	// Name of the switch port.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Identifier of the port.
	Identifier string `protobuf:"bytes,2,opt,name=identifier,proto3" json:"identifier,omitempty"`
	// MAC address of the port.
	Mac *string `protobuf:"bytes,3,opt,name=mac,proto3,oneof" json:"mac,omitempty"`
	// VRF name if the port is bound in one.
	Vrf *string `protobuf:"bytes,4,opt,name=vrf,proto3,oneof" json:"vrf,omitempty"`
	// NicState describes the current state of the switch port.
	State *NicState `protobuf:"bytes,5,opt,name=state,proto3,oneof" json:"state,omitempty"`
	// BGPFilter optionally configured on a port.
	BgpFilter *BGPFilter `protobuf:"bytes,6,opt,name=bgp_filter,json=bgpFilter,proto3,oneof" json:"bgp_filter,omitempty"`
	// BGPPortState represents the current BGP status of the port.
	BgpPortState *SwitchBGPPortState `protobuf:"bytes,7,opt,name=bgp_port_state,json=bgpPortState,proto3,oneof" json:"bgp_port_state,omitempty"`
	// contains filtered or unexported fields
}

SwitchNic represents a front panel port and its configuration.

func (*SwitchNic) Descriptor deprecated added in v0.0.8

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

Deprecated: Use SwitchNic.ProtoReflect.Descriptor instead.

func (*SwitchNic) GetBgpFilter added in v0.0.8

func (x *SwitchNic) GetBgpFilter() *BGPFilter

func (*SwitchNic) GetBgpPortState added in v0.0.8

func (x *SwitchNic) GetBgpPortState() *SwitchBGPPortState

func (*SwitchNic) GetIdentifier added in v0.0.8

func (x *SwitchNic) GetIdentifier() string

func (*SwitchNic) GetMac added in v0.0.9

func (x *SwitchNic) GetMac() string

func (*SwitchNic) GetName added in v0.0.8

func (x *SwitchNic) GetName() string

func (*SwitchNic) GetState added in v0.0.23

func (x *SwitchNic) GetState() *NicState

func (*SwitchNic) GetVrf added in v0.0.8

func (x *SwitchNic) GetVrf() string

func (*SwitchNic) ProtoMessage added in v0.0.8

func (*SwitchNic) ProtoMessage()

func (*SwitchNic) ProtoReflect added in v0.0.8

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

func (*SwitchNic) Reset added in v0.0.8

func (x *SwitchNic) Reset()

func (*SwitchNic) String added in v0.0.8

func (x *SwitchNic) String() string

type SwitchNicWithMachine added in v0.0.53

type SwitchNicWithMachine struct {

	// Nic is the switch nic the machine is connected to.
	Nic *SwitchNic `protobuf:"bytes,1,opt,name=nic,proto3" json:"nic,omitempty"`
	// Machine connected to this nic.
	Machine *Machine `protobuf:"bytes,2,opt,name=machine,proto3" json:"machine,omitempty"`
	// FRU of the connected machine.
	Fru *MachineFRU `protobuf:"bytes,3,opt,name=fru,proto3" json:"fru,omitempty"`
	// contains filtered or unexported fields
}

SwitchNicWithMachine associates a switch port with its connected machine.

func (*SwitchNicWithMachine) Descriptor deprecated added in v0.0.53

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

Deprecated: Use SwitchNicWithMachine.ProtoReflect.Descriptor instead.

func (*SwitchNicWithMachine) GetFru added in v0.0.53

func (x *SwitchNicWithMachine) GetFru() *MachineFRU

func (*SwitchNicWithMachine) GetMachine added in v0.0.53

func (x *SwitchNicWithMachine) GetMachine() *Machine

func (*SwitchNicWithMachine) GetNic added in v0.0.53

func (x *SwitchNicWithMachine) GetNic() *SwitchNic

func (*SwitchNicWithMachine) ProtoMessage added in v0.0.53

func (*SwitchNicWithMachine) ProtoMessage()

func (*SwitchNicWithMachine) ProtoReflect added in v0.0.53

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

func (*SwitchNicWithMachine) Reset added in v0.0.53

func (x *SwitchNicWithMachine) Reset()

func (*SwitchNicWithMachine) String added in v0.0.53

func (x *SwitchNicWithMachine) String() string

type SwitchOS added in v0.0.8

type SwitchOS struct {

	// Vendor identifies what NOS distribution is running on the switch, e.g. SONiC.
	Vendor SwitchOSVendor `protobuf:"varint,1,opt,name=vendor,proto3,enum=metalstack.api.v2.SwitchOSVendor" json:"vendor,omitempty"`
	// Version specifies what NOS version is currently installed on the switch.
	Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
	// MetalCoreVersion is the currently running version of the metal-core.
	MetalCoreVersion string `protobuf:"bytes,3,opt,name=metal_core_version,json=metalCoreVersion,proto3" json:"metal_core_version,omitempty"`
	// contains filtered or unexported fields
}

SwitchOS holds information about the NOS and versions running on the switch.

func (*SwitchOS) Descriptor deprecated added in v0.0.8

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

Deprecated: Use SwitchOS.ProtoReflect.Descriptor instead.

func (*SwitchOS) GetMetalCoreVersion added in v0.0.8

func (x *SwitchOS) GetMetalCoreVersion() string

func (*SwitchOS) GetVendor added in v0.0.8

func (x *SwitchOS) GetVendor() SwitchOSVendor

func (*SwitchOS) GetVersion added in v0.0.8

func (x *SwitchOS) GetVersion() string

func (*SwitchOS) ProtoMessage added in v0.0.8

func (*SwitchOS) ProtoMessage()

func (*SwitchOS) ProtoReflect added in v0.0.8

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

func (*SwitchOS) Reset added in v0.0.8

func (x *SwitchOS) Reset()

func (*SwitchOS) String added in v0.0.8

func (x *SwitchOS) String() string

type SwitchOSQuery added in v0.0.23

type SwitchOSQuery struct {

	// OsVendor of the switch OS by which to filter the switches.
	Vendor *SwitchOSVendor `protobuf:"varint,1,opt,name=vendor,proto3,enum=metalstack.api.v2.SwitchOSVendor,oneof" json:"vendor,omitempty"`
	// OsVersion of the OS by which to filter the switches.
	Version *string `protobuf:"bytes,2,opt,name=version,proto3,oneof" json:"version,omitempty"`
	// contains filtered or unexported fields
}

SwitchOSQuery holds OS specific query parameters.

func (*SwitchOSQuery) Descriptor deprecated added in v0.0.23

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

Deprecated: Use SwitchOSQuery.ProtoReflect.Descriptor instead.

func (*SwitchOSQuery) GetVendor added in v0.0.23

func (x *SwitchOSQuery) GetVendor() SwitchOSVendor

func (*SwitchOSQuery) GetVersion added in v0.0.23

func (x *SwitchOSQuery) GetVersion() string

func (*SwitchOSQuery) ProtoMessage added in v0.0.23

func (*SwitchOSQuery) ProtoMessage()

func (*SwitchOSQuery) ProtoReflect added in v0.0.23

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

func (*SwitchOSQuery) Reset added in v0.0.23

func (x *SwitchOSQuery) Reset()

func (*SwitchOSQuery) String added in v0.0.23

func (x *SwitchOSQuery) String() string

type SwitchOSVendor added in v0.0.8

type SwitchOSVendor int32

SwitchOSVendor represents a NOS distribution.

const (
	// SWITCH_OS_VENDOR_UNSPECIFIED is not specified.
	SwitchOSVendor_SWITCH_OS_VENDOR_UNSPECIFIED SwitchOSVendor = 0
	// SWITCH_OS_VENDOR_CUMULUS means this switch is running on Cumulus Linux.
	SwitchOSVendor_SWITCH_OS_VENDOR_CUMULUS SwitchOSVendor = 1
	// SWITCH_OS_VENDOR_SONIC means this switch is running on SONiC NOS.
	SwitchOSVendor_SWITCH_OS_VENDOR_SONIC SwitchOSVendor = 2
)

func (SwitchOSVendor) Descriptor added in v0.0.8

func (SwitchOSVendor) Enum added in v0.0.8

func (x SwitchOSVendor) Enum() *SwitchOSVendor

func (SwitchOSVendor) EnumDescriptor deprecated added in v0.0.8

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

Deprecated: Use SwitchOSVendor.Descriptor instead.

func (SwitchOSVendor) Number added in v0.0.8

func (SwitchOSVendor) String added in v0.0.8

func (x SwitchOSVendor) String() string

func (SwitchOSVendor) Type added in v0.0.8

type SwitchPortStatus added in v0.0.8

type SwitchPortStatus int32

SwitchPortStatus specifies the state of a switch port.

const (
	// SWITCH_PORT_STATUS_UNSPECIFIED is not specified.
	SwitchPortStatus_SWITCH_PORT_STATUS_UNSPECIFIED SwitchPortStatus = 0
	// SWITCH_PORT_STATUS_UP means this port is up.
	SwitchPortStatus_SWITCH_PORT_STATUS_UP SwitchPortStatus = 1
	// SWITCH_PORT_STATUS_DOWN means this port is down.
	SwitchPortStatus_SWITCH_PORT_STATUS_DOWN SwitchPortStatus = 2
	// SWITCH_PORT_STATUS_UNKNOWN means the status of this port is unknown.
	SwitchPortStatus_SWITCH_PORT_STATUS_UNKNOWN SwitchPortStatus = 3
)

func (SwitchPortStatus) Descriptor added in v0.0.8

func (SwitchPortStatus) Enum added in v0.0.8

func (SwitchPortStatus) EnumDescriptor deprecated added in v0.0.8

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

Deprecated: Use SwitchPortStatus.Descriptor instead.

func (SwitchPortStatus) Number added in v0.0.8

func (SwitchPortStatus) String added in v0.0.8

func (x SwitchPortStatus) String() string

func (SwitchPortStatus) Type added in v0.0.8

type SwitchQuery added in v0.0.23

type SwitchQuery struct {

	// Id of the switch to list.
	Id *string `protobuf:"bytes,1,opt,name=id,proto3,oneof" json:"id,omitempty"`
	// Partition of the switches to list.
	Partition *string `protobuf:"bytes,2,opt,name=partition,proto3,oneof" json:"partition,omitempty"`
	// Rack of the switches to list.
	Rack *string `protobuf:"bytes,3,opt,name=rack,proto3,oneof" json:"rack,omitempty"`
	// Room ID if the switch resides in a room.
	Room *string `protobuf:"bytes,4,opt,name=room,proto3,oneof" json:"room,omitempty"`
	// Switch OS specific queries.
	Os *SwitchOSQuery `protobuf:"bytes,5,opt,name=os,proto3,oneof" json:"os,omitempty"`
	// ConnectedMachineID lists the switches which have the given machine id in the connected machines map.
	ConnectedMachineId *string `protobuf:"bytes,6,opt,name=connected_machine_id,json=connectedMachineId,proto3,oneof" json:"connected_machine_id,omitempty"`
	// contains filtered or unexported fields
}

SwitchQuery can be used to query a switch or a list of switches.

func (*SwitchQuery) Descriptor deprecated added in v0.0.23

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

Deprecated: Use SwitchQuery.ProtoReflect.Descriptor instead.

func (*SwitchQuery) GetConnectedMachineId added in v0.1.6

func (x *SwitchQuery) GetConnectedMachineId() string

func (*SwitchQuery) GetId added in v0.0.23

func (x *SwitchQuery) GetId() string

func (*SwitchQuery) GetOs added in v0.0.23

func (x *SwitchQuery) GetOs() *SwitchOSQuery

func (*SwitchQuery) GetPartition added in v0.0.23

func (x *SwitchQuery) GetPartition() string

func (*SwitchQuery) GetRack added in v0.0.23

func (x *SwitchQuery) GetRack() string

func (*SwitchQuery) GetRoom added in v0.3.0

func (x *SwitchQuery) GetRoom() string

func (*SwitchQuery) ProtoMessage added in v0.0.23

func (*SwitchQuery) ProtoMessage()

func (*SwitchQuery) ProtoReflect added in v0.0.23

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

func (*SwitchQuery) Reset added in v0.0.23

func (x *SwitchQuery) Reset()

func (*SwitchQuery) String added in v0.0.23

func (x *SwitchQuery) String() string

type SwitchReplaceMode added in v0.0.8

type SwitchReplaceMode int32

SwitchReplaceMode is used to mark a switch ready for replacement.

const (
	// SWITCH_REPLACE_MODE_UNSPECIFIED is not specified.
	SwitchReplaceMode_SWITCH_REPLACE_MODE_UNSPECIFIED SwitchReplaceMode = 0
	// SWITCH_REPLACE_MODE_REPLACE means this switch is waiting to be replaced.
	SwitchReplaceMode_SWITCH_REPLACE_MODE_REPLACE SwitchReplaceMode = 1
	// SWITCH_REPLACE_MODE_OPERATIONAL means this switch is operational and cannot be replaced.
	SwitchReplaceMode_SWITCH_REPLACE_MODE_OPERATIONAL SwitchReplaceMode = 2
)

func (SwitchReplaceMode) Descriptor added in v0.0.8

func (SwitchReplaceMode) Enum added in v0.0.8

func (SwitchReplaceMode) EnumDescriptor deprecated added in v0.0.8

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

Deprecated: Use SwitchReplaceMode.Descriptor instead.

func (SwitchReplaceMode) Number added in v0.0.8

func (SwitchReplaceMode) String added in v0.0.8

func (x SwitchReplaceMode) String() string

func (SwitchReplaceMode) Type added in v0.0.8

type SwitchSync added in v0.0.38

type SwitchSync struct {

	// Time of the sync.
	Time *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"`
	// Duration of the sync.
	Duration *durationpb.Duration `protobuf:"bytes,2,opt,name=duration,proto3" json:"duration,omitempty"`
	// Error if any occurred.
	Error *string `protobuf:"bytes,3,opt,name=error,proto3,oneof" json:"error,omitempty"`
	// contains filtered or unexported fields
}

SwitchSync summarizes information about a switch sync.

func (*SwitchSync) Descriptor deprecated added in v0.0.38

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

Deprecated: Use SwitchSync.ProtoReflect.Descriptor instead.

func (*SwitchSync) GetDuration added in v0.0.38

func (x *SwitchSync) GetDuration() *durationpb.Duration

func (*SwitchSync) GetError added in v0.0.38

func (x *SwitchSync) GetError() string

func (*SwitchSync) GetTime added in v0.0.38

func (x *SwitchSync) GetTime() *timestamppb.Timestamp

func (*SwitchSync) ProtoMessage added in v0.0.38

func (*SwitchSync) ProtoMessage()

func (*SwitchSync) ProtoReflect added in v0.0.38

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

func (*SwitchSync) Reset added in v0.0.38

func (x *SwitchSync) Reset()

func (*SwitchSync) String added in v0.0.38

func (x *SwitchSync) String() string

type SwitchWithMachines added in v0.0.53

type SwitchWithMachines struct {

	// Id of the switch.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Partition of the switch.
	Partition string `protobuf:"bytes,2,opt,name=partition,proto3" json:"partition,omitempty"`
	// Rack of the switch.
	Rack string `protobuf:"bytes,3,opt,name=rack,proto3" json:"rack,omitempty"`
	// Connections associates switch ports with the machines connected to them.
	Connections []*SwitchNicWithMachine `protobuf:"bytes,4,rep,name=connections,proto3" json:"connections,omitempty"`
	// contains filtered or unexported fields
}

SwitchWithMachines contains a mapping from switch ports to connected machines.

func (*SwitchWithMachines) Descriptor deprecated added in v0.0.53

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

Deprecated: Use SwitchWithMachines.ProtoReflect.Descriptor instead.

func (*SwitchWithMachines) GetConnections added in v0.0.53

func (x *SwitchWithMachines) GetConnections() []*SwitchNicWithMachine

func (*SwitchWithMachines) GetId added in v0.0.53

func (x *SwitchWithMachines) GetId() string

func (*SwitchWithMachines) GetPartition added in v0.0.53

func (x *SwitchWithMachines) GetPartition() string

func (*SwitchWithMachines) GetRack added in v0.0.53

func (x *SwitchWithMachines) GetRack() string

func (*SwitchWithMachines) ProtoMessage added in v0.0.53

func (*SwitchWithMachines) ProtoMessage()

func (*SwitchWithMachines) ProtoReflect added in v0.0.53

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

func (*SwitchWithMachines) Reset added in v0.0.53

func (x *SwitchWithMachines) Reset()

func (*SwitchWithMachines) String added in v0.0.53

func (x *SwitchWithMachines) String() string

type Tenant

type Tenant struct {

	// Login of the tenant.
	Login string `protobuf:"bytes,1,opt,name=login,proto3" json:"login,omitempty"`
	// Meta for this tenant.
	Meta *Meta `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta,omitempty"`
	// Name of the tenant.
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// Email of the tenant.
	Email string `protobuf:"bytes,4,opt,name=email,proto3" json:"email,omitempty"`
	// Description of this tenant.
	Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
	// AvatarUrl of the tenant.
	AvatarUrl string `protobuf:"bytes,6,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"`
	// CreatedBy stores who created this tenant.
	CreatedBy string `protobuf:"bytes,7,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"`
	// contains filtered or unexported fields
}

Tenant is a customer of the platform.

func (*Tenant) Descriptor deprecated

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

Deprecated: Use Tenant.ProtoReflect.Descriptor instead.

func (*Tenant) GetAvatarUrl

func (x *Tenant) GetAvatarUrl() string

func (*Tenant) GetCreatedBy

func (x *Tenant) GetCreatedBy() string

func (*Tenant) GetDescription

func (x *Tenant) GetDescription() string

func (*Tenant) GetEmail

func (x *Tenant) GetEmail() string

func (*Tenant) GetLogin

func (x *Tenant) GetLogin() string

func (*Tenant) GetMeta

func (x *Tenant) GetMeta() *Meta

func (*Tenant) GetName

func (x *Tenant) GetName() string

func (*Tenant) ProtoMessage

func (*Tenant) ProtoMessage()

func (*Tenant) ProtoReflect

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

func (*Tenant) Reset

func (x *Tenant) Reset()

func (*Tenant) String

func (x *Tenant) String() string

type TenantInvite

type TenantInvite struct {

	// Secret is the secret part of the invite, typically part of the url.
	Secret string `protobuf:"bytes,1,opt,name=secret,proto3" json:"secret,omitempty"`
	// TargetTenant is the tenant id for which this invite was created.
	TargetTenant string `protobuf:"bytes,2,opt,name=target_tenant,json=targetTenant,proto3" json:"target_tenant,omitempty"`
	// Role is the role in this tenant the user will get after accepting the invitation.
	Role TenantRole `protobuf:"varint,3,opt,name=role,proto3,enum=metalstack.api.v2.TenantRole" json:"role,omitempty"`
	// Joined is false as long as a user has not accepted the invite.
	Joined bool `protobuf:"varint,4,opt,name=joined,proto3" json:"joined,omitempty"`
	// TargetTenantName is the tenant name for which this invite was created.
	TargetTenantName string `protobuf:"bytes,5,opt,name=target_tenant_name,json=targetTenantName,proto3" json:"target_tenant_name,omitempty"`
	// Tenant is the login of the tenant inviting another user to join this tenant.
	Tenant string `protobuf:"bytes,6,opt,name=tenant,proto3" json:"tenant,omitempty"`
	// TenantName is the name of the tenant inviting another user to join this tenant.
	TenantName string `protobuf:"bytes,7,opt,name=tenant_name,json=tenantName,proto3" json:"tenant_name,omitempty"`
	// ExpiresAt the date when this invite expires.
	ExpiresAt *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"`
	// JoinedAt the date when the member accepted this invite.
	JoinedAt *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=joined_at,json=joinedAt,proto3" json:"joined_at,omitempty"`
	// contains filtered or unexported fields
}

TenantInvite defines invite to tenant.

func (*TenantInvite) Descriptor deprecated

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

Deprecated: Use TenantInvite.ProtoReflect.Descriptor instead.

func (*TenantInvite) GetExpiresAt

func (x *TenantInvite) GetExpiresAt() *timestamppb.Timestamp

func (*TenantInvite) GetJoined

func (x *TenantInvite) GetJoined() bool

func (*TenantInvite) GetJoinedAt

func (x *TenantInvite) GetJoinedAt() *timestamppb.Timestamp

func (*TenantInvite) GetRole

func (x *TenantInvite) GetRole() TenantRole

func (*TenantInvite) GetSecret

func (x *TenantInvite) GetSecret() string

func (*TenantInvite) GetTargetTenant

func (x *TenantInvite) GetTargetTenant() string

func (*TenantInvite) GetTargetTenantName

func (x *TenantInvite) GetTargetTenantName() string

func (*TenantInvite) GetTenant

func (x *TenantInvite) GetTenant() string

func (*TenantInvite) GetTenantName

func (x *TenantInvite) GetTenantName() string

func (*TenantInvite) ProtoMessage

func (*TenantInvite) ProtoMessage()

func (*TenantInvite) ProtoReflect

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

func (*TenantInvite) Reset

func (x *TenantInvite) Reset()

func (*TenantInvite) String

func (x *TenantInvite) String() string

type TenantMember

type TenantMember struct {

	// Id is the user id of the member.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Role is the role of the member.
	Role TenantRole `protobuf:"varint,2,opt,name=role,proto3,enum=metalstack.api.v2.TenantRole" json:"role,omitempty"`
	// Projects in which a user is a direct member.
	Projects []string `protobuf:"bytes,3,rep,name=projects,proto3" json:"projects,omitempty"`
	// CreatedAt the date when the member was added to the tenant.
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// Meta for this tenant member.
	Meta *Meta `protobuf:"bytes,5,opt,name=meta,proto3" json:"meta,omitempty"`
	// contains filtered or unexported fields
}

TenantMember defines a user that participates in a tenant.

func (*TenantMember) Descriptor deprecated

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

Deprecated: Use TenantMember.ProtoReflect.Descriptor instead.

func (*TenantMember) GetCreatedAt

func (x *TenantMember) GetCreatedAt() *timestamppb.Timestamp

func (*TenantMember) GetId

func (x *TenantMember) GetId() string

func (*TenantMember) GetMeta added in v0.1.2

func (x *TenantMember) GetMeta() *Meta

func (*TenantMember) GetProjects added in v0.0.13

func (x *TenantMember) GetProjects() []string

func (*TenantMember) GetRole

func (x *TenantMember) GetRole() TenantRole

func (*TenantMember) ProtoMessage

func (*TenantMember) ProtoMessage()

func (*TenantMember) ProtoReflect

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

func (*TenantMember) Reset

func (x *TenantMember) Reset()

func (*TenantMember) String

func (x *TenantMember) String() string

type TenantPermissions added in v0.4.0

type TenantPermissions struct {

	// Login of the tenant.
	// Asterisk (*) can be specified to match any subject.
	Login string `protobuf:"bytes,1,opt,name=login,proto3" json:"login,omitempty"`
	// Methods which should be accessible.
	Methods []string `protobuf:"bytes,2,rep,name=methods,proto3" json:"methods,omitempty"`
	// contains filtered or unexported fields
}

TenantPermissions carries tenant method permissions.

func (*TenantPermissions) Descriptor deprecated added in v0.4.0

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

Deprecated: Use TenantPermissions.ProtoReflect.Descriptor instead.

func (*TenantPermissions) GetLogin added in v0.4.0

func (x *TenantPermissions) GetLogin() string

func (*TenantPermissions) GetMethods added in v0.4.0

func (x *TenantPermissions) GetMethods() []string

func (*TenantPermissions) ProtoMessage added in v0.4.0

func (*TenantPermissions) ProtoMessage()

func (*TenantPermissions) ProtoReflect added in v0.4.0

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

func (*TenantPermissions) Reset added in v0.4.0

func (x *TenantPermissions) Reset()

func (*TenantPermissions) String added in v0.4.0

func (x *TenantPermissions) String() string

type TenantQuery added in v0.1.5

type TenantQuery struct {

	// Id filters tenants by login.
	Login *string `protobuf:"bytes,1,opt,name=login,proto3,oneof" json:"login,omitempty"`
	// Name filters tenants by name.
	Name *string `protobuf:"bytes,2,opt,name=name,proto3,oneof" json:"name,omitempty"`
	// Labels lists only projects containing the given labels.
	Labels *Labels `protobuf:"bytes,3,opt,name=labels,proto3,oneof" json:"labels,omitempty"`
	// Paging details for the list request.
	Paging *Paging `protobuf:"bytes,4,opt,name=paging,proto3" json:"paging,omitempty"`
	// contains filtered or unexported fields
}

TenantQuery is used to search tenants.

func (*TenantQuery) Descriptor deprecated added in v0.1.5

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

Deprecated: Use TenantQuery.ProtoReflect.Descriptor instead.

func (*TenantQuery) GetLabels added in v0.1.5

func (x *TenantQuery) GetLabels() *Labels

func (*TenantQuery) GetLogin added in v0.1.5

func (x *TenantQuery) GetLogin() string

func (*TenantQuery) GetName added in v0.1.5

func (x *TenantQuery) GetName() string

func (*TenantQuery) GetPaging added in v0.1.5

func (x *TenantQuery) GetPaging() *Paging

func (*TenantQuery) ProtoMessage added in v0.1.5

func (*TenantQuery) ProtoMessage()

func (*TenantQuery) ProtoReflect added in v0.1.5

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

func (*TenantQuery) Reset added in v0.1.5

func (x *TenantQuery) Reset()

func (*TenantQuery) String added in v0.1.5

func (x *TenantQuery) String() string

type TenantRole

type TenantRole int32

TenantRole specifies what role a logged in user needs to call this tenant scoped service.

const (
	// TENANT_ROLE_UNSPECIFIED is not specified.
	TenantRole_TENANT_ROLE_UNSPECIFIED TenantRole = 0
	// TENANT_ROLE_OWNER the logged in user needs at least owner role to call this method.
	TenantRole_TENANT_ROLE_OWNER TenantRole = 1
	// TENANT_ROLE_EDITOR the logged in user needs at least editor role to call this method.
	TenantRole_TENANT_ROLE_EDITOR TenantRole = 2
	// TENANT_ROLE_VIEWER the logged in user needs at least viewer role to call this method.
	TenantRole_TENANT_ROLE_VIEWER TenantRole = 3
	// TENANT_ROLE_GUEST the logged in user needs at least guest role to call this method.
	// The guest role is assumed by users who are invited to a tenant's project without them.
	// having a direct membership within the tenant.
	TenantRole_TENANT_ROLE_GUEST TenantRole = 4
)

func (TenantRole) Descriptor

func (TenantRole) Descriptor() protoreflect.EnumDescriptor

func (TenantRole) Enum

func (x TenantRole) Enum() *TenantRole

func (TenantRole) EnumDescriptor deprecated

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

Deprecated: Use TenantRole.Descriptor instead.

func (TenantRole) Number

func (x TenantRole) Number() protoreflect.EnumNumber

func (TenantRole) String

func (x TenantRole) String() string

func (TenantRole) Type

type TenantServiceAddMemberRequest added in v0.3.0

type TenantServiceAddMemberRequest struct {

	// Login of the tenant to which the member will be added.
	Login string `protobuf:"bytes,1,opt,name=login,proto3" json:"login,omitempty"`
	// Login of the member to add.
	Member string `protobuf:"bytes,2,opt,name=member,proto3" json:"member,omitempty"`
	// Role to assign to the new member.
	Role TenantRole `protobuf:"varint,3,opt,name=role,proto3,enum=metalstack.api.v2.TenantRole" json:"role,omitempty"`
	// contains filtered or unexported fields
}

TenantServiceAddMemberRequest is the request payload for adding a member to a tenant.

func (*TenantServiceAddMemberRequest) Descriptor deprecated added in v0.3.0

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

Deprecated: Use TenantServiceAddMemberRequest.ProtoReflect.Descriptor instead.

func (*TenantServiceAddMemberRequest) GetLogin added in v0.3.0

func (x *TenantServiceAddMemberRequest) GetLogin() string

func (*TenantServiceAddMemberRequest) GetMember added in v0.3.0

func (x *TenantServiceAddMemberRequest) GetMember() string

func (*TenantServiceAddMemberRequest) GetRole added in v0.3.0

func (*TenantServiceAddMemberRequest) ProtoMessage added in v0.3.0

func (*TenantServiceAddMemberRequest) ProtoMessage()

func (*TenantServiceAddMemberRequest) ProtoReflect added in v0.3.0

func (*TenantServiceAddMemberRequest) Reset added in v0.3.0

func (x *TenantServiceAddMemberRequest) Reset()

func (*TenantServiceAddMemberRequest) String added in v0.3.0

type TenantServiceAddMemberResponse added in v0.3.0

type TenantServiceAddMemberResponse struct {

	// TenantMember is the added tenant member.
	TenantMember *TenantMember `protobuf:"bytes,1,opt,name=tenant_member,json=tenantMember,proto3" json:"tenant_member,omitempty"`
	// contains filtered or unexported fields
}

TenantServiceAddMemberResponse is the response payload for the add member request.

func (*TenantServiceAddMemberResponse) Descriptor deprecated added in v0.3.0

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

Deprecated: Use TenantServiceAddMemberResponse.ProtoReflect.Descriptor instead.

func (*TenantServiceAddMemberResponse) GetTenantMember added in v0.3.0

func (x *TenantServiceAddMemberResponse) GetTenantMember() *TenantMember

func (*TenantServiceAddMemberResponse) ProtoMessage added in v0.3.0

func (*TenantServiceAddMemberResponse) ProtoMessage()

func (*TenantServiceAddMemberResponse) ProtoReflect added in v0.3.0

func (*TenantServiceAddMemberResponse) Reset added in v0.3.0

func (x *TenantServiceAddMemberResponse) Reset()

func (*TenantServiceAddMemberResponse) String added in v0.3.0

type TenantServiceCreateRequest

type TenantServiceCreateRequest struct {

	// Name of this tenant.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Description of this tenant.
	Description *string `protobuf:"bytes,2,opt,name=description,proto3,oneof" json:"description,omitempty"`
	// Email of the tenant, if not set will be inherited from the creator.
	Email *string `protobuf:"bytes,3,opt,name=email,proto3,oneof" json:"email,omitempty"`
	// AvatarUrl of the tenant.
	AvatarUrl *string `protobuf:"bytes,4,opt,name=avatar_url,json=avatarUrl,proto3,oneof" json:"avatar_url,omitempty"`
	// Labels on the tenant.
	Labels *Labels `protobuf:"bytes,5,opt,name=labels,proto3" json:"labels,omitempty"`
	// contains filtered or unexported fields
}

TenantServiceCreateRequest is the request payload of the tenant create request.

func (*TenantServiceCreateRequest) Descriptor deprecated

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

Deprecated: Use TenantServiceCreateRequest.ProtoReflect.Descriptor instead.

func (*TenantServiceCreateRequest) GetAvatarUrl

func (x *TenantServiceCreateRequest) GetAvatarUrl() string

func (*TenantServiceCreateRequest) GetDescription

func (x *TenantServiceCreateRequest) GetDescription() string

func (*TenantServiceCreateRequest) GetEmail

func (x *TenantServiceCreateRequest) GetEmail() string

func (*TenantServiceCreateRequest) GetLabels added in v0.0.15

func (x *TenantServiceCreateRequest) GetLabels() *Labels

func (*TenantServiceCreateRequest) GetName

func (x *TenantServiceCreateRequest) GetName() string

func (*TenantServiceCreateRequest) ProtoMessage

func (*TenantServiceCreateRequest) ProtoMessage()

func (*TenantServiceCreateRequest) ProtoReflect

func (*TenantServiceCreateRequest) Reset

func (x *TenantServiceCreateRequest) Reset()

func (*TenantServiceCreateRequest) String

func (x *TenantServiceCreateRequest) String() string

type TenantServiceCreateResponse

type TenantServiceCreateResponse struct {

	// Tenant is the tenant.
	Tenant *Tenant `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
	// contains filtered or unexported fields
}

TenantServiceCreateResponse is the response payload of the tenant create request.

func (*TenantServiceCreateResponse) Descriptor deprecated

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

Deprecated: Use TenantServiceCreateResponse.ProtoReflect.Descriptor instead.

func (*TenantServiceCreateResponse) GetTenant

func (x *TenantServiceCreateResponse) GetTenant() *Tenant

func (*TenantServiceCreateResponse) ProtoMessage

func (*TenantServiceCreateResponse) ProtoMessage()

func (*TenantServiceCreateResponse) ProtoReflect

func (*TenantServiceCreateResponse) Reset

func (x *TenantServiceCreateResponse) Reset()

func (*TenantServiceCreateResponse) String

func (x *TenantServiceCreateResponse) String() string

type TenantServiceDeleteRequest

type TenantServiceDeleteRequest struct {

	// Login of the tenant.
	Login string `protobuf:"bytes,1,opt,name=login,proto3" json:"login,omitempty"`
	// contains filtered or unexported fields
}

TenantServiceDeleteRequest is the request payload of the tenant delete request.

func (*TenantServiceDeleteRequest) Descriptor deprecated

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

Deprecated: Use TenantServiceDeleteRequest.ProtoReflect.Descriptor instead.

func (*TenantServiceDeleteRequest) GetLogin

func (x *TenantServiceDeleteRequest) GetLogin() string

func (*TenantServiceDeleteRequest) ProtoMessage

func (*TenantServiceDeleteRequest) ProtoMessage()

func (*TenantServiceDeleteRequest) ProtoReflect

func (*TenantServiceDeleteRequest) Reset

func (x *TenantServiceDeleteRequest) Reset()

func (*TenantServiceDeleteRequest) String

func (x *TenantServiceDeleteRequest) String() string

type TenantServiceDeleteResponse

type TenantServiceDeleteResponse struct {

	// Tenant is the tenant.
	Tenant *Tenant `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
	// contains filtered or unexported fields
}

TenantServiceDeleteResponse is the response payload of the tenant delete request.

func (*TenantServiceDeleteResponse) Descriptor deprecated

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

Deprecated: Use TenantServiceDeleteResponse.ProtoReflect.Descriptor instead.

func (*TenantServiceDeleteResponse) GetTenant

func (x *TenantServiceDeleteResponse) GetTenant() *Tenant

func (*TenantServiceDeleteResponse) ProtoMessage

func (*TenantServiceDeleteResponse) ProtoMessage()

func (*TenantServiceDeleteResponse) ProtoReflect

func (*TenantServiceDeleteResponse) Reset

func (x *TenantServiceDeleteResponse) Reset()

func (*TenantServiceDeleteResponse) String

func (x *TenantServiceDeleteResponse) String() string

type TenantServiceGetRequest

type TenantServiceGetRequest struct {

	// Login of the tenant.
	Login string `protobuf:"bytes,1,opt,name=login,proto3" json:"login,omitempty"`
	// contains filtered or unexported fields
}

TenantServiceGetRequest is the request payload of the tenant get request.

func (*TenantServiceGetRequest) Descriptor deprecated

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

Deprecated: Use TenantServiceGetRequest.ProtoReflect.Descriptor instead.

func (*TenantServiceGetRequest) GetLogin

func (x *TenantServiceGetRequest) GetLogin() string

func (*TenantServiceGetRequest) ProtoMessage

func (*TenantServiceGetRequest) ProtoMessage()

func (*TenantServiceGetRequest) ProtoReflect

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

func (*TenantServiceGetRequest) Reset

func (x *TenantServiceGetRequest) Reset()

func (*TenantServiceGetRequest) String

func (x *TenantServiceGetRequest) String() string

type TenantServiceGetResponse

type TenantServiceGetResponse struct {

	// Tenant is the tenant.
	Tenant *Tenant `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
	// TenantMembers of this tenant.
	TenantMembers []*TenantMember `protobuf:"bytes,2,rep,name=tenant_members,json=tenantMembers,proto3" json:"tenant_members,omitempty"`
	// contains filtered or unexported fields
}

TenantServiceGetResponse is the response payload of the tenant get request.

func (*TenantServiceGetResponse) Descriptor deprecated

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

Deprecated: Use TenantServiceGetResponse.ProtoReflect.Descriptor instead.

func (*TenantServiceGetResponse) GetTenant

func (x *TenantServiceGetResponse) GetTenant() *Tenant

func (*TenantServiceGetResponse) GetTenantMembers

func (x *TenantServiceGetResponse) GetTenantMembers() []*TenantMember

func (*TenantServiceGetResponse) ProtoMessage

func (*TenantServiceGetResponse) ProtoMessage()

func (*TenantServiceGetResponse) ProtoReflect

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

func (*TenantServiceGetResponse) Reset

func (x *TenantServiceGetResponse) Reset()

func (*TenantServiceGetResponse) String

func (x *TenantServiceGetResponse) String() string

type TenantServiceInviteAcceptRequest

type TenantServiceInviteAcceptRequest struct {

	// Secret is the invitation secret part of the invitation url.
	Secret string `protobuf:"bytes,1,opt,name=secret,proto3" json:"secret,omitempty"`
	// contains filtered or unexported fields
}

TenantServiceInviteAcceptRequest is the request payload to a accept invite request.

func (*TenantServiceInviteAcceptRequest) Descriptor deprecated

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

Deprecated: Use TenantServiceInviteAcceptRequest.ProtoReflect.Descriptor instead.

func (*TenantServiceInviteAcceptRequest) GetSecret

func (*TenantServiceInviteAcceptRequest) ProtoMessage

func (*TenantServiceInviteAcceptRequest) ProtoMessage()

func (*TenantServiceInviteAcceptRequest) ProtoReflect

func (*TenantServiceInviteAcceptRequest) Reset

func (*TenantServiceInviteAcceptRequest) String

type TenantServiceInviteAcceptResponse

type TenantServiceInviteAcceptResponse struct {

	// Tenant ID of the joined tenant.
	Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
	// TenantName of the joined tenant.
	TenantName string `protobuf:"bytes,2,opt,name=tenant_name,json=tenantName,proto3" json:"tenant_name,omitempty"`
	// contains filtered or unexported fields
}

TenantServiceInviteAcceptResponse is the response payload to a accept invite request.

func (*TenantServiceInviteAcceptResponse) Descriptor deprecated

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

Deprecated: Use TenantServiceInviteAcceptResponse.ProtoReflect.Descriptor instead.

func (*TenantServiceInviteAcceptResponse) GetTenant

func (*TenantServiceInviteAcceptResponse) GetTenantName

func (x *TenantServiceInviteAcceptResponse) GetTenantName() string

func (*TenantServiceInviteAcceptResponse) ProtoMessage

func (*TenantServiceInviteAcceptResponse) ProtoMessage()

func (*TenantServiceInviteAcceptResponse) ProtoReflect

func (*TenantServiceInviteAcceptResponse) Reset

func (*TenantServiceInviteAcceptResponse) String

type TenantServiceInviteDeleteRequest

type TenantServiceInviteDeleteRequest struct {

	// Login of the tenant.
	Login string `protobuf:"bytes,1,opt,name=login,proto3" json:"login,omitempty"`
	// Secret of the invite to delete.
	Secret string `protobuf:"bytes,2,opt,name=secret,proto3" json:"secret,omitempty"`
	// contains filtered or unexported fields
}

TenantServiceInviteDeleteRequest is the request payload to a delete invite.

func (*TenantServiceInviteDeleteRequest) Descriptor deprecated

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

Deprecated: Use TenantServiceInviteDeleteRequest.ProtoReflect.Descriptor instead.

func (*TenantServiceInviteDeleteRequest) GetLogin

func (*TenantServiceInviteDeleteRequest) GetSecret

func (*TenantServiceInviteDeleteRequest) ProtoMessage

func (*TenantServiceInviteDeleteRequest) ProtoMessage()

func (*TenantServiceInviteDeleteRequest) ProtoReflect

func (*TenantServiceInviteDeleteRequest) Reset

func (*TenantServiceInviteDeleteRequest) String

type TenantServiceInviteDeleteResponse

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

TenantServiceInviteDeleteResponse is the response payload of a delete invite request.

func (*TenantServiceInviteDeleteResponse) Descriptor deprecated

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

Deprecated: Use TenantServiceInviteDeleteResponse.ProtoReflect.Descriptor instead.

func (*TenantServiceInviteDeleteResponse) ProtoMessage

func (*TenantServiceInviteDeleteResponse) ProtoMessage()

func (*TenantServiceInviteDeleteResponse) ProtoReflect

func (*TenantServiceInviteDeleteResponse) Reset

func (*TenantServiceInviteDeleteResponse) String

type TenantServiceInviteGetRequest

type TenantServiceInviteGetRequest struct {

	// Secret of the invite to get.
	Secret string `protobuf:"bytes,1,opt,name=secret,proto3" json:"secret,omitempty"`
	// contains filtered or unexported fields
}

TenantServiceInviteGetRequest is the request payload to get a invite.

func (*TenantServiceInviteGetRequest) Descriptor deprecated

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

Deprecated: Use TenantServiceInviteGetRequest.ProtoReflect.Descriptor instead.

func (*TenantServiceInviteGetRequest) GetSecret

func (x *TenantServiceInviteGetRequest) GetSecret() string

func (*TenantServiceInviteGetRequest) ProtoMessage

func (*TenantServiceInviteGetRequest) ProtoMessage()

func (*TenantServiceInviteGetRequest) ProtoReflect

func (*TenantServiceInviteGetRequest) Reset

func (x *TenantServiceInviteGetRequest) Reset()

func (*TenantServiceInviteGetRequest) String

type TenantServiceInviteGetResponse

type TenantServiceInviteGetResponse struct {

	// Invite is the invite.
	Invite *TenantInvite `protobuf:"bytes,1,opt,name=invite,proto3" json:"invite,omitempty"`
	// contains filtered or unexported fields
}

TenantServiceInviteGetResponse is the response payload to a get invite request.

func (*TenantServiceInviteGetResponse) Descriptor deprecated

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

Deprecated: Use TenantServiceInviteGetResponse.ProtoReflect.Descriptor instead.

func (*TenantServiceInviteGetResponse) GetInvite

func (*TenantServiceInviteGetResponse) ProtoMessage

func (*TenantServiceInviteGetResponse) ProtoMessage()

func (*TenantServiceInviteGetResponse) ProtoReflect

func (*TenantServiceInviteGetResponse) Reset

func (x *TenantServiceInviteGetResponse) Reset()

func (*TenantServiceInviteGetResponse) String

type TenantServiceInviteRequest

type TenantServiceInviteRequest struct {

	// Login of the tenant.
	Login string `protobuf:"bytes,1,opt,name=login,proto3" json:"login,omitempty"`
	// Role of this user in this tenant.
	Role TenantRole `protobuf:"varint,2,opt,name=role,proto3,enum=metalstack.api.v2.TenantRole" json:"role,omitempty"`
	// contains filtered or unexported fields
}

TenantServiceInviteRequest is used to invite a member to a tenant.

func (*TenantServiceInviteRequest) Descriptor deprecated

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

Deprecated: Use TenantServiceInviteRequest.ProtoReflect.Descriptor instead.

func (*TenantServiceInviteRequest) GetLogin

func (x *TenantServiceInviteRequest) GetLogin() string

func (*TenantServiceInviteRequest) GetRole

func (*TenantServiceInviteRequest) ProtoMessage

func (*TenantServiceInviteRequest) ProtoMessage()

func (*TenantServiceInviteRequest) ProtoReflect

func (*TenantServiceInviteRequest) Reset

func (x *TenantServiceInviteRequest) Reset()

func (*TenantServiceInviteRequest) String

func (x *TenantServiceInviteRequest) String() string

type TenantServiceInviteResponse

type TenantServiceInviteResponse struct {

	// Invite contains a secret which can be sent to a potential user.
	Invite *TenantInvite `protobuf:"bytes,1,opt,name=invite,proto3" json:"invite,omitempty"`
	// contains filtered or unexported fields
}

TenantServiceInviteRequest is the response payload to a invite member request.

func (*TenantServiceInviteResponse) Descriptor deprecated

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

Deprecated: Use TenantServiceInviteResponse.ProtoReflect.Descriptor instead.

func (*TenantServiceInviteResponse) GetInvite

func (x *TenantServiceInviteResponse) GetInvite() *TenantInvite

func (*TenantServiceInviteResponse) ProtoMessage

func (*TenantServiceInviteResponse) ProtoMessage()

func (*TenantServiceInviteResponse) ProtoReflect

func (*TenantServiceInviteResponse) Reset

func (x *TenantServiceInviteResponse) Reset()

func (*TenantServiceInviteResponse) String

func (x *TenantServiceInviteResponse) String() string

type TenantServiceInvitesListRequest

type TenantServiceInvitesListRequest struct {

	// Login of the tenant.
	Login string `protobuf:"bytes,1,opt,name=login,proto3" json:"login,omitempty"`
	// contains filtered or unexported fields
}

TenantServiceInvitesListRequest is the request payload to a list invites request.

func (*TenantServiceInvitesListRequest) Descriptor deprecated

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

Deprecated: Use TenantServiceInvitesListRequest.ProtoReflect.Descriptor instead.

func (*TenantServiceInvitesListRequest) GetLogin

func (*TenantServiceInvitesListRequest) ProtoMessage

func (*TenantServiceInvitesListRequest) ProtoMessage()

func (*TenantServiceInvitesListRequest) ProtoReflect

func (*TenantServiceInvitesListRequest) Reset

func (*TenantServiceInvitesListRequest) String

type TenantServiceInvitesListResponse

type TenantServiceInvitesListResponse struct {

	// Invites that have not yet accepted the invitation to this tenant.
	Invites []*TenantInvite `protobuf:"bytes,1,rep,name=invites,proto3" json:"invites,omitempty"`
	// contains filtered or unexported fields
}

TenantServiceInvitesListResponse is the response payload to a list invites request.

func (*TenantServiceInvitesListResponse) Descriptor deprecated

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

Deprecated: Use TenantServiceInvitesListResponse.ProtoReflect.Descriptor instead.

func (*TenantServiceInvitesListResponse) GetInvites

func (*TenantServiceInvitesListResponse) ProtoMessage

func (*TenantServiceInvitesListResponse) ProtoMessage()

func (*TenantServiceInvitesListResponse) ProtoReflect

func (*TenantServiceInvitesListResponse) Reset

func (*TenantServiceInvitesListResponse) String

type TenantServiceLeaveRequest added in v0.0.32

type TenantServiceLeaveRequest struct {

	// Login of the tenant.
	Login string `protobuf:"bytes,1,opt,name=login,proto3" json:"login,omitempty"`
	// contains filtered or unexported fields
}

TenantServiceLeaveTenantRequest is used to leave a tenant.

func (*TenantServiceLeaveRequest) Descriptor deprecated added in v0.0.32

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

Deprecated: Use TenantServiceLeaveRequest.ProtoReflect.Descriptor instead.

func (*TenantServiceLeaveRequest) GetLogin added in v0.0.32

func (x *TenantServiceLeaveRequest) GetLogin() string

func (*TenantServiceLeaveRequest) ProtoMessage added in v0.0.32

func (*TenantServiceLeaveRequest) ProtoMessage()

func (*TenantServiceLeaveRequest) ProtoReflect added in v0.0.32

func (*TenantServiceLeaveRequest) Reset added in v0.0.32

func (x *TenantServiceLeaveRequest) Reset()

func (*TenantServiceLeaveRequest) String added in v0.0.32

func (x *TenantServiceLeaveRequest) String() string

type TenantServiceLeaveResponse added in v0.0.32

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

TenantServiceLeaveTenantResponse is the response payload to a leave tenant request.

func (*TenantServiceLeaveResponse) Descriptor deprecated added in v0.0.32

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

Deprecated: Use TenantServiceLeaveResponse.ProtoReflect.Descriptor instead.

func (*TenantServiceLeaveResponse) ProtoMessage added in v0.0.32

func (*TenantServiceLeaveResponse) ProtoMessage()

func (*TenantServiceLeaveResponse) ProtoReflect added in v0.0.32

func (*TenantServiceLeaveResponse) Reset added in v0.0.32

func (x *TenantServiceLeaveResponse) Reset()

func (*TenantServiceLeaveResponse) String added in v0.0.32

func (x *TenantServiceLeaveResponse) String() string

type TenantServiceListRequest

type TenantServiceListRequest struct {

	// Query for tenants.
	Query *TenantQuery `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"`
	// contains filtered or unexported fields
}

TenantServiceListRequest is the request payload of the tenant list request.

func (*TenantServiceListRequest) Descriptor deprecated

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

Deprecated: Use TenantServiceListRequest.ProtoReflect.Descriptor instead.

func (*TenantServiceListRequest) GetQuery added in v0.1.5

func (x *TenantServiceListRequest) GetQuery() *TenantQuery

func (*TenantServiceListRequest) ProtoMessage

func (*TenantServiceListRequest) ProtoMessage()

func (*TenantServiceListRequest) ProtoReflect

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

func (*TenantServiceListRequest) Reset

func (x *TenantServiceListRequest) Reset()

func (*TenantServiceListRequest) String

func (x *TenantServiceListRequest) String() string

type TenantServiceListResponse

type TenantServiceListResponse struct {

	// Tenants is the list of tenants.
	Tenants []*Tenant `protobuf:"bytes,1,rep,name=tenants,proto3" json:"tenants,omitempty"`
	// contains filtered or unexported fields
}

TenantServiceListResponse is the response payload of the tenant list request.

func (*TenantServiceListResponse) Descriptor deprecated

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

Deprecated: Use TenantServiceListResponse.ProtoReflect.Descriptor instead.

func (*TenantServiceListResponse) GetTenants

func (x *TenantServiceListResponse) GetTenants() []*Tenant

func (*TenantServiceListResponse) ProtoMessage

func (*TenantServiceListResponse) ProtoMessage()

func (*TenantServiceListResponse) ProtoReflect

func (*TenantServiceListResponse) Reset

func (x *TenantServiceListResponse) Reset()

func (*TenantServiceListResponse) String

func (x *TenantServiceListResponse) String() string

type TenantServiceRemoveMemberRequest

type TenantServiceRemoveMemberRequest struct {

	// Login of the tenant.
	Login string `protobuf:"bytes,1,opt,name=login,proto3" json:"login,omitempty"`
	// Member is the id of the member to remove from this tenant.
	Member string `protobuf:"bytes,2,opt,name=member,proto3" json:"member,omitempty"`
	// contains filtered or unexported fields
}

TenantServiceRemoveMemberRequest is used to remove a member from a tenant.

func (*TenantServiceRemoveMemberRequest) Descriptor deprecated

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

Deprecated: Use TenantServiceRemoveMemberRequest.ProtoReflect.Descriptor instead.

func (*TenantServiceRemoveMemberRequest) GetLogin

func (*TenantServiceRemoveMemberRequest) GetMember added in v0.0.13

func (*TenantServiceRemoveMemberRequest) ProtoMessage

func (*TenantServiceRemoveMemberRequest) ProtoMessage()

func (*TenantServiceRemoveMemberRequest) ProtoReflect

func (*TenantServiceRemoveMemberRequest) Reset

func (*TenantServiceRemoveMemberRequest) String

type TenantServiceRemoveMemberResponse

type TenantServiceRemoveMemberResponse struct {

	// TenantMember is the removed tenant member.
	TenantMember *TenantMember `protobuf:"bytes,1,opt,name=tenant_member,json=tenantMember,proto3" json:"tenant_member,omitempty"`
	// contains filtered or unexported fields
}

TenantServiceRemoveMemberResponse is the response payload to a remove member request.

func (*TenantServiceRemoveMemberResponse) Descriptor deprecated

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

Deprecated: Use TenantServiceRemoveMemberResponse.ProtoReflect.Descriptor instead.

func (*TenantServiceRemoveMemberResponse) GetTenantMember added in v0.3.0

func (x *TenantServiceRemoveMemberResponse) GetTenantMember() *TenantMember

func (*TenantServiceRemoveMemberResponse) ProtoMessage

func (*TenantServiceRemoveMemberResponse) ProtoMessage()

func (*TenantServiceRemoveMemberResponse) ProtoReflect

func (*TenantServiceRemoveMemberResponse) Reset

func (*TenantServiceRemoveMemberResponse) String

type TenantServiceUpdateMemberRequest

type TenantServiceUpdateMemberRequest struct {

	// Login of the tenant.
	Login string `protobuf:"bytes,1,opt,name=login,proto3" json:"login,omitempty"`
	// Member is the id of the member to update in this tenant.
	Member string `protobuf:"bytes,2,opt,name=member,proto3" json:"member,omitempty"`
	// Role of this user in this tenant.
	Role TenantRole `protobuf:"varint,3,opt,name=role,proto3,enum=metalstack.api.v2.TenantRole" json:"role,omitempty"`
	// contains filtered or unexported fields
}

TenantServiceUpdateMemberRequest is used to update a member from a tenant.

func (*TenantServiceUpdateMemberRequest) Descriptor deprecated

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

Deprecated: Use TenantServiceUpdateMemberRequest.ProtoReflect.Descriptor instead.

func (*TenantServiceUpdateMemberRequest) GetLogin

func (*TenantServiceUpdateMemberRequest) GetMember added in v0.0.13

func (*TenantServiceUpdateMemberRequest) GetRole

func (*TenantServiceUpdateMemberRequest) ProtoMessage

func (*TenantServiceUpdateMemberRequest) ProtoMessage()

func (*TenantServiceUpdateMemberRequest) ProtoReflect

func (*TenantServiceUpdateMemberRequest) Reset

func (*TenantServiceUpdateMemberRequest) String

type TenantServiceUpdateMemberResponse

type TenantServiceUpdateMemberResponse struct {

	// TenantMember is the updated membership.
	TenantMember *TenantMember `protobuf:"bytes,1,opt,name=tenant_member,json=tenantMember,proto3" json:"tenant_member,omitempty"`
	// contains filtered or unexported fields
}

TenantServiceUpdateMemberResponse is the response payload to a update member request.

func (*TenantServiceUpdateMemberResponse) Descriptor deprecated

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

Deprecated: Use TenantServiceUpdateMemberResponse.ProtoReflect.Descriptor instead.

func (*TenantServiceUpdateMemberResponse) GetTenantMember

func (x *TenantServiceUpdateMemberResponse) GetTenantMember() *TenantMember

func (*TenantServiceUpdateMemberResponse) ProtoMessage

func (*TenantServiceUpdateMemberResponse) ProtoMessage()

func (*TenantServiceUpdateMemberResponse) ProtoReflect

func (*TenantServiceUpdateMemberResponse) Reset

func (*TenantServiceUpdateMemberResponse) String

type TenantServiceUpdateRequest

type TenantServiceUpdateRequest struct {

	// Login of the tenant.
	Login string `protobuf:"bytes,1,opt,name=login,proto3" json:"login,omitempty"`
	// UpdateMeta contains the timestamp and strategy to be used in this update request.
	UpdateMeta *UpdateMeta `protobuf:"bytes,2,opt,name=update_meta,json=updateMeta,proto3" json:"update_meta,omitempty"`
	// Name of the tenant.
	Name *string `protobuf:"bytes,3,opt,name=name,proto3,oneof" json:"name,omitempty"`
	// Email of the tenant.
	Email *string `protobuf:"bytes,4,opt,name=email,proto3,oneof" json:"email,omitempty"`
	// Description of this tenant.
	Description *string `protobuf:"bytes,5,opt,name=description,proto3,oneof" json:"description,omitempty"`
	// AvatarUrl of the tenant.
	AvatarUrl *string `protobuf:"bytes,6,opt,name=avatar_url,json=avatarUrl,proto3,oneof" json:"avatar_url,omitempty"`
	// Labels on the tenant.
	Labels *UpdateLabels `protobuf:"bytes,7,opt,name=labels,proto3,oneof" json:"labels,omitempty"`
	// contains filtered or unexported fields
}

TenantServiceUpdateRequest is the request payload of the tenant update request.

func (*TenantServiceUpdateRequest) Descriptor deprecated

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

Deprecated: Use TenantServiceUpdateRequest.ProtoReflect.Descriptor instead.

func (*TenantServiceUpdateRequest) GetAvatarUrl

func (x *TenantServiceUpdateRequest) GetAvatarUrl() string

func (*TenantServiceUpdateRequest) GetDescription

func (x *TenantServiceUpdateRequest) GetDescription() string

func (*TenantServiceUpdateRequest) GetEmail

func (x *TenantServiceUpdateRequest) GetEmail() string

func (*TenantServiceUpdateRequest) GetLabels added in v0.0.15

func (x *TenantServiceUpdateRequest) GetLabels() *UpdateLabels

func (*TenantServiceUpdateRequest) GetLogin

func (x *TenantServiceUpdateRequest) GetLogin() string

func (*TenantServiceUpdateRequest) GetName

func (x *TenantServiceUpdateRequest) GetName() string

func (*TenantServiceUpdateRequest) GetUpdateMeta added in v0.0.21

func (x *TenantServiceUpdateRequest) GetUpdateMeta() *UpdateMeta

func (*TenantServiceUpdateRequest) ProtoMessage

func (*TenantServiceUpdateRequest) ProtoMessage()

func (*TenantServiceUpdateRequest) ProtoReflect

func (*TenantServiceUpdateRequest) Reset

func (x *TenantServiceUpdateRequest) Reset()

func (*TenantServiceUpdateRequest) String

func (x *TenantServiceUpdateRequest) String() string

type TenantServiceUpdateResponse

type TenantServiceUpdateResponse struct {

	// Tenant is the tenant.
	Tenant *Tenant `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
	// contains filtered or unexported fields
}

TenantServiceUpdateResponse is the response payload of the tenant update request.

func (*TenantServiceUpdateResponse) Descriptor deprecated

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

Deprecated: Use TenantServiceUpdateResponse.ProtoReflect.Descriptor instead.

func (*TenantServiceUpdateResponse) GetTenant

func (x *TenantServiceUpdateResponse) GetTenant() *Tenant

func (*TenantServiceUpdateResponse) ProtoMessage

func (*TenantServiceUpdateResponse) ProtoMessage()

func (*TenantServiceUpdateResponse) ProtoReflect

func (*TenantServiceUpdateResponse) Reset

func (x *TenantServiceUpdateResponse) Reset()

func (*TenantServiceUpdateResponse) String

func (x *TenantServiceUpdateResponse) String() string

type Token

type Token struct {

	// Uuid of the jwt token, used to reference it by revoke.
	Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	// User who created this token.
	User string `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"`
	// Meta for this token.
	Meta *Meta `protobuf:"bytes,3,opt,name=meta,proto3" json:"meta,omitempty"`
	// Description is a user given description of this token.
	Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	// Permissions is a list of service methods this token can be used for.
	Permissions []*MethodPermission `protobuf:"bytes,5,rep,name=permissions,proto3" json:"permissions,omitempty"`
	// Expires gives the date in the future after which this token can not be used anymore.
	Expires *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=expires,proto3" json:"expires,omitempty"`
	// IssuedAt gives the date when this token was created.
	IssuedAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=issued_at,json=issuedAt,proto3" json:"issued_at,omitempty"`
	// TokenType describes the type of this token.
	TokenType TokenType `protobuf:"varint,8,opt,name=token_type,json=tokenType,proto3,enum=metalstack.api.v2.TokenType" json:"token_type,omitempty"`
	// ProjectRoles associates a project id with the corresponding role of the token owner.
	ProjectRoles map[string]ProjectRole `` /* 207-byte string literal not displayed */
	// TenantRoles associates a tenant id with the corresponding role of the token owner.
	TenantRoles map[string]TenantRole `` /* 204-byte string literal not displayed */
	// AdminRole defines the admin role of the token owner.
	AdminRole *AdminRole `` /* 129-byte string literal not displayed */
	// InfraRole defines the infrastructure role of the token owner.
	InfraRole *InfraRole `` /* 129-byte string literal not displayed */
	// MachineRoles associates a machine uuid with the corresponding role of the token owner.
	// TODO: decide if we need this map from machine.uuid->role, we could instead use the subject in the token instead.
	MachineRoles map[string]MachineRole `` /* 208-byte string literal not displayed */
	// contains filtered or unexported fields
}

Token generates a jwt authentication token to access the api.

There are two different types of tokens, api- and user- tokens.

A user token is used to authenticate end user requests for example from a cli. The configured roles in a user token are expanded in the api server. based on the memberships in other projects and tenants based on the role granted there. User tokens will never contain permissions. Permissions are always derived from the tenant and project roles and memberships.

The api token should be used to authenticate services. In contrast to a user token, the api token permissions and roles apply as configured during the token create process.

func (*Token) Descriptor deprecated

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

Deprecated: Use Token.ProtoReflect.Descriptor instead.

func (*Token) GetAdminRole

func (x *Token) GetAdminRole() AdminRole

func (*Token) GetDescription

func (x *Token) GetDescription() string

func (*Token) GetExpires

func (x *Token) GetExpires() *timestamppb.Timestamp

func (*Token) GetInfraRole added in v0.0.33

func (x *Token) GetInfraRole() InfraRole

func (*Token) GetIssuedAt

func (x *Token) GetIssuedAt() *timestamppb.Timestamp

func (*Token) GetMachineRoles added in v0.0.41

func (x *Token) GetMachineRoles() map[string]MachineRole

func (*Token) GetMeta added in v0.0.30

func (x *Token) GetMeta() *Meta

func (*Token) GetPermissions

func (x *Token) GetPermissions() []*MethodPermission

func (*Token) GetProjectRoles

func (x *Token) GetProjectRoles() map[string]ProjectRole

func (*Token) GetTenantRoles

func (x *Token) GetTenantRoles() map[string]TenantRole

func (*Token) GetTokenType

func (x *Token) GetTokenType() TokenType

func (*Token) GetUser added in v0.0.13

func (x *Token) GetUser() string

func (*Token) GetUuid

func (x *Token) GetUuid() string

func (*Token) ProtoMessage

func (*Token) ProtoMessage()

func (*Token) ProtoReflect

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

func (*Token) Reset

func (x *Token) Reset()

func (*Token) String

func (x *Token) String() string

type TokenQuery added in v0.1.3

type TokenQuery struct {

	// UUID of the token to get.
	Uuid *string `protobuf:"bytes,1,opt,name=uuid,proto3,oneof" json:"uuid,omitempty"`
	// Name of the token user to query.
	// Only useful for admins.
	User *string `protobuf:"bytes,2,opt,name=user,proto3,oneof" json:"user,omitempty"`
	// Description of the token to query.
	Description *string `protobuf:"bytes,3,opt,name=description,proto3,oneof" json:"description,omitempty"`
	// Labels lists only tokens containing the given labels.
	Labels *Labels `protobuf:"bytes,4,opt,name=labels,proto3,oneof" json:"labels,omitempty"`
	// Token type of the token to query.
	TokenType *TokenType `` /* 128-byte string literal not displayed */
	// contains filtered or unexported fields
}

TokenQuery is used to search tokens.

func (*TokenQuery) Descriptor deprecated added in v0.1.3

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

Deprecated: Use TokenQuery.ProtoReflect.Descriptor instead.

func (*TokenQuery) GetDescription added in v0.1.3

func (x *TokenQuery) GetDescription() string

func (*TokenQuery) GetLabels added in v0.1.3

func (x *TokenQuery) GetLabels() *Labels

func (*TokenQuery) GetTokenType added in v0.1.3

func (x *TokenQuery) GetTokenType() TokenType

func (*TokenQuery) GetUser added in v0.1.3

func (x *TokenQuery) GetUser() string

func (*TokenQuery) GetUuid added in v0.1.3

func (x *TokenQuery) GetUuid() string

func (*TokenQuery) ProtoMessage added in v0.1.3

func (*TokenQuery) ProtoMessage()

func (*TokenQuery) ProtoReflect added in v0.1.3

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

func (*TokenQuery) Reset added in v0.1.3

func (x *TokenQuery) Reset()

func (*TokenQuery) String added in v0.1.3

func (x *TokenQuery) String() string

type TokenServiceCreateRequest

type TokenServiceCreateRequest struct {

	// Description of the token.
	Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"`
	// Permissions is a list of service methods this token can be used for.
	Permissions []*PermissionsByVisibility `protobuf:"bytes,2,rep,name=permissions,proto3" json:"permissions,omitempty"`
	// Expires gives the duration since now, after which this token can not be used anymore.
	Expires *durationpb.Duration `protobuf:"bytes,3,opt,name=expires,proto3" json:"expires,omitempty"`
	// ProjectRoles associates a project id with the corresponding role of the token owner.
	ProjectRoles map[string]ProjectRole `` /* 207-byte string literal not displayed */
	// TenantRoles associates a tenant id with the corresponding role of the token owner.
	TenantRoles map[string]TenantRole `` /* 203-byte string literal not displayed */
	// AdminRole defines the admin role of the token owner.
	AdminRole *AdminRole `` /* 128-byte string literal not displayed */
	// InfraRole defines the infrastructure role of the token owner.
	InfraRole *InfraRole `` /* 128-byte string literal not displayed */
	// MachineRoles associates a machine uuid with the corresponding role of the token owner.
	MachineRoles map[string]MachineRole `` /* 207-byte string literal not displayed */
	// Labels on this token.
	Labels *Labels `protobuf:"bytes,9,opt,name=labels,proto3" json:"labels,omitempty"`
	// contains filtered or unexported fields
}

TokenServiceCreateRequest is the request payload to create a token.

func (*TokenServiceCreateRequest) Descriptor deprecated

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

Deprecated: Use TokenServiceCreateRequest.ProtoReflect.Descriptor instead.

func (*TokenServiceCreateRequest) GetAdminRole

func (x *TokenServiceCreateRequest) GetAdminRole() AdminRole

func (*TokenServiceCreateRequest) GetDescription

func (x *TokenServiceCreateRequest) GetDescription() string

func (*TokenServiceCreateRequest) GetExpires

func (*TokenServiceCreateRequest) GetInfraRole added in v0.0.33

func (x *TokenServiceCreateRequest) GetInfraRole() InfraRole

func (*TokenServiceCreateRequest) GetLabels added in v0.0.30

func (x *TokenServiceCreateRequest) GetLabels() *Labels

func (*TokenServiceCreateRequest) GetMachineRoles added in v0.0.41

func (x *TokenServiceCreateRequest) GetMachineRoles() map[string]MachineRole

func (*TokenServiceCreateRequest) GetPermissions

func (x *TokenServiceCreateRequest) GetPermissions() []*PermissionsByVisibility

func (*TokenServiceCreateRequest) GetProjectRoles

func (x *TokenServiceCreateRequest) GetProjectRoles() map[string]ProjectRole

func (*TokenServiceCreateRequest) GetTenantRoles

func (x *TokenServiceCreateRequest) GetTenantRoles() map[string]TenantRole

func (*TokenServiceCreateRequest) ProtoMessage

func (*TokenServiceCreateRequest) ProtoMessage()

func (*TokenServiceCreateRequest) ProtoReflect

func (*TokenServiceCreateRequest) Reset

func (x *TokenServiceCreateRequest) Reset()

func (*TokenServiceCreateRequest) String

func (x *TokenServiceCreateRequest) String() string

type TokenServiceCreateResponse

type TokenServiceCreateResponse struct {

	// Token which was created.
	Token *Token `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	// Secret is the body of the JWT token, should be used in API requests as bearer token.
	Secret string `protobuf:"bytes,2,opt,name=secret,proto3" json:"secret,omitempty"`
	// contains filtered or unexported fields
}

TokenServiceCreateResponse is the response payload of a token create request.

func (*TokenServiceCreateResponse) Descriptor deprecated

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

Deprecated: Use TokenServiceCreateResponse.ProtoReflect.Descriptor instead.

func (*TokenServiceCreateResponse) GetSecret

func (x *TokenServiceCreateResponse) GetSecret() string

func (*TokenServiceCreateResponse) GetToken

func (x *TokenServiceCreateResponse) GetToken() *Token

func (*TokenServiceCreateResponse) ProtoMessage

func (*TokenServiceCreateResponse) ProtoMessage()

func (*TokenServiceCreateResponse) ProtoReflect

func (*TokenServiceCreateResponse) Reset

func (x *TokenServiceCreateResponse) Reset()

func (*TokenServiceCreateResponse) String

func (x *TokenServiceCreateResponse) String() string

type TokenServiceGetRequest

type TokenServiceGetRequest struct {

	// Uuid of the token to get.
	Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	// contains filtered or unexported fields
}

TokenServiceGetRequest is the request payload of a token get request.

func (*TokenServiceGetRequest) Descriptor deprecated

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

Deprecated: Use TokenServiceGetRequest.ProtoReflect.Descriptor instead.

func (*TokenServiceGetRequest) GetUuid

func (x *TokenServiceGetRequest) GetUuid() string

func (*TokenServiceGetRequest) ProtoMessage

func (*TokenServiceGetRequest) ProtoMessage()

func (*TokenServiceGetRequest) ProtoReflect

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

func (*TokenServiceGetRequest) Reset

func (x *TokenServiceGetRequest) Reset()

func (*TokenServiceGetRequest) String

func (x *TokenServiceGetRequest) String() string

type TokenServiceGetResponse

type TokenServiceGetResponse struct {

	// Token is the token.
	Token *Token `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	// contains filtered or unexported fields
}

TokenServiceGetResponse is the response payload of a token get request.

func (*TokenServiceGetResponse) Descriptor deprecated

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

Deprecated: Use TokenServiceGetResponse.ProtoReflect.Descriptor instead.

func (*TokenServiceGetResponse) GetToken

func (x *TokenServiceGetResponse) GetToken() *Token

func (*TokenServiceGetResponse) ProtoMessage

func (*TokenServiceGetResponse) ProtoMessage()

func (*TokenServiceGetResponse) ProtoReflect

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

func (*TokenServiceGetResponse) Reset

func (x *TokenServiceGetResponse) Reset()

func (*TokenServiceGetResponse) String

func (x *TokenServiceGetResponse) String() string

type TokenServiceListRequest

type TokenServiceListRequest struct {

	// Query for tokens.
	Query *TokenQuery `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"`
	// contains filtered or unexported fields
}

TokenServiceListRequest is the request payload to list tokens.

func (*TokenServiceListRequest) Descriptor deprecated

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

Deprecated: Use TokenServiceListRequest.ProtoReflect.Descriptor instead.

func (*TokenServiceListRequest) GetQuery added in v0.1.3

func (x *TokenServiceListRequest) GetQuery() *TokenQuery

func (*TokenServiceListRequest) ProtoMessage

func (*TokenServiceListRequest) ProtoMessage()

func (*TokenServiceListRequest) ProtoReflect

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

func (*TokenServiceListRequest) Reset

func (x *TokenServiceListRequest) Reset()

func (*TokenServiceListRequest) String

func (x *TokenServiceListRequest) String() string

type TokenServiceListResponse

type TokenServiceListResponse struct {

	// Tokens is a list of tokens without the secrets.
	Tokens []*Token `protobuf:"bytes,1,rep,name=tokens,proto3" json:"tokens,omitempty"`
	// contains filtered or unexported fields
}

TokenServiceListResponse is the response payload of a token list request.

func (*TokenServiceListResponse) Descriptor deprecated

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

Deprecated: Use TokenServiceListResponse.ProtoReflect.Descriptor instead.

func (*TokenServiceListResponse) GetTokens

func (x *TokenServiceListResponse) GetTokens() []*Token

func (*TokenServiceListResponse) ProtoMessage

func (*TokenServiceListResponse) ProtoMessage()

func (*TokenServiceListResponse) ProtoReflect

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

func (*TokenServiceListResponse) Reset

func (x *TokenServiceListResponse) Reset()

func (*TokenServiceListResponse) String

func (x *TokenServiceListResponse) String() string

type TokenServiceRefreshRequest added in v0.0.4

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

TokenServiceRefreshRequest is the request payload of a token refresh request. Permissions, Roles and Expiration duration and all other properties are inherited from the calling token. The expiration duration will be calculated from the existing token (exp - iat).

func (*TokenServiceRefreshRequest) Descriptor deprecated added in v0.0.4

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

Deprecated: Use TokenServiceRefreshRequest.ProtoReflect.Descriptor instead.

func (*TokenServiceRefreshRequest) ProtoMessage added in v0.0.4

func (*TokenServiceRefreshRequest) ProtoMessage()

func (*TokenServiceRefreshRequest) ProtoReflect added in v0.0.4

func (*TokenServiceRefreshRequest) Reset added in v0.0.4

func (x *TokenServiceRefreshRequest) Reset()

func (*TokenServiceRefreshRequest) String added in v0.0.4

func (x *TokenServiceRefreshRequest) String() string

type TokenServiceRefreshResponse added in v0.0.4

type TokenServiceRefreshResponse struct {

	// Token which was refreshed.
	Token *Token `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	// Secret is the body of the JWT token, should be used in API requests as bearer token.
	Secret string `protobuf:"bytes,2,opt,name=secret,proto3" json:"secret,omitempty"`
	// contains filtered or unexported fields
}

TokenServiceRefreshResponse is the response payload of a token refresh request.

func (*TokenServiceRefreshResponse) Descriptor deprecated added in v0.0.4

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

Deprecated: Use TokenServiceRefreshResponse.ProtoReflect.Descriptor instead.

func (*TokenServiceRefreshResponse) GetSecret added in v0.0.4

func (x *TokenServiceRefreshResponse) GetSecret() string

func (*TokenServiceRefreshResponse) GetToken added in v0.0.4

func (x *TokenServiceRefreshResponse) GetToken() *Token

func (*TokenServiceRefreshResponse) ProtoMessage added in v0.0.4

func (*TokenServiceRefreshResponse) ProtoMessage()

func (*TokenServiceRefreshResponse) ProtoReflect added in v0.0.4

func (*TokenServiceRefreshResponse) Reset added in v0.0.4

func (x *TokenServiceRefreshResponse) Reset()

func (*TokenServiceRefreshResponse) String added in v0.0.4

func (x *TokenServiceRefreshResponse) String() string

type TokenServiceRevokeRequest

type TokenServiceRevokeRequest struct {

	// Uuid of the token to revoke.
	Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	// contains filtered or unexported fields
}

TokenServiceRevokeRequest is the request payload of a token revoke request.

func (*TokenServiceRevokeRequest) Descriptor deprecated

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

Deprecated: Use TokenServiceRevokeRequest.ProtoReflect.Descriptor instead.

func (*TokenServiceRevokeRequest) GetUuid

func (x *TokenServiceRevokeRequest) GetUuid() string

func (*TokenServiceRevokeRequest) ProtoMessage

func (*TokenServiceRevokeRequest) ProtoMessage()

func (*TokenServiceRevokeRequest) ProtoReflect

func (*TokenServiceRevokeRequest) Reset

func (x *TokenServiceRevokeRequest) Reset()

func (*TokenServiceRevokeRequest) String

func (x *TokenServiceRevokeRequest) String() string

type TokenServiceRevokeResponse

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

TokenServiceRevokeResponse is the response payload of a token revoke request.

func (*TokenServiceRevokeResponse) Descriptor deprecated

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

Deprecated: Use TokenServiceRevokeResponse.ProtoReflect.Descriptor instead.

func (*TokenServiceRevokeResponse) ProtoMessage

func (*TokenServiceRevokeResponse) ProtoMessage()

func (*TokenServiceRevokeResponse) ProtoReflect

func (*TokenServiceRevokeResponse) Reset

func (x *TokenServiceRevokeResponse) Reset()

func (*TokenServiceRevokeResponse) String

func (x *TokenServiceRevokeResponse) String() string

type TokenServiceUpdateRequest

type TokenServiceUpdateRequest struct {

	// Uuid of the token to update.
	Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	// UpdateMeta contains the timestamp and strategy to be used in this update request.
	// TokenUpdate is not guarded with optlock in the backend.
	UpdateMeta *UpdateMeta `protobuf:"bytes,2,opt,name=update_meta,json=updateMeta,proto3" json:"update_meta,omitempty"`
	// Description is a user given description of this token.
	Description *string `protobuf:"bytes,3,opt,name=description,proto3,oneof" json:"description,omitempty"`
	// Permissions is a list of service methods this token can be used for.
	Permissions []*PermissionsByVisibility `protobuf:"bytes,4,rep,name=permissions,proto3" json:"permissions,omitempty"`
	// ProjectRoles associates a project id with the corresponding role of the token owner.
	ProjectRoles map[string]ProjectRole `` /* 207-byte string literal not displayed */
	// TenantRoles associates a tenant id with the corresponding role of the token owner.
	TenantRoles map[string]TenantRole `` /* 203-byte string literal not displayed */
	// AdminRole defines the admin role of the token owner.
	AdminRole *AdminRole `` /* 128-byte string literal not displayed */
	// InfraRole defines the infrastructure role of the token owner.
	InfraRole *InfraRole `` /* 128-byte string literal not displayed */
	// MachineRoles associates a machine uuid with the corresponding role of the token owner.
	MachineRoles map[string]MachineRole `` /* 207-byte string literal not displayed */
	// Labels on this token.
	Labels *UpdateLabels `protobuf:"bytes,10,opt,name=labels,proto3" json:"labels,omitempty"`
	// contains filtered or unexported fields
}

TokenServiceUpdateRequest is the request payload of a token update request.

func (*TokenServiceUpdateRequest) Descriptor deprecated

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

Deprecated: Use TokenServiceUpdateRequest.ProtoReflect.Descriptor instead.

func (*TokenServiceUpdateRequest) GetAdminRole

func (x *TokenServiceUpdateRequest) GetAdminRole() AdminRole

func (*TokenServiceUpdateRequest) GetDescription

func (x *TokenServiceUpdateRequest) GetDescription() string

func (*TokenServiceUpdateRequest) GetInfraRole added in v0.0.33

func (x *TokenServiceUpdateRequest) GetInfraRole() InfraRole

func (*TokenServiceUpdateRequest) GetLabels added in v0.0.30

func (x *TokenServiceUpdateRequest) GetLabels() *UpdateLabels

func (*TokenServiceUpdateRequest) GetMachineRoles added in v0.0.41

func (x *TokenServiceUpdateRequest) GetMachineRoles() map[string]MachineRole

func (*TokenServiceUpdateRequest) GetPermissions

func (x *TokenServiceUpdateRequest) GetPermissions() []*PermissionsByVisibility

func (*TokenServiceUpdateRequest) GetProjectRoles

func (x *TokenServiceUpdateRequest) GetProjectRoles() map[string]ProjectRole

func (*TokenServiceUpdateRequest) GetTenantRoles

func (x *TokenServiceUpdateRequest) GetTenantRoles() map[string]TenantRole

func (*TokenServiceUpdateRequest) GetUpdateMeta added in v0.0.21

func (x *TokenServiceUpdateRequest) GetUpdateMeta() *UpdateMeta

func (*TokenServiceUpdateRequest) GetUuid

func (x *TokenServiceUpdateRequest) GetUuid() string

func (*TokenServiceUpdateRequest) ProtoMessage

func (*TokenServiceUpdateRequest) ProtoMessage()

func (*TokenServiceUpdateRequest) ProtoReflect

func (*TokenServiceUpdateRequest) Reset

func (x *TokenServiceUpdateRequest) Reset()

func (*TokenServiceUpdateRequest) String

func (x *TokenServiceUpdateRequest) String() string

type TokenServiceUpdateResponse

type TokenServiceUpdateResponse struct {

	// Token is the updated token.
	Token *Token `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	// contains filtered or unexported fields
}

TokenServiceUpdateResponse is the response payload of a token update request.

func (*TokenServiceUpdateResponse) Descriptor deprecated

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

Deprecated: Use TokenServiceUpdateResponse.ProtoReflect.Descriptor instead.

func (*TokenServiceUpdateResponse) GetToken

func (x *TokenServiceUpdateResponse) GetToken() *Token

func (*TokenServiceUpdateResponse) ProtoMessage

func (*TokenServiceUpdateResponse) ProtoMessage()

func (*TokenServiceUpdateResponse) ProtoReflect

func (*TokenServiceUpdateResponse) Reset

func (x *TokenServiceUpdateResponse) Reset()

func (*TokenServiceUpdateResponse) String

func (x *TokenServiceUpdateResponse) String() string

type TokenType

type TokenType int32

TokenType specifies different use cases of tokens.

const (
	// TOKEN_TYPE_UNSPECIFIED is not specified.
	TokenType_TOKEN_TYPE_UNSPECIFIED TokenType = 0
	// TOKEN_TYPE_API is a token for api usage.
	TokenType_TOKEN_TYPE_API TokenType = 1
	// TOKEN_TYPE_USER is a token to access the api with cli, a web application or other user induced actions.
	TokenType_TOKEN_TYPE_USER TokenType = 2
)

func (TokenType) Descriptor

func (TokenType) Descriptor() protoreflect.EnumDescriptor

func (TokenType) Enum

func (x TokenType) Enum() *TokenType

func (TokenType) EnumDescriptor deprecated

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

Deprecated: Use TokenType.Descriptor instead.

func (TokenType) Number

func (x TokenType) Number() protoreflect.EnumNumber

func (TokenType) String

func (x TokenType) String() string

func (TokenType) Type

type UpdateLabels

type UpdateLabels struct {

	// Strategy defines the label update strategy.
	//
	// Types that are valid to be assigned to Strategy:
	//
	//	*UpdateLabels_Replace
	//	*UpdateLabels_Patch
	Strategy isUpdateLabels_Strategy `protobuf_oneof:"strategy"`
	// contains filtered or unexported fields
}

UpdateLabels is a message to update labels.

func (*UpdateLabels) Descriptor deprecated

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

Deprecated: Use UpdateLabels.ProtoReflect.Descriptor instead.

func (*UpdateLabels) GetPatch added in v0.2.3

func (x *UpdateLabels) GetPatch() *LabelsPatch

func (*UpdateLabels) GetReplace added in v0.2.1

func (x *UpdateLabels) GetReplace() *Labels

func (*UpdateLabels) GetStrategy added in v0.2.1

func (x *UpdateLabels) GetStrategy() isUpdateLabels_Strategy

func (*UpdateLabels) ProtoMessage

func (*UpdateLabels) ProtoMessage()

func (*UpdateLabels) ProtoReflect

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

func (*UpdateLabels) Reset

func (x *UpdateLabels) Reset()

func (*UpdateLabels) String

func (x *UpdateLabels) String() string

type UpdateLabels_Patch added in v0.2.3

type UpdateLabels_Patch struct {
	// Patch adds, updates or remove given labels without modifying others.
	Patch *LabelsPatch `protobuf:"bytes,2,opt,name=patch,proto3,oneof"`
}

type UpdateLabels_Replace added in v0.2.1

type UpdateLabels_Replace struct {
	// Replace existing labels with the given ones.
	Replace *Labels `protobuf:"bytes,1,opt,name=replace,proto3,oneof"`
}

type UpdateMeta added in v0.0.21

type UpdateMeta struct {

	// UpdatedAt is the date when this entity was updated.
	// Must be part of the update request to ensure optimistic locking.
	UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// LockingStrategy to be used for this update request.
	LockingStrategy OptimisticLockingStrategy `` /* 156-byte string literal not displayed */
	// contains filtered or unexported fields
}

UpdateMeta must be provided with every UpdateRequest to define how optimistic locking should be handled.

func (*UpdateMeta) Descriptor deprecated added in v0.0.21

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

Deprecated: Use UpdateMeta.ProtoReflect.Descriptor instead.

func (*UpdateMeta) GetLockingStrategy added in v0.0.21

func (x *UpdateMeta) GetLockingStrategy() OptimisticLockingStrategy

func (*UpdateMeta) GetUpdatedAt added in v0.0.21

func (x *UpdateMeta) GetUpdatedAt() *timestamppb.Timestamp

func (*UpdateMeta) ProtoMessage added in v0.0.21

func (*UpdateMeta) ProtoMessage()

func (*UpdateMeta) ProtoReflect added in v0.0.21

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

func (*UpdateMeta) Reset added in v0.0.21

func (x *UpdateMeta) Reset()

func (*UpdateMeta) String added in v0.0.21

func (x *UpdateMeta) String() string

type User

type User struct {

	// Login is the login at the provider.
	Login string `protobuf:"bytes,1,opt,name=login,proto3" json:"login,omitempty"`
	// Name of the user.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// Email of the user.
	Email string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"`
	// AvatarUrl of the user.
	AvatarUrl string `protobuf:"bytes,4,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"`
	// Tenants the user belongs to.
	Tenants []*Tenant `protobuf:"bytes,5,rep,name=tenants,proto3" json:"tenants,omitempty"`
	// Projects the user belongs to.
	Projects []*Project `protobuf:"bytes,6,rep,name=projects,proto3" json:"projects,omitempty"`
	// DefaultTenant the default tenant that this user belongs to.
	DefaultTenant *Tenant `protobuf:"bytes,7,opt,name=default_tenant,json=defaultTenant,proto3" json:"default_tenant,omitempty"`
	// contains filtered or unexported fields
}

User represents an end user of the platform.

func (*User) Descriptor deprecated

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

Deprecated: Use User.ProtoReflect.Descriptor instead.

func (*User) GetAvatarUrl

func (x *User) GetAvatarUrl() string

func (*User) GetDefaultTenant

func (x *User) GetDefaultTenant() *Tenant

func (*User) GetEmail

func (x *User) GetEmail() string

func (*User) GetLogin

func (x *User) GetLogin() string

func (*User) GetName

func (x *User) GetName() string

func (*User) GetProjects

func (x *User) GetProjects() []*Project

func (*User) GetTenants

func (x *User) GetTenants() []*Tenant

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 UserServiceGetRequest

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

UserServiceGetRequest is the request payload for getting the user.

func (*UserServiceGetRequest) Descriptor deprecated

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

Deprecated: Use UserServiceGetRequest.ProtoReflect.Descriptor instead.

func (*UserServiceGetRequest) ProtoMessage

func (*UserServiceGetRequest) ProtoMessage()

func (*UserServiceGetRequest) ProtoReflect

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

func (*UserServiceGetRequest) Reset

func (x *UserServiceGetRequest) Reset()

func (*UserServiceGetRequest) String

func (x *UserServiceGetRequest) String() string

type UserServiceGetResponse

type UserServiceGetResponse struct {

	// User contains the authenticated user.
	User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	// contains filtered or unexported fields
}

UserServiceGetResponse is the response payload for getting the user.

func (*UserServiceGetResponse) Descriptor deprecated

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

Deprecated: Use UserServiceGetResponse.ProtoReflect.Descriptor instead.

func (*UserServiceGetResponse) GetUser

func (x *UserServiceGetResponse) GetUser() *User

func (*UserServiceGetResponse) ProtoMessage

func (*UserServiceGetResponse) ProtoMessage()

func (*UserServiceGetResponse) ProtoReflect

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

func (*UserServiceGetResponse) Reset

func (x *UserServiceGetResponse) Reset()

func (*UserServiceGetResponse) String

func (x *UserServiceGetResponse) String() string

type VPNNode added in v0.0.37

type VPNNode struct {

	// ID of this node.
	Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// Name of this node.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// Project of this node, maps to a project.
	Project string `protobuf:"bytes,3,opt,name=project,proto3" json:"project,omitempty"`
	// IPAddresses of this node in the VPN.
	IpAddresses []string `protobuf:"bytes,4,rep,name=ip_addresses,json=ipAddresses,proto3" json:"ip_addresses,omitempty"`
	// LastSeen timestamp when this node reached out to the control plane.
	LastSeen *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=last_seen,json=lastSeen,proto3" json:"last_seen,omitempty"`
	// Online indicates if this node is online.
	Online bool `protobuf:"varint,6,opt,name=online,proto3" json:"online,omitempty"`
	// contains filtered or unexported fields
}

VPNNode represents a machine connected to the VPN.

func (*VPNNode) Descriptor deprecated added in v0.0.37

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

Deprecated: Use VPNNode.ProtoReflect.Descriptor instead.

func (*VPNNode) GetId added in v0.0.37

func (x *VPNNode) GetId() uint64

func (*VPNNode) GetIpAddresses added in v0.0.37

func (x *VPNNode) GetIpAddresses() []string

func (*VPNNode) GetLastSeen added in v0.0.37

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

func (*VPNNode) GetName added in v0.0.37

func (x *VPNNode) GetName() string

func (*VPNNode) GetOnline added in v0.0.37

func (x *VPNNode) GetOnline() bool

func (*VPNNode) GetProject added in v0.0.37

func (x *VPNNode) GetProject() string

func (*VPNNode) ProtoMessage added in v0.0.37

func (*VPNNode) ProtoMessage()

func (*VPNNode) ProtoReflect added in v0.0.37

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

func (*VPNNode) Reset added in v0.0.37

func (x *VPNNode) Reset()

func (*VPNNode) String added in v0.0.37

func (x *VPNNode) String() string

type Version

type Version struct {

	// Version of the application.
	Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	// Revision of the application.
	Revision string `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"`
	// GitSHA1 of the application.
	GitSha1 string `protobuf:"bytes,3,opt,name=git_sha1,json=gitSha1,proto3" json:"git_sha1,omitempty"`
	// BuildDate of the application.
	BuildDate string `protobuf:"bytes,4,opt,name=build_date,json=buildDate,proto3" json:"build_date,omitempty"`
	// contains filtered or unexported fields
}

Version represents the version of the application.

func (*Version) Descriptor deprecated

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

Deprecated: Use Version.ProtoReflect.Descriptor instead.

func (*Version) GetBuildDate

func (x *Version) GetBuildDate() string

func (*Version) GetGitSha1

func (x *Version) GetGitSha1() string

func (*Version) GetRevision

func (x *Version) GetRevision() string

func (*Version) GetVersion

func (x *Version) GetVersion() string

func (*Version) ProtoMessage

func (*Version) ProtoMessage()

func (*Version) ProtoReflect

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

func (*Version) Reset

func (x *Version) Reset()

func (*Version) String

func (x *Version) String() string

type VersionServiceGetRequest

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

VersionServiceGetRequest is the request payload for getting the version.

func (*VersionServiceGetRequest) Descriptor deprecated

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

Deprecated: Use VersionServiceGetRequest.ProtoReflect.Descriptor instead.

func (*VersionServiceGetRequest) ProtoMessage

func (*VersionServiceGetRequest) ProtoMessage()

func (*VersionServiceGetRequest) ProtoReflect

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

func (*VersionServiceGetRequest) Reset

func (x *VersionServiceGetRequest) Reset()

func (*VersionServiceGetRequest) String

func (x *VersionServiceGetRequest) String() string

type VersionServiceGetResponse

type VersionServiceGetResponse struct {

	// Version contains the version of the application.
	Version *Version `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

VersionServiceGetResponse is the response payload for getting the version.

func (*VersionServiceGetResponse) Descriptor deprecated

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

Deprecated: Use VersionServiceGetResponse.ProtoReflect.Descriptor instead.

func (*VersionServiceGetResponse) GetVersion

func (x *VersionServiceGetResponse) GetVersion() *Version

func (*VersionServiceGetResponse) ProtoMessage

func (*VersionServiceGetResponse) ProtoMessage()

func (*VersionServiceGetResponse) ProtoReflect

func (*VersionServiceGetResponse) Reset

func (x *VersionServiceGetResponse) Reset()

func (*VersionServiceGetResponse) String

func (x *VersionServiceGetResponse) String() string

type Visibility

type Visibility int32

Visibility of a method.

const (
	// VISIBILITY_UNSPECIFIED is not defined.
	Visibility_VISIBILITY_UNSPECIFIED Visibility = 0
	// VISIBILITY_PUBLIC specifies that this service is accessible without authentication.
	Visibility_VISIBILITY_PUBLIC Visibility = 1
	// VISIBILITY_SELF restricts calls to the authenticated user only.
	Visibility_VISIBILITY_SELF Visibility = 2
)

func (Visibility) Descriptor

func (Visibility) Descriptor() protoreflect.EnumDescriptor

func (Visibility) Enum

func (x Visibility) Enum() *Visibility

func (Visibility) EnumDescriptor deprecated

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

Deprecated: Use Visibility.Descriptor instead.

func (Visibility) Number

func (x Visibility) Number() protoreflect.EnumNumber

func (Visibility) String

func (x Visibility) String() string

func (Visibility) Type

type VolumeGroup

type VolumeGroup struct {

	// Name the name of the resulting volume group.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Devices list of devices to form the volume group from.
	Devices []string `protobuf:"bytes,2,rep,name=devices,proto3" json:"devices,omitempty"`
	// Tags list of tags to add to the volume group.
	Tags []string `protobuf:"bytes,3,rep,name=tags,proto3" json:"tags,omitempty"`
	// contains filtered or unexported fields
}

VolumeGroup.

func (*VolumeGroup) Descriptor deprecated

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

Deprecated: Use VolumeGroup.ProtoReflect.Descriptor instead.

func (*VolumeGroup) GetDevices

func (x *VolumeGroup) GetDevices() []string

func (*VolumeGroup) GetName

func (x *VolumeGroup) GetName() string

func (*VolumeGroup) GetTags

func (x *VolumeGroup) GetTags() []string

func (*VolumeGroup) ProtoMessage

func (*VolumeGroup) ProtoMessage()

func (*VolumeGroup) ProtoReflect

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

func (*VolumeGroup) Reset

func (x *VolumeGroup) Reset()

func (*VolumeGroup) String

func (x *VolumeGroup) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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