apiv2

package
v0.0.36 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2025 License: MIT Imports: 9 Imported by: 37

Documentation

Index

Constants

This section is empty.

Variables

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 (
	Visibility_name = map[int32]string{
		0: "VISIBILITY_UNSPECIFIED",
		1: "VISIBILITY_PUBLIC",
		3: "VISIBILITY_SELF",
	}
	Visibility_value = map[string]int32{
		"VISIBILITY_UNSPECIFIED": 0,
		"VISIBILITY_PUBLIC":      1,
		"VISIBILITY_SELF":        3,
	}
)

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 which 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 which 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 which 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 which 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]
)

Extension fields to descriptorpb.MethodOptions.

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_MASTERDATA",
		4: "SERVICE_MACHINES",
		5: "SERVICE_AUDIT",
		6: "SERVICE_VPN",
	}
	Service_value = map[string]int32{
		"SERVICE_UNSPECIFIED": 0,
		"SERVICE_IPAM":        1,
		"SERVICE_RETHINK":     2,
		"SERVICE_MASTERDATA":  3,
		"SERVICE_MACHINES":    4,
		"SERVICE_AUDIT":       5,
		"SERVICE_VPN":         6,
	}
)

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_RESERVED",
		2: "MACHINE_STATE_LOCKED",
		3: "MACHINE_STATE_AVAILABLE",
	}
	MachineState_value = map[string]int32{
		"MACHINE_STATE_UNSPECIFIED": 0,
		"MACHINE_STATE_RESERVED":    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 (
	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 macadress
	//
	// 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]
)

Extension fields to validate.StringRules.

View Source
var (
	// Prefixes validates if a slice of prefixes in string form are valid
	//
	// optional bool prefixes = 80048956;
	E_Prefixes = &file_metalstack_api_v2_predefined_rules_proto_extTypes[6]
	// Ips validates if a slice of ips in string form are valid
	//
	// optional bool ips = 80048957;
	E_Ips = &file_metalstack_api_v2_predefined_rules_proto_extTypes[7]
)

Extension fields to validate.RepeatedRules.

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[6]
)

Extension fields to descriptorpb.EnumValueOptions.

View Source
var File_metalstack_api_v2_common_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_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

Functions

This section is empty.

Types

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 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 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"`
	// optional label for this this partition
	Label *string `protobuf:"bytes,2,opt,name=label,proto3,oneof" json:"label,omitempty"`
	// Size 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 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 optional label for this 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
	Sizes []string `protobuf:"bytes,1,rep,name=sizes,proto3" json:"sizes,omitempty"`
	// Images list of images this layout applies to
	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 FilesystemServiceMatchRequest

type FilesystemServiceMatchRequest struct {

	// Match either size and image to a filesystemlayout
	// or if a machine matches to a filesystemlayout
	//
	// Types that are valid to be assigned to Match:
	//
	//	*FilesystemServiceMatchRequest_SizeAndImage
	//	*FilesystemServiceMatchRequest_MachineAndFilesystemlayout
	Match isFilesystemServiceMatchRequest_Match `protobuf_oneof:"match"`
	// contains filtered or unexported fields
}

FilesystemServiceMatchRequest

func (*FilesystemServiceMatchRequest) Descriptor deprecated

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

Deprecated: Use FilesystemServiceMatchRequest.ProtoReflect.Descriptor instead.

func (*FilesystemServiceMatchRequest) GetMachineAndFilesystemlayout added in v0.0.17

func (x *FilesystemServiceMatchRequest) GetMachineAndFilesystemlayout() *MatchMachine

func (*FilesystemServiceMatchRequest) GetMatch added in v0.0.17

func (x *FilesystemServiceMatchRequest) GetMatch() isFilesystemServiceMatchRequest_Match

func (*FilesystemServiceMatchRequest) GetSizeAndImage added in v0.0.17

func (x *FilesystemServiceMatchRequest) GetSizeAndImage() *MatchImageAndSize

func (*FilesystemServiceMatchRequest) ProtoMessage

func (*FilesystemServiceMatchRequest) ProtoMessage()

func (*FilesystemServiceMatchRequest) ProtoReflect

func (*FilesystemServiceMatchRequest) Reset

func (x *FilesystemServiceMatchRequest) Reset()

func (*FilesystemServiceMatchRequest) String

type FilesystemServiceMatchRequest_MachineAndFilesystemlayout added in v0.0.17

type FilesystemServiceMatchRequest_MachineAndFilesystemlayout struct {
	// MachineAndFilesystemlayout
	MachineAndFilesystemlayout *MatchMachine `protobuf:"bytes,2,opt,name=machine_and_filesystemlayout,json=machineAndFilesystemlayout,proto3,oneof"`
}

type FilesystemServiceMatchRequest_SizeAndImage added in v0.0.17

type FilesystemServiceMatchRequest_SizeAndImage struct {
	// SizeAndImage
	SizeAndImage *MatchImageAndSize `protobuf:"bytes,1,opt,name=size_and_image,json=sizeAndImage,proto3,oneof"`
}

type FilesystemServiceMatchResponse

type FilesystemServiceMatchResponse 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
}

FilesystemServiceMatchResponse

func (*FilesystemServiceMatchResponse) Descriptor deprecated

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

Deprecated: Use FilesystemServiceMatchResponse.ProtoReflect.Descriptor instead.

func (*FilesystemServiceMatchResponse) GetFilesystemLayout

func (x *FilesystemServiceMatchResponse) GetFilesystemLayout() *FilesystemLayout

func (*FilesystemServiceMatchResponse) ProtoMessage

func (*FilesystemServiceMatchResponse) ProtoMessage()

func (*FilesystemServiceMatchResponse) ProtoReflect

func (*FilesystemServiceMatchResponse) Reset

func (x *FilesystemServiceMatchResponse) Reset()

func (*FilesystemServiceMatchResponse) 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,19,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 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 request payload to get 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 is the overall health of the system
	Health *Health `protobuf:"bytes,1,opt,name=health,proto3" json:"health,omitempty"`
	// contains filtered or unexported fields
}

HealthServiceGetRequest is the response payload with 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 the name of the service
	Name Service `protobuf:"varint,1,opt,name=name,proto3,enum=metalstack.api.v2.Service" json:"name,omitempty"`
	// Status 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 the health 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 a 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 where the ips 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 this ips should get filtered
	Uuid *string `protobuf:"bytes,5,opt,name=uuid,proto3,oneof" json:"uuid,omitempty"`
	// Machine for which this ips should get 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 this ips should get 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"`
	// Addressfamily of the IPs to list, defaults to all addressfamilies
	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 a 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 a 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 a 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 a 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 a 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 ore 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 a 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 a 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 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 a 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 a 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 imageLayout
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Meta for this ip
	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 imageLayout
	Name *string `protobuf:"bytes,4,opt,name=name,proto3,oneof" json:"name,omitempty"`
	// Description of this imageLayout
	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 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 a 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 a 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"`
	// contains filtered or unexported fields
}

ImageServiceLatestRequest is the request payload for a image latest request

func (*ImageServiceLatestRequest) Descriptor deprecated

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

Deprecated: Use ImageServiceLatestRequest.ProtoReflect.Descriptor instead.

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 a 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 a 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 a 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 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 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"`
	// Size of this machine
	Size *Size `protobuf:"bytes,5,opt,name=size,proto3" json:"size,omitempty"`
	// Hardware specs of this machine
	Hardware *MachineHardware `protobuf:"bytes,6,opt,name=hardware,proto3" json:"hardware,omitempty"`
	// Bios details for this machine
	Bios *MachineBios `protobuf:"bytes,7,opt,name=bios,proto3" json:"bios,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) GetBios added in v0.0.9

func (x *Machine) GetBios() *MachineBios

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) 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
	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
	DnsServer []*DNSServer `protobuf:"bytes,15,rep,name=dns_server,json=dnsServer,proto3" json:"dns_server,omitempty"`
	// NTPServers for this machine
	NtpServer []*NTPServer `protobuf:"bytes,16,rep,name=ntp_server,json=ntpServer,proto3" json:"ntp_server,omitempty"`
	// VPN connection configuration
	Vpn *MachineVPN `protobuf:"bytes,17,opt,name=vpn,proto3" json:"vpn,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) GetDnsServer added in v0.0.9

func (x *MachineAllocation) GetDnsServer() []*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) GetNtpServer added in v0.0.9

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

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"`
	// NoAutoAcquireIp will prevent automatic ip acquirement per network if set to true.
	// By default one ip address is acquired per network for the machine
	NoAutoAcquireIp *bool `protobuf:"varint,2,opt,name=no_auto_acquire_ip,json=noAutoAcquireIp,proto3,oneof" json:"no_auto_acquire_ip,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) GetNetwork added in v0.0.9

func (x *MachineAllocationNetwork) GetNetwork() string

func (*MachineAllocationNetwork) GetNoAutoAcquireIp added in v0.0.9

func (x *MachineAllocationNetwork) GetNoAutoAcquireIp() bool

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"`
	// 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) 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 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 howto 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-OFF
	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 all
	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 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,3,rep,name=disks,proto3" json:"disks,omitempty"`
	// CPUs the cpu details
	Cpus []*MetalCPU `protobuf:"bytes,4,rep,name=cpus,proto3" json:"cpus,omitempty"`
	// GPUs the gpu details
	Gpus []*MetalGPU `protobuf:"bytes,5,rep,name=gpus,proto3" json:"gpus,omitempty"`
	// Nics the list of network interfaces of this machine
	Nics []*MachineNic `protobuf:"bytes,6,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 MachineIPMIQuery added in v0.0.9

type MachineIPMIQuery 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
}

MachineIPMIQuery machine ipmi specific machine queries

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

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

Deprecated: Use MachineIPMIQuery.ProtoReflect.Descriptor instead.

func (*MachineIPMIQuery) GetAddress added in v0.0.9

func (x *MachineIPMIQuery) GetAddress() string

func (*MachineIPMIQuery) GetInterface added in v0.0.9

func (x *MachineIPMIQuery) GetInterface() string

func (*MachineIPMIQuery) GetMac added in v0.0.9

func (x *MachineIPMIQuery) GetMac() string

func (*MachineIPMIQuery) GetUser added in v0.0.9

func (x *MachineIPMIQuery) GetUser() string

func (*MachineIPMIQuery) ProtoMessage added in v0.0.9

func (*MachineIPMIQuery) ProtoMessage()

func (*MachineIPMIQuery) ProtoReflect added in v0.0.9

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

func (*MachineIPMIQuery) Reset added in v0.0.9

func (x *MachineIPMIQuery) Reset()

func (*MachineIPMIQuery) String added in v0.0.9

func (x *MachineIPMIQuery) 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"`
	// 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) 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 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 a event which 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"`
	// Labels for which this machine should get filtered
	Labels *Labels `protobuf:"bytes,6,opt,name=labels,proto3,oneof" json:"labels,omitempty"`
	// Allocation specific machine queries
	Allocation *MachineAllocationQuery `protobuf:"bytes,7,opt,name=allocation,proto3,oneof" json:"allocation,omitempty"`
	// Network specific machine queries
	Network *MachineNetworkQuery `protobuf:"bytes,8,opt,name=network,proto3,oneof" json:"network,omitempty"`
	// Nic specific machine queries
	Nic *MachineNicQuery `protobuf:"bytes,9,opt,name=nic,proto3,oneof" json:"nic,omitempty"`
	// Disk specific machine queries
	Disk *MachineDiskQuery `protobuf:"bytes,10,opt,name=disk,proto3,oneof" json:"disk,omitempty"`
	// IPMI specific machine queries
	Ipmi *MachineIPMIQuery `protobuf:"bytes,11,opt,name=ipmi,proto3,oneof" json:"ipmi,omitempty"`
	// FRU specific machine queries
	Fru *MachineFRUQuery `protobuf:"bytes,12,opt,name=fru,proto3,oneof" json:"fru,omitempty"`
	// Hardware specific machine query
	Hardware *MachineHardwareQuery `protobuf:"bytes,13,opt,name=hardware,proto3,oneof" json:"hardware,omitempty"`
	// State this machine has
	State *MachineState `protobuf:"varint,14,opt,name=state,proto3,enum=metalstack.api.v2.MachineState,oneof" json:"state,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) 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) GetIpmi added in v0.0.9

func (x *MachineQuery) GetIpmi() *MachineIPMIQuery

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) GetPartition added in v0.0.9

func (x *MachineQuery) GetPartition() string

func (*MachineQuery) GetRack added in v0.0.9

func (x *MachineQuery) GetRack() 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) 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 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 overrules size and partition
	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
	Partition string `protobuf:"bytes,6,opt,name=partition,proto3" json:"partition,omitempty"`
	// Size of the machine to create
	Size string `protobuf:"bytes,7,opt,name=size,proto3" json:"size,omitempty"`
	// Image which should be installed on this machine
	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
	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"`
	// IPs to to attach to this machine additionally
	Ips []string `protobuf:"bytes,14,rep,name=ips,proto3" json:"ips,omitempty"`
	// PlacementTags by default machines are spread across the racks inside a partition for every project.
	// if placement tags are provided, the machine candidate has an additional anti-affinity to other machines having the same tags
	PlacementTags []string `protobuf:"bytes,15,rep,name=placement_tags,json=placementTags,proto3" json:"placement_tags,omitempty"`
	// DNSServer the dns servers used for the machine
	DnsServer []*DNSServer `protobuf:"bytes,16,rep,name=dns_server,json=dnsServer,proto3" json:"dns_server,omitempty"`
	// NTPServer the ntp servers used for the machine
	NtpServer []*NTPServer `protobuf:"bytes,17,rep,name=ntp_server,json=ntpServer,proto3" json:"ntp_server,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,19,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) GetDnsServer added in v0.0.9

func (x *MachineServiceCreateRequest) GetDnsServer() []*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) GetIps added in v0.0.9

func (x *MachineServiceCreateRequest) GetIps() []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) GetNtpServer added in v0.0.9

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

func (*MachineServiceCreateRequest) GetPartition added in v0.0.9

func (x *MachineServiceCreateRequest) GetPartition() string

func (*MachineServiceCreateRequest) GetPlacementTags added in v0.0.9

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

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 request payload for a machine create response

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 deleteds
	Machine *Machine `protobuf:"bytes,1,opt,name=machine,proto3" json:"machine,omitempty"`
	// contains filtered or unexported fields
}

MachineServiceDeleteResponse is the request payload for a machine delete response

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 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 request payload for a machine get response

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 request payload for a machine list response

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 request payload for a machine update response

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_RESERVED this machine is reserved
	MachineState_MACHINE_STATE_RESERVED MachineState = 1
	// MACHINE_STATE_LOCKED this machine is locked
	MachineState_MACHINE_STATE_LOCKED MachineState = 2
	// MACHINE_STATE_LOCKED 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"` // TODO add machine ips
	// 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) 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 MatchImageAndSize added in v0.0.17

type MatchImageAndSize struct {

	// Size, machine size to try
	Size string `protobuf:"bytes,1,opt,name=size,proto3" json:"size,omitempty"`
	// Image machine image to try
	Image string `protobuf:"bytes,2,opt,name=image,proto3" json:"image,omitempty"`
	// contains filtered or unexported fields
}

MatchImageAndSize

func (*MatchImageAndSize) Descriptor deprecated added in v0.0.17

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

Deprecated: Use MatchImageAndSize.ProtoReflect.Descriptor instead.

func (*MatchImageAndSize) GetImage added in v0.0.17

func (x *MatchImageAndSize) GetImage() string

func (*MatchImageAndSize) GetSize added in v0.0.17

func (x *MatchImageAndSize) GetSize() string

func (*MatchImageAndSize) ProtoMessage added in v0.0.17

func (*MatchImageAndSize) ProtoMessage()

func (*MatchImageAndSize) ProtoReflect added in v0.0.17

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

func (*MatchImageAndSize) Reset added in v0.0.17

func (x *MatchImageAndSize) Reset()

func (*MatchImageAndSize) String added in v0.0.17

func (x *MatchImageAndSize) String() string

type MatchMachine added in v0.0.17

type MatchMachine struct {

	// Machine to check
	Machine string `protobuf:"bytes,1,opt,name=machine,proto3" json:"machine,omitempty"`
	// FilesystemLayout to check
	FilesystemLayout string `protobuf:"bytes,2,opt,name=filesystem_layout,json=filesystemLayout,proto3" json:"filesystem_layout,omitempty"`
	// contains filtered or unexported fields
}

MatchMachine

func (*MatchMachine) Descriptor deprecated added in v0.0.17

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

Deprecated: Use MatchMachine.ProtoReflect.Descriptor instead.

func (*MatchMachine) GetFilesystemLayout added in v0.0.17

func (x *MatchMachine) GetFilesystemLayout() string

func (*MatchMachine) GetMachine added in v0.0.17

func (x *MatchMachine) GetMachine() string

func (*MatchMachine) ProtoMessage added in v0.0.17

func (*MatchMachine) ProtoMessage()

func (*MatchMachine) ProtoReflect added in v0.0.17

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

func (*MatchMachine) Reset added in v0.0.17

func (x *MatchMachine) Reset()

func (*MatchMachine) String added in v0.0.17

func (x *MatchMachine) 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"`
	// 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) 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 maybe 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 to list 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 with all public visible 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 to list 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 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 */
	// 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) 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 bitlength of a child network created per addressfamily, of 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,oneof" json:"type,omitempty"`
	// NATType of this network
	NatType *NATType `protobuf:"varint,13,opt,name=nat_type,json=natType,proto3,enum=metalstack.api.v2.NATType,oneof" 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 networks
	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.
	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,2,opt,name=available_ips,json=availableIps,proto3" json:"available_ips,omitempty"`
	// the total used IPs
	UsedIps uint64 `protobuf:"varint,3,opt,name=used_ips,json=usedIps,proto3" json:"used_ips,omitempty"`
	// the total available 2 bit Prefixes
	AvailablePrefixes uint64 `protobuf:"varint,4,opt,name=available_prefixes,json=availablePrefixes,proto3" json:"available_prefixes,omitempty"`
	// the total used Prefixes
	UsedPrefixes uint64 `protobuf:"varint,5,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 ip
	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
	DnsServer []*DNSServer `protobuf:"bytes,5,rep,name=dns_server,json=dnsServer,proto3" json:"dns_server,omitempty"`
	// NTPServers for this partition
	NtpServer []*NTPServer `protobuf:"bytes,6,rep,name=ntp_server,json=ntpServer,proto3" json:"ntp_server,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) GetDnsServer

func (x *Partition) GetDnsServer() []*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) GetNtpServer

func (x *Partition) GetNtpServer() []*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 cmdline to the kernel 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 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 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 {

	// Ip 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 {

	// Ips 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 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 tenant who invites to join this project
	Tenant string `protobuf:"bytes,6,opt,name=tenant,proto3" json:"tenant,omitempty"`
	// TenantName is the name of tenant who invites 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,10,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,11,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,10,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// contains filtered or unexported fields
}

ProjectMember defines a user that participates at 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) 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 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 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 get
	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 if the project joined
	ProjectName string `protobuf:"bytes,2,opt,name=project_name,json=projectName,proto3" json:"project_name,omitempty"`
	// contains filtered or unexported fields
}

ProjectServiceInvitesListResponse 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,3,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
}

ProjectServiceInviteRequest 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 {

	// Id lists only projects with this id
	Id *string `protobuf:"bytes,1,opt,name=id,proto3,oneof" json:"id,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,6,opt,name=labels,proto3,oneof" json:"labels,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) GetId added in v0.0.15

func (x *ProjectServiceListRequest) GetId() string

func (*ProjectServiceListRequest) GetLabels added in v0.0.19

func (x *ProjectServiceListRequest) GetLabels() *Labels

func (*ProjectServiceListRequest) GetName

func (x *ProjectServiceListRequest) GetName() string

func (*ProjectServiceListRequest) GetTenant

func (x *ProjectServiceListRequest) GetTenant() string

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,5,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 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 Service

type Service int32

Service defines the service for which the healtyness 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_MASTERDATA the masterdata-api
	Service_SERVICE_MASTERDATA 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
)

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 e.g. 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,4,opt,name=name,proto3,oneof" json:"name,omitempty"`
	// Description of this size
	Description *string `protobuf:"bytes,5,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,6,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 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 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"`
	// Partition the switch belongs to.
	Partition string `protobuf:"bytes,5,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,7,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,8,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,9,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,10,rep,name=nics,proto3" json:"nics,omitempty"`
	// SwitchOs is the OS running on the switch.
	Os *SwitchOS `protobuf:"bytes,11,opt,name=os,proto3" json:"os,omitempty"`
	// MachineConnections map machines to the nics they are connected to.
	MachineConnections []*MachineConnection `protobuf:"bytes,12,rep,name=machine_connections,json=machineConnections,proto3" json:"machine_connections,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) 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) 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" 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 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"`
	// Switch OS specific queries.
	Os *SwitchOSQuery `protobuf:"bytes,4,opt,name=os,proto3,oneof" json:"os,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) 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) 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 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,15,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 tenant who invites to join this tenant
	Tenant string `protobuf:"bytes,6,opt,name=tenant,proto3" json:"tenant,omitempty"`
	// TenantName is the name of tenant who invites 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,10,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,11,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 for the projects in which a user is a direct member
	Projects []string `protobuf:"bytes,4,rep,name=projects,proto3" json:"projects,omitempty"`
	// CreatedAt the date when the member was added to the tenant
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// contains filtered or unexported fields
}

TenantMember defines a user that participates at 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) 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 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 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
}

TenantServiceInvitesListResponse 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
	// can be appended to the invitation endpoint at our cloud console like
	// console.metalstack.cloud/invite/<secret>
	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 not already 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 {

	// Id filters tenants by id
	Id *string `protobuf:"bytes,1,opt,name=id,proto3,oneof" json:"id,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"`
	// 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) GetId

func (x *TenantServiceListRequest) GetId() string

func (*TenantServiceListRequest) GetLabels added in v0.0.19

func (x *TenantServiceListRequest) GetLabels() *Labels

func (*TenantServiceListRequest) GetName

func (x *TenantServiceListRequest) GetName() string

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 {
	// 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) 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 */
	// 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) 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 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 []*MethodPermission `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,4,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 */
	// 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) GetPermissions

func (x *TokenServiceCreateRequest) GetPermissions() []*MethodPermission

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 if 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 {
	// 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) 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 if 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 []*MethodPermission `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 */
	// Labels on this token
	Labels *UpdateLabels `protobuf:"bytes,9,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) GetPermissions

func (x *TokenServiceUpdateRequest) GetPermissions() []*MethodPermission

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 {

	// 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
}

UpdateLabels is a message to update labels

func (*UpdateLabels) Descriptor deprecated

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

Deprecated: Use UpdateLabels.ProtoReflect.Descriptor instead.

func (*UpdateLabels) GetRemove

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

func (*UpdateLabels) GetUpdate

func (x *UpdateLabels) GetUpdate() *Labels

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 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 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,5,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"`
	// Tenants the user belongs to
	Tenants []*Tenant `protobuf:"bytes,8,rep,name=tenants,proto3" json:"tenants,omitempty"`
	// Projects the user belongs to
	Projects []*Project `protobuf:"bytes,9,rep,name=projects,proto3" json:"projects,omitempty"`
	// DefaultTenant this user belongs to
	DefaultTenant *Tenant `protobuf:"bytes,10,opt,name=default_tenant,json=defaultTenant,proto3" json:"default_tenant,omitempty"`
	// contains filtered or unexported fields
}

User is a 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 to get 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 is the user
	User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	// contains filtered or unexported fields
}

UserServiceGetResponse the response when userservice get request was called

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 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 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 to get 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 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 with 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 enable call this endpoint from the authenticated user only
	Visibility_VISIBILITY_SELF Visibility = 3
)

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