Documentation
¶
Index ¶
- Variables
- type AdminRole
- type Auditing
- type ChildPrefixLength
- func (*ChildPrefixLength) Descriptor() ([]byte, []int)deprecated
- func (x *ChildPrefixLength) GetIpv4() uint32
- func (x *ChildPrefixLength) GetIpv6() uint32
- func (*ChildPrefixLength) ProtoMessage()
- func (x *ChildPrefixLength) ProtoReflect() protoreflect.Message
- func (x *ChildPrefixLength) Reset()
- func (x *ChildPrefixLength) String() string
- type DNSServer
- type Disk
- func (*Disk) Descriptor() ([]byte, []int)deprecated
- func (x *Disk) GetDevice() string
- func (x *Disk) GetPartitions() []*DiskPartition
- func (x *Disk) GetWipeOnReinstall() bool
- func (*Disk) ProtoMessage()
- func (x *Disk) ProtoReflect() protoreflect.Message
- func (x *Disk) Reset()
- func (x *Disk) String() string
- type DiskPartition
- func (*DiskPartition) Descriptor() ([]byte, []int)deprecated
- func (x *DiskPartition) GetGptType() GPTType
- func (x *DiskPartition) GetLabel() string
- func (x *DiskPartition) GetNumber() uint32
- func (x *DiskPartition) GetSize() uint64
- func (*DiskPartition) ProtoMessage()
- func (x *DiskPartition) ProtoReflect() protoreflect.Message
- func (x *DiskPartition) Reset()
- func (x *DiskPartition) String() string
- type Filesystem
- func (*Filesystem) Descriptor() ([]byte, []int)deprecated
- func (x *Filesystem) GetCreateOptions() []string
- func (x *Filesystem) GetDescription() string
- func (x *Filesystem) GetDevice() string
- func (x *Filesystem) GetFormat() Format
- func (x *Filesystem) GetLabel() string
- func (x *Filesystem) GetMountOptions() []string
- func (x *Filesystem) GetName() string
- func (x *Filesystem) GetPath() string
- func (*Filesystem) ProtoMessage()
- func (x *Filesystem) ProtoReflect() protoreflect.Message
- func (x *Filesystem) Reset()
- func (x *Filesystem) String() string
- type FilesystemLayout
- func (*FilesystemLayout) Descriptor() ([]byte, []int)deprecated
- func (x *FilesystemLayout) GetConstraints() *FilesystemLayoutConstraints
- func (x *FilesystemLayout) GetDescription() string
- func (x *FilesystemLayout) GetDisks() []*Disk
- func (x *FilesystemLayout) GetFilesystems() []*Filesystem
- func (x *FilesystemLayout) GetId() string
- func (x *FilesystemLayout) GetLogicalVolumes() []*LogicalVolume
- func (x *FilesystemLayout) GetMeta() *Meta
- func (x *FilesystemLayout) GetName() string
- func (x *FilesystemLayout) GetRaid() []*Raid
- func (x *FilesystemLayout) GetVolumeGroups() []*VolumeGroup
- func (*FilesystemLayout) ProtoMessage()
- func (x *FilesystemLayout) ProtoReflect() protoreflect.Message
- func (x *FilesystemLayout) Reset()
- func (x *FilesystemLayout) String() string
- type FilesystemLayoutConstraints
- func (*FilesystemLayoutConstraints) Descriptor() ([]byte, []int)deprecated
- func (x *FilesystemLayoutConstraints) GetImages() map[string]string
- func (x *FilesystemLayoutConstraints) GetSizes() []string
- func (*FilesystemLayoutConstraints) ProtoMessage()
- func (x *FilesystemLayoutConstraints) ProtoReflect() protoreflect.Message
- func (x *FilesystemLayoutConstraints) Reset()
- func (x *FilesystemLayoutConstraints) String() string
- type FilesystemServiceGetRequest
- func (*FilesystemServiceGetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FilesystemServiceGetRequest) GetId() string
- func (*FilesystemServiceGetRequest) ProtoMessage()
- func (x *FilesystemServiceGetRequest) ProtoReflect() protoreflect.Message
- func (x *FilesystemServiceGetRequest) Reset()
- func (x *FilesystemServiceGetRequest) String() string
- type FilesystemServiceGetResponse
- func (*FilesystemServiceGetResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FilesystemServiceGetResponse) GetFilesystemLayout() *FilesystemLayout
- func (*FilesystemServiceGetResponse) ProtoMessage()
- func (x *FilesystemServiceGetResponse) ProtoReflect() protoreflect.Message
- func (x *FilesystemServiceGetResponse) Reset()
- func (x *FilesystemServiceGetResponse) String() string
- type FilesystemServiceListRequest
- func (*FilesystemServiceListRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FilesystemServiceListRequest) GetId() string
- func (*FilesystemServiceListRequest) ProtoMessage()
- func (x *FilesystemServiceListRequest) ProtoReflect() protoreflect.Message
- func (x *FilesystemServiceListRequest) Reset()
- func (x *FilesystemServiceListRequest) String() string
- type FilesystemServiceListResponse
- func (*FilesystemServiceListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FilesystemServiceListResponse) GetFilesystemLayouts() []*FilesystemLayout
- func (*FilesystemServiceListResponse) ProtoMessage()
- func (x *FilesystemServiceListResponse) ProtoReflect() protoreflect.Message
- func (x *FilesystemServiceListResponse) Reset()
- func (x *FilesystemServiceListResponse) String() string
- type FilesystemServiceMatchRequest
- func (*FilesystemServiceMatchRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FilesystemServiceMatchRequest) GetFilesystemLayoutId() string
- func (x *FilesystemServiceMatchRequest) GetMachine() string
- func (*FilesystemServiceMatchRequest) ProtoMessage()
- func (x *FilesystemServiceMatchRequest) ProtoReflect() protoreflect.Message
- func (x *FilesystemServiceMatchRequest) Reset()
- func (x *FilesystemServiceMatchRequest) String() string
- type FilesystemServiceMatchResponse
- func (*FilesystemServiceMatchResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FilesystemServiceMatchResponse) GetFilesystemLayout() *FilesystemLayout
- func (*FilesystemServiceMatchResponse) ProtoMessage()
- func (x *FilesystemServiceMatchResponse) ProtoReflect() protoreflect.Message
- func (x *FilesystemServiceMatchResponse) Reset()
- func (x *FilesystemServiceMatchResponse) String() string
- type FilesystemServiceTryRequest
- func (*FilesystemServiceTryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FilesystemServiceTryRequest) GetImage() string
- func (x *FilesystemServiceTryRequest) GetSize() string
- func (*FilesystemServiceTryRequest) ProtoMessage()
- func (x *FilesystemServiceTryRequest) ProtoReflect() protoreflect.Message
- func (x *FilesystemServiceTryRequest) Reset()
- func (x *FilesystemServiceTryRequest) String() string
- type FilesystemServiceTryResponse
- func (*FilesystemServiceTryResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FilesystemServiceTryResponse) GetFilesystemLayout() *FilesystemLayout
- func (*FilesystemServiceTryResponse) ProtoMessage()
- func (x *FilesystemServiceTryResponse) ProtoReflect() protoreflect.Message
- func (x *FilesystemServiceTryResponse) Reset()
- func (x *FilesystemServiceTryResponse) String() string
- type Format
- type GPTType
- type Health
- type HealthServiceGetRequest
- type HealthServiceGetResponse
- func (*HealthServiceGetResponse) Descriptor() ([]byte, []int)deprecated
- func (x *HealthServiceGetResponse) GetHealth() *Health
- func (*HealthServiceGetResponse) ProtoMessage()
- func (x *HealthServiceGetResponse) ProtoReflect() protoreflect.Message
- func (x *HealthServiceGetResponse) Reset()
- func (x *HealthServiceGetResponse) String() string
- type HealthStatus
- func (*HealthStatus) Descriptor() ([]byte, []int)deprecated
- func (x *HealthStatus) GetMessage() string
- func (x *HealthStatus) GetName() Service
- func (x *HealthStatus) GetPartitions() map[string]*PartitionHealth
- func (x *HealthStatus) GetStatus() ServiceStatus
- func (*HealthStatus) ProtoMessage()
- func (x *HealthStatus) ProtoReflect() protoreflect.Message
- func (x *HealthStatus) Reset()
- func (x *HealthStatus) String() string
- type IP
- func (*IP) Descriptor() ([]byte, []int)deprecated
- func (x *IP) GetDescription() string
- func (x *IP) GetIp() string
- func (x *IP) GetMeta() *Meta
- func (x *IP) GetName() string
- func (x *IP) GetNamespace() string
- func (x *IP) GetNetwork() string
- func (x *IP) GetProject() string
- func (x *IP) GetType() IPType
- func (x *IP) GetUuid() string
- func (*IP) ProtoMessage()
- func (x *IP) ProtoReflect() protoreflect.Message
- func (x *IP) Reset()
- func (x *IP) String() string
- type IPAddressFamily
- func (IPAddressFamily) Descriptor() protoreflect.EnumDescriptor
- func (x IPAddressFamily) Enum() *IPAddressFamily
- func (IPAddressFamily) EnumDescriptor() ([]byte, []int)deprecated
- func (x IPAddressFamily) Number() protoreflect.EnumNumber
- func (x IPAddressFamily) String() string
- func (IPAddressFamily) Type() protoreflect.EnumType
- type IPQuery
- func (*IPQuery) Descriptor() ([]byte, []int)deprecated
- func (x *IPQuery) GetAddressFamily() IPAddressFamily
- func (x *IPQuery) GetIp() string
- func (x *IPQuery) GetLabels() *Labels
- func (x *IPQuery) GetMachineId() string
- func (x *IPQuery) GetName() string
- func (x *IPQuery) GetNamespace() string
- func (x *IPQuery) GetNetwork() string
- func (x *IPQuery) GetParentPrefixCidr() string
- func (x *IPQuery) GetProject() string
- func (x *IPQuery) GetType() IPType
- func (x *IPQuery) GetUuid() string
- func (*IPQuery) ProtoMessage()
- func (x *IPQuery) ProtoReflect() protoreflect.Message
- func (x *IPQuery) Reset()
- func (x *IPQuery) String() string
- type IPServiceCreateRequest
- func (*IPServiceCreateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *IPServiceCreateRequest) GetAddressFamily() IPAddressFamily
- func (x *IPServiceCreateRequest) GetDescription() string
- func (x *IPServiceCreateRequest) GetIp() string
- func (x *IPServiceCreateRequest) GetLabels() *Labels
- func (x *IPServiceCreateRequest) GetMachineId() string
- func (x *IPServiceCreateRequest) GetName() string
- func (x *IPServiceCreateRequest) GetNetwork() string
- func (x *IPServiceCreateRequest) GetProject() string
- func (x *IPServiceCreateRequest) GetType() IPType
- func (*IPServiceCreateRequest) ProtoMessage()
- func (x *IPServiceCreateRequest) ProtoReflect() protoreflect.Message
- func (x *IPServiceCreateRequest) Reset()
- func (x *IPServiceCreateRequest) String() string
- type IPServiceCreateResponse
- func (*IPServiceCreateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *IPServiceCreateResponse) GetIp() *IP
- func (*IPServiceCreateResponse) ProtoMessage()
- func (x *IPServiceCreateResponse) ProtoReflect() protoreflect.Message
- func (x *IPServiceCreateResponse) Reset()
- func (x *IPServiceCreateResponse) String() string
- type IPServiceDeleteRequest
- func (*IPServiceDeleteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *IPServiceDeleteRequest) GetIp() string
- func (x *IPServiceDeleteRequest) GetProject() string
- func (*IPServiceDeleteRequest) ProtoMessage()
- func (x *IPServiceDeleteRequest) ProtoReflect() protoreflect.Message
- func (x *IPServiceDeleteRequest) Reset()
- func (x *IPServiceDeleteRequest) String() string
- type IPServiceDeleteResponse
- func (*IPServiceDeleteResponse) Descriptor() ([]byte, []int)deprecated
- func (x *IPServiceDeleteResponse) GetIp() *IP
- func (*IPServiceDeleteResponse) ProtoMessage()
- func (x *IPServiceDeleteResponse) ProtoReflect() protoreflect.Message
- func (x *IPServiceDeleteResponse) Reset()
- func (x *IPServiceDeleteResponse) String() string
- type IPServiceGetRequest
- func (*IPServiceGetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *IPServiceGetRequest) GetIp() string
- func (x *IPServiceGetRequest) GetNamespace() string
- func (x *IPServiceGetRequest) GetProject() string
- func (*IPServiceGetRequest) ProtoMessage()
- func (x *IPServiceGetRequest) ProtoReflect() protoreflect.Message
- func (x *IPServiceGetRequest) Reset()
- func (x *IPServiceGetRequest) String() string
- type IPServiceGetResponse
- func (*IPServiceGetResponse) Descriptor() ([]byte, []int)deprecated
- func (x *IPServiceGetResponse) GetIp() *IP
- func (*IPServiceGetResponse) ProtoMessage()
- func (x *IPServiceGetResponse) ProtoReflect() protoreflect.Message
- func (x *IPServiceGetResponse) Reset()
- func (x *IPServiceGetResponse) String() string
- type IPServiceListRequest
- func (*IPServiceListRequest) Descriptor() ([]byte, []int)deprecated
- func (x *IPServiceListRequest) GetProject() string
- func (x *IPServiceListRequest) GetQuery() *IPQuery
- func (*IPServiceListRequest) ProtoMessage()
- func (x *IPServiceListRequest) ProtoReflect() protoreflect.Message
- func (x *IPServiceListRequest) Reset()
- func (x *IPServiceListRequest) String() string
- type IPServiceListResponse
- func (*IPServiceListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *IPServiceListResponse) GetIps() []*IP
- func (*IPServiceListResponse) ProtoMessage()
- func (x *IPServiceListResponse) ProtoReflect() protoreflect.Message
- func (x *IPServiceListResponse) Reset()
- func (x *IPServiceListResponse) String() string
- type IPServiceUpdateRequest
- func (*IPServiceUpdateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *IPServiceUpdateRequest) GetDescription() string
- func (x *IPServiceUpdateRequest) GetIp() string
- func (x *IPServiceUpdateRequest) GetLabels() *UpdateLabels
- func (x *IPServiceUpdateRequest) GetName() string
- func (x *IPServiceUpdateRequest) GetProject() string
- func (x *IPServiceUpdateRequest) GetType() IPType
- func (*IPServiceUpdateRequest) ProtoMessage()
- func (x *IPServiceUpdateRequest) ProtoReflect() protoreflect.Message
- func (x *IPServiceUpdateRequest) Reset()
- func (x *IPServiceUpdateRequest) String() string
- type IPServiceUpdateResponse
- func (*IPServiceUpdateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *IPServiceUpdateResponse) GetIp() *IP
- func (*IPServiceUpdateResponse) ProtoMessage()
- func (x *IPServiceUpdateResponse) ProtoReflect() protoreflect.Message
- func (x *IPServiceUpdateResponse) Reset()
- func (x *IPServiceUpdateResponse) String() string
- type IPType
- type Image
- func (*Image) Descriptor() ([]byte, []int)deprecated
- func (x *Image) GetClassification() ImageClassification
- func (x *Image) GetDescription() string
- func (x *Image) GetExpiresAt() *timestamppb.Timestamp
- func (x *Image) GetFeatures() []ImageFeature
- func (x *Image) GetId() string
- func (x *Image) GetMeta() *Meta
- func (x *Image) GetName() string
- func (x *Image) GetUrl() string
- func (*Image) ProtoMessage()
- func (x *Image) ProtoReflect() protoreflect.Message
- func (x *Image) Reset()
- func (x *Image) String() string
- type ImageClassification
- func (ImageClassification) Descriptor() protoreflect.EnumDescriptor
- func (x ImageClassification) Enum() *ImageClassification
- func (ImageClassification) EnumDescriptor() ([]byte, []int)deprecated
- func (x ImageClassification) Number() protoreflect.EnumNumber
- func (x ImageClassification) String() string
- func (ImageClassification) Type() protoreflect.EnumType
- type ImageFeature
- func (ImageFeature) Descriptor() protoreflect.EnumDescriptor
- func (x ImageFeature) Enum() *ImageFeature
- func (ImageFeature) EnumDescriptor() ([]byte, []int)deprecated
- func (x ImageFeature) Number() protoreflect.EnumNumber
- func (x ImageFeature) String() string
- func (ImageFeature) Type() protoreflect.EnumType
- type ImageQuery
- func (*ImageQuery) Descriptor() ([]byte, []int)deprecated
- func (x *ImageQuery) GetClassification() ImageClassification
- func (x *ImageQuery) GetDescription() string
- func (x *ImageQuery) GetFeature() ImageFeature
- func (x *ImageQuery) GetId() string
- func (x *ImageQuery) GetName() string
- func (x *ImageQuery) GetOs() string
- func (x *ImageQuery) GetVersion() string
- func (*ImageQuery) ProtoMessage()
- func (x *ImageQuery) ProtoReflect() protoreflect.Message
- func (x *ImageQuery) Reset()
- func (x *ImageQuery) String() string
- type ImageServiceGetRequest
- func (*ImageServiceGetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ImageServiceGetRequest) GetId() string
- func (*ImageServiceGetRequest) ProtoMessage()
- func (x *ImageServiceGetRequest) ProtoReflect() protoreflect.Message
- func (x *ImageServiceGetRequest) Reset()
- func (x *ImageServiceGetRequest) String() string
- type ImageServiceGetResponse
- func (*ImageServiceGetResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ImageServiceGetResponse) GetImage() *Image
- func (*ImageServiceGetResponse) ProtoMessage()
- func (x *ImageServiceGetResponse) ProtoReflect() protoreflect.Message
- func (x *ImageServiceGetResponse) Reset()
- func (x *ImageServiceGetResponse) String() string
- type ImageServiceLatestRequest
- func (*ImageServiceLatestRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ImageServiceLatestRequest) GetOs() string
- func (*ImageServiceLatestRequest) ProtoMessage()
- func (x *ImageServiceLatestRequest) ProtoReflect() protoreflect.Message
- func (x *ImageServiceLatestRequest) Reset()
- func (x *ImageServiceLatestRequest) String() string
- type ImageServiceLatestResponse
- func (*ImageServiceLatestResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ImageServiceLatestResponse) GetImage() *Image
- func (*ImageServiceLatestResponse) ProtoMessage()
- func (x *ImageServiceLatestResponse) ProtoReflect() protoreflect.Message
- func (x *ImageServiceLatestResponse) Reset()
- func (x *ImageServiceLatestResponse) String() string
- type ImageServiceListRequest
- func (*ImageServiceListRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ImageServiceListRequest) GetQuery() *ImageQuery
- func (*ImageServiceListRequest) ProtoMessage()
- func (x *ImageServiceListRequest) ProtoReflect() protoreflect.Message
- func (x *ImageServiceListRequest) Reset()
- func (x *ImageServiceListRequest) String() string
- type ImageServiceListResponse
- func (*ImageServiceListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ImageServiceListResponse) GetImages() []*Image
- func (*ImageServiceListResponse) ProtoMessage()
- func (x *ImageServiceListResponse) ProtoReflect() protoreflect.Message
- func (x *ImageServiceListResponse) Reset()
- func (x *ImageServiceListResponse) String() string
- type ImageUsage
- type InfraRole
- type LVMType
- type Labels
- type LogicalVolume
- func (*LogicalVolume) Descriptor() ([]byte, []int)deprecated
- func (x *LogicalVolume) GetLvmType() LVMType
- func (x *LogicalVolume) GetName() string
- func (x *LogicalVolume) GetSize() uint64
- func (x *LogicalVolume) GetVolumeGroup() string
- func (*LogicalVolume) ProtoMessage()
- func (x *LogicalVolume) ProtoReflect() protoreflect.Message
- func (x *LogicalVolume) Reset()
- func (x *LogicalVolume) String() string
- type Meta
- func (*Meta) Descriptor() ([]byte, []int)deprecated
- func (x *Meta) GetCreatedAt() *timestamppb.Timestamp
- func (x *Meta) GetGeneration() string
- func (x *Meta) GetLabels() *Labels
- func (x *Meta) GetUpdatedAt() *timestamppb.Timestamp
- func (*Meta) ProtoMessage()
- func (x *Meta) ProtoReflect() protoreflect.Message
- func (x *Meta) Reset()
- func (x *Meta) String() string
- type MethodPermission
- func (*MethodPermission) Descriptor() ([]byte, []int)deprecated
- func (x *MethodPermission) GetMethods() []string
- func (x *MethodPermission) GetSubject() string
- func (*MethodPermission) ProtoMessage()
- func (x *MethodPermission) ProtoReflect() protoreflect.Message
- func (x *MethodPermission) Reset()
- func (x *MethodPermission) String() string
- type MethodServiceListRequest
- type MethodServiceListResponse
- func (*MethodServiceListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MethodServiceListResponse) GetMethods() []string
- func (*MethodServiceListResponse) ProtoMessage()
- func (x *MethodServiceListResponse) ProtoReflect() protoreflect.Message
- func (x *MethodServiceListResponse) Reset()
- func (x *MethodServiceListResponse) String() string
- type MethodServiceTokenScopedListRequest
- func (*MethodServiceTokenScopedListRequest) Descriptor() ([]byte, []int)deprecated
- func (*MethodServiceTokenScopedListRequest) ProtoMessage()
- func (x *MethodServiceTokenScopedListRequest) ProtoReflect() protoreflect.Message
- func (x *MethodServiceTokenScopedListRequest) Reset()
- func (x *MethodServiceTokenScopedListRequest) String() string
- type MethodServiceTokenScopedListResponse
- func (*MethodServiceTokenScopedListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MethodServiceTokenScopedListResponse) GetAdminRole() AdminRole
- func (x *MethodServiceTokenScopedListResponse) GetPermissions() []*MethodPermission
- func (x *MethodServiceTokenScopedListResponse) GetProjectRoles() map[string]ProjectRole
- func (x *MethodServiceTokenScopedListResponse) GetTenantRoles() map[string]TenantRole
- func (*MethodServiceTokenScopedListResponse) ProtoMessage()
- func (x *MethodServiceTokenScopedListResponse) ProtoReflect() protoreflect.Message
- func (x *MethodServiceTokenScopedListResponse) Reset()
- func (x *MethodServiceTokenScopedListResponse) String() string
- type NATType
- type NTPServer
- type Network
- func (*Network) Descriptor() ([]byte, []int)deprecated
- func (x *Network) GetAdditionalAnnouncableCidrs() []string
- func (x *Network) GetConsumption() *NetworkConsumption
- func (x *Network) GetDefaultChildPrefixLength() *ChildPrefixLength
- func (x *Network) GetDescription() string
- func (x *Network) GetDestinationPrefixes() []string
- func (x *Network) GetId() string
- func (x *Network) GetMeta() *Meta
- func (x *Network) GetMinChildPrefixLength() *ChildPrefixLength
- func (x *Network) GetName() string
- func (x *Network) GetNamespace() string
- func (x *Network) GetNatType() NATType
- func (x *Network) GetParentNetworkId() string
- func (x *Network) GetPartition() string
- func (x *Network) GetPrefixes() []string
- func (x *Network) GetProject() string
- func (x *Network) GetType() NetworkType
- func (x *Network) GetVrf() uint32
- func (*Network) ProtoMessage()
- func (x *Network) ProtoReflect() protoreflect.Message
- func (x *Network) Reset()
- func (x *Network) String() string
- type NetworkAddressFamily
- func (NetworkAddressFamily) Descriptor() protoreflect.EnumDescriptor
- func (x NetworkAddressFamily) Enum() *NetworkAddressFamily
- func (NetworkAddressFamily) EnumDescriptor() ([]byte, []int)deprecated
- func (x NetworkAddressFamily) Number() protoreflect.EnumNumber
- func (x NetworkAddressFamily) String() string
- func (NetworkAddressFamily) Type() protoreflect.EnumType
- type NetworkConsumption
- func (*NetworkConsumption) Descriptor() ([]byte, []int)deprecated
- func (x *NetworkConsumption) GetIpv4() *NetworkUsage
- func (x *NetworkConsumption) GetIpv6() *NetworkUsage
- func (*NetworkConsumption) ProtoMessage()
- func (x *NetworkConsumption) ProtoReflect() protoreflect.Message
- func (x *NetworkConsumption) Reset()
- func (x *NetworkConsumption) String() string
- type NetworkQuery
- func (*NetworkQuery) Descriptor() ([]byte, []int)deprecated
- func (x *NetworkQuery) GetAddressFamily() NetworkAddressFamily
- func (x *NetworkQuery) GetDescription() string
- func (x *NetworkQuery) GetDestinationPrefixes() []string
- func (x *NetworkQuery) GetId() string
- func (x *NetworkQuery) GetLabels() *Labels
- func (x *NetworkQuery) GetName() string
- func (x *NetworkQuery) GetNamespace() string
- func (x *NetworkQuery) GetNatType() NATType
- func (x *NetworkQuery) GetParentNetworkId() string
- func (x *NetworkQuery) GetPartition() string
- func (x *NetworkQuery) GetPrefixes() []string
- func (x *NetworkQuery) GetProject() string
- func (x *NetworkQuery) GetType() NetworkType
- func (x *NetworkQuery) GetVrf() uint32
- func (*NetworkQuery) ProtoMessage()
- func (x *NetworkQuery) ProtoReflect() protoreflect.Message
- func (x *NetworkQuery) Reset()
- func (x *NetworkQuery) String() string
- type NetworkServiceCreateRequest
- func (*NetworkServiceCreateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *NetworkServiceCreateRequest) GetAddressFamily() NetworkAddressFamily
- func (x *NetworkServiceCreateRequest) GetDescription() string
- func (x *NetworkServiceCreateRequest) GetLabels() *Labels
- func (x *NetworkServiceCreateRequest) GetLength() *ChildPrefixLength
- func (x *NetworkServiceCreateRequest) GetName() string
- func (x *NetworkServiceCreateRequest) GetParentNetworkId() string
- func (x *NetworkServiceCreateRequest) GetPartition() string
- func (x *NetworkServiceCreateRequest) GetProject() string
- func (*NetworkServiceCreateRequest) ProtoMessage()
- func (x *NetworkServiceCreateRequest) ProtoReflect() protoreflect.Message
- func (x *NetworkServiceCreateRequest) Reset()
- func (x *NetworkServiceCreateRequest) String() string
- type NetworkServiceCreateResponse
- func (*NetworkServiceCreateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *NetworkServiceCreateResponse) GetNetwork() *Network
- func (*NetworkServiceCreateResponse) ProtoMessage()
- func (x *NetworkServiceCreateResponse) ProtoReflect() protoreflect.Message
- func (x *NetworkServiceCreateResponse) Reset()
- func (x *NetworkServiceCreateResponse) String() string
- type NetworkServiceDeleteRequest
- func (*NetworkServiceDeleteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *NetworkServiceDeleteRequest) GetId() string
- func (x *NetworkServiceDeleteRequest) GetProject() string
- func (*NetworkServiceDeleteRequest) ProtoMessage()
- func (x *NetworkServiceDeleteRequest) ProtoReflect() protoreflect.Message
- func (x *NetworkServiceDeleteRequest) Reset()
- func (x *NetworkServiceDeleteRequest) String() string
- type NetworkServiceDeleteResponse
- func (*NetworkServiceDeleteResponse) Descriptor() ([]byte, []int)deprecated
- func (x *NetworkServiceDeleteResponse) GetNetwork() *Network
- func (*NetworkServiceDeleteResponse) ProtoMessage()
- func (x *NetworkServiceDeleteResponse) ProtoReflect() protoreflect.Message
- func (x *NetworkServiceDeleteResponse) Reset()
- func (x *NetworkServiceDeleteResponse) String() string
- type NetworkServiceGetRequest
- func (*NetworkServiceGetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *NetworkServiceGetRequest) GetId() string
- func (x *NetworkServiceGetRequest) GetProject() string
- func (*NetworkServiceGetRequest) ProtoMessage()
- func (x *NetworkServiceGetRequest) ProtoReflect() protoreflect.Message
- func (x *NetworkServiceGetRequest) Reset()
- func (x *NetworkServiceGetRequest) String() string
- type NetworkServiceGetResponse
- func (*NetworkServiceGetResponse) Descriptor() ([]byte, []int)deprecated
- func (x *NetworkServiceGetResponse) GetNetwork() *Network
- func (*NetworkServiceGetResponse) ProtoMessage()
- func (x *NetworkServiceGetResponse) ProtoReflect() protoreflect.Message
- func (x *NetworkServiceGetResponse) Reset()
- func (x *NetworkServiceGetResponse) String() string
- type NetworkServiceListBaseNetworksRequest
- func (*NetworkServiceListBaseNetworksRequest) Descriptor() ([]byte, []int)deprecated
- func (x *NetworkServiceListBaseNetworksRequest) GetProject() string
- func (x *NetworkServiceListBaseNetworksRequest) GetQuery() *NetworkQuery
- func (*NetworkServiceListBaseNetworksRequest) ProtoMessage()
- func (x *NetworkServiceListBaseNetworksRequest) ProtoReflect() protoreflect.Message
- func (x *NetworkServiceListBaseNetworksRequest) Reset()
- func (x *NetworkServiceListBaseNetworksRequest) String() string
- type NetworkServiceListBaseNetworksResponse
- func (*NetworkServiceListBaseNetworksResponse) Descriptor() ([]byte, []int)deprecated
- func (x *NetworkServiceListBaseNetworksResponse) GetNetworks() []*Network
- func (*NetworkServiceListBaseNetworksResponse) ProtoMessage()
- func (x *NetworkServiceListBaseNetworksResponse) ProtoReflect() protoreflect.Message
- func (x *NetworkServiceListBaseNetworksResponse) Reset()
- func (x *NetworkServiceListBaseNetworksResponse) String() string
- type NetworkServiceListRequest
- func (*NetworkServiceListRequest) Descriptor() ([]byte, []int)deprecated
- func (x *NetworkServiceListRequest) GetProject() string
- func (x *NetworkServiceListRequest) GetQuery() *NetworkQuery
- func (*NetworkServiceListRequest) ProtoMessage()
- func (x *NetworkServiceListRequest) ProtoReflect() protoreflect.Message
- func (x *NetworkServiceListRequest) Reset()
- func (x *NetworkServiceListRequest) String() string
- type NetworkServiceListResponse
- func (*NetworkServiceListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *NetworkServiceListResponse) GetNetworks() []*Network
- func (*NetworkServiceListResponse) ProtoMessage()
- func (x *NetworkServiceListResponse) ProtoReflect() protoreflect.Message
- func (x *NetworkServiceListResponse) Reset()
- func (x *NetworkServiceListResponse) String() string
- type NetworkServiceUpdateRequest
- func (*NetworkServiceUpdateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *NetworkServiceUpdateRequest) GetDescription() string
- func (x *NetworkServiceUpdateRequest) GetId() string
- func (x *NetworkServiceUpdateRequest) GetLabels() *UpdateLabels
- func (x *NetworkServiceUpdateRequest) GetName() string
- func (x *NetworkServiceUpdateRequest) GetProject() string
- func (*NetworkServiceUpdateRequest) ProtoMessage()
- func (x *NetworkServiceUpdateRequest) ProtoReflect() protoreflect.Message
- func (x *NetworkServiceUpdateRequest) Reset()
- func (x *NetworkServiceUpdateRequest) String() string
- type NetworkServiceUpdateResponse
- func (*NetworkServiceUpdateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *NetworkServiceUpdateResponse) GetNetwork() *Network
- func (*NetworkServiceUpdateResponse) ProtoMessage()
- func (x *NetworkServiceUpdateResponse) ProtoReflect() protoreflect.Message
- func (x *NetworkServiceUpdateResponse) Reset()
- func (x *NetworkServiceUpdateResponse) String() string
- type NetworkType
- func (NetworkType) Descriptor() protoreflect.EnumDescriptor
- func (x NetworkType) Enum() *NetworkType
- func (NetworkType) EnumDescriptor() ([]byte, []int)deprecated
- func (x NetworkType) Number() protoreflect.EnumNumber
- func (x NetworkType) String() string
- func (NetworkType) Type() protoreflect.EnumType
- type NetworkUsage
- func (*NetworkUsage) Descriptor() ([]byte, []int)deprecated
- func (x *NetworkUsage) GetAvailableIps() uint64
- func (x *NetworkUsage) GetAvailablePrefixes() uint64
- func (x *NetworkUsage) GetUsedIps() uint64
- func (x *NetworkUsage) GetUsedPrefixes() uint64
- func (*NetworkUsage) ProtoMessage()
- func (x *NetworkUsage) ProtoReflect() protoreflect.Message
- func (x *NetworkUsage) Reset()
- func (x *NetworkUsage) String() string
- type Paging
- type Partition
- func (*Partition) Descriptor() ([]byte, []int)deprecated
- func (x *Partition) GetBootConfiguration() *PartitionBootConfiguration
- func (x *Partition) GetDescription() string
- func (x *Partition) GetDnsServer() []*DNSServer
- func (x *Partition) GetId() string
- func (x *Partition) GetMeta() *Meta
- func (x *Partition) GetMgmtServiceAddresses() []string
- func (x *Partition) GetNtpServer() []*NTPServer
- func (*Partition) ProtoMessage()
- func (x *Partition) ProtoReflect() protoreflect.Message
- func (x *Partition) Reset()
- func (x *Partition) String() string
- type PartitionBootConfiguration
- func (*PartitionBootConfiguration) Descriptor() ([]byte, []int)deprecated
- func (x *PartitionBootConfiguration) GetCommandline() string
- func (x *PartitionBootConfiguration) GetImageUrl() string
- func (x *PartitionBootConfiguration) GetKernelUrl() string
- func (*PartitionBootConfiguration) ProtoMessage()
- func (x *PartitionBootConfiguration) ProtoReflect() protoreflect.Message
- func (x *PartitionBootConfiguration) Reset()
- func (x *PartitionBootConfiguration) String() string
- type PartitionHealth
- func (*PartitionHealth) Descriptor() ([]byte, []int)deprecated
- func (x *PartitionHealth) GetMessage() string
- func (x *PartitionHealth) GetStatus() ServiceStatus
- func (*PartitionHealth) ProtoMessage()
- func (x *PartitionHealth) ProtoReflect() protoreflect.Message
- func (x *PartitionHealth) Reset()
- func (x *PartitionHealth) String() string
- type PartitionQuery
- type PartitionServiceGetRequest
- func (*PartitionServiceGetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PartitionServiceGetRequest) GetId() string
- func (*PartitionServiceGetRequest) ProtoMessage()
- func (x *PartitionServiceGetRequest) ProtoReflect() protoreflect.Message
- func (x *PartitionServiceGetRequest) Reset()
- func (x *PartitionServiceGetRequest) String() string
- type PartitionServiceGetResponse
- func (*PartitionServiceGetResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PartitionServiceGetResponse) GetPartition() *Partition
- func (*PartitionServiceGetResponse) ProtoMessage()
- func (x *PartitionServiceGetResponse) ProtoReflect() protoreflect.Message
- func (x *PartitionServiceGetResponse) Reset()
- func (x *PartitionServiceGetResponse) String() string
- type PartitionServiceListRequest
- func (*PartitionServiceListRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PartitionServiceListRequest) GetQuery() *PartitionQuery
- func (*PartitionServiceListRequest) ProtoMessage()
- func (x *PartitionServiceListRequest) ProtoReflect() protoreflect.Message
- func (x *PartitionServiceListRequest) Reset()
- func (x *PartitionServiceListRequest) String() string
- type PartitionServiceListResponse
- func (*PartitionServiceListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PartitionServiceListResponse) GetPartitions() []*Partition
- func (*PartitionServiceListResponse) ProtoMessage()
- func (x *PartitionServiceListResponse) ProtoReflect() protoreflect.Message
- func (x *PartitionServiceListResponse) Reset()
- func (x *PartitionServiceListResponse) String() string
- type Project
- func (*Project) Descriptor() ([]byte, []int)deprecated
- func (x *Project) GetAvatarUrl() string
- func (x *Project) GetDescription() string
- func (x *Project) GetMeta() *Meta
- func (x *Project) GetName() string
- func (x *Project) GetTenant() string
- func (x *Project) GetUuid() string
- func (*Project) ProtoMessage()
- func (x *Project) ProtoReflect() protoreflect.Message
- func (x *Project) Reset()
- func (x *Project) String() string
- type ProjectInvite
- func (*ProjectInvite) Descriptor() ([]byte, []int)deprecated
- func (x *ProjectInvite) GetExpiresAt() *timestamppb.Timestamp
- func (x *ProjectInvite) GetJoined() bool
- func (x *ProjectInvite) GetJoinedAt() *timestamppb.Timestamp
- func (x *ProjectInvite) GetProject() string
- func (x *ProjectInvite) GetProjectName() string
- func (x *ProjectInvite) GetRole() ProjectRole
- func (x *ProjectInvite) GetSecret() string
- func (x *ProjectInvite) GetTenant() string
- func (x *ProjectInvite) GetTenantName() string
- func (*ProjectInvite) ProtoMessage()
- func (x *ProjectInvite) ProtoReflect() protoreflect.Message
- func (x *ProjectInvite) Reset()
- func (x *ProjectInvite) String() string
- type ProjectMember
- func (*ProjectMember) Descriptor() ([]byte, []int)deprecated
- func (x *ProjectMember) GetCreatedAt() *timestamppb.Timestamp
- func (x *ProjectMember) GetId() string
- func (x *ProjectMember) GetInheritedMembership() bool
- func (x *ProjectMember) GetRole() ProjectRole
- func (*ProjectMember) ProtoMessage()
- func (x *ProjectMember) ProtoReflect() protoreflect.Message
- func (x *ProjectMember) Reset()
- func (x *ProjectMember) String() string
- type ProjectRole
- func (ProjectRole) Descriptor() protoreflect.EnumDescriptor
- func (x ProjectRole) Enum() *ProjectRole
- func (ProjectRole) EnumDescriptor() ([]byte, []int)deprecated
- func (x ProjectRole) Number() protoreflect.EnumNumber
- func (x ProjectRole) String() string
- func (ProjectRole) Type() protoreflect.EnumType
- type ProjectServiceCreateRequest
- func (*ProjectServiceCreateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ProjectServiceCreateRequest) GetAvatarUrl() string
- func (x *ProjectServiceCreateRequest) GetDescription() string
- func (x *ProjectServiceCreateRequest) GetLogin() string
- func (x *ProjectServiceCreateRequest) GetName() string
- func (*ProjectServiceCreateRequest) ProtoMessage()
- func (x *ProjectServiceCreateRequest) ProtoReflect() protoreflect.Message
- func (x *ProjectServiceCreateRequest) Reset()
- func (x *ProjectServiceCreateRequest) String() string
- type ProjectServiceCreateResponse
- func (*ProjectServiceCreateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ProjectServiceCreateResponse) GetProject() *Project
- func (*ProjectServiceCreateResponse) ProtoMessage()
- func (x *ProjectServiceCreateResponse) ProtoReflect() protoreflect.Message
- func (x *ProjectServiceCreateResponse) Reset()
- func (x *ProjectServiceCreateResponse) String() string
- type ProjectServiceDeleteRequest
- func (*ProjectServiceDeleteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ProjectServiceDeleteRequest) GetProject() string
- func (*ProjectServiceDeleteRequest) ProtoMessage()
- func (x *ProjectServiceDeleteRequest) ProtoReflect() protoreflect.Message
- func (x *ProjectServiceDeleteRequest) Reset()
- func (x *ProjectServiceDeleteRequest) String() string
- type ProjectServiceDeleteResponse
- func (*ProjectServiceDeleteResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ProjectServiceDeleteResponse) GetProject() *Project
- func (*ProjectServiceDeleteResponse) ProtoMessage()
- func (x *ProjectServiceDeleteResponse) ProtoReflect() protoreflect.Message
- func (x *ProjectServiceDeleteResponse) Reset()
- func (x *ProjectServiceDeleteResponse) String() string
- type ProjectServiceGetRequest
- func (*ProjectServiceGetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ProjectServiceGetRequest) GetProject() string
- func (*ProjectServiceGetRequest) ProtoMessage()
- func (x *ProjectServiceGetRequest) ProtoReflect() protoreflect.Message
- func (x *ProjectServiceGetRequest) Reset()
- func (x *ProjectServiceGetRequest) String() string
- type ProjectServiceGetResponse
- func (*ProjectServiceGetResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ProjectServiceGetResponse) GetProject() *Project
- func (x *ProjectServiceGetResponse) GetProjectMembers() []*ProjectMember
- func (*ProjectServiceGetResponse) ProtoMessage()
- func (x *ProjectServiceGetResponse) ProtoReflect() protoreflect.Message
- func (x *ProjectServiceGetResponse) Reset()
- func (x *ProjectServiceGetResponse) String() string
- type ProjectServiceInviteAcceptRequest
- func (*ProjectServiceInviteAcceptRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ProjectServiceInviteAcceptRequest) GetSecret() string
- func (*ProjectServiceInviteAcceptRequest) ProtoMessage()
- func (x *ProjectServiceInviteAcceptRequest) ProtoReflect() protoreflect.Message
- func (x *ProjectServiceInviteAcceptRequest) Reset()
- func (x *ProjectServiceInviteAcceptRequest) String() string
- type ProjectServiceInviteAcceptResponse
- func (*ProjectServiceInviteAcceptResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ProjectServiceInviteAcceptResponse) GetProject() string
- func (x *ProjectServiceInviteAcceptResponse) GetProjectName() string
- func (*ProjectServiceInviteAcceptResponse) ProtoMessage()
- func (x *ProjectServiceInviteAcceptResponse) ProtoReflect() protoreflect.Message
- func (x *ProjectServiceInviteAcceptResponse) Reset()
- func (x *ProjectServiceInviteAcceptResponse) String() string
- type ProjectServiceInviteDeleteRequest
- func (*ProjectServiceInviteDeleteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ProjectServiceInviteDeleteRequest) GetProject() string
- func (x *ProjectServiceInviteDeleteRequest) GetSecret() string
- func (*ProjectServiceInviteDeleteRequest) ProtoMessage()
- func (x *ProjectServiceInviteDeleteRequest) ProtoReflect() protoreflect.Message
- func (x *ProjectServiceInviteDeleteRequest) Reset()
- func (x *ProjectServiceInviteDeleteRequest) String() string
- type ProjectServiceInviteDeleteResponse
- func (*ProjectServiceInviteDeleteResponse) Descriptor() ([]byte, []int)deprecated
- func (*ProjectServiceInviteDeleteResponse) ProtoMessage()
- func (x *ProjectServiceInviteDeleteResponse) ProtoReflect() protoreflect.Message
- func (x *ProjectServiceInviteDeleteResponse) Reset()
- func (x *ProjectServiceInviteDeleteResponse) String() string
- type ProjectServiceInviteGetRequest
- func (*ProjectServiceInviteGetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ProjectServiceInviteGetRequest) GetSecret() string
- func (*ProjectServiceInviteGetRequest) ProtoMessage()
- func (x *ProjectServiceInviteGetRequest) ProtoReflect() protoreflect.Message
- func (x *ProjectServiceInviteGetRequest) Reset()
- func (x *ProjectServiceInviteGetRequest) String() string
- type ProjectServiceInviteGetResponse
- func (*ProjectServiceInviteGetResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ProjectServiceInviteGetResponse) GetInvite() *ProjectInvite
- func (*ProjectServiceInviteGetResponse) ProtoMessage()
- func (x *ProjectServiceInviteGetResponse) ProtoReflect() protoreflect.Message
- func (x *ProjectServiceInviteGetResponse) Reset()
- func (x *ProjectServiceInviteGetResponse) String() string
- type ProjectServiceInviteRequest
- func (*ProjectServiceInviteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ProjectServiceInviteRequest) GetProject() string
- func (x *ProjectServiceInviteRequest) GetRole() ProjectRole
- func (*ProjectServiceInviteRequest) ProtoMessage()
- func (x *ProjectServiceInviteRequest) ProtoReflect() protoreflect.Message
- func (x *ProjectServiceInviteRequest) Reset()
- func (x *ProjectServiceInviteRequest) String() string
- type ProjectServiceInviteResponse
- func (*ProjectServiceInviteResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ProjectServiceInviteResponse) GetInvite() *ProjectInvite
- func (*ProjectServiceInviteResponse) ProtoMessage()
- func (x *ProjectServiceInviteResponse) ProtoReflect() protoreflect.Message
- func (x *ProjectServiceInviteResponse) Reset()
- func (x *ProjectServiceInviteResponse) String() string
- type ProjectServiceInvitesListRequest
- func (*ProjectServiceInvitesListRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ProjectServiceInvitesListRequest) GetProject() string
- func (*ProjectServiceInvitesListRequest) ProtoMessage()
- func (x *ProjectServiceInvitesListRequest) ProtoReflect() protoreflect.Message
- func (x *ProjectServiceInvitesListRequest) Reset()
- func (x *ProjectServiceInvitesListRequest) String() string
- type ProjectServiceInvitesListResponse
- func (*ProjectServiceInvitesListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ProjectServiceInvitesListResponse) GetInvites() []*ProjectInvite
- func (*ProjectServiceInvitesListResponse) ProtoMessage()
- func (x *ProjectServiceInvitesListResponse) ProtoReflect() protoreflect.Message
- func (x *ProjectServiceInvitesListResponse) Reset()
- func (x *ProjectServiceInvitesListResponse) String() string
- type ProjectServiceListRequest
- func (*ProjectServiceListRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ProjectServiceListRequest) GetName() string
- func (x *ProjectServiceListRequest) GetTenant() string
- func (*ProjectServiceListRequest) ProtoMessage()
- func (x *ProjectServiceListRequest) ProtoReflect() protoreflect.Message
- func (x *ProjectServiceListRequest) Reset()
- func (x *ProjectServiceListRequest) String() string
- type ProjectServiceListResponse
- func (*ProjectServiceListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ProjectServiceListResponse) GetProjects() []*Project
- func (*ProjectServiceListResponse) ProtoMessage()
- func (x *ProjectServiceListResponse) ProtoReflect() protoreflect.Message
- func (x *ProjectServiceListResponse) Reset()
- func (x *ProjectServiceListResponse) String() string
- type ProjectServiceRemoveMemberRequest
- func (*ProjectServiceRemoveMemberRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ProjectServiceRemoveMemberRequest) GetMemberId() string
- func (x *ProjectServiceRemoveMemberRequest) GetProject() string
- func (*ProjectServiceRemoveMemberRequest) ProtoMessage()
- func (x *ProjectServiceRemoveMemberRequest) ProtoReflect() protoreflect.Message
- func (x *ProjectServiceRemoveMemberRequest) Reset()
- func (x *ProjectServiceRemoveMemberRequest) String() string
- type ProjectServiceRemoveMemberResponse
- func (*ProjectServiceRemoveMemberResponse) Descriptor() ([]byte, []int)deprecated
- func (*ProjectServiceRemoveMemberResponse) ProtoMessage()
- func (x *ProjectServiceRemoveMemberResponse) ProtoReflect() protoreflect.Message
- func (x *ProjectServiceRemoveMemberResponse) Reset()
- func (x *ProjectServiceRemoveMemberResponse) String() string
- type ProjectServiceUpdateMemberRequest
- func (*ProjectServiceUpdateMemberRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ProjectServiceUpdateMemberRequest) GetMemberId() string
- func (x *ProjectServiceUpdateMemberRequest) GetProject() string
- func (x *ProjectServiceUpdateMemberRequest) GetRole() ProjectRole
- func (*ProjectServiceUpdateMemberRequest) ProtoMessage()
- func (x *ProjectServiceUpdateMemberRequest) ProtoReflect() protoreflect.Message
- func (x *ProjectServiceUpdateMemberRequest) Reset()
- func (x *ProjectServiceUpdateMemberRequest) String() string
- type ProjectServiceUpdateMemberResponse
- func (*ProjectServiceUpdateMemberResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ProjectServiceUpdateMemberResponse) GetProjectMember() *ProjectMember
- func (*ProjectServiceUpdateMemberResponse) ProtoMessage()
- func (x *ProjectServiceUpdateMemberResponse) ProtoReflect() protoreflect.Message
- func (x *ProjectServiceUpdateMemberResponse) Reset()
- func (x *ProjectServiceUpdateMemberResponse) String() string
- type ProjectServiceUpdateRequest
- func (*ProjectServiceUpdateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ProjectServiceUpdateRequest) GetAvatarUrl() string
- func (x *ProjectServiceUpdateRequest) GetDescription() string
- func (x *ProjectServiceUpdateRequest) GetName() string
- func (x *ProjectServiceUpdateRequest) GetProject() string
- func (*ProjectServiceUpdateRequest) ProtoMessage()
- func (x *ProjectServiceUpdateRequest) ProtoReflect() protoreflect.Message
- func (x *ProjectServiceUpdateRequest) Reset()
- func (x *ProjectServiceUpdateRequest) String() string
- type ProjectServiceUpdateResponse
- func (*ProjectServiceUpdateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ProjectServiceUpdateResponse) GetProject() *Project
- func (*ProjectServiceUpdateResponse) ProtoMessage()
- func (x *ProjectServiceUpdateResponse) ProtoReflect() protoreflect.Message
- func (x *ProjectServiceUpdateResponse) Reset()
- func (x *ProjectServiceUpdateResponse) String() string
- type Raid
- func (*Raid) Descriptor() ([]byte, []int)deprecated
- func (x *Raid) GetArrayName() string
- func (x *Raid) GetCreateOptions() []string
- func (x *Raid) GetDevices() []string
- func (x *Raid) GetLevel() RaidLevel
- func (x *Raid) GetSpares() int32
- func (*Raid) ProtoMessage()
- func (x *Raid) ProtoReflect() protoreflect.Message
- func (x *Raid) Reset()
- func (x *Raid) String() string
- type RaidLevel
- type Service
- type ServiceStatus
- func (ServiceStatus) Descriptor() protoreflect.EnumDescriptor
- func (x ServiceStatus) Enum() *ServiceStatus
- func (ServiceStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x ServiceStatus) Number() protoreflect.EnumNumber
- func (x ServiceStatus) String() string
- func (ServiceStatus) Type() protoreflect.EnumType
- type Size
- func (*Size) Descriptor() ([]byte, []int)deprecated
- func (x *Size) GetConstraints() []*SizeConstraint
- func (x *Size) GetDescription() string
- func (x *Size) GetId() string
- func (x *Size) GetMeta() *Meta
- func (x *Size) GetName() string
- func (*Size) ProtoMessage()
- func (x *Size) ProtoReflect() protoreflect.Message
- func (x *Size) Reset()
- func (x *Size) String() string
- type SizeConstraint
- func (*SizeConstraint) Descriptor() ([]byte, []int)deprecated
- func (x *SizeConstraint) GetIdentifier() string
- func (x *SizeConstraint) GetMax() uint64
- func (x *SizeConstraint) GetMin() uint64
- func (x *SizeConstraint) GetType() SizeConstraintType
- func (*SizeConstraint) ProtoMessage()
- func (x *SizeConstraint) ProtoReflect() protoreflect.Message
- func (x *SizeConstraint) Reset()
- func (x *SizeConstraint) String() string
- type SizeConstraintType
- func (SizeConstraintType) Descriptor() protoreflect.EnumDescriptor
- func (x SizeConstraintType) Enum() *SizeConstraintType
- func (SizeConstraintType) EnumDescriptor() ([]byte, []int)deprecated
- func (x SizeConstraintType) Number() protoreflect.EnumNumber
- func (x SizeConstraintType) String() string
- func (SizeConstraintType) Type() protoreflect.EnumType
- type SizeQuery
- func (*SizeQuery) Descriptor() ([]byte, []int)deprecated
- func (x *SizeQuery) GetDescription() string
- func (x *SizeQuery) GetId() string
- func (x *SizeQuery) GetLabels() *Labels
- func (x *SizeQuery) GetName() string
- func (*SizeQuery) ProtoMessage()
- func (x *SizeQuery) ProtoReflect() protoreflect.Message
- func (x *SizeQuery) Reset()
- func (x *SizeQuery) String() string
- type SizeServiceGetRequest
- func (*SizeServiceGetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SizeServiceGetRequest) GetId() string
- func (*SizeServiceGetRequest) ProtoMessage()
- func (x *SizeServiceGetRequest) ProtoReflect() protoreflect.Message
- func (x *SizeServiceGetRequest) Reset()
- func (x *SizeServiceGetRequest) String() string
- type SizeServiceGetResponse
- func (*SizeServiceGetResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SizeServiceGetResponse) GetSize() *Size
- func (*SizeServiceGetResponse) ProtoMessage()
- func (x *SizeServiceGetResponse) ProtoReflect() protoreflect.Message
- func (x *SizeServiceGetResponse) Reset()
- func (x *SizeServiceGetResponse) String() string
- type SizeServiceListRequest
- func (*SizeServiceListRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SizeServiceListRequest) GetQuery() *SizeQuery
- func (*SizeServiceListRequest) ProtoMessage()
- func (x *SizeServiceListRequest) ProtoReflect() protoreflect.Message
- func (x *SizeServiceListRequest) Reset()
- func (x *SizeServiceListRequest) String() string
- type SizeServiceListResponse
- func (*SizeServiceListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SizeServiceListResponse) GetSizes() []*Size
- func (*SizeServiceListResponse) ProtoMessage()
- func (x *SizeServiceListResponse) ProtoReflect() protoreflect.Message
- func (x *SizeServiceListResponse) Reset()
- func (x *SizeServiceListResponse) String() string
- type Tenant
- func (*Tenant) Descriptor() ([]byte, []int)deprecated
- func (x *Tenant) GetAvatarUrl() string
- func (x *Tenant) GetCreatedBy() string
- func (x *Tenant) GetDescription() string
- func (x *Tenant) GetEmail() string
- func (x *Tenant) GetLogin() string
- func (x *Tenant) GetMeta() *Meta
- func (x *Tenant) GetName() string
- func (*Tenant) ProtoMessage()
- func (x *Tenant) ProtoReflect() protoreflect.Message
- func (x *Tenant) Reset()
- func (x *Tenant) String() string
- type TenantInvite
- func (*TenantInvite) Descriptor() ([]byte, []int)deprecated
- func (x *TenantInvite) GetExpiresAt() *timestamppb.Timestamp
- func (x *TenantInvite) GetJoined() bool
- func (x *TenantInvite) GetJoinedAt() *timestamppb.Timestamp
- func (x *TenantInvite) GetRole() TenantRole
- func (x *TenantInvite) GetSecret() string
- func (x *TenantInvite) GetTargetTenant() string
- func (x *TenantInvite) GetTargetTenantName() string
- func (x *TenantInvite) GetTenant() string
- func (x *TenantInvite) GetTenantName() string
- func (*TenantInvite) ProtoMessage()
- func (x *TenantInvite) ProtoReflect() protoreflect.Message
- func (x *TenantInvite) Reset()
- func (x *TenantInvite) String() string
- type TenantMember
- func (*TenantMember) Descriptor() ([]byte, []int)deprecated
- func (x *TenantMember) GetCreatedAt() *timestamppb.Timestamp
- func (x *TenantMember) GetId() string
- func (x *TenantMember) GetProjectIds() []string
- func (x *TenantMember) GetRole() TenantRole
- func (*TenantMember) ProtoMessage()
- func (x *TenantMember) ProtoReflect() protoreflect.Message
- func (x *TenantMember) Reset()
- func (x *TenantMember) String() string
- type TenantRole
- type TenantServiceCreateRequest
- func (*TenantServiceCreateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TenantServiceCreateRequest) GetAvatarUrl() string
- func (x *TenantServiceCreateRequest) GetDescription() string
- func (x *TenantServiceCreateRequest) GetEmail() string
- func (x *TenantServiceCreateRequest) GetName() string
- func (x *TenantServiceCreateRequest) GetPhoneNumber() string
- func (*TenantServiceCreateRequest) ProtoMessage()
- func (x *TenantServiceCreateRequest) ProtoReflect() protoreflect.Message
- func (x *TenantServiceCreateRequest) Reset()
- func (x *TenantServiceCreateRequest) String() string
- type TenantServiceCreateResponse
- func (*TenantServiceCreateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TenantServiceCreateResponse) GetTenant() *Tenant
- func (*TenantServiceCreateResponse) ProtoMessage()
- func (x *TenantServiceCreateResponse) ProtoReflect() protoreflect.Message
- func (x *TenantServiceCreateResponse) Reset()
- func (x *TenantServiceCreateResponse) String() string
- type TenantServiceDeleteRequest
- func (*TenantServiceDeleteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TenantServiceDeleteRequest) GetLogin() string
- func (*TenantServiceDeleteRequest) ProtoMessage()
- func (x *TenantServiceDeleteRequest) ProtoReflect() protoreflect.Message
- func (x *TenantServiceDeleteRequest) Reset()
- func (x *TenantServiceDeleteRequest) String() string
- type TenantServiceDeleteResponse
- func (*TenantServiceDeleteResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TenantServiceDeleteResponse) GetTenant() *Tenant
- func (*TenantServiceDeleteResponse) ProtoMessage()
- func (x *TenantServiceDeleteResponse) ProtoReflect() protoreflect.Message
- func (x *TenantServiceDeleteResponse) Reset()
- func (x *TenantServiceDeleteResponse) String() string
- type TenantServiceGetRequest
- func (*TenantServiceGetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TenantServiceGetRequest) GetLogin() string
- func (*TenantServiceGetRequest) ProtoMessage()
- func (x *TenantServiceGetRequest) ProtoReflect() protoreflect.Message
- func (x *TenantServiceGetRequest) Reset()
- func (x *TenantServiceGetRequest) String() string
- type TenantServiceGetResponse
- func (*TenantServiceGetResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TenantServiceGetResponse) GetTenant() *Tenant
- func (x *TenantServiceGetResponse) GetTenantMembers() []*TenantMember
- func (*TenantServiceGetResponse) ProtoMessage()
- func (x *TenantServiceGetResponse) ProtoReflect() protoreflect.Message
- func (x *TenantServiceGetResponse) Reset()
- func (x *TenantServiceGetResponse) String() string
- type TenantServiceInviteAcceptRequest
- func (*TenantServiceInviteAcceptRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TenantServiceInviteAcceptRequest) GetSecret() string
- func (*TenantServiceInviteAcceptRequest) ProtoMessage()
- func (x *TenantServiceInviteAcceptRequest) ProtoReflect() protoreflect.Message
- func (x *TenantServiceInviteAcceptRequest) Reset()
- func (x *TenantServiceInviteAcceptRequest) String() string
- type TenantServiceInviteAcceptResponse
- func (*TenantServiceInviteAcceptResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TenantServiceInviteAcceptResponse) GetTenant() string
- func (x *TenantServiceInviteAcceptResponse) GetTenantName() string
- func (*TenantServiceInviteAcceptResponse) ProtoMessage()
- func (x *TenantServiceInviteAcceptResponse) ProtoReflect() protoreflect.Message
- func (x *TenantServiceInviteAcceptResponse) Reset()
- func (x *TenantServiceInviteAcceptResponse) String() string
- type TenantServiceInviteDeleteRequest
- func (*TenantServiceInviteDeleteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TenantServiceInviteDeleteRequest) GetLogin() string
- func (x *TenantServiceInviteDeleteRequest) GetSecret() string
- func (*TenantServiceInviteDeleteRequest) ProtoMessage()
- func (x *TenantServiceInviteDeleteRequest) ProtoReflect() protoreflect.Message
- func (x *TenantServiceInviteDeleteRequest) Reset()
- func (x *TenantServiceInviteDeleteRequest) String() string
- type TenantServiceInviteDeleteResponse
- func (*TenantServiceInviteDeleteResponse) Descriptor() ([]byte, []int)deprecated
- func (*TenantServiceInviteDeleteResponse) ProtoMessage()
- func (x *TenantServiceInviteDeleteResponse) ProtoReflect() protoreflect.Message
- func (x *TenantServiceInviteDeleteResponse) Reset()
- func (x *TenantServiceInviteDeleteResponse) String() string
- type TenantServiceInviteGetRequest
- func (*TenantServiceInviteGetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TenantServiceInviteGetRequest) GetSecret() string
- func (*TenantServiceInviteGetRequest) ProtoMessage()
- func (x *TenantServiceInviteGetRequest) ProtoReflect() protoreflect.Message
- func (x *TenantServiceInviteGetRequest) Reset()
- func (x *TenantServiceInviteGetRequest) String() string
- type TenantServiceInviteGetResponse
- func (*TenantServiceInviteGetResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TenantServiceInviteGetResponse) GetInvite() *TenantInvite
- func (*TenantServiceInviteGetResponse) ProtoMessage()
- func (x *TenantServiceInviteGetResponse) ProtoReflect() protoreflect.Message
- func (x *TenantServiceInviteGetResponse) Reset()
- func (x *TenantServiceInviteGetResponse) String() string
- type TenantServiceInviteRequest
- func (*TenantServiceInviteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TenantServiceInviteRequest) GetLogin() string
- func (x *TenantServiceInviteRequest) GetRole() TenantRole
- func (*TenantServiceInviteRequest) ProtoMessage()
- func (x *TenantServiceInviteRequest) ProtoReflect() protoreflect.Message
- func (x *TenantServiceInviteRequest) Reset()
- func (x *TenantServiceInviteRequest) String() string
- type TenantServiceInviteResponse
- func (*TenantServiceInviteResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TenantServiceInviteResponse) GetInvite() *TenantInvite
- func (*TenantServiceInviteResponse) ProtoMessage()
- func (x *TenantServiceInviteResponse) ProtoReflect() protoreflect.Message
- func (x *TenantServiceInviteResponse) Reset()
- func (x *TenantServiceInviteResponse) String() string
- type TenantServiceInvitesListRequest
- func (*TenantServiceInvitesListRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TenantServiceInvitesListRequest) GetLogin() string
- func (*TenantServiceInvitesListRequest) ProtoMessage()
- func (x *TenantServiceInvitesListRequest) ProtoReflect() protoreflect.Message
- func (x *TenantServiceInvitesListRequest) Reset()
- func (x *TenantServiceInvitesListRequest) String() string
- type TenantServiceInvitesListResponse
- func (*TenantServiceInvitesListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TenantServiceInvitesListResponse) GetInvites() []*TenantInvite
- func (*TenantServiceInvitesListResponse) ProtoMessage()
- func (x *TenantServiceInvitesListResponse) ProtoReflect() protoreflect.Message
- func (x *TenantServiceInvitesListResponse) Reset()
- func (x *TenantServiceInvitesListResponse) String() string
- type TenantServiceListRequest
- func (*TenantServiceListRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TenantServiceListRequest) GetId() string
- func (x *TenantServiceListRequest) GetName() string
- func (*TenantServiceListRequest) ProtoMessage()
- func (x *TenantServiceListRequest) ProtoReflect() protoreflect.Message
- func (x *TenantServiceListRequest) Reset()
- func (x *TenantServiceListRequest) String() string
- type TenantServiceListResponse
- func (*TenantServiceListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TenantServiceListResponse) GetTenants() []*Tenant
- func (*TenantServiceListResponse) ProtoMessage()
- func (x *TenantServiceListResponse) ProtoReflect() protoreflect.Message
- func (x *TenantServiceListResponse) Reset()
- func (x *TenantServiceListResponse) String() string
- type TenantServiceRemoveMemberRequest
- func (*TenantServiceRemoveMemberRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TenantServiceRemoveMemberRequest) GetLogin() string
- func (x *TenantServiceRemoveMemberRequest) GetMemberId() string
- func (*TenantServiceRemoveMemberRequest) ProtoMessage()
- func (x *TenantServiceRemoveMemberRequest) ProtoReflect() protoreflect.Message
- func (x *TenantServiceRemoveMemberRequest) Reset()
- func (x *TenantServiceRemoveMemberRequest) String() string
- type TenantServiceRemoveMemberResponse
- func (*TenantServiceRemoveMemberResponse) Descriptor() ([]byte, []int)deprecated
- func (*TenantServiceRemoveMemberResponse) ProtoMessage()
- func (x *TenantServiceRemoveMemberResponse) ProtoReflect() protoreflect.Message
- func (x *TenantServiceRemoveMemberResponse) Reset()
- func (x *TenantServiceRemoveMemberResponse) String() string
- type TenantServiceUpdateMemberRequest
- func (*TenantServiceUpdateMemberRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TenantServiceUpdateMemberRequest) GetLogin() string
- func (x *TenantServiceUpdateMemberRequest) GetMemberId() string
- func (x *TenantServiceUpdateMemberRequest) GetRole() TenantRole
- func (*TenantServiceUpdateMemberRequest) ProtoMessage()
- func (x *TenantServiceUpdateMemberRequest) ProtoReflect() protoreflect.Message
- func (x *TenantServiceUpdateMemberRequest) Reset()
- func (x *TenantServiceUpdateMemberRequest) String() string
- type TenantServiceUpdateMemberResponse
- func (*TenantServiceUpdateMemberResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TenantServiceUpdateMemberResponse) GetTenantMember() *TenantMember
- func (*TenantServiceUpdateMemberResponse) ProtoMessage()
- func (x *TenantServiceUpdateMemberResponse) ProtoReflect() protoreflect.Message
- func (x *TenantServiceUpdateMemberResponse) Reset()
- func (x *TenantServiceUpdateMemberResponse) String() string
- type TenantServiceUpdateRequest
- func (*TenantServiceUpdateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TenantServiceUpdateRequest) GetAvatarUrl() string
- func (x *TenantServiceUpdateRequest) GetDescription() string
- func (x *TenantServiceUpdateRequest) GetEmail() string
- func (x *TenantServiceUpdateRequest) GetLogin() string
- func (x *TenantServiceUpdateRequest) GetName() string
- func (*TenantServiceUpdateRequest) ProtoMessage()
- func (x *TenantServiceUpdateRequest) ProtoReflect() protoreflect.Message
- func (x *TenantServiceUpdateRequest) Reset()
- func (x *TenantServiceUpdateRequest) String() string
- type TenantServiceUpdateResponse
- func (*TenantServiceUpdateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TenantServiceUpdateResponse) GetTenant() *Tenant
- func (*TenantServiceUpdateResponse) ProtoMessage()
- func (x *TenantServiceUpdateResponse) ProtoReflect() protoreflect.Message
- func (x *TenantServiceUpdateResponse) Reset()
- func (x *TenantServiceUpdateResponse) String() string
- type Token
- func (*Token) Descriptor() ([]byte, []int)deprecated
- func (x *Token) GetAdminRole() AdminRole
- func (x *Token) GetDescription() string
- func (x *Token) GetExpires() *timestamppb.Timestamp
- func (x *Token) GetIssuedAt() *timestamppb.Timestamp
- func (x *Token) GetPermissions() []*MethodPermission
- func (x *Token) GetProjectRoles() map[string]ProjectRole
- func (x *Token) GetTenantRoles() map[string]TenantRole
- func (x *Token) GetTokenType() TokenType
- func (x *Token) GetUserId() string
- func (x *Token) GetUuid() string
- func (*Token) ProtoMessage()
- func (x *Token) ProtoReflect() protoreflect.Message
- func (x *Token) Reset()
- func (x *Token) String() string
- type TokenServiceCreateRequest
- func (*TokenServiceCreateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TokenServiceCreateRequest) GetAdminRole() AdminRole
- func (x *TokenServiceCreateRequest) GetDescription() string
- func (x *TokenServiceCreateRequest) GetExpires() *durationpb.Duration
- func (x *TokenServiceCreateRequest) GetPermissions() []*MethodPermission
- func (x *TokenServiceCreateRequest) GetProjectRoles() map[string]ProjectRole
- func (x *TokenServiceCreateRequest) GetTenantRoles() map[string]TenantRole
- func (*TokenServiceCreateRequest) ProtoMessage()
- func (x *TokenServiceCreateRequest) ProtoReflect() protoreflect.Message
- func (x *TokenServiceCreateRequest) Reset()
- func (x *TokenServiceCreateRequest) String() string
- type TokenServiceCreateResponse
- func (*TokenServiceCreateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TokenServiceCreateResponse) GetSecret() string
- func (x *TokenServiceCreateResponse) GetToken() *Token
- func (*TokenServiceCreateResponse) ProtoMessage()
- func (x *TokenServiceCreateResponse) ProtoReflect() protoreflect.Message
- func (x *TokenServiceCreateResponse) Reset()
- func (x *TokenServiceCreateResponse) String() string
- type TokenServiceGetRequest
- func (*TokenServiceGetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TokenServiceGetRequest) GetUuid() string
- func (*TokenServiceGetRequest) ProtoMessage()
- func (x *TokenServiceGetRequest) ProtoReflect() protoreflect.Message
- func (x *TokenServiceGetRequest) Reset()
- func (x *TokenServiceGetRequest) String() string
- type TokenServiceGetResponse
- func (*TokenServiceGetResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TokenServiceGetResponse) GetToken() *Token
- func (*TokenServiceGetResponse) ProtoMessage()
- func (x *TokenServiceGetResponse) ProtoReflect() protoreflect.Message
- func (x *TokenServiceGetResponse) Reset()
- func (x *TokenServiceGetResponse) String() string
- type TokenServiceListRequest
- type TokenServiceListResponse
- func (*TokenServiceListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TokenServiceListResponse) GetTokens() []*Token
- func (*TokenServiceListResponse) ProtoMessage()
- func (x *TokenServiceListResponse) ProtoReflect() protoreflect.Message
- func (x *TokenServiceListResponse) Reset()
- func (x *TokenServiceListResponse) String() string
- type TokenServiceRevokeRequest
- func (*TokenServiceRevokeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TokenServiceRevokeRequest) GetUuid() string
- func (*TokenServiceRevokeRequest) ProtoMessage()
- func (x *TokenServiceRevokeRequest) ProtoReflect() protoreflect.Message
- func (x *TokenServiceRevokeRequest) Reset()
- func (x *TokenServiceRevokeRequest) String() string
- type TokenServiceRevokeResponse
- type TokenServiceUpdateRequest
- func (*TokenServiceUpdateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TokenServiceUpdateRequest) GetAdminRole() AdminRole
- func (x *TokenServiceUpdateRequest) GetDescription() string
- func (x *TokenServiceUpdateRequest) GetPermissions() []*MethodPermission
- func (x *TokenServiceUpdateRequest) GetProjectRoles() map[string]ProjectRole
- func (x *TokenServiceUpdateRequest) GetTenantRoles() map[string]TenantRole
- func (x *TokenServiceUpdateRequest) GetUuid() string
- func (*TokenServiceUpdateRequest) ProtoMessage()
- func (x *TokenServiceUpdateRequest) ProtoReflect() protoreflect.Message
- func (x *TokenServiceUpdateRequest) Reset()
- func (x *TokenServiceUpdateRequest) String() string
- type TokenServiceUpdateResponse
- func (*TokenServiceUpdateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TokenServiceUpdateResponse) GetToken() *Token
- func (*TokenServiceUpdateResponse) ProtoMessage()
- func (x *TokenServiceUpdateResponse) ProtoReflect() protoreflect.Message
- func (x *TokenServiceUpdateResponse) Reset()
- func (x *TokenServiceUpdateResponse) String() string
- type TokenType
- type UpdateLabels
- func (*UpdateLabels) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateLabels) GetRemove() []string
- func (x *UpdateLabels) GetUpdate() *Labels
- func (*UpdateLabels) ProtoMessage()
- func (x *UpdateLabels) ProtoReflect() protoreflect.Message
- func (x *UpdateLabels) Reset()
- func (x *UpdateLabels) String() string
- type User
- func (*User) Descriptor() ([]byte, []int)deprecated
- func (x *User) GetAvatarUrl() string
- func (x *User) GetDefaultTenant() *Tenant
- func (x *User) GetEmail() string
- func (x *User) GetLogin() string
- func (x *User) GetName() string
- func (x *User) GetProjects() []*Project
- func (x *User) GetTenants() []*Tenant
- func (*User) ProtoMessage()
- func (x *User) ProtoReflect() protoreflect.Message
- func (x *User) Reset()
- func (x *User) String() string
- type UserServiceGetRequest
- type UserServiceGetResponse
- func (*UserServiceGetResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UserServiceGetResponse) GetUser() *User
- func (*UserServiceGetResponse) ProtoMessage()
- func (x *UserServiceGetResponse) ProtoReflect() protoreflect.Message
- func (x *UserServiceGetResponse) Reset()
- func (x *UserServiceGetResponse) String() string
- type Version
- func (*Version) Descriptor() ([]byte, []int)deprecated
- func (x *Version) GetBuildDate() string
- func (x *Version) GetGitSha1() string
- func (x *Version) GetRevision() string
- func (x *Version) GetVersion() string
- func (*Version) ProtoMessage()
- func (x *Version) ProtoReflect() protoreflect.Message
- func (x *Version) Reset()
- func (x *Version) String() string
- type VersionServiceGetRequest
- type VersionServiceGetResponse
- func (*VersionServiceGetResponse) Descriptor() ([]byte, []int)deprecated
- func (x *VersionServiceGetResponse) GetVersion() *Version
- func (*VersionServiceGetResponse) ProtoMessage()
- func (x *VersionServiceGetResponse) ProtoReflect() protoreflect.Message
- func (x *VersionServiceGetResponse) Reset()
- func (x *VersionServiceGetResponse) String() string
- type Visibility
- type VolumeGroup
- func (*VolumeGroup) Descriptor() ([]byte, []int)deprecated
- func (x *VolumeGroup) GetDevices() []string
- func (x *VolumeGroup) GetName() string
- func (x *VolumeGroup) GetTags() []string
- func (*VolumeGroup) ProtoMessage()
- func (x *VolumeGroup) ProtoReflect() protoreflect.Message
- func (x *VolumeGroup) Reset()
- func (x *VolumeGroup) String() string
Constants ¶
This section is empty.
Variables ¶
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
var File_metalstack_api_v2_common_proto protoreflect.FileDescriptor
var File_metalstack_api_v2_filesystem_proto protoreflect.FileDescriptor
var File_metalstack_api_v2_health_proto protoreflect.FileDescriptor
var File_metalstack_api_v2_image_proto protoreflect.FileDescriptor
var File_metalstack_api_v2_ip_proto protoreflect.FileDescriptor
var File_metalstack_api_v2_methods_proto protoreflect.FileDescriptor
var File_metalstack_api_v2_network_proto protoreflect.FileDescriptor
var File_metalstack_api_v2_partition_proto protoreflect.FileDescriptor
var File_metalstack_api_v2_project_proto protoreflect.FileDescriptor
var File_metalstack_api_v2_size_proto protoreflect.FileDescriptor
var File_metalstack_api_v2_tenant_proto protoreflect.FileDescriptor
var File_metalstack_api_v2_token_proto protoreflect.FileDescriptor
var File_metalstack_api_v2_user_proto protoreflect.FileDescriptor
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) EnumDescriptor
deprecated
func (AdminRole) Number ¶
func (x AdminRole) Number() protoreflect.EnumNumber
func (AdminRole) Type ¶
func (AdminRole) Type() protoreflect.EnumType
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) EnumDescriptor
deprecated
func (Auditing) Number ¶
func (x Auditing) Number() protoreflect.EnumNumber
func (Auditing) Type ¶
func (Auditing) Type() protoreflect.EnumType
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) ProtoMessage ¶
func (*DNSServer) ProtoMessage()
func (*DNSServer) ProtoReflect ¶
func (x *DNSServer) ProtoReflect() protoreflect.Message
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) GetPartitions ¶
func (x *Disk) GetPartitions() []*DiskPartition
func (*Disk) GetWipeOnReinstall ¶
func (*Disk) ProtoMessage ¶
func (*Disk) ProtoMessage()
func (*Disk) ProtoReflect ¶
func (x *Disk) ProtoReflect() protoreflect.Message
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 (x *FilesystemLayoutConstraints) ProtoReflect() protoreflect.Message
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 (x *FilesystemServiceGetRequest) GetId() string
func (*FilesystemServiceGetRequest) ProtoMessage ¶
func (*FilesystemServiceGetRequest) ProtoMessage()
func (*FilesystemServiceGetRequest) ProtoReflect ¶
func (x *FilesystemServiceGetRequest) ProtoReflect() protoreflect.Message
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 (x *FilesystemServiceGetResponse) ProtoReflect() protoreflect.Message
func (*FilesystemServiceGetResponse) Reset ¶
func (x *FilesystemServiceGetResponse) Reset()
func (*FilesystemServiceGetResponse) String ¶
func (x *FilesystemServiceGetResponse) String() 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 (x *FilesystemServiceListRequest) GetId() string
func (*FilesystemServiceListRequest) ProtoMessage ¶
func (*FilesystemServiceListRequest) ProtoMessage()
func (*FilesystemServiceListRequest) ProtoReflect ¶
func (x *FilesystemServiceListRequest) ProtoReflect() protoreflect.Message
func (*FilesystemServiceListRequest) Reset ¶
func (x *FilesystemServiceListRequest) Reset()
func (*FilesystemServiceListRequest) String ¶
func (x *FilesystemServiceListRequest) String() 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 (x *FilesystemServiceListResponse) ProtoReflect() protoreflect.Message
func (*FilesystemServiceListResponse) Reset ¶
func (x *FilesystemServiceListResponse) Reset()
func (*FilesystemServiceListResponse) String ¶
func (x *FilesystemServiceListResponse) String() 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 (x *FilesystemServiceMatchRequest) ProtoReflect() protoreflect.Message
func (*FilesystemServiceMatchRequest) Reset ¶
func (x *FilesystemServiceMatchRequest) Reset()
func (*FilesystemServiceMatchRequest) String ¶
func (x *FilesystemServiceMatchRequest) String() 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 (x *FilesystemServiceMatchResponse) ProtoReflect() protoreflect.Message
func (*FilesystemServiceMatchResponse) Reset ¶
func (x *FilesystemServiceMatchResponse) Reset()
func (*FilesystemServiceMatchResponse) String ¶
func (x *FilesystemServiceMatchResponse) String() 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 (x *FilesystemServiceTryRequest) ProtoReflect() protoreflect.Message
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 (x *FilesystemServiceTryResponse) ProtoReflect() protoreflect.Message
func (*FilesystemServiceTryResponse) Reset ¶
func (x *FilesystemServiceTryResponse) Reset()
func (*FilesystemServiceTryResponse) String ¶
func (x *FilesystemServiceTryResponse) String() string
type Format ¶
type Format int32
Format specifies the filesystem to use on a volume
const ( // FORMAT_UNSPECIFIED Format_FORMAT_UNSPECIFIED Format = 0 // FORMAT_VFAT is used for the UEFI boot partition Format_FORMAT_VFAT Format = 1 // FORMAT_EXT3 is usually only used for /boot Format_FORMAT_EXT3 Format = 2 // FORMAT_EXT4 is the default fs Format_FORMAT_EXT4 Format = 3 // FORMAT_SWAP is for the swap partition Format_FORMAT_SWAP Format = 4 // FORMAT_TMPFS is used for a memory filesystem typically /tmp Format_FORMAT_TMPFS Format = 5 // FORMAT_NONE Format_FORMAT_NONE Format = 6 )
func (Format) Descriptor ¶
func (Format) Descriptor() protoreflect.EnumDescriptor
func (Format) EnumDescriptor
deprecated
func (Format) Number ¶
func (x Format) Number() protoreflect.EnumNumber
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) EnumDescriptor
deprecated
func (GPTType) Number ¶
func (x GPTType) Number() protoreflect.EnumNumber
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) GetServices ¶
func (x *Health) GetServices() []*HealthStatus
func (*Health) ProtoMessage ¶
func (*Health) ProtoMessage()
func (*Health) ProtoReflect ¶
func (x *Health) ProtoReflect() protoreflect.Message
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) GetDescription ¶
func (*IP) GetNamespace ¶
func (*IP) GetNetwork ¶
func (*IP) GetProject ¶
func (*IP) ProtoMessage ¶
func (*IP) ProtoMessage()
func (*IP) ProtoReflect ¶
func (x *IP) ProtoReflect() protoreflect.Message
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) Descriptor() protoreflect.EnumDescriptor
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 (x IPAddressFamily) Number() protoreflect.EnumNumber
func (IPAddressFamily) String ¶
func (x IPAddressFamily) String() string
func (IPAddressFamily) Type ¶
func (IPAddressFamily) Type() protoreflect.EnumType
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) GetAddressFamily ¶
func (x *IPQuery) GetAddressFamily() IPAddressFamily
func (*IPQuery) GetMachineId ¶
func (*IPQuery) GetNamespace ¶
func (*IPQuery) GetNetwork ¶
func (*IPQuery) GetParentPrefixCidr ¶
func (*IPQuery) GetProject ¶
func (*IPQuery) ProtoMessage ¶
func (*IPQuery) ProtoMessage()
func (*IPQuery) ProtoReflect ¶
func (x *IPQuery) ProtoReflect() protoreflect.Message
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) EnumDescriptor
deprecated
func (IPType) Number ¶
func (x IPType) Number() protoreflect.EnumNumber
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) GetClassification ¶
func (x *Image) GetClassification() ImageClassification
func (*Image) GetDescription ¶
func (*Image) GetExpiresAt ¶
func (x *Image) GetExpiresAt() *timestamppb.Timestamp
func (*Image) GetFeatures ¶
func (x *Image) GetFeatures() []ImageFeature
func (*Image) ProtoMessage ¶
func (*Image) ProtoMessage()
func (*Image) ProtoReflect ¶
func (x *Image) ProtoReflect() protoreflect.Message
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) Descriptor() protoreflect.EnumDescriptor
func (ImageClassification) Enum ¶
func (x ImageClassification) Enum() *ImageClassification
func (ImageClassification) EnumDescriptor
deprecated
func (ImageClassification) EnumDescriptor() ([]byte, []int)
Deprecated: Use ImageClassification.Descriptor instead.
func (ImageClassification) Number ¶
func (x ImageClassification) Number() protoreflect.EnumNumber
func (ImageClassification) String ¶
func (x ImageClassification) String() string
func (ImageClassification) Type ¶
func (ImageClassification) Type() protoreflect.EnumType
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) Descriptor() protoreflect.EnumDescriptor
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 (x ImageFeature) Number() protoreflect.EnumNumber
func (ImageFeature) String ¶
func (x ImageFeature) String() string
func (ImageFeature) Type ¶
func (ImageFeature) Type() protoreflect.EnumType
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 (x *ImageServiceLatestRequest) ProtoReflect() protoreflect.Message
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 (x *ImageServiceLatestResponse) ProtoReflect() protoreflect.Message
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) EnumDescriptor
deprecated
func (InfraRole) Number ¶
func (x InfraRole) Number() protoreflect.EnumNumber
func (InfraRole) Type ¶
func (InfraRole) Type() protoreflect.EnumType
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) EnumDescriptor
deprecated
func (LVMType) Number ¶
func (x LVMType) Number() protoreflect.EnumNumber
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) ProtoMessage ¶
func (*Labels) ProtoMessage()
func (*Labels) ProtoReflect ¶
func (x *Labels) ProtoReflect() protoreflect.Message
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) GetCreatedAt ¶
func (x *Meta) GetCreatedAt() *timestamppb.Timestamp
func (*Meta) GetGeneration ¶
func (*Meta) GetUpdatedAt ¶
func (x *Meta) GetUpdatedAt() *timestamppb.Timestamp
func (*Meta) ProtoMessage ¶
func (*Meta) ProtoMessage()
func (*Meta) ProtoReflect ¶
func (x *Meta) ProtoReflect() protoreflect.Message
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 (x *MethodServiceListResponse) ProtoReflect() protoreflect.Message
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 (x *MethodServiceTokenScopedListRequest) ProtoReflect() protoreflect.Message
func (*MethodServiceTokenScopedListRequest) Reset ¶
func (x *MethodServiceTokenScopedListRequest) Reset()
func (*MethodServiceTokenScopedListRequest) String ¶
func (x *MethodServiceTokenScopedListRequest) String() 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 (x *MethodServiceTokenScopedListResponse) GetAdminRole() AdminRole
func (*MethodServiceTokenScopedListResponse) GetPermissions ¶
func (x *MethodServiceTokenScopedListResponse) GetPermissions() []*MethodPermission
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 (x *MethodServiceTokenScopedListResponse) ProtoReflect() protoreflect.Message
func (*MethodServiceTokenScopedListResponse) Reset ¶
func (x *MethodServiceTokenScopedListResponse) Reset()
func (*MethodServiceTokenScopedListResponse) String ¶
func (x *MethodServiceTokenScopedListResponse) String() 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) EnumDescriptor
deprecated
func (NATType) Number ¶
func (x NATType) Number() protoreflect.EnumNumber
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) GetAddress ¶
func (*NTPServer) ProtoMessage ¶
func (*NTPServer) ProtoMessage()
func (*NTPServer) ProtoReflect ¶
func (x *NTPServer) ProtoReflect() protoreflect.Message
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) GetAdditionalAnnouncableCidrs ¶
func (*Network) GetConsumption ¶
func (x *Network) GetConsumption() *NetworkConsumption
func (*Network) GetDefaultChildPrefixLength ¶
func (x *Network) GetDefaultChildPrefixLength() *ChildPrefixLength
func (*Network) GetDescription ¶
func (*Network) GetDestinationPrefixes ¶
func (*Network) GetMinChildPrefixLength ¶
func (x *Network) GetMinChildPrefixLength() *ChildPrefixLength
func (*Network) GetNamespace ¶
func (*Network) GetNatType ¶
func (*Network) GetParentNetworkId ¶
func (*Network) GetPartition ¶
func (*Network) GetPrefixes ¶
func (*Network) GetProject ¶
func (*Network) GetType ¶
func (x *Network) GetType() NetworkType
func (*Network) ProtoMessage ¶
func (*Network) ProtoMessage()
func (*Network) ProtoReflect ¶
func (x *Network) ProtoReflect() protoreflect.Message
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) Descriptor() protoreflect.EnumDescriptor
func (NetworkAddressFamily) Enum ¶
func (x NetworkAddressFamily) Enum() *NetworkAddressFamily
func (NetworkAddressFamily) EnumDescriptor
deprecated
func (NetworkAddressFamily) EnumDescriptor() ([]byte, []int)
Deprecated: Use NetworkAddressFamily.Descriptor instead.
func (NetworkAddressFamily) Number ¶
func (x NetworkAddressFamily) Number() protoreflect.EnumNumber
func (NetworkAddressFamily) String ¶
func (x NetworkAddressFamily) String() string
func (NetworkAddressFamily) Type ¶
func (NetworkAddressFamily) Type() protoreflect.EnumType
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 (x *NetworkServiceCreateRequest) GetLength() *ChildPrefixLength
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 (x *NetworkServiceCreateRequest) ProtoReflect() protoreflect.Message
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 (x *NetworkServiceCreateResponse) ProtoReflect() protoreflect.Message
func (*NetworkServiceCreateResponse) Reset ¶
func (x *NetworkServiceCreateResponse) Reset()
func (*NetworkServiceCreateResponse) String ¶
func (x *NetworkServiceCreateResponse) String() 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 (x *NetworkServiceDeleteRequest) GetId() string
func (*NetworkServiceDeleteRequest) GetProject ¶
func (x *NetworkServiceDeleteRequest) GetProject() string
func (*NetworkServiceDeleteRequest) ProtoMessage ¶
func (*NetworkServiceDeleteRequest) ProtoMessage()
func (*NetworkServiceDeleteRequest) ProtoReflect ¶
func (x *NetworkServiceDeleteRequest) ProtoReflect() protoreflect.Message
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 (x *NetworkServiceDeleteResponse) ProtoReflect() protoreflect.Message
func (*NetworkServiceDeleteResponse) Reset ¶
func (x *NetworkServiceDeleteResponse) Reset()
func (*NetworkServiceDeleteResponse) String ¶
func (x *NetworkServiceDeleteResponse) String() 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 (x *NetworkServiceGetResponse) ProtoReflect() protoreflect.Message
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 (x *NetworkServiceListBaseNetworksRequest) GetProject() string
func (*NetworkServiceListBaseNetworksRequest) GetQuery ¶
func (x *NetworkServiceListBaseNetworksRequest) GetQuery() *NetworkQuery
func (*NetworkServiceListBaseNetworksRequest) ProtoMessage ¶
func (*NetworkServiceListBaseNetworksRequest) ProtoMessage()
func (*NetworkServiceListBaseNetworksRequest) ProtoReflect ¶
func (x *NetworkServiceListBaseNetworksRequest) ProtoReflect() protoreflect.Message
func (*NetworkServiceListBaseNetworksRequest) Reset ¶
func (x *NetworkServiceListBaseNetworksRequest) Reset()
func (*NetworkServiceListBaseNetworksRequest) String ¶
func (x *NetworkServiceListBaseNetworksRequest) String() 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) ProtoMessage()
func (*NetworkServiceListBaseNetworksResponse) ProtoReflect ¶
func (x *NetworkServiceListBaseNetworksResponse) ProtoReflect() protoreflect.Message
func (*NetworkServiceListBaseNetworksResponse) Reset ¶
func (x *NetworkServiceListBaseNetworksResponse) Reset()
func (*NetworkServiceListBaseNetworksResponse) String ¶
func (x *NetworkServiceListBaseNetworksResponse) String() 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 (x *NetworkServiceListRequest) ProtoReflect() protoreflect.Message
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 (x *NetworkServiceListResponse) ProtoReflect() protoreflect.Message
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 (x *NetworkServiceUpdateRequest) GetId() string
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 (x *NetworkServiceUpdateRequest) ProtoReflect() protoreflect.Message
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 (x *NetworkServiceUpdateResponse) ProtoReflect() protoreflect.Message
func (*NetworkServiceUpdateResponse) Reset ¶
func (x *NetworkServiceUpdateResponse) Reset()
func (*NetworkServiceUpdateResponse) String ¶
func (x *NetworkServiceUpdateResponse) String() 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) Descriptor() protoreflect.EnumDescriptor
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 ¶
func (NetworkType) Type() protoreflect.EnumType
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) ProtoMessage ¶
func (*Paging) ProtoMessage()
func (*Paging) ProtoReflect ¶
func (x *Paging) ProtoReflect() protoreflect.Message
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) GetBootConfiguration ¶
func (x *Partition) GetBootConfiguration() *PartitionBootConfiguration
func (*Partition) GetDescription ¶
func (*Partition) GetDnsServer ¶
func (*Partition) GetMgmtServiceAddresses ¶
func (*Partition) GetNtpServer ¶
func (*Partition) ProtoMessage ¶
func (*Partition) ProtoMessage()
func (*Partition) ProtoReflect ¶
func (x *Partition) ProtoReflect() protoreflect.Message
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 (x *PartitionBootConfiguration) ProtoReflect() protoreflect.Message
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 (x *PartitionServiceGetRequest) GetId() string
func (*PartitionServiceGetRequest) ProtoMessage ¶
func (*PartitionServiceGetRequest) ProtoMessage()
func (*PartitionServiceGetRequest) ProtoReflect ¶
func (x *PartitionServiceGetRequest) ProtoReflect() protoreflect.Message
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 (x *PartitionServiceGetResponse) ProtoReflect() protoreflect.Message
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 (x *PartitionServiceListRequest) GetQuery() *PartitionQuery
func (*PartitionServiceListRequest) ProtoMessage ¶
func (*PartitionServiceListRequest) ProtoMessage()
func (*PartitionServiceListRequest) ProtoReflect ¶
func (x *PartitionServiceListRequest) ProtoReflect() protoreflect.Message
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 (x *PartitionServiceListResponse) ProtoReflect() protoreflect.Message
func (*PartitionServiceListResponse) Reset ¶
func (x *PartitionServiceListResponse) Reset()
func (*PartitionServiceListResponse) String ¶
func (x *PartitionServiceListResponse) String() 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) GetAvatarUrl ¶
func (*Project) GetDescription ¶
func (*Project) ProtoMessage ¶
func (*Project) ProtoMessage()
func (*Project) ProtoReflect ¶
func (x *Project) ProtoReflect() protoreflect.Message
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) Descriptor() protoreflect.EnumDescriptor
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 ¶
func (ProjectRole) Type() protoreflect.EnumType
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 (x *ProjectServiceCreateRequest) ProtoReflect() protoreflect.Message
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 (x *ProjectServiceCreateResponse) ProtoReflect() protoreflect.Message
func (*ProjectServiceCreateResponse) Reset ¶
func (x *ProjectServiceCreateResponse) Reset()
func (*ProjectServiceCreateResponse) String ¶
func (x *ProjectServiceCreateResponse) String() 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 (x *ProjectServiceDeleteRequest) ProtoReflect() protoreflect.Message
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 (x *ProjectServiceDeleteResponse) ProtoReflect() protoreflect.Message
func (*ProjectServiceDeleteResponse) Reset ¶
func (x *ProjectServiceDeleteResponse) Reset()
func (*ProjectServiceDeleteResponse) String ¶
func (x *ProjectServiceDeleteResponse) String() 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 (x *ProjectServiceGetResponse) ProtoReflect() protoreflect.Message
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 (x *ProjectServiceInviteAcceptRequest) GetSecret() string
func (*ProjectServiceInviteAcceptRequest) ProtoMessage ¶
func (*ProjectServiceInviteAcceptRequest) ProtoMessage()
func (*ProjectServiceInviteAcceptRequest) ProtoReflect ¶
func (x *ProjectServiceInviteAcceptRequest) ProtoReflect() protoreflect.Message
func (*ProjectServiceInviteAcceptRequest) Reset ¶
func (x *ProjectServiceInviteAcceptRequest) Reset()
func (*ProjectServiceInviteAcceptRequest) String ¶
func (x *ProjectServiceInviteAcceptRequest) String() 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 (x *ProjectServiceInviteAcceptResponse) GetProject() string
func (*ProjectServiceInviteAcceptResponse) GetProjectName ¶
func (x *ProjectServiceInviteAcceptResponse) GetProjectName() string
func (*ProjectServiceInviteAcceptResponse) ProtoMessage ¶
func (*ProjectServiceInviteAcceptResponse) ProtoMessage()
func (*ProjectServiceInviteAcceptResponse) ProtoReflect ¶
func (x *ProjectServiceInviteAcceptResponse) ProtoReflect() protoreflect.Message
func (*ProjectServiceInviteAcceptResponse) Reset ¶
func (x *ProjectServiceInviteAcceptResponse) Reset()
func (*ProjectServiceInviteAcceptResponse) String ¶
func (x *ProjectServiceInviteAcceptResponse) String() 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 (x *ProjectServiceInviteDeleteRequest) GetSecret() string
func (*ProjectServiceInviteDeleteRequest) ProtoMessage ¶
func (*ProjectServiceInviteDeleteRequest) ProtoMessage()
func (*ProjectServiceInviteDeleteRequest) ProtoReflect ¶
func (x *ProjectServiceInviteDeleteRequest) ProtoReflect() protoreflect.Message
func (*ProjectServiceInviteDeleteRequest) Reset ¶
func (x *ProjectServiceInviteDeleteRequest) Reset()
func (*ProjectServiceInviteDeleteRequest) String ¶
func (x *ProjectServiceInviteDeleteRequest) String() 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 (x *ProjectServiceInviteDeleteResponse) ProtoReflect() protoreflect.Message
func (*ProjectServiceInviteDeleteResponse) Reset ¶
func (x *ProjectServiceInviteDeleteResponse) Reset()
func (*ProjectServiceInviteDeleteResponse) String ¶
func (x *ProjectServiceInviteDeleteResponse) String() 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 (x *ProjectServiceInviteGetRequest) ProtoReflect() protoreflect.Message
func (*ProjectServiceInviteGetRequest) Reset ¶
func (x *ProjectServiceInviteGetRequest) Reset()
func (*ProjectServiceInviteGetRequest) String ¶
func (x *ProjectServiceInviteGetRequest) String() 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 (x *ProjectServiceInviteGetResponse) GetInvite() *ProjectInvite
func (*ProjectServiceInviteGetResponse) ProtoMessage ¶
func (*ProjectServiceInviteGetResponse) ProtoMessage()
func (*ProjectServiceInviteGetResponse) ProtoReflect ¶
func (x *ProjectServiceInviteGetResponse) ProtoReflect() protoreflect.Message
func (*ProjectServiceInviteGetResponse) Reset ¶
func (x *ProjectServiceInviteGetResponse) Reset()
func (*ProjectServiceInviteGetResponse) String ¶
func (x *ProjectServiceInviteGetResponse) String() 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 (x *ProjectServiceInviteRequest) GetRole() ProjectRole
func (*ProjectServiceInviteRequest) ProtoMessage ¶
func (*ProjectServiceInviteRequest) ProtoMessage()
func (*ProjectServiceInviteRequest) ProtoReflect ¶
func (x *ProjectServiceInviteRequest) ProtoReflect() protoreflect.Message
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 (x *ProjectServiceInviteResponse) GetInvite() *ProjectInvite
func (*ProjectServiceInviteResponse) ProtoMessage ¶
func (*ProjectServiceInviteResponse) ProtoMessage()
func (*ProjectServiceInviteResponse) ProtoReflect ¶
func (x *ProjectServiceInviteResponse) ProtoReflect() protoreflect.Message
func (*ProjectServiceInviteResponse) Reset ¶
func (x *ProjectServiceInviteResponse) Reset()
func (*ProjectServiceInviteResponse) String ¶
func (x *ProjectServiceInviteResponse) String() 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 (x *ProjectServiceInvitesListRequest) ProtoReflect() protoreflect.Message
func (*ProjectServiceInvitesListRequest) Reset ¶
func (x *ProjectServiceInvitesListRequest) Reset()
func (*ProjectServiceInvitesListRequest) String ¶
func (x *ProjectServiceInvitesListRequest) String() 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 (x *ProjectServiceInvitesListResponse) GetInvites() []*ProjectInvite
func (*ProjectServiceInvitesListResponse) ProtoMessage ¶
func (*ProjectServiceInvitesListResponse) ProtoMessage()
func (*ProjectServiceInvitesListResponse) ProtoReflect ¶
func (x *ProjectServiceInvitesListResponse) ProtoReflect() protoreflect.Message
func (*ProjectServiceInvitesListResponse) Reset ¶
func (x *ProjectServiceInvitesListResponse) Reset()
func (*ProjectServiceInvitesListResponse) String ¶
func (x *ProjectServiceInvitesListResponse) String() 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 (x *ProjectServiceListRequest) ProtoReflect() protoreflect.Message
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 (x *ProjectServiceListResponse) ProtoReflect() protoreflect.Message
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 (x *ProjectServiceRemoveMemberRequest) ProtoReflect() protoreflect.Message
func (*ProjectServiceRemoveMemberRequest) Reset ¶
func (x *ProjectServiceRemoveMemberRequest) Reset()
func (*ProjectServiceRemoveMemberRequest) String ¶
func (x *ProjectServiceRemoveMemberRequest) String() 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 (x *ProjectServiceRemoveMemberResponse) ProtoReflect() protoreflect.Message
func (*ProjectServiceRemoveMemberResponse) Reset ¶
func (x *ProjectServiceRemoveMemberResponse) Reset()
func (*ProjectServiceRemoveMemberResponse) String ¶
func (x *ProjectServiceRemoveMemberResponse) String() 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 (x *ProjectServiceUpdateMemberRequest) GetRole() ProjectRole
func (*ProjectServiceUpdateMemberRequest) ProtoMessage ¶
func (*ProjectServiceUpdateMemberRequest) ProtoMessage()
func (*ProjectServiceUpdateMemberRequest) ProtoReflect ¶
func (x *ProjectServiceUpdateMemberRequest) ProtoReflect() protoreflect.Message
func (*ProjectServiceUpdateMemberRequest) Reset ¶
func (x *ProjectServiceUpdateMemberRequest) Reset()
func (*ProjectServiceUpdateMemberRequest) String ¶
func (x *ProjectServiceUpdateMemberRequest) String() 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 (x *ProjectServiceUpdateMemberResponse) ProtoReflect() protoreflect.Message
func (*ProjectServiceUpdateMemberResponse) Reset ¶
func (x *ProjectServiceUpdateMemberResponse) Reset()
func (*ProjectServiceUpdateMemberResponse) String ¶
func (x *ProjectServiceUpdateMemberResponse) String() 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 (x *ProjectServiceUpdateRequest) ProtoReflect() protoreflect.Message
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 (x *ProjectServiceUpdateResponse) ProtoReflect() protoreflect.Message
func (*ProjectServiceUpdateResponse) Reset ¶
func (x *ProjectServiceUpdateResponse) Reset()
func (*ProjectServiceUpdateResponse) String ¶
func (x *ProjectServiceUpdateResponse) String() string
type Raid ¶
type Raid struct {
// ArrayName the name of the resulting array device
ArrayName string `protobuf:"bytes,1,opt,name=array_name,json=arrayName,proto3" json:"array_name,omitempty"`
// Devices list of devices to form the raid array from
Devices []string `protobuf:"bytes,2,rep,name=devices,proto3" json:"devices,omitempty"`
// Level raid level to create, should be 0 or 1
Level RaidLevel `protobuf:"varint,3,opt,name=level,proto3,enum=metalstack.api.v2.RaidLevel" json:"level,omitempty"`
// CreateOptions the options to use to create the raid array
CreateOptions []string `protobuf:"bytes,4,rep,name=create_options,json=createOptions,proto3" json:"create_options,omitempty"`
// Spares number of spares for the raid array
Spares int32 `protobuf:"varint,5,opt,name=spares,proto3" json:"spares,omitempty"`
// contains filtered or unexported fields
}
Raid
func (*Raid) Descriptor
deprecated
func (*Raid) GetArrayName ¶
func (*Raid) GetCreateOptions ¶
func (*Raid) GetDevices ¶
func (*Raid) ProtoMessage ¶
func (*Raid) ProtoMessage()
func (*Raid) ProtoReflect ¶
func (x *Raid) ProtoReflect() protoreflect.Message
type RaidLevel ¶
type RaidLevel int32
RaidLevel defines howto mirror two or more block devices
func (RaidLevel) Descriptor ¶
func (RaidLevel) Descriptor() protoreflect.EnumDescriptor
func (RaidLevel) EnumDescriptor
deprecated
func (RaidLevel) Number ¶
func (x RaidLevel) Number() protoreflect.EnumNumber
func (RaidLevel) Type ¶
func (RaidLevel) Type() protoreflect.EnumType
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) EnumDescriptor
deprecated
func (Service) Number ¶
func (x Service) Number() protoreflect.EnumNumber
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) Descriptor() protoreflect.EnumDescriptor
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 (x ServiceStatus) Number() protoreflect.EnumNumber
func (ServiceStatus) String ¶
func (x ServiceStatus) String() string
func (ServiceStatus) Type ¶
func (ServiceStatus) Type() protoreflect.EnumType
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) GetConstraints ¶ added in v0.0.2
func (x *Size) GetConstraints() []*SizeConstraint
func (*Size) GetDescription ¶ added in v0.0.2
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
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) Descriptor() protoreflect.EnumDescriptor
func (SizeConstraintType) Enum ¶ added in v0.0.2
func (x SizeConstraintType) Enum() *SizeConstraintType
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 (x SizeConstraintType) Number() protoreflect.EnumNumber
func (SizeConstraintType) String ¶ added in v0.0.2
func (x SizeConstraintType) String() string
func (SizeConstraintType) Type ¶ added in v0.0.2
func (SizeConstraintType) Type() protoreflect.EnumType
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) GetDescription ¶ added in v0.0.2
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
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 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) GetAvatarUrl ¶
func (*Tenant) GetCreatedBy ¶
func (*Tenant) GetDescription ¶
func (*Tenant) ProtoMessage ¶
func (*Tenant) ProtoMessage()
func (*Tenant) ProtoReflect ¶
func (x *Tenant) ProtoReflect() protoreflect.Message
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 ¶
func (TenantRole) Type() protoreflect.EnumType
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 (x *TenantServiceCreateRequest) ProtoReflect() protoreflect.Message
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 (x *TenantServiceCreateResponse) ProtoReflect() protoreflect.Message
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 (x *TenantServiceDeleteRequest) ProtoReflect() protoreflect.Message
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 (x *TenantServiceDeleteResponse) ProtoReflect() protoreflect.Message
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 (x *TenantServiceInviteAcceptRequest) GetSecret() string
func (*TenantServiceInviteAcceptRequest) ProtoMessage ¶
func (*TenantServiceInviteAcceptRequest) ProtoMessage()
func (*TenantServiceInviteAcceptRequest) ProtoReflect ¶
func (x *TenantServiceInviteAcceptRequest) ProtoReflect() protoreflect.Message
func (*TenantServiceInviteAcceptRequest) Reset ¶
func (x *TenantServiceInviteAcceptRequest) Reset()
func (*TenantServiceInviteAcceptRequest) String ¶
func (x *TenantServiceInviteAcceptRequest) String() 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 (x *TenantServiceInviteAcceptResponse) GetTenant() string
func (*TenantServiceInviteAcceptResponse) GetTenantName ¶
func (x *TenantServiceInviteAcceptResponse) GetTenantName() string
func (*TenantServiceInviteAcceptResponse) ProtoMessage ¶
func (*TenantServiceInviteAcceptResponse) ProtoMessage()
func (*TenantServiceInviteAcceptResponse) ProtoReflect ¶
func (x *TenantServiceInviteAcceptResponse) ProtoReflect() protoreflect.Message
func (*TenantServiceInviteAcceptResponse) Reset ¶
func (x *TenantServiceInviteAcceptResponse) Reset()
func (*TenantServiceInviteAcceptResponse) String ¶
func (x *TenantServiceInviteAcceptResponse) String() 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 (x *TenantServiceInviteDeleteRequest) GetLogin() string
func (*TenantServiceInviteDeleteRequest) GetSecret ¶
func (x *TenantServiceInviteDeleteRequest) GetSecret() string
func (*TenantServiceInviteDeleteRequest) ProtoMessage ¶
func (*TenantServiceInviteDeleteRequest) ProtoMessage()
func (*TenantServiceInviteDeleteRequest) ProtoReflect ¶
func (x *TenantServiceInviteDeleteRequest) ProtoReflect() protoreflect.Message
func (*TenantServiceInviteDeleteRequest) Reset ¶
func (x *TenantServiceInviteDeleteRequest) Reset()
func (*TenantServiceInviteDeleteRequest) String ¶
func (x *TenantServiceInviteDeleteRequest) String() 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 (x *TenantServiceInviteDeleteResponse) ProtoReflect() protoreflect.Message
func (*TenantServiceInviteDeleteResponse) Reset ¶
func (x *TenantServiceInviteDeleteResponse) Reset()
func (*TenantServiceInviteDeleteResponse) String ¶
func (x *TenantServiceInviteDeleteResponse) String() 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 (x *TenantServiceInviteGetRequest) ProtoReflect() protoreflect.Message
func (*TenantServiceInviteGetRequest) Reset ¶
func (x *TenantServiceInviteGetRequest) Reset()
func (*TenantServiceInviteGetRequest) String ¶
func (x *TenantServiceInviteGetRequest) String() 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 (x *TenantServiceInviteGetResponse) GetInvite() *TenantInvite
func (*TenantServiceInviteGetResponse) ProtoMessage ¶
func (*TenantServiceInviteGetResponse) ProtoMessage()
func (*TenantServiceInviteGetResponse) ProtoReflect ¶
func (x *TenantServiceInviteGetResponse) ProtoReflect() protoreflect.Message
func (*TenantServiceInviteGetResponse) Reset ¶
func (x *TenantServiceInviteGetResponse) Reset()
func (*TenantServiceInviteGetResponse) String ¶
func (x *TenantServiceInviteGetResponse) String() 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 (x *TenantServiceInviteRequest) GetRole() TenantRole
func (*TenantServiceInviteRequest) ProtoMessage ¶
func (*TenantServiceInviteRequest) ProtoMessage()
func (*TenantServiceInviteRequest) ProtoReflect ¶
func (x *TenantServiceInviteRequest) ProtoReflect() protoreflect.Message
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 (x *TenantServiceInviteResponse) ProtoReflect() protoreflect.Message
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 (x *TenantServiceInvitesListRequest) GetLogin() string
func (*TenantServiceInvitesListRequest) ProtoMessage ¶
func (*TenantServiceInvitesListRequest) ProtoMessage()
func (*TenantServiceInvitesListRequest) ProtoReflect ¶
func (x *TenantServiceInvitesListRequest) ProtoReflect() protoreflect.Message
func (*TenantServiceInvitesListRequest) Reset ¶
func (x *TenantServiceInvitesListRequest) Reset()
func (*TenantServiceInvitesListRequest) String ¶
func (x *TenantServiceInvitesListRequest) String() 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 (x *TenantServiceInvitesListResponse) GetInvites() []*TenantInvite
func (*TenantServiceInvitesListResponse) ProtoMessage ¶
func (*TenantServiceInvitesListResponse) ProtoMessage()
func (*TenantServiceInvitesListResponse) ProtoReflect ¶
func (x *TenantServiceInvitesListResponse) ProtoReflect() protoreflect.Message
func (*TenantServiceInvitesListResponse) Reset ¶
func (x *TenantServiceInvitesListResponse) Reset()
func (*TenantServiceInvitesListResponse) String ¶
func (x *TenantServiceInvitesListResponse) String() string
type TenantServiceListRequest ¶
type TenantServiceListRequest struct {
// Id filters tenants by id
Id *string `protobuf:"bytes,1,opt,name=id,proto3,oneof" json:"id,omitempty"`
// Name filters tenants by name
Name *string `protobuf:"bytes,2,opt,name=name,proto3,oneof" json:"name,omitempty"`
// 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 (x *TenantServiceListResponse) ProtoReflect() protoreflect.Message
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 (x *TenantServiceRemoveMemberRequest) GetLogin() string
func (*TenantServiceRemoveMemberRequest) GetMemberId ¶
func (x *TenantServiceRemoveMemberRequest) GetMemberId() string
func (*TenantServiceRemoveMemberRequest) ProtoMessage ¶
func (*TenantServiceRemoveMemberRequest) ProtoMessage()
func (*TenantServiceRemoveMemberRequest) ProtoReflect ¶
func (x *TenantServiceRemoveMemberRequest) ProtoReflect() protoreflect.Message
func (*TenantServiceRemoveMemberRequest) Reset ¶
func (x *TenantServiceRemoveMemberRequest) Reset()
func (*TenantServiceRemoveMemberRequest) String ¶
func (x *TenantServiceRemoveMemberRequest) String() 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 (x *TenantServiceRemoveMemberResponse) ProtoReflect() protoreflect.Message
func (*TenantServiceRemoveMemberResponse) Reset ¶
func (x *TenantServiceRemoveMemberResponse) Reset()
func (*TenantServiceRemoveMemberResponse) String ¶
func (x *TenantServiceRemoveMemberResponse) String() 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 (x *TenantServiceUpdateMemberRequest) GetLogin() string
func (*TenantServiceUpdateMemberRequest) GetMemberId ¶
func (x *TenantServiceUpdateMemberRequest) GetMemberId() string
func (*TenantServiceUpdateMemberRequest) GetRole ¶
func (x *TenantServiceUpdateMemberRequest) GetRole() TenantRole
func (*TenantServiceUpdateMemberRequest) ProtoMessage ¶
func (*TenantServiceUpdateMemberRequest) ProtoMessage()
func (*TenantServiceUpdateMemberRequest) ProtoReflect ¶
func (x *TenantServiceUpdateMemberRequest) ProtoReflect() protoreflect.Message
func (*TenantServiceUpdateMemberRequest) Reset ¶
func (x *TenantServiceUpdateMemberRequest) Reset()
func (*TenantServiceUpdateMemberRequest) String ¶
func (x *TenantServiceUpdateMemberRequest) String() 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 (x *TenantServiceUpdateMemberResponse) ProtoReflect() protoreflect.Message
func (*TenantServiceUpdateMemberResponse) Reset ¶
func (x *TenantServiceUpdateMemberResponse) Reset()
func (*TenantServiceUpdateMemberResponse) String ¶
func (x *TenantServiceUpdateMemberResponse) String() 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 (x *TenantServiceUpdateRequest) ProtoReflect() protoreflect.Message
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 (x *TenantServiceUpdateResponse) ProtoReflect() protoreflect.Message
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) GetAdminRole ¶
func (*Token) GetDescription ¶
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 (*Token) ProtoMessage ¶
func (*Token) ProtoMessage()
func (*Token) ProtoReflect ¶
func (x *Token) ProtoReflect() protoreflect.Message
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 (x *TokenServiceCreateRequest) GetExpires() *durationpb.Duration
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 (x *TokenServiceCreateRequest) ProtoReflect() protoreflect.Message
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 (x *TokenServiceCreateResponse) ProtoReflect() protoreflect.Message
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 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 (x *TokenServiceRevokeRequest) ProtoReflect() protoreflect.Message
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 (x *TokenServiceRevokeResponse) ProtoReflect() protoreflect.Message
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 (x *TokenServiceUpdateRequest) ProtoReflect() protoreflect.Message
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 (x *TokenServiceUpdateResponse) ProtoReflect() protoreflect.Message
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
func (TokenType) Descriptor ¶
func (TokenType) Descriptor() protoreflect.EnumDescriptor
func (TokenType) EnumDescriptor
deprecated
func (TokenType) Number ¶
func (x TokenType) Number() protoreflect.EnumNumber
func (TokenType) Type ¶
func (TokenType) Type() protoreflect.EnumType
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) GetAvatarUrl ¶
func (*User) GetDefaultTenant ¶
func (*User) GetProjects ¶
func (*User) GetTenants ¶
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) ProtoReflect ¶
func (x *User) ProtoReflect() protoreflect.Message
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) GetBuildDate ¶
func (*Version) GetGitSha1 ¶
func (*Version) GetRevision ¶
func (*Version) GetVersion ¶
func (*Version) ProtoMessage ¶
func (*Version) ProtoMessage()
func (*Version) ProtoReflect ¶
func (x *Version) ProtoReflect() protoreflect.Message
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 (x *VersionServiceGetResponse) ProtoReflect() protoreflect.Message
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 ¶
func (Visibility) Type() protoreflect.EnumType
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