Documentation
¶
Index ¶
- Variables
- type AdminPermissions
- type AdminRole
- type AuditPhase
- type AuditQuery
- func (*AuditQuery) Descriptor() ([]byte, []int)deprecated
- func (x *AuditQuery) GetBody() string
- func (x *AuditQuery) GetFrom() *timestamppb.Timestamp
- func (x *AuditQuery) GetLimit() int32
- func (x *AuditQuery) GetMethod() string
- func (x *AuditQuery) GetPhase() AuditPhase
- func (x *AuditQuery) GetProject() string
- func (x *AuditQuery) GetResultCode() int32
- func (x *AuditQuery) GetSourceIp() string
- func (x *AuditQuery) GetTo() *timestamppb.Timestamp
- func (x *AuditQuery) GetUser() string
- func (x *AuditQuery) GetUuid() string
- func (*AuditQuery) ProtoMessage()
- func (x *AuditQuery) ProtoReflect() protoreflect.Message
- func (x *AuditQuery) Reset()
- func (x *AuditQuery) String() string
- type AuditServiceGetRequest
- func (*AuditServiceGetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AuditServiceGetRequest) GetLogin() string
- func (x *AuditServiceGetRequest) GetPhase() AuditPhase
- func (x *AuditServiceGetRequest) GetUuid() string
- func (*AuditServiceGetRequest) ProtoMessage()
- func (x *AuditServiceGetRequest) ProtoReflect() protoreflect.Message
- func (x *AuditServiceGetRequest) Reset()
- func (x *AuditServiceGetRequest) String() string
- type AuditServiceGetResponse
- func (*AuditServiceGetResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AuditServiceGetResponse) GetTrace() *AuditTrace
- func (*AuditServiceGetResponse) ProtoMessage()
- func (x *AuditServiceGetResponse) ProtoReflect() protoreflect.Message
- func (x *AuditServiceGetResponse) Reset()
- func (x *AuditServiceGetResponse) String() string
- type AuditServiceListRequest
- func (*AuditServiceListRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AuditServiceListRequest) GetLogin() string
- func (x *AuditServiceListRequest) GetQuery() *AuditQuery
- func (*AuditServiceListRequest) ProtoMessage()
- func (x *AuditServiceListRequest) ProtoReflect() protoreflect.Message
- func (x *AuditServiceListRequest) Reset()
- func (x *AuditServiceListRequest) String() string
- type AuditServiceListResponse
- func (*AuditServiceListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AuditServiceListResponse) GetTraces() []*AuditTrace
- func (*AuditServiceListResponse) ProtoMessage()
- func (x *AuditServiceListResponse) ProtoReflect() protoreflect.Message
- func (x *AuditServiceListResponse) Reset()
- func (x *AuditServiceListResponse) String() string
- type AuditTrace
- func (*AuditTrace) Descriptor() ([]byte, []int)deprecated
- func (x *AuditTrace) GetBody() string
- func (x *AuditTrace) GetMeta() *Meta
- func (x *AuditTrace) GetMethod() string
- func (x *AuditTrace) GetPhase() AuditPhase
- func (x *AuditTrace) GetProject() string
- func (x *AuditTrace) GetResultCode() int32
- func (x *AuditTrace) GetSourceIp() string
- func (x *AuditTrace) GetTenant() string
- func (x *AuditTrace) GetTimestamp() *timestamppb.Timestamp
- func (x *AuditTrace) GetUser() string
- func (x *AuditTrace) GetUuid() string
- func (*AuditTrace) ProtoMessage()
- func (x *AuditTrace) ProtoReflect() protoreflect.Message
- func (x *AuditTrace) Reset()
- func (x *AuditTrace) String() string
- type Auditing
- type BGPFilter
- type BGPState
- 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 Component
- func (*Component) Descriptor() ([]byte, []int)deprecated
- func (x *Component) GetIdentifier() string
- func (x *Component) GetInterval() *durationpb.Duration
- func (x *Component) GetMeta() *Meta
- func (x *Component) GetReportedAt() *timestamppb.Timestamp
- func (x *Component) GetStartedAt() *timestamppb.Timestamp
- func (x *Component) GetToken() *Token
- func (x *Component) GetType() ComponentType
- func (x *Component) GetUuid() string
- func (x *Component) GetVersion() *Version
- func (*Component) ProtoMessage()
- func (x *Component) ProtoReflect() protoreflect.Message
- func (x *Component) Reset()
- func (x *Component) String() string
- type ComponentQuery
- func (*ComponentQuery) Descriptor() ([]byte, []int)deprecated
- func (x *ComponentQuery) GetIdentifier() string
- func (x *ComponentQuery) GetType() ComponentType
- func (x *ComponentQuery) GetUuid() string
- func (*ComponentQuery) ProtoMessage()
- func (x *ComponentQuery) ProtoReflect() protoreflect.Message
- func (x *ComponentQuery) Reset()
- func (x *ComponentQuery) String() string
- type ComponentType
- func (ComponentType) Descriptor() protoreflect.EnumDescriptor
- func (x ComponentType) Enum() *ComponentType
- func (ComponentType) EnumDescriptor() ([]byte, []int)deprecated
- func (x ComponentType) Number() protoreflect.EnumNumber
- func (x ComponentType) String() string
- func (ComponentType) Type() protoreflect.EnumType
- type DNSServer
- type Disk
- 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 ExternalNetworkMember
- func (*ExternalNetworkMember) Descriptor() ([]byte, []int)deprecated
- func (x *ExternalNetworkMember) GetPorts() []string
- func (x *ExternalNetworkMember) GetSwitch() string
- func (*ExternalNetworkMember) ProtoMessage()
- func (x *ExternalNetworkMember) ProtoReflect() protoreflect.Message
- func (x *ExternalNetworkMember) Reset()
- func (x *ExternalNetworkMember) String() string
- type ExternalNetworkMemberQuery
- func (*ExternalNetworkMemberQuery) Descriptor() ([]byte, []int)deprecated
- func (x *ExternalNetworkMemberQuery) GetRack() string
- func (x *ExternalNetworkMemberQuery) GetSwitch() string
- func (*ExternalNetworkMemberQuery) ProtoMessage()
- func (x *ExternalNetworkMemberQuery) ProtoReflect() protoreflect.Message
- func (x *ExternalNetworkMemberQuery) Reset()
- func (x *ExternalNetworkMemberQuery) 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 FirewallEgressRule
- func (*FirewallEgressRule) Descriptor() ([]byte, []int)deprecated
- func (x *FirewallEgressRule) GetComment() string
- func (x *FirewallEgressRule) GetPorts() []uint32
- func (x *FirewallEgressRule) GetProtocol() IPProtocol
- func (x *FirewallEgressRule) GetTo() []string
- func (*FirewallEgressRule) ProtoMessage()
- func (x *FirewallEgressRule) ProtoReflect() protoreflect.Message
- func (x *FirewallEgressRule) Reset()
- func (x *FirewallEgressRule) String() string
- type FirewallIngressRule
- func (*FirewallIngressRule) Descriptor() ([]byte, []int)deprecated
- func (x *FirewallIngressRule) GetComment() string
- func (x *FirewallIngressRule) GetFrom() []string
- func (x *FirewallIngressRule) GetPorts() []uint32
- func (x *FirewallIngressRule) GetProtocol() IPProtocol
- func (x *FirewallIngressRule) GetTo() []string
- func (*FirewallIngressRule) ProtoMessage()
- func (x *FirewallIngressRule) ProtoReflect() protoreflect.Message
- func (x *FirewallIngressRule) Reset()
- func (x *FirewallIngressRule) String() string
- type FirewallRules
- func (*FirewallRules) Descriptor() ([]byte, []int)deprecated
- func (x *FirewallRules) GetEgress() []*FirewallEgressRule
- func (x *FirewallRules) GetIngress() []*FirewallIngressRule
- func (*FirewallRules) ProtoMessage()
- func (x *FirewallRules) ProtoReflect() protoreflect.Message
- func (x *FirewallRules) Reset()
- func (x *FirewallRules) String() string
- type FirewallSpec
- 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 IPProtocol
- 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) GetMachine() 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) GetMachine() 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 (x *IPServiceUpdateRequest) GetUpdateMeta() *UpdateMeta
- 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 ImageConstraint
- func (*ImageConstraint) Descriptor() ([]byte, []int)deprecated
- func (x *ImageConstraint) GetImage() string
- func (x *ImageConstraint) GetSemverMatch() string
- func (*ImageConstraint) ProtoMessage()
- func (x *ImageConstraint) ProtoReflect() protoreflect.Message
- func (x *ImageConstraint) Reset()
- func (x *ImageConstraint) String() string
- 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) GetLabels() *Labels
- func (x *ImageQuery) GetName() string
- func (x *ImageQuery) GetOs() string
- func (x *ImageQuery) GetUrl() 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) GetClassification() ImageClassification
- 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 InfraPermissions
- type InfraRole
- type LVMType
- type Labels
- type LabelsPatch
- func (*LabelsPatch) Descriptor() ([]byte, []int)deprecated
- func (x *LabelsPatch) GetRemove() []string
- func (x *LabelsPatch) GetUpdate() *Labels
- func (*LabelsPatch) ProtoMessage()
- func (x *LabelsPatch) ProtoReflect() protoreflect.Message
- func (x *LabelsPatch) Reset()
- func (x *LabelsPatch) String() string
- 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 Machine
- func (*Machine) Descriptor() ([]byte, []int)deprecated
- func (x *Machine) GetAllocation() *MachineAllocation
- func (x *Machine) GetHardware() *MachineHardware
- func (x *Machine) GetMeta() *Meta
- func (x *Machine) GetPartition() *Partition
- func (x *Machine) GetRack() string
- func (x *Machine) GetRecentProvisioningEvents() *MachineRecentProvisioningEvents
- func (x *Machine) GetRoom() string
- func (x *Machine) GetSize() *Size
- func (x *Machine) GetStatus() *MachineStatus
- func (x *Machine) GetUuid() string
- func (*Machine) ProtoMessage()
- func (x *Machine) ProtoReflect() protoreflect.Message
- func (x *Machine) Reset()
- func (x *Machine) String() string
- type MachineAllocation
- func (*MachineAllocation) Descriptor() ([]byte, []int)deprecated
- func (x *MachineAllocation) GetAllocationType() MachineAllocationType
- func (x *MachineAllocation) GetCreatedBy() string
- func (x *MachineAllocation) GetDescription() string
- func (x *MachineAllocation) GetDnsServers() []*DNSServer
- func (x *MachineAllocation) GetFilesystemLayout() *FilesystemLayout
- func (x *MachineAllocation) GetFirewallRules() *FirewallRules
- func (x *MachineAllocation) GetHostname() string
- func (x *MachineAllocation) GetImage() *Image
- func (x *MachineAllocation) GetMeta() *Meta
- func (x *MachineAllocation) GetName() string
- func (x *MachineAllocation) GetNetworks() []*MachineNetwork
- func (x *MachineAllocation) GetNtpServers() []*NTPServer
- func (x *MachineAllocation) GetPlacementLabels() *Labels
- func (x *MachineAllocation) GetProject() string
- func (x *MachineAllocation) GetSshPublicKeys() []string
- func (x *MachineAllocation) GetUserdata() string
- func (x *MachineAllocation) GetUuid() string
- func (x *MachineAllocation) GetVpn() *MachineVPN
- func (*MachineAllocation) ProtoMessage()
- func (x *MachineAllocation) ProtoReflect() protoreflect.Message
- func (x *MachineAllocation) Reset()
- func (x *MachineAllocation) String() string
- type MachineAllocationNetwork
- func (*MachineAllocationNetwork) Descriptor() ([]byte, []int)deprecated
- func (x *MachineAllocationNetwork) GetIps() []string
- func (x *MachineAllocationNetwork) GetNetwork() string
- func (*MachineAllocationNetwork) ProtoMessage()
- func (x *MachineAllocationNetwork) ProtoReflect() protoreflect.Message
- func (x *MachineAllocationNetwork) Reset()
- func (x *MachineAllocationNetwork) String() string
- type MachineAllocationQuery
- func (*MachineAllocationQuery) Descriptor() ([]byte, []int)deprecated
- func (x *MachineAllocationQuery) GetAllocationType() MachineAllocationType
- func (x *MachineAllocationQuery) GetFilesystemLayout() string
- func (x *MachineAllocationQuery) GetHostname() string
- func (x *MachineAllocationQuery) GetImage() string
- func (x *MachineAllocationQuery) GetLabels() *Labels
- func (x *MachineAllocationQuery) GetName() string
- func (x *MachineAllocationQuery) GetProject() string
- func (x *MachineAllocationQuery) GetUuid() string
- func (x *MachineAllocationQuery) GetVpn() *MachineVPN
- func (*MachineAllocationQuery) ProtoMessage()
- func (x *MachineAllocationQuery) ProtoReflect() protoreflect.Message
- func (x *MachineAllocationQuery) Reset()
- func (x *MachineAllocationQuery) String() string
- type MachineAllocationType
- func (MachineAllocationType) Descriptor() protoreflect.EnumDescriptor
- func (x MachineAllocationType) Enum() *MachineAllocationType
- func (MachineAllocationType) EnumDescriptor() ([]byte, []int)deprecated
- func (x MachineAllocationType) Number() protoreflect.EnumNumber
- func (x MachineAllocationType) String() string
- func (MachineAllocationType) Type() protoreflect.EnumType
- type MachineBMC
- func (*MachineBMC) Descriptor() ([]byte, []int)deprecated
- func (x *MachineBMC) GetAddress() string
- func (x *MachineBMC) GetInterface() string
- func (x *MachineBMC) GetMac() string
- func (x *MachineBMC) GetPassword() string
- func (x *MachineBMC) GetPowerState() string
- func (x *MachineBMC) GetUser() string
- func (x *MachineBMC) GetVersion() string
- func (*MachineBMC) ProtoMessage()
- func (x *MachineBMC) ProtoReflect() protoreflect.Message
- func (x *MachineBMC) Reset()
- func (x *MachineBMC) String() string
- type MachineBMCCommand
- func (MachineBMCCommand) Descriptor() protoreflect.EnumDescriptor
- func (x MachineBMCCommand) Enum() *MachineBMCCommand
- func (MachineBMCCommand) EnumDescriptor() ([]byte, []int)deprecated
- func (x MachineBMCCommand) Number() protoreflect.EnumNumber
- func (x MachineBMCCommand) String() string
- func (MachineBMCCommand) Type() protoreflect.EnumType
- type MachineBMCDetails
- func (*MachineBMCDetails) Descriptor() ([]byte, []int)deprecated
- func (x *MachineBMCDetails) GetBmcReport() *MachineBMCReport
- func (x *MachineBMCDetails) GetPartition() string
- func (x *MachineBMCDetails) GetRack() string
- func (x *MachineBMCDetails) GetRoom() string
- func (x *MachineBMCDetails) GetSize() string
- func (x *MachineBMCDetails) GetUuid() string
- func (*MachineBMCDetails) ProtoMessage()
- func (x *MachineBMCDetails) ProtoReflect() protoreflect.Message
- func (x *MachineBMCDetails) Reset()
- func (x *MachineBMCDetails) String() string
- type MachineBMCQuery
- func (*MachineBMCQuery) Descriptor() ([]byte, []int)deprecated
- func (x *MachineBMCQuery) GetAddress() string
- func (x *MachineBMCQuery) GetInterface() string
- func (x *MachineBMCQuery) GetMac() string
- func (x *MachineBMCQuery) GetUser() string
- func (*MachineBMCQuery) ProtoMessage()
- func (x *MachineBMCQuery) ProtoReflect() protoreflect.Message
- func (x *MachineBMCQuery) Reset()
- func (x *MachineBMCQuery) String() string
- type MachineBMCReport
- func (*MachineBMCReport) Descriptor() ([]byte, []int)deprecated
- func (x *MachineBMCReport) GetBios() *MachineBios
- func (x *MachineBMCReport) GetBmc() *MachineBMC
- func (x *MachineBMCReport) GetFru() *MachineFRU
- func (x *MachineBMCReport) GetLedState() *MachineChassisIdentifyLEDState
- func (x *MachineBMCReport) GetPowerMetric() *MachinePowerMetric
- func (x *MachineBMCReport) GetPowerSupplies() []*MachinePowerSupply
- func (x *MachineBMCReport) GetUpdatedAt() *timestamppb.Timestamp
- func (x *MachineBMCReport) GetUuid() string
- func (*MachineBMCReport) ProtoMessage()
- func (x *MachineBMCReport) ProtoReflect() protoreflect.Message
- func (x *MachineBMCReport) Reset()
- func (x *MachineBMCReport) String() string
- type MachineBios
- func (*MachineBios) Descriptor() ([]byte, []int)deprecated
- func (x *MachineBios) GetDate() string
- func (x *MachineBios) GetVendor() string
- func (x *MachineBios) GetVersion() string
- func (*MachineBios) ProtoMessage()
- func (x *MachineBios) ProtoReflect() protoreflect.Message
- func (x *MachineBios) Reset()
- func (x *MachineBios) String() string
- type MachineBlockDevice
- func (*MachineBlockDevice) Descriptor() ([]byte, []int)deprecated
- func (x *MachineBlockDevice) GetName() string
- func (x *MachineBlockDevice) GetSize() uint64
- func (*MachineBlockDevice) ProtoMessage()
- func (x *MachineBlockDevice) ProtoReflect() protoreflect.Message
- func (x *MachineBlockDevice) Reset()
- func (x *MachineBlockDevice) String() string
- type MachineChassisIdentifyLEDState
- func (*MachineChassisIdentifyLEDState) Descriptor() ([]byte, []int)deprecated
- func (x *MachineChassisIdentifyLEDState) GetDescription() string
- func (x *MachineChassisIdentifyLEDState) GetValue() string
- func (*MachineChassisIdentifyLEDState) ProtoMessage()
- func (x *MachineChassisIdentifyLEDState) ProtoReflect() protoreflect.Message
- func (x *MachineChassisIdentifyLEDState) Reset()
- func (x *MachineChassisIdentifyLEDState) String() string
- type MachineCondition
- func (*MachineCondition) Descriptor() ([]byte, []int)deprecated
- func (x *MachineCondition) GetDescription() string
- func (x *MachineCondition) GetIssuer() string
- func (x *MachineCondition) GetState() MachineState
- func (*MachineCondition) ProtoMessage()
- func (x *MachineCondition) ProtoReflect() protoreflect.Message
- func (x *MachineCondition) Reset()
- func (x *MachineCondition) String() string
- type MachineConnection
- func (*MachineConnection) Descriptor() ([]byte, []int)deprecated
- func (x *MachineConnection) GetMachineId() string
- func (x *MachineConnection) GetNic() *SwitchNic
- func (*MachineConnection) ProtoMessage()
- func (x *MachineConnection) ProtoReflect() protoreflect.Message
- func (x *MachineConnection) Reset()
- func (x *MachineConnection) String() string
- type MachineDiskQuery
- func (*MachineDiskQuery) Descriptor() ([]byte, []int)deprecated
- func (x *MachineDiskQuery) GetNames() []string
- func (x *MachineDiskQuery) GetSizes() []uint64
- func (*MachineDiskQuery) ProtoMessage()
- func (x *MachineDiskQuery) ProtoReflect() protoreflect.Message
- func (x *MachineDiskQuery) Reset()
- func (x *MachineDiskQuery) String() string
- type MachineFRU
- func (*MachineFRU) Descriptor() ([]byte, []int)deprecated
- func (x *MachineFRU) GetBoardMfg() string
- func (x *MachineFRU) GetBoardMfgSerial() string
- func (x *MachineFRU) GetBoardPartNumber() string
- func (x *MachineFRU) GetChassisPartNumber() string
- func (x *MachineFRU) GetChassisPartSerial() string
- func (x *MachineFRU) GetProductManufacturer() string
- func (x *MachineFRU) GetProductPartNumber() string
- func (x *MachineFRU) GetProductSerial() string
- func (*MachineFRU) ProtoMessage()
- func (x *MachineFRU) ProtoReflect() protoreflect.Message
- func (x *MachineFRU) Reset()
- func (x *MachineFRU) String() string
- type MachineFRUQuery
- func (*MachineFRUQuery) Descriptor() ([]byte, []int)deprecated
- func (x *MachineFRUQuery) GetBoardMfg() string
- func (x *MachineFRUQuery) GetBoardPartNumber() string
- func (x *MachineFRUQuery) GetBoardSerial() string
- func (x *MachineFRUQuery) GetChassisPartNumber() string
- func (x *MachineFRUQuery) GetChassisPartSerial() string
- func (x *MachineFRUQuery) GetProductManufacturer() string
- func (x *MachineFRUQuery) GetProductPartNumber() string
- func (x *MachineFRUQuery) GetProductSerial() string
- func (*MachineFRUQuery) ProtoMessage()
- func (x *MachineFRUQuery) ProtoReflect() protoreflect.Message
- func (x *MachineFRUQuery) Reset()
- func (x *MachineFRUQuery) String() string
- type MachineHardware
- func (*MachineHardware) Descriptor() ([]byte, []int)deprecated
- func (x *MachineHardware) GetCpus() []*MetalCPU
- func (x *MachineHardware) GetDisks() []*MachineBlockDevice
- func (x *MachineHardware) GetGpus() []*MetalGPU
- func (x *MachineHardware) GetMemory() uint64
- func (x *MachineHardware) GetNics() []*MachineNic
- func (*MachineHardware) ProtoMessage()
- func (x *MachineHardware) ProtoReflect() protoreflect.Message
- func (x *MachineHardware) Reset()
- func (x *MachineHardware) String() string
- type MachineHardwareQuery
- func (*MachineHardwareQuery) Descriptor() ([]byte, []int)deprecated
- func (x *MachineHardwareQuery) GetCpuCores() uint32
- func (x *MachineHardwareQuery) GetMemory() uint64
- func (*MachineHardwareQuery) ProtoMessage()
- func (x *MachineHardwareQuery) ProtoReflect() protoreflect.Message
- func (x *MachineHardwareQuery) Reset()
- func (x *MachineHardwareQuery) String() string
- type MachineIssue
- func (*MachineIssue) Descriptor() ([]byte, []int)deprecated
- func (x *MachineIssue) GetDescription() string
- func (x *MachineIssue) GetDetails() string
- func (x *MachineIssue) GetReferenceUrl() string
- func (x *MachineIssue) GetSeverity() MachineIssueSeverity
- func (x *MachineIssue) GetType() MachineIssueType
- func (*MachineIssue) ProtoMessage()
- func (x *MachineIssue) ProtoReflect() protoreflect.Message
- func (x *MachineIssue) Reset()
- func (x *MachineIssue) String() string
- type MachineIssueSeverity
- func (MachineIssueSeverity) Descriptor() protoreflect.EnumDescriptor
- func (x MachineIssueSeverity) Enum() *MachineIssueSeverity
- func (MachineIssueSeverity) EnumDescriptor() ([]byte, []int)deprecated
- func (x MachineIssueSeverity) Number() protoreflect.EnumNumber
- func (x MachineIssueSeverity) String() string
- func (MachineIssueSeverity) Type() protoreflect.EnumType
- type MachineIssueType
- func (MachineIssueType) Descriptor() protoreflect.EnumDescriptor
- func (x MachineIssueType) Enum() *MachineIssueType
- func (MachineIssueType) EnumDescriptor() ([]byte, []int)deprecated
- func (x MachineIssueType) Number() protoreflect.EnumNumber
- func (x MachineIssueType) String() string
- func (MachineIssueType) Type() protoreflect.EnumType
- type MachineIssues
- func (*MachineIssues) Descriptor() ([]byte, []int)deprecated
- func (x *MachineIssues) GetIssues() []*MachineIssue
- func (x *MachineIssues) GetUuid() string
- func (*MachineIssues) ProtoMessage()
- func (x *MachineIssues) ProtoReflect() protoreflect.Message
- func (x *MachineIssues) Reset()
- func (x *MachineIssues) String() string
- type MachineIssuesQuery
- func (*MachineIssuesQuery) Descriptor() ([]byte, []int)deprecated
- func (x *MachineIssuesQuery) GetLastErrorThreshold() *durationpb.Duration
- func (x *MachineIssuesQuery) GetMachineQuery() *MachineQuery
- func (x *MachineIssuesQuery) GetOmit() []MachineIssueType
- func (x *MachineIssuesQuery) GetOnly() []MachineIssueType
- func (x *MachineIssuesQuery) GetSeverity() MachineIssueSeverity
- func (*MachineIssuesQuery) ProtoMessage()
- func (x *MachineIssuesQuery) ProtoReflect() protoreflect.Message
- func (x *MachineIssuesQuery) Reset()
- func (x *MachineIssuesQuery) String() string
- type MachineLiveliness
- func (MachineLiveliness) Descriptor() protoreflect.EnumDescriptor
- func (x MachineLiveliness) Enum() *MachineLiveliness
- func (MachineLiveliness) EnumDescriptor() ([]byte, []int)deprecated
- func (x MachineLiveliness) Number() protoreflect.EnumNumber
- func (x MachineLiveliness) String() string
- func (MachineLiveliness) Type() protoreflect.EnumType
- type MachineNetwork
- func (*MachineNetwork) Descriptor() ([]byte, []int)deprecated
- func (x *MachineNetwork) GetAsn() uint32
- func (x *MachineNetwork) GetDestinationPrefixes() []string
- func (x *MachineNetwork) GetIps() []string
- func (x *MachineNetwork) GetNatType() NATType
- func (x *MachineNetwork) GetNetwork() string
- func (x *MachineNetwork) GetNetworkType() NetworkType
- func (x *MachineNetwork) GetPrefixes() []string
- func (x *MachineNetwork) GetProject() string
- func (x *MachineNetwork) GetVrf() uint64
- func (*MachineNetwork) ProtoMessage()
- func (x *MachineNetwork) ProtoReflect() protoreflect.Message
- func (x *MachineNetwork) Reset()
- func (x *MachineNetwork) String() string
- type MachineNetworkQuery
- func (*MachineNetworkQuery) Descriptor() ([]byte, []int)deprecated
- func (x *MachineNetworkQuery) GetAsns() []uint32
- func (x *MachineNetworkQuery) GetDestinationPrefixes() []string
- func (x *MachineNetworkQuery) GetIps() []string
- func (x *MachineNetworkQuery) GetNetworks() []string
- func (x *MachineNetworkQuery) GetPrefixes() []string
- func (x *MachineNetworkQuery) GetVrfs() []uint64
- func (*MachineNetworkQuery) ProtoMessage()
- func (x *MachineNetworkQuery) ProtoReflect() protoreflect.Message
- func (x *MachineNetworkQuery) Reset()
- func (x *MachineNetworkQuery) String() string
- type MachineNic
- func (*MachineNic) Descriptor() ([]byte, []int)deprecated
- func (x *MachineNic) GetHostname() string
- func (x *MachineNic) GetIdentifier() string
- func (x *MachineNic) GetMac() string
- func (x *MachineNic) GetModel() string
- func (x *MachineNic) GetName() string
- func (x *MachineNic) GetNeighbors() []*MachineNic
- func (x *MachineNic) GetSpeed() uint64
- func (x *MachineNic) GetVendor() string
- func (*MachineNic) ProtoMessage()
- func (x *MachineNic) ProtoReflect() protoreflect.Message
- func (x *MachineNic) Reset()
- func (x *MachineNic) String() string
- type MachineNicQuery
- func (*MachineNicQuery) Descriptor() ([]byte, []int)deprecated
- func (x *MachineNicQuery) GetMacs() []string
- func (x *MachineNicQuery) GetNames() []string
- func (x *MachineNicQuery) GetNeighborMacs() []string
- func (x *MachineNicQuery) GetNeighborNames() []string
- func (*MachineNicQuery) ProtoMessage()
- func (x *MachineNicQuery) ProtoReflect() protoreflect.Message
- func (x *MachineNicQuery) Reset()
- func (x *MachineNicQuery) String() string
- type MachinePermissions
- func (*MachinePermissions) Descriptor() ([]byte, []int)deprecated
- func (x *MachinePermissions) GetMethods() []string
- func (x *MachinePermissions) GetUuid() string
- func (*MachinePermissions) ProtoMessage()
- func (x *MachinePermissions) ProtoReflect() protoreflect.Message
- func (x *MachinePermissions) Reset()
- func (x *MachinePermissions) String() string
- type MachinePowerMetric
- func (*MachinePowerMetric) Descriptor() ([]byte, []int)deprecated
- func (x *MachinePowerMetric) GetAverageConsumedWatts() float32
- func (x *MachinePowerMetric) GetIntervalInMin() float32
- func (x *MachinePowerMetric) GetMaxConsumedWatts() float32
- func (x *MachinePowerMetric) GetMinConsumedWatts() float32
- func (*MachinePowerMetric) ProtoMessage()
- func (x *MachinePowerMetric) ProtoReflect() protoreflect.Message
- func (x *MachinePowerMetric) Reset()
- func (x *MachinePowerMetric) String() string
- type MachinePowerSupply
- func (*MachinePowerSupply) Descriptor() ([]byte, []int)deprecated
- func (x *MachinePowerSupply) GetHealth() string
- func (x *MachinePowerSupply) GetState() string
- func (*MachinePowerSupply) ProtoMessage()
- func (x *MachinePowerSupply) ProtoReflect() protoreflect.Message
- func (x *MachinePowerSupply) Reset()
- func (x *MachinePowerSupply) String() string
- type MachineProvisioningEvent
- func (*MachineProvisioningEvent) Descriptor() ([]byte, []int)deprecated
- func (x *MachineProvisioningEvent) GetEvent() MachineProvisioningEventType
- func (x *MachineProvisioningEvent) GetMessage() string
- func (x *MachineProvisioningEvent) GetTime() *timestamppb.Timestamp
- func (*MachineProvisioningEvent) ProtoMessage()
- func (x *MachineProvisioningEvent) ProtoReflect() protoreflect.Message
- func (x *MachineProvisioningEvent) Reset()
- func (x *MachineProvisioningEvent) String() string
- type MachineProvisioningEventState
- func (MachineProvisioningEventState) Descriptor() protoreflect.EnumDescriptor
- func (x MachineProvisioningEventState) Enum() *MachineProvisioningEventState
- func (MachineProvisioningEventState) EnumDescriptor() ([]byte, []int)deprecated
- func (x MachineProvisioningEventState) Number() protoreflect.EnumNumber
- func (x MachineProvisioningEventState) String() string
- func (MachineProvisioningEventState) Type() protoreflect.EnumType
- type MachineProvisioningEventType
- func (MachineProvisioningEventType) Descriptor() protoreflect.EnumDescriptor
- func (x MachineProvisioningEventType) Enum() *MachineProvisioningEventType
- func (MachineProvisioningEventType) EnumDescriptor() ([]byte, []int)deprecated
- func (x MachineProvisioningEventType) Number() protoreflect.EnumNumber
- func (x MachineProvisioningEventType) String() string
- func (MachineProvisioningEventType) Type() protoreflect.EnumType
- type MachineQuery
- func (*MachineQuery) Descriptor() ([]byte, []int)deprecated
- func (x *MachineQuery) GetAllocation() *MachineAllocationQuery
- func (x *MachineQuery) GetBmc() *MachineBMCQuery
- func (x *MachineQuery) GetDisk() *MachineDiskQuery
- func (x *MachineQuery) GetFru() *MachineFRUQuery
- func (x *MachineQuery) GetHardware() *MachineHardwareQuery
- func (x *MachineQuery) GetLabels() *Labels
- func (x *MachineQuery) GetName() string
- func (x *MachineQuery) GetNetwork() *MachineNetworkQuery
- func (x *MachineQuery) GetNic() *MachineNicQuery
- func (x *MachineQuery) GetNotAllocated() bool
- func (x *MachineQuery) GetPartition() string
- func (x *MachineQuery) GetPreallocated() bool
- func (x *MachineQuery) GetRack() string
- func (x *MachineQuery) GetRoom() string
- func (x *MachineQuery) GetSize() string
- func (x *MachineQuery) GetState() MachineState
- func (x *MachineQuery) GetUuid() string
- func (x *MachineQuery) GetWaiting() bool
- func (*MachineQuery) ProtoMessage()
- func (x *MachineQuery) ProtoReflect() protoreflect.Message
- func (x *MachineQuery) Reset()
- func (x *MachineQuery) String() string
- type MachineRecentProvisioningEvents
- func (*MachineRecentProvisioningEvents) Descriptor() ([]byte, []int)deprecated
- func (x *MachineRecentProvisioningEvents) GetEvents() []*MachineProvisioningEvent
- func (x *MachineRecentProvisioningEvents) GetLastErrorEvent() *MachineProvisioningEvent
- func (x *MachineRecentProvisioningEvents) GetLastEventTime() *timestamppb.Timestamp
- func (x *MachineRecentProvisioningEvents) GetState() MachineProvisioningEventState
- func (*MachineRecentProvisioningEvents) ProtoMessage()
- func (x *MachineRecentProvisioningEvents) ProtoReflect() protoreflect.Message
- func (x *MachineRecentProvisioningEvents) Reset()
- func (x *MachineRecentProvisioningEvents) String() string
- type MachineRole
- func (MachineRole) Descriptor() protoreflect.EnumDescriptor
- func (x MachineRole) Enum() *MachineRole
- func (MachineRole) EnumDescriptor() ([]byte, []int)deprecated
- func (x MachineRole) Number() protoreflect.EnumNumber
- func (x MachineRole) String() string
- func (MachineRole) Type() protoreflect.EnumType
- type MachineServiceBMCCommandRequest
- func (*MachineServiceBMCCommandRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MachineServiceBMCCommandRequest) GetCommand() MachineBMCCommand
- func (x *MachineServiceBMCCommandRequest) GetProject() string
- func (x *MachineServiceBMCCommandRequest) GetUuid() string
- func (*MachineServiceBMCCommandRequest) ProtoMessage()
- func (x *MachineServiceBMCCommandRequest) ProtoReflect() protoreflect.Message
- func (x *MachineServiceBMCCommandRequest) Reset()
- func (x *MachineServiceBMCCommandRequest) String() string
- type MachineServiceBMCCommandResponse
- func (*MachineServiceBMCCommandResponse) Descriptor() ([]byte, []int)deprecated
- func (*MachineServiceBMCCommandResponse) ProtoMessage()
- func (x *MachineServiceBMCCommandResponse) ProtoReflect() protoreflect.Message
- func (x *MachineServiceBMCCommandResponse) Reset()
- func (x *MachineServiceBMCCommandResponse) String() string
- type MachineServiceCreateRequest
- func (*MachineServiceCreateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MachineServiceCreateRequest) GetAllocationType() MachineAllocationType
- func (x *MachineServiceCreateRequest) GetDescription() string
- func (x *MachineServiceCreateRequest) GetDnsServers() []*DNSServer
- func (x *MachineServiceCreateRequest) GetFilesystemLayout() string
- func (x *MachineServiceCreateRequest) GetFirewallSpec() *FirewallSpec
- func (x *MachineServiceCreateRequest) GetHostname() string
- func (x *MachineServiceCreateRequest) GetImage() string
- func (x *MachineServiceCreateRequest) GetLabels() *Labels
- func (x *MachineServiceCreateRequest) GetName() string
- func (x *MachineServiceCreateRequest) GetNetworks() []*MachineAllocationNetwork
- func (x *MachineServiceCreateRequest) GetNtpServers() []*NTPServer
- func (x *MachineServiceCreateRequest) GetPartition() string
- func (x *MachineServiceCreateRequest) GetPlacementLabels() *Labels
- func (x *MachineServiceCreateRequest) GetProject() string
- func (x *MachineServiceCreateRequest) GetSize() string
- func (x *MachineServiceCreateRequest) GetSshPublicKeys() []string
- func (x *MachineServiceCreateRequest) GetUserdata() string
- func (x *MachineServiceCreateRequest) GetUuid() string
- func (*MachineServiceCreateRequest) ProtoMessage()
- func (x *MachineServiceCreateRequest) ProtoReflect() protoreflect.Message
- func (x *MachineServiceCreateRequest) Reset()
- func (x *MachineServiceCreateRequest) String() string
- type MachineServiceCreateResponse
- func (*MachineServiceCreateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MachineServiceCreateResponse) GetMachine() *Machine
- func (*MachineServiceCreateResponse) ProtoMessage()
- func (x *MachineServiceCreateResponse) ProtoReflect() protoreflect.Message
- func (x *MachineServiceCreateResponse) Reset()
- func (x *MachineServiceCreateResponse) String() string
- type MachineServiceDeleteRequest
- func (*MachineServiceDeleteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MachineServiceDeleteRequest) GetProject() string
- func (x *MachineServiceDeleteRequest) GetUuid() string
- func (*MachineServiceDeleteRequest) ProtoMessage()
- func (x *MachineServiceDeleteRequest) ProtoReflect() protoreflect.Message
- func (x *MachineServiceDeleteRequest) Reset()
- func (x *MachineServiceDeleteRequest) String() string
- type MachineServiceDeleteResponse
- func (*MachineServiceDeleteResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MachineServiceDeleteResponse) GetMachine() *Machine
- func (*MachineServiceDeleteResponse) ProtoMessage()
- func (x *MachineServiceDeleteResponse) ProtoReflect() protoreflect.Message
- func (x *MachineServiceDeleteResponse) Reset()
- func (x *MachineServiceDeleteResponse) String() string
- type MachineServiceGetBMCRequest
- func (*MachineServiceGetBMCRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MachineServiceGetBMCRequest) GetProject() string
- func (x *MachineServiceGetBMCRequest) GetUuid() string
- func (*MachineServiceGetBMCRequest) ProtoMessage()
- func (x *MachineServiceGetBMCRequest) ProtoReflect() protoreflect.Message
- func (x *MachineServiceGetBMCRequest) Reset()
- func (x *MachineServiceGetBMCRequest) String() string
- type MachineServiceGetBMCResponse
- func (*MachineServiceGetBMCResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MachineServiceGetBMCResponse) GetBmcDetails() *MachineBMCDetails
- func (*MachineServiceGetBMCResponse) ProtoMessage()
- func (x *MachineServiceGetBMCResponse) ProtoReflect() protoreflect.Message
- func (x *MachineServiceGetBMCResponse) Reset()
- func (x *MachineServiceGetBMCResponse) String() string
- type MachineServiceGetRequest
- func (*MachineServiceGetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MachineServiceGetRequest) GetProject() string
- func (x *MachineServiceGetRequest) GetUuid() string
- func (*MachineServiceGetRequest) ProtoMessage()
- func (x *MachineServiceGetRequest) ProtoReflect() protoreflect.Message
- func (x *MachineServiceGetRequest) Reset()
- func (x *MachineServiceGetRequest) String() string
- type MachineServiceGetResponse
- func (*MachineServiceGetResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MachineServiceGetResponse) GetMachine() *Machine
- func (*MachineServiceGetResponse) ProtoMessage()
- func (x *MachineServiceGetResponse) ProtoReflect() protoreflect.Message
- func (x *MachineServiceGetResponse) Reset()
- func (x *MachineServiceGetResponse) String() string
- type MachineServiceListRequest
- func (*MachineServiceListRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MachineServiceListRequest) GetProject() string
- func (x *MachineServiceListRequest) GetQuery() *MachineQuery
- func (*MachineServiceListRequest) ProtoMessage()
- func (x *MachineServiceListRequest) ProtoReflect() protoreflect.Message
- func (x *MachineServiceListRequest) Reset()
- func (x *MachineServiceListRequest) String() string
- type MachineServiceListResponse
- func (*MachineServiceListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MachineServiceListResponse) GetMachines() []*Machine
- func (*MachineServiceListResponse) ProtoMessage()
- func (x *MachineServiceListResponse) ProtoReflect() protoreflect.Message
- func (x *MachineServiceListResponse) Reset()
- func (x *MachineServiceListResponse) String() string
- type MachineServiceUpdateRequest
- func (*MachineServiceUpdateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MachineServiceUpdateRequest) GetDescription() string
- func (x *MachineServiceUpdateRequest) GetLabels() *UpdateLabels
- func (x *MachineServiceUpdateRequest) GetProject() string
- func (x *MachineServiceUpdateRequest) GetSshPublicKeys() []string
- func (x *MachineServiceUpdateRequest) GetUpdateMeta() *UpdateMeta
- func (x *MachineServiceUpdateRequest) GetUuid() string
- func (*MachineServiceUpdateRequest) ProtoMessage()
- func (x *MachineServiceUpdateRequest) ProtoReflect() protoreflect.Message
- func (x *MachineServiceUpdateRequest) Reset()
- func (x *MachineServiceUpdateRequest) String() string
- type MachineServiceUpdateResponse
- func (*MachineServiceUpdateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MachineServiceUpdateResponse) GetMachine() *Machine
- func (*MachineServiceUpdateResponse) ProtoMessage()
- func (x *MachineServiceUpdateResponse) ProtoReflect() protoreflect.Message
- func (x *MachineServiceUpdateResponse) Reset()
- func (x *MachineServiceUpdateResponse) String() string
- type MachineState
- func (MachineState) Descriptor() protoreflect.EnumDescriptor
- func (x MachineState) Enum() *MachineState
- func (MachineState) EnumDescriptor() ([]byte, []int)deprecated
- func (x MachineState) Number() protoreflect.EnumNumber
- func (x MachineState) String() string
- func (MachineState) Type() protoreflect.EnumType
- type MachineStatus
- func (*MachineStatus) Descriptor() ([]byte, []int)deprecated
- func (x *MachineStatus) GetCondition() *MachineCondition
- func (x *MachineStatus) GetLedState() *MachineChassisIdentifyLEDState
- func (x *MachineStatus) GetLiveliness() MachineLiveliness
- func (x *MachineStatus) GetMetalHammerVersion() string
- func (*MachineStatus) ProtoMessage()
- func (x *MachineStatus) ProtoReflect() protoreflect.Message
- func (x *MachineStatus) Reset()
- func (x *MachineStatus) String() string
- type MachineVPN
- func (*MachineVPN) Descriptor() ([]byte, []int)deprecated
- func (x *MachineVPN) GetAuthKey() string
- func (x *MachineVPN) GetConnected() bool
- func (x *MachineVPN) GetControlPlaneAddress() string
- func (x *MachineVPN) GetIps() []string
- func (*MachineVPN) ProtoMessage()
- func (x *MachineVPN) ProtoReflect() protoreflect.Message
- func (x *MachineVPN) Reset()
- func (x *MachineVPN) String() string
- type Meta
- func (*Meta) Descriptor() ([]byte, []int)deprecated
- func (x *Meta) GetCreatedAt() *timestamppb.Timestamp
- func (x *Meta) GetDeletionTaskId() string
- func (x *Meta) GetGeneration() uint64
- 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 MetalCPU
- func (*MetalCPU) Descriptor() ([]byte, []int)deprecated
- func (x *MetalCPU) GetCores() uint32
- func (x *MetalCPU) GetModel() string
- func (x *MetalCPU) GetThreads() uint32
- func (x *MetalCPU) GetVendor() string
- func (*MetalCPU) ProtoMessage()
- func (x *MetalCPU) ProtoReflect() protoreflect.Message
- func (x *MetalCPU) Reset()
- func (x *MetalCPU) String() string
- type MetalGPU
- 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) GetInfraRole() InfraRole
- func (x *MethodServiceTokenScopedListResponse) GetMachineRoles() map[string]MachineRole
- 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) GetParentNetwork() 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) GetParentNetwork() 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) GetParentNetwork() 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 (x *NetworkServiceUpdateRequest) GetUpdateMeta() *UpdateMeta
- 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 NicState
- func (*NicState) Descriptor() ([]byte, []int)deprecated
- func (x *NicState) GetActual() SwitchPortStatus
- func (x *NicState) GetDesired() SwitchPortStatus
- func (*NicState) ProtoMessage()
- func (x *NicState) ProtoReflect() protoreflect.Message
- func (x *NicState) Reset()
- func (x *NicState) String() string
- type OptimisticLockingStrategy
- func (OptimisticLockingStrategy) Descriptor() protoreflect.EnumDescriptor
- func (x OptimisticLockingStrategy) Enum() *OptimisticLockingStrategy
- func (OptimisticLockingStrategy) EnumDescriptor() ([]byte, []int)deprecated
- func (x OptimisticLockingStrategy) Number() protoreflect.EnumNumber
- func (x OptimisticLockingStrategy) String() string
- func (OptimisticLockingStrategy) Type() protoreflect.EnumType
- type Paging
- type Partition
- func (*Partition) Descriptor() ([]byte, []int)deprecated
- func (x *Partition) GetBootConfiguration() *PartitionBootConfiguration
- func (x *Partition) GetDescription() string
- func (x *Partition) GetDnsServers() []*DNSServer
- func (x *Partition) GetId() string
- func (x *Partition) GetMeta() *Meta
- func (x *Partition) GetMgmtServiceAddresses() []string
- func (x *Partition) GetNtpServers() []*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
- func (*PartitionQuery) Descriptor() ([]byte, []int)deprecated
- func (x *PartitionQuery) GetId() string
- func (x *PartitionQuery) GetLabels() *Labels
- func (*PartitionQuery) ProtoMessage()
- func (x *PartitionQuery) ProtoReflect() protoreflect.Message
- func (x *PartitionQuery) Reset()
- func (x *PartitionQuery) String() string
- 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 PermissionsByVisibility
- func (*PermissionsByVisibility) Descriptor() ([]byte, []int)deprecated
- func (x *PermissionsByVisibility) GetAdmin() *AdminPermissions
- func (x *PermissionsByVisibility) GetInfra() *InfraPermissions
- func (x *PermissionsByVisibility) GetMachine() *MachinePermissions
- func (x *PermissionsByVisibility) GetProject() *ProjectPermissions
- func (x *PermissionsByVisibility) GetPublic() *PublicPermissions
- func (x *PermissionsByVisibility) GetSelf() *SelfPermissions
- func (x *PermissionsByVisibility) GetTenant() *TenantPermissions
- func (x *PermissionsByVisibility) GetVisibility() isPermissionsByVisibility_Visibility
- func (*PermissionsByVisibility) ProtoMessage()
- func (x *PermissionsByVisibility) ProtoReflect() protoreflect.Message
- func (x *PermissionsByVisibility) Reset()
- func (x *PermissionsByVisibility) String() string
- type PermissionsByVisibility_Admin
- type PermissionsByVisibility_Infra
- type PermissionsByVisibility_Machine
- type PermissionsByVisibility_Project
- type PermissionsByVisibility_Public
- type PermissionsByVisibility_Self
- type PermissionsByVisibility_Tenant
- 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) GetMeta() *Meta
- func (x *ProjectMember) GetRole() ProjectRole
- func (*ProjectMember) ProtoMessage()
- func (x *ProjectMember) ProtoReflect() protoreflect.Message
- func (x *ProjectMember) Reset()
- func (x *ProjectMember) String() string
- type ProjectPermissions
- func (*ProjectPermissions) Descriptor() ([]byte, []int)deprecated
- func (x *ProjectPermissions) GetMethods() []string
- func (x *ProjectPermissions) GetProject() string
- func (*ProjectPermissions) ProtoMessage()
- func (x *ProjectPermissions) ProtoReflect() protoreflect.Message
- func (x *ProjectPermissions) Reset()
- func (x *ProjectPermissions) String() string
- type ProjectQuery
- func (*ProjectQuery) Descriptor() ([]byte, []int)deprecated
- func (x *ProjectQuery) GetLabels() *Labels
- func (x *ProjectQuery) GetName() string
- func (x *ProjectQuery) GetTenant() string
- func (x *ProjectQuery) GetUuid() string
- func (*ProjectQuery) ProtoMessage()
- func (x *ProjectQuery) ProtoReflect() protoreflect.Message
- func (x *ProjectQuery) Reset()
- func (x *ProjectQuery) 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 ProjectServiceAddMemberRequest
- func (*ProjectServiceAddMemberRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ProjectServiceAddMemberRequest) GetMember() string
- func (x *ProjectServiceAddMemberRequest) GetProject() string
- func (x *ProjectServiceAddMemberRequest) GetRole() ProjectRole
- func (*ProjectServiceAddMemberRequest) ProtoMessage()
- func (x *ProjectServiceAddMemberRequest) ProtoReflect() protoreflect.Message
- func (x *ProjectServiceAddMemberRequest) Reset()
- func (x *ProjectServiceAddMemberRequest) String() string
- type ProjectServiceAddMemberResponse
- func (*ProjectServiceAddMemberResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ProjectServiceAddMemberResponse) GetProjectMember() ProjectRole
- func (*ProjectServiceAddMemberResponse) ProtoMessage()
- func (x *ProjectServiceAddMemberResponse) ProtoReflect() protoreflect.Message
- func (x *ProjectServiceAddMemberResponse) Reset()
- func (x *ProjectServiceAddMemberResponse) String() string
- type ProjectServiceCreateRequest
- func (*ProjectServiceCreateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ProjectServiceCreateRequest) GetAvatarUrl() string
- func (x *ProjectServiceCreateRequest) GetDescription() string
- func (x *ProjectServiceCreateRequest) GetLabels() *Labels
- 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 ProjectServiceLeaveRequest
- func (*ProjectServiceLeaveRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ProjectServiceLeaveRequest) GetProject() string
- func (*ProjectServiceLeaveRequest) ProtoMessage()
- func (x *ProjectServiceLeaveRequest) ProtoReflect() protoreflect.Message
- func (x *ProjectServiceLeaveRequest) Reset()
- func (x *ProjectServiceLeaveRequest) String() string
- type ProjectServiceLeaveResponse
- type ProjectServiceListRequest
- func (*ProjectServiceListRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ProjectServiceListRequest) GetQuery() *ProjectQuery
- 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) GetMember() 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) GetMember() 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) GetLabels() *UpdateLabels
- func (x *ProjectServiceUpdateRequest) GetName() string
- func (x *ProjectServiceUpdateRequest) GetProject() string
- func (x *ProjectServiceUpdateRequest) GetUpdateMeta() *UpdateMeta
- 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 PublicPermissions
- 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 SelfPermissions
- 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 SizeImageConstraint
- func (*SizeImageConstraint) Descriptor() ([]byte, []int)deprecated
- func (x *SizeImageConstraint) GetDescription() string
- func (x *SizeImageConstraint) GetImageConstraints() []*ImageConstraint
- func (x *SizeImageConstraint) GetMeta() *Meta
- func (x *SizeImageConstraint) GetName() string
- func (x *SizeImageConstraint) GetSize() string
- func (*SizeImageConstraint) ProtoMessage()
- func (x *SizeImageConstraint) ProtoReflect() protoreflect.Message
- func (x *SizeImageConstraint) Reset()
- func (x *SizeImageConstraint) String() string
- type SizeImageConstraintQuery
- func (*SizeImageConstraintQuery) Descriptor() ([]byte, []int)deprecated
- func (x *SizeImageConstraintQuery) GetDescription() string
- func (x *SizeImageConstraintQuery) GetName() string
- func (x *SizeImageConstraintQuery) GetSize() string
- func (*SizeImageConstraintQuery) ProtoMessage()
- func (x *SizeImageConstraintQuery) ProtoReflect() protoreflect.Message
- func (x *SizeImageConstraintQuery) Reset()
- func (x *SizeImageConstraintQuery) String() string
- type SizeImageConstraintServiceTryRequest
- func (*SizeImageConstraintServiceTryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SizeImageConstraintServiceTryRequest) GetImage() string
- func (x *SizeImageConstraintServiceTryRequest) GetSize() string
- func (*SizeImageConstraintServiceTryRequest) ProtoMessage()
- func (x *SizeImageConstraintServiceTryRequest) ProtoReflect() protoreflect.Message
- func (x *SizeImageConstraintServiceTryRequest) Reset()
- func (x *SizeImageConstraintServiceTryRequest) String() string
- type SizeImageConstraintServiceTryResponse
- func (*SizeImageConstraintServiceTryResponse) Descriptor() ([]byte, []int)deprecated
- func (*SizeImageConstraintServiceTryResponse) ProtoMessage()
- func (x *SizeImageConstraintServiceTryResponse) ProtoReflect() protoreflect.Message
- func (x *SizeImageConstraintServiceTryResponse) Reset()
- func (x *SizeImageConstraintServiceTryResponse) String() string
- 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 SizeReservation
- func (*SizeReservation) Descriptor() ([]byte, []int)deprecated
- func (x *SizeReservation) GetAmount() int32
- func (x *SizeReservation) GetDescription() string
- func (x *SizeReservation) GetId() string
- func (x *SizeReservation) GetMeta() *Meta
- func (x *SizeReservation) GetName() string
- func (x *SizeReservation) GetPartitions() []string
- func (x *SizeReservation) GetProject() string
- func (x *SizeReservation) GetSize() string
- func (*SizeReservation) ProtoMessage()
- func (x *SizeReservation) ProtoReflect() protoreflect.Message
- func (x *SizeReservation) Reset()
- func (x *SizeReservation) String() string
- type SizeReservationQuery
- func (*SizeReservationQuery) Descriptor() ([]byte, []int)deprecated
- func (x *SizeReservationQuery) GetDescription() string
- func (x *SizeReservationQuery) GetId() string
- func (x *SizeReservationQuery) GetLabels() *Labels
- func (x *SizeReservationQuery) GetName() string
- func (x *SizeReservationQuery) GetPartition() string
- func (x *SizeReservationQuery) GetProject() string
- func (x *SizeReservationQuery) GetSize() string
- func (*SizeReservationQuery) ProtoMessage()
- func (x *SizeReservationQuery) ProtoReflect() protoreflect.Message
- func (x *SizeReservationQuery) Reset()
- func (x *SizeReservationQuery) String() string
- type SizeReservationServiceGetRequest
- func (*SizeReservationServiceGetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SizeReservationServiceGetRequest) GetId() string
- func (x *SizeReservationServiceGetRequest) GetProject() string
- func (*SizeReservationServiceGetRequest) ProtoMessage()
- func (x *SizeReservationServiceGetRequest) ProtoReflect() protoreflect.Message
- func (x *SizeReservationServiceGetRequest) Reset()
- func (x *SizeReservationServiceGetRequest) String() string
- type SizeReservationServiceGetResponse
- func (*SizeReservationServiceGetResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SizeReservationServiceGetResponse) GetSizeReservation() *SizeReservation
- func (*SizeReservationServiceGetResponse) ProtoMessage()
- func (x *SizeReservationServiceGetResponse) ProtoReflect() protoreflect.Message
- func (x *SizeReservationServiceGetResponse) Reset()
- func (x *SizeReservationServiceGetResponse) String() string
- type SizeReservationServiceListRequest
- func (*SizeReservationServiceListRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SizeReservationServiceListRequest) GetProject() string
- func (x *SizeReservationServiceListRequest) GetQuery() *SizeReservationQuery
- func (*SizeReservationServiceListRequest) ProtoMessage()
- func (x *SizeReservationServiceListRequest) ProtoReflect() protoreflect.Message
- func (x *SizeReservationServiceListRequest) Reset()
- func (x *SizeReservationServiceListRequest) String() string
- type SizeReservationServiceListResponse
- func (*SizeReservationServiceListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SizeReservationServiceListResponse) GetSizeReservations() []*SizeReservation
- func (*SizeReservationServiceListResponse) ProtoMessage()
- func (x *SizeReservationServiceListResponse) ProtoReflect() protoreflect.Message
- func (x *SizeReservationServiceListResponse) Reset()
- func (x *SizeReservationServiceListResponse) 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 Switch
- func (*Switch) Descriptor() ([]byte, []int)deprecated
- func (x *Switch) GetConsoleCommand() string
- func (x *Switch) GetDescription() string
- func (x *Switch) GetId() string
- func (x *Switch) GetLastSync() *SwitchSync
- func (x *Switch) GetLastSyncError() *SwitchSync
- func (x *Switch) GetMachineConnections() []*MachineConnection
- func (x *Switch) GetManagementIp() string
- func (x *Switch) GetManagementUser() string
- func (x *Switch) GetMeta() *Meta
- func (x *Switch) GetNics() []*SwitchNic
- func (x *Switch) GetOs() *SwitchOS
- func (x *Switch) GetPartition() string
- func (x *Switch) GetRack() string
- func (x *Switch) GetReplaceMode() SwitchReplaceMode
- func (x *Switch) GetRoom() string
- func (*Switch) ProtoMessage()
- func (x *Switch) ProtoReflect() protoreflect.Message
- func (x *Switch) Reset()
- func (x *Switch) String() string
- type SwitchBGPPortState
- func (*SwitchBGPPortState) Descriptor() ([]byte, []int)deprecated
- func (x *SwitchBGPPortState) GetAcceptedPrefixCounter() uint64
- func (x *SwitchBGPPortState) GetBgpState() BGPState
- func (x *SwitchBGPPortState) GetBgpTimerUpEstablished() *timestamppb.Timestamp
- func (x *SwitchBGPPortState) GetNeighbor() string
- func (x *SwitchBGPPortState) GetPeerGroup() string
- func (x *SwitchBGPPortState) GetSentPrefixCounter() uint64
- func (x *SwitchBGPPortState) GetVrfName() string
- func (*SwitchBGPPortState) ProtoMessage()
- func (x *SwitchBGPPortState) ProtoReflect() protoreflect.Message
- func (x *SwitchBGPPortState) Reset()
- func (x *SwitchBGPPortState) String() string
- type SwitchNic
- func (*SwitchNic) Descriptor() ([]byte, []int)deprecated
- func (x *SwitchNic) GetBgpFilter() *BGPFilter
- func (x *SwitchNic) GetBgpPortState() *SwitchBGPPortState
- func (x *SwitchNic) GetIdentifier() string
- func (x *SwitchNic) GetMac() string
- func (x *SwitchNic) GetName() string
- func (x *SwitchNic) GetState() *NicState
- func (x *SwitchNic) GetVrf() string
- func (*SwitchNic) ProtoMessage()
- func (x *SwitchNic) ProtoReflect() protoreflect.Message
- func (x *SwitchNic) Reset()
- func (x *SwitchNic) String() string
- type SwitchNicWithMachine
- func (*SwitchNicWithMachine) Descriptor() ([]byte, []int)deprecated
- func (x *SwitchNicWithMachine) GetFru() *MachineFRU
- func (x *SwitchNicWithMachine) GetMachine() *Machine
- func (x *SwitchNicWithMachine) GetNic() *SwitchNic
- func (*SwitchNicWithMachine) ProtoMessage()
- func (x *SwitchNicWithMachine) ProtoReflect() protoreflect.Message
- func (x *SwitchNicWithMachine) Reset()
- func (x *SwitchNicWithMachine) String() string
- type SwitchOS
- func (*SwitchOS) Descriptor() ([]byte, []int)deprecated
- func (x *SwitchOS) GetMetalCoreVersion() string
- func (x *SwitchOS) GetVendor() SwitchOSVendor
- func (x *SwitchOS) GetVersion() string
- func (*SwitchOS) ProtoMessage()
- func (x *SwitchOS) ProtoReflect() protoreflect.Message
- func (x *SwitchOS) Reset()
- func (x *SwitchOS) String() string
- type SwitchOSQuery
- func (*SwitchOSQuery) Descriptor() ([]byte, []int)deprecated
- func (x *SwitchOSQuery) GetVendor() SwitchOSVendor
- func (x *SwitchOSQuery) GetVersion() string
- func (*SwitchOSQuery) ProtoMessage()
- func (x *SwitchOSQuery) ProtoReflect() protoreflect.Message
- func (x *SwitchOSQuery) Reset()
- func (x *SwitchOSQuery) String() string
- type SwitchOSVendor
- func (SwitchOSVendor) Descriptor() protoreflect.EnumDescriptor
- func (x SwitchOSVendor) Enum() *SwitchOSVendor
- func (SwitchOSVendor) EnumDescriptor() ([]byte, []int)deprecated
- func (x SwitchOSVendor) Number() protoreflect.EnumNumber
- func (x SwitchOSVendor) String() string
- func (SwitchOSVendor) Type() protoreflect.EnumType
- type SwitchPortStatus
- func (SwitchPortStatus) Descriptor() protoreflect.EnumDescriptor
- func (x SwitchPortStatus) Enum() *SwitchPortStatus
- func (SwitchPortStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x SwitchPortStatus) Number() protoreflect.EnumNumber
- func (x SwitchPortStatus) String() string
- func (SwitchPortStatus) Type() protoreflect.EnumType
- type SwitchQuery
- func (*SwitchQuery) Descriptor() ([]byte, []int)deprecated
- func (x *SwitchQuery) GetConnectedMachineId() string
- func (x *SwitchQuery) GetId() string
- func (x *SwitchQuery) GetOs() *SwitchOSQuery
- func (x *SwitchQuery) GetPartition() string
- func (x *SwitchQuery) GetRack() string
- func (x *SwitchQuery) GetRoom() string
- func (*SwitchQuery) ProtoMessage()
- func (x *SwitchQuery) ProtoReflect() protoreflect.Message
- func (x *SwitchQuery) Reset()
- func (x *SwitchQuery) String() string
- type SwitchReplaceMode
- func (SwitchReplaceMode) Descriptor() protoreflect.EnumDescriptor
- func (x SwitchReplaceMode) Enum() *SwitchReplaceMode
- func (SwitchReplaceMode) EnumDescriptor() ([]byte, []int)deprecated
- func (x SwitchReplaceMode) Number() protoreflect.EnumNumber
- func (x SwitchReplaceMode) String() string
- func (SwitchReplaceMode) Type() protoreflect.EnumType
- type SwitchSync
- func (*SwitchSync) Descriptor() ([]byte, []int)deprecated
- func (x *SwitchSync) GetDuration() *durationpb.Duration
- func (x *SwitchSync) GetError() string
- func (x *SwitchSync) GetTime() *timestamppb.Timestamp
- func (*SwitchSync) ProtoMessage()
- func (x *SwitchSync) ProtoReflect() protoreflect.Message
- func (x *SwitchSync) Reset()
- func (x *SwitchSync) String() string
- type SwitchWithMachines
- func (*SwitchWithMachines) Descriptor() ([]byte, []int)deprecated
- func (x *SwitchWithMachines) GetConnections() []*SwitchNicWithMachine
- func (x *SwitchWithMachines) GetId() string
- func (x *SwitchWithMachines) GetPartition() string
- func (x *SwitchWithMachines) GetRack() string
- func (*SwitchWithMachines) ProtoMessage()
- func (x *SwitchWithMachines) ProtoReflect() protoreflect.Message
- func (x *SwitchWithMachines) Reset()
- func (x *SwitchWithMachines) 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) GetMeta() *Meta
- func (x *TenantMember) GetProjects() []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 TenantPermissions
- func (*TenantPermissions) Descriptor() ([]byte, []int)deprecated
- func (x *TenantPermissions) GetLogin() string
- func (x *TenantPermissions) GetMethods() []string
- func (*TenantPermissions) ProtoMessage()
- func (x *TenantPermissions) ProtoReflect() protoreflect.Message
- func (x *TenantPermissions) Reset()
- func (x *TenantPermissions) String() string
- type TenantQuery
- func (*TenantQuery) Descriptor() ([]byte, []int)deprecated
- func (x *TenantQuery) GetLabels() *Labels
- func (x *TenantQuery) GetLogin() string
- func (x *TenantQuery) GetName() string
- func (x *TenantQuery) GetPaging() *Paging
- func (*TenantQuery) ProtoMessage()
- func (x *TenantQuery) ProtoReflect() protoreflect.Message
- func (x *TenantQuery) Reset()
- func (x *TenantQuery) String() string
- type TenantRole
- type TenantServiceAddMemberRequest
- func (*TenantServiceAddMemberRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TenantServiceAddMemberRequest) GetLogin() string
- func (x *TenantServiceAddMemberRequest) GetMember() string
- func (x *TenantServiceAddMemberRequest) GetRole() TenantRole
- func (*TenantServiceAddMemberRequest) ProtoMessage()
- func (x *TenantServiceAddMemberRequest) ProtoReflect() protoreflect.Message
- func (x *TenantServiceAddMemberRequest) Reset()
- func (x *TenantServiceAddMemberRequest) String() string
- type TenantServiceAddMemberResponse
- func (*TenantServiceAddMemberResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TenantServiceAddMemberResponse) GetTenantMember() *TenantMember
- func (*TenantServiceAddMemberResponse) ProtoMessage()
- func (x *TenantServiceAddMemberResponse) ProtoReflect() protoreflect.Message
- func (x *TenantServiceAddMemberResponse) Reset()
- func (x *TenantServiceAddMemberResponse) String() string
- 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) GetLabels() *Labels
- func (x *TenantServiceCreateRequest) GetName() 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 TenantServiceLeaveRequest
- func (*TenantServiceLeaveRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TenantServiceLeaveRequest) GetLogin() string
- func (*TenantServiceLeaveRequest) ProtoMessage()
- func (x *TenantServiceLeaveRequest) ProtoReflect() protoreflect.Message
- func (x *TenantServiceLeaveRequest) Reset()
- func (x *TenantServiceLeaveRequest) String() string
- type TenantServiceLeaveResponse
- type TenantServiceListRequest
- func (*TenantServiceListRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TenantServiceListRequest) GetQuery() *TenantQuery
- 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) GetMember() 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 (x *TenantServiceRemoveMemberResponse) GetTenantMember() *TenantMember
- 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) GetMember() 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) GetLabels() *UpdateLabels
- func (x *TenantServiceUpdateRequest) GetLogin() string
- func (x *TenantServiceUpdateRequest) GetName() string
- func (x *TenantServiceUpdateRequest) GetUpdateMeta() *UpdateMeta
- 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) GetInfraRole() InfraRole
- func (x *Token) GetIssuedAt() *timestamppb.Timestamp
- func (x *Token) GetMachineRoles() map[string]MachineRole
- func (x *Token) GetMeta() *Meta
- 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) GetUser() 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 TokenQuery
- func (*TokenQuery) Descriptor() ([]byte, []int)deprecated
- func (x *TokenQuery) GetDescription() string
- func (x *TokenQuery) GetLabels() *Labels
- func (x *TokenQuery) GetTokenType() TokenType
- func (x *TokenQuery) GetUser() string
- func (x *TokenQuery) GetUuid() string
- func (*TokenQuery) ProtoMessage()
- func (x *TokenQuery) ProtoReflect() protoreflect.Message
- func (x *TokenQuery) Reset()
- func (x *TokenQuery) 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) GetInfraRole() InfraRole
- func (x *TokenServiceCreateRequest) GetLabels() *Labels
- func (x *TokenServiceCreateRequest) GetMachineRoles() map[string]MachineRole
- func (x *TokenServiceCreateRequest) GetPermissions() []*PermissionsByVisibility
- 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
- func (*TokenServiceListRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TokenServiceListRequest) GetQuery() *TokenQuery
- func (*TokenServiceListRequest) ProtoMessage()
- func (x *TokenServiceListRequest) ProtoReflect() protoreflect.Message
- func (x *TokenServiceListRequest) Reset()
- func (x *TokenServiceListRequest) String() string
- 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 TokenServiceRefreshRequest
- type TokenServiceRefreshResponse
- func (*TokenServiceRefreshResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TokenServiceRefreshResponse) GetSecret() string
- func (x *TokenServiceRefreshResponse) GetToken() *Token
- func (*TokenServiceRefreshResponse) ProtoMessage()
- func (x *TokenServiceRefreshResponse) ProtoReflect() protoreflect.Message
- func (x *TokenServiceRefreshResponse) Reset()
- func (x *TokenServiceRefreshResponse) 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) GetInfraRole() InfraRole
- func (x *TokenServiceUpdateRequest) GetLabels() *UpdateLabels
- func (x *TokenServiceUpdateRequest) GetMachineRoles() map[string]MachineRole
- func (x *TokenServiceUpdateRequest) GetPermissions() []*PermissionsByVisibility
- func (x *TokenServiceUpdateRequest) GetProjectRoles() map[string]ProjectRole
- func (x *TokenServiceUpdateRequest) GetTenantRoles() map[string]TenantRole
- func (x *TokenServiceUpdateRequest) GetUpdateMeta() *UpdateMeta
- 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) GetPatch() *LabelsPatch
- func (x *UpdateLabels) GetReplace() *Labels
- func (x *UpdateLabels) GetStrategy() isUpdateLabels_Strategy
- func (*UpdateLabels) ProtoMessage()
- func (x *UpdateLabels) ProtoReflect() protoreflect.Message
- func (x *UpdateLabels) Reset()
- func (x *UpdateLabels) String() string
- type UpdateLabels_Patch
- type UpdateLabels_Replace
- type UpdateMeta
- func (*UpdateMeta) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateMeta) GetLockingStrategy() OptimisticLockingStrategy
- func (x *UpdateMeta) GetUpdatedAt() *timestamppb.Timestamp
- func (*UpdateMeta) ProtoMessage()
- func (x *UpdateMeta) ProtoReflect() protoreflect.Message
- func (x *UpdateMeta) Reset()
- func (x *UpdateMeta) 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 VPNNode
- func (*VPNNode) Descriptor() ([]byte, []int)deprecated
- func (x *VPNNode) GetId() uint64
- func (x *VPNNode) GetIpAddresses() []string
- func (x *VPNNode) GetLastSeen() *timestamppb.Timestamp
- func (x *VPNNode) GetName() string
- func (x *VPNNode) GetOnline() bool
- func (x *VPNNode) GetProject() string
- func (*VPNNode) ProtoMessage()
- func (x *VPNNode) ProtoReflect() protoreflect.Message
- func (x *VPNNode) Reset()
- func (x *VPNNode) 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 ( AuditPhase_name = map[int32]string{ 0: "AUDIT_PHASE_UNSPECIFIED", 1: "AUDIT_PHASE_REQUEST", 2: "AUDIT_PHASE_RESPONSE", } AuditPhase_value = map[string]int32{ "AUDIT_PHASE_UNSPECIFIED": 0, "AUDIT_PHASE_REQUEST": 1, "AUDIT_PHASE_RESPONSE": 2, } )
Enum value maps for AuditPhase.
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 ( MachineRole_name = map[int32]string{ 0: "MACHINE_ROLE_UNSPECIFIED", 1: "MACHINE_ROLE_EDITOR", 2: "MACHINE_ROLE_VIEWER", } MachineRole_value = map[string]int32{ "MACHINE_ROLE_UNSPECIFIED": 0, "MACHINE_ROLE_EDITOR": 1, "MACHINE_ROLE_VIEWER": 2, } )
Enum value maps for MachineRole.
var ( Visibility_name = map[int32]string{ 0: "VISIBILITY_UNSPECIFIED", 1: "VISIBILITY_PUBLIC", 2: "VISIBILITY_SELF", } Visibility_value = map[string]int32{ "VISIBILITY_UNSPECIFIED": 0, "VISIBILITY_PUBLIC": 1, "VISIBILITY_SELF": 2, } )
Enum value maps for Visibility.
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 ( OptimisticLockingStrategy_name = map[int32]string{ 0: "OPTIMISTIC_LOCKING_STRATEGY_UNSPECIFIED", 1: "OPTIMISTIC_LOCKING_STRATEGY_CLIENT", 2: "OPTIMISTIC_LOCKING_STRATEGY_SERVER", } OptimisticLockingStrategy_value = map[string]int32{ "OPTIMISTIC_LOCKING_STRATEGY_UNSPECIFIED": 0, "OPTIMISTIC_LOCKING_STRATEGY_CLIENT": 1, "OPTIMISTIC_LOCKING_STRATEGY_SERVER": 2, } )
Enum value maps for OptimisticLockingStrategy.
var ( // TenantRoles are used to define the tenant role a logged in user must provide to call this method. // // repeated metalstack.api.v2.TenantRole tenant_roles = 51000; E_TenantRoles = &file_metalstack_api_v2_common_proto_extTypes[0] // ProjectRoles are used to define the project role a logged in user must provide to call this method. // // repeated metalstack.api.v2.ProjectRole project_roles = 51001; E_ProjectRoles = &file_metalstack_api_v2_common_proto_extTypes[1] // AdminRoles are used to define the admin role a logged in user must provide to call this method. // // repeated metalstack.api.v2.AdminRole admin_roles = 51002; E_AdminRoles = &file_metalstack_api_v2_common_proto_extTypes[2] // Visibility defines the visibility of this method, this is used to have public or self visible methods. // // optional metalstack.api.v2.Visibility visibility = 51003; E_Visibility = &file_metalstack_api_v2_common_proto_extTypes[3] // Auditing defines if calls to this method should be audited or not. // // optional metalstack.api.v2.Auditing auditing = 51004; E_Auditing = &file_metalstack_api_v2_common_proto_extTypes[4] // InfraRoles are used to define the infra role a microservice must provide to call this method. // // repeated metalstack.api.v2.InfraRole infra_roles = 51005; E_InfraRoles = &file_metalstack_api_v2_common_proto_extTypes[5] // MachineRole are used to define which machine role a microservice must provide to call this method. // // repeated metalstack.api.v2.MachineRole machine_roles = 51006; E_MachineRoles = &file_metalstack_api_v2_common_proto_extTypes[6] )
Extension fields to descriptorpb.MethodOptions.
var ( ComponentType_name = map[int32]string{ 0: "COMPONENT_TYPE_UNSPECIFIED", 1: "COMPONENT_TYPE_PIXIECORE", 2: "COMPONENT_TYPE_METAL_CORE", 3: "COMPONENT_TYPE_METAL_BMC", 4: "COMPONENT_TYPE_METAL_IMAGE_CACHE_SYNC", 5: "COMPONENT_TYPE_METAL_CONSOLE", 6: "COMPONENT_TYPE_METAL_METRICS_EXPORTER", } ComponentType_value = map[string]int32{ "COMPONENT_TYPE_UNSPECIFIED": 0, "COMPONENT_TYPE_PIXIECORE": 1, "COMPONENT_TYPE_METAL_CORE": 2, "COMPONENT_TYPE_METAL_BMC": 3, "COMPONENT_TYPE_METAL_IMAGE_CACHE_SYNC": 4, "COMPONENT_TYPE_METAL_CONSOLE": 5, "COMPONENT_TYPE_METAL_METRICS_EXPORTER": 6, } )
Enum value maps for ComponentType.
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_TENANT_APISERVER", 4: "SERVICE_MACHINES", 5: "SERVICE_AUDIT", 6: "SERVICE_VPN", 7: "SERVICE_REDIS", 8: "SERVICE_TASKS", } Service_value = map[string]int32{ "SERVICE_UNSPECIFIED": 0, "SERVICE_IPAM": 1, "SERVICE_RETHINK": 2, "SERVICE_TENANT_APISERVER": 3, "SERVICE_MACHINES": 4, "SERVICE_AUDIT": 5, "SERVICE_VPN": 6, "SERVICE_REDIS": 7, "SERVICE_TASKS": 8, } )
Enum value maps for Service.
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 ( IPProtocol_name = map[int32]string{ 0: "IP_PROTOCOL_UNSPECIFIED", 1: "IP_PROTOCOL_TCP", 2: "IP_PROTOCOL_UDP", } IPProtocol_value = map[string]int32{ "IP_PROTOCOL_UNSPECIFIED": 0, "IP_PROTOCOL_TCP": 1, "IP_PROTOCOL_UDP": 2, } )
Enum value maps for IPProtocol.
var ( MachineState_name = map[int32]string{ 0: "MACHINE_STATE_UNSPECIFIED", 1: "MACHINE_STATE_TAINTED", 2: "MACHINE_STATE_LOCKED", 3: "MACHINE_STATE_AVAILABLE", } MachineState_value = map[string]int32{ "MACHINE_STATE_UNSPECIFIED": 0, "MACHINE_STATE_TAINTED": 1, "MACHINE_STATE_LOCKED": 2, "MACHINE_STATE_AVAILABLE": 3, } )
Enum value maps for MachineState.
var ( MachineProvisioningEventState_name = map[int32]string{ 0: "MACHINE_PROVISIONING_EVENT_STATE_UNSPECIFIED", 1: "MACHINE_PROVISIONING_EVENT_STATE_CRASHLOOP", 2: "MACHINE_PROVISIONING_EVENT_STATE_FAILED_RECLAIM", } MachineProvisioningEventState_value = map[string]int32{ "MACHINE_PROVISIONING_EVENT_STATE_UNSPECIFIED": 0, "MACHINE_PROVISIONING_EVENT_STATE_CRASHLOOP": 1, "MACHINE_PROVISIONING_EVENT_STATE_FAILED_RECLAIM": 2, } )
Enum value maps for MachineProvisioningEventState.
var ( MachineProvisioningEventType_name = map[int32]string{ 0: "MACHINE_PROVISIONING_EVENT_TYPE_UNSPECIFIED", 1: "MACHINE_PROVISIONING_EVENT_TYPE_ALIVE", 2: "MACHINE_PROVISIONING_EVENT_TYPE_CRASHED", 3: "MACHINE_PROVISIONING_EVENT_TYPE_PXE_BOOTING", 4: "MACHINE_PROVISIONING_EVENT_TYPE_PLANNED_REBOOT", 5: "MACHINE_PROVISIONING_EVENT_TYPE_PREPARING", 6: "MACHINE_PROVISIONING_EVENT_TYPE_REGISTERING", 7: "MACHINE_PROVISIONING_EVENT_TYPE_WAITING", 8: "MACHINE_PROVISIONING_EVENT_TYPE_INSTALLING", 9: "MACHINE_PROVISIONING_EVENT_TYPE_BOOTING_NEW_KERNEL", 10: "MACHINE_PROVISIONING_EVENT_TYPE_PHONED_HOME", 11: "MACHINE_PROVISIONING_EVENT_TYPE_MACHINE_RECLAIM", } MachineProvisioningEventType_value = map[string]int32{ "MACHINE_PROVISIONING_EVENT_TYPE_UNSPECIFIED": 0, "MACHINE_PROVISIONING_EVENT_TYPE_ALIVE": 1, "MACHINE_PROVISIONING_EVENT_TYPE_CRASHED": 2, "MACHINE_PROVISIONING_EVENT_TYPE_PXE_BOOTING": 3, "MACHINE_PROVISIONING_EVENT_TYPE_PLANNED_REBOOT": 4, "MACHINE_PROVISIONING_EVENT_TYPE_PREPARING": 5, "MACHINE_PROVISIONING_EVENT_TYPE_REGISTERING": 6, "MACHINE_PROVISIONING_EVENT_TYPE_WAITING": 7, "MACHINE_PROVISIONING_EVENT_TYPE_INSTALLING": 8, "MACHINE_PROVISIONING_EVENT_TYPE_BOOTING_NEW_KERNEL": 9, "MACHINE_PROVISIONING_EVENT_TYPE_PHONED_HOME": 10, "MACHINE_PROVISIONING_EVENT_TYPE_MACHINE_RECLAIM": 11, } )
Enum value maps for MachineProvisioningEventType.
var ( MachineLiveliness_name = map[int32]string{ 0: "MACHINE_LIVELINESS_UNSPECIFIED", 1: "MACHINE_LIVELINESS_ALIVE", 2: "MACHINE_LIVELINESS_DEAD", 3: "MACHINE_LIVELINESS_UNKNOWN", } MachineLiveliness_value = map[string]int32{ "MACHINE_LIVELINESS_UNSPECIFIED": 0, "MACHINE_LIVELINESS_ALIVE": 1, "MACHINE_LIVELINESS_DEAD": 2, "MACHINE_LIVELINESS_UNKNOWN": 3, } )
Enum value maps for MachineLiveliness.
var ( MachineAllocationType_name = map[int32]string{ 0: "MACHINE_ALLOCATION_TYPE_UNSPECIFIED", 1: "MACHINE_ALLOCATION_TYPE_MACHINE", 2: "MACHINE_ALLOCATION_TYPE_FIREWALL", } MachineAllocationType_value = map[string]int32{ "MACHINE_ALLOCATION_TYPE_UNSPECIFIED": 0, "MACHINE_ALLOCATION_TYPE_MACHINE": 1, "MACHINE_ALLOCATION_TYPE_FIREWALL": 2, } )
Enum value maps for MachineAllocationType.
var ( MachineBMCCommand_name = map[int32]string{ 0: "MACHINE_BMC_COMMAND_UNSPECIFIED", 1: "MACHINE_BMC_COMMAND_ON", 2: "MACHINE_BMC_COMMAND_OFF", 3: "MACHINE_BMC_COMMAND_RESET", 4: "MACHINE_BMC_COMMAND_CYCLE", 5: "MACHINE_BMC_COMMAND_BOOT_TO_BIOS", 6: "MACHINE_BMC_COMMAND_BOOT_FROM_DISK", 7: "MACHINE_BMC_COMMAND_BOOT_FROM_PXE", 8: "MACHINE_BMC_COMMAND_IDENTIFY_LED_ON", 9: "MACHINE_BMC_COMMAND_IDENTIFY_LED_OFF", 10: "MACHINE_BMC_COMMAND_MACHINE_DELETED", 11: "MACHINE_BMC_COMMAND_MACHINE_CREATED", } MachineBMCCommand_value = map[string]int32{ "MACHINE_BMC_COMMAND_UNSPECIFIED": 0, "MACHINE_BMC_COMMAND_ON": 1, "MACHINE_BMC_COMMAND_OFF": 2, "MACHINE_BMC_COMMAND_RESET": 3, "MACHINE_BMC_COMMAND_CYCLE": 4, "MACHINE_BMC_COMMAND_BOOT_TO_BIOS": 5, "MACHINE_BMC_COMMAND_BOOT_FROM_DISK": 6, "MACHINE_BMC_COMMAND_BOOT_FROM_PXE": 7, "MACHINE_BMC_COMMAND_IDENTIFY_LED_ON": 8, "MACHINE_BMC_COMMAND_IDENTIFY_LED_OFF": 9, "MACHINE_BMC_COMMAND_MACHINE_DELETED": 10, "MACHINE_BMC_COMMAND_MACHINE_CREATED": 11, } )
Enum value maps for MachineBMCCommand.
var ( MachineIssueType_name = map[int32]string{ 0: "MACHINE_ISSUE_TYPE_UNSPECIFIED", 1: "MACHINE_ISSUE_TYPE_ASN_UNIQUENESS", 2: "MACHINE_ISSUE_TYPE_BMC_INFO_OUTDATED", 3: "MACHINE_ISSUE_TYPE_BMC_NON_DISTINCT_IP", 4: "MACHINE_ISSUE_TYPE_BMC_WITHOUT_IP", 5: "MACHINE_ISSUE_TYPE_BMC_WITHOUT_MAC", 6: "MACHINE_ISSUE_TYPE_CRASH_LOOP", 7: "MACHINE_ISSUE_TYPE_FAILED_MACHINE_RECLAIM", 8: "MACHINE_ISSUE_TYPE_LAST_EVENT_ERROR", 9: "MACHINE_ISSUE_TYPE_LIVELINESS_DEAD", 10: "MACHINE_ISSUE_TYPE_LIVELINESS_NOT_AVAILABLE", 11: "MACHINE_ISSUE_TYPE_LIVELINESS_UNKNOWN", 12: "MACHINE_ISSUE_TYPE_NO_EVENT_CONTAINER", 13: "MACHINE_ISSUE_TYPE_NO_PARTITION", } MachineIssueType_value = map[string]int32{ "MACHINE_ISSUE_TYPE_UNSPECIFIED": 0, "MACHINE_ISSUE_TYPE_ASN_UNIQUENESS": 1, "MACHINE_ISSUE_TYPE_BMC_INFO_OUTDATED": 2, "MACHINE_ISSUE_TYPE_BMC_NON_DISTINCT_IP": 3, "MACHINE_ISSUE_TYPE_BMC_WITHOUT_IP": 4, "MACHINE_ISSUE_TYPE_BMC_WITHOUT_MAC": 5, "MACHINE_ISSUE_TYPE_CRASH_LOOP": 6, "MACHINE_ISSUE_TYPE_FAILED_MACHINE_RECLAIM": 7, "MACHINE_ISSUE_TYPE_LAST_EVENT_ERROR": 8, "MACHINE_ISSUE_TYPE_LIVELINESS_DEAD": 9, "MACHINE_ISSUE_TYPE_LIVELINESS_NOT_AVAILABLE": 10, "MACHINE_ISSUE_TYPE_LIVELINESS_UNKNOWN": 11, "MACHINE_ISSUE_TYPE_NO_EVENT_CONTAINER": 12, "MACHINE_ISSUE_TYPE_NO_PARTITION": 13, } )
Enum value maps for MachineIssueType.
var ( MachineIssueSeverity_name = map[int32]string{ 0: "MACHINE_ISSUE_SEVERITY_UNSPECIFIED", 1: "MACHINE_ISSUE_SEVERITY_MINOR", 2: "MACHINE_ISSUE_SEVERITY_MAJOR", 3: "MACHINE_ISSUE_SEVERITY_CRITICAL", } MachineIssueSeverity_value = map[string]int32{ "MACHINE_ISSUE_SEVERITY_UNSPECIFIED": 0, "MACHINE_ISSUE_SEVERITY_MINOR": 1, "MACHINE_ISSUE_SEVERITY_MAJOR": 2, "MACHINE_ISSUE_SEVERITY_CRITICAL": 3, } )
Enum value maps for MachineIssueSeverity.
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 ( // Macaddress returns true if the given string is a valid macaddress. // // optional bool macaddress = 80048951; E_Macaddress = &file_metalstack_api_v2_predefined_rules_proto_extTypes[0] // IsName returns true if name field satisfies our requirements. // // optional bool is_name = 80048952; E_IsName = &file_metalstack_api_v2_predefined_rules_proto_extTypes[1] // IsDescription returns true if description field satisfies our requirements. // // optional bool is_description = 80048953; E_IsDescription = &file_metalstack_api_v2_predefined_rules_proto_extTypes[2] // IsPartition returns true if partition field satisfies our requirements. // // optional bool is_partition = 80048954; E_IsPartition = &file_metalstack_api_v2_predefined_rules_proto_extTypes[3] // IsPrefix validates if the given string is a valid prefix. // // optional bool is_prefix = 80048955; E_IsPrefix = &file_metalstack_api_v2_predefined_rules_proto_extTypes[4] // IsUri validates if the given string is a valid URI. // // optional bool is_uri = 80048956; E_IsUri = &file_metalstack_api_v2_predefined_rules_proto_extTypes[5] // IsIpOrHostname validates that the given string is either a ip or a hostname. // // optional bool is_ip_or_hostname = 80048957; E_IsIpOrHostname = &file_metalstack_api_v2_predefined_rules_proto_extTypes[6] // Trimmed enforces the string to be trimmed, e.g. no whitespaces at the begin and end. // // optional bool trimmed = 80048958; E_Trimmed = &file_metalstack_api_v2_predefined_rules_proto_extTypes[7] // IsUser returns true if name field satisfies our requirements. // // optional bool is_user = 80048959; E_IsUser = &file_metalstack_api_v2_predefined_rules_proto_extTypes[8] // IsOption returns true if name field satisfies our requirements. // // optional bool is_option = 80048960; E_IsOption = &file_metalstack_api_v2_predefined_rules_proto_extTypes[9] // IsKey returns true if name field satisfies our requirements. // // optional bool is_key = 80048961; E_IsKey = &file_metalstack_api_v2_predefined_rules_proto_extTypes[10] // IsTenantLogin returns true if name field satisfies our requirements. // // optional bool is_tenant_login = 80048962; E_IsTenantLogin = &file_metalstack_api_v2_predefined_rules_proto_extTypes[11] // IsTenantSubjectPermission returns true if name field satisfies our requirements. // // optional bool is_tenant_subject_permission = 80048963; E_IsTenantSubjectPermission = &file_metalstack_api_v2_predefined_rules_proto_extTypes[12] // IsProjectSubjectPermission returns true if name field satisfies our requirements. // // optional bool is_project_subject_permission = 80048964; E_IsProjectSubjectPermission = &file_metalstack_api_v2_predefined_rules_proto_extTypes[13] // IsMachineSubjectPermission returns true if name field satisfies our requirements. // // optional bool is_machine_subject_permission = 80048965; E_IsMachineSubjectPermission = &file_metalstack_api_v2_predefined_rules_proto_extTypes[14] // IsBase64 ensures the given string is base64 encoded // // optional bool is_base64 = 80048966; E_IsBase64 = &file_metalstack_api_v2_predefined_rules_proto_extTypes[15] )
Extension fields to validate.StringRules.
var ( // Prefixes validates if a slice of prefixes in string form are valid. // // optional bool prefixes = 80058951; E_Prefixes = &file_metalstack_api_v2_predefined_rules_proto_extTypes[16] // Ips validates if a slice of ips in string form are valid. // // optional bool ips = 80058952; E_Ips = &file_metalstack_api_v2_predefined_rules_proto_extTypes[17] // AreHostAndPort validates if a slice of strings are all in the form of <ip | host>:<port>. // // optional bool are_host_and_port = 80058953; E_AreHostAndPort = &file_metalstack_api_v2_predefined_rules_proto_extTypes[18] // All Trimmed enforces all strings to be trimmed, e.g. no whitespaces at the begin and end. // // optional bool all_trimmed = 80058954; E_AllTrimmed = &file_metalstack_api_v2_predefined_rules_proto_extTypes[19] )
Extension fields to validate.RepeatedRules.
var ( // Keys and Values trimmed enforces all map keys and values to be trimmed, e.g. no whitespaces at the begin and end. // // optional bool keys_and_values_trimmed = 80068951; E_KeysAndValuesTrimmed = &file_metalstack_api_v2_predefined_rules_proto_extTypes[20] // Keys trimmed enforces all map keys and values to be trimmed, e.g. no whitespaces at the begin and end. // // optional bool keys_trimmed = 80068952; E_KeysTrimmed = &file_metalstack_api_v2_predefined_rules_proto_extTypes[21] // ProjectRolesKeysValid ensures that project roles keys met our requirements. // // optional bool project_roles_keys_valid = 80068953; E_ProjectRolesKeysValid = &file_metalstack_api_v2_predefined_rules_proto_extTypes[22] // TenantRolesKeysValid ensures that tenant roles keys met our requirements. // // optional bool tenant_roles_keys_valid = 80068954; E_TenantRolesKeysValid = &file_metalstack_api_v2_predefined_rules_proto_extTypes[23] // MachineRolesKeysValid ensures that machine roles keys met our requirements. // // optional bool machine_roles_keys_valid = 80068955; E_MachineRolesKeysValid = &file_metalstack_api_v2_predefined_rules_proto_extTypes[24] )
Extension fields to validate.MapRules.
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 ( BGPState_name = map[int32]string{ 0: "BGP_STATE_UNSPECIFIED", 1: "BGP_STATE_IDLE", 2: "BGP_STATE_CONNECT", 3: "BGP_STATE_ACTIVE", 4: "BGP_STATE_OPEN_SENT", 5: "BGP_STATE_OPEN_CONFIRM", 6: "BGP_STATE_ESTABLISHED", } BGPState_value = map[string]int32{ "BGP_STATE_UNSPECIFIED": 0, "BGP_STATE_IDLE": 1, "BGP_STATE_CONNECT": 2, "BGP_STATE_ACTIVE": 3, "BGP_STATE_OPEN_SENT": 4, "BGP_STATE_OPEN_CONFIRM": 5, "BGP_STATE_ESTABLISHED": 6, } )
Enum value maps for BGPState.
var ( SwitchReplaceMode_name = map[int32]string{ 0: "SWITCH_REPLACE_MODE_UNSPECIFIED", 1: "SWITCH_REPLACE_MODE_REPLACE", 2: "SWITCH_REPLACE_MODE_OPERATIONAL", } SwitchReplaceMode_value = map[string]int32{ "SWITCH_REPLACE_MODE_UNSPECIFIED": 0, "SWITCH_REPLACE_MODE_REPLACE": 1, "SWITCH_REPLACE_MODE_OPERATIONAL": 2, } )
Enum value maps for SwitchReplaceMode.
var ( SwitchOSVendor_name = map[int32]string{ 0: "SWITCH_OS_VENDOR_UNSPECIFIED", 1: "SWITCH_OS_VENDOR_CUMULUS", 2: "SWITCH_OS_VENDOR_SONIC", } SwitchOSVendor_value = map[string]int32{ "SWITCH_OS_VENDOR_UNSPECIFIED": 0, "SWITCH_OS_VENDOR_CUMULUS": 1, "SWITCH_OS_VENDOR_SONIC": 2, } )
Enum value maps for SwitchOSVendor.
var ( SwitchPortStatus_name = map[int32]string{ 0: "SWITCH_PORT_STATUS_UNSPECIFIED", 1: "SWITCH_PORT_STATUS_UP", 2: "SWITCH_PORT_STATUS_DOWN", 3: "SWITCH_PORT_STATUS_UNKNOWN", } SwitchPortStatus_value = map[string]int32{ "SWITCH_PORT_STATUS_UNSPECIFIED": 0, "SWITCH_PORT_STATUS_UP": 1, "SWITCH_PORT_STATUS_DOWN": 2, "SWITCH_PORT_STATUS_UNKNOWN": 3, } )
Enum value maps for SwitchPortStatus.
var ( TokenType_name = map[int32]string{ 0: "TOKEN_TYPE_UNSPECIFIED", 1: "TOKEN_TYPE_API", 2: "TOKEN_TYPE_USER", } TokenType_value = map[string]int32{ "TOKEN_TYPE_UNSPECIFIED": 0, "TOKEN_TYPE_API": 1, "TOKEN_TYPE_USER": 2, } )
Enum value maps for TokenType.
var ( // StringValue which can be set to a enum. // // optional string enum_string_value = 52000; E_EnumStringValue = &file_metalstack_api_v2_common_proto_extTypes[7] )
Extension fields to descriptorpb.EnumValueOptions.
var File_metalstack_api_v2_audit_proto protoreflect.FileDescriptor
var File_metalstack_api_v2_common_proto protoreflect.FileDescriptor
var File_metalstack_api_v2_component_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_machine_proto protoreflect.FileDescriptor
var File_metalstack_api_v2_method_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_predefined_rules_proto protoreflect.FileDescriptor
var File_metalstack_api_v2_project_proto protoreflect.FileDescriptor
var File_metalstack_api_v2_size_imageconstraint_proto protoreflect.FileDescriptor
var File_metalstack_api_v2_size_proto protoreflect.FileDescriptor
var File_metalstack_api_v2_size_reservation_proto protoreflect.FileDescriptor
var File_metalstack_api_v2_switch_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
var File_metalstack_api_v2_vpn_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AdminPermissions ¶ added in v0.4.0
type AdminPermissions struct {
// Methods which should be accessible.
Methods []string `protobuf:"bytes,2,rep,name=methods,proto3" json:"methods,omitempty"`
// contains filtered or unexported fields
}
AdminPermissions carries admin method permissions.
func (*AdminPermissions) Descriptor
deprecated
added in
v0.4.0
func (*AdminPermissions) Descriptor() ([]byte, []int)
Deprecated: Use AdminPermissions.ProtoReflect.Descriptor instead.
func (*AdminPermissions) GetMethods ¶ added in v0.4.0
func (x *AdminPermissions) GetMethods() []string
func (*AdminPermissions) ProtoMessage ¶ added in v0.4.0
func (*AdminPermissions) ProtoMessage()
func (*AdminPermissions) ProtoReflect ¶ added in v0.4.0
func (x *AdminPermissions) ProtoReflect() protoreflect.Message
func (*AdminPermissions) Reset ¶ added in v0.4.0
func (x *AdminPermissions) Reset()
func (*AdminPermissions) String ¶ added in v0.4.0
func (x *AdminPermissions) String() string
type AdminRole ¶
type AdminRole int32
AdminRole specifies what role a logged in user needs to call this admin service.
const ( // ADMIN_ROLE_UNSPECIFIED is not specified. AdminRole_ADMIN_ROLE_UNSPECIFIED AdminRole = 0 // ADMIN_ROLE_EDITOR the logged in user needs at least editor role to call this method. AdminRole_ADMIN_ROLE_EDITOR AdminRole = 1 // ADMIN_ROLE_VIEWER the logged in user needs at least viewer role to call this method. AdminRole_ADMIN_ROLE_VIEWER AdminRole = 2 )
func (AdminRole) Descriptor ¶
func (AdminRole) Descriptor() protoreflect.EnumDescriptor
func (AdminRole) EnumDescriptor
deprecated
func (AdminRole) Number ¶
func (x AdminRole) Number() protoreflect.EnumNumber
func (AdminRole) Type ¶
func (AdminRole) Type() protoreflect.EnumType
type AuditPhase ¶ added in v0.0.55
type AuditPhase int32
AuditPhase specifies the phase of an audit trace.
const ( // AUDIT_PHASE_UNSPECIFIED is not specified. AuditPhase_AUDIT_PHASE_UNSPECIFIED AuditPhase = 0 // AUDIT_PHASE_REQUEST defines an audit trace in the request phase. AuditPhase_AUDIT_PHASE_REQUEST AuditPhase = 1 // AUDIT_PHASE_RESPONSE defines an audit trace in the response phase. AuditPhase_AUDIT_PHASE_RESPONSE AuditPhase = 2 )
func (AuditPhase) Descriptor ¶ added in v0.0.55
func (AuditPhase) Descriptor() protoreflect.EnumDescriptor
func (AuditPhase) Enum ¶ added in v0.0.55
func (x AuditPhase) Enum() *AuditPhase
func (AuditPhase) EnumDescriptor
deprecated
added in
v0.0.55
func (AuditPhase) EnumDescriptor() ([]byte, []int)
Deprecated: Use AuditPhase.Descriptor instead.
func (AuditPhase) Number ¶ added in v0.0.55
func (x AuditPhase) Number() protoreflect.EnumNumber
func (AuditPhase) String ¶ added in v0.0.55
func (x AuditPhase) String() string
func (AuditPhase) Type ¶ added in v0.0.55
func (AuditPhase) Type() protoreflect.EnumType
type AuditQuery ¶ added in v0.0.55
type AuditQuery struct {
// Uuid of the audit trace.
Uuid *string `protobuf:"bytes,2,opt,name=uuid,proto3,oneof" json:"uuid,omitempty"`
// From describes the start of the time window in which to list audit traces. Defaults to the last eight hours.
From *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=from,proto3,oneof" json:"from,omitempty"`
// To describes the end of the time window in which to list audit traces. Defaults to the time the request was issued.
To *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=to,proto3,oneof" json:"to,omitempty"`
// User is the user who called the api method.
User *string `protobuf:"bytes,5,opt,name=user,proto3,oneof" json:"user,omitempty"`
// Project is the project targeted by the api call.
Project *string `protobuf:"bytes,6,opt,name=project,proto3,oneof" json:"project,omitempty"`
// Method is the api method that was called.
Method *string `protobuf:"bytes,7,opt,name=method,proto3,oneof" json:"method,omitempty"`
// Source IP contains the ip address of the caller.
SourceIp *string `protobuf:"bytes,8,opt,name=source_ip,json=sourceIp,proto3,oneof" json:"source_ip,omitempty"`
// Result Code is a string describing the result of the api call.
ResultCode *int32 `protobuf:"varint,9,opt,name=result_code,json=resultCode,proto3,oneof" json:"result_code,omitempty"`
// Body is a string providing text-search of the body field.
Body *string `protobuf:"bytes,10,opt,name=body,proto3,oneof" json:"body,omitempty"`
// Limit is a number limiting the length of the response (min: 1, max: 1000, defaults to 200).
Limit *int32 `protobuf:"varint,11,opt,name=limit,proto3,oneof" json:"limit,omitempty"`
// Phase specifies the audit phase.
Phase *AuditPhase `protobuf:"varint,12,opt,name=phase,proto3,enum=metalstack.api.v2.AuditPhase,oneof" json:"phase,omitempty"`
// contains filtered or unexported fields
}
AuditQuery is the query for audit traces.
func (*AuditQuery) Descriptor
deprecated
added in
v0.0.55
func (*AuditQuery) Descriptor() ([]byte, []int)
Deprecated: Use AuditQuery.ProtoReflect.Descriptor instead.
func (*AuditQuery) GetBody ¶ added in v0.0.55
func (x *AuditQuery) GetBody() string
func (*AuditQuery) GetFrom ¶ added in v0.0.55
func (x *AuditQuery) GetFrom() *timestamppb.Timestamp
func (*AuditQuery) GetLimit ¶ added in v0.0.55
func (x *AuditQuery) GetLimit() int32
func (*AuditQuery) GetMethod ¶ added in v0.0.55
func (x *AuditQuery) GetMethod() string
func (*AuditQuery) GetPhase ¶ added in v0.0.55
func (x *AuditQuery) GetPhase() AuditPhase
func (*AuditQuery) GetProject ¶ added in v0.0.55
func (x *AuditQuery) GetProject() string
func (*AuditQuery) GetResultCode ¶ added in v0.0.55
func (x *AuditQuery) GetResultCode() int32
func (*AuditQuery) GetSourceIp ¶ added in v0.0.55
func (x *AuditQuery) GetSourceIp() string
func (*AuditQuery) GetTo ¶ added in v0.0.55
func (x *AuditQuery) GetTo() *timestamppb.Timestamp
func (*AuditQuery) GetUser ¶ added in v0.0.55
func (x *AuditQuery) GetUser() string
func (*AuditQuery) GetUuid ¶ added in v0.0.55
func (x *AuditQuery) GetUuid() string
func (*AuditQuery) ProtoMessage ¶ added in v0.0.55
func (*AuditQuery) ProtoMessage()
func (*AuditQuery) ProtoReflect ¶ added in v0.0.55
func (x *AuditQuery) ProtoReflect() protoreflect.Message
func (*AuditQuery) Reset ¶ added in v0.0.55
func (x *AuditQuery) Reset()
func (*AuditQuery) String ¶ added in v0.0.55
func (x *AuditQuery) String() string
type AuditServiceGetRequest ¶ added in v0.0.55
type AuditServiceGetRequest struct {
// Login for this tenant.
Login string `protobuf:"bytes,1,opt,name=login,proto3" json:"login,omitempty"`
// Uuid of the audit trace.
Uuid string `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"`
// Phase specifies the audit phase. Defaults to request.
Phase *AuditPhase `protobuf:"varint,3,opt,name=phase,proto3,enum=metalstack.api.v2.AuditPhase,oneof" json:"phase,omitempty"`
// contains filtered or unexported fields
}
AuditServiceGetRequest is the request payload of a audit get request.
func (*AuditServiceGetRequest) Descriptor
deprecated
added in
v0.0.55
func (*AuditServiceGetRequest) Descriptor() ([]byte, []int)
Deprecated: Use AuditServiceGetRequest.ProtoReflect.Descriptor instead.
func (*AuditServiceGetRequest) GetLogin ¶ added in v0.0.55
func (x *AuditServiceGetRequest) GetLogin() string
func (*AuditServiceGetRequest) GetPhase ¶ added in v0.0.55
func (x *AuditServiceGetRequest) GetPhase() AuditPhase
func (*AuditServiceGetRequest) GetUuid ¶ added in v0.0.55
func (x *AuditServiceGetRequest) GetUuid() string
func (*AuditServiceGetRequest) ProtoMessage ¶ added in v0.0.55
func (*AuditServiceGetRequest) ProtoMessage()
func (*AuditServiceGetRequest) ProtoReflect ¶ added in v0.0.55
func (x *AuditServiceGetRequest) ProtoReflect() protoreflect.Message
func (*AuditServiceGetRequest) Reset ¶ added in v0.0.55
func (x *AuditServiceGetRequest) Reset()
func (*AuditServiceGetRequest) String ¶ added in v0.0.55
func (x *AuditServiceGetRequest) String() string
type AuditServiceGetResponse ¶ added in v0.0.55
type AuditServiceGetResponse struct {
// Trace is the audit trace.
Trace *AuditTrace `protobuf:"bytes,1,opt,name=trace,proto3" json:"trace,omitempty"`
// contains filtered or unexported fields
}
AuditServiceGetResponse is the response payload of a audit get request.
func (*AuditServiceGetResponse) Descriptor
deprecated
added in
v0.0.55
func (*AuditServiceGetResponse) Descriptor() ([]byte, []int)
Deprecated: Use AuditServiceGetResponse.ProtoReflect.Descriptor instead.
func (*AuditServiceGetResponse) GetTrace ¶ added in v0.0.55
func (x *AuditServiceGetResponse) GetTrace() *AuditTrace
func (*AuditServiceGetResponse) ProtoMessage ¶ added in v0.0.55
func (*AuditServiceGetResponse) ProtoMessage()
func (*AuditServiceGetResponse) ProtoReflect ¶ added in v0.0.55
func (x *AuditServiceGetResponse) ProtoReflect() protoreflect.Message
func (*AuditServiceGetResponse) Reset ¶ added in v0.0.55
func (x *AuditServiceGetResponse) Reset()
func (*AuditServiceGetResponse) String ¶ added in v0.0.55
func (x *AuditServiceGetResponse) String() string
type AuditServiceListRequest ¶ added in v0.0.55
type AuditServiceListRequest struct {
// Login for this tenant.
Login string `protobuf:"bytes,1,opt,name=login,proto3" json:"login,omitempty"`
// Query for audit traces.
Query *AuditQuery `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"`
// contains filtered or unexported fields
}
AuditServiceListRequest is the request payload for an audit list request.
func (*AuditServiceListRequest) Descriptor
deprecated
added in
v0.0.55
func (*AuditServiceListRequest) Descriptor() ([]byte, []int)
Deprecated: Use AuditServiceListRequest.ProtoReflect.Descriptor instead.
func (*AuditServiceListRequest) GetLogin ¶ added in v0.0.55
func (x *AuditServiceListRequest) GetLogin() string
func (*AuditServiceListRequest) GetQuery ¶ added in v0.0.55
func (x *AuditServiceListRequest) GetQuery() *AuditQuery
func (*AuditServiceListRequest) ProtoMessage ¶ added in v0.0.55
func (*AuditServiceListRequest) ProtoMessage()
func (*AuditServiceListRequest) ProtoReflect ¶ added in v0.0.55
func (x *AuditServiceListRequest) ProtoReflect() protoreflect.Message
func (*AuditServiceListRequest) Reset ¶ added in v0.0.55
func (x *AuditServiceListRequest) Reset()
func (*AuditServiceListRequest) String ¶ added in v0.0.55
func (x *AuditServiceListRequest) String() string
type AuditServiceListResponse ¶ added in v0.0.55
type AuditServiceListResponse struct {
// Traces is a list of audit traces.
Traces []*AuditTrace `protobuf:"bytes,1,rep,name=traces,proto3" json:"traces,omitempty"`
// contains filtered or unexported fields
}
AuditServiceListResponse is the response payload of a audit list request.
func (*AuditServiceListResponse) Descriptor
deprecated
added in
v0.0.55
func (*AuditServiceListResponse) Descriptor() ([]byte, []int)
Deprecated: Use AuditServiceListResponse.ProtoReflect.Descriptor instead.
func (*AuditServiceListResponse) GetTraces ¶ added in v0.0.55
func (x *AuditServiceListResponse) GetTraces() []*AuditTrace
func (*AuditServiceListResponse) ProtoMessage ¶ added in v0.0.55
func (*AuditServiceListResponse) ProtoMessage()
func (*AuditServiceListResponse) ProtoReflect ¶ added in v0.0.55
func (x *AuditServiceListResponse) ProtoReflect() protoreflect.Message
func (*AuditServiceListResponse) Reset ¶ added in v0.0.55
func (x *AuditServiceListResponse) Reset()
func (*AuditServiceListResponse) String ¶ added in v0.0.55
func (x *AuditServiceListResponse) String() string
type AuditTrace ¶ added in v0.0.55
type AuditTrace struct {
// Uuid of the audit trace.
Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
// Timestamp is the timestamp when the request arrived at the API.
Timestamp *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
// User is the login user who called the API method.
User string `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"`
// Tenant is the tenant targeted by the API call.
Tenant string `protobuf:"bytes,4,opt,name=tenant,proto3" json:"tenant,omitempty"`
// Project is the project targeted by the API call.
Project *string `protobuf:"bytes,5,opt,name=project,proto3,oneof" json:"project,omitempty"`
// Method is the API method that was called.
Method string `protobuf:"bytes,6,opt,name=method,proto3" json:"method,omitempty"`
// Body is the payload of the API call. In the request phase this contains the payload sent by the client, in the response phase it contains the payload returned by the API server.
Body *string `protobuf:"bytes,7,opt,name=body,proto3,oneof" json:"body,omitempty"`
// SourceIP contains the source IP address of the API call.
SourceIp string `protobuf:"bytes,8,opt,name=source_ip,json=sourceIp,proto3" json:"source_ip,omitempty"`
// ResultCode is a status code describing the result of the API call. It is set for traces in the response phase and contains official gRPC status codes.
ResultCode *int32 `protobuf:"varint,9,opt,name=result_code,json=resultCode,proto3,oneof" json:"result_code,omitempty"`
// Phase represents the phase of the audit trace.
Phase AuditPhase `protobuf:"varint,10,opt,name=phase,proto3,enum=metalstack.api.v2.AuditPhase" json:"phase,omitempty"`
// Meta for this audit trace.
Meta *Meta `protobuf:"bytes,11,opt,name=meta,proto3" json:"meta,omitempty"`
// contains filtered or unexported fields
}
AuditTrace is an audit trace.
func (*AuditTrace) Descriptor
deprecated
added in
v0.0.55
func (*AuditTrace) Descriptor() ([]byte, []int)
Deprecated: Use AuditTrace.ProtoReflect.Descriptor instead.
func (*AuditTrace) GetBody ¶ added in v0.0.55
func (x *AuditTrace) GetBody() string
func (*AuditTrace) GetMeta ¶ added in v0.1.2
func (x *AuditTrace) GetMeta() *Meta
func (*AuditTrace) GetMethod ¶ added in v0.0.55
func (x *AuditTrace) GetMethod() string
func (*AuditTrace) GetPhase ¶ added in v0.0.55
func (x *AuditTrace) GetPhase() AuditPhase
func (*AuditTrace) GetProject ¶ added in v0.0.55
func (x *AuditTrace) GetProject() string
func (*AuditTrace) GetResultCode ¶ added in v0.0.55
func (x *AuditTrace) GetResultCode() int32
func (*AuditTrace) GetSourceIp ¶ added in v0.0.55
func (x *AuditTrace) GetSourceIp() string
func (*AuditTrace) GetTenant ¶ added in v0.0.55
func (x *AuditTrace) GetTenant() string
func (*AuditTrace) GetTimestamp ¶ added in v0.0.55
func (x *AuditTrace) GetTimestamp() *timestamppb.Timestamp
func (*AuditTrace) GetUser ¶ added in v0.0.55
func (x *AuditTrace) GetUser() string
func (*AuditTrace) GetUuid ¶ added in v0.0.55
func (x *AuditTrace) GetUuid() string
func (*AuditTrace) ProtoMessage ¶ added in v0.0.55
func (*AuditTrace) ProtoMessage()
func (*AuditTrace) ProtoReflect ¶ added in v0.0.55
func (x *AuditTrace) ProtoReflect() protoreflect.Message
func (*AuditTrace) Reset ¶ added in v0.0.55
func (x *AuditTrace) Reset()
func (*AuditTrace) String ¶ added in v0.0.55
func (x *AuditTrace) String() string
type Auditing ¶
type Auditing int32
Auditing option specified per service method. By default all service methods are included. Add the auditing option if you want to exclude a method in auditing.
const ( // AUDITING_UNSPECIFIED is not specified. Auditing_AUDITING_UNSPECIFIED Auditing = 0 // AUDITING_INCLUDED if a method is annotated with this, all calls are audited. Auditing_AUDITING_INCLUDED Auditing = 1 // AUDITING_EXCLUDED if a method is annotated with this, no calls are audited. Auditing_AUDITING_EXCLUDED Auditing = 2 )
func (Auditing) Descriptor ¶
func (Auditing) Descriptor() protoreflect.EnumDescriptor
func (Auditing) EnumDescriptor
deprecated
func (Auditing) Number ¶
func (x Auditing) Number() protoreflect.EnumNumber
func (Auditing) Type ¶
func (Auditing) Type() protoreflect.EnumType
type BGPFilter ¶ added in v0.0.8
type BGPFilter struct {
// CIDRs for which to allow BGP.
Cidrs []string `protobuf:"bytes,1,rep,name=cidrs,proto3" json:"cidrs,omitempty"`
// VNIs for which to allow BGP.
Vnis []string `protobuf:"bytes,2,rep,name=vnis,proto3" json:"vnis,omitempty"`
// contains filtered or unexported fields
}
BGPFilter can be used to restrict BGP based on CIDRs and VNIs.
func (*BGPFilter) Descriptor
deprecated
added in
v0.0.8
func (*BGPFilter) ProtoMessage ¶ added in v0.0.8
func (*BGPFilter) ProtoMessage()
func (*BGPFilter) ProtoReflect ¶ added in v0.0.8
func (x *BGPFilter) ProtoReflect() protoreflect.Message
type BGPState ¶ added in v0.0.8
type BGPState int32
BGPState represents the state of a BGP session.
const ( // BGP_STATE_UNSPECIFIED is not specified. BGPState_BGP_STATE_UNSPECIFIED BGPState = 0 // BGP_STATE_IDLE is the Idle state of a BGP session. BGPState_BGP_STATE_IDLE BGPState = 1 // BGP_STATE_CONNECT is the Connect state of a BGP session. BGPState_BGP_STATE_CONNECT BGPState = 2 // BGP_STATE_ACTIVE is the Active state of a BGP session. BGPState_BGP_STATE_ACTIVE BGPState = 3 // BGP_STATE_OPEN_SENT is the OpenSent state of a BGP session. BGPState_BGP_STATE_OPEN_SENT BGPState = 4 // BGP_STATE_OPEN_CONFIRM is the OpenConfirm state of a BGP session. BGPState_BGP_STATE_OPEN_CONFIRM BGPState = 5 // BGP_STATE_ESTABLISHED is the Established state of a BGP session. BGPState_BGP_STATE_ESTABLISHED BGPState = 6 )
func (BGPState) Descriptor ¶ added in v0.0.8
func (BGPState) Descriptor() protoreflect.EnumDescriptor
func (BGPState) EnumDescriptor
deprecated
added in
v0.0.8
func (BGPState) Number ¶ added in v0.0.8
func (x BGPState) Number() protoreflect.EnumNumber
func (BGPState) Type ¶ added in v0.0.8
func (BGPState) 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 Component ¶ added in v0.0.50
type Component struct {
// UUID identifies this component event.
Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
// Type defines which service is actually pinging.
Type ComponentType `protobuf:"varint,2,opt,name=type,proto3,enum=metalstack.api.v2.ComponentType" json:"type,omitempty"`
// Identifier is a unique identifier of this service, e.g. if two instance are running, this might be the pod id.
// micro_service and identifier guarantee uniqueness.
Identifier string `protobuf:"bytes,3,opt,name=identifier,proto3" json:"identifier,omitempty"`
// StartedAt is the timestamp this service was started.
StartedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"`
// ReportedAt is the timestamp this service sent this ping.
ReportedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=reported_at,json=reportedAt,proto3" json:"reported_at,omitempty"`
// Interval at which the ping is scheduled.
Interval *durationpb.Duration `protobuf:"bytes,6,opt,name=interval,proto3" json:"interval,omitempty"`
// Version of this service.
Version *Version `protobuf:"bytes,7,opt,name=version,proto3" json:"version,omitempty"`
// Token is the token which is actually used by this microservice.
Token *Token `protobuf:"bytes,8,opt,name=token,proto3" json:"token,omitempty"`
// Meta for this component.
Meta *Meta `protobuf:"bytes,9,opt,name=meta,proto3" json:"meta,omitempty"`
// contains filtered or unexported fields
}
Component represents a microservice connected to our apiserver.
func (*Component) Descriptor
deprecated
added in
v0.0.50
func (*Component) GetIdentifier ¶ added in v0.0.50
func (*Component) GetInterval ¶ added in v0.0.50
func (x *Component) GetInterval() *durationpb.Duration
func (*Component) GetReportedAt ¶ added in v0.0.50
func (x *Component) GetReportedAt() *timestamppb.Timestamp
func (*Component) GetStartedAt ¶ added in v0.0.50
func (x *Component) GetStartedAt() *timestamppb.Timestamp
func (*Component) GetType ¶ added in v0.0.50
func (x *Component) GetType() ComponentType
func (*Component) GetVersion ¶ added in v0.0.50
func (*Component) ProtoMessage ¶ added in v0.0.50
func (*Component) ProtoMessage()
func (*Component) ProtoReflect ¶ added in v0.0.50
func (x *Component) ProtoReflect() protoreflect.Message
type ComponentQuery ¶ added in v0.0.50
type ComponentQuery struct {
// UUID identifies this component.
Uuid *string `protobuf:"bytes,1,opt,name=uuid,proto3,oneof" json:"uuid,omitempty"`
// Type defines which service is actually pinging.
Type *ComponentType `protobuf:"varint,2,opt,name=type,proto3,enum=metalstack.api.v2.ComponentType,oneof" json:"type,omitempty"`
// Identifier is a unique identifier of this service, e.g. if two instance are running, this might be the pod id.
// micro_service and identifier guarantee uniqueness.
Identifier *string `protobuf:"bytes,3,opt,name=identifier,proto3,oneof" json:"identifier,omitempty"`
// contains filtered or unexported fields
}
ComponentQuery to query components.
func (*ComponentQuery) Descriptor
deprecated
added in
v0.0.50
func (*ComponentQuery) Descriptor() ([]byte, []int)
Deprecated: Use ComponentQuery.ProtoReflect.Descriptor instead.
func (*ComponentQuery) GetIdentifier ¶ added in v0.0.50
func (x *ComponentQuery) GetIdentifier() string
func (*ComponentQuery) GetType ¶ added in v0.0.50
func (x *ComponentQuery) GetType() ComponentType
func (*ComponentQuery) GetUuid ¶ added in v0.0.50
func (x *ComponentQuery) GetUuid() string
func (*ComponentQuery) ProtoMessage ¶ added in v0.0.50
func (*ComponentQuery) ProtoMessage()
func (*ComponentQuery) ProtoReflect ¶ added in v0.0.50
func (x *ComponentQuery) ProtoReflect() protoreflect.Message
func (*ComponentQuery) Reset ¶ added in v0.0.50
func (x *ComponentQuery) Reset()
func (*ComponentQuery) String ¶ added in v0.0.50
func (x *ComponentQuery) String() string
type ComponentType ¶ added in v0.0.50
type ComponentType int32
ComponentType defines which service is actually pinging.
const ( // COMPONENT_TYPE_UNSPECIFIED is unspecified. ComponentType_COMPONENT_TYPE_UNSPECIFIED ComponentType = 0 // COMPONENT_TYPE_PIXIECORE is pixiecore. ComponentType_COMPONENT_TYPE_PIXIECORE ComponentType = 1 // COMPONENT_TYPE_METAL_CORE is metal-core. ComponentType_COMPONENT_TYPE_METAL_CORE ComponentType = 2 // COMPONENT_TYPE_METAL_BMC is metal-bmc. ComponentType_COMPONENT_TYPE_METAL_BMC ComponentType = 3 // COMPONENT_TYPE_METAL_IMAGE_CACHE_SYNC is metal-image-cache-sync. ComponentType_COMPONENT_TYPE_METAL_IMAGE_CACHE_SYNC ComponentType = 4 // COMPONENT_TYPE_METAL_CONSOLE is metal-console. ComponentType_COMPONENT_TYPE_METAL_CONSOLE ComponentType = 5 // COMPONENT_TYPE_METAL_METRICS_EXPORTER is metal-metrics-exporter. ComponentType_COMPONENT_TYPE_METAL_METRICS_EXPORTER ComponentType = 6 )
func (ComponentType) Descriptor ¶ added in v0.0.50
func (ComponentType) Descriptor() protoreflect.EnumDescriptor
func (ComponentType) Enum ¶ added in v0.0.50
func (x ComponentType) Enum() *ComponentType
func (ComponentType) EnumDescriptor
deprecated
added in
v0.0.50
func (ComponentType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ComponentType.Descriptor instead.
func (ComponentType) Number ¶ added in v0.0.50
func (x ComponentType) Number() protoreflect.EnumNumber
func (ComponentType) String ¶ added in v0.0.50
func (x ComponentType) String() string
func (ComponentType) Type ¶ added in v0.0.50
func (ComponentType) Type() protoreflect.EnumType
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"`
// contains filtered or unexported fields
}
Disk.
func (*Disk) Descriptor
deprecated
func (*Disk) GetPartitions ¶
func (x *Disk) GetPartitions() []*DiskPartition
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"`
// Label an optional label for this partition.
Label *string `protobuf:"bytes,2,opt,name=label,proto3,oneof" json:"label,omitempty"`
// Size in mebibytes (MiB) of this partition.
Size uint64 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"`
// GPTType the gpt partition table type of this partition.
GptType *GPTType `protobuf:"varint,4,opt,name=gpt_type,json=gptType,proto3,enum=metalstack.api.v2.GPTType,oneof" json:"gpt_type,omitempty"`
// contains filtered or unexported fields
}
DiskPartition.
func (*DiskPartition) Descriptor
deprecated
func (*DiskPartition) Descriptor() ([]byte, []int)
Deprecated: Use DiskPartition.ProtoReflect.Descriptor instead.
func (*DiskPartition) GetGptType ¶
func (x *DiskPartition) GetGptType() GPTType
func (*DiskPartition) GetLabel ¶
func (x *DiskPartition) GetLabel() string
func (*DiskPartition) GetNumber ¶
func (x *DiskPartition) GetNumber() uint32
func (*DiskPartition) GetSize ¶
func (x *DiskPartition) GetSize() uint64
func (*DiskPartition) ProtoMessage ¶
func (*DiskPartition) ProtoMessage()
func (*DiskPartition) ProtoReflect ¶
func (x *DiskPartition) ProtoReflect() protoreflect.Message
func (*DiskPartition) Reset ¶
func (x *DiskPartition) Reset()
func (*DiskPartition) String ¶
func (x *DiskPartition) String() string
type ExternalNetworkMember ¶ added in v0.5.2
type ExternalNetworkMember struct {
// Switch the external members are connected to.
Switch string `protobuf:"bytes,1,opt,name=switch,proto3" json:"switch,omitempty"`
// Ports of the switch that participate in the network.
Ports []string `protobuf:"bytes,2,rep,name=ports,proto3" json:"ports,omitempty"`
// contains filtered or unexported fields
}
ExternalNetworkMember contains the ports of a switch that participate in a network and are connected to machines not known to metal-stack.
func (*ExternalNetworkMember) Descriptor
deprecated
added in
v0.5.2
func (*ExternalNetworkMember) Descriptor() ([]byte, []int)
Deprecated: Use ExternalNetworkMember.ProtoReflect.Descriptor instead.
func (*ExternalNetworkMember) GetPorts ¶ added in v0.5.2
func (x *ExternalNetworkMember) GetPorts() []string
func (*ExternalNetworkMember) GetSwitch ¶ added in v0.5.2
func (x *ExternalNetworkMember) GetSwitch() string
func (*ExternalNetworkMember) ProtoMessage ¶ added in v0.5.2
func (*ExternalNetworkMember) ProtoMessage()
func (*ExternalNetworkMember) ProtoReflect ¶ added in v0.5.2
func (x *ExternalNetworkMember) ProtoReflect() protoreflect.Message
func (*ExternalNetworkMember) Reset ¶ added in v0.5.2
func (x *ExternalNetworkMember) Reset()
func (*ExternalNetworkMember) String ¶ added in v0.5.2
func (x *ExternalNetworkMember) String() string
type ExternalNetworkMemberQuery ¶ added in v0.5.2
type ExternalNetworkMemberQuery struct {
// Switch whose ports are queried.
Switch *string `protobuf:"bytes,1,opt,name=switch,proto3,oneof" json:"switch,omitempty"`
// Rack for which the members of the network are queried.
Rack *string `protobuf:"bytes,2,opt,name=rack,proto3,oneof" json:"rack,omitempty"`
// contains filtered or unexported fields
}
ExternalNetworkMemberQuery defines which filters to apply when looking up external network members.
func (*ExternalNetworkMemberQuery) Descriptor
deprecated
added in
v0.5.2
func (*ExternalNetworkMemberQuery) Descriptor() ([]byte, []int)
Deprecated: Use ExternalNetworkMemberQuery.ProtoReflect.Descriptor instead.
func (*ExternalNetworkMemberQuery) GetRack ¶ added in v0.5.2
func (x *ExternalNetworkMemberQuery) GetRack() string
func (*ExternalNetworkMemberQuery) GetSwitch ¶ added in v0.5.2
func (x *ExternalNetworkMemberQuery) GetSwitch() string
func (*ExternalNetworkMemberQuery) ProtoMessage ¶ added in v0.5.2
func (*ExternalNetworkMemberQuery) ProtoMessage()
func (*ExternalNetworkMemberQuery) ProtoReflect ¶ added in v0.5.2
func (x *ExternalNetworkMemberQuery) ProtoReflect() protoreflect.Message
func (*ExternalNetworkMemberQuery) Reset ¶ added in v0.5.2
func (x *ExternalNetworkMemberQuery) Reset()
func (*ExternalNetworkMemberQuery) String ¶ added in v0.5.2
func (x *ExternalNetworkMemberQuery) String() string
type Filesystem ¶
type Filesystem struct {
// Device the underlying device where this filesystem should be created.
Device string `protobuf:"bytes,1,opt,name=device,proto3" json:"device,omitempty"`
// Format of the filesystem format.
Format Format `protobuf:"varint,2,opt,name=format,proto3,enum=metalstack.api.v2.Format" json:"format,omitempty"`
// Name of this filesystem.
Name *string `protobuf:"bytes,3,opt,name=name,proto3,oneof" json:"name,omitempty"`
// Description of this filesystem.
Description *string `protobuf:"bytes,4,opt,name=description,proto3,oneof" json:"description,omitempty"`
// Path the mountpoint where this filesystem should be mounted on.
Path *string `protobuf:"bytes,5,opt,name=path,proto3,oneof" json:"path,omitempty"`
// Label an optional label for this filesystem.
Label *string `protobuf:"bytes,6,opt,name=label,proto3,oneof" json:"label,omitempty"`
// MountOptions the options to use to mount this filesystem.
MountOptions []string `protobuf:"bytes,7,rep,name=mount_options,json=mountOptions,proto3" json:"mount_options,omitempty"`
// CreateOptions the options to use to create (mkfs) this filesystem.
CreateOptions []string `protobuf:"bytes,8,rep,name=create_options,json=createOptions,proto3" json:"create_options,omitempty"`
// contains filtered or unexported fields
}
Filesystem.
func (*Filesystem) Descriptor
deprecated
func (*Filesystem) Descriptor() ([]byte, []int)
Deprecated: Use Filesystem.ProtoReflect.Descriptor instead.
func (*Filesystem) GetCreateOptions ¶
func (x *Filesystem) GetCreateOptions() []string
func (*Filesystem) GetDescription ¶
func (x *Filesystem) GetDescription() string
func (*Filesystem) GetDevice ¶
func (x *Filesystem) GetDevice() string
func (*Filesystem) GetFormat ¶
func (x *Filesystem) GetFormat() Format
func (*Filesystem) GetLabel ¶
func (x *Filesystem) GetLabel() string
func (*Filesystem) GetMountOptions ¶
func (x *Filesystem) GetMountOptions() []string
func (*Filesystem) GetName ¶
func (x *Filesystem) GetName() string
func (*Filesystem) GetPath ¶
func (x *Filesystem) GetPath() string
func (*Filesystem) ProtoMessage ¶
func (*Filesystem) ProtoMessage()
func (*Filesystem) ProtoReflect ¶
func (x *Filesystem) ProtoReflect() protoreflect.Message
func (*Filesystem) Reset ¶
func (x *Filesystem) Reset()
func (*Filesystem) String ¶
func (x *Filesystem) String() string
type FilesystemLayout ¶
type FilesystemLayout struct {
// Id of this filesystemLayout.
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// Meta for this filesystemLayout.
Meta *Meta `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta,omitempty"`
// Name of this filesystemLayout.
Name *string `protobuf:"bytes,3,opt,name=name,proto3,oneof" json:"name,omitempty"`
// Description of this filesystemLayout.
Description *string `protobuf:"bytes,4,opt,name=description,proto3,oneof" json:"description,omitempty"`
// Filesystems is a list of filesystems to create on a machine.
Filesystems []*Filesystem `protobuf:"bytes,5,rep,name=filesystems,proto3" json:"filesystems,omitempty"`
// Disks list of disks that belong to this layout.
Disks []*Disk `protobuf:"bytes,6,rep,name=disks,proto3" json:"disks,omitempty"`
// Raid arrays to create.
Raid []*Raid `protobuf:"bytes,7,rep,name=raid,proto3" json:"raid,omitempty"`
// VolumeGroups list of volumegroups to create.
VolumeGroups []*VolumeGroup `protobuf:"bytes,8,rep,name=volume_groups,json=volumeGroups,proto3" json:"volume_groups,omitempty"`
// LogicalVolumes list of logicalvolumes to create.
LogicalVolumes []*LogicalVolume `protobuf:"bytes,9,rep,name=logical_volumes,json=logicalVolumes,proto3" json:"logical_volumes,omitempty"`
// Constraints which must match that this layout is taken, if sizes and images are empty these are develop layouts.
Constraints *FilesystemLayoutConstraints `protobuf:"bytes,10,opt,name=constraints,proto3" json:"constraints,omitempty"`
// contains filtered or unexported fields
}
FilesystemLayout.
func (*FilesystemLayout) Descriptor
deprecated
func (*FilesystemLayout) Descriptor() ([]byte, []int)
Deprecated: Use FilesystemLayout.ProtoReflect.Descriptor instead.
func (*FilesystemLayout) GetConstraints ¶
func (x *FilesystemLayout) GetConstraints() *FilesystemLayoutConstraints
func (*FilesystemLayout) GetDescription ¶
func (x *FilesystemLayout) GetDescription() string
func (*FilesystemLayout) GetDisks ¶
func (x *FilesystemLayout) GetDisks() []*Disk
func (*FilesystemLayout) GetFilesystems ¶
func (x *FilesystemLayout) GetFilesystems() []*Filesystem
func (*FilesystemLayout) GetId ¶
func (x *FilesystemLayout) GetId() string
func (*FilesystemLayout) GetLogicalVolumes ¶
func (x *FilesystemLayout) GetLogicalVolumes() []*LogicalVolume
func (*FilesystemLayout) GetMeta ¶
func (x *FilesystemLayout) GetMeta() *Meta
func (*FilesystemLayout) GetName ¶
func (x *FilesystemLayout) GetName() string
func (*FilesystemLayout) GetRaid ¶
func (x *FilesystemLayout) GetRaid() []*Raid
func (*FilesystemLayout) GetVolumeGroups ¶
func (x *FilesystemLayout) GetVolumeGroups() []*VolumeGroup
func (*FilesystemLayout) ProtoMessage ¶
func (*FilesystemLayout) ProtoMessage()
func (*FilesystemLayout) ProtoReflect ¶
func (x *FilesystemLayout) ProtoReflect() protoreflect.Message
func (*FilesystemLayout) Reset ¶
func (x *FilesystemLayout) Reset()
func (*FilesystemLayout) String ¶
func (x *FilesystemLayout) String() string
type FilesystemLayoutConstraints ¶
type FilesystemLayoutConstraints struct {
// Sizes list of sizes this layout applies to.
// This could either be a concrete size, or a asterisk to match all sizes.
Sizes []string `protobuf:"bytes,1,rep,name=sizes,proto3" json:"sizes,omitempty"`
// Images list of images this layout applies to in the following form:
// Key must be the first part of available images, e.g. the name of the imag.
// Value must be a semver match expression with the constraint and the version separated by space.
// This would match all debian images which are greater or equal 12:
// "debian": >= 12.0.
Images map[string]string `` /* 139-byte string literal not displayed */
// contains filtered or unexported fields
}
FilesystemLayoutConstraints.
func (*FilesystemLayoutConstraints) Descriptor
deprecated
func (*FilesystemLayoutConstraints) Descriptor() ([]byte, []int)
Deprecated: Use FilesystemLayoutConstraints.ProtoReflect.Descriptor instead.
func (*FilesystemLayoutConstraints) GetImages ¶
func (x *FilesystemLayoutConstraints) GetImages() map[string]string
func (*FilesystemLayoutConstraints) GetSizes ¶
func (x *FilesystemLayoutConstraints) GetSizes() []string
func (*FilesystemLayoutConstraints) ProtoMessage ¶
func (*FilesystemLayoutConstraints) ProtoMessage()
func (*FilesystemLayoutConstraints) ProtoReflect ¶
func (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 FirewallEgressRule ¶ added in v0.0.9
type FirewallEgressRule struct {
// Protocol the protocol for the rule, defaults to tcp.
Protocol IPProtocol `protobuf:"varint,1,opt,name=protocol,proto3,enum=metalstack.api.v2.IPProtocol" json:"protocol,omitempty"`
// Ports the ports affected by this rule.
Ports []uint32 `protobuf:"varint,2,rep,packed,name=ports,proto3" json:"ports,omitempty"`
// To the destination cidrs affected by this rule.
To []string `protobuf:"bytes,3,rep,name=to,proto3" json:"to,omitempty"`
// Comment for this rule.
Comment string `protobuf:"bytes,4,opt,name=comment,proto3" json:"comment,omitempty"`
// contains filtered or unexported fields
}
FirewallEgressRule defines rules for outgoing traffic.
func (*FirewallEgressRule) Descriptor
deprecated
added in
v0.0.9
func (*FirewallEgressRule) Descriptor() ([]byte, []int)
Deprecated: Use FirewallEgressRule.ProtoReflect.Descriptor instead.
func (*FirewallEgressRule) GetComment ¶ added in v0.0.9
func (x *FirewallEgressRule) GetComment() string
func (*FirewallEgressRule) GetPorts ¶ added in v0.0.9
func (x *FirewallEgressRule) GetPorts() []uint32
func (*FirewallEgressRule) GetProtocol ¶ added in v0.0.9
func (x *FirewallEgressRule) GetProtocol() IPProtocol
func (*FirewallEgressRule) GetTo ¶ added in v0.0.9
func (x *FirewallEgressRule) GetTo() []string
func (*FirewallEgressRule) ProtoMessage ¶ added in v0.0.9
func (*FirewallEgressRule) ProtoMessage()
func (*FirewallEgressRule) ProtoReflect ¶ added in v0.0.9
func (x *FirewallEgressRule) ProtoReflect() protoreflect.Message
func (*FirewallEgressRule) Reset ¶ added in v0.0.9
func (x *FirewallEgressRule) Reset()
func (*FirewallEgressRule) String ¶ added in v0.0.9
func (x *FirewallEgressRule) String() string
type FirewallIngressRule ¶ added in v0.0.9
type FirewallIngressRule struct {
// Protocol the protocol for the rule, defaults to tcp.
Protocol IPProtocol `protobuf:"varint,1,opt,name=protocol,proto3,enum=metalstack.api.v2.IPProtocol" json:"protocol,omitempty"`
// Ports the ports affected by this rule.
Ports []uint32 `protobuf:"varint,2,rep,packed,name=ports,proto3" json:"ports,omitempty"`
// To the destination cidrs affected by this rule.
To []string `protobuf:"bytes,3,rep,name=to,proto3" json:"to,omitempty"`
// From the source cidrs affected by this rule.
From []string `protobuf:"bytes,4,rep,name=from,proto3" json:"from,omitempty"`
// Comment for this rule.
Comment string `protobuf:"bytes,5,opt,name=comment,proto3" json:"comment,omitempty"`
// contains filtered or unexported fields
}
FirewallIngressRule defines rules for incoming traffic.
func (*FirewallIngressRule) Descriptor
deprecated
added in
v0.0.9
func (*FirewallIngressRule) Descriptor() ([]byte, []int)
Deprecated: Use FirewallIngressRule.ProtoReflect.Descriptor instead.
func (*FirewallIngressRule) GetComment ¶ added in v0.0.9
func (x *FirewallIngressRule) GetComment() string
func (*FirewallIngressRule) GetFrom ¶ added in v0.0.9
func (x *FirewallIngressRule) GetFrom() []string
func (*FirewallIngressRule) GetPorts ¶ added in v0.0.9
func (x *FirewallIngressRule) GetPorts() []uint32
func (*FirewallIngressRule) GetProtocol ¶ added in v0.0.9
func (x *FirewallIngressRule) GetProtocol() IPProtocol
func (*FirewallIngressRule) GetTo ¶ added in v0.0.9
func (x *FirewallIngressRule) GetTo() []string
func (*FirewallIngressRule) ProtoMessage ¶ added in v0.0.9
func (*FirewallIngressRule) ProtoMessage()
func (*FirewallIngressRule) ProtoReflect ¶ added in v0.0.9
func (x *FirewallIngressRule) ProtoReflect() protoreflect.Message
func (*FirewallIngressRule) Reset ¶ added in v0.0.9
func (x *FirewallIngressRule) Reset()
func (*FirewallIngressRule) String ¶ added in v0.0.9
func (x *FirewallIngressRule) String() string
type FirewallRules ¶ added in v0.0.9
type FirewallRules struct {
// Egress list of egress rules to be deployed during firewall allocation.
Egress []*FirewallEgressRule `protobuf:"bytes,1,rep,name=egress,proto3" json:"egress,omitempty"`
// Ingress list of ingress rules to be deployed during firewall allocation.
Ingress []*FirewallIngressRule `protobuf:"bytes,2,rep,name=ingress,proto3" json:"ingress,omitempty"`
// contains filtered or unexported fields
}
FirewallRules can be defined during firewall allocation.
func (*FirewallRules) Descriptor
deprecated
added in
v0.0.9
func (*FirewallRules) Descriptor() ([]byte, []int)
Deprecated: Use FirewallRules.ProtoReflect.Descriptor instead.
func (*FirewallRules) GetEgress ¶ added in v0.0.9
func (x *FirewallRules) GetEgress() []*FirewallEgressRule
func (*FirewallRules) GetIngress ¶ added in v0.0.9
func (x *FirewallRules) GetIngress() []*FirewallIngressRule
func (*FirewallRules) ProtoMessage ¶ added in v0.0.9
func (*FirewallRules) ProtoMessage()
func (*FirewallRules) ProtoReflect ¶ added in v0.0.9
func (x *FirewallRules) ProtoReflect() protoreflect.Message
func (*FirewallRules) Reset ¶ added in v0.0.9
func (x *FirewallRules) Reset()
func (*FirewallRules) String ¶ added in v0.0.9
func (x *FirewallRules) String() string
type FirewallSpec ¶ added in v0.0.14
type FirewallSpec struct {
// FirewallRules to be applied if this is a firewall.
FirewallRules *FirewallRules `protobuf:"bytes,1,opt,name=firewall_rules,json=firewallRules,proto3" json:"firewall_rules,omitempty"`
// contains filtered or unexported fields
}
FirewallSpec contains firewall specific firewall creation parameters.
func (*FirewallSpec) Descriptor
deprecated
added in
v0.0.14
func (*FirewallSpec) Descriptor() ([]byte, []int)
Deprecated: Use FirewallSpec.ProtoReflect.Descriptor instead.
func (*FirewallSpec) GetFirewallRules ¶ added in v0.0.14
func (x *FirewallSpec) GetFirewallRules() *FirewallRules
func (*FirewallSpec) ProtoMessage ¶ added in v0.0.14
func (*FirewallSpec) ProtoMessage()
func (*FirewallSpec) ProtoReflect ¶ added in v0.0.14
func (x *FirewallSpec) ProtoReflect() protoreflect.Message
func (*FirewallSpec) Reset ¶ added in v0.0.14
func (x *FirewallSpec) Reset()
func (*FirewallSpec) String ¶ added in v0.0.14
func (x *FirewallSpec) String() string
type Format ¶
type Format int32
Format specifies the filesystem to use on a volume.
const ( // FORMAT_UNSPECIFIED. Format_FORMAT_UNSPECIFIED Format = 0 // FORMAT_VFAT is used for the UEFI boot partition. Format_FORMAT_VFAT Format = 1 // FORMAT_EXT3 is usually only used for /boot. Format_FORMAT_EXT3 Format = 2 // FORMAT_EXT4 is the default fs. Format_FORMAT_EXT4 Format = 3 // FORMAT_SWAP is for the swap partition. Format_FORMAT_SWAP Format = 4 // FORMAT_TMPFS is used for a memory filesystem typically /tmp. Format_FORMAT_TMPFS Format = 5 // FORMAT_NONE. Format_FORMAT_NONE Format = 6 )
func (Format) Descriptor ¶
func (Format) Descriptor() protoreflect.EnumDescriptor
func (Format) 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 contains the health of all individual services.
Services []*HealthStatus `protobuf:"bytes,1,rep,name=services,proto3" json:"services,omitempty"`
// contains filtered or unexported fields
}
Health reports the health status of all services.
func (*Health) Descriptor
deprecated
func (*Health) 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 the request payload for getting the health of the system.
func (*HealthServiceGetRequest) Descriptor
deprecated
func (*HealthServiceGetRequest) Descriptor() ([]byte, []int)
Deprecated: Use HealthServiceGetRequest.ProtoReflect.Descriptor instead.
func (*HealthServiceGetRequest) ProtoMessage ¶
func (*HealthServiceGetRequest) ProtoMessage()
func (*HealthServiceGetRequest) ProtoReflect ¶
func (x *HealthServiceGetRequest) ProtoReflect() protoreflect.Message
func (*HealthServiceGetRequest) Reset ¶
func (x *HealthServiceGetRequest) Reset()
func (*HealthServiceGetRequest) String ¶
func (x *HealthServiceGetRequest) String() string
type HealthServiceGetResponse ¶
type HealthServiceGetResponse struct {
// Health contains the overall health of the system.
Health *Health `protobuf:"bytes,1,opt,name=health,proto3" json:"health,omitempty"`
// contains filtered or unexported fields
}
HealthServiceGetResponse is the response payload for getting the health of the system.
func (*HealthServiceGetResponse) Descriptor
deprecated
func (*HealthServiceGetResponse) Descriptor() ([]byte, []int)
Deprecated: Use HealthServiceGetResponse.ProtoReflect.Descriptor instead.
func (*HealthServiceGetResponse) GetHealth ¶
func (x *HealthServiceGetResponse) GetHealth() *Health
func (*HealthServiceGetResponse) ProtoMessage ¶
func (*HealthServiceGetResponse) ProtoMessage()
func (*HealthServiceGetResponse) ProtoReflect ¶
func (x *HealthServiceGetResponse) ProtoReflect() protoreflect.Message
func (*HealthServiceGetResponse) Reset ¶
func (x *HealthServiceGetResponse) Reset()
func (*HealthServiceGetResponse) String ¶
func (x *HealthServiceGetResponse) String() string
type HealthStatus ¶
type HealthStatus struct {
// Name is the name of the service.
Name Service `protobuf:"varint,1,opt,name=name,proto3,enum=metalstack.api.v2.Service" json:"name,omitempty"`
// Status is the status of this service.
Status ServiceStatus `protobuf:"varint,2,opt,name=status,proto3,enum=metalstack.api.v2.ServiceStatus" json:"status,omitempty"`
// Message describes the reason for the unhealthy status if possible.
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
// Partitions describes the health of the service by partition.
Partitions map[string]*PartitionHealth `` /* 147-byte string literal not displayed */
// contains filtered or unexported fields
}
HealthStatus represents the health status of one service.
func (*HealthStatus) Descriptor
deprecated
func (*HealthStatus) Descriptor() ([]byte, []int)
Deprecated: Use HealthStatus.ProtoReflect.Descriptor instead.
func (*HealthStatus) GetMessage ¶
func (x *HealthStatus) GetMessage() string
func (*HealthStatus) GetName ¶
func (x *HealthStatus) GetName() Service
func (*HealthStatus) GetPartitions ¶
func (x *HealthStatus) GetPartitions() map[string]*PartitionHealth
func (*HealthStatus) GetStatus ¶
func (x *HealthStatus) GetStatus() ServiceStatus
func (*HealthStatus) ProtoMessage ¶
func (*HealthStatus) ProtoMessage()
func (*HealthStatus) ProtoReflect ¶
func (x *HealthStatus) ProtoReflect() protoreflect.Message
func (*HealthStatus) Reset ¶
func (x *HealthStatus) Reset()
func (*HealthStatus) String ¶
func (x *HealthStatus) String() string
type IP ¶
type IP struct {
// Uuid of this ip.
Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
// Meta for this ip.
Meta *Meta `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta,omitempty"`
// Ip is either ipv4 or ipv6 address.
Ip string `protobuf:"bytes,3,opt,name=ip,proto3" json:"ip,omitempty"`
// Name of this ip.
Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
// Description of this ip.
Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
// Network is the network this ip belongs to.
Network string `protobuf:"bytes,6,opt,name=network,proto3" json:"network,omitempty"`
// Project where this ip address belongs to.
Project string `protobuf:"bytes,7,opt,name=project,proto3" json:"project,omitempty"`
// Type of this ip.
Type IPType `protobuf:"varint,8,opt,name=type,proto3,enum=metalstack.api.v2.IPType" json:"type,omitempty"`
// Namespace if specified this ip is from a namespaced network and can therefore overlap with others.
// Will be equal with project most of the time.
Namespace *string `protobuf:"bytes,9,opt,name=namespace,proto3,oneof" json:"namespace,omitempty"`
// contains filtered or unexported fields
}
IP is an IP address which can be used as loadbalancer addresses.
func (*IP) Descriptor
deprecated
func (*IP) 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 IPProtocol ¶ added in v0.0.9
type IPProtocol int32
IPProtocol defines tcp|udp.
const ( // IP_PROTOCOL_UNSPECIFIED is not specified. IPProtocol_IP_PROTOCOL_UNSPECIFIED IPProtocol = 0 // IP_PROTOCOL_TCP is tcp. IPProtocol_IP_PROTOCOL_TCP IPProtocol = 1 // IP_PROTOCOL_UDP is udp. IPProtocol_IP_PROTOCOL_UDP IPProtocol = 2 )
func (IPProtocol) Descriptor ¶ added in v0.0.9
func (IPProtocol) Descriptor() protoreflect.EnumDescriptor
func (IPProtocol) Enum ¶ added in v0.0.9
func (x IPProtocol) Enum() *IPProtocol
func (IPProtocol) EnumDescriptor
deprecated
added in
v0.0.9
func (IPProtocol) EnumDescriptor() ([]byte, []int)
Deprecated: Use IPProtocol.Descriptor instead.
func (IPProtocol) Number ¶ added in v0.0.9
func (x IPProtocol) Number() protoreflect.EnumNumber
func (IPProtocol) String ¶ added in v0.0.9
func (x IPProtocol) String() string
func (IPProtocol) Type ¶ added in v0.0.9
func (IPProtocol) 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 which the IPs are to list.
Network *string `protobuf:"bytes,2,opt,name=network,proto3,oneof" json:"network,omitempty"`
// Project of the ips to list.
Project *string `protobuf:"bytes,3,opt,name=project,proto3,oneof" json:"project,omitempty"`
// Name of this ip.
Name *string `protobuf:"bytes,4,opt,name=name,proto3,oneof" json:"name,omitempty"`
// UUID for which these IPs should be filtered.
Uuid *string `protobuf:"bytes,5,opt,name=uuid,proto3,oneof" json:"uuid,omitempty"`
// Machine for which these IPs should be filtered.
Machine *string `protobuf:"bytes,6,opt,name=machine,proto3,oneof" json:"machine,omitempty"`
// ParentPrefixCidr for which this ips should get filtered.
ParentPrefixCidr *string `protobuf:"bytes,7,opt,name=parent_prefix_cidr,json=parentPrefixCidr,proto3,oneof" json:"parent_prefix_cidr,omitempty"`
// Labels for which these IPs should be filtered.
Labels *Labels `protobuf:"bytes,8,opt,name=labels,proto3,oneof" json:"labels,omitempty"`
// Static if set to true, this will be a Static ip.
Type *IPType `protobuf:"varint,9,opt,name=type,proto3,enum=metalstack.api.v2.IPType,oneof" json:"type,omitempty"`
// Address family of the IPs to list, defaults to all address families.
AddressFamily *IPAddressFamily `` /* 147-byte string literal not displayed */
// Namespace can be specified to get the ip of a namespace.
Namespace *string `protobuf:"bytes,11,opt,name=namespace,proto3,oneof" json:"namespace,omitempty"`
// contains filtered or unexported fields
}
IPQuery can be used to query a IP or a list of IP.
func (*IPQuery) Descriptor
deprecated
func (*IPQuery) GetAddressFamily ¶
func (x *IPQuery) GetAddressFamily() IPAddressFamily
func (*IPQuery) GetMachine ¶ added in v0.0.13
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"`
// Machine for which this ip should get created.
Machine *string `protobuf:"bytes,6,opt,name=machine,proto3,oneof" json:"machine,omitempty"`
// Labels to put onto the ip.
Labels *Labels `protobuf:"bytes,7,opt,name=labels,proto3,oneof" json:"labels,omitempty"`
// Type of the IP, ether ephemeral (default), or static.
Type *IPType `protobuf:"varint,8,opt,name=type,proto3,enum=metalstack.api.v2.IPType,oneof" json:"type,omitempty"`
// Addressfamily of the IP to create, defaults to ipv4.
AddressFamily *IPAddressFamily `` /* 146-byte string literal not displayed */
// contains filtered or unexported fields
}
IPServiceCreateRequest is the request payload for an IP create request.
func (*IPServiceCreateRequest) Descriptor
deprecated
func (*IPServiceCreateRequest) Descriptor() ([]byte, []int)
Deprecated: Use IPServiceCreateRequest.ProtoReflect.Descriptor instead.
func (*IPServiceCreateRequest) GetAddressFamily ¶
func (x *IPServiceCreateRequest) GetAddressFamily() IPAddressFamily
func (*IPServiceCreateRequest) GetDescription ¶
func (x *IPServiceCreateRequest) GetDescription() string
func (*IPServiceCreateRequest) GetIp ¶
func (x *IPServiceCreateRequest) GetIp() string
func (*IPServiceCreateRequest) GetLabels ¶
func (x *IPServiceCreateRequest) GetLabels() *Labels
func (*IPServiceCreateRequest) GetMachine ¶ added in v0.0.13
func (x *IPServiceCreateRequest) GetMachine() string
func (*IPServiceCreateRequest) GetName ¶
func (x *IPServiceCreateRequest) GetName() string
func (*IPServiceCreateRequest) GetNetwork ¶
func (x *IPServiceCreateRequest) GetNetwork() string
func (*IPServiceCreateRequest) GetProject ¶
func (x *IPServiceCreateRequest) GetProject() string
func (*IPServiceCreateRequest) GetType ¶
func (x *IPServiceCreateRequest) GetType() IPType
func (*IPServiceCreateRequest) ProtoMessage ¶
func (*IPServiceCreateRequest) ProtoMessage()
func (*IPServiceCreateRequest) ProtoReflect ¶
func (x *IPServiceCreateRequest) ProtoReflect() protoreflect.Message
func (*IPServiceCreateRequest) Reset ¶
func (x *IPServiceCreateRequest) Reset()
func (*IPServiceCreateRequest) String ¶
func (x *IPServiceCreateRequest) String() string
type IPServiceCreateResponse ¶
type IPServiceCreateResponse struct {
// Ip the ip.
Ip *IP `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"`
// contains filtered or unexported fields
}
IPServiceCreateResponse is the response payload for an IP create request.
func (*IPServiceCreateResponse) Descriptor
deprecated
func (*IPServiceCreateResponse) Descriptor() ([]byte, []int)
Deprecated: Use IPServiceCreateResponse.ProtoReflect.Descriptor instead.
func (*IPServiceCreateResponse) GetIp ¶
func (x *IPServiceCreateResponse) GetIp() *IP
func (*IPServiceCreateResponse) ProtoMessage ¶
func (*IPServiceCreateResponse) ProtoMessage()
func (*IPServiceCreateResponse) ProtoReflect ¶
func (x *IPServiceCreateResponse) ProtoReflect() protoreflect.Message
func (*IPServiceCreateResponse) Reset ¶
func (x *IPServiceCreateResponse) Reset()
func (*IPServiceCreateResponse) String ¶
func (x *IPServiceCreateResponse) String() string
type IPServiceDeleteRequest ¶
type IPServiceDeleteRequest struct {
// IP of the ip to delete.
Ip string `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"`
// Project of the ip.
Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
// contains filtered or unexported fields
}
IPServiceDeleteRequest is the request payload for a ip delete request.
func (*IPServiceDeleteRequest) Descriptor
deprecated
func (*IPServiceDeleteRequest) Descriptor() ([]byte, []int)
Deprecated: Use IPServiceDeleteRequest.ProtoReflect.Descriptor instead.
func (*IPServiceDeleteRequest) GetIp ¶
func (x *IPServiceDeleteRequest) GetIp() string
func (*IPServiceDeleteRequest) GetProject ¶
func (x *IPServiceDeleteRequest) GetProject() string
func (*IPServiceDeleteRequest) ProtoMessage ¶
func (*IPServiceDeleteRequest) ProtoMessage()
func (*IPServiceDeleteRequest) ProtoReflect ¶
func (x *IPServiceDeleteRequest) ProtoReflect() protoreflect.Message
func (*IPServiceDeleteRequest) Reset ¶
func (x *IPServiceDeleteRequest) Reset()
func (*IPServiceDeleteRequest) String ¶
func (x *IPServiceDeleteRequest) String() string
type IPServiceDeleteResponse ¶
type IPServiceDeleteResponse struct {
// Ip the ip.
Ip *IP `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"`
// contains filtered or unexported fields
}
IPServiceDeleteResponse is the response payload for an IP delete request.
func (*IPServiceDeleteResponse) Descriptor
deprecated
func (*IPServiceDeleteResponse) Descriptor() ([]byte, []int)
Deprecated: Use IPServiceDeleteResponse.ProtoReflect.Descriptor instead.
func (*IPServiceDeleteResponse) GetIp ¶
func (x *IPServiceDeleteResponse) GetIp() *IP
func (*IPServiceDeleteResponse) ProtoMessage ¶
func (*IPServiceDeleteResponse) ProtoMessage()
func (*IPServiceDeleteResponse) ProtoReflect ¶
func (x *IPServiceDeleteResponse) ProtoReflect() protoreflect.Message
func (*IPServiceDeleteResponse) Reset ¶
func (x *IPServiceDeleteResponse) Reset()
func (*IPServiceDeleteResponse) String ¶
func (x *IPServiceDeleteResponse) String() string
type IPServiceGetRequest ¶
type IPServiceGetRequest struct {
// IP of the ip to get.
Ip string `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"`
// Project of the ip.
Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
// Namespace can be specified to get the ip of a namespace.
Namespace *string `protobuf:"bytes,3,opt,name=namespace,proto3,oneof" json:"namespace,omitempty"`
// contains filtered or unexported fields
}
IPServiceGetRequest is the request payload for an IP get request.
func (*IPServiceGetRequest) Descriptor
deprecated
func (*IPServiceGetRequest) Descriptor() ([]byte, []int)
Deprecated: Use IPServiceGetRequest.ProtoReflect.Descriptor instead.
func (*IPServiceGetRequest) GetIp ¶
func (x *IPServiceGetRequest) GetIp() string
func (*IPServiceGetRequest) GetNamespace ¶
func (x *IPServiceGetRequest) GetNamespace() string
func (*IPServiceGetRequest) GetProject ¶
func (x *IPServiceGetRequest) GetProject() string
func (*IPServiceGetRequest) ProtoMessage ¶
func (*IPServiceGetRequest) ProtoMessage()
func (*IPServiceGetRequest) ProtoReflect ¶
func (x *IPServiceGetRequest) ProtoReflect() protoreflect.Message
func (*IPServiceGetRequest) Reset ¶
func (x *IPServiceGetRequest) Reset()
func (*IPServiceGetRequest) String ¶
func (x *IPServiceGetRequest) String() string
type IPServiceGetResponse ¶
type IPServiceGetResponse struct {
// Ip the ip.
Ip *IP `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"`
// contains filtered or unexported fields
}
IPServiceGetResponse is the response payload for an IP get request.
func (*IPServiceGetResponse) Descriptor
deprecated
func (*IPServiceGetResponse) Descriptor() ([]byte, []int)
Deprecated: Use IPServiceGetResponse.ProtoReflect.Descriptor instead.
func (*IPServiceGetResponse) GetIp ¶
func (x *IPServiceGetResponse) GetIp() *IP
func (*IPServiceGetResponse) ProtoMessage ¶
func (*IPServiceGetResponse) ProtoMessage()
func (*IPServiceGetResponse) ProtoReflect ¶
func (x *IPServiceGetResponse) ProtoReflect() protoreflect.Message
func (*IPServiceGetResponse) Reset ¶
func (x *IPServiceGetResponse) Reset()
func (*IPServiceGetResponse) String ¶
func (x *IPServiceGetResponse) String() string
type IPServiceListRequest ¶
type IPServiceListRequest struct {
// Project of the ips to list.
Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
// Query to list one or more IPs.
Query *IPQuery `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"`
// contains filtered or unexported fields
}
IPServiceListRequest is the request payload for an IP list request.
func (*IPServiceListRequest) Descriptor
deprecated
func (*IPServiceListRequest) Descriptor() ([]byte, []int)
Deprecated: Use IPServiceListRequest.ProtoReflect.Descriptor instead.
func (*IPServiceListRequest) GetProject ¶
func (x *IPServiceListRequest) GetProject() string
func (*IPServiceListRequest) GetQuery ¶
func (x *IPServiceListRequest) GetQuery() *IPQuery
func (*IPServiceListRequest) ProtoMessage ¶
func (*IPServiceListRequest) ProtoMessage()
func (*IPServiceListRequest) ProtoReflect ¶
func (x *IPServiceListRequest) ProtoReflect() protoreflect.Message
func (*IPServiceListRequest) Reset ¶
func (x *IPServiceListRequest) Reset()
func (*IPServiceListRequest) String ¶
func (x *IPServiceListRequest) String() string
type IPServiceListResponse ¶
type IPServiceListResponse struct {
// Ips the ips.
Ips []*IP `protobuf:"bytes,1,rep,name=ips,proto3" json:"ips,omitempty"`
// contains filtered or unexported fields
}
IPServiceListResponse is the response payload for an IP list request.
func (*IPServiceListResponse) Descriptor
deprecated
func (*IPServiceListResponse) Descriptor() ([]byte, []int)
Deprecated: Use IPServiceListResponse.ProtoReflect.Descriptor instead.
func (*IPServiceListResponse) GetIps ¶
func (x *IPServiceListResponse) GetIps() []*IP
func (*IPServiceListResponse) ProtoMessage ¶
func (*IPServiceListResponse) ProtoMessage()
func (*IPServiceListResponse) ProtoReflect ¶
func (x *IPServiceListResponse) ProtoReflect() protoreflect.Message
func (*IPServiceListResponse) Reset ¶
func (x *IPServiceListResponse) Reset()
func (*IPServiceListResponse) String ¶
func (x *IPServiceListResponse) String() string
type IPServiceUpdateRequest ¶
type IPServiceUpdateRequest struct {
// Ip the ip address to update.
Ip string `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"`
// UpdateMeta contains the timestamp and strategy to be used in this update request.
UpdateMeta *UpdateMeta `protobuf:"bytes,2,opt,name=update_meta,json=updateMeta,proto3" json:"update_meta,omitempty"`
// Project id of the ip.
Project string `protobuf:"bytes,3,opt,name=project,proto3" json:"project,omitempty"`
// Name of this ip.
Name *string `protobuf:"bytes,4,opt,name=name,proto3,oneof" json:"name,omitempty"`
// Description of this ip.
Description *string `protobuf:"bytes,5,opt,name=description,proto3,oneof" json:"description,omitempty"`
// Type of this ip.
Type *IPType `protobuf:"varint,6,opt,name=type,proto3,enum=metalstack.api.v2.IPType,oneof" json:"type,omitempty"`
// Labels on this ip.
Labels *UpdateLabels `protobuf:"bytes,7,opt,name=labels,proto3,oneof" json:"labels,omitempty"`
// contains filtered or unexported fields
}
IPServiceUpdateRequest is the request payload for an IP update request.
func (*IPServiceUpdateRequest) Descriptor
deprecated
func (*IPServiceUpdateRequest) Descriptor() ([]byte, []int)
Deprecated: Use IPServiceUpdateRequest.ProtoReflect.Descriptor instead.
func (*IPServiceUpdateRequest) GetDescription ¶
func (x *IPServiceUpdateRequest) GetDescription() string
func (*IPServiceUpdateRequest) GetIp ¶
func (x *IPServiceUpdateRequest) GetIp() string
func (*IPServiceUpdateRequest) GetLabels ¶
func (x *IPServiceUpdateRequest) GetLabels() *UpdateLabels
func (*IPServiceUpdateRequest) GetName ¶
func (x *IPServiceUpdateRequest) GetName() string
func (*IPServiceUpdateRequest) GetProject ¶
func (x *IPServiceUpdateRequest) GetProject() string
func (*IPServiceUpdateRequest) GetType ¶
func (x *IPServiceUpdateRequest) GetType() IPType
func (*IPServiceUpdateRequest) GetUpdateMeta ¶ added in v0.0.21
func (x *IPServiceUpdateRequest) GetUpdateMeta() *UpdateMeta
func (*IPServiceUpdateRequest) ProtoMessage ¶
func (*IPServiceUpdateRequest) ProtoMessage()
func (*IPServiceUpdateRequest) ProtoReflect ¶
func (x *IPServiceUpdateRequest) ProtoReflect() protoreflect.Message
func (*IPServiceUpdateRequest) Reset ¶
func (x *IPServiceUpdateRequest) Reset()
func (*IPServiceUpdateRequest) String ¶
func (x *IPServiceUpdateRequest) String() string
type IPServiceUpdateResponse ¶
type IPServiceUpdateResponse struct {
// Ip the ip.
Ip *IP `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"`
// contains filtered or unexported fields
}
IPServiceUpdateResponse is the response payload for a ip update request.
func (*IPServiceUpdateResponse) Descriptor
deprecated
func (*IPServiceUpdateResponse) Descriptor() ([]byte, []int)
Deprecated: Use IPServiceUpdateResponse.ProtoReflect.Descriptor instead.
func (*IPServiceUpdateResponse) GetIp ¶
func (x *IPServiceUpdateResponse) GetIp() *IP
func (*IPServiceUpdateResponse) ProtoMessage ¶
func (*IPServiceUpdateResponse) ProtoMessage()
func (*IPServiceUpdateResponse) ProtoReflect ¶
func (x *IPServiceUpdateResponse) ProtoReflect() protoreflect.Message
func (*IPServiceUpdateResponse) Reset ¶
func (x *IPServiceUpdateResponse) Reset()
func (*IPServiceUpdateResponse) String ¶
func (x *IPServiceUpdateResponse) String() string
type IPType ¶
type IPType int32
IPType specifies different IP address types.
const ( // IP_TYPE_UNSPECIFIED is not specified. IPType_IP_TYPE_UNSPECIFIED IPType = 0 // IP_TYPE_EPHEMERAL defines an ephemeral IP address which is freed/deleted after usage. IPType_IP_TYPE_EPHEMERAL IPType = 1 // IP_TYPE_STATIC defines a static ip address which must be freed/deleted explicitly. IPType_IP_TYPE_STATIC IPType = 2 )
func (IPType) Descriptor ¶
func (IPType) Descriptor() protoreflect.EnumDescriptor
func (IPType) 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 image.
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// Meta for this image.
Meta *Meta `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta,omitempty"`
// URL where this image is located.
Url string `protobuf:"bytes,3,opt,name=url,proto3" json:"url,omitempty"`
// Name of this image.
Name *string `protobuf:"bytes,4,opt,name=name,proto3,oneof" json:"name,omitempty"`
// Description of this image.
Description *string `protobuf:"bytes,5,opt,name=description,proto3,oneof" json:"description,omitempty"`
// Features of this image.
Features []ImageFeature `protobuf:"varint,6,rep,packed,name=features,proto3,enum=metalstack.api.v2.ImageFeature" json:"features,omitempty"`
// Classification of this image.
Classification ImageClassification `protobuf:"varint,7,opt,name=classification,proto3,enum=metalstack.api.v2.ImageClassification" json:"classification,omitempty"`
// ExpiresAt usage is not possible after this date.
ExpiresAt *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"`
// contains filtered or unexported fields
}
Image.
func (*Image) Descriptor
deprecated
func (*Image) 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 ImageConstraint ¶ added in v0.0.52
type ImageConstraint struct {
// Image of the constraint.
Image string `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"`
// SemverMatch which defines in semver match format which image version should apply.
SemverMatch string `protobuf:"bytes,2,opt,name=semver_match,json=semverMatch,proto3" json:"semver_match,omitempty"`
// contains filtered or unexported fields
}
ImageConstraint defines a constraint for an image. Examples: images:
ubuntu: ">= 20.04.20211011 debian: ">= 10.0.20210101
func (*ImageConstraint) Descriptor
deprecated
added in
v0.0.52
func (*ImageConstraint) Descriptor() ([]byte, []int)
Deprecated: Use ImageConstraint.ProtoReflect.Descriptor instead.
func (*ImageConstraint) GetImage ¶ added in v0.0.52
func (x *ImageConstraint) GetImage() string
func (*ImageConstraint) GetSemverMatch ¶ added in v0.0.52
func (x *ImageConstraint) GetSemverMatch() string
func (*ImageConstraint) ProtoMessage ¶ added in v0.0.52
func (*ImageConstraint) ProtoMessage()
func (*ImageConstraint) ProtoReflect ¶ added in v0.0.52
func (x *ImageConstraint) ProtoReflect() protoreflect.Message
func (*ImageConstraint) Reset ¶ added in v0.0.52
func (x *ImageConstraint) Reset()
func (*ImageConstraint) String ¶ added in v0.0.52
func (x *ImageConstraint) String() string
type ImageFeature ¶
type ImageFeature int32
ImageFeature.
const ( // IMAGE_FEATURE_UNSPECIFIED is not specified. ImageFeature_IMAGE_FEATURE_UNSPECIFIED ImageFeature = 0 // IMAGE_FEATURE_MACHINE indicates this image is usable for a machine. ImageFeature_IMAGE_FEATURE_MACHINE ImageFeature = 1 // IMAGE_FEATURE_FIREWALL indicates this image is usable for a firewall. ImageFeature_IMAGE_FEATURE_FIREWALL ImageFeature = 2 )
func (ImageFeature) Descriptor ¶
func (ImageFeature) 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"`
// Url of the image to query.
Url *string `protobuf:"bytes,6,opt,name=url,proto3,oneof" json:"url,omitempty"`
// Feature of the image to query.
Feature *ImageFeature `protobuf:"varint,7,opt,name=feature,proto3,enum=metalstack.api.v2.ImageFeature,oneof" json:"feature,omitempty"`
// Classification of the image to query.
Classification *ImageClassification `` /* 131-byte string literal not displayed */
// Labels lists only images containing the given labels.
Labels *Labels `protobuf:"bytes,9,opt,name=labels,proto3,oneof" json:"labels,omitempty"`
// contains filtered or unexported fields
}
ImageQuery is used to search images.
func (*ImageQuery) Descriptor
deprecated
func (*ImageQuery) Descriptor() ([]byte, []int)
Deprecated: Use ImageQuery.ProtoReflect.Descriptor instead.
func (*ImageQuery) GetClassification ¶
func (x *ImageQuery) GetClassification() ImageClassification
func (*ImageQuery) GetDescription ¶
func (x *ImageQuery) GetDescription() string
func (*ImageQuery) GetFeature ¶
func (x *ImageQuery) GetFeature() ImageFeature
func (*ImageQuery) GetId ¶
func (x *ImageQuery) GetId() string
func (*ImageQuery) GetLabels ¶ added in v0.0.19
func (x *ImageQuery) GetLabels() *Labels
func (*ImageQuery) GetName ¶
func (x *ImageQuery) GetName() string
func (*ImageQuery) GetOs ¶
func (x *ImageQuery) GetOs() string
func (*ImageQuery) GetUrl ¶ added in v0.0.19
func (x *ImageQuery) GetUrl() string
func (*ImageQuery) GetVersion ¶
func (x *ImageQuery) GetVersion() string
func (*ImageQuery) ProtoMessage ¶
func (*ImageQuery) ProtoMessage()
func (*ImageQuery) ProtoReflect ¶
func (x *ImageQuery) ProtoReflect() protoreflect.Message
func (*ImageQuery) Reset ¶
func (x *ImageQuery) Reset()
func (*ImageQuery) String ¶
func (x *ImageQuery) String() string
type ImageServiceGetRequest ¶
type ImageServiceGetRequest struct {
// ID of the image to get.
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
ImageServiceGetRequest is the request payload for an image get request.
func (*ImageServiceGetRequest) Descriptor
deprecated
func (*ImageServiceGetRequest) Descriptor() ([]byte, []int)
Deprecated: Use ImageServiceGetRequest.ProtoReflect.Descriptor instead.
func (*ImageServiceGetRequest) GetId ¶
func (x *ImageServiceGetRequest) GetId() string
func (*ImageServiceGetRequest) ProtoMessage ¶
func (*ImageServiceGetRequest) ProtoMessage()
func (*ImageServiceGetRequest) ProtoReflect ¶
func (x *ImageServiceGetRequest) ProtoReflect() protoreflect.Message
func (*ImageServiceGetRequest) Reset ¶
func (x *ImageServiceGetRequest) Reset()
func (*ImageServiceGetRequest) String ¶
func (x *ImageServiceGetRequest) String() string
type ImageServiceGetResponse ¶
type ImageServiceGetResponse struct {
// Image the image.
Image *Image `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"`
// contains filtered or unexported fields
}
ImageServiceGetResponse is the response payload for an image get request.
func (*ImageServiceGetResponse) Descriptor
deprecated
func (*ImageServiceGetResponse) Descriptor() ([]byte, []int)
Deprecated: Use ImageServiceGetResponse.ProtoReflect.Descriptor instead.
func (*ImageServiceGetResponse) GetImage ¶
func (x *ImageServiceGetResponse) GetImage() *Image
func (*ImageServiceGetResponse) ProtoMessage ¶
func (*ImageServiceGetResponse) ProtoMessage()
func (*ImageServiceGetResponse) ProtoReflect ¶
func (x *ImageServiceGetResponse) ProtoReflect() protoreflect.Message
func (*ImageServiceGetResponse) Reset ¶
func (x *ImageServiceGetResponse) Reset()
func (*ImageServiceGetResponse) String ¶
func (x *ImageServiceGetResponse) String() string
type ImageServiceLatestRequest ¶
type ImageServiceLatestRequest struct {
// OS for which the latest image should be fetched.
// Should contain os and major.minor then latest patch version of this os is returned.
Os string `protobuf:"bytes,1,opt,name=os,proto3" json:"os,omitempty"`
// Classification of the image latest image.
Classification *ImageClassification `` /* 131-byte string literal not displayed */
// contains filtered or unexported fields
}
ImageServiceLatestRequest is the request payload for an image latest request.
func (*ImageServiceLatestRequest) Descriptor
deprecated
func (*ImageServiceLatestRequest) Descriptor() ([]byte, []int)
Deprecated: Use ImageServiceLatestRequest.ProtoReflect.Descriptor instead.
func (*ImageServiceLatestRequest) GetClassification ¶ added in v0.0.60
func (x *ImageServiceLatestRequest) GetClassification() ImageClassification
func (*ImageServiceLatestRequest) GetOs ¶
func (x *ImageServiceLatestRequest) GetOs() string
func (*ImageServiceLatestRequest) ProtoMessage ¶
func (*ImageServiceLatestRequest) ProtoMessage()
func (*ImageServiceLatestRequest) ProtoReflect ¶
func (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 an image latest request.
func (*ImageServiceLatestResponse) Descriptor
deprecated
func (*ImageServiceLatestResponse) Descriptor() ([]byte, []int)
Deprecated: Use ImageServiceLatestResponse.ProtoReflect.Descriptor instead.
func (*ImageServiceLatestResponse) GetImage ¶
func (x *ImageServiceLatestResponse) GetImage() *Image
func (*ImageServiceLatestResponse) ProtoMessage ¶
func (*ImageServiceLatestResponse) ProtoMessage()
func (*ImageServiceLatestResponse) ProtoReflect ¶
func (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 an image list request.
func (*ImageServiceListRequest) Descriptor
deprecated
func (*ImageServiceListRequest) Descriptor() ([]byte, []int)
Deprecated: Use ImageServiceListRequest.ProtoReflect.Descriptor instead.
func (*ImageServiceListRequest) GetQuery ¶
func (x *ImageServiceListRequest) GetQuery() *ImageQuery
func (*ImageServiceListRequest) ProtoMessage ¶
func (*ImageServiceListRequest) ProtoMessage()
func (*ImageServiceListRequest) ProtoReflect ¶
func (x *ImageServiceListRequest) ProtoReflect() protoreflect.Message
func (*ImageServiceListRequest) Reset ¶
func (x *ImageServiceListRequest) Reset()
func (*ImageServiceListRequest) String ¶
func (x *ImageServiceListRequest) String() string
type ImageServiceListResponse ¶
type ImageServiceListResponse struct {
// Images the images.
Images []*Image `protobuf:"bytes,1,rep,name=images,proto3" json:"images,omitempty"`
// contains filtered or unexported fields
}
ImageServiceListResponse is the response payload for an image list request.
func (*ImageServiceListResponse) Descriptor
deprecated
func (*ImageServiceListResponse) Descriptor() ([]byte, []int)
Deprecated: Use ImageServiceListResponse.ProtoReflect.Descriptor instead.
func (*ImageServiceListResponse) GetImages ¶
func (x *ImageServiceListResponse) GetImages() []*Image
func (*ImageServiceListResponse) ProtoMessage ¶
func (*ImageServiceListResponse) ProtoMessage()
func (*ImageServiceListResponse) ProtoReflect ¶
func (x *ImageServiceListResponse) ProtoReflect() protoreflect.Message
func (*ImageServiceListResponse) Reset ¶
func (x *ImageServiceListResponse) Reset()
func (*ImageServiceListResponse) String ¶
func (x *ImageServiceListResponse) String() string
type ImageUsage ¶
type ImageUsage struct {
// Image with usage.
Image *Image `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"`
// UsedBy the following machines/firewalls.
UsedBy []string `protobuf:"bytes,2,rep,name=used_by,json=usedBy,proto3" json:"used_by,omitempty"`
// contains filtered or unexported fields
}
ImageUsage reports which machines/firewalls actually use this image.
func (*ImageUsage) Descriptor
deprecated
func (*ImageUsage) Descriptor() ([]byte, []int)
Deprecated: Use ImageUsage.ProtoReflect.Descriptor instead.
func (*ImageUsage) GetImage ¶
func (x *ImageUsage) GetImage() *Image
func (*ImageUsage) GetUsedBy ¶
func (x *ImageUsage) GetUsedBy() []string
func (*ImageUsage) ProtoMessage ¶
func (*ImageUsage) ProtoMessage()
func (*ImageUsage) ProtoReflect ¶
func (x *ImageUsage) ProtoReflect() protoreflect.Message
func (*ImageUsage) Reset ¶
func (x *ImageUsage) Reset()
func (*ImageUsage) String ¶
func (x *ImageUsage) String() string
type InfraPermissions ¶ added in v0.4.0
type InfraPermissions struct {
// Methods which should be accessible.
Methods []string `protobuf:"bytes,2,rep,name=methods,proto3" json:"methods,omitempty"`
// contains filtered or unexported fields
}
InfraPermissions carries infra method permissions.
func (*InfraPermissions) Descriptor
deprecated
added in
v0.4.0
func (*InfraPermissions) Descriptor() ([]byte, []int)
Deprecated: Use InfraPermissions.ProtoReflect.Descriptor instead.
func (*InfraPermissions) GetMethods ¶ added in v0.4.0
func (x *InfraPermissions) GetMethods() []string
func (*InfraPermissions) ProtoMessage ¶ added in v0.4.0
func (*InfraPermissions) ProtoMessage()
func (*InfraPermissions) ProtoReflect ¶ added in v0.4.0
func (x *InfraPermissions) ProtoReflect() protoreflect.Message
func (*InfraPermissions) Reset ¶ added in v0.4.0
func (x *InfraPermissions) Reset()
func (*InfraPermissions) String ¶ added in v0.4.0
func (x *InfraPermissions) String() string
type InfraRole ¶
type InfraRole int32
InfraRole specifies what role a microservice needs to call this infra service.
const ( // INFRA_ROLE_UNSPECIFIED is not specified. InfraRole_INFRA_ROLE_UNSPECIFIED InfraRole = 0 // INFRA_ROLE_EDITOR a microservice needs at least editor role to call this method. InfraRole_INFRA_ROLE_EDITOR InfraRole = 1 // INFRA_ROLE_VIEWER a microservice needs at least viewer role to call this method. InfraRole_INFRA_ROLE_VIEWER InfraRole = 2 )
func (InfraRole) Descriptor ¶
func (InfraRole) Descriptor() protoreflect.EnumDescriptor
func (InfraRole) 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 LabelsPatch ¶ added in v0.2.3
type LabelsPatch struct {
// Update labels. New ones will be added, existing ones overwritten.
Update *Labels `protobuf:"bytes,1,opt,name=update,proto3" json:"update,omitempty"`
// Remove labels by key.
Remove []string `protobuf:"bytes,2,rep,name=remove,proto3" json:"remove,omitempty"`
// contains filtered or unexported fields
}
LabelsPatch adds, updates or remove given labels without modifying others.
func (*LabelsPatch) Descriptor
deprecated
added in
v0.2.3
func (*LabelsPatch) Descriptor() ([]byte, []int)
Deprecated: Use LabelsPatch.ProtoReflect.Descriptor instead.
func (*LabelsPatch) GetRemove ¶ added in v0.2.3
func (x *LabelsPatch) GetRemove() []string
func (*LabelsPatch) GetUpdate ¶ added in v0.2.3
func (x *LabelsPatch) GetUpdate() *Labels
func (*LabelsPatch) ProtoMessage ¶ added in v0.2.3
func (*LabelsPatch) ProtoMessage()
func (*LabelsPatch) ProtoReflect ¶ added in v0.2.3
func (x *LabelsPatch) ProtoReflect() protoreflect.Message
func (*LabelsPatch) Reset ¶ added in v0.2.3
func (x *LabelsPatch) Reset()
func (*LabelsPatch) String ¶ added in v0.2.3
func (x *LabelsPatch) String() string
type LogicalVolume ¶
type LogicalVolume struct {
// Name the name of the logical volume.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// VolumeGroup the name of the volume group where to create the logical volume onto.
VolumeGroup string `protobuf:"bytes,2,opt,name=volume_group,json=volumeGroup,proto3" json:"volume_group,omitempty"`
// Size size in mebibytes (MiB) of this volume.
Size uint64 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"`
// LVMType the type of this logical volume can be either linear|striped|raid1.
LvmType LVMType `protobuf:"varint,4,opt,name=lvm_type,json=lvmType,proto3,enum=metalstack.api.v2.LVMType" json:"lvm_type,omitempty"`
// contains filtered or unexported fields
}
LogicalVolume.
func (*LogicalVolume) Descriptor
deprecated
func (*LogicalVolume) Descriptor() ([]byte, []int)
Deprecated: Use LogicalVolume.ProtoReflect.Descriptor instead.
func (*LogicalVolume) GetLvmType ¶
func (x *LogicalVolume) GetLvmType() LVMType
func (*LogicalVolume) GetName ¶
func (x *LogicalVolume) GetName() string
func (*LogicalVolume) GetSize ¶
func (x *LogicalVolume) GetSize() uint64
func (*LogicalVolume) GetVolumeGroup ¶
func (x *LogicalVolume) GetVolumeGroup() string
func (*LogicalVolume) ProtoMessage ¶
func (*LogicalVolume) ProtoMessage()
func (*LogicalVolume) ProtoReflect ¶
func (x *LogicalVolume) ProtoReflect() protoreflect.Message
func (*LogicalVolume) Reset ¶
func (x *LogicalVolume) Reset()
func (*LogicalVolume) String ¶
func (x *LogicalVolume) String() string
type Machine ¶ added in v0.0.9
type Machine struct {
// UUID of this machine.
Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
// Meta for this machine.
Meta *Meta `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta,omitempty"`
// Partition where this machine resides.
Partition *Partition `protobuf:"bytes,3,opt,name=partition,proto3" json:"partition,omitempty"`
// Rack where this machine is located.
Rack string `protobuf:"bytes,4,opt,name=rack,proto3" json:"rack,omitempty"`
// Room where this machine is located.
Room string `protobuf:"bytes,5,opt,name=room,proto3" json:"room,omitempty"`
// Size of this machine.
Size *Size `protobuf:"bytes,6,opt,name=size,proto3" json:"size,omitempty"`
// Hardware specs of this machine.
Hardware *MachineHardware `protobuf:"bytes,7,opt,name=hardware,proto3" json:"hardware,omitempty"`
// Allocation details.
Allocation *MachineAllocation `protobuf:"bytes,8,opt,name=allocation,proto3" json:"allocation,omitempty"`
// Status contains several status details related to this machine.
Status *MachineStatus `protobuf:"bytes,9,opt,name=status,proto3" json:"status,omitempty"`
// MachineRecentProvisioningEvents contains the recent provisioning events.
RecentProvisioningEvents *MachineRecentProvisioningEvents `` /* 136-byte string literal not displayed */
// contains filtered or unexported fields
}
Machine represents a physical bare metal machine.
func (*Machine) Descriptor
deprecated
added in
v0.0.9
func (*Machine) GetAllocation ¶ added in v0.0.9
func (x *Machine) GetAllocation() *MachineAllocation
func (*Machine) GetHardware ¶ added in v0.0.9
func (x *Machine) GetHardware() *MachineHardware
func (*Machine) GetPartition ¶ added in v0.0.9
func (*Machine) GetRecentProvisioningEvents ¶ added in v0.0.9
func (x *Machine) GetRecentProvisioningEvents() *MachineRecentProvisioningEvents
func (*Machine) GetStatus ¶ added in v0.0.9
func (x *Machine) GetStatus() *MachineStatus
func (*Machine) ProtoMessage ¶ added in v0.0.9
func (*Machine) ProtoMessage()
func (*Machine) ProtoReflect ¶ added in v0.0.9
func (x *Machine) ProtoReflect() protoreflect.Message
type MachineAllocation ¶ added in v0.0.9
type MachineAllocation struct {
// UUID of this machine allocation.
Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
// Meta for this machine allocation.
Meta *Meta `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta,omitempty"`
// Name of this allocation.
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
// Description of this allocation.
Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
// Created By indicates who created this machine allocation.
CreatedBy string `protobuf:"bytes,5,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"`
// Project of the allocation.
Project string `protobuf:"bytes,6,opt,name=project,proto3" json:"project,omitempty"`
// Image to be used to install on this machine.
Image *Image `protobuf:"bytes,7,opt,name=image,proto3" json:"image,omitempty"`
// FilesystemLayout to create on the disks.
FilesystemLayout *FilesystemLayout `protobuf:"bytes,8,opt,name=filesystem_layout,json=filesystemLayout,proto3" json:"filesystem_layout,omitempty"`
// Networks this machine should be attached to.
// Order of ips of external networks will be preserved.
Networks []*MachineNetwork `protobuf:"bytes,9,rep,name=networks,proto3" json:"networks,omitempty"`
// Hostname of the allocated machine.
Hostname string `protobuf:"bytes,10,opt,name=hostname,proto3" json:"hostname,omitempty"`
// SSHPublicKeys which should be installed on this machine.
SshPublicKeys []string `protobuf:"bytes,11,rep,name=ssh_public_keys,json=sshPublicKeys,proto3" json:"ssh_public_keys,omitempty"`
// Userdata contains instructions required to bootstrap the machine.
// AWS limits the max userdata size to 16k, lets allow twice as much.
Userdata string `protobuf:"bytes,12,opt,name=userdata,proto3" json:"userdata,omitempty"`
// AllocationType of this machine.
AllocationType MachineAllocationType `` /* 150-byte string literal not displayed */
// FirewallRules to be applied if this is a firewall.
FirewallRules *FirewallRules `protobuf:"bytes,14,opt,name=firewall_rules,json=firewallRules,proto3" json:"firewall_rules,omitempty"`
// DNSServers for this machine.
DnsServers []*DNSServer `protobuf:"bytes,15,rep,name=dns_servers,json=dnsServers,proto3" json:"dns_servers,omitempty"`
// NTPServers for this machine.
NtpServers []*NTPServer `protobuf:"bytes,16,rep,name=ntp_servers,json=ntpServers,proto3" json:"ntp_servers,omitempty"`
// VPN connection configuration.
Vpn *MachineVPN `protobuf:"bytes,17,opt,name=vpn,proto3" json:"vpn,omitempty"`
// PlacementLabels by default machines are spread across the racks inside a partition for every project.
// if placement labels are provided, the machine candidate has an additional anti-affinity to other machines having the same labels.
PlacementLabels *Labels `protobuf:"bytes,18,opt,name=placement_labels,json=placementLabels,proto3" json:"placement_labels,omitempty"`
// contains filtered or unexported fields
}
MachineAllocation contains properties if this machine is allocated.
func (*MachineAllocation) Descriptor
deprecated
added in
v0.0.9
func (*MachineAllocation) Descriptor() ([]byte, []int)
Deprecated: Use MachineAllocation.ProtoReflect.Descriptor instead.
func (*MachineAllocation) GetAllocationType ¶ added in v0.0.10
func (x *MachineAllocation) GetAllocationType() MachineAllocationType
func (*MachineAllocation) GetCreatedBy ¶ added in v0.0.9
func (x *MachineAllocation) GetCreatedBy() string
func (*MachineAllocation) GetDescription ¶ added in v0.0.9
func (x *MachineAllocation) GetDescription() string
func (*MachineAllocation) GetDnsServers ¶ added in v0.0.54
func (x *MachineAllocation) GetDnsServers() []*DNSServer
func (*MachineAllocation) GetFilesystemLayout ¶ added in v0.0.9
func (x *MachineAllocation) GetFilesystemLayout() *FilesystemLayout
func (*MachineAllocation) GetFirewallRules ¶ added in v0.0.9
func (x *MachineAllocation) GetFirewallRules() *FirewallRules
func (*MachineAllocation) GetHostname ¶ added in v0.0.9
func (x *MachineAllocation) GetHostname() string
func (*MachineAllocation) GetImage ¶ added in v0.0.9
func (x *MachineAllocation) GetImage() *Image
func (*MachineAllocation) GetMeta ¶ added in v0.0.9
func (x *MachineAllocation) GetMeta() *Meta
func (*MachineAllocation) GetName ¶ added in v0.0.9
func (x *MachineAllocation) GetName() string
func (*MachineAllocation) GetNetworks ¶ added in v0.0.9
func (x *MachineAllocation) GetNetworks() []*MachineNetwork
func (*MachineAllocation) GetNtpServers ¶ added in v0.0.54
func (x *MachineAllocation) GetNtpServers() []*NTPServer
func (*MachineAllocation) GetPlacementLabels ¶ added in v0.5.0
func (x *MachineAllocation) GetPlacementLabels() *Labels
func (*MachineAllocation) GetProject ¶ added in v0.0.9
func (x *MachineAllocation) GetProject() string
func (*MachineAllocation) GetSshPublicKeys ¶ added in v0.0.9
func (x *MachineAllocation) GetSshPublicKeys() []string
func (*MachineAllocation) GetUserdata ¶ added in v0.0.9
func (x *MachineAllocation) GetUserdata() string
func (*MachineAllocation) GetUuid ¶ added in v0.0.9
func (x *MachineAllocation) GetUuid() string
func (*MachineAllocation) GetVpn ¶ added in v0.0.9
func (x *MachineAllocation) GetVpn() *MachineVPN
func (*MachineAllocation) ProtoMessage ¶ added in v0.0.9
func (*MachineAllocation) ProtoMessage()
func (*MachineAllocation) ProtoReflect ¶ added in v0.0.9
func (x *MachineAllocation) ProtoReflect() protoreflect.Message
func (*MachineAllocation) Reset ¶ added in v0.0.9
func (x *MachineAllocation) Reset()
func (*MachineAllocation) String ¶ added in v0.0.9
func (x *MachineAllocation) String() string
type MachineAllocationNetwork ¶ added in v0.0.9
type MachineAllocationNetwork struct {
// Network the id of the network that this machine will be placed in.
Network string `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"`
// IPs to to attach to this machine additionally.
// If none given, one ip address is acquired per network for the machine.
// Order of ips is preserved on the loopback interface.
Ips []string `protobuf:"bytes,2,rep,name=ips,proto3" json:"ips,omitempty"`
// contains filtered or unexported fields
}
MachineAllocationNetwork defines which network should be attached to a machine and if ips should be autoacquired.
func (*MachineAllocationNetwork) Descriptor
deprecated
added in
v0.0.9
func (*MachineAllocationNetwork) Descriptor() ([]byte, []int)
Deprecated: Use MachineAllocationNetwork.ProtoReflect.Descriptor instead.
func (*MachineAllocationNetwork) GetIps ¶ added in v0.0.61
func (x *MachineAllocationNetwork) GetIps() []string
func (*MachineAllocationNetwork) GetNetwork ¶ added in v0.0.9
func (x *MachineAllocationNetwork) GetNetwork() string
func (*MachineAllocationNetwork) ProtoMessage ¶ added in v0.0.9
func (*MachineAllocationNetwork) ProtoMessage()
func (*MachineAllocationNetwork) ProtoReflect ¶ added in v0.0.9
func (x *MachineAllocationNetwork) ProtoReflect() protoreflect.Message
func (*MachineAllocationNetwork) Reset ¶ added in v0.0.9
func (x *MachineAllocationNetwork) Reset()
func (*MachineAllocationNetwork) String ¶ added in v0.0.9
func (x *MachineAllocationNetwork) String() string
type MachineAllocationQuery ¶ added in v0.0.9
type MachineAllocationQuery struct {
// UUID of the allocation of the machine to get.
Uuid *string `protobuf:"bytes,1,opt,name=uuid,proto3,oneof" json:"uuid,omitempty"`
// Name of the machine to get.
Name *string `protobuf:"bytes,2,opt,name=name,proto3,oneof" json:"name,omitempty"`
// Project of the machine to get.
Project *string `protobuf:"bytes,3,opt,name=project,proto3,oneof" json:"project,omitempty"`
// Image of the machine to get.
Image *string `protobuf:"bytes,4,opt,name=image,proto3,oneof" json:"image,omitempty"`
// FilesystemLayout of the machine to get.
FilesystemLayout *string `protobuf:"bytes,5,opt,name=filesystem_layout,json=filesystemLayout,proto3,oneof" json:"filesystem_layout,omitempty"`
// Hostname of the machine to get.
Hostname *string `protobuf:"bytes,6,opt,name=hostname,proto3,oneof" json:"hostname,omitempty"`
// AllocationType of this machine.
AllocationType *MachineAllocationType `` /* 155-byte string literal not displayed */
// Labels for which this machine allocation should get filtered.
Labels *Labels `protobuf:"bytes,8,opt,name=labels,proto3,oneof" json:"labels,omitempty"`
// VPN query if this machine has a vpn configuration.
Vpn *MachineVPN `protobuf:"bytes,9,opt,name=vpn,proto3,oneof" json:"vpn,omitempty"`
// contains filtered or unexported fields
}
MachineAllocationQuery allocation specific query parameters.
func (*MachineAllocationQuery) Descriptor
deprecated
added in
v0.0.9
func (*MachineAllocationQuery) Descriptor() ([]byte, []int)
Deprecated: Use MachineAllocationQuery.ProtoReflect.Descriptor instead.
func (*MachineAllocationQuery) GetAllocationType ¶ added in v0.0.10
func (x *MachineAllocationQuery) GetAllocationType() MachineAllocationType
func (*MachineAllocationQuery) GetFilesystemLayout ¶ added in v0.0.9
func (x *MachineAllocationQuery) GetFilesystemLayout() string
func (*MachineAllocationQuery) GetHostname ¶ added in v0.0.9
func (x *MachineAllocationQuery) GetHostname() string
func (*MachineAllocationQuery) GetImage ¶ added in v0.0.9
func (x *MachineAllocationQuery) GetImage() string
func (*MachineAllocationQuery) GetLabels ¶ added in v0.0.14
func (x *MachineAllocationQuery) GetLabels() *Labels
func (*MachineAllocationQuery) GetName ¶ added in v0.0.9
func (x *MachineAllocationQuery) GetName() string
func (*MachineAllocationQuery) GetProject ¶ added in v0.0.9
func (x *MachineAllocationQuery) GetProject() string
func (*MachineAllocationQuery) GetUuid ¶ added in v0.0.9
func (x *MachineAllocationQuery) GetUuid() string
func (*MachineAllocationQuery) GetVpn ¶ added in v0.0.37
func (x *MachineAllocationQuery) GetVpn() *MachineVPN
func (*MachineAllocationQuery) ProtoMessage ¶ added in v0.0.9
func (*MachineAllocationQuery) ProtoMessage()
func (*MachineAllocationQuery) ProtoReflect ¶ added in v0.0.9
func (x *MachineAllocationQuery) ProtoReflect() protoreflect.Message
func (*MachineAllocationQuery) Reset ¶ added in v0.0.9
func (x *MachineAllocationQuery) Reset()
func (*MachineAllocationQuery) String ¶ added in v0.0.9
func (x *MachineAllocationQuery) String() string
type MachineAllocationType ¶ added in v0.0.10
type MachineAllocationType int32
MachineAllocationType defines if this is a machine or a firewall.
const ( // MACHINE_ALLOCATION_TYPE_UNSPECIFIED is unspecified. MachineAllocationType_MACHINE_ALLOCATION_TYPE_UNSPECIFIED MachineAllocationType = 0 // MACHINE_ALLOCATION_TYPE_MACHINE is a machine. MachineAllocationType_MACHINE_ALLOCATION_TYPE_MACHINE MachineAllocationType = 1 // MACHINE_ALLOCATION_TYPE_FIREWALL is a firewall. MachineAllocationType_MACHINE_ALLOCATION_TYPE_FIREWALL MachineAllocationType = 2 )
func (MachineAllocationType) Descriptor ¶ added in v0.0.10
func (MachineAllocationType) Descriptor() protoreflect.EnumDescriptor
func (MachineAllocationType) Enum ¶ added in v0.0.10
func (x MachineAllocationType) Enum() *MachineAllocationType
func (MachineAllocationType) EnumDescriptor
deprecated
added in
v0.0.10
func (MachineAllocationType) EnumDescriptor() ([]byte, []int)
Deprecated: Use MachineAllocationType.Descriptor instead.
func (MachineAllocationType) Number ¶ added in v0.0.10
func (x MachineAllocationType) Number() protoreflect.EnumNumber
func (MachineAllocationType) String ¶ added in v0.0.10
func (x MachineAllocationType) String() string
func (MachineAllocationType) Type ¶ added in v0.0.10
func (MachineAllocationType) Type() protoreflect.EnumType
type MachineBMC ¶ added in v0.0.41
type MachineBMC struct {
// Address of this ipmi device from outside in the form of <ip or hostname>:<port>.
Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
// Mac address of the network interface of this ipmi device.
Mac string `protobuf:"bytes,2,opt,name=mac,proto3" json:"mac,omitempty"`
// User of this ipmi device.
User string `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"`
// Password of this ipmi device.
Password string `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"`
// Interface of this ipmi device.
Interface string `protobuf:"bytes,5,opt,name=interface,proto3" json:"interface,omitempty"`
// Version of this bmc device.
Version string `protobuf:"bytes,6,opt,name=version,proto3" json:"version,omitempty"`
// PowerState of this machine.
PowerState string `protobuf:"bytes,7,opt,name=power_state,json=powerState,proto3" json:"power_state,omitempty"`
// contains filtered or unexported fields
}
MachineBMC describe details of the ipmi or out of band device.
func (*MachineBMC) Descriptor
deprecated
added in
v0.0.41
func (*MachineBMC) Descriptor() ([]byte, []int)
Deprecated: Use MachineBMC.ProtoReflect.Descriptor instead.
func (*MachineBMC) GetAddress ¶ added in v0.0.41
func (x *MachineBMC) GetAddress() string
func (*MachineBMC) GetInterface ¶ added in v0.0.41
func (x *MachineBMC) GetInterface() string
func (*MachineBMC) GetMac ¶ added in v0.0.41
func (x *MachineBMC) GetMac() string
func (*MachineBMC) GetPassword ¶ added in v0.0.41
func (x *MachineBMC) GetPassword() string
func (*MachineBMC) GetPowerState ¶ added in v0.0.41
func (x *MachineBMC) GetPowerState() string
func (*MachineBMC) GetUser ¶ added in v0.0.41
func (x *MachineBMC) GetUser() string
func (*MachineBMC) GetVersion ¶ added in v0.0.41
func (x *MachineBMC) GetVersion() string
func (*MachineBMC) ProtoMessage ¶ added in v0.0.41
func (*MachineBMC) ProtoMessage()
func (*MachineBMC) ProtoReflect ¶ added in v0.0.41
func (x *MachineBMC) ProtoReflect() protoreflect.Message
func (*MachineBMC) Reset ¶ added in v0.0.41
func (x *MachineBMC) Reset()
func (*MachineBMC) String ¶ added in v0.0.41
func (x *MachineBMC) String() string
type MachineBMCCommand ¶ added in v0.0.41
type MachineBMCCommand int32
MachineBMCCommand defines commands send to the BMC of the machine.
const ( // MACHINE_BMC_COMMAND_UNSPECIFIED is not defined. MachineBMCCommand_MACHINE_BMC_COMMAND_UNSPECIFIED MachineBMCCommand = 0 // MACHINE_BMC_COMMAND_ON Power on the machine. MachineBMCCommand_MACHINE_BMC_COMMAND_ON MachineBMCCommand = 1 // MACHINE_BMC_COMMAND_OFF Power off the machine. MachineBMCCommand_MACHINE_BMC_COMMAND_OFF MachineBMCCommand = 2 // MACHINE_BMC_COMMAND_RESET Power reset the machine. MachineBMCCommand_MACHINE_BMC_COMMAND_RESET MachineBMCCommand = 3 // MACHINE_BMC_COMMAND_CYCLE Power cycle the machine. MachineBMCCommand_MACHINE_BMC_COMMAND_CYCLE MachineBMCCommand = 4 // MACHINE_BMC_COMMAND_BOOT_TO_BIOS boot the machine into bios. MachineBMCCommand_MACHINE_BMC_COMMAND_BOOT_TO_BIOS MachineBMCCommand = 5 // MACHINE_BMC_COMMAND_BOOT_FROM_DISK boot the machine from hard disk. MachineBMCCommand_MACHINE_BMC_COMMAND_BOOT_FROM_DISK MachineBMCCommand = 6 // MACHINE_BMC_COMMAND_BOOT_FROM_PXE boot the machine from pxe. MachineBMCCommand_MACHINE_BMC_COMMAND_BOOT_FROM_PXE MachineBMCCommand = 7 // MACHINE_BMC_COMMAND_IDENTIFY_LED_ON set identify led of the machine chassis to on. MachineBMCCommand_MACHINE_BMC_COMMAND_IDENTIFY_LED_ON MachineBMCCommand = 8 // MACHINE_BMC_COMMAND_IDENTIFY_LED_OFF set identify led of the machine chassis to off. MachineBMCCommand_MACHINE_BMC_COMMAND_IDENTIFY_LED_OFF MachineBMCCommand = 9 // MACHINE_BMC_COMMAND_MACHINE_DELETED should be called if the machine was deleted to power cycle and boot into pxe. MachineBMCCommand_MACHINE_BMC_COMMAND_MACHINE_DELETED MachineBMCCommand = 10 // MACHINE_BMC_COMMAND_MACHINE_CREATED should be called if the machine was created to set the boot order to boot from disk. MachineBMCCommand_MACHINE_BMC_COMMAND_MACHINE_CREATED MachineBMCCommand = 11 )
func (MachineBMCCommand) Descriptor ¶ added in v0.0.41
func (MachineBMCCommand) Descriptor() protoreflect.EnumDescriptor
func (MachineBMCCommand) Enum ¶ added in v0.0.41
func (x MachineBMCCommand) Enum() *MachineBMCCommand
func (MachineBMCCommand) EnumDescriptor
deprecated
added in
v0.0.41
func (MachineBMCCommand) EnumDescriptor() ([]byte, []int)
Deprecated: Use MachineBMCCommand.Descriptor instead.
func (MachineBMCCommand) Number ¶ added in v0.0.41
func (x MachineBMCCommand) Number() protoreflect.EnumNumber
func (MachineBMCCommand) String ¶ added in v0.0.41
func (x MachineBMCCommand) String() string
func (MachineBMCCommand) Type ¶ added in v0.0.41
func (MachineBMCCommand) Type() protoreflect.EnumType
type MachineBMCDetails ¶ added in v0.5.0
type MachineBMCDetails struct {
// UUID of this machine.
Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
// Partition where this machine resides.
Partition string `protobuf:"bytes,2,opt,name=partition,proto3" json:"partition,omitempty"`
// Rack where this machine is located.
Rack string `protobuf:"bytes,3,opt,name=rack,proto3" json:"rack,omitempty"`
// Room where this machine is located.
Room string `protobuf:"bytes,4,opt,name=room,proto3" json:"room,omitempty"`
// Size of this machine.
Size string `protobuf:"bytes,5,opt,name=size,proto3" json:"size,omitempty"`
// BMCReport contains the bmc details.
BmcReport *MachineBMCReport `protobuf:"bytes,6,opt,name=bmc_report,json=bmcReport,proto3" json:"bmc_report,omitempty"`
// contains filtered or unexported fields
}
MachineBMCDetails contains machine and bmc details of a machine.
func (*MachineBMCDetails) Descriptor
deprecated
added in
v0.5.0
func (*MachineBMCDetails) Descriptor() ([]byte, []int)
Deprecated: Use MachineBMCDetails.ProtoReflect.Descriptor instead.
func (*MachineBMCDetails) GetBmcReport ¶ added in v0.5.0
func (x *MachineBMCDetails) GetBmcReport() *MachineBMCReport
func (*MachineBMCDetails) GetPartition ¶ added in v0.5.0
func (x *MachineBMCDetails) GetPartition() string
func (*MachineBMCDetails) GetRack ¶ added in v0.5.0
func (x *MachineBMCDetails) GetRack() string
func (*MachineBMCDetails) GetRoom ¶ added in v0.5.0
func (x *MachineBMCDetails) GetRoom() string
func (*MachineBMCDetails) GetSize ¶ added in v0.5.0
func (x *MachineBMCDetails) GetSize() string
func (*MachineBMCDetails) GetUuid ¶ added in v0.5.0
func (x *MachineBMCDetails) GetUuid() string
func (*MachineBMCDetails) ProtoMessage ¶ added in v0.5.0
func (*MachineBMCDetails) ProtoMessage()
func (*MachineBMCDetails) ProtoReflect ¶ added in v0.5.0
func (x *MachineBMCDetails) ProtoReflect() protoreflect.Message
func (*MachineBMCDetails) Reset ¶ added in v0.5.0
func (x *MachineBMCDetails) Reset()
func (*MachineBMCDetails) String ¶ added in v0.5.0
func (x *MachineBMCDetails) String() string
type MachineBMCQuery ¶ added in v0.0.41
type MachineBMCQuery struct {
// Address of the ipmi system of this machine.
Address *string `protobuf:"bytes,1,opt,name=address,proto3,oneof" json:"address,omitempty"`
// Mac of the ipmi system of this machine.
Mac *string `protobuf:"bytes,2,opt,name=mac,proto3,oneof" json:"mac,omitempty"`
// User of the ipmi system of this machine.
User *string `protobuf:"bytes,3,opt,name=user,proto3,oneof" json:"user,omitempty"`
// Interface of the ipmi system of this machine.
Interface *string `protobuf:"bytes,4,opt,name=interface,proto3,oneof" json:"interface,omitempty"`
// contains filtered or unexported fields
}
MachineBMCQuery machine ipmi or bmc specific machine queries.
func (*MachineBMCQuery) Descriptor
deprecated
added in
v0.0.41
func (*MachineBMCQuery) Descriptor() ([]byte, []int)
Deprecated: Use MachineBMCQuery.ProtoReflect.Descriptor instead.
func (*MachineBMCQuery) GetAddress ¶ added in v0.0.41
func (x *MachineBMCQuery) GetAddress() string
func (*MachineBMCQuery) GetInterface ¶ added in v0.0.41
func (x *MachineBMCQuery) GetInterface() string
func (*MachineBMCQuery) GetMac ¶ added in v0.0.41
func (x *MachineBMCQuery) GetMac() string
func (*MachineBMCQuery) GetUser ¶ added in v0.0.41
func (x *MachineBMCQuery) GetUser() string
func (*MachineBMCQuery) ProtoMessage ¶ added in v0.0.41
func (*MachineBMCQuery) ProtoMessage()
func (*MachineBMCQuery) ProtoReflect ¶ added in v0.0.41
func (x *MachineBMCQuery) ProtoReflect() protoreflect.Message
func (*MachineBMCQuery) Reset ¶ added in v0.0.41
func (x *MachineBMCQuery) Reset()
func (*MachineBMCQuery) String ¶ added in v0.0.41
func (x *MachineBMCQuery) String() string
type MachineBMCReport ¶ added in v0.0.41
type MachineBMCReport struct {
// UUID of the machine.
Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
// Bmc contains bmc details.
Bmc *MachineBMC `protobuf:"bytes,2,opt,name=bmc,proto3" json:"bmc,omitempty"`
// Bios contains bios details.
Bios *MachineBios `protobuf:"bytes,3,opt,name=bios,proto3" json:"bios,omitempty"`
// Fru contains field replaceable unit details.
Fru *MachineFRU `protobuf:"bytes,4,opt,name=fru,proto3" json:"fru,omitempty"`
// PowerMetric contains the power statistics of the machine.
PowerMetric *MachinePowerMetric `protobuf:"bytes,5,opt,name=power_metric,json=powerMetric,proto3" json:"power_metric,omitempty"`
// PowerSupplies contains details about all power supplies and their state.
PowerSupplies []*MachinePowerSupply `protobuf:"bytes,6,rep,name=power_supplies,json=powerSupplies,proto3" json:"power_supplies,omitempty"`
// LedState indicates the state of the indicator LED on this machine.
LedState *MachineChassisIdentifyLEDState `protobuf:"bytes,7,opt,name=led_state,json=ledState,proto3" json:"led_state,omitempty"`
// UpdatedAt contains the date when this data was last updated.
UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
// contains filtered or unexported fields
}
MachineBMCReport is sent from the metal-bmc to update bmc and power related details.
func (*MachineBMCReport) Descriptor
deprecated
added in
v0.0.41
func (*MachineBMCReport) Descriptor() ([]byte, []int)
Deprecated: Use MachineBMCReport.ProtoReflect.Descriptor instead.
func (*MachineBMCReport) GetBios ¶ added in v0.0.41
func (x *MachineBMCReport) GetBios() *MachineBios
func (*MachineBMCReport) GetBmc ¶ added in v0.0.41
func (x *MachineBMCReport) GetBmc() *MachineBMC
func (*MachineBMCReport) GetFru ¶ added in v0.0.41
func (x *MachineBMCReport) GetFru() *MachineFRU
func (*MachineBMCReport) GetLedState ¶ added in v0.0.41
func (x *MachineBMCReport) GetLedState() *MachineChassisIdentifyLEDState
func (*MachineBMCReport) GetPowerMetric ¶ added in v0.0.41
func (x *MachineBMCReport) GetPowerMetric() *MachinePowerMetric
func (*MachineBMCReport) GetPowerSupplies ¶ added in v0.0.41
func (x *MachineBMCReport) GetPowerSupplies() []*MachinePowerSupply
func (*MachineBMCReport) GetUpdatedAt ¶ added in v0.0.41
func (x *MachineBMCReport) GetUpdatedAt() *timestamppb.Timestamp
func (*MachineBMCReport) GetUuid ¶ added in v0.5.0
func (x *MachineBMCReport) GetUuid() string
func (*MachineBMCReport) ProtoMessage ¶ added in v0.0.41
func (*MachineBMCReport) ProtoMessage()
func (*MachineBMCReport) ProtoReflect ¶ added in v0.0.41
func (x *MachineBMCReport) ProtoReflect() protoreflect.Message
func (*MachineBMCReport) Reset ¶ added in v0.0.41
func (x *MachineBMCReport) Reset()
func (*MachineBMCReport) String ¶ added in v0.0.41
func (x *MachineBMCReport) String() string
type MachineBios ¶ added in v0.0.9
type MachineBios struct {
// Version the bios version.
Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
// Vendor the bios vendor.
Vendor string `protobuf:"bytes,2,opt,name=vendor,proto3" json:"vendor,omitempty"`
// Date the bios date as string because every vendor has different ideas how to describe the date.
Date string `protobuf:"bytes,3,opt,name=date,proto3" json:"date,omitempty"`
// contains filtered or unexported fields
}
MachineBios contains BIOS details of this machine.
func (*MachineBios) Descriptor
deprecated
added in
v0.0.9
func (*MachineBios) Descriptor() ([]byte, []int)
Deprecated: Use MachineBios.ProtoReflect.Descriptor instead.
func (*MachineBios) GetDate ¶ added in v0.0.9
func (x *MachineBios) GetDate() string
func (*MachineBios) GetVendor ¶ added in v0.0.9
func (x *MachineBios) GetVendor() string
func (*MachineBios) GetVersion ¶ added in v0.0.9
func (x *MachineBios) GetVersion() string
func (*MachineBios) ProtoMessage ¶ added in v0.0.9
func (*MachineBios) ProtoMessage()
func (*MachineBios) ProtoReflect ¶ added in v0.0.9
func (x *MachineBios) ProtoReflect() protoreflect.Message
func (*MachineBios) Reset ¶ added in v0.0.9
func (x *MachineBios) Reset()
func (*MachineBios) String ¶ added in v0.0.9
func (x *MachineBios) String() string
type MachineBlockDevice ¶ added in v0.0.9
type MachineBlockDevice struct {
// Name of this block device.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Size of this block device in bytes.
Size uint64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"`
// contains filtered or unexported fields
}
MachineBlockDevice contains details of a block device of this machine.
func (*MachineBlockDevice) Descriptor
deprecated
added in
v0.0.9
func (*MachineBlockDevice) Descriptor() ([]byte, []int)
Deprecated: Use MachineBlockDevice.ProtoReflect.Descriptor instead.
func (*MachineBlockDevice) GetName ¶ added in v0.0.9
func (x *MachineBlockDevice) GetName() string
func (*MachineBlockDevice) GetSize ¶ added in v0.0.9
func (x *MachineBlockDevice) GetSize() uint64
func (*MachineBlockDevice) ProtoMessage ¶ added in v0.0.9
func (*MachineBlockDevice) ProtoMessage()
func (*MachineBlockDevice) ProtoReflect ¶ added in v0.0.9
func (x *MachineBlockDevice) ProtoReflect() protoreflect.Message
func (*MachineBlockDevice) Reset ¶ added in v0.0.9
func (x *MachineBlockDevice) Reset()
func (*MachineBlockDevice) String ¶ added in v0.0.9
func (x *MachineBlockDevice) String() string
type MachineChassisIdentifyLEDState ¶ added in v0.0.9
type MachineChassisIdentifyLEDState struct {
// Value the state of this chassis identify LED. empty means LED-OF.
Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
// Description a description why this chassis identify LED is in the given state.
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
// contains filtered or unexported fields
}
MachineChassisIdentifyLEDState describes the identifier led state.
func (*MachineChassisIdentifyLEDState) Descriptor
deprecated
added in
v0.0.9
func (*MachineChassisIdentifyLEDState) Descriptor() ([]byte, []int)
Deprecated: Use MachineChassisIdentifyLEDState.ProtoReflect.Descriptor instead.
func (*MachineChassisIdentifyLEDState) GetDescription ¶ added in v0.0.9
func (x *MachineChassisIdentifyLEDState) GetDescription() string
func (*MachineChassisIdentifyLEDState) GetValue ¶ added in v0.0.9
func (x *MachineChassisIdentifyLEDState) GetValue() string
func (*MachineChassisIdentifyLEDState) ProtoMessage ¶ added in v0.0.9
func (*MachineChassisIdentifyLEDState) ProtoMessage()
func (*MachineChassisIdentifyLEDState) ProtoReflect ¶ added in v0.0.9
func (x *MachineChassisIdentifyLEDState) ProtoReflect() protoreflect.Message
func (*MachineChassisIdentifyLEDState) Reset ¶ added in v0.0.9
func (x *MachineChassisIdentifyLEDState) Reset()
func (*MachineChassisIdentifyLEDState) String ¶ added in v0.0.9
func (x *MachineChassisIdentifyLEDState) String() string
type MachineCondition ¶ added in v0.0.9
type MachineCondition struct {
// State the state of this machine. empty means available for al.
State MachineState `protobuf:"varint,1,opt,name=state,proto3,enum=metalstack.api.v2.MachineState" json:"state,omitempty"`
// Description a description why this machine is in the given state.
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
// Issuer the user that changed the state.
Issuer string `protobuf:"bytes,3,opt,name=issuer,proto3" json:"issuer,omitempty"`
// contains filtered or unexported fields
}
MachineCondition describes the availability of this machine.
func (*MachineCondition) Descriptor
deprecated
added in
v0.0.9
func (*MachineCondition) Descriptor() ([]byte, []int)
Deprecated: Use MachineCondition.ProtoReflect.Descriptor instead.
func (*MachineCondition) GetDescription ¶ added in v0.0.9
func (x *MachineCondition) GetDescription() string
func (*MachineCondition) GetIssuer ¶ added in v0.0.9
func (x *MachineCondition) GetIssuer() string
func (*MachineCondition) GetState ¶ added in v0.0.9
func (x *MachineCondition) GetState() MachineState
func (*MachineCondition) ProtoMessage ¶ added in v0.0.9
func (*MachineCondition) ProtoMessage()
func (*MachineCondition) ProtoReflect ¶ added in v0.0.9
func (x *MachineCondition) ProtoReflect() protoreflect.Message
func (*MachineCondition) Reset ¶ added in v0.0.9
func (x *MachineCondition) Reset()
func (*MachineCondition) String ¶ added in v0.0.9
func (x *MachineCondition) String() string
type MachineConnection ¶ added in v0.0.23
type MachineConnection struct {
// MachineId of the machine connected to the nic.
MachineId string `protobuf:"bytes,1,opt,name=machine_id,json=machineId,proto3" json:"machine_id,omitempty"`
// Nic the machine is connected to.
Nic *SwitchNic `protobuf:"bytes,2,opt,name=nic,proto3" json:"nic,omitempty"`
// contains filtered or unexported fields
}
MachineConnection associates a machine with the corresponding switch nic.
func (*MachineConnection) Descriptor
deprecated
added in
v0.0.23
func (*MachineConnection) Descriptor() ([]byte, []int)
Deprecated: Use MachineConnection.ProtoReflect.Descriptor instead.
func (*MachineConnection) GetMachineId ¶ added in v0.0.23
func (x *MachineConnection) GetMachineId() string
func (*MachineConnection) GetNic ¶ added in v0.0.23
func (x *MachineConnection) GetNic() *SwitchNic
func (*MachineConnection) ProtoMessage ¶ added in v0.0.23
func (*MachineConnection) ProtoMessage()
func (*MachineConnection) ProtoReflect ¶ added in v0.0.23
func (x *MachineConnection) ProtoReflect() protoreflect.Message
func (*MachineConnection) Reset ¶ added in v0.0.23
func (x *MachineConnection) Reset()
func (*MachineConnection) String ¶ added in v0.0.23
func (x *MachineConnection) String() string
type MachineDiskQuery ¶ added in v0.0.9
type MachineDiskQuery struct {
// Names of disks in this machine.
Names []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"`
// Sizes of disks in this machine.
Sizes []uint64 `protobuf:"varint,2,rep,packed,name=sizes,proto3" json:"sizes,omitempty"`
// contains filtered or unexported fields
}
MachineDiskQuery disk specific machine queries.
func (*MachineDiskQuery) Descriptor
deprecated
added in
v0.0.9
func (*MachineDiskQuery) Descriptor() ([]byte, []int)
Deprecated: Use MachineDiskQuery.ProtoReflect.Descriptor instead.
func (*MachineDiskQuery) GetNames ¶ added in v0.0.9
func (x *MachineDiskQuery) GetNames() []string
func (*MachineDiskQuery) GetSizes ¶ added in v0.0.9
func (x *MachineDiskQuery) GetSizes() []uint64
func (*MachineDiskQuery) ProtoMessage ¶ added in v0.0.9
func (*MachineDiskQuery) ProtoMessage()
func (*MachineDiskQuery) ProtoReflect ¶ added in v0.0.9
func (x *MachineDiskQuery) ProtoReflect() protoreflect.Message
func (*MachineDiskQuery) Reset ¶ added in v0.0.9
func (x *MachineDiskQuery) Reset()
func (*MachineDiskQuery) String ¶ added in v0.0.9
func (x *MachineDiskQuery) String() string
type MachineFRU ¶ added in v0.0.41
type MachineFRU struct {
// ChassisPartNumber is the part number of the machine chassis.
ChassisPartNumber *string `protobuf:"bytes,1,opt,name=chassis_part_number,json=chassisPartNumber,proto3,oneof" json:"chassis_part_number,omitempty"`
// ChassisPartSerial is the serial number of the machine chassis.
ChassisPartSerial *string `protobuf:"bytes,2,opt,name=chassis_part_serial,json=chassisPartSerial,proto3,oneof" json:"chassis_part_serial,omitempty"`
// BoardMfg is the short description of the mainboard.
BoardMfg *string `protobuf:"bytes,3,opt,name=board_mfg,json=boardMfg,proto3,oneof" json:"board_mfg,omitempty"`
// BoardMfgSerial is the serial number of the mainboard.
BoardMfgSerial *string `protobuf:"bytes,4,opt,name=board_mfg_serial,json=boardMfgSerial,proto3,oneof" json:"board_mfg_serial,omitempty"`
// BoardPartNumber is the part number of the mainboard.
BoardPartNumber *string `protobuf:"bytes,5,opt,name=board_part_number,json=boardPartNumber,proto3,oneof" json:"board_part_number,omitempty"`
// ProductManufacturer is the manufacturer of the machine.
ProductManufacturer *string `protobuf:"bytes,6,opt,name=product_manufacturer,json=productManufacturer,proto3,oneof" json:"product_manufacturer,omitempty"`
// ProductPartNumber is the part number of the machine.
ProductPartNumber *string `protobuf:"bytes,7,opt,name=product_part_number,json=productPartNumber,proto3,oneof" json:"product_part_number,omitempty"`
// ProductSerial is the serial number of the machine.
ProductSerial *string `protobuf:"bytes,8,opt,name=product_serial,json=productSerial,proto3,oneof" json:"product_serial,omitempty"`
// contains filtered or unexported fields
}
MachineFRU describes details to the machine which are required in case of a necessary replacement.
func (*MachineFRU) Descriptor
deprecated
added in
v0.0.41
func (*MachineFRU) Descriptor() ([]byte, []int)
Deprecated: Use MachineFRU.ProtoReflect.Descriptor instead.
func (*MachineFRU) GetBoardMfg ¶ added in v0.0.41
func (x *MachineFRU) GetBoardMfg() string
func (*MachineFRU) GetBoardMfgSerial ¶ added in v0.0.41
func (x *MachineFRU) GetBoardMfgSerial() string
func (*MachineFRU) GetBoardPartNumber ¶ added in v0.0.41
func (x *MachineFRU) GetBoardPartNumber() string
func (*MachineFRU) GetChassisPartNumber ¶ added in v0.0.41
func (x *MachineFRU) GetChassisPartNumber() string
func (*MachineFRU) GetChassisPartSerial ¶ added in v0.0.41
func (x *MachineFRU) GetChassisPartSerial() string
func (*MachineFRU) GetProductManufacturer ¶ added in v0.0.41
func (x *MachineFRU) GetProductManufacturer() string
func (*MachineFRU) GetProductPartNumber ¶ added in v0.0.41
func (x *MachineFRU) GetProductPartNumber() string
func (*MachineFRU) GetProductSerial ¶ added in v0.0.41
func (x *MachineFRU) GetProductSerial() string
func (*MachineFRU) ProtoMessage ¶ added in v0.0.41
func (*MachineFRU) ProtoMessage()
func (*MachineFRU) ProtoReflect ¶ added in v0.0.41
func (x *MachineFRU) ProtoReflect() protoreflect.Message
func (*MachineFRU) Reset ¶ added in v0.0.41
func (x *MachineFRU) Reset()
func (*MachineFRU) String ¶ added in v0.0.41
func (x *MachineFRU) String() string
type MachineFRUQuery ¶ added in v0.0.9
type MachineFRUQuery struct {
// ChassisPartNumber of this machine.
ChassisPartNumber *string `protobuf:"bytes,1,opt,name=chassis_part_number,json=chassisPartNumber,proto3,oneof" json:"chassis_part_number,omitempty"`
// ChassisPartSerial of this machine.
ChassisPartSerial *string `protobuf:"bytes,2,opt,name=chassis_part_serial,json=chassisPartSerial,proto3,oneof" json:"chassis_part_serial,omitempty"`
// BoardMFG of this machine.
BoardMfg *string `protobuf:"bytes,3,opt,name=board_mfg,json=boardMfg,proto3,oneof" json:"board_mfg,omitempty"`
// BoardSerial of this machine.
BoardSerial *string `protobuf:"bytes,4,opt,name=board_serial,json=boardSerial,proto3,oneof" json:"board_serial,omitempty"`
// BoardPartNumber of this machine.
BoardPartNumber *string `protobuf:"bytes,5,opt,name=board_part_number,json=boardPartNumber,proto3,oneof" json:"board_part_number,omitempty"`
// ProductManufacturer of this machine.
ProductManufacturer *string `protobuf:"bytes,6,opt,name=product_manufacturer,json=productManufacturer,proto3,oneof" json:"product_manufacturer,omitempty"`
// ProductPartNumber of this machine.
ProductPartNumber *string `protobuf:"bytes,7,opt,name=product_part_number,json=productPartNumber,proto3,oneof" json:"product_part_number,omitempty"`
// ProductSerial of this machine.
ProductSerial *string `protobuf:"bytes,8,opt,name=product_serial,json=productSerial,proto3,oneof" json:"product_serial,omitempty"`
// contains filtered or unexported fields
}
MachineFRUQuery machine fru specific machine queries.
func (*MachineFRUQuery) Descriptor
deprecated
added in
v0.0.9
func (*MachineFRUQuery) Descriptor() ([]byte, []int)
Deprecated: Use MachineFRUQuery.ProtoReflect.Descriptor instead.
func (*MachineFRUQuery) GetBoardMfg ¶ added in v0.0.9
func (x *MachineFRUQuery) GetBoardMfg() string
func (*MachineFRUQuery) GetBoardPartNumber ¶ added in v0.0.9
func (x *MachineFRUQuery) GetBoardPartNumber() string
func (*MachineFRUQuery) GetBoardSerial ¶ added in v0.0.9
func (x *MachineFRUQuery) GetBoardSerial() string
func (*MachineFRUQuery) GetChassisPartNumber ¶ added in v0.0.9
func (x *MachineFRUQuery) GetChassisPartNumber() string
func (*MachineFRUQuery) GetChassisPartSerial ¶ added in v0.0.9
func (x *MachineFRUQuery) GetChassisPartSerial() string
func (*MachineFRUQuery) GetProductManufacturer ¶ added in v0.0.9
func (x *MachineFRUQuery) GetProductManufacturer() string
func (*MachineFRUQuery) GetProductPartNumber ¶ added in v0.0.9
func (x *MachineFRUQuery) GetProductPartNumber() string
func (*MachineFRUQuery) GetProductSerial ¶ added in v0.0.9
func (x *MachineFRUQuery) GetProductSerial() string
func (*MachineFRUQuery) ProtoMessage ¶ added in v0.0.9
func (*MachineFRUQuery) ProtoMessage()
func (*MachineFRUQuery) ProtoReflect ¶ added in v0.0.9
func (x *MachineFRUQuery) ProtoReflect() protoreflect.Message
func (*MachineFRUQuery) Reset ¶ added in v0.0.9
func (x *MachineFRUQuery) Reset()
func (*MachineFRUQuery) String ¶ added in v0.0.9
func (x *MachineFRUQuery) String() string
type MachineHardware ¶ added in v0.0.9
type MachineHardware struct {
// Memory the total memory of the machine in bytes.
Memory uint64 `protobuf:"varint,1,opt,name=memory,proto3" json:"memory,omitempty"`
// Disks the list of block devices of this machine.
Disks []*MachineBlockDevice `protobuf:"bytes,2,rep,name=disks,proto3" json:"disks,omitempty"`
// CPUs the cpu details.
Cpus []*MetalCPU `protobuf:"bytes,3,rep,name=cpus,proto3" json:"cpus,omitempty"`
// GPUs the gpu details.
Gpus []*MetalGPU `protobuf:"bytes,4,rep,name=gpus,proto3" json:"gpus,omitempty"`
// Nics the list of network interfaces of this machine.
Nics []*MachineNic `protobuf:"bytes,5,rep,name=nics,proto3" json:"nics,omitempty"`
// contains filtered or unexported fields
}
MachineHardware contains hardware details.
func (*MachineHardware) Descriptor
deprecated
added in
v0.0.9
func (*MachineHardware) Descriptor() ([]byte, []int)
Deprecated: Use MachineHardware.ProtoReflect.Descriptor instead.
func (*MachineHardware) GetCpus ¶ added in v0.0.9
func (x *MachineHardware) GetCpus() []*MetalCPU
func (*MachineHardware) GetDisks ¶ added in v0.0.9
func (x *MachineHardware) GetDisks() []*MachineBlockDevice
func (*MachineHardware) GetGpus ¶ added in v0.0.9
func (x *MachineHardware) GetGpus() []*MetalGPU
func (*MachineHardware) GetMemory ¶ added in v0.0.9
func (x *MachineHardware) GetMemory() uint64
func (*MachineHardware) GetNics ¶ added in v0.0.9
func (x *MachineHardware) GetNics() []*MachineNic
func (*MachineHardware) ProtoMessage ¶ added in v0.0.9
func (*MachineHardware) ProtoMessage()
func (*MachineHardware) ProtoReflect ¶ added in v0.0.9
func (x *MachineHardware) ProtoReflect() protoreflect.Message
func (*MachineHardware) Reset ¶ added in v0.0.9
func (x *MachineHardware) Reset()
func (*MachineHardware) String ¶ added in v0.0.9
func (x *MachineHardware) String() string
type MachineHardwareQuery ¶ added in v0.0.9
type MachineHardwareQuery struct {
// Memory the total memory of the machine in bytes.
Memory *uint64 `protobuf:"varint,1,opt,name=memory,proto3,oneof" json:"memory,omitempty"`
// CPUCores the number of cpu cores.
CpuCores *uint32 `protobuf:"varint,2,opt,name=cpu_cores,json=cpuCores,proto3,oneof" json:"cpu_cores,omitempty"`
// contains filtered or unexported fields
}
MachineHardwareQuery machine hardware specific machine queries.
func (*MachineHardwareQuery) Descriptor
deprecated
added in
v0.0.9
func (*MachineHardwareQuery) Descriptor() ([]byte, []int)
Deprecated: Use MachineHardwareQuery.ProtoReflect.Descriptor instead.
func (*MachineHardwareQuery) GetCpuCores ¶ added in v0.0.9
func (x *MachineHardwareQuery) GetCpuCores() uint32
func (*MachineHardwareQuery) GetMemory ¶ added in v0.0.9
func (x *MachineHardwareQuery) GetMemory() uint64
func (*MachineHardwareQuery) ProtoMessage ¶ added in v0.0.9
func (*MachineHardwareQuery) ProtoMessage()
func (*MachineHardwareQuery) ProtoReflect ¶ added in v0.0.9
func (x *MachineHardwareQuery) ProtoReflect() protoreflect.Message
func (*MachineHardwareQuery) Reset ¶ added in v0.0.9
func (x *MachineHardwareQuery) Reset()
func (*MachineHardwareQuery) String ¶ added in v0.0.9
func (x *MachineHardwareQuery) String() string
type MachineIssue ¶ added in v0.2.0
type MachineIssue struct {
// Type specifies the issue type (id).
Type MachineIssueType `protobuf:"varint,1,opt,name=type,proto3,enum=metalstack.api.v2.MachineIssueType" json:"type,omitempty"`
// Severity specifies the severity of an issue.
Severity MachineIssueSeverity `protobuf:"varint,2,opt,name=severity,proto3,enum=metalstack.api.v2.MachineIssueSeverity" json:"severity,omitempty"`
// Description provides an issue description.
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
// RefURL provides a link to a more detailed issue description in the metal-stack documentation.
ReferenceUrl string `protobuf:"bytes,4,opt,name=reference_url,json=referenceUrl,proto3" json:"reference_url,omitempty"`
// Details may contain additional details on an evaluated issue.
Details string `protobuf:"bytes,5,opt,name=details,proto3" json:"details,omitempty"`
// contains filtered or unexported fields
}
MachineIssue contains details of one issue.
func (*MachineIssue) Descriptor
deprecated
added in
v0.2.0
func (*MachineIssue) Descriptor() ([]byte, []int)
Deprecated: Use MachineIssue.ProtoReflect.Descriptor instead.
func (*MachineIssue) GetDescription ¶ added in v0.2.0
func (x *MachineIssue) GetDescription() string
func (*MachineIssue) GetDetails ¶ added in v0.2.0
func (x *MachineIssue) GetDetails() string
func (*MachineIssue) GetReferenceUrl ¶ added in v0.2.0
func (x *MachineIssue) GetReferenceUrl() string
func (*MachineIssue) GetSeverity ¶ added in v0.2.0
func (x *MachineIssue) GetSeverity() MachineIssueSeverity
func (*MachineIssue) GetType ¶ added in v0.2.0
func (x *MachineIssue) GetType() MachineIssueType
func (*MachineIssue) ProtoMessage ¶ added in v0.2.0
func (*MachineIssue) ProtoMessage()
func (*MachineIssue) ProtoReflect ¶ added in v0.2.0
func (x *MachineIssue) ProtoReflect() protoreflect.Message
func (*MachineIssue) Reset ¶ added in v0.2.0
func (x *MachineIssue) Reset()
func (*MachineIssue) String ¶ added in v0.2.0
func (x *MachineIssue) String() string
type MachineIssueSeverity ¶ added in v0.2.0
type MachineIssueSeverity int32
MachineIssueSeverity defines the severity of an issue.
const ( // MACHINE_ISSUE_SEVERITY_UNSPECIFIED severity is not specified. MachineIssueSeverity_MACHINE_ISSUE_SEVERITY_UNSPECIFIED MachineIssueSeverity = 0 // MACHINE_ISSUE_SEVERITY_MINOR machine issues is of severity minor. MachineIssueSeverity_MACHINE_ISSUE_SEVERITY_MINOR MachineIssueSeverity = 1 // MACHINE_ISSUE_SEVERITY_MAJOR machine issues is of severity major. MachineIssueSeverity_MACHINE_ISSUE_SEVERITY_MAJOR MachineIssueSeverity = 2 // MACHINE_ISSUE_SEVERITY_CRITICAL machine issues is of severity critical. MachineIssueSeverity_MACHINE_ISSUE_SEVERITY_CRITICAL MachineIssueSeverity = 3 )
func (MachineIssueSeverity) Descriptor ¶ added in v0.2.0
func (MachineIssueSeverity) Descriptor() protoreflect.EnumDescriptor
func (MachineIssueSeverity) Enum ¶ added in v0.2.0
func (x MachineIssueSeverity) Enum() *MachineIssueSeverity
func (MachineIssueSeverity) EnumDescriptor
deprecated
added in
v0.2.0
func (MachineIssueSeverity) EnumDescriptor() ([]byte, []int)
Deprecated: Use MachineIssueSeverity.Descriptor instead.
func (MachineIssueSeverity) Number ¶ added in v0.2.0
func (x MachineIssueSeverity) Number() protoreflect.EnumNumber
func (MachineIssueSeverity) String ¶ added in v0.2.0
func (x MachineIssueSeverity) String() string
func (MachineIssueSeverity) Type ¶ added in v0.2.0
func (MachineIssueSeverity) Type() protoreflect.EnumType
type MachineIssueType ¶ added in v0.2.0
type MachineIssueType int32
MachineIssueType defines which type of issue it is.
const ( // MACHINE_ISSUE_TYPE_UNSPECIFIED type is not specified. MachineIssueType_MACHINE_ISSUE_TYPE_UNSPECIFIED MachineIssueType = 0 // MACHINE_ISSUE_TYPE_ASN_UNIQUENESS machine asn is not unique. MachineIssueType_MACHINE_ISSUE_TYPE_ASN_UNIQUENESS MachineIssueType = 1 // MACHINE_ISSUE_TYPE_BMC_INFO_OUTDATED machine bmc info out of date. MachineIssueType_MACHINE_ISSUE_TYPE_BMC_INFO_OUTDATED MachineIssueType = 2 // MACHINE_ISSUE_TYPE_BMC_NON_DISTINCT_IP machine bmc ip is not distinct. MachineIssueType_MACHINE_ISSUE_TYPE_BMC_NON_DISTINCT_IP MachineIssueType = 3 // MACHINE_ISSUE_TYPE_BMC_WITHOUT_IP machine bmc without ip. MachineIssueType_MACHINE_ISSUE_TYPE_BMC_WITHOUT_IP MachineIssueType = 4 // MACHINE_ISSUE_TYPE_BMC_WITHOUT_MAC machine bmc without mac address. MachineIssueType_MACHINE_ISSUE_TYPE_BMC_WITHOUT_MAC MachineIssueType = 5 // MACHINE_ISSUE_TYPE_CRASH_LOOP machine is in crashloop. MachineIssueType_MACHINE_ISSUE_TYPE_CRASH_LOOP MachineIssueType = 6 // MACHINE_ISSUE_TYPE_FAILED_MACHINE_RECLAIM machine was not freed after delete. MachineIssueType_MACHINE_ISSUE_TYPE_FAILED_MACHINE_RECLAIM MachineIssueType = 7 // MACHINE_ISSUE_TYPE_LAST_EVENT_ERROR machine last event error. MachineIssueType_MACHINE_ISSUE_TYPE_LAST_EVENT_ERROR MachineIssueType = 8 // MACHINE_ISSUE_TYPE_LIVELINESS_DEAD machine is dead. MachineIssueType_MACHINE_ISSUE_TYPE_LIVELINESS_DEAD MachineIssueType = 9 // MACHINE_ISSUE_TYPE_LIVELINESS_NOT_AVAILABLE machine liveliness is not available. MachineIssueType_MACHINE_ISSUE_TYPE_LIVELINESS_NOT_AVAILABLE MachineIssueType = 10 // MACHINE_ISSUE_TYPE_LIVELINESS_UNKNOWN machine liveliness is unknown. MachineIssueType_MACHINE_ISSUE_TYPE_LIVELINESS_UNKNOWN MachineIssueType = 11 // MACHINE_ISSUE_TYPE_NO_EVENT_CONTAINER machine does not have a event container. MachineIssueType_MACHINE_ISSUE_TYPE_NO_EVENT_CONTAINER MachineIssueType = 12 // MACHINE_ISSUE_TYPE_NO_PARTITION no partition set. MachineIssueType_MACHINE_ISSUE_TYPE_NO_PARTITION MachineIssueType = 13 )
func (MachineIssueType) Descriptor ¶ added in v0.2.0
func (MachineIssueType) Descriptor() protoreflect.EnumDescriptor
func (MachineIssueType) Enum ¶ added in v0.2.0
func (x MachineIssueType) Enum() *MachineIssueType
func (MachineIssueType) EnumDescriptor
deprecated
added in
v0.2.0
func (MachineIssueType) EnumDescriptor() ([]byte, []int)
Deprecated: Use MachineIssueType.Descriptor instead.
func (MachineIssueType) Number ¶ added in v0.2.0
func (x MachineIssueType) Number() protoreflect.EnumNumber
func (MachineIssueType) String ¶ added in v0.2.0
func (x MachineIssueType) String() string
func (MachineIssueType) Type ¶ added in v0.2.0
func (MachineIssueType) Type() protoreflect.EnumType
type MachineIssues ¶ added in v0.2.0
type MachineIssues struct {
// UUID of the machine for which the issues are listed.
Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
// Issues of this machine.
Issues []*MachineIssue `protobuf:"bytes,2,rep,name=issues,proto3" json:"issues,omitempty"`
// contains filtered or unexported fields
}
MachineIssues is a list of issues for a machine.
func (*MachineIssues) Descriptor
deprecated
added in
v0.2.0
func (*MachineIssues) Descriptor() ([]byte, []int)
Deprecated: Use MachineIssues.ProtoReflect.Descriptor instead.
func (*MachineIssues) GetIssues ¶ added in v0.2.0
func (x *MachineIssues) GetIssues() []*MachineIssue
func (*MachineIssues) GetUuid ¶ added in v0.2.0
func (x *MachineIssues) GetUuid() string
func (*MachineIssues) ProtoMessage ¶ added in v0.2.0
func (*MachineIssues) ProtoMessage()
func (*MachineIssues) ProtoReflect ¶ added in v0.2.0
func (x *MachineIssues) ProtoReflect() protoreflect.Message
func (*MachineIssues) Reset ¶ added in v0.2.0
func (x *MachineIssues) Reset()
func (*MachineIssues) String ¶ added in v0.2.0
func (x *MachineIssues) String() string
type MachineIssuesQuery ¶ added in v0.2.0
type MachineIssuesQuery struct {
// MachineQuery to select specific machines.
MachineQuery *MachineQuery `protobuf:"bytes,1,opt,name=machine_query,json=machineQuery,proto3" json:"machine_query,omitempty"`
// Only includes the specified machine issue types.
Only []MachineIssueType `protobuf:"varint,2,rep,packed,name=only,proto3,enum=metalstack.api.v2.MachineIssueType" json:"only,omitempty"`
// Omits the specified machine issues.
Omit []MachineIssueType `protobuf:"varint,3,rep,packed,name=omit,proto3,enum=metalstack.api.v2.MachineIssueType" json:"omit,omitempty"`
// Severity filters issue for given severity.
Severity *MachineIssueSeverity `protobuf:"varint,4,opt,name=severity,proto3,enum=metalstack.api.v2.MachineIssueSeverity,oneof" json:"severity,omitempty"`
// LastErrorThreshold defines the last error threshold.
LastErrorThreshold *durationpb.Duration `protobuf:"bytes,5,opt,name=last_error_threshold,json=lastErrorThreshold,proto3" json:"last_error_threshold,omitempty"`
// contains filtered or unexported fields
}
MachineIssuesQuery defines which machine issues should be listed.
func (*MachineIssuesQuery) Descriptor
deprecated
added in
v0.2.0
func (*MachineIssuesQuery) Descriptor() ([]byte, []int)
Deprecated: Use MachineIssuesQuery.ProtoReflect.Descriptor instead.
func (*MachineIssuesQuery) GetLastErrorThreshold ¶ added in v0.2.0
func (x *MachineIssuesQuery) GetLastErrorThreshold() *durationpb.Duration
func (*MachineIssuesQuery) GetMachineQuery ¶ added in v0.2.0
func (x *MachineIssuesQuery) GetMachineQuery() *MachineQuery
func (*MachineIssuesQuery) GetOmit ¶ added in v0.2.0
func (x *MachineIssuesQuery) GetOmit() []MachineIssueType
func (*MachineIssuesQuery) GetOnly ¶ added in v0.2.0
func (x *MachineIssuesQuery) GetOnly() []MachineIssueType
func (*MachineIssuesQuery) GetSeverity ¶ added in v0.2.0
func (x *MachineIssuesQuery) GetSeverity() MachineIssueSeverity
func (*MachineIssuesQuery) ProtoMessage ¶ added in v0.2.0
func (*MachineIssuesQuery) ProtoMessage()
func (*MachineIssuesQuery) ProtoReflect ¶ added in v0.2.0
func (x *MachineIssuesQuery) ProtoReflect() protoreflect.Message
func (*MachineIssuesQuery) Reset ¶ added in v0.2.0
func (x *MachineIssuesQuery) Reset()
func (*MachineIssuesQuery) String ¶ added in v0.2.0
func (x *MachineIssuesQuery) String() string
type MachineLiveliness ¶ added in v0.0.9
type MachineLiveliness int32
MachineLiveliness specifies the liveliness of a machine.
const ( // MACHINE_LIVELINESS_UNSPECIFIED is not defined. MachineLiveliness_MACHINE_LIVELINESS_UNSPECIFIED MachineLiveliness = 0 // MACHINE_LIVELINESS_ALIVE liveliness is alive. MachineLiveliness_MACHINE_LIVELINESS_ALIVE MachineLiveliness = 1 // MACHINE_LIVELINESS_DEAD liveliness is dead. MachineLiveliness_MACHINE_LIVELINESS_DEAD MachineLiveliness = 2 // MACHINE_LIVELINESS_UNKNOWN liveliness is unknown. MachineLiveliness_MACHINE_LIVELINESS_UNKNOWN MachineLiveliness = 3 )
func (MachineLiveliness) Descriptor ¶ added in v0.0.9
func (MachineLiveliness) Descriptor() protoreflect.EnumDescriptor
func (MachineLiveliness) Enum ¶ added in v0.0.9
func (x MachineLiveliness) Enum() *MachineLiveliness
func (MachineLiveliness) EnumDescriptor
deprecated
added in
v0.0.9
func (MachineLiveliness) EnumDescriptor() ([]byte, []int)
Deprecated: Use MachineLiveliness.Descriptor instead.
func (MachineLiveliness) Number ¶ added in v0.0.9
func (x MachineLiveliness) Number() protoreflect.EnumNumber
func (MachineLiveliness) String ¶ added in v0.0.9
func (x MachineLiveliness) String() string
func (MachineLiveliness) Type ¶ added in v0.0.9
func (MachineLiveliness) Type() protoreflect.EnumType
type MachineNetwork ¶ added in v0.0.9
type MachineNetwork struct {
// Network the networkID of the allocated machine in this vrf.
Network string `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"`
// Prefixes the prefixes of this network.
Prefixes []string `protobuf:"bytes,2,rep,name=prefixes,proto3" json:"prefixes,omitempty"`
// DestinationPrefixes prefixes that are reachable within this network.
DestinationPrefixes []string `protobuf:"bytes,3,rep,name=destination_prefixes,json=destinationPrefixes,proto3" json:"destination_prefixes,omitempty"`
// IPs the ip addresses of the allocated machine in this vrf.
Ips []string `protobuf:"bytes,4,rep,name=ips,proto3" json:"ips,omitempty"`
// NetworkType the type of network of this vrf.
NetworkType NetworkType `` /* 130-byte string literal not displayed */
// NatType what type of nat if any should be used.
NatType NATType `protobuf:"varint,6,opt,name=nat_type,json=natType,proto3,enum=metalstack.api.v2.NATType" json:"nat_type,omitempty"`
// VRF the vrf id.
Vrf uint64 `protobuf:"varint,7,opt,name=vrf,proto3" json:"vrf,omitempty"`
// ASN the autonomous system number for this network.
Asn uint32 `protobuf:"varint,8,opt,name=asn,proto3" json:"asn,omitempty"`
// Project is the project uuid associated with this network.
Project *string `protobuf:"bytes,9,opt,name=project,proto3,oneof" json:"project,omitempty"`
// contains filtered or unexported fields
}
MachineNetwork contains details which network should be created on a allocated machine.
func (*MachineNetwork) Descriptor
deprecated
added in
v0.0.9
func (*MachineNetwork) Descriptor() ([]byte, []int)
Deprecated: Use MachineNetwork.ProtoReflect.Descriptor instead.
func (*MachineNetwork) GetAsn ¶ added in v0.0.9
func (x *MachineNetwork) GetAsn() uint32
func (*MachineNetwork) GetDestinationPrefixes ¶ added in v0.0.9
func (x *MachineNetwork) GetDestinationPrefixes() []string
func (*MachineNetwork) GetIps ¶ added in v0.0.9
func (x *MachineNetwork) GetIps() []string
func (*MachineNetwork) GetNatType ¶ added in v0.0.9
func (x *MachineNetwork) GetNatType() NATType
func (*MachineNetwork) GetNetwork ¶ added in v0.0.9
func (x *MachineNetwork) GetNetwork() string
func (*MachineNetwork) GetNetworkType ¶ added in v0.0.9
func (x *MachineNetwork) GetNetworkType() NetworkType
func (*MachineNetwork) GetPrefixes ¶ added in v0.0.9
func (x *MachineNetwork) GetPrefixes() []string
func (*MachineNetwork) GetProject ¶ added in v0.0.56
func (x *MachineNetwork) GetProject() string
func (*MachineNetwork) GetVrf ¶ added in v0.0.9
func (x *MachineNetwork) GetVrf() uint64
func (*MachineNetwork) ProtoMessage ¶ added in v0.0.9
func (*MachineNetwork) ProtoMessage()
func (*MachineNetwork) ProtoReflect ¶ added in v0.0.9
func (x *MachineNetwork) ProtoReflect() protoreflect.Message
func (*MachineNetwork) Reset ¶ added in v0.0.9
func (x *MachineNetwork) Reset()
func (*MachineNetwork) String ¶ added in v0.0.9
func (x *MachineNetwork) String() string
type MachineNetworkQuery ¶ added in v0.0.9
type MachineNetworkQuery struct {
// Networks this machine is connected to.
Networks []string `protobuf:"bytes,1,rep,name=networks,proto3" json:"networks,omitempty"`
// Prefixes this machine is connected to.
Prefixes []string `protobuf:"bytes,2,rep,name=prefixes,proto3" json:"prefixes,omitempty"`
// DestinationPrefixes this machine is connected to.
DestinationPrefixes []string `protobuf:"bytes,3,rep,name=destination_prefixes,json=destinationPrefixes,proto3" json:"destination_prefixes,omitempty"`
// IPs this machine has.
Ips []string `protobuf:"bytes,4,rep,name=ips,proto3" json:"ips,omitempty"`
// VRFs this machine is connected to.
Vrfs []uint64 `protobuf:"varint,5,rep,packed,name=vrfs,proto3" json:"vrfs,omitempty"`
// ASNs this machine is connected to.
Asns []uint32 `protobuf:"varint,6,rep,packed,name=asns,proto3" json:"asns,omitempty"`
// contains filtered or unexported fields
}
MachineNetworkQuery network specific machine queries.
func (*MachineNetworkQuery) Descriptor
deprecated
added in
v0.0.9
func (*MachineNetworkQuery) Descriptor() ([]byte, []int)
Deprecated: Use MachineNetworkQuery.ProtoReflect.Descriptor instead.
func (*MachineNetworkQuery) GetAsns ¶ added in v0.0.9
func (x *MachineNetworkQuery) GetAsns() []uint32
func (*MachineNetworkQuery) GetDestinationPrefixes ¶ added in v0.0.9
func (x *MachineNetworkQuery) GetDestinationPrefixes() []string
func (*MachineNetworkQuery) GetIps ¶ added in v0.0.9
func (x *MachineNetworkQuery) GetIps() []string
func (*MachineNetworkQuery) GetNetworks ¶ added in v0.0.9
func (x *MachineNetworkQuery) GetNetworks() []string
func (*MachineNetworkQuery) GetPrefixes ¶ added in v0.0.9
func (x *MachineNetworkQuery) GetPrefixes() []string
func (*MachineNetworkQuery) GetVrfs ¶ added in v0.0.9
func (x *MachineNetworkQuery) GetVrfs() []uint64
func (*MachineNetworkQuery) ProtoMessage ¶ added in v0.0.9
func (*MachineNetworkQuery) ProtoMessage()
func (*MachineNetworkQuery) ProtoReflect ¶ added in v0.0.9
func (x *MachineNetworkQuery) ProtoReflect() protoreflect.Message
func (*MachineNetworkQuery) Reset ¶ added in v0.0.9
func (x *MachineNetworkQuery) Reset()
func (*MachineNetworkQuery) String ¶ added in v0.0.9
func (x *MachineNetworkQuery) String() string
type MachineNic ¶ added in v0.0.9
type MachineNic struct {
// Mac the macaddress of this interface.
Mac string `protobuf:"bytes,1,opt,name=mac,proto3" json:"mac,omitempty"`
// Name of this interface.
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// Identifier the unique identifier of this network interface.
Identifier string `protobuf:"bytes,3,opt,name=identifier,proto3" json:"identifier,omitempty"`
// Vendor of this network card.
Vendor string `protobuf:"bytes,4,opt,name=vendor,proto3" json:"vendor,omitempty"`
// Model of this network card.
Model string `protobuf:"bytes,5,opt,name=model,proto3" json:"model,omitempty"`
// Speed in bits/second of this network card.
Speed uint64 `protobuf:"varint,6,opt,name=speed,proto3" json:"speed,omitempty"`
// Neighbors the neighbors visible to this network interface.
Neighbors []*MachineNic `protobuf:"bytes,7,rep,name=neighbors,proto3" json:"neighbors,omitempty"`
// Hostname the nic belongs to.
Hostname string `protobuf:"bytes,8,opt,name=hostname,proto3" json:"hostname,omitempty"`
// contains filtered or unexported fields
}
MachineNic contains details of a network interface of this machine.
func (*MachineNic) Descriptor
deprecated
added in
v0.0.9
func (*MachineNic) Descriptor() ([]byte, []int)
Deprecated: Use MachineNic.ProtoReflect.Descriptor instead.
func (*MachineNic) GetHostname ¶ added in v0.0.36
func (x *MachineNic) GetHostname() string
func (*MachineNic) GetIdentifier ¶ added in v0.0.9
func (x *MachineNic) GetIdentifier() string
func (*MachineNic) GetMac ¶ added in v0.0.9
func (x *MachineNic) GetMac() string
func (*MachineNic) GetModel ¶ added in v0.0.10
func (x *MachineNic) GetModel() string
func (*MachineNic) GetName ¶ added in v0.0.9
func (x *MachineNic) GetName() string
func (*MachineNic) GetNeighbors ¶ added in v0.0.9
func (x *MachineNic) GetNeighbors() []*MachineNic
func (*MachineNic) GetSpeed ¶ added in v0.0.10
func (x *MachineNic) GetSpeed() uint64
func (*MachineNic) GetVendor ¶ added in v0.0.10
func (x *MachineNic) GetVendor() string
func (*MachineNic) ProtoMessage ¶ added in v0.0.9
func (*MachineNic) ProtoMessage()
func (*MachineNic) ProtoReflect ¶ added in v0.0.9
func (x *MachineNic) ProtoReflect() protoreflect.Message
func (*MachineNic) Reset ¶ added in v0.0.9
func (x *MachineNic) Reset()
func (*MachineNic) String ¶ added in v0.0.9
func (x *MachineNic) String() string
type MachineNicQuery ¶ added in v0.0.9
type MachineNicQuery struct {
// Macs this machine nic has.
Macs []string `protobuf:"bytes,1,rep,name=macs,proto3" json:"macs,omitempty"`
// Names this machine nic has.
Names []string `protobuf:"bytes,2,rep,name=names,proto3" json:"names,omitempty"`
// NeighborMacs this machine nic has.
NeighborMacs []string `protobuf:"bytes,3,rep,name=neighbor_macs,json=neighborMacs,proto3" json:"neighbor_macs,omitempty"`
// NeighborNames this machine nic has.
NeighborNames []string `protobuf:"bytes,4,rep,name=neighbor_names,json=neighborNames,proto3" json:"neighbor_names,omitempty"`
// contains filtered or unexported fields
}
MachineNicQuery nic specific machine queries.
func (*MachineNicQuery) Descriptor
deprecated
added in
v0.0.9
func (*MachineNicQuery) Descriptor() ([]byte, []int)
Deprecated: Use MachineNicQuery.ProtoReflect.Descriptor instead.
func (*MachineNicQuery) GetMacs ¶ added in v0.0.9
func (x *MachineNicQuery) GetMacs() []string
func (*MachineNicQuery) GetNames ¶ added in v0.0.9
func (x *MachineNicQuery) GetNames() []string
func (*MachineNicQuery) GetNeighborMacs ¶ added in v0.0.9
func (x *MachineNicQuery) GetNeighborMacs() []string
func (*MachineNicQuery) GetNeighborNames ¶ added in v0.0.9
func (x *MachineNicQuery) GetNeighborNames() []string
func (*MachineNicQuery) ProtoMessage ¶ added in v0.0.9
func (*MachineNicQuery) ProtoMessage()
func (*MachineNicQuery) ProtoReflect ¶ added in v0.0.9
func (x *MachineNicQuery) ProtoReflect() protoreflect.Message
func (*MachineNicQuery) Reset ¶ added in v0.0.9
func (x *MachineNicQuery) Reset()
func (*MachineNicQuery) String ¶ added in v0.0.9
func (x *MachineNicQuery) String() string
type MachinePermissions ¶ added in v0.4.0
type MachinePermissions struct {
// UUID of this machine.
// Asterisk (*) can be specified to match any subject.
Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
// Methods which should be accessible.
Methods []string `protobuf:"bytes,2,rep,name=methods,proto3" json:"methods,omitempty"`
// contains filtered or unexported fields
}
MachinePermissions carries machine method permissions.
func (*MachinePermissions) Descriptor
deprecated
added in
v0.4.0
func (*MachinePermissions) Descriptor() ([]byte, []int)
Deprecated: Use MachinePermissions.ProtoReflect.Descriptor instead.
func (*MachinePermissions) GetMethods ¶ added in v0.4.0
func (x *MachinePermissions) GetMethods() []string
func (*MachinePermissions) GetUuid ¶ added in v0.4.0
func (x *MachinePermissions) GetUuid() string
func (*MachinePermissions) ProtoMessage ¶ added in v0.4.0
func (*MachinePermissions) ProtoMessage()
func (*MachinePermissions) ProtoReflect ¶ added in v0.4.0
func (x *MachinePermissions) ProtoReflect() protoreflect.Message
func (*MachinePermissions) Reset ¶ added in v0.4.0
func (x *MachinePermissions) Reset()
func (*MachinePermissions) String ¶ added in v0.4.0
func (x *MachinePermissions) String() string
type MachinePowerMetric ¶ added in v0.0.41
type MachinePowerMetric struct {
// AverageConsumedWatts shall represent the average power level that occurred averaged over the last IntervalInMin minutes.
AverageConsumedWatts float32 `protobuf:"fixed32,1,opt,name=average_consumed_watts,json=averageConsumedWatts,proto3" json:"average_consumed_watts,omitempty"`
// IntervalInMin shall represent the time interval (or window), in minutes, in which the PowerMetrics properties are measured over.
// Should be an integer, but some Dell implementations return as a float.
IntervalInMin float32 `protobuf:"fixed32,2,opt,name=interval_in_min,json=intervalInMin,proto3" json:"interval_in_min,omitempty"`
// MaxConsumedWatts shall represent the maximum power level in watts that occurred within the last IntervalInMin minutes.
MaxConsumedWatts float32 `protobuf:"fixed32,3,opt,name=max_consumed_watts,json=maxConsumedWatts,proto3" json:"max_consumed_watts,omitempty"`
// MinConsumedWatts shall represent the minimum power level in watts that occurred within the last IntervalInMin minutes.
MinConsumedWatts float32 `protobuf:"fixed32,4,opt,name=min_consumed_watts,json=minConsumedWatts,proto3" json:"min_consumed_watts,omitempty"`
// contains filtered or unexported fields
}
MachinePowerMetric contains metrics of the power consumption of a machine.
func (*MachinePowerMetric) Descriptor
deprecated
added in
v0.0.41
func (*MachinePowerMetric) Descriptor() ([]byte, []int)
Deprecated: Use MachinePowerMetric.ProtoReflect.Descriptor instead.
func (*MachinePowerMetric) GetAverageConsumedWatts ¶ added in v0.0.41
func (x *MachinePowerMetric) GetAverageConsumedWatts() float32
func (*MachinePowerMetric) GetIntervalInMin ¶ added in v0.0.41
func (x *MachinePowerMetric) GetIntervalInMin() float32
func (*MachinePowerMetric) GetMaxConsumedWatts ¶ added in v0.0.41
func (x *MachinePowerMetric) GetMaxConsumedWatts() float32
func (*MachinePowerMetric) GetMinConsumedWatts ¶ added in v0.0.41
func (x *MachinePowerMetric) GetMinConsumedWatts() float32
func (*MachinePowerMetric) ProtoMessage ¶ added in v0.0.41
func (*MachinePowerMetric) ProtoMessage()
func (*MachinePowerMetric) ProtoReflect ¶ added in v0.0.41
func (x *MachinePowerMetric) ProtoReflect() protoreflect.Message
func (*MachinePowerMetric) Reset ¶ added in v0.0.41
func (x *MachinePowerMetric) Reset()
func (*MachinePowerMetric) String ¶ added in v0.0.41
func (x *MachinePowerMetric) String() string
type MachinePowerSupply ¶ added in v0.0.41
type MachinePowerSupply struct {
// Health of the powersupply.
Health string `protobuf:"bytes,1,opt,name=health,proto3" json:"health,omitempty"`
// State of the powersupply.
State string `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"`
// contains filtered or unexported fields
}
MachinePowerSupply contains details of the power supply of a machine.
func (*MachinePowerSupply) Descriptor
deprecated
added in
v0.0.41
func (*MachinePowerSupply) Descriptor() ([]byte, []int)
Deprecated: Use MachinePowerSupply.ProtoReflect.Descriptor instead.
func (*MachinePowerSupply) GetHealth ¶ added in v0.0.41
func (x *MachinePowerSupply) GetHealth() string
func (*MachinePowerSupply) GetState ¶ added in v0.0.41
func (x *MachinePowerSupply) GetState() string
func (*MachinePowerSupply) ProtoMessage ¶ added in v0.0.41
func (*MachinePowerSupply) ProtoMessage()
func (*MachinePowerSupply) ProtoReflect ¶ added in v0.0.41
func (x *MachinePowerSupply) ProtoReflect() protoreflect.Message
func (*MachinePowerSupply) Reset ¶ added in v0.0.41
func (x *MachinePowerSupply) Reset()
func (*MachinePowerSupply) String ¶ added in v0.0.41
func (x *MachinePowerSupply) String() string
type MachineProvisioningEvent ¶ added in v0.0.9
type MachineProvisioningEvent struct {
// Time the time that this event was received.
Time *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"`
// Event the event emitted by the machine.
Event MachineProvisioningEventType `protobuf:"varint,2,opt,name=event,proto3,enum=metalstack.api.v2.MachineProvisioningEventType" json:"event,omitempty"`
// Message an additional message to add to the event.
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
// contains filtered or unexported fields
}
MachineProvisioningEvent is an event that has occurred during provisioning.
func (*MachineProvisioningEvent) Descriptor
deprecated
added in
v0.0.9
func (*MachineProvisioningEvent) Descriptor() ([]byte, []int)
Deprecated: Use MachineProvisioningEvent.ProtoReflect.Descriptor instead.
func (*MachineProvisioningEvent) GetEvent ¶ added in v0.0.9
func (x *MachineProvisioningEvent) GetEvent() MachineProvisioningEventType
func (*MachineProvisioningEvent) GetMessage ¶ added in v0.0.9
func (x *MachineProvisioningEvent) GetMessage() string
func (*MachineProvisioningEvent) GetTime ¶ added in v0.0.9
func (x *MachineProvisioningEvent) GetTime() *timestamppb.Timestamp
func (*MachineProvisioningEvent) ProtoMessage ¶ added in v0.0.9
func (*MachineProvisioningEvent) ProtoMessage()
func (*MachineProvisioningEvent) ProtoReflect ¶ added in v0.0.9
func (x *MachineProvisioningEvent) ProtoReflect() protoreflect.Message
func (*MachineProvisioningEvent) Reset ¶ added in v0.0.9
func (x *MachineProvisioningEvent) Reset()
func (*MachineProvisioningEvent) String ¶ added in v0.0.9
func (x *MachineProvisioningEvent) String() string
type MachineProvisioningEventState ¶ added in v0.0.9
type MachineProvisioningEventState int32
MachineProvisioningEventState possible event states.
const ( // MACHINE_PROVISIONING_EVENT_STATE_UNSPECIFIED is not specified. MachineProvisioningEventState_MACHINE_PROVISIONING_EVENT_STATE_UNSPECIFIED MachineProvisioningEventState = 0 // MACHINE_PROVISIONING_EVENT_STATE_CRASHLOOP machine is in crash loop. MachineProvisioningEventState_MACHINE_PROVISIONING_EVENT_STATE_CRASHLOOP MachineProvisioningEventState = 1 // MACHINE_PROVISIONING_EVENT_STATE_FAILED_RECLAIM machine is in failed reclaim. MachineProvisioningEventState_MACHINE_PROVISIONING_EVENT_STATE_FAILED_RECLAIM MachineProvisioningEventState = 2 )
func (MachineProvisioningEventState) Descriptor ¶ added in v0.0.9
func (MachineProvisioningEventState) Descriptor() protoreflect.EnumDescriptor
func (MachineProvisioningEventState) Enum ¶ added in v0.0.9
func (x MachineProvisioningEventState) Enum() *MachineProvisioningEventState
func (MachineProvisioningEventState) EnumDescriptor
deprecated
added in
v0.0.9
func (MachineProvisioningEventState) EnumDescriptor() ([]byte, []int)
Deprecated: Use MachineProvisioningEventState.Descriptor instead.
func (MachineProvisioningEventState) Number ¶ added in v0.0.9
func (x MachineProvisioningEventState) Number() protoreflect.EnumNumber
func (MachineProvisioningEventState) String ¶ added in v0.0.9
func (x MachineProvisioningEventState) String() string
func (MachineProvisioningEventState) Type ¶ added in v0.0.9
func (MachineProvisioningEventState) Type() protoreflect.EnumType
type MachineProvisioningEventType ¶ added in v0.0.12
type MachineProvisioningEventType int32
MachineProvisioningEventType defines in which phase the machine actually is.
const ( // MACHINE_PROVISIONING_EVENT_TYPE_UNSPECIFIED is not specified. MachineProvisioningEventType_MACHINE_PROVISIONING_EVENT_TYPE_UNSPECIFIED MachineProvisioningEventType = 0 // MACHINE_PROVISIONING_EVENT_TYPE_ALIVE machine is alive. MachineProvisioningEventType_MACHINE_PROVISIONING_EVENT_TYPE_ALIVE MachineProvisioningEventType = 1 // MACHINE_PROVISIONING_EVENT_TYPE_CRASHED machine crashed. MachineProvisioningEventType_MACHINE_PROVISIONING_EVENT_TYPE_CRASHED MachineProvisioningEventType = 2 // MACHINE_PROVISIONING_EVENT_TYPE_PXE_BOOTING machine is pxe booting into metal-hammer. MachineProvisioningEventType_MACHINE_PROVISIONING_EVENT_TYPE_PXE_BOOTING MachineProvisioningEventType = 3 // MACHINE_PROVISIONING_EVENT_TYPE_PLANNED_REBOOT machine got a reboot instruction. MachineProvisioningEventType_MACHINE_PROVISIONING_EVENT_TYPE_PLANNED_REBOOT MachineProvisioningEventType = 4 // MACHINE_PROVISIONING_EVENT_TYPE_PREPARING metal-hammer is preparing the machine. MachineProvisioningEventType_MACHINE_PROVISIONING_EVENT_TYPE_PREPARING MachineProvisioningEventType = 5 // MACHINE_PROVISIONING_EVENT_TYPE_REGISTERING metal-hammer registers machine at the apiserver. MachineProvisioningEventType_MACHINE_PROVISIONING_EVENT_TYPE_REGISTERING MachineProvisioningEventType = 6 // MACHINE_PROVISIONING_EVENT_TYPE_WAITING machine is waiting for installation. MachineProvisioningEventType_MACHINE_PROVISIONING_EVENT_TYPE_WAITING MachineProvisioningEventType = 7 // MACHINE_PROVISIONING_EVENT_TYPE_INSTALLING metal-hammer is installing the desired os. MachineProvisioningEventType_MACHINE_PROVISIONING_EVENT_TYPE_INSTALLING MachineProvisioningEventType = 8 // MACHINE_PROVISIONING_EVENT_TYPE_BOOTING_NEW_KERNEL metal-hammer completed installation and boots into target os. MachineProvisioningEventType_MACHINE_PROVISIONING_EVENT_TYPE_BOOTING_NEW_KERNEL MachineProvisioningEventType = 9 // MACHINE_PROVISIONING_EVENT_TYPE_PHONED_HOME machine is installed and phones home. MachineProvisioningEventType_MACHINE_PROVISIONING_EVENT_TYPE_PHONED_HOME MachineProvisioningEventType = 10 // MACHINE_PROVISIONING_EVENT_TYPE_MACHINE_RECLAIM machine is not allocated, but phones home. MachineProvisioningEventType_MACHINE_PROVISIONING_EVENT_TYPE_MACHINE_RECLAIM MachineProvisioningEventType = 11 )
func (MachineProvisioningEventType) Descriptor ¶ added in v0.0.12
func (MachineProvisioningEventType) Descriptor() protoreflect.EnumDescriptor
func (MachineProvisioningEventType) Enum ¶ added in v0.0.12
func (x MachineProvisioningEventType) Enum() *MachineProvisioningEventType
func (MachineProvisioningEventType) EnumDescriptor
deprecated
added in
v0.0.12
func (MachineProvisioningEventType) EnumDescriptor() ([]byte, []int)
Deprecated: Use MachineProvisioningEventType.Descriptor instead.
func (MachineProvisioningEventType) Number ¶ added in v0.0.12
func (x MachineProvisioningEventType) Number() protoreflect.EnumNumber
func (MachineProvisioningEventType) String ¶ added in v0.0.12
func (x MachineProvisioningEventType) String() string
func (MachineProvisioningEventType) Type ¶ added in v0.0.12
func (MachineProvisioningEventType) Type() protoreflect.EnumType
type MachineQuery ¶ added in v0.0.9
type MachineQuery struct {
// UUID of the machine to get.
Uuid *string `protobuf:"bytes,1,opt,name=uuid,proto3,oneof" json:"uuid,omitempty"`
// Name of the machine to get.
Name *string `protobuf:"bytes,2,opt,name=name,proto3,oneof" json:"name,omitempty"`
// Partition of the machine to get.
Partition *string `protobuf:"bytes,3,opt,name=partition,proto3,oneof" json:"partition,omitempty"`
// Size of the machine to get.
Size *string `protobuf:"bytes,4,opt,name=size,proto3,oneof" json:"size,omitempty"`
// Rack of the machine to get.
Rack *string `protobuf:"bytes,5,opt,name=rack,proto3,oneof" json:"rack,omitempty"`
// Room of the machine to get.
Room *string `protobuf:"bytes,6,opt,name=room,proto3,oneof" json:"room,omitempty"`
// Labels for which this machine should get filtered.
Labels *Labels `protobuf:"bytes,7,opt,name=labels,proto3,oneof" json:"labels,omitempty"`
// Allocation specific machine queries.
Allocation *MachineAllocationQuery `protobuf:"bytes,8,opt,name=allocation,proto3,oneof" json:"allocation,omitempty"`
// Network specific machine queries.
Network *MachineNetworkQuery `protobuf:"bytes,9,opt,name=network,proto3,oneof" json:"network,omitempty"`
// Nic specific machine queries.
Nic *MachineNicQuery `protobuf:"bytes,10,opt,name=nic,proto3,oneof" json:"nic,omitempty"`
// Disk specific machine queries.
Disk *MachineDiskQuery `protobuf:"bytes,11,opt,name=disk,proto3,oneof" json:"disk,omitempty"`
// Bmc specific machine queries.
Bmc *MachineBMCQuery `protobuf:"bytes,12,opt,name=bmc,proto3,oneof" json:"bmc,omitempty"`
// Fru specific machine queries.
Fru *MachineFRUQuery `protobuf:"bytes,13,opt,name=fru,proto3,oneof" json:"fru,omitempty"`
// Hardware specific machine query.
Hardware *MachineHardwareQuery `protobuf:"bytes,14,opt,name=hardware,proto3,oneof" json:"hardware,omitempty"`
// State this machine has.
State *MachineState `protobuf:"varint,15,opt,name=state,proto3,enum=metalstack.api.v2.MachineState,oneof" json:"state,omitempty"`
// Waiting if set to true, only waiting machines are returned.
// Only useful for admins.
Waiting *bool `protobuf:"varint,16,opt,name=waiting,proto3,oneof" json:"waiting,omitempty"`
// Preallocated if set to true, only machines which are preallocated are returned.
// Only useful for admins.
Preallocated *bool `protobuf:"varint,17,opt,name=preallocated,proto3,oneof" json:"preallocated,omitempty"`
// NotAllocated if set to true, only machines which are not allocated are returned.
// Only useful for admins.
NotAllocated *bool `protobuf:"varint,18,opt,name=not_allocated,json=notAllocated,proto3,oneof" json:"not_allocated,omitempty"`
// contains filtered or unexported fields
}
MachineQuery contains fields which can be specified to list specific machines.
func (*MachineQuery) Descriptor
deprecated
added in
v0.0.9
func (*MachineQuery) Descriptor() ([]byte, []int)
Deprecated: Use MachineQuery.ProtoReflect.Descriptor instead.
func (*MachineQuery) GetAllocation ¶ added in v0.0.9
func (x *MachineQuery) GetAllocation() *MachineAllocationQuery
func (*MachineQuery) GetBmc ¶ added in v0.0.41
func (x *MachineQuery) GetBmc() *MachineBMCQuery
func (*MachineQuery) GetDisk ¶ added in v0.0.9
func (x *MachineQuery) GetDisk() *MachineDiskQuery
func (*MachineQuery) GetFru ¶ added in v0.0.9
func (x *MachineQuery) GetFru() *MachineFRUQuery
func (*MachineQuery) GetHardware ¶ added in v0.0.9
func (x *MachineQuery) GetHardware() *MachineHardwareQuery
func (*MachineQuery) GetLabels ¶ added in v0.0.9
func (x *MachineQuery) GetLabels() *Labels
func (*MachineQuery) GetName ¶ added in v0.0.9
func (x *MachineQuery) GetName() string
func (*MachineQuery) GetNetwork ¶ added in v0.0.9
func (x *MachineQuery) GetNetwork() *MachineNetworkQuery
func (*MachineQuery) GetNic ¶ added in v0.0.9
func (x *MachineQuery) GetNic() *MachineNicQuery
func (*MachineQuery) GetNotAllocated ¶ added in v0.0.56
func (x *MachineQuery) GetNotAllocated() bool
func (*MachineQuery) GetPartition ¶ added in v0.0.9
func (x *MachineQuery) GetPartition() string
func (*MachineQuery) GetPreallocated ¶ added in v0.0.56
func (x *MachineQuery) GetPreallocated() bool
func (*MachineQuery) GetRack ¶ added in v0.0.9
func (x *MachineQuery) GetRack() string
func (*MachineQuery) GetRoom ¶ added in v0.3.0
func (x *MachineQuery) GetRoom() string
func (*MachineQuery) GetSize ¶ added in v0.0.9
func (x *MachineQuery) GetSize() string
func (*MachineQuery) GetState ¶ added in v0.0.9
func (x *MachineQuery) GetState() MachineState
func (*MachineQuery) GetUuid ¶ added in v0.0.9
func (x *MachineQuery) GetUuid() string
func (*MachineQuery) GetWaiting ¶ added in v0.0.56
func (x *MachineQuery) GetWaiting() bool
func (*MachineQuery) ProtoMessage ¶ added in v0.0.9
func (*MachineQuery) ProtoMessage()
func (*MachineQuery) ProtoReflect ¶ added in v0.0.9
func (x *MachineQuery) ProtoReflect() protoreflect.Message
func (*MachineQuery) Reset ¶ added in v0.0.9
func (x *MachineQuery) Reset()
func (*MachineQuery) String ¶ added in v0.0.9
func (x *MachineQuery) String() string
type MachineRecentProvisioningEvents ¶ added in v0.0.9
type MachineRecentProvisioningEvents struct {
// Events the log of recent machine provisioning events.
Events []*MachineProvisioningEvent `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"`
// LastEventTime the time where the last event was received.
LastEventTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=last_event_time,json=lastEventTime,proto3" json:"last_event_time,omitempty"`
// LastErrorEvent the last erroneous event received.
LastErrorEvent *MachineProvisioningEvent `protobuf:"bytes,3,opt,name=last_error_event,json=lastErrorEvent,proto3" json:"last_error_event,omitempty"`
// State can be either CrashLoop, FailedReclaim or something else.
State MachineProvisioningEventState `protobuf:"varint,4,opt,name=state,proto3,enum=metalstack.api.v2.MachineProvisioningEventState" json:"state,omitempty"`
// contains filtered or unexported fields
}
MachineRecentProvisioningEvents the recent provisioning events for this machine.
func (*MachineRecentProvisioningEvents) Descriptor
deprecated
added in
v0.0.9
func (*MachineRecentProvisioningEvents) Descriptor() ([]byte, []int)
Deprecated: Use MachineRecentProvisioningEvents.ProtoReflect.Descriptor instead.
func (*MachineRecentProvisioningEvents) GetEvents ¶ added in v0.0.9
func (x *MachineRecentProvisioningEvents) GetEvents() []*MachineProvisioningEvent
func (*MachineRecentProvisioningEvents) GetLastErrorEvent ¶ added in v0.0.9
func (x *MachineRecentProvisioningEvents) GetLastErrorEvent() *MachineProvisioningEvent
func (*MachineRecentProvisioningEvents) GetLastEventTime ¶ added in v0.0.9
func (x *MachineRecentProvisioningEvents) GetLastEventTime() *timestamppb.Timestamp
func (*MachineRecentProvisioningEvents) GetState ¶ added in v0.0.9
func (x *MachineRecentProvisioningEvents) GetState() MachineProvisioningEventState
func (*MachineRecentProvisioningEvents) ProtoMessage ¶ added in v0.0.9
func (*MachineRecentProvisioningEvents) ProtoMessage()
func (*MachineRecentProvisioningEvents) ProtoReflect ¶ added in v0.0.9
func (x *MachineRecentProvisioningEvents) ProtoReflect() protoreflect.Message
func (*MachineRecentProvisioningEvents) Reset ¶ added in v0.0.9
func (x *MachineRecentProvisioningEvents) Reset()
func (*MachineRecentProvisioningEvents) String ¶ added in v0.0.9
func (x *MachineRecentProvisioningEvents) String() string
type MachineRole ¶ added in v0.0.9
type MachineRole int32
MachineRole specifies what role a microservice needs to call this machine service.
const ( // MACHINE_ROLE_UNSPECIFIED is not specified. MachineRole_MACHINE_ROLE_UNSPECIFIED MachineRole = 0 // MACHINE_ROLE_EDITOR a microservice needs at least editor role to call this method. MachineRole_MACHINE_ROLE_EDITOR MachineRole = 1 // MACHINE_ROLE_VIEWER a microservice needs at least viewer role to call this method. MachineRole_MACHINE_ROLE_VIEWER MachineRole = 2 )
func (MachineRole) Descriptor ¶ added in v0.0.9
func (MachineRole) Descriptor() protoreflect.EnumDescriptor
func (MachineRole) Enum ¶ added in v0.0.9
func (x MachineRole) Enum() *MachineRole
func (MachineRole) EnumDescriptor
deprecated
added in
v0.0.9
func (MachineRole) EnumDescriptor() ([]byte, []int)
Deprecated: Use MachineRole.Descriptor instead.
func (MachineRole) Number ¶ added in v0.0.9
func (x MachineRole) Number() protoreflect.EnumNumber
func (MachineRole) String ¶ added in v0.0.9
func (x MachineRole) String() string
func (MachineRole) Type ¶ added in v0.0.9
func (MachineRole) Type() protoreflect.EnumType
type MachineServiceBMCCommandRequest ¶ added in v0.0.41
type MachineServiceBMCCommandRequest struct {
// UUID of the machine to send the command to.
Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
// Project of the machine.
Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
// Command to send to the bmc of the machine.
Command MachineBMCCommand `protobuf:"varint,3,opt,name=command,proto3,enum=metalstack.api.v2.MachineBMCCommand" json:"command,omitempty"`
// contains filtered or unexported fields
}
MachineServiceBMCCommandRequest is the request payload for a machine bmc command.
func (*MachineServiceBMCCommandRequest) Descriptor
deprecated
added in
v0.0.41
func (*MachineServiceBMCCommandRequest) Descriptor() ([]byte, []int)
Deprecated: Use MachineServiceBMCCommandRequest.ProtoReflect.Descriptor instead.
func (*MachineServiceBMCCommandRequest) GetCommand ¶ added in v0.0.41
func (x *MachineServiceBMCCommandRequest) GetCommand() MachineBMCCommand
func (*MachineServiceBMCCommandRequest) GetProject ¶ added in v0.0.41
func (x *MachineServiceBMCCommandRequest) GetProject() string
func (*MachineServiceBMCCommandRequest) GetUuid ¶ added in v0.0.41
func (x *MachineServiceBMCCommandRequest) GetUuid() string
func (*MachineServiceBMCCommandRequest) ProtoMessage ¶ added in v0.0.41
func (*MachineServiceBMCCommandRequest) ProtoMessage()
func (*MachineServiceBMCCommandRequest) ProtoReflect ¶ added in v0.0.41
func (x *MachineServiceBMCCommandRequest) ProtoReflect() protoreflect.Message
func (*MachineServiceBMCCommandRequest) Reset ¶ added in v0.0.41
func (x *MachineServiceBMCCommandRequest) Reset()
func (*MachineServiceBMCCommandRequest) String ¶ added in v0.0.41
func (x *MachineServiceBMCCommandRequest) String() string
type MachineServiceBMCCommandResponse ¶ added in v0.0.41
type MachineServiceBMCCommandResponse struct {
// contains filtered or unexported fields
}
MachineServiceBMCCommandResponse is the response payload for a machine bmc command.
func (*MachineServiceBMCCommandResponse) Descriptor
deprecated
added in
v0.0.41
func (*MachineServiceBMCCommandResponse) Descriptor() ([]byte, []int)
Deprecated: Use MachineServiceBMCCommandResponse.ProtoReflect.Descriptor instead.
func (*MachineServiceBMCCommandResponse) ProtoMessage ¶ added in v0.0.41
func (*MachineServiceBMCCommandResponse) ProtoMessage()
func (*MachineServiceBMCCommandResponse) ProtoReflect ¶ added in v0.0.41
func (x *MachineServiceBMCCommandResponse) ProtoReflect() protoreflect.Message
func (*MachineServiceBMCCommandResponse) Reset ¶ added in v0.0.41
func (x *MachineServiceBMCCommandResponse) Reset()
func (*MachineServiceBMCCommandResponse) String ¶ added in v0.0.41
func (x *MachineServiceBMCCommandResponse) String() string
type MachineServiceCreateRequest ¶ added in v0.0.9
type MachineServiceCreateRequest struct {
// Project of the machine.
Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
// UUID if this field is set, this specific machine will be allocated if it is not in available state and not currently allocated.
// this field takes precedence over size and partition.
// Can only be used with ADMIN_ROLE_EDITOR.
Uuid *string `protobuf:"bytes,2,opt,name=uuid,proto3,oneof" json:"uuid,omitempty"`
// Name of this machine.
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
// Description for this machine.
Description *string `protobuf:"bytes,4,opt,name=description,proto3,oneof" json:"description,omitempty"`
// Hostname the hostname for the allocated machine (defaults to metal).
Hostname *string `protobuf:"bytes,5,opt,name=hostname,proto3,oneof" json:"hostname,omitempty"`
// Partition the partition id to assign this machine to, must be omitted if uuid is given.
Partition *string `protobuf:"bytes,6,opt,name=partition,proto3,oneof" json:"partition,omitempty"`
// Size of the machine to create, must be omitted if uuid is given.
Size *string `protobuf:"bytes,7,opt,name=size,proto3,oneof" json:"size,omitempty"`
// Image which should be installed on this machine.
// The image can be specified either in the fully qualified form, e.g. including os, major, minor and patch
// - debian-13.0.2026040
// - or in a simplified form which omits the patch version.
// - debian-13.
// If the fully qualified form is specified, exactly this image is taken regardless of the image classification.
// If the short form is given, only the most recent images which has image classification supported is used.
Image string `protobuf:"bytes,8,opt,name=image,proto3" json:"image,omitempty"`
// FilesystemLayout which should be applied for the operating system installation.
// Is defaulted by a lookup at the available fsls for this size and image.
// Can be specified to test new fsls during development of fsls.
FilesystemLayout *string `protobuf:"bytes,9,opt,name=filesystem_layout,json=filesystemLayout,proto3,oneof" json:"filesystem_layout,omitempty"`
// SSHPublicKeys defines the ssh public key to be installed on the machine to access it via ssh.
SshPublicKeys []string `protobuf:"bytes,10,rep,name=ssh_public_keys,json=sshPublicKeys,proto3" json:"ssh_public_keys,omitempty"`
// Userdata contains instructions required to bootstrap the machine.
// AWS limits the max userdata size to 16k, lets allow twice as much.
// Must be base64 encoded.
Userdata *string `protobuf:"bytes,11,opt,name=userdata,proto3,oneof" json:"userdata,omitempty"`
// Labels to be attached to this machine allocation.
Labels *Labels `protobuf:"bytes,12,opt,name=labels,proto3" json:"labels,omitempty"`
// Networks the networks that this machine will be placed in.
Networks []*MachineAllocationNetwork `protobuf:"bytes,13,rep,name=networks,proto3" json:"networks,omitempty"`
// PlacementLabels by default machines are spread across the racks inside a partition for every project.
// if placement labels are provided, the machine candidate has an additional anti-affinity to other machines having the same labels.
PlacementLabels *Labels `protobuf:"bytes,14,opt,name=placement_labels,json=placementLabels,proto3" json:"placement_labels,omitempty"`
// DNSServer the dns servers used for the machine.
DnsServers []*DNSServer `protobuf:"bytes,15,rep,name=dns_servers,json=dnsServers,proto3" json:"dns_servers,omitempty"`
// NTPServer the ntp servers used for the machine.
NtpServers []*NTPServer `protobuf:"bytes,16,rep,name=ntp_servers,json=ntpServers,proto3" json:"ntp_servers,omitempty"`
// AllocationType of this machine.
AllocationType MachineAllocationType `` /* 150-byte string literal not displayed */
// FirewallSpec provides firewall specific parameters if allocationType is firewall.
FirewallSpec *FirewallSpec `protobuf:"bytes,18,opt,name=firewall_spec,json=firewallSpec,proto3" json:"firewall_spec,omitempty"`
// contains filtered or unexported fields
}
MachineServiceCreateRequest is the request payload for a machine create request.
func (*MachineServiceCreateRequest) Descriptor
deprecated
added in
v0.0.9
func (*MachineServiceCreateRequest) Descriptor() ([]byte, []int)
Deprecated: Use MachineServiceCreateRequest.ProtoReflect.Descriptor instead.
func (*MachineServiceCreateRequest) GetAllocationType ¶ added in v0.0.10
func (x *MachineServiceCreateRequest) GetAllocationType() MachineAllocationType
func (*MachineServiceCreateRequest) GetDescription ¶ added in v0.0.9
func (x *MachineServiceCreateRequest) GetDescription() string
func (*MachineServiceCreateRequest) GetDnsServers ¶ added in v0.0.54
func (x *MachineServiceCreateRequest) GetDnsServers() []*DNSServer
func (*MachineServiceCreateRequest) GetFilesystemLayout ¶ added in v0.0.9
func (x *MachineServiceCreateRequest) GetFilesystemLayout() string
func (*MachineServiceCreateRequest) GetFirewallSpec ¶ added in v0.0.14
func (x *MachineServiceCreateRequest) GetFirewallSpec() *FirewallSpec
func (*MachineServiceCreateRequest) GetHostname ¶ added in v0.0.9
func (x *MachineServiceCreateRequest) GetHostname() string
func (*MachineServiceCreateRequest) GetImage ¶ added in v0.0.9
func (x *MachineServiceCreateRequest) GetImage() string
func (*MachineServiceCreateRequest) GetLabels ¶ added in v0.0.9
func (x *MachineServiceCreateRequest) GetLabels() *Labels
func (*MachineServiceCreateRequest) GetName ¶ added in v0.0.9
func (x *MachineServiceCreateRequest) GetName() string
func (*MachineServiceCreateRequest) GetNetworks ¶ added in v0.0.9
func (x *MachineServiceCreateRequest) GetNetworks() []*MachineAllocationNetwork
func (*MachineServiceCreateRequest) GetNtpServers ¶ added in v0.0.54
func (x *MachineServiceCreateRequest) GetNtpServers() []*NTPServer
func (*MachineServiceCreateRequest) GetPartition ¶ added in v0.0.9
func (x *MachineServiceCreateRequest) GetPartition() string
func (*MachineServiceCreateRequest) GetPlacementLabels ¶ added in v0.5.0
func (x *MachineServiceCreateRequest) GetPlacementLabels() *Labels
func (*MachineServiceCreateRequest) GetProject ¶ added in v0.0.9
func (x *MachineServiceCreateRequest) GetProject() string
func (*MachineServiceCreateRequest) GetSize ¶ added in v0.0.9
func (x *MachineServiceCreateRequest) GetSize() string
func (*MachineServiceCreateRequest) GetSshPublicKeys ¶ added in v0.0.9
func (x *MachineServiceCreateRequest) GetSshPublicKeys() []string
func (*MachineServiceCreateRequest) GetUserdata ¶ added in v0.0.9
func (x *MachineServiceCreateRequest) GetUserdata() string
func (*MachineServiceCreateRequest) GetUuid ¶ added in v0.0.9
func (x *MachineServiceCreateRequest) GetUuid() string
func (*MachineServiceCreateRequest) ProtoMessage ¶ added in v0.0.9
func (*MachineServiceCreateRequest) ProtoMessage()
func (*MachineServiceCreateRequest) ProtoReflect ¶ added in v0.0.9
func (x *MachineServiceCreateRequest) ProtoReflect() protoreflect.Message
func (*MachineServiceCreateRequest) Reset ¶ added in v0.0.9
func (x *MachineServiceCreateRequest) Reset()
func (*MachineServiceCreateRequest) String ¶ added in v0.0.9
func (x *MachineServiceCreateRequest) String() string
type MachineServiceCreateResponse ¶ added in v0.0.9
type MachineServiceCreateResponse struct {
// Machine which was created.
Machine *Machine `protobuf:"bytes,1,opt,name=machine,proto3" json:"machine,omitempty"`
// contains filtered or unexported fields
}
MachineServiceCreateResponse is the response payload for a machine create request.
func (*MachineServiceCreateResponse) Descriptor
deprecated
added in
v0.0.9
func (*MachineServiceCreateResponse) Descriptor() ([]byte, []int)
Deprecated: Use MachineServiceCreateResponse.ProtoReflect.Descriptor instead.
func (*MachineServiceCreateResponse) GetMachine ¶ added in v0.0.9
func (x *MachineServiceCreateResponse) GetMachine() *Machine
func (*MachineServiceCreateResponse) ProtoMessage ¶ added in v0.0.9
func (*MachineServiceCreateResponse) ProtoMessage()
func (*MachineServiceCreateResponse) ProtoReflect ¶ added in v0.0.9
func (x *MachineServiceCreateResponse) ProtoReflect() protoreflect.Message
func (*MachineServiceCreateResponse) Reset ¶ added in v0.0.9
func (x *MachineServiceCreateResponse) Reset()
func (*MachineServiceCreateResponse) String ¶ added in v0.0.9
func (x *MachineServiceCreateResponse) String() string
type MachineServiceDeleteRequest ¶ added in v0.0.9
type MachineServiceDeleteRequest struct {
// UUID of the machine to delete.
Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
// Project of the machine.
Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
// contains filtered or unexported fields
}
MachineServiceDeleteRequest is the request payload for a machine delete request.
func (*MachineServiceDeleteRequest) Descriptor
deprecated
added in
v0.0.9
func (*MachineServiceDeleteRequest) Descriptor() ([]byte, []int)
Deprecated: Use MachineServiceDeleteRequest.ProtoReflect.Descriptor instead.
func (*MachineServiceDeleteRequest) GetProject ¶ added in v0.0.9
func (x *MachineServiceDeleteRequest) GetProject() string
func (*MachineServiceDeleteRequest) GetUuid ¶ added in v0.0.9
func (x *MachineServiceDeleteRequest) GetUuid() string
func (*MachineServiceDeleteRequest) ProtoMessage ¶ added in v0.0.9
func (*MachineServiceDeleteRequest) ProtoMessage()
func (*MachineServiceDeleteRequest) ProtoReflect ¶ added in v0.0.9
func (x *MachineServiceDeleteRequest) ProtoReflect() protoreflect.Message
func (*MachineServiceDeleteRequest) Reset ¶ added in v0.0.9
func (x *MachineServiceDeleteRequest) Reset()
func (*MachineServiceDeleteRequest) String ¶ added in v0.0.9
func (x *MachineServiceDeleteRequest) String() string
type MachineServiceDeleteResponse ¶ added in v0.0.9
type MachineServiceDeleteResponse struct {
// Machine which was deleted.
Machine *Machine `protobuf:"bytes,1,opt,name=machine,proto3" json:"machine,omitempty"`
// contains filtered or unexported fields
}
MachineServiceDeleteResponse is the response payload for a machine delete request.
func (*MachineServiceDeleteResponse) Descriptor
deprecated
added in
v0.0.9
func (*MachineServiceDeleteResponse) Descriptor() ([]byte, []int)
Deprecated: Use MachineServiceDeleteResponse.ProtoReflect.Descriptor instead.
func (*MachineServiceDeleteResponse) GetMachine ¶ added in v0.0.9
func (x *MachineServiceDeleteResponse) GetMachine() *Machine
func (*MachineServiceDeleteResponse) ProtoMessage ¶ added in v0.0.9
func (*MachineServiceDeleteResponse) ProtoMessage()
func (*MachineServiceDeleteResponse) ProtoReflect ¶ added in v0.0.9
func (x *MachineServiceDeleteResponse) ProtoReflect() protoreflect.Message
func (*MachineServiceDeleteResponse) Reset ¶ added in v0.0.9
func (x *MachineServiceDeleteResponse) Reset()
func (*MachineServiceDeleteResponse) String ¶ added in v0.0.9
func (x *MachineServiceDeleteResponse) String() string
type MachineServiceGetBMCRequest ¶ added in v0.0.41
type MachineServiceGetBMCRequest struct {
// UUID of the machine to get.
Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
// Project of the machine.
Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
// contains filtered or unexported fields
}
MachineServiceGetBMCRequest is the request payload for a machine getbmc request.
func (*MachineServiceGetBMCRequest) Descriptor
deprecated
added in
v0.0.41
func (*MachineServiceGetBMCRequest) Descriptor() ([]byte, []int)
Deprecated: Use MachineServiceGetBMCRequest.ProtoReflect.Descriptor instead.
func (*MachineServiceGetBMCRequest) GetProject ¶ added in v0.0.41
func (x *MachineServiceGetBMCRequest) GetProject() string
func (*MachineServiceGetBMCRequest) GetUuid ¶ added in v0.0.41
func (x *MachineServiceGetBMCRequest) GetUuid() string
func (*MachineServiceGetBMCRequest) ProtoMessage ¶ added in v0.0.41
func (*MachineServiceGetBMCRequest) ProtoMessage()
func (*MachineServiceGetBMCRequest) ProtoReflect ¶ added in v0.0.41
func (x *MachineServiceGetBMCRequest) ProtoReflect() protoreflect.Message
func (*MachineServiceGetBMCRequest) Reset ¶ added in v0.0.41
func (x *MachineServiceGetBMCRequest) Reset()
func (*MachineServiceGetBMCRequest) String ¶ added in v0.0.41
func (x *MachineServiceGetBMCRequest) String() string
type MachineServiceGetBMCResponse ¶ added in v0.0.41
type MachineServiceGetBMCResponse struct {
// BMCDetails contains the BMC details of this machine.
BmcDetails *MachineBMCDetails `protobuf:"bytes,6,opt,name=bmc_details,json=bmcDetails,proto3" json:"bmc_details,omitempty"`
// contains filtered or unexported fields
}
MachineServiceGetBMCResponse is the response payload for a machine getbmc request.
func (*MachineServiceGetBMCResponse) Descriptor
deprecated
added in
v0.0.41
func (*MachineServiceGetBMCResponse) Descriptor() ([]byte, []int)
Deprecated: Use MachineServiceGetBMCResponse.ProtoReflect.Descriptor instead.
func (*MachineServiceGetBMCResponse) GetBmcDetails ¶ added in v0.5.0
func (x *MachineServiceGetBMCResponse) GetBmcDetails() *MachineBMCDetails
func (*MachineServiceGetBMCResponse) ProtoMessage ¶ added in v0.0.41
func (*MachineServiceGetBMCResponse) ProtoMessage()
func (*MachineServiceGetBMCResponse) ProtoReflect ¶ added in v0.0.41
func (x *MachineServiceGetBMCResponse) ProtoReflect() protoreflect.Message
func (*MachineServiceGetBMCResponse) Reset ¶ added in v0.0.41
func (x *MachineServiceGetBMCResponse) Reset()
func (*MachineServiceGetBMCResponse) String ¶ added in v0.0.41
func (x *MachineServiceGetBMCResponse) String() string
type MachineServiceGetRequest ¶ added in v0.0.9
type MachineServiceGetRequest struct {
// UUID of the machine to get.
Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
// Project of the machine.
Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
// contains filtered or unexported fields
}
MachineServiceGetRequest is the request payload for a machine get request.
func (*MachineServiceGetRequest) Descriptor
deprecated
added in
v0.0.9
func (*MachineServiceGetRequest) Descriptor() ([]byte, []int)
Deprecated: Use MachineServiceGetRequest.ProtoReflect.Descriptor instead.
func (*MachineServiceGetRequest) GetProject ¶ added in v0.0.9
func (x *MachineServiceGetRequest) GetProject() string
func (*MachineServiceGetRequest) GetUuid ¶ added in v0.0.9
func (x *MachineServiceGetRequest) GetUuid() string
func (*MachineServiceGetRequest) ProtoMessage ¶ added in v0.0.9
func (*MachineServiceGetRequest) ProtoMessage()
func (*MachineServiceGetRequest) ProtoReflect ¶ added in v0.0.9
func (x *MachineServiceGetRequest) ProtoReflect() protoreflect.Message
func (*MachineServiceGetRequest) Reset ¶ added in v0.0.9
func (x *MachineServiceGetRequest) Reset()
func (*MachineServiceGetRequest) String ¶ added in v0.0.9
func (x *MachineServiceGetRequest) String() string
type MachineServiceGetResponse ¶ added in v0.0.9
type MachineServiceGetResponse struct {
// Machine is the machine requested.
Machine *Machine `protobuf:"bytes,1,opt,name=machine,proto3" json:"machine,omitempty"`
// contains filtered or unexported fields
}
MachineServiceGetResponse is the response payload for a machine get request.
func (*MachineServiceGetResponse) Descriptor
deprecated
added in
v0.0.9
func (*MachineServiceGetResponse) Descriptor() ([]byte, []int)
Deprecated: Use MachineServiceGetResponse.ProtoReflect.Descriptor instead.
func (*MachineServiceGetResponse) GetMachine ¶ added in v0.0.9
func (x *MachineServiceGetResponse) GetMachine() *Machine
func (*MachineServiceGetResponse) ProtoMessage ¶ added in v0.0.9
func (*MachineServiceGetResponse) ProtoMessage()
func (*MachineServiceGetResponse) ProtoReflect ¶ added in v0.0.9
func (x *MachineServiceGetResponse) ProtoReflect() protoreflect.Message
func (*MachineServiceGetResponse) Reset ¶ added in v0.0.9
func (x *MachineServiceGetResponse) Reset()
func (*MachineServiceGetResponse) String ¶ added in v0.0.9
func (x *MachineServiceGetResponse) String() string
type MachineServiceListRequest ¶ added in v0.0.9
type MachineServiceListRequest struct {
// Project of the machines to list.
Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
// Query to list one ore more machines.
Query *MachineQuery `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"`
// contains filtered or unexported fields
}
MachineServiceListRequest is the request payload for a machine list request.
func (*MachineServiceListRequest) Descriptor
deprecated
added in
v0.0.9
func (*MachineServiceListRequest) Descriptor() ([]byte, []int)
Deprecated: Use MachineServiceListRequest.ProtoReflect.Descriptor instead.
func (*MachineServiceListRequest) GetProject ¶ added in v0.0.9
func (x *MachineServiceListRequest) GetProject() string
func (*MachineServiceListRequest) GetQuery ¶ added in v0.0.9
func (x *MachineServiceListRequest) GetQuery() *MachineQuery
func (*MachineServiceListRequest) ProtoMessage ¶ added in v0.0.9
func (*MachineServiceListRequest) ProtoMessage()
func (*MachineServiceListRequest) ProtoReflect ¶ added in v0.0.9
func (x *MachineServiceListRequest) ProtoReflect() protoreflect.Message
func (*MachineServiceListRequest) Reset ¶ added in v0.0.9
func (x *MachineServiceListRequest) Reset()
func (*MachineServiceListRequest) String ¶ added in v0.0.9
func (x *MachineServiceListRequest) String() string
type MachineServiceListResponse ¶ added in v0.0.9
type MachineServiceListResponse struct {
// Machines are the machines requested by a list request.
Machines []*Machine `protobuf:"bytes,1,rep,name=machines,proto3" json:"machines,omitempty"`
// contains filtered or unexported fields
}
MachineServiceListResponse is the response payload for a machine list request.
func (*MachineServiceListResponse) Descriptor
deprecated
added in
v0.0.9
func (*MachineServiceListResponse) Descriptor() ([]byte, []int)
Deprecated: Use MachineServiceListResponse.ProtoReflect.Descriptor instead.
func (*MachineServiceListResponse) GetMachines ¶ added in v0.0.9
func (x *MachineServiceListResponse) GetMachines() []*Machine
func (*MachineServiceListResponse) ProtoMessage ¶ added in v0.0.9
func (*MachineServiceListResponse) ProtoMessage()
func (*MachineServiceListResponse) ProtoReflect ¶ added in v0.0.9
func (x *MachineServiceListResponse) ProtoReflect() protoreflect.Message
func (*MachineServiceListResponse) Reset ¶ added in v0.0.9
func (x *MachineServiceListResponse) Reset()
func (*MachineServiceListResponse) String ¶ added in v0.0.9
func (x *MachineServiceListResponse) String() string
type MachineServiceUpdateRequest ¶ added in v0.0.9
type MachineServiceUpdateRequest struct {
// UUID of the machine to modify.
Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
// UpdateMeta contains the timestamp and strategy to be used in this update request.
UpdateMeta *UpdateMeta `protobuf:"bytes,2,opt,name=update_meta,json=updateMeta,proto3" json:"update_meta,omitempty"`
// Project of the machine.
Project string `protobuf:"bytes,3,opt,name=project,proto3" json:"project,omitempty"`
// Description of this machine allocation.
Description *string `protobuf:"bytes,4,opt,name=description,proto3,oneof" json:"description,omitempty"`
// Labels to update on this machine allocation.
Labels *UpdateLabels `protobuf:"bytes,5,opt,name=labels,proto3,oneof" json:"labels,omitempty"`
// SSHPublicKeys which should be update of this machine allocation.
SshPublicKeys []string `protobuf:"bytes,6,rep,name=ssh_public_keys,json=sshPublicKeys,proto3" json:"ssh_public_keys,omitempty"`
// contains filtered or unexported fields
}
MachineServiceUpdateRequest is the request payload for a machine update request.
func (*MachineServiceUpdateRequest) Descriptor
deprecated
added in
v0.0.9
func (*MachineServiceUpdateRequest) Descriptor() ([]byte, []int)
Deprecated: Use MachineServiceUpdateRequest.ProtoReflect.Descriptor instead.
func (*MachineServiceUpdateRequest) GetDescription ¶ added in v0.0.9
func (x *MachineServiceUpdateRequest) GetDescription() string
func (*MachineServiceUpdateRequest) GetLabels ¶ added in v0.0.9
func (x *MachineServiceUpdateRequest) GetLabels() *UpdateLabels
func (*MachineServiceUpdateRequest) GetProject ¶ added in v0.0.9
func (x *MachineServiceUpdateRequest) GetProject() string
func (*MachineServiceUpdateRequest) GetSshPublicKeys ¶ added in v0.0.9
func (x *MachineServiceUpdateRequest) GetSshPublicKeys() []string
func (*MachineServiceUpdateRequest) GetUpdateMeta ¶ added in v0.0.21
func (x *MachineServiceUpdateRequest) GetUpdateMeta() *UpdateMeta
func (*MachineServiceUpdateRequest) GetUuid ¶ added in v0.0.9
func (x *MachineServiceUpdateRequest) GetUuid() string
func (*MachineServiceUpdateRequest) ProtoMessage ¶ added in v0.0.9
func (*MachineServiceUpdateRequest) ProtoMessage()
func (*MachineServiceUpdateRequest) ProtoReflect ¶ added in v0.0.9
func (x *MachineServiceUpdateRequest) ProtoReflect() protoreflect.Message
func (*MachineServiceUpdateRequest) Reset ¶ added in v0.0.9
func (x *MachineServiceUpdateRequest) Reset()
func (*MachineServiceUpdateRequest) String ¶ added in v0.0.9
func (x *MachineServiceUpdateRequest) String() string
type MachineServiceUpdateResponse ¶ added in v0.0.9
type MachineServiceUpdateResponse struct {
// Machine which was updated.
Machine *Machine `protobuf:"bytes,1,opt,name=machine,proto3" json:"machine,omitempty"`
// contains filtered or unexported fields
}
MachineServiceUpdateResponse is the response payload for a machine update request.
func (*MachineServiceUpdateResponse) Descriptor
deprecated
added in
v0.0.9
func (*MachineServiceUpdateResponse) Descriptor() ([]byte, []int)
Deprecated: Use MachineServiceUpdateResponse.ProtoReflect.Descriptor instead.
func (*MachineServiceUpdateResponse) GetMachine ¶ added in v0.0.9
func (x *MachineServiceUpdateResponse) GetMachine() *Machine
func (*MachineServiceUpdateResponse) ProtoMessage ¶ added in v0.0.9
func (*MachineServiceUpdateResponse) ProtoMessage()
func (*MachineServiceUpdateResponse) ProtoReflect ¶ added in v0.0.9
func (x *MachineServiceUpdateResponse) ProtoReflect() protoreflect.Message
func (*MachineServiceUpdateResponse) Reset ¶ added in v0.0.9
func (x *MachineServiceUpdateResponse) Reset()
func (*MachineServiceUpdateResponse) String ¶ added in v0.0.9
func (x *MachineServiceUpdateResponse) String() string
type MachineState ¶ added in v0.0.9
type MachineState int32
MachineState defines if the machine was locked or reserved from a operator.
const ( // MACHINE_STATE_UNSPECIFIED is not specified. MachineState_MACHINE_STATE_UNSPECIFIED MachineState = 0 // MACHINE_STATE_TAINTED this machine is tainted, i.e. this machine is not considered during random machine allocation, but still by specifying the uui. MachineState_MACHINE_STATE_TAINTED MachineState = 1 // MACHINE_STATE_LOCKED this machine is locked, i.e. this machine cannot be allocated or delete. MachineState_MACHINE_STATE_LOCKED MachineState = 2 // MACHINE_STATE_AVAILABLE this machine is available for all. MachineState_MACHINE_STATE_AVAILABLE MachineState = 3 )
func (MachineState) Descriptor ¶ added in v0.0.9
func (MachineState) Descriptor() protoreflect.EnumDescriptor
func (MachineState) Enum ¶ added in v0.0.9
func (x MachineState) Enum() *MachineState
func (MachineState) EnumDescriptor
deprecated
added in
v0.0.9
func (MachineState) EnumDescriptor() ([]byte, []int)
Deprecated: Use MachineState.Descriptor instead.
func (MachineState) Number ¶ added in v0.0.9
func (x MachineState) Number() protoreflect.EnumNumber
func (MachineState) String ¶ added in v0.0.9
func (x MachineState) String() string
func (MachineState) Type ¶ added in v0.0.9
func (MachineState) Type() protoreflect.EnumType
type MachineStatus ¶ added in v0.0.9
type MachineStatus struct {
// Condition describes the availability.
Condition *MachineCondition `protobuf:"bytes,1,opt,name=condition,proto3" json:"condition,omitempty"`
// LEDState indicates the state of the indicator LED on this machine.
LedState *MachineChassisIdentifyLEDState `protobuf:"bytes,2,opt,name=led_state,json=ledState,proto3" json:"led_state,omitempty"`
// Liveliness of this machine.
Liveliness MachineLiveliness `protobuf:"varint,3,opt,name=liveliness,proto3,enum=metalstack.api.v2.MachineLiveliness" json:"liveliness,omitempty"`
// MetalHammerVersion the version of metal hammer which put the machine in waiting state.
MetalHammerVersion string `protobuf:"bytes,4,opt,name=metal_hammer_version,json=metalHammerVersion,proto3" json:"metal_hammer_version,omitempty"`
// contains filtered or unexported fields
}
MachineStatus contains several status details related to this machine.
func (*MachineStatus) Descriptor
deprecated
added in
v0.0.9
func (*MachineStatus) Descriptor() ([]byte, []int)
Deprecated: Use MachineStatus.ProtoReflect.Descriptor instead.
func (*MachineStatus) GetCondition ¶ added in v0.0.9
func (x *MachineStatus) GetCondition() *MachineCondition
func (*MachineStatus) GetLedState ¶ added in v0.0.9
func (x *MachineStatus) GetLedState() *MachineChassisIdentifyLEDState
func (*MachineStatus) GetLiveliness ¶ added in v0.0.9
func (x *MachineStatus) GetLiveliness() MachineLiveliness
func (*MachineStatus) GetMetalHammerVersion ¶ added in v0.0.9
func (x *MachineStatus) GetMetalHammerVersion() string
func (*MachineStatus) ProtoMessage ¶ added in v0.0.9
func (*MachineStatus) ProtoMessage()
func (*MachineStatus) ProtoReflect ¶ added in v0.0.9
func (x *MachineStatus) ProtoReflect() protoreflect.Message
func (*MachineStatus) Reset ¶ added in v0.0.9
func (x *MachineStatus) Reset()
func (*MachineStatus) String ¶ added in v0.0.9
func (x *MachineStatus) String() string
type MachineVPN ¶ added in v0.0.9
type MachineVPN struct {
// Address of VPN control plane.
ControlPlaneAddress string `protobuf:"bytes,1,opt,name=control_plane_address,json=controlPlaneAddress,proto3" json:"control_plane_address,omitempty"`
// Auth key used to connect to VPN.
AuthKey string `protobuf:"bytes,2,opt,name=auth_key,json=authKey,proto3" json:"auth_key,omitempty"`
// Connected indicate if this machine is connected to the VPN.
Connected bool `protobuf:"varint,3,opt,name=connected,proto3" json:"connected,omitempty"`
// IPs of the machine connected to the vpn.
Ips []string `protobuf:"bytes,4,rep,name=ips,proto3" json:"ips,omitempty"`
// contains filtered or unexported fields
}
MachineVPN contains configuration data for the VPN connection.
func (*MachineVPN) Descriptor
deprecated
added in
v0.0.9
func (*MachineVPN) Descriptor() ([]byte, []int)
Deprecated: Use MachineVPN.ProtoReflect.Descriptor instead.
func (*MachineVPN) GetAuthKey ¶ added in v0.0.9
func (x *MachineVPN) GetAuthKey() string
func (*MachineVPN) GetConnected ¶ added in v0.0.9
func (x *MachineVPN) GetConnected() bool
func (*MachineVPN) GetControlPlaneAddress ¶ added in v0.0.9
func (x *MachineVPN) GetControlPlaneAddress() string
func (*MachineVPN) GetIps ¶ added in v0.0.37
func (x *MachineVPN) GetIps() []string
func (*MachineVPN) ProtoMessage ¶ added in v0.0.9
func (*MachineVPN) ProtoMessage()
func (*MachineVPN) ProtoReflect ¶ added in v0.0.9
func (x *MachineVPN) ProtoReflect() protoreflect.Message
func (*MachineVPN) Reset ¶ added in v0.0.9
func (x *MachineVPN) Reset()
func (*MachineVPN) String ¶ added in v0.0.9
func (x *MachineVPN) String() string
type Meta ¶
type Meta struct {
// Tags on this entity.
Labels *Labels `protobuf:"bytes,1,opt,name=labels,proto3,oneof" json:"labels,omitempty"`
// CreatedAt is the date when this entity was created.
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
// UpdatedAt is the date when this entity was updated.
// must be part of the update request to ensure optimistic locking.
UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
// Generation identifies how often this entity was modified since creation.
Generation uint64 `protobuf:"varint,4,opt,name=generation,proto3" json:"generation,omitempty"`
// DeletionTaskID is an optional id that is set to the meta after triggering the deletion.
// This can be used by admins to track the deletion progress if necessary.
DeletionTaskId *string `protobuf:"bytes,5,opt,name=deletion_task_id,json=deletionTaskId,proto3,oneof" json:"deletion_task_id,omitempty"`
// contains filtered or unexported fields
}
Meta of a message.
func (*Meta) Descriptor
deprecated
func (*Meta) GetCreatedAt ¶
func (x *Meta) GetCreatedAt() *timestamppb.Timestamp
func (*Meta) GetDeletionTaskId ¶ added in v0.1.2
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 MetalCPU ¶ added in v0.0.9
type MetalCPU struct {
// Vendor of this cpu.
Vendor string `protobuf:"bytes,1,opt,name=vendor,proto3" json:"vendor,omitempty"`
// Model of this cpu.
Model string `protobuf:"bytes,2,opt,name=model,proto3" json:"model,omitempty"`
// Cores of this cpu.
Cores uint32 `protobuf:"varint,3,opt,name=cores,proto3" json:"cores,omitempty"`
// Threads of this cpu.
Threads uint32 `protobuf:"varint,4,opt,name=threads,proto3" json:"threads,omitempty"`
// contains filtered or unexported fields
}
MetalCPU contains details of a cpu in this machine.
func (*MetalCPU) Descriptor
deprecated
added in
v0.0.9
func (*MetalCPU) GetThreads ¶ added in v0.0.9
func (*MetalCPU) ProtoMessage ¶ added in v0.0.9
func (*MetalCPU) ProtoMessage()
func (*MetalCPU) ProtoReflect ¶ added in v0.0.9
func (x *MetalCPU) ProtoReflect() protoreflect.Message
type MetalGPU ¶ added in v0.0.9
type MetalGPU struct {
// Vendor of this gpu.
Vendor string `protobuf:"bytes,1,opt,name=vendor,proto3" json:"vendor,omitempty"`
// Model of this gpu.
Model string `protobuf:"bytes,2,opt,name=model,proto3" json:"model,omitempty"`
// contains filtered or unexported fields
}
MetalGPU contains details of a gpu in this machine.
func (*MetalGPU) Descriptor
deprecated
added in
v0.0.9
func (*MetalGPU) ProtoMessage ¶ added in v0.0.9
func (*MetalGPU) ProtoMessage()
func (*MetalGPU) ProtoReflect ¶ added in v0.0.9
func (x *MetalGPU) ProtoReflect() protoreflect.Message
type MethodPermission ¶
type MethodPermission struct {
// Subject may be either the project or the tenant for which the methods should be allowed.
//
// Asterisk (*) can be specified to match any subject.
// Empty string ("") can be specified for requests that do not require a subject, e.g. partition list.
// Otherwise either a projectid or a tenant login should be specified.
Subject string `protobuf:"bytes,1,opt,name=subject,proto3" json:"subject,omitempty"`
// Methods which should be accessible.
Methods []string `protobuf:"bytes,2,rep,name=methods,proto3" json:"methods,omitempty"`
// contains filtered or unexported fields
}
MethodPermission is a mapping from a subject/project to a service method.
func (*MethodPermission) Descriptor
deprecated
func (*MethodPermission) Descriptor() ([]byte, []int)
Deprecated: Use MethodPermission.ProtoReflect.Descriptor instead.
func (*MethodPermission) GetMethods ¶
func (x *MethodPermission) GetMethods() []string
func (*MethodPermission) GetSubject ¶
func (x *MethodPermission) GetSubject() string
func (*MethodPermission) ProtoMessage ¶
func (*MethodPermission) ProtoMessage()
func (*MethodPermission) ProtoReflect ¶
func (x *MethodPermission) ProtoReflect() protoreflect.Message
func (*MethodPermission) Reset ¶
func (x *MethodPermission) Reset()
func (*MethodPermission) String ¶
func (x *MethodPermission) String() string
type MethodServiceListRequest ¶
type MethodServiceListRequest struct {
// contains filtered or unexported fields
}
MethodServiceListRequest is the request payload for listing all public methods.
func (*MethodServiceListRequest) Descriptor
deprecated
func (*MethodServiceListRequest) Descriptor() ([]byte, []int)
Deprecated: Use MethodServiceListRequest.ProtoReflect.Descriptor instead.
func (*MethodServiceListRequest) ProtoMessage ¶
func (*MethodServiceListRequest) ProtoMessage()
func (*MethodServiceListRequest) ProtoReflect ¶
func (x *MethodServiceListRequest) ProtoReflect() protoreflect.Message
func (*MethodServiceListRequest) Reset ¶
func (x *MethodServiceListRequest) Reset()
func (*MethodServiceListRequest) String ¶
func (x *MethodServiceListRequest) String() string
type MethodServiceListResponse ¶
type MethodServiceListResponse struct {
// Methods is a list of methods public callable.
Methods []string `protobuf:"bytes,1,rep,name=methods,proto3" json:"methods,omitempty"`
// contains filtered or unexported fields
}
MethodServiceListResponse is the response payload for listing all public methods.
func (*MethodServiceListResponse) Descriptor
deprecated
func (*MethodServiceListResponse) Descriptor() ([]byte, []int)
Deprecated: Use MethodServiceListResponse.ProtoReflect.Descriptor instead.
func (*MethodServiceListResponse) GetMethods ¶
func (x *MethodServiceListResponse) GetMethods() []string
func (*MethodServiceListResponse) ProtoMessage ¶
func (*MethodServiceListResponse) ProtoMessage()
func (*MethodServiceListResponse) ProtoReflect ¶
func (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 for listing all methods callable with the token present in the request.
func (*MethodServiceTokenScopedListRequest) Descriptor
deprecated
func (*MethodServiceTokenScopedListRequest) Descriptor() ([]byte, []int)
Deprecated: Use MethodServiceTokenScopedListRequest.ProtoReflect.Descriptor instead.
func (*MethodServiceTokenScopedListRequest) ProtoMessage ¶
func (*MethodServiceTokenScopedListRequest) ProtoMessage()
func (*MethodServiceTokenScopedListRequest) ProtoReflect ¶
func (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 contains a list of methods which can be called.
Permissions []*MethodPermission `protobuf:"bytes,1,rep,name=permissions,proto3" json:"permissions,omitempty"`
// ProjectRoles associates a project ID with the corresponding role of the token owner.
ProjectRoles map[string]ProjectRole `` /* 207-byte string literal not displayed */
// TenantRoles associates a tenant ID with the corresponding role of the token owner.
TenantRoles map[string]TenantRole `` /* 203-byte string literal not displayed */
// AdminRole defines the admin role of the token owner.
AdminRole *AdminRole `` /* 128-byte string literal not displayed */
// InfraRole defines the infrastructure role of the token owner.
InfraRole *InfraRole `` /* 128-byte string literal not displayed */
// MachineRoles defines the machine roles of the token owner.
MachineRoles map[string]MachineRole `` /* 207-byte string literal not displayed */
// contains filtered or unexported fields
}
MethodServiceTokenScopedListResponse is the response payload which contains all methods which are callable with the given token.
func (*MethodServiceTokenScopedListResponse) Descriptor
deprecated
func (*MethodServiceTokenScopedListResponse) Descriptor() ([]byte, []int)
Deprecated: Use MethodServiceTokenScopedListResponse.ProtoReflect.Descriptor instead.
func (*MethodServiceTokenScopedListResponse) GetAdminRole ¶
func (x *MethodServiceTokenScopedListResponse) GetAdminRole() AdminRole
func (*MethodServiceTokenScopedListResponse) GetInfraRole ¶ added in v0.0.34
func (x *MethodServiceTokenScopedListResponse) GetInfraRole() InfraRole
func (*MethodServiceTokenScopedListResponse) GetMachineRoles ¶ added in v0.0.41
func (x *MethodServiceTokenScopedListResponse) GetMachineRoles() map[string]MachineRole
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 bit length of a child network created per address family, if not specified during the allocate request.
DefaultChildPrefixLength *ChildPrefixLength `` /* 138-byte string literal not displayed */
// Min Child Prefix length asserts that during child network creation the requested bit length is greater or equal the min child prefix length.
MinChildPrefixLength *ChildPrefixLength `` /* 126-byte string literal not displayed */
// Type of the network.
Type NetworkType `protobuf:"varint,12,opt,name=type,proto3,enum=metalstack.api.v2.NetworkType" json:"type,omitempty"`
// NATType of this network.
NatType NATType `protobuf:"varint,13,opt,name=nat_type,json=natType,proto3,enum=metalstack.api.v2.NATType" json:"nat_type,omitempty"`
// VRF of this network has this VNI.
Vrf *uint32 `protobuf:"varint,14,opt,name=vrf,proto3,oneof" json:"vrf,omitempty"`
// Parent Network points to the id of the parent network if any.
ParentNetwork *string `protobuf:"bytes,15,opt,name=parent_network,json=parentNetwork,proto3,oneof" json:"parent_network,omitempty"`
// AdditionalAnnouncableCidrs will be added to the allow list on the switch which prefixes might be announced.
AdditionalAnnouncableCidrs []string `` /* 142-byte string literal not displayed */
// Consumption of IPs and prefixes in this network.
Consumption *NetworkConsumption `protobuf:"bytes,17,opt,name=consumption,proto3" json:"consumption,omitempty"`
// contains filtered or unexported fields
}
Network.
func (*Network) Descriptor
deprecated
func (*Network) 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) GetParentNetwork ¶ added in v0.0.13
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 Network points to the id of the parent network if any.
ParentNetwork *string `protobuf:"bytes,10,opt,name=parent_network,json=parentNetwork,proto3,oneof" json:"parent_network,omitempty"`
// Addressfamily to query.
AddressFamily *NetworkAddressFamily `` /* 152-byte string literal not displayed */
// Type of the network to query for.
Type *NetworkType `protobuf:"varint,12,opt,name=type,proto3,enum=metalstack.api.v2.NetworkType,oneof" json:"type,omitempty"`
// NATType configured.
NatType *NATType `protobuf:"varint,13,opt,name=nat_type,json=natType,proto3,enum=metalstack.api.v2.NATType,oneof" json:"nat_type,omitempty"`
// Labels on this network.
Labels *Labels `protobuf:"bytes,14,opt,name=labels,proto3,oneof" json:"labels,omitempty"`
// contains filtered or unexported fields
}
NetworkQuery defines which networks to query.
func (*NetworkQuery) Descriptor
deprecated
func (*NetworkQuery) Descriptor() ([]byte, []int)
Deprecated: Use NetworkQuery.ProtoReflect.Descriptor instead.
func (*NetworkQuery) GetAddressFamily ¶
func (x *NetworkQuery) GetAddressFamily() NetworkAddressFamily
func (*NetworkQuery) GetDescription ¶
func (x *NetworkQuery) GetDescription() string
func (*NetworkQuery) GetDestinationPrefixes ¶
func (x *NetworkQuery) GetDestinationPrefixes() []string
func (*NetworkQuery) GetId ¶
func (x *NetworkQuery) GetId() string
func (*NetworkQuery) GetLabels ¶
func (x *NetworkQuery) GetLabels() *Labels
func (*NetworkQuery) GetName ¶
func (x *NetworkQuery) GetName() string
func (*NetworkQuery) GetNamespace ¶
func (x *NetworkQuery) GetNamespace() string
func (*NetworkQuery) GetNatType ¶
func (x *NetworkQuery) GetNatType() NATType
func (*NetworkQuery) GetParentNetwork ¶ added in v0.0.13
func (x *NetworkQuery) GetParentNetwork() string
func (*NetworkQuery) GetPartition ¶
func (x *NetworkQuery) GetPartition() string
func (*NetworkQuery) GetPrefixes ¶
func (x *NetworkQuery) GetPrefixes() []string
func (*NetworkQuery) GetProject ¶
func (x *NetworkQuery) GetProject() string
func (*NetworkQuery) GetType ¶
func (x *NetworkQuery) GetType() NetworkType
func (*NetworkQuery) GetVrf ¶
func (x *NetworkQuery) GetVrf() uint32
func (*NetworkQuery) ProtoMessage ¶
func (*NetworkQuery) ProtoMessage()
func (*NetworkQuery) ProtoReflect ¶
func (x *NetworkQuery) ProtoReflect() protoreflect.Message
func (*NetworkQuery) Reset ¶
func (x *NetworkQuery) Reset()
func (*NetworkQuery) String ¶
func (x *NetworkQuery) String() string
type NetworkServiceCreateRequest ¶
type NetworkServiceCreateRequest struct {
// Project where this network belongs to.
Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
// Name of this network.
Name *string `protobuf:"bytes,2,opt,name=name,proto3,oneof" json:"name,omitempty"`
// Description of this network.
Description *string `protobuf:"bytes,3,opt,name=description,proto3,oneof" json:"description,omitempty"`
// Partition where this network will be created.
Partition *string `protobuf:"bytes,4,opt,name=partition,proto3,oneof" json:"partition,omitempty"`
// Labels on this network.
Labels *Labels `protobuf:"bytes,5,opt,name=labels,proto3" json:"labels,omitempty"`
// Parent Network points to the id of the parent network if any.
ParentNetwork *string `protobuf:"bytes,6,opt,name=parent_network,json=parentNetwork,proto3,oneof" json:"parent_network,omitempty"`
// Length per addressfamily.
Length *ChildPrefixLength `protobuf:"bytes,7,opt,name=length,proto3,oneof" json:"length,omitempty"`
// AddressFamily to create, defaults to the same as the parent.
AddressFamily *NetworkAddressFamily `` /* 151-byte string literal not displayed */
// contains filtered or unexported fields
}
NetworkServiceCreateRequest.
func (*NetworkServiceCreateRequest) Descriptor
deprecated
func (*NetworkServiceCreateRequest) Descriptor() ([]byte, []int)
Deprecated: Use NetworkServiceCreateRequest.ProtoReflect.Descriptor instead.
func (*NetworkServiceCreateRequest) GetAddressFamily ¶
func (x *NetworkServiceCreateRequest) GetAddressFamily() NetworkAddressFamily
func (*NetworkServiceCreateRequest) GetDescription ¶
func (x *NetworkServiceCreateRequest) GetDescription() string
func (*NetworkServiceCreateRequest) GetLabels ¶
func (x *NetworkServiceCreateRequest) GetLabels() *Labels
func (*NetworkServiceCreateRequest) GetLength ¶
func (x *NetworkServiceCreateRequest) GetLength() *ChildPrefixLength
func (*NetworkServiceCreateRequest) GetName ¶
func (x *NetworkServiceCreateRequest) GetName() string
func (*NetworkServiceCreateRequest) GetParentNetwork ¶ added in v0.0.13
func (x *NetworkServiceCreateRequest) GetParentNetwork() string
func (*NetworkServiceCreateRequest) GetPartition ¶
func (x *NetworkServiceCreateRequest) GetPartition() string
func (*NetworkServiceCreateRequest) GetProject ¶
func (x *NetworkServiceCreateRequest) GetProject() string
func (*NetworkServiceCreateRequest) ProtoMessage ¶
func (*NetworkServiceCreateRequest) ProtoMessage()
func (*NetworkServiceCreateRequest) ProtoReflect ¶
func (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"`
// UpdateMeta contains the timestamp and strategy to be used in this update request.
UpdateMeta *UpdateMeta `protobuf:"bytes,2,opt,name=update_meta,json=updateMeta,proto3" json:"update_meta,omitempty"`
// Project of the network.
Project string `protobuf:"bytes,3,opt,name=project,proto3" json:"project,omitempty"`
// Name of this network.
Name *string `protobuf:"bytes,4,opt,name=name,proto3,oneof" json:"name,omitempty"`
// Description of this network.
Description *string `protobuf:"bytes,5,opt,name=description,proto3,oneof" json:"description,omitempty"`
// Labels on this network.
Labels *UpdateLabels `protobuf:"bytes,6,opt,name=labels,proto3,oneof" json:"labels,omitempty"`
// contains filtered or unexported fields
}
NetworkServiceUpdateRequest.
func (*NetworkServiceUpdateRequest) Descriptor
deprecated
func (*NetworkServiceUpdateRequest) Descriptor() ([]byte, []int)
Deprecated: Use NetworkServiceUpdateRequest.ProtoReflect.Descriptor instead.
func (*NetworkServiceUpdateRequest) GetDescription ¶
func (x *NetworkServiceUpdateRequest) GetDescription() string
func (*NetworkServiceUpdateRequest) GetId ¶
func (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) GetUpdateMeta ¶ added in v0.0.21
func (x *NetworkServiceUpdateRequest) GetUpdateMeta() *UpdateMeta
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. // Only one child shared network per project is allowed. 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,1,opt,name=available_ips,json=availableIps,proto3" json:"available_ips,omitempty"`
// the total used IPs.
UsedIps uint64 `protobuf:"varint,2,opt,name=used_ips,json=usedIps,proto3" json:"used_ips,omitempty"`
// the total available 2-bit prefixes.
AvailablePrefixes uint64 `protobuf:"varint,3,opt,name=available_prefixes,json=availablePrefixes,proto3" json:"available_prefixes,omitempty"`
// the total used Prefixes.
UsedPrefixes uint64 `protobuf:"varint,4,opt,name=used_prefixes,json=usedPrefixes,proto3" json:"used_prefixes,omitempty"`
// contains filtered or unexported fields
}
NetworkUsage reports core metrics about available and used IPs or Prefixes in a Network.
func (*NetworkUsage) Descriptor
deprecated
func (*NetworkUsage) Descriptor() ([]byte, []int)
Deprecated: Use NetworkUsage.ProtoReflect.Descriptor instead.
func (*NetworkUsage) GetAvailableIps ¶
func (x *NetworkUsage) GetAvailableIps() uint64
func (*NetworkUsage) GetAvailablePrefixes ¶
func (x *NetworkUsage) GetAvailablePrefixes() uint64
func (*NetworkUsage) GetUsedIps ¶
func (x *NetworkUsage) GetUsedIps() uint64
func (*NetworkUsage) GetUsedPrefixes ¶
func (x *NetworkUsage) GetUsedPrefixes() uint64
func (*NetworkUsage) ProtoMessage ¶
func (*NetworkUsage) ProtoMessage()
func (*NetworkUsage) ProtoReflect ¶
func (x *NetworkUsage) ProtoReflect() protoreflect.Message
func (*NetworkUsage) Reset ¶
func (x *NetworkUsage) Reset()
func (*NetworkUsage) String ¶
func (x *NetworkUsage) String() string
type NicState ¶ added in v0.0.23
type NicState struct {
// Desired is the desired port state.
Desired *SwitchPortStatus `protobuf:"varint,1,opt,name=desired,proto3,enum=metalstack.api.v2.SwitchPortStatus,oneof" json:"desired,omitempty"`
// Actual is the actual port state.
Actual SwitchPortStatus `protobuf:"varint,2,opt,name=actual,proto3,enum=metalstack.api.v2.SwitchPortStatus" json:"actual,omitempty"`
// contains filtered or unexported fields
}
NicState represents the current state of a switch port.
func (*NicState) Descriptor
deprecated
added in
v0.0.23
func (*NicState) GetActual ¶ added in v0.0.23
func (x *NicState) GetActual() SwitchPortStatus
func (*NicState) GetDesired ¶ added in v0.0.23
func (x *NicState) GetDesired() SwitchPortStatus
func (*NicState) ProtoMessage ¶ added in v0.0.23
func (*NicState) ProtoMessage()
func (*NicState) ProtoReflect ¶ added in v0.0.23
func (x *NicState) ProtoReflect() protoreflect.Message
type OptimisticLockingStrategy ¶ added in v0.0.21
type OptimisticLockingStrategy int32
OptimisticLockingStrategy defines how optimistic locking should be handled. It defaults to client side, which requires the UpdatedAt timestamp to be provided.
const ( // OPTIMISTIC_LOCKING_STRATEGY_UNSPECIFIED same as client side. OptimisticLockingStrategy_OPTIMISTIC_LOCKING_STRATEGY_UNSPECIFIED OptimisticLockingStrategy = 0 // OPTIMISTIC_LOCKING_STRATEGY_CLIENT requires UpdatedAt to be specified. OptimisticLockingStrategy_OPTIMISTIC_LOCKING_STRATEGY_CLIENT OptimisticLockingStrategy = 1 // OPTIMISTIC_LOCKING_STRATEGY_SERVER allows to omit UpdatedAt. // and fetches the most recent entity before updating with the given values with the update request. OptimisticLockingStrategy_OPTIMISTIC_LOCKING_STRATEGY_SERVER OptimisticLockingStrategy = 2 )
func (OptimisticLockingStrategy) Descriptor ¶ added in v0.0.21
func (OptimisticLockingStrategy) Descriptor() protoreflect.EnumDescriptor
func (OptimisticLockingStrategy) Enum ¶ added in v0.0.21
func (x OptimisticLockingStrategy) Enum() *OptimisticLockingStrategy
func (OptimisticLockingStrategy) EnumDescriptor
deprecated
added in
v0.0.21
func (OptimisticLockingStrategy) EnumDescriptor() ([]byte, []int)
Deprecated: Use OptimisticLockingStrategy.Descriptor instead.
func (OptimisticLockingStrategy) Number ¶ added in v0.0.21
func (x OptimisticLockingStrategy) Number() protoreflect.EnumNumber
func (OptimisticLockingStrategy) String ¶ added in v0.0.21
func (x OptimisticLockingStrategy) String() string
func (OptimisticLockingStrategy) Type ¶ added in v0.0.21
func (OptimisticLockingStrategy) Type() protoreflect.EnumType
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 partition.
Meta *Meta `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta,omitempty"`
// Description of this partition.
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
// PartitionBootConfiguration defines how metal-hammer boots.
BootConfiguration *PartitionBootConfiguration `protobuf:"bytes,4,opt,name=boot_configuration,json=bootConfiguration,proto3" json:"boot_configuration,omitempty"`
// DNSServers for this partition.
DnsServers []*DNSServer `protobuf:"bytes,5,rep,name=dns_servers,json=dnsServers,proto3" json:"dns_servers,omitempty"`
// NTPServers for this partition.
NtpServers []*NTPServer `protobuf:"bytes,6,rep,name=ntp_servers,json=ntpServers,proto3" json:"ntp_servers,omitempty"`
// ManagementServiceAddresses defines where the management is reachable.
// should be in the form <ip|host>:<port>.
MgmtServiceAddresses []string `protobuf:"bytes,7,rep,name=mgmt_service_addresses,json=mgmtServiceAddresses,proto3" json:"mgmt_service_addresses,omitempty"`
// contains filtered or unexported fields
}
Partition is a failure domain with machines and switches.
func (*Partition) Descriptor
deprecated
func (*Partition) GetBootConfiguration ¶
func (x *Partition) GetBootConfiguration() *PartitionBootConfiguration
func (*Partition) GetDescription ¶
func (*Partition) GetDnsServers ¶ added in v0.0.54
func (*Partition) GetMgmtServiceAddresses ¶
func (*Partition) GetNtpServers ¶ added in v0.0.54
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 kernel command line for the boot image.
Commandline string `protobuf:"bytes,3,opt,name=commandline,proto3" json:"commandline,omitempty"`
// contains filtered or unexported fields
}
PartitionBootConfiguration defines how metal-hammer boots.
func (*PartitionBootConfiguration) Descriptor
deprecated
func (*PartitionBootConfiguration) Descriptor() ([]byte, []int)
Deprecated: Use PartitionBootConfiguration.ProtoReflect.Descriptor instead.
func (*PartitionBootConfiguration) GetCommandline ¶
func (x *PartitionBootConfiguration) GetCommandline() string
func (*PartitionBootConfiguration) GetImageUrl ¶
func (x *PartitionBootConfiguration) GetImageUrl() string
func (*PartitionBootConfiguration) GetKernelUrl ¶
func (x *PartitionBootConfiguration) GetKernelUrl() string
func (*PartitionBootConfiguration) ProtoMessage ¶
func (*PartitionBootConfiguration) ProtoMessage()
func (*PartitionBootConfiguration) ProtoReflect ¶
func (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 is the health status of the service in this partition.
Status ServiceStatus `protobuf:"varint,1,opt,name=status,proto3,enum=metalstack.api.v2.ServiceStatus" json:"status,omitempty"`
// Message describes the reason for the unhealthy status if possible.
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
// contains filtered or unexported fields
}
PartitionHealth represents the status of a specific service in this partition.
func (*PartitionHealth) Descriptor
deprecated
func (*PartitionHealth) Descriptor() ([]byte, []int)
Deprecated: Use PartitionHealth.ProtoReflect.Descriptor instead.
func (*PartitionHealth) GetMessage ¶
func (x *PartitionHealth) GetMessage() string
func (*PartitionHealth) GetStatus ¶
func (x *PartitionHealth) GetStatus() ServiceStatus
func (*PartitionHealth) ProtoMessage ¶
func (*PartitionHealth) ProtoMessage()
func (*PartitionHealth) ProtoReflect ¶
func (x *PartitionHealth) ProtoReflect() protoreflect.Message
func (*PartitionHealth) Reset ¶
func (x *PartitionHealth) Reset()
func (*PartitionHealth) String ¶
func (x *PartitionHealth) String() string
type PartitionQuery ¶
type PartitionQuery struct {
// ID of the partition to get.
Id *string `protobuf:"bytes,1,opt,name=id,proto3,oneof" json:"id,omitempty"`
// Labels lists only partitions containing the given labels.
Labels *Labels `protobuf:"bytes,2,opt,name=labels,proto3,oneof" json:"labels,omitempty"`
// contains filtered or unexported fields
}
PartitionQuery is used to search partitions.
func (*PartitionQuery) Descriptor
deprecated
func (*PartitionQuery) Descriptor() ([]byte, []int)
Deprecated: Use PartitionQuery.ProtoReflect.Descriptor instead.
func (*PartitionQuery) GetId ¶
func (x *PartitionQuery) GetId() string
func (*PartitionQuery) GetLabels ¶ added in v0.0.19
func (x *PartitionQuery) GetLabels() *Labels
func (*PartitionQuery) ProtoMessage ¶
func (*PartitionQuery) ProtoMessage()
func (*PartitionQuery) ProtoReflect ¶
func (x *PartitionQuery) ProtoReflect() protoreflect.Message
func (*PartitionQuery) Reset ¶
func (x *PartitionQuery) Reset()
func (*PartitionQuery) String ¶
func (x *PartitionQuery) String() string
type PartitionServiceGetRequest ¶
type PartitionServiceGetRequest struct {
// ID of the partition to get.
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
PartitionServiceGetRequest is the request payload for a partition get request.
func (*PartitionServiceGetRequest) Descriptor
deprecated
func (*PartitionServiceGetRequest) Descriptor() ([]byte, []int)
Deprecated: Use PartitionServiceGetRequest.ProtoReflect.Descriptor instead.
func (*PartitionServiceGetRequest) GetId ¶
func (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 {
// Partition is the partition.
Partition *Partition `protobuf:"bytes,1,opt,name=partition,proto3" json:"partition,omitempty"`
// contains filtered or unexported fields
}
PartitionServiceGetResponse is the response payload for a partition get request.
func (*PartitionServiceGetResponse) Descriptor
deprecated
func (*PartitionServiceGetResponse) Descriptor() ([]byte, []int)
Deprecated: Use PartitionServiceGetResponse.ProtoReflect.Descriptor instead.
func (*PartitionServiceGetResponse) GetPartition ¶
func (x *PartitionServiceGetResponse) GetPartition() *Partition
func (*PartitionServiceGetResponse) ProtoMessage ¶
func (*PartitionServiceGetResponse) ProtoMessage()
func (*PartitionServiceGetResponse) ProtoReflect ¶
func (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 {
// Partitions are the partitions.
Partitions []*Partition `protobuf:"bytes,1,rep,name=partitions,proto3" json:"partitions,omitempty"`
// contains filtered or unexported fields
}
PartitionServiceListResponse is the response payload for a partition list request.
func (*PartitionServiceListResponse) Descriptor
deprecated
func (*PartitionServiceListResponse) Descriptor() ([]byte, []int)
Deprecated: Use PartitionServiceListResponse.ProtoReflect.Descriptor instead.
func (*PartitionServiceListResponse) GetPartitions ¶
func (x *PartitionServiceListResponse) GetPartitions() []*Partition
func (*PartitionServiceListResponse) ProtoMessage ¶
func (*PartitionServiceListResponse) ProtoMessage()
func (*PartitionServiceListResponse) ProtoReflect ¶
func (x *PartitionServiceListResponse) ProtoReflect() protoreflect.Message
func (*PartitionServiceListResponse) Reset ¶
func (x *PartitionServiceListResponse) Reset()
func (*PartitionServiceListResponse) String ¶
func (x *PartitionServiceListResponse) String() string
type PermissionsByVisibility ¶ added in v0.4.0
type PermissionsByVisibility struct {
// Visibility defines the visibility of the requested method permissions.
//
// Types that are valid to be assigned to Visibility:
//
// *PermissionsByVisibility_Public
// *PermissionsByVisibility_Self
// *PermissionsByVisibility_Project
// *PermissionsByVisibility_Tenant
// *PermissionsByVisibility_Admin
// *PermissionsByVisibility_Machine
// *PermissionsByVisibility_Infra
Visibility isPermissionsByVisibility_Visibility `protobuf_oneof:"visibility"`
// contains filtered or unexported fields
}
PermissionsByVisibility contains method permissions by visibility.
func (*PermissionsByVisibility) Descriptor
deprecated
added in
v0.4.0
func (*PermissionsByVisibility) Descriptor() ([]byte, []int)
Deprecated: Use PermissionsByVisibility.ProtoReflect.Descriptor instead.
func (*PermissionsByVisibility) GetAdmin ¶ added in v0.4.0
func (x *PermissionsByVisibility) GetAdmin() *AdminPermissions
func (*PermissionsByVisibility) GetInfra ¶ added in v0.4.0
func (x *PermissionsByVisibility) GetInfra() *InfraPermissions
func (*PermissionsByVisibility) GetMachine ¶ added in v0.4.0
func (x *PermissionsByVisibility) GetMachine() *MachinePermissions
func (*PermissionsByVisibility) GetProject ¶ added in v0.4.0
func (x *PermissionsByVisibility) GetProject() *ProjectPermissions
func (*PermissionsByVisibility) GetPublic ¶ added in v0.4.0
func (x *PermissionsByVisibility) GetPublic() *PublicPermissions
func (*PermissionsByVisibility) GetSelf ¶ added in v0.4.0
func (x *PermissionsByVisibility) GetSelf() *SelfPermissions
func (*PermissionsByVisibility) GetTenant ¶ added in v0.4.0
func (x *PermissionsByVisibility) GetTenant() *TenantPermissions
func (*PermissionsByVisibility) GetVisibility ¶ added in v0.4.0
func (x *PermissionsByVisibility) GetVisibility() isPermissionsByVisibility_Visibility
func (*PermissionsByVisibility) ProtoMessage ¶ added in v0.4.0
func (*PermissionsByVisibility) ProtoMessage()
func (*PermissionsByVisibility) ProtoReflect ¶ added in v0.4.0
func (x *PermissionsByVisibility) ProtoReflect() protoreflect.Message
func (*PermissionsByVisibility) Reset ¶ added in v0.4.0
func (x *PermissionsByVisibility) Reset()
func (*PermissionsByVisibility) String ¶ added in v0.4.0
func (x *PermissionsByVisibility) String() string
type PermissionsByVisibility_Admin ¶ added in v0.4.0
type PermissionsByVisibility_Admin struct {
// AdminPermissions carries admin method permissions.
Admin *AdminPermissions `protobuf:"bytes,5,opt,name=admin,proto3,oneof"`
}
type PermissionsByVisibility_Infra ¶ added in v0.4.0
type PermissionsByVisibility_Infra struct {
// InfraPermissions carries infra method permissions.
Infra *InfraPermissions `protobuf:"bytes,7,opt,name=infra,proto3,oneof"`
}
type PermissionsByVisibility_Machine ¶ added in v0.4.0
type PermissionsByVisibility_Machine struct {
// MachinePermissions carries machine method permissions.
Machine *MachinePermissions `protobuf:"bytes,6,opt,name=machine,proto3,oneof"`
}
type PermissionsByVisibility_Project ¶ added in v0.4.0
type PermissionsByVisibility_Project struct {
// ProjectPermissions carries project method permissions.
Project *ProjectPermissions `protobuf:"bytes,3,opt,name=project,proto3,oneof"`
}
type PermissionsByVisibility_Public ¶ added in v0.4.0
type PermissionsByVisibility_Public struct {
// PublicPermissions carries public method permissions.
Public *PublicPermissions `protobuf:"bytes,1,opt,name=public,proto3,oneof"`
}
type PermissionsByVisibility_Self ¶ added in v0.4.0
type PermissionsByVisibility_Self struct {
// SelfPermissions carries self method permissions.
Self *SelfPermissions `protobuf:"bytes,2,opt,name=self,proto3,oneof"`
}
type PermissionsByVisibility_Tenant ¶ added in v0.4.0
type PermissionsByVisibility_Tenant struct {
// TenantPermissions carries tenant method permissions.
Tenant *TenantPermissions `protobuf:"bytes,4,opt,name=tenant,proto3,oneof"`
}
type Project ¶
type Project struct {
// Uuid of this project.
Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
// Meta for this project.
Meta *Meta `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta,omitempty"`
// Name of this project must be unique per tenant.
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
// Description of this project.
Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
// Tenant this project belongs to.
Tenant string `protobuf:"bytes,5,opt,name=tenant,proto3" json:"tenant,omitempty"`
// AvatarUrl of the Project.
AvatarUrl *string `protobuf:"bytes,6,opt,name=avatar_url,json=avatarUrl,proto3,oneof" json:"avatar_url,omitempty"`
// contains filtered or unexported fields
}
Project defines a group of resources belonging to a tenant. a tenant can have multiple projects.
func (*Project) Descriptor
deprecated
func (*Project) 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 the tenant inviting another user to join this project.
Tenant string `protobuf:"bytes,6,opt,name=tenant,proto3" json:"tenant,omitempty"`
// TenantName is the name of the tenant inviting another user to join this project.
TenantName string `protobuf:"bytes,7,opt,name=tenant_name,json=tenantName,proto3" json:"tenant_name,omitempty"`
// ExpiresAt the date when this invite expires.
ExpiresAt *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"`
// JoinedAt the date when the member accepted this invite.
JoinedAt *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=joined_at,json=joinedAt,proto3" json:"joined_at,omitempty"`
// contains filtered or unexported fields
}
ProjectInvite defines invite to project.
func (*ProjectInvite) Descriptor
deprecated
func (*ProjectInvite) Descriptor() ([]byte, []int)
Deprecated: Use ProjectInvite.ProtoReflect.Descriptor instead.
func (*ProjectInvite) GetExpiresAt ¶
func (x *ProjectInvite) GetExpiresAt() *timestamppb.Timestamp
func (*ProjectInvite) GetJoined ¶
func (x *ProjectInvite) GetJoined() bool
func (*ProjectInvite) GetJoinedAt ¶
func (x *ProjectInvite) GetJoinedAt() *timestamppb.Timestamp
func (*ProjectInvite) GetProject ¶
func (x *ProjectInvite) GetProject() string
func (*ProjectInvite) GetProjectName ¶
func (x *ProjectInvite) GetProjectName() string
func (*ProjectInvite) GetRole ¶
func (x *ProjectInvite) GetRole() ProjectRole
func (*ProjectInvite) GetSecret ¶
func (x *ProjectInvite) GetSecret() string
func (*ProjectInvite) GetTenant ¶
func (x *ProjectInvite) GetTenant() string
func (*ProjectInvite) GetTenantName ¶
func (x *ProjectInvite) GetTenantName() string
func (*ProjectInvite) ProtoMessage ¶
func (*ProjectInvite) ProtoMessage()
func (*ProjectInvite) ProtoReflect ¶
func (x *ProjectInvite) ProtoReflect() protoreflect.Message
func (*ProjectInvite) Reset ¶
func (x *ProjectInvite) Reset()
func (*ProjectInvite) String ¶
func (x *ProjectInvite) String() string
type ProjectMember ¶
type ProjectMember struct {
// Id is the user id of the member.
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// Role is the role of the member.
Role ProjectRole `protobuf:"varint,2,opt,name=role,proto3,enum=metalstack.api.v2.ProjectRole" json:"role,omitempty"`
// InheritedMembership indicates that this member has implicit permissions on the project through his membership within the tenant.
// This member does not have direct project membership but gains permissions on this project from the role he has in the tenant.
// Inherited memberships are not included in member lists for users with guest permission but only for direct tenant members.
InheritedMembership bool `protobuf:"varint,3,opt,name=inherited_membership,json=inheritedMembership,proto3" json:"inherited_membership,omitempty"`
// CreatedAt the date when the member was added to the project.
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
// Meta for this project member.
Meta *Meta `protobuf:"bytes,5,opt,name=meta,proto3" json:"meta,omitempty"`
// contains filtered or unexported fields
}
ProjectMember defines a user that participates in a project.
func (*ProjectMember) Descriptor
deprecated
func (*ProjectMember) Descriptor() ([]byte, []int)
Deprecated: Use ProjectMember.ProtoReflect.Descriptor instead.
func (*ProjectMember) GetCreatedAt ¶
func (x *ProjectMember) GetCreatedAt() *timestamppb.Timestamp
func (*ProjectMember) GetId ¶
func (x *ProjectMember) GetId() string
func (*ProjectMember) GetInheritedMembership ¶
func (x *ProjectMember) GetInheritedMembership() bool
func (*ProjectMember) GetMeta ¶ added in v0.1.2
func (x *ProjectMember) GetMeta() *Meta
func (*ProjectMember) GetRole ¶
func (x *ProjectMember) GetRole() ProjectRole
func (*ProjectMember) ProtoMessage ¶
func (*ProjectMember) ProtoMessage()
func (*ProjectMember) ProtoReflect ¶
func (x *ProjectMember) ProtoReflect() protoreflect.Message
func (*ProjectMember) Reset ¶
func (x *ProjectMember) Reset()
func (*ProjectMember) String ¶
func (x *ProjectMember) String() string
type ProjectPermissions ¶ added in v0.4.0
type ProjectPermissions struct {
// Project scope for the permissions.
// Asterisk (*) can be specified to match any subject.
Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
// Methods which should be accessible.
Methods []string `protobuf:"bytes,2,rep,name=methods,proto3" json:"methods,omitempty"`
// contains filtered or unexported fields
}
ProjectPermissions carries project method permissions.
func (*ProjectPermissions) Descriptor
deprecated
added in
v0.4.0
func (*ProjectPermissions) Descriptor() ([]byte, []int)
Deprecated: Use ProjectPermissions.ProtoReflect.Descriptor instead.
func (*ProjectPermissions) GetMethods ¶ added in v0.4.0
func (x *ProjectPermissions) GetMethods() []string
func (*ProjectPermissions) GetProject ¶ added in v0.4.0
func (x *ProjectPermissions) GetProject() string
func (*ProjectPermissions) ProtoMessage ¶ added in v0.4.0
func (*ProjectPermissions) ProtoMessage()
func (*ProjectPermissions) ProtoReflect ¶ added in v0.4.0
func (x *ProjectPermissions) ProtoReflect() protoreflect.Message
func (*ProjectPermissions) Reset ¶ added in v0.4.0
func (x *ProjectPermissions) Reset()
func (*ProjectPermissions) String ¶ added in v0.4.0
func (x *ProjectPermissions) String() string
type ProjectQuery ¶ added in v0.2.0
type ProjectQuery struct {
// Uuid lists only projects with this uuid.
Uuid *string `protobuf:"bytes,1,opt,name=uuid,proto3,oneof" json:"uuid,omitempty"`
// Name lists only projects with this name.
Name *string `protobuf:"bytes,2,opt,name=name,proto3,oneof" json:"name,omitempty"`
// Tenant lists only projects of this tenant.
Tenant *string `protobuf:"bytes,3,opt,name=tenant,proto3,oneof" json:"tenant,omitempty"`
// Labels lists only projects containing the given labels.
Labels *Labels `protobuf:"bytes,4,opt,name=labels,proto3,oneof" json:"labels,omitempty"`
// contains filtered or unexported fields
}
ProjectQuery is used to search projects.
func (*ProjectQuery) Descriptor
deprecated
added in
v0.2.0
func (*ProjectQuery) Descriptor() ([]byte, []int)
Deprecated: Use ProjectQuery.ProtoReflect.Descriptor instead.
func (*ProjectQuery) GetLabels ¶ added in v0.2.0
func (x *ProjectQuery) GetLabels() *Labels
func (*ProjectQuery) GetName ¶ added in v0.2.0
func (x *ProjectQuery) GetName() string
func (*ProjectQuery) GetTenant ¶ added in v0.2.0
func (x *ProjectQuery) GetTenant() string
func (*ProjectQuery) GetUuid ¶ added in v0.2.0
func (x *ProjectQuery) GetUuid() string
func (*ProjectQuery) ProtoMessage ¶ added in v0.2.0
func (*ProjectQuery) ProtoMessage()
func (*ProjectQuery) ProtoReflect ¶ added in v0.2.0
func (x *ProjectQuery) ProtoReflect() protoreflect.Message
func (*ProjectQuery) Reset ¶ added in v0.2.0
func (x *ProjectQuery) Reset()
func (*ProjectQuery) String ¶ added in v0.2.0
func (x *ProjectQuery) String() string
type ProjectRole ¶
type ProjectRole int32
ProjectRole specifies what role a logged in user needs to call this project scoped service.
const ( // PROJECT_ROLE_UNSPECIFIED is not specified. ProjectRole_PROJECT_ROLE_UNSPECIFIED ProjectRole = 0 // PROJECT_ROLE_OWNER the logged in user needs at least owner role to call this method. ProjectRole_PROJECT_ROLE_OWNER ProjectRole = 1 // PROJECT_ROLE_EDITOR the logged in user needs at least editor role to call this method. ProjectRole_PROJECT_ROLE_EDITOR ProjectRole = 2 // PROJECT_ROLE_VIEWER the logged in user needs at least viewer role to call this method. ProjectRole_PROJECT_ROLE_VIEWER ProjectRole = 3 )
func (ProjectRole) Descriptor ¶
func (ProjectRole) 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 ProjectServiceAddMemberRequest ¶ added in v0.3.0
type ProjectServiceAddMemberRequest struct {
// Project is the uuid of the project.
Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
// Login of the member to add.
Member string `protobuf:"bytes,2,opt,name=member,proto3" json:"member,omitempty"`
// Role to assign to the new member.
Role ProjectRole `protobuf:"varint,3,opt,name=role,proto3,enum=metalstack.api.v2.ProjectRole" json:"role,omitempty"`
// contains filtered or unexported fields
}
ProjectServiceAddMemberRequest is the request payload for adding a member to a project.
func (*ProjectServiceAddMemberRequest) Descriptor
deprecated
added in
v0.3.0
func (*ProjectServiceAddMemberRequest) Descriptor() ([]byte, []int)
Deprecated: Use ProjectServiceAddMemberRequest.ProtoReflect.Descriptor instead.
func (*ProjectServiceAddMemberRequest) GetMember ¶ added in v0.3.0
func (x *ProjectServiceAddMemberRequest) GetMember() string
func (*ProjectServiceAddMemberRequest) GetProject ¶ added in v0.3.0
func (x *ProjectServiceAddMemberRequest) GetProject() string
func (*ProjectServiceAddMemberRequest) GetRole ¶ added in v0.3.0
func (x *ProjectServiceAddMemberRequest) GetRole() ProjectRole
func (*ProjectServiceAddMemberRequest) ProtoMessage ¶ added in v0.3.0
func (*ProjectServiceAddMemberRequest) ProtoMessage()
func (*ProjectServiceAddMemberRequest) ProtoReflect ¶ added in v0.3.0
func (x *ProjectServiceAddMemberRequest) ProtoReflect() protoreflect.Message
func (*ProjectServiceAddMemberRequest) Reset ¶ added in v0.3.0
func (x *ProjectServiceAddMemberRequest) Reset()
func (*ProjectServiceAddMemberRequest) String ¶ added in v0.3.0
func (x *ProjectServiceAddMemberRequest) String() string
type ProjectServiceAddMemberResponse ¶ added in v0.3.0
type ProjectServiceAddMemberResponse struct {
// ProjectRole is the added project member.
ProjectMember ProjectRole `` /* 136-byte string literal not displayed */
// contains filtered or unexported fields
}
ProjectServiceAddMemberResponse is the response payload for the add member request.
func (*ProjectServiceAddMemberResponse) Descriptor
deprecated
added in
v0.3.0
func (*ProjectServiceAddMemberResponse) Descriptor() ([]byte, []int)
Deprecated: Use ProjectServiceAddMemberResponse.ProtoReflect.Descriptor instead.
func (*ProjectServiceAddMemberResponse) GetProjectMember ¶ added in v0.3.0
func (x *ProjectServiceAddMemberResponse) GetProjectMember() ProjectRole
func (*ProjectServiceAddMemberResponse) ProtoMessage ¶ added in v0.3.0
func (*ProjectServiceAddMemberResponse) ProtoMessage()
func (*ProjectServiceAddMemberResponse) ProtoReflect ¶ added in v0.3.0
func (x *ProjectServiceAddMemberResponse) ProtoReflect() protoreflect.Message
func (*ProjectServiceAddMemberResponse) Reset ¶ added in v0.3.0
func (x *ProjectServiceAddMemberResponse) Reset()
func (*ProjectServiceAddMemberResponse) String ¶ added in v0.3.0
func (x *ProjectServiceAddMemberResponse) String() string
type ProjectServiceCreateRequest ¶
type ProjectServiceCreateRequest struct {
// Login is the tenant of this project.
// TODO: is login really a good name?.
Login string `protobuf:"bytes,1,opt,name=login,proto3" json:"login,omitempty"`
// Name of this project, unique per tenant.
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// Description of this project.
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
// Avatar URL of the project.
AvatarUrl *string `protobuf:"bytes,4,opt,name=avatar_url,json=avatarUrl,proto3,oneof" json:"avatar_url,omitempty"`
// Labels on the project.
Labels *Labels `protobuf:"bytes,5,opt,name=labels,proto3" json:"labels,omitempty"`
// contains filtered or unexported fields
}
ProjectServiceCreateRequest is the request payload to Create a project.
func (*ProjectServiceCreateRequest) Descriptor
deprecated
func (*ProjectServiceCreateRequest) Descriptor() ([]byte, []int)
Deprecated: Use ProjectServiceCreateRequest.ProtoReflect.Descriptor instead.
func (*ProjectServiceCreateRequest) GetAvatarUrl ¶
func (x *ProjectServiceCreateRequest) GetAvatarUrl() string
func (*ProjectServiceCreateRequest) GetDescription ¶
func (x *ProjectServiceCreateRequest) GetDescription() string
func (*ProjectServiceCreateRequest) GetLabels ¶ added in v0.0.15
func (x *ProjectServiceCreateRequest) GetLabels() *Labels
func (*ProjectServiceCreateRequest) GetLogin ¶
func (x *ProjectServiceCreateRequest) GetLogin() string
func (*ProjectServiceCreateRequest) GetName ¶
func (x *ProjectServiceCreateRequest) GetName() string
func (*ProjectServiceCreateRequest) ProtoMessage ¶
func (*ProjectServiceCreateRequest) ProtoMessage()
func (*ProjectServiceCreateRequest) ProtoReflect ¶
func (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 delete.
Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
// contains filtered or unexported fields
}
ProjectServiceDeleteRequest is the request payload to delete a project.
func (*ProjectServiceDeleteRequest) Descriptor
deprecated
func (*ProjectServiceDeleteRequest) Descriptor() ([]byte, []int)
Deprecated: Use ProjectServiceDeleteRequest.ProtoReflect.Descriptor instead.
func (*ProjectServiceDeleteRequest) GetProject ¶
func (x *ProjectServiceDeleteRequest) GetProject() string
func (*ProjectServiceDeleteRequest) ProtoMessage ¶
func (*ProjectServiceDeleteRequest) ProtoMessage()
func (*ProjectServiceDeleteRequest) ProtoReflect ¶
func (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 of the project joined.
ProjectName string `protobuf:"bytes,2,opt,name=project_name,json=projectName,proto3" json:"project_name,omitempty"`
// contains filtered or unexported fields
}
ProjectServiceInviteAcceptResponse is the response payload to a accept invite request.
func (*ProjectServiceInviteAcceptResponse) Descriptor
deprecated
func (*ProjectServiceInviteAcceptResponse) Descriptor() ([]byte, []int)
Deprecated: Use ProjectServiceInviteAcceptResponse.ProtoReflect.Descriptor instead.
func (*ProjectServiceInviteAcceptResponse) GetProject ¶
func (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,2,opt,name=role,proto3,enum=metalstack.api.v2.ProjectRole" json:"role,omitempty"`
// contains filtered or unexported fields
}
ProjectServiceInviteRequest is used to invite a member to a project.
func (*ProjectServiceInviteRequest) Descriptor
deprecated
func (*ProjectServiceInviteRequest) Descriptor() ([]byte, []int)
Deprecated: Use ProjectServiceInviteRequest.ProtoReflect.Descriptor instead.
func (*ProjectServiceInviteRequest) GetProject ¶
func (x *ProjectServiceInviteRequest) GetProject() string
func (*ProjectServiceInviteRequest) GetRole ¶
func (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
}
ProjectServiceInviteResponse is the response payload to a invite member request.
func (*ProjectServiceInviteResponse) Descriptor
deprecated
func (*ProjectServiceInviteResponse) Descriptor() ([]byte, []int)
Deprecated: Use ProjectServiceInviteResponse.ProtoReflect.Descriptor instead.
func (*ProjectServiceInviteResponse) GetInvite ¶
func (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 ProjectServiceLeaveRequest ¶ added in v0.0.32
type ProjectServiceLeaveRequest struct {
// Project is the uuid of the project.
Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
// contains filtered or unexported fields
}
ProjectServiceLeaveRequest is used to leave a project.
func (*ProjectServiceLeaveRequest) Descriptor
deprecated
added in
v0.0.32
func (*ProjectServiceLeaveRequest) Descriptor() ([]byte, []int)
Deprecated: Use ProjectServiceLeaveRequest.ProtoReflect.Descriptor instead.
func (*ProjectServiceLeaveRequest) GetProject ¶ added in v0.0.32
func (x *ProjectServiceLeaveRequest) GetProject() string
func (*ProjectServiceLeaveRequest) ProtoMessage ¶ added in v0.0.32
func (*ProjectServiceLeaveRequest) ProtoMessage()
func (*ProjectServiceLeaveRequest) ProtoReflect ¶ added in v0.0.32
func (x *ProjectServiceLeaveRequest) ProtoReflect() protoreflect.Message
func (*ProjectServiceLeaveRequest) Reset ¶ added in v0.0.32
func (x *ProjectServiceLeaveRequest) Reset()
func (*ProjectServiceLeaveRequest) String ¶ added in v0.0.32
func (x *ProjectServiceLeaveRequest) String() string
type ProjectServiceLeaveResponse ¶ added in v0.0.32
type ProjectServiceLeaveResponse struct {
// contains filtered or unexported fields
}
ProjectServiceLeaveResponse is the response payload to a leave project request.
func (*ProjectServiceLeaveResponse) Descriptor
deprecated
added in
v0.0.32
func (*ProjectServiceLeaveResponse) Descriptor() ([]byte, []int)
Deprecated: Use ProjectServiceLeaveResponse.ProtoReflect.Descriptor instead.
func (*ProjectServiceLeaveResponse) ProtoMessage ¶ added in v0.0.32
func (*ProjectServiceLeaveResponse) ProtoMessage()
func (*ProjectServiceLeaveResponse) ProtoReflect ¶ added in v0.0.32
func (x *ProjectServiceLeaveResponse) ProtoReflect() protoreflect.Message
func (*ProjectServiceLeaveResponse) Reset ¶ added in v0.0.32
func (x *ProjectServiceLeaveResponse) Reset()
func (*ProjectServiceLeaveResponse) String ¶ added in v0.0.32
func (x *ProjectServiceLeaveResponse) String() string
type ProjectServiceListRequest ¶
type ProjectServiceListRequest struct {
// Query for projects.
Query *ProjectQuery `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"`
// contains filtered or unexported fields
}
ProjectServiceListRequest is the request payload to list all projects.
func (*ProjectServiceListRequest) Descriptor
deprecated
func (*ProjectServiceListRequest) Descriptor() ([]byte, []int)
Deprecated: Use ProjectServiceListRequest.ProtoReflect.Descriptor instead.
func (*ProjectServiceListRequest) GetQuery ¶ added in v0.2.0
func (x *ProjectServiceListRequest) GetQuery() *ProjectQuery
func (*ProjectServiceListRequest) ProtoMessage ¶
func (*ProjectServiceListRequest) ProtoMessage()
func (*ProjectServiceListRequest) ProtoReflect ¶
func (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"`
// Member is the id of the member to remove from this project.
Member string `protobuf:"bytes,2,opt,name=member,proto3" json:"member,omitempty"`
// contains filtered or unexported fields
}
ProjectServiceRemoveMemberRequest is used to remove a member from a project.
func (*ProjectServiceRemoveMemberRequest) Descriptor
deprecated
func (*ProjectServiceRemoveMemberRequest) Descriptor() ([]byte, []int)
Deprecated: Use ProjectServiceRemoveMemberRequest.ProtoReflect.Descriptor instead.
func (*ProjectServiceRemoveMemberRequest) GetMember ¶ added in v0.0.13
func (x *ProjectServiceRemoveMemberRequest) GetMember() 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"`
// Member is the id of the member to remove from this project.
Member string `protobuf:"bytes,2,opt,name=member,proto3" json:"member,omitempty"`
// Role is the role in this project the user will get after the update.
Role ProjectRole `protobuf:"varint,3,opt,name=role,proto3,enum=metalstack.api.v2.ProjectRole" json:"role,omitempty"`
// contains filtered or unexported fields
}
ProjectServiceUpdateMemberRequest is used to update a member of a project.
func (*ProjectServiceUpdateMemberRequest) Descriptor
deprecated
func (*ProjectServiceUpdateMemberRequest) Descriptor() ([]byte, []int)
Deprecated: Use ProjectServiceUpdateMemberRequest.ProtoReflect.Descriptor instead.
func (*ProjectServiceUpdateMemberRequest) GetMember ¶ added in v0.0.13
func (x *ProjectServiceUpdateMemberRequest) GetMember() 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,1,opt,name=project_member,json=projectMember,proto3" json:"project_member,omitempty"`
// contains filtered or unexported fields
}
ProjectServiceUpdateMemberResponse is the response payload to a update member request.
func (*ProjectServiceUpdateMemberResponse) Descriptor
deprecated
func (*ProjectServiceUpdateMemberResponse) Descriptor() ([]byte, []int)
Deprecated: Use ProjectServiceUpdateMemberResponse.ProtoReflect.Descriptor instead.
func (*ProjectServiceUpdateMemberResponse) GetProjectMember ¶
func (x *ProjectServiceUpdateMemberResponse) GetProjectMember() *ProjectMember
func (*ProjectServiceUpdateMemberResponse) ProtoMessage ¶
func (*ProjectServiceUpdateMemberResponse) ProtoMessage()
func (*ProjectServiceUpdateMemberResponse) ProtoReflect ¶
func (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"`
// UpdateMeta contains the timestamp and strategy to be used in this update request.
UpdateMeta *UpdateMeta `protobuf:"bytes,2,opt,name=update_meta,json=updateMeta,proto3" json:"update_meta,omitempty"`
// Name of this project unique per tenant.
Name *string `protobuf:"bytes,3,opt,name=name,proto3,oneof" json:"name,omitempty"`
// Description of this project.
Description *string `protobuf:"bytes,4,opt,name=description,proto3,oneof" json:"description,omitempty"`
// Avatar URL of the project.
AvatarUrl *string `protobuf:"bytes,5,opt,name=avatar_url,json=avatarUrl,proto3,oneof" json:"avatar_url,omitempty"`
// Labels on this project.
Labels *UpdateLabels `protobuf:"bytes,6,opt,name=labels,proto3,oneof" json:"labels,omitempty"`
// contains filtered or unexported fields
}
ProjectServiceUpdateRequest is the request payload to update a project.
func (*ProjectServiceUpdateRequest) Descriptor
deprecated
func (*ProjectServiceUpdateRequest) Descriptor() ([]byte, []int)
Deprecated: Use ProjectServiceUpdateRequest.ProtoReflect.Descriptor instead.
func (*ProjectServiceUpdateRequest) GetAvatarUrl ¶
func (x *ProjectServiceUpdateRequest) GetAvatarUrl() string
func (*ProjectServiceUpdateRequest) GetDescription ¶
func (x *ProjectServiceUpdateRequest) GetDescription() string
func (*ProjectServiceUpdateRequest) GetLabels ¶ added in v0.0.15
func (x *ProjectServiceUpdateRequest) GetLabels() *UpdateLabels
func (*ProjectServiceUpdateRequest) GetName ¶
func (x *ProjectServiceUpdateRequest) GetName() string
func (*ProjectServiceUpdateRequest) GetProject ¶
func (x *ProjectServiceUpdateRequest) GetProject() string
func (*ProjectServiceUpdateRequest) GetUpdateMeta ¶ added in v0.0.21
func (x *ProjectServiceUpdateRequest) GetUpdateMeta() *UpdateMeta
func (*ProjectServiceUpdateRequest) ProtoMessage ¶
func (*ProjectServiceUpdateRequest) ProtoMessage()
func (*ProjectServiceUpdateRequest) ProtoReflect ¶
func (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 PublicPermissions ¶ added in v0.4.0
type PublicPermissions struct {
// Methods which should be accessible.
Methods []string `protobuf:"bytes,2,rep,name=methods,proto3" json:"methods,omitempty"`
// contains filtered or unexported fields
}
PublicPermissions carries public method permissions.
func (*PublicPermissions) Descriptor
deprecated
added in
v0.4.0
func (*PublicPermissions) Descriptor() ([]byte, []int)
Deprecated: Use PublicPermissions.ProtoReflect.Descriptor instead.
func (*PublicPermissions) GetMethods ¶ added in v0.4.0
func (x *PublicPermissions) GetMethods() []string
func (*PublicPermissions) ProtoMessage ¶ added in v0.4.0
func (*PublicPermissions) ProtoMessage()
func (*PublicPermissions) ProtoReflect ¶ added in v0.4.0
func (x *PublicPermissions) ProtoReflect() protoreflect.Message
func (*PublicPermissions) Reset ¶ added in v0.4.0
func (x *PublicPermissions) Reset()
func (*PublicPermissions) String ¶ added in v0.4.0
func (x *PublicPermissions) String() string
type Raid ¶
type Raid struct {
// ArrayName the name of the resulting array device.
ArrayName string `protobuf:"bytes,1,opt,name=array_name,json=arrayName,proto3" json:"array_name,omitempty"`
// Devices list of devices to form the raid array from.
Devices []string `protobuf:"bytes,2,rep,name=devices,proto3" json:"devices,omitempty"`
// Level raid level to create, should be 0 or 1.
Level RaidLevel `protobuf:"varint,3,opt,name=level,proto3,enum=metalstack.api.v2.RaidLevel" json:"level,omitempty"`
// CreateOptions the options to use to create the raid array.
CreateOptions []string `protobuf:"bytes,4,rep,name=create_options,json=createOptions,proto3" json:"create_options,omitempty"`
// Spares number of spares for the raid array.
Spares int32 `protobuf:"varint,5,opt,name=spares,proto3" json:"spares,omitempty"`
// contains filtered or unexported fields
}
Raid.
func (*Raid) Descriptor
deprecated
func (*Raid) 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 SelfPermissions ¶ added in v0.4.0
type SelfPermissions struct {
// Methods which should be accessible.
Methods []string `protobuf:"bytes,2,rep,name=methods,proto3" json:"methods,omitempty"`
// contains filtered or unexported fields
}
SelfPermissions carries self method permissions.
func (*SelfPermissions) Descriptor
deprecated
added in
v0.4.0
func (*SelfPermissions) Descriptor() ([]byte, []int)
Deprecated: Use SelfPermissions.ProtoReflect.Descriptor instead.
func (*SelfPermissions) GetMethods ¶ added in v0.4.0
func (x *SelfPermissions) GetMethods() []string
func (*SelfPermissions) ProtoMessage ¶ added in v0.4.0
func (*SelfPermissions) ProtoMessage()
func (*SelfPermissions) ProtoReflect ¶ added in v0.4.0
func (x *SelfPermissions) ProtoReflect() protoreflect.Message
func (*SelfPermissions) Reset ¶ added in v0.4.0
func (x *SelfPermissions) Reset()
func (*SelfPermissions) String ¶ added in v0.4.0
func (x *SelfPermissions) String() string
type Service ¶
type Service int32
Service defines the service for which the healthiness is reported.
const ( // SERVICE_UNSPECIFIED is a unknown service. Service_SERVICE_UNSPECIFIED Service = 0 // SERVICE_IPAM the IPAM service. Service_SERVICE_IPAM Service = 1 // SERVICE_RETHINK the RethinkDB. Service_SERVICE_RETHINK Service = 2 // SERVICE_TENANT_APISERVER the tenant-apiserver. Service_SERVICE_TENANT_APISERVER Service = 3 // SERVICE_MACHINES the machine service. Service_SERVICE_MACHINES Service = 4 // SERVICE_AUDIT the auditing. Service_SERVICE_AUDIT Service = 5 // SERVICE_VPN the VPN service. Service_SERVICE_VPN Service = 6 // SERVICE_REDIS the Redis service. Service_SERVICE_REDIS Service = 7 // SERVICE_TASKS the tasks service. Service_SERVICE_TASKS Service = 8 )
func (Service) Descriptor ¶
func (Service) Descriptor() protoreflect.EnumDescriptor
func (Service) 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, for example 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 size.
Meta *Meta `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta,omitempty"`
// Name of this size.
Name *string `protobuf:"bytes,3,opt,name=name,proto3,oneof" json:"name,omitempty"`
// Description of this size.
Description *string `protobuf:"bytes,4,opt,name=description,proto3,oneof" json:"description,omitempty"`
// Constraints which must match that a specific machine is considered of this size.
Constraints []*SizeConstraint `protobuf:"bytes,5,rep,name=constraints,proto3" json:"constraints,omitempty"`
// contains filtered or unexported fields
}
Size.
func (*Size) Descriptor
deprecated
added in
v0.0.2
func (*Size) 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 SizeImageConstraint ¶ added in v0.0.52
type SizeImageConstraint struct {
// Size where this constraint should apply.
Size string `protobuf:"bytes,1,opt,name=size,proto3" json:"size,omitempty"`
// ImageConstraints to apply to this size.
ImageConstraints []*ImageConstraint `protobuf:"bytes,2,rep,name=image_constraints,json=imageConstraints,proto3" json:"image_constraints,omitempty"`
// Meta for this size image constraint.
Meta *Meta `protobuf:"bytes,3,opt,name=meta,proto3" json:"meta,omitempty"`
// Name of this size image constraint.
Name *string `protobuf:"bytes,4,opt,name=name,proto3,oneof" json:"name,omitempty"`
// Description of this size image constraint.
Description *string `protobuf:"bytes,5,opt,name=description,proto3,oneof" json:"description,omitempty"`
// contains filtered or unexported fields
}
SizeImageConstraint expresses optional restrictions for specific size to image combinations. This might be required if the support for a specific hardware in a given size is only supported with a newer version of the image.
If the size in question is not found, no restrictions apply. If the image in question is not found, no restrictions apply as well. If the image in question is found, but does not match the given expression, machine creation must be forbidden.
func (*SizeImageConstraint) Descriptor
deprecated
added in
v0.0.52
func (*SizeImageConstraint) Descriptor() ([]byte, []int)
Deprecated: Use SizeImageConstraint.ProtoReflect.Descriptor instead.
func (*SizeImageConstraint) GetDescription ¶ added in v0.0.52
func (x *SizeImageConstraint) GetDescription() string
func (*SizeImageConstraint) GetImageConstraints ¶ added in v0.0.52
func (x *SizeImageConstraint) GetImageConstraints() []*ImageConstraint
func (*SizeImageConstraint) GetMeta ¶ added in v0.0.52
func (x *SizeImageConstraint) GetMeta() *Meta
func (*SizeImageConstraint) GetName ¶ added in v0.0.52
func (x *SizeImageConstraint) GetName() string
func (*SizeImageConstraint) GetSize ¶ added in v0.0.52
func (x *SizeImageConstraint) GetSize() string
func (*SizeImageConstraint) ProtoMessage ¶ added in v0.0.52
func (*SizeImageConstraint) ProtoMessage()
func (*SizeImageConstraint) ProtoReflect ¶ added in v0.0.52
func (x *SizeImageConstraint) ProtoReflect() protoreflect.Message
func (*SizeImageConstraint) Reset ¶ added in v0.0.52
func (x *SizeImageConstraint) Reset()
func (*SizeImageConstraint) String ¶ added in v0.0.52
func (x *SizeImageConstraint) String() string
type SizeImageConstraintQuery ¶ added in v0.0.52
type SizeImageConstraintQuery struct {
// Size of the size image constraint.
Size *string `protobuf:"bytes,1,opt,name=size,proto3,oneof" json:"size,omitempty"`
// Name of the size image constraint to query.
Name *string `protobuf:"bytes,2,opt,name=name,proto3,oneof" json:"name,omitempty"`
// Description of the size image constraint to query.
Description *string `protobuf:"bytes,3,opt,name=description,proto3,oneof" json:"description,omitempty"`
// contains filtered or unexported fields
}
SizeImageConstraintQuery is used to search size image constraints.
func (*SizeImageConstraintQuery) Descriptor
deprecated
added in
v0.0.52
func (*SizeImageConstraintQuery) Descriptor() ([]byte, []int)
Deprecated: Use SizeImageConstraintQuery.ProtoReflect.Descriptor instead.
func (*SizeImageConstraintQuery) GetDescription ¶ added in v0.0.52
func (x *SizeImageConstraintQuery) GetDescription() string
func (*SizeImageConstraintQuery) GetName ¶ added in v0.0.52
func (x *SizeImageConstraintQuery) GetName() string
func (*SizeImageConstraintQuery) GetSize ¶ added in v0.0.52
func (x *SizeImageConstraintQuery) GetSize() string
func (*SizeImageConstraintQuery) ProtoMessage ¶ added in v0.0.52
func (*SizeImageConstraintQuery) ProtoMessage()
func (*SizeImageConstraintQuery) ProtoReflect ¶ added in v0.0.52
func (x *SizeImageConstraintQuery) ProtoReflect() protoreflect.Message
func (*SizeImageConstraintQuery) Reset ¶ added in v0.0.52
func (x *SizeImageConstraintQuery) Reset()
func (*SizeImageConstraintQuery) String ¶ added in v0.0.52
func (x *SizeImageConstraintQuery) String() string
type SizeImageConstraintServiceTryRequest ¶ added in v0.0.52
type SizeImageConstraintServiceTryRequest struct {
// Size to try.
Size string `protobuf:"bytes,1,opt,name=size,proto3" json:"size,omitempty"`
// Image to try.
Image string `protobuf:"bytes,2,opt,name=image,proto3" json:"image,omitempty"`
// contains filtered or unexported fields
}
SizeImageConstraintServiceTryRequest is the request payload for a size image constraint try request.
func (*SizeImageConstraintServiceTryRequest) Descriptor
deprecated
added in
v0.0.52
func (*SizeImageConstraintServiceTryRequest) Descriptor() ([]byte, []int)
Deprecated: Use SizeImageConstraintServiceTryRequest.ProtoReflect.Descriptor instead.
func (*SizeImageConstraintServiceTryRequest) GetImage ¶ added in v0.0.52
func (x *SizeImageConstraintServiceTryRequest) GetImage() string
func (*SizeImageConstraintServiceTryRequest) GetSize ¶ added in v0.0.52
func (x *SizeImageConstraintServiceTryRequest) GetSize() string
func (*SizeImageConstraintServiceTryRequest) ProtoMessage ¶ added in v0.0.52
func (*SizeImageConstraintServiceTryRequest) ProtoMessage()
func (*SizeImageConstraintServiceTryRequest) ProtoReflect ¶ added in v0.0.52
func (x *SizeImageConstraintServiceTryRequest) ProtoReflect() protoreflect.Message
func (*SizeImageConstraintServiceTryRequest) Reset ¶ added in v0.0.52
func (x *SizeImageConstraintServiceTryRequest) Reset()
func (*SizeImageConstraintServiceTryRequest) String ¶ added in v0.0.52
func (x *SizeImageConstraintServiceTryRequest) String() string
type SizeImageConstraintServiceTryResponse ¶ added in v0.0.52
type SizeImageConstraintServiceTryResponse struct {
// contains filtered or unexported fields
}
SizeImageConstraintServiceTryResponse is the response payload for a size image constraint try request.
func (*SizeImageConstraintServiceTryResponse) Descriptor
deprecated
added in
v0.0.52
func (*SizeImageConstraintServiceTryResponse) Descriptor() ([]byte, []int)
Deprecated: Use SizeImageConstraintServiceTryResponse.ProtoReflect.Descriptor instead.
func (*SizeImageConstraintServiceTryResponse) ProtoMessage ¶ added in v0.0.52
func (*SizeImageConstraintServiceTryResponse) ProtoMessage()
func (*SizeImageConstraintServiceTryResponse) ProtoReflect ¶ added in v0.0.52
func (x *SizeImageConstraintServiceTryResponse) ProtoReflect() protoreflect.Message
func (*SizeImageConstraintServiceTryResponse) Reset ¶ added in v0.0.52
func (x *SizeImageConstraintServiceTryResponse) Reset()
func (*SizeImageConstraintServiceTryResponse) String ¶ added in v0.0.52
func (x *SizeImageConstraintServiceTryResponse) String() string
type SizeQuery ¶ added in v0.0.2
type SizeQuery struct {
// ID of the size to get.
Id *string `protobuf:"bytes,1,opt,name=id,proto3,oneof" json:"id,omitempty"`
// Name of the size to query.
Name *string `protobuf:"bytes,2,opt,name=name,proto3,oneof" json:"name,omitempty"`
// Description of the size to query.
Description *string `protobuf:"bytes,3,opt,name=description,proto3,oneof" json:"description,omitempty"`
// Labels lists only sizes containing the given labels.
Labels *Labels `protobuf:"bytes,4,opt,name=labels,proto3,oneof" json:"labels,omitempty"`
// contains filtered or unexported fields
}
SizeQuery is used to search sizes.
func (*SizeQuery) Descriptor
deprecated
added in
v0.0.2
func (*SizeQuery) 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 SizeReservation ¶ added in v0.0.47
type SizeReservation struct {
// Id of this size reservation, is generated on creation.
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// Meta for this size reservation.
Meta *Meta `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta,omitempty"`
// Name of this size reservation.
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
// Description of this size reservation.
Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
// Project of the size reservation.
Project string `protobuf:"bytes,5,opt,name=project,proto3" json:"project,omitempty"`
// Size id of this size reservation.
Size string `protobuf:"bytes,6,opt,name=size,proto3" json:"size,omitempty"`
// Partition ids of this size reservation.
Partitions []string `protobuf:"bytes,7,rep,name=partitions,proto3" json:"partitions,omitempty"`
// Amount of reservations of this size reservation.
Amount int32 `protobuf:"varint,8,opt,name=amount,proto3" json:"amount,omitempty"`
// contains filtered or unexported fields
}
SizeReservation.
func (*SizeReservation) Descriptor
deprecated
added in
v0.0.47
func (*SizeReservation) Descriptor() ([]byte, []int)
Deprecated: Use SizeReservation.ProtoReflect.Descriptor instead.
func (*SizeReservation) GetAmount ¶ added in v0.0.47
func (x *SizeReservation) GetAmount() int32
func (*SizeReservation) GetDescription ¶ added in v0.0.47
func (x *SizeReservation) GetDescription() string
func (*SizeReservation) GetId ¶ added in v0.0.47
func (x *SizeReservation) GetId() string
func (*SizeReservation) GetMeta ¶ added in v0.0.47
func (x *SizeReservation) GetMeta() *Meta
func (*SizeReservation) GetName ¶ added in v0.0.47
func (x *SizeReservation) GetName() string
func (*SizeReservation) GetPartitions ¶ added in v0.0.47
func (x *SizeReservation) GetPartitions() []string
func (*SizeReservation) GetProject ¶ added in v0.0.47
func (x *SizeReservation) GetProject() string
func (*SizeReservation) GetSize ¶ added in v0.0.47
func (x *SizeReservation) GetSize() string
func (*SizeReservation) ProtoMessage ¶ added in v0.0.47
func (*SizeReservation) ProtoMessage()
func (*SizeReservation) ProtoReflect ¶ added in v0.0.47
func (x *SizeReservation) ProtoReflect() protoreflect.Message
func (*SizeReservation) Reset ¶ added in v0.0.47
func (x *SizeReservation) Reset()
func (*SizeReservation) String ¶ added in v0.0.47
func (x *SizeReservation) String() string
type SizeReservationQuery ¶ added in v0.0.47
type SizeReservationQuery struct {
// ID of the size reservation to get.
Id *string `protobuf:"bytes,1,opt,name=id,proto3,oneof" json:"id,omitempty"`
// Name of this size reservation.
Name *string `protobuf:"bytes,2,opt,name=name,proto3,oneof" json:"name,omitempty"`
// Description of this size reservation.
Description *string `protobuf:"bytes,3,opt,name=description,proto3,oneof" json:"description,omitempty"`
// Size id of this size reservation.
Size *string `protobuf:"bytes,4,opt,name=size,proto3,oneof" json:"size,omitempty"`
// Project of the size reservation.
Project *string `protobuf:"bytes,5,opt,name=project,proto3,oneof" json:"project,omitempty"`
// Partition of the size reservation.
Partition *string `protobuf:"bytes,6,opt,name=partition,proto3,oneof" json:"partition,omitempty"`
// Labels lists only size reservations containing the given labels.
Labels *Labels `protobuf:"bytes,7,opt,name=labels,proto3,oneof" json:"labels,omitempty"`
// contains filtered or unexported fields
}
SizeReservationQuery is used to search size reservations.
func (*SizeReservationQuery) Descriptor
deprecated
added in
v0.0.47
func (*SizeReservationQuery) Descriptor() ([]byte, []int)
Deprecated: Use SizeReservationQuery.ProtoReflect.Descriptor instead.
func (*SizeReservationQuery) GetDescription ¶ added in v0.0.47
func (x *SizeReservationQuery) GetDescription() string
func (*SizeReservationQuery) GetId ¶ added in v0.0.47
func (x *SizeReservationQuery) GetId() string
func (*SizeReservationQuery) GetLabels ¶ added in v0.0.47
func (x *SizeReservationQuery) GetLabels() *Labels
func (*SizeReservationQuery) GetName ¶ added in v0.0.47
func (x *SizeReservationQuery) GetName() string
func (*SizeReservationQuery) GetPartition ¶ added in v0.0.47
func (x *SizeReservationQuery) GetPartition() string
func (*SizeReservationQuery) GetProject ¶ added in v0.0.47
func (x *SizeReservationQuery) GetProject() string
func (*SizeReservationQuery) GetSize ¶ added in v0.0.47
func (x *SizeReservationQuery) GetSize() string
func (*SizeReservationQuery) ProtoMessage ¶ added in v0.0.47
func (*SizeReservationQuery) ProtoMessage()
func (*SizeReservationQuery) ProtoReflect ¶ added in v0.0.47
func (x *SizeReservationQuery) ProtoReflect() protoreflect.Message
func (*SizeReservationQuery) Reset ¶ added in v0.0.47
func (x *SizeReservationQuery) Reset()
func (*SizeReservationQuery) String ¶ added in v0.0.47
func (x *SizeReservationQuery) String() string
type SizeReservationServiceGetRequest ¶ added in v0.0.47
type SizeReservationServiceGetRequest struct {
// ID of the size reservation to get.
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// Project of the size reservation.
Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
// contains filtered or unexported fields
}
SizeReservationServiceGetRequest is the request payload for a size get request.
func (*SizeReservationServiceGetRequest) Descriptor
deprecated
added in
v0.0.47
func (*SizeReservationServiceGetRequest) Descriptor() ([]byte, []int)
Deprecated: Use SizeReservationServiceGetRequest.ProtoReflect.Descriptor instead.
func (*SizeReservationServiceGetRequest) GetId ¶ added in v0.0.47
func (x *SizeReservationServiceGetRequest) GetId() string
func (*SizeReservationServiceGetRequest) GetProject ¶ added in v0.0.47
func (x *SizeReservationServiceGetRequest) GetProject() string
func (*SizeReservationServiceGetRequest) ProtoMessage ¶ added in v0.0.47
func (*SizeReservationServiceGetRequest) ProtoMessage()
func (*SizeReservationServiceGetRequest) ProtoReflect ¶ added in v0.0.47
func (x *SizeReservationServiceGetRequest) ProtoReflect() protoreflect.Message
func (*SizeReservationServiceGetRequest) Reset ¶ added in v0.0.47
func (x *SizeReservationServiceGetRequest) Reset()
func (*SizeReservationServiceGetRequest) String ¶ added in v0.0.47
func (x *SizeReservationServiceGetRequest) String() string
type SizeReservationServiceGetResponse ¶ added in v0.0.47
type SizeReservationServiceGetResponse struct {
// Size reservation.
SizeReservation *SizeReservation `protobuf:"bytes,1,opt,name=size_reservation,json=sizeReservation,proto3" json:"size_reservation,omitempty"`
// contains filtered or unexported fields
}
SizeReservationServiceGetResponse is the response payload for a size reservation get request.
func (*SizeReservationServiceGetResponse) Descriptor
deprecated
added in
v0.0.47
func (*SizeReservationServiceGetResponse) Descriptor() ([]byte, []int)
Deprecated: Use SizeReservationServiceGetResponse.ProtoReflect.Descriptor instead.
func (*SizeReservationServiceGetResponse) GetSizeReservation ¶ added in v0.0.47
func (x *SizeReservationServiceGetResponse) GetSizeReservation() *SizeReservation
func (*SizeReservationServiceGetResponse) ProtoMessage ¶ added in v0.0.47
func (*SizeReservationServiceGetResponse) ProtoMessage()
func (*SizeReservationServiceGetResponse) ProtoReflect ¶ added in v0.0.47
func (x *SizeReservationServiceGetResponse) ProtoReflect() protoreflect.Message
func (*SizeReservationServiceGetResponse) Reset ¶ added in v0.0.47
func (x *SizeReservationServiceGetResponse) Reset()
func (*SizeReservationServiceGetResponse) String ¶ added in v0.0.47
func (x *SizeReservationServiceGetResponse) String() string
type SizeReservationServiceListRequest ¶ added in v0.0.47
type SizeReservationServiceListRequest struct {
// Project of the size reservation.
Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
// Query for size reservations.
Query *SizeReservationQuery `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"`
// contains filtered or unexported fields
}
SizeReservationServiceListRequest is the request payload for a size list request.
func (*SizeReservationServiceListRequest) Descriptor
deprecated
added in
v0.0.47
func (*SizeReservationServiceListRequest) Descriptor() ([]byte, []int)
Deprecated: Use SizeReservationServiceListRequest.ProtoReflect.Descriptor instead.
func (*SizeReservationServiceListRequest) GetProject ¶ added in v0.0.47
func (x *SizeReservationServiceListRequest) GetProject() string
func (*SizeReservationServiceListRequest) GetQuery ¶ added in v0.0.47
func (x *SizeReservationServiceListRequest) GetQuery() *SizeReservationQuery
func (*SizeReservationServiceListRequest) ProtoMessage ¶ added in v0.0.47
func (*SizeReservationServiceListRequest) ProtoMessage()
func (*SizeReservationServiceListRequest) ProtoReflect ¶ added in v0.0.47
func (x *SizeReservationServiceListRequest) ProtoReflect() protoreflect.Message
func (*SizeReservationServiceListRequest) Reset ¶ added in v0.0.47
func (x *SizeReservationServiceListRequest) Reset()
func (*SizeReservationServiceListRequest) String ¶ added in v0.0.47
func (x *SizeReservationServiceListRequest) String() string
type SizeReservationServiceListResponse ¶ added in v0.0.47
type SizeReservationServiceListResponse struct {
// Size reservations.
SizeReservations []*SizeReservation `protobuf:"bytes,1,rep,name=size_reservations,json=sizeReservations,proto3" json:"size_reservations,omitempty"`
// contains filtered or unexported fields
}
SizeReservationServiceListResponse is the response payload for a size reservation list request.
func (*SizeReservationServiceListResponse) Descriptor
deprecated
added in
v0.0.47
func (*SizeReservationServiceListResponse) Descriptor() ([]byte, []int)
Deprecated: Use SizeReservationServiceListResponse.ProtoReflect.Descriptor instead.
func (*SizeReservationServiceListResponse) GetSizeReservations ¶ added in v0.0.47
func (x *SizeReservationServiceListResponse) GetSizeReservations() []*SizeReservation
func (*SizeReservationServiceListResponse) ProtoMessage ¶ added in v0.0.47
func (*SizeReservationServiceListResponse) ProtoMessage()
func (*SizeReservationServiceListResponse) ProtoReflect ¶ added in v0.0.47
func (x *SizeReservationServiceListResponse) ProtoReflect() protoreflect.Message
func (*SizeReservationServiceListResponse) Reset ¶ added in v0.0.47
func (x *SizeReservationServiceListResponse) Reset()
func (*SizeReservationServiceListResponse) String ¶ added in v0.0.47
func (x *SizeReservationServiceListResponse) String() string
type SizeServiceGetRequest ¶ added in v0.0.2
type SizeServiceGetRequest struct {
// ID of the size to get.
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
SizeServiceGetRequest is the request payload for a size get request.
func (*SizeServiceGetRequest) Descriptor
deprecated
added in
v0.0.2
func (*SizeServiceGetRequest) Descriptor() ([]byte, []int)
Deprecated: Use SizeServiceGetRequest.ProtoReflect.Descriptor instead.
func (*SizeServiceGetRequest) GetId ¶ added in v0.0.2
func (x *SizeServiceGetRequest) GetId() string
func (*SizeServiceGetRequest) ProtoMessage ¶ added in v0.0.2
func (*SizeServiceGetRequest) ProtoMessage()
func (*SizeServiceGetRequest) ProtoReflect ¶ added in v0.0.2
func (x *SizeServiceGetRequest) ProtoReflect() protoreflect.Message
func (*SizeServiceGetRequest) Reset ¶ added in v0.0.2
func (x *SizeServiceGetRequest) Reset()
func (*SizeServiceGetRequest) String ¶ added in v0.0.2
func (x *SizeServiceGetRequest) String() string
type SizeServiceGetResponse ¶ added in v0.0.2
type SizeServiceGetResponse struct {
// Size the size.
Size *Size `protobuf:"bytes,1,opt,name=size,proto3" json:"size,omitempty"`
// contains filtered or unexported fields
}
SizeServiceGetResponse is the response payload for a size get request.
func (*SizeServiceGetResponse) Descriptor
deprecated
added in
v0.0.2
func (*SizeServiceGetResponse) Descriptor() ([]byte, []int)
Deprecated: Use SizeServiceGetResponse.ProtoReflect.Descriptor instead.
func (*SizeServiceGetResponse) GetSize ¶ added in v0.0.2
func (x *SizeServiceGetResponse) GetSize() *Size
func (*SizeServiceGetResponse) ProtoMessage ¶ added in v0.0.2
func (*SizeServiceGetResponse) ProtoMessage()
func (*SizeServiceGetResponse) ProtoReflect ¶ added in v0.0.2
func (x *SizeServiceGetResponse) ProtoReflect() protoreflect.Message
func (*SizeServiceGetResponse) Reset ¶ added in v0.0.2
func (x *SizeServiceGetResponse) Reset()
func (*SizeServiceGetResponse) String ¶ added in v0.0.2
func (x *SizeServiceGetResponse) String() string
type SizeServiceListRequest ¶ added in v0.0.2
type SizeServiceListRequest struct {
// Query for sizes.
Query *SizeQuery `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"`
// contains filtered or unexported fields
}
SizeServiceListRequest is the request payload for a size list request.
func (*SizeServiceListRequest) Descriptor
deprecated
added in
v0.0.2
func (*SizeServiceListRequest) Descriptor() ([]byte, []int)
Deprecated: Use SizeServiceListRequest.ProtoReflect.Descriptor instead.
func (*SizeServiceListRequest) GetQuery ¶ added in v0.0.2
func (x *SizeServiceListRequest) GetQuery() *SizeQuery
func (*SizeServiceListRequest) ProtoMessage ¶ added in v0.0.2
func (*SizeServiceListRequest) ProtoMessage()
func (*SizeServiceListRequest) ProtoReflect ¶ added in v0.0.2
func (x *SizeServiceListRequest) ProtoReflect() protoreflect.Message
func (*SizeServiceListRequest) Reset ¶ added in v0.0.2
func (x *SizeServiceListRequest) Reset()
func (*SizeServiceListRequest) String ¶ added in v0.0.2
func (x *SizeServiceListRequest) String() string
type SizeServiceListResponse ¶ added in v0.0.2
type SizeServiceListResponse struct {
// Sizes the sizes.
Sizes []*Size `protobuf:"bytes,1,rep,name=sizes,proto3" json:"sizes,omitempty"`
// contains filtered or unexported fields
}
SizeServiceListResponse is the response payload for a size list request.
func (*SizeServiceListResponse) Descriptor
deprecated
added in
v0.0.2
func (*SizeServiceListResponse) Descriptor() ([]byte, []int)
Deprecated: Use SizeServiceListResponse.ProtoReflect.Descriptor instead.
func (*SizeServiceListResponse) GetSizes ¶ added in v0.0.2
func (x *SizeServiceListResponse) GetSizes() []*Size
func (*SizeServiceListResponse) ProtoMessage ¶ added in v0.0.2
func (*SizeServiceListResponse) ProtoMessage()
func (*SizeServiceListResponse) ProtoReflect ¶ added in v0.0.2
func (x *SizeServiceListResponse) ProtoReflect() protoreflect.Message
func (*SizeServiceListResponse) Reset ¶ added in v0.0.2
func (x *SizeServiceListResponse) Reset()
func (*SizeServiceListResponse) String ¶ added in v0.0.2
func (x *SizeServiceListResponse) String() string
type Switch ¶ added in v0.0.8
type Switch struct {
// Id of the switch.
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// Meta for this switch.
Meta *Meta `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta,omitempty"`
// Description of the switch.
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
// Rack ID if the switch resides in a rack.
Rack *string `protobuf:"bytes,4,opt,name=rack,proto3,oneof" json:"rack,omitempty"`
// Room ID if the switch resides in a room.
Room *string `protobuf:"bytes,5,opt,name=room,proto3,oneof" json:"room,omitempty"`
// Partition the switch belongs to.
Partition string `protobuf:"bytes,6,opt,name=partition,proto3" json:"partition,omitempty"`
// ReplaceMode is used to mark a switch ready for replacement.
ReplaceMode SwitchReplaceMode `` /* 136-byte string literal not displayed */
// ManagementIp is the switch's IP for management access.
ManagementIp string `protobuf:"bytes,8,opt,name=management_ip,json=managementIp,proto3" json:"management_ip,omitempty"`
// ManagementUser is the user name to use for management access.
ManagementUser *string `protobuf:"bytes,9,opt,name=management_user,json=managementUser,proto3,oneof" json:"management_user,omitempty"`
// ConsoleCommand is the command for accessing the switch's console.
ConsoleCommand *string `protobuf:"bytes,10,opt,name=console_command,json=consoleCommand,proto3,oneof" json:"console_command,omitempty"`
// Nics are the front panel ports of the switch.
Nics []*SwitchNic `protobuf:"bytes,11,rep,name=nics,proto3" json:"nics,omitempty"`
// SwitchOs is the OS running on the switch.
Os *SwitchOS `protobuf:"bytes,12,opt,name=os,proto3" json:"os,omitempty"`
// MachineConnections map machines to the nics they are connected to.
MachineConnections []*MachineConnection `protobuf:"bytes,13,rep,name=machine_connections,json=machineConnections,proto3" json:"machine_connections,omitempty"`
// LastSync contains information about the last heartbeat of the switch.
LastSync *SwitchSync `protobuf:"bytes,14,opt,name=last_sync,json=lastSync,proto3" json:"last_sync,omitempty"`
// LastSyncError contains information about the last unsuccessful heartbeat of the switch.
LastSyncError *SwitchSync `protobuf:"bytes,15,opt,name=last_sync_error,json=lastSyncError,proto3" json:"last_sync_error,omitempty"`
// contains filtered or unexported fields
}
Switch represents a network switch.
func (*Switch) Descriptor
deprecated
added in
v0.0.8
func (*Switch) GetConsoleCommand ¶ added in v0.0.8
func (*Switch) GetDescription ¶ added in v0.0.8
func (*Switch) GetLastSync ¶ added in v0.0.38
func (x *Switch) GetLastSync() *SwitchSync
func (*Switch) GetLastSyncError ¶ added in v0.0.38
func (x *Switch) GetLastSyncError() *SwitchSync
func (*Switch) GetMachineConnections ¶ added in v0.0.23
func (x *Switch) GetMachineConnections() []*MachineConnection
func (*Switch) GetManagementIp ¶ added in v0.0.8
func (*Switch) GetManagementUser ¶ added in v0.0.8
func (*Switch) GetPartition ¶ added in v0.0.8
func (*Switch) GetReplaceMode ¶ added in v0.0.8
func (x *Switch) GetReplaceMode() SwitchReplaceMode
func (*Switch) ProtoMessage ¶ added in v0.0.8
func (*Switch) ProtoMessage()
func (*Switch) ProtoReflect ¶ added in v0.0.8
func (x *Switch) ProtoReflect() protoreflect.Message
type SwitchBGPPortState ¶ added in v0.0.8
type SwitchBGPPortState struct {
// Neighbor of this port.
Neighbor string `protobuf:"bytes,1,opt,name=neighbor,proto3" json:"neighbor,omitempty"`
// PeerGroup of this port.
PeerGroup string `protobuf:"bytes,2,opt,name=peer_group,json=peerGroup,proto3" json:"peer_group,omitempty"`
// VrfName of the VRF this port is bound to.
VrfName string `protobuf:"bytes,3,opt,name=vrf_name,json=vrfName,proto3" json:"vrf_name,omitempty"`
// BgpState of the connection on this port.
BgpState BGPState `protobuf:"varint,4,opt,name=bgp_state,json=bgpState,proto3,enum=metalstack.api.v2.BGPState" json:"bgp_state,omitempty"`
// BgpTimerUpEstablished reports when this port's BGP connection was established.
BgpTimerUpEstablished *timestamppb.Timestamp `` /* 128-byte string literal not displayed */
// SentPrefixCounter counts the prefixes sent by the switch on this port.
SentPrefixCounter uint64 `protobuf:"varint,6,opt,name=sent_prefix_counter,json=sentPrefixCounter,proto3" json:"sent_prefix_counter,omitempty"`
// AcceptedPrefixCounter counts the prefixes received on this port.
AcceptedPrefixCounter uint64 `` /* 127-byte string literal not displayed */
// contains filtered or unexported fields
}
SwitchBGPPortState holds information about the BGP state of a port.
func (*SwitchBGPPortState) Descriptor
deprecated
added in
v0.0.8
func (*SwitchBGPPortState) Descriptor() ([]byte, []int)
Deprecated: Use SwitchBGPPortState.ProtoReflect.Descriptor instead.
func (*SwitchBGPPortState) GetAcceptedPrefixCounter ¶ added in v0.0.8
func (x *SwitchBGPPortState) GetAcceptedPrefixCounter() uint64
func (*SwitchBGPPortState) GetBgpState ¶ added in v0.0.8
func (x *SwitchBGPPortState) GetBgpState() BGPState
func (*SwitchBGPPortState) GetBgpTimerUpEstablished ¶ added in v0.0.8
func (x *SwitchBGPPortState) GetBgpTimerUpEstablished() *timestamppb.Timestamp
func (*SwitchBGPPortState) GetNeighbor ¶ added in v0.0.8
func (x *SwitchBGPPortState) GetNeighbor() string
func (*SwitchBGPPortState) GetPeerGroup ¶ added in v0.0.8
func (x *SwitchBGPPortState) GetPeerGroup() string
func (*SwitchBGPPortState) GetSentPrefixCounter ¶ added in v0.0.8
func (x *SwitchBGPPortState) GetSentPrefixCounter() uint64
func (*SwitchBGPPortState) GetVrfName ¶ added in v0.0.8
func (x *SwitchBGPPortState) GetVrfName() string
func (*SwitchBGPPortState) ProtoMessage ¶ added in v0.0.8
func (*SwitchBGPPortState) ProtoMessage()
func (*SwitchBGPPortState) ProtoReflect ¶ added in v0.0.8
func (x *SwitchBGPPortState) ProtoReflect() protoreflect.Message
func (*SwitchBGPPortState) Reset ¶ added in v0.0.8
func (x *SwitchBGPPortState) Reset()
func (*SwitchBGPPortState) String ¶ added in v0.0.8
func (x *SwitchBGPPortState) String() string
type SwitchNic ¶ added in v0.0.8
type SwitchNic struct {
// Name of the switch port.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Identifier of the port.
Identifier string `protobuf:"bytes,2,opt,name=identifier,proto3" json:"identifier,omitempty"`
// MAC address of the port.
Mac *string `protobuf:"bytes,3,opt,name=mac,proto3,oneof" json:"mac,omitempty"`
// VRF name if the port is bound in one.
Vrf *string `protobuf:"bytes,4,opt,name=vrf,proto3,oneof" json:"vrf,omitempty"`
// NicState describes the current state of the switch port.
State *NicState `protobuf:"bytes,5,opt,name=state,proto3,oneof" json:"state,omitempty"`
// BGPFilter optionally configured on a port.
BgpFilter *BGPFilter `protobuf:"bytes,6,opt,name=bgp_filter,json=bgpFilter,proto3,oneof" json:"bgp_filter,omitempty"`
// BGPPortState represents the current BGP status of the port.
BgpPortState *SwitchBGPPortState `protobuf:"bytes,7,opt,name=bgp_port_state,json=bgpPortState,proto3,oneof" json:"bgp_port_state,omitempty"`
// contains filtered or unexported fields
}
SwitchNic represents a front panel port and its configuration.
func (*SwitchNic) Descriptor
deprecated
added in
v0.0.8
func (*SwitchNic) GetBgpFilter ¶ added in v0.0.8
func (*SwitchNic) GetBgpPortState ¶ added in v0.0.8
func (x *SwitchNic) GetBgpPortState() *SwitchBGPPortState
func (*SwitchNic) GetIdentifier ¶ added in v0.0.8
func (*SwitchNic) ProtoMessage ¶ added in v0.0.8
func (*SwitchNic) ProtoMessage()
func (*SwitchNic) ProtoReflect ¶ added in v0.0.8
func (x *SwitchNic) ProtoReflect() protoreflect.Message
type SwitchNicWithMachine ¶ added in v0.0.53
type SwitchNicWithMachine struct {
// Nic is the switch nic the machine is connected to.
Nic *SwitchNic `protobuf:"bytes,1,opt,name=nic,proto3" json:"nic,omitempty"`
// Machine connected to this nic.
Machine *Machine `protobuf:"bytes,2,opt,name=machine,proto3" json:"machine,omitempty"`
// FRU of the connected machine.
Fru *MachineFRU `protobuf:"bytes,3,opt,name=fru,proto3" json:"fru,omitempty"`
// contains filtered or unexported fields
}
SwitchNicWithMachine associates a switch port with its connected machine.
func (*SwitchNicWithMachine) Descriptor
deprecated
added in
v0.0.53
func (*SwitchNicWithMachine) Descriptor() ([]byte, []int)
Deprecated: Use SwitchNicWithMachine.ProtoReflect.Descriptor instead.
func (*SwitchNicWithMachine) GetFru ¶ added in v0.0.53
func (x *SwitchNicWithMachine) GetFru() *MachineFRU
func (*SwitchNicWithMachine) GetMachine ¶ added in v0.0.53
func (x *SwitchNicWithMachine) GetMachine() *Machine
func (*SwitchNicWithMachine) GetNic ¶ added in v0.0.53
func (x *SwitchNicWithMachine) GetNic() *SwitchNic
func (*SwitchNicWithMachine) ProtoMessage ¶ added in v0.0.53
func (*SwitchNicWithMachine) ProtoMessage()
func (*SwitchNicWithMachine) ProtoReflect ¶ added in v0.0.53
func (x *SwitchNicWithMachine) ProtoReflect() protoreflect.Message
func (*SwitchNicWithMachine) Reset ¶ added in v0.0.53
func (x *SwitchNicWithMachine) Reset()
func (*SwitchNicWithMachine) String ¶ added in v0.0.53
func (x *SwitchNicWithMachine) String() string
type SwitchOS ¶ added in v0.0.8
type SwitchOS struct {
// Vendor identifies what NOS distribution is running on the switch, e.g. SONiC.
Vendor SwitchOSVendor `protobuf:"varint,1,opt,name=vendor,proto3,enum=metalstack.api.v2.SwitchOSVendor" json:"vendor,omitempty"`
// Version specifies what NOS version is currently installed on the switch.
Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
// MetalCoreVersion is the currently running version of the metal-core.
MetalCoreVersion string `protobuf:"bytes,3,opt,name=metal_core_version,json=metalCoreVersion,proto3" json:"metal_core_version,omitempty"`
// contains filtered or unexported fields
}
SwitchOS holds information about the NOS and versions running on the switch.
func (*SwitchOS) Descriptor
deprecated
added in
v0.0.8
func (*SwitchOS) GetMetalCoreVersion ¶ added in v0.0.8
func (*SwitchOS) GetVendor ¶ added in v0.0.8
func (x *SwitchOS) GetVendor() SwitchOSVendor
func (*SwitchOS) GetVersion ¶ added in v0.0.8
func (*SwitchOS) ProtoMessage ¶ added in v0.0.8
func (*SwitchOS) ProtoMessage()
func (*SwitchOS) ProtoReflect ¶ added in v0.0.8
func (x *SwitchOS) ProtoReflect() protoreflect.Message
type SwitchOSQuery ¶ added in v0.0.23
type SwitchOSQuery struct {
// OsVendor of the switch OS by which to filter the switches.
Vendor *SwitchOSVendor `protobuf:"varint,1,opt,name=vendor,proto3,enum=metalstack.api.v2.SwitchOSVendor,oneof" json:"vendor,omitempty"`
// OsVersion of the OS by which to filter the switches.
Version *string `protobuf:"bytes,2,opt,name=version,proto3,oneof" json:"version,omitempty"`
// contains filtered or unexported fields
}
SwitchOSQuery holds OS specific query parameters.
func (*SwitchOSQuery) Descriptor
deprecated
added in
v0.0.23
func (*SwitchOSQuery) Descriptor() ([]byte, []int)
Deprecated: Use SwitchOSQuery.ProtoReflect.Descriptor instead.
func (*SwitchOSQuery) GetVendor ¶ added in v0.0.23
func (x *SwitchOSQuery) GetVendor() SwitchOSVendor
func (*SwitchOSQuery) GetVersion ¶ added in v0.0.23
func (x *SwitchOSQuery) GetVersion() string
func (*SwitchOSQuery) ProtoMessage ¶ added in v0.0.23
func (*SwitchOSQuery) ProtoMessage()
func (*SwitchOSQuery) ProtoReflect ¶ added in v0.0.23
func (x *SwitchOSQuery) ProtoReflect() protoreflect.Message
func (*SwitchOSQuery) Reset ¶ added in v0.0.23
func (x *SwitchOSQuery) Reset()
func (*SwitchOSQuery) String ¶ added in v0.0.23
func (x *SwitchOSQuery) String() string
type SwitchOSVendor ¶ added in v0.0.8
type SwitchOSVendor int32
SwitchOSVendor represents a NOS distribution.
const ( // SWITCH_OS_VENDOR_UNSPECIFIED is not specified. SwitchOSVendor_SWITCH_OS_VENDOR_UNSPECIFIED SwitchOSVendor = 0 // SWITCH_OS_VENDOR_CUMULUS means this switch is running on Cumulus Linux. SwitchOSVendor_SWITCH_OS_VENDOR_CUMULUS SwitchOSVendor = 1 // SWITCH_OS_VENDOR_SONIC means this switch is running on SONiC NOS. SwitchOSVendor_SWITCH_OS_VENDOR_SONIC SwitchOSVendor = 2 )
func (SwitchOSVendor) Descriptor ¶ added in v0.0.8
func (SwitchOSVendor) Descriptor() protoreflect.EnumDescriptor
func (SwitchOSVendor) Enum ¶ added in v0.0.8
func (x SwitchOSVendor) Enum() *SwitchOSVendor
func (SwitchOSVendor) EnumDescriptor
deprecated
added in
v0.0.8
func (SwitchOSVendor) EnumDescriptor() ([]byte, []int)
Deprecated: Use SwitchOSVendor.Descriptor instead.
func (SwitchOSVendor) Number ¶ added in v0.0.8
func (x SwitchOSVendor) Number() protoreflect.EnumNumber
func (SwitchOSVendor) String ¶ added in v0.0.8
func (x SwitchOSVendor) String() string
func (SwitchOSVendor) Type ¶ added in v0.0.8
func (SwitchOSVendor) Type() protoreflect.EnumType
type SwitchPortStatus ¶ added in v0.0.8
type SwitchPortStatus int32
SwitchPortStatus specifies the state of a switch port.
const ( // SWITCH_PORT_STATUS_UNSPECIFIED is not specified. SwitchPortStatus_SWITCH_PORT_STATUS_UNSPECIFIED SwitchPortStatus = 0 // SWITCH_PORT_STATUS_UP means this port is up. SwitchPortStatus_SWITCH_PORT_STATUS_UP SwitchPortStatus = 1 // SWITCH_PORT_STATUS_DOWN means this port is down. SwitchPortStatus_SWITCH_PORT_STATUS_DOWN SwitchPortStatus = 2 // SWITCH_PORT_STATUS_UNKNOWN means the status of this port is unknown. SwitchPortStatus_SWITCH_PORT_STATUS_UNKNOWN SwitchPortStatus = 3 )
func (SwitchPortStatus) Descriptor ¶ added in v0.0.8
func (SwitchPortStatus) Descriptor() protoreflect.EnumDescriptor
func (SwitchPortStatus) Enum ¶ added in v0.0.8
func (x SwitchPortStatus) Enum() *SwitchPortStatus
func (SwitchPortStatus) EnumDescriptor
deprecated
added in
v0.0.8
func (SwitchPortStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use SwitchPortStatus.Descriptor instead.
func (SwitchPortStatus) Number ¶ added in v0.0.8
func (x SwitchPortStatus) Number() protoreflect.EnumNumber
func (SwitchPortStatus) String ¶ added in v0.0.8
func (x SwitchPortStatus) String() string
func (SwitchPortStatus) Type ¶ added in v0.0.8
func (SwitchPortStatus) Type() protoreflect.EnumType
type SwitchQuery ¶ added in v0.0.23
type SwitchQuery struct {
// Id of the switch to list.
Id *string `protobuf:"bytes,1,opt,name=id,proto3,oneof" json:"id,omitempty"`
// Partition of the switches to list.
Partition *string `protobuf:"bytes,2,opt,name=partition,proto3,oneof" json:"partition,omitempty"`
// Rack of the switches to list.
Rack *string `protobuf:"bytes,3,opt,name=rack,proto3,oneof" json:"rack,omitempty"`
// Room ID if the switch resides in a room.
Room *string `protobuf:"bytes,4,opt,name=room,proto3,oneof" json:"room,omitempty"`
// Switch OS specific queries.
Os *SwitchOSQuery `protobuf:"bytes,5,opt,name=os,proto3,oneof" json:"os,omitempty"`
// ConnectedMachineID lists the switches which have the given machine id in the connected machines map.
ConnectedMachineId *string `protobuf:"bytes,6,opt,name=connected_machine_id,json=connectedMachineId,proto3,oneof" json:"connected_machine_id,omitempty"`
// contains filtered or unexported fields
}
SwitchQuery can be used to query a switch or a list of switches.
func (*SwitchQuery) Descriptor
deprecated
added in
v0.0.23
func (*SwitchQuery) Descriptor() ([]byte, []int)
Deprecated: Use SwitchQuery.ProtoReflect.Descriptor instead.
func (*SwitchQuery) GetConnectedMachineId ¶ added in v0.1.6
func (x *SwitchQuery) GetConnectedMachineId() string
func (*SwitchQuery) GetId ¶ added in v0.0.23
func (x *SwitchQuery) GetId() string
func (*SwitchQuery) GetOs ¶ added in v0.0.23
func (x *SwitchQuery) GetOs() *SwitchOSQuery
func (*SwitchQuery) GetPartition ¶ added in v0.0.23
func (x *SwitchQuery) GetPartition() string
func (*SwitchQuery) GetRack ¶ added in v0.0.23
func (x *SwitchQuery) GetRack() string
func (*SwitchQuery) GetRoom ¶ added in v0.3.0
func (x *SwitchQuery) GetRoom() string
func (*SwitchQuery) ProtoMessage ¶ added in v0.0.23
func (*SwitchQuery) ProtoMessage()
func (*SwitchQuery) ProtoReflect ¶ added in v0.0.23
func (x *SwitchQuery) ProtoReflect() protoreflect.Message
func (*SwitchQuery) Reset ¶ added in v0.0.23
func (x *SwitchQuery) Reset()
func (*SwitchQuery) String ¶ added in v0.0.23
func (x *SwitchQuery) String() string
type SwitchReplaceMode ¶ added in v0.0.8
type SwitchReplaceMode int32
SwitchReplaceMode is used to mark a switch ready for replacement.
const ( // SWITCH_REPLACE_MODE_UNSPECIFIED is not specified. SwitchReplaceMode_SWITCH_REPLACE_MODE_UNSPECIFIED SwitchReplaceMode = 0 // SWITCH_REPLACE_MODE_REPLACE means this switch is waiting to be replaced. SwitchReplaceMode_SWITCH_REPLACE_MODE_REPLACE SwitchReplaceMode = 1 // SWITCH_REPLACE_MODE_OPERATIONAL means this switch is operational and cannot be replaced. SwitchReplaceMode_SWITCH_REPLACE_MODE_OPERATIONAL SwitchReplaceMode = 2 )
func (SwitchReplaceMode) Descriptor ¶ added in v0.0.8
func (SwitchReplaceMode) Descriptor() protoreflect.EnumDescriptor
func (SwitchReplaceMode) Enum ¶ added in v0.0.8
func (x SwitchReplaceMode) Enum() *SwitchReplaceMode
func (SwitchReplaceMode) EnumDescriptor
deprecated
added in
v0.0.8
func (SwitchReplaceMode) EnumDescriptor() ([]byte, []int)
Deprecated: Use SwitchReplaceMode.Descriptor instead.
func (SwitchReplaceMode) Number ¶ added in v0.0.8
func (x SwitchReplaceMode) Number() protoreflect.EnumNumber
func (SwitchReplaceMode) String ¶ added in v0.0.8
func (x SwitchReplaceMode) String() string
func (SwitchReplaceMode) Type ¶ added in v0.0.8
func (SwitchReplaceMode) Type() protoreflect.EnumType
type SwitchSync ¶ added in v0.0.38
type SwitchSync struct {
// Time of the sync.
Time *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"`
// Duration of the sync.
Duration *durationpb.Duration `protobuf:"bytes,2,opt,name=duration,proto3" json:"duration,omitempty"`
// Error if any occurred.
Error *string `protobuf:"bytes,3,opt,name=error,proto3,oneof" json:"error,omitempty"`
// contains filtered or unexported fields
}
SwitchSync summarizes information about a switch sync.
func (*SwitchSync) Descriptor
deprecated
added in
v0.0.38
func (*SwitchSync) Descriptor() ([]byte, []int)
Deprecated: Use SwitchSync.ProtoReflect.Descriptor instead.
func (*SwitchSync) GetDuration ¶ added in v0.0.38
func (x *SwitchSync) GetDuration() *durationpb.Duration
func (*SwitchSync) GetError ¶ added in v0.0.38
func (x *SwitchSync) GetError() string
func (*SwitchSync) GetTime ¶ added in v0.0.38
func (x *SwitchSync) GetTime() *timestamppb.Timestamp
func (*SwitchSync) ProtoMessage ¶ added in v0.0.38
func (*SwitchSync) ProtoMessage()
func (*SwitchSync) ProtoReflect ¶ added in v0.0.38
func (x *SwitchSync) ProtoReflect() protoreflect.Message
func (*SwitchSync) Reset ¶ added in v0.0.38
func (x *SwitchSync) Reset()
func (*SwitchSync) String ¶ added in v0.0.38
func (x *SwitchSync) String() string
type SwitchWithMachines ¶ added in v0.0.53
type SwitchWithMachines struct {
// Id of the switch.
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// Partition of the switch.
Partition string `protobuf:"bytes,2,opt,name=partition,proto3" json:"partition,omitempty"`
// Rack of the switch.
Rack string `protobuf:"bytes,3,opt,name=rack,proto3" json:"rack,omitempty"`
// Connections associates switch ports with the machines connected to them.
Connections []*SwitchNicWithMachine `protobuf:"bytes,4,rep,name=connections,proto3" json:"connections,omitempty"`
// contains filtered or unexported fields
}
SwitchWithMachines contains a mapping from switch ports to connected machines.
func (*SwitchWithMachines) Descriptor
deprecated
added in
v0.0.53
func (*SwitchWithMachines) Descriptor() ([]byte, []int)
Deprecated: Use SwitchWithMachines.ProtoReflect.Descriptor instead.
func (*SwitchWithMachines) GetConnections ¶ added in v0.0.53
func (x *SwitchWithMachines) GetConnections() []*SwitchNicWithMachine
func (*SwitchWithMachines) GetId ¶ added in v0.0.53
func (x *SwitchWithMachines) GetId() string
func (*SwitchWithMachines) GetPartition ¶ added in v0.0.53
func (x *SwitchWithMachines) GetPartition() string
func (*SwitchWithMachines) GetRack ¶ added in v0.0.53
func (x *SwitchWithMachines) GetRack() string
func (*SwitchWithMachines) ProtoMessage ¶ added in v0.0.53
func (*SwitchWithMachines) ProtoMessage()
func (*SwitchWithMachines) ProtoReflect ¶ added in v0.0.53
func (x *SwitchWithMachines) ProtoReflect() protoreflect.Message
func (*SwitchWithMachines) Reset ¶ added in v0.0.53
func (x *SwitchWithMachines) Reset()
func (*SwitchWithMachines) String ¶ added in v0.0.53
func (x *SwitchWithMachines) String() string
type Tenant ¶
type Tenant struct {
// Login of the tenant.
Login string `protobuf:"bytes,1,opt,name=login,proto3" json:"login,omitempty"`
// Meta for this tenant.
Meta *Meta `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta,omitempty"`
// Name of the tenant.
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
// Email of the tenant.
Email string `protobuf:"bytes,4,opt,name=email,proto3" json:"email,omitempty"`
// Description of this tenant.
Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
// AvatarUrl of the tenant.
AvatarUrl string `protobuf:"bytes,6,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"`
// CreatedBy stores who created this tenant.
CreatedBy string `protobuf:"bytes,7,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"`
// contains filtered or unexported fields
}
Tenant is a customer of the platform.
func (*Tenant) Descriptor
deprecated
func (*Tenant) 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 the tenant inviting another user to join this tenant.
Tenant string `protobuf:"bytes,6,opt,name=tenant,proto3" json:"tenant,omitempty"`
// TenantName is the name of the tenant inviting another user to join this tenant.
TenantName string `protobuf:"bytes,7,opt,name=tenant_name,json=tenantName,proto3" json:"tenant_name,omitempty"`
// ExpiresAt the date when this invite expires.
ExpiresAt *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"`
// JoinedAt the date when the member accepted this invite.
JoinedAt *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=joined_at,json=joinedAt,proto3" json:"joined_at,omitempty"`
// contains filtered or unexported fields
}
TenantInvite defines invite to tenant.
func (*TenantInvite) Descriptor
deprecated
func (*TenantInvite) Descriptor() ([]byte, []int)
Deprecated: Use TenantInvite.ProtoReflect.Descriptor instead.
func (*TenantInvite) GetExpiresAt ¶
func (x *TenantInvite) GetExpiresAt() *timestamppb.Timestamp
func (*TenantInvite) GetJoined ¶
func (x *TenantInvite) GetJoined() bool
func (*TenantInvite) GetJoinedAt ¶
func (x *TenantInvite) GetJoinedAt() *timestamppb.Timestamp
func (*TenantInvite) GetRole ¶
func (x *TenantInvite) GetRole() TenantRole
func (*TenantInvite) GetSecret ¶
func (x *TenantInvite) GetSecret() string
func (*TenantInvite) GetTargetTenant ¶
func (x *TenantInvite) GetTargetTenant() string
func (*TenantInvite) GetTargetTenantName ¶
func (x *TenantInvite) GetTargetTenantName() string
func (*TenantInvite) GetTenant ¶
func (x *TenantInvite) GetTenant() string
func (*TenantInvite) GetTenantName ¶
func (x *TenantInvite) GetTenantName() string
func (*TenantInvite) ProtoMessage ¶
func (*TenantInvite) ProtoMessage()
func (*TenantInvite) ProtoReflect ¶
func (x *TenantInvite) ProtoReflect() protoreflect.Message
func (*TenantInvite) Reset ¶
func (x *TenantInvite) Reset()
func (*TenantInvite) String ¶
func (x *TenantInvite) String() string
type TenantMember ¶
type TenantMember struct {
// Id is the user id of the member.
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// Role is the role of the member.
Role TenantRole `protobuf:"varint,2,opt,name=role,proto3,enum=metalstack.api.v2.TenantRole" json:"role,omitempty"`
// Projects in which a user is a direct member.
Projects []string `protobuf:"bytes,3,rep,name=projects,proto3" json:"projects,omitempty"`
// CreatedAt the date when the member was added to the tenant.
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
// Meta for this tenant member.
Meta *Meta `protobuf:"bytes,5,opt,name=meta,proto3" json:"meta,omitempty"`
// contains filtered or unexported fields
}
TenantMember defines a user that participates in a tenant.
func (*TenantMember) Descriptor
deprecated
func (*TenantMember) Descriptor() ([]byte, []int)
Deprecated: Use TenantMember.ProtoReflect.Descriptor instead.
func (*TenantMember) GetCreatedAt ¶
func (x *TenantMember) GetCreatedAt() *timestamppb.Timestamp
func (*TenantMember) GetId ¶
func (x *TenantMember) GetId() string
func (*TenantMember) GetMeta ¶ added in v0.1.2
func (x *TenantMember) GetMeta() *Meta
func (*TenantMember) GetProjects ¶ added in v0.0.13
func (x *TenantMember) GetProjects() []string
func (*TenantMember) GetRole ¶
func (x *TenantMember) GetRole() TenantRole
func (*TenantMember) ProtoMessage ¶
func (*TenantMember) ProtoMessage()
func (*TenantMember) ProtoReflect ¶
func (x *TenantMember) ProtoReflect() protoreflect.Message
func (*TenantMember) Reset ¶
func (x *TenantMember) Reset()
func (*TenantMember) String ¶
func (x *TenantMember) String() string
type TenantPermissions ¶ added in v0.4.0
type TenantPermissions struct {
// Login of the tenant.
// Asterisk (*) can be specified to match any subject.
Login string `protobuf:"bytes,1,opt,name=login,proto3" json:"login,omitempty"`
// Methods which should be accessible.
Methods []string `protobuf:"bytes,2,rep,name=methods,proto3" json:"methods,omitempty"`
// contains filtered or unexported fields
}
TenantPermissions carries tenant method permissions.
func (*TenantPermissions) Descriptor
deprecated
added in
v0.4.0
func (*TenantPermissions) Descriptor() ([]byte, []int)
Deprecated: Use TenantPermissions.ProtoReflect.Descriptor instead.
func (*TenantPermissions) GetLogin ¶ added in v0.4.0
func (x *TenantPermissions) GetLogin() string
func (*TenantPermissions) GetMethods ¶ added in v0.4.0
func (x *TenantPermissions) GetMethods() []string
func (*TenantPermissions) ProtoMessage ¶ added in v0.4.0
func (*TenantPermissions) ProtoMessage()
func (*TenantPermissions) ProtoReflect ¶ added in v0.4.0
func (x *TenantPermissions) ProtoReflect() protoreflect.Message
func (*TenantPermissions) Reset ¶ added in v0.4.0
func (x *TenantPermissions) Reset()
func (*TenantPermissions) String ¶ added in v0.4.0
func (x *TenantPermissions) String() string
type TenantQuery ¶ added in v0.1.5
type TenantQuery struct {
// Id filters tenants by login.
Login *string `protobuf:"bytes,1,opt,name=login,proto3,oneof" json:"login,omitempty"`
// Name filters tenants by name.
Name *string `protobuf:"bytes,2,opt,name=name,proto3,oneof" json:"name,omitempty"`
// Labels lists only projects containing the given labels.
Labels *Labels `protobuf:"bytes,3,opt,name=labels,proto3,oneof" json:"labels,omitempty"`
// Paging details for the list request.
Paging *Paging `protobuf:"bytes,4,opt,name=paging,proto3" json:"paging,omitempty"`
// contains filtered or unexported fields
}
TenantQuery is used to search tenants.
func (*TenantQuery) Descriptor
deprecated
added in
v0.1.5
func (*TenantQuery) Descriptor() ([]byte, []int)
Deprecated: Use TenantQuery.ProtoReflect.Descriptor instead.
func (*TenantQuery) GetLabels ¶ added in v0.1.5
func (x *TenantQuery) GetLabels() *Labels
func (*TenantQuery) GetLogin ¶ added in v0.1.5
func (x *TenantQuery) GetLogin() string
func (*TenantQuery) GetName ¶ added in v0.1.5
func (x *TenantQuery) GetName() string
func (*TenantQuery) GetPaging ¶ added in v0.1.5
func (x *TenantQuery) GetPaging() *Paging
func (*TenantQuery) ProtoMessage ¶ added in v0.1.5
func (*TenantQuery) ProtoMessage()
func (*TenantQuery) ProtoReflect ¶ added in v0.1.5
func (x *TenantQuery) ProtoReflect() protoreflect.Message
func (*TenantQuery) Reset ¶ added in v0.1.5
func (x *TenantQuery) Reset()
func (*TenantQuery) String ¶ added in v0.1.5
func (x *TenantQuery) String() string
type TenantRole ¶
type TenantRole int32
TenantRole specifies what role a logged in user needs to call this tenant scoped service.
const ( // TENANT_ROLE_UNSPECIFIED is not specified. TenantRole_TENANT_ROLE_UNSPECIFIED TenantRole = 0 // TENANT_ROLE_OWNER the logged in user needs at least owner role to call this method. TenantRole_TENANT_ROLE_OWNER TenantRole = 1 // TENANT_ROLE_EDITOR the logged in user needs at least editor role to call this method. TenantRole_TENANT_ROLE_EDITOR TenantRole = 2 // TENANT_ROLE_VIEWER the logged in user needs at least viewer role to call this method. TenantRole_TENANT_ROLE_VIEWER TenantRole = 3 // TENANT_ROLE_GUEST the logged in user needs at least guest role to call this method. // The guest role is assumed by users who are invited to a tenant's project without them. // having a direct membership within the tenant. TenantRole_TENANT_ROLE_GUEST TenantRole = 4 )
func (TenantRole) Descriptor ¶
func (TenantRole) Descriptor() protoreflect.EnumDescriptor
func (TenantRole) Enum ¶
func (x TenantRole) Enum() *TenantRole
func (TenantRole) EnumDescriptor
deprecated
func (TenantRole) EnumDescriptor() ([]byte, []int)
Deprecated: Use TenantRole.Descriptor instead.
func (TenantRole) Number ¶
func (x TenantRole) Number() protoreflect.EnumNumber
func (TenantRole) String ¶
func (x TenantRole) String() string
func (TenantRole) Type ¶
func (TenantRole) Type() protoreflect.EnumType
type TenantServiceAddMemberRequest ¶ added in v0.3.0
type TenantServiceAddMemberRequest struct {
// Login of the tenant to which the member will be added.
Login string `protobuf:"bytes,1,opt,name=login,proto3" json:"login,omitempty"`
// Login of the member to add.
Member string `protobuf:"bytes,2,opt,name=member,proto3" json:"member,omitempty"`
// Role to assign to the new member.
Role TenantRole `protobuf:"varint,3,opt,name=role,proto3,enum=metalstack.api.v2.TenantRole" json:"role,omitempty"`
// contains filtered or unexported fields
}
TenantServiceAddMemberRequest is the request payload for adding a member to a tenant.
func (*TenantServiceAddMemberRequest) Descriptor
deprecated
added in
v0.3.0
func (*TenantServiceAddMemberRequest) Descriptor() ([]byte, []int)
Deprecated: Use TenantServiceAddMemberRequest.ProtoReflect.Descriptor instead.
func (*TenantServiceAddMemberRequest) GetLogin ¶ added in v0.3.0
func (x *TenantServiceAddMemberRequest) GetLogin() string
func (*TenantServiceAddMemberRequest) GetMember ¶ added in v0.3.0
func (x *TenantServiceAddMemberRequest) GetMember() string
func (*TenantServiceAddMemberRequest) GetRole ¶ added in v0.3.0
func (x *TenantServiceAddMemberRequest) GetRole() TenantRole
func (*TenantServiceAddMemberRequest) ProtoMessage ¶ added in v0.3.0
func (*TenantServiceAddMemberRequest) ProtoMessage()
func (*TenantServiceAddMemberRequest) ProtoReflect ¶ added in v0.3.0
func (x *TenantServiceAddMemberRequest) ProtoReflect() protoreflect.Message
func (*TenantServiceAddMemberRequest) Reset ¶ added in v0.3.0
func (x *TenantServiceAddMemberRequest) Reset()
func (*TenantServiceAddMemberRequest) String ¶ added in v0.3.0
func (x *TenantServiceAddMemberRequest) String() string
type TenantServiceAddMemberResponse ¶ added in v0.3.0
type TenantServiceAddMemberResponse struct {
// TenantMember is the added tenant member.
TenantMember *TenantMember `protobuf:"bytes,1,opt,name=tenant_member,json=tenantMember,proto3" json:"tenant_member,omitempty"`
// contains filtered or unexported fields
}
TenantServiceAddMemberResponse is the response payload for the add member request.
func (*TenantServiceAddMemberResponse) Descriptor
deprecated
added in
v0.3.0
func (*TenantServiceAddMemberResponse) Descriptor() ([]byte, []int)
Deprecated: Use TenantServiceAddMemberResponse.ProtoReflect.Descriptor instead.
func (*TenantServiceAddMemberResponse) GetTenantMember ¶ added in v0.3.0
func (x *TenantServiceAddMemberResponse) GetTenantMember() *TenantMember
func (*TenantServiceAddMemberResponse) ProtoMessage ¶ added in v0.3.0
func (*TenantServiceAddMemberResponse) ProtoMessage()
func (*TenantServiceAddMemberResponse) ProtoReflect ¶ added in v0.3.0
func (x *TenantServiceAddMemberResponse) ProtoReflect() protoreflect.Message
func (*TenantServiceAddMemberResponse) Reset ¶ added in v0.3.0
func (x *TenantServiceAddMemberResponse) Reset()
func (*TenantServiceAddMemberResponse) String ¶ added in v0.3.0
func (x *TenantServiceAddMemberResponse) String() string
type TenantServiceCreateRequest ¶
type TenantServiceCreateRequest struct {
// Name of this tenant.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Description of this tenant.
Description *string `protobuf:"bytes,2,opt,name=description,proto3,oneof" json:"description,omitempty"`
// Email of the tenant, if not set will be inherited from the creator.
Email *string `protobuf:"bytes,3,opt,name=email,proto3,oneof" json:"email,omitempty"`
// AvatarUrl of the tenant.
AvatarUrl *string `protobuf:"bytes,4,opt,name=avatar_url,json=avatarUrl,proto3,oneof" json:"avatar_url,omitempty"`
// Labels on the tenant.
Labels *Labels `protobuf:"bytes,5,opt,name=labels,proto3" json:"labels,omitempty"`
// contains filtered or unexported fields
}
TenantServiceCreateRequest is the request payload of the tenant create request.
func (*TenantServiceCreateRequest) Descriptor
deprecated
func (*TenantServiceCreateRequest) Descriptor() ([]byte, []int)
Deprecated: Use TenantServiceCreateRequest.ProtoReflect.Descriptor instead.
func (*TenantServiceCreateRequest) GetAvatarUrl ¶
func (x *TenantServiceCreateRequest) GetAvatarUrl() string
func (*TenantServiceCreateRequest) GetDescription ¶
func (x *TenantServiceCreateRequest) GetDescription() string
func (*TenantServiceCreateRequest) GetEmail ¶
func (x *TenantServiceCreateRequest) GetEmail() string
func (*TenantServiceCreateRequest) GetLabels ¶ added in v0.0.15
func (x *TenantServiceCreateRequest) GetLabels() *Labels
func (*TenantServiceCreateRequest) GetName ¶
func (x *TenantServiceCreateRequest) GetName() string
func (*TenantServiceCreateRequest) ProtoMessage ¶
func (*TenantServiceCreateRequest) ProtoMessage()
func (*TenantServiceCreateRequest) ProtoReflect ¶
func (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
}
TenantServiceInviteAcceptResponse is the response payload to a accept invite request.
func (*TenantServiceInviteAcceptResponse) Descriptor
deprecated
func (*TenantServiceInviteAcceptResponse) Descriptor() ([]byte, []int)
Deprecated: Use TenantServiceInviteAcceptResponse.ProtoReflect.Descriptor instead.
func (*TenantServiceInviteAcceptResponse) GetTenant ¶
func (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.
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 that have not yet accepted the invitation to this tenant.
Invites []*TenantInvite `protobuf:"bytes,1,rep,name=invites,proto3" json:"invites,omitempty"`
// contains filtered or unexported fields
}
TenantServiceInvitesListResponse is the response payload to a list invites request.
func (*TenantServiceInvitesListResponse) Descriptor
deprecated
func (*TenantServiceInvitesListResponse) Descriptor() ([]byte, []int)
Deprecated: Use TenantServiceInvitesListResponse.ProtoReflect.Descriptor instead.
func (*TenantServiceInvitesListResponse) GetInvites ¶
func (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 TenantServiceLeaveRequest ¶ added in v0.0.32
type TenantServiceLeaveRequest struct {
// Login of the tenant.
Login string `protobuf:"bytes,1,opt,name=login,proto3" json:"login,omitempty"`
// contains filtered or unexported fields
}
TenantServiceLeaveTenantRequest is used to leave a tenant.
func (*TenantServiceLeaveRequest) Descriptor
deprecated
added in
v0.0.32
func (*TenantServiceLeaveRequest) Descriptor() ([]byte, []int)
Deprecated: Use TenantServiceLeaveRequest.ProtoReflect.Descriptor instead.
func (*TenantServiceLeaveRequest) GetLogin ¶ added in v0.0.32
func (x *TenantServiceLeaveRequest) GetLogin() string
func (*TenantServiceLeaveRequest) ProtoMessage ¶ added in v0.0.32
func (*TenantServiceLeaveRequest) ProtoMessage()
func (*TenantServiceLeaveRequest) ProtoReflect ¶ added in v0.0.32
func (x *TenantServiceLeaveRequest) ProtoReflect() protoreflect.Message
func (*TenantServiceLeaveRequest) Reset ¶ added in v0.0.32
func (x *TenantServiceLeaveRequest) Reset()
func (*TenantServiceLeaveRequest) String ¶ added in v0.0.32
func (x *TenantServiceLeaveRequest) String() string
type TenantServiceLeaveResponse ¶ added in v0.0.32
type TenantServiceLeaveResponse struct {
// contains filtered or unexported fields
}
TenantServiceLeaveTenantResponse is the response payload to a leave tenant request.
func (*TenantServiceLeaveResponse) Descriptor
deprecated
added in
v0.0.32
func (*TenantServiceLeaveResponse) Descriptor() ([]byte, []int)
Deprecated: Use TenantServiceLeaveResponse.ProtoReflect.Descriptor instead.
func (*TenantServiceLeaveResponse) ProtoMessage ¶ added in v0.0.32
func (*TenantServiceLeaveResponse) ProtoMessage()
func (*TenantServiceLeaveResponse) ProtoReflect ¶ added in v0.0.32
func (x *TenantServiceLeaveResponse) ProtoReflect() protoreflect.Message
func (*TenantServiceLeaveResponse) Reset ¶ added in v0.0.32
func (x *TenantServiceLeaveResponse) Reset()
func (*TenantServiceLeaveResponse) String ¶ added in v0.0.32
func (x *TenantServiceLeaveResponse) String() string
type TenantServiceListRequest ¶
type TenantServiceListRequest struct {
// Query for tenants.
Query *TenantQuery `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"`
// contains filtered or unexported fields
}
TenantServiceListRequest is the request payload of the tenant list request.
func (*TenantServiceListRequest) Descriptor
deprecated
func (*TenantServiceListRequest) Descriptor() ([]byte, []int)
Deprecated: Use TenantServiceListRequest.ProtoReflect.Descriptor instead.
func (*TenantServiceListRequest) GetQuery ¶ added in v0.1.5
func (x *TenantServiceListRequest) GetQuery() *TenantQuery
func (*TenantServiceListRequest) ProtoMessage ¶
func (*TenantServiceListRequest) ProtoMessage()
func (*TenantServiceListRequest) ProtoReflect ¶
func (x *TenantServiceListRequest) ProtoReflect() protoreflect.Message
func (*TenantServiceListRequest) Reset ¶
func (x *TenantServiceListRequest) Reset()
func (*TenantServiceListRequest) String ¶
func (x *TenantServiceListRequest) String() string
type TenantServiceListResponse ¶
type TenantServiceListResponse struct {
// Tenants is the list of tenants.
Tenants []*Tenant `protobuf:"bytes,1,rep,name=tenants,proto3" json:"tenants,omitempty"`
// contains filtered or unexported fields
}
TenantServiceListResponse is the response payload of the tenant list request.
func (*TenantServiceListResponse) Descriptor
deprecated
func (*TenantServiceListResponse) Descriptor() ([]byte, []int)
Deprecated: Use TenantServiceListResponse.ProtoReflect.Descriptor instead.
func (*TenantServiceListResponse) GetTenants ¶
func (x *TenantServiceListResponse) GetTenants() []*Tenant
func (*TenantServiceListResponse) ProtoMessage ¶
func (*TenantServiceListResponse) ProtoMessage()
func (*TenantServiceListResponse) ProtoReflect ¶
func (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"`
// Member is the id of the member to remove from this tenant.
Member string `protobuf:"bytes,2,opt,name=member,proto3" json:"member,omitempty"`
// contains filtered or unexported fields
}
TenantServiceRemoveMemberRequest is used to remove a member from a tenant.
func (*TenantServiceRemoveMemberRequest) Descriptor
deprecated
func (*TenantServiceRemoveMemberRequest) Descriptor() ([]byte, []int)
Deprecated: Use TenantServiceRemoveMemberRequest.ProtoReflect.Descriptor instead.
func (*TenantServiceRemoveMemberRequest) GetLogin ¶
func (x *TenantServiceRemoveMemberRequest) GetLogin() string
func (*TenantServiceRemoveMemberRequest) GetMember ¶ added in v0.0.13
func (x *TenantServiceRemoveMemberRequest) GetMember() 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 {
// TenantMember is the removed tenant member.
TenantMember *TenantMember `protobuf:"bytes,1,opt,name=tenant_member,json=tenantMember,proto3" json:"tenant_member,omitempty"`
// contains filtered or unexported fields
}
TenantServiceRemoveMemberResponse is the response payload to a remove member request.
func (*TenantServiceRemoveMemberResponse) Descriptor
deprecated
func (*TenantServiceRemoveMemberResponse) Descriptor() ([]byte, []int)
Deprecated: Use TenantServiceRemoveMemberResponse.ProtoReflect.Descriptor instead.
func (*TenantServiceRemoveMemberResponse) GetTenantMember ¶ added in v0.3.0
func (x *TenantServiceRemoveMemberResponse) GetTenantMember() *TenantMember
func (*TenantServiceRemoveMemberResponse) ProtoMessage ¶
func (*TenantServiceRemoveMemberResponse) ProtoMessage()
func (*TenantServiceRemoveMemberResponse) ProtoReflect ¶
func (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"`
// Member is the id of the member to update in this tenant.
Member string `protobuf:"bytes,2,opt,name=member,proto3" json:"member,omitempty"`
// Role of this user in this tenant.
Role TenantRole `protobuf:"varint,3,opt,name=role,proto3,enum=metalstack.api.v2.TenantRole" json:"role,omitempty"`
// contains filtered or unexported fields
}
TenantServiceUpdateMemberRequest is used to update a member from a tenant.
func (*TenantServiceUpdateMemberRequest) Descriptor
deprecated
func (*TenantServiceUpdateMemberRequest) Descriptor() ([]byte, []int)
Deprecated: Use TenantServiceUpdateMemberRequest.ProtoReflect.Descriptor instead.
func (*TenantServiceUpdateMemberRequest) GetLogin ¶
func (x *TenantServiceUpdateMemberRequest) GetLogin() string
func (*TenantServiceUpdateMemberRequest) GetMember ¶ added in v0.0.13
func (x *TenantServiceUpdateMemberRequest) GetMember() 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"`
// UpdateMeta contains the timestamp and strategy to be used in this update request.
UpdateMeta *UpdateMeta `protobuf:"bytes,2,opt,name=update_meta,json=updateMeta,proto3" json:"update_meta,omitempty"`
// Name of the tenant.
Name *string `protobuf:"bytes,3,opt,name=name,proto3,oneof" json:"name,omitempty"`
// Email of the tenant.
Email *string `protobuf:"bytes,4,opt,name=email,proto3,oneof" json:"email,omitempty"`
// Description of this tenant.
Description *string `protobuf:"bytes,5,opt,name=description,proto3,oneof" json:"description,omitempty"`
// AvatarUrl of the tenant.
AvatarUrl *string `protobuf:"bytes,6,opt,name=avatar_url,json=avatarUrl,proto3,oneof" json:"avatar_url,omitempty"`
// Labels on the tenant.
Labels *UpdateLabels `protobuf:"bytes,7,opt,name=labels,proto3,oneof" json:"labels,omitempty"`
// contains filtered or unexported fields
}
TenantServiceUpdateRequest is the request payload of the tenant update request.
func (*TenantServiceUpdateRequest) Descriptor
deprecated
func (*TenantServiceUpdateRequest) Descriptor() ([]byte, []int)
Deprecated: Use TenantServiceUpdateRequest.ProtoReflect.Descriptor instead.
func (*TenantServiceUpdateRequest) GetAvatarUrl ¶
func (x *TenantServiceUpdateRequest) GetAvatarUrl() string
func (*TenantServiceUpdateRequest) GetDescription ¶
func (x *TenantServiceUpdateRequest) GetDescription() string
func (*TenantServiceUpdateRequest) GetEmail ¶
func (x *TenantServiceUpdateRequest) GetEmail() string
func (*TenantServiceUpdateRequest) GetLabels ¶ added in v0.0.15
func (x *TenantServiceUpdateRequest) GetLabels() *UpdateLabels
func (*TenantServiceUpdateRequest) GetLogin ¶
func (x *TenantServiceUpdateRequest) GetLogin() string
func (*TenantServiceUpdateRequest) GetName ¶
func (x *TenantServiceUpdateRequest) GetName() string
func (*TenantServiceUpdateRequest) GetUpdateMeta ¶ added in v0.0.21
func (x *TenantServiceUpdateRequest) GetUpdateMeta() *UpdateMeta
func (*TenantServiceUpdateRequest) ProtoMessage ¶
func (*TenantServiceUpdateRequest) ProtoMessage()
func (*TenantServiceUpdateRequest) ProtoReflect ¶
func (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"`
// User who created this token.
User string `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"`
// Meta for this token.
Meta *Meta `protobuf:"bytes,3,opt,name=meta,proto3" json:"meta,omitempty"`
// Description is a user given description of this token.
Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
// Permissions is a list of service methods this token can be used for.
Permissions []*MethodPermission `protobuf:"bytes,5,rep,name=permissions,proto3" json:"permissions,omitempty"`
// Expires gives the date in the future after which this token can not be used anymore.
Expires *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=expires,proto3" json:"expires,omitempty"`
// IssuedAt gives the date when this token was created.
IssuedAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=issued_at,json=issuedAt,proto3" json:"issued_at,omitempty"`
// TokenType describes the type of this token.
TokenType TokenType `protobuf:"varint,8,opt,name=token_type,json=tokenType,proto3,enum=metalstack.api.v2.TokenType" json:"token_type,omitempty"`
// ProjectRoles associates a project id with the corresponding role of the token owner.
ProjectRoles map[string]ProjectRole `` /* 207-byte string literal not displayed */
// TenantRoles associates a tenant id with the corresponding role of the token owner.
TenantRoles map[string]TenantRole `` /* 204-byte string literal not displayed */
// AdminRole defines the admin role of the token owner.
AdminRole *AdminRole `` /* 129-byte string literal not displayed */
// InfraRole defines the infrastructure role of the token owner.
InfraRole *InfraRole `` /* 129-byte string literal not displayed */
// MachineRoles associates a machine uuid with the corresponding role of the token owner.
// TODO: decide if we need this map from machine.uuid->role, we could instead use the subject in the token instead.
MachineRoles map[string]MachineRole `` /* 208-byte string literal not displayed */
// contains filtered or unexported fields
}
Token generates a jwt authentication token to access the api.
There are two different types of tokens, api- and user- tokens.
A user token is used to authenticate end user requests for example from a cli. The configured roles in a user token are expanded in the api server. based on the memberships in other projects and tenants based on the role granted there. User tokens will never contain permissions. Permissions are always derived from the tenant and project roles and memberships.
The api token should be used to authenticate services. In contrast to a user token, the api token permissions and roles apply as configured during the token create process.
func (*Token) Descriptor
deprecated
func (*Token) GetAdminRole ¶
func (*Token) GetDescription ¶
func (*Token) GetExpires ¶
func (x *Token) GetExpires() *timestamppb.Timestamp
func (*Token) GetInfraRole ¶ added in v0.0.33
func (*Token) GetIssuedAt ¶
func (x *Token) GetIssuedAt() *timestamppb.Timestamp
func (*Token) GetMachineRoles ¶ added in v0.0.41
func (x *Token) GetMachineRoles() map[string]MachineRole
func (*Token) 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 TokenQuery ¶ added in v0.1.3
type TokenQuery struct {
// UUID of the token to get.
Uuid *string `protobuf:"bytes,1,opt,name=uuid,proto3,oneof" json:"uuid,omitempty"`
// Name of the token user to query.
// Only useful for admins.
User *string `protobuf:"bytes,2,opt,name=user,proto3,oneof" json:"user,omitempty"`
// Description of the token to query.
Description *string `protobuf:"bytes,3,opt,name=description,proto3,oneof" json:"description,omitempty"`
// Labels lists only tokens containing the given labels.
Labels *Labels `protobuf:"bytes,4,opt,name=labels,proto3,oneof" json:"labels,omitempty"`
// Token type of the token to query.
TokenType *TokenType `` /* 128-byte string literal not displayed */
// contains filtered or unexported fields
}
TokenQuery is used to search tokens.
func (*TokenQuery) Descriptor
deprecated
added in
v0.1.3
func (*TokenQuery) Descriptor() ([]byte, []int)
Deprecated: Use TokenQuery.ProtoReflect.Descriptor instead.
func (*TokenQuery) GetDescription ¶ added in v0.1.3
func (x *TokenQuery) GetDescription() string
func (*TokenQuery) GetLabels ¶ added in v0.1.3
func (x *TokenQuery) GetLabels() *Labels
func (*TokenQuery) GetTokenType ¶ added in v0.1.3
func (x *TokenQuery) GetTokenType() TokenType
func (*TokenQuery) GetUser ¶ added in v0.1.3
func (x *TokenQuery) GetUser() string
func (*TokenQuery) GetUuid ¶ added in v0.1.3
func (x *TokenQuery) GetUuid() string
func (*TokenQuery) ProtoMessage ¶ added in v0.1.3
func (*TokenQuery) ProtoMessage()
func (*TokenQuery) ProtoReflect ¶ added in v0.1.3
func (x *TokenQuery) ProtoReflect() protoreflect.Message
func (*TokenQuery) Reset ¶ added in v0.1.3
func (x *TokenQuery) Reset()
func (*TokenQuery) String ¶ added in v0.1.3
func (x *TokenQuery) String() string
type TokenServiceCreateRequest ¶
type TokenServiceCreateRequest struct {
// Description of the token.
Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"`
// Permissions is a list of service methods this token can be used for.
Permissions []*PermissionsByVisibility `protobuf:"bytes,2,rep,name=permissions,proto3" json:"permissions,omitempty"`
// Expires gives the duration since now, after which this token can not be used anymore.
Expires *durationpb.Duration `protobuf:"bytes,3,opt,name=expires,proto3" json:"expires,omitempty"`
// ProjectRoles associates a project id with the corresponding role of the token owner.
ProjectRoles map[string]ProjectRole `` /* 207-byte string literal not displayed */
// TenantRoles associates a tenant id with the corresponding role of the token owner.
TenantRoles map[string]TenantRole `` /* 203-byte string literal not displayed */
// AdminRole defines the admin role of the token owner.
AdminRole *AdminRole `` /* 128-byte string literal not displayed */
// InfraRole defines the infrastructure role of the token owner.
InfraRole *InfraRole `` /* 128-byte string literal not displayed */
// MachineRoles associates a machine uuid with the corresponding role of the token owner.
MachineRoles map[string]MachineRole `` /* 207-byte string literal not displayed */
// Labels on this token.
Labels *Labels `protobuf:"bytes,9,opt,name=labels,proto3" json:"labels,omitempty"`
// contains filtered or unexported fields
}
TokenServiceCreateRequest is the request payload to create a token.
func (*TokenServiceCreateRequest) Descriptor
deprecated
func (*TokenServiceCreateRequest) Descriptor() ([]byte, []int)
Deprecated: Use TokenServiceCreateRequest.ProtoReflect.Descriptor instead.
func (*TokenServiceCreateRequest) GetAdminRole ¶
func (x *TokenServiceCreateRequest) GetAdminRole() AdminRole
func (*TokenServiceCreateRequest) GetDescription ¶
func (x *TokenServiceCreateRequest) GetDescription() string
func (*TokenServiceCreateRequest) GetExpires ¶
func (x *TokenServiceCreateRequest) GetExpires() *durationpb.Duration
func (*TokenServiceCreateRequest) GetInfraRole ¶ added in v0.0.33
func (x *TokenServiceCreateRequest) GetInfraRole() InfraRole
func (*TokenServiceCreateRequest) GetLabels ¶ added in v0.0.30
func (x *TokenServiceCreateRequest) GetLabels() *Labels
func (*TokenServiceCreateRequest) GetMachineRoles ¶ added in v0.0.41
func (x *TokenServiceCreateRequest) GetMachineRoles() map[string]MachineRole
func (*TokenServiceCreateRequest) GetPermissions ¶
func (x *TokenServiceCreateRequest) GetPermissions() []*PermissionsByVisibility
func (*TokenServiceCreateRequest) GetProjectRoles ¶
func (x *TokenServiceCreateRequest) GetProjectRoles() map[string]ProjectRole
func (*TokenServiceCreateRequest) GetTenantRoles ¶
func (x *TokenServiceCreateRequest) GetTenantRoles() map[string]TenantRole
func (*TokenServiceCreateRequest) ProtoMessage ¶
func (*TokenServiceCreateRequest) ProtoMessage()
func (*TokenServiceCreateRequest) ProtoReflect ¶
func (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 of the JWT token, should be used in API requests as bearer token.
Secret string `protobuf:"bytes,2,opt,name=secret,proto3" json:"secret,omitempty"`
// contains filtered or unexported fields
}
TokenServiceCreateResponse is the response payload of a token create request.
func (*TokenServiceCreateResponse) Descriptor
deprecated
func (*TokenServiceCreateResponse) Descriptor() ([]byte, []int)
Deprecated: Use TokenServiceCreateResponse.ProtoReflect.Descriptor instead.
func (*TokenServiceCreateResponse) GetSecret ¶
func (x *TokenServiceCreateResponse) GetSecret() string
func (*TokenServiceCreateResponse) GetToken ¶
func (x *TokenServiceCreateResponse) GetToken() *Token
func (*TokenServiceCreateResponse) ProtoMessage ¶
func (*TokenServiceCreateResponse) ProtoMessage()
func (*TokenServiceCreateResponse) ProtoReflect ¶
func (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 {
// Query for tokens.
Query *TokenQuery `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"`
// contains filtered or unexported fields
}
TokenServiceListRequest is the request payload to list tokens.
func (*TokenServiceListRequest) Descriptor
deprecated
func (*TokenServiceListRequest) Descriptor() ([]byte, []int)
Deprecated: Use TokenServiceListRequest.ProtoReflect.Descriptor instead.
func (*TokenServiceListRequest) GetQuery ¶ added in v0.1.3
func (x *TokenServiceListRequest) GetQuery() *TokenQuery
func (*TokenServiceListRequest) ProtoMessage ¶
func (*TokenServiceListRequest) ProtoMessage()
func (*TokenServiceListRequest) ProtoReflect ¶
func (x *TokenServiceListRequest) ProtoReflect() protoreflect.Message
func (*TokenServiceListRequest) Reset ¶
func (x *TokenServiceListRequest) Reset()
func (*TokenServiceListRequest) String ¶
func (x *TokenServiceListRequest) String() string
type TokenServiceListResponse ¶
type TokenServiceListResponse struct {
// Tokens is a list of tokens without the secrets.
Tokens []*Token `protobuf:"bytes,1,rep,name=tokens,proto3" json:"tokens,omitempty"`
// contains filtered or unexported fields
}
TokenServiceListResponse is the response payload of a token list request.
func (*TokenServiceListResponse) Descriptor
deprecated
func (*TokenServiceListResponse) Descriptor() ([]byte, []int)
Deprecated: Use TokenServiceListResponse.ProtoReflect.Descriptor instead.
func (*TokenServiceListResponse) GetTokens ¶
func (x *TokenServiceListResponse) GetTokens() []*Token
func (*TokenServiceListResponse) ProtoMessage ¶
func (*TokenServiceListResponse) ProtoMessage()
func (*TokenServiceListResponse) ProtoReflect ¶
func (x *TokenServiceListResponse) ProtoReflect() protoreflect.Message
func (*TokenServiceListResponse) Reset ¶
func (x *TokenServiceListResponse) Reset()
func (*TokenServiceListResponse) String ¶
func (x *TokenServiceListResponse) String() string
type TokenServiceRefreshRequest ¶ added in v0.0.4
type TokenServiceRefreshRequest struct {
// contains filtered or unexported fields
}
TokenServiceRefreshRequest is the request payload of a token refresh request. Permissions, Roles and Expiration duration and all other properties are inherited from the calling token. The expiration duration will be calculated from the existing token (exp - iat).
func (*TokenServiceRefreshRequest) Descriptor
deprecated
added in
v0.0.4
func (*TokenServiceRefreshRequest) Descriptor() ([]byte, []int)
Deprecated: Use TokenServiceRefreshRequest.ProtoReflect.Descriptor instead.
func (*TokenServiceRefreshRequest) ProtoMessage ¶ added in v0.0.4
func (*TokenServiceRefreshRequest) ProtoMessage()
func (*TokenServiceRefreshRequest) ProtoReflect ¶ added in v0.0.4
func (x *TokenServiceRefreshRequest) ProtoReflect() protoreflect.Message
func (*TokenServiceRefreshRequest) Reset ¶ added in v0.0.4
func (x *TokenServiceRefreshRequest) Reset()
func (*TokenServiceRefreshRequest) String ¶ added in v0.0.4
func (x *TokenServiceRefreshRequest) String() string
type TokenServiceRefreshResponse ¶ added in v0.0.4
type TokenServiceRefreshResponse struct {
// Token which was refreshed.
Token *Token `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
// Secret is the body of the JWT token, should be used in API requests as bearer token.
Secret string `protobuf:"bytes,2,opt,name=secret,proto3" json:"secret,omitempty"`
// contains filtered or unexported fields
}
TokenServiceRefreshResponse is the response payload of a token refresh request.
func (*TokenServiceRefreshResponse) Descriptor
deprecated
added in
v0.0.4
func (*TokenServiceRefreshResponse) Descriptor() ([]byte, []int)
Deprecated: Use TokenServiceRefreshResponse.ProtoReflect.Descriptor instead.
func (*TokenServiceRefreshResponse) GetSecret ¶ added in v0.0.4
func (x *TokenServiceRefreshResponse) GetSecret() string
func (*TokenServiceRefreshResponse) GetToken ¶ added in v0.0.4
func (x *TokenServiceRefreshResponse) GetToken() *Token
func (*TokenServiceRefreshResponse) ProtoMessage ¶ added in v0.0.4
func (*TokenServiceRefreshResponse) ProtoMessage()
func (*TokenServiceRefreshResponse) ProtoReflect ¶ added in v0.0.4
func (x *TokenServiceRefreshResponse) ProtoReflect() protoreflect.Message
func (*TokenServiceRefreshResponse) Reset ¶ added in v0.0.4
func (x *TokenServiceRefreshResponse) Reset()
func (*TokenServiceRefreshResponse) String ¶ added in v0.0.4
func (x *TokenServiceRefreshResponse) String() string
type TokenServiceRevokeRequest ¶
type TokenServiceRevokeRequest struct {
// Uuid of the token to revoke.
Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
// contains filtered or unexported fields
}
TokenServiceRevokeRequest is the request payload of a token revoke request.
func (*TokenServiceRevokeRequest) Descriptor
deprecated
func (*TokenServiceRevokeRequest) Descriptor() ([]byte, []int)
Deprecated: Use TokenServiceRevokeRequest.ProtoReflect.Descriptor instead.
func (*TokenServiceRevokeRequest) GetUuid ¶
func (x *TokenServiceRevokeRequest) GetUuid() string
func (*TokenServiceRevokeRequest) ProtoMessage ¶
func (*TokenServiceRevokeRequest) ProtoMessage()
func (*TokenServiceRevokeRequest) ProtoReflect ¶
func (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"`
// UpdateMeta contains the timestamp and strategy to be used in this update request.
// TokenUpdate is not guarded with optlock in the backend.
UpdateMeta *UpdateMeta `protobuf:"bytes,2,opt,name=update_meta,json=updateMeta,proto3" json:"update_meta,omitempty"`
// Description is a user given description of this token.
Description *string `protobuf:"bytes,3,opt,name=description,proto3,oneof" json:"description,omitempty"`
// Permissions is a list of service methods this token can be used for.
Permissions []*PermissionsByVisibility `protobuf:"bytes,4,rep,name=permissions,proto3" json:"permissions,omitempty"`
// ProjectRoles associates a project id with the corresponding role of the token owner.
ProjectRoles map[string]ProjectRole `` /* 207-byte string literal not displayed */
// TenantRoles associates a tenant id with the corresponding role of the token owner.
TenantRoles map[string]TenantRole `` /* 203-byte string literal not displayed */
// AdminRole defines the admin role of the token owner.
AdminRole *AdminRole `` /* 128-byte string literal not displayed */
// InfraRole defines the infrastructure role of the token owner.
InfraRole *InfraRole `` /* 128-byte string literal not displayed */
// MachineRoles associates a machine uuid with the corresponding role of the token owner.
MachineRoles map[string]MachineRole `` /* 207-byte string literal not displayed */
// Labels on this token.
Labels *UpdateLabels `protobuf:"bytes,10,opt,name=labels,proto3" json:"labels,omitempty"`
// contains filtered or unexported fields
}
TokenServiceUpdateRequest is the request payload of a token update request.
func (*TokenServiceUpdateRequest) Descriptor
deprecated
func (*TokenServiceUpdateRequest) Descriptor() ([]byte, []int)
Deprecated: Use TokenServiceUpdateRequest.ProtoReflect.Descriptor instead.
func (*TokenServiceUpdateRequest) GetAdminRole ¶
func (x *TokenServiceUpdateRequest) GetAdminRole() AdminRole
func (*TokenServiceUpdateRequest) GetDescription ¶
func (x *TokenServiceUpdateRequest) GetDescription() string
func (*TokenServiceUpdateRequest) GetInfraRole ¶ added in v0.0.33
func (x *TokenServiceUpdateRequest) GetInfraRole() InfraRole
func (*TokenServiceUpdateRequest) GetLabels ¶ added in v0.0.30
func (x *TokenServiceUpdateRequest) GetLabels() *UpdateLabels
func (*TokenServiceUpdateRequest) GetMachineRoles ¶ added in v0.0.41
func (x *TokenServiceUpdateRequest) GetMachineRoles() map[string]MachineRole
func (*TokenServiceUpdateRequest) GetPermissions ¶
func (x *TokenServiceUpdateRequest) GetPermissions() []*PermissionsByVisibility
func (*TokenServiceUpdateRequest) GetProjectRoles ¶
func (x *TokenServiceUpdateRequest) GetProjectRoles() map[string]ProjectRole
func (*TokenServiceUpdateRequest) GetTenantRoles ¶
func (x *TokenServiceUpdateRequest) GetTenantRoles() map[string]TenantRole
func (*TokenServiceUpdateRequest) GetUpdateMeta ¶ added in v0.0.21
func (x *TokenServiceUpdateRequest) GetUpdateMeta() *UpdateMeta
func (*TokenServiceUpdateRequest) GetUuid ¶
func (x *TokenServiceUpdateRequest) GetUuid() string
func (*TokenServiceUpdateRequest) ProtoMessage ¶
func (*TokenServiceUpdateRequest) ProtoMessage()
func (*TokenServiceUpdateRequest) ProtoReflect ¶
func (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.
const ( // TOKEN_TYPE_UNSPECIFIED is not specified. TokenType_TOKEN_TYPE_UNSPECIFIED TokenType = 0 // TOKEN_TYPE_API is a token for api usage. TokenType_TOKEN_TYPE_API TokenType = 1 // TOKEN_TYPE_USER is a token to access the api with cli, a web application or other user induced actions. TokenType_TOKEN_TYPE_USER TokenType = 2 )
func (TokenType) Descriptor ¶
func (TokenType) Descriptor() protoreflect.EnumDescriptor
func (TokenType) EnumDescriptor
deprecated
func (TokenType) Number ¶
func (x TokenType) Number() protoreflect.EnumNumber
func (TokenType) Type ¶
func (TokenType) Type() protoreflect.EnumType
type UpdateLabels ¶
type UpdateLabels struct {
// Strategy defines the label update strategy.
//
// Types that are valid to be assigned to Strategy:
//
// *UpdateLabels_Replace
// *UpdateLabels_Patch
Strategy isUpdateLabels_Strategy `protobuf_oneof:"strategy"`
// contains filtered or unexported fields
}
UpdateLabels is a message to update labels.
func (*UpdateLabels) Descriptor
deprecated
func (*UpdateLabels) Descriptor() ([]byte, []int)
Deprecated: Use UpdateLabels.ProtoReflect.Descriptor instead.
func (*UpdateLabels) GetPatch ¶ added in v0.2.3
func (x *UpdateLabels) GetPatch() *LabelsPatch
func (*UpdateLabels) GetReplace ¶ added in v0.2.1
func (x *UpdateLabels) GetReplace() *Labels
func (*UpdateLabels) GetStrategy ¶ added in v0.2.1
func (x *UpdateLabels) GetStrategy() isUpdateLabels_Strategy
func (*UpdateLabels) ProtoMessage ¶
func (*UpdateLabels) ProtoMessage()
func (*UpdateLabels) ProtoReflect ¶
func (x *UpdateLabels) ProtoReflect() protoreflect.Message
func (*UpdateLabels) Reset ¶
func (x *UpdateLabels) Reset()
func (*UpdateLabels) String ¶
func (x *UpdateLabels) String() string
type UpdateLabels_Patch ¶ added in v0.2.3
type UpdateLabels_Patch struct {
// Patch adds, updates or remove given labels without modifying others.
Patch *LabelsPatch `protobuf:"bytes,2,opt,name=patch,proto3,oneof"`
}
type UpdateLabels_Replace ¶ added in v0.2.1
type UpdateLabels_Replace struct {
// Replace existing labels with the given ones.
Replace *Labels `protobuf:"bytes,1,opt,name=replace,proto3,oneof"`
}
type UpdateMeta ¶ added in v0.0.21
type UpdateMeta struct {
// UpdatedAt is the date when this entity was updated.
// Must be part of the update request to ensure optimistic locking.
UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
// LockingStrategy to be used for this update request.
LockingStrategy OptimisticLockingStrategy `` /* 156-byte string literal not displayed */
// contains filtered or unexported fields
}
UpdateMeta must be provided with every UpdateRequest to define how optimistic locking should be handled.
func (*UpdateMeta) Descriptor
deprecated
added in
v0.0.21
func (*UpdateMeta) Descriptor() ([]byte, []int)
Deprecated: Use UpdateMeta.ProtoReflect.Descriptor instead.
func (*UpdateMeta) GetLockingStrategy ¶ added in v0.0.21
func (x *UpdateMeta) GetLockingStrategy() OptimisticLockingStrategy
func (*UpdateMeta) GetUpdatedAt ¶ added in v0.0.21
func (x *UpdateMeta) GetUpdatedAt() *timestamppb.Timestamp
func (*UpdateMeta) ProtoMessage ¶ added in v0.0.21
func (*UpdateMeta) ProtoMessage()
func (*UpdateMeta) ProtoReflect ¶ added in v0.0.21
func (x *UpdateMeta) ProtoReflect() protoreflect.Message
func (*UpdateMeta) Reset ¶ added in v0.0.21
func (x *UpdateMeta) Reset()
func (*UpdateMeta) String ¶ added in v0.0.21
func (x *UpdateMeta) String() string
type User ¶
type User struct {
// Login is the login at the provider.
Login string `protobuf:"bytes,1,opt,name=login,proto3" json:"login,omitempty"`
// Name of the user.
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// Email of the user.
Email string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"`
// AvatarUrl of the user.
AvatarUrl string `protobuf:"bytes,4,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"`
// Tenants the user belongs to.
Tenants []*Tenant `protobuf:"bytes,5,rep,name=tenants,proto3" json:"tenants,omitempty"`
// Projects the user belongs to.
Projects []*Project `protobuf:"bytes,6,rep,name=projects,proto3" json:"projects,omitempty"`
// DefaultTenant the default tenant that this user belongs to.
DefaultTenant *Tenant `protobuf:"bytes,7,opt,name=default_tenant,json=defaultTenant,proto3" json:"default_tenant,omitempty"`
// contains filtered or unexported fields
}
User represents an end user of the platform.
func (*User) Descriptor
deprecated
func (*User) 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 payload for getting the user.
func (*UserServiceGetRequest) Descriptor
deprecated
func (*UserServiceGetRequest) Descriptor() ([]byte, []int)
Deprecated: Use UserServiceGetRequest.ProtoReflect.Descriptor instead.
func (*UserServiceGetRequest) ProtoMessage ¶
func (*UserServiceGetRequest) ProtoMessage()
func (*UserServiceGetRequest) ProtoReflect ¶
func (x *UserServiceGetRequest) ProtoReflect() protoreflect.Message
func (*UserServiceGetRequest) Reset ¶
func (x *UserServiceGetRequest) Reset()
func (*UserServiceGetRequest) String ¶
func (x *UserServiceGetRequest) String() string
type UserServiceGetResponse ¶
type UserServiceGetResponse struct {
// User contains the authenticated user.
User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
// contains filtered or unexported fields
}
UserServiceGetResponse is the response payload for getting the user.
func (*UserServiceGetResponse) Descriptor
deprecated
func (*UserServiceGetResponse) Descriptor() ([]byte, []int)
Deprecated: Use UserServiceGetResponse.ProtoReflect.Descriptor instead.
func (*UserServiceGetResponse) GetUser ¶
func (x *UserServiceGetResponse) GetUser() *User
func (*UserServiceGetResponse) ProtoMessage ¶
func (*UserServiceGetResponse) ProtoMessage()
func (*UserServiceGetResponse) ProtoReflect ¶
func (x *UserServiceGetResponse) ProtoReflect() protoreflect.Message
func (*UserServiceGetResponse) Reset ¶
func (x *UserServiceGetResponse) Reset()
func (*UserServiceGetResponse) String ¶
func (x *UserServiceGetResponse) String() string
type VPNNode ¶ added in v0.0.37
type VPNNode struct {
// ID of this node.
Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
// Name of this node.
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// Project of this node, maps to a project.
Project string `protobuf:"bytes,3,opt,name=project,proto3" json:"project,omitempty"`
// IPAddresses of this node in the VPN.
IpAddresses []string `protobuf:"bytes,4,rep,name=ip_addresses,json=ipAddresses,proto3" json:"ip_addresses,omitempty"`
// LastSeen timestamp when this node reached out to the control plane.
LastSeen *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=last_seen,json=lastSeen,proto3" json:"last_seen,omitempty"`
// Online indicates if this node is online.
Online bool `protobuf:"varint,6,opt,name=online,proto3" json:"online,omitempty"`
// contains filtered or unexported fields
}
VPNNode represents a machine connected to the VPN.
func (*VPNNode) Descriptor
deprecated
added in
v0.0.37
func (*VPNNode) GetIpAddresses ¶ added in v0.0.37
func (*VPNNode) GetLastSeen ¶ added in v0.0.37
func (x *VPNNode) GetLastSeen() *timestamppb.Timestamp
func (*VPNNode) GetProject ¶ added in v0.0.37
func (*VPNNode) ProtoMessage ¶ added in v0.0.37
func (*VPNNode) ProtoMessage()
func (*VPNNode) ProtoReflect ¶ added in v0.0.37
func (x *VPNNode) ProtoReflect() protoreflect.Message
type Version ¶
type Version struct {
// Version of the application.
Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
// Revision of the application.
Revision string `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"`
// GitSHA1 of the application.
GitSha1 string `protobuf:"bytes,3,opt,name=git_sha1,json=gitSha1,proto3" json:"git_sha1,omitempty"`
// BuildDate of the application.
BuildDate string `protobuf:"bytes,4,opt,name=build_date,json=buildDate,proto3" json:"build_date,omitempty"`
// contains filtered or unexported fields
}
Version represents the version of the application.
func (*Version) Descriptor
deprecated
func (*Version) 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 for getting the version.
func (*VersionServiceGetRequest) Descriptor
deprecated
func (*VersionServiceGetRequest) Descriptor() ([]byte, []int)
Deprecated: Use VersionServiceGetRequest.ProtoReflect.Descriptor instead.
func (*VersionServiceGetRequest) ProtoMessage ¶
func (*VersionServiceGetRequest) ProtoMessage()
func (*VersionServiceGetRequest) ProtoReflect ¶
func (x *VersionServiceGetRequest) ProtoReflect() protoreflect.Message
func (*VersionServiceGetRequest) Reset ¶
func (x *VersionServiceGetRequest) Reset()
func (*VersionServiceGetRequest) String ¶
func (x *VersionServiceGetRequest) String() string
type VersionServiceGetResponse ¶
type VersionServiceGetResponse struct {
// Version contains the version of the application.
Version *Version `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
// contains filtered or unexported fields
}
VersionServiceGetResponse is the response payload for getting the version.
func (*VersionServiceGetResponse) Descriptor
deprecated
func (*VersionServiceGetResponse) Descriptor() ([]byte, []int)
Deprecated: Use VersionServiceGetResponse.ProtoReflect.Descriptor instead.
func (*VersionServiceGetResponse) GetVersion ¶
func (x *VersionServiceGetResponse) GetVersion() *Version
func (*VersionServiceGetResponse) ProtoMessage ¶
func (*VersionServiceGetResponse) ProtoMessage()
func (*VersionServiceGetResponse) ProtoReflect ¶
func (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 restricts calls to the authenticated user only. Visibility_VISIBILITY_SELF Visibility = 2 )
func (Visibility) Descriptor ¶
func (Visibility) Descriptor() protoreflect.EnumDescriptor
func (Visibility) Enum ¶
func (x Visibility) Enum() *Visibility
func (Visibility) EnumDescriptor
deprecated
func (Visibility) EnumDescriptor() ([]byte, []int)
Deprecated: Use Visibility.Descriptor instead.
func (Visibility) Number ¶
func (x Visibility) Number() protoreflect.EnumNumber
func (Visibility) String ¶
func (x Visibility) String() string
func (Visibility) Type ¶
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