apiv2

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 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 (
	// 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 (
	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 (
	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",
	}
	SwitchPortStatus_value = map[string]int32{
		"SWITCH_PORT_STATUS_UNSPECIFIED": 0,
		"SWITCH_PORT_STATUS_UP":          1,
		"SWITCH_PORT_STATUS_DOWN":        2,
	}
)

Enum value maps for SwitchPortStatus.

View Source
var (
	TokenType_name = map[int32]string{
		0: "TOKEN_TYPE_UNSPECIFIED",
		1: "TOKEN_TYPE_API",
		2: "TOKEN_TYPE_CONSOLE",
	}
	TokenType_value = map[string]int32{
		"TOKEN_TYPE_UNSPECIFIED": 0,
		"TOKEN_TYPE_API":         1,
		"TOKEN_TYPE_CONSOLE":     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_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_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
}

BGP filter 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"`
	// WipeOnReinstall if set to true, this disk will be wiped before reinstallation
	WipeOnReinstall bool `protobuf:"varint,3,opt,name=wipe_on_reinstall,json=wipeOnReinstall,proto3" json:"wipe_on_reinstall,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) GetWipeOnReinstall

func (x *Disk) GetWipeOnReinstall() bool

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

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

FilesystemServiceMatchRequest

func (*FilesystemServiceMatchRequest) Descriptor deprecated

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

Deprecated: Use FilesystemServiceMatchRequest.ProtoReflect.Descriptor instead.

func (*FilesystemServiceMatchRequest) GetFilesystemLayoutId

func (x *FilesystemServiceMatchRequest) GetFilesystemLayoutId() string

func (*FilesystemServiceMatchRequest) GetMachine

func (x *FilesystemServiceMatchRequest) GetMachine() string

func (*FilesystemServiceMatchRequest) ProtoMessage

func (*FilesystemServiceMatchRequest) ProtoMessage()

func (*FilesystemServiceMatchRequest) ProtoReflect

func (*FilesystemServiceMatchRequest) Reset

func (x *FilesystemServiceMatchRequest) Reset()

func (*FilesystemServiceMatchRequest) String

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 FilesystemServiceTryRequest

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

FilesystemServiceTryRequest

func (*FilesystemServiceTryRequest) Descriptor deprecated

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

Deprecated: Use FilesystemServiceTryRequest.ProtoReflect.Descriptor instead.

func (*FilesystemServiceTryRequest) GetImage

func (x *FilesystemServiceTryRequest) GetImage() string

func (*FilesystemServiceTryRequest) GetSize

func (x *FilesystemServiceTryRequest) GetSize() string

func (*FilesystemServiceTryRequest) ProtoMessage

func (*FilesystemServiceTryRequest) ProtoMessage()

func (*FilesystemServiceTryRequest) ProtoReflect

func (*FilesystemServiceTryRequest) Reset

func (x *FilesystemServiceTryRequest) Reset()

func (*FilesystemServiceTryRequest) String

func (x *FilesystemServiceTryRequest) String() string

type FilesystemServiceTryResponse

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

FilesystemServiceTryResponse

func (*FilesystemServiceTryResponse) Descriptor deprecated

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

Deprecated: Use FilesystemServiceTryResponse.ProtoReflect.Descriptor instead.

func (*FilesystemServiceTryResponse) GetFilesystemLayout

func (x *FilesystemServiceTryResponse) GetFilesystemLayout() *FilesystemLayout

func (*FilesystemServiceTryResponse) ProtoMessage

func (*FilesystemServiceTryResponse) ProtoMessage()

func (*FilesystemServiceTryResponse) ProtoReflect

func (*FilesystemServiceTryResponse) Reset

func (x *FilesystemServiceTryResponse) Reset()

func (*FilesystemServiceTryResponse) 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 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"`
	// MachineId for which this ips should get filtered
	MachineId *string `protobuf:"bytes,6,opt,name=machine_id,json=machineId,proto3,oneof" json:"machine_id,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) GetMachineId

func (x *IPQuery) GetMachineId() 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"`
	// MachineId for which this ip should get created
	MachineId *string `protobuf:"bytes,6,opt,name=machine_id,json=machineId,proto3,oneof" json:"machine_id,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) GetMachineId

func (x *IPServiceCreateRequest) GetMachineId() 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"`
	// Project of the ip
	Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
	// Name of this ip
	Name *string `protobuf:"bytes,3,opt,name=name,proto3,oneof" json:"name,omitempty"`
	// Description of this ip
	Description *string `protobuf:"bytes,4,opt,name=description,proto3,oneof" json:"description,omitempty"`
	// Type of this ip
	Type *IPType `protobuf:"varint,5,opt,name=type,proto3,enum=metalstack.api.v2.IPType,oneof" json:"type,omitempty"`
	// Labels on this ip
	Labels *UpdateLabels `protobuf:"bytes,6,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) 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"`
	// Feature of the image to query
	Feature *ImageFeature `protobuf:"varint,6,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 */
	// 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) GetName

func (x *ImageQuery) GetName() string

func (*ImageQuery) GetOs

func (x *ImageQuery) GetOs() 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 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 ip 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 ip was updated
	UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// Generation identifies the last updated time as uuidv7 field
	// must be part of the update request to ensure optimistic locking
	Generation *string `protobuf:"bytes,4,opt,name=generation,proto3,oneof" 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() string

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 MethodPermission

type MethodPermission struct {

	// Subject maybe either the project or the tenant
	// for which the methods should be allowed
	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 */
	// 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) 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 NetworkId points to the id of the parent network if any
	ParentNetworkId *string `protobuf:"bytes,15,opt,name=parent_network_id,json=parentNetworkId,proto3,oneof" json:"parent_network_id,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) GetParentNetworkId

func (x *Network) GetParentNetworkId() 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 NetworkId points to the id of the parent network if any
	ParentNetworkId *string `protobuf:"bytes,10,opt,name=parent_network_id,json=parentNetworkId,proto3,oneof" json:"parent_network_id,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" 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) GetParentNetworkId

func (x *NetworkQuery) GetParentNetworkId() 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 NetworkId points to the id of the parent network if any
	ParentNetworkId *string `protobuf:"bytes,6,opt,name=parent_network_id,json=parentNetworkId,proto3,oneof" json:"parent_network_id,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) GetParentNetworkId

func (x *NetworkServiceCreateRequest) GetParentNetworkId() 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"`
	// Project of the network
	Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,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"`
	// Labels on this network
	Labels *UpdateLabels `protobuf:"bytes,5,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) 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 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"`
	// Descrpartitiontion 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"`
	// 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) 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 ip
	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"`
	// 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) 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 ProjectServiceListRequest

type ProjectServiceListRequest struct {

	// Name list only projects with this name
	Name *string `protobuf:"bytes,1,opt,name=name,proto3,oneof" json:"name,omitempty"`
	// Tenant list only projects of this tenant
	Tenant *string `protobuf:"bytes,2,opt,name=tenant,proto3,oneof" json:"tenant,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) 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"`
	// MemberID is the id of the member to remove from this project
	MemberId string `protobuf:"bytes,2,opt,name=member_id,json=memberId,proto3" json:"member_id,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) GetMemberId

func (x *ProjectServiceRemoveMemberRequest) GetMemberId() string

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"`
	// MemberID is the id of the member to remove from this project
	MemberId string `protobuf:"bytes,2,opt,name=member_id,json=memberId,proto3" json:"member_id,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) GetMemberId

func (x *ProjectServiceUpdateMemberRequest) GetMemberId() string

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"`
	// Name of this project unique per tenant
	Name *string `protobuf:"bytes,2,opt,name=name,proto3,oneof" json:"name,omitempty"`
	// Description of this project
	Description *string `protobuf:"bytes,3,opt,name=description,proto3,oneof" 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"`
	// 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) GetName

func (x *ProjectServiceUpdateRequest) GetName() string

func (*ProjectServiceUpdateRequest) GetProject

func (x *ProjectServiceUpdateRequest) GetProject() string

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 ip
	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 on this network
	Labels *Labels `protobuf:"bytes,4,opt,name=labels,proto3" 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"`
	// Description of the switch
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// Rack ID if the switch resides in a rack
	RackId *string `protobuf:"bytes,3,opt,name=rack_id,json=rackId,proto3,oneof" json:"rack_id,omitempty"`
	// Partition the switch belongs to
	Partition string `protobuf:"bytes,4,opt,name=partition,proto3" json:"partition,omitempty"`
	// Replace mode is used to mark a switch ready for replacement
	ReplaceMode SwitchReplaceMode `` /* 136-byte string literal not displayed */
	// Management IP is the switch's IP for management access
	ManagementIp string `protobuf:"bytes,7,opt,name=management_ip,json=managementIp,proto3" json:"management_ip,omitempty"`
	// Management user is the user name to use for management access
	ManagementUser string `protobuf:"bytes,8,opt,name=management_user,json=managementUser,proto3" json:"management_user,omitempty"`
	// Console command is the command for accessing the switch's console
	ConsoleCommand string `protobuf:"bytes,9,opt,name=console_command,json=consoleCommand,proto3" json:"console_command,omitempty"`
	// Switch NICs are the front panel ports of the switch
	SwitchNics []*SwitchNic `protobuf:"bytes,10,rep,name=switch_nics,json=switchNics,proto3" json:"switch_nics,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) 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) GetPartition added in v0.0.8

func (x *Switch) GetPartition() string

func (*Switch) GetRackId added in v0.0.8

func (x *Switch) GetRackId() string

func (*Switch) GetReplaceMode added in v0.0.8

func (x *Switch) GetReplaceMode() SwitchReplaceMode

func (*Switch) GetSwitchNics added in v0.0.8

func (x *Switch) GetSwitchNics() []*SwitchNic

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"`
	// Peer group of this port
	PeerGroup string `protobuf:"bytes,2,opt,name=peer_group,json=peerGroup,proto3" json:"peer_group,omitempty"`
	// VRF name of the VRF this port is bound to
	VrfName string `protobuf:"bytes,3,opt,name=vrf_name,json=vrfName,proto3" json:"vrf_name,omitempty"`
	// BGP state 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"`
	// BGP timer up established reports the uptime of this port's BGP connection
	BgpTimerUpEstablished *durationpb.Duration `` /* 128-byte string literal not displayed */
	// Sent prefix counter 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"`
	// Accepted prefix counter 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() *durationpb.Duration

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
	MacAddress string `protobuf:"bytes,3,opt,name=mac_address,json=macAddress,proto3" json:"mac_address,omitempty"`
	// VRF name if the port is bound in one
	Vrf *string `protobuf:"bytes,4,opt,name=vrf,proto3,oneof" json:"vrf,omitempty"`
	// Actual port status
	Actual SwitchPortStatus `protobuf:"varint,5,opt,name=actual,proto3,enum=metalstack.api.v2.SwitchPortStatus" json:"actual,omitempty"`
	// BGP filter optionally configured on a port
	BgpFilter *BGPFilter `protobuf:"bytes,6,opt,name=bgp_filter,json=bgpFilter,proto3,oneof" json:"bgp_filter,omitempty"`
	// BGP port state 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) GetActual added in v0.0.8

func (x *SwitchNic) GetActual() SwitchPortStatus

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) GetMacAddress added in v0.0.8

func (x *SwitchNic) GetMacAddress() string

func (*SwitchNic) GetName added in v0.0.8

func (x *SwitchNic) GetName() string

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 {

	// Switch OS 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"`
	// Metal core version 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 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
)

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 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 ip
	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"`
	// ProjectIds for the projects in which a user is a direct member
	ProjectIds []string `protobuf:"bytes,4,rep,name=project_ids,json=projectIds,proto3" json:"project_ids,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) GetProjectIds

func (x *TenantMember) GetProjectIds() []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"`
	// PhoneNumber of the tenant
	PhoneNumber *string `protobuf:"bytes,5,opt,name=phone_number,json=phoneNumber,proto3,oneof" json:"phone_number,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) GetName

func (x *TenantServiceCreateRequest) GetName() string

func (*TenantServiceCreateRequest) GetPhoneNumber

func (x *TenantServiceCreateRequest) GetPhoneNumber() 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 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"`
	// 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) 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"`
	// MemberID is the id of the member to remove from this tenant
	MemberId string `protobuf:"bytes,2,opt,name=member_id,json=memberId,proto3" json:"member_id,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) GetMemberId

func (x *TenantServiceRemoveMemberRequest) GetMemberId() string

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"`
	// MemberID is the id of the member to update in this tenant
	MemberId string `protobuf:"bytes,2,opt,name=member_id,json=memberId,proto3" json:"member_id,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) GetMemberId

func (x *TenantServiceUpdateMemberRequest) GetMemberId() string

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"`
	// Name of the tenant
	Name *string `protobuf:"bytes,2,opt,name=name,proto3,oneof" json:"name,omitempty"`
	// Email of the tenant
	Email *string `protobuf:"bytes,3,opt,name=email,proto3,oneof" json:"email,omitempty"`
	// Description of this tenant
	Description *string `protobuf:"bytes,4,opt,name=description,proto3,oneof" json:"description,omitempty"`
	// AvatarUrl of the tenant
	AvatarUrl *string `protobuf:"bytes,5,opt,name=avatar_url,json=avatarUrl,proto3,oneof" json:"avatar_url,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) GetLogin

func (x *TenantServiceUpdateRequest) GetLogin() string

func (*TenantServiceUpdateRequest) GetName

func (x *TenantServiceUpdateRequest) GetName() string

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"`
	// UserId who created this token
	UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// Description is a user given description of this token.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" 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"`
	// 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 */
	// contains filtered or unexported fields
}

Token is a jwt authentication token to access the api

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) GetIssuedAt

func (x *Token) GetIssuedAt() *timestamppb.Timestamp

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) GetUserId

func (x *Token) GetUserId() 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 */
	// 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) 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"`
	// Description is a user given description of this token.
	Description *string `protobuf:"bytes,2,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,3,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 */
	// 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) 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) 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_CONSOLE is a token for console or web ui usage
	TokenType_TOKEN_TYPE_CONSOLE 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 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