diff --git a/bun.lock b/bun.lock index aac5b70d..15b35611 100644 --- a/bun.lock +++ b/bun.lock @@ -9,6 +9,7 @@ "@connectrpc/connect-web": "^2.1.2", }, "devDependencies": { + "@types/bun": "^1.3.14", "typescript": "^7.0.2", }, }, @@ -20,6 +21,10 @@ "@connectrpc/connect-web": ["@connectrpc/connect-web@2.1.2", "", { "peerDependencies": { "@bufbuild/protobuf": "^2.7.0", "@connectrpc/connect": "2.1.2" } }, "sha512-1tfaK85MU+gJjwwmL31d2rzdf0XCYX99chZf63uG89SGBUd4XuZ4ZzhGo2u79TPXOE6nLIZQ2okrpyey42PYdg=="], + "@types/bun": ["@types/bun@1.3.14", "", { "dependencies": { "bun-types": "1.3.14" } }, "sha512-h1hFqFVcvAvD9j9K7ZW7vd82aSA+rTdznZa+5bwvCwqSB1jmmfLcbIWhOLx1/+boy/xmjgCs/OMUL8hRJSmnPw=="], + + "@types/node": ["@types/node@26.2.0", "", { "dependencies": { "undici-types": "~8.3.0" } }, "sha512-5IviulTZeRNp2vAJ514cc/HUlY5nZ9fCbq9DMyC52BrhFZACo3nI0R7qBxhQmo/d27NFe96ur/b7Wwxklda+kg=="], + "@typescript/typescript-aix-ppc64": ["@typescript/typescript-aix-ppc64@7.0.2", "", { "os": "aix", "cpu": "ppc64" }, "sha512-MTKKkWB7p/0E9xi1d1tHtZ5PiLkGEMIq88pK2CubZjOsLtYTLqhgIgi6zepFa+9GHZ6h05NMCkQxGKiPXMxXtQ=="], "@typescript/typescript-darwin-arm64": ["@typescript/typescript-darwin-arm64@7.0.2", "", { "os": "darwin", "cpu": "arm64" }, "sha512-gowzar9MwS/aRWp6f3a4KUqzRjAZjOsmGNCM6LcTgXum+dBfgsBVMN+AgvOCCbguXyick6LJhpBszxMebJ8syA=="], @@ -60,6 +65,10 @@ "@typescript/typescript-win32-x64": ["@typescript/typescript-win32-x64@7.0.2", "", { "os": "win32", "cpu": "x64" }, "sha512-0BQ3HkAHHlKLSp1qRvf3SUhGpGsDuhB/jgFw75guyqbxJqEaS0Cw/VFO8i2nHglJUzQCRtMMR/IBAKE3ETMC4g=="], + "bun-types": ["bun-types@1.3.14", "", { "dependencies": { "@types/node": "*" } }, "sha512-4N0ig0fEomHt5R0KCFWjovxow98rIoRwKolrYdCcknNwMekCXRnWEUvgu5soYV8QXtVsrUD8B95MBOZGPvr6KQ=="], + "typescript": ["typescript@7.0.2", "", { "optionalDependencies": { "@typescript/typescript-aix-ppc64": "7.0.2", "@typescript/typescript-darwin-arm64": "7.0.2", "@typescript/typescript-darwin-x64": "7.0.2", "@typescript/typescript-freebsd-arm64": "7.0.2", "@typescript/typescript-freebsd-x64": "7.0.2", "@typescript/typescript-linux-arm": "7.0.2", "@typescript/typescript-linux-arm64": "7.0.2", "@typescript/typescript-linux-loong64": "7.0.2", "@typescript/typescript-linux-mips64el": "7.0.2", "@typescript/typescript-linux-ppc64": "7.0.2", "@typescript/typescript-linux-riscv64": "7.0.2", "@typescript/typescript-linux-s390x": "7.0.2", "@typescript/typescript-linux-x64": "7.0.2", "@typescript/typescript-netbsd-arm64": "7.0.2", "@typescript/typescript-netbsd-x64": "7.0.2", "@typescript/typescript-openbsd-arm64": "7.0.2", "@typescript/typescript-openbsd-x64": "7.0.2", "@typescript/typescript-sunos-x64": "7.0.2", "@typescript/typescript-win32-arm64": "7.0.2", "@typescript/typescript-win32-x64": "7.0.2" }, "bin": { "tsc": "bin/tsc" } }, "sha512-8FYau96o3NKOhbjKi/qNvG/W5jhzxkbdm5sj9AbZ/5T5sWqn3hJgLfGx27sRKZWTvyzCP8dLRBTf5tBTSRVUNA=="], + + "undici-types": ["undici-types@8.3.0", "", {}, "sha512-j375ScV60dom+YkPFIfTLcOiPxkN/buHz5GobjLhixFuANaNs3C9l4GmrWqejgXWJ7BbJcFYpTEUkS1Ge8bpZQ=="], } } diff --git a/doc/index.html b/doc/index.html index 13621e3d..179deb09 100644 --- a/doc/index.html +++ b/doc/index.html @@ -2881,7 +2881,7 @@

File-level Extensio bool .buf.validate.MapRules 80068951 -

Keys and Values trimmed enforces all map keys and values to be trimmed, e.g. no whitespaces at the begin and end

+

Keys and Values trimmed enforces all map keys and values to be trimmed, e.g. no whitespaces at the begin and end.

@@ -2889,7 +2889,7 @@

File-level Extensio bool .buf.validate.MapRules 80068952 -

Keys trimmed enforces all map keys and values to be trimmed, e.g. no whitespaces at the begin and end

+

Keys trimmed enforces all map keys and values to be trimmed, e.g. no whitespaces at the begin and end.

@@ -2897,7 +2897,7 @@

File-level Extensio bool .buf.validate.MapRules 80068955 -

MachineRolesKeysValid ensures that machine roles keys met our requirements

+

MachineRolesKeysValid ensures that machine roles keys met our requirements.

@@ -2905,7 +2905,7 @@

File-level Extensio bool .buf.validate.MapRules 80068953 -

ProjectRolesKeysValid ensures that project roles keys met our requirements

+

ProjectRolesKeysValid ensures that project roles keys met our requirements.

@@ -2913,7 +2913,7 @@

File-level Extensio bool .buf.validate.MapRules 80068954 -

TenantRolesKeysValid ensures that tenant roles keys met our requirements

+

TenantRolesKeysValid ensures that tenant roles keys met our requirements.

@@ -2921,7 +2921,7 @@

File-level Extensio bool .buf.validate.RepeatedRules 80058954 -

All Trimmed enforces all strings to be trimmed, e.g. no whitespaces at the begin and end

+

All Trimmed enforces all strings to be trimmed, e.g. no whitespaces at the begin and end.

@@ -2929,7 +2929,7 @@

File-level Extensio bool .buf.validate.RepeatedRules 80058953 -

AreHostAndPort validates if a slice of strings are all in the form of <ip | host>:<port>

+

AreHostAndPort validates if a slice of strings are all in the form of <ip | host>:<port>.

@@ -2937,7 +2937,7 @@

File-level Extensio bool .buf.validate.RepeatedRules 80058952 -

Ips validates if a slice of ips in string form are valid

+

Ips validates if a slice of ips in string form are valid.

@@ -2945,7 +2945,7 @@

File-level Extensio bool .buf.validate.RepeatedRules 80058951 -

Prefixes validates if a slice of prefixes in string form are valid

+

Prefixes validates if a slice of prefixes in string form are valid.

@@ -2953,7 +2953,7 @@

File-level Extensio bool .buf.validate.StringRules 80048953 -

IsDescription returns true if description field satisfies our requirements

+

IsDescription returns true if description field satisfies our requirements.

@@ -2961,7 +2961,7 @@

File-level Extensio bool .buf.validate.StringRules 80048957 -

IsIpOrHostname validates that the given string is either a ip or a hostname

+

IsIpOrHostname validates that the given string is either a ip or a hostname.

@@ -2969,7 +2969,7 @@

File-level Extensio bool .buf.validate.StringRules 80048961 -

IsKey returns true if name field satisfies our requirements

+

IsKey returns true if name field satisfies our requirements.

@@ -2977,7 +2977,7 @@

File-level Extensio bool .buf.validate.StringRules 80048965 -

IsMachineSubjectPermission returns true if name field satisfies our requirements

+

IsMachineSubjectPermission returns true if name field satisfies our requirements.

@@ -2985,7 +2985,7 @@

File-level Extensio bool .buf.validate.StringRules 80048952 -

IsName returns true if name field satisfies our requirements

+

IsName returns true if name field satisfies our requirements.

@@ -2993,7 +2993,7 @@

File-level Extensio bool .buf.validate.StringRules 80048960 -

IsOption returns true if name field satisfies our requirements

+

IsOption returns true if name field satisfies our requirements.

@@ -3001,7 +3001,7 @@

File-level Extensio bool .buf.validate.StringRules 80048954 -

IsPartition returns true if partition field satisfies our requirements

+

IsPartition returns true if partition field satisfies our requirements.

@@ -3009,7 +3009,7 @@

File-level Extensio bool .buf.validate.StringRules 80048955 -

IsPrefix validates if the given string is a valid prefix

+

IsPrefix validates if the given string is a valid prefix.

@@ -3017,7 +3017,7 @@

File-level Extensio bool .buf.validate.StringRules 80048964 -

IsProjectSubjectPermission returns true if name field satisfies our requirements

+

IsProjectSubjectPermission returns true if name field satisfies our requirements.

@@ -3025,7 +3025,7 @@

File-level Extensio bool .buf.validate.StringRules 80048962 -

IsTenantLogin returns true if name field satisfies our requirements

+

IsTenantLogin returns true if name field satisfies our requirements.

@@ -3033,7 +3033,7 @@

File-level Extensio bool .buf.validate.StringRules 80048963 -

IsTenantSubjectPermission returns true if name field satisfies our requirements

+

IsTenantSubjectPermission returns true if name field satisfies our requirements.

@@ -3041,7 +3041,7 @@

File-level Extensio bool .buf.validate.StringRules 80048956 -

IsUri validates if the given string is a valid URI

+

IsUri validates if the given string is a valid URI.

@@ -3049,7 +3049,7 @@

File-level Extensio bool .buf.validate.StringRules 80048959 -

IsUser returns true if name field satisfies our requirements

+

IsUser returns true if name field satisfies our requirements.

@@ -3057,7 +3057,7 @@

File-level Extensio bool .buf.validate.StringRules 80048951 -

Macaddress returns true if the given string is a valid macaddress

+

Macaddress returns true if the given string is a valid macaddress.

@@ -3065,7 +3065,7 @@

File-level Extensio bool .buf.validate.StringRules 80048958 -

Trimmed enforces the string to be trimmed, e.g. no whitespaces at the begin and end

+

Trimmed enforces the string to be trimmed, e.g. no whitespaces at the begin and end.

@@ -3082,7 +3082,7 @@

metalstack/api/v2/common.proto

Labels -

Labels define additional information to a entity

+

Labels define additional information to a entity.

@@ -3095,7 +3095,7 @@

Labels

- + @@ -3137,7 +3137,7 @@

Labels.LabelsEntry

LabelsPatch

-

LabelsPatch adds, updates or remove given labels without modifying others

+

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

labels Labels.LabelsEntry repeated

Labels consists labels

Labels consists labels.

@@ -3150,14 +3150,14 @@

LabelsPatch

- + - + @@ -3168,7 +3168,7 @@

LabelsPatch

Meta

-

Meta of a message

+

Meta of a message.

update Labels

Update labels. New ones will be added, existing ones overwritten

Update labels. New ones will be added, existing ones overwritten.

remove string repeated

Remove labels by key

Remove labels by key.

@@ -3181,22 +3181,22 @@

Meta

- + - + - + @@ -3222,7 +3222,7 @@

Meta

Paging

-

Paging defines paging for methods with a lot of results

+

Paging defines paging for methods with a lot of results.

labels Labels optional

Tags on this entity

Tags on this entity.

created_at google.protobuf.Timestamp

CreatedAt is the date when this entity was created

CreatedAt is the date when this entity was created.

updated_at google.protobuf.Timestamp

UpdatedAt is the date when this entity was updated -must be part of the update request to ensure optimistic locking

UpdatedAt is the date when this entity was updated. +must be part of the update request to ensure optimistic locking.

@@ -3235,7 +3235,7 @@

Paging

- @@ -3243,7 +3243,7 @@

Paging

- + @@ -3254,7 +3254,7 @@

Paging

UpdateLabels

-

UpdateLabels is a message to update labels

+

UpdateLabels is a message to update labels.

page uint64 optional

Page is used for pagination, if unset only the first page is returned, +

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.

count uint64 optional

Count is the number of results returned per page, if not given server side defaults apply

Count is the number of results returned per page, if not given server side defaults apply.

@@ -3267,14 +3267,14 @@

UpdateLabels

- + - + @@ -3285,7 +3285,7 @@

UpdateLabels

UpdateMeta

-

UpdateMeta must be provided with every UpdateRequest to define how optimistic locking should be handled

+

UpdateMeta must be provided with every UpdateRequest to define how optimistic locking should be handled.

replace Labels

Replace existing labels with the given ones

Replace existing labels with the given ones.

patch LabelsPatch

Patch adds, updates or remove given labels without modifying others

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

@@ -3298,15 +3298,15 @@

UpdateMeta

- + - + @@ -3319,7 +3319,7 @@

UpdateMeta

AdminRole

-

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

+

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

updated_at google.protobuf.Timestamp

UpdatedAt is the date when this entity was updated -must be part of the update request to ensure optimistic locking

UpdatedAt is the date when this entity was updated. +Must be part of the update request to ensure optimistic locking.

locking_strategy OptimisticLockingStrategy

LockingStrategy to be used for this update request

LockingStrategy to be used for this update request.

@@ -3329,26 +3329,26 @@

AdminRole

- + - + - +
NameNumberDescription
ADMIN_ROLE_UNSPECIFIED 0

ADMIN_ROLE_UNSPECIFIED is not specified

ADMIN_ROLE_UNSPECIFIED is not specified.

ADMIN_ROLE_EDITOR 1

ADMIN_ROLE_EDITOR the logged in user needs at least editor role to call this method

ADMIN_ROLE_EDITOR the logged in user needs at least editor role to call this method.

ADMIN_ROLE_VIEWER 2

ADMIN_ROLE_VIEWER the logged in user needs at least viewer role to call this method

ADMIN_ROLE_VIEWER the logged in user needs at least viewer role to call this method.

Auditing

-

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

+

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.

@@ -3358,26 +3358,26 @@

Auditing

- + - + - +
NameNumberDescription
AUDITING_UNSPECIFIED 0

AUDITING_UNSPECIFIED is not specified

AUDITING_UNSPECIFIED is not specified.

AUDITING_INCLUDED 1

AUDITING_INCLUDED if a method is annotated with this, all calls are audited

AUDITING_INCLUDED if a method is annotated with this, all calls are audited.

AUDITING_EXCLUDED 2

AUDITING_EXCLUDED if a method is annotated with this, no calls are audited

AUDITING_EXCLUDED if a method is annotated with this, no calls are audited.

InfraRole

-

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

+

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

@@ -3387,26 +3387,26 @@

InfraRole

- + - + - +
NameNumberDescription
INFRA_ROLE_UNSPECIFIED 0

INFRA_ROLE_UNSPECIFIED is not specified

INFRA_ROLE_UNSPECIFIED is not specified.

INFRA_ROLE_EDITOR 1

INFRA_ROLE_EDITOR a microservice needs at least editor role to call this method

INFRA_ROLE_EDITOR a microservice needs at least editor role to call this method.

INFRA_ROLE_VIEWER 2

INFRA_ROLE_VIEWER a microservice needs at least viewer role to call this method

INFRA_ROLE_VIEWER a microservice needs at least viewer role to call this method.

MachineRole

-

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

+

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

@@ -3416,26 +3416,26 @@

MachineRole

- + - + - +
NameNumberDescription
MACHINE_ROLE_UNSPECIFIED 0

MACHINE_ROLE_UNSPECIFIED is not specified

MACHINE_ROLE_UNSPECIFIED is not specified.

MACHINE_ROLE_EDITOR 1

MACHINE_ROLE_EDITOR a microservice needs at least editor role to call this method

MACHINE_ROLE_EDITOR a microservice needs at least editor role to call this method.

MACHINE_ROLE_VIEWER 2

MACHINE_ROLE_VIEWER a microservice needs at least viewer role to call this method

MACHINE_ROLE_VIEWER a microservice needs at least viewer role to call this method.

OptimisticLockingStrategy

-

OptimisticLockingStrategy defines how optimistic locking should be handled.

It defaults to client side, which requires the UpdatedAt timestamp to be provided

+

OptimisticLockingStrategy defines how optimistic locking should be handled.

It defaults to client side, which requires the UpdatedAt timestamp to be provided.

@@ -3445,27 +3445,27 @@

OptimisticLockingStrategy

- + - + - +
NameNumberDescription
OPTIMISTIC_LOCKING_STRATEGY_UNSPECIFIED 0

OPTIMISTIC_LOCKING_STRATEGY_UNSPECIFIED same as client side

OPTIMISTIC_LOCKING_STRATEGY_UNSPECIFIED same as client side.

OPTIMISTIC_LOCKING_STRATEGY_CLIENT 1

OPTIMISTIC_LOCKING_STRATEGY_CLIENT requires UpdatedAt to be specified

OPTIMISTIC_LOCKING_STRATEGY_CLIENT requires UpdatedAt to be specified.

OPTIMISTIC_LOCKING_STRATEGY_SERVER 2

OPTIMISTIC_LOCKING_STRATEGY_SERVER allows to omit UpdatedAt -and fetches the most recent entity before updating with the given values with the update request

OPTIMISTIC_LOCKING_STRATEGY_SERVER allows to omit UpdatedAt. +and fetches the most recent entity before updating with the given values with the update request.

ProjectRole

-

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

+

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

@@ -3475,32 +3475,32 @@

ProjectRole

- + - + - + - +
NameNumberDescription
PROJECT_ROLE_UNSPECIFIED 0

PROJECT_ROLE_UNSPECIFIED is not specified

PROJECT_ROLE_UNSPECIFIED is not specified.

PROJECT_ROLE_OWNER 1

PROJECT_ROLE_OWNER the logged in user needs at least owner role to call this method

PROJECT_ROLE_OWNER the logged in user needs at least owner role to call this method.

PROJECT_ROLE_EDITOR 2

PROJECT_ROLE_EDITOR the logged in user needs at least editor role to call this method

PROJECT_ROLE_EDITOR the logged in user needs at least editor role to call this method.

PROJECT_ROLE_VIEWER 3

PROJECT_ROLE_VIEWER the logged in user needs at least viewer role to call this method

PROJECT_ROLE_VIEWER the logged in user needs at least viewer role to call this method.

TenantRole

-

TenantRole specifies what role a logged in user needs to call this tenant scoped service

+

TenantRole specifies what role a logged in user needs to call this tenant scoped service.

@@ -3510,32 +3510,32 @@

TenantRole

- + - + - + - + - @@ -3543,7 +3543,7 @@

TenantRole

NameNumberDescription
TENANT_ROLE_UNSPECIFIED 0

TENANT_ROLE_UNSPECIFIED is not specified

TENANT_ROLE_UNSPECIFIED is not specified.

TENANT_ROLE_OWNER 1

TENANT_ROLE_OWNER the logged in user needs at least owner role to call this method

TENANT_ROLE_OWNER the logged in user needs at least owner role to call this method.

TENANT_ROLE_EDITOR 2

TENANT_ROLE_EDITOR the logged in user needs at least editor role to call this method

TENANT_ROLE_EDITOR the logged in user needs at least editor role to call this method.

TENANT_ROLE_VIEWER 3

TENANT_ROLE_VIEWER the logged in user needs at least viewer role to call this method

TENANT_ROLE_VIEWER the logged in user needs at least viewer role to call this method.

TENANT_ROLE_GUEST 4

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 +

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.

Visibility

-

Visibility of a method

+

Visibility of a method.

@@ -3553,19 +3553,19 @@

Visibility

- + - + - + @@ -3585,7 +3585,7 @@

File-level Extensions

- + @@ -3593,7 +3593,7 @@

File-level Extensions

- + @@ -3601,7 +3601,7 @@

File-level Extensions

- + @@ -3609,7 +3609,7 @@

File-level Extensions

- + @@ -3617,7 +3617,7 @@

File-level Extensions

- + @@ -3625,7 +3625,7 @@

File-level Extensions

- + @@ -3633,7 +3633,7 @@

File-level Extensions

- + @@ -3641,7 +3641,7 @@

File-level Extensions

- + @@ -3658,7 +3658,7 @@

metalstack/api/v2/audit.proto

AuditQuery -

AuditQuery is the query for audit traces

+

AuditQuery is the query for audit traces.

NameNumberDescription
VISIBILITY_UNSPECIFIED 0

VISIBILITY_UNSPECIFIED is not defined

VISIBILITY_UNSPECIFIED is not defined.

VISIBILITY_PUBLIC 1

VISIBILITY_PUBLIC specifies that this service is accessible without authentication

VISIBILITY_PUBLIC specifies that this service is accessible without authentication.

VISIBILITY_SELF 2

VISIBILITY_SELF restricts calls to the authenticated user only

VISIBILITY_SELF restricts calls to the authenticated user only.

string .google.protobuf.EnumValueOptions 52000

StringValue which can be set to a enum

StringValue which can be set to a enum.

AdminRole .google.protobuf.MethodOptions 51002

AdminRoles are used to define the admin role a logged in user must provide to call this method

AdminRoles are used to define the admin role a logged in user must provide to call this method.

Auditing .google.protobuf.MethodOptions 51004

Auditing defines if calls to this method should be audited or not

Auditing defines if calls to this method should be audited or not.

InfraRole .google.protobuf.MethodOptions 51005

InfraRoles are used to define the infra role a microservice must provide to call this method

InfraRoles are used to define the infra role a microservice must provide to call this method.

MachineRole .google.protobuf.MethodOptions 51006

MachineRole are used to define which machine role a microservice must provide to call this method

MachineRole are used to define which machine role a microservice must provide to call this method.

ProjectRole .google.protobuf.MethodOptions 51001

ProjectRoles are used to define the project role a logged in user must provide to call this method

ProjectRoles are used to define the project role a logged in user must provide to call this method.

TenantRole .google.protobuf.MethodOptions 51000

TenantRoles are used to define the tenant role a logged in user must provide to call this method

TenantRoles are used to define the tenant role a logged in user must provide to call this method.

Visibility .google.protobuf.MethodOptions 51003

Visibility defines the visibility of this method, this is used to have public or self visible methods

Visibility defines the visibility of this method, this is used to have public or self visible methods.

@@ -3671,77 +3671,77 @@

AuditQuery

- + - + - + - + - + - + - + - + - + - + - + @@ -3752,7 +3752,7 @@

AuditQuery

AuditServiceGetRequest

-

AuditServiceGetRequest is the request payload of a audit get request

+

AuditServiceGetRequest is the request payload of a audit get request.

uuid string optional

Uuid of the audit trace

Uuid of the audit trace.

from google.protobuf.Timestamp optional

From describes the start of the time window in which to list audit traces. Defaults to the last eight hours

From describes the start of the time window in which to list audit traces. Defaults to the last eight hours.

to google.protobuf.Timestamp optional

To describes the end of the time window in which to list audit traces. Defaults to the time the request was issued

To describes the end of the time window in which to list audit traces. Defaults to the time the request was issued.

user string optional

User is the user who called the api method

User is the user who called the api method.

project string optional

Project is the project targeted by the api call

Project is the project targeted by the api call.

method string optional

Method is the api method that was called

Method is the api method that was called.

source_ip string optional

Source IP contains the ip address of the caller

Source IP contains the ip address of the caller.

result_code int32 optional

Result Code is a string describing the result of the api call

Result Code is a string describing the result of the api call.

body string optional

Body is a string providing text-search of the body field

Body is a string providing text-search of the body field.

limit int32 optional

Limit is a number limiting the length of the response (min: 1, max: 1000, defaults to 200)

Limit is a number limiting the length of the response (min: 1, max: 1000, defaults to 200).

phase AuditPhase optional

Phase specifies the audit phase

Phase specifies the audit phase.

@@ -3765,21 +3765,21 @@

AuditServiceGetRequest

- + - + - + @@ -3790,7 +3790,7 @@

AuditServiceGetRequest

AuditServiceGetResponse

-

AuditServiceGetResponse is the response payload of a audit get request

+

AuditServiceGetResponse is the response payload of a audit get request.

login string

Login for this tenant

Login for this tenant.

uuid string

Uuid of the audit trace

Uuid of the audit trace.

phase AuditPhase optional

Phase specifies the audit phase. Defaults to request

Phase specifies the audit phase. Defaults to request.

@@ -3803,7 +3803,7 @@

AuditServiceGetResponse

- + @@ -3814,7 +3814,7 @@

AuditServiceGetResponse

AuditServiceListRequest

-

AuditServiceListRequest is the request payload for an audit list request

+

AuditServiceListRequest is the request payload for an audit list request.

trace AuditTrace

Trace is the audit trace

Trace is the audit trace.

@@ -3827,14 +3827,14 @@

AuditServiceListRequest

- + - + @@ -3845,7 +3845,7 @@

AuditServiceListRequest

AuditServiceListResponse

-

AuditServiceListResponse is the response payload of a audit list request

+

AuditServiceListResponse is the response payload of a audit list request.

login string

Login for this tenant

Login for this tenant.

query AuditQuery

Query for audit traces

Query for audit traces.

@@ -3858,7 +3858,7 @@

AuditServiceListResponse

traces
- + @@ -3882,77 +3882,77 @@

AuditTrace

- + - + - + - + - + - + - + - + - + - + - + @@ -3975,19 +3975,19 @@

AuditPhase

- + - + - + @@ -4045,14 +4045,14 @@

AuditServiceGetRequest

- + - + @@ -4076,7 +4076,7 @@

AuditServiceGetResponse

trace
- + @@ -4100,7 +4100,7 @@

AuditServiceListRequest

query
- + @@ -4124,7 +4124,7 @@

AuditServiceListResponsetraces

- + @@ -4175,7 +4175,7 @@

metalstack/api/v2/token.proto

AdminPermissions -

AdminPermissions carries admin method permissions

+

AdminPermissions carries admin method permissions.

AuditTrace repeated

Traces is a list of audit traces

Traces is a list of audit traces.

uuid string

Uuid of the audit trace

Uuid of the audit trace.

timestamp google.protobuf.Timestamp

Timestamp is the timestamp when the request arrived at the API

Timestamp is the timestamp when the request arrived at the API.

user string

User is the login user who called the API method

User is the login user who called the API method.

tenant string

Tenant is the tenant targeted by the API call

Tenant is the tenant targeted by the API call.

project string optional

Project is the project targeted by the API call

Project is the project targeted by the API call.

method string

Method is the API method that was called

Method is the API method that was called.

body string optional

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 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.

source_ip string

SourceIP contains the source IP address of the API call

SourceIP contains the source IP address of the API call.

result_code int32 optional

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 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.

phase AuditPhase

Phase represents the phase of the audit trace

Phase represents the phase of the audit trace.

meta Meta

Meta for this audit trace

Meta for this audit trace.

AUDIT_PHASE_UNSPECIFIED 0

AUDIT_PHASE_UNSPECIFIED is not specified

AUDIT_PHASE_UNSPECIFIED is not specified.

AUDIT_PHASE_REQUEST 1

AUDIT_PHASE_REQUEST defines an audit trace in the request phase

AUDIT_PHASE_REQUEST defines an audit trace in the request phase.

AUDIT_PHASE_RESPONSE 2

AUDIT_PHASE_RESPONSE defines an audit trace in the response phase

AUDIT_PHASE_RESPONSE defines an audit trace in the response phase.

uuid string

Uuid of the audit trace

Uuid of the audit trace.

phase metalstack.api.v2.AuditPhase optional

Phase specifies the audit phase. Defaults to request

Phase specifies the audit phase. Defaults to request.

metalstack.api.v2.AuditTrace

Trace is the audit trace

Trace is the audit trace.

metalstack.api.v2.AuditQuery

Query for audit traces

Query for audit traces.

metalstack.api.v2.AuditTrace repeated

Traces contains the list of audit traces

Traces contains the list of audit traces.

@@ -4188,7 +4188,7 @@

AdminPermissions

- + @@ -4199,7 +4199,7 @@

AdminPermissions

InfraPermissions

-

InfraPermissions carries infra method permissions

+

InfraPermissions carries infra method permissions.

methods string repeated

Methods which should be accessible

Methods which should be accessible.

@@ -4212,7 +4212,7 @@

InfraPermissions

- + @@ -4223,7 +4223,7 @@

InfraPermissions

MachinePermissions

-

MachinePermissions carries machine method permissions

+

MachinePermissions carries machine method permissions.

methods string repeated

Methods which should be accessible

Methods which should be accessible.

@@ -4236,15 +4236,15 @@

MachinePermissions

- + - + @@ -4255,7 +4255,7 @@

MachinePermissions

MethodPermission

-

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

+

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

uuid string

UUID of this machine -asterisk (*) can be specified to match any subject

UUID of this machine. +Asterisk (*) can be specified to match any subject.

methods string repeated

Methods which should be accessible

Methods which should be accessible.

@@ -4268,19 +4268,18 @@

MethodPermission

- +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.

- + @@ -4291,7 +4290,7 @@

MethodPermission

PermissionsByVisibility

-

PermissionsByVisibility contains method permissions by visibility

+

PermissionsByVisibility contains method permissions by visibility.

subject string

Subject maybe either the project or the tenant -for which the methods should be allowed +

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

methods string repeated

Methods which should be accessible

Methods which should be accessible.

@@ -4304,49 +4303,49 @@

PermissionsByVisibility

- + - + - + - + - + - + - + @@ -4357,7 +4356,7 @@

PermissionsByVisibility

ProjectPermissions

-

ProjectPermissions carries project method permissions

+

ProjectPermissions carries project method permissions.

public PublicPermissions

PublicPermissions carries public method permissions

PublicPermissions carries public method permissions.

self SelfPermissions

SelfPermissions carries self method permissions

SelfPermissions carries self method permissions.

project ProjectPermissions

ProjectPermissions carries project method permissions

ProjectPermissions carries project method permissions.

tenant TenantPermissions

TenantPermissions carries tenant method permissions

TenantPermissions carries tenant method permissions.

admin AdminPermissions

AdminPermissions carries admin method permissions

AdminPermissions carries admin method permissions.

machine MachinePermissions

MachinePermissions carries machine method permissions

MachinePermissions carries machine method permissions.

infra InfraPermissions

InfraPermissions carries infra method permissions

InfraPermissions carries infra method permissions.

@@ -4370,14 +4369,15 @@

ProjectPermissions

- + - + @@ -4388,7 +4388,7 @@

ProjectPermissions

PublicPermissions

-

PublicPermissions carries public method permissions

+

PublicPermissions carries public method permissions.

project string

asterisk (*) can be specified to match any subject

Project scope for the permissions. +Asterisk (*) can be specified to match any subject.

methods string repeated

Methods which should be accessible

Methods which should be accessible.

@@ -4401,7 +4401,7 @@

PublicPermissions

- + @@ -4412,7 +4412,7 @@

PublicPermissions

SelfPermissions

-

SelfPermissions carries self method permissions

+

SelfPermissions carries self method permissions.

methods string repeated

Methods which should be accessible

Methods which should be accessible.

@@ -4425,7 +4425,7 @@

SelfPermissions

- + @@ -4436,7 +4436,7 @@

SelfPermissions

TenantPermissions

-

TenantPermissions carries tenant method permissions

+

TenantPermissions carries tenant method permissions.

methods string repeated

Methods which should be accessible

Methods which should be accessible.

@@ -4449,15 +4449,15 @@

TenantPermissions

- + - + @@ -4468,7 +4468,7 @@

TenantPermissions

Token

-

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.

Message level validation, can be developed using https://protovalidate.com/playground

+

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.

Message level validation, can be developed using https://protovalidate.com/playground.

login string

Login of the tenant -asterisk (*) can be specified to match any subject

Login of the tenant. +Asterisk (*) can be specified to match any subject.

methods string repeated

Methods which should be accessible

Methods which should be accessible.

@@ -4481,21 +4481,21 @@

Token

- + - + - + @@ -4509,64 +4509,64 @@

Token

- + - + - + - + - + - + - + - + - + @@ -4670,7 +4670,7 @@

Token.TenantRolesEntry

TokenQuery

-

TokenQuery is used to search tokens

+

TokenQuery is used to search tokens.

uuid string

Uuid of the jwt token, used to reference it by revoke

Uuid of the jwt token, used to reference it by revoke.

user string

User who created this token

User who created this token.

meta Meta

Meta for this token

Meta for this token.

permissions MethodPermission repeated

Permissions is a list of service methods this token can be used for

Permissions is a list of service methods this token can be used for.

expires google.protobuf.Timestamp

Expires gives the date in the future after which this token can not be used anymore

Expires gives the date in the future after which this token can not be used anymore.

issued_at google.protobuf.Timestamp

IssuedAt gives the date when this token was created

IssuedAt gives the date when this token was created.

token_type TokenType

TokenType describes the type of this token

TokenType describes the type of this token.

project_roles Token.ProjectRolesEntry repeated

ProjectRoles associates a project id with the corresponding role of the token owner

ProjectRoles associates a project id with the corresponding role of the token owner.

tenant_roles Token.TenantRolesEntry repeated

TenantRoles associates a tenant id with the corresponding role of the token owner

TenantRoles associates a tenant id with the corresponding role of the token owner.

admin_role AdminRole optional

AdminRole defines the admin role of the token owner

AdminRole defines the admin role of the token owner.

infra_role InfraRole optional

InfraRole defines the infrastructure role of the token owner

InfraRole defines the infrastructure role of the token owner.

machine_roles Token.MachineRolesEntry repeated

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 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.

@@ -4683,14 +4683,14 @@

TokenQuery

- + - @@ -4698,21 +4698,21 @@

TokenQuery

- + - + - + @@ -4723,7 +4723,7 @@

TokenQuery

TokenServiceCreateRequest

-

TokenServiceCreateRequest is the request payload to create a token

+

TokenServiceCreateRequest is the request payload to create a token.

uuid string optional

UUID of the token to get

UUID of the token to get.

user string optional

Name of the token user to query +

Name of the token user to query. Only useful for admins.

description string optional

Description of the token to query

Description of the token to query.

labels Labels optional

Labels lists only tokens containing the given labels

Labels lists only tokens containing the given labels.

token_type TokenType optional

Token type of the token to query

Token type of the token to query.

@@ -4736,63 +4736,63 @@

TokenServiceCreateRequestdescription

- + - + - + - + - + - + - + - + - + @@ -4896,7 +4896,7 @@

TokenServi

TokenServiceCreateResponse

-

TokenServiceCreateResponse is the response payload of a token create request

+

TokenServiceCreateResponse is the response payload of a token create request.

string

Description of the token

Description of the token.

permissions PermissionsByVisibility repeated

Permissions is a list of service methods this token can be used for

Permissions is a list of service methods this token can be used for.

expires google.protobuf.Duration

Expires gives the duration since now, after which this token can not be used anymore

Expires gives the duration since now, after which this token can not be used anymore.

project_roles TokenServiceCreateRequest.ProjectRolesEntry repeated

ProjectRoles associates a project id with the corresponding role of the token owner

ProjectRoles associates a project id with the corresponding role of the token owner.

tenant_roles TokenServiceCreateRequest.TenantRolesEntry repeated

TenantRoles associates a tenant id with the corresponding role of the token owner

TenantRoles associates a tenant id with the corresponding role of the token owner.

admin_role AdminRole optional

AdminRole defines the admin role of the token owner

AdminRole defines the admin role of the token owner.

infra_role InfraRole optional

InfraRole defines the infrastructure role of the token owner

InfraRole defines the infrastructure role of the token owner.

machine_roles TokenServiceCreateRequest.MachineRolesEntry repeated

MachineRoles associates a machine uuid with the corresponding role of the token owner

MachineRoles associates a machine uuid with the corresponding role of the token owner.

labels Labels

Labels on this token

Labels on this token.

@@ -4909,14 +4909,14 @@

TokenServiceCreateResponse

- + - + @@ -4927,7 +4927,7 @@

TokenServiceCreateResponse

TokenServiceGetRequest

-

TokenServiceGetRequest is the request payload of a token get request

+

TokenServiceGetRequest is the request payload of a token get request.

token Token

Token which was created

Token which was created.

secret string

Secret is the body of the JWT token, should be used in API requests as bearer token

Secret is the body of the JWT token, should be used in API requests as bearer token.

@@ -4940,7 +4940,7 @@

TokenServiceGetRequest

- + @@ -4951,7 +4951,7 @@

TokenServiceGetRequest

TokenServiceGetResponse

-

TokenServiceGetResponse is the response payload of a token get request

+

TokenServiceGetResponse is the response payload of a token get request.

uuid string

Uuid of the token to get

Uuid of the token to get.

@@ -4964,7 +4964,7 @@

TokenServiceGetResponse

- + @@ -4975,7 +4975,7 @@

TokenServiceGetResponse

TokenServiceListRequest

-

TokenServiceListRequest is the request payload to list tokens

+

TokenServiceListRequest is the request payload to list tokens.

token Token

Token is the token

Token is the token.

@@ -4988,7 +4988,7 @@

TokenServiceListRequest

- + @@ -4999,7 +4999,7 @@

TokenServiceListRequest

TokenServiceListResponse

-

TokenServiceListResponse is the response payload of a token list request

+

TokenServiceListResponse is the response payload of a token list request.

query TokenQuery

Query for tokens

Query for tokens.

@@ -5012,7 +5012,7 @@

TokenServiceListResponse

tokens
- + @@ -5023,14 +5023,14 @@

TokenServiceListResponse

TokenServiceRefreshRequest -

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)

+

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

TokenServiceRefreshResponse

-

TokenServiceRefreshResponse is the response payload of a token refresh request

+

TokenServiceRefreshResponse is the response payload of a token refresh request.

Token repeated

Tokens is a list of tokens without the secrets

Tokens is a list of tokens without the secrets.

@@ -5043,14 +5043,14 @@

TokenServiceRefreshRespon

- + - + @@ -5061,7 +5061,7 @@

TokenServiceRefreshRespon

TokenServiceRevokeRequest

-

TokenServiceRevokeRequest is the request payload of a token revoke request

+

TokenServiceRevokeRequest is the request payload of a token revoke request.

token Token

Token which was refreshed

Token which was refreshed.

secret string

Secret is the body of the JWT token, should be used in API requests as bearer token

Secret is the body of the JWT token, should be used in API requests as bearer token.

@@ -5074,7 +5074,7 @@

TokenServiceRevokeRequestuuid

- + @@ -5085,14 +5085,14 @@

TokenServiceRevokeRequestTokenServiceRevokeResponse

-

TokenServiceRevokeResponse is the response payload of a token revoke request

+

TokenServiceRevokeResponse is the response payload of a token revoke request.

TokenServiceUpdateRequest

-

TokenServiceUpdateRequest is the request payload of a token update request

+

TokenServiceUpdateRequest is the request payload of a token update request.

string

Uuid of the token to revoke

Uuid of the token to revoke.

@@ -5105,15 +5105,15 @@

TokenServiceUpdateRequestuuid

- + - + @@ -5127,49 +5127,49 @@

TokenServiceUpdateRequestpermissions

- + - + - + - + - + - + - + @@ -5273,7 +5273,7 @@

TokenServi

TokenServiceUpdateResponse

-

TokenServiceUpdateResponse is the response payload of a token update request

+

TokenServiceUpdateResponse is the response payload of a token update request.

string

Uuid of the token to update

Uuid of the token to update.

update_meta UpdateMeta

UpdateMeta contains the timestamp and strategy to be used in this update request -TokenUpdate is not guarded with optlock in the backend

UpdateMeta contains the timestamp and strategy to be used in this update request. +TokenUpdate is not guarded with optlock in the backend.

PermissionsByVisibility repeated

Permissions is a list of service methods this token can be used for

Permissions is a list of service methods this token can be used for.

project_roles TokenServiceUpdateRequest.ProjectRolesEntry repeated

ProjectRoles associates a project id with the corresponding role of the token owner

ProjectRoles associates a project id with the corresponding role of the token owner.

tenant_roles TokenServiceUpdateRequest.TenantRolesEntry repeated

TenantRoles associates a tenant id with the corresponding role of the token owner

TenantRoles associates a tenant id with the corresponding role of the token owner.

admin_role AdminRole optional

AdminRole defines the admin role of the token owner

AdminRole defines the admin role of the token owner.

infra_role InfraRole optional

InfraRole defines the infrastructure role of the token owner

InfraRole defines the infrastructure role of the token owner.

machine_roles TokenServiceUpdateRequest.MachineRolesEntry repeated

MachineRoles associates a machine uuid with the corresponding role of the token owner

MachineRoles associates a machine uuid with the corresponding role of the token owner.

labels UpdateLabels

Labels on this token

Labels on this token.

@@ -5286,7 +5286,7 @@

TokenServiceUpdateResponse

- + @@ -5299,7 +5299,7 @@

TokenServiceUpdateResponse

TokenType

-

TokenType specifies different use cases of tokens

+

TokenType specifies different use cases of tokens.

token Token

Token is the updated token

Token is the updated token.

@@ -5309,13 +5309,13 @@

TokenType

- + - + @@ -5407,28 +5407,28 @@

Version

- + - + - + - + @@ -5459,7 +5459,7 @@

VersionServiceGetResponseversion

- + @@ -5503,7 +5503,7 @@

metalstack/api/v2/component.proto

Component -

Component represents a microservice connected to our apiserver

+

Component represents a microservice connected to our apiserver.

NameNumberDescription
TOKEN_TYPE_UNSPECIFIED 0

TOKEN_TYPE_UNSPECIFIED is not specified

TOKEN_TYPE_UNSPECIFIED is not specified.

TOKEN_TYPE_API 1

TOKEN_TYPE_API is a token for api usage

TOKEN_TYPE_API is a token for api usage.

version string

Version of the application

Version of the application.

revision string

Revision of the application

Revision of the application.

git_sha1 string

GitSHA1 of the application

GitSHA1 of the application.

build_date string

BuildDate of the application

BuildDate of the application.

Version

Version contains the version of the application

Version contains the version of the application.

@@ -5516,14 +5516,14 @@

Component

- + - + @@ -5538,7 +5538,7 @@

Component

- + @@ -5559,7 +5559,7 @@

Component

- + @@ -5573,7 +5573,7 @@

Component

- + @@ -5584,7 +5584,7 @@

Component

ComponentQuery

-

ComponentQuery to query components

+

ComponentQuery to query components.

uuid string

UUID identifies this component event

UUID identifies this component event.

type ComponentType

Type defines which service is actually pinging

Type defines which service is actually pinging.

started_at google.protobuf.Timestamp

StartedAt is the timestamp this service was started

StartedAt is the timestamp this service was started.

version Version

Version of this service

Version of this service.

meta Meta

Meta for this component

Meta for this component.

@@ -5597,14 +5597,14 @@

ComponentQuery

- + - + @@ -5625,7 +5625,7 @@

ComponentQuery

ComponentType

-

ComponentType defines which service is actually pinging

+

ComponentType defines which service is actually pinging.

uuid string optional

UUID identifies this component

UUID identifies this component.

type ComponentType optional

Type defines which service is actually pinging

Type defines which service is actually pinging.

@@ -5635,43 +5635,43 @@

ComponentType

- + - + - + - + - + - + - + @@ -5703,7 +5703,7 @@

ComponentServiceDelet

- + @@ -5727,7 +5727,7 @@

ComponentServiceDele

- + @@ -5751,7 +5751,7 @@

ComponentServiceGetReque

- + @@ -5775,7 +5775,7 @@

ComponentServiceGetResp

- + @@ -5799,7 +5799,7 @@

ComponentServiceListReq

- + @@ -5823,7 +5823,7 @@

ComponentServiceListRe

- + @@ -5881,7 +5881,7 @@

metalstack/api/v2/filesystem.protoDisk

-

Disk

+

Disk.

NameNumberDescription
COMPONENT_TYPE_UNSPECIFIED 0

COMPONENT_TYPE_UNSPECIFIED is unspecified

COMPONENT_TYPE_UNSPECIFIED is unspecified.

COMPONENT_TYPE_PIXIECORE 1

COMPONENT_TYPE_PIXIECORE is pixiecore

COMPONENT_TYPE_PIXIECORE is pixiecore.

COMPONENT_TYPE_METAL_CORE 2

COMPONENT_TYPE_METAL_CORE is metal-core

COMPONENT_TYPE_METAL_CORE is metal-core.

COMPONENT_TYPE_METAL_BMC 3

COMPONENT_TYPE_METAL_BMC is metal-bmc

COMPONENT_TYPE_METAL_BMC is metal-bmc.

COMPONENT_TYPE_METAL_IMAGE_CACHE_SYNC 4

COMPONENT_TYPE_METAL_IMAGE_CACHE_SYNC is metal-image-cache-sync

COMPONENT_TYPE_METAL_IMAGE_CACHE_SYNC is metal-image-cache-sync.

COMPONENT_TYPE_METAL_CONSOLE 5

COMPONENT_TYPE_METAL_CONSOLE is metal-console

COMPONENT_TYPE_METAL_CONSOLE is metal-console.

COMPONENT_TYPE_METAL_METRICS_EXPORTER 6

COMPONENT_TYPE_METAL_METRICS_EXPORTER is metal-metrics-exporter

COMPONENT_TYPE_METAL_METRICS_EXPORTER is metal-metrics-exporter.

uuid string

UUID identifies the component to delete

UUID identifies the component to delete.

component metalstack.api.v2.Component

Component contains the deleted component

Component contains the deleted component.

uuid string

UUID identifies the component to get

UUID identifies the component to get.

component metalstack.api.v2.Component

Component contains the retrieved component

Component contains the retrieved component.

query metalstack.api.v2.ComponentQuery

Query filters components

Query filters components.

components metalstack.api.v2.Component repeated

Components contains the list of components

Components contains the list of components.

@@ -5894,14 +5894,14 @@

Disk

- + - + @@ -5912,7 +5912,7 @@

Disk

DiskPartition

-

DiskPartition

+

DiskPartition.

device string

Device the device to create the partitions

Device the device to create the partitions.

partitions DiskPartition repeated

Partitions list of partitions to create on this disk

Partitions list of partitions to create on this disk.

@@ -5925,28 +5925,28 @@

DiskPartition

- + - + - + - + @@ -5957,7 +5957,7 @@

DiskPartition

Filesystem

-

Filesystem

+

Filesystem.

number uint32

Number partition number, will be appended to partitionprefix to create the final devicename

Number partition number, will be appended to partitionprefix to create the final devicename.

label string optional

Label an optional label for this partition

Label an optional label for this partition.

size uint64

Size in mebibytes (MiB) of this partition

Size in mebibytes (MiB) of this partition.

gpt_type GPTType optional

GPTType the gpt partition table type of this partition

GPTType the gpt partition table type of this partition.

@@ -5970,56 +5970,56 @@

Filesystem

- + - + - + - + - + - + - + - + @@ -6030,7 +6030,7 @@

Filesystem

FilesystemLayout

-

FilesystemLayout

+

FilesystemLayout.

device string

Device the underlying device where this filesystem should be created

Device the underlying device where this filesystem should be created.

format Format

Format of the filesystem format

Format of the filesystem format.

name string optional

Name of this filesystem

Name of this filesystem.

description string optional

Description of this filesystem

Description of this filesystem.

path string optional

Path the mountpoint where this filesystem should be mounted on

Path the mountpoint where this filesystem should be mounted on.

label string optional

Label an optional label for this filesystem

Label an optional label for this filesystem.

mount_options string repeated

MountOptions the options to use to mount this filesystem

MountOptions the options to use to mount this filesystem.

create_options string repeated

CreateOptions the options to use to create (mkfs) this filesystem

CreateOptions the options to use to create (mkfs) this filesystem.

@@ -6043,70 +6043,70 @@

FilesystemLayout

- + - + - + - + - + - + - + - + - + - + @@ -6117,7 +6117,7 @@

FilesystemLayout

FilesystemLayoutConstraints

-

FilesystemLayoutConstraints

+

FilesystemLayoutConstraints.

id string

Id of this filesystemLayout

Id of this filesystemLayout.

meta Meta

Meta for this filesystemLayout

Meta for this filesystemLayout.

name string optional

Name of this filesystemLayout

Name of this filesystemLayout.

description string optional

Description of this filesystemLayout

Description of this filesystemLayout.

filesystems Filesystem repeated

Filesystems is a list of filesystems to create on a machine

Filesystems is a list of filesystems to create on a machine.

disks Disk repeated

Disks list of disks that belong to this layout

Disks list of disks that belong to this layout.

raid Raid repeated

raid arrays to create

Raid arrays to create.

volume_groups VolumeGroup repeated

VolumeGroups list of volumegroups to create

VolumeGroups list of volumegroups to create.

logical_volumes LogicalVolume repeated

LogicalVolumes list of logicalvolumes to create

LogicalVolumes list of logicalvolumes to create.

constraints FilesystemLayoutConstraints

Constraints which must match that this layout is taken, if sizes and images are empty these are develop layouts

Constraints which must match that this layout is taken, if sizes and images are empty these are develop layouts.

@@ -6130,19 +6130,19 @@

FilesystemLayoutConstrain

- + - + @@ -6184,7 +6184,7 @@

FilesystemLay

FilesystemServiceGetRequest

-

FilesystemServiceGetRequest is the request payload for a filesystem get request

+

FilesystemServiceGetRequest is the request payload for a filesystem get request.

sizes string repeated

Sizes list of sizes this layout applies to -this could either be a concrete size, or a asterisk to match all sizes

Sizes list of sizes this layout applies to. +This could either be a concrete size, or a asterisk to match all sizes.

images FilesystemLayoutConstraints.ImagesEntry repeated

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 image -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.0 -"debian":">= 12.0"

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.

@@ -6197,7 +6197,7 @@

FilesystemServiceGetReque

- + @@ -6208,7 +6208,7 @@

FilesystemServiceGetReque

FilesystemServiceGetResponse

-

FilesystemServiceGetResponse is the response payload for a filesystem get request

+

FilesystemServiceGetResponse is the response payload for a filesystem get request.

id string

ID of the filesystem to get

ID of the filesystem to get.

@@ -6221,7 +6221,7 @@

FilesystemServiceGetResp

- + @@ -6232,7 +6232,7 @@

FilesystemServiceGetResp

FilesystemServiceListRequest

-

FilesystemServiceListRequest is the request payload for a filesystem list request

+

FilesystemServiceListRequest is the request payload for a filesystem list request.

filesystem_layout FilesystemLayout

FilesystemLayout the filesystemlayout

FilesystemLayout the filesystemlayout.

@@ -6245,7 +6245,7 @@

FilesystemServiceListReq

- + @@ -6256,7 +6256,7 @@

FilesystemServiceListReq

FilesystemServiceListResponse

-

FilesystemServiceListResponse is the response payload for a filesystem list request

+

FilesystemServiceListResponse is the response payload for a filesystem list request.

id string optional

ID of the filesystem to get

ID of the filesystem to get.

@@ -6269,7 +6269,7 @@

FilesystemServiceListRe

- + @@ -6280,7 +6280,7 @@

FilesystemServiceListRe

LogicalVolume

-

LogicalVolume

+

LogicalVolume.

filesystem_layouts FilesystemLayout repeated

FilesystemLayouts the filesystemlayouts

FilesystemLayouts the filesystemlayouts.

@@ -6293,28 +6293,28 @@

LogicalVolume

- + - + - + - + @@ -6325,7 +6325,7 @@

LogicalVolume

Raid

-

Raid

+

Raid.

name string

Name the name of the logical volume

Name the name of the logical volume.

volume_group string

VolumeGroup the name of the volume group where to create the logical volume onto

VolumeGroup the name of the volume group where to create the logical volume onto.

size uint64

Size size in mebibytes (MiB) of this volume

Size size in mebibytes (MiB) of this volume.

lvm_type LVMType

LVMType the type of this logical volume can be either linear|striped|raid1

LVMType the type of this logical volume can be either linear|striped|raid1.

@@ -6338,35 +6338,35 @@

Raid

- + - + - + - + - + @@ -6377,7 +6377,7 @@

Raid

VolumeGroup

-

VolumeGroup

+

VolumeGroup.

array_name string

ArrayName the name of the resulting array device

ArrayName the name of the resulting array device.

devices string repeated

Devices list of devices to form the raid array from

Devices list of devices to form the raid array from.

level RaidLevel

Level raid level to create, should be 0 or 1

Level raid level to create, should be 0 or 1.

create_options string repeated

CreateOptions the options to use to create the raid array

CreateOptions the options to use to create the raid array.

spares int32

Spares number of spares for the raid array

Spares number of spares for the raid array.

@@ -6390,21 +6390,21 @@

VolumeGroup

- + - + - + @@ -6417,7 +6417,7 @@

VolumeGroup

Format

-

Format specifies the filesystem to use on a volume

+

Format specifies the filesystem to use on a volume.

name string

Name the name of the resulting volume group

Name the name of the resulting volume group.

devices string repeated

Devices list of devices to form the volume group from

Devices list of devices to form the volume group from.

tags string repeated

Tags list of tags to add to the volume group

Tags list of tags to add to the volume group.

@@ -6427,50 +6427,50 @@

Format

- + - + - + - + - + - + - +
NameNumberDescription
FORMAT_UNSPECIFIED 0

FORMAT_UNSPECIFIED

FORMAT_UNSPECIFIED.

FORMAT_VFAT 1

FORMAT_VFAT is used for the UEFI boot partition

FORMAT_VFAT is used for the UEFI boot partition.

FORMAT_EXT3 2

FORMAT_EXT3 is usually only used for /boot

FORMAT_EXT3 is usually only used for /boot.

FORMAT_EXT4 3

FORMAT_EXT4 is the default fs

FORMAT_EXT4 is the default fs.

FORMAT_SWAP 4

FORMAT_SWAP is for the swap partition

FORMAT_SWAP is for the swap partition.

FORMAT_TMPFS 5

FORMAT_TMPFS is used for a memory filesystem typically /tmp

FORMAT_TMPFS is used for a memory filesystem typically /tmp.

FORMAT_NONE 6

FORMAT_NONE

FORMAT_NONE.

GPTType

-

GPTType specifies the partition type in uefi systems

+

GPTType specifies the partition type in uefi systems.

@@ -6480,38 +6480,38 @@

GPTType

- + - + - + - + - +
NameNumberDescription
GPT_TYPE_UNSPECIFIED 0

GPT_TYPE_UNSPECIFIED is no specified

GPT_TYPE_UNSPECIFIED is no specified.

GPT_TYPE_BOOT 1

GPT_TYPE_BOOT EFI Boot Partition

GPT_TYPE_BOOT EFI Boot Partition.

GPT_TYPE_LINUX 2

GPT_TYPE_LINUX Linux Partition

GPT_TYPE_LINUX Linux Partition.

GPT_TYPE_LINUX_RAID 3

GPT_TYPE_LINUX_RAID Linux Raid Partition

GPT_TYPE_LINUX_RAID Linux Raid Partition.

GPT_TYPE_LINUX_LVM 4

GPT_TYPE_LINUX_LVM Linux LVM Partition

GPT_TYPE_LINUX_LVM Linux LVM Partition.

LVMType

-

LVMType

+

LVMType.

@@ -6521,32 +6521,32 @@

LVMType

- + - + - + - +
NameNumberDescription
LVM_TYPE_UNSPECIFIED 0

LVM_TYPE_UNSPECIFIED is not specified

LVM_TYPE_UNSPECIFIED is not specified.

LVM_TYPE_LINEAR 1

LVM_TYPE_LINEAR append across all physical volumes

LVM_TYPE_LINEAR append across all physical volumes.

LVM_TYPE_STRIPED 2

LVM_TYPE_STRIPED stripe across all physical volumes

LVM_TYPE_STRIPED stripe across all physical volumes.

LVM_TYPE_RAID1 3

LVM_TYPE_RAID1 mirror with raid across all physical volumes

LVM_TYPE_RAID1 mirror with raid across all physical volumes.

RaidLevel

-

RaidLevel defines howto mirror two or more block devices

+

RaidLevel defines howto mirror two or more block devices.

@@ -6556,19 +6556,19 @@

RaidLevel

- + - + - + @@ -6626,7 +6626,7 @@

FilesystemServiceCre

- + @@ -6650,7 +6650,7 @@

FilesystemServiceCr

- + @@ -6674,7 +6674,7 @@

FilesystemServiceDel

- + @@ -6698,7 +6698,7 @@

FilesystemServiceDe

- + @@ -6709,7 +6709,7 @@

FilesystemServiceDe

FilesystemServiceMatchRequest

-

FilesystemServiceMatchRequest

+

FilesystemServiceMatchRequest.

NameNumberDescription
RAID_LEVEL_UNSPECIFIED 0

RAID_LEVEL_UNSPECIFIED is not specified

RAID_LEVEL_UNSPECIFIED is not specified.

RAID_LEVEL_0 1

RAID_LEVEL_0 is a stripe of two or more disks

RAID_LEVEL_0 is a stripe of two or more disks.

RAID_LEVEL_1 2

RAID_LEVEL_1 is a mirror of two disks

RAID_LEVEL_1 is a mirror of two disks.

filesystem_layout metalstack.api.v2.FilesystemLayout

FilesystemLayout is the filesystem layout to create

FilesystemLayout is the filesystem layout to create.

filesystem_layout metalstack.api.v2.FilesystemLayout

FilesystemLayout contains the created filesystem layout

FilesystemLayout contains the created filesystem layout.

id string

ID of the filesystem to delete

ID of the filesystem to delete.

filesystem_layout metalstack.api.v2.FilesystemLayout

FilesystemLayout contains the deleted filesystem layout

FilesystemLayout contains the deleted filesystem layout.

@@ -6722,14 +6722,14 @@

FilesystemServiceMatc

- + - + @@ -6740,7 +6740,7 @@

FilesystemServiceMatc

FilesystemServiceMatchResponse

-

FilesystemServiceMatchResponse

+

FilesystemServiceMatchResponse.

size_and_image MatchImageAndSize

SizeAndImage

SizeAndImage.

machine_and_filesystemlayout MatchMachineAndFilesystemLayout

MachineAndFilesystemlayout

MachineAndFilesystemlayout.

@@ -6753,7 +6753,7 @@

FilesystemServiceMat

- + @@ -6777,70 +6777,70 @@

FilesystemServiceUpd

- + - + - + - + - + - + - + - + - + - + @@ -6864,7 +6864,7 @@

FilesystemServiceUp

- + @@ -6875,7 +6875,7 @@

FilesystemServiceUp

MatchImageAndSize

-

MatchImageAndSize

+

MatchImageAndSize.

filesystem_layout metalstack.api.v2.FilesystemLayout

FilesystemLayout the filesystemlayout

FilesystemLayout the filesystemlayout.

id string

Id of this filesystemLayout

Id of this filesystemLayout.

update_meta metalstack.api.v2.UpdateMeta

UpdateMeta contains the timestamp and strategy to be used in this update request

UpdateMeta contains the timestamp and strategy to be used in this update request.

name string optional

Name of this filesystemLayout

Name of this filesystemLayout.

description string optional

Description of this filesystemLayout

Description of this filesystemLayout.

filesystems metalstack.api.v2.Filesystem repeated

Filesystems is a list of filesystems to create on a machine

Filesystems is a list of filesystems to create on a machine.

disks metalstack.api.v2.Disk repeated

Disks list of disks that belong to this layout

Disks list of disks that belong to this layout.

raid metalstack.api.v2.Raid repeated

Raid arrays to create

Raid arrays to create.

volume_groups metalstack.api.v2.VolumeGroup repeated

VolumeGroups list of volumegroups to create

VolumeGroups list of volumegroups to create.

logical_volumes metalstack.api.v2.LogicalVolume repeated

LogicalVolumes list of logicalvolumes to create

LogicalVolumes list of logicalvolumes to create.

constraints metalstack.api.v2.FilesystemLayoutConstraints

Constraints which must match that this layout is taken, if sizes and images are empty these are develop layouts

Constraints which must match that this layout is taken, if sizes and images are empty these are develop layouts.

filesystem_layout metalstack.api.v2.FilesystemLayout

FilesystemLayout contains the updated filesystem layout

FilesystemLayout contains the updated filesystem layout.

@@ -6888,14 +6888,14 @@

MatchImageAndSize

- + - + @@ -6906,7 +6906,7 @@

MatchImageAndSize

MatchMachineAndFilesystemLayout

-

MatchMachineAndFilesystemLayout

+

MatchMachineAndFilesystemLayout.

size string

Size, machine size to try

Size, machine size to try.

image string

Image machine image to try

Image machine image to try.

@@ -6919,14 +6919,14 @@

MatchMachineAndFile

- + - + @@ -6991,7 +6991,7 @@

metalstack/api/v2/image.proto

Image -

Image

+

Image.

machine string

Machine to check

Machine to check.

filesystem_layout string

FilesystemLayout to check

FilesystemLayout to check.

@@ -7004,56 +7004,56 @@

Image

- + - + - + - + - + - + - + - + @@ -7064,7 +7064,7 @@

Image

ImageQuery

-

ImageQuery is used to search images

+

ImageQuery is used to search images.

id string

Id of this image

Id of this image.

meta Meta

Meta for this image

Meta for this image.

url string

URL where this image is located

URL where this image is located.

name string optional

Name of this image

Name of this image.

description string optional

Description of this image

Description of this image.

features ImageFeature repeated

Features of this image

Features of this image.

classification ImageClassification

Classification of this image

Classification of this image.

expires_at google.protobuf.Timestamp

ExpiresAt usage is not possible after this date

ExpiresAt usage is not possible after this date.

@@ -7077,63 +7077,63 @@

ImageQuery

- + - + - + - + - + - + - + - + - + @@ -7144,7 +7144,7 @@

ImageQuery

ImageServiceGetRequest

-

ImageServiceGetRequest is the request payload for an image get request

+

ImageServiceGetRequest is the request payload for an image get request.

id string optional

ID of the image to get

ID of the image to get.

os string optional

OS of the image

OS of the image.

version string optional

Version of the Image

Version of the Image.

name string optional

Name of the image to query

Name of the image to query.

description string optional

Description of the image to query

Description of the image to query.

url string optional

Url of the image to query

Url of the image to query.

feature ImageFeature optional

Feature of the image to query

Feature of the image to query.

classification ImageClassification optional

Classification of the image to query

Classification of the image to query.

labels Labels optional

Labels lists only images containing the given labels

Labels lists only images containing the given labels.

@@ -7157,7 +7157,7 @@

ImageServiceGetRequest

- + @@ -7168,7 +7168,7 @@

ImageServiceGetRequest

ImageServiceGetResponse

-

ImageServiceGetResponse is the response payload for an image get request

+

ImageServiceGetResponse is the response payload for an image get request.

id string

ID of the image to get

ID of the image to get.

@@ -7181,7 +7181,7 @@

ImageServiceGetResponse

- + @@ -7192,7 +7192,7 @@

ImageServiceGetResponse

ImageServiceLatestRequest

-

ImageServiceLatestRequest is the request payload for an image latest request

+

ImageServiceLatestRequest is the request payload for an image latest request.

image Image

Image the image

Image the image.

@@ -7205,15 +7205,15 @@

ImageServiceLatestRequestos

- + - + @@ -7224,7 +7224,7 @@

ImageServiceLatestRequestImageServiceLatestResponse

-

ImageServiceLatestResponse is the response payload for an image latest request

+

ImageServiceLatestResponse is the response payload for an image latest request.

string

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 for which the latest image should be fetched. +Should contain os and major.minor then latest patch version of this os is returned.

classification ImageClassification optional

Classification of the image latest image

Classification of the image latest image.

@@ -7237,7 +7237,7 @@

ImageServiceLatestResponse

- + @@ -7248,7 +7248,7 @@

ImageServiceLatestResponse

ImageServiceListRequest

-

ImageServiceListRequest is the request payload for an image list request

+

ImageServiceListRequest is the request payload for an image list request.

image Image

Image which is the latest for one os

Image which is the latest for one os.

@@ -7261,7 +7261,7 @@

ImageServiceListRequest

- + @@ -7272,7 +7272,7 @@

ImageServiceListRequest

ImageServiceListResponse

-

ImageServiceListResponse is the response payload for an image list request

+

ImageServiceListResponse is the response payload for an image list request.

query ImageQuery

Query for images

Query for images.

@@ -7285,7 +7285,7 @@

ImageServiceListResponse

images
- + @@ -7296,7 +7296,7 @@

ImageServiceListResponse

ImageUsage -

ImageUsage reports which machines/firewalls actually use this image

+

ImageUsage reports which machines/firewalls actually use this image.

Image repeated

Images the images

Images the images.

@@ -7309,14 +7309,14 @@

ImageUsage

- + - + @@ -7329,7 +7329,7 @@

ImageUsage

ImageClassification

-

Image

+

Image.

image Image

Image with usage

Image with usage.

used_by string repeated

UsedBy the following machines/firewalls

UsedBy the following machines/firewalls.

@@ -7339,32 +7339,32 @@

ImageClassification

- + - + - + - +
NameNumberDescription
IMAGE_CLASSIFICATION_UNSPECIFIED 0

IMAGE_CLASSIFICATION_UNSPECIFIED is not specified

IMAGE_CLASSIFICATION_UNSPECIFIED is not specified.

IMAGE_CLASSIFICATION_PREVIEW 1

IMAGE_CLASSIFICATION_PREVIEW indicates that this image is in preview

IMAGE_CLASSIFICATION_PREVIEW indicates that this image is in preview.

IMAGE_CLASSIFICATION_SUPPORTED 2

IMAGE_CLASSIFICATION_SUPPORTED indicates that this image is supported

IMAGE_CLASSIFICATION_SUPPORTED indicates that this image is supported.

IMAGE_CLASSIFICATION_DEPRECATED 3

IMAGE_CLASSIFICATION_DEPRECATED indicates that this image is deprecated

IMAGE_CLASSIFICATION_DEPRECATED indicates that this image is deprecated.

ImageFeature

-

ImageFeature

+

ImageFeature.

@@ -7374,19 +7374,19 @@

ImageFeature

- + - + - + @@ -7451,7 +7451,7 @@

ImageServiceCreateRequest

- + @@ -7475,7 +7475,7 @@

ImageServiceCreateRespon

- + @@ -7499,7 +7499,7 @@

ImageServiceDeleteRequest

- + @@ -7523,7 +7523,7 @@

ImageServiceDeleteRespon

- + @@ -7547,63 +7547,63 @@

ImageServiceUpdateRequest

- + - + - + - + - + - + - + - + - + @@ -7627,7 +7627,7 @@

ImageServiceUpdateRespon

- + @@ -7651,7 +7651,7 @@

ImageServiceUsageRequestquery

- + @@ -7675,7 +7675,7 @@

ImageServiceUsageResponse

- + @@ -7740,7 +7740,7 @@

metalstack/api/v2/ip.proto

IP -

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

+

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

NameNumberDescription
IMAGE_FEATURE_UNSPECIFIED 0

IMAGE_FEATURE_UNSPECIFIED is not specified

IMAGE_FEATURE_UNSPECIFIED is not specified.

IMAGE_FEATURE_MACHINE 1

IMAGE_FEATURE_MACHINE indicates this image is usable for a machine

IMAGE_FEATURE_MACHINE indicates this image is usable for a machine.

IMAGE_FEATURE_FIREWALL 2

IMAGE_FEATURE_FIREWALL indicates this image is usable for a firewall

IMAGE_FEATURE_FIREWALL indicates this image is usable for a firewall.

image metalstack.api.v2.Image

Image is the image to create

Image is the image to create.

image metalstack.api.v2.Image

Image contains the created image

Image contains the created image.

id string

ID of the image to delete

ID of the image to delete.

image metalstack.api.v2.Image

Image contains the deleted image

Image contains the deleted image.

id string

Id of this image

Id of this image.

update_meta metalstack.api.v2.UpdateMeta

UpdateMeta contains the timestamp and strategy to be used in this update request

UpdateMeta contains the timestamp and strategy to be used in this update request.

url string optional

URL where this image is located

URL where this image is located.

name string optional

Name of this image

Name of this image.

description string optional

Description of this image

Description of this image.

features metalstack.api.v2.ImageFeature repeated

Features of this image

Features of this image.

classification metalstack.api.v2.ImageClassification

Classification of this image

Classification of this image.

expires_at google.protobuf.Timestamp

ExpiresAt indicates that usage is not possible after this date

ExpiresAt indicates that usage is not possible after this date.

labels metalstack.api.v2.UpdateLabels optional

Labels to update on this image

Labels to update on this image.

image metalstack.api.v2.Image

Image contains the updated image

Image contains the updated image.

metalstack.api.v2.ImageQuery

Query for which images the usage should be reported

Query for which images the usage should be reported.

image_usage metalstack.api.v2.ImageUsage repeated

Images contains usage information

Images contains usage information.

@@ -7753,64 +7753,64 @@

IP

- + - + - + - + - + - + - + - + - + @@ -7821,7 +7821,7 @@

IP

IPQuery

-

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

+

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

uuid string

Uuid of this ip

Uuid of this ip.

meta Meta

Meta for this ip

Meta for this ip.

ip string

Ip is either ipv4 or ipv6 address

Ip is either ipv4 or ipv6 address.

name string

Name of this ip

Name of this ip.

description string

Description of this ip

Description of this ip.

network string

Network is the network this ip belongs to

Network is the network this ip belongs to.

project string

Project where this ip address belongs to

Project where this ip address belongs to.

type IPType

Type of this ip

Type of this ip.

namespace string optional

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 if specified this ip is from a namespaced network and can therefore overlap with others. +Will be equal with project most of the time.

@@ -7834,70 +7834,70 @@

IPQuery

- + - + - + - + - + - + - + - + - + - + @@ -7915,7 +7915,7 @@

IPQuery

IPServiceCreateRequest

-

IPServiceCreateRequest is the request payload for an IP create request

+

IPServiceCreateRequest is the request payload for an IP create request.

ip string optional

Ip the ip to list

Ip the ip to list.

network string optional

Network from which the IPs are to list

Network from which the IPs are to list.

project string optional

Project of the ips to list

Project of the ips to list.

name string optional

Name of this ip

Name of this ip.

uuid string optional

UUID for which these IPs should be filtered

UUID for which these IPs should be filtered.

machine string optional

Machine for which these IPs should be filtered

Machine for which these IPs should be filtered.

parent_prefix_cidr string optional

ParentPrefixCidr for which this ips should get filtered

ParentPrefixCidr for which this ips should get filtered.

labels Labels optional

Labels for which these IPs should be filtered

Labels for which these IPs should be filtered.

type IPType optional

Static if set to true, this will be a Static ip

Static if set to true, this will be a Static ip.

address_family IPAddressFamily optional

Address family of the IPs to list, defaults to all address families

Address family of the IPs to list, defaults to all address families.

@@ -7928,63 +7928,63 @@

IPServiceCreateRequest

- + - + - + - + - + - + - + - + - + @@ -7995,7 +7995,7 @@

IPServiceCreateRequest

IPServiceCreateResponse

-

IPServiceCreateResponse is the response payload for an IP create request

+

IPServiceCreateResponse is the response payload for an IP create request.

network string

Network from which the IP should be created

Network from which the IP should be created.

project string

Project of the ip

Project of the ip.

name string optional

Name of the ip

Name of the ip.

description string optional

Description of the ip

Description of the ip.

ip string optional

IP if given try to create this ip if still available

IP if given try to create this ip if still available.

machine string optional

Machine for which this ip should get created

Machine for which this ip should get created.

labels Labels optional

Labels to put onto the ip

Labels to put onto the ip.

type IPType optional

Type of the IP, ether ephemeral (default), or static

Type of the IP, ether ephemeral (default), or static.

address_family IPAddressFamily optional

Addressfamily of the IP to create, defaults to ipv4

Addressfamily of the IP to create, defaults to ipv4.

@@ -8008,7 +8008,7 @@

IPServiceCreateResponse

- + @@ -8019,7 +8019,7 @@

IPServiceCreateResponse

IPServiceDeleteRequest

-

IPServiceDeleteRequest is the request payload for a ip delete request

+

IPServiceDeleteRequest is the request payload for a ip delete request.

ip IP

Ip the ip

Ip the ip.

@@ -8032,14 +8032,14 @@

IPServiceDeleteRequest

- + - + @@ -8050,7 +8050,7 @@

IPServiceDeleteRequest

IPServiceDeleteResponse

-

IPServiceDeleteResponse is the response payload for an IP delete request

+

IPServiceDeleteResponse is the response payload for an IP delete request.

ip string

IP of the ip to delete

IP of the ip to delete.

project string

Project of the ip

Project of the ip.

@@ -8063,7 +8063,7 @@

IPServiceDeleteResponse

- + @@ -8074,7 +8074,7 @@

IPServiceDeleteResponse

IPServiceGetRequest

-

IPServiceGetRequest is the request payload for an IP get request

+

IPServiceGetRequest is the request payload for an IP get request.

ip IP

Ip the ip

Ip the ip.

@@ -8087,14 +8087,14 @@

IPServiceGetRequest

- + - + @@ -8112,7 +8112,7 @@

IPServiceGetRequest

IPServiceGetResponse

-

IPServiceGetResponse is the response payload for an IP get request

+

IPServiceGetResponse is the response payload for an IP get request.

ip string

IP of the ip to get

IP of the ip to get.

project string

Project of the ip

Project of the ip.

@@ -8125,7 +8125,7 @@

IPServiceGetResponse

- + @@ -8136,7 +8136,7 @@

IPServiceGetResponse

IPServiceListRequest

-

IPServiceListRequest is the request payload for an IP list request

+

IPServiceListRequest is the request payload for an IP list request.

ip IP

Ip the ip

Ip the ip.

@@ -8149,14 +8149,14 @@

IPServiceListRequest

- + - + @@ -8167,7 +8167,7 @@

IPServiceListRequest

IPServiceListResponse

-

IPServiceListResponse is the response payload for an IP list request

+

IPServiceListResponse is the response payload for an IP list request.

project string

Project of the ips to list

Project of the ips to list.

query IPQuery

Query to list one or more IPs

Query to list one or more IPs.

@@ -8180,7 +8180,7 @@

IPServiceListResponse

- + @@ -8191,7 +8191,7 @@

IPServiceListResponse

IPServiceUpdateRequest

-

IPServiceUpdateRequest is the request payload for an IP update request

+

IPServiceUpdateRequest is the request payload for an IP update request.

ips IP repeated

Ips the ips

Ips the ips.

@@ -8204,49 +8204,49 @@

IPServiceUpdateRequest

- + - + - + - + - + - + - + @@ -8257,7 +8257,7 @@

IPServiceUpdateRequest

IPServiceUpdateResponse

-

IPServiceUpdateResponse is the response payload for a ip update request

+

IPServiceUpdateResponse is the response payload for a ip update request.

ip string

Ip the ip address to update

Ip the ip address to update.

update_meta UpdateMeta

UpdateMeta contains the timestamp and strategy to be used in this update request

UpdateMeta contains the timestamp and strategy to be used in this update request.

project string

Project id of the ip

Project id of the ip.

name string optional

Name of this ip

Name of this ip.

description string optional

Description of this ip

Description of this ip.

type IPType optional

Type of this ip

Type of this ip.

labels UpdateLabels optional

Labels on this ip

Labels on this ip.

@@ -8270,7 +8270,7 @@

IPServiceUpdateResponse

- + @@ -8283,7 +8283,7 @@

IPServiceUpdateResponse

IPAddressFamily

-

IPAddressFamily defines either IPv4 or IPv6 Addressfamily

+

IPAddressFamily defines either IPv4 or IPv6 Addressfamily.

ip IP

Ip the ip

Ip the ip.

@@ -8293,26 +8293,26 @@

IPAddressFamily

- + - + - +
NameNumberDescription
IP_ADDRESS_FAMILY_UNSPECIFIED 0

IP_ADDRESS_FAMILY_UNSPECIFIED is not specified

IP_ADDRESS_FAMILY_UNSPECIFIED is not specified.

IP_ADDRESS_FAMILY_V4 1

IP_ADDRESS_FAMILY_V4 defines a IPv4 address

IP_ADDRESS_FAMILY_V4 defines a IPv4 address.

IP_ADDRESS_FAMILY_V6 2

IP_ADDRESS_FAMILY_V6 defines a IPv6 address

IP_ADDRESS_FAMILY_V6 defines a IPv6 address.

IPType

-

IPType specifies different IP address types

+

IPType specifies different IP address types.

@@ -8322,19 +8322,19 @@

IPType

- + - + - + @@ -8413,7 +8413,7 @@

IPServiceListRequest

- + @@ -8437,7 +8437,7 @@

IPServiceListResponse

- + @@ -8481,7 +8481,7 @@

metalstack/api/v2/network.proto

ChildPrefixLength -

ChildPrefixLength

+

ChildPrefixLength.

NameNumberDescription
IP_TYPE_UNSPECIFIED 0

IP_TYPE_UNSPECIFIED is not specified

IP_TYPE_UNSPECIFIED is not specified.

IP_TYPE_EPHEMERAL 1

IP_TYPE_EPHEMERAL defines an ephemeral IP address which is freed/deleted after usage

IP_TYPE_EPHEMERAL defines an ephemeral IP address which is freed/deleted after usage.

IP_TYPE_STATIC 2

IP_TYPE_STATIC defines a static ip address which must be freed/deleted explicitly

IP_TYPE_STATIC defines a static ip address which must be freed/deleted explicitly.

query metalstack.api.v2.IPQuery

Query to search for IP addresses

Query to search for IP addresses.

ips metalstack.api.v2.IP repeated

IPs contains the list of IP addresses

IPs contains the list of IP addresses.

@@ -8494,14 +8494,14 @@

ChildPrefixLength

- + - + @@ -8512,7 +8512,7 @@

ChildPrefixLength

Network

-

Network

+

Network.

ipv4 uint32 optional

IPv4 bit length of this network in this addressfamily

IPv4 bit length of this network in this addressfamily.

ipv6 uint32 optional

IPv6 bit length of this network in this addressfamily

IPv6 bit length of this network in this addressfamily.

@@ -8525,92 +8525,92 @@

Network

- + - + - + - + - + - + - + - + - + - + - + - + - + @@ -8624,21 +8624,21 @@

Network

- + - + - + @@ -8649,7 +8649,7 @@

Network

NetworkConsumption

-

NetworkConsumption contains ip and prefix usage by addressfamily

+

NetworkConsumption contains ip and prefix usage by addressfamily.

id string

Id of this network

Id of this network.

meta Meta

Meta for this network

Meta for this network.

name string optional

Name of this network

Name of this network.

description string optional

Description of this network

Description of this network.

partition string optional

Partition where this network will be created

Partition where this network will be created.

project string optional

Project where this network belongs to

Project where this network belongs to.

namespace string optional

Namespace if specified, this network is namespaced and can therefore overlap with others -Will be equal with project most of the time

Namespace if specified, this network is namespaced and can therefore overlap with others. +Will be equal with project most of the time.

prefixes string repeated

Prefixes in this network

Prefixes in this network.

destination_prefixes string repeated

Destination Prefixes in this network

Destination Prefixes in this network.

default_child_prefix_length ChildPrefixLength

Default Child Prefix length defines the bit length of a child network created per address family, if not specified during the allocate request

Default Child Prefix length defines the bit length of a child network created per address family, if not specified during the allocate request.

min_child_prefix_length ChildPrefixLength

Min Child Prefix length asserts that during child network creation the requested bit length is greater or equal the min child prefix length

Min Child Prefix length asserts that during child network creation the requested bit length is greater or equal the min child prefix length.

type NetworkType

Type of the network

Type of the network.

nat_type NATType

NATType of this network

NATType of this network.

parent_network string optional

Parent Network points to the id of the parent network if any

Parent Network points to the id of the parent network if any.

additional_announcable_cidrs string repeated

AdditionalAnnouncableCidrs will be added to the allow list on the switch which prefixes might be announced

AdditionalAnnouncableCidrs will be added to the allow list on the switch which prefixes might be announced.

consumption NetworkConsumption

Consumption of IPs and prefixes in this network

Consumption of IPs and prefixes in this network.

@@ -8662,14 +8662,14 @@

NetworkConsumption

- + - + @@ -8680,7 +8680,7 @@

NetworkConsumption

NetworkQuery

-

NetworkQuery defines which networks to query

+

NetworkQuery defines which networks to query.

ipv4 NetworkUsage

IPv4 network usage

IPv4 network usage.

ipv6 NetworkUsage

IPv6 network usage, this can be approximated for high numbers

IPv6 network usage, this can be approximated for high numbers.

@@ -8693,56 +8693,56 @@

NetworkQuery

- + - + - + - + - + - + - + - + @@ -8756,35 +8756,35 @@

NetworkQuery

- + - + - + - + - + @@ -8795,7 +8795,7 @@

NetworkQuery

NetworkServiceCreateRequest

-

NetworkServiceCreateRequest

+

NetworkServiceCreateRequest.

id string optional

Id of the network to query

Id of the network to query.

name string optional

Name of this network

Name of this network.

description string optional

Description of this network

Description of this network.

partition string optional

Partition where this network will be created

Partition where this network will be created.

project string optional

Project where this network belongs to

Project where this network belongs to.

namespace string optional

Namespace where this network belongs to

Namespace where this network belongs to.

prefixes string repeated

Prefixes in this network

Prefixes in this network.

destination_prefixes string repeated

Destination Prefixes in this network

Destination Prefixes in this network.

parent_network string optional

Parent Network points to the id of the parent network if any

Parent Network points to the id of the parent network if any.

address_family NetworkAddressFamily optional

Addressfamily to query

Addressfamily to query.

type NetworkType optional

Type of the network to query for

Type of the network to query for.

nat_type NATType optional

NATType configured

NATType configured.

labels Labels optional

Labels on this network

Labels on this network.

@@ -8808,56 +8808,56 @@

NetworkServiceCreateReque

- + - + - + - + - + - + - + - + @@ -8868,7 +8868,7 @@

NetworkServiceCreateReque

NetworkServiceCreateResponse

-

NetworkServiceCreateResponse

+

NetworkServiceCreateResponse.

project string

Project where this network belongs to

Project where this network belongs to.

name string optional

Name of this network

Name of this network.

description string optional

Description of this network

Description of this network.

partition string optional

Partition where this network will be created

Partition where this network will be created.

labels Labels

Labels on this network

Labels on this network.

parent_network string optional

Parent Network points to the id of the parent network if any

Parent Network points to the id of the parent network if any.

length ChildPrefixLength optional

Length per addressfamily

Length per addressfamily.

address_family NetworkAddressFamily optional

AddressFamily to create, defaults to the same as the parent

AddressFamily to create, defaults to the same as the parent.

@@ -8881,7 +8881,7 @@

NetworkServiceCreateResp

- + @@ -8892,7 +8892,7 @@

NetworkServiceCreateResp

NetworkServiceDeleteRequest

-

NetworkServiceDeleteRequest

+

NetworkServiceDeleteRequest.

network Network

Network is the created network

Network is the created network.

@@ -8905,14 +8905,14 @@

NetworkServiceDeleteReque

- + - + @@ -8923,7 +8923,7 @@

NetworkServiceDeleteReque

NetworkServiceDeleteResponse

-

NetworkServiceDeleteResponse

+

NetworkServiceDeleteResponse.

id string

ID of the network to get

ID of the network to get.

project string

Project of the network

Project of the network.

@@ -8936,7 +8936,7 @@

NetworkServiceDeleteResp

- + @@ -8947,7 +8947,7 @@

NetworkServiceDeleteResp

NetworkServiceGetRequest

-

NetworkServiceGetRequest

+

NetworkServiceGetRequest.

network Network

Network is the deleted network

Network is the deleted network.

@@ -8960,14 +8960,14 @@

NetworkServiceGetRequest

id
- + - + @@ -8978,7 +8978,7 @@

NetworkServiceGetRequest

NetworkServiceGetResponse -

NetworkServiceGetResponse

+

NetworkServiceGetResponse.

string

ID of the network to get

ID of the network to get.

project string

Project of the network

Project of the network.

@@ -8991,7 +8991,7 @@

NetworkServiceGetResponsenetwork

- + @@ -9002,7 +9002,7 @@

NetworkServiceGetResponseNetworkServiceListBaseNetworksRequest

-

NetworkServiceListRequest

+

NetworkServiceListRequest.

Network

Network which was requested to get

Network which was requested to get.

@@ -9015,14 +9015,14 @@

NetworkServiceL

- + - + @@ -9033,7 +9033,7 @@

NetworkServiceL

NetworkServiceListBaseNetworksResponse

-

NetworkServiceListResponse

+

NetworkServiceListResponse.

project string

Project of the base networks to list

Project of the base networks to list.

query NetworkQuery

Query which specifies which networks to return

Query which specifies which networks to return.

@@ -9046,7 +9046,7 @@

NetworkService

- + @@ -9057,7 +9057,7 @@

NetworkService

NetworkServiceListRequest

-

NetworkServiceListRequest

+

NetworkServiceListRequest.

networks Network repeated

Networks are the requested networks

Networks are the requested networks.

@@ -9070,14 +9070,14 @@

NetworkServiceListRequestproject

- + - + @@ -9088,7 +9088,7 @@

NetworkServiceListRequestNetworkServiceListResponse

-

NetworkServiceListResponse

+

NetworkServiceListResponse.

string

Project of the networks to list

Project of the networks to list.

query NetworkQuery

Query which specifies which networks to return

Query which specifies which networks to return.

@@ -9101,7 +9101,7 @@

NetworkServiceListResponse

- + @@ -9112,7 +9112,7 @@

NetworkServiceListResponse

NetworkServiceUpdateRequest

-

NetworkServiceUpdateRequest

+

NetworkServiceUpdateRequest.

networks Network repeated

Networks are the requested networks

Networks are the requested networks.

@@ -9125,42 +9125,42 @@

NetworkServiceUpdateReque

- + - + - + - + - + - + @@ -9171,7 +9171,7 @@

NetworkServiceUpdateReque

NetworkServiceUpdateResponse

-

NetworkServiceUpdateResponse

+

NetworkServiceUpdateResponse.

id string

ID of the network to get

ID of the network to get.

update_meta UpdateMeta

UpdateMeta contains the timestamp and strategy to be used in this update request

UpdateMeta contains the timestamp and strategy to be used in this update request.

project string

Project of the network

Project of the network.

name string optional

Name of this network

Name of this network.

description string optional

Description of this network

Description of this network.

labels UpdateLabels optional

Labels on this network

Labels on this network.

@@ -9184,7 +9184,7 @@

NetworkServiceUpdateResp

- + @@ -9208,28 +9208,28 @@

NetworkUsage

- + - + - + - + @@ -9242,7 +9242,7 @@

NetworkUsage

NATType

-

NATType defines how and if outgoing traffic is translated

+

NATType defines how and if outgoing traffic is translated.

network Network

Network is the updated network

Network is the updated network.

available_ips uint64

the total available IPs

the total available IPs.

used_ips uint64

the total used IPs

the total used IPs.

available_prefixes uint64

the total available 2-bit prefixes

the total available 2-bit prefixes.

used_prefixes uint64

the total used Prefixes

the total used Prefixes.

@@ -9252,26 +9252,26 @@

NATType

- + - + - +
NameNumberDescription
NAT_TYPE_UNSPECIFIED 0

NAT_TYPE_UNSPECIFIED indicates a unspecified nat type

NAT_TYPE_UNSPECIFIED indicates a unspecified nat type.

NAT_TYPE_NONE 1

NAT_TYPE_NONE indicates that no nat is configured

NAT_TYPE_NONE indicates that no nat is configured.

NAT_TYPE_IPV4_MASQUERADE 2

NAT_TYPE_IPV4_MASQUERADE masquerade ipv4 behind gateway ip when traffic enters this network

NAT_TYPE_IPV4_MASQUERADE masquerade ipv4 behind gateway ip when traffic enters this network.

NetworkAddressFamily

-

NetworkAddressFamily defines the address family of a network

+

NetworkAddressFamily defines the address family of a network.

@@ -9281,32 +9281,32 @@

NetworkAddressFamily

- + - + - + - +
NameNumberDescription
NETWORK_ADDRESS_FAMILY_UNSPECIFIED 0

NETWORK_ADDRESS_FAMILY_UNSPECIFIED is not specified

NETWORK_ADDRESS_FAMILY_UNSPECIFIED is not specified.

NETWORK_ADDRESS_FAMILY_V4 1

NETWORK_ADDRESS_FAMILY_V4 defines a network with IPv4 address prefixes

NETWORK_ADDRESS_FAMILY_V4 defines a network with IPv4 address prefixes.

NETWORK_ADDRESS_FAMILY_V6 2

NETWORK_ADDRESS_FAMILY_V6 defines a network with IPv6 address prefixes

NETWORK_ADDRESS_FAMILY_V6 defines a network with IPv6 address prefixes.

NETWORK_ADDRESS_FAMILY_DUAL_STACK 3

NETWORK_ADDRESS_FAMILY_DUAL_STACK defines a network with both IPv4 and IPv6 address prefixes

NETWORK_ADDRESS_FAMILY_DUAL_STACK defines a network with both IPv4 and IPv6 address prefixes.

NetworkType

-

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

+

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

@@ -9316,13 +9316,13 @@

NetworkType

- + - @@ -9330,22 +9330,22 @@

NetworkType

- - @@ -9448,7 +9448,7 @@

metalstack/api/v2/partition.proto

DNSServer -

DNSServer

+

DNSServer.

NameNumberDescription
NETWORK_TYPE_UNSPECIFIED 0

NETWORK_TYPE_UNSPECIFIED indicates a unknown network type

NETWORK_TYPE_UNSPECIFIED indicates a unknown network type.

NETWORK_TYPE_EXTERNAL 1

NETWORK_TYPE_EXTERNAL indicates network where multiple projects can allocate ips, it offers connectivity to other external networks +

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.

NETWORK_TYPE_UNDERLAY 2

NETWORK_TYPE_UNDERLAY indicates a underlay network -The underlay network connects all switches and the firewalls to build a EVPN dataplane +

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.

NETWORK_TYPE_SUPER 3

NETWORK_TYPE_SUPER indicates a super network which is only used to create child networks +

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 +For child creation destination prefixes will be inherited. If this is project scoped, the child project must match, otherwise can be freely specified.

@@ -9461,7 +9461,7 @@

DNSServer

- + @@ -9472,7 +9472,7 @@

DNSServer

NTPServer

-

NTPServer

+

NTPServer.

ip string

IP address of this dns server

IP address of this dns server.

@@ -9485,7 +9485,7 @@

NTPServer

- + @@ -9496,7 +9496,7 @@

NTPServer

Partition

-

Partition is a failure domain with machines and switches

+

Partition is a failure domain with machines and switches.

address string

Address either as ip or hostname

Address either as ip or hostname.

@@ -9509,50 +9509,50 @@

Partition

- + - + - + - + - + - + - + @@ -9563,7 +9563,7 @@

Partition

PartitionBootConfiguration

-

PartitionBootConfiguration defines how metal-hammer boots

+

PartitionBootConfiguration defines how metal-hammer boots.

id string

ID of this partition

ID of this partition.

meta Meta

Meta for this partition

Meta for this partition.

description string

Description of this partition

Description of this partition.

boot_configuration PartitionBootConfiguration

PartitionBootConfiguration defines how metal-hammer boots

PartitionBootConfiguration defines how metal-hammer boots.

dns_servers DNSServer repeated

DNSServers for this partition

DNSServers for this partition.

ntp_servers NTPServer repeated

NTPServers for this partition

NTPServers for this partition.

mgmt_service_addresses string repeated

ManagementServiceAddresses defines where the management is reachable -should be in the form <ip|host>:<port>

ManagementServiceAddresses defines where the management is reachable. +should be in the form <ip|host>:<port>.

@@ -9576,21 +9576,21 @@

PartitionBootConfiguration

- + - + - + @@ -9601,7 +9601,7 @@

PartitionBootConfiguration

PartitionQuery

-

PartitionQuery is used to search partitions

+

PartitionQuery is used to search partitions.

image_url string

ImageURL the url to download the initrd for the boot image

ImageURL the url to download the initrd for the boot image.

kernel_url string

KernelURL the url to download the kernel for the boot image

KernelURL the url to download the kernel for the boot image.

commandline string

Commandline the kernel command line for the boot image

Commandline the kernel command line for the boot image.

@@ -9614,14 +9614,14 @@

PartitionQuery

- + - + @@ -9632,7 +9632,7 @@

PartitionQuery

PartitionServiceGetRequest

-

PartitionServiceGetRequest is the request payload for a partition get request

+

PartitionServiceGetRequest is the request payload for a partition get request.

id string optional

ID of the partition to get

ID of the partition to get.

labels Labels optional

Labels lists only partitions containing the given labels

Labels lists only partitions containing the given labels.

@@ -9645,7 +9645,7 @@

PartitionServiceGetRequest

- + @@ -9656,7 +9656,7 @@

PartitionServiceGetRequest

PartitionServiceGetResponse

-

PartitionServiceGetResponse is the response payload for a partition get request

+

PartitionServiceGetResponse is the response payload for a partition get request.

id string

ID of the partition to get

ID of the partition to get.

@@ -9669,7 +9669,7 @@

PartitionServiceGetRespon

- + @@ -9680,7 +9680,7 @@

PartitionServiceGetRespon

PartitionServiceListRequest

-

PartitionServiceListRequest is the request payload for a partition list request

+

PartitionServiceListRequest is the request payload for a partition list request.

partition Partition

Partition is the partition

Partition is the partition.

@@ -9693,7 +9693,7 @@

PartitionServiceListReque

- + @@ -9704,7 +9704,7 @@

PartitionServiceListReque

PartitionServiceListResponse

-

PartitionServiceListResponse is the response payload for a partition list request

+

PartitionServiceListResponse is the response payload for a partition list request.

query PartitionQuery

Query for partitions

Query for partitions.

@@ -9717,7 +9717,7 @@

PartitionServiceListResp

- + @@ -9768,7 +9768,7 @@

metalstack/api/v2/size.proto

Size -

Size

+

Size.

partitions Partition repeated

Partitions are the partitions

Partitions are the partitions.

@@ -9781,35 +9781,35 @@

Size

- + - + - + - + - + @@ -9833,28 +9833,28 @@

SizeConstraint

- + - + - + - + @@ -9865,7 +9865,7 @@

SizeConstraint

SizeQuery

-

SizeQuery is used to search sizes

+

SizeQuery is used to search sizes.

id string

Id of this size

Id of this size.

meta Meta

Meta for this size

Meta for this size.

name string optional

Name of this size

Name of this size.

description string optional

Description of this size

Description of this size.

constraints SizeConstraint repeated

Constraints which must match that a specific machine is considered of this size

Constraints which must match that a specific machine is considered of this size.

type SizeConstraintType

Type a machine matches to a size in order to make them easier to categorize

Type a machine matches to a size in order to make them easier to categorize.

min uint64

Min the minimum value of the constraint

Min the minimum value of the constraint.

max uint64

Max the maximum value of the constraint

Max the maximum value of the constraint.

identifier string optional

Identifier glob pattern which matches to the given type, for example gpu pci id

Identifier glob pattern which matches to the given type, for example gpu pci id.

@@ -9878,28 +9878,28 @@

SizeQuery

- + - + - + - + @@ -9910,7 +9910,7 @@

SizeQuery

SizeServiceGetRequest

-

SizeServiceGetRequest is the request payload for a size get request

+

SizeServiceGetRequest is the request payload for a size get request.

id string optional

ID of the size to get

ID of the size to get.

name string optional

Name of the size to query

Name of the size to query.

description string optional

Description of the size to query

Description of the size to query.

labels Labels optional

Labels lists only sizes containing the given labels

Labels lists only sizes containing the given labels.

@@ -9923,7 +9923,7 @@

SizeServiceGetRequest

- + @@ -9934,7 +9934,7 @@

SizeServiceGetRequest

SizeServiceGetResponse

-

SizeServiceGetResponse is the response payload for a size get request

+

SizeServiceGetResponse is the response payload for a size get request.

id string

ID of the size to get

ID of the size to get.

@@ -9947,7 +9947,7 @@

SizeServiceGetResponse

- + @@ -9958,7 +9958,7 @@

SizeServiceGetResponse

SizeServiceListRequest

-

SizeServiceListRequest is the request payload for a size list request

+

SizeServiceListRequest is the request payload for a size list request.

size Size

Size the size

Size the size.

@@ -9971,7 +9971,7 @@

SizeServiceListRequest

- + @@ -9982,7 +9982,7 @@

SizeServiceListRequest

SizeServiceListResponse

-

SizeServiceListResponse is the response payload for a size list request

+

SizeServiceListResponse is the response payload for a size list request.

query SizeQuery

Query for sizes

Query for sizes.

@@ -9995,7 +9995,7 @@

SizeServiceListResponse

- + @@ -10008,7 +10008,7 @@

SizeServiceListResponse

SizeConstraintType

-

SizeConstraintType defines the property for which a constraint is defined

+

SizeConstraintType defines the property for which a constraint is defined.

sizes Size repeated

Sizes the sizes

Sizes the sizes.

@@ -10018,31 +10018,31 @@

SizeConstraintType

- + - + - + - + - + @@ -10087,7 +10087,7 @@

metalstack/api/v2/machine.proto

FirewallEgressRule -

FirewallEgressRule defines rules for outgoing traffic

+

FirewallEgressRule defines rules for outgoing traffic.

NameNumberDescription
SIZE_CONSTRAINT_TYPE_UNSPECIFIED 0

SIZE_CONSTRAINT_TYPE_UNSPECIFIED type is not specified

SIZE_CONSTRAINT_TYPE_UNSPECIFIED type is not specified.

SIZE_CONSTRAINT_TYPE_CORES 1

SIZE_CONSTRAINT_TYPE_CORES defines the number of cores as property

SIZE_CONSTRAINT_TYPE_CORES defines the number of cores as property.

SIZE_CONSTRAINT_TYPE_MEMORY 2

SIZE_CONSTRAINT_TYPE_MEMORY defines the amount of memory as property

SIZE_CONSTRAINT_TYPE_MEMORY defines the amount of memory as property.

SIZE_CONSTRAINT_TYPE_STORAGE 3

SIZE_CONSTRAINT_TYPE_STORAGE defines the amount of storage as property

SIZE_CONSTRAINT_TYPE_STORAGE defines the amount of storage as property.

SIZE_CONSTRAINT_TYPE_GPU 4

SIZE_CONSTRAINT_TYPE_GPU defines the number of gpus as property

SIZE_CONSTRAINT_TYPE_GPU defines the number of gpus as property.

@@ -10100,28 +10100,28 @@

FirewallEgressRule

- + - + - + - + @@ -10132,7 +10132,7 @@

FirewallEgressRule

FirewallIngressRule

-

FirewallIngressRule defines rules for incoming traffic

+

FirewallIngressRule defines rules for incoming traffic.

protocol IPProtocol

Protocol the protocol for the rule, defaults to tcp

Protocol the protocol for the rule, defaults to tcp.

ports uint32 repeated

Ports the ports affected by this rule

Ports the ports affected by this rule.

to string repeated

To the destination cidrs affected by this rule

To the destination cidrs affected by this rule.

comment string

Comment for this rule

Comment for this rule.

@@ -10145,35 +10145,35 @@

FirewallIngressRule

- + - + - + - + - + @@ -10184,7 +10184,7 @@

FirewallIngressRule

FirewallRules

-

FirewallRules can be defined during firewall allocation

+

FirewallRules can be defined during firewall allocation.

protocol IPProtocol

Protocol the protocol for the rule, defaults to tcp

Protocol the protocol for the rule, defaults to tcp.

ports uint32 repeated

Ports the ports affected by this rule

Ports the ports affected by this rule.

to string repeated

To the destination cidrs affected by this rule

To the destination cidrs affected by this rule.

from string repeated

From the source cidrs affected by this rule

From the source cidrs affected by this rule.

comment string

Comment for this rule

Comment for this rule.

@@ -10197,14 +10197,14 @@

FirewallRules

- + - + @@ -10215,7 +10215,7 @@

FirewallRules

FirewallSpec

-

FirewallSpec contains firewall specific firewall creation parameters

+

FirewallSpec contains firewall specific firewall creation parameters.

egress FirewallEgressRule repeated

Egress list of egress rules to be deployed during firewall allocation

Egress list of egress rules to be deployed during firewall allocation.

ingress FirewallIngressRule repeated

Ingress list of ingress rules to be deployed during firewall allocation

Ingress list of ingress rules to be deployed during firewall allocation.

@@ -10228,7 +10228,7 @@

FirewallSpec

- + @@ -10252,70 +10252,70 @@

Machine

- + - + - + - + - + - + - + - + - + - + @@ -10326,7 +10326,7 @@

Machine

MachineAllocation

-

MachineAllocation contains properties if this machine is allocated

+

MachineAllocation contains properties if this machine is allocated.

firewall_rules FirewallRules

FirewallRules to be applied if this is a firewall

FirewallRules to be applied if this is a firewall.

uuid string

UUID of this machine

UUID of this machine.

meta Meta

Meta for this machine

Meta for this machine.

partition Partition

Partition where this machine resides

Partition where this machine resides.

rack string

Rack where this machine is located

Rack where this machine is located.

room string

Room where this machine is located

Room where this machine is located.

size Size

Size of this machine

Size of this machine.

hardware MachineHardware

Hardware specs of this machine

Hardware specs of this machine.

allocation MachineAllocation

Allocation details

Allocation details.

status MachineStatus

Status contains several status details related to this machine

Status contains several status details related to this machine.

recent_provisioning_events MachineRecentProvisioningEvents

MachineRecentProvisioningEvents contains the recent provisioning events

MachineRecentProvisioningEvents contains the recent provisioning events.

@@ -10339,63 +10339,63 @@

MachineAllocation

- + - + - + - + - + - + - + - + - @@ -10403,14 +10403,14 @@

MachineAllocation

- + - + @@ -10418,42 +10418,42 @@

MachineAllocation

+AWS limits the max userdata size to 16k, lets allow twice as much.

- + - + - + - + - + @@ -10464,7 +10464,7 @@

MachineAllocation

MachineAllocationNetwork

-

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

+

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

uuid string

UUID of this machine allocation

UUID of this machine allocation.

meta Meta

Meta for this machine allocation

Meta for this machine allocation.

name string

Name of this allocation

Name of this allocation.

description string

Description of this allocation

Description of this allocation.

created_by string

Created By indicates who created this machine allocation

Created By indicates who created this machine allocation.

project string

Project of the allocation

Project of the allocation.

image Image

Image to be used to install on this machine

Image to be used to install on this machine.

filesystem_layout FilesystemLayout

FilesystemLayout to create on the disks

FilesystemLayout to create on the disks.

networks MachineNetwork repeated

Networks this machine should be attached to +

Networks this machine should be attached to. Order of ips of external networks will be preserved.

hostname string

Hostname of the allocated machine

Hostname of the allocated machine.

ssh_public_keys string repeated

SSHPublicKeys which should be installed on this machine

SSHPublicKeys which should be installed on this machine.

string

Userdata contains instructions required to bootstrap the machine. -AWS limits the max userdata size to 16k, lets allow twice as much

allocation_type MachineAllocationType

AllocationType of this machine

AllocationType of this machine.

firewall_rules FirewallRules

FirewallRules to be applied if this is a firewall

FirewallRules to be applied if this is a firewall.

dns_servers DNSServer repeated

DNSServers for this machine

DNSServers for this machine.

ntp_servers NTPServer repeated

NTPServers for this machine

NTPServers for this machine.

vpn MachineVPN

VPN connection configuration

VPN connection configuration.

@@ -10477,15 +10477,15 @@

MachineAllocationNetwork

network
- + - @@ -10497,7 +10497,7 @@

MachineAllocationNetwork

MachineAllocationQuery -

MachineAllocationQuery allocation specific query parameters

+

MachineAllocationQuery allocation specific query parameters.

string

Network the id of the network that this machine will be placed in

Network the id of the network that this machine will be placed in.

ips string repeated

IPs to to attach to this machine additionally -If none given, one ip address is acquired per network for the machine +

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.

@@ -10510,63 +10510,63 @@

MachineAllocationQuery

- + - + - + - + - + - + - + - + - + @@ -10577,7 +10577,7 @@

MachineAllocationQuery

MachineBMC

-

MachineBMC describe details of the ipmi or out of band device

+

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

uuid string optional

UUID of the allocation of the machine to get

UUID of the allocation of the machine to get.

name string optional

Name of the machine to get

Name of the machine to get.

project string optional

Project of the machine to get

Project of the machine to get.

image string optional

Image of the machine to get

Image of the machine to get.

filesystem_layout string optional

FilesystemLayout of the machine to get

FilesystemLayout of the machine to get.

hostname string optional

Hostname of the machine to get

Hostname of the machine to get.

allocation_type MachineAllocationType optional

AllocationType of this machine

AllocationType of this machine.

labels Labels optional

Labels for which this machine allocation should get filtered

Labels for which this machine allocation should get filtered.

vpn MachineVPN optional

VPN query if this machine has a vpn configuration

VPN query if this machine has a vpn configuration.

@@ -10590,49 +10590,49 @@

MachineBMC

- + - + - + - + - + - + - + @@ -10643,7 +10643,7 @@

MachineBMC

MachineBMCQuery

-

MachineBMCQuery machine ipmi or bmc specific machine queries

+

MachineBMCQuery machine ipmi or bmc specific machine queries.

address string

Address of this ipmi device from outside in the form of <ip or hostname>:<port>

Address of this ipmi device from outside in the form of <ip or hostname>:<port>.

mac string

Mac address of the network interface of this ipmi device

Mac address of the network interface of this ipmi device.

user string

User of this ipmi device

User of this ipmi device.

password string

Password of this ipmi device

Password of this ipmi device.

interface string

Interface of this ipmi device

Interface of this ipmi device.

version string

Version of this bmc device

Version of this bmc device.

power_state string

PowerState of this machine

PowerState of this machine.

@@ -10656,28 +10656,28 @@

MachineBMCQuery

- + - + - + - + @@ -10688,7 +10688,7 @@

MachineBMCQuery

MachineBMCReport

-

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

+

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

address string optional

Address of the ipmi system of this machine

Address of the ipmi system of this machine.

mac string optional

Mac of the ipmi system of this machine

Mac of the ipmi system of this machine.

user string optional

User of the ipmi system of this machine

User of the ipmi system of this machine.

interface string optional

Interface of the ipmi system of this machine

Interface of the ipmi system of this machine.

@@ -10701,49 +10701,49 @@

MachineBMCReport

- + - + - + - + - + - + - + @@ -10754,7 +10754,7 @@

MachineBMCReport

MachineBios

-

MachineBios contains BIOS details of this machine

+

MachineBios contains BIOS details of this machine.

bmc MachineBMC

Bmc contains bmc details

Bmc contains bmc details.

bios MachineBios

Bios contains bios details

Bios contains bios details.

fru MachineFRU

Fru contains field replaceable unit details

Fru contains field replaceable unit details.

power_metric MachinePowerMetric

PowerMetric contains the power statistics of the machine

PowerMetric contains the power statistics of the machine.

power_supplies MachinePowerSupply repeated

PowerSupplies contains details about all power supplies and their state

PowerSupplies contains details about all power supplies and their state.

led_state MachineChassisIdentifyLEDState

LedState indicates the state of the indicator LED on this machine

LedState indicates the state of the indicator LED on this machine.

updated_at google.protobuf.Timestamp

UpdatedAt contains the date when this data was last updated

UpdatedAt contains the date when this data was last updated.

@@ -10767,21 +10767,21 @@

MachineBios

- + - + - + @@ -10792,7 +10792,7 @@

MachineBios

MachineBlockDevice

-

MachineBlockDevice contains details of a block device of this machine

+

MachineBlockDevice contains details of a block device of this machine.

version string

Version the bios version

Version the bios version.

vendor string

Vendor the bios vendor

Vendor the bios vendor.

date string

Date the bios date as string because every vendor has different ideas how to describe the date

Date the bios date as string because every vendor has different ideas how to describe the date.

@@ -10805,14 +10805,14 @@

MachineBlockDevice

- + - + @@ -10823,7 +10823,7 @@

MachineBlockDevice

MachineChassisIdentifyLEDState

-

MachineChassisIdentifyLEDState describes the identifier led state

+

MachineChassisIdentifyLEDState describes the identifier led state.

name string

Name of this block device

Name of this block device.

size uint64

Size of this block device in bytes

Size of this block device in bytes.

@@ -10836,14 +10836,14 @@

MachineChassisIdentify

- + - + @@ -10854,7 +10854,7 @@

MachineChassisIdentify

MachineCondition

-

MachineCondition describes the availability of this machine

+

MachineCondition describes the availability of this machine.

value string

Value the state of this chassis identify LED. empty means LED-OFF

Value the state of this chassis identify LED. empty means LED-OF.

description string

Description a description why this chassis identify LED is in the given state

Description a description why this chassis identify LED is in the given state.

@@ -10867,21 +10867,21 @@

MachineCondition

- + - + - + @@ -10892,7 +10892,7 @@

MachineCondition

MachineDiskQuery

-

MachineDiskQuery disk specific machine queries

+

MachineDiskQuery disk specific machine queries.

state MachineState

State the state of this machine. empty means available for all

State the state of this machine. empty means available for al.

description string

Description a description why this machine is in the given state

Description a description why this machine is in the given state.

issuer string

Issuer the user that changed the state

Issuer the user that changed the state.

@@ -10905,14 +10905,14 @@

MachineDiskQuery

- + - + @@ -10923,7 +10923,7 @@

MachineDiskQuery

MachineFRU

-

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

+

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

names string repeated

Names of disks in this machine

Names of disks in this machine.

sizes uint64 repeated

Sizes of disks in this machine

Sizes of disks in this machine.

@@ -10936,56 +10936,56 @@

MachineFRU

- + - + - + - + - + - + - + - + @@ -10996,7 +10996,7 @@

MachineFRU

MachineFRUQuery

-

MachineFRUQuery machine fru specific machine queries

+

MachineFRUQuery machine fru specific machine queries.

chassis_part_number string optional

ChassisPartNumber is the part number of the machine chassis

ChassisPartNumber is the part number of the machine chassis.

chassis_part_serial string optional

ChassisPartSerial is the serial number of the machine chassis

ChassisPartSerial is the serial number of the machine chassis.

board_mfg string optional

BoardMfg is the short description of the mainboard

BoardMfg is the short description of the mainboard.

board_mfg_serial string optional

BoardMfgSerial is the serial number of the mainboard

BoardMfgSerial is the serial number of the mainboard.

board_part_number string optional

BoardPartNumber is the part number of the mainboard

BoardPartNumber is the part number of the mainboard.

product_manufacturer string optional

ProductManufacturer is the manufacturer of the machine

ProductManufacturer is the manufacturer of the machine.

product_part_number string optional

ProductPartNumber is the part number of the machine

ProductPartNumber is the part number of the machine.

product_serial string optional

ProductSerial is the serial number of the machine

ProductSerial is the serial number of the machine.

@@ -11009,56 +11009,56 @@

MachineFRUQuery

- + - + - + - + - + - + - + - + @@ -11069,7 +11069,7 @@

MachineFRUQuery

MachineHardware

-

MachineHardware contains hardware details

+

MachineHardware contains hardware details.

chassis_part_number string optional

ChassisPartNumber of this machine

ChassisPartNumber of this machine.

chassis_part_serial string optional

ChassisPartSerial of this machine

ChassisPartSerial of this machine.

board_mfg string optional

BoardMFG of this machine

BoardMFG of this machine.

board_serial string optional

BoardSerial of this machine

BoardSerial of this machine.

board_part_number string optional

BoardPartNumber of this machine

BoardPartNumber of this machine.

product_manufacturer string optional

ProductManufacturer of this machine

ProductManufacturer of this machine.

product_part_number string optional

ProductPartNumber of this machine

ProductPartNumber of this machine.

product_serial string optional

ProductSerial of this machine

ProductSerial of this machine.

@@ -11082,35 +11082,35 @@

MachineHardware

- + - + - + - + - + @@ -11121,7 +11121,7 @@

MachineHardware

MachineHardwareQuery

-

MachineHardwareQuery machine hardware specific machine queries

+

MachineHardwareQuery machine hardware specific machine queries.

memory uint64

Memory the total memory of the machine in bytes

Memory the total memory of the machine in bytes.

disks MachineBlockDevice repeated

Disks the list of block devices of this machine

Disks the list of block devices of this machine.

cpus MetalCPU repeated

CPUs the cpu details

CPUs the cpu details.

gpus MetalGPU repeated

GPUs the gpu details

GPUs the gpu details.

nics MachineNic repeated

Nics the list of network interfaces of this machine

Nics the list of network interfaces of this machine.

@@ -11134,14 +11134,14 @@

MachineHardwareQuery

- + - + @@ -11152,7 +11152,7 @@

MachineHardwareQuery

MachineIssue

-

MachineIssue contains details of one issue

+

MachineIssue contains details of one issue.

memory uint64 optional

Memory the total memory of the machine in bytes

Memory the total memory of the machine in bytes.

cpu_cores uint32 optional

CPUCores the number of cpu cores

CPUCores the number of cpu cores.

@@ -11165,35 +11165,35 @@

MachineIssue

- + - + - + - + - + @@ -11204,7 +11204,7 @@

MachineIssue

MachineIssues

-

MachineIssues is a list of issues for a machine

+

MachineIssues is a list of issues for a machine.

type MachineIssueType

Type specifies the issue type (id)

Type specifies the issue type (id).

severity MachineIssueSeverity

Severity specifies the severity of an issue

Severity specifies the severity of an issue.

description string

Description provides an issue description

Description provides an issue description.

reference_url string

RefURL provides a link to a more detailed issue description in the metal-stack documentation

RefURL provides a link to a more detailed issue description in the metal-stack documentation.

details string

Details may contain additional details on an evaluated issue

Details may contain additional details on an evaluated issue.

@@ -11217,14 +11217,14 @@

MachineIssues

- + - + @@ -11235,7 +11235,7 @@

MachineIssues

MachineIssuesQuery

-

MachineIssuesQuery defines which machine issues should be listed

+

MachineIssuesQuery defines which machine issues should be listed.

uuid string

UUID of the machine for which the issues are listed

UUID of the machine for which the issues are listed.

issues MachineIssue repeated

Issues of this machine

Issues of this machine.

@@ -11248,35 +11248,35 @@

MachineIssuesQuery

- + - + - + - + - + @@ -11287,7 +11287,7 @@

MachineIssuesQuery

MachineNetwork

-

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

+

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

machine_query MachineQuery

MachineQuery to select specific machines

MachineQuery to select specific machines.

only MachineIssueType repeated

Only includes the specified machine issue types

Only includes the specified machine issue types.

omit MachineIssueType repeated

Omits the specified machine issues

Omits the specified machine issues.

severity MachineIssueSeverity optional

Severity filters issue for given severity

Severity filters issue for given severity.

last_error_threshold google.protobuf.Duration

LastErrorThreshold defines the last error threshold

LastErrorThreshold defines the last error threshold.

@@ -11300,63 +11300,63 @@

MachineNetwork

- + - + - + - + - + - + - + - + - + @@ -11367,7 +11367,7 @@

MachineNetwork

MachineNetworkQuery

-

MachineNetworkQuery network specific machine queries

+

MachineNetworkQuery network specific machine queries.

network string

Network the networkID of the allocated machine in this vrf

Network the networkID of the allocated machine in this vrf.

prefixes string repeated

Prefixes the prefixes of this network

Prefixes the prefixes of this network.

destination_prefixes string repeated

DestinationPrefixes prefixes that are reachable within this network

DestinationPrefixes prefixes that are reachable within this network.

ips string repeated

IPs the ip addresses of the allocated machine in this vrf

IPs the ip addresses of the allocated machine in this vrf.

network_type NetworkType

NetworkType the type of network of this vrf

NetworkType the type of network of this vrf.

nat_type NATType

NatType what type of nat if any should be used

NatType what type of nat if any should be used.

vrf uint64

VRF the vrf id

VRF the vrf id.

asn uint32

ASN the autonomous system number for this network

ASN the autonomous system number for this network.

project string optional

Project is the project uuid associated with this network

Project is the project uuid associated with this network.

@@ -11380,42 +11380,42 @@

MachineNetworkQuery

- + - + - + - + - + - + @@ -11426,7 +11426,7 @@

MachineNetworkQuery

MachineNic

-

MachineNic contains details of a network interface of this machine

+

MachineNic contains details of a network interface of this machine.

networks string repeated

Networks this machine is connected to

Networks this machine is connected to.

prefixes string repeated

Prefixes this machine is connected to

Prefixes this machine is connected to.

destination_prefixes string repeated

DestinationPrefixes this machine is connected to

DestinationPrefixes this machine is connected to.

ips string repeated

IPs this machine has

IPs this machine has.

vrfs uint64 repeated

VRFs this machine is connected to

VRFs this machine is connected to.

asns uint32 repeated

ASNs this machine is connected to

ASNs this machine is connected to.

@@ -11439,56 +11439,56 @@

MachineNic

- + - + - + - + - + - + - + - + @@ -11499,7 +11499,7 @@

MachineNic

MachineNicQuery

-

MachineNicQuery nic specific machine queries

+

MachineNicQuery nic specific machine queries.

mac string

Mac the macaddress of this interface

Mac the macaddress of this interface.

name string

Name of this interface

Name of this interface.

identifier string

Identifier the unique identifier of this network interface

Identifier the unique identifier of this network interface.

vendor string

Vendor of this network card

Vendor of this network card.

model string

Model of this network card

Model of this network card.

speed uint64

Speed in bits/second of this network card

Speed in bits/second of this network card.

neighbors MachineNic repeated

Neighbors the neighbors visible to this network interface

Neighbors the neighbors visible to this network interface.

hostname string

Hostname the nic belongs to

Hostname the nic belongs to.

@@ -11512,28 +11512,28 @@

MachineNicQuery

- + - + - + - + @@ -11544,7 +11544,7 @@

MachineNicQuery

MachinePowerMetric

-

MachinePowerMetric contains metrics of the power consumption of a machine

+

MachinePowerMetric contains metrics of the power consumption of a machine.

macs string repeated

Macs this machine nic has

Macs this machine nic has.

names string repeated

Names this machine nic has

Names this machine nic has.

neighbor_macs string repeated

NeighborMacs this machine nic has

NeighborMacs this machine nic has.

neighbor_names string repeated

NeighborNames this machine nic has

NeighborNames this machine nic has.

@@ -11557,18 +11557,14 @@

MachinePowerMetric

- + - @@ -11576,18 +11572,14 @@

MachinePowerMetric

- + - + @@ -11598,7 +11590,7 @@

MachinePowerMetric

MachinePowerSupply

-

MachinePowerSupply contains details of the power supply of a machine

+

MachinePowerSupply contains details of the power supply of a machine.

average_consumed_watts float

AverageConsumedWatts shall represent the -average power level that occurred averaged over the last IntervalInMin -minutes.

AverageConsumedWatts shall represent the average power level that occurred averaged over the last IntervalInMin minutes.

interval_in_min float

IntervalInMin shall represent the time -interval (or window), in minutes, in which the PowerMetrics properties -are measured over. +

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.

max_consumed_watts float

MaxConsumedWatts shall represent the -maximum power level in watts that occurred within the last -IntervalInMin minutes.

MaxConsumedWatts shall represent the maximum power level in watts that occurred within the last IntervalInMin minutes.

min_consumed_watts float

MinConsumedWatts shall represent the -minimum power level in watts that occurred within the last -IntervalInMin minutes.

MinConsumedWatts shall represent the minimum power level in watts that occurred within the last IntervalInMin minutes.

@@ -11611,14 +11603,14 @@

MachinePowerSupply

- + - + @@ -11629,7 +11621,7 @@

MachinePowerSupply

MachineProvisioningEvent

-

MachineProvisioningEvent is an event that has occurred during provisioning

+

MachineProvisioningEvent is an event that has occurred during provisioning.

health string

Health of the powersupply

Health of the powersupply.

state string

State of the powersupply

State of the powersupply.

@@ -11642,21 +11634,21 @@

MachineProvisioningEvent

time
- + - + - + @@ -11680,105 +11672,105 @@

MachineQuery

- + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -11813,7 +11805,7 @@

MachineQuery

MachineRecentProvisioningEvents

-

MachineRecentProvisioningEvents the recent provisioning events for this machine

+

MachineRecentProvisioningEvents the recent provisioning events for this machine.

google.protobuf.Timestamp

Time the time that this event was received

Time the time that this event was received.

event MachineProvisioningEventType

Event the event emitted by the machine

Event the event emitted by the machine.

message string

Message an additional message to add to the event

Message an additional message to add to the event.

uuid string optional

UUID of the machine to get

UUID of the machine to get.

name string optional

Name of the machine to get

Name of the machine to get.

partition string optional

Partition of the machine to get

Partition of the machine to get.

size string optional

Size of the machine to get

Size of the machine to get.

rack string optional

Rack of the machine to get

Rack of the machine to get.

room string optional

Room of the machine to get

Room of the machine to get.

labels Labels optional

Labels for which this machine should get filtered

Labels for which this machine should get filtered.

allocation MachineAllocationQuery optional

Allocation specific machine queries

Allocation specific machine queries.

network MachineNetworkQuery optional

Network specific machine queries

Network specific machine queries.

nic MachineNicQuery optional

Nic specific machine queries

Nic specific machine queries.

disk MachineDiskQuery optional

Disk specific machine queries

Disk specific machine queries.

bmc MachineBMCQuery optional

Bmc specific machine queries

Bmc specific machine queries.

fru MachineFRUQuery optional

Fru specific machine queries

Fru specific machine queries.

hardware MachineHardwareQuery optional

Hardware specific machine query

Hardware specific machine query.

state MachineState optional

State this machine has

State this machine has.

@@ -11826,28 +11818,28 @@

MachineRecentProvisio

- + - + - + - + @@ -11858,7 +11850,7 @@

MachineRecentProvisio

MachineServiceBMCCommandRequest

-

MachineServiceBMCCommandRequest is the request payload for a machine bmc command

+

MachineServiceBMCCommandRequest is the request payload for a machine bmc command.

events MachineProvisioningEvent repeated

Events the log of recent machine provisioning events

Events the log of recent machine provisioning events.

last_event_time google.protobuf.Timestamp

LastEventTime the time where the last event was received

LastEventTime the time where the last event was received.

last_error_event MachineProvisioningEvent

LastErrorEvent the last erroneous event received

LastErrorEvent the last erroneous event received.

state MachineProvisioningEventState

State can be either CrashLoop, FailedReclaim or something else

State can be either CrashLoop, FailedReclaim or something else.

@@ -11871,21 +11863,21 @@

MachineServiceBMCComm

- + - + - + @@ -11896,14 +11888,14 @@

MachineServiceBMCComm

MachineServiceBMCCommandResponse

-

MachineServiceBMCCommandResponse is the response payload for a machine bmc command

+

MachineServiceBMCCommandResponse is the response payload for a machine bmc command.

MachineServiceCreateRequest

-

MachineServiceCreateRequest is the request payload for a machine create request

+

MachineServiceCreateRequest is the request payload for a machine create request.

uuid string

UUID of the machine to send the command to

UUID of the machine to send the command to.

project string

Project of the machine

Project of the machine.

command MachineBMCCommand

Command to send to the bmc of the machine

Command to send to the bmc of the machine.

@@ -11916,7 +11908,7 @@

MachineServiceCreateReque

- + @@ -11925,86 +11917,86 @@

MachineServiceCreateReque

+Can only be used with ADMIN_ROLE_EDITOR.

- + - + - + - + - + - +- 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.

- +Can be specified to test new fsls during development of fsls.

- + - + - + @@ -12019,35 +12011,35 @@

MachineServiceCreateReque

+if placement tags are provided, the machine candidate has an additional anti-affinity to other machines having the same tags.

- + - + - + - + @@ -12058,7 +12050,7 @@

MachineServiceCreateReque

MachineServiceCreateResponse

-

MachineServiceCreateResponse is the response payload for a machine create request

+

MachineServiceCreateResponse is the response payload for a machine create request.

project string

Project of the machine

Project of the machine.

optional

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

name string

Name of this machine

Name of this machine.

description string optional

Description for this machine

Description for this machine.

hostname string optional

Hostname the hostname for the allocated machine (defaults to metal)

Hostname the hostname for the allocated machine (defaults to metal).

partition string optional

Partition the partition id to assign this machine to, must be omitted if uuid is given

Partition the partition id to assign this machine to, must be omitted if uuid is given.

size string optional

Size of the machine to create, must be omitted if uuid is given

Size of the machine to create, must be omitted if uuid is given.

image string

Image which should be installed on this machine +

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.20260402 -or in a simplified form which omits the patch version -- debian-13.0 -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.

filesystem_layout string optional

FilesystemLayout which should be applied for the operating system installation +

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

ssh_public_keys string repeated

SSHPublicKeys defines the ssh public key to be installed on the machine to access it via ssh

SSHPublicKeys defines the ssh public key to be installed on the machine to access it via ssh.

userdata string optional

Userdata contains instructions required to bootstrap the machine -AWS limits the max userdata size to 16k, lets allow twice as much

Userdata contains instructions required to bootstrap the machine. +AWS limits the max userdata size to 16k, lets allow twice as much.

labels Labels

Labels to be attached to this machine allocation

Labels to be attached to this machine allocation.

string repeated

PlacementTags by default machines are spread across the racks inside a partition for every project. -if placement tags are provided, the machine candidate has an additional anti-affinity to other machines having the same tags

dns_servers DNSServer repeated

DNSServer the dns servers used for the machine

DNSServer the dns servers used for the machine.

ntp_servers NTPServer repeated

NTPServer the ntp servers used for the machine

NTPServer the ntp servers used for the machine.

allocation_type MachineAllocationType

AllocationType of this machine

AllocationType of this machine.

firewall_spec FirewallSpec

FirewallSpec provides firewall specific parameters if allocationType is firewall

FirewallSpec provides firewall specific parameters if allocationType is firewall.

@@ -12071,7 +12063,7 @@

MachineServiceCreateResp

- + @@ -12082,7 +12074,7 @@

MachineServiceCreateResp

MachineServiceDeleteRequest

-

MachineServiceDeleteRequest is the request payload for a machine delete request

+

MachineServiceDeleteRequest is the request payload for a machine delete request.

machine Machine

Machine which was created

Machine which was created.

@@ -12095,14 +12087,14 @@

MachineServiceDeleteReque

- + - + @@ -12113,7 +12105,7 @@

MachineServiceDeleteReque

MachineServiceDeleteResponse

-

MachineServiceDeleteResponse is the response payload for a machine delete request

+

MachineServiceDeleteResponse is the response payload for a machine delete request.

uuid string

UUID of the machine to delete

UUID of the machine to delete.

project string

Project of the machine

Project of the machine.

@@ -12126,7 +12118,7 @@

MachineServiceDeleteResp

- + @@ -12137,7 +12129,7 @@

MachineServiceDeleteResp

MachineServiceGetBMCRequest

-

MachineServiceGetBMCRequest is the request payload for a machine getbmc request

+

MachineServiceGetBMCRequest is the request payload for a machine getbmc request.

machine Machine

Machine which was deleted

Machine which was deleted.

@@ -12150,14 +12142,14 @@

MachineServiceGetBMCReque

- + - + @@ -12168,7 +12160,7 @@

MachineServiceGetBMCReque

MachineServiceGetBMCResponse

-

MachineServiceGetBMCResponse is the response payload for a machine getbmc request

+

MachineServiceGetBMCResponse is the response payload for a machine getbmc request.

uuid string

UUID of the machine to get

UUID of the machine to get.

project string

Project of the machine

Project of the machine.

@@ -12181,14 +12173,14 @@

MachineServiceGetBMCResp

- + - + @@ -12199,7 +12191,7 @@

MachineServiceGetBMCResp

MachineServiceGetRequest

-

MachineServiceGetRequest is the request payload for a machine get request

+

MachineServiceGetRequest is the request payload for a machine get request.

uuid string

UUID of the machine

UUID of the machine.

bmc MachineBMCReport

BMC contains the BMC details of this machine

BMC contains the BMC details of this machine.

@@ -12212,14 +12204,14 @@

MachineServiceGetRequest

uuid
- + - + @@ -12230,7 +12222,7 @@

MachineServiceGetRequest

MachineServiceGetResponse -

MachineServiceGetResponse is the response payload for a machine get request

+

MachineServiceGetResponse is the response payload for a machine get request.

string

UUID of the machine to get

UUID of the machine to get.

project string

Project of the machine

Project of the machine.

@@ -12243,7 +12235,7 @@

MachineServiceGetResponsemachine

- + @@ -12254,7 +12246,7 @@

MachineServiceGetResponseMachineServiceListRequest

-

MachineServiceListRequest is the request payload for a machine list request

+

MachineServiceListRequest is the request payload for a machine list request.

Machine

Machine is the machine requested

Machine is the machine requested.

@@ -12267,14 +12259,14 @@

MachineServiceListRequestproject

- + - + @@ -12285,7 +12277,7 @@

MachineServiceListRequestMachineServiceListResponse

-

MachineServiceListResponse is the response payload for a machine list request

+

MachineServiceListResponse is the response payload for a machine list request.

string

Project of the machines to list

Project of the machines to list.

query MachineQuery

Query to list one ore more machines

Query to list one ore more machines.

@@ -12298,7 +12290,7 @@

MachineServiceListResponse

- + @@ -12309,7 +12301,7 @@

MachineServiceListResponse

MachineServiceUpdateRequest

-

MachineServiceUpdateRequest is the request payload for a machine update request

+

MachineServiceUpdateRequest is the request payload for a machine update request.

machines Machine repeated

Machines are the machines requested by a list request

Machines are the machines requested by a list request.

@@ -12322,42 +12314,42 @@

MachineServiceUpdateReque

- + - + - + - + - + - + @@ -12368,7 +12360,7 @@

MachineServiceUpdateReque

MachineServiceUpdateResponse

-

MachineServiceUpdateResponse is the response payload for a machine update request

+

MachineServiceUpdateResponse is the response payload for a machine update request.

uuid string

UUID of the machine to modify

UUID of the machine to modify.

update_meta UpdateMeta

UpdateMeta contains the timestamp and strategy to be used in this update request

UpdateMeta contains the timestamp and strategy to be used in this update request.

project string

Project of the machine

Project of the machine.

description string optional

Description of this machine allocation

Description of this machine allocation.

labels UpdateLabels optional

Labels to update on this machine allocation

Labels to update on this machine allocation.

ssh_public_keys string repeated

SSHPublicKeys which should be update of this machine allocation

SSHPublicKeys which should be update of this machine allocation.

@@ -12381,7 +12373,7 @@

MachineServiceUpdateResp

- + @@ -12392,7 +12384,7 @@

MachineServiceUpdateResp

MachineStatus

-

MachineStatus contains several status details related to this machine

+

MachineStatus contains several status details related to this machine.

machine Machine

Machine which was updated

Machine which was updated.

@@ -12405,28 +12397,28 @@

MachineStatus

- + - + - + - + @@ -12437,7 +12429,7 @@

MachineStatus

MachineVPN

-

MachineVPN contains configuration data for the VPN connection

+

MachineVPN contains configuration data for the VPN connection.

condition MachineCondition

Condition describes the availability

Condition describes the availability.

led_state MachineChassisIdentifyLEDState

LEDState indicates the state of the indicator LED on this machine

LEDState indicates the state of the indicator LED on this machine.

liveliness MachineLiveliness

Liveliness of this machine

Liveliness of this machine.

metal_hammer_version string

MetalHammerVersion the version of metal hammer which put the machine in waiting state

MetalHammerVersion the version of metal hammer which put the machine in waiting state.

@@ -12450,28 +12442,28 @@

MachineVPN

- + - + - + - + @@ -12482,7 +12474,7 @@

MachineVPN

MetalCPU

-

MetalCPU contains details of a cpu in this machine

+

MetalCPU contains details of a cpu in this machine.

control_plane_address string

Address of VPN control plane

Address of VPN control plane.

auth_key string

Auth key used to connect to VPN

Auth key used to connect to VPN.

connected bool

Connected indicate if this machine is connected to the VPN

Connected indicate if this machine is connected to the VPN.

ips string repeated

IPs of the machine connected to the vpn

IPs of the machine connected to the vpn.

@@ -12495,28 +12487,28 @@

MetalCPU

- + - + - + - + @@ -12527,7 +12519,7 @@

MetalCPU

MetalGPU

-

MetalGPU contains details of a gpu in this machine

+

MetalGPU contains details of a gpu in this machine.

vendor string

Vendor of this cpu

Vendor of this cpu.

model string

Model of this cpu

Model of this cpu.

cores uint32

Cores of this cpu

Cores of this cpu.

threads uint32

Threads of this cpu

Threads of this cpu.

@@ -12540,14 +12532,14 @@

MetalGPU

- + - + @@ -12560,7 +12552,7 @@

MetalGPU

IPProtocol

-

IPProtocol defines tcp|udp

+

IPProtocol defines tcp|udp.

vendor string

Vendor of this gpu

Vendor of this gpu.

model string

Model of this gpu

Model of this gpu.

@@ -12570,26 +12562,26 @@

IPProtocol

- + - + - +
NameNumberDescription
IP_PROTOCOL_UNSPECIFIED 0

IP_PROTOCOL_UNSPECIFIED is not specified

IP_PROTOCOL_UNSPECIFIED is not specified.

IP_PROTOCOL_TCP 1

IP_PROTOCOL_TCP is tcp

IP_PROTOCOL_TCP is tcp.

IP_PROTOCOL_UDP 2

IP_PROTOCOL_UDP is udp

IP_PROTOCOL_UDP is udp.

MachineAllocationType

-

MachineAllocationType defines if this is a machine or a firewall

+

MachineAllocationType defines if this is a machine or a firewall.

@@ -12599,26 +12591,26 @@

MachineAllocationType

- + - + - +
NameNumberDescription
MACHINE_ALLOCATION_TYPE_UNSPECIFIED 0

MACHINE_ALLOCATION_TYPE_UNSPECIFIED is unspecified

MACHINE_ALLOCATION_TYPE_UNSPECIFIED is unspecified.

MACHINE_ALLOCATION_TYPE_MACHINE 1

MACHINE_ALLOCATION_TYPE_MACHINE is a machine

MACHINE_ALLOCATION_TYPE_MACHINE is a machine.

MACHINE_ALLOCATION_TYPE_FIREWALL 2

MACHINE_ALLOCATION_TYPE_FIREWALL is a firewall

MACHINE_ALLOCATION_TYPE_FIREWALL is a firewall.

MachineBMCCommand

-

MachineBMCCommand defines commands send to the BMC of the machine

+

MachineBMCCommand defines commands send to the BMC of the machine.

@@ -12628,80 +12620,80 @@

MachineBMCCommand

- + - + - + - + - + - + - + - + - + - + - + - +
NameNumberDescription
MACHINE_BMC_COMMAND_UNSPECIFIED 0

MACHINE_BMC_COMMAND_UNSPECIFIED is not defined

MACHINE_BMC_COMMAND_UNSPECIFIED is not defined.

MACHINE_BMC_COMMAND_ON 1

MACHINE_BMC_COMMAND_ON Power on the machine

MACHINE_BMC_COMMAND_ON Power on the machine.

MACHINE_BMC_COMMAND_OFF 2

MACHINE_BMC_COMMAND_OFF Power off the machine

MACHINE_BMC_COMMAND_OFF Power off the machine.

MACHINE_BMC_COMMAND_RESET 3

MACHINE_BMC_COMMAND_RESET Power reset the machine

MACHINE_BMC_COMMAND_RESET Power reset the machine.

MACHINE_BMC_COMMAND_CYCLE 4

MACHINE_BMC_COMMAND_CYCLE Power cycle the machine

MACHINE_BMC_COMMAND_CYCLE Power cycle the machine.

MACHINE_BMC_COMMAND_BOOT_TO_BIOS 5

MACHINE_BMC_COMMAND_BOOT_TO_BIOS boot the machine into bios

MACHINE_BMC_COMMAND_BOOT_TO_BIOS boot the machine into bios.

MACHINE_BMC_COMMAND_BOOT_FROM_DISK 6

MACHINE_BMC_COMMAND_BOOT_FROM_DISK boot the machine from hard disk

MACHINE_BMC_COMMAND_BOOT_FROM_DISK boot the machine from hard disk.

MACHINE_BMC_COMMAND_BOOT_FROM_PXE 7

MACHINE_BMC_COMMAND_BOOT_FROM_PXE boot the machine from pxe

MACHINE_BMC_COMMAND_BOOT_FROM_PXE boot the machine from pxe.

MACHINE_BMC_COMMAND_IDENTIFY_LED_ON 8

MACHINE_BMC_COMMAND_IDENTIFY_LED_ON set identify led of the machine chassis to on

MACHINE_BMC_COMMAND_IDENTIFY_LED_ON set identify led of the machine chassis to on.

MACHINE_BMC_COMMAND_IDENTIFY_LED_OFF 9

MACHINE_BMC_COMMAND_IDENTIFY_LED_OFF set identify led of the machine chassis to off

MACHINE_BMC_COMMAND_IDENTIFY_LED_OFF set identify led of the machine chassis to off.

MACHINE_BMC_COMMAND_MACHINE_DELETED 10

MACHINE_BMC_COMMAND_MACHINE_DELETED should be called if the machine was deleted to power cycle and boot into pxe

MACHINE_BMC_COMMAND_MACHINE_DELETED should be called if the machine was deleted to power cycle and boot into pxe.

MACHINE_BMC_COMMAND_MACHINE_CREATED 11

MACHINE_BMC_COMMAND_MACHINE_CREATED should be called if the machine was created to set the boot order to boot from disk

MACHINE_BMC_COMMAND_MACHINE_CREATED should be called if the machine was created to set the boot order to boot from disk.

MachineIssueSeverity

-

MachineIssueSeverity defines the severity of an issue

+

MachineIssueSeverity defines the severity of an issue.

@@ -12711,32 +12703,32 @@

MachineIssueSeverity

- + - + - + - +
NameNumberDescription
MACHINE_ISSUE_SEVERITY_UNSPECIFIED 0

MACHINE_ISSUE_SEVERITY_UNSPECIFIED severity is not specified

MACHINE_ISSUE_SEVERITY_UNSPECIFIED severity is not specified.

MACHINE_ISSUE_SEVERITY_MINOR 1

MACHINE_ISSUE_SEVERITY_MINOR machine issues is of severity minor

MACHINE_ISSUE_SEVERITY_MINOR machine issues is of severity minor.

MACHINE_ISSUE_SEVERITY_MAJOR 2

MACHINE_ISSUE_SEVERITY_MAJOR machine issues is of severity major

MACHINE_ISSUE_SEVERITY_MAJOR machine issues is of severity major.

MACHINE_ISSUE_SEVERITY_CRITICAL 3

MACHINE_ISSUE_SEVERITY_CRITICAL machine issues is of severity critical

MACHINE_ISSUE_SEVERITY_CRITICAL machine issues is of severity critical.

MachineIssueType

-

MachineIssueType defines which type of issue it is

+

MachineIssueType defines which type of issue it is.

@@ -12746,92 +12738,92 @@

MachineIssueType

- + - + - + - + - + - + - + - + - + - + - + - + - + - +
NameNumberDescription
MACHINE_ISSUE_TYPE_UNSPECIFIED 0

MACHINE_ISSUE_TYPE_UNSPECIFIED type is not specified

MACHINE_ISSUE_TYPE_UNSPECIFIED type is not specified.

MACHINE_ISSUE_TYPE_ASN_UNIQUENESS 1

MACHINE_ISSUE_TYPE_ASN_UNIQUENESS machine asn is not unique

MACHINE_ISSUE_TYPE_ASN_UNIQUENESS machine asn is not unique.

MACHINE_ISSUE_TYPE_BMC_INFO_OUTDATED 2

MACHINE_ISSUE_TYPE_BMC_INFO_OUTDATED machine bmc info out of date

MACHINE_ISSUE_TYPE_BMC_INFO_OUTDATED machine bmc info out of date.

MACHINE_ISSUE_TYPE_BMC_NON_DISTINCT_IP 3

MACHINE_ISSUE_TYPE_BMC_NON_DISTINCT_IP machine bmc ip is not distinct

MACHINE_ISSUE_TYPE_BMC_NON_DISTINCT_IP machine bmc ip is not distinct.

MACHINE_ISSUE_TYPE_BMC_WITHOUT_IP 4

MACHINE_ISSUE_TYPE_BMC_WITHOUT_IP machine bmc without ip

MACHINE_ISSUE_TYPE_BMC_WITHOUT_IP machine bmc without ip.

MACHINE_ISSUE_TYPE_BMC_WITHOUT_MAC 5

MACHINE_ISSUE_TYPE_BMC_WITHOUT_MAC machine bmc without mac address

MACHINE_ISSUE_TYPE_BMC_WITHOUT_MAC machine bmc without mac address.

MACHINE_ISSUE_TYPE_CRASH_LOOP 6

MACHINE_ISSUE_TYPE_CRASH_LOOP machine is in crashloop

MACHINE_ISSUE_TYPE_CRASH_LOOP machine is in crashloop.

MACHINE_ISSUE_TYPE_FAILED_MACHINE_RECLAIM 7

MACHINE_ISSUE_TYPE_FAILED_MACHINE_RECLAIM machine was not freed after delete

MACHINE_ISSUE_TYPE_FAILED_MACHINE_RECLAIM machine was not freed after delete.

MACHINE_ISSUE_TYPE_LAST_EVENT_ERROR 8

MACHINE_ISSUE_TYPE_LAST_EVENT_ERROR machine last event error

MACHINE_ISSUE_TYPE_LAST_EVENT_ERROR machine last event error.

MACHINE_ISSUE_TYPE_LIVELINESS_DEAD 9

MACHINE_ISSUE_TYPE_LIVELINESS_DEAD machine is dead

MACHINE_ISSUE_TYPE_LIVELINESS_DEAD machine is dead.

MACHINE_ISSUE_TYPE_LIVELINESS_NOT_AVAILABLE 10

MACHINE_ISSUE_TYPE_LIVELINESS_NOT_AVAILABLE machine liveliness is not available

MACHINE_ISSUE_TYPE_LIVELINESS_NOT_AVAILABLE machine liveliness is not available.

MACHINE_ISSUE_TYPE_LIVELINESS_UNKNOWN 11

MACHINE_ISSUE_TYPE_LIVELINESS_UNKNOWN machine liveliness is unknown

MACHINE_ISSUE_TYPE_LIVELINESS_UNKNOWN machine liveliness is unknown.

MACHINE_ISSUE_TYPE_NO_EVENT_CONTAINER 12

MACHINE_ISSUE_TYPE_NO_EVENT_CONTAINER machine does not have a event container

MACHINE_ISSUE_TYPE_NO_EVENT_CONTAINER machine does not have a event container.

MACHINE_ISSUE_TYPE_NO_PARTITION 13

MACHINE_ISSUE_TYPE_NO_PARTITION no partition set

MACHINE_ISSUE_TYPE_NO_PARTITION no partition set.

MachineLiveliness

-

MachineLiveliness specifies the liveliness of a machine

+

MachineLiveliness specifies the liveliness of a machine.

@@ -12841,32 +12833,32 @@

MachineLiveliness

- + - + - + - +
NameNumberDescription
MACHINE_LIVELINESS_UNSPECIFIED 0

MACHINE_LIVELINESS_UNSPECIFIED is not defined

MACHINE_LIVELINESS_UNSPECIFIED is not defined.

MACHINE_LIVELINESS_ALIVE 1

MACHINE_LIVELINESS_ALIVE liveliness is alive

MACHINE_LIVELINESS_ALIVE liveliness is alive.

MACHINE_LIVELINESS_DEAD 2

MACHINE_LIVELINESS_DEAD liveliness is dead

MACHINE_LIVELINESS_DEAD liveliness is dead.

MACHINE_LIVELINESS_UNKNOWN 3

MACHINE_LIVELINESS_UNKNOWN liveliness is unknown

MACHINE_LIVELINESS_UNKNOWN liveliness is unknown.

MachineProvisioningEventState

-

MachineProvisioningEventState possible event states

+

MachineProvisioningEventState possible event states.

@@ -12876,26 +12868,26 @@

MachineProvisioningEven

- + - + - +
NameNumberDescription
MACHINE_PROVISIONING_EVENT_STATE_UNSPECIFIED 0

MACHINE_PROVISIONING_EVENT_STATE_UNSPECIFIED is not specified

MACHINE_PROVISIONING_EVENT_STATE_UNSPECIFIED is not specified.

MACHINE_PROVISIONING_EVENT_STATE_CRASHLOOP 1

MACHINE_PROVISIONING_EVENT_STATE_CRASHLOOP machine is in crash loop

MACHINE_PROVISIONING_EVENT_STATE_CRASHLOOP machine is in crash loop.

MACHINE_PROVISIONING_EVENT_STATE_FAILED_RECLAIM 2

MACHINE_PROVISIONING_EVENT_STATE_FAILED_RECLAIM machine is in failed reclaim

MACHINE_PROVISIONING_EVENT_STATE_FAILED_RECLAIM machine is in failed reclaim.

MachineProvisioningEventType

-

MachineProvisioningEventType defines in which phase the machine actually is

+

MachineProvisioningEventType defines in which phase the machine actually is.

@@ -12905,80 +12897,80 @@

MachineProvisioningEvent

- + - + - + - + - + - + - + - + - + - + - + - +
NameNumberDescription
MACHINE_PROVISIONING_EVENT_TYPE_UNSPECIFIED 0

MACHINE_PROVISIONING_EVENT_TYPE_UNSPECIFIED is not specified

MACHINE_PROVISIONING_EVENT_TYPE_UNSPECIFIED is not specified.

MACHINE_PROVISIONING_EVENT_TYPE_ALIVE 1

MACHINE_PROVISIONING_EVENT_TYPE_ALIVE machine is alive

MACHINE_PROVISIONING_EVENT_TYPE_ALIVE machine is alive.

MACHINE_PROVISIONING_EVENT_TYPE_CRASHED 2

MACHINE_PROVISIONING_EVENT_TYPE_CRASHED machine crashed

MACHINE_PROVISIONING_EVENT_TYPE_CRASHED machine crashed.

MACHINE_PROVISIONING_EVENT_TYPE_PXE_BOOTING 3

MACHINE_PROVISIONING_EVENT_TYPE_PXE_BOOTING machine is pxe booting into metal-hammer

MACHINE_PROVISIONING_EVENT_TYPE_PXE_BOOTING machine is pxe booting into metal-hammer.

MACHINE_PROVISIONING_EVENT_TYPE_PLANNED_REBOOT 4

MACHINE_PROVISIONING_EVENT_TYPE_PLANNED_REBOOT machine got a reboot instruction

MACHINE_PROVISIONING_EVENT_TYPE_PLANNED_REBOOT machine got a reboot instruction.

MACHINE_PROVISIONING_EVENT_TYPE_PREPARING 5

MACHINE_PROVISIONING_EVENT_TYPE_PREPARING metal-hammer is preparing the machine

MACHINE_PROVISIONING_EVENT_TYPE_PREPARING metal-hammer is preparing the machine.

MACHINE_PROVISIONING_EVENT_TYPE_REGISTERING 6

MACHINE_PROVISIONING_EVENT_TYPE_REGISTERING metal-hammer registers machine at the apiserver

MACHINE_PROVISIONING_EVENT_TYPE_REGISTERING metal-hammer registers machine at the apiserver.

MACHINE_PROVISIONING_EVENT_TYPE_WAITING 7

MACHINE_PROVISIONING_EVENT_TYPE_WAITING machine is waiting for installation

MACHINE_PROVISIONING_EVENT_TYPE_WAITING machine is waiting for installation.

MACHINE_PROVISIONING_EVENT_TYPE_INSTALLING 8

MACHINE_PROVISIONING_EVENT_TYPE_INSTALLING metal-hammer is installing the desired os

MACHINE_PROVISIONING_EVENT_TYPE_INSTALLING metal-hammer is installing the desired os.

MACHINE_PROVISIONING_EVENT_TYPE_BOOTING_NEW_KERNEL 9

MACHINE_PROVISIONING_EVENT_TYPE_BOOTING_NEW_KERNEL metal-hammer completed installation and boots into target os

MACHINE_PROVISIONING_EVENT_TYPE_BOOTING_NEW_KERNEL metal-hammer completed installation and boots into target os.

MACHINE_PROVISIONING_EVENT_TYPE_PHONED_HOME 10

MACHINE_PROVISIONING_EVENT_TYPE_PHONED_HOME machine is installed and phones home

MACHINE_PROVISIONING_EVENT_TYPE_PHONED_HOME machine is installed and phones home.

MACHINE_PROVISIONING_EVENT_TYPE_MACHINE_RECLAIM 11

MACHINE_PROVISIONING_EVENT_TYPE_MACHINE_RECLAIM machine is not allocated, but phones home

MACHINE_PROVISIONING_EVENT_TYPE_MACHINE_RECLAIM machine is not allocated, but phones home.

MachineState

-

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

+

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

@@ -12988,25 +12980,25 @@

MachineState

- + - + - + - + @@ -13086,7 +13078,7 @@

metalstack/admin/v2/machine.proto

MachineServiceBMCCommandRequest -

MachineServiceBMCCommandRequest is the request payload for a machine bmc command

+

MachineServiceBMCCommandRequest is the request payload for a machine bmc command.

NameNumberDescription
MACHINE_STATE_UNSPECIFIED 0

MACHINE_STATE_UNSPECIFIED is not specified

MACHINE_STATE_UNSPECIFIED is not specified.

MACHINE_STATE_TAINTED 1

MACHINE_STATE_TAINTED this machine is tainted, i.e. this machine is not considered during random machine allocation, but still by specifying the uuid

MACHINE_STATE_TAINTED this machine is tainted, i.e. this machine is not considered during random machine allocation, but still by specifying the uui.

MACHINE_STATE_LOCKED 2

MACHINE_STATE_LOCKED this machine is locked, i.e. this machine cannot be allocated or deleted

MACHINE_STATE_LOCKED this machine is locked, i.e. this machine cannot be allocated or delete.

MACHINE_STATE_AVAILABLE 3

MACHINE_STATE_AVAILABLE this machine is available for all

MACHINE_STATE_AVAILABLE this machine is available for all.

@@ -13099,14 +13091,14 @@

MachineServiceBMCCo

- + - + @@ -13117,7 +13109,7 @@

MachineServiceBMCCo

MachineServiceBMCCommandResponse

-

MachineServiceBMCCommandResponse is the response payload for a machine bmc command

+

MachineServiceBMCCommandResponse is the response payload for a machine bmc command.

@@ -13137,15 +13129,15 @@

MachineService

- + - + @@ -13169,14 +13161,14 @@

MachineServic

- + - + @@ -13187,7 +13179,7 @@

MachineServic

MachineServiceDeleteRequest

-

MachineServiceDeleteRequest is the request payload for a machine delete request

+

MachineServiceDeleteRequest is the request payload for a machine delete request.

uuid string

UUID of the machine to send the command to

UUID of the machine to send the command to.

command metalstack.api.v2.MachineBMCCommand

Command to send to the bmc of the machine

Command to send to the bmc of the machine.

uuid string

UUID of the machine to get

UUID of the machine to get.

reason string

Reason must be provided why access to the console is requested -Reason is only forwarded to an audit sink

Reason must be provided why access to the console is requested. +Reason is only forwarded to an audit sink.

uuid string

UUID of the machine to get

UUID of the machine to get.

password string

Password to access the console

Password to access the console.

@@ -13200,7 +13192,7 @@

MachineServiceDeleteReq

- + @@ -13211,7 +13203,7 @@

MachineServiceDeleteReq

MachineServiceDeleteResponse

-

MachineServiceDeleteResponse is the response payload for a machine delete request

+

MachineServiceDeleteResponse is the response payload for a machine delete request.

uuid string

UUID of the machine to permanently delete

UUID of the machine to permanently delete.

@@ -13224,7 +13216,7 @@

MachineServiceDeleteRe

- + @@ -13235,7 +13227,7 @@

MachineServiceDeleteRe

MachineServiceGetBMCRequest

-

MachineServiceGetBMCRequest is the request payload for a machine getbmc request

+

MachineServiceGetBMCRequest is the request payload for a machine getbmc request.

machine metalstack.api.v2.Machine

Machine is the machine permanently deleted

Machine is the machine permanently deleted.

@@ -13248,7 +13240,7 @@

MachineServiceGetBMCReq

- + @@ -13259,7 +13251,7 @@

MachineServiceGetBMCReq

MachineServiceGetBMCResponse

-

MachineServiceGetBMCResponse is the response payload for a machine getbmc request

+

MachineServiceGetBMCResponse is the response payload for a machine getbmc request.

uuid string

UUID of the machine to get

UUID of the machine to get.

@@ -13272,14 +13264,14 @@

MachineServiceGetBMCRe

- + - + @@ -13290,7 +13282,7 @@

MachineServiceGetBMCRe

MachineServiceGetRequest

-

MachineServiceGetRequest is the request payload for a machine get request

+

MachineServiceGetRequest is the request payload for a machine get request.

uuid string

UUID of the machine

UUID of the machine.

bmc metalstack.api.v2.MachineBMCReport

BMC contains the BMC details of this machine

BMC contains the BMC details of this machine.

@@ -13303,7 +13295,7 @@

MachineServiceGetRequestuuid

- + @@ -13314,7 +13306,7 @@

MachineServiceGetRequestMachineServiceGetResponse

-

MachineServiceGetResponse is the response payload for a machine get request

+

MachineServiceGetResponse is the response payload for a machine get request.

string

UUID of the machine to get

UUID of the machine to get.

@@ -13327,7 +13319,7 @@

MachineServiceGetResponse

- + @@ -13338,7 +13330,7 @@

MachineServiceGetResponse

MachineServiceIssuesRequest

-

MachineServiceIssuesRequest is the request payload for a machine issues request

+

MachineServiceIssuesRequest is the request payload for a machine issues request.

machine metalstack.api.v2.Machine

Machine is the machine requested

Machine is the machine requested.

@@ -13351,7 +13343,7 @@

MachineServiceIssuesReq

- + @@ -13362,7 +13354,7 @@

MachineServiceIssuesReq

MachineServiceIssuesResponse

-

MachineServiceIssuesResponse is the response payload for a machine issues request

+

MachineServiceIssuesResponse is the response payload for a machine issues request.

query metalstack.api.v2.MachineIssuesQuery

Query which machine issues to include

Query which machine issues to include.

@@ -13375,7 +13367,7 @@

MachineServiceIssuesRe

- + @@ -13386,7 +13378,7 @@

MachineServiceIssuesRe

MachineServiceListBMCRequest

-

MachineServiceListBMCRequest is the request payload for a machine listbmc request

+

MachineServiceListBMCRequest is the request payload for a machine listbmc request.

issues metalstack.api.v2.MachineIssues repeated

Issues is the result of the issues query

Issues is the result of the issues query.

@@ -13399,7 +13391,7 @@

MachineServiceListBMCR

- + @@ -13410,7 +13402,7 @@

MachineServiceListBMCR

MachineServiceListBMCResponse

-

MachineServiceListBMCResponse is the response payload for a machine listbmc request

+

MachineServiceListBMCResponse is the response payload for a machine listbmc request.

query metalstack.api.v2.MachineBMCQuery

Query to list one or more BMCs of many machines

Query to list one or more BMCs of many machines.

@@ -13423,7 +13415,7 @@

MachineServiceListBMC

- + @@ -13465,7 +13457,7 @@

Machi

MachineServiceListRequest

-

MachineServiceListRequest is the request payload for a machine list request

+

MachineServiceListRequest is the request payload for a machine list request.

bmc_reports MachineServiceListBMCResponse.BmcReportsEntry repeated

BMCReports maps the bmc report per machine uuid

BMCReports maps the bmc report per machine uuid.

@@ -13478,15 +13470,15 @@

MachineServiceListRequest

- + - + @@ -13497,7 +13489,7 @@

MachineServiceListRequest

MachineServiceListResponse

-

MachineServiceListResponse is the response payload for a machine list request

+

MachineServiceListResponse is the response payload for a machine list request.

query metalstack.api.v2.MachineQuery

Query to list one or more machines

Query to list one or more machines.

partition string optional

Partition for which machines should be listed, could be left empty if only one partition is present -otherwise an error is thrown that the partition must be specified

Partition for which machines should be listed, could be left empty if only one partition is present. +otherwise an error is thrown that the partition must be specified.

@@ -13510,7 +13502,7 @@

MachineServiceListRespon

- + @@ -13521,7 +13513,7 @@

MachineServiceListRespon

MachineServiceSetStateRequest

-

MachineServiceSetStateRequest is the request payload for a machine set state request

+

MachineServiceSetStateRequest is the request payload for a machine set state request.

machines metalstack.api.v2.Machine repeated

Machines are the machines requested by a list request

Machines are the machines requested by a list request.

@@ -13534,7 +13526,7 @@

MachineServiceSetStat

- + @@ -13549,7 +13541,7 @@

MachineServiceSetStat

- + @@ -13560,7 +13552,7 @@

MachineServiceSetStat

MachineServiceSetStateResponse

-

MachineServiceSetStateResponse is the response payload for a machine set state request

+

MachineServiceSetStateResponse is the response payload for a machine set state request.

uuid string

UUID of the machine to set the state to

UUID of the machine to set the state to.

description string

Description a description why this machine is in the given state

Description a description why this machine is in the given state.

@@ -13657,7 +13649,7 @@

MachineService

- + @@ -13686,119 +13678,119 @@

NetworkServiceCreateReq

- + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -13822,7 +13814,7 @@

NetworkServiceCreateRe

- + @@ -13846,7 +13838,7 @@

NetworkServiceDeleteReq

- + @@ -13870,7 +13862,7 @@

NetworkServiceDeleteRe

- + @@ -13894,7 +13886,7 @@

NetworkServiceGetRequestid

- + @@ -13918,7 +13910,7 @@

NetworkServiceGetResponse

- + @@ -13942,7 +13934,7 @@

NetworkServiceListRequest

- + @@ -13966,7 +13958,7 @@

NetworkServiceListRespon

- + @@ -13990,77 +13982,77 @@

NetworkServiceUpdateReq

- + - + - + - + - + - + - + - + - + - + - + @@ -14091,7 +14083,7 @@

NetworkServiceUpdateRe

- + @@ -14163,7 +14155,7 @@

metalstack/admin/v2/partition.proto

MachineSizeCapacity

-

ServerCapacity is the capacity of one server type, eg machine size

+

ServerCapacity is the capacity of one server type, eg machine size.

Issues MachineServiceIssuesRequest MachineServiceIssuesResponse

Issues allows to query issues of machines

Issues allows to query issues of machines.

id string optional

Id of this network

Id of this network.

name string optional

Name of this network

Name of this network.

description string optional

Description of this network

Description of this network.

partition string optional

Partition where this network will be created

Partition where this network will be created.

project string optional

Project where this network belongs to

Project where this network belongs to.

type metalstack.api.v2.NetworkType

Type of the network to create

Type of the network to create.

labels metalstack.api.v2.Labels optional

Labels on this network

Labels on this network.

prefixes string repeated

Prefixes in this network

Prefixes in this network.

destination_prefixes string repeated

Destination Prefixes in this network

Destination Prefixes in this network.

default_child_prefix_length metalstack.api.v2.ChildPrefixLength

Default Child Prefix length defines the bitlength of a child network created per addressfamily, if not specified during the allocate request

Default Child Prefix length defines the bitlength of a child network created per addressfamily, if not specified during the allocate request.

min_child_prefix_length metalstack.api.v2.ChildPrefixLength

Min Child Prefix length asserts that during child network creation the requested bit length is greater or equal the min child prefix length

Min Child Prefix length asserts that during child network creation the requested bit length is greater or equal the min child prefix length.

nat_type metalstack.api.v2.NATType optional

NATType of this network

NATType of this network.

vrf uint32 optional

VRF of this network has this VNI

VRF of this network has this VNI.

parent_network string optional

Parent Network points to the id of the parent network if any

Parent Network points to the id of the parent network if any.

additional_announcable_cidrs string repeated

AdditionalAnnouncableCidrs will be added to the allow list on the switch which prefixes might be announced

AdditionalAnnouncableCidrs will be added to the allow list on the switch which prefixes might be announced.

length metalstack.api.v2.ChildPrefixLength optional

Length per addressfamily

Length per addressfamily.

address_family metalstack.api.v2.NetworkAddressFamily optional

AddressFamily to create, defaults to the same as the parent

AddressFamily to create, defaults to the same as the parent.

network metalstack.api.v2.Network

Network contains the created network

Network contains the created network.

id string

ID of the network to get

ID of the network to get.

network metalstack.api.v2.Network

Network contains the deleted network

Network contains the deleted network.

string

ID of the network to get

ID of the network to get.

network metalstack.api.v2.Network

Network contains the requested network

Network contains the requested network.

query metalstack.api.v2.NetworkQuery

Query specifies which networks to return

Query specifies which networks to return.

networks metalstack.api.v2.Network repeated

Networks contains the list of networks

Networks contains the list of networks.

id string

Id of this network

Id of this network.

update_meta metalstack.api.v2.UpdateMeta

UpdateMeta contains the timestamp and strategy to be used in this update request

UpdateMeta contains the timestamp and strategy to be used in this update request.

name string optional

Name of this network

Name of this network.

description string optional

Description of this network

Description of this network.

labels metalstack.api.v2.UpdateLabels optional

Labels to update on this network

Labels to update on this network.

prefixes string repeated

Prefixes in this network

Prefixes in this network.

destination_prefixes string repeated

Destination Prefixes in this network

Destination Prefixes in this network.

default_child_prefix_length metalstack.api.v2.ChildPrefixLength optional

Default Child Prefix length defines the bit length of a child network created per addressfamily, if not specified during the allocate request

Default Child Prefix length defines the bit length of a child network created per addressfamily, if not specified during the allocate request.

min_child_prefix_length metalstack.api.v2.ChildPrefixLength optional

Min Child Prefix length asserts that during child network creation the requested bit length is greater or equal the min child prefix length

Min Child Prefix length asserts that during child network creation the requested bit length is greater or equal the min child prefix length.

nat_type metalstack.api.v2.NATType optional

NATType of this network

NATType of this network.

additional_announcable_cidrs string repeated

AdditionalAnnouncableCidrs will be added to the allow list on the switch which prefixes might be announced

AdditionalAnnouncableCidrs will be added to the allow list on the switch which prefixes might be announced.

network metalstack.api.v2.Network

Network contains the updated network

Network contains the updated network.

@@ -14241,7 +14233,7 @@

MachineSizeCapacity

- @@ -14288,7 +14280,7 @@

MachineSizeCapacity

PartitionCapacity

-

PartitionCapacity is the capacity of one partition

+

PartitionCapacity is the capacity of one partition.

unavailable int64

Unavailable is the amount of machine in a partition that are currently not allocatable because they are not waiting or +

Unavailable is the amount of machine in a partition that are currently not allocatable because they are not waiting or. not in the machine state "available", e.g. locked or reserved.

@@ -14332,21 +14324,21 @@

PartitionServiceCap

- + - + - + @@ -14357,7 +14349,7 @@

PartitionServiceCap

PartitionServiceCapacityResponse

-

PartitionServiceCapacityResponse is the response payload for a partition capacity request

+

PartitionServiceCapacityResponse is the response payload for a partition capacity request.

id string optional

ID of the partition to get

ID of the partition to get.

size string optional

Size of machines to show the capacity

Size of machines to show the capacity.

project string optional

Project of machines to show the capacity

Project of machines to show the capacity.

@@ -14370,7 +14362,7 @@

PartitionServiceCa

- + @@ -14381,7 +14373,7 @@

PartitionServiceCa

PartitionServiceCreateRequest

-

PartitionServiceCreateRequest is the request payload for a partition create request

+

PartitionServiceCreateRequest is the request payload for a partition create request.

partition_capacity PartitionCapacity repeated

PartitionCapacity is a capacity report per partition

PartitionCapacity is a capacity report per partition.

@@ -14394,7 +14386,7 @@

PartitionServiceCreat

- + @@ -14405,7 +14397,7 @@

PartitionServiceCreat

PartitionServiceCreateResponse

-

PartitionServiceCreateResponse is the response payload for a partition create request

+

PartitionServiceCreateResponse is the response payload for a partition create request.

partition metalstack.api.v2.Partition

Partition the partition

Partition the partition.

@@ -14418,7 +14410,7 @@

PartitionServiceCrea

- + @@ -14429,7 +14421,7 @@

PartitionServiceCrea

PartitionServiceDeleteRequest

-

PartitionServiceDeleteRequest is the request payload for a partition delete request

+

PartitionServiceDeleteRequest is the request payload for a partition delete request.

partition metalstack.api.v2.Partition

Partition the partition

Partition the partition.

@@ -14442,7 +14434,7 @@

PartitionServiceDelet

- + @@ -14466,7 +14458,7 @@

PartitionServiceDele

- + @@ -14490,57 +14482,57 @@

PartitionServiceUpdat

- + - + - + - + - + - + - + - + @@ -14551,7 +14543,7 @@

PartitionServiceUpdat

PartitionServiceUpdateResponse

-

PartitionServiceUpdateResponse is the response payload for a partition update request

+

PartitionServiceUpdateResponse is the response payload for a partition update request.

id string

ID of the partition to delete

ID of the partition to delete.

partition metalstack.api.v2.Partition

Partition contains the deleted partition

Partition contains the deleted partition.

id string

ID of this partition

ID of this partition.

update_meta metalstack.api.v2.UpdateMeta

UpdateMeta contains the timestamp and strategy to be used in this update request

UpdateMeta contains the timestamp and strategy to be used in this update request.

description string optional

Description of this partition

Description of this partition.

boot_configuration metalstack.api.v2.PartitionBootConfiguration

PartitionBootConfiguration defines how metal-hammer boots

PartitionBootConfiguration defines how metal-hammer boots.

dns_servers metalstack.api.v2.DNSServer repeated

DNSServers for this partition

DNSServers for this partition.

ntp_servers metalstack.api.v2.NTPServer repeated

NTPServers for this partition

NTPServers for this partition.

mgmt_service_addresses string repeated

ManagementServiceAddresses defines where the management is reachable -must be in the form <ip|host>:<port>

ManagementServiceAddresses defines where the management is reachable. +must be in the form <ip|host>:<port>.

labels metalstack.api.v2.UpdateLabels optional

Labels to update on this network

Labels to update on this network.

@@ -14564,7 +14556,7 @@

PartitionServiceUpda

- + @@ -14629,7 +14621,7 @@

metalstack/api/v2/project.proto

Project -

Project defines a group of resources belonging to a tenant

a tenant can have multiple projects

+

Project defines a group of resources belonging to a tenant.

a tenant can have multiple projects.

partition metalstack.api.v2.Partition

Partition the partition

Partition the partition.

@@ -14642,42 +14634,42 @@

Project

- + - + - + - + - + - + @@ -14688,7 +14680,7 @@

Project

ProjectInvite

-

ProjectInvite defines invite to project

+

ProjectInvite defines invite to project.

uuid string

Uuid of this project

Uuid of this project.

meta Meta

Meta for this project

Meta for this project.

name string

Name of this project must be unique per tenant

Name of this project must be unique per tenant.

description string

Description of this project

Description of this project.

tenant string

Tenant this project belongs to

Tenant this project belongs to.

avatar_url string optional

AvatarUrl of the Project

AvatarUrl of the Project.

@@ -14701,63 +14693,63 @@

ProjectInvite

- + - + - + - + - + - + - + - + - + @@ -14768,7 +14760,7 @@

ProjectInvite

ProjectMember

-

ProjectMember defines a user that participates in a project

+

ProjectMember defines a user that participates in a project.

secret string

Secret is the secret part of the invite, typically part of the url

Secret is the secret part of the invite, typically part of the url.

project string

Project is the project id for which this invite was created

Project is the project id for which this invite was created.

role ProjectRole

Role is the role in this project the user will get after accepting the invitation

Role is the role in this project the user will get after accepting the invitation.

joined bool

Joined is false as long as a user has not accepted the invite

Joined is false as long as a user has not accepted the invite.

project_name string

ProjectName is the project name for which this invite was created

ProjectName is the project name for which this invite was created.

tenant string

Tenant is the login of the tenant inviting another user to join this project

Tenant is the login of the tenant inviting another user to join this project.

tenant_name string

TenantName is the name of the tenant inviting another user to join this project

TenantName is the name of the tenant inviting another user to join this project.

expires_at google.protobuf.Timestamp

ExpiresAt the date when this invite expires

ExpiresAt the date when this invite expires.

joined_at google.protobuf.Timestamp

JoinedAt the date when the member accepted this invite

JoinedAt the date when the member accepted this invite.

@@ -14781,14 +14773,14 @@

ProjectMember

- + - + @@ -14804,14 +14796,14 @@

ProjectMember

- + - + @@ -14822,7 +14814,7 @@

ProjectMember

ProjectQuery

-

ProjectQuery is used to search projects

+

ProjectQuery is used to search projects.

id string

Id is the user id of the member

Id is the user id of the member.

role ProjectRole

Role is the role of the member

Role is the role of the member.

created_at google.protobuf.Timestamp

CreatedAt the date when the member was added to the project

CreatedAt the date when the member was added to the project.

meta Meta

Meta for this project member

Meta for this project member.

@@ -14835,28 +14827,28 @@

ProjectQuery

- + - + - + - + @@ -14867,7 +14859,7 @@

ProjectQuery

ProjectServiceAddMemberRequest

-

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

+

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

uuid string optional

Uuid lists only projects with this uuid

Uuid lists only projects with this uuid.

name string optional

Name lists only projects with this name

Name lists only projects with this name.

tenant string optional

Tenant lists only projects of this tenant

Tenant lists only projects of this tenant.

labels Labels optional

Labels lists only projects containing the given labels

Labels lists only projects containing the given labels.

@@ -14880,21 +14872,21 @@

ProjectServiceAddMembe

- + - + - + @@ -14905,7 +14897,7 @@

ProjectServiceAddMembe

ProjectServiceAddMemberResponse

-

ProjectServiceAddMemberResponse is the response payload for the add member request

+

ProjectServiceAddMemberResponse is the response payload for the add member request.

project string

Project is the uuid of the project

Project is the uuid of the project.

member string

Login of the member to add

Login of the member to add.

role ProjectRole

Role to assign to the new member

Role to assign to the new member.

@@ -14918,7 +14910,7 @@

ProjectServiceAddMemb

- + @@ -14929,7 +14921,7 @@

ProjectServiceAddMemb

ProjectServiceCreateRequest

-

ProjectServiceCreateRequest is the request payload to Create a project

+

ProjectServiceCreateRequest is the request payload to Create a project.

project_member ProjectRole

ProjectRole is the added project member

ProjectRole is the added project member.

@@ -14942,36 +14934,36 @@

ProjectServiceCreateReque

- + - + - + - + - + @@ -14982,7 +14974,7 @@

ProjectServiceCreateReque

ProjectServiceCreateResponse

-

ProjectServiceCreateResponse is the response payload of creation of a project

+

ProjectServiceCreateResponse is the response payload of creation of a project.

login string

Login is the tenant of this project -TODO: is login really a good name?

Login is the tenant of this project. +TODO: is login really a good name?.

name string

Name of this project, unique per tenant

Name of this project, unique per tenant.

description string

Description of this project

Description of this project.

avatar_url string optional

Avatar URL of the project

Avatar URL of the project.

labels Labels

Labels on the project

Labels on the project.

@@ -14995,7 +14987,7 @@

ProjectServiceCreateResp

- + @@ -15006,7 +14998,7 @@

ProjectServiceCreateResp

ProjectServiceDeleteRequest

-

ProjectServiceDeleteRequest is the request payload to delete a project

+

ProjectServiceDeleteRequest is the request payload to delete a project.

project Project

Project is the project

Project is the project.

@@ -15019,7 +15011,7 @@

ProjectServiceDeleteReque

- + @@ -15030,7 +15022,7 @@

ProjectServiceDeleteReque

ProjectServiceDeleteResponse

-

ProjectServiceDeleteResponse is the response payload to delete a project

+

ProjectServiceDeleteResponse is the response payload to delete a project.

project string

Project is the uuid of the project to delete

Project is the uuid of the project to delete.

@@ -15043,7 +15035,7 @@

ProjectServiceDeleteResp

- + @@ -15054,7 +15046,7 @@

ProjectServiceDeleteResp

ProjectServiceGetRequest

-

ProjectServiceGetRequest is the request payload to get a project

+

ProjectServiceGetRequest is the request payload to get a project.

project Project

Project is the project

Project is the project.

@@ -15067,7 +15059,7 @@

ProjectServiceGetRequest

project
- + @@ -15078,7 +15070,7 @@

ProjectServiceGetRequest

ProjectServiceGetResponse -

ProjectServiceGetResponse is the response payload to get a projects

+

ProjectServiceGetResponse is the response payload to get a projects.

string

Project is the uuid of the project to get

Project is the uuid of the project to get.

@@ -15091,14 +15083,14 @@

ProjectServiceGetResponseproject

- + - + @@ -15109,7 +15101,7 @@

ProjectServiceGetResponseProjectServiceInviteAcceptRequest

-

ProjectServiceInviteAcceptRequest is the request payload to a accept invite request

+

ProjectServiceInviteAcceptRequest is the request payload to a accept invite request.

Project

Project is the project

Project is the project.

project_members ProjectMember repeated

ProjectMembers in this project, projects guests will only see direct project members and not implicit memberships from tenant permissions

ProjectMembers in this project, projects guests will only see direct project members and not implicit memberships from tenant permissions.

@@ -15122,7 +15114,7 @@

ProjectServiceInvit

- + @@ -15133,7 +15125,7 @@

ProjectServiceInvit

ProjectServiceInviteAcceptResponse

-

ProjectServiceInviteAcceptResponse is the response payload to a accept invite request

+

ProjectServiceInviteAcceptResponse is the response payload to a accept invite request.

secret string

Secret is the invitation secret part of the invitation url

Secret is the invitation secret part of the invitation url.

@@ -15146,14 +15138,14 @@

ProjectServiceInvi

- + - + @@ -15164,7 +15156,7 @@

ProjectServiceInvi

ProjectServiceInviteDeleteRequest

-

ProjectServiceInviteDeleteRequest is the request payload to a delete invite

+

ProjectServiceInviteDeleteRequest is the request payload to a delete invite.

project string

Project ID of the project joined

Project ID of the project joined.

project_name string

ProjectName of the project joined

ProjectName of the project joined.

@@ -15177,14 +15169,14 @@

ProjectServiceInvit

- + - + @@ -15195,14 +15187,14 @@

ProjectServiceInvit

ProjectServiceInviteDeleteResponse

-

ProjectServiceInviteDeleteResponse is the response payload of a delete invite request

+

ProjectServiceInviteDeleteResponse is the response payload of a delete invite request.

ProjectServiceInviteGetRequest

-

ProjectServiceInviteGetRequest is the request payload to get a invite

+

ProjectServiceInviteGetRequest is the request payload to get a invite.

project string

Project is the uuid of the project

Project is the uuid of the project.

secret string

Secret of the invite to delete

Secret of the invite to delete.

@@ -15215,7 +15207,7 @@

ProjectServiceInviteGe

- + @@ -15226,7 +15218,7 @@

ProjectServiceInviteGe

ProjectServiceInviteGetResponse

-

ProjectServiceInviteGetResponse is the response payload to a get invite request

+

ProjectServiceInviteGetResponse is the response payload to a get invite request.

secret string

Secret of the invite to list

Secret of the invite to list.

@@ -15239,7 +15231,7 @@

ProjectServiceInviteG

- + @@ -15250,7 +15242,7 @@

ProjectServiceInviteG

ProjectServiceInviteRequest

-

ProjectServiceInviteRequest is used to invite a member to a project

+

ProjectServiceInviteRequest is used to invite a member to a project.

invite ProjectInvite

Invite is the invite

Invite is the invite.

@@ -15263,14 +15255,14 @@

ProjectServiceInviteReque

- + - + @@ -15281,7 +15273,7 @@

ProjectServiceInviteReque

ProjectServiceInviteResponse

-

ProjectServiceInviteResponse is the response payload to a invite member request

+

ProjectServiceInviteResponse is the response payload to a invite member request.

project string

Project is the uuid of the project

Project is the uuid of the project.

role ProjectRole

Role of this user in this project

Role of this user in this project.

@@ -15294,9 +15286,9 @@

ProjectServiceInviteResp

- + @@ -15307,7 +15299,7 @@

ProjectServiceInviteResp

ProjectServiceInvitesListRequest

-

ProjectServiceInvitesListRequest is the request payload to a list invites request

+

ProjectServiceInvitesListRequest is the request payload to a list invites request.

invite ProjectInvite

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>

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.

@@ -15320,7 +15312,7 @@

ProjectServiceInvite

- + @@ -15331,7 +15323,7 @@

ProjectServiceInvite

ProjectServiceInvitesListResponse

-

ProjectServiceInvitesListResponse is the response payload to a list invites request

+

ProjectServiceInvitesListResponse is the response payload to a list invites request.

project string

Project is the uuid of the project

Project is the uuid of the project.

@@ -15344,7 +15336,7 @@

ProjectServiceInvit

- + @@ -15355,7 +15347,7 @@

ProjectServiceInvit

ProjectServiceLeaveRequest

-

ProjectServiceLeaveRequest is used to leave a project

+

ProjectServiceLeaveRequest is used to leave a project.

invites ProjectInvite repeated

Invites not already accepted the invitation to this project

Invites not already accepted the invitation to this project.

@@ -15368,7 +15360,7 @@

ProjectServiceLeaveRequest

- + @@ -15379,14 +15371,14 @@

ProjectServiceLeaveRequest

ProjectServiceLeaveResponse

-

ProjectServiceLeaveResponse is the response payload to a leave project request

+

ProjectServiceLeaveResponse is the response payload to a leave project request.

ProjectServiceListRequest

-

ProjectServiceListRequest is the request payload to list all projects

+

ProjectServiceListRequest is the request payload to list all projects.

project string

Project is the uuid of the project

Project is the uuid of the project.

@@ -15399,7 +15391,7 @@

ProjectServiceListRequestquery

- + @@ -15410,7 +15402,7 @@

ProjectServiceListRequestProjectServiceListResponse

-

ProjectServiceListResponse is the response payload to list all projects

+

ProjectServiceListResponse is the response payload to list all projects.

ProjectQuery

Query for projects

Query for projects.

@@ -15423,7 +15415,7 @@

ProjectServiceListResponse

- + @@ -15434,7 +15426,7 @@

ProjectServiceListResponse

ProjectServiceRemoveMemberRequest

-

ProjectServiceRemoveMemberRequest is used to remove a member from a project

+

ProjectServiceRemoveMemberRequest is used to remove a member from a project.

projects Project repeated

Projects is a list of all your projects

Projects is a list of all your projects.

@@ -15447,14 +15439,14 @@

ProjectServiceRemov

- + - + @@ -15465,14 +15457,14 @@

ProjectServiceRemov

ProjectServiceRemoveMemberResponse

-

ProjectServiceRemoveMemberResponse is the response payload to a remove member request

+

ProjectServiceRemoveMemberResponse is the response payload to a remove member request.

ProjectServiceUpdateMemberRequest

-

ProjectServiceUpdateMemberRequest is used to update a member of a project

+

ProjectServiceUpdateMemberRequest is used to update a member of a project.

project string

Project is the uuid of the project

Project is the uuid of the project.

member string

Member is the id of the member to remove from this project

Member is the id of the member to remove from this project.

@@ -15485,21 +15477,21 @@

ProjectServiceUpdat

- + - + - + @@ -15510,7 +15502,7 @@

ProjectServiceUpdat

ProjectServiceUpdateMemberResponse

-

ProjectServiceUpdateMemberResponse is the response payload to a update member request

+

ProjectServiceUpdateMemberResponse is the response payload to a update member request.

project string

Project is the uuid of the project

Project is the uuid of the project.

member string

Member is the id of the member to remove from this project

Member is the id of the member to remove from this project.

role ProjectRole

Role is the role in this project the user will get after the update

Role is the role in this project the user will get after the update.

@@ -15523,7 +15515,7 @@

ProjectServiceUpda

- + @@ -15534,7 +15526,7 @@

ProjectServiceUpda

ProjectServiceUpdateRequest

-

ProjectServiceUpdateRequest is the request payload to update a project

+

ProjectServiceUpdateRequest is the request payload to update a project.

project_member ProjectMember

ProjectMember is the updated project member

ProjectMember is the updated project member.

@@ -15547,42 +15539,42 @@

ProjectServiceUpdateReque

- + - + - + - + - + - + @@ -15593,7 +15585,7 @@

ProjectServiceUpdateReque

ProjectServiceUpdateResponse

-

ProjectServiceUpdateResponse is the response payload to update a project

+

ProjectServiceUpdateResponse is the response payload to update a project.

project string

Project is the uuid of the project to get

Project is the uuid of the project to get.

update_meta UpdateMeta

UpdateMeta contains the timestamp and strategy to be used in this update request

UpdateMeta contains the timestamp and strategy to be used in this update request.

name string optional

Name of this project unique per tenant

Name of this project unique per tenant.

description string optional

Description of this project

Description of this project.

avatar_url string optional

Avatar URL of the project

Avatar URL of the project.

labels UpdateLabels optional

Labels on this project

Labels on this project.

@@ -15606,7 +15598,7 @@

ProjectServiceUpdateResp

- + @@ -15648,84 +15640,84 @@

ProjectService

- + - + - + - + - + - + - + - + - + - + - + - + @@ -15754,7 +15746,7 @@

ProjectServiceListRequest

- + @@ -15778,7 +15770,7 @@

ProjectServiceListRespon

- + @@ -15835,7 +15827,7 @@

SizeServiceCreateRequestsize

- + @@ -15859,7 +15851,7 @@

SizeServiceCreateResponse

- + @@ -15883,7 +15875,7 @@

SizeServiceDeleteRequestid

- + @@ -15907,7 +15899,7 @@

SizeServiceDeleteResponse

- + @@ -15931,42 +15923,42 @@

SizeServiceUpdateRequestid

- + - + - + - + - + - + @@ -15990,7 +15982,7 @@

SizeServiceUpdateResponse

- + @@ -16048,7 +16040,7 @@

metalstack/api/v2/size_ima

ImageConstraint

-

ImageConstraint defines a constraint for an image

examples:

images:

ubuntu: ">= 20.04.20211011"

debian: ">= 10.0.20210101"

+

ImageConstraint defines a constraint for an image.

Examples:

images:

ubuntu: ">= 20.04.20211011

debian: ">= 10.0.20210101

project Project

Project is the project

Project is the project.

Create ProjectServiceCreateRequest ProjectServiceCreateResponse

Create a project

Create a project.

Delete ProjectServiceDeleteRequest ProjectServiceDeleteResponse

Delete a project

Delete a project.

Update ProjectServiceUpdateRequest ProjectServiceUpdateResponse

Update a project

Update a project.

Leave ProjectServiceLeaveRequest ProjectServiceLeaveResponse

Leave project

Leave project.

AddMember ProjectServiceAddMemberRequest ProjectServiceAddMemberResponse

AddMember adds a user to a project

AddMember adds a user to a project.

RemoveMember ProjectServiceRemoveMemberRequest ProjectServiceRemoveMemberResponse

RemoveMember removes a user from a project

RemoveMember removes a user from a project.

UpdateMember ProjectServiceUpdateMemberRequest ProjectServiceUpdateMemberResponse

UpdateMember updates a user for a project

UpdateMember updates a user for a project.

Invite ProjectServiceInviteRequest ProjectServiceInviteResponse

Invite a user to a project

Invite a user to a project.

InviteAccept ProjectServiceInviteAcceptRequest ProjectServiceInviteAcceptResponse

InviteAccept is called by a user to accept an invitation

InviteAccept is called by a user to accept an invitation.

InviteDelete ProjectServiceInviteDeleteRequest ProjectServiceInviteDeleteResponse

InviteDelete deletes a pending invitation

InviteDelete deletes a pending invitation.

InvitesList ProjectServiceInvitesListRequest ProjectServiceInvitesListResponse

InvitesList list all invites to a project

InvitesList list all invites to a project.

InviteGet ProjectServiceInviteGetRequest ProjectServiceInviteGetResponse

InviteGet get an invite

InviteGet get an invite.

query metalstack.api.v2.ProjectQuery optional

Query for projects

Query for projects.

projects metalstack.api.v2.Project repeated

Projects contains the list of projects

Projects contains the list of projects.

metalstack.api.v2.Size

Size is the size to create

Size is the size to create.

size metalstack.api.v2.Size

Size contains the created size

Size contains the created size.

string

ID of the size to delete

ID of the size to delete.

size metalstack.api.v2.Size

Size contains the deleted size

Size contains the deleted size.

string

Id of this size

Id of this size.

update_meta metalstack.api.v2.UpdateMeta

UpdateMeta contains the timestamp and strategy to be used in this update request

UpdateMeta contains the timestamp and strategy to be used in this update request.

name string optional

Name of this size

Name of this size.

description string optional

Description of this size

Description of this size.

constraints metalstack.api.v2.SizeConstraint repeated

Constraints which must match that a specific machine is considered of this size

Constraints which must match that a specific machine is considered of this size.

labels metalstack.api.v2.UpdateLabels optional

Labels to update on this size

Labels to update on this size.

size metalstack.api.v2.Size

Size contains the updated size

Size contains the updated size.

@@ -16061,14 +16053,14 @@

ImageConstraint

- + - + @@ -16079,7 +16071,7 @@

ImageConstraint

SizeImageConstraint

-

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.

+

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.

image string

Image of the constraint

Image of the constraint.

semver_match string

SemverMatch which defines in semver match format which image version should apply

SemverMatch which defines in semver match format which image version should apply.

@@ -16092,35 +16084,35 @@

SizeImageConstraint

- + - + - + - + - + @@ -16131,7 +16123,7 @@

SizeImageConstraint

SizeImageConstraintQuery

-

SizeImageConstraintQuery is used to search size image constraints

+

SizeImageConstraintQuery is used to search size image constraints.

size string

Size where this constraint should apply

Size where this constraint should apply.

image_constraints ImageConstraint repeated

ImageConstraints to apply to this size

ImageConstraints to apply to this size.

meta Meta

Meta for this size image constraint

Meta for this size image constraint.

name string optional

Name of this size image constraint

Name of this size image constraint.

description string optional

Description of this size image constraint

Description of this size image constraint.

@@ -16144,21 +16136,21 @@

SizeImageConstraintQuery

size
- + - + - + @@ -16169,7 +16161,7 @@

SizeImageConstraintQuery

SizeImageConstraintServiceTryRequest -

SizeImageConstraintServiceTryRequest is the request payload for a size image constraint try request

+

SizeImageConstraintServiceTryRequest is the request payload for a size image constraint try request.

string optional

Size of the size image constraint

Size of the size image constraint.

name string optional

Name of the size image constraint to query

Name of the size image constraint to query.

description string optional

Description of the size image constraint to query

Description of the size image constraint to query.

@@ -16182,14 +16174,14 @@

SizeImageConstra

- + - + @@ -16200,7 +16192,7 @@

SizeImageConstra

SizeImageConstraintServiceTryResponse

-

SizeImageConstraintServiceTryResponse is the response payload for a size image constraint try request

+

SizeImageConstraintServiceTryResponse is the response payload for a size image constraint try request.

@@ -16253,35 +16245,35 @@

SizeImageCo

- + - + - + - + - + @@ -16305,7 +16297,7 @@

SizeImageC

- + @@ -16329,7 +16321,7 @@

SizeImageCo

- + @@ -16353,7 +16345,7 @@

SizeImageC

- + @@ -16377,7 +16369,7 @@

SizeImageConst

- + @@ -16401,7 +16393,7 @@

SizeImageCons

- + @@ -16425,7 +16417,7 @@

SizeImageCons

- + @@ -16449,7 +16441,7 @@

SizeImageCon

- + @@ -16473,35 +16465,35 @@

SizeImageCo

- + - + - + - + - + @@ -16525,7 +16517,7 @@

SizeImageC

- + @@ -16597,7 +16589,7 @@

metalstack/api/v2/size_reserva

SizeReservation

-

SizeReservation

+

SizeReservation.

size string

Size to try

Size to try.

image string

Image to try

Image to try.

size string

Size of the constraint

Size of the constraint.

image_constraints metalstack.api.v2.ImageConstraint repeated

ImageConstraints to apply to this size

ImageConstraints to apply to this size.

meta metalstack.api.v2.Meta

Meta for this size image constraint

Meta for this size image constraint.

name string optional

Name of this size image constraint

Name of this size image constraint.

description string optional

Description of this size image constraint

Description of this size image constraint.

size_image_constraint metalstack.api.v2.SizeImageConstraint

SizeImageConstraint contains the created constraint

SizeImageConstraint contains the created constraint.

size string

Size of the constraint

Size of the constraint.

size_image_constraint metalstack.api.v2.SizeImageConstraint

SizeImageConstraint contains the deleted constraint

SizeImageConstraint contains the deleted constraint.

size string

Size of the constraint

Size of the constraint.

size_image_constraint metalstack.api.v2.SizeImageConstraint

SizeImageConstraint contains the retrieved constraint

SizeImageConstraint contains the retrieved constraint.

query metalstack.api.v2.SizeImageConstraintQuery

Query for size image constraints

Query for size image constraints.

size_image_constraints metalstack.api.v2.SizeImageConstraint repeated

SizeImageConstraints contains the list of constraints

SizeImageConstraints contains the list of constraints.

size string

Size of the image constraint to update

Size of the image constraint to update.

update_meta metalstack.api.v2.UpdateMeta

UpdateMeta contains the timestamp and strategy to be used in this update request

UpdateMeta contains the timestamp and strategy to be used in this update request.

image_constraints metalstack.api.v2.ImageConstraint repeated

ImageConstraints to apply to this size

ImageConstraints to apply to this size.

name string optional

Name of this size image constraint

Name of this size image constraint.

description string optional

Description of this size image constraint

Description of this size image constraint.

size_image_constraint metalstack.api.v2.SizeImageConstraint

SizeImageConstraint contains the updated constraint

SizeImageConstraint contains the updated constraint.

@@ -16610,56 +16602,56 @@

SizeReservation

- + - + - + - + - + - + - + - + @@ -16670,7 +16662,7 @@

SizeReservation

SizeReservationQuery

-

SizeReservationQuery is used to search size reservations

+

SizeReservationQuery is used to search size reservations.

id string

Id of this size reservation, is generated on creation

Id of this size reservation, is generated on creation.

meta Meta

Meta for this size reservation

Meta for this size reservation.

name string

Name of this size reservation

Name of this size reservation.

description string

Description of this size reservation

Description of this size reservation.

project string

Project of the size reservation

Project of the size reservation.

size string

Size id of this size reservation

Size id of this size reservation.

partitions string repeated

Partition ids of this size reservation

Partition ids of this size reservation.

amount int32

Amount of reservations of this size reservation

Amount of reservations of this size reservation.

@@ -16683,49 +16675,49 @@

SizeReservationQuery

- + - + - + - + - + - + - + @@ -16736,7 +16728,7 @@

SizeReservationQuery

SizeReservationServiceGetRequest

-

SizeReservationServiceGetRequest is the request payload for a size get request

+

SizeReservationServiceGetRequest is the request payload for a size get request.

id string optional

ID of the size reservation to get

ID of the size reservation to get.

name string optional

Name of this size reservation

Name of this size reservation.

description string optional

Description of this size reservation

Description of this size reservation.

size string optional

Size id of this size reservation

Size id of this size reservation.

project string optional

Project of the size reservation

Project of the size reservation.

partition string optional

Partition of the size reservation

Partition of the size reservation.

labels Labels optional

Labels lists only size reservations containing the given labels

Labels lists only size reservations containing the given labels.

@@ -16749,14 +16741,14 @@

SizeReservationServi

- + - + @@ -16767,7 +16759,7 @@

SizeReservationServi

SizeReservationServiceGetResponse

-

SizeReservationServiceGetResponse is the response payload for a size reservation get request

+

SizeReservationServiceGetResponse is the response payload for a size reservation get request.

id string

ID of the size reservation to get

ID of the size reservation to get.

project string

Project of the size reservation

Project of the size reservation.

@@ -16780,7 +16772,7 @@

SizeReservationServ

- + @@ -16791,7 +16783,7 @@

SizeReservationServ

SizeReservationServiceListRequest

-

SizeReservationServiceListRequest is the request payload for a size list request

+

SizeReservationServiceListRequest is the request payload for a size list request.

size_reservation SizeReservation

Size reservation

Size reservation.

@@ -16804,14 +16796,14 @@

SizeReservationServ

- + - + @@ -16822,7 +16814,7 @@

SizeReservationServ

SizeReservationServiceListResponse

-

SizeReservationServiceListResponse is the response payload for a size reservation list request

+

SizeReservationServiceListResponse is the response payload for a size reservation list request.

project string

Project of the size reservation

Project of the size reservation.

query SizeReservationQuery

Query for size reservations

Query for size reservations.

@@ -16835,7 +16827,7 @@

SizeReservationSer

- + @@ -16899,7 +16891,7 @@

SizeReservation

- + @@ -16923,7 +16915,7 @@

SizeReservatio

- + @@ -16947,7 +16939,7 @@

SizeReservation

- + @@ -16971,7 +16963,7 @@

SizeReservatio

- + @@ -16995,7 +16987,7 @@

SizeReservationSe

- + @@ -17019,7 +17011,7 @@

SizeReservationS

- + @@ -17043,49 +17035,49 @@

SizeReservation

- + - + - + - + - + - + - + @@ -17109,7 +17101,7 @@

SizeReservatio

- + @@ -17187,14 +17179,14 @@

BGPFilter

- + - + @@ -17468,28 +17460,28 @@

SwitchNic

- + - + - + - + @@ -17943,14 +17935,14 @@

SwitchService

- + - + @@ -17974,7 +17966,7 @@

SwitchServic

- + @@ -17998,14 +17990,14 @@

SwitchServiceDeleteReque

- + - + @@ -18029,7 +18021,7 @@

SwitchServiceDeleteResp

- + @@ -18053,7 +18045,7 @@

SwitchServiceGetRequest

id
- + @@ -18077,7 +18069,7 @@

SwitchServiceGetResponseswitch

- + @@ -18101,7 +18093,7 @@

SwitchServiceListRequestquery

- + @@ -18125,7 +18117,7 @@

SwitchServiceListResponse

- + @@ -18149,14 +18141,14 @@

SwitchServiceMigrateReq

- + - + @@ -18180,7 +18172,7 @@

SwitchServiceMigrateRe

- + @@ -18204,21 +18196,21 @@

SwitchServicePortRequestid

- + - + - + @@ -18242,7 +18234,7 @@

SwitchServicePortResponse

- + @@ -18266,71 +18258,71 @@

SwitchServiceUpdateReque

- + - + - + - + - + - + - + - + - + - + @@ -18354,7 +18346,7 @@

SwitchServiceUpdateResp

- + @@ -18453,133 +18445,133 @@

TaskInfo

- + - + - + - + - + - + - + - + - + - + - + - +Empty string (default) indicates task does not belong to any groups, and no aggregation will be applied to the task.

- + - +This task will be recovered by running a server against the queue the task is in. +This field is only applicable to tasks with TaskStateActive.

- + - + - + @@ -18603,14 +18595,14 @@

TaskServiceDeleteRequesttask_id

- + - + @@ -18641,14 +18633,14 @@

TaskServiceGetRequest

- + - + @@ -18672,7 +18664,7 @@

TaskServiceGetResponse

- + @@ -18696,22 +18688,22 @@

TaskServiceListRequest

- + - + - + @@ -18735,7 +18727,7 @@

TaskServiceListResponse

tasks
- + @@ -18766,7 +18758,7 @@

TaskServiceQueuesResponse

- + @@ -18789,49 +18781,49 @@

TaskState

- + - + - + - + - + - + - + - + @@ -18890,7 +18882,7 @@

metalstack/api/v2/tenant.proto

Tenant -

Tenant is a customer of the platform

+

Tenant is a customer of the platform.

size_reservations SizeReservation repeated

Size reservations

Size reservations.

size_reservation metalstack.api.v2.SizeReservation

SizeReservation is the size reservation to create

SizeReservation is the size reservation to create.

size_reservation metalstack.api.v2.SizeReservation

SizeReservation contains the created reservation

SizeReservation contains the created reservation.

id string

ID of the size reservation to delete

ID of the size reservation to delete.

size_reservation metalstack.api.v2.SizeReservation

SizeReservation contains the deleted reservation

SizeReservation contains the deleted reservation.

query metalstack.api.v2.SizeReservationQuery

Query for size reservations

Query for size reservations.

size_reservations metalstack.api.v2.SizeReservation repeated

SizeReservations contains the list of reservations

SizeReservations contains the list of reservations.

id string

Id of this size reservation

Id of this size reservation.

name string optional

Name of this size reservation

Name of this size reservation.

description string optional

Description of this size reservation

Description of this size reservation.

update_meta metalstack.api.v2.UpdateMeta

UpdateMeta contains the timestamp and strategy to be used in this update request

UpdateMeta contains the timestamp and strategy to be used in this update request.

partitions string repeated

Partition ids of this size reservation

Partition ids of this size reservation.

amount int32 optional

Amount of reservations of this size reservation

Amount of reservations of this size reservation.

labels metalstack.api.v2.UpdateLabels optional

Labels to update of this size reservation

Labels to update of this size reservation.

size_reservation metalstack.api.v2.SizeReservation

SizeReservation contains the updated reservation

SizeReservation contains the updated reservation.

cidrs string repeated

CIDRs for which to allow BGP

CIDRs for which to allow BGP.

vnis string repeated

VNIs for which to allow BGP

VNIs for which to allow BGP.

name string

Name of the switch port

Name of the switch port.

identifier string

Identifier of the port

Identifier of the port.

mac string

MAC address of the port

MAC address of the port.

vrf string optional

VRF name if the port is bound in one

VRF name if the port is bound in one.

query metalstack.api.v2.SwitchQuery

Query to filter the switch results

Query to filter the switch results.

machine_query metalstack.api.v2.MachineQuery

MachineQuery to filter the machine results

MachineQuery to filter the machine results.

switches_with_machines metalstack.api.v2.SwitchWithMachines repeated

SwitchesWithMachines contains all switches with their machine connections

SwitchesWithMachines contains all switches with their machine connections.

id string

Id of the switch

Id of the switch.

force bool

Force will allow switch deletion despite existing machine connections

Force will allow switch deletion despite existing machine connections.

switch metalstack.api.v2.Switch

Switch contains the deleted switch

Switch contains the deleted switch.

string

Id of the switch to get

Id of the switch to get.

metalstack.api.v2.Switch

Switch contains the requested switch

Switch contains the requested switch.

metalstack.api.v2.SwitchQuery

Query to filter the results

Query to filter the results.

switches metalstack.api.v2.Switch repeated

Switches that match the request query

Switches that match the request query.

old_switch string

OldSwitch is the switch to migrate away from

OldSwitch is the switch to migrate away from.

new_switch string

NewSwitch is the switch to migrate to

NewSwitch is the switch to migrate to.

switch metalstack.api.v2.Switch

Switch contains the switch that was migrated to

Switch contains the switch that was migrated to.

string

Id of the switch

Id of the switch.

nic_name string

NicName of the port whose status should be changed

NicName of the port whose status should be changed.

status metalstack.api.v2.SwitchPortStatus

Status that the port should have

Status that the port should have.

switch metalstack.api.v2.Switch

Switch after the port status toggle

Switch after the port status toggle.

id string

ID of the switch

ID of the switch.

update_meta metalstack.api.v2.UpdateMeta

UpdateMeta contains the timestamp and strategy to be used in this update request

UpdateMeta contains the timestamp and strategy to be used in this update request.

updated_at google.protobuf.Timestamp

UpdatedAt is the date when this entity was updated -Must be part of the update request to ensure optimistic locking

UpdatedAt is the date when this entity was updated. +Must be part of the update request to ensure optimistic locking.

description string optional

Description of the switch

Description of the switch.

replace_mode metalstack.api.v2.SwitchReplaceMode optional

ReplaceMode is used to mark a switch ready for replacement

ReplaceMode is used to mark a switch ready for replacement.

management_ip string optional

ManagementIp is the switch's IP for management access

ManagementIp is the switch's IP for management access.

management_user string optional

ManagementUser is the user name to use for management access

ManagementUser is the user name to use for management access.

console_command string optional

ConsoleCommand is the command for accessing the switch's console

ConsoleCommand is the command for accessing the switch's console.

nics metalstack.api.v2.SwitchNic repeated

Nics are the front panel ports of the switch

Nics are the front panel ports of the switch.

os metalstack.api.v2.SwitchOS optional

SwitchOs is the OS running on the switch

SwitchOs is the OS running on the switch.

switch metalstack.api.v2.Switch

Switch contains the updated switch

Switch contains the updated switch.

id string

ID is the identifier of the task

ID is the identifier of the task.

queue string

Queue is the name of the queue in which the task belongs

Queue is the name of the queue in which the task belongs.

type string

Type is the type name of the task

Type is the type name of the task.

payload bytes

Payload is the payload data of the task

Payload is the payload data of the task.

state TaskState

State indicates the task state

State indicates the task state.

max_retry int32

MaxRetry is the maximum number of times the task can be retried

MaxRetry is the maximum number of times the task can be retried.

retried int32

Retried is the number of times the task has retried so far

Retried is the number of times the task has retried so far.

last_error string

LastError is the error message from the last failure

LastError is the error message from the last failure.

last_failed_at google.protobuf.Timestamp

LastFailedAt is the time of the last failure if any -If the task has no failures, LastFailedAt is zero time (i.e. time.Time{})

LastFailedAt is the time of the last failure if any. +If the task has no failures, LastFailedAt is zero time (i.e. time.Time{}).

timeout google.protobuf.Duration

Timeout is the duration the task can be processed by Handler before being retried

Timeout is the duration the task can be processed by Handler before being retried.

deadline google.protobuf.Timestamp

Deadline is the deadline for the task

Deadline is the deadline for the task.

group string

Group is the name of the group in which the task belongs +

Group is the name of the group in which the task belongs. -Tasks in the same queue can be grouped together by Group name and will be aggregated into one task -by a Server processing the queue +Tasks in the same queue can be grouped together by Group name and will be aggregated into one task. +by a Server processing the queue. -Empty string (default) indicates task does not belong to any groups, and no aggregation will be applied to the task

next_process_at google.protobuf.Timestamp

NextProcessAt is the time the task is scheduled to be processed -Zero if not applicable

NextProcessAt is the time the task is scheduled to be processed. +Zero if not applicable.

is_orphaned bool

IsOrphaned describes whether the task is left in active state with no worker processing it -An orphaned task indicates that the worker has crashed or experienced network failures and was not able to -extend its lease on the task +

IsOrphaned describes whether the task is left in active state with no worker processing it. +An orphaned task indicates that the worker has crashed or experienced network failures and was not able to. +extend its lease on the task. -This task will be recovered by running a server against the queue the task is in -This field is only applicable to tasks with TaskStateActive

retention google.protobuf.Duration

Retention is duration of the retention period after the task is successfully processed

Retention is duration of the retention period after the task is successfully processed.

completed_at google.protobuf.Timestamp

CompletedAt is the time when the task is processed successfully -Zero value (i.e. time.Time{}) indicates no value

CompletedAt is the time when the task is processed successfully. +Zero value (i.e. time.Time{}) indicates no value.

result bytes

Result holds the result data associated with the task -Use ResultWriter to write result data from the Handler

Result holds the result data associated with the task. +Use ResultWriter to write result data from the Handler.

string

TaskId is the identifier of the task to cancel

TaskId is the identifier of the task to cancel.

queue string

Queue is the queue where this task was scheduled to

Queue is the queue where this task was scheduled to.

task_id string

TaskId is the identifier of the task to get

TaskId is the identifier of the task to get.

queue string

Queue is the queue where this task was scheduled to

Queue is the queue where this task was scheduled to.

task TaskInfo

Task contains the task details

Task contains the task details.

queue string optional

Queue filters tasks by this queue -Will return tasks from all queues if not specified

Queue filters tasks by this queue. +Will return tasks from all queues if not specified.

count uint32 optional

Count is the number of tasks to return

Count is the number of tasks to return.

page uint32 optional

Page is the page of tasks to return

Page is the page of tasks to return.

TaskInfo repeated

Tasks contains the list of requested tasks

Tasks contains the list of requested tasks.

queues string repeated

Queues configured for the async system

Queues configured for the async system.

TASK_STATE_UNSPECIFIED 0

TASK_STATE_UNSPECIFIED is not specified

TASK_STATE_UNSPECIFIED is not specified.

TASK_STATE_ACTIVE 1

TASK_STATE_ACTIVE indicates that the task is currently being processed by Handler

TASK_STATE_ACTIVE indicates that the task is currently being processed by Handler.

TASK_STATE_PENDING 2

TASK_STATE_PENDING indicates that the task is ready to be processed by Handler

TASK_STATE_PENDING indicates that the task is ready to be processed by Handler.

TASK_STATE_SCHEDULED 3

TASK_STATE_SCHEDULED indicates that the task is scheduled to be processed some time in the future

TASK_STATE_SCHEDULED indicates that the task is scheduled to be processed some time in the future.

TASK_STATE_RETRY 4

TASK_STATE_RETRY indicates that the task has previously failed and is scheduled to be processed some time in the future

TASK_STATE_RETRY indicates that the task has previously failed and is scheduled to be processed some time in the future.

TASK_STATE_ARCHIVED 5

TASK_STATE_ARCHIVED indicates that the task is archived and stored for inspection purposes

TASK_STATE_ARCHIVED indicates that the task is archived and stored for inspection purposes.

TASK_STATE_COMPLETED 6

TASK_STATE_COMPLETED indicates that the task is processed successfully and retained until the retention TTL expires

TASK_STATE_COMPLETED indicates that the task is processed successfully and retained until the retention TTL expires.

TASK_STATE_AGGREGATING 7

TASK_STATE_AGGREGATING indicates that the task is waiting in a group to be aggregated into one task

TASK_STATE_AGGREGATING indicates that the task is waiting in a group to be aggregated into one task.

@@ -18903,49 +18895,49 @@

Tenant

- + - + - + - + - + - + - + @@ -18956,7 +18948,7 @@

Tenant

TenantInvite

-

TenantInvite defines invite to tenant

+

TenantInvite defines invite to tenant.

login string

Login of the tenant

Login of the tenant.

meta Meta

Meta for this tenant

Meta for this tenant.

name string

Name of the tenant

Name of the tenant.

email string

Email of the tenant

Email of the tenant.

description string

Description of this tenant

Description of this tenant.

avatar_url string

AvatarUrl of the tenant

AvatarUrl of the tenant.

created_by string

CreatedBy stores who created this tenant

CreatedBy stores who created this tenant.

@@ -18969,63 +18961,63 @@

TenantInvite

- + - + - + - + - + - + - + - + - + @@ -19036,7 +19028,7 @@

TenantInvite

TenantMember

-

TenantMember defines a user that participates in a tenant

+

TenantMember defines a user that participates in a tenant.

secret string

Secret is the secret part of the invite, typically part of the url

Secret is the secret part of the invite, typically part of the url.

target_tenant string

TargetTenant is the tenant id for which this invite was created

TargetTenant is the tenant id for which this invite was created.

role TenantRole

Role is the role in this tenant the user will get after accepting the invitation

Role is the role in this tenant the user will get after accepting the invitation.

joined bool

Joined is false as long as a user has not accepted the invite

Joined is false as long as a user has not accepted the invite.

target_tenant_name string

TargetTenantName is the tenant name for which this invite was created

TargetTenantName is the tenant name for which this invite was created.

tenant string

Tenant is the login of the tenant inviting another user to join this tenant

Tenant is the login of the tenant inviting another user to join this tenant.

tenant_name string

TenantName is the name of the tenant inviting another user to join this tenant

TenantName is the name of the tenant inviting another user to join this tenant.

expires_at google.protobuf.Timestamp

ExpiresAt the date when this invite expires

ExpiresAt the date when this invite expires.

joined_at google.protobuf.Timestamp

JoinedAt the date when the member accepted this invite

JoinedAt the date when the member accepted this invite.

@@ -19049,35 +19041,35 @@

TenantMember

- + - + - + - + - + @@ -19088,7 +19080,7 @@

TenantMember

TenantQuery

-

TenantQuery is used to search tenants

+

TenantQuery is used to search tenants.

id string

Id is the user id of the member

Id is the user id of the member.

role TenantRole

Role is the role of the member

Role is the role of the member.

projects string repeated

Projects in which a user is a direct member

Projects in which a user is a direct member.

created_at google.protobuf.Timestamp

CreatedAt the date when the member was added to the tenant

CreatedAt the date when the member was added to the tenant.

meta Meta

Meta for this tenant member

Meta for this tenant member.

@@ -19101,28 +19093,28 @@

TenantQuery

- + - + - + - + @@ -19133,7 +19125,7 @@

TenantQuery

TenantServiceAddMemberRequest

-

TenantServiceAddMemberRequest is the request payload for adding a member to a tenant

+

TenantServiceAddMemberRequest is the request payload for adding a member to a tenant.

login string optional

Id filters tenants by login

Id filters tenants by login.

name string optional

Name filters tenants by name

Name filters tenants by name.

labels Labels optional

Labels lists only projects containing the given labels

Labels lists only projects containing the given labels.

paging Paging

Paging details for the list request

Paging details for the list request.

@@ -19146,21 +19138,21 @@

TenantServiceAddMemberR

- + - + - + @@ -19171,7 +19163,7 @@

TenantServiceAddMemberR

TenantServiceAddMemberResponse

-

TenantServiceAddMemberResponse is the response payload for the add member request

+

TenantServiceAddMemberResponse is the response payload for the add member request.

login string

Login of the tenant to which the member will be added

Login of the tenant to which the member will be added.

member string

Login of the member to add

Login of the member to add.

role TenantRole

Role to assign to the new member

Role to assign to the new member.

@@ -19184,7 +19176,7 @@

TenantServiceAddMember

- + @@ -19195,7 +19187,7 @@

TenantServiceAddMember

TenantServiceCreateRequest

-

TenantServiceCreateRequest is the request payload of the tenant create request

+

TenantServiceCreateRequest is the request payload of the tenant create request.

tenant_member TenantMember

TenantMember is the added tenant member

TenantMember is the added tenant member.

@@ -19208,35 +19200,35 @@

TenantServiceCreateRequest

- + - + - + - + - + @@ -19247,7 +19239,7 @@

TenantServiceCreateRequest

TenantServiceCreateResponse

-

TenantServiceCreateResponse is the response payload of the tenant create request

+

TenantServiceCreateResponse is the response payload of the tenant create request.

name string

Name of this tenant

Name of this tenant.

description string optional

Description of this tenant

Description of this tenant.

email string optional

Email of the tenant, if not set will be inherited from the creator

Email of the tenant, if not set will be inherited from the creator.

avatar_url string optional

AvatarUrl of the tenant

AvatarUrl of the tenant.

labels Labels

Labels on the tenant

Labels on the tenant.

@@ -19260,7 +19252,7 @@

TenantServiceCreateRespon

- + @@ -19271,7 +19263,7 @@

TenantServiceCreateRespon

TenantServiceDeleteRequest

-

TenantServiceDeleteRequest is the request payload of the tenant delete request

+

TenantServiceDeleteRequest is the request payload of the tenant delete request.

tenant Tenant

Tenant is the tenant

Tenant is the tenant.

@@ -19284,7 +19276,7 @@

TenantServiceDeleteRequest

- + @@ -19295,7 +19287,7 @@

TenantServiceDeleteRequest

TenantServiceDeleteResponse

-

TenantServiceDeleteResponse is the response payload of the tenant delete request

+

TenantServiceDeleteResponse is the response payload of the tenant delete request.

login string

Login of the tenant

Login of the tenant.

@@ -19308,7 +19300,7 @@

TenantServiceDeleteRespon

- + @@ -19319,7 +19311,7 @@

TenantServiceDeleteRespon

TenantServiceGetRequest

-

TenantServiceGetRequest is the request payload of the tenant get request

+

TenantServiceGetRequest is the request payload of the tenant get request.

tenant Tenant

Tenant is the tenant

Tenant is the tenant.

@@ -19332,7 +19324,7 @@

TenantServiceGetRequest

- + @@ -19343,7 +19335,7 @@

TenantServiceGetRequest

TenantServiceGetResponse

-

TenantServiceGetResponse is the response payload of the tenant get request

+

TenantServiceGetResponse is the response payload of the tenant get request.

login string

Login of the tenant

Login of the tenant.

@@ -19356,14 +19348,14 @@

TenantServiceGetResponse

tenant
- + - + @@ -19374,7 +19366,7 @@

TenantServiceGetResponse

TenantServiceInviteAcceptRequest -

TenantServiceInviteAcceptRequest is the request payload to a accept invite request

+

TenantServiceInviteAcceptRequest is the request payload to a accept invite request.

Tenant

Tenant is the tenant

Tenant is the tenant.

tenant_members TenantMember repeated

TenantMembers of this tenant

TenantMembers of this tenant.

@@ -19387,7 +19379,7 @@

TenantServiceInviteA

- + @@ -19398,7 +19390,7 @@

TenantServiceInviteA

TenantServiceInviteAcceptResponse

-

TenantServiceInviteAcceptResponse is the response payload to a accept invite request

+

TenantServiceInviteAcceptResponse is the response payload to a accept invite request.

secret string

Secret is the invitation secret part of the invitation url

Secret is the invitation secret part of the invitation url.

@@ -19411,14 +19403,14 @@

TenantServiceInvite

- + - + @@ -19429,7 +19421,7 @@

TenantServiceInvite

TenantServiceInviteDeleteRequest

-

TenantServiceInviteDeleteRequest is the request payload to a delete invite

+

TenantServiceInviteDeleteRequest is the request payload to a delete invite.

tenant string

Tenant ID of the joined tenant

Tenant ID of the joined tenant.

tenant_name string

TenantName of the joined tenant

TenantName of the joined tenant.

@@ -19442,14 +19434,14 @@

TenantServiceInviteD

- + - + @@ -19460,14 +19452,14 @@

TenantServiceInviteD

TenantServiceInviteDeleteResponse

-

TenantServiceInviteDeleteResponse is the response payload of a delete invite request

+

TenantServiceInviteDeleteResponse is the response payload of a delete invite request.

TenantServiceInviteGetRequest

-

TenantServiceInviteGetRequest is the request payload to get a invite

+

TenantServiceInviteGetRequest is the request payload to get a invite.

login string

Login of the tenant

Login of the tenant.

secret string

Secret of the invite to delete

Secret of the invite to delete.

@@ -19480,7 +19472,7 @@

TenantServiceInviteGetR

- + @@ -19491,7 +19483,7 @@

TenantServiceInviteGetR

TenantServiceInviteGetResponse

-

TenantServiceInviteGetResponse is the response payload to a get invite request

+

TenantServiceInviteGetResponse is the response payload to a get invite request.

secret string

Secret of the invite to get

Secret of the invite to get.

@@ -19504,7 +19496,7 @@

TenantServiceInviteGet

- + @@ -19515,7 +19507,7 @@

TenantServiceInviteGet

TenantServiceInviteRequest

-

TenantServiceInviteRequest is used to invite a member to a tenant

+

TenantServiceInviteRequest is used to invite a member to a tenant.

invite TenantInvite

Invite is the invite

Invite is the invite.

@@ -19528,14 +19520,14 @@

TenantServiceInviteRequest

- + - + @@ -19546,7 +19538,7 @@

TenantServiceInviteRequest

TenantServiceInviteResponse

-

TenantServiceInviteRequest is the response payload to a invite member request

+

TenantServiceInviteRequest is the response payload to a invite member request.

login string

Login of the tenant

Login of the tenant.

role TenantRole

Role of this user in this tenant

Role of this user in this tenant.

@@ -19559,9 +19551,7 @@

TenantServiceInviteRespon

- + @@ -19572,7 +19562,7 @@

TenantServiceInviteRespon

TenantServiceInvitesListRequest

-

TenantServiceInvitesListRequest is the request payload to a list invites request

+

TenantServiceInvitesListRequest is the request payload to a list invites request.

invite TenantInvite

Invite contains a secret which can be sent to a potential user -can be appended to the invitation endpoint at our cloud console like -console.metalstack.cloud/invite/<secret>

Invite contains a secret which can be sent to a potential user.

@@ -19585,7 +19575,7 @@

TenantServiceInvitesL

- + @@ -19596,7 +19586,7 @@

TenantServiceInvitesL

TenantServiceInvitesListResponse

-

TenantServiceInvitesListResponse is the response payload to a list invites request

+

TenantServiceInvitesListResponse is the response payload to a list invites request.

login string

Login of the tenant

Login of the tenant.

@@ -19609,7 +19599,7 @@

TenantServiceInvites

- + @@ -19620,7 +19610,7 @@

TenantServiceInvites

TenantServiceLeaveRequest

-

TenantServiceLeaveTenantRequest is used to leave a tenant

+

TenantServiceLeaveTenantRequest is used to leave a tenant.

invites TenantInvite repeated

Invites that have not yet accepted the invitation to this tenant

Invites that have not yet accepted the invitation to this tenant.

@@ -19633,7 +19623,7 @@

TenantServiceLeaveRequestlogin

- + @@ -19644,14 +19634,14 @@

TenantServiceLeaveRequestTenantServiceLeaveResponse

-

TenantServiceLeaveTenantResponse is the response payload to a leave tenant request

+

TenantServiceLeaveTenantResponse is the response payload to a leave tenant request.

TenantServiceListRequest

-

TenantServiceListRequest is the request payload of the tenant list request

+

TenantServiceListRequest is the request payload of the tenant list request.

string

Login of the tenant

Login of the tenant.

@@ -19664,7 +19654,7 @@

TenantServiceListRequest

query
- + @@ -19675,7 +19665,7 @@

TenantServiceListRequest

TenantServiceListResponse -

TenantServiceListResponse is the response payload of the tenant list request

+

TenantServiceListResponse is the response payload of the tenant list request.

TenantQuery

Query for tenants

Query for tenants.

@@ -19688,7 +19678,7 @@

TenantServiceListResponsetenants

- + @@ -19699,7 +19689,7 @@

TenantServiceListResponseTenantServiceRemoveMemberRequest

-

TenantServiceRemoveMemberRequest is used to remove a member from a tenant

+

TenantServiceRemoveMemberRequest is used to remove a member from a tenant.

Tenant repeated

Tenants is the list of tenants

Tenants is the list of tenants.

@@ -19712,14 +19702,14 @@

TenantServiceRemoveM

- + - + @@ -19730,7 +19720,7 @@

TenantServiceRemoveM

TenantServiceRemoveMemberResponse

-

TenantServiceRemoveMemberResponse is the response payload to a remove member request

+

TenantServiceRemoveMemberResponse is the response payload to a remove member request.

login string

Login of the tenant

Login of the tenant.

member string

Member is the id of the member to remove from this tenant

Member is the id of the member to remove from this tenant.

@@ -19743,7 +19733,7 @@

TenantServiceRemove

- + @@ -19754,7 +19744,7 @@

TenantServiceRemove

TenantServiceUpdateMemberRequest

-

TenantServiceUpdateMemberRequest is used to update a member from a tenant

+

TenantServiceUpdateMemberRequest is used to update a member from a tenant.

tenant_member TenantMember

TenantMember is the removed tenant member

TenantMember is the removed tenant member.

@@ -19767,21 +19757,21 @@

TenantServiceUpdateM

- + - + - + @@ -19792,7 +19782,7 @@

TenantServiceUpdateM

TenantServiceUpdateMemberResponse

-

TenantServiceUpdateMemberResponse is the response payload to a update member request

+

TenantServiceUpdateMemberResponse is the response payload to a update member request.

login string

Login of the tenant

Login of the tenant.

member string

Member is the id of the member to update in this tenant

Member is the id of the member to update in this tenant.

role TenantRole

Role of this user in this tenant

Role of this user in this tenant.

@@ -19805,7 +19795,7 @@

TenantServiceUpdate

- + @@ -19816,7 +19806,7 @@

TenantServiceUpdate

TenantServiceUpdateRequest

-

TenantServiceUpdateRequest is the request payload of the tenant update request

+

TenantServiceUpdateRequest is the request payload of the tenant update request.

tenant_member TenantMember

TenantMember is the updated membership

TenantMember is the updated membership.

@@ -19829,49 +19819,49 @@

TenantServiceUpdateRequest

- + - + - + - + - + - + - + @@ -19882,7 +19872,7 @@

TenantServiceUpdateRequest

TenantServiceUpdateResponse

-

TenantServiceUpdateResponse is the response payload of the tenant update request

+

TenantServiceUpdateResponse is the response payload of the tenant update request.

login string

Login of the tenant

Login of the tenant.

update_meta UpdateMeta

UpdateMeta contains the timestamp and strategy to be used in this update request

UpdateMeta contains the timestamp and strategy to be used in this update request.

name string optional

Name of the tenant

Name of the tenant.

email string optional

Email of the tenant

Email of the tenant.

description string optional

Description of this tenant

Description of this tenant.

avatar_url string optional

AvatarUrl of the tenant

AvatarUrl of the tenant.

labels UpdateLabels optional

Labels on the tenant

Labels on the tenant.

@@ -19895,7 +19885,7 @@

TenantServiceUpdateRespon

- + @@ -19937,84 +19927,84 @@

TenantService

- + - + - + - + - + - + - + - + - + - + - + - + @@ -20030,7 +20020,7 @@

metalstack/admin/v2/tenant.proto

<

TenantServiceAddMemberRequest

-

TenantServiceAddMemberRequest is the request payload for adding a member to a tenant

+

TenantServiceAddMemberRequest is the request payload for adding a member to a tenant.

tenant Tenant

Tenant is the tenant

Tenant is the tenant.

Get TenantServiceGetRequest TenantServiceGetResponse

Get a tenant

Get a tenant.

Update TenantServiceUpdateRequest TenantServiceUpdateResponse

Update a tenant

Update a tenant.

Delete TenantServiceDeleteRequest TenantServiceDeleteResponse

Delete a tenant

Delete a tenant.

Leave TenantServiceLeaveRequest TenantServiceLeaveResponse

Leave removes a member from a tenant

Leave removes a member from a tenant.

AddMember TenantServiceAddMemberRequest TenantServiceAddMemberResponse

AddMember adds a member to a tenant

AddMember adds a member to a tenant.

RemoveMember TenantServiceRemoveMemberRequest TenantServiceRemoveMemberResponse

RemoveMember removes a member from a tenant

RemoveMember removes a member from a tenant.

UpdateMember TenantServiceUpdateMemberRequest TenantServiceUpdateMemberResponse

UpdateMember update a member of a tenant

UpdateMember update a member of a tenant.

Invite TenantServiceInviteRequest TenantServiceInviteResponse

Invite a user to a tenant

Invite a user to a tenant.

InviteAccept TenantServiceInviteAcceptRequest TenantServiceInviteAcceptResponse

InviteAccept is called from a user to accept an invitation

InviteAccept is called from a user to accept an invitation.

InviteDelete TenantServiceInviteDeleteRequest TenantServiceInviteDeleteResponse

InviteDelete deletes a pending invitation

InviteDelete deletes a pending invitation.

InvitesList TenantServiceInvitesListRequest TenantServiceInvitesListResponse

InvitesList list all invites to a tenant

InvitesList list all invites to a tenant.

InviteGet TenantServiceInviteGetRequest TenantServiceInviteGetResponse

InviteGet get an invite

InviteGet get an invite.

@@ -20043,21 +20033,21 @@

TenantServiceAddMembe

- + - + - + @@ -20068,7 +20058,7 @@

TenantServiceAddMembe

TenantServiceAddMemberResponse

-

TenantServiceAddMemberResponse is the response payload for the add member request

+

TenantServiceAddMemberResponse is the response payload for the add member request.

tenant string

Login of the tenant to which the member will be added

Login of the tenant to which the member will be added.

member string

Login of the member to add

Login of the member to add.

role metalstack.api.v2.TenantRole

Role to assign to the new member

Role to assign to the new member.

@@ -20081,7 +20071,7 @@

TenantServiceAddMemb

- + @@ -20105,35 +20095,35 @@

TenantServiceCreateReque

- + - + - + - + - + @@ -20157,7 +20147,7 @@

TenantServiceCreateResp

- + @@ -20181,7 +20171,7 @@

TenantServiceListRequestquery

- + @@ -20205,14 +20195,14 @@

TenantServiceListResponse

- + - + @@ -20223,7 +20213,7 @@

TenantServiceListResponse

TenantServiceRemoveMemberRequest

-

TenantServiceRemoveMemberRequest is the request payload for removing a member from a tenant

+

TenantServiceRemoveMemberRequest is the request payload for removing a member from a tenant.

tenant_member metalstack.api.v2.TenantMember

TenantMember is the added tenant member

TenantMember is the added tenant member.

name string

Name of the tenant

Name of the tenant.

description string optional

Description of the tenant

Description of the tenant.

email string optional

Email of the tenant, if not set will be inherited from the creator

Email of the tenant, if not set will be inherited from the creator.

avatar_url string optional

AvatarUrl of the tenant

AvatarUrl of the tenant.

labels metalstack.api.v2.Labels

Labels on the tenant

Labels on the tenant.

tenant metalstack.api.v2.Tenant

Tenant contains the created tenant

Tenant contains the created tenant.

metalstack.api.v2.TenantQuery

Query for tenants

Query for tenants.

tenants metalstack.api.v2.Tenant repeated

Tenants contains the list of tenants

Tenants contains the list of tenants.

next_page uint64 optional

NextPage is used for pagination, returns the next page to be fetched and must then be provided in the list request

NextPage is used for pagination, returns the next page to be fetched and must then be provided in the list request.

@@ -20236,14 +20226,14 @@

TenantServiceRemov

- + - + @@ -20254,7 +20244,7 @@

TenantServiceRemov

TenantServiceRemoveMemberResponse

-

TenantServiceRemoveMemberResponse is the response payload for the remove member request

+

TenantServiceRemoveMemberResponse is the response payload for the remove member request.

tenant string

Login of the tenant from which the member will be removed

Login of the tenant from which the member will be removed.

member string

Login of the member to remove

Login of the member to remove.

@@ -20267,7 +20257,7 @@

TenantServiceRemo

- + @@ -20309,14 +20299,14 @@

TenantService

- + - + @@ -20345,14 +20335,14 @@

TokenServiceCreateRequest

- + - + @@ -20376,14 +20366,14 @@

TokenServiceCreateRespon

- + - + @@ -20407,7 +20397,7 @@

TokenServiceListRequest

query
- + @@ -20431,7 +20421,7 @@

TokenServiceListResponsetokens

- + @@ -20455,14 +20445,14 @@

TokenServiceRevokeRequest

- + - + @@ -20541,42 +20531,42 @@

VPNNode

- + - + - + - + - + - + @@ -20614,29 +20604,29 @@

VPNServiceAuthKeyRequestproject

- + - + - + - + @@ -20660,36 +20650,36 @@

VPNServiceAuthKeyResponse

- + - + - + - + - + @@ -20713,7 +20703,7 @@

VPNServiceListNodesReque

- + @@ -20737,7 +20727,7 @@

VPNServiceListNodesResp

- + @@ -20801,7 +20791,7 @@

Health

- + @@ -20832,7 +20822,7 @@

HealthServiceGetResponse

health
- + @@ -20856,28 +20846,28 @@

HealthStatus

- + - + - + - + @@ -20932,14 +20922,14 @@

PartitionHealth

- + - + @@ -20962,55 +20952,55 @@

Service

- + - + - + - + - + - + - + - + - + @@ -21027,25 +21017,25 @@

ServiceStatus

- + - + - + - + @@ -21103,7 +21093,7 @@

MethodServiceListResponsemethods

- + @@ -21134,42 +21124,42 @@

MethodServiceTok

- + - + - + - + - + - + @@ -21326,49 +21316,49 @@

User

- + - + - + - + - + - + - + @@ -21399,7 +21389,7 @@

UserServiceGetResponse

- + @@ -21456,15 +21446,15 @@

BMCCommandDoneRequest

- + - + @@ -21495,14 +21485,14 @@

UpdateBMCInfoRequest

- + - + @@ -21557,14 +21547,14 @@

UpdateBMCInfoResponse

- + - + @@ -21588,7 +21578,7 @@

WaitForBMCCommandRequestpartition

- + @@ -21612,29 +21602,29 @@

WaitForBMCCommandResponse

- + - + - + - + @@ -21692,7 +21682,7 @@

metalstack/infra/v2/boot.proto

BootServiceBootRequest -

BootServiceBootRequest is called to get specified parameters to boot a machine with the given mac

+

BootServiceBootRequest is called to get specified parameters to boot a machine with the given mac.

tenant_member metalstack.api.v2.TenantMember

TenantMember is the removed tenant member

TenantMember is the removed tenant member.

AddMember TenantServiceAddMemberRequest TenantServiceAddMemberResponse

Add a member to a tenant

Add a member to a tenant.

RemoveMember TenantServiceRemoveMemberRequest TenantServiceRemoveMemberResponse

RemoveMember removes a member from a tenant

RemoveMember removes a member from a tenant.

user string optional

User this token should be created for, if omitted, user is derived from caller

User this token should be created for, if omitted, user is derived from caller.

token_create_request metalstack.api.v2.TokenServiceCreateRequest

TokenCreateRequest which should be created

TokenCreateRequest which should be created.

token metalstack.api.v2.Token

Token contains the created token

Token contains the created token.

secret string

Secret is the body if the JWT token, should be used in API requests as bearer token

Secret is the body if the JWT token, should be used in API requests as bearer token.

metalstack.api.v2.TokenQuery

Query for tokens

Query for tokens.

metalstack.api.v2.Token repeated

Tokens contains the list of tokens

Tokens contains the list of tokens.

uuid string

Uuid is the uuid of the token which should be revoked

Uuid is the uuid of the token which should be revoked.

user string

User is the id of the user for which the token should be revoked

User is the id of the user for which the token should be revoked.

id uint64

ID of this node

ID of this node.

name string

Name of this node

Name of this node.

project string

Project of this node, maps to a project

Project of this node, maps to a project.

ip_addresses string repeated

IPAddresses of this node in the VPN

IPAddresses of this node in the VPN.

last_seen google.protobuf.Timestamp

LastSeen timestamp when this node reached out to the control plane

LastSeen timestamp when this node reached out to the control plane.

online bool

Online indicates if this node is online

Online indicates if this node is online.

string

Project for which a VPN authentication key should be generated

Project for which a VPN authentication key should be generated.

ephemeral bool

Ephemeral defines if the authentication key should be ephemeral

Ephemeral defines if the authentication key should be ephemeral.

expires google.protobuf.Duration

Expires defines the duration after which the authentication key expires

Expires defines the duration after which the authentication key expires.

reason string

Reason must be provided why access to the VPN is requested -Reason is only forwarded to an audit sink

Reason must be provided why access to the VPN is requested. +Reason is only forwarded to an audit sink.

address string

Address is the address of the VPN control plane

Address is the address of the VPN control plane.

auth_key string

AuthKey is the key to connect to the VPN at the given address -This key can only be seen once

AuthKey is the key to connect to the VPN at the given address. +This key can only be seen once.

ephemeral bool

Ephemeral defines if the authentication key should be ephemeral

Ephemeral defines if the authentication key should be ephemeral.

expires_at google.protobuf.Timestamp

ExpiresAt this key cannot be used after this timestamp

ExpiresAt this key cannot be used after this timestamp.

created_at google.protobuf.Timestamp

CreatedAt this key was created at this timestamp

CreatedAt this key was created at this timestamp.

project string optional

Project filters nodes by this project

Project filters nodes by this project.

nodes metalstack.api.v2.VPNNode repeated

Nodes connected to the VPN

Nodes connected to the VPN.

services HealthStatus repeated

Services contains the health of all individual services

Services contains the health of all individual services.

Health

Health contains the overall health of the system

Health contains the overall health of the system.

name Service

Name is the name of the service

Name is the name of the service.

status ServiceStatus

Status is the status of this service

Status is the status of this service.

message string

Message describes the reason for the unhealthy status if possible

Message describes the reason for the unhealthy status if possible.

partitions HealthStatus.PartitionsEntry repeated

Partitions describes the health of the service by partition

Partitions describes the health of the service by partition.

status ServiceStatus

Status is the health status of the service in this partition

Status is the health status of the service in this partition.

message string

Message describes the reason for the unhealthy status if possible

Message describes the reason for the unhealthy status if possible.

SERVICE_UNSPECIFIED 0

SERVICE_UNSPECIFIED is a unknown service

SERVICE_UNSPECIFIED is a unknown service.

SERVICE_IPAM 1

SERVICE_IPAM the IPAM service

SERVICE_IPAM the IPAM service.

SERVICE_RETHINK 2

SERVICE_RETHINK the RethinkDB

SERVICE_RETHINK the RethinkDB.

SERVICE_TENANT_APISERVER 3

SERVICE_TENANT_APISERVER the tenant-apiserver

SERVICE_TENANT_APISERVER the tenant-apiserver.

SERVICE_MACHINES 4

SERVICE_MACHINES the machine service

SERVICE_MACHINES the machine service.

SERVICE_AUDIT 5

SERVICE_AUDIT the auditing

SERVICE_AUDIT the auditing.

SERVICE_VPN 6

SERVICE_VPN the VPN service

SERVICE_VPN the VPN service.

SERVICE_REDIS 7

SERVICE_REDIS the Redis service

SERVICE_REDIS the Redis service.

SERVICE_TASKS 8

SERVICE_TASKS the tasks service

SERVICE_TASKS the tasks service.

SERVICE_STATUS_UNSPECIFIED 0

SERVICE_STATUS_UNSPECIFIED service status is not known or unspecified

SERVICE_STATUS_UNSPECIFIED service status is not known or unspecified.

SERVICE_STATUS_DEGRADED 1

SERVICE_STATUS_DEGRADED the service is in degraded status, not the whole functionality is available

SERVICE_STATUS_DEGRADED the service is in degraded status, not the whole functionality is available.

SERVICE_STATUS_UNHEALTHY 2

SERVICE_STATUS_UNHEALTHY the service is in unhealthy status, serious impact is expected

SERVICE_STATUS_UNHEALTHY the service is in unhealthy status, serious impact is expected.

SERVICE_STATUS_HEALTHY 3

SERVICE_STATUS_HEALTHY the service is in healthy status, for example fully functional

SERVICE_STATUS_HEALTHY the service is in healthy status, for example fully functional.

string repeated

Methods is a list of methods public callable

Methods is a list of methods public callable.

permissions MethodPermission repeated

Permissions contains a list of methods which can be called

Permissions contains a list of methods which can be called.

project_roles MethodServiceTokenScopedListResponse.ProjectRolesEntry repeated

ProjectRoles associates a project ID with the corresponding role of the token owner

ProjectRoles associates a project ID with the corresponding role of the token owner.

tenant_roles MethodServiceTokenScopedListResponse.TenantRolesEntry repeated

TenantRoles associates a tenant ID with the corresponding role of the token owner

TenantRoles associates a tenant ID with the corresponding role of the token owner.

admin_role AdminRole optional

AdminRole defines the admin role of the token owner

AdminRole defines the admin role of the token owner.

infra_role InfraRole optional

InfraRole defines the infrastructure role of the token owner

InfraRole defines the infrastructure role of the token owner.

machine_roles MethodServiceTokenScopedListResponse.MachineRolesEntry repeated

MachineRoles defines the machine roles of the token owner

MachineRoles defines the machine roles of the token owner.

login string

Login is the login at the provider

Login is the login at the provider.

name string

Name of the user

Name of the user.

email string

Email of the user

Email of the user.

avatar_url string

AvatarUrl of the user

AvatarUrl of the user.

tenants Tenant repeated

Tenants the user belongs to

Tenants the user belongs to.

projects Project repeated

Projects the user belongs to

Projects the user belongs to.

default_tenant Tenant

DefaultTenant the default tenant that this user belongs to

DefaultTenant the default tenant that this user belongs to.

user User

User contains the authenticated user

User contains the authenticated user.

command_id string

CommandId is a unique ID which must be sent back after execution -It is usually in the form: <machine-uuid>:machine-bmc-command

CommandId is a unique ID which must be sent back after execution. +It is usually in the form: <machine-uuid>:machine-bmc-command.

error string optional

Error of the command execution, nil if it was successful

Error of the command execution, nil if it was successful.

partition string

Partition is the partition ID where metal-bmc wants to receive events

Partition is the partition ID where metal-bmc wants to receive events.

bmc_reports UpdateBMCInfoRequest.BmcReportsEntry repeated

BmcReports maps the BMC report per machine UUID

BmcReports maps the BMC report per machine UUID.

updated_machines string repeated

UpdatedMachines is a slice of machine UUIDs which were updated

UpdatedMachines is a slice of machine UUIDs which were updated.

created_machines string repeated

CreatedMachines is a slice of machine UUIDs which were created

CreatedMachines is a slice of machine UUIDs which were created.

string

Partition is the partition ID where metal-bmc wants to receive BMC commands

Partition is the partition ID where metal-bmc wants to receive BMC commands.

uuid string

UUID of the machine to send the command to

UUID of the machine to send the command to.

bmc_command metalstack.api.v2.MachineBMCCommand

BmcCommand to execute against the BMC of the machine

BmcCommand to execute against the BMC of the machine.

machine_bmc metalstack.api.v2.MachineBMC

MachineBmc contains connection details of the machine to issue the BMC command to

MachineBmc contains connection details of the machine to issue the BMC command to.

command_id string

CommandId is a unique ID which must be sent back after execution -It is usually in the form: <machine-uuid>:machine-bmc-command:<command>

CommandId is a unique ID which must be sent back after execution. +It is usually in the form: <machine-uuid>:machine-bmc-command:<command>.

@@ -21705,14 +21695,14 @@

BootServiceBootRequest

- + - + @@ -21723,7 +21713,7 @@

BootServiceBootRequest

BootServiceBootResponse

-

BootServiceBootResponse contains additional infos which are required to boot a machine

+

BootServiceBootResponse contains additional infos which are required to boot a machine.

mac string

Mac address of the machine

Mac address of the machine.

partition string

Partition where this machine is located

Partition where this machine is located.

@@ -21736,21 +21726,21 @@

BootServiceBootResponse

kernel
- + - + - + @@ -21761,7 +21751,7 @@

BootServiceBootResponse

BootServiceDhcpRequest -

BootServiceDhcpRequest is called once a machine issues a dhcp request

+

BootServiceDhcpRequest is called once a machine issues a dhcp request.

string

Kernel is the url to the linux kernel to boot

Kernel is the url to the linux kernel to boot.

init_ram_disks string repeated

Initial ram disk is the url to the initial ram disk to boot

Initial ram disk is the url to the initial ram disk to boot.

cmdline string optional

CMDLine contains kernel command line parameters to boot

CMDLine contains kernel command line parameters to boot.

@@ -21774,14 +21764,14 @@

BootServiceDhcpRequest

- + - + @@ -21792,14 +21782,14 @@

BootServiceDhcpRequest

BootServiceDhcpResponse

-

BootServiceDhcpResponse contains the response to a dhcp request

+

BootServiceDhcpResponse contains the response to a dhcp request.

BootServiceInstallationSucceededRequest

-

BootServiceInstallationSucceededRequest is sent from metal-hammer to the api to report the installation succeeded

+

BootServiceInstallationSucceededRequest is sent from metal-hammer to the api to report the installation succeeded.

uuid string

UUID of the machine

UUID of the machine.

partition string

Partition where this machine is located

Partition where this machine is located.

@@ -21812,14 +21802,14 @@

BootService

- + - + @@ -21830,14 +21820,14 @@

BootService

BootServiceInstallationSucceededResponse

-

BootServiceInstallationSucceededResponse is the response to a BootServiceInstallationSucceededRequest

+

BootServiceInstallationSucceededResponse is the response to a BootServiceInstallationSucceededRequest.

BootServiceRegisterRequest

-

BootServiceRegisterRequest is called from metal-hammer to register a machine with as much hardware details as possible

+

BootServiceRegisterRequest is called from metal-hammer to register a machine with as much hardware details as possible.

uuid string

UUID of the machine to boot

UUID of the machine to boot.

console_password string

ConsolePassword

ConsolePassword.

@@ -21850,56 +21840,56 @@

BootServiceRegisterReque

- + - + - + - + - + - + - + - + @@ -21910,7 +21900,7 @@

BootServiceRegisterReque

BootServiceRegisterResponse

-

BootServiceRegisterResponse response to a BootServiceRegisterResponse request

+

BootServiceRegisterResponse response to a BootServiceRegisterResponse request.

uuid string

UUID of this machine

UUID of this machine.

hardware metalstack.api.v2.MachineHardware

Hardware details of this machine

Hardware details of this machine.

bios metalstack.api.v2.MachineBios

Bios details of this machine

Bios details of this machine.

bmc metalstack.api.v2.MachineBMC

BMC details of this machine

BMC details of this machine.

fru metalstack.api.v2.MachineFRU

FRU details of this machine

FRU details of this machine.

tags string repeated

Tags of this machine

Tags of this machine.

metal_hammer_version string

MetalHammer version this machine was booted into

MetalHammer version this machine was booted into.

partition string

Partition where this machine is located

Partition where this machine is located.

@@ -21923,21 +21913,21 @@

BootServiceRegisterResp

- + - + - + @@ -21948,7 +21938,7 @@

BootServiceRegisterResp

BootServiceSuperUserPasswordRequest

-

BootServiceSuperUserPasswordRequest this call returns the password for the machine superuser

+

BootServiceSuperUserPasswordRequest this call returns the password for the machine superuser.

uuid string

UUID of this machine

UUID of this machine.

size string

Size is the calculated size from given hardware details

Size is the calculated size from given hardware details.

partition string

Partition of this machine

Partition of this machine.

@@ -21961,7 +21951,7 @@

BootServiceSupe

- + @@ -21972,7 +21962,7 @@

BootServiceSupe

BootServiceSuperUserPasswordResponse

-

BootServiceSuperUserPasswordResponse the super user password is returned

+

BootServiceSuperUserPasswordResponse the super user password is returned.

uuid string

UUID of this machine

UUID of this machine.

@@ -21992,7 +21982,7 @@

BootServiceSup

- + @@ -22003,7 +21993,7 @@

BootServiceSup

BootServiceWaitRequest

-

BootServiceWaitRequest is called when a machine was registered and is waiting for allocation

+

BootServiceWaitRequest is called when a machine was registered and is waiting for allocation.

super_user_password string

SuperUserPassword is the password of the superuser on the ipmi device

SuperUserPassword is the password of the superuser on the ipmi device.

@@ -22016,7 +22006,7 @@

BootServiceWaitRequest

- + @@ -22027,7 +22017,7 @@

BootServiceWaitRequest

BootServiceWaitResponse

-

BootServiceWaitResponse response to a wait request

+

BootServiceWaitResponse response to a wait request.

uuid string

UUID of this machine

UUID of this machine.

@@ -22040,7 +22030,7 @@

BootServiceWaitResponse

allocation
- + @@ -22132,35 +22122,35 @@

ComponentServicePingReq

- + - + - + - + - + @@ -22224,7 +22214,7 @@

EventServiceSendRequest

events
- + @@ -22279,14 +22269,14 @@

EventServiceSendResponseevents

- + - + @@ -22343,7 +22333,7 @@

SwitchServiceGetRequest

id
- + @@ -22367,7 +22357,7 @@

SwitchServiceGetResponseswitch

- + @@ -22391,35 +22381,35 @@

SwitchServiceHeartbea

- + - + - + - + - + @@ -22505,21 +22495,21 @@

SwitchServiceHeartbe

- + - + - + @@ -22543,7 +22533,7 @@

SwitchServiceRegisterR

- + @@ -22567,7 +22557,7 @@

SwitchServiceRegister

- + diff --git a/go/metalstack/admin/v2/adminv2connect/machine.connect.go b/go/metalstack/admin/v2/adminv2connect/machine.connect.go index 7f53ab1a..bcccad43 100644 --- a/go/metalstack/admin/v2/adminv2connect/machine.connect.go +++ b/go/metalstack/admin/v2/adminv2connect/machine.connect.go @@ -73,7 +73,7 @@ type MachineServiceClient interface { ConsolePassword(context.Context, *v2.MachineServiceConsolePasswordRequest) (*v2.MachineServiceConsolePasswordResponse, error) // SetState set the state of a machine. SetState(context.Context, *v2.MachineServiceSetStateRequest) (*v2.MachineServiceSetStateResponse, error) - // Issues allows to query issues of machines + // Issues allows to query issues of machines. Issues(context.Context, *v2.MachineServiceIssuesRequest) (*v2.MachineServiceIssuesResponse, error) } @@ -257,7 +257,7 @@ type MachineServiceHandler interface { ConsolePassword(context.Context, *v2.MachineServiceConsolePasswordRequest) (*v2.MachineServiceConsolePasswordResponse, error) // SetState set the state of a machine. SetState(context.Context, *v2.MachineServiceSetStateRequest) (*v2.MachineServiceSetStateResponse, error) - // Issues allows to query issues of machines + // Issues allows to query issues of machines. Issues(context.Context, *v2.MachineServiceIssuesRequest) (*v2.MachineServiceIssuesResponse, error) } diff --git a/go/metalstack/admin/v2/adminv2connect/tenant.connect.go b/go/metalstack/admin/v2/adminv2connect/tenant.connect.go index fc984eaa..13890a76 100644 --- a/go/metalstack/admin/v2/adminv2connect/tenant.connect.go +++ b/go/metalstack/admin/v2/adminv2connect/tenant.connect.go @@ -50,9 +50,9 @@ type TenantServiceClient interface { Create(context.Context, *v2.TenantServiceCreateRequest) (*v2.TenantServiceCreateResponse, error) // Returns the list of all tenants. List(context.Context, *v2.TenantServiceListRequest) (*v2.TenantServiceListResponse, error) - // Add a member to a tenant + // Add a member to a tenant. AddMember(context.Context, *v2.TenantServiceAddMemberRequest) (*v2.TenantServiceAddMemberResponse, error) - // RemoveMember removes a member from a tenant + // RemoveMember removes a member from a tenant. RemoveMember(context.Context, *v2.TenantServiceRemoveMemberRequest) (*v2.TenantServiceRemoveMemberResponse, error) } @@ -144,9 +144,9 @@ type TenantServiceHandler interface { Create(context.Context, *v2.TenantServiceCreateRequest) (*v2.TenantServiceCreateResponse, error) // Returns the list of all tenants. List(context.Context, *v2.TenantServiceListRequest) (*v2.TenantServiceListResponse, error) - // Add a member to a tenant + // Add a member to a tenant. AddMember(context.Context, *v2.TenantServiceAddMemberRequest) (*v2.TenantServiceAddMemberResponse, error) - // RemoveMember removes a member from a tenant + // RemoveMember removes a member from a tenant. RemoveMember(context.Context, *v2.TenantServiceRemoveMemberRequest) (*v2.TenantServiceRemoveMemberResponse, error) } diff --git a/go/metalstack/admin/v2/audit.pb.go b/go/metalstack/admin/v2/audit.pb.go index 1363b5ce..892cffc4 100644 --- a/go/metalstack/admin/v2/audit.pb.go +++ b/go/metalstack/admin/v2/audit.pb.go @@ -26,7 +26,7 @@ const ( // AuditServiceListRequest is the request payload for listing audit traces. type AuditServiceListRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // Query for audit traces + // Query for audit traces. Query *v2.AuditQuery `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -72,7 +72,7 @@ func (x *AuditServiceListRequest) GetQuery() *v2.AuditQuery { // AuditServiceListResponse is the response payload for listing audit traces. type AuditServiceListResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // Traces contains the list of audit traces + // Traces contains the list of audit traces. Traces []*v2.AuditTrace `protobuf:"bytes,1,rep,name=traces,proto3" json:"traces,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -118,9 +118,9 @@ func (x *AuditServiceListResponse) GetTraces() []*v2.AuditTrace { // AuditServiceGetRequest is the request payload for getting an audit trace. type AuditServiceGetRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // Uuid of the audit trace + // Uuid of the audit trace. Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` - // Phase specifies the audit phase. Defaults to request + // Phase specifies the audit phase. Defaults to request. Phase *v2.AuditPhase `protobuf:"varint,2,opt,name=phase,proto3,enum=metalstack.api.v2.AuditPhase,oneof" json:"phase,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -173,7 +173,7 @@ func (x *AuditServiceGetRequest) GetPhase() v2.AuditPhase { // AuditServiceGetResponse is the response payload for getting an audit trace. type AuditServiceGetResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // Trace is the audit trace + // Trace is the audit trace. Trace *v2.AuditTrace `protobuf:"bytes,1,opt,name=trace,proto3" json:"trace,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache diff --git a/go/metalstack/admin/v2/component.pb.go b/go/metalstack/admin/v2/component.pb.go index 106339dd..a7ebe5a9 100644 --- a/go/metalstack/admin/v2/component.pb.go +++ b/go/metalstack/admin/v2/component.pb.go @@ -26,7 +26,7 @@ const ( // ComponentServiceListRequest is the request payload for listing components. type ComponentServiceListRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // Query filters components + // Query filters components. Query *v2.ComponentQuery `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -72,7 +72,7 @@ func (x *ComponentServiceListRequest) GetQuery() *v2.ComponentQuery { // ComponentServiceListResponse is the response payload for listing components. type ComponentServiceListResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // Components contains the list of components + // Components contains the list of components. Components []*v2.Component `protobuf:"bytes,1,rep,name=components,proto3" json:"components,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -118,7 +118,7 @@ func (x *ComponentServiceListResponse) GetComponents() []*v2.Component { // ComponentServiceGetRequest is the request payload for getting a component. type ComponentServiceGetRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // UUID identifies the component to get + // UUID identifies the component to get. Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -164,7 +164,7 @@ func (x *ComponentServiceGetRequest) GetUuid() string { // ComponentServiceGetResponse is the response payload for getting a component. type ComponentServiceGetResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // Component contains the retrieved component + // Component contains the retrieved component. Component *v2.Component `protobuf:"bytes,1,opt,name=component,proto3" json:"component,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -210,7 +210,7 @@ func (x *ComponentServiceGetResponse) GetComponent() *v2.Component { // ComponentServiceDeleteRequest is the request payload for deleting a component. type ComponentServiceDeleteRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // UUID identifies the component to delete + // UUID identifies the component to delete. Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -256,7 +256,7 @@ func (x *ComponentServiceDeleteRequest) GetUuid() string { // ComponentServiceDeleteResponse is the response payload for deleting a component. type ComponentServiceDeleteResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // Component contains the deleted component + // Component contains the deleted component. Component *v2.Component `protobuf:"bytes,1,opt,name=component,proto3" json:"component,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache diff --git a/go/metalstack/admin/v2/filesystem.pb.go b/go/metalstack/admin/v2/filesystem.pb.go index d64aab44..989cf5a1 100644 --- a/go/metalstack/admin/v2/filesystem.pb.go +++ b/go/metalstack/admin/v2/filesystem.pb.go @@ -26,7 +26,7 @@ const ( // FilesystemServiceCreateRequest is the request payload for creating a filesystem. type FilesystemServiceCreateRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // FilesystemLayout is the filesystem layout to create + // FilesystemLayout is the filesystem layout to create. FilesystemLayout *v2.FilesystemLayout `protobuf:"bytes,1,opt,name=filesystem_layout,json=filesystemLayout,proto3" json:"filesystem_layout,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -72,7 +72,7 @@ func (x *FilesystemServiceCreateRequest) GetFilesystemLayout() *v2.FilesystemLay // FilesystemServiceCreateResponse is the response payload for creating a filesystem. type FilesystemServiceCreateResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // FilesystemLayout contains the created filesystem layout + // FilesystemLayout contains the created filesystem layout. FilesystemLayout *v2.FilesystemLayout `protobuf:"bytes,1,opt,name=filesystem_layout,json=filesystemLayout,proto3" json:"filesystem_layout,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -118,25 +118,25 @@ func (x *FilesystemServiceCreateResponse) GetFilesystemLayout() *v2.FilesystemLa // FilesystemServiceUpdateRequest is the request payload for updating a filesystem. type FilesystemServiceUpdateRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // Id of this filesystemLayout + // Id of this filesystemLayout. 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 contains the timestamp and strategy to be used in this update request. UpdateMeta *v2.UpdateMeta `protobuf:"bytes,2,opt,name=update_meta,json=updateMeta,proto3" json:"update_meta,omitempty"` - // Name of this filesystemLayout + // Name of this filesystemLayout. Name *string `protobuf:"bytes,3,opt,name=name,proto3,oneof" json:"name,omitempty"` - // Description of this filesystemLayout + // 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 is a list of filesystems to create on a machine. Filesystems []*v2.Filesystem `protobuf:"bytes,5,rep,name=filesystems,proto3" json:"filesystems,omitempty"` - // Disks list of disks that belong to this layout + // Disks list of disks that belong to this layout. Disks []*v2.Disk `protobuf:"bytes,6,rep,name=disks,proto3" json:"disks,omitempty"` - // Raid arrays to create + // Raid arrays to create. Raid []*v2.Raid `protobuf:"bytes,7,rep,name=raid,proto3" json:"raid,omitempty"` - // VolumeGroups list of volumegroups to create + // VolumeGroups list of volumegroups to create. VolumeGroups []*v2.VolumeGroup `protobuf:"bytes,8,rep,name=volume_groups,json=volumeGroups,proto3" json:"volume_groups,omitempty"` - // LogicalVolumes list of logicalvolumes to create + // LogicalVolumes list of logicalvolumes to create. LogicalVolumes []*v2.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 which must match that this layout is taken, if sizes and images are empty these are develop layouts. Constraints *v2.FilesystemLayoutConstraints `protobuf:"bytes,10,opt,name=constraints,proto3" json:"constraints,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -245,7 +245,7 @@ func (x *FilesystemServiceUpdateRequest) GetConstraints() *v2.FilesystemLayoutCo // FilesystemServiceUpdateResponse is the response payload for updating a filesystem. type FilesystemServiceUpdateResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // FilesystemLayout contains the updated filesystem layout + // FilesystemLayout contains the updated filesystem layout. FilesystemLayout *v2.FilesystemLayout `protobuf:"bytes,1,opt,name=filesystem_layout,json=filesystemLayout,proto3" json:"filesystem_layout,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -291,7 +291,7 @@ func (x *FilesystemServiceUpdateResponse) GetFilesystemLayout() *v2.FilesystemLa // FilesystemServiceDeleteRequest is the request payload for deleting a filesystem. type FilesystemServiceDeleteRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // ID of the filesystem to delete + // ID of the filesystem to delete. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -337,7 +337,7 @@ func (x *FilesystemServiceDeleteRequest) GetId() string { // FilesystemServiceDeleteResponse is the response payload for deleting a filesystem. type FilesystemServiceDeleteResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // FilesystemLayout contains the deleted filesystem layout + // FilesystemLayout contains the deleted filesystem layout. FilesystemLayout *v2.FilesystemLayout `protobuf:"bytes,1,opt,name=filesystem_layout,json=filesystemLayout,proto3" json:"filesystem_layout,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -380,11 +380,11 @@ func (x *FilesystemServiceDeleteResponse) GetFilesystemLayout() *v2.FilesystemLa return nil } -// FilesystemServiceMatchRequest +// FilesystemServiceMatchRequest. type FilesystemServiceMatchRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // Match size and image to a filesystem layout - // or match a machine to a filesystem layout + // Match size and image to a filesystem layout. + // or match a machine to a filesystem layout. // // Types that are valid to be assigned to Match: // @@ -455,12 +455,12 @@ type isFilesystemServiceMatchRequest_Match interface { } type FilesystemServiceMatchRequest_SizeAndImage struct { - // SizeAndImage + // SizeAndImage. SizeAndImage *MatchImageAndSize `protobuf:"bytes,1,opt,name=size_and_image,json=sizeAndImage,proto3,oneof"` } type FilesystemServiceMatchRequest_MachineAndFilesystemlayout struct { - // MachineAndFilesystemlayout + // MachineAndFilesystemlayout. MachineAndFilesystemlayout *MatchMachineAndFilesystemLayout `protobuf:"bytes,2,opt,name=machine_and_filesystemlayout,json=machineAndFilesystemlayout,proto3,oneof"` } @@ -469,12 +469,12 @@ func (*FilesystemServiceMatchRequest_SizeAndImage) isFilesystemServiceMatchReque func (*FilesystemServiceMatchRequest_MachineAndFilesystemlayout) isFilesystemServiceMatchRequest_Match() { } -// MatchImageAndSize +// MatchImageAndSize. type MatchImageAndSize struct { state protoimpl.MessageState `protogen:"open.v1"` - // Size, machine size to try + // Size, machine size to try. Size string `protobuf:"bytes,1,opt,name=size,proto3" json:"size,omitempty"` - // Image machine image to try + // Image machine image to try. Image string `protobuf:"bytes,2,opt,name=image,proto3" json:"image,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -524,12 +524,12 @@ func (x *MatchImageAndSize) GetImage() string { return "" } -// MatchMachineAndFilesystemLayout +// MatchMachineAndFilesystemLayout. type MatchMachineAndFilesystemLayout struct { state protoimpl.MessageState `protogen:"open.v1"` - // Machine to check + // Machine to check. Machine string `protobuf:"bytes,1,opt,name=machine,proto3" json:"machine,omitempty"` - // FilesystemLayout to check + // FilesystemLayout to check. FilesystemLayout string `protobuf:"bytes,2,opt,name=filesystem_layout,json=filesystemLayout,proto3" json:"filesystem_layout,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -579,10 +579,10 @@ func (x *MatchMachineAndFilesystemLayout) GetFilesystemLayout() string { return "" } -// FilesystemServiceMatchResponse +// FilesystemServiceMatchResponse. type FilesystemServiceMatchResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // FilesystemLayout the filesystemlayout + // FilesystemLayout the filesystemlayout. FilesystemLayout *v2.FilesystemLayout `protobuf:"bytes,1,opt,name=filesystem_layout,json=filesystemLayout,proto3" json:"filesystem_layout,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache diff --git a/go/metalstack/admin/v2/image.pb.go b/go/metalstack/admin/v2/image.pb.go index fca107cc..9947cf31 100644 --- a/go/metalstack/admin/v2/image.pb.go +++ b/go/metalstack/admin/v2/image.pb.go @@ -27,7 +27,7 @@ const ( // ImageServiceCreateRequest is the request payload for creating an image. type ImageServiceCreateRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // Image is the image to create + // Image is the image to create. Image *v2.Image `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -73,7 +73,7 @@ func (x *ImageServiceCreateRequest) GetImage() *v2.Image { // ImageServiceCreateResponse is the response payload for creating an image. type ImageServiceCreateResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // Image contains the created image + // Image contains the created image. Image *v2.Image `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -119,23 +119,23 @@ func (x *ImageServiceCreateResponse) GetImage() *v2.Image { // ImageServiceUpdateRequest is the request payload for updating an image. type ImageServiceUpdateRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // Id of this image + // Id of this image. 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 contains the timestamp and strategy to be used in this update request. UpdateMeta *v2.UpdateMeta `protobuf:"bytes,2,opt,name=update_meta,json=updateMeta,proto3" json:"update_meta,omitempty"` - // URL where this image is located + // URL where this image is located. Url *string `protobuf:"bytes,3,opt,name=url,proto3,oneof" json:"url,omitempty"` - // Name of this image + // Name of this image. Name *string `protobuf:"bytes,4,opt,name=name,proto3,oneof" json:"name,omitempty"` - // Description of this image + // Description of this image. Description *string `protobuf:"bytes,5,opt,name=description,proto3,oneof" json:"description,omitempty"` - // Features of this image + // Features of this image. Features []v2.ImageFeature `protobuf:"varint,6,rep,packed,name=features,proto3,enum=metalstack.api.v2.ImageFeature" json:"features,omitempty"` - // Classification of this image + // Classification of this image. Classification v2.ImageClassification `protobuf:"varint,7,opt,name=classification,proto3,enum=metalstack.api.v2.ImageClassification" json:"classification,omitempty"` - // ExpiresAt indicates that usage is not possible after this date + // ExpiresAt indicates that usage is not possible after this date. ExpiresAt *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"` - // Labels to update on this image + // Labels to update on this image. Labels *v2.UpdateLabels `protobuf:"bytes,9,opt,name=labels,proto3,oneof" json:"labels,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -237,7 +237,7 @@ func (x *ImageServiceUpdateRequest) GetLabels() *v2.UpdateLabels { // ImageServiceUpdateResponse is the response payload for updating an image. type ImageServiceUpdateResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // Image contains the updated image + // Image contains the updated image. Image *v2.Image `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -283,7 +283,7 @@ func (x *ImageServiceUpdateResponse) GetImage() *v2.Image { // ImageServiceDeleteRequest is the request payload for deleting an image. type ImageServiceDeleteRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // ID of the image to delete + // ID of the image to delete. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -329,7 +329,7 @@ func (x *ImageServiceDeleteRequest) GetId() string { // ImageServiceDeleteResponse is the response payload for deleting an image. type ImageServiceDeleteResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // Image contains the deleted image + // Image contains the deleted image. Image *v2.Image `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -375,7 +375,7 @@ func (x *ImageServiceDeleteResponse) GetImage() *v2.Image { // ImageServiceUsageRequest is the request payload for getting image usage. type ImageServiceUsageRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // Query for which images the usage should be reported + // Query for which images the usage should be reported. Query *v2.ImageQuery `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -421,7 +421,7 @@ func (x *ImageServiceUsageRequest) GetQuery() *v2.ImageQuery { // ImageServiceUsageResponse is the response payload for getting image usage. type ImageServiceUsageResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // Images contains usage information + // Images contains usage information. ImageUsage []*v2.ImageUsage `protobuf:"bytes,1,rep,name=image_usage,json=imageUsage,proto3" json:"image_usage,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache diff --git a/go/metalstack/admin/v2/ip.pb.go b/go/metalstack/admin/v2/ip.pb.go index 9deda2f5..90d0092c 100644 --- a/go/metalstack/admin/v2/ip.pb.go +++ b/go/metalstack/admin/v2/ip.pb.go @@ -25,7 +25,7 @@ const ( // IPServiceListRequest is the request payload for listing IP addresses. type IPServiceListRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // Query to search for IP addresses + // Query to search for IP addresses. Query *v2.IPQuery `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -71,7 +71,7 @@ func (x *IPServiceListRequest) GetQuery() *v2.IPQuery { // IPServiceListResponse is the response payload for listing IP addresses. type IPServiceListResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // IPs contains the list of IP addresses + // IPs contains the list of IP addresses. Ips []*v2.IP `protobuf:"bytes,1,rep,name=ips,proto3" json:"ips,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache diff --git a/go/metalstack/admin/v2/machine.pb.go b/go/metalstack/admin/v2/machine.pb.go index 440f7c31..e7447c63 100644 --- a/go/metalstack/admin/v2/machine.pb.go +++ b/go/metalstack/admin/v2/machine.pb.go @@ -23,10 +23,10 @@ const ( _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) ) -// MachineServiceGetRequest is the request payload for a machine get request +// MachineServiceGetRequest is the request payload for a machine get request. type MachineServiceGetRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // UUID of the machine to get + // UUID of the machine to get. Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -69,10 +69,10 @@ func (x *MachineServiceGetRequest) GetUuid() string { return "" } -// MachineServiceGetResponse is the response payload for a machine get request +// MachineServiceGetResponse is the response payload for a machine get request. type MachineServiceGetResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // Machine is the machine requested + // Machine is the machine requested. Machine *v2.Machine `protobuf:"bytes,1,opt,name=machine,proto3" json:"machine,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -115,13 +115,13 @@ func (x *MachineServiceGetResponse) GetMachine() *v2.Machine { return nil } -// MachineServiceListRequest is the request payload for a machine list request +// MachineServiceListRequest is the request payload for a machine list request. type MachineServiceListRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // Query to list one or more machines + // Query to list one or more machines. Query *v2.MachineQuery `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` - // Partition for which machines should be listed, could be left empty if only one partition is present - // otherwise an error is thrown that the partition must be specified + // Partition for which machines should be listed, could be left empty if only one partition is present. + // otherwise an error is thrown that the partition must be specified. Partition *string `protobuf:"bytes,2,opt,name=partition,proto3,oneof" json:"partition,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -171,10 +171,10 @@ func (x *MachineServiceListRequest) GetPartition() string { return "" } -// MachineServiceListResponse is the response payload for a machine list request +// MachineServiceListResponse is the response payload for a machine list request. type MachineServiceListResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // Machines are the machines requested by a list request + // Machines are the machines requested by a list request. Machines []*v2.Machine `protobuf:"bytes,1,rep,name=machines,proto3" json:"machines,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -217,10 +217,10 @@ func (x *MachineServiceListResponse) GetMachines() []*v2.Machine { return nil } -// MachineServiceDeleteRequest is the request payload for a machine delete request +// MachineServiceDeleteRequest is the request payload for a machine delete request. type MachineServiceDeleteRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // UUID of the machine to permanently delete + // UUID of the machine to permanently delete. Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -263,10 +263,10 @@ func (x *MachineServiceDeleteRequest) GetUuid() string { return "" } -// MachineServiceDeleteResponse is the response payload for a machine delete request +// MachineServiceDeleteResponse is the response payload for a machine delete request. type MachineServiceDeleteResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // Machine is the machine permanently deleted + // Machine is the machine permanently deleted. Machine *v2.Machine `protobuf:"bytes,1,opt,name=machine,proto3" json:"machine,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -309,12 +309,12 @@ func (x *MachineServiceDeleteResponse) GetMachine() *v2.Machine { return nil } -// MachineServiceBMCCommandRequest is the request payload for a machine bmc command +// MachineServiceBMCCommandRequest is the request payload for a machine bmc command. type MachineServiceBMCCommandRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // UUID of the machine to send the command to + // UUID of the machine to send the command to. Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` - // Command to send to the bmc of the machine + // Command to send to the bmc of the machine. Command v2.MachineBMCCommand `protobuf:"varint,2,opt,name=command,proto3,enum=metalstack.api.v2.MachineBMCCommand" json:"command,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -364,7 +364,7 @@ func (x *MachineServiceBMCCommandRequest) GetCommand() v2.MachineBMCCommand { return v2.MachineBMCCommand(0) } -// MachineServiceBMCCommandResponse is the response payload for a machine bmc command +// MachineServiceBMCCommandResponse is the response payload for a machine bmc command. type MachineServiceBMCCommandResponse struct { state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields @@ -401,10 +401,10 @@ func (*MachineServiceBMCCommandResponse) Descriptor() ([]byte, []int) { return file_metalstack_admin_v2_machine_proto_rawDescGZIP(), []int{7} } -// MachineServiceGetBMCRequest is the request payload for a machine getbmc request +// MachineServiceGetBMCRequest is the request payload for a machine getbmc request. type MachineServiceGetBMCRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // UUID of the machine to get + // UUID of the machine to get. Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -447,12 +447,12 @@ func (x *MachineServiceGetBMCRequest) GetUuid() string { return "" } -// MachineServiceGetBMCResponse is the response payload for a machine getbmc request +// MachineServiceGetBMCResponse is the response payload for a machine getbmc request. type MachineServiceGetBMCResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // UUID of the machine + // UUID of the machine. Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` - // BMC contains the BMC details of this machine + // BMC contains the BMC details of this machine. Bmc *v2.MachineBMCReport `protobuf:"bytes,2,opt,name=bmc,proto3" json:"bmc,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -502,10 +502,10 @@ func (x *MachineServiceGetBMCResponse) GetBmc() *v2.MachineBMCReport { return nil } -// MachineServiceListBMCRequest is the request payload for a machine listbmc request +// MachineServiceListBMCRequest is the request payload for a machine listbmc request. type MachineServiceListBMCRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // Query to list one or more BMCs of many machines + // Query to list one or more BMCs of many machines. Query *v2.MachineBMCQuery `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -548,10 +548,10 @@ func (x *MachineServiceListBMCRequest) GetQuery() *v2.MachineBMCQuery { return nil } -// MachineServiceListBMCResponse is the response payload for a machine listbmc request +// MachineServiceListBMCResponse is the response payload for a machine listbmc request. type MachineServiceListBMCResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // BMCReports maps the bmc report per machine uuid + // BMCReports maps the bmc report per machine uuid. BmcReports map[string]*v2.MachineBMCReport `protobuf:"bytes,1,rep,name=bmc_reports,json=bmcReports,proto3" json:"bmc_reports,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -597,10 +597,10 @@ func (x *MachineServiceListBMCResponse) GetBmcReports() map[string]*v2.MachineBM // MachineServiceConsolePasswordRequest is the request payload for getting the console password. type MachineServiceConsolePasswordRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // UUID of the machine to get + // UUID of the machine to get. Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` - // Reason must be provided why access to the console is requested - // Reason is only forwarded to an audit sink + // Reason must be provided why access to the console is requested. + // Reason is only forwarded to an audit sink. Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -653,9 +653,9 @@ func (x *MachineServiceConsolePasswordRequest) GetReason() string { // MachineServiceConsolePasswordResponse is the response payload for getting the console password. type MachineServiceConsolePasswordResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // UUID of the machine to get + // UUID of the machine to get. Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` - // Password to access the console + // Password to access the console. Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -705,15 +705,15 @@ func (x *MachineServiceConsolePasswordResponse) GetPassword() string { return "" } -// MachineServiceSetStateRequest is the request payload for a machine set state request +// MachineServiceSetStateRequest is the request payload for a machine set state request. type MachineServiceSetStateRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // UUID of the machine to set the state to + // UUID of the machine to set the state to. Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` // State the state of this machine. // If State set to available, description is also cleared. State v2.MachineState `protobuf:"varint,2,opt,name=state,proto3,enum=metalstack.api.v2.MachineState" json:"state,omitempty"` - // Description a description why this machine is in the given state + // Description a description why this machine is in the given state. Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -770,7 +770,7 @@ func (x *MachineServiceSetStateRequest) GetDescription() string { return "" } -// MachineServiceSetStateResponse is the response payload for a machine set state request +// MachineServiceSetStateResponse is the response payload for a machine set state request. type MachineServiceSetStateResponse struct { state protoimpl.MessageState `protogen:"open.v1"` // Machine with the changed state. @@ -816,10 +816,10 @@ func (x *MachineServiceSetStateResponse) GetMachine() *v2.Machine { return nil } -// MachineServiceIssuesRequest is the request payload for a machine issues request +// MachineServiceIssuesRequest is the request payload for a machine issues request. type MachineServiceIssuesRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // Query which machine issues to include + // Query which machine issues to include. Query *v2.MachineIssuesQuery `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -862,10 +862,10 @@ func (x *MachineServiceIssuesRequest) GetQuery() *v2.MachineIssuesQuery { return nil } -// MachineServiceIssuesResponse is the response payload for a machine issues request +// MachineServiceIssuesResponse is the response payload for a machine issues request. type MachineServiceIssuesResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // Issues is the result of the issues query + // Issues is the result of the issues query. Issues []*v2.MachineIssues `protobuf:"bytes,1,rep,name=issues,proto3" json:"issues,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache diff --git a/go/metalstack/admin/v2/network.pb.go b/go/metalstack/admin/v2/network.pb.go index 07cee610..47ca1969 100644 --- a/go/metalstack/admin/v2/network.pb.go +++ b/go/metalstack/admin/v2/network.pb.go @@ -26,7 +26,7 @@ const ( // NetworkServiceGetRequest is the request payload for getting a network. type NetworkServiceGetRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // ID of the network to get + // ID of the network to get. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -72,7 +72,7 @@ func (x *NetworkServiceGetRequest) GetId() string { // NetworkServiceGetResponse is the response payload for getting a network. type NetworkServiceGetResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // Network contains the requested network + // Network contains the requested network. Network *v2.Network `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -118,39 +118,39 @@ func (x *NetworkServiceGetResponse) GetNetwork() *v2.Network { // NetworkServiceCreateRequest is the request payload for creating a network. type NetworkServiceCreateRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // Id of this network + // Id of this network. Id *string `protobuf:"bytes,1,opt,name=id,proto3,oneof" json:"id,omitempty"` - // Name of this network + // Name of this network. Name *string `protobuf:"bytes,2,opt,name=name,proto3,oneof" json:"name,omitempty"` - // Description of this network + // 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 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 where this network belongs to. Project *string `protobuf:"bytes,5,opt,name=project,proto3,oneof" json:"project,omitempty"` - // Type of the network to create + // Type of the network to create. Type v2.NetworkType `protobuf:"varint,6,opt,name=type,proto3,enum=metalstack.api.v2.NetworkType" json:"type,omitempty"` - // Labels on this network + // Labels on this network. Labels *v2.Labels `protobuf:"bytes,7,opt,name=labels,proto3,oneof" json:"labels,omitempty"` - // Prefixes in this network + // Prefixes in this network. Prefixes []string `protobuf:"bytes,8,rep,name=prefixes,proto3" json:"prefixes,omitempty"` - // Destination Prefixes in this network + // Destination Prefixes in this network. DestinationPrefixes []string `protobuf:"bytes,9,rep,name=destination_prefixes,json=destinationPrefixes,proto3" json:"destination_prefixes,omitempty"` - // Default Child Prefix length defines the bitlength of a child network created per addressfamily, if not specified during the allocate request + // Default Child Prefix length defines the bitlength of a child network created per addressfamily, if not specified during the allocate request. DefaultChildPrefixLength *v2.ChildPrefixLength `protobuf:"bytes,10,opt,name=default_child_prefix_length,json=defaultChildPrefixLength,proto3" json:"default_child_prefix_length,omitempty"` - // Min Child Prefix length asserts that during child network creation the requested bit length is greater or equal the min child prefix length + // Min Child Prefix length asserts that during child network creation the requested bit length is greater or equal the min child prefix length. MinChildPrefixLength *v2.ChildPrefixLength `protobuf:"bytes,11,opt,name=min_child_prefix_length,json=minChildPrefixLength,proto3" json:"min_child_prefix_length,omitempty"` - // NATType of this network + // NATType of this network. NatType *v2.NATType `protobuf:"varint,12,opt,name=nat_type,json=natType,proto3,enum=metalstack.api.v2.NATType,oneof" json:"nat_type,omitempty"` - // VRF of this network has this VNI + // VRF of this network has this VNI. Vrf *uint32 `protobuf:"varint,13,opt,name=vrf,proto3,oneof" json:"vrf,omitempty"` - // Parent Network points to the id of the parent network if any + // Parent Network points to the id of the parent network if any. ParentNetwork *string `protobuf:"bytes,14,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 will be added to the allow list on the switch which prefixes might be announced. AdditionalAnnouncableCidrs []string `protobuf:"bytes,15,rep,name=additional_announcable_cidrs,json=additionalAnnouncableCidrs,proto3" json:"additional_announcable_cidrs,omitempty"` - // Length per addressfamily + // Length per addressfamily. Length *v2.ChildPrefixLength `protobuf:"bytes,16,opt,name=length,proto3,oneof" json:"length,omitempty"` - // AddressFamily to create, defaults to the same as the parent + // AddressFamily to create, defaults to the same as the parent. AddressFamily *v2.NetworkAddressFamily `protobuf:"varint,17,opt,name=address_family,json=addressFamily,proto3,enum=metalstack.api.v2.NetworkAddressFamily,oneof" json:"address_family,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -308,27 +308,27 @@ func (x *NetworkServiceCreateRequest) GetAddressFamily() v2.NetworkAddressFamily // NetworkServiceUpdateRequest is the request payload for updating a network. type NetworkServiceUpdateRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // Id of this network + // Id of this network. 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 contains the timestamp and strategy to be used in this update request. UpdateMeta *v2.UpdateMeta `protobuf:"bytes,2,opt,name=update_meta,json=updateMeta,proto3" json:"update_meta,omitempty"` - // Name of this network + // Name of this network. Name *string `protobuf:"bytes,3,opt,name=name,proto3,oneof" json:"name,omitempty"` - // Description of this network + // Description of this network. Description *string `protobuf:"bytes,4,opt,name=description,proto3,oneof" json:"description,omitempty"` - // Labels to update on this network + // Labels to update on this network. Labels *v2.UpdateLabels `protobuf:"bytes,5,opt,name=labels,proto3,oneof" json:"labels,omitempty"` - // Prefixes in this network + // Prefixes in this network. Prefixes []string `protobuf:"bytes,6,rep,name=prefixes,proto3" json:"prefixes,omitempty"` - // Destination Prefixes in this network + // Destination Prefixes in this network. DestinationPrefixes []string `protobuf:"bytes,7,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 addressfamily, if not specified during the allocate request + // Default Child Prefix length defines the bit length of a child network created per addressfamily, if not specified during the allocate request. DefaultChildPrefixLength *v2.ChildPrefixLength `protobuf:"bytes,8,opt,name=default_child_prefix_length,json=defaultChildPrefixLength,proto3,oneof" json:"default_child_prefix_length,omitempty"` - // Min Child Prefix length asserts that during child network creation the requested bit length is greater or equal the min child prefix length + // Min Child Prefix length asserts that during child network creation the requested bit length is greater or equal the min child prefix length. MinChildPrefixLength *v2.ChildPrefixLength `protobuf:"bytes,9,opt,name=min_child_prefix_length,json=minChildPrefixLength,proto3,oneof" json:"min_child_prefix_length,omitempty"` - // NATType of this network + // NATType of this network. NatType *v2.NATType `protobuf:"varint,10,opt,name=nat_type,json=natType,proto3,enum=metalstack.api.v2.NATType,oneof" json:"nat_type,omitempty"` - // AdditionalAnnouncableCidrs will be added to the allow list on the switch which prefixes might be announced + // AdditionalAnnouncableCidrs will be added to the allow list on the switch which prefixes might be announced. AdditionalAnnouncableCidrs []string `protobuf:"bytes,11,rep,name=additional_announcable_cidrs,json=additionalAnnouncableCidrs,proto3" json:"additional_announcable_cidrs,omitempty"` // Force update, prevents accidental removal of additional_announcable_cidrs which will destroy your dataplane. Force bool `protobuf:"varint,12,opt,name=force,proto3" json:"force,omitempty"` @@ -453,7 +453,7 @@ func (x *NetworkServiceUpdateRequest) GetForce() bool { // NetworkServiceDeleteRequest is the request payload for deleting a network. type NetworkServiceDeleteRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // ID of the network to get + // ID of the network to get. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -499,7 +499,7 @@ func (x *NetworkServiceDeleteRequest) GetId() string { // NetworkServiceListRequest is the request payload for listing networks. type NetworkServiceListRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // Query specifies which networks to return + // Query specifies which networks to return. Query *v2.NetworkQuery `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -545,7 +545,7 @@ func (x *NetworkServiceListRequest) GetQuery() *v2.NetworkQuery { // NetworkServiceCreateResponse is the response payload for creating a network. type NetworkServiceCreateResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // Network contains the created network + // Network contains the created network. Network *v2.Network `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -591,7 +591,7 @@ func (x *NetworkServiceCreateResponse) GetNetwork() *v2.Network { // NetworkServiceUpdateResponse is the response payload for updating a network. type NetworkServiceUpdateResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // Network contains the updated network + // Network contains the updated network. Network *v2.Network `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -637,7 +637,7 @@ func (x *NetworkServiceUpdateResponse) GetNetwork() *v2.Network { // NetworkServiceDeleteResponse is the response payload for deleting a network. type NetworkServiceDeleteResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // Network contains the deleted network + // Network contains the deleted network. Network *v2.Network `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -683,7 +683,7 @@ func (x *NetworkServiceDeleteResponse) GetNetwork() *v2.Network { // NetworkServiceListResponse is the response payload for listing networks. type NetworkServiceListResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // Networks contains the list of networks + // Networks contains the list of networks. Networks []*v2.Network `protobuf:"bytes,1,rep,name=networks,proto3" json:"networks,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache diff --git a/go/metalstack/admin/v2/partition.pb.go b/go/metalstack/admin/v2/partition.pb.go index eec90fd4..cb7a817d 100644 --- a/go/metalstack/admin/v2/partition.pb.go +++ b/go/metalstack/admin/v2/partition.pb.go @@ -23,10 +23,10 @@ const ( _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) ) -// PartitionServiceCreateRequest is the request payload for a partition create request +// PartitionServiceCreateRequest is the request payload for a partition create request. type PartitionServiceCreateRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // Partition the partition + // Partition the partition. Partition *v2.Partition `protobuf:"bytes,1,opt,name=partition,proto3" json:"partition,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -72,22 +72,22 @@ func (x *PartitionServiceCreateRequest) GetPartition() *v2.Partition { // PartitionServiceUpdateRequest is the request payload for updating a partition. type PartitionServiceUpdateRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // ID of this partition + // ID of this partition. 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 contains the timestamp and strategy to be used in this update request. UpdateMeta *v2.UpdateMeta `protobuf:"bytes,2,opt,name=update_meta,json=updateMeta,proto3" json:"update_meta,omitempty"` - // Description of this partition + // Description of this partition. Description *string `protobuf:"bytes,3,opt,name=description,proto3,oneof" json:"description,omitempty"` - // PartitionBootConfiguration defines how metal-hammer boots + // PartitionBootConfiguration defines how metal-hammer boots. BootConfiguration *v2.PartitionBootConfiguration `protobuf:"bytes,4,opt,name=boot_configuration,json=bootConfiguration,proto3" json:"boot_configuration,omitempty"` - // DNSServers for this partition + // DNSServers for this partition. DnsServers []*v2.DNSServer `protobuf:"bytes,5,rep,name=dns_servers,json=dnsServers,proto3" json:"dns_servers,omitempty"` - // NTPServers for this partition + // NTPServers for this partition. NtpServers []*v2.NTPServer `protobuf:"bytes,6,rep,name=ntp_servers,json=ntpServers,proto3" json:"ntp_servers,omitempty"` - // ManagementServiceAddresses defines where the management is reachable - // must be in the form : + // ManagementServiceAddresses defines where the management is reachable. + // must be in the form :. MgmtServiceAddresses []string `protobuf:"bytes,7,rep,name=mgmt_service_addresses,json=mgmtServiceAddresses,proto3" json:"mgmt_service_addresses,omitempty"` - // Labels to update on this network + // Labels to update on this network. Labels *v2.UpdateLabels `protobuf:"bytes,8,opt,name=labels,proto3,oneof" json:"labels,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -179,10 +179,10 @@ func (x *PartitionServiceUpdateRequest) GetLabels() *v2.UpdateLabels { return nil } -// PartitionServiceDeleteRequest is the request payload for a partition delete request +// PartitionServiceDeleteRequest is the request payload for a partition delete request. type PartitionServiceDeleteRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // ID of the partition to delete + // ID of the partition to delete. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -225,10 +225,10 @@ func (x *PartitionServiceDeleteRequest) GetId() string { return "" } -// PartitionServiceCreateResponse is the response payload for a partition create request +// PartitionServiceCreateResponse is the response payload for a partition create request. type PartitionServiceCreateResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // Partition the partition + // Partition the partition. Partition *v2.Partition `protobuf:"bytes,1,opt,name=partition,proto3" json:"partition,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -271,10 +271,10 @@ func (x *PartitionServiceCreateResponse) GetPartition() *v2.Partition { return nil } -// PartitionServiceUpdateResponse is the response payload for a partition update request +// PartitionServiceUpdateResponse is the response payload for a partition update request. type PartitionServiceUpdateResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // Partition the partition + // Partition the partition. Partition *v2.Partition `protobuf:"bytes,1,opt,name=partition,proto3" json:"partition,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -320,7 +320,7 @@ func (x *PartitionServiceUpdateResponse) GetPartition() *v2.Partition { // PartitionServiceDeleteResponse is the response payload for deleting a partition. type PartitionServiceDeleteResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // Partition contains the deleted partition + // Partition contains the deleted partition. Partition *v2.Partition `protobuf:"bytes,1,opt,name=partition,proto3" json:"partition,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -366,11 +366,11 @@ func (x *PartitionServiceDeleteResponse) GetPartition() *v2.Partition { // PartitionServiceCapacityRequest is the request payload for getting partition capacity. type PartitionServiceCapacityRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // ID of the partition to get + // ID of the partition to get. Id *string `protobuf:"bytes,1,opt,name=id,proto3,oneof" json:"id,omitempty"` - // Size of machines to show the capacity + // Size of machines to show the capacity. Size *string `protobuf:"bytes,2,opt,name=size,proto3,oneof" json:"size,omitempty"` - // Project of machines to show the capacity + // Project of machines to show the capacity. Project *string `protobuf:"bytes,3,opt,name=project,proto3,oneof" json:"project,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -427,10 +427,10 @@ func (x *PartitionServiceCapacityRequest) GetProject() string { return "" } -// PartitionServiceCapacityResponse is the response payload for a partition capacity request +// PartitionServiceCapacityResponse is the response payload for a partition capacity request. type PartitionServiceCapacityResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // PartitionCapacity is a capacity report per partition + // PartitionCapacity is a capacity report per partition. PartitionCapacity []*PartitionCapacity `protobuf:"bytes,1,rep,name=partition_capacity,json=partitionCapacity,proto3" json:"partition_capacity,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -473,7 +473,7 @@ func (x *PartitionServiceCapacityResponse) GetPartitionCapacity() []*PartitionCa return nil } -// PartitionCapacity is the capacity of one partition +// PartitionCapacity is the capacity of one partition. type PartitionCapacity struct { state protoimpl.MessageState `protogen:"open.v1"` // Partition of which this capacity is reported. @@ -528,7 +528,7 @@ func (x *PartitionCapacity) GetMachineSizeCapacities() []*MachineSizeCapacity { return nil } -// ServerCapacity is the capacity of one server type, eg machine size +// ServerCapacity is the capacity of one server type, eg machine size. type MachineSizeCapacity struct { state protoimpl.MessageState `protogen:"open.v1"` // Size is the size id correlating to all counts in this server capacity. @@ -551,7 +551,7 @@ type MachineSizeCapacity struct { // Free is the amount of machines in a partition that can be freely allocated at any given moment by a project. // Effectively this is the amount of waiting machines minus the machines that are unavailable due to machine state or un-allocatable due to size reservations. Free int64 `protobuf:"varint,10,opt,name=free,proto3" json:"free,omitempty"` - // Unavailable is the amount of machine in a partition that are currently not allocatable because they are not waiting or + // Unavailable is the amount of machine in a partition that are currently not allocatable because they are not waiting or. // not in the machine state "available", e.g. locked or reserved. Unavailable int64 `protobuf:"varint,11,opt,name=unavailable,proto3" json:"unavailable,omitempty"` // Faulty is the amount of machines that are neither allocated nor in the pool of available machines because they report an error. diff --git a/go/metalstack/admin/v2/project.pb.go b/go/metalstack/admin/v2/project.pb.go index 1be7d8cd..dafae0fe 100644 --- a/go/metalstack/admin/v2/project.pb.go +++ b/go/metalstack/admin/v2/project.pb.go @@ -25,7 +25,7 @@ const ( // ProjectServiceListRequest is the request payload for listing projects. type ProjectServiceListRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // Query for projects + // Query for projects. Query *v2.ProjectQuery `protobuf:"bytes,1,opt,name=query,proto3,oneof" json:"query,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -71,7 +71,7 @@ func (x *ProjectServiceListRequest) GetQuery() *v2.ProjectQuery { // ProjectServiceListResponse is the response payload for listing projects. type ProjectServiceListResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // Projects contains the list of projects + // Projects contains the list of projects. Projects []*v2.Project `protobuf:"bytes,1,rep,name=projects,proto3" json:"projects,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache diff --git a/go/metalstack/admin/v2/size.pb.go b/go/metalstack/admin/v2/size.pb.go index 19bb7768..a1c115b9 100644 --- a/go/metalstack/admin/v2/size.pb.go +++ b/go/metalstack/admin/v2/size.pb.go @@ -26,7 +26,7 @@ const ( // SizeServiceCreateRequest is the request payload for creating a size. type SizeServiceCreateRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // Size is the size to create + // Size is the size to create. Size *v2.Size `protobuf:"bytes,1,opt,name=size,proto3" json:"size,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -72,7 +72,7 @@ func (x *SizeServiceCreateRequest) GetSize() *v2.Size { // SizeServiceCreateResponse is the response payload for creating a size. type SizeServiceCreateResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // Size contains the created size + // Size contains the created size. Size *v2.Size `protobuf:"bytes,1,opt,name=size,proto3" json:"size,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -118,17 +118,17 @@ func (x *SizeServiceCreateResponse) GetSize() *v2.Size { // SizeServiceUpdateRequest is the request payload for updating a size. type SizeServiceUpdateRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // Id of this size + // Id of this size. 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 contains the timestamp and strategy to be used in this update request. UpdateMeta *v2.UpdateMeta `protobuf:"bytes,2,opt,name=update_meta,json=updateMeta,proto3" json:"update_meta,omitempty"` - // Name of this size + // Name of this size. Name *string `protobuf:"bytes,3,opt,name=name,proto3,oneof" json:"name,omitempty"` - // Description of this size + // 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 which must match that a specific machine is considered of this size. Constraints []*v2.SizeConstraint `protobuf:"bytes,5,rep,name=constraints,proto3" json:"constraints,omitempty"` - // Labels to update on this size + // Labels to update on this size. Labels *v2.UpdateLabels `protobuf:"bytes,6,opt,name=labels,proto3,oneof" json:"labels,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -209,7 +209,7 @@ func (x *SizeServiceUpdateRequest) GetLabels() *v2.UpdateLabels { // SizeServiceUpdateResponse is the response payload for updating a size. type SizeServiceUpdateResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // Size contains the updated size + // Size contains the updated size. Size *v2.Size `protobuf:"bytes,1,opt,name=size,proto3" json:"size,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -255,7 +255,7 @@ func (x *SizeServiceUpdateResponse) GetSize() *v2.Size { // SizeServiceDeleteRequest is the request payload for deleting a size. type SizeServiceDeleteRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // ID of the size to delete + // ID of the size to delete. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -301,7 +301,7 @@ func (x *SizeServiceDeleteRequest) GetId() string { // SizeServiceDeleteResponse is the response payload for deleting a size. type SizeServiceDeleteResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // Size contains the deleted size + // Size contains the deleted size. Size *v2.Size `protobuf:"bytes,1,opt,name=size,proto3" json:"size,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache diff --git a/go/metalstack/admin/v2/size_imageconstraint.pb.go b/go/metalstack/admin/v2/size_imageconstraint.pb.go index b6bf1359..7e30547d 100644 --- a/go/metalstack/admin/v2/size_imageconstraint.pb.go +++ b/go/metalstack/admin/v2/size_imageconstraint.pb.go @@ -26,15 +26,15 @@ const ( // SizeImageConstraintServiceCreateRequest is the request payload for creating a size image constraint. type SizeImageConstraintServiceCreateRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // Size of the constraint + // Size of the constraint. Size string `protobuf:"bytes,1,opt,name=size,proto3" json:"size,omitempty"` - // ImageConstraints to apply to this size + // ImageConstraints to apply to this size. ImageConstraints []*v2.ImageConstraint `protobuf:"bytes,2,rep,name=image_constraints,json=imageConstraints,proto3" json:"image_constraints,omitempty"` - // Meta for this size image constraint + // Meta for this size image constraint. Meta *v2.Meta `protobuf:"bytes,3,opt,name=meta,proto3" json:"meta,omitempty"` - // Name of this size image constraint + // 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 of this size image constraint. Description *string `protobuf:"bytes,5,opt,name=description,proto3,oneof" json:"description,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -108,7 +108,7 @@ func (x *SizeImageConstraintServiceCreateRequest) GetDescription() string { // SizeImageConstraintServiceCreateResponse is the response payload for creating a size image constraint. type SizeImageConstraintServiceCreateResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // SizeImageConstraint contains the created constraint + // SizeImageConstraint contains the created constraint. SizeImageConstraint *v2.SizeImageConstraint `protobuf:"bytes,1,opt,name=size_image_constraint,json=sizeImageConstraint,proto3" json:"size_image_constraint,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -154,15 +154,15 @@ func (x *SizeImageConstraintServiceCreateResponse) GetSizeImageConstraint() *v2. // SizeImageConstraintServiceUpdateRequest is the request payload for updating a size image constraint. type SizeImageConstraintServiceUpdateRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // Size of the image constraint to update + // Size of the image constraint to update. Size string `protobuf:"bytes,1,opt,name=size,proto3" json:"size,omitempty"` - // UpdateMeta contains the timestamp and strategy to be used in this update request + // UpdateMeta contains the timestamp and strategy to be used in this update request. UpdateMeta *v2.UpdateMeta `protobuf:"bytes,2,opt,name=update_meta,json=updateMeta,proto3" json:"update_meta,omitempty"` - // ImageConstraints to apply to this size + // ImageConstraints to apply to this size. ImageConstraints []*v2.ImageConstraint `protobuf:"bytes,3,rep,name=image_constraints,json=imageConstraints,proto3" json:"image_constraints,omitempty"` - // Name of this size image constraint + // 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 of this size image constraint. Description *string `protobuf:"bytes,5,opt,name=description,proto3,oneof" json:"description,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -236,7 +236,7 @@ func (x *SizeImageConstraintServiceUpdateRequest) GetDescription() string { // SizeImageConstraintServiceUpdateResponse is the response payload for updating a size image constraint. type SizeImageConstraintServiceUpdateResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // SizeImageConstraint contains the updated constraint + // SizeImageConstraint contains the updated constraint. SizeImageConstraint *v2.SizeImageConstraint `protobuf:"bytes,1,opt,name=size_image_constraint,json=sizeImageConstraint,proto3" json:"size_image_constraint,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -282,7 +282,7 @@ func (x *SizeImageConstraintServiceUpdateResponse) GetSizeImageConstraint() *v2. // SizeImageConstraintServiceDeleteRequest is the request payload for deleting a size image constraint. type SizeImageConstraintServiceDeleteRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // Size of the constraint + // Size of the constraint. Size string `protobuf:"bytes,1,opt,name=size,proto3" json:"size,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -328,7 +328,7 @@ func (x *SizeImageConstraintServiceDeleteRequest) GetSize() string { // SizeImageConstraintServiceDeleteResponse is the response payload for deleting a size image constraint. type SizeImageConstraintServiceDeleteResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // SizeImageConstraint contains the deleted constraint + // SizeImageConstraint contains the deleted constraint. SizeImageConstraint *v2.SizeImageConstraint `protobuf:"bytes,1,opt,name=size_image_constraint,json=sizeImageConstraint,proto3" json:"size_image_constraint,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -374,7 +374,7 @@ func (x *SizeImageConstraintServiceDeleteResponse) GetSizeImageConstraint() *v2. // SizeImageConstraintServiceGetRequest is the request payload for getting a size image constraint. type SizeImageConstraintServiceGetRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // Size of the constraint + // Size of the constraint. Size string `protobuf:"bytes,1,opt,name=size,proto3" json:"size,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -420,7 +420,7 @@ func (x *SizeImageConstraintServiceGetRequest) GetSize() string { // SizeImageConstraintServiceGetResponse is the response payload for getting a size image constraint. type SizeImageConstraintServiceGetResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // SizeImageConstraint contains the retrieved constraint + // SizeImageConstraint contains the retrieved constraint. SizeImageConstraint *v2.SizeImageConstraint `protobuf:"bytes,1,opt,name=size_image_constraint,json=sizeImageConstraint,proto3" json:"size_image_constraint,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -466,7 +466,7 @@ func (x *SizeImageConstraintServiceGetResponse) GetSizeImageConstraint() *v2.Siz // SizeImageConstraintServiceListRequest is the request payload for listing size image constraints. type SizeImageConstraintServiceListRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // Query for size image constraints + // Query for size image constraints. Query *v2.SizeImageConstraintQuery `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -512,7 +512,7 @@ func (x *SizeImageConstraintServiceListRequest) GetQuery() *v2.SizeImageConstrai // SizeImageConstraintServiceListResponse is the response payload for listing size image constraints. type SizeImageConstraintServiceListResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // SizeImageConstraints contains the list of constraints + // SizeImageConstraints contains the list of constraints. SizeImageConstraints []*v2.SizeImageConstraint `protobuf:"bytes,1,rep,name=size_image_constraints,json=sizeImageConstraints,proto3" json:"size_image_constraints,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache diff --git a/go/metalstack/admin/v2/size_reservation.pb.go b/go/metalstack/admin/v2/size_reservation.pb.go index 0766e801..4cec4992 100644 --- a/go/metalstack/admin/v2/size_reservation.pb.go +++ b/go/metalstack/admin/v2/size_reservation.pb.go @@ -26,7 +26,7 @@ const ( // SizeReservationServiceCreateRequest is the request payload for creating a size reservation. type SizeReservationServiceCreateRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // SizeReservation is the size reservation to create + // SizeReservation is the size reservation to create. SizeReservation *v2.SizeReservation `protobuf:"bytes,1,opt,name=size_reservation,json=sizeReservation,proto3" json:"size_reservation,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -72,7 +72,7 @@ func (x *SizeReservationServiceCreateRequest) GetSizeReservation() *v2.SizeReser // SizeReservationServiceCreateResponse is the response payload for creating a size reservation. type SizeReservationServiceCreateResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // SizeReservation contains the created reservation + // SizeReservation contains the created reservation. SizeReservation *v2.SizeReservation `protobuf:"bytes,1,opt,name=size_reservation,json=sizeReservation,proto3" json:"size_reservation,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -118,19 +118,19 @@ func (x *SizeReservationServiceCreateResponse) GetSizeReservation() *v2.SizeRese // SizeReservationServiceUpdateRequest is the request payload for updating a size reservation. type SizeReservationServiceUpdateRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // Id of this size reservation + // Id of this size reservation. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - // Name of this size reservation + // Name of this size reservation. Name *string `protobuf:"bytes,2,opt,name=name,proto3,oneof" json:"name,omitempty"` - // Description of this size reservation + // Description of this size reservation. Description *string `protobuf:"bytes,3,opt,name=description,proto3,oneof" json:"description,omitempty"` - // UpdateMeta contains the timestamp and strategy to be used in this update request + // UpdateMeta contains the timestamp and strategy to be used in this update request. UpdateMeta *v2.UpdateMeta `protobuf:"bytes,4,opt,name=update_meta,json=updateMeta,proto3" json:"update_meta,omitempty"` - // Partition ids of this size reservation + // Partition ids of this size reservation. Partitions []string `protobuf:"bytes,5,rep,name=partitions,proto3" json:"partitions,omitempty"` - // Amount of reservations of this size reservation + // Amount of reservations of this size reservation. Amount *int32 `protobuf:"varint,6,opt,name=amount,proto3,oneof" json:"amount,omitempty"` - // Labels to update of this size reservation + // Labels to update of this size reservation. Labels *v2.UpdateLabels `protobuf:"bytes,7,opt,name=labels,proto3,oneof" json:"labels,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -218,7 +218,7 @@ func (x *SizeReservationServiceUpdateRequest) GetLabels() *v2.UpdateLabels { // SizeReservationServiceUpdateResponse is the response payload for updating a size reservation. type SizeReservationServiceUpdateResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // SizeReservation contains the updated reservation + // SizeReservation contains the updated reservation. SizeReservation *v2.SizeReservation `protobuf:"bytes,1,opt,name=size_reservation,json=sizeReservation,proto3" json:"size_reservation,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -264,7 +264,7 @@ func (x *SizeReservationServiceUpdateResponse) GetSizeReservation() *v2.SizeRese // SizeReservationServiceDeleteRequest is the request payload for deleting a size reservation. type SizeReservationServiceDeleteRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // ID of the size reservation to delete + // ID of the size reservation to delete. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -310,7 +310,7 @@ func (x *SizeReservationServiceDeleteRequest) GetId() string { // SizeReservationServiceDeleteResponse is the response payload for deleting a size reservation. type SizeReservationServiceDeleteResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // SizeReservation contains the deleted reservation + // SizeReservation contains the deleted reservation. SizeReservation *v2.SizeReservation `protobuf:"bytes,1,opt,name=size_reservation,json=sizeReservation,proto3" json:"size_reservation,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -356,7 +356,7 @@ func (x *SizeReservationServiceDeleteResponse) GetSizeReservation() *v2.SizeRese // SizeReservationServiceListRequest is the request payload for listing size reservations. type SizeReservationServiceListRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // Query for size reservations + // Query for size reservations. Query *v2.SizeReservationQuery `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -402,7 +402,7 @@ func (x *SizeReservationServiceListRequest) GetQuery() *v2.SizeReservationQuery // SizeReservationServiceListResponse is the response payload for listing size reservations. type SizeReservationServiceListResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // SizeReservations contains the list of reservations + // SizeReservations contains the list of reservations. SizeReservations []*v2.SizeReservation `protobuf:"bytes,1,rep,name=size_reservations,json=sizeReservations,proto3" json:"size_reservations,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache diff --git a/go/metalstack/admin/v2/switch.pb.go b/go/metalstack/admin/v2/switch.pb.go index b1f7576d..cd479674 100644 --- a/go/metalstack/admin/v2/switch.pb.go +++ b/go/metalstack/admin/v2/switch.pb.go @@ -27,7 +27,7 @@ const ( // SwitchServiceGetRequest is the request payload for getting a switch. type SwitchServiceGetRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // Id of the switch to get + // Id of the switch to get. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -73,7 +73,7 @@ func (x *SwitchServiceGetRequest) GetId() string { // SwitchServiceGetResponse is the response payload for getting a switch. type SwitchServiceGetResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // Switch contains the requested switch + // Switch contains the requested switch. Switch *v2.Switch `protobuf:"bytes,1,opt,name=switch,proto3" json:"switch,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -119,7 +119,7 @@ func (x *SwitchServiceGetResponse) GetSwitch() *v2.Switch { // SwitchServiceListRequest is the request payload for listing switches. type SwitchServiceListRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // Query to filter the results + // Query to filter the results. Query *v2.SwitchQuery `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -165,7 +165,7 @@ func (x *SwitchServiceListRequest) GetQuery() *v2.SwitchQuery { // SwitchServiceListResponse is the response payload for listing switches. type SwitchServiceListResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // Switches that match the request query + // Switches that match the request query. Switches []*v2.Switch `protobuf:"bytes,1,rep,name=switches,proto3" json:"switches,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -211,26 +211,26 @@ func (x *SwitchServiceListResponse) GetSwitches() []*v2.Switch { // SwitchServiceUpdateRequest is the request payload for updating a switch. type SwitchServiceUpdateRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // ID of the switch + // ID of the switch. 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 contains the timestamp and strategy to be used in this update request. UpdateMeta *v2.UpdateMeta `protobuf:"bytes,2,opt,name=update_meta,json=updateMeta,proto3" json:"update_meta,omitempty"` - // UpdatedAt is the date when this entity was updated - // Must be part of the update request to ensure optimistic locking + // 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"` - // Description of the switch + // Description of the switch. Description *string `protobuf:"bytes,4,opt,name=description,proto3,oneof" json:"description,omitempty"` - // ReplaceMode is used to mark a switch ready for replacement + // ReplaceMode is used to mark a switch ready for replacement. ReplaceMode *v2.SwitchReplaceMode `protobuf:"varint,5,opt,name=replace_mode,json=replaceMode,proto3,enum=metalstack.api.v2.SwitchReplaceMode,oneof" json:"replace_mode,omitempty"` - // ManagementIp is the switch's IP for management access + // ManagementIp is the switch's IP for management access. ManagementIp *string `protobuf:"bytes,6,opt,name=management_ip,json=managementIp,proto3,oneof" json:"management_ip,omitempty"` - // ManagementUser is the user name to use for management access + // ManagementUser is the user name to use for management access. ManagementUser *string `protobuf:"bytes,7,opt,name=management_user,json=managementUser,proto3,oneof" json:"management_user,omitempty"` - // ConsoleCommand is the command for accessing the switch's console + // ConsoleCommand is the command for accessing the switch's console. ConsoleCommand *string `protobuf:"bytes,8,opt,name=console_command,json=consoleCommand,proto3,oneof" json:"console_command,omitempty"` - // Nics are the front panel ports of the switch + // Nics are the front panel ports of the switch. Nics []*v2.SwitchNic `protobuf:"bytes,9,rep,name=nics,proto3" json:"nics,omitempty"` - // SwitchOs is the OS running on the switch + // SwitchOs is the OS running on the switch. Os *v2.SwitchOS `protobuf:"bytes,10,opt,name=os,proto3,oneof" json:"os,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -339,7 +339,7 @@ func (x *SwitchServiceUpdateRequest) GetOs() *v2.SwitchOS { // SwitchServiceUpdateResponse is the response payload for updating a switch. type SwitchServiceUpdateResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // Switch contains the updated switch + // Switch contains the updated switch. Switch *v2.Switch `protobuf:"bytes,1,opt,name=switch,proto3" json:"switch,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -385,9 +385,9 @@ func (x *SwitchServiceUpdateResponse) GetSwitch() *v2.Switch { // SwitchServiceDeleteRequest is the request payload for deleting a switch. type SwitchServiceDeleteRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // Id of the switch + // Id of the switch. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - // Force will allow switch deletion despite existing machine connections + // Force will allow switch deletion despite existing machine connections. Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -440,7 +440,7 @@ func (x *SwitchServiceDeleteRequest) GetForce() bool { // SwitchServiceDeleteResponse is the response payload for deleting a switch. type SwitchServiceDeleteResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // Switch contains the deleted switch + // Switch contains the deleted switch. Switch *v2.Switch `protobuf:"bytes,1,opt,name=switch,proto3" json:"switch,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -486,9 +486,9 @@ func (x *SwitchServiceDeleteResponse) GetSwitch() *v2.Switch { // SwitchServiceMigrateRequest is the request payload for migrating a switch. type SwitchServiceMigrateRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // OldSwitch is the switch to migrate away from + // OldSwitch is the switch to migrate away from. OldSwitch string `protobuf:"bytes,1,opt,name=old_switch,json=oldSwitch,proto3" json:"old_switch,omitempty"` - // NewSwitch is the switch to migrate to + // NewSwitch is the switch to migrate to. NewSwitch string `protobuf:"bytes,2,opt,name=new_switch,json=newSwitch,proto3" json:"new_switch,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -541,7 +541,7 @@ func (x *SwitchServiceMigrateRequest) GetNewSwitch() string { // SwitchServiceMigrateResponse is the response payload for migrating a switch. type SwitchServiceMigrateResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // Switch contains the switch that was migrated to + // Switch contains the switch that was migrated to. Switch *v2.Switch `protobuf:"bytes,1,opt,name=switch,proto3" json:"switch,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -587,11 +587,11 @@ func (x *SwitchServiceMigrateResponse) GetSwitch() *v2.Switch { // SwitchServicePortRequest is the request payload for setting the port status of a switch port. type SwitchServicePortRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // Id of the switch + // Id of the switch. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - // NicName of the port whose status should be changed + // NicName of the port whose status should be changed. NicName string `protobuf:"bytes,2,opt,name=nic_name,json=nicName,proto3" json:"nic_name,omitempty"` - // Status that the port should have + // Status that the port should have. Status v2.SwitchPortStatus `protobuf:"varint,3,opt,name=status,proto3,enum=metalstack.api.v2.SwitchPortStatus" json:"status,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -651,7 +651,7 @@ func (x *SwitchServicePortRequest) GetStatus() v2.SwitchPortStatus { // SwitchServicePortResponse is the response payload for setting the port status of a switch port. type SwitchServicePortResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // Switch after the port status toggle + // Switch after the port status toggle. Switch *v2.Switch `protobuf:"bytes,1,opt,name=switch,proto3" json:"switch,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -697,9 +697,9 @@ func (x *SwitchServicePortResponse) GetSwitch() *v2.Switch { // SwitchServiceConnectedMachinesRequest is the request payload for listing switches with machine connections. type SwitchServiceConnectedMachinesRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // Query to filter the switch results + // Query to filter the switch results. Query *v2.SwitchQuery `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` - // MachineQuery to filter the machine results + // MachineQuery to filter the machine results. MachineQuery *v2.MachineQuery `protobuf:"bytes,2,opt,name=machine_query,json=machineQuery,proto3" json:"machine_query,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -752,7 +752,7 @@ func (x *SwitchServiceConnectedMachinesRequest) GetMachineQuery() *v2.MachineQue // SwitchServiceConnectedMachinesResponse is the response payload for listing switches with machine connections. type SwitchServiceConnectedMachinesResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // SwitchesWithMachines contains all switches with their machine connections + // SwitchesWithMachines contains all switches with their machine connections. SwitchesWithMachines []*v2.SwitchWithMachines `protobuf:"bytes,1,rep,name=switches_with_machines,json=switchesWithMachines,proto3" json:"switches_with_machines,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache diff --git a/go/metalstack/admin/v2/task.pb.go b/go/metalstack/admin/v2/task.pb.go index 63c708af..8ff67698 100644 --- a/go/metalstack/admin/v2/task.pb.go +++ b/go/metalstack/admin/v2/task.pb.go @@ -28,21 +28,21 @@ const ( type TaskState int32 const ( - // TASK_STATE_UNSPECIFIED is not specified + // TASK_STATE_UNSPECIFIED is not specified. TaskState_TASK_STATE_UNSPECIFIED TaskState = 0 - // TASK_STATE_ACTIVE indicates that the task is currently being processed by Handler + // TASK_STATE_ACTIVE indicates that the task is currently being processed by Handler. TaskState_TASK_STATE_ACTIVE TaskState = 1 - // TASK_STATE_PENDING indicates that the task is ready to be processed by Handler + // TASK_STATE_PENDING indicates that the task is ready to be processed by Handler. TaskState_TASK_STATE_PENDING TaskState = 2 - // TASK_STATE_SCHEDULED indicates that the task is scheduled to be processed some time in the future + // TASK_STATE_SCHEDULED indicates that the task is scheduled to be processed some time in the future. TaskState_TASK_STATE_SCHEDULED TaskState = 3 - // TASK_STATE_RETRY indicates that the task has previously failed and is scheduled to be processed some time in the future + // TASK_STATE_RETRY indicates that the task has previously failed and is scheduled to be processed some time in the future. TaskState_TASK_STATE_RETRY TaskState = 4 - // TASK_STATE_ARCHIVED indicates that the task is archived and stored for inspection purposes + // TASK_STATE_ARCHIVED indicates that the task is archived and stored for inspection purposes. TaskState_TASK_STATE_ARCHIVED TaskState = 5 - // TASK_STATE_COMPLETED indicates that the task is processed successfully and retained until the retention TTL expires + // TASK_STATE_COMPLETED indicates that the task is processed successfully and retained until the retention TTL expires. TaskState_TASK_STATE_COMPLETED TaskState = 6 - // TASK_STATE_AGGREGATING indicates that the task is waiting in a group to be aggregated into one task + // TASK_STATE_AGGREGATING indicates that the task is waiting in a group to be aggregated into one task. TaskState_TASK_STATE_AGGREGATING TaskState = 7 ) @@ -100,9 +100,9 @@ func (TaskState) EnumDescriptor() ([]byte, []int) { // TaskServiceGetRequest is the request payload for getting a task. type TaskServiceGetRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // TaskId is the identifier of the task to get + // TaskId is the identifier of the task to get. TaskId string `protobuf:"bytes,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"` - // Queue is the queue where this task was scheduled to + // Queue is the queue where this task was scheduled to. Queue string `protobuf:"bytes,2,opt,name=queue,proto3" json:"queue,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -155,7 +155,7 @@ func (x *TaskServiceGetRequest) GetQueue() string { // TaskServiceGetResponse is the response payload for getting a task. type TaskServiceGetResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // Task contains the task details + // Task contains the task details. Task *TaskInfo `protobuf:"bytes,1,opt,name=task,proto3" json:"task,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -201,9 +201,9 @@ func (x *TaskServiceGetResponse) GetTask() *TaskInfo { // TaskServiceDeleteRequest is the request payload for deleting a task. type TaskServiceDeleteRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // TaskId is the identifier of the task to cancel + // TaskId is the identifier of the task to cancel. TaskId string `protobuf:"bytes,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"` - // Queue is the queue where this task was scheduled to + // Queue is the queue where this task was scheduled to. Queue string `protobuf:"bytes,2,opt,name=queue,proto3" json:"queue,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -330,7 +330,7 @@ func (*TaskServiceQueuesRequest) Descriptor() ([]byte, []int) { // TaskServiceQueuesResponse is the response payload for getting all queues. type TaskServiceQueuesResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // Queues configured for the async system + // Queues configured for the async system. Queues []string `protobuf:"bytes,1,rep,name=queues,proto3" json:"queues,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -376,12 +376,12 @@ func (x *TaskServiceQueuesResponse) GetQueues() []string { // TaskServiceListRequest is the request payload for listing tasks. type TaskServiceListRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // Queue filters tasks by this queue - // Will return tasks from all queues if not specified + // Queue filters tasks by this queue. + // Will return tasks from all queues if not specified. Queue *string `protobuf:"bytes,1,opt,name=queue,proto3,oneof" json:"queue,omitempty"` - // Count is the number of tasks to return + // Count is the number of tasks to return. Count *uint32 `protobuf:"varint,2,opt,name=count,proto3,oneof" json:"count,omitempty"` - // Page is the page of tasks to return + // Page is the page of tasks to return. Page *uint32 `protobuf:"varint,3,opt,name=page,proto3,oneof" json:"page,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -441,7 +441,7 @@ func (x *TaskServiceListRequest) GetPage() uint32 { // TaskServiceListResponse is the response payload for listing tasks. type TaskServiceListResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // Tasks contains the list of requested tasks + // Tasks contains the list of requested tasks. Tasks []*TaskInfo `protobuf:"bytes,1,rep,name=tasks,proto3" json:"tasks,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -487,53 +487,53 @@ func (x *TaskServiceListResponse) GetTasks() []*TaskInfo { // TaskInfo contains details of an asynchronous task. type TaskInfo struct { state protoimpl.MessageState `protogen:"open.v1"` - // ID is the identifier of the task + // ID is the identifier of the task. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - // Queue is the name of the queue in which the task belongs + // Queue is the name of the queue in which the task belongs. Queue string `protobuf:"bytes,2,opt,name=queue,proto3" json:"queue,omitempty"` - // Type is the type name of the task + // Type is the type name of the task. Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` - // Payload is the payload data of the task + // Payload is the payload data of the task. Payload []byte `protobuf:"bytes,4,opt,name=payload,proto3" json:"payload,omitempty"` - // State indicates the task state + // State indicates the task state. State TaskState `protobuf:"varint,5,opt,name=state,proto3,enum=metalstack.admin.v2.TaskState" json:"state,omitempty"` - // MaxRetry is the maximum number of times the task can be retried + // MaxRetry is the maximum number of times the task can be retried. MaxRetry int32 `protobuf:"varint,6,opt,name=max_retry,json=maxRetry,proto3" json:"max_retry,omitempty"` - // Retried is the number of times the task has retried so far + // Retried is the number of times the task has retried so far. Retried int32 `protobuf:"varint,7,opt,name=retried,proto3" json:"retried,omitempty"` - // LastError is the error message from the last failure + // LastError is the error message from the last failure. LastError string `protobuf:"bytes,8,opt,name=last_error,json=lastError,proto3" json:"last_error,omitempty"` - // LastFailedAt is the time of the last failure if any - // If the task has no failures, LastFailedAt is zero time (i.e. time.Time{}) + // LastFailedAt is the time of the last failure if any. + // If the task has no failures, LastFailedAt is zero time (i.e. time.Time{}). LastFailedAt *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=last_failed_at,json=lastFailedAt,proto3" json:"last_failed_at,omitempty"` - // Timeout is the duration the task can be processed by Handler before being retried + // Timeout is the duration the task can be processed by Handler before being retried. Timeout *durationpb.Duration `protobuf:"bytes,10,opt,name=timeout,proto3" json:"timeout,omitempty"` - // Deadline is the deadline for the task + // Deadline is the deadline for the task. Deadline *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=deadline,proto3" json:"deadline,omitempty"` - // Group is the name of the group in which the task belongs + // Group is the name of the group in which the task belongs. // - // Tasks in the same queue can be grouped together by Group name and will be aggregated into one task - // by a Server processing the queue + // Tasks in the same queue can be grouped together by Group name and will be aggregated into one task. + // by a Server processing the queue. // - // Empty string (default) indicates task does not belong to any groups, and no aggregation will be applied to the task + // Empty string (default) indicates task does not belong to any groups, and no aggregation will be applied to the task. Group string `protobuf:"bytes,12,opt,name=group,proto3" json:"group,omitempty"` - // NextProcessAt is the time the task is scheduled to be processed - // Zero if not applicable + // NextProcessAt is the time the task is scheduled to be processed. + // Zero if not applicable. NextProcessAt *timestamppb.Timestamp `protobuf:"bytes,13,opt,name=next_process_at,json=nextProcessAt,proto3" json:"next_process_at,omitempty"` - // IsOrphaned describes whether the task is left in active state with no worker processing it - // An orphaned task indicates that the worker has crashed or experienced network failures and was not able to - // extend its lease on the task + // IsOrphaned describes whether the task is left in active state with no worker processing it. + // An orphaned task indicates that the worker has crashed or experienced network failures and was not able to. + // extend its lease on the task. // - // This task will be recovered by running a server against the queue the task is in - // This field is only applicable to tasks with TaskStateActive + // This task will be recovered by running a server against the queue the task is in. + // This field is only applicable to tasks with TaskStateActive. IsOrphaned bool `protobuf:"varint,14,opt,name=is_orphaned,json=isOrphaned,proto3" json:"is_orphaned,omitempty"` - // Retention is duration of the retention period after the task is successfully processed + // Retention is duration of the retention period after the task is successfully processed. Retention *durationpb.Duration `protobuf:"bytes,15,opt,name=retention,proto3" json:"retention,omitempty"` - // CompletedAt is the time when the task is processed successfully - // Zero value (i.e. time.Time{}) indicates no value + // CompletedAt is the time when the task is processed successfully. + // Zero value (i.e. time.Time{}) indicates no value. CompletedAt *timestamppb.Timestamp `protobuf:"bytes,16,opt,name=completed_at,json=completedAt,proto3" json:"completed_at,omitempty"` - // Result holds the result data associated with the task - // Use ResultWriter to write result data from the Handler + // Result holds the result data associated with the task. + // Use ResultWriter to write result data from the Handler. Result []byte `protobuf:"bytes,17,opt,name=result,proto3" json:"result,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache diff --git a/go/metalstack/admin/v2/tenant.pb.go b/go/metalstack/admin/v2/tenant.pb.go index 99979079..933042b5 100644 --- a/go/metalstack/admin/v2/tenant.pb.go +++ b/go/metalstack/admin/v2/tenant.pb.go @@ -26,15 +26,15 @@ const ( // TenantServiceCreateRequest is the request payload for creating a tenant. type TenantServiceCreateRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // Name of the tenant + // Name of the tenant. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Description of the tenant + // Description of the 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 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 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 on the tenant. Labels *v2.Labels `protobuf:"bytes,5,opt,name=labels,proto3" json:"labels,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -108,7 +108,7 @@ func (x *TenantServiceCreateRequest) GetLabels() *v2.Labels { // TenantServiceCreateResponse is the response payload for creating a tenant. type TenantServiceCreateResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // Tenant contains the created tenant + // Tenant contains the created tenant. Tenant *v2.Tenant `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -154,7 +154,7 @@ func (x *TenantServiceCreateResponse) GetTenant() *v2.Tenant { // TenantServiceListRequest is the request payload for listing tenants. type TenantServiceListRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // Query for tenants + // Query for tenants. Query *v2.TenantQuery `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -200,9 +200,9 @@ func (x *TenantServiceListRequest) GetQuery() *v2.TenantQuery { // TenantServiceListResponse is the response payload for listing tenants. type TenantServiceListResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // Tenants contains the list of tenants + // Tenants contains the list of tenants. Tenants []*v2.Tenant `protobuf:"bytes,1,rep,name=tenants,proto3" json:"tenants,omitempty"` - // NextPage is used for pagination, returns the next page to be fetched and must then be provided in the list request + // NextPage is used for pagination, returns the next page to be fetched and must then be provided in the list request. NextPage *uint64 `protobuf:"varint,2,opt,name=next_page,json=nextPage,proto3,oneof" json:"next_page,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -252,14 +252,14 @@ func (x *TenantServiceListResponse) GetNextPage() uint64 { return 0 } -// TenantServiceAddMemberRequest is the request payload for adding a member to a tenant +// TenantServiceAddMemberRequest is the request payload for adding a member to a tenant. type TenantServiceAddMemberRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // Login of the tenant to which the member will be added + // Login of the tenant to which the member will be added. Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"` - // Login of the member to add + // 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 to assign to the new member. Role v2.TenantRole `protobuf:"varint,3,opt,name=role,proto3,enum=metalstack.api.v2.TenantRole" json:"role,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -316,10 +316,10 @@ func (x *TenantServiceAddMemberRequest) GetRole() v2.TenantRole { return v2.TenantRole(0) } -// TenantServiceAddMemberResponse is the response payload for the add member request +// TenantServiceAddMemberResponse is the response payload for the add member request. type TenantServiceAddMemberResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // TenantMember is the added tenant member + // TenantMember is the added tenant member. TenantMember *v2.TenantMember `protobuf:"bytes,1,opt,name=tenant_member,json=tenantMember,proto3" json:"tenant_member,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -362,12 +362,12 @@ func (x *TenantServiceAddMemberResponse) GetTenantMember() *v2.TenantMember { return nil } -// TenantServiceRemoveMemberRequest is the request payload for removing a member from a tenant +// TenantServiceRemoveMemberRequest is the request payload for removing a member from a tenant. type TenantServiceRemoveMemberRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // Login of the tenant from which the member will be removed + // Login of the tenant from which the member will be removed. Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"` - // Login of the member to remove + // Login of the member to remove. Member string `protobuf:"bytes,2,opt,name=member,proto3" json:"member,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -417,10 +417,10 @@ func (x *TenantServiceRemoveMemberRequest) GetMember() string { return "" } -// TenantServiceRemoveMemberResponse is the response payload for the remove member request +// TenantServiceRemoveMemberResponse is the response payload for the remove member request. type TenantServiceRemoveMemberResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // TenantMember is the removed tenant member + // TenantMember is the removed tenant member. TenantMember *v2.TenantMember `protobuf:"bytes,1,opt,name=tenant_member,json=tenantMember,proto3" json:"tenant_member,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache diff --git a/go/metalstack/admin/v2/token.pb.go b/go/metalstack/admin/v2/token.pb.go index c5ad5f0c..53fcc91f 100644 --- a/go/metalstack/admin/v2/token.pb.go +++ b/go/metalstack/admin/v2/token.pb.go @@ -26,7 +26,7 @@ const ( // TokenServiceListRequest is the request payload for listing tokens. type TokenServiceListRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // Query for tokens + // Query for tokens. Query *v2.TokenQuery `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -72,7 +72,7 @@ func (x *TokenServiceListRequest) GetQuery() *v2.TokenQuery { // TokenServiceListResponse is the response payload for listing tokens. type TokenServiceListResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // Tokens contains the list of tokens + // Tokens contains the list of tokens. Tokens []*v2.Token `protobuf:"bytes,1,rep,name=tokens,proto3" json:"tokens,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -118,9 +118,9 @@ func (x *TokenServiceListResponse) GetTokens() []*v2.Token { // TokenServiceRevokeRequest is the request payload for revoking a token. type TokenServiceRevokeRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // Uuid is the uuid of the token which should be revoked + // Uuid is the uuid of the token which should be revoked. Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` - // User is the id of the user for which the token should be revoked + // User is the id of the user for which the token should be revoked. User string `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -210,9 +210,9 @@ func (*TokenServiceRevokeResponse) Descriptor() ([]byte, []int) { // TokenServiceCreateRequest is the request payload for creating a token. type TokenServiceCreateRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // User this token should be created for, if omitted, user is derived from caller + // User this token should be created for, if omitted, user is derived from caller. User *string `protobuf:"bytes,1,opt,name=user,proto3,oneof" json:"user,omitempty"` - // TokenCreateRequest which should be created + // TokenCreateRequest which should be created. TokenCreateRequest *v2.TokenServiceCreateRequest `protobuf:"bytes,2,opt,name=token_create_request,json=tokenCreateRequest,proto3" json:"token_create_request,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -265,9 +265,9 @@ func (x *TokenServiceCreateRequest) GetTokenCreateRequest() *v2.TokenServiceCrea // TokenServiceCreateResponse is the response payload for creating a token. type TokenServiceCreateResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // Token contains the created token + // Token contains the created token. Token *v2.Token `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` - // Secret is the body if the JWT token, should be used in API requests as bearer token + // Secret is the body if the JWT token, should be used in API requests as bearer token. Secret string `protobuf:"bytes,2,opt,name=secret,proto3" json:"secret,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache diff --git a/go/metalstack/admin/v2/vpn.pb.go b/go/metalstack/admin/v2/vpn.pb.go index f1682f0f..e3ed9ce8 100644 --- a/go/metalstack/admin/v2/vpn.pb.go +++ b/go/metalstack/admin/v2/vpn.pb.go @@ -28,14 +28,14 @@ const ( // VPNServiceAuthKeyRequest is the request payload for generating a VPN authentication key. type VPNServiceAuthKeyRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // Project for which a VPN authentication key should be generated + // Project for which a VPN authentication key should be generated. Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"` - // Ephemeral defines if the authentication key should be ephemeral + // Ephemeral defines if the authentication key should be ephemeral. Ephemeral bool `protobuf:"varint,2,opt,name=ephemeral,proto3" json:"ephemeral,omitempty"` - // Expires defines the duration after which the authentication key expires + // Expires defines the duration after which the authentication key expires. Expires *durationpb.Duration `protobuf:"bytes,3,opt,name=expires,proto3" json:"expires,omitempty"` - // Reason must be provided why access to the VPN is requested - // Reason is only forwarded to an audit sink + // Reason must be provided why access to the VPN is requested. + // Reason is only forwarded to an audit sink. Reason string `protobuf:"bytes,4,opt,name=reason,proto3" json:"reason,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -102,16 +102,16 @@ func (x *VPNServiceAuthKeyRequest) GetReason() string { // VPNServiceAuthKeyResponse is the response payload for generating a VPN authentication key. type VPNServiceAuthKeyResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // Address is the address of the VPN control plane + // Address is the address of the VPN control plane. Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` - // AuthKey is the key to connect to the VPN at the given address - // This key can only be seen once + // AuthKey is the key to connect to the VPN at the given address. + // This key can only be seen once. AuthKey string `protobuf:"bytes,2,opt,name=auth_key,json=authKey,proto3" json:"auth_key,omitempty"` - // Ephemeral defines if the authentication key should be ephemeral + // Ephemeral defines if the authentication key should be ephemeral. Ephemeral bool `protobuf:"varint,3,opt,name=ephemeral,proto3" json:"ephemeral,omitempty"` - // ExpiresAt this key cannot be used after this timestamp + // ExpiresAt this key cannot be used after this timestamp. ExpiresAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"` - // CreatedAt this key was created at this timestamp + // CreatedAt this key was created at this timestamp. CreatedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -185,7 +185,7 @@ func (x *VPNServiceAuthKeyResponse) GetCreatedAt() *timestamppb.Timestamp { // VPNServiceListNodesRequest is the request payload for listing VPN nodes. type VPNServiceListNodesRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // Project filters nodes by this project + // Project filters nodes by this project. Project *string `protobuf:"bytes,1,opt,name=project,proto3,oneof" json:"project,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -231,7 +231,7 @@ func (x *VPNServiceListNodesRequest) GetProject() string { // VPNServiceListNodesResponse is the response payload for listing VPN nodes. type VPNServiceListNodesResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // Nodes connected to the VPN + // Nodes connected to the VPN. Nodes []*v2.VPNNode `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache diff --git a/go/metalstack/api/v2/apiv2connect/project.connect.go b/go/metalstack/api/v2/apiv2connect/project.connect.go index c2acdcc6..74e16577 100644 --- a/go/metalstack/api/v2/apiv2connect/project.connect.go +++ b/go/metalstack/api/v2/apiv2connect/project.connect.go @@ -76,29 +76,29 @@ type ProjectServiceClient interface { List(context.Context, *v2.ProjectServiceListRequest) (*v2.ProjectServiceListResponse, error) // Returns the project with the specified UUID. Get(context.Context, *v2.ProjectServiceGetRequest) (*v2.ProjectServiceGetResponse, error) - // Create a project + // Create a project. Create(context.Context, *v2.ProjectServiceCreateRequest) (*v2.ProjectServiceCreateResponse, error) - // Delete a project + // Delete a project. Delete(context.Context, *v2.ProjectServiceDeleteRequest) (*v2.ProjectServiceDeleteResponse, error) - // Update a project + // Update a project. Update(context.Context, *v2.ProjectServiceUpdateRequest) (*v2.ProjectServiceUpdateResponse, error) - // Leave project + // Leave project. Leave(context.Context, *v2.ProjectServiceLeaveRequest) (*v2.ProjectServiceLeaveResponse, error) - // AddMember adds a user to a project + // AddMember adds a user to a project. AddMember(context.Context, *v2.ProjectServiceAddMemberRequest) (*v2.ProjectServiceAddMemberResponse, error) - // RemoveMember removes a user from a project + // RemoveMember removes a user from a project. RemoveMember(context.Context, *v2.ProjectServiceRemoveMemberRequest) (*v2.ProjectServiceRemoveMemberResponse, error) - // UpdateMember updates a user for a project + // UpdateMember updates a user for a project. UpdateMember(context.Context, *v2.ProjectServiceUpdateMemberRequest) (*v2.ProjectServiceUpdateMemberResponse, error) - // Invite a user to a project + // Invite a user to a project. Invite(context.Context, *v2.ProjectServiceInviteRequest) (*v2.ProjectServiceInviteResponse, error) - // InviteAccept is called by a user to accept an invitation + // InviteAccept is called by a user to accept an invitation. InviteAccept(context.Context, *v2.ProjectServiceInviteAcceptRequest) (*v2.ProjectServiceInviteAcceptResponse, error) - // InviteDelete deletes a pending invitation + // InviteDelete deletes a pending invitation. InviteDelete(context.Context, *v2.ProjectServiceInviteDeleteRequest) (*v2.ProjectServiceInviteDeleteResponse, error) - // InvitesList list all invites to a project + // InvitesList list all invites to a project. InvitesList(context.Context, *v2.ProjectServiceInvitesListRequest) (*v2.ProjectServiceInvitesListResponse, error) - // InviteGet get an invite + // InviteGet get an invite. InviteGet(context.Context, *v2.ProjectServiceInviteGetRequest) (*v2.ProjectServiceInviteGetResponse, error) } @@ -350,29 +350,29 @@ type ProjectServiceHandler interface { List(context.Context, *v2.ProjectServiceListRequest) (*v2.ProjectServiceListResponse, error) // Returns the project with the specified UUID. Get(context.Context, *v2.ProjectServiceGetRequest) (*v2.ProjectServiceGetResponse, error) - // Create a project + // Create a project. Create(context.Context, *v2.ProjectServiceCreateRequest) (*v2.ProjectServiceCreateResponse, error) - // Delete a project + // Delete a project. Delete(context.Context, *v2.ProjectServiceDeleteRequest) (*v2.ProjectServiceDeleteResponse, error) - // Update a project + // Update a project. Update(context.Context, *v2.ProjectServiceUpdateRequest) (*v2.ProjectServiceUpdateResponse, error) - // Leave project + // Leave project. Leave(context.Context, *v2.ProjectServiceLeaveRequest) (*v2.ProjectServiceLeaveResponse, error) - // AddMember adds a user to a project + // AddMember adds a user to a project. AddMember(context.Context, *v2.ProjectServiceAddMemberRequest) (*v2.ProjectServiceAddMemberResponse, error) - // RemoveMember removes a user from a project + // RemoveMember removes a user from a project. RemoveMember(context.Context, *v2.ProjectServiceRemoveMemberRequest) (*v2.ProjectServiceRemoveMemberResponse, error) - // UpdateMember updates a user for a project + // UpdateMember updates a user for a project. UpdateMember(context.Context, *v2.ProjectServiceUpdateMemberRequest) (*v2.ProjectServiceUpdateMemberResponse, error) - // Invite a user to a project + // Invite a user to a project. Invite(context.Context, *v2.ProjectServiceInviteRequest) (*v2.ProjectServiceInviteResponse, error) - // InviteAccept is called by a user to accept an invitation + // InviteAccept is called by a user to accept an invitation. InviteAccept(context.Context, *v2.ProjectServiceInviteAcceptRequest) (*v2.ProjectServiceInviteAcceptResponse, error) - // InviteDelete deletes a pending invitation + // InviteDelete deletes a pending invitation. InviteDelete(context.Context, *v2.ProjectServiceInviteDeleteRequest) (*v2.ProjectServiceInviteDeleteResponse, error) - // InvitesList list all invites to a project + // InvitesList list all invites to a project. InvitesList(context.Context, *v2.ProjectServiceInvitesListRequest) (*v2.ProjectServiceInvitesListResponse, error) - // InviteGet get an invite + // InviteGet get an invite. InviteGet(context.Context, *v2.ProjectServiceInviteGetRequest) (*v2.ProjectServiceInviteGetResponse, error) } diff --git a/go/metalstack/api/v2/apiv2connect/tenant.connect.go b/go/metalstack/api/v2/apiv2connect/tenant.connect.go index f1c99c66..9b99279a 100644 --- a/go/metalstack/api/v2/apiv2connect/tenant.connect.go +++ b/go/metalstack/api/v2/apiv2connect/tenant.connect.go @@ -74,29 +74,29 @@ type TenantServiceClient interface { Create(context.Context, *v2.TenantServiceCreateRequest) (*v2.TenantServiceCreateResponse, error) // Returns the list of tenants. List(context.Context, *v2.TenantServiceListRequest) (*v2.TenantServiceListResponse, error) - // Get a tenant + // Get a tenant. Get(context.Context, *v2.TenantServiceGetRequest) (*v2.TenantServiceGetResponse, error) - // Update a tenant + // Update a tenant. Update(context.Context, *v2.TenantServiceUpdateRequest) (*v2.TenantServiceUpdateResponse, error) - // Delete a tenant + // Delete a tenant. Delete(context.Context, *v2.TenantServiceDeleteRequest) (*v2.TenantServiceDeleteResponse, error) - // Leave removes a member from a tenant + // Leave removes a member from a tenant. Leave(context.Context, *v2.TenantServiceLeaveRequest) (*v2.TenantServiceLeaveResponse, error) - // AddMember adds a member to a tenant + // AddMember adds a member to a tenant. AddMember(context.Context, *v2.TenantServiceAddMemberRequest) (*v2.TenantServiceAddMemberResponse, error) - // RemoveMember removes a member from a tenant + // RemoveMember removes a member from a tenant. RemoveMember(context.Context, *v2.TenantServiceRemoveMemberRequest) (*v2.TenantServiceRemoveMemberResponse, error) - // UpdateMember update a member of a tenant + // UpdateMember update a member of a tenant. UpdateMember(context.Context, *v2.TenantServiceUpdateMemberRequest) (*v2.TenantServiceUpdateMemberResponse, error) - // Invite a user to a tenant + // Invite a user to a tenant. Invite(context.Context, *v2.TenantServiceInviteRequest) (*v2.TenantServiceInviteResponse, error) - // InviteAccept is called from a user to accept an invitation + // InviteAccept is called from a user to accept an invitation. InviteAccept(context.Context, *v2.TenantServiceInviteAcceptRequest) (*v2.TenantServiceInviteAcceptResponse, error) - // InviteDelete deletes a pending invitation + // InviteDelete deletes a pending invitation. InviteDelete(context.Context, *v2.TenantServiceInviteDeleteRequest) (*v2.TenantServiceInviteDeleteResponse, error) - // InvitesList list all invites to a tenant + // InvitesList list all invites to a tenant. InvitesList(context.Context, *v2.TenantServiceInvitesListRequest) (*v2.TenantServiceInvitesListResponse, error) - // InviteGet get an invite + // InviteGet get an invite. InviteGet(context.Context, *v2.TenantServiceInviteGetRequest) (*v2.TenantServiceInviteGetResponse, error) } @@ -348,29 +348,29 @@ type TenantServiceHandler interface { Create(context.Context, *v2.TenantServiceCreateRequest) (*v2.TenantServiceCreateResponse, error) // Returns the list of tenants. List(context.Context, *v2.TenantServiceListRequest) (*v2.TenantServiceListResponse, error) - // Get a tenant + // Get a tenant. Get(context.Context, *v2.TenantServiceGetRequest) (*v2.TenantServiceGetResponse, error) - // Update a tenant + // Update a tenant. Update(context.Context, *v2.TenantServiceUpdateRequest) (*v2.TenantServiceUpdateResponse, error) - // Delete a tenant + // Delete a tenant. Delete(context.Context, *v2.TenantServiceDeleteRequest) (*v2.TenantServiceDeleteResponse, error) - // Leave removes a member from a tenant + // Leave removes a member from a tenant. Leave(context.Context, *v2.TenantServiceLeaveRequest) (*v2.TenantServiceLeaveResponse, error) - // AddMember adds a member to a tenant + // AddMember adds a member to a tenant. AddMember(context.Context, *v2.TenantServiceAddMemberRequest) (*v2.TenantServiceAddMemberResponse, error) - // RemoveMember removes a member from a tenant + // RemoveMember removes a member from a tenant. RemoveMember(context.Context, *v2.TenantServiceRemoveMemberRequest) (*v2.TenantServiceRemoveMemberResponse, error) - // UpdateMember update a member of a tenant + // UpdateMember update a member of a tenant. UpdateMember(context.Context, *v2.TenantServiceUpdateMemberRequest) (*v2.TenantServiceUpdateMemberResponse, error) - // Invite a user to a tenant + // Invite a user to a tenant. Invite(context.Context, *v2.TenantServiceInviteRequest) (*v2.TenantServiceInviteResponse, error) - // InviteAccept is called from a user to accept an invitation + // InviteAccept is called from a user to accept an invitation. InviteAccept(context.Context, *v2.TenantServiceInviteAcceptRequest) (*v2.TenantServiceInviteAcceptResponse, error) - // InviteDelete deletes a pending invitation + // InviteDelete deletes a pending invitation. InviteDelete(context.Context, *v2.TenantServiceInviteDeleteRequest) (*v2.TenantServiceInviteDeleteResponse, error) - // InvitesList list all invites to a tenant + // InvitesList list all invites to a tenant. InvitesList(context.Context, *v2.TenantServiceInvitesListRequest) (*v2.TenantServiceInvitesListResponse, error) - // InviteGet get an invite + // InviteGet get an invite. InviteGet(context.Context, *v2.TenantServiceInviteGetRequest) (*v2.TenantServiceInviteGetResponse, error) } diff --git a/go/metalstack/api/v2/audit.pb.go b/go/metalstack/api/v2/audit.pb.go index 25c5a1b5..ce62f389 100644 --- a/go/metalstack/api/v2/audit.pb.go +++ b/go/metalstack/api/v2/audit.pb.go @@ -27,11 +27,11 @@ const ( type AuditPhase int32 const ( - // AUDIT_PHASE_UNSPECIFIED is not specified + // AUDIT_PHASE_UNSPECIFIED is not specified. AuditPhase_AUDIT_PHASE_UNSPECIFIED AuditPhase = 0 - // AUDIT_PHASE_REQUEST defines an audit trace in the request phase + // 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 + // AUDIT_PHASE_RESPONSE defines an audit trace in the response phase. AuditPhase_AUDIT_PHASE_RESPONSE AuditPhase = 2 ) @@ -79,27 +79,27 @@ func (AuditPhase) EnumDescriptor() ([]byte, []int) { // AuditTrace is an audit trace. type AuditTrace struct { state protoimpl.MessageState `protogen:"open.v1"` - // Uuid of the audit trace + // 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 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 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 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 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 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 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 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 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 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 for this audit trace. Meta *Meta `protobuf:"bytes,11,opt,name=meta,proto3" json:"meta,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -212,30 +212,30 @@ func (x *AuditTrace) GetMeta() *Meta { return nil } -// AuditQuery is the query for audit traces +// AuditQuery is the query for audit traces. type AuditQuery struct { state protoimpl.MessageState `protogen:"open.v1"` - // Uuid of the audit trace + // 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 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 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 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 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 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 + // 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 + // 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 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 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 specifies the audit phase. Phase *AuditPhase `protobuf:"varint,12,opt,name=phase,proto3,enum=metalstack.api.v2.AuditPhase,oneof" json:"phase,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -348,12 +348,12 @@ func (x *AuditQuery) GetPhase() AuditPhase { return AuditPhase_AUDIT_PHASE_UNSPECIFIED } -// AuditServiceListRequest is the request payload for an audit list request +// AuditServiceListRequest is the request payload for an audit list request. type AuditServiceListRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // Login for this tenant + // Login for this tenant. Login string `protobuf:"bytes,1,opt,name=login,proto3" json:"login,omitempty"` - // Query for audit traces + // Query for audit traces. Query *AuditQuery `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -403,10 +403,10 @@ func (x *AuditServiceListRequest) GetQuery() *AuditQuery { return nil } -// AuditServiceListResponse is the response payload of a audit list request +// AuditServiceListResponse is the response payload of a audit list request. type AuditServiceListResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // Traces is a list of audit traces + // Traces is a list of audit traces. Traces []*AuditTrace `protobuf:"bytes,1,rep,name=traces,proto3" json:"traces,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -449,14 +449,14 @@ func (x *AuditServiceListResponse) GetTraces() []*AuditTrace { return nil } -// AuditServiceGetRequest is the request payload of a audit get request +// AuditServiceGetRequest is the request payload of a audit get request. type AuditServiceGetRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // Login for this tenant + // Login for this tenant. Login string `protobuf:"bytes,1,opt,name=login,proto3" json:"login,omitempty"` - // Uuid of the audit trace + // 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 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"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -513,10 +513,10 @@ func (x *AuditServiceGetRequest) GetPhase() AuditPhase { return AuditPhase_AUDIT_PHASE_UNSPECIFIED } -// AuditServiceGetResponse is the response payload of a audit get request +// AuditServiceGetResponse is the response payload of a audit get request. type AuditServiceGetResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // Trace is the audit trace + // Trace is the audit trace. Trace *AuditTrace `protobuf:"bytes,1,opt,name=trace,proto3" json:"trace,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache diff --git a/go/metalstack/api/v2/common.pb.go b/go/metalstack/api/v2/common.pb.go index f3733236..8fb95c7f 100644 --- a/go/metalstack/api/v2/common.pb.go +++ b/go/metalstack/api/v2/common.pb.go @@ -24,20 +24,20 @@ const ( _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) ) -// TenantRole specifies what role a logged in user needs to call this tenant scoped service +// TenantRole specifies what role a logged in user needs to call this tenant scoped service. type TenantRole int32 const ( - // TENANT_ROLE_UNSPECIFIED is not specified + // 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 + // 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 + // 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 + // 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 + // 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 ) @@ -87,17 +87,17 @@ func (TenantRole) EnumDescriptor() ([]byte, []int) { return file_metalstack_api_v2_common_proto_rawDescGZIP(), []int{0} } -// ProjectRole specifies what role a logged in user needs to call this project scoped service +// ProjectRole specifies what role a logged in user needs to call this project scoped service. type ProjectRole int32 const ( - // PROJECT_ROLE_UNSPECIFIED is not specified + // 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 + // 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 + // 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 + // PROJECT_ROLE_VIEWER the logged in user needs at least viewer role to call this method. ProjectRole_PROJECT_ROLE_VIEWER ProjectRole = 3 ) @@ -144,15 +144,15 @@ func (ProjectRole) EnumDescriptor() ([]byte, []int) { return file_metalstack_api_v2_common_proto_rawDescGZIP(), []int{1} } -// AdminRole specifies what role a logged in user needs to call this admin service +// AdminRole specifies what role a logged in user needs to call this admin service. type AdminRole int32 const ( - // ADMIN_ROLE_UNSPECIFIED is not specified + // 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 + // 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 + // ADMIN_ROLE_VIEWER the logged in user needs at least viewer role to call this method. AdminRole_ADMIN_ROLE_VIEWER AdminRole = 2 ) @@ -197,15 +197,15 @@ func (AdminRole) EnumDescriptor() ([]byte, []int) { return file_metalstack_api_v2_common_proto_rawDescGZIP(), []int{2} } -// InfraRole specifies what role a microservice needs to call this infra service +// InfraRole specifies what role a microservice needs to call this infra service. type InfraRole int32 const ( - // INFRA_ROLE_UNSPECIFIED is not specified + // 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 + // 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 + // INFRA_ROLE_VIEWER a microservice needs at least viewer role to call this method. InfraRole_INFRA_ROLE_VIEWER InfraRole = 2 ) @@ -250,15 +250,15 @@ func (InfraRole) EnumDescriptor() ([]byte, []int) { return file_metalstack_api_v2_common_proto_rawDescGZIP(), []int{3} } -// MachineRole specifies what role a microservice needs to call this machine service +// MachineRole specifies what role a microservice needs to call this machine service. type MachineRole int32 const ( - // MACHINE_ROLE_UNSPECIFIED is not specified + // 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 + // 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 + // MACHINE_ROLE_VIEWER a microservice needs at least viewer role to call this method. MachineRole_MACHINE_ROLE_VIEWER MachineRole = 2 ) @@ -303,15 +303,15 @@ func (MachineRole) EnumDescriptor() ([]byte, []int) { return file_metalstack_api_v2_common_proto_rawDescGZIP(), []int{4} } -// Visibility of a method +// Visibility of a method. type Visibility int32 const ( - // VISIBILITY_UNSPECIFIED is not defined + // VISIBILITY_UNSPECIFIED is not defined. Visibility_VISIBILITY_UNSPECIFIED Visibility = 0 - // VISIBILITY_PUBLIC specifies that this service is accessible without authentication + // 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_SELF restricts calls to the authenticated user only. Visibility_VISIBILITY_SELF Visibility = 2 ) @@ -356,17 +356,17 @@ func (Visibility) EnumDescriptor() ([]byte, []int) { return file_metalstack_api_v2_common_proto_rawDescGZIP(), []int{5} } -// 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 +// 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. type Auditing int32 const ( - // AUDITING_UNSPECIFIED is not specified + // AUDITING_UNSPECIFIED is not specified. Auditing_AUDITING_UNSPECIFIED Auditing = 0 - // AUDITING_INCLUDED if a method is annotated with this, all calls are audited + // 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_EXCLUDED if a method is annotated with this, no calls are audited. Auditing_AUDITING_EXCLUDED Auditing = 2 ) @@ -412,16 +412,16 @@ func (Auditing) EnumDescriptor() ([]byte, []int) { } // OptimisticLockingStrategy defines how optimistic locking should be handled. -// It defaults to client side, which requires the UpdatedAt timestamp to be provided +// It defaults to client side, which requires the UpdatedAt timestamp to be provided. type OptimisticLockingStrategy int32 const ( - // OPTIMISTIC_LOCKING_STRATEGY_UNSPECIFIED same as client side + // OPTIMISTIC_LOCKING_STRATEGY_UNSPECIFIED same as client side. OptimisticLockingStrategy_OPTIMISTIC_LOCKING_STRATEGY_UNSPECIFIED OptimisticLockingStrategy = 0 - // OPTIMISTIC_LOCKING_STRATEGY_CLIENT requires UpdatedAt to be specified + // 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 + // 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 ) @@ -466,13 +466,13 @@ func (OptimisticLockingStrategy) EnumDescriptor() ([]byte, []int) { return file_metalstack_api_v2_common_proto_rawDescGZIP(), []int{7} } -// Paging defines paging for methods with a lot of results +// Paging defines paging for methods with a lot of results. type Paging struct { state protoimpl.MessageState `protogen:"open.v1"` - // Page is used for pagination, if unset only the first page is returned, + // 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 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"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -522,10 +522,10 @@ func (x *Paging) GetCount() uint64 { return 0 } -// Labels define additional information to a entity +// Labels define additional information to a entity. type Labels struct { state protoimpl.MessageState `protogen:"open.v1"` - // Labels consists labels + // Labels consists labels. Labels map[string]string `protobuf:"bytes,1,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -568,15 +568,15 @@ func (x *Labels) GetLabels() map[string]string { return nil } -// Meta of a message +// Meta of a message. type Meta struct { state protoimpl.MessageState `protogen:"open.v1"` - // Tags on this entity + // 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 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 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"` @@ -652,10 +652,10 @@ func (x *Meta) GetDeletionTaskId() string { return "" } -// UpdateLabels is a message to update labels +// UpdateLabels is a message to update labels. type UpdateLabels struct { state protoimpl.MessageState `protogen:"open.v1"` - // Strategy defines the label update strategy + // Strategy defines the label update strategy. // // Types that are valid to be assigned to Strategy: // @@ -726,12 +726,12 @@ type isUpdateLabels_Strategy interface { } type UpdateLabels_Replace struct { - // Replace existing labels with the given ones + // Replace existing labels with the given ones. Replace *Labels `protobuf:"bytes,1,opt,name=replace,proto3,oneof"` } type UpdateLabels_Patch struct { - // Patch adds, updates or remove given labels without modifying others + // Patch adds, updates or remove given labels without modifying others. Patch *LabelsPatch `protobuf:"bytes,2,opt,name=patch,proto3,oneof"` } @@ -739,12 +739,12 @@ func (*UpdateLabels_Replace) isUpdateLabels_Strategy() {} func (*UpdateLabels_Patch) isUpdateLabels_Strategy() {} -// LabelsPatch adds, updates or remove given labels without modifying others +// LabelsPatch adds, updates or remove given labels without modifying others. type LabelsPatch struct { state protoimpl.MessageState `protogen:"open.v1"` - // Update labels. New ones will be added, existing ones overwritten + // 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 labels by key. Remove []string `protobuf:"bytes,2,rep,name=remove,proto3" json:"remove,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -794,13 +794,13 @@ func (x *LabelsPatch) GetRemove() []string { return nil } -// UpdateMeta must be provided with every UpdateRequest to define how optimistic locking should be handled +// UpdateMeta must be provided with every UpdateRequest to define how optimistic locking should be handled. type UpdateMeta struct { state protoimpl.MessageState `protogen:"open.v1"` - // UpdatedAt is the date when this entity was updated - // must be part of the update request to ensure optimistic locking + // 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 to be used for this update request. LockingStrategy OptimisticLockingStrategy `protobuf:"varint,2,opt,name=locking_strategy,json=lockingStrategy,proto3,enum=metalstack.api.v2.OptimisticLockingStrategy" json:"locking_strategy,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -919,31 +919,31 @@ var file_metalstack_api_v2_common_proto_extTypes = []protoimpl.ExtensionInfo{ // Extension fields to descriptorpb.MethodOptions. var ( - // TenantRoles are used to define the tenant role a logged in user must provide to call this method + // 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 + // 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 + // 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 + // 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 + // 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 + // 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 + // 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] @@ -951,7 +951,7 @@ var ( // Extension fields to descriptorpb.EnumValueOptions. var ( - // StringValue which can be set to a enum + // StringValue which can be set to a enum. // // optional string enum_string_value = 52000; E_EnumStringValue = &file_metalstack_api_v2_common_proto_extTypes[7] diff --git a/go/metalstack/api/v2/component.pb.go b/go/metalstack/api/v2/component.pb.go index 6e92d8d3..ab37ffdf 100644 --- a/go/metalstack/api/v2/component.pb.go +++ b/go/metalstack/api/v2/component.pb.go @@ -24,23 +24,23 @@ const ( _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) ) -// ComponentType defines which service is actually pinging +// ComponentType defines which service is actually pinging. type ComponentType int32 const ( - // COMPONENT_TYPE_UNSPECIFIED is unspecified + // COMPONENT_TYPE_UNSPECIFIED is unspecified. ComponentType_COMPONENT_TYPE_UNSPECIFIED ComponentType = 0 - // COMPONENT_TYPE_PIXIECORE is pixiecore + // COMPONENT_TYPE_PIXIECORE is pixiecore. ComponentType_COMPONENT_TYPE_PIXIECORE ComponentType = 1 - // COMPONENT_TYPE_METAL_CORE is metal-core + // COMPONENT_TYPE_METAL_CORE is metal-core. ComponentType_COMPONENT_TYPE_METAL_CORE ComponentType = 2 - // COMPONENT_TYPE_METAL_BMC is metal-bmc + // 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 + // 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 + // COMPONENT_TYPE_METAL_CONSOLE is metal-console. ComponentType_COMPONENT_TYPE_METAL_CONSOLE ComponentType = 5 - // COMPONENT_TYPE_METAL_METRICS_EXPORTER is metal-metrics-exporter + // COMPONENT_TYPE_METAL_METRICS_EXPORTER is metal-metrics-exporter. ComponentType_COMPONENT_TYPE_METAL_METRICS_EXPORTER ComponentType = 6 ) @@ -93,27 +93,27 @@ func (ComponentType) EnumDescriptor() ([]byte, []int) { return file_metalstack_api_v2_component_proto_rawDescGZIP(), []int{0} } -// Component represents a microservice connected to our apiserver +// Component represents a microservice connected to our apiserver. type Component struct { state protoimpl.MessageState `protogen:"open.v1"` - // UUID identifies this component event + // 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 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 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 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 for this component. Meta *Meta `protobuf:"bytes,9,opt,name=meta,proto3" json:"meta,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -212,12 +212,12 @@ func (x *Component) GetMeta() *Meta { return nil } -// ComponentQuery to query components +// ComponentQuery to query components. type ComponentQuery struct { state protoimpl.MessageState `protogen:"open.v1"` - // UUID identifies this component + // 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 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. diff --git a/go/metalstack/api/v2/filesystem.pb.go b/go/metalstack/api/v2/filesystem.pb.go index 296c13de..98db6d8a 100644 --- a/go/metalstack/api/v2/filesystem.pb.go +++ b/go/metalstack/api/v2/filesystem.pb.go @@ -22,17 +22,17 @@ const ( _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) ) -// LVMType +// LVMType. type LVMType int32 const ( - // LVM_TYPE_UNSPECIFIED is not specified + // LVM_TYPE_UNSPECIFIED is not specified. LVMType_LVM_TYPE_UNSPECIFIED LVMType = 0 - // LVM_TYPE_LINEAR append across all physical volumes + // LVM_TYPE_LINEAR append across all physical volumes. LVMType_LVM_TYPE_LINEAR LVMType = 1 - // LVM_TYPE_STRIPED stripe across all physical volumes + // LVM_TYPE_STRIPED stripe across all physical volumes. LVMType_LVM_TYPE_STRIPED LVMType = 2 - // LVM_TYPE_RAID1 mirror with raid across all physical volumes + // LVM_TYPE_RAID1 mirror with raid across all physical volumes. LVMType_LVM_TYPE_RAID1 LVMType = 3 ) @@ -79,23 +79,23 @@ func (LVMType) EnumDescriptor() ([]byte, []int) { return file_metalstack_api_v2_filesystem_proto_rawDescGZIP(), []int{0} } -// Format specifies the filesystem to use on a volume +// Format specifies the filesystem to use on a volume. type Format int32 const ( - // FORMAT_UNSPECIFIED + // FORMAT_UNSPECIFIED. Format_FORMAT_UNSPECIFIED Format = 0 - // FORMAT_VFAT is used for the UEFI boot partition + // FORMAT_VFAT is used for the UEFI boot partition. Format_FORMAT_VFAT Format = 1 - // FORMAT_EXT3 is usually only used for /boot + // FORMAT_EXT3 is usually only used for /boot. Format_FORMAT_EXT3 Format = 2 - // FORMAT_EXT4 is the default fs + // FORMAT_EXT4 is the default fs. Format_FORMAT_EXT4 Format = 3 - // FORMAT_SWAP is for the swap partition + // FORMAT_SWAP is for the swap partition. Format_FORMAT_SWAP Format = 4 - // FORMAT_TMPFS is used for a memory filesystem typically /tmp + // FORMAT_TMPFS is used for a memory filesystem typically /tmp. Format_FORMAT_TMPFS Format = 5 - // FORMAT_NONE + // FORMAT_NONE. Format_FORMAT_NONE Format = 6 ) @@ -148,19 +148,19 @@ func (Format) EnumDescriptor() ([]byte, []int) { return file_metalstack_api_v2_filesystem_proto_rawDescGZIP(), []int{1} } -// GPTType specifies the partition type in uefi systems +// GPTType specifies the partition type in uefi systems. type GPTType int32 const ( - // GPT_TYPE_UNSPECIFIED is no specified + // GPT_TYPE_UNSPECIFIED is no specified. GPTType_GPT_TYPE_UNSPECIFIED GPTType = 0 - // GPT_TYPE_BOOT EFI Boot Partition + // GPT_TYPE_BOOT EFI Boot Partition. GPTType_GPT_TYPE_BOOT GPTType = 1 - // GPT_TYPE_LINUX Linux Partition + // GPT_TYPE_LINUX Linux Partition. GPTType_GPT_TYPE_LINUX GPTType = 2 - // GPT_TYPE_LINUX_RAID Linux Raid Partition + // GPT_TYPE_LINUX_RAID Linux Raid Partition. GPTType_GPT_TYPE_LINUX_RAID GPTType = 3 - // GPT_TYPE_LINUX_LVM Linux LVM Partition + // GPT_TYPE_LINUX_LVM Linux LVM Partition. GPTType_GPT_TYPE_LINUX_LVM GPTType = 4 ) @@ -209,15 +209,15 @@ func (GPTType) EnumDescriptor() ([]byte, []int) { return file_metalstack_api_v2_filesystem_proto_rawDescGZIP(), []int{2} } -// RaidLevel defines howto mirror two or more block devices +// RaidLevel defines howto mirror two or more block devices. type RaidLevel int32 const ( - // RAID_LEVEL_UNSPECIFIED is not specified + // RAID_LEVEL_UNSPECIFIED is not specified. RaidLevel_RAID_LEVEL_UNSPECIFIED RaidLevel = 0 - // RAID_LEVEL_0 is a stripe of two or more disks + // RAID_LEVEL_0 is a stripe of two or more disks. RaidLevel_RAID_LEVEL_0 RaidLevel = 1 - // RAID_LEVEL_1 is a mirror of two disks + // RAID_LEVEL_1 is a mirror of two disks. RaidLevel_RAID_LEVEL_1 RaidLevel = 2 ) @@ -262,10 +262,10 @@ func (RaidLevel) EnumDescriptor() ([]byte, []int) { return file_metalstack_api_v2_filesystem_proto_rawDescGZIP(), []int{3} } -// FilesystemServiceGetRequest is the request payload for a filesystem get request +// FilesystemServiceGetRequest is the request payload for a filesystem get request. type FilesystemServiceGetRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // ID of the filesystem to get + // ID of the filesystem to get. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -308,10 +308,10 @@ func (x *FilesystemServiceGetRequest) GetId() string { return "" } -// FilesystemServiceListRequest is the request payload for a filesystem list request +// FilesystemServiceListRequest is the request payload for a filesystem list request. type FilesystemServiceListRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // ID of the filesystem to get + // ID of the filesystem to get. Id *string `protobuf:"bytes,1,opt,name=id,proto3,oneof" json:"id,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -354,10 +354,10 @@ func (x *FilesystemServiceListRequest) GetId() string { return "" } -// FilesystemServiceGetResponse is the response payload for a filesystem get request +// FilesystemServiceGetResponse is the response payload for a filesystem get request. type FilesystemServiceGetResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // FilesystemLayout the filesystemlayout + // FilesystemLayout the filesystemlayout. FilesystemLayout *FilesystemLayout `protobuf:"bytes,1,opt,name=filesystem_layout,json=filesystemLayout,proto3" json:"filesystem_layout,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -400,10 +400,10 @@ func (x *FilesystemServiceGetResponse) GetFilesystemLayout() *FilesystemLayout { return nil } -// FilesystemServiceListResponse is the response payload for a filesystem list request +// FilesystemServiceListResponse is the response payload for a filesystem list request. type FilesystemServiceListResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // FilesystemLayouts the filesystemlayouts + // FilesystemLayouts the filesystemlayouts. FilesystemLayouts []*FilesystemLayout `protobuf:"bytes,1,rep,name=filesystem_layouts,json=filesystemLayouts,proto3" json:"filesystem_layouts,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -446,28 +446,28 @@ func (x *FilesystemServiceListResponse) GetFilesystemLayouts() []*FilesystemLayo return nil } -// FilesystemLayout +// FilesystemLayout. type FilesystemLayout struct { state protoimpl.MessageState `protogen:"open.v1"` - // Id of this filesystemLayout + // Id of this filesystemLayout. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - // Meta for this filesystemLayout + // Meta for this filesystemLayout. Meta *Meta `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta,omitempty"` - // Name of this filesystemLayout + // Name of this filesystemLayout. Name *string `protobuf:"bytes,3,opt,name=name,proto3,oneof" json:"name,omitempty"` - // Description of this filesystemLayout + // 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 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 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 arrays to create. Raid []*Raid `protobuf:"bytes,7,rep,name=raid,proto3" json:"raid,omitempty"` - // VolumeGroups list of volumegroups to create + // 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 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 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"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -573,17 +573,17 @@ func (x *FilesystemLayout) GetConstraints() *FilesystemLayoutConstraints { return nil } -// FilesystemLayoutConstraints +// FilesystemLayoutConstraints. type FilesystemLayoutConstraints struct { state protoimpl.MessageState `protogen:"open.v1"` - // Sizes list of sizes this layout applies to - // this could either be a concrete size, or a asterisk to match all sizes + // 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 image - // 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.0 - // "debian":">= 12.0" + // 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 `protobuf:"bytes,2,rep,name=images,proto3" json:"images,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -633,24 +633,24 @@ func (x *FilesystemLayoutConstraints) GetImages() map[string]string { return nil } -// Filesystem +// Filesystem. type Filesystem struct { state protoimpl.MessageState `protogen:"open.v1"` - // Device the underlying device where this filesystem should be created + // 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 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 of this filesystem. Name *string `protobuf:"bytes,3,opt,name=name,proto3,oneof" json:"name,omitempty"` - // Description of this filesystem + // 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 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 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 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 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"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -742,12 +742,12 @@ func (x *Filesystem) GetCreateOptions() []string { return nil } -// Disk +// Disk. type Disk struct { state protoimpl.MessageState `protogen:"open.v1"` - // Device the device to create the partitions + // 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 list of partitions to create on this disk. Partitions []*DiskPartition `protobuf:"bytes,2,rep,name=partitions,proto3" json:"partitions,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -797,18 +797,18 @@ func (x *Disk) GetPartitions() []*DiskPartition { return nil } -// Raid +// Raid. type Raid struct { state protoimpl.MessageState `protogen:"open.v1"` - // ArrayName the name of the resulting array device + // 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 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 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 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 number of spares for the raid array. Spares int32 `protobuf:"varint,5,opt,name=spares,proto3" json:"spares,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -879,16 +879,16 @@ func (x *Raid) GetSpares() int32 { return 0 } -// DiskPartition +// DiskPartition. type DiskPartition struct { state protoimpl.MessageState `protogen:"open.v1"` - // Number partition number, will be appended to partitionprefix to create the final devicename + // 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 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 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 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"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -952,14 +952,14 @@ func (x *DiskPartition) GetGptType() GPTType { return GPTType_GPT_TYPE_UNSPECIFIED } -// VolumeGroup +// VolumeGroup. type VolumeGroup struct { state protoimpl.MessageState `protogen:"open.v1"` - // Name the name of the resulting volume group + // 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 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 list of tags to add to the volume group. Tags []string `protobuf:"bytes,3,rep,name=tags,proto3" json:"tags,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -1016,16 +1016,16 @@ func (x *VolumeGroup) GetTags() []string { return nil } -// LogicalVolume +// LogicalVolume. type LogicalVolume struct { state protoimpl.MessageState `protogen:"open.v1"` - // Name the name of the logical volume + // 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 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 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 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"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache diff --git a/go/metalstack/api/v2/health.pb.go b/go/metalstack/api/v2/health.pb.go index fad45d15..294107cc 100644 --- a/go/metalstack/api/v2/health.pb.go +++ b/go/metalstack/api/v2/health.pb.go @@ -25,13 +25,13 @@ const ( type ServiceStatus int32 const ( - // SERVICE_STATUS_UNSPECIFIED service status is not known or unspecified + // 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 + // 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 + // 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 + // SERVICE_STATUS_HEALTHY the service is in healthy status, for example fully functional. ServiceStatus_SERVICE_STATUS_HEALTHY ServiceStatus = 3 ) @@ -82,23 +82,23 @@ func (ServiceStatus) EnumDescriptor() ([]byte, []int) { type Service int32 const ( - // SERVICE_UNSPECIFIED is a unknown service + // SERVICE_UNSPECIFIED is a unknown service. Service_SERVICE_UNSPECIFIED Service = 0 - // SERVICE_IPAM the IPAM service + // SERVICE_IPAM the IPAM service. Service_SERVICE_IPAM Service = 1 - // SERVICE_RETHINK the RethinkDB + // SERVICE_RETHINK the RethinkDB. Service_SERVICE_RETHINK Service = 2 - // SERVICE_TENANT_APISERVER the tenant-apiserver + // SERVICE_TENANT_APISERVER the tenant-apiserver. Service_SERVICE_TENANT_APISERVER Service = 3 - // SERVICE_MACHINES the machine service + // SERVICE_MACHINES the machine service. Service_SERVICE_MACHINES Service = 4 - // SERVICE_AUDIT the auditing + // SERVICE_AUDIT the auditing. Service_SERVICE_AUDIT Service = 5 - // SERVICE_VPN the VPN service + // SERVICE_VPN the VPN service. Service_SERVICE_VPN Service = 6 - // SERVICE_REDIS the Redis service + // SERVICE_REDIS the Redis service. Service_SERVICE_REDIS Service = 7 - // SERVICE_TASKS the tasks service + // SERVICE_TASKS the tasks service. Service_SERVICE_TASKS Service = 8 ) @@ -158,7 +158,7 @@ func (Service) EnumDescriptor() ([]byte, []int) { // Health reports the health status of all services. type Health struct { state protoimpl.MessageState `protogen:"open.v1"` - // Services contains the health of all individual services + // Services contains the health of all individual services. Services []*HealthStatus `protobuf:"bytes,1,rep,name=services,proto3" json:"services,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -204,13 +204,13 @@ func (x *Health) GetServices() []*HealthStatus { // HealthStatus represents the health status of one service. type HealthStatus struct { state protoimpl.MessageState `protogen:"open.v1"` - // Name is the name of the service + // 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 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 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 describes the health of the service by partition. Partitions map[string]*PartitionHealth `protobuf:"bytes,4,rep,name=partitions,proto3" json:"partitions,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -277,9 +277,9 @@ func (x *HealthStatus) GetPartitions() map[string]*PartitionHealth { // PartitionHealth represents the status of a specific service in this partition. type PartitionHealth struct { state protoimpl.MessageState `protogen:"open.v1"` - // Status is the health status of the service in this partition + // 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 describes the reason for the unhealthy status if possible. Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -369,7 +369,7 @@ func (*HealthServiceGetRequest) Descriptor() ([]byte, []int) { // HealthServiceGetResponse is the response payload for getting the health of the system. type HealthServiceGetResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // Health contains the overall health of the system + // Health contains the overall health of the system. Health *Health `protobuf:"bytes,1,opt,name=health,proto3" json:"health,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache diff --git a/go/metalstack/api/v2/image.pb.go b/go/metalstack/api/v2/image.pb.go index e939d0b8..42a1370d 100644 --- a/go/metalstack/api/v2/image.pb.go +++ b/go/metalstack/api/v2/image.pb.go @@ -23,15 +23,15 @@ const ( _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) ) -// ImageFeature +// ImageFeature. type ImageFeature int32 const ( - // IMAGE_FEATURE_UNSPECIFIED is not specified + // IMAGE_FEATURE_UNSPECIFIED is not specified. ImageFeature_IMAGE_FEATURE_UNSPECIFIED ImageFeature = 0 - // IMAGE_FEATURE_MACHINE indicates this image is usable for a machine + // 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 + // IMAGE_FEATURE_FIREWALL indicates this image is usable for a firewall. ImageFeature_IMAGE_FEATURE_FIREWALL ImageFeature = 2 ) @@ -76,17 +76,17 @@ func (ImageFeature) EnumDescriptor() ([]byte, []int) { return file_metalstack_api_v2_image_proto_rawDescGZIP(), []int{0} } -// Image +// Image. type ImageClassification int32 const ( - // IMAGE_CLASSIFICATION_UNSPECIFIED is not specified + // IMAGE_CLASSIFICATION_UNSPECIFIED is not specified. ImageClassification_IMAGE_CLASSIFICATION_UNSPECIFIED ImageClassification = 0 - // IMAGE_CLASSIFICATION_PREVIEW indicates that this image is in preview + // 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 + // IMAGE_CLASSIFICATION_SUPPORTED indicates that this image is supported. ImageClassification_IMAGE_CLASSIFICATION_SUPPORTED ImageClassification = 2 - // IMAGE_CLASSIFICATION_DEPRECATED indicates that this image is deprecated + // IMAGE_CLASSIFICATION_DEPRECATED indicates that this image is deprecated. ImageClassification_IMAGE_CLASSIFICATION_DEPRECATED ImageClassification = 3 ) @@ -133,10 +133,10 @@ func (ImageClassification) EnumDescriptor() ([]byte, []int) { return file_metalstack_api_v2_image_proto_rawDescGZIP(), []int{1} } -// ImageServiceGetRequest is the request payload for an image get request +// ImageServiceGetRequest is the request payload for an image get request. type ImageServiceGetRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // ID of the image to get + // ID of the image to get. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -179,10 +179,10 @@ func (x *ImageServiceGetRequest) GetId() string { return "" } -// ImageServiceListRequest is the request payload for an image list request +// ImageServiceListRequest is the request payload for an image list request. type ImageServiceListRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // Query for images + // Query for images. Query *ImageQuery `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -225,13 +225,13 @@ func (x *ImageServiceListRequest) GetQuery() *ImageQuery { return nil } -// ImageServiceLatestRequest is the request payload for an image latest request +// ImageServiceLatestRequest is the request payload for an image latest request. type ImageServiceLatestRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // 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 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 of the image latest image. Classification *ImageClassification `protobuf:"varint,2,opt,name=classification,proto3,enum=metalstack.api.v2.ImageClassification,oneof" json:"classification,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -281,10 +281,10 @@ func (x *ImageServiceLatestRequest) GetClassification() ImageClassification { return ImageClassification_IMAGE_CLASSIFICATION_UNSPECIFIED } -// ImageServiceGetResponse is the response payload for an image get request +// ImageServiceGetResponse is the response payload for an image get request. type ImageServiceGetResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // Image the image + // Image the image. Image *Image `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -327,10 +327,10 @@ func (x *ImageServiceGetResponse) GetImage() *Image { return nil } -// ImageServiceListResponse is the response payload for an image list request +// ImageServiceListResponse is the response payload for an image list request. type ImageServiceListResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // Images the images + // Images the images. Images []*Image `protobuf:"bytes,1,rep,name=images,proto3" json:"images,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -373,10 +373,10 @@ func (x *ImageServiceListResponse) GetImages() []*Image { return nil } -// ImageServiceLatestResponse is the response payload for an image latest request +// ImageServiceLatestResponse is the response payload for an image latest request. type ImageServiceLatestResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // Image which is the latest for one os + // Image which is the latest for one os. Image *Image `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -419,24 +419,24 @@ func (x *ImageServiceLatestResponse) GetImage() *Image { return nil } -// Image +// Image. type Image struct { state protoimpl.MessageState `protogen:"open.v1"` - // Id of this image + // Id of this image. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - // Meta for this image + // Meta for this image. Meta *Meta `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta,omitempty"` - // URL where this image is located + // URL where this image is located. Url string `protobuf:"bytes,3,opt,name=url,proto3" json:"url,omitempty"` - // Name of this image + // Name of this image. Name *string `protobuf:"bytes,4,opt,name=name,proto3,oneof" json:"name,omitempty"` - // Description of this image + // Description of this image. Description *string `protobuf:"bytes,5,opt,name=description,proto3,oneof" json:"description,omitempty"` - // Features of this image + // 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 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 usage is not possible after this date. ExpiresAt *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -528,12 +528,12 @@ func (x *Image) GetExpiresAt() *timestamppb.Timestamp { return nil } -// ImageUsage reports which machines/firewalls actually use this image +// ImageUsage reports which machines/firewalls actually use this image. type ImageUsage struct { state protoimpl.MessageState `protogen:"open.v1"` - // Image with usage + // Image with usage. Image *Image `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"` - // UsedBy the following machines/firewalls + // UsedBy the following machines/firewalls. UsedBy []string `protobuf:"bytes,2,rep,name=used_by,json=usedBy,proto3" json:"used_by,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -583,26 +583,26 @@ func (x *ImageUsage) GetUsedBy() []string { return nil } -// ImageQuery is used to search images +// ImageQuery is used to search images. type ImageQuery struct { state protoimpl.MessageState `protogen:"open.v1"` - // ID of the image to get + // ID of the image to get. Id *string `protobuf:"bytes,1,opt,name=id,proto3,oneof" json:"id,omitempty"` - // OS of the image + // OS of the image. Os *string `protobuf:"bytes,2,opt,name=os,proto3,oneof" json:"os,omitempty"` - // Version of the Image + // Version of the Image. Version *string `protobuf:"bytes,3,opt,name=version,proto3,oneof" json:"version,omitempty"` - // Name of the image to query + // 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 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 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 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 of the image to query. Classification *ImageClassification `protobuf:"varint,8,opt,name=classification,proto3,enum=metalstack.api.v2.ImageClassification,oneof" json:"classification,omitempty"` - // Labels lists only images containing the given labels + // Labels lists only images containing the given labels. Labels *Labels `protobuf:"bytes,9,opt,name=labels,proto3,oneof" json:"labels,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache diff --git a/go/metalstack/api/v2/ip.pb.go b/go/metalstack/api/v2/ip.pb.go index aea26d36..bebfd88a 100644 --- a/go/metalstack/api/v2/ip.pb.go +++ b/go/metalstack/api/v2/ip.pb.go @@ -22,15 +22,15 @@ const ( _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) ) -// IPType specifies different IP address types +// IPType specifies different IP address types. type IPType int32 const ( - // IP_TYPE_UNSPECIFIED is not specified + // 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 + // 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 + // IP_TYPE_STATIC defines a static ip address which must be freed/deleted explicitly. IPType_IP_TYPE_STATIC IPType = 2 ) @@ -75,15 +75,15 @@ func (IPType) EnumDescriptor() ([]byte, []int) { return file_metalstack_api_v2_ip_proto_rawDescGZIP(), []int{0} } -// IPAddressFamily defines either IPv4 or IPv6 Addressfamily +// IPAddressFamily defines either IPv4 or IPv6 Addressfamily. type IPAddressFamily int32 const ( - // IP_ADDRESS_FAMILY_UNSPECIFIED is not specified + // IP_ADDRESS_FAMILY_UNSPECIFIED is not specified. IPAddressFamily_IP_ADDRESS_FAMILY_UNSPECIFIED IPAddressFamily = 0 - // IP_ADDRESS_FAMILY_V4 defines a IPv4 address + // IP_ADDRESS_FAMILY_V4 defines a IPv4 address. IPAddressFamily_IP_ADDRESS_FAMILY_V4 IPAddressFamily = 1 - // IP_ADDRESS_FAMILY_V6 defines a IPv6 address + // IP_ADDRESS_FAMILY_V6 defines a IPv6 address. IPAddressFamily_IP_ADDRESS_FAMILY_V6 IPAddressFamily = 2 ) @@ -128,27 +128,27 @@ func (IPAddressFamily) EnumDescriptor() ([]byte, []int) { return file_metalstack_api_v2_ip_proto_rawDescGZIP(), []int{1} } -// IP is an IP address which can be used as loadbalancer addresses +// IP is an IP address which can be used as loadbalancer addresses. type IP struct { state protoimpl.MessageState `protogen:"open.v1"` - // Uuid of this ip + // Uuid of this ip. Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` - // Meta for this ip + // Meta for this ip. Meta *Meta `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta,omitempty"` - // Ip is either ipv4 or ipv6 address + // Ip is either ipv4 or ipv6 address. Ip string `protobuf:"bytes,3,opt,name=ip,proto3" json:"ip,omitempty"` - // Name of this ip + // Name of this ip. Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` - // Description of this ip + // 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 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 where this ip address belongs to. Project string `protobuf:"bytes,7,opt,name=project,proto3" json:"project,omitempty"` - // Type of this ip + // 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 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"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -247,12 +247,12 @@ func (x *IP) GetNamespace() string { return "" } -// IPServiceGetRequest is the request payload for an IP get request +// IPServiceGetRequest is the request payload for an IP get request. type IPServiceGetRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // IP of the ip to get + // IP of the ip to get. Ip string `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"` - // Project of the ip + // 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"` @@ -311,26 +311,26 @@ func (x *IPServiceGetRequest) GetNamespace() string { return "" } -// IPServiceCreateRequest is the request payload for an IP create request +// IPServiceCreateRequest is the request payload for an IP create request. type IPServiceCreateRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // Network from which the IP should be created + // 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 of the ip. Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"` - // Name of the ip + // Name of the ip. Name *string `protobuf:"bytes,3,opt,name=name,proto3,oneof" json:"name,omitempty"` - // Description of the ip + // 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 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 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 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 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 of the IP to create, defaults to ipv4. AddressFamily *IPAddressFamily `protobuf:"varint,9,opt,name=address_family,json=addressFamily,proto3,enum=metalstack.api.v2.IPAddressFamily,oneof" json:"address_family,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -429,22 +429,22 @@ func (x *IPServiceCreateRequest) GetAddressFamily() IPAddressFamily { return IPAddressFamily_IP_ADDRESS_FAMILY_UNSPECIFIED } -// IPServiceUpdateRequest is the request payload for an IP update request +// IPServiceUpdateRequest is the request payload for an IP update request. type IPServiceUpdateRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // Ip the ip address to update + // 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 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 id of the ip. Project string `protobuf:"bytes,3,opt,name=project,proto3" json:"project,omitempty"` - // Name of this ip + // Name of this ip. Name *string `protobuf:"bytes,4,opt,name=name,proto3,oneof" json:"name,omitempty"` - // Description of this ip + // Description of this ip. Description *string `protobuf:"bytes,5,opt,name=description,proto3,oneof" json:"description,omitempty"` - // Type of this ip + // 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 on this ip. Labels *UpdateLabels `protobuf:"bytes,7,opt,name=labels,proto3,oneof" json:"labels,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -529,12 +529,12 @@ func (x *IPServiceUpdateRequest) GetLabels() *UpdateLabels { return nil } -// IPServiceListRequest is the request payload for an IP list request +// IPServiceListRequest is the request payload for an IP list request. type IPServiceListRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // Project of the ips to list + // 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 to list one or more IPs. Query *IPQuery `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -584,28 +584,28 @@ func (x *IPServiceListRequest) GetQuery() *IPQuery { return nil } -// IPQuery can be used to query a IP or a list of IP +// IPQuery can be used to query a IP or a list of IP. type IPQuery struct { state protoimpl.MessageState `protogen:"open.v1"` - // Ip the ip to list + // 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 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 of the ips to list. Project *string `protobuf:"bytes,3,opt,name=project,proto3,oneof" json:"project,omitempty"` - // Name of this ip + // 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 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 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 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 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 + // 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 + // Address family of the IPs to list, defaults to all address families. AddressFamily *IPAddressFamily `protobuf:"varint,10,opt,name=address_family,json=addressFamily,proto3,enum=metalstack.api.v2.IPAddressFamily,oneof" json:"address_family,omitempty"` // Namespace can be specified to get the ip of a namespace. Namespace *string `protobuf:"bytes,11,opt,name=namespace,proto3,oneof" json:"namespace,omitempty"` @@ -720,12 +720,12 @@ func (x *IPQuery) GetNamespace() string { return "" } -// IPServiceDeleteRequest is the request payload for a ip delete request +// IPServiceDeleteRequest is the request payload for a ip delete request. type IPServiceDeleteRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // IP of the ip to delete + // IP of the ip to delete. Ip string `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"` - // Project of the ip + // Project of the ip. Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -775,10 +775,10 @@ func (x *IPServiceDeleteRequest) GetProject() string { return "" } -// IPServiceGetResponse is the response payload for an IP get request +// IPServiceGetResponse is the response payload for an IP get request. type IPServiceGetResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // Ip the ip + // Ip the ip. Ip *IP `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -821,10 +821,10 @@ func (x *IPServiceGetResponse) GetIp() *IP { return nil } -// IPServiceUpdateResponse is the response payload for a ip update request +// IPServiceUpdateResponse is the response payload for a ip update request. type IPServiceUpdateResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // Ip the ip + // Ip the ip. Ip *IP `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -867,10 +867,10 @@ func (x *IPServiceUpdateResponse) GetIp() *IP { return nil } -// IPServiceCreateResponse is the response payload for an IP create request +// IPServiceCreateResponse is the response payload for an IP create request. type IPServiceCreateResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // Ip the ip + // Ip the ip. Ip *IP `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -913,10 +913,10 @@ func (x *IPServiceCreateResponse) GetIp() *IP { return nil } -// IPServiceListResponse is the response payload for an IP list request +// IPServiceListResponse is the response payload for an IP list request. type IPServiceListResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // Ips the ips + // Ips the ips. Ips []*IP `protobuf:"bytes,1,rep,name=ips,proto3" json:"ips,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -959,10 +959,10 @@ func (x *IPServiceListResponse) GetIps() []*IP { return nil } -// IPServiceDeleteResponse is the response payload for an IP delete request +// IPServiceDeleteResponse is the response payload for an IP delete request. type IPServiceDeleteResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // Ip the ip + // Ip the ip. Ip *IP `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache diff --git a/go/metalstack/api/v2/machine.pb.go b/go/metalstack/api/v2/machine.pb.go index 174ee722..fb94926b 100644 --- a/go/metalstack/api/v2/machine.pb.go +++ b/go/metalstack/api/v2/machine.pb.go @@ -24,15 +24,15 @@ const ( _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) ) -// IPProtocol defines tcp|udp +// IPProtocol defines tcp|udp. type IPProtocol int32 const ( - // IP_PROTOCOL_UNSPECIFIED is not specified + // IP_PROTOCOL_UNSPECIFIED is not specified. IPProtocol_IP_PROTOCOL_UNSPECIFIED IPProtocol = 0 - // IP_PROTOCOL_TCP is tcp + // IP_PROTOCOL_TCP is tcp. IPProtocol_IP_PROTOCOL_TCP IPProtocol = 1 - // IP_PROTOCOL_UDP is udp + // IP_PROTOCOL_UDP is udp. IPProtocol_IP_PROTOCOL_UDP IPProtocol = 2 ) @@ -77,17 +77,17 @@ func (IPProtocol) EnumDescriptor() ([]byte, []int) { return file_metalstack_api_v2_machine_proto_rawDescGZIP(), []int{0} } -// MachineState defines if the machine was locked or reserved from a operator +// MachineState defines if the machine was locked or reserved from a operator. type MachineState int32 const ( - // MACHINE_STATE_UNSPECIFIED is not specified + // 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 uuid + // 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 deleted + // 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 + // MACHINE_STATE_AVAILABLE this machine is available for all. MachineState_MACHINE_STATE_AVAILABLE MachineState = 3 ) @@ -134,15 +134,15 @@ func (MachineState) EnumDescriptor() ([]byte, []int) { return file_metalstack_api_v2_machine_proto_rawDescGZIP(), []int{1} } -// MachineProvisioningEventState possible event states +// MachineProvisioningEventState possible event states. type MachineProvisioningEventState int32 const ( - // MACHINE_PROVISIONING_EVENT_STATE_UNSPECIFIED is not specified + // 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 + // 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 + // MACHINE_PROVISIONING_EVENT_STATE_FAILED_RECLAIM machine is in failed reclaim. MachineProvisioningEventState_MACHINE_PROVISIONING_EVENT_STATE_FAILED_RECLAIM MachineProvisioningEventState = 2 ) @@ -187,33 +187,33 @@ func (MachineProvisioningEventState) EnumDescriptor() ([]byte, []int) { return file_metalstack_api_v2_machine_proto_rawDescGZIP(), []int{2} } -// MachineProvisioningEventType defines in which phase the machine actually is +// MachineProvisioningEventType defines in which phase the machine actually is. type MachineProvisioningEventType int32 const ( - // MACHINE_PROVISIONING_EVENT_TYPE_UNSPECIFIED is not specified + // MACHINE_PROVISIONING_EVENT_TYPE_UNSPECIFIED is not specified. MachineProvisioningEventType_MACHINE_PROVISIONING_EVENT_TYPE_UNSPECIFIED MachineProvisioningEventType = 0 - // MACHINE_PROVISIONING_EVENT_TYPE_ALIVE machine is alive + // MACHINE_PROVISIONING_EVENT_TYPE_ALIVE machine is alive. MachineProvisioningEventType_MACHINE_PROVISIONING_EVENT_TYPE_ALIVE MachineProvisioningEventType = 1 - // MACHINE_PROVISIONING_EVENT_TYPE_CRASHED machine crashed + // 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 + // 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 + // 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 + // 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 + // 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 + // 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 + // 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 + // 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 + // 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 + // MACHINE_PROVISIONING_EVENT_TYPE_MACHINE_RECLAIM machine is not allocated, but phones home. MachineProvisioningEventType_MACHINE_PROVISIONING_EVENT_TYPE_MACHINE_RECLAIM MachineProvisioningEventType = 11 ) @@ -276,17 +276,17 @@ func (MachineProvisioningEventType) EnumDescriptor() ([]byte, []int) { return file_metalstack_api_v2_machine_proto_rawDescGZIP(), []int{3} } -// MachineLiveliness specifies the liveliness of a machine +// MachineLiveliness specifies the liveliness of a machine. type MachineLiveliness int32 const ( - // MACHINE_LIVELINESS_UNSPECIFIED is not defined + // MACHINE_LIVELINESS_UNSPECIFIED is not defined. MachineLiveliness_MACHINE_LIVELINESS_UNSPECIFIED MachineLiveliness = 0 - // MACHINE_LIVELINESS_ALIVE liveliness is alive + // MACHINE_LIVELINESS_ALIVE liveliness is alive. MachineLiveliness_MACHINE_LIVELINESS_ALIVE MachineLiveliness = 1 - // MACHINE_LIVELINESS_DEAD liveliness is dead + // MACHINE_LIVELINESS_DEAD liveliness is dead. MachineLiveliness_MACHINE_LIVELINESS_DEAD MachineLiveliness = 2 - // MACHINE_LIVELINESS_UNKNOWN liveliness is unknown + // MACHINE_LIVELINESS_UNKNOWN liveliness is unknown. MachineLiveliness_MACHINE_LIVELINESS_UNKNOWN MachineLiveliness = 3 ) @@ -333,15 +333,15 @@ func (MachineLiveliness) EnumDescriptor() ([]byte, []int) { return file_metalstack_api_v2_machine_proto_rawDescGZIP(), []int{4} } -// MachineAllocationType defines if this is a machine or a firewall +// MachineAllocationType defines if this is a machine or a firewall. type MachineAllocationType int32 const ( - // MACHINE_ALLOCATION_TYPE_UNSPECIFIED is unspecified + // MACHINE_ALLOCATION_TYPE_UNSPECIFIED is unspecified. MachineAllocationType_MACHINE_ALLOCATION_TYPE_UNSPECIFIED MachineAllocationType = 0 - // MACHINE_ALLOCATION_TYPE_MACHINE is a machine + // MACHINE_ALLOCATION_TYPE_MACHINE is a machine. MachineAllocationType_MACHINE_ALLOCATION_TYPE_MACHINE MachineAllocationType = 1 - // MACHINE_ALLOCATION_TYPE_FIREWALL is a firewall + // MACHINE_ALLOCATION_TYPE_FIREWALL is a firewall. MachineAllocationType_MACHINE_ALLOCATION_TYPE_FIREWALL MachineAllocationType = 2 ) @@ -386,33 +386,33 @@ func (MachineAllocationType) EnumDescriptor() ([]byte, []int) { return file_metalstack_api_v2_machine_proto_rawDescGZIP(), []int{5} } -// MachineBMCCommand defines commands send to the BMC of the machine +// MachineBMCCommand defines commands send to the BMC of the machine. type MachineBMCCommand int32 const ( - // MACHINE_BMC_COMMAND_UNSPECIFIED is not defined + // MACHINE_BMC_COMMAND_UNSPECIFIED is not defined. MachineBMCCommand_MACHINE_BMC_COMMAND_UNSPECIFIED MachineBMCCommand = 0 - // MACHINE_BMC_COMMAND_ON Power on the machine + // MACHINE_BMC_COMMAND_ON Power on the machine. MachineBMCCommand_MACHINE_BMC_COMMAND_ON MachineBMCCommand = 1 - // MACHINE_BMC_COMMAND_OFF Power off the machine + // MACHINE_BMC_COMMAND_OFF Power off the machine. MachineBMCCommand_MACHINE_BMC_COMMAND_OFF MachineBMCCommand = 2 - // MACHINE_BMC_COMMAND_RESET Power reset the machine + // MACHINE_BMC_COMMAND_RESET Power reset the machine. MachineBMCCommand_MACHINE_BMC_COMMAND_RESET MachineBMCCommand = 3 - // MACHINE_BMC_COMMAND_CYCLE Power cycle the machine + // 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 + // 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 + // 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 + // 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 + // 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 + // 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 + // 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 + // 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 ) @@ -475,37 +475,37 @@ func (MachineBMCCommand) EnumDescriptor() ([]byte, []int) { return file_metalstack_api_v2_machine_proto_rawDescGZIP(), []int{6} } -// MachineIssueType defines which type of issue it is +// MachineIssueType defines which type of issue it is. type MachineIssueType int32 const ( - // MACHINE_ISSUE_TYPE_UNSPECIFIED type is not specified + // 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 + // 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 + // 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 + // 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 + // 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 + // 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 + // 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 + // 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 + // 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 + // 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 + // 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 + // 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 + // 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 + // MACHINE_ISSUE_TYPE_NO_PARTITION no partition set. MachineIssueType_MACHINE_ISSUE_TYPE_NO_PARTITION MachineIssueType = 13 ) @@ -572,17 +572,17 @@ func (MachineIssueType) EnumDescriptor() ([]byte, []int) { return file_metalstack_api_v2_machine_proto_rawDescGZIP(), []int{7} } -// MachineIssueSeverity defines the severity of an issue +// MachineIssueSeverity defines the severity of an issue. type MachineIssueSeverity int32 const ( - // MACHINE_ISSUE_SEVERITY_UNSPECIFIED severity is not specified + // 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 + // 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 + // 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 + // MACHINE_ISSUE_SEVERITY_CRITICAL machine issues is of severity critical. MachineIssueSeverity_MACHINE_ISSUE_SEVERITY_CRITICAL MachineIssueSeverity = 3 ) @@ -629,12 +629,12 @@ func (MachineIssueSeverity) EnumDescriptor() ([]byte, []int) { return file_metalstack_api_v2_machine_proto_rawDescGZIP(), []int{8} } -// MachineServiceGetRequest is the request payload for a machine get request +// MachineServiceGetRequest is the request payload for a machine get request. type MachineServiceGetRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // UUID of the machine to get + // UUID of the machine to get. Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` - // Project of the machine + // Project of the machine. Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -684,10 +684,10 @@ func (x *MachineServiceGetRequest) GetProject() string { return "" } -// MachineServiceGetResponse is the response payload for a machine get request +// MachineServiceGetResponse is the response payload for a machine get request. type MachineServiceGetResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // Machine is the machine requested + // Machine is the machine requested. Machine *Machine `protobuf:"bytes,1,opt,name=machine,proto3" json:"machine,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -730,56 +730,56 @@ func (x *MachineServiceGetResponse) GetMachine() *Machine { return nil } -// MachineServiceCreateRequest is the request payload for a machine create request +// MachineServiceCreateRequest is the request payload for a machine create request. type MachineServiceCreateRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // Project of the machine + // 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 + // 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 of this machine. Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` - // Description for this machine + // 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 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 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 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 + // 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.20260402 - // or in a simplified form which omits the patch version - // - debian-13.0 - // 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. + // - 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 + // 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 + // 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 defines the ssh public key to be installed on the machine to access it via ssh. SshPublicKeys []string `protobuf:"bytes,10,rep,name=ssh_public_keys,json=sshPublicKeys,proto3" json:"ssh_public_keys,omitempty"` - // Userdata contains instructions required to bootstrap the machine - // AWS limits the max userdata size to 16k, lets allow twice as much + // Userdata contains instructions required to bootstrap the machine. + // AWS limits the max userdata size to 16k, lets allow twice as much. Userdata *string `protobuf:"bytes,11,opt,name=userdata,proto3,oneof" json:"userdata,omitempty"` - // Labels to be attached to this machine allocation + // Labels 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"` // PlacementTags by default machines are spread across the racks inside a partition for every project. - // if placement tags are provided, the machine candidate has an additional anti-affinity to other machines having the same tags + // if placement tags are provided, the machine candidate has an additional anti-affinity to other machines having the same tags. PlacementTags []string `protobuf:"bytes,14,rep,name=placement_tags,json=placementTags,proto3" json:"placement_tags,omitempty"` - // DNSServer the dns servers used for the machine + // 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 + // 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 of this machine. AllocationType MachineAllocationType `protobuf:"varint,17,opt,name=allocation_type,json=allocationType,proto3,enum=metalstack.api.v2.MachineAllocationType" json:"allocation_type,omitempty"` - // FirewallSpec provides firewall specific parameters if allocationType is firewall + // 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"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -941,10 +941,10 @@ func (x *MachineServiceCreateRequest) GetFirewallSpec() *FirewallSpec { return nil } -// FirewallSpec contains firewall specific firewall creation parameters +// FirewallSpec contains firewall specific firewall creation parameters. type FirewallSpec struct { state protoimpl.MessageState `protogen:"open.v1"` - // FirewallRules to be applied if this is a firewall + // 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"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -987,10 +987,10 @@ func (x *FirewallSpec) GetFirewallRules() *FirewallRules { return nil } -// MachineServiceCreateResponse is the response payload for a machine create request +// MachineServiceCreateResponse is the response payload for a machine create request. type MachineServiceCreateResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // Machine which was created + // Machine which was created. Machine *Machine `protobuf:"bytes,1,opt,name=machine,proto3" json:"machine,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -1033,20 +1033,20 @@ func (x *MachineServiceCreateResponse) GetMachine() *Machine { return nil } -// MachineServiceUpdateRequest is the request payload for a machine update request +// MachineServiceUpdateRequest is the request payload for a machine update request. type MachineServiceUpdateRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // UUID of the machine to modify + // 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 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 of the machine. Project string `protobuf:"bytes,3,opt,name=project,proto3" json:"project,omitempty"` - // Description of this machine allocation + // 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 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 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"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -1124,10 +1124,10 @@ func (x *MachineServiceUpdateRequest) GetSshPublicKeys() []string { return nil } -// MachineServiceUpdateResponse is the response payload for a machine update request +// MachineServiceUpdateResponse is the response payload for a machine update request. type MachineServiceUpdateResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // Machine which was updated + // Machine which was updated. Machine *Machine `protobuf:"bytes,1,opt,name=machine,proto3" json:"machine,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -1170,12 +1170,12 @@ func (x *MachineServiceUpdateResponse) GetMachine() *Machine { return nil } -// MachineServiceListRequest is the request payload for a machine list request +// MachineServiceListRequest is the request payload for a machine list request. type MachineServiceListRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // Project of the machines to list + // 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 to list one ore more machines. Query *MachineQuery `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -1225,10 +1225,10 @@ func (x *MachineServiceListRequest) GetQuery() *MachineQuery { return nil } -// MachineServiceListResponse is the response payload for a machine list request +// MachineServiceListResponse is the response payload for a machine list request. type MachineServiceListResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // Machines are the machines requested by a list request + // Machines are the machines requested by a list request. Machines []*Machine `protobuf:"bytes,1,rep,name=machines,proto3" json:"machines,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -1271,12 +1271,12 @@ func (x *MachineServiceListResponse) GetMachines() []*Machine { return nil } -// MachineServiceDeleteRequest is the request payload for a machine delete request +// MachineServiceDeleteRequest is the request payload for a machine delete request. type MachineServiceDeleteRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // UUID of the machine to delete + // UUID of the machine to delete. Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` - // Project of the machine + // Project of the machine. Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -1326,10 +1326,10 @@ func (x *MachineServiceDeleteRequest) GetProject() string { return "" } -// MachineServiceDeleteResponse is the response payload for a machine delete request +// MachineServiceDeleteResponse is the response payload for a machine delete request. type MachineServiceDeleteResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // Machine which was deleted + // Machine which was deleted. Machine *Machine `protobuf:"bytes,1,opt,name=machine,proto3" json:"machine,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -1372,14 +1372,14 @@ func (x *MachineServiceDeleteResponse) GetMachine() *Machine { return nil } -// MachineServiceBMCCommandRequest is the request payload for a machine bmc command +// MachineServiceBMCCommandRequest is the request payload for a machine bmc command. type MachineServiceBMCCommandRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // UUID of the machine to send the command to + // 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 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 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"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -1436,7 +1436,7 @@ func (x *MachineServiceBMCCommandRequest) GetCommand() MachineBMCCommand { return MachineBMCCommand_MACHINE_BMC_COMMAND_UNSPECIFIED } -// MachineServiceBMCCommandResponse is the response payload for a machine bmc command +// MachineServiceBMCCommandResponse is the response payload for a machine bmc command. type MachineServiceBMCCommandResponse struct { state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields @@ -1473,12 +1473,12 @@ func (*MachineServiceBMCCommandResponse) Descriptor() ([]byte, []int) { return file_metalstack_api_v2_machine_proto_rawDescGZIP(), []int{12} } -// MachineServiceGetBMCRequest is the request payload for a machine getbmc request +// MachineServiceGetBMCRequest is the request payload for a machine getbmc request. type MachineServiceGetBMCRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // UUID of the machine to get + // UUID of the machine to get. Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` - // Project of the machine + // Project of the machine. Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -1528,12 +1528,12 @@ func (x *MachineServiceGetBMCRequest) GetProject() string { return "" } -// MachineServiceGetBMCResponse is the response payload for a machine getbmc request +// MachineServiceGetBMCResponse is the response payload for a machine getbmc request. type MachineServiceGetBMCResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // UUID of the machine + // UUID of the machine. Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` - // BMC contains the BMC details of this machine + // BMC contains the BMC details of this machine. Bmc *MachineBMCReport `protobuf:"bytes,2,opt,name=bmc,proto3" json:"bmc,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -1586,25 +1586,25 @@ func (x *MachineServiceGetBMCResponse) GetBmc() *MachineBMCReport { // Machine represents a physical bare metal machine. type Machine struct { state protoimpl.MessageState `protogen:"open.v1"` - // UUID of this machine + // UUID of this machine. Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` - // Meta for this machine + // Meta for this machine. Meta *Meta `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta,omitempty"` - // Partition where this machine resides + // Partition where this machine resides. Partition *Partition `protobuf:"bytes,3,opt,name=partition,proto3" json:"partition,omitempty"` - // Rack where this machine is located + // 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 where this machine is located. Room string `protobuf:"bytes,5,opt,name=room,proto3" json:"room,omitempty"` - // Size of this machine + // Size of this machine. Size *Size `protobuf:"bytes,6,opt,name=size,proto3" json:"size,omitempty"` - // Hardware specs of this machine + // Hardware specs of this machine. Hardware *MachineHardware `protobuf:"bytes,7,opt,name=hardware,proto3" json:"hardware,omitempty"` - // Allocation details + // Allocation details. Allocation *MachineAllocation `protobuf:"bytes,8,opt,name=allocation,proto3" json:"allocation,omitempty"` - // Status contains several status details related to this machine + // 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 + // MachineRecentProvisioningEvents contains the recent provisioning events. RecentProvisioningEvents *MachineRecentProvisioningEvents `protobuf:"bytes,10,opt,name=recent_provisioning_events,json=recentProvisioningEvents,proto3" json:"recent_provisioning_events,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -1710,16 +1710,16 @@ func (x *Machine) GetRecentProvisioningEvents() *MachineRecentProvisioningEvents return nil } -// MachineStatus contains several status details related to this machine +// MachineStatus contains several status details related to this machine. type MachineStatus struct { state protoimpl.MessageState `protogen:"open.v1"` - // Condition describes the availability + // 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 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 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 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"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -1783,14 +1783,14 @@ func (x *MachineStatus) GetMetalHammerVersion() string { return "" } -// MachineCondition describes the availability of this machine +// MachineCondition describes the availability of this machine. type MachineCondition struct { state protoimpl.MessageState `protogen:"open.v1"` - // State the state of this machine. empty means available for all + // 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 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 the user that changed the state. Issuer string `protobuf:"bytes,3,opt,name=issuer,proto3" json:"issuer,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -1847,44 +1847,44 @@ func (x *MachineCondition) GetIssuer() string { return "" } -// MachineAllocation contains properties if this machine is allocated +// MachineAllocation contains properties if this machine is allocated. type MachineAllocation struct { state protoimpl.MessageState `protogen:"open.v1"` - // UUID of this machine allocation + // UUID of this machine allocation. Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` - // Meta for this machine allocation + // Meta for this machine allocation. Meta *Meta `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta,omitempty"` - // Name of this allocation + // Name of this allocation. Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` - // Description of this allocation + // Description of this allocation. Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` - // Created By indicates who created this machine allocation + // 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 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 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 to create on the disks. FilesystemLayout *FilesystemLayout `protobuf:"bytes,8,opt,name=filesystem_layout,json=filesystemLayout,proto3" json:"filesystem_layout,omitempty"` - // Networks this machine should be attached to + // Networks 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 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 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 + // 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 of this machine. AllocationType MachineAllocationType `protobuf:"varint,13,opt,name=allocation_type,json=allocationType,proto3,enum=metalstack.api.v2.MachineAllocationType" json:"allocation_type,omitempty"` - // FirewallRules to be applied if this is a firewall + // 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 for this machine. DnsServers []*DNSServer `protobuf:"bytes,15,rep,name=dns_servers,json=dnsServers,proto3" json:"dns_servers,omitempty"` - // NTPServers for this machine + // NTPServers for this machine. NtpServers []*NTPServer `protobuf:"bytes,16,rep,name=ntp_servers,json=ntpServers,proto3" json:"ntp_servers,omitempty"` - // VPN connection configuration + // VPN connection configuration. Vpn *MachineVPN `protobuf:"bytes,17,opt,name=vpn,proto3" json:"vpn,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -2039,13 +2039,13 @@ func (x *MachineAllocation) GetVpn() *MachineVPN { return nil } -// MachineAllocationNetwork defines which network should be attached to a machine and if ips should be autoacquired +// MachineAllocationNetwork defines which network should be attached to a machine and if ips should be autoacquired. type MachineAllocationNetwork struct { state protoimpl.MessageState `protogen:"open.v1"` - // Network the id of the network that this machine will be placed in + // 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 + // 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"` unknownFields protoimpl.UnknownFields @@ -2096,12 +2096,12 @@ func (x *MachineAllocationNetwork) GetIps() []string { return nil } -// FirewallRules can be defined during firewall allocation +// FirewallRules can be defined during firewall allocation. type FirewallRules struct { state protoimpl.MessageState `protogen:"open.v1"` - // Egress list of egress rules to be deployed during firewall allocation + // 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 list of ingress rules to be deployed during firewall allocation. Ingress []*FirewallIngressRule `protobuf:"bytes,2,rep,name=ingress,proto3" json:"ingress,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -2151,16 +2151,16 @@ func (x *FirewallRules) GetIngress() []*FirewallIngressRule { return nil } -// FirewallEgressRule defines rules for outgoing traffic +// FirewallEgressRule defines rules for outgoing traffic. type FirewallEgressRule struct { state protoimpl.MessageState `protogen:"open.v1"` - // Protocol the protocol for the rule, defaults to tcp + // 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 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 the destination cidrs affected by this rule. To []string `protobuf:"bytes,3,rep,name=to,proto3" json:"to,omitempty"` - // Comment for this rule + // Comment for this rule. Comment string `protobuf:"bytes,4,opt,name=comment,proto3" json:"comment,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -2224,18 +2224,18 @@ func (x *FirewallEgressRule) GetComment() string { return "" } -// FirewallIngressRule defines rules for incoming traffic +// FirewallIngressRule defines rules for incoming traffic. type FirewallIngressRule struct { state protoimpl.MessageState `protogen:"open.v1"` - // Protocol the protocol for the rule, defaults to tcp + // 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 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 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 the source cidrs affected by this rule. From []string `protobuf:"bytes,4,rep,name=from,proto3" json:"from,omitempty"` - // Comment for this rule + // Comment for this rule. Comment string `protobuf:"bytes,5,opt,name=comment,proto3" json:"comment,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -2306,26 +2306,26 @@ func (x *FirewallIngressRule) GetComment() string { return "" } -// MachineNetwork contains details which network should be created on a allocated machine +// MachineNetwork contains details which network should be created on a allocated machine. type MachineNetwork struct { state protoimpl.MessageState `protogen:"open.v1"` - // Network the networkID of the allocated machine in this vrf + // 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 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 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 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 the type of network of this vrf. NetworkType NetworkType `protobuf:"varint,5,opt,name=network_type,json=networkType,proto3,enum=metalstack.api.v2.NetworkType" json:"network_type,omitempty"` - // NatType what type of nat if any should be used + // 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 the vrf id. Vrf uint64 `protobuf:"varint,7,opt,name=vrf,proto3" json:"vrf,omitempty"` - // ASN the autonomous system number for this network + // 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 is the project uuid associated with this network. Project *string `protobuf:"bytes,9,opt,name=project,proto3,oneof" json:"project,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -2424,18 +2424,18 @@ func (x *MachineNetwork) GetProject() string { return "" } -// MachineHardware contains hardware details +// MachineHardware contains hardware details. type MachineHardware struct { state protoimpl.MessageState `protogen:"open.v1"` - // Memory the total memory of the machine in bytes + // 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 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 the cpu details. Cpus []*MetalCPU `protobuf:"bytes,3,rep,name=cpus,proto3" json:"cpus,omitempty"` - // GPUs the gpu details + // 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 the list of network interfaces of this machine. Nics []*MachineNic `protobuf:"bytes,5,rep,name=nics,proto3" json:"nics,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -2506,16 +2506,16 @@ func (x *MachineHardware) GetNics() []*MachineNic { return nil } -// MetalCPU contains details of a cpu in this machine +// MetalCPU contains details of a cpu in this machine. type MetalCPU struct { state protoimpl.MessageState `protogen:"open.v1"` - // Vendor of this cpu + // Vendor of this cpu. Vendor string `protobuf:"bytes,1,opt,name=vendor,proto3" json:"vendor,omitempty"` - // Model of this cpu + // Model of this cpu. Model string `protobuf:"bytes,2,opt,name=model,proto3" json:"model,omitempty"` - // Cores of this cpu + // Cores of this cpu. Cores uint32 `protobuf:"varint,3,opt,name=cores,proto3" json:"cores,omitempty"` - // Threads of this cpu + // Threads of this cpu. Threads uint32 `protobuf:"varint,4,opt,name=threads,proto3" json:"threads,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -2579,12 +2579,12 @@ func (x *MetalCPU) GetThreads() uint32 { return 0 } -// MetalGPU contains details of a gpu in this machine +// MetalGPU contains details of a gpu in this machine. type MetalGPU struct { state protoimpl.MessageState `protogen:"open.v1"` - // Vendor of this gpu + // Vendor of this gpu. Vendor string `protobuf:"bytes,1,opt,name=vendor,proto3" json:"vendor,omitempty"` - // Model of this gpu + // Model of this gpu. Model string `protobuf:"bytes,2,opt,name=model,proto3" json:"model,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -2634,24 +2634,24 @@ func (x *MetalGPU) GetModel() string { return "" } -// MachineNic contains details of a network interface of this machine +// MachineNic contains details of a network interface of this machine. type MachineNic struct { state protoimpl.MessageState `protogen:"open.v1"` - // Mac the macaddress of this interface + // Mac the macaddress of this interface. Mac string `protobuf:"bytes,1,opt,name=mac,proto3" json:"mac,omitempty"` - // Name of this interface + // 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 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 of this network card. Vendor string `protobuf:"bytes,4,opt,name=vendor,proto3" json:"vendor,omitempty"` - // Model of this network card + // 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 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 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 the nic belongs to. Hostname string `protobuf:"bytes,8,opt,name=hostname,proto3" json:"hostname,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -2743,12 +2743,12 @@ func (x *MachineNic) GetHostname() string { return "" } -// MachineBlockDevice contains details of a block device of this machine +// MachineBlockDevice contains details of a block device of this machine. type MachineBlockDevice struct { state protoimpl.MessageState `protogen:"open.v1"` - // Name of this block device + // 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 of this block device in bytes. Size uint64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -2798,12 +2798,12 @@ func (x *MachineBlockDevice) GetSize() uint64 { return 0 } -// MachineChassisIdentifyLEDState describes the identifier led state +// MachineChassisIdentifyLEDState describes the identifier led state. type MachineChassisIdentifyLEDState struct { state protoimpl.MessageState `protogen:"open.v1"` - // Value the state of this chassis identify LED. empty means LED-OFF + // 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 a description why this chassis identify LED is in the given state. Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -2853,22 +2853,22 @@ func (x *MachineChassisIdentifyLEDState) GetDescription() string { return "" } -// MachineBMCReport is sent from the metal-bmc to update bmc and power related details +// MachineBMCReport is sent from the metal-bmc to update bmc and power related details. type MachineBMCReport struct { state protoimpl.MessageState `protogen:"open.v1"` - // Bmc contains bmc details + // Bmc contains bmc details. Bmc *MachineBMC `protobuf:"bytes,1,opt,name=bmc,proto3" json:"bmc,omitempty"` - // Bios contains bios details + // Bios contains bios details. Bios *MachineBios `protobuf:"bytes,2,opt,name=bios,proto3" json:"bios,omitempty"` - // Fru contains field replaceable unit details + // Fru contains field replaceable unit details. Fru *MachineFRU `protobuf:"bytes,3,opt,name=fru,proto3" json:"fru,omitempty"` - // PowerMetric contains the power statistics of the machine + // PowerMetric contains the power statistics of the machine. PowerMetric *MachinePowerMetric `protobuf:"bytes,4,opt,name=power_metric,json=powerMetric,proto3" json:"power_metric,omitempty"` - // PowerSupplies contains details about all power supplies and their state + // PowerSupplies contains details about all power supplies and their state. PowerSupplies []*MachinePowerSupply `protobuf:"bytes,5,rep,name=power_supplies,json=powerSupplies,proto3" json:"power_supplies,omitempty"` - // LedState indicates the state of the indicator LED on this machine + // LedState indicates the state of the indicator LED on this machine. LedState *MachineChassisIdentifyLEDState `protobuf:"bytes,6,opt,name=led_state,json=ledState,proto3" json:"led_state,omitempty"` - // UpdatedAt contains the date when this data was last updated + // UpdatedAt contains the date when this data was last updated. UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -2953,14 +2953,14 @@ func (x *MachineBMCReport) GetUpdatedAt() *timestamppb.Timestamp { return nil } -// MachineBios contains BIOS details of this machine +// MachineBios contains BIOS details of this machine. type MachineBios struct { state protoimpl.MessageState `protogen:"open.v1"` - // Version the bios version + // Version the bios version. Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` - // Vendor the bios vendor + // 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 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"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -3017,22 +3017,22 @@ func (x *MachineBios) GetDate() string { return "" } -// MachineBMC describe details of the ipmi or out of band device +// MachineBMC describe details of the ipmi or out of band device. type MachineBMC struct { state protoimpl.MessageState `protogen:"open.v1"` - // Address of this ipmi device from outside in the form of : + // Address of this ipmi device from outside in the form of :. Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` - // Mac address of the network interface of this ipmi device + // 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 of this ipmi device. User string `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"` - // Password of this ipmi device + // Password of this ipmi device. Password string `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"` - // Interface of this ipmi device + // Interface of this ipmi device. Interface string `protobuf:"bytes,5,opt,name=interface,proto3" json:"interface,omitempty"` - // Version of this bmc device + // Version of this bmc device. Version string `protobuf:"bytes,6,opt,name=version,proto3" json:"version,omitempty"` - // PowerState of this machine + // PowerState of this machine. PowerState string `protobuf:"bytes,7,opt,name=power_state,json=powerState,proto3" json:"power_state,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -3117,24 +3117,24 @@ func (x *MachineBMC) GetPowerState() string { return "" } -// MachineFRU describes details to the machine which are required in case of a necessary replacement +// MachineFRU describes details to the machine which are required in case of a necessary replacement. type MachineFRU struct { state protoimpl.MessageState `protogen:"open.v1"` - // ChassisPartNumber is the part number of the machine chassis + // 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 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 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 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 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 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 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 is the serial number of the machine. ProductSerial *string `protobuf:"bytes,8,opt,name=product_serial,json=productSerial,proto3,oneof" json:"product_serial,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -3226,25 +3226,17 @@ func (x *MachineFRU) GetProductSerial() string { return "" } -// MachinePowerMetric contains metrics of the power consumption of a machine +// MachinePowerMetric contains metrics of the power consumption of a machine. type MachinePowerMetric struct { state protoimpl.MessageState `protogen:"open.v1"` - // AverageConsumedWatts shall represent the - // average power level that occurred averaged over the last IntervalInMin - // minutes. + // 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. + // 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 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 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"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -3308,12 +3300,12 @@ func (x *MachinePowerMetric) GetMinConsumedWatts() float32 { return 0 } -// MachinePowerSupply contains details of the power supply of a machine +// MachinePowerSupply contains details of the power supply of a machine. type MachinePowerSupply struct { state protoimpl.MessageState `protogen:"open.v1"` - // Health of the powersupply + // Health of the powersupply. Health string `protobuf:"bytes,1,opt,name=health,proto3" json:"health,omitempty"` - // State of the powersupply + // State of the powersupply. State string `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -3363,16 +3355,16 @@ func (x *MachinePowerSupply) GetState() string { return "" } -// MachineRecentProvisioningEvents the recent provisioning events for this machine +// MachineRecentProvisioningEvents the recent provisioning events for this machine. type MachineRecentProvisioningEvents struct { state protoimpl.MessageState `protogen:"open.v1"` - // Events the log of recent machine provisioning events + // 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 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 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 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"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -3436,14 +3428,14 @@ func (x *MachineRecentProvisioningEvents) GetState() MachineProvisioningEventSta return MachineProvisioningEventState_MACHINE_PROVISIONING_EVENT_STATE_UNSPECIFIED } -// MachineProvisioningEvent is an event that has occurred during provisioning +// MachineProvisioningEvent is an event that has occurred during provisioning. type MachineProvisioningEvent struct { state protoimpl.MessageState `protogen:"open.v1"` - // Time the time that this event was received + // 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 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 an additional message to add to the event. Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -3500,16 +3492,16 @@ func (x *MachineProvisioningEvent) GetMessage() string { return "" } -// MachineVPN contains configuration data for the VPN connection +// MachineVPN contains configuration data for the VPN connection. type MachineVPN struct { state protoimpl.MessageState `protogen:"open.v1"` - // Address of VPN control plane + // 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 + // 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 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 of the machine connected to the vpn. Ips []string `protobuf:"bytes,4,rep,name=ips,proto3" json:"ips,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -3576,35 +3568,35 @@ func (x *MachineVPN) GetIps() []string { // MachineQuery contains fields which can be specified to list specific machines. type MachineQuery struct { state protoimpl.MessageState `protogen:"open.v1"` - // UUID of the machine to get + // 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 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 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 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 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 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 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 specific machine queries. Allocation *MachineAllocationQuery `protobuf:"bytes,8,opt,name=allocation,proto3,oneof" json:"allocation,omitempty"` - // Network specific machine queries + // Network specific machine queries. Network *MachineNetworkQuery `protobuf:"bytes,9,opt,name=network,proto3,oneof" json:"network,omitempty"` - // Nic specific machine queries + // Nic specific machine queries. Nic *MachineNicQuery `protobuf:"bytes,10,opt,name=nic,proto3,oneof" json:"nic,omitempty"` - // Disk specific machine queries + // Disk specific machine queries. Disk *MachineDiskQuery `protobuf:"bytes,11,opt,name=disk,proto3,oneof" json:"disk,omitempty"` - // Bmc specific machine queries + // Bmc specific machine queries. Bmc *MachineBMCQuery `protobuf:"bytes,12,opt,name=bmc,proto3,oneof" json:"bmc,omitempty"` - // Fru specific machine queries + // Fru specific machine queries. Fru *MachineFRUQuery `protobuf:"bytes,13,opt,name=fru,proto3,oneof" json:"fru,omitempty"` - // Hardware specific machine query + // Hardware specific machine query. Hardware *MachineHardwareQuery `protobuf:"bytes,14,opt,name=hardware,proto3,oneof" json:"hardware,omitempty"` - // State this machine has + // 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. @@ -3775,26 +3767,26 @@ func (x *MachineQuery) GetNotAllocated() bool { return false } -// MachineAllocationQuery allocation specific query parameters +// MachineAllocationQuery allocation specific query parameters. type MachineAllocationQuery struct { state protoimpl.MessageState `protogen:"open.v1"` - // UUID of the allocation of the machine to get + // 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 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 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 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 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 of the machine to get. Hostname *string `protobuf:"bytes,6,opt,name=hostname,proto3,oneof" json:"hostname,omitempty"` - // AllocationType of this machine + // AllocationType of this machine. AllocationType *MachineAllocationType `protobuf:"varint,7,opt,name=allocation_type,json=allocationType,proto3,enum=metalstack.api.v2.MachineAllocationType,oneof" json:"allocation_type,omitempty"` - // Labels for which this machine allocation should get filtered + // 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 query if this machine has a vpn configuration. Vpn *MachineVPN `protobuf:"bytes,9,opt,name=vpn,proto3,oneof" json:"vpn,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -3893,20 +3885,20 @@ func (x *MachineAllocationQuery) GetVpn() *MachineVPN { return nil } -// MachineNetworkQuery network specific machine queries +// MachineNetworkQuery network specific machine queries. type MachineNetworkQuery struct { state protoimpl.MessageState `protogen:"open.v1"` - // Networks this machine is connected to + // 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 this machine is connected to. Prefixes []string `protobuf:"bytes,2,rep,name=prefixes,proto3" json:"prefixes,omitempty"` - // DestinationPrefixes this machine is connected to + // 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 this machine has. Ips []string `protobuf:"bytes,4,rep,name=ips,proto3" json:"ips,omitempty"` - // VRFs this machine is connected to + // 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 this machine is connected to. Asns []uint32 `protobuf:"varint,6,rep,packed,name=asns,proto3" json:"asns,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -3984,16 +3976,16 @@ func (x *MachineNetworkQuery) GetAsns() []uint32 { return nil } -// MachineNicQuery nic specific machine queries +// MachineNicQuery nic specific machine queries. type MachineNicQuery struct { state protoimpl.MessageState `protogen:"open.v1"` - // Macs this machine nic has + // Macs this machine nic has. Macs []string `protobuf:"bytes,1,rep,name=macs,proto3" json:"macs,omitempty"` - // Names this machine nic has + // Names this machine nic has. Names []string `protobuf:"bytes,2,rep,name=names,proto3" json:"names,omitempty"` - // NeighborMacs this machine nic has + // 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 this machine nic has. NeighborNames []string `protobuf:"bytes,4,rep,name=neighbor_names,json=neighborNames,proto3" json:"neighbor_names,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -4057,12 +4049,12 @@ func (x *MachineNicQuery) GetNeighborNames() []string { return nil } -// MachineDiskQuery disk specific machine queries +// MachineDiskQuery disk specific machine queries. type MachineDiskQuery struct { state protoimpl.MessageState `protogen:"open.v1"` - // Names of disks in this machine + // 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 of disks in this machine. Sizes []uint64 `protobuf:"varint,2,rep,packed,name=sizes,proto3" json:"sizes,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -4112,16 +4104,16 @@ func (x *MachineDiskQuery) GetSizes() []uint64 { return nil } -// MachineBMCQuery machine ipmi or bmc specific machine queries +// MachineBMCQuery machine ipmi or bmc specific machine queries. type MachineBMCQuery struct { state protoimpl.MessageState `protogen:"open.v1"` - // Address of the ipmi system of this machine + // 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 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 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 of the ipmi system of this machine. Interface *string `protobuf:"bytes,4,opt,name=interface,proto3,oneof" json:"interface,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -4185,24 +4177,24 @@ func (x *MachineBMCQuery) GetInterface() string { return "" } -// MachineFRUQuery machine fru specific machine queries +// MachineFRUQuery machine fru specific machine queries. type MachineFRUQuery struct { state protoimpl.MessageState `protogen:"open.v1"` - // ChassisPartNumber of this machine + // 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 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 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 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 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 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 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 of this machine. ProductSerial *string `protobuf:"bytes,8,opt,name=product_serial,json=productSerial,proto3,oneof" json:"product_serial,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -4294,12 +4286,12 @@ func (x *MachineFRUQuery) GetProductSerial() string { return "" } -// MachineHardwareQuery machine hardware specific machine queries +// MachineHardwareQuery machine hardware specific machine queries. type MachineHardwareQuery struct { state protoimpl.MessageState `protogen:"open.v1"` - // Memory the total memory of the machine in bytes + // 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 the number of cpu cores. CpuCores *uint32 `protobuf:"varint,2,opt,name=cpu_cores,json=cpuCores,proto3,oneof" json:"cpu_cores,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -4349,18 +4341,18 @@ func (x *MachineHardwareQuery) GetCpuCores() uint32 { return 0 } -// MachineIssuesQuery defines which machine issues should be listed +// MachineIssuesQuery defines which machine issues should be listed. type MachineIssuesQuery struct { state protoimpl.MessageState `protogen:"open.v1"` - // MachineQuery to select specific machines + // 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 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 + // 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 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 defines the last error threshold. LastErrorThreshold *durationpb.Duration `protobuf:"bytes,5,opt,name=last_error_threshold,json=lastErrorThreshold,proto3" json:"last_error_threshold,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -4431,12 +4423,12 @@ func (x *MachineIssuesQuery) GetLastErrorThreshold() *durationpb.Duration { return nil } -// MachineIssues is a list of issues for a machine +// MachineIssues is a list of issues for a machine. type MachineIssues struct { state protoimpl.MessageState `protogen:"open.v1"` - // UUID of the machine for which the issues are listed + // 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 of this machine. Issues []*MachineIssue `protobuf:"bytes,2,rep,name=issues,proto3" json:"issues,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -4486,18 +4478,18 @@ func (x *MachineIssues) GetIssues() []*MachineIssue { return nil } -// MachineIssue contains details of one issue +// MachineIssue contains details of one issue. type MachineIssue struct { state protoimpl.MessageState `protogen:"open.v1"` - // Type specifies the issue type (id) + // 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 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 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 + // 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 may contain additional details on an evaluated issue. Details string `protobuf:"bytes,5,opt,name=details,proto3" json:"details,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache diff --git a/go/metalstack/api/v2/method.pb.go b/go/metalstack/api/v2/method.pb.go index 6e666278..812a4985 100644 --- a/go/metalstack/api/v2/method.pb.go +++ b/go/metalstack/api/v2/method.pb.go @@ -62,7 +62,7 @@ func (*MethodServiceListRequest) Descriptor() ([]byte, []int) { // MethodServiceListResponse is the response payload for listing all public methods. type MethodServiceListResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // Methods is a list of methods public callable + // Methods is a list of methods public callable. Methods []string `protobuf:"bytes,1,rep,name=methods,proto3" json:"methods,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -145,17 +145,17 @@ func (*MethodServiceTokenScopedListRequest) Descriptor() ([]byte, []int) { // MethodServiceTokenScopedListResponse is the response payload which contains all methods which are callable with the given token. type MethodServiceTokenScopedListResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // Permissions contains a list of methods which can be called + // 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 associates a project ID with the corresponding role of the token owner. ProjectRoles map[string]ProjectRole `protobuf:"bytes,2,rep,name=project_roles,json=projectRoles,proto3" json:"project_roles,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value,enum=metalstack.api.v2.ProjectRole"` - // TenantRoles associates a tenant ID with the corresponding role of the token owner + // TenantRoles associates a tenant ID with the corresponding role of the token owner. TenantRoles map[string]TenantRole `protobuf:"bytes,3,rep,name=tenant_roles,json=tenantRoles,proto3" json:"tenant_roles,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value,enum=metalstack.api.v2.TenantRole"` - // AdminRole defines the admin role of the token owner + // AdminRole defines the admin role of the token owner. AdminRole *AdminRole `protobuf:"varint,4,opt,name=admin_role,json=adminRole,proto3,enum=metalstack.api.v2.AdminRole,oneof" json:"admin_role,omitempty"` - // InfraRole defines the infrastructure role of the token owner + // InfraRole defines the infrastructure role of the token owner. InfraRole *InfraRole `protobuf:"varint,5,opt,name=infra_role,json=infraRole,proto3,enum=metalstack.api.v2.InfraRole,oneof" json:"infra_role,omitempty"` - // MachineRoles defines the machine roles of the token owner + // MachineRoles defines the machine roles of the token owner. MachineRoles map[string]MachineRole `protobuf:"bytes,6,rep,name=machine_roles,json=machineRoles,proto3" json:"machine_roles,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value,enum=metalstack.api.v2.MachineRole"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache diff --git a/go/metalstack/api/v2/network.pb.go b/go/metalstack/api/v2/network.pb.go index e17143c3..3485903f 100644 --- a/go/metalstack/api/v2/network.pb.go +++ b/go/metalstack/api/v2/network.pb.go @@ -22,15 +22,15 @@ const ( _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) ) -// NATType defines how and if outgoing traffic is translated +// NATType defines how and if outgoing traffic is translated. type NATType int32 const ( - // NAT_TYPE_UNSPECIFIED indicates a unspecified nat type + // NAT_TYPE_UNSPECIFIED indicates a unspecified nat type. NATType_NAT_TYPE_UNSPECIFIED NATType = 0 - // NAT_TYPE_NONE indicates that no nat is configured + // 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 + // NAT_TYPE_IPV4_MASQUERADE masquerade ipv4 behind gateway ip when traffic enters this network. NATType_NAT_TYPE_IPV4_MASQUERADE NATType = 2 ) @@ -75,28 +75,28 @@ func (NATType) EnumDescriptor() ([]byte, []int) { return file_metalstack_api_v2_network_proto_rawDescGZIP(), []int{0} } -// NetworkType indicates the purpose of the network, it cannot be changed after creation +// NetworkType indicates the purpose of the network, it cannot be changed after creation. type NetworkType int32 const ( - // NETWORK_TYPE_UNSPECIFIED indicates a unknown network type + // 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 + // 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 + // 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 + // 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 + // 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. @@ -167,17 +167,17 @@ func (NetworkType) EnumDescriptor() ([]byte, []int) { return file_metalstack_api_v2_network_proto_rawDescGZIP(), []int{1} } -// NetworkAddressFamily defines the address family of a network +// NetworkAddressFamily defines the address family of a network. type NetworkAddressFamily int32 const ( - // NETWORK_ADDRESS_FAMILY_UNSPECIFIED is not specified + // 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 + // 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 + // 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 + // NETWORK_ADDRESS_FAMILY_DUAL_STACK defines a network with both IPv4 and IPv6 address prefixes. NetworkAddressFamily_NETWORK_ADDRESS_FAMILY_DUAL_STACK NetworkAddressFamily = 3 ) @@ -224,12 +224,12 @@ func (NetworkAddressFamily) EnumDescriptor() ([]byte, []int) { return file_metalstack_api_v2_network_proto_rawDescGZIP(), []int{2} } -// NetworkServiceGetRequest +// NetworkServiceGetRequest. type NetworkServiceGetRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // ID of the network to get + // ID of the network to get. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - // Project of the network + // Project of the network. Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -279,10 +279,10 @@ func (x *NetworkServiceGetRequest) GetProject() string { return "" } -// NetworkServiceGetResponse +// NetworkServiceGetResponse. type NetworkServiceGetResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // Network which was requested to get + // Network which was requested to get. Network *Network `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -325,24 +325,24 @@ func (x *NetworkServiceGetResponse) GetNetwork() *Network { return nil } -// NetworkServiceCreateRequest +// NetworkServiceCreateRequest. type NetworkServiceCreateRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // Project where this network belongs to + // Project where this network belongs to. Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"` - // Name of this network + // Name of this network. Name *string `protobuf:"bytes,2,opt,name=name,proto3,oneof" json:"name,omitempty"` - // Description of this network + // 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 where this network will be created. Partition *string `protobuf:"bytes,4,opt,name=partition,proto3,oneof" json:"partition,omitempty"` - // Labels on this network + // 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 + // 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 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 to create, defaults to the same as the parent. AddressFamily *NetworkAddressFamily `protobuf:"varint,8,opt,name=address_family,json=addressFamily,proto3,enum=metalstack.api.v2.NetworkAddressFamily,oneof" json:"address_family,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -434,10 +434,10 @@ func (x *NetworkServiceCreateRequest) GetAddressFamily() NetworkAddressFamily { return NetworkAddressFamily_NETWORK_ADDRESS_FAMILY_UNSPECIFIED } -// NetworkServiceCreateResponse +// NetworkServiceCreateResponse. type NetworkServiceCreateResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // Network is the created network + // Network is the created network. Network *Network `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -480,20 +480,20 @@ func (x *NetworkServiceCreateResponse) GetNetwork() *Network { return nil } -// NetworkServiceUpdateRequest +// NetworkServiceUpdateRequest. type NetworkServiceUpdateRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // ID of the network to get + // 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 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 of the network. Project string `protobuf:"bytes,3,opt,name=project,proto3" json:"project,omitempty"` - // Name of this network + // Name of this network. Name *string `protobuf:"bytes,4,opt,name=name,proto3,oneof" json:"name,omitempty"` - // Description of this network + // Description of this network. Description *string `protobuf:"bytes,5,opt,name=description,proto3,oneof" json:"description,omitempty"` - // Labels on this network + // Labels on this network. Labels *UpdateLabels `protobuf:"bytes,6,opt,name=labels,proto3,oneof" json:"labels,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -571,10 +571,10 @@ func (x *NetworkServiceUpdateRequest) GetLabels() *UpdateLabels { return nil } -// NetworkServiceUpdateResponse +// NetworkServiceUpdateResponse. type NetworkServiceUpdateResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // Network is the updated network + // Network is the updated network. Network *Network `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -617,12 +617,12 @@ func (x *NetworkServiceUpdateResponse) GetNetwork() *Network { return nil } -// NetworkServiceListRequest +// NetworkServiceListRequest. type NetworkServiceListRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // Project of the networks to list + // 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 which specifies which networks to return. Query *NetworkQuery `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -672,10 +672,10 @@ func (x *NetworkServiceListRequest) GetQuery() *NetworkQuery { return nil } -// NetworkServiceListResponse +// NetworkServiceListResponse. type NetworkServiceListResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // Networks are the requested networks + // Networks are the requested networks. Networks []*Network `protobuf:"bytes,1,rep,name=networks,proto3" json:"networks,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -718,12 +718,12 @@ func (x *NetworkServiceListResponse) GetNetworks() []*Network { return nil } -// NetworkServiceListRequest +// NetworkServiceListRequest. type NetworkServiceListBaseNetworksRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // Project of the base networks to list + // 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 which specifies which networks to return. Query *NetworkQuery `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -773,10 +773,10 @@ func (x *NetworkServiceListBaseNetworksRequest) GetQuery() *NetworkQuery { return nil } -// NetworkServiceListResponse +// NetworkServiceListResponse. type NetworkServiceListBaseNetworksResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // Networks are the requested networks + // Networks are the requested networks. Networks []*Network `protobuf:"bytes,1,rep,name=networks,proto3" json:"networks,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -819,12 +819,12 @@ func (x *NetworkServiceListBaseNetworksResponse) GetNetworks() []*Network { return nil } -// NetworkServiceDeleteRequest +// NetworkServiceDeleteRequest. type NetworkServiceDeleteRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // ID of the network to get + // ID of the network to get. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - // Project of the network + // Project of the network. Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -874,10 +874,10 @@ func (x *NetworkServiceDeleteRequest) GetProject() string { return "" } -// NetworkServiceDeleteResponse +// NetworkServiceDeleteResponse. type NetworkServiceDeleteResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // Network is the deleted network + // Network is the deleted network. Network *Network `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -920,43 +920,43 @@ func (x *NetworkServiceDeleteResponse) GetNetwork() *Network { return nil } -// Network +// Network. type Network struct { state protoimpl.MessageState `protogen:"open.v1"` - // Id of this network + // Id of this network. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - // Meta for this network + // Meta for this network. Meta *Meta `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta,omitempty"` - // Name of this network + // Name of this network. Name *string `protobuf:"bytes,3,opt,name=name,proto3,oneof" json:"name,omitempty"` - // Description of this network + // 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 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 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 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 in this network. Prefixes []string `protobuf:"bytes,8,rep,name=prefixes,proto3" json:"prefixes,omitempty"` - // Destination Prefixes in this network + // 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 + // 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 `protobuf:"bytes,10,opt,name=default_child_prefix_length,json=defaultChildPrefixLength,proto3" json:"default_child_prefix_length,omitempty"` - // Min Child Prefix length asserts that during child network creation the requested bit length is greater or equal the min child prefix length + // 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 `protobuf:"bytes,11,opt,name=min_child_prefix_length,json=minChildPrefixLength,proto3" json:"min_child_prefix_length,omitempty"` - // Type of the network + // 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 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 + // 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 will be added to the allow list on the switch which prefixes might be announced. AdditionalAnnouncableCidrs []string `protobuf:"bytes,16,rep,name=additional_announcable_cidrs,json=additionalAnnouncableCidrs,proto3" json:"additional_announcable_cidrs,omitempty"` - // Consumption of IPs and prefixes in this network + // Consumption of IPs and prefixes in this network. Consumption *NetworkConsumption `protobuf:"bytes,17,opt,name=consumption,proto3" json:"consumption,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -1111,36 +1111,36 @@ func (x *Network) GetConsumption() *NetworkConsumption { return nil } -// NetworkQuery defines which networks to query +// NetworkQuery defines which networks to query. type NetworkQuery struct { state protoimpl.MessageState `protogen:"open.v1"` - // Id of the network to query + // Id of the network to query. Id *string `protobuf:"bytes,1,opt,name=id,proto3,oneof" json:"id,omitempty"` - // Name of this network + // Name of this network. Name *string `protobuf:"bytes,2,opt,name=name,proto3,oneof" json:"name,omitempty"` - // Description of this network + // 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 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 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 where this network belongs to. Namespace *string `protobuf:"bytes,6,opt,name=namespace,proto3,oneof" json:"namespace,omitempty"` - // Prefixes in this network + // Prefixes in this network. Prefixes []string `protobuf:"bytes,7,rep,name=prefixes,proto3" json:"prefixes,omitempty"` - // Destination Prefixes in this network + // 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 + // 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 to query. AddressFamily *NetworkAddressFamily `protobuf:"varint,11,opt,name=address_family,json=addressFamily,proto3,enum=metalstack.api.v2.NetworkAddressFamily,oneof" json:"address_family,omitempty"` - // Type of the network to query for + // 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 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 on this network. Labels *Labels `protobuf:"bytes,14,opt,name=labels,proto3,oneof" json:"labels,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -1274,12 +1274,12 @@ func (x *NetworkQuery) GetLabels() *Labels { return nil } -// ChildPrefixLength +// ChildPrefixLength. type ChildPrefixLength struct { state protoimpl.MessageState `protogen:"open.v1"` - // IPv4 bit length of this network in this addressfamily + // 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 bit length of this network in this addressfamily. Ipv6 *uint32 `protobuf:"varint,2,opt,name=ipv6,proto3,oneof" json:"ipv6,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -1329,12 +1329,12 @@ func (x *ChildPrefixLength) GetIpv6() uint32 { return 0 } -// NetworkConsumption contains ip and prefix usage by addressfamily +// NetworkConsumption contains ip and prefix usage by addressfamily. type NetworkConsumption struct { state protoimpl.MessageState `protogen:"open.v1"` - // IPv4 network usage + // 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 network usage, this can be approximated for high numbers. Ipv6 *NetworkUsage `protobuf:"bytes,2,opt,name=ipv6,proto3" json:"ipv6,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -1387,13 +1387,13 @@ func (x *NetworkConsumption) GetIpv6() *NetworkUsage { // NetworkUsage reports core metrics about available and used IPs or Prefixes in a Network. type NetworkUsage struct { state protoimpl.MessageState `protogen:"open.v1"` - // the total available IPs + // the total available IPs. AvailableIps uint64 `protobuf:"varint,1,opt,name=available_ips,json=availableIps,proto3" json:"available_ips,omitempty"` - // the total used IPs + // 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 + // 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 + // the total used Prefixes. UsedPrefixes uint64 `protobuf:"varint,4,opt,name=used_prefixes,json=usedPrefixes,proto3" json:"used_prefixes,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache diff --git a/go/metalstack/api/v2/partition.pb.go b/go/metalstack/api/v2/partition.pb.go index cf4415ed..57203238 100644 --- a/go/metalstack/api/v2/partition.pb.go +++ b/go/metalstack/api/v2/partition.pb.go @@ -22,23 +22,23 @@ const ( _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) ) -// Partition is a failure domain with machines and switches +// Partition is a failure domain with machines and switches. type Partition struct { state protoimpl.MessageState `protogen:"open.v1"` - // ID of this partition + // ID of this partition. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - // Meta for this partition + // Meta for this partition. Meta *Meta `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta,omitempty"` - // Description of this partition + // Description of this partition. Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` - // PartitionBootConfiguration defines how metal-hammer boots + // 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 for this partition. DnsServers []*DNSServer `protobuf:"bytes,5,rep,name=dns_servers,json=dnsServers,proto3" json:"dns_servers,omitempty"` - // NTPServers for this partition + // 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 : + // ManagementServiceAddresses defines where the management is reachable. + // should be in the form :. MgmtServiceAddresses []string `protobuf:"bytes,7,rep,name=mgmt_service_addresses,json=mgmtServiceAddresses,proto3" json:"mgmt_service_addresses,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -123,12 +123,12 @@ func (x *Partition) GetMgmtServiceAddresses() []string { return nil } -// PartitionQuery is used to search partitions +// PartitionQuery is used to search partitions. type PartitionQuery struct { state protoimpl.MessageState `protogen:"open.v1"` - // ID of the partition to get + // 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 lists only partitions containing the given labels. Labels *Labels `protobuf:"bytes,2,opt,name=labels,proto3,oneof" json:"labels,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -178,14 +178,14 @@ func (x *PartitionQuery) GetLabels() *Labels { return nil } -// PartitionBootConfiguration defines how metal-hammer boots +// PartitionBootConfiguration defines how metal-hammer boots. type PartitionBootConfiguration struct { state protoimpl.MessageState `protogen:"open.v1"` - // ImageURL the url to download the initrd for the boot image + // 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 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 the kernel command line for the boot image. Commandline string `protobuf:"bytes,3,opt,name=commandline,proto3" json:"commandline,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -242,10 +242,10 @@ func (x *PartitionBootConfiguration) GetCommandline() string { return "" } -// DNSServer +// DNSServer. type DNSServer struct { state protoimpl.MessageState `protogen:"open.v1"` - // IP address of this dns server + // IP address of this dns server. Ip string `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -288,10 +288,10 @@ func (x *DNSServer) GetIp() string { return "" } -// NTPServer +// NTPServer. type NTPServer struct { state protoimpl.MessageState `protogen:"open.v1"` - // Address either as ip or hostname + // Address either as ip or hostname. Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -334,10 +334,10 @@ func (x *NTPServer) GetAddress() string { return "" } -// PartitionServiceGetRequest is the request payload for a partition get request +// PartitionServiceGetRequest is the request payload for a partition get request. type PartitionServiceGetRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // ID of the partition to get + // ID of the partition to get. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -380,10 +380,10 @@ func (x *PartitionServiceGetRequest) GetId() string { return "" } -// PartitionServiceListRequest is the request payload for a partition list request +// PartitionServiceListRequest is the request payload for a partition list request. type PartitionServiceListRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // Query for partitions + // Query for partitions. Query *PartitionQuery `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -426,10 +426,10 @@ func (x *PartitionServiceListRequest) GetQuery() *PartitionQuery { return nil } -// PartitionServiceGetResponse is the response payload for a partition get request +// PartitionServiceGetResponse is the response payload for a partition get request. type PartitionServiceGetResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // Partition is the partition + // Partition is the partition. Partition *Partition `protobuf:"bytes,1,opt,name=partition,proto3" json:"partition,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -472,10 +472,10 @@ func (x *PartitionServiceGetResponse) GetPartition() *Partition { return nil } -// PartitionServiceListResponse is the response payload for a partition list request +// PartitionServiceListResponse is the response payload for a partition list request. type PartitionServiceListResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // Partitions are the partitions + // Partitions are the partitions. Partitions []*Partition `protobuf:"bytes,1,rep,name=partitions,proto3" json:"partitions,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache diff --git a/go/metalstack/api/v2/predefined_rules.pb.go b/go/metalstack/api/v2/predefined_rules.pb.go index dc4d1b28..1517a686 100644 --- a/go/metalstack/api/v2/predefined_rules.pb.go +++ b/go/metalstack/api/v2/predefined_rules.pb.go @@ -218,63 +218,63 @@ var file_metalstack_api_v2_predefined_rules_proto_extTypes = []protoimpl.Extensi // Extension fields to validate.StringRules. var ( - // Macaddress returns true if the given string is a valid macaddress + // 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 + // 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 + // 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 + // 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 + // 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 + // 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 + // 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 + // 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 + // 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 + // 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 + // 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 + // 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 + // 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 + // 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 + // 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] @@ -282,19 +282,19 @@ var ( // Extension fields to validate.RepeatedRules. var ( - // Prefixes validates if a slice of prefixes in string form are valid + // 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[15] - // Ips validates if a slice of ips in string form are valid + // 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[16] - // AreHostAndPort validates if a slice of strings are all in the form of : + // AreHostAndPort validates if a slice of strings are all in the form of :. // // optional bool are_host_and_port = 80058953; E_AreHostAndPort = &file_metalstack_api_v2_predefined_rules_proto_extTypes[17] - // All Trimmed enforces all strings to be trimmed, e.g. no whitespaces at the begin and end + // 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[18] @@ -302,23 +302,23 @@ var ( // Extension fields to validate.MapRules. var ( - // Keys and Values trimmed enforces all map keys and values to be trimmed, e.g. no whitespaces at the begin and end + // 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[19] - // Keys trimmed enforces all map keys and values to be trimmed, e.g. no whitespaces at the begin and end + // 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[20] - // ProjectRolesKeysValid ensures that project roles keys met our requirements + // 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[21] - // TenantRolesKeysValid ensures that tenant roles keys met our requirements + // 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[22] - // MachineRolesKeysValid ensures that machine roles keys met our requirements + // 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[23] diff --git a/go/metalstack/api/v2/project.pb.go b/go/metalstack/api/v2/project.pb.go index 61f3a099..4822b63f 100644 --- a/go/metalstack/api/v2/project.pb.go +++ b/go/metalstack/api/v2/project.pb.go @@ -23,21 +23,21 @@ const ( _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) ) -// Project defines a group of resources belonging to a tenant -// a tenant can have multiple projects +// Project defines a group of resources belonging to a tenant. +// a tenant can have multiple projects. type Project struct { state protoimpl.MessageState `protogen:"open.v1"` - // Uuid of this project + // Uuid of this project. Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` - // Meta for this project + // 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 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 of this project. Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` - // Tenant this project belongs to + // Tenant this project belongs to. Tenant string `protobuf:"bytes,5,opt,name=tenant,proto3" json:"tenant,omitempty"` - // AvatarUrl of the Project + // AvatarUrl of the Project. AvatarUrl *string `protobuf:"bytes,6,opt,name=avatar_url,json=avatarUrl,proto3,oneof" json:"avatar_url,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -115,20 +115,20 @@ func (x *Project) GetAvatarUrl() string { return "" } -// ProjectMember defines a user that participates in a project +// ProjectMember defines a user that participates in a project. type ProjectMember struct { state protoimpl.MessageState `protogen:"open.v1"` - // Id is the user id of the member + // 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 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 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 for this project member. Meta *Meta `protobuf:"bytes,5,opt,name=meta,proto3" json:"meta,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -199,26 +199,26 @@ func (x *ProjectMember) GetMeta() *Meta { return nil } -// ProjectInvite defines invite to project +// ProjectInvite defines invite to project. type ProjectInvite struct { state protoimpl.MessageState `protogen:"open.v1"` - // Secret is the secret part of the invite, typically part of the url + // 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 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 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 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 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 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 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 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 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"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -317,10 +317,10 @@ func (x *ProjectInvite) GetJoinedAt() *timestamppb.Timestamp { return nil } -// ProjectServiceListRequest is the request payload to list all projects +// ProjectServiceListRequest is the request payload to list all projects. type ProjectServiceListRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // Query for projects + // Query for projects. Query *ProjectQuery `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -363,16 +363,16 @@ func (x *ProjectServiceListRequest) GetQuery() *ProjectQuery { return nil } -// ProjectQuery is used to search projects +// ProjectQuery is used to search projects. type ProjectQuery struct { state protoimpl.MessageState `protogen:"open.v1"` - // Uuid lists only projects with this uuid + // 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 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 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 lists only projects containing the given labels. Labels *Labels `protobuf:"bytes,4,opt,name=labels,proto3,oneof" json:"labels,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -436,10 +436,10 @@ func (x *ProjectQuery) GetLabels() *Labels { return nil } -// ProjectServiceListResponse is the response payload to list all projects +// ProjectServiceListResponse is the response payload to list all projects. type ProjectServiceListResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // Projects is a list of all your projects + // Projects is a list of all your projects. Projects []*Project `protobuf:"bytes,1,rep,name=projects,proto3" json:"projects,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -482,10 +482,10 @@ func (x *ProjectServiceListResponse) GetProjects() []*Project { return nil } -// ProjectServiceGetRequest is the request payload to get a project +// ProjectServiceGetRequest is the request payload to get a project. type ProjectServiceGetRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // Project is the uuid of the project to get + // Project is the uuid of the project to get. Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -528,12 +528,12 @@ func (x *ProjectServiceGetRequest) GetProject() string { return "" } -// ProjectServiceGetResponse is the response payload to get a projects +// ProjectServiceGetResponse is the response payload to get a projects. type ProjectServiceGetResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // Project is the project + // 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 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"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -583,19 +583,19 @@ func (x *ProjectServiceGetResponse) GetProjectMembers() []*ProjectMember { return nil } -// ProjectServiceCreateRequest is the request payload to Create a project +// ProjectServiceCreateRequest is the request payload to Create a project. type ProjectServiceCreateRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // Login is the tenant of this project - // TODO: is login really a good name? + // 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 of this project, unique per tenant. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - // Description of this project + // Description of this project. Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` - // Avatar URL of the project + // 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 on the project. Labels *Labels `protobuf:"bytes,5,opt,name=labels,proto3" json:"labels,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -666,10 +666,10 @@ func (x *ProjectServiceCreateRequest) GetLabels() *Labels { return nil } -// ProjectServiceCreateResponse is the response payload of creation of a project +// ProjectServiceCreateResponse is the response payload of creation of a project. type ProjectServiceCreateResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // Project is the project + // Project is the project. Project *Project `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -712,10 +712,10 @@ func (x *ProjectServiceCreateResponse) GetProject() *Project { return nil } -// ProjectServiceDeleteRequest is the request payload to delete a project +// ProjectServiceDeleteRequest is the request payload to delete a project. type ProjectServiceDeleteRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // Project is the uuid of the project to delete + // Project is the uuid of the project to delete. Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -758,10 +758,10 @@ func (x *ProjectServiceDeleteRequest) GetProject() string { return "" } -// ProjectServiceDeleteResponse is the response payload to delete a project +// ProjectServiceDeleteResponse is the response payload to delete a project. type ProjectServiceDeleteResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // Project is the project + // Project is the project. Project *Project `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -804,20 +804,20 @@ func (x *ProjectServiceDeleteResponse) GetProject() *Project { return nil } -// ProjectServiceUpdateRequest is the request payload to update a project +// ProjectServiceUpdateRequest is the request payload to update a project. type ProjectServiceUpdateRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // Project is the uuid of the project to get + // 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 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 of this project unique per tenant. Name *string `protobuf:"bytes,3,opt,name=name,proto3,oneof" json:"name,omitempty"` - // Description of this project + // Description of this project. Description *string `protobuf:"bytes,4,opt,name=description,proto3,oneof" json:"description,omitempty"` - // Avatar URL of the project + // 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 on this project. Labels *UpdateLabels `protobuf:"bytes,6,opt,name=labels,proto3,oneof" json:"labels,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -895,10 +895,10 @@ func (x *ProjectServiceUpdateRequest) GetLabels() *UpdateLabels { return nil } -// ProjectServiceUpdateResponse is the response payload to update a project +// ProjectServiceUpdateResponse is the response payload to update a project. type ProjectServiceUpdateResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // Project is the project + // Project is the project. Project *Project `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -941,12 +941,12 @@ func (x *ProjectServiceUpdateResponse) GetProject() *Project { return nil } -// ProjectServiceInviteRequest is used to invite a member to a project +// ProjectServiceInviteRequest is used to invite a member to a project. type ProjectServiceInviteRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // Project is the uuid of the project + // 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 of this user in this project. Role ProjectRole `protobuf:"varint,2,opt,name=role,proto3,enum=metalstack.api.v2.ProjectRole" json:"role,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -996,12 +996,12 @@ func (x *ProjectServiceInviteRequest) GetRole() ProjectRole { return ProjectRole_PROJECT_ROLE_UNSPECIFIED } -// ProjectServiceInviteResponse is the response payload to a invite member request +// ProjectServiceInviteResponse is the response payload to a invite member request. type ProjectServiceInviteResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // 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/ + // 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/= 20.04.20211011" -// debian: ">= 10.0.20210101" +// ubuntu: ">= 20.04.20211011 +// debian: ">= 10.0.20210101 type ImageConstraint struct { state protoimpl.MessageState `protogen:"open.v1"` - // Image of the constraint + // 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 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"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -262,14 +261,14 @@ func (x *ImageConstraint) GetSemverMatch() string { return "" } -// SizeImageConstraintQuery is used to search size image constraints +// SizeImageConstraintQuery is used to search size image constraints. type SizeImageConstraintQuery struct { state protoimpl.MessageState `protogen:"open.v1"` - // Size of the size image constraint + // 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 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 of the size image constraint to query. Description *string `protobuf:"bytes,3,opt,name=description,proto3,oneof" json:"description,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache diff --git a/go/metalstack/api/v2/size_reservation.pb.go b/go/metalstack/api/v2/size_reservation.pb.go index 16974a85..ee5aac30 100644 --- a/go/metalstack/api/v2/size_reservation.pb.go +++ b/go/metalstack/api/v2/size_reservation.pb.go @@ -22,12 +22,12 @@ const ( _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) ) -// SizeReservationServiceGetRequest is the request payload for a size get request +// SizeReservationServiceGetRequest is the request payload for a size get request. type SizeReservationServiceGetRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // ID of the size reservation to get + // 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 of the size reservation. Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -77,12 +77,12 @@ func (x *SizeReservationServiceGetRequest) GetProject() string { return "" } -// SizeReservationServiceListRequest is the request payload for a size list request +// SizeReservationServiceListRequest is the request payload for a size list request. type SizeReservationServiceListRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // Project of the size reservation + // Project of the size reservation. Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"` - // Query for size reservations + // Query for size reservations. Query *SizeReservationQuery `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -132,10 +132,10 @@ func (x *SizeReservationServiceListRequest) GetQuery() *SizeReservationQuery { return nil } -// SizeReservationServiceGetResponse is the response payload for a size reservation get request +// SizeReservationServiceGetResponse is the response payload for a size reservation get request. type SizeReservationServiceGetResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // Size reservation + // Size reservation. SizeReservation *SizeReservation `protobuf:"bytes,1,opt,name=size_reservation,json=sizeReservation,proto3" json:"size_reservation,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -178,10 +178,10 @@ func (x *SizeReservationServiceGetResponse) GetSizeReservation() *SizeReservatio return nil } -// SizeReservationServiceListResponse is the response payload for a size reservation list request +// SizeReservationServiceListResponse is the response payload for a size reservation list request. type SizeReservationServiceListResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // Size reservations + // Size reservations. SizeReservations []*SizeReservation `protobuf:"bytes,1,rep,name=size_reservations,json=sizeReservations,proto3" json:"size_reservations,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -224,24 +224,24 @@ func (x *SizeReservationServiceListResponse) GetSizeReservations() []*SizeReserv return nil } -// SizeReservation +// SizeReservation. type SizeReservation struct { state protoimpl.MessageState `protogen:"open.v1"` - // Id of this size reservation, is generated on creation + // 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 for this size reservation. Meta *Meta `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta,omitempty"` - // Name of this size reservation + // Name of this size reservation. Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` - // Description of this size reservation + // Description of this size reservation. Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` - // Project of the size reservation + // Project of the size reservation. Project string `protobuf:"bytes,5,opt,name=project,proto3" json:"project,omitempty"` - // Size id of this size reservation + // Size id of this size reservation. Size string `protobuf:"bytes,6,opt,name=size,proto3" json:"size,omitempty"` - // Partition ids of this size reservation + // 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 of reservations of this size reservation. Amount int32 `protobuf:"varint,8,opt,name=amount,proto3" json:"amount,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -333,22 +333,22 @@ func (x *SizeReservation) GetAmount() int32 { return 0 } -// SizeReservationQuery is used to search size reservations +// SizeReservationQuery is used to search size reservations. type SizeReservationQuery struct { state protoimpl.MessageState `protogen:"open.v1"` - // ID of the size reservation to get + // 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 of this size reservation. Name *string `protobuf:"bytes,2,opt,name=name,proto3,oneof" json:"name,omitempty"` - // Description of this size reservation + // 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 id of this size reservation. Size *string `protobuf:"bytes,4,opt,name=size,proto3,oneof" json:"size,omitempty"` - // Project of the size reservation + // Project of the size reservation. Project *string `protobuf:"bytes,5,opt,name=project,proto3,oneof" json:"project,omitempty"` - // Partition of the size reservation + // 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 lists only size reservations containing the given labels. Labels *Labels `protobuf:"bytes,7,opt,name=labels,proto3,oneof" json:"labels,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache diff --git a/go/metalstack/api/v2/switch.pb.go b/go/metalstack/api/v2/switch.pb.go index 6587aebe..a7f2562f 100644 --- a/go/metalstack/api/v2/switch.pb.go +++ b/go/metalstack/api/v2/switch.pb.go @@ -495,13 +495,13 @@ func (x *SwitchOS) GetMetalCoreVersion() string { // SwitchNic represents a front panel port and its configuration. type SwitchNic struct { state protoimpl.MessageState `protogen:"open.v1"` - // Name of the switch port + // Name of the switch port. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Identifier of the port + // Identifier of the port. Identifier string `protobuf:"bytes,2,opt,name=identifier,proto3" json:"identifier,omitempty"` - // MAC address of the port + // MAC address of the port. Mac string `protobuf:"bytes,3,opt,name=mac,proto3" json:"mac,omitempty"` - // VRF name if the port is bound in one + // VRF 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"` @@ -595,9 +595,9 @@ func (x *SwitchNic) GetBgpPortState() *SwitchBGPPortState { // BGPFilter can be used to restrict BGP based on CIDRs and VNIs. type BGPFilter struct { state protoimpl.MessageState `protogen:"open.v1"` - // CIDRs for which to allow BGP + // 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 for which to allow BGP. Vnis []string `protobuf:"bytes,2,rep,name=vnis,proto3" json:"vnis,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache diff --git a/go/metalstack/api/v2/tenant.pb.go b/go/metalstack/api/v2/tenant.pb.go index dbbc23d8..c4042a88 100644 --- a/go/metalstack/api/v2/tenant.pb.go +++ b/go/metalstack/api/v2/tenant.pb.go @@ -23,22 +23,22 @@ const ( _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) ) -// Tenant is a customer of the platform +// Tenant is a customer of the platform. type Tenant struct { state protoimpl.MessageState `protogen:"open.v1"` - // Login of the tenant + // Login of the tenant. Login string `protobuf:"bytes,1,opt,name=login,proto3" json:"login,omitempty"` - // Meta for this tenant + // Meta for this tenant. Meta *Meta `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta,omitempty"` - // Name of the tenant + // Name of the tenant. Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` - // Email of the tenant + // Email of the tenant. Email string `protobuf:"bytes,4,opt,name=email,proto3" json:"email,omitempty"` - // Description of this tenant + // Description of this tenant. Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` - // AvatarUrl of the tenant + // 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 stores who created this tenant. CreatedBy string `protobuf:"bytes,7,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -123,18 +123,18 @@ func (x *Tenant) GetCreatedBy() string { return "" } -// TenantMember defines a user that participates in a tenant +// TenantMember defines a user that participates in a tenant. type TenantMember struct { state protoimpl.MessageState `protogen:"open.v1"` - // Id is the user id of the member + // 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 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 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 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 for this tenant member. Meta *Meta `protobuf:"bytes,5,opt,name=meta,proto3" json:"meta,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -205,26 +205,26 @@ func (x *TenantMember) GetMeta() *Meta { return nil } -// TenantInvite defines invite to tenant +// TenantInvite defines invite to tenant. type TenantInvite struct { state protoimpl.MessageState `protogen:"open.v1"` - // Secret is the secret part of the invite, typically part of the url + // 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 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 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 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 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 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 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 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 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"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -323,10 +323,10 @@ func (x *TenantInvite) GetJoinedAt() *timestamppb.Timestamp { return nil } -// TenantServiceListRequest is the request payload of the tenant list request +// TenantServiceListRequest is the request payload of the tenant list request. type TenantServiceListRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // Query for tenants + // Query for tenants. Query *TenantQuery `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -369,16 +369,16 @@ func (x *TenantServiceListRequest) GetQuery() *TenantQuery { return nil } -// TenantQuery is used to search tenants +// TenantQuery is used to search tenants. type TenantQuery struct { state protoimpl.MessageState `protogen:"open.v1"` - // Id filters tenants by login + // Id filters tenants by login. Login *string `protobuf:"bytes,1,opt,name=login,proto3,oneof" json:"login,omitempty"` - // Name filters tenants by name + // 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 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 details for the list request. Paging *Paging `protobuf:"bytes,4,opt,name=paging,proto3" json:"paging,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -442,10 +442,10 @@ func (x *TenantQuery) GetPaging() *Paging { return nil } -// TenantServiceGetRequest is the request payload of the tenant get request +// TenantServiceGetRequest is the request payload of the tenant get request. type TenantServiceGetRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // Login of the tenant + // Login of the tenant. Login string `protobuf:"bytes,1,opt,name=login,proto3" json:"login,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -488,18 +488,18 @@ func (x *TenantServiceGetRequest) GetLogin() string { return "" } -// TenantServiceCreateRequest is the request payload of the tenant create request +// TenantServiceCreateRequest is the request payload of the tenant create request. type TenantServiceCreateRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // Name of this tenant + // Name of this tenant. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Description of this tenant + // 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 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 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 on the tenant. Labels *Labels `protobuf:"bytes,5,opt,name=labels,proto3" json:"labels,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -570,22 +570,22 @@ func (x *TenantServiceCreateRequest) GetLabels() *Labels { return nil } -// TenantServiceUpdateRequest is the request payload of the tenant update request +// TenantServiceUpdateRequest is the request payload of the tenant update request. type TenantServiceUpdateRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // Login of the tenant + // 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 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 of the tenant. Name *string `protobuf:"bytes,3,opt,name=name,proto3,oneof" json:"name,omitempty"` - // Email of the tenant + // Email of the tenant. Email *string `protobuf:"bytes,4,opt,name=email,proto3,oneof" json:"email,omitempty"` - // Description of this tenant + // Description of this tenant. Description *string `protobuf:"bytes,5,opt,name=description,proto3,oneof" json:"description,omitempty"` - // AvatarUrl of the tenant + // 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 on the tenant. Labels *UpdateLabels `protobuf:"bytes,7,opt,name=labels,proto3,oneof" json:"labels,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -670,10 +670,10 @@ func (x *TenantServiceUpdateRequest) GetLabels() *UpdateLabels { return nil } -// TenantServiceDeleteRequest is the request payload of the tenant delete request +// TenantServiceDeleteRequest is the request payload of the tenant delete request. type TenantServiceDeleteRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // Login of the tenant + // Login of the tenant. Login string `protobuf:"bytes,1,opt,name=login,proto3" json:"login,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -716,12 +716,12 @@ func (x *TenantServiceDeleteRequest) GetLogin() string { return "" } -// TenantServiceGetResponse is the response payload of the tenant get request +// TenantServiceGetResponse is the response payload of the tenant get request. type TenantServiceGetResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // Tenant is the tenant + // Tenant is the tenant. Tenant *Tenant `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"` - // TenantMembers of this tenant + // TenantMembers of this tenant. TenantMembers []*TenantMember `protobuf:"bytes,2,rep,name=tenant_members,json=tenantMembers,proto3" json:"tenant_members,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -771,10 +771,10 @@ func (x *TenantServiceGetResponse) GetTenantMembers() []*TenantMember { return nil } -// TenantServiceListResponse is the response payload of the tenant list request +// TenantServiceListResponse is the response payload of the tenant list request. type TenantServiceListResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // Tenants is the list of tenants + // Tenants is the list of tenants. Tenants []*Tenant `protobuf:"bytes,1,rep,name=tenants,proto3" json:"tenants,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -817,10 +817,10 @@ func (x *TenantServiceListResponse) GetTenants() []*Tenant { return nil } -// TenantServiceCreateResponse is the response payload of the tenant create request +// TenantServiceCreateResponse is the response payload of the tenant create request. type TenantServiceCreateResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // Tenant is the tenant + // Tenant is the tenant. Tenant *Tenant `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -863,10 +863,10 @@ func (x *TenantServiceCreateResponse) GetTenant() *Tenant { return nil } -// TenantServiceUpdateResponse is the response payload of the tenant update request +// TenantServiceUpdateResponse is the response payload of the tenant update request. type TenantServiceUpdateResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // Tenant is the tenant + // Tenant is the tenant. Tenant *Tenant `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -909,10 +909,10 @@ func (x *TenantServiceUpdateResponse) GetTenant() *Tenant { return nil } -// TenantServiceDeleteResponse is the response payload of the tenant delete request +// TenantServiceDeleteResponse is the response payload of the tenant delete request. type TenantServiceDeleteResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // Tenant is the tenant + // Tenant is the tenant. Tenant *Tenant `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -955,12 +955,12 @@ func (x *TenantServiceDeleteResponse) GetTenant() *Tenant { return nil } -// TenantServiceInviteRequest is used to invite a member to a tenant +// TenantServiceInviteRequest is used to invite a member to a tenant. type TenantServiceInviteRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // Login of the tenant + // Login of the tenant. Login string `protobuf:"bytes,1,opt,name=login,proto3" json:"login,omitempty"` - // Role of this user in this tenant + // Role of this user in this tenant. Role TenantRole `protobuf:"varint,2,opt,name=role,proto3,enum=metalstack.api.v2.TenantRole" json:"role,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -1010,12 +1010,10 @@ func (x *TenantServiceInviteRequest) GetRole() TenantRole { return TenantRole_TENANT_ROLE_UNSPECIFIED } -// TenantServiceInviteRequest is the response payload to a invite member request +// TenantServiceInviteRequest is the response payload to a invite member request. type TenantServiceInviteResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // Invite contains a secret which can be sent to a potential user - // can be appended to the invitation endpoint at our cloud console like - // console.metalstack.cloud/invite/ + // Invite contains a secret which can be sent to a potential user. Invite *TenantInvite `protobuf:"bytes,1,opt,name=invite,proto3" json:"invite,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -1058,10 +1056,10 @@ func (x *TenantServiceInviteResponse) GetInvite() *TenantInvite { return nil } -// TenantServiceInvitesListRequest is the request payload to a list invites request +// TenantServiceInvitesListRequest is the request payload to a list invites request. type TenantServiceInvitesListRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // Login of the tenant + // Login of the tenant. Login string `protobuf:"bytes,1,opt,name=login,proto3" json:"login,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -1104,10 +1102,10 @@ func (x *TenantServiceInvitesListRequest) GetLogin() string { return "" } -// TenantServiceInvitesListResponse is the response payload to a list invites request +// TenantServiceInvitesListResponse is the response payload to a list invites request. type TenantServiceInvitesListResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // Invites that have not yet accepted the invitation to this tenant + // Invites that have not yet accepted the invitation to this tenant. Invites []*TenantInvite `protobuf:"bytes,1,rep,name=invites,proto3" json:"invites,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -1150,10 +1148,10 @@ func (x *TenantServiceInvitesListResponse) GetInvites() []*TenantInvite { return nil } -// TenantServiceInviteGetRequest is the request payload to get a invite +// TenantServiceInviteGetRequest is the request payload to get a invite. type TenantServiceInviteGetRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // Secret of the invite to get + // Secret of the invite to get. Secret string `protobuf:"bytes,1,opt,name=secret,proto3" json:"secret,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -1196,10 +1194,10 @@ func (x *TenantServiceInviteGetRequest) GetSecret() string { return "" } -// TenantServiceInviteGetResponse is the response payload to a get invite request +// TenantServiceInviteGetResponse is the response payload to a get invite request. type TenantServiceInviteGetResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // Invite is the invite + // Invite is the invite. Invite *TenantInvite `protobuf:"bytes,1,opt,name=invite,proto3" json:"invite,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -1242,12 +1240,12 @@ func (x *TenantServiceInviteGetResponse) GetInvite() *TenantInvite { return nil } -// TenantServiceRemoveMemberRequest is used to remove a member from a tenant +// TenantServiceRemoveMemberRequest is used to remove a member from a tenant. type TenantServiceRemoveMemberRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // Login of the tenant + // 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 is the id of the member to remove from this tenant. Member string `protobuf:"bytes,2,opt,name=member,proto3" json:"member,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -1297,10 +1295,10 @@ func (x *TenantServiceRemoveMemberRequest) GetMember() string { return "" } -// TenantServiceLeaveTenantRequest is used to leave a tenant +// TenantServiceLeaveTenantRequest is used to leave a tenant. type TenantServiceLeaveRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // Login of the tenant + // Login of the tenant. Login string `protobuf:"bytes,1,opt,name=login,proto3" json:"login,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -1343,7 +1341,7 @@ func (x *TenantServiceLeaveRequest) GetLogin() string { return "" } -// TenantServiceLeaveTenantResponse is the response payload to a leave tenant request +// TenantServiceLeaveTenantResponse is the response payload to a leave tenant request. type TenantServiceLeaveResponse struct { state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields @@ -1380,10 +1378,10 @@ func (*TenantServiceLeaveResponse) Descriptor() ([]byte, []int) { return file_metalstack_api_v2_tenant_proto_rawDescGZIP(), []int{22} } -// TenantServiceRemoveMemberResponse is the response payload to a remove member request +// TenantServiceRemoveMemberResponse is the response payload to a remove member request. type TenantServiceRemoveMemberResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // TenantMember is the removed tenant member + // TenantMember is the removed tenant member. TenantMember *TenantMember `protobuf:"bytes,1,opt,name=tenant_member,json=tenantMember,proto3" json:"tenant_member,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -1426,10 +1424,10 @@ func (x *TenantServiceRemoveMemberResponse) GetTenantMember() *TenantMember { return nil } -// TenantServiceInviteAcceptRequest is the request payload to a accept invite request +// TenantServiceInviteAcceptRequest is the request payload to a accept invite request. type TenantServiceInviteAcceptRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // Secret is the invitation secret part of the invitation url + // Secret is the invitation secret part of the invitation url. Secret string `protobuf:"bytes,1,opt,name=secret,proto3" json:"secret,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -1472,12 +1470,12 @@ func (x *TenantServiceInviteAcceptRequest) GetSecret() string { return "" } -// TenantServiceInviteAcceptResponse is the response payload to a accept invite request +// TenantServiceInviteAcceptResponse is the response payload to a accept invite request. type TenantServiceInviteAcceptResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // Tenant ID of the joined tenant + // Tenant ID of the joined tenant. Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"` - // TenantName of the joined tenant + // TenantName of the joined tenant. TenantName string `protobuf:"bytes,2,opt,name=tenant_name,json=tenantName,proto3" json:"tenant_name,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -1527,12 +1525,12 @@ func (x *TenantServiceInviteAcceptResponse) GetTenantName() string { return "" } -// TenantServiceInviteDeleteRequest is the request payload to a delete invite +// TenantServiceInviteDeleteRequest is the request payload to a delete invite. type TenantServiceInviteDeleteRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // Login of the tenant + // Login of the tenant. Login string `protobuf:"bytes,1,opt,name=login,proto3" json:"login,omitempty"` - // Secret of the invite to delete + // Secret of the invite to delete. Secret string `protobuf:"bytes,2,opt,name=secret,proto3" json:"secret,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -1582,7 +1580,7 @@ func (x *TenantServiceInviteDeleteRequest) GetSecret() string { return "" } -// TenantServiceInviteDeleteResponse is the response payload of a delete invite request +// TenantServiceInviteDeleteResponse is the response payload of a delete invite request. type TenantServiceInviteDeleteResponse struct { state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields @@ -1619,14 +1617,14 @@ func (*TenantServiceInviteDeleteResponse) Descriptor() ([]byte, []int) { return file_metalstack_api_v2_tenant_proto_rawDescGZIP(), []int{27} } -// TenantServiceAddMemberRequest is the request payload for adding a member to a tenant +// TenantServiceAddMemberRequest is the request payload for adding a member to a tenant. type TenantServiceAddMemberRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // Login of the tenant to which the member will be added + // 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 + // 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 to assign to the new member. Role TenantRole `protobuf:"varint,3,opt,name=role,proto3,enum=metalstack.api.v2.TenantRole" json:"role,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -1683,10 +1681,10 @@ func (x *TenantServiceAddMemberRequest) GetRole() TenantRole { return TenantRole_TENANT_ROLE_UNSPECIFIED } -// TenantServiceAddMemberResponse is the response payload for the add member request +// TenantServiceAddMemberResponse is the response payload for the add member request. type TenantServiceAddMemberResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // TenantMember is the added tenant member + // TenantMember is the added tenant member. TenantMember *TenantMember `protobuf:"bytes,1,opt,name=tenant_member,json=tenantMember,proto3" json:"tenant_member,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -1729,14 +1727,14 @@ func (x *TenantServiceAddMemberResponse) GetTenantMember() *TenantMember { return nil } -// TenantServiceUpdateMemberRequest is used to update a member from a tenant +// TenantServiceUpdateMemberRequest is used to update a member from a tenant. type TenantServiceUpdateMemberRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // Login of the tenant + // 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 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 of this user in this tenant. Role TenantRole `protobuf:"varint,3,opt,name=role,proto3,enum=metalstack.api.v2.TenantRole" json:"role,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -1793,10 +1791,10 @@ func (x *TenantServiceUpdateMemberRequest) GetRole() TenantRole { return TenantRole_TENANT_ROLE_UNSPECIFIED } -// TenantServiceUpdateMemberResponse is the response payload to a update member request +// TenantServiceUpdateMemberResponse is the response payload to a update member request. type TenantServiceUpdateMemberResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // TenantMember is the updated membership + // TenantMember is the updated membership. TenantMember *TenantMember `protobuf:"bytes,1,opt,name=tenant_member,json=tenantMember,proto3" json:"tenant_member,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache diff --git a/go/metalstack/api/v2/token.pb.go b/go/metalstack/api/v2/token.pb.go index 9e1f756f..e27ada89 100644 --- a/go/metalstack/api/v2/token.pb.go +++ b/go/metalstack/api/v2/token.pb.go @@ -24,13 +24,13 @@ const ( _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) ) -// TokenType specifies different use cases of tokens +// TokenType specifies different use cases of tokens. type TokenType int32 const ( - // TOKEN_TYPE_UNSPECIFIED is not specified + // TOKEN_TYPE_UNSPECIFIED is not specified. TokenType_TOKEN_TYPE_UNSPECIFIED TokenType = 0 - // TOKEN_TYPE_API is a token for api usage + // 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 @@ -77,12 +77,12 @@ func (TokenType) EnumDescriptor() ([]byte, []int) { return file_metalstack_api_v2_token_proto_rawDescGZIP(), []int{0} } -// Token generates a jwt authentication token to access the api +// Token generates a jwt authentication token to access the api. // -// # There are two different types of tokens, api- and user- tokens +// 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 +// 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. @@ -91,32 +91,32 @@ func (TokenType) EnumDescriptor() ([]byte, []int) { // In contrast to a user token, the api token permissions and roles apply as configured during the token create process. type Token struct { state protoimpl.MessageState `protogen:"open.v1"` - // Uuid of the jwt token, used to reference it by revoke + // 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 who created this token. User string `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` - // Meta for this token + // 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 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 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 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 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 associates a project id with the corresponding role of the token owner. ProjectRoles map[string]ProjectRole `protobuf:"bytes,9,rep,name=project_roles,json=projectRoles,proto3" json:"project_roles,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value,enum=metalstack.api.v2.ProjectRole"` - // TenantRoles associates a tenant id with the corresponding role of the token owner + // TenantRoles associates a tenant id with the corresponding role of the token owner. TenantRoles map[string]TenantRole `protobuf:"bytes,10,rep,name=tenant_roles,json=tenantRoles,proto3" json:"tenant_roles,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value,enum=metalstack.api.v2.TenantRole"` - // AdminRole defines the admin role of the token owner + // AdminRole defines the admin role of the token owner. AdminRole *AdminRole `protobuf:"varint,11,opt,name=admin_role,json=adminRole,proto3,enum=metalstack.api.v2.AdminRole,oneof" json:"admin_role,omitempty"` - // InfraRole defines the infrastructure role of the token owner + // InfraRole defines the infrastructure role of the token owner. InfraRole *InfraRole `protobuf:"varint,12,opt,name=infra_role,json=infraRole,proto3,enum=metalstack.api.v2.InfraRole,oneof" json:"infra_role,omitempty"` - // 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 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 `protobuf:"bytes,13,rep,name=machine_roles,json=machineRoles,proto3" json:"machine_roles,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value,enum=metalstack.api.v2.MachineRole"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -243,26 +243,26 @@ func (x *Token) GetMachineRoles() map[string]MachineRole { return nil } -// TokenServiceCreateRequest is the request payload to create a token +// TokenServiceCreateRequest is the request payload to create a token. type TokenServiceCreateRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // Description of the token + // 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 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 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 associates a project id with the corresponding role of the token owner. ProjectRoles map[string]ProjectRole `protobuf:"bytes,4,rep,name=project_roles,json=projectRoles,proto3" json:"project_roles,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value,enum=metalstack.api.v2.ProjectRole"` - // TenantRoles associates a tenant id with the corresponding role of the token owner + // TenantRoles associates a tenant id with the corresponding role of the token owner. TenantRoles map[string]TenantRole `protobuf:"bytes,5,rep,name=tenant_roles,json=tenantRoles,proto3" json:"tenant_roles,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value,enum=metalstack.api.v2.TenantRole"` - // AdminRole defines the admin role of the token owner + // AdminRole defines the admin role of the token owner. AdminRole *AdminRole `protobuf:"varint,6,opt,name=admin_role,json=adminRole,proto3,enum=metalstack.api.v2.AdminRole,oneof" json:"admin_role,omitempty"` - // InfraRole defines the infrastructure role of the token owner + // InfraRole defines the infrastructure role of the token owner. InfraRole *InfraRole `protobuf:"varint,7,opt,name=infra_role,json=infraRole,proto3,enum=metalstack.api.v2.InfraRole,oneof" json:"infra_role,omitempty"` - // MachineRoles associates a machine uuid with the corresponding role of the token owner + // MachineRoles associates a machine uuid with the corresponding role of the token owner. MachineRoles map[string]MachineRole `protobuf:"bytes,8,rep,name=machine_roles,json=machineRoles,proto3" json:"machine_roles,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value,enum=metalstack.api.v2.MachineRole"` - // Labels on this token + // Labels on this token. Labels *Labels `protobuf:"bytes,9,opt,name=labels,proto3" json:"labels,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -361,17 +361,16 @@ func (x *TokenServiceCreateRequest) GetLabels() *Labels { return nil } -// MethodPermission is a mapping from a subject/project to a service method +// MethodPermission is a mapping from a subject/project to a service method. type MethodPermission struct { state protoimpl.MessageState `protogen:"open.v1"` - // Subject maybe either the project or the tenant - // for which the methods should be allowed + // 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 + // 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 which should be accessible. Methods []string `protobuf:"bytes,2,rep,name=methods,proto3" json:"methods,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -421,10 +420,10 @@ func (x *MethodPermission) GetMethods() []string { return nil } -// PermissionsByVisibility contains method permissions by visibility +// PermissionsByVisibility contains method permissions by visibility. type PermissionsByVisibility struct { state protoimpl.MessageState `protogen:"open.v1"` - // Visibility defines the visibility of the requested method permissions + // Visibility defines the visibility of the requested method permissions. // // Types that are valid to be assigned to Visibility: // @@ -545,37 +544,37 @@ type isPermissionsByVisibility_Visibility interface { } type PermissionsByVisibility_Public struct { - // PublicPermissions carries public method permissions + // PublicPermissions carries public method permissions. Public *PublicPermissions `protobuf:"bytes,1,opt,name=public,proto3,oneof"` } type PermissionsByVisibility_Self struct { - // SelfPermissions carries self method permissions + // SelfPermissions carries self method permissions. Self *SelfPermissions `protobuf:"bytes,2,opt,name=self,proto3,oneof"` } type PermissionsByVisibility_Project struct { - // ProjectPermissions carries project method permissions + // ProjectPermissions carries project method permissions. Project *ProjectPermissions `protobuf:"bytes,3,opt,name=project,proto3,oneof"` } type PermissionsByVisibility_Tenant struct { - // TenantPermissions carries tenant method permissions + // TenantPermissions carries tenant method permissions. Tenant *TenantPermissions `protobuf:"bytes,4,opt,name=tenant,proto3,oneof"` } type PermissionsByVisibility_Admin struct { - // AdminPermissions carries admin method permissions + // AdminPermissions carries admin method permissions. Admin *AdminPermissions `protobuf:"bytes,5,opt,name=admin,proto3,oneof"` } type PermissionsByVisibility_Machine struct { - // MachinePermissions carries machine method permissions + // MachinePermissions carries machine method permissions. Machine *MachinePermissions `protobuf:"bytes,6,opt,name=machine,proto3,oneof"` } type PermissionsByVisibility_Infra struct { - // InfraPermissions carries infra method permissions + // InfraPermissions carries infra method permissions. Infra *InfraPermissions `protobuf:"bytes,7,opt,name=infra,proto3,oneof"` } @@ -593,10 +592,10 @@ func (*PermissionsByVisibility_Machine) isPermissionsByVisibility_Visibility() { func (*PermissionsByVisibility_Infra) isPermissionsByVisibility_Visibility() {} -// PublicPermissions carries public method permissions +// PublicPermissions carries public method permissions. type PublicPermissions struct { state protoimpl.MessageState `protogen:"open.v1"` - // Methods which should be accessible + // Methods which should be accessible. Methods []string `protobuf:"bytes,2,rep,name=methods,proto3" json:"methods,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -639,10 +638,10 @@ func (x *PublicPermissions) GetMethods() []string { return nil } -// SelfPermissions carries self method permissions +// SelfPermissions carries self method permissions. type SelfPermissions struct { state protoimpl.MessageState `protogen:"open.v1"` - // Methods which should be accessible + // Methods which should be accessible. Methods []string `protobuf:"bytes,2,rep,name=methods,proto3" json:"methods,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -685,12 +684,13 @@ func (x *SelfPermissions) GetMethods() []string { return nil } -// ProjectPermissions carries project method permissions +// ProjectPermissions carries project method permissions. type ProjectPermissions struct { state protoimpl.MessageState `protogen:"open.v1"` - // asterisk (*) can be specified to match any subject + // 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 which should be accessible. Methods []string `protobuf:"bytes,2,rep,name=methods,proto3" json:"methods,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -740,13 +740,13 @@ func (x *ProjectPermissions) GetMethods() []string { return nil } -// TenantPermissions carries tenant method permissions +// TenantPermissions carries tenant method permissions. type TenantPermissions struct { state protoimpl.MessageState `protogen:"open.v1"` - // Login of the tenant - // asterisk (*) can be specified to match any subject + // 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 which should be accessible. Methods []string `protobuf:"bytes,2,rep,name=methods,proto3" json:"methods,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -796,10 +796,10 @@ func (x *TenantPermissions) GetMethods() []string { return nil } -// AdminPermissions carries admin method permissions +// AdminPermissions carries admin method permissions. type AdminPermissions struct { state protoimpl.MessageState `protogen:"open.v1"` - // Methods which should be accessible + // Methods which should be accessible. Methods []string `protobuf:"bytes,2,rep,name=methods,proto3" json:"methods,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -842,13 +842,13 @@ func (x *AdminPermissions) GetMethods() []string { return nil } -// MachinePermissions carries machine method permissions +// MachinePermissions carries machine method permissions. type MachinePermissions struct { state protoimpl.MessageState `protogen:"open.v1"` - // UUID of this machine - // asterisk (*) can be specified to match any subject + // 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 which should be accessible. Methods []string `protobuf:"bytes,2,rep,name=methods,proto3" json:"methods,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -898,10 +898,10 @@ func (x *MachinePermissions) GetMethods() []string { return nil } -// InfraPermissions carries infra method permissions +// InfraPermissions carries infra method permissions. type InfraPermissions struct { state protoimpl.MessageState `protogen:"open.v1"` - // Methods which should be accessible + // Methods which should be accessible. Methods []string `protobuf:"bytes,2,rep,name=methods,proto3" json:"methods,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -944,12 +944,12 @@ func (x *InfraPermissions) GetMethods() []string { return nil } -// TokenServiceCreateResponse is the response payload of a token create request +// TokenServiceCreateResponse is the response payload of a token create request. type TokenServiceCreateResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // Token which was created + // 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 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"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -999,10 +999,10 @@ func (x *TokenServiceCreateResponse) GetSecret() string { return "" } -// TokenServiceListRequest is the request payload to list tokens +// TokenServiceListRequest is the request payload to list tokens. type TokenServiceListRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // Query for tokens + // Query for tokens. Query *TokenQuery `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -1045,10 +1045,10 @@ func (x *TokenServiceListRequest) GetQuery() *TokenQuery { return nil } -// TokenServiceListResponse is the response payload of a token list request +// TokenServiceListResponse is the response payload of a token list request. type TokenServiceListResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // Tokens is a list of tokens without the secrets + // Tokens is a list of tokens without the secrets. Tokens []*Token `protobuf:"bytes,1,rep,name=tokens,proto3" json:"tokens,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -1091,10 +1091,10 @@ func (x *TokenServiceListResponse) GetTokens() []*Token { return nil } -// TokenServiceRevokeRequest is the request payload of a token revoke request +// TokenServiceRevokeRequest is the request payload of a token revoke request. type TokenServiceRevokeRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // Uuid of the token to revoke + // Uuid of the token to revoke. Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -1137,7 +1137,7 @@ func (x *TokenServiceRevokeRequest) GetUuid() string { return "" } -// TokenServiceRevokeResponse is the response payload of a token revoke request +// TokenServiceRevokeResponse is the response payload of a token revoke request. type TokenServiceRevokeResponse struct { state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields @@ -1174,29 +1174,29 @@ func (*TokenServiceRevokeResponse) Descriptor() ([]byte, []int) { return file_metalstack_api_v2_token_proto_rawDescGZIP(), []int{15} } -// TokenServiceUpdateRequest is the request payload of a token update request +// TokenServiceUpdateRequest is the request payload of a token update request. type TokenServiceUpdateRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // Uuid of the token to update + // 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 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 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 associates a project id with the corresponding role of the token owner. ProjectRoles map[string]ProjectRole `protobuf:"bytes,5,rep,name=project_roles,json=projectRoles,proto3" json:"project_roles,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value,enum=metalstack.api.v2.ProjectRole"` - // TenantRoles associates a tenant id with the corresponding role of the token owner + // TenantRoles associates a tenant id with the corresponding role of the token owner. TenantRoles map[string]TenantRole `protobuf:"bytes,6,rep,name=tenant_roles,json=tenantRoles,proto3" json:"tenant_roles,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value,enum=metalstack.api.v2.TenantRole"` - // AdminRole defines the admin role of the token owner + // AdminRole defines the admin role of the token owner. AdminRole *AdminRole `protobuf:"varint,7,opt,name=admin_role,json=adminRole,proto3,enum=metalstack.api.v2.AdminRole,oneof" json:"admin_role,omitempty"` - // InfraRole defines the infrastructure role of the token owner + // InfraRole defines the infrastructure role of the token owner. InfraRole *InfraRole `protobuf:"varint,8,opt,name=infra_role,json=infraRole,proto3,enum=metalstack.api.v2.InfraRole,oneof" json:"infra_role,omitempty"` - // MachineRoles associates a machine uuid with the corresponding role of the token owner + // MachineRoles associates a machine uuid with the corresponding role of the token owner. MachineRoles map[string]MachineRole `protobuf:"bytes,9,rep,name=machine_roles,json=machineRoles,proto3" json:"machine_roles,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value,enum=metalstack.api.v2.MachineRole"` - // Labels on this token + // Labels on this token. Labels *UpdateLabels `protobuf:"bytes,10,opt,name=labels,proto3" json:"labels,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -1302,10 +1302,10 @@ func (x *TokenServiceUpdateRequest) GetLabels() *UpdateLabels { return nil } -// TokenServiceUpdateResponse is the response payload of a token update request +// TokenServiceUpdateResponse is the response payload of a token update request. type TokenServiceUpdateResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // Token is the updated token + // Token is the updated token. Token *Token `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -1348,10 +1348,10 @@ func (x *TokenServiceUpdateResponse) GetToken() *Token { return nil } -// TokenServiceGetRequest is the request payload of a token get request +// TokenServiceGetRequest is the request payload of a token get request. type TokenServiceGetRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // Uuid of the token to get + // Uuid of the token to get. Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -1394,10 +1394,10 @@ func (x *TokenServiceGetRequest) GetUuid() string { return "" } -// TokenServiceGetResponse is the response payload of a token get request +// TokenServiceGetResponse is the response payload of a token get request. type TokenServiceGetResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // Token is the token + // Token is the token. Token *Token `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -1440,9 +1440,9 @@ func (x *TokenServiceGetResponse) GetToken() *Token { return nil } -// TokenServiceRefreshRequest is the request payload of a token refresh request +// 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) +// The expiration duration will be calculated from the existing token (exp - iat). type TokenServiceRefreshRequest struct { state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields @@ -1479,12 +1479,12 @@ func (*TokenServiceRefreshRequest) Descriptor() ([]byte, []int) { return file_metalstack_api_v2_token_proto_rawDescGZIP(), []int{20} } -// TokenServiceRefreshResponse is the response payload of a token refresh request +// TokenServiceRefreshResponse is the response payload of a token refresh request. type TokenServiceRefreshResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // Token which was refreshed + // 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 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"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -1534,19 +1534,19 @@ func (x *TokenServiceRefreshResponse) GetSecret() string { return "" } -// TokenQuery is used to search tokens +// TokenQuery is used to search tokens. type TokenQuery struct { state protoimpl.MessageState `protogen:"open.v1"` - // UUID of the token to get + // 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 + // 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 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 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 + // Token type of the token to query. TokenType *TokenType `protobuf:"varint,5,opt,name=token_type,json=tokenType,proto3,enum=metalstack.api.v2.TokenType,oneof" json:"token_type,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache diff --git a/go/metalstack/api/v2/user.pb.go b/go/metalstack/api/v2/user.pb.go index 3ae540c5..700263f4 100644 --- a/go/metalstack/api/v2/user.pb.go +++ b/go/metalstack/api/v2/user.pb.go @@ -25,19 +25,19 @@ const ( // User represents an end user of the platform. type User struct { state protoimpl.MessageState `protogen:"open.v1"` - // Login is the login at the provider + // Login is the login at the provider. Login string `protobuf:"bytes,1,opt,name=login,proto3" json:"login,omitempty"` - // Name of the user + // Name of the user. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - // Email of the user + // Email of the user. Email string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"` - // AvatarUrl of the user + // 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 the user belongs to. Tenants []*Tenant `protobuf:"bytes,5,rep,name=tenants,proto3" json:"tenants,omitempty"` - // Projects the user belongs to + // 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 the default tenant that this user belongs to. DefaultTenant *Tenant `protobuf:"bytes,7,opt,name=default_tenant,json=defaultTenant,proto3" json:"default_tenant,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -162,7 +162,7 @@ func (*UserServiceGetRequest) Descriptor() ([]byte, []int) { // UserServiceGetResponse is the response payload for getting the user. type UserServiceGetResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // User contains the authenticated user + // User contains the authenticated user. User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache diff --git a/go/metalstack/api/v2/version.pb.go b/go/metalstack/api/v2/version.pb.go index c994a555..c2f64d8b 100644 --- a/go/metalstack/api/v2/version.pb.go +++ b/go/metalstack/api/v2/version.pb.go @@ -25,13 +25,13 @@ const ( // Version represents the version of the application. type Version struct { state protoimpl.MessageState `protogen:"open.v1"` - // Version of the application + // Version of the application. Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` - // Revision of the application + // Revision of the application. Revision string `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` - // GitSHA1 of the application + // 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 of the application. BuildDate string `protobuf:"bytes,4,opt,name=build_date,json=buildDate,proto3" json:"build_date,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -135,7 +135,7 @@ func (*VersionServiceGetRequest) Descriptor() ([]byte, []int) { // VersionServiceGetResponse is the response payload for getting the version. type VersionServiceGetResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // Version contains the version of the application + // Version contains the version of the application. Version *Version `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache diff --git a/go/metalstack/api/v2/vpn.pb.go b/go/metalstack/api/v2/vpn.pb.go index e9058277..0428ff88 100644 --- a/go/metalstack/api/v2/vpn.pb.go +++ b/go/metalstack/api/v2/vpn.pb.go @@ -26,17 +26,17 @@ const ( // VPNNode represents a machine connected to the VPN. type VPNNode struct { state protoimpl.MessageState `protogen:"open.v1"` - // ID of this node + // ID of this node. Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` - // Name of this node + // 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 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 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 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 indicates if this node is online. Online bool `protobuf:"varint,6,opt,name=online,proto3" json:"online,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache diff --git a/go/metalstack/infra/v2/bmc.pb.go b/go/metalstack/infra/v2/bmc.pb.go index ca32240a..d05c3d00 100644 --- a/go/metalstack/infra/v2/bmc.pb.go +++ b/go/metalstack/infra/v2/bmc.pb.go @@ -26,9 +26,9 @@ const ( // UpdateBMCInfoRequest is the request payload for updating BMC information. type UpdateBMCInfoRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // Partition is the partition ID where metal-bmc wants to receive events + // Partition is the partition ID where metal-bmc wants to receive events. Partition string `protobuf:"bytes,1,opt,name=partition,proto3" json:"partition,omitempty"` - // BmcReports maps the BMC report per machine UUID + // BmcReports maps the BMC report per machine UUID. BmcReports map[string]*v2.MachineBMCReport `protobuf:"bytes,2,rep,name=bmc_reports,json=bmcReports,proto3" json:"bmc_reports,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -81,9 +81,9 @@ func (x *UpdateBMCInfoRequest) GetBmcReports() map[string]*v2.MachineBMCReport { // UpdateBMCInfoResponse is the response payload for updating BMC information. type UpdateBMCInfoResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // UpdatedMachines is a slice of machine UUIDs which were updated + // UpdatedMachines is a slice of machine UUIDs which were updated. UpdatedMachines []string `protobuf:"bytes,1,rep,name=updated_machines,json=updatedMachines,proto3" json:"updated_machines,omitempty"` - // CreatedMachines is a slice of machine UUIDs which were created + // CreatedMachines is a slice of machine UUIDs which were created. CreatedMachines []string `protobuf:"bytes,2,rep,name=created_machines,json=createdMachines,proto3" json:"created_machines,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -136,7 +136,7 @@ func (x *UpdateBMCInfoResponse) GetCreatedMachines() []string { // WaitForBMCCommandRequest is the request payload for waiting for a BMC command. type WaitForBMCCommandRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // Partition is the partition ID where metal-bmc wants to receive BMC commands + // Partition is the partition ID where metal-bmc wants to receive BMC commands. Partition string `protobuf:"bytes,1,opt,name=partition,proto3" json:"partition,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -182,14 +182,14 @@ func (x *WaitForBMCCommandRequest) GetPartition() string { // WaitForBMCCommandResponse is the response payload for waiting for a BMC command. type WaitForBMCCommandResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // UUID of the machine to send the command to + // UUID of the machine to send the command to. Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` - // BmcCommand to execute against the BMC of the machine + // BmcCommand to execute against the BMC of the machine. BmcCommand v2.MachineBMCCommand `protobuf:"varint,2,opt,name=bmc_command,json=bmcCommand,proto3,enum=metalstack.api.v2.MachineBMCCommand" json:"bmc_command,omitempty"` - // MachineBmc contains connection details of the machine to issue the BMC command to + // MachineBmc contains connection details of the machine to issue the BMC command to. MachineBmc *v2.MachineBMC `protobuf:"bytes,3,opt,name=machine_bmc,json=machineBmc,proto3" json:"machine_bmc,omitempty"` - // CommandId is a unique ID which must be sent back after execution - // It is usually in the form: :machine-bmc-command: + // CommandId is a unique ID which must be sent back after execution. + // It is usually in the form: :machine-bmc-command:. CommandId string `protobuf:"bytes,4,opt,name=command_id,json=commandId,proto3" json:"command_id,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -256,10 +256,10 @@ func (x *WaitForBMCCommandResponse) GetCommandId() string { // BMCCommandDoneRequest must be returned after command execution. type BMCCommandDoneRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // CommandId is a unique ID which must be sent back after execution - // It is usually in the form: :machine-bmc-command + // CommandId is a unique ID which must be sent back after execution. + // It is usually in the form: :machine-bmc-command. CommandId string `protobuf:"bytes,1,opt,name=command_id,json=commandId,proto3" json:"command_id,omitempty"` - // Error of the command execution, nil if it was successful + // Error of the command execution, nil if it was successful. Error *string `protobuf:"bytes,2,opt,name=error,proto3,oneof" json:"error,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache diff --git a/go/metalstack/infra/v2/boot.pb.go b/go/metalstack/infra/v2/boot.pb.go index 32efb3a0..0f20aa42 100644 --- a/go/metalstack/infra/v2/boot.pb.go +++ b/go/metalstack/infra/v2/boot.pb.go @@ -23,12 +23,12 @@ const ( _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) ) -// BootServiceDhcpRequest is called once a machine issues a dhcp request +// BootServiceDhcpRequest is called once a machine issues a dhcp request. type BootServiceDhcpRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // UUID of the machine + // UUID of the machine. Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` - // Partition where this machine is located + // Partition where this machine is located. Partition string `protobuf:"bytes,2,opt,name=partition,proto3" json:"partition,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -78,7 +78,7 @@ func (x *BootServiceDhcpRequest) GetPartition() string { return "" } -// BootServiceDhcpResponse contains the response to a dhcp request +// BootServiceDhcpResponse contains the response to a dhcp request. type BootServiceDhcpResponse struct { state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields @@ -115,12 +115,12 @@ func (*BootServiceDhcpResponse) Descriptor() ([]byte, []int) { return file_metalstack_infra_v2_boot_proto_rawDescGZIP(), []int{1} } -// BootServiceBootRequest is called to get specified parameters to boot a machine with the given mac +// BootServiceBootRequest is called to get specified parameters to boot a machine with the given mac. type BootServiceBootRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // Mac address of the machine + // Mac address of the machine. Mac string `protobuf:"bytes,1,opt,name=mac,proto3" json:"mac,omitempty"` - // Partition where this machine is located + // Partition where this machine is located. Partition string `protobuf:"bytes,2,opt,name=partition,proto3" json:"partition,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -170,14 +170,14 @@ func (x *BootServiceBootRequest) GetPartition() string { return "" } -// BootServiceBootResponse contains additional infos which are required to boot a machine +// BootServiceBootResponse contains additional infos which are required to boot a machine. type BootServiceBootResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // Kernel is the url to the linux kernel to boot + // Kernel is the url to the linux kernel to boot. Kernel string `protobuf:"bytes,1,opt,name=kernel,proto3" json:"kernel,omitempty"` - // Initial ram disk is the url to the initial ram disk to boot + // Initial ram disk is the url to the initial ram disk to boot. InitRamDisks []string `protobuf:"bytes,2,rep,name=init_ram_disks,json=initRamDisks,proto3" json:"init_ram_disks,omitempty"` - // CMDLine contains kernel command line parameters to boot + // CMDLine contains kernel command line parameters to boot. Cmdline *string `protobuf:"bytes,3,opt,name=cmdline,proto3,oneof" json:"cmdline,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -234,24 +234,24 @@ func (x *BootServiceBootResponse) GetCmdline() string { return "" } -// BootServiceRegisterRequest is called from metal-hammer to register a machine with as much hardware details as possible +// BootServiceRegisterRequest is called from metal-hammer to register a machine with as much hardware details as possible. type BootServiceRegisterRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // UUID of this machine + // UUID of this machine. Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` - // Hardware details of this machine + // Hardware details of this machine. Hardware *v2.MachineHardware `protobuf:"bytes,2,opt,name=hardware,proto3" json:"hardware,omitempty"` - // Bios details of this machine + // Bios details of this machine. Bios *v2.MachineBios `protobuf:"bytes,3,opt,name=bios,proto3" json:"bios,omitempty"` - // BMC details of this machine + // BMC details of this machine. Bmc *v2.MachineBMC `protobuf:"bytes,4,opt,name=bmc,proto3" json:"bmc,omitempty"` - // FRU details of this machine + // FRU details of this machine. Fru *v2.MachineFRU `protobuf:"bytes,5,opt,name=fru,proto3" json:"fru,omitempty"` - // Tags of this machine + // Tags of this machine. Tags []string `protobuf:"bytes,6,rep,name=tags,proto3" json:"tags,omitempty"` - // MetalHammer version this machine was booted into + // MetalHammer version this machine was booted into. MetalHammerVersion string `protobuf:"bytes,7,opt,name=metal_hammer_version,json=metalHammerVersion,proto3" json:"metal_hammer_version,omitempty"` - // Partition where this machine is located + // Partition where this machine is located. Partition string `protobuf:"bytes,8,opt,name=partition,proto3" json:"partition,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -343,14 +343,14 @@ func (x *BootServiceRegisterRequest) GetPartition() string { return "" } -// BootServiceRegisterResponse response to a BootServiceRegisterResponse request +// BootServiceRegisterResponse response to a BootServiceRegisterResponse request. type BootServiceRegisterResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // UUID of this machine + // UUID of this machine. Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` - // Size is the calculated size from given hardware details + // Size is the calculated size from given hardware details. Size string `protobuf:"bytes,2,opt,name=size,proto3" json:"size,omitempty"` - // Partition of this machine + // Partition of this machine. Partition string `protobuf:"bytes,3,opt,name=partition,proto3" json:"partition,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -407,10 +407,10 @@ func (x *BootServiceRegisterResponse) GetPartition() string { return "" } -// BootServiceWaitRequest is called when a machine was registered and is waiting for allocation +// BootServiceWaitRequest is called when a machine was registered and is waiting for allocation. type BootServiceWaitRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // UUID of this machine + // UUID of this machine. Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -453,10 +453,10 @@ func (x *BootServiceWaitRequest) GetUuid() string { return "" } -// BootServiceWaitResponse response to a wait request +// BootServiceWaitResponse response to a wait request. type BootServiceWaitResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // Allocation contains the machine.allocation to actually install the machine + // Allocation contains the machine.allocation to actually install the machine. Allocation *v2.MachineAllocation `protobuf:"bytes,1,opt,name=allocation,proto3" json:"allocation,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -499,12 +499,12 @@ func (x *BootServiceWaitResponse) GetAllocation() *v2.MachineAllocation { return nil } -// BootServiceInstallationSucceededRequest is sent from metal-hammer to the api to report the installation succeeded +// BootServiceInstallationSucceededRequest is sent from metal-hammer to the api to report the installation succeeded. type BootServiceInstallationSucceededRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // UUID of the machine to boot + // UUID of the machine to boot. Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` - // ConsolePassword + // ConsolePassword. ConsolePassword string `protobuf:"bytes,2,opt,name=console_password,json=consolePassword,proto3" json:"console_password,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -554,7 +554,7 @@ func (x *BootServiceInstallationSucceededRequest) GetConsolePassword() string { return "" } -// BootServiceInstallationSucceededResponse is the response to a BootServiceInstallationSucceededRequest +// BootServiceInstallationSucceededResponse is the response to a BootServiceInstallationSucceededRequest. type BootServiceInstallationSucceededResponse struct { state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields @@ -591,10 +591,10 @@ func (*BootServiceInstallationSucceededResponse) Descriptor() ([]byte, []int) { return file_metalstack_infra_v2_boot_proto_rawDescGZIP(), []int{9} } -// BootServiceSuperUserPasswordRequest this call returns the password for the machine superuser +// BootServiceSuperUserPasswordRequest this call returns the password for the machine superuser. type BootServiceSuperUserPasswordRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // UUID of this machine + // UUID of this machine. Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -637,12 +637,12 @@ func (x *BootServiceSuperUserPasswordRequest) GetUuid() string { return "" } -// BootServiceSuperUserPasswordResponse the super user password is returned +// BootServiceSuperUserPasswordResponse the super user password is returned. type BootServiceSuperUserPasswordResponse struct { state protoimpl.MessageState `protogen:"open.v1"` // FeatureDisabled on set the superuserpassword in the bmc if this feature is not disabled. FeatureDisabled bool `protobuf:"varint,1,opt,name=feature_disabled,json=featureDisabled,proto3" json:"feature_disabled,omitempty"` - // SuperUserPassword is the password of the superuser on the ipmi device + // SuperUserPassword is the password of the superuser on the ipmi device. SuperUserPassword string `protobuf:"bytes,2,opt,name=super_user_password,json=superUserPassword,proto3" json:"super_user_password,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache diff --git a/go/metalstack/infra/v2/component.pb.go b/go/metalstack/infra/v2/component.pb.go index 7dffdf51..ed265348 100644 --- a/go/metalstack/infra/v2/component.pb.go +++ b/go/metalstack/infra/v2/component.pb.go @@ -28,15 +28,15 @@ const ( // ComponentServicePingRequest is the request payload for pinging a microservice. type ComponentServicePingRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // Type defines which service is actually pinging + // Type defines which service is actually pinging. Type v2.ComponentType `protobuf:"varint,1,opt,name=type,proto3,enum=metalstack.api.v2.ComponentType" json:"type,omitempty"` - // Identifier is a unique identifier of this service, for example if two instances are running, this might be the pod ID + // Identifier is a unique identifier of this service, for example if two instances are running, this might be the pod ID. Identifier string `protobuf:"bytes,2,opt,name=identifier,proto3" json:"identifier,omitempty"` - // StartedAt is the timestamp this service was started + // StartedAt is the timestamp this service was started. StartedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` - // Interval at which the ping is scheduled, must be between 5 seconds and 1 hour + // Interval at which the ping is scheduled, must be between 5 seconds and 1 hour. Interval *durationpb.Duration `protobuf:"bytes,4,opt,name=interval,proto3" json:"interval,omitempty"` - // Version of this service + // Version of this service. Version *v2.Version `protobuf:"bytes,5,opt,name=version,proto3" json:"version,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache diff --git a/go/metalstack/infra/v2/event.pb.go b/go/metalstack/infra/v2/event.pb.go index 1cc203f1..31df15b4 100644 --- a/go/metalstack/infra/v2/event.pb.go +++ b/go/metalstack/infra/v2/event.pb.go @@ -25,7 +25,7 @@ const ( // EventServiceSendRequest is the request payload for sending provisioning events. type EventServiceSendRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // Events grouped by machine IDs + // Events grouped by machine IDs. Events map[string]*v2.MachineProvisioningEvent `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -71,9 +71,9 @@ func (x *EventServiceSendRequest) GetEvents() map[string]*v2.MachineProvisioning // EventServiceSendResponse is the response payload for sending provisioning events. type EventServiceSendResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // Events counts the number of events successfully stored in the database + // Events counts the number of events successfully stored in the database. Events uint64 `protobuf:"varint,1,opt,name=events,proto3" json:"events,omitempty"` - // Failed contains IDs of all machines whose events could not be stored in the database + // Failed contains IDs of all machines whose events could not be stored in the database. Failed []string `protobuf:"bytes,2,rep,name=failed,proto3" json:"failed,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache diff --git a/go/metalstack/infra/v2/switch.pb.go b/go/metalstack/infra/v2/switch.pb.go index aadc02d5..47f0aa22 100644 --- a/go/metalstack/infra/v2/switch.pb.go +++ b/go/metalstack/infra/v2/switch.pb.go @@ -27,7 +27,7 @@ const ( // SwitchServiceGetRequest is the request payload for getting a switch. type SwitchServiceGetRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // Id of the switch + // Id of the switch. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -73,7 +73,7 @@ func (x *SwitchServiceGetRequest) GetId() string { // SwitchServiceGetResponse is the response payload for getting a switch. type SwitchServiceGetResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // Switch contains the requested switch + // Switch contains the requested switch. Switch *v2.Switch `protobuf:"bytes,1,opt,name=switch,proto3" json:"switch,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -119,7 +119,7 @@ func (x *SwitchServiceGetResponse) GetSwitch() *v2.Switch { // SwitchServiceRegisterRequest is the request payload for registering a switch. type SwitchServiceRegisterRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // Switch to register + // Switch to register. Switch *v2.Switch `protobuf:"bytes,1,opt,name=switch,proto3" json:"switch,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -165,7 +165,7 @@ func (x *SwitchServiceRegisterRequest) GetSwitch() *v2.Switch { // SwitchServiceRegisterResponse is the response payload for registering a switch. type SwitchServiceRegisterResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // Switch contains the registered switch + // Switch contains the registered switch. Switch *v2.Switch `protobuf:"bytes,1,opt,name=switch,proto3" json:"switch,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -211,15 +211,15 @@ func (x *SwitchServiceRegisterResponse) GetSwitch() *v2.Switch { // SwitchServiceHeartbeatRequest is the request payload for sending a switch heartbeat. type SwitchServiceHeartbeatRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - // Id of the switch + // Id of the switch. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - // Duration of the sync + // Duration of the sync. Duration *durationpb.Duration `protobuf:"bytes,2,opt,name=duration,proto3" json:"duration,omitempty"` - // Error if any occurred during the sync + // Error if any occurred during the sync. Error *string `protobuf:"bytes,3,opt,name=error,proto3,oneof" json:"error,omitempty"` - // PortStates maps port identifiers to the respective port's operational state + // PortStates maps port identifiers to the respective port's operational state. PortStates map[string]v2.SwitchPortStatus `protobuf:"bytes,4,rep,name=port_states,json=portStates,proto3" json:"port_states,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value,enum=metalstack.api.v2.SwitchPortStatus"` - // BgpPortStates maps port identifiers to the respective port's BGP state + // BgpPortStates maps port identifiers to the respective port's BGP state. BgpPortStates map[string]*v2.SwitchBGPPortState `protobuf:"bytes,5,rep,name=bgp_port_states,json=bgpPortStates,proto3" json:"bgp_port_states,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -293,11 +293,11 @@ func (x *SwitchServiceHeartbeatRequest) GetBgpPortStates() map[string]*v2.Switch // SwitchServiceHeartbeatResponse is the response payload for sending a switch heartbeat. type SwitchServiceHeartbeatResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - // Id of the switch + // Id of the switch. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - // LastSync holds information about the last sync + // LastSync holds information about the last sync. LastSync *v2.SwitchSync `protobuf:"bytes,2,opt,name=last_sync,json=lastSync,proto3" json:"last_sync,omitempty"` - // LastSyncError holds information about the last erroneous sync + // LastSyncError holds information about the last erroneous sync. LastSyncError *v2.SwitchSync `protobuf:"bytes,3,opt,name=last_sync_error,json=lastSyncError,proto3" json:"last_sync_error,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache diff --git a/js/client-test.d.ts b/js/client-test.d.ts new file mode 100644 index 00000000..cb0ff5c3 --- /dev/null +++ b/js/client-test.d.ts @@ -0,0 +1 @@ +export {}; diff --git a/js/client-test.js b/js/client-test.js new file mode 100644 index 00000000..05b9a1f6 --- /dev/null +++ b/js/client-test.js @@ -0,0 +1,45 @@ +var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { + function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } + return new (P || (P = Promise))(function (resolve, reject) { + function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } + function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } + function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } + step((generator = generator.apply(thisArg, _arguments || [])).next()); + }); +}; +import { describe, it, expect } from "bun:test"; +import { create } from "@bufbuild/protobuf"; +import { VersionServiceGetRequestSchema, } from "./metalstack/api/v2/version_pb"; +import { newClient } from "./client"; +import { newTestInterceptor } from "./test-interceptor"; +function unaryResponse(schema, message) { + return { + stream: false, + message: message, + header: new Headers(), + trailer: new Headers(), + service: undefined, + method: undefined, + }; +} +describe("client", () => { + it("works with test interceptor", () => __awaiter(void 0, void 0, void 0, function* () { + var _a; + const c = newClient({ + baseUrl: "http://this-is-just-for-testing", + interceptors: [ + newTestInterceptor([ + { + wantRequest: create(VersionServiceGetRequestSchema, {}), + wantRequestSchema: VersionServiceGetRequestSchema, + wantResponse: () => unaryResponse(VersionServiceGetRequestSchema, { + version: { version: "1.0", revision: "", gitSha1: "", buildDate: "" }, + }), + }, + ]), + ], + }); + const v = yield c.apiv2().version().get({}); + expect((_a = v.version) === null || _a === void 0 ? void 0 : _a.version).toBe("1.0"); + })); +}); diff --git a/js/metalstack/admin/v2/audit_pb.d.ts b/js/metalstack/admin/v2/audit_pb.d.ts index 7403ed84..8fb5643e 100644 --- a/js/metalstack/admin/v2/audit_pb.d.ts +++ b/js/metalstack/admin/v2/audit_pb.d.ts @@ -12,7 +12,7 @@ export declare const file_metalstack_admin_v2_audit: GenFile; */ export type AuditServiceListRequest = Message<"metalstack.admin.v2.AuditServiceListRequest"> & { /** - * Query for audit traces + * Query for audit traces. * * @generated from field: metalstack.api.v2.AuditQuery query = 1; */ @@ -30,7 +30,7 @@ export declare const AuditServiceListRequestSchema: GenMessage & { /** - * Traces contains the list of audit traces + * Traces contains the list of audit traces. * * @generated from field: repeated metalstack.api.v2.AuditTrace traces = 1; */ @@ -48,13 +48,13 @@ export declare const AuditServiceListResponseSchema: GenMessage & { /** - * Uuid of the audit trace + * Uuid of the audit trace. * * @generated from field: string uuid = 1; */ uuid: string; /** - * Phase specifies the audit phase. Defaults to request + * Phase specifies the audit phase. Defaults to request. * * @generated from field: optional metalstack.api.v2.AuditPhase phase = 2; */ @@ -72,7 +72,7 @@ export declare const AuditServiceGetRequestSchema: GenMessage & { /** - * Trace is the audit trace + * Trace is the audit trace. * * @generated from field: metalstack.api.v2.AuditTrace trace = 1; */ diff --git a/js/metalstack/admin/v2/audit_pb.ts b/js/metalstack/admin/v2/audit_pb.ts index 04417754..87f384e6 100644 --- a/js/metalstack/admin/v2/audit_pb.ts +++ b/js/metalstack/admin/v2/audit_pb.ts @@ -23,7 +23,7 @@ export const file_metalstack_admin_v2_audit: GenFile = /*@__PURE__*/ */ export type AuditServiceListRequest = Message<"metalstack.admin.v2.AuditServiceListRequest"> & { /** - * Query for audit traces + * Query for audit traces. * * @generated from field: metalstack.api.v2.AuditQuery query = 1; */ @@ -44,7 +44,7 @@ export const AuditServiceListRequestSchema: GenMessage */ export type AuditServiceListResponse = Message<"metalstack.admin.v2.AuditServiceListResponse"> & { /** - * Traces contains the list of audit traces + * Traces contains the list of audit traces. * * @generated from field: repeated metalstack.api.v2.AuditTrace traces = 1; */ @@ -65,14 +65,14 @@ export const AuditServiceListResponseSchema: GenMessage & { /** - * Uuid of the audit trace + * Uuid of the audit trace. * * @generated from field: string uuid = 1; */ uuid: string; /** - * Phase specifies the audit phase. Defaults to request + * Phase specifies the audit phase. Defaults to request. * * @generated from field: optional metalstack.api.v2.AuditPhase phase = 2; */ @@ -93,7 +93,7 @@ export const AuditServiceGetRequestSchema: GenMessage = */ export type AuditServiceGetResponse = Message<"metalstack.admin.v2.AuditServiceGetResponse"> & { /** - * Trace is the audit trace + * Trace is the audit trace. * * @generated from field: metalstack.api.v2.AuditTrace trace = 1; */ diff --git a/js/metalstack/admin/v2/component_pb.d.ts b/js/metalstack/admin/v2/component_pb.d.ts index b226de01..b7991899 100644 --- a/js/metalstack/admin/v2/component_pb.d.ts +++ b/js/metalstack/admin/v2/component_pb.d.ts @@ -12,7 +12,7 @@ export declare const file_metalstack_admin_v2_component: GenFile; */ export type ComponentServiceListRequest = Message<"metalstack.admin.v2.ComponentServiceListRequest"> & { /** - * Query filters components + * Query filters components. * * @generated from field: metalstack.api.v2.ComponentQuery query = 1; */ @@ -30,7 +30,7 @@ export declare const ComponentServiceListRequestSchema: GenMessage & { /** - * Components contains the list of components + * Components contains the list of components. * * @generated from field: repeated metalstack.api.v2.Component components = 1; */ @@ -48,7 +48,7 @@ export declare const ComponentServiceListResponseSchema: GenMessage & { /** - * UUID identifies the component to get + * UUID identifies the component to get. * * @generated from field: string uuid = 1; */ @@ -66,7 +66,7 @@ export declare const ComponentServiceGetRequestSchema: GenMessage & { /** - * Component contains the retrieved component + * Component contains the retrieved component. * * @generated from field: metalstack.api.v2.Component component = 1; */ @@ -84,7 +84,7 @@ export declare const ComponentServiceGetResponseSchema: GenMessage & { /** - * UUID identifies the component to delete + * UUID identifies the component to delete. * * @generated from field: string uuid = 1; */ @@ -102,7 +102,7 @@ export declare const ComponentServiceDeleteRequestSchema: GenMessage & { /** - * Component contains the deleted component + * Component contains the deleted component. * * @generated from field: metalstack.api.v2.Component component = 1; */ diff --git a/js/metalstack/admin/v2/component_pb.ts b/js/metalstack/admin/v2/component_pb.ts index 947483e4..ceb0e98f 100644 --- a/js/metalstack/admin/v2/component_pb.ts +++ b/js/metalstack/admin/v2/component_pb.ts @@ -23,7 +23,7 @@ export const file_metalstack_admin_v2_component: GenFile = /*@__PURE__*/ */ export type ComponentServiceListRequest = Message<"metalstack.admin.v2.ComponentServiceListRequest"> & { /** - * Query filters components + * Query filters components. * * @generated from field: metalstack.api.v2.ComponentQuery query = 1; */ @@ -44,7 +44,7 @@ export const ComponentServiceListRequestSchema: GenMessage & { /** - * Components contains the list of components + * Components contains the list of components. * * @generated from field: repeated metalstack.api.v2.Component components = 1; */ @@ -65,7 +65,7 @@ export const ComponentServiceListResponseSchema: GenMessage & { /** - * UUID identifies the component to get + * UUID identifies the component to get. * * @generated from field: string uuid = 1; */ @@ -86,7 +86,7 @@ export const ComponentServiceGetRequestSchema: GenMessage & { /** - * Component contains the retrieved component + * Component contains the retrieved component. * * @generated from field: metalstack.api.v2.Component component = 1; */ @@ -107,7 +107,7 @@ export const ComponentServiceGetResponseSchema: GenMessage & { /** - * UUID identifies the component to delete + * UUID identifies the component to delete. * * @generated from field: string uuid = 1; */ @@ -128,7 +128,7 @@ export const ComponentServiceDeleteRequestSchema: GenMessage & { /** - * Component contains the deleted component + * Component contains the deleted component. * * @generated from field: metalstack.api.v2.Component component = 1; */ diff --git a/js/metalstack/admin/v2/filesystem_pb.d.ts b/js/metalstack/admin/v2/filesystem_pb.d.ts index 103ec78b..b7b1dbb9 100644 --- a/js/metalstack/admin/v2/filesystem_pb.d.ts +++ b/js/metalstack/admin/v2/filesystem_pb.d.ts @@ -13,7 +13,7 @@ export declare const file_metalstack_admin_v2_filesystem: GenFile; */ export type FilesystemServiceCreateRequest = Message<"metalstack.admin.v2.FilesystemServiceCreateRequest"> & { /** - * FilesystemLayout is the filesystem layout to create + * FilesystemLayout is the filesystem layout to create. * * @generated from field: metalstack.api.v2.FilesystemLayout filesystem_layout = 1; */ @@ -31,7 +31,7 @@ export declare const FilesystemServiceCreateRequestSchema: GenMessage & { /** - * FilesystemLayout contains the created filesystem layout + * FilesystemLayout contains the created filesystem layout. * * @generated from field: metalstack.api.v2.FilesystemLayout filesystem_layout = 1; */ @@ -49,61 +49,61 @@ export declare const FilesystemServiceCreateResponseSchema: GenMessage & { /** - * Id of this filesystemLayout + * Id of this filesystemLayout. * * @generated from field: string id = 1; */ id: string; /** - * UpdateMeta contains the timestamp and strategy to be used in this update request + * UpdateMeta contains the timestamp and strategy to be used in this update request. * * @generated from field: metalstack.api.v2.UpdateMeta update_meta = 2; */ updateMeta?: UpdateMeta | undefined; /** - * Name of this filesystemLayout + * Name of this filesystemLayout. * * @generated from field: optional string name = 3; */ name?: string | undefined; /** - * Description of this filesystemLayout + * Description of this filesystemLayout. * * @generated from field: optional string description = 4; */ description?: string | undefined; /** - * Filesystems is a list of filesystems to create on a machine + * Filesystems is a list of filesystems to create on a machine. * * @generated from field: repeated metalstack.api.v2.Filesystem filesystems = 5; */ filesystems: Filesystem[]; /** - * Disks list of disks that belong to this layout + * Disks list of disks that belong to this layout. * * @generated from field: repeated metalstack.api.v2.Disk disks = 6; */ disks: Disk[]; /** - * Raid arrays to create + * Raid arrays to create. * * @generated from field: repeated metalstack.api.v2.Raid raid = 7; */ raid: Raid[]; /** - * VolumeGroups list of volumegroups to create + * VolumeGroups list of volumegroups to create. * * @generated from field: repeated metalstack.api.v2.VolumeGroup volume_groups = 8; */ volumeGroups: VolumeGroup[]; /** - * LogicalVolumes list of logicalvolumes to create + * LogicalVolumes list of logicalvolumes to create. * * @generated from field: repeated metalstack.api.v2.LogicalVolume logical_volumes = 9; */ logicalVolumes: LogicalVolume[]; /** - * Constraints which must match that this layout is taken, if sizes and images are empty these are develop layouts + * Constraints which must match that this layout is taken, if sizes and images are empty these are develop layouts. * * @generated from field: metalstack.api.v2.FilesystemLayoutConstraints constraints = 10; */ @@ -121,7 +121,7 @@ export declare const FilesystemServiceUpdateRequestSchema: GenMessage & { /** - * FilesystemLayout contains the updated filesystem layout + * FilesystemLayout contains the updated filesystem layout. * * @generated from field: metalstack.api.v2.FilesystemLayout filesystem_layout = 1; */ @@ -139,7 +139,7 @@ export declare const FilesystemServiceUpdateResponseSchema: GenMessage & { /** - * ID of the filesystem to delete + * ID of the filesystem to delete. * * @generated from field: string id = 1; */ @@ -157,7 +157,7 @@ export declare const FilesystemServiceDeleteRequestSchema: GenMessage & { /** - * FilesystemLayout contains the deleted filesystem layout + * FilesystemLayout contains the deleted filesystem layout. * * @generated from field: metalstack.api.v2.FilesystemLayout filesystem_layout = 1; */ @@ -169,20 +169,20 @@ export type FilesystemServiceDeleteResponse = Message<"metalstack.admin.v2.Files */ export declare const FilesystemServiceDeleteResponseSchema: GenMessage; /** - * FilesystemServiceMatchRequest + * FilesystemServiceMatchRequest. * * @generated from message metalstack.admin.v2.FilesystemServiceMatchRequest */ export type FilesystemServiceMatchRequest = Message<"metalstack.admin.v2.FilesystemServiceMatchRequest"> & { /** - * Match size and image to a filesystem layout - * or match a machine to a filesystem layout + * Match size and image to a filesystem layout. + * or match a machine to a filesystem layout. * * @generated from oneof metalstack.admin.v2.FilesystemServiceMatchRequest.match */ match: { /** - * SizeAndImage + * SizeAndImage. * * @generated from field: metalstack.admin.v2.MatchImageAndSize size_and_image = 1; */ @@ -190,7 +190,7 @@ export type FilesystemServiceMatchRequest = Message<"metalstack.admin.v2.Filesys case: "sizeAndImage"; } | { /** - * MachineAndFilesystemlayout + * MachineAndFilesystemlayout. * * @generated from field: metalstack.admin.v2.MatchMachineAndFilesystemLayout machine_and_filesystemlayout = 2; */ @@ -207,19 +207,19 @@ export type FilesystemServiceMatchRequest = Message<"metalstack.admin.v2.Filesys */ export declare const FilesystemServiceMatchRequestSchema: GenMessage; /** - * MatchImageAndSize + * MatchImageAndSize. * * @generated from message metalstack.admin.v2.MatchImageAndSize */ export type MatchImageAndSize = Message<"metalstack.admin.v2.MatchImageAndSize"> & { /** - * Size, machine size to try + * Size, machine size to try. * * @generated from field: string size = 1; */ size: string; /** - * Image machine image to try + * Image machine image to try. * * @generated from field: string image = 2; */ @@ -231,19 +231,19 @@ export type MatchImageAndSize = Message<"metalstack.admin.v2.MatchImageAndSize"> */ export declare const MatchImageAndSizeSchema: GenMessage; /** - * MatchMachineAndFilesystemLayout + * MatchMachineAndFilesystemLayout. * * @generated from message metalstack.admin.v2.MatchMachineAndFilesystemLayout */ export type MatchMachineAndFilesystemLayout = Message<"metalstack.admin.v2.MatchMachineAndFilesystemLayout"> & { /** - * Machine to check + * Machine to check. * * @generated from field: string machine = 1; */ machine: string; /** - * FilesystemLayout to check + * FilesystemLayout to check. * * @generated from field: string filesystem_layout = 2; */ @@ -255,13 +255,13 @@ export type MatchMachineAndFilesystemLayout = Message<"metalstack.admin.v2.Match */ export declare const MatchMachineAndFilesystemLayoutSchema: GenMessage; /** - * FilesystemServiceMatchResponse + * FilesystemServiceMatchResponse. * * @generated from message metalstack.admin.v2.FilesystemServiceMatchResponse */ export type FilesystemServiceMatchResponse = Message<"metalstack.admin.v2.FilesystemServiceMatchResponse"> & { /** - * FilesystemLayout the filesystemlayout + * FilesystemLayout the filesystemlayout. * * @generated from field: metalstack.api.v2.FilesystemLayout filesystem_layout = 1; */ diff --git a/js/metalstack/admin/v2/filesystem_pb.ts b/js/metalstack/admin/v2/filesystem_pb.ts index d0f8d005..31dd6eef 100644 --- a/js/metalstack/admin/v2/filesystem_pb.ts +++ b/js/metalstack/admin/v2/filesystem_pb.ts @@ -25,7 +25,7 @@ export const file_metalstack_admin_v2_filesystem: GenFile = /*@__PURE__*/ */ export type FilesystemServiceCreateRequest = Message<"metalstack.admin.v2.FilesystemServiceCreateRequest"> & { /** - * FilesystemLayout is the filesystem layout to create + * FilesystemLayout is the filesystem layout to create. * * @generated from field: metalstack.api.v2.FilesystemLayout filesystem_layout = 1; */ @@ -46,7 +46,7 @@ export const FilesystemServiceCreateRequestSchema: GenMessage & { /** - * FilesystemLayout contains the created filesystem layout + * FilesystemLayout contains the created filesystem layout. * * @generated from field: metalstack.api.v2.FilesystemLayout filesystem_layout = 1; */ @@ -67,70 +67,70 @@ export const FilesystemServiceCreateResponseSchema: GenMessage & { /** - * Id of this filesystemLayout + * Id of this filesystemLayout. * * @generated from field: string id = 1; */ id: string; /** - * UpdateMeta contains the timestamp and strategy to be used in this update request + * UpdateMeta contains the timestamp and strategy to be used in this update request. * * @generated from field: metalstack.api.v2.UpdateMeta update_meta = 2; */ updateMeta?: UpdateMeta | undefined; /** - * Name of this filesystemLayout + * Name of this filesystemLayout. * * @generated from field: optional string name = 3; */ name?: string | undefined; /** - * Description of this filesystemLayout + * Description of this filesystemLayout. * * @generated from field: optional string description = 4; */ description?: string | undefined; /** - * Filesystems is a list of filesystems to create on a machine + * Filesystems is a list of filesystems to create on a machine. * * @generated from field: repeated metalstack.api.v2.Filesystem filesystems = 5; */ filesystems: Filesystem[]; /** - * Disks list of disks that belong to this layout + * Disks list of disks that belong to this layout. * * @generated from field: repeated metalstack.api.v2.Disk disks = 6; */ disks: Disk[]; /** - * Raid arrays to create + * Raid arrays to create. * * @generated from field: repeated metalstack.api.v2.Raid raid = 7; */ raid: Raid[]; /** - * VolumeGroups list of volumegroups to create + * VolumeGroups list of volumegroups to create. * * @generated from field: repeated metalstack.api.v2.VolumeGroup volume_groups = 8; */ volumeGroups: VolumeGroup[]; /** - * LogicalVolumes list of logicalvolumes to create + * LogicalVolumes list of logicalvolumes to create. * * @generated from field: repeated metalstack.api.v2.LogicalVolume logical_volumes = 9; */ logicalVolumes: LogicalVolume[]; /** - * Constraints which must match that this layout is taken, if sizes and images are empty these are develop layouts + * Constraints which must match that this layout is taken, if sizes and images are empty these are develop layouts. * * @generated from field: metalstack.api.v2.FilesystemLayoutConstraints constraints = 10; */ @@ -151,7 +151,7 @@ export const FilesystemServiceUpdateRequestSchema: GenMessage & { /** - * FilesystemLayout contains the updated filesystem layout + * FilesystemLayout contains the updated filesystem layout. * * @generated from field: metalstack.api.v2.FilesystemLayout filesystem_layout = 1; */ @@ -172,7 +172,7 @@ export const FilesystemServiceUpdateResponseSchema: GenMessage & { /** - * ID of the filesystem to delete + * ID of the filesystem to delete. * * @generated from field: string id = 1; */ @@ -193,7 +193,7 @@ export const FilesystemServiceDeleteRequestSchema: GenMessage & { /** - * FilesystemLayout contains the deleted filesystem layout + * FilesystemLayout contains the deleted filesystem layout. * * @generated from field: metalstack.api.v2.FilesystemLayout filesystem_layout = 1; */ @@ -208,20 +208,20 @@ export const FilesystemServiceDeleteResponseSchema: GenMessage & { /** - * Match size and image to a filesystem layout - * or match a machine to a filesystem layout + * Match size and image to a filesystem layout. + * or match a machine to a filesystem layout. * * @generated from oneof metalstack.admin.v2.FilesystemServiceMatchRequest.match */ match: { /** - * SizeAndImage + * SizeAndImage. * * @generated from field: metalstack.admin.v2.MatchImageAndSize size_and_image = 1; */ @@ -229,7 +229,7 @@ export type FilesystemServiceMatchRequest = Message<"metalstack.admin.v2.Filesys case: "sizeAndImage"; } | { /** - * MachineAndFilesystemlayout + * MachineAndFilesystemlayout. * * @generated from field: metalstack.admin.v2.MatchMachineAndFilesystemLayout machine_and_filesystemlayout = 2; */ @@ -246,20 +246,20 @@ export const FilesystemServiceMatchRequestSchema: GenMessage & { /** - * Size, machine size to try + * Size, machine size to try. * * @generated from field: string size = 1; */ size: string; /** - * Image machine image to try + * Image machine image to try. * * @generated from field: string image = 2; */ @@ -274,20 +274,20 @@ export const MatchImageAndSizeSchema: GenMessage = /*@__PURE_ messageDesc(file_metalstack_admin_v2_filesystem, 7); /** - * MatchMachineAndFilesystemLayout + * MatchMachineAndFilesystemLayout. * * @generated from message metalstack.admin.v2.MatchMachineAndFilesystemLayout */ export type MatchMachineAndFilesystemLayout = Message<"metalstack.admin.v2.MatchMachineAndFilesystemLayout"> & { /** - * Machine to check + * Machine to check. * * @generated from field: string machine = 1; */ machine: string; /** - * FilesystemLayout to check + * FilesystemLayout to check. * * @generated from field: string filesystem_layout = 2; */ @@ -302,13 +302,13 @@ export const MatchMachineAndFilesystemLayoutSchema: GenMessage & { /** - * FilesystemLayout the filesystemlayout + * FilesystemLayout the filesystemlayout. * * @generated from field: metalstack.api.v2.FilesystemLayout filesystem_layout = 1; */ diff --git a/js/metalstack/admin/v2/image_pb.d.ts b/js/metalstack/admin/v2/image_pb.d.ts index 98cd02d2..8ff00972 100644 --- a/js/metalstack/admin/v2/image_pb.d.ts +++ b/js/metalstack/admin/v2/image_pb.d.ts @@ -14,7 +14,7 @@ export declare const file_metalstack_admin_v2_image: GenFile; */ export type ImageServiceCreateRequest = Message<"metalstack.admin.v2.ImageServiceCreateRequest"> & { /** - * Image is the image to create + * Image is the image to create. * * @generated from field: metalstack.api.v2.Image image = 1; */ @@ -32,7 +32,7 @@ export declare const ImageServiceCreateRequestSchema: GenMessage & { /** - * Image contains the created image + * Image contains the created image. * * @generated from field: metalstack.api.v2.Image image = 1; */ @@ -50,55 +50,55 @@ export declare const ImageServiceCreateResponseSchema: GenMessage & { /** - * Id of this image + * Id of this image. * * @generated from field: string id = 1; */ id: string; /** - * UpdateMeta contains the timestamp and strategy to be used in this update request + * UpdateMeta contains the timestamp and strategy to be used in this update request. * * @generated from field: metalstack.api.v2.UpdateMeta update_meta = 2; */ updateMeta?: UpdateMeta | undefined; /** - * URL where this image is located + * URL where this image is located. * * @generated from field: optional string url = 3; */ url?: string | undefined; /** - * Name of this image + * Name of this image. * * @generated from field: optional string name = 4; */ name?: string | undefined; /** - * Description of this image + * Description of this image. * * @generated from field: optional string description = 5; */ description?: string | undefined; /** - * Features of this image + * Features of this image. * * @generated from field: repeated metalstack.api.v2.ImageFeature features = 6; */ features: ImageFeature[]; /** - * Classification of this image + * Classification of this image. * * @generated from field: metalstack.api.v2.ImageClassification classification = 7; */ classification: ImageClassification; /** - * ExpiresAt indicates that usage is not possible after this date + * ExpiresAt indicates that usage is not possible after this date. * * @generated from field: google.protobuf.Timestamp expires_at = 8; */ expiresAt?: Timestamp | undefined; /** - * Labels to update on this image + * Labels to update on this image. * * @generated from field: optional metalstack.api.v2.UpdateLabels labels = 9; */ @@ -116,7 +116,7 @@ export declare const ImageServiceUpdateRequestSchema: GenMessage & { /** - * Image contains the updated image + * Image contains the updated image. * * @generated from field: metalstack.api.v2.Image image = 1; */ @@ -134,7 +134,7 @@ export declare const ImageServiceUpdateResponseSchema: GenMessage & { /** - * ID of the image to delete + * ID of the image to delete. * * @generated from field: string id = 1; */ @@ -152,7 +152,7 @@ export declare const ImageServiceDeleteRequestSchema: GenMessage & { /** - * Image contains the deleted image + * Image contains the deleted image. * * @generated from field: metalstack.api.v2.Image image = 1; */ @@ -170,7 +170,7 @@ export declare const ImageServiceDeleteResponseSchema: GenMessage & { /** - * Query for which images the usage should be reported + * Query for which images the usage should be reported. * * @generated from field: metalstack.api.v2.ImageQuery query = 1; */ @@ -188,7 +188,7 @@ export declare const ImageServiceUsageRequestSchema: GenMessage & { /** - * Images contains usage information + * Images contains usage information. * * @generated from field: repeated metalstack.api.v2.ImageUsage image_usage = 1; */ diff --git a/js/metalstack/admin/v2/image_pb.ts b/js/metalstack/admin/v2/image_pb.ts index eeb5b914..c0169876 100644 --- a/js/metalstack/admin/v2/image_pb.ts +++ b/js/metalstack/admin/v2/image_pb.ts @@ -27,7 +27,7 @@ export const file_metalstack_admin_v2_image: GenFile = /*@__PURE__*/ */ export type ImageServiceCreateRequest = Message<"metalstack.admin.v2.ImageServiceCreateRequest"> & { /** - * Image is the image to create + * Image is the image to create. * * @generated from field: metalstack.api.v2.Image image = 1; */ @@ -48,7 +48,7 @@ export const ImageServiceCreateRequestSchema: GenMessage & { /** - * Image contains the created image + * Image contains the created image. * * @generated from field: metalstack.api.v2.Image image = 1; */ @@ -69,63 +69,63 @@ export const ImageServiceCreateResponseSchema: GenMessage & { /** - * Id of this image + * Id of this image. * * @generated from field: string id = 1; */ id: string; /** - * UpdateMeta contains the timestamp and strategy to be used in this update request + * UpdateMeta contains the timestamp and strategy to be used in this update request. * * @generated from field: metalstack.api.v2.UpdateMeta update_meta = 2; */ updateMeta?: UpdateMeta | undefined; /** - * URL where this image is located + * URL where this image is located. * * @generated from field: optional string url = 3; */ url?: string | undefined; /** - * Name of this image + * Name of this image. * * @generated from field: optional string name = 4; */ name?: string | undefined; /** - * Description of this image + * Description of this image. * * @generated from field: optional string description = 5; */ description?: string | undefined; /** - * Features of this image + * Features of this image. * * @generated from field: repeated metalstack.api.v2.ImageFeature features = 6; */ features: ImageFeature[]; /** - * Classification of this image + * Classification of this image. * * @generated from field: metalstack.api.v2.ImageClassification classification = 7; */ classification: ImageClassification; /** - * ExpiresAt indicates that usage is not possible after this date + * ExpiresAt indicates that usage is not possible after this date. * * @generated from field: google.protobuf.Timestamp expires_at = 8; */ expiresAt?: Timestamp | undefined; /** - * Labels to update on this image + * Labels to update on this image. * * @generated from field: optional metalstack.api.v2.UpdateLabels labels = 9; */ @@ -146,7 +146,7 @@ export const ImageServiceUpdateRequestSchema: GenMessage & { /** - * Image contains the updated image + * Image contains the updated image. * * @generated from field: metalstack.api.v2.Image image = 1; */ @@ -167,7 +167,7 @@ export const ImageServiceUpdateResponseSchema: GenMessage & { /** - * ID of the image to delete + * ID of the image to delete. * * @generated from field: string id = 1; */ @@ -188,7 +188,7 @@ export const ImageServiceDeleteRequestSchema: GenMessage & { /** - * Image contains the deleted image + * Image contains the deleted image. * * @generated from field: metalstack.api.v2.Image image = 1; */ @@ -209,7 +209,7 @@ export const ImageServiceDeleteResponseSchema: GenMessage & { /** - * Query for which images the usage should be reported + * Query for which images the usage should be reported. * * @generated from field: metalstack.api.v2.ImageQuery query = 1; */ @@ -230,7 +230,7 @@ export const ImageServiceUsageRequestSchema: GenMessage & { /** - * Images contains usage information + * Images contains usage information. * * @generated from field: repeated metalstack.api.v2.ImageUsage image_usage = 1; */ diff --git a/js/metalstack/admin/v2/ip_pb.d.ts b/js/metalstack/admin/v2/ip_pb.d.ts index a12c13a9..8f007b6a 100644 --- a/js/metalstack/admin/v2/ip_pb.d.ts +++ b/js/metalstack/admin/v2/ip_pb.d.ts @@ -12,7 +12,7 @@ export declare const file_metalstack_admin_v2_ip: GenFile; */ export type IPServiceListRequest = Message<"metalstack.admin.v2.IPServiceListRequest"> & { /** - * Query to search for IP addresses + * Query to search for IP addresses. * * @generated from field: metalstack.api.v2.IPQuery query = 1; */ @@ -30,7 +30,7 @@ export declare const IPServiceListRequestSchema: GenMessage & { /** - * IPs contains the list of IP addresses + * IPs contains the list of IP addresses. * * @generated from field: repeated metalstack.api.v2.IP ips = 1; */ diff --git a/js/metalstack/admin/v2/ip_pb.ts b/js/metalstack/admin/v2/ip_pb.ts index 79c4e2b4..c930ef3e 100644 --- a/js/metalstack/admin/v2/ip_pb.ts +++ b/js/metalstack/admin/v2/ip_pb.ts @@ -22,7 +22,7 @@ export const file_metalstack_admin_v2_ip: GenFile = /*@__PURE__*/ */ export type IPServiceListRequest = Message<"metalstack.admin.v2.IPServiceListRequest"> & { /** - * Query to search for IP addresses + * Query to search for IP addresses. * * @generated from field: metalstack.api.v2.IPQuery query = 1; */ @@ -43,7 +43,7 @@ export const IPServiceListRequestSchema: GenMessage = /*@_ */ export type IPServiceListResponse = Message<"metalstack.admin.v2.IPServiceListResponse"> & { /** - * IPs contains the list of IP addresses + * IPs contains the list of IP addresses. * * @generated from field: repeated metalstack.api.v2.IP ips = 1; */ diff --git a/js/metalstack/admin/v2/machine_pb.d.ts b/js/metalstack/admin/v2/machine_pb.d.ts index 678ac1be..b5ccfcb0 100644 --- a/js/metalstack/admin/v2/machine_pb.d.ts +++ b/js/metalstack/admin/v2/machine_pb.d.ts @@ -6,13 +6,13 @@ import type { Message } from "@bufbuild/protobuf"; */ export declare const file_metalstack_admin_v2_machine: GenFile; /** - * MachineServiceGetRequest is the request payload for a machine get request + * MachineServiceGetRequest is the request payload for a machine get request. * * @generated from message metalstack.admin.v2.MachineServiceGetRequest */ export type MachineServiceGetRequest = Message<"metalstack.admin.v2.MachineServiceGetRequest"> & { /** - * UUID of the machine to get + * UUID of the machine to get. * * @generated from field: string uuid = 1; */ @@ -24,13 +24,13 @@ export type MachineServiceGetRequest = Message<"metalstack.admin.v2.MachineServi */ export declare const MachineServiceGetRequestSchema: GenMessage; /** - * MachineServiceGetResponse is the response payload for a machine get request + * MachineServiceGetResponse is the response payload for a machine get request. * * @generated from message metalstack.admin.v2.MachineServiceGetResponse */ export type MachineServiceGetResponse = Message<"metalstack.admin.v2.MachineServiceGetResponse"> & { /** - * Machine is the machine requested + * Machine is the machine requested. * * @generated from field: metalstack.api.v2.Machine machine = 1; */ @@ -42,20 +42,20 @@ export type MachineServiceGetResponse = Message<"metalstack.admin.v2.MachineServ */ export declare const MachineServiceGetResponseSchema: GenMessage; /** - * MachineServiceListRequest is the request payload for a machine list request + * MachineServiceListRequest is the request payload for a machine list request. * * @generated from message metalstack.admin.v2.MachineServiceListRequest */ export type MachineServiceListRequest = Message<"metalstack.admin.v2.MachineServiceListRequest"> & { /** - * Query to list one or more machines + * Query to list one or more machines. * * @generated from field: metalstack.api.v2.MachineQuery query = 1; */ query?: MachineQuery | undefined; /** - * Partition for which machines should be listed, could be left empty if only one partition is present - * otherwise an error is thrown that the partition must be specified + * Partition for which machines should be listed, could be left empty if only one partition is present. + * otherwise an error is thrown that the partition must be specified. * * @generated from field: optional string partition = 2; */ @@ -67,13 +67,13 @@ export type MachineServiceListRequest = Message<"metalstack.admin.v2.MachineServ */ export declare const MachineServiceListRequestSchema: GenMessage; /** - * MachineServiceListResponse is the response payload for a machine list request + * MachineServiceListResponse is the response payload for a machine list request. * * @generated from message metalstack.admin.v2.MachineServiceListResponse */ export type MachineServiceListResponse = Message<"metalstack.admin.v2.MachineServiceListResponse"> & { /** - * Machines are the machines requested by a list request + * Machines are the machines requested by a list request. * * @generated from field: repeated metalstack.api.v2.Machine machines = 1; */ @@ -85,13 +85,13 @@ export type MachineServiceListResponse = Message<"metalstack.admin.v2.MachineSer */ export declare const MachineServiceListResponseSchema: GenMessage; /** - * MachineServiceDeleteRequest is the request payload for a machine delete request + * MachineServiceDeleteRequest is the request payload for a machine delete request. * * @generated from message metalstack.admin.v2.MachineServiceDeleteRequest */ export type MachineServiceDeleteRequest = Message<"metalstack.admin.v2.MachineServiceDeleteRequest"> & { /** - * UUID of the machine to permanently delete + * UUID of the machine to permanently delete. * * @generated from field: string uuid = 1; */ @@ -103,13 +103,13 @@ export type MachineServiceDeleteRequest = Message<"metalstack.admin.v2.MachineSe */ export declare const MachineServiceDeleteRequestSchema: GenMessage; /** - * MachineServiceDeleteResponse is the response payload for a machine delete request + * MachineServiceDeleteResponse is the response payload for a machine delete request. * * @generated from message metalstack.admin.v2.MachineServiceDeleteResponse */ export type MachineServiceDeleteResponse = Message<"metalstack.admin.v2.MachineServiceDeleteResponse"> & { /** - * Machine is the machine permanently deleted + * Machine is the machine permanently deleted. * * @generated from field: metalstack.api.v2.Machine machine = 1; */ @@ -121,19 +121,19 @@ export type MachineServiceDeleteResponse = Message<"metalstack.admin.v2.MachineS */ export declare const MachineServiceDeleteResponseSchema: GenMessage; /** - * MachineServiceBMCCommandRequest is the request payload for a machine bmc command + * MachineServiceBMCCommandRequest is the request payload for a machine bmc command. * * @generated from message metalstack.admin.v2.MachineServiceBMCCommandRequest */ export type MachineServiceBMCCommandRequest = Message<"metalstack.admin.v2.MachineServiceBMCCommandRequest"> & { /** - * UUID of the machine to send the command to + * UUID of the machine to send the command to. * * @generated from field: string uuid = 1; */ uuid: string; /** - * Command to send to the bmc of the machine + * Command to send to the bmc of the machine. * * @generated from field: metalstack.api.v2.MachineBMCCommand command = 2; */ @@ -145,7 +145,7 @@ export type MachineServiceBMCCommandRequest = Message<"metalstack.admin.v2.Machi */ export declare const MachineServiceBMCCommandRequestSchema: GenMessage; /** - * MachineServiceBMCCommandResponse is the response payload for a machine bmc command + * MachineServiceBMCCommandResponse is the response payload for a machine bmc command. * * @generated from message metalstack.admin.v2.MachineServiceBMCCommandResponse */ @@ -156,13 +156,13 @@ export type MachineServiceBMCCommandResponse = Message<"metalstack.admin.v2.Mach */ export declare const MachineServiceBMCCommandResponseSchema: GenMessage; /** - * MachineServiceGetBMCRequest is the request payload for a machine getbmc request + * MachineServiceGetBMCRequest is the request payload for a machine getbmc request. * * @generated from message metalstack.admin.v2.MachineServiceGetBMCRequest */ export type MachineServiceGetBMCRequest = Message<"metalstack.admin.v2.MachineServiceGetBMCRequest"> & { /** - * UUID of the machine to get + * UUID of the machine to get. * * @generated from field: string uuid = 1; */ @@ -174,19 +174,19 @@ export type MachineServiceGetBMCRequest = Message<"metalstack.admin.v2.MachineSe */ export declare const MachineServiceGetBMCRequestSchema: GenMessage; /** - * MachineServiceGetBMCResponse is the response payload for a machine getbmc request + * MachineServiceGetBMCResponse is the response payload for a machine getbmc request. * * @generated from message metalstack.admin.v2.MachineServiceGetBMCResponse */ export type MachineServiceGetBMCResponse = Message<"metalstack.admin.v2.MachineServiceGetBMCResponse"> & { /** - * UUID of the machine + * UUID of the machine. * * @generated from field: string uuid = 1; */ uuid: string; /** - * BMC contains the BMC details of this machine + * BMC contains the BMC details of this machine. * * @generated from field: metalstack.api.v2.MachineBMCReport bmc = 2; */ @@ -198,13 +198,13 @@ export type MachineServiceGetBMCResponse = Message<"metalstack.admin.v2.MachineS */ export declare const MachineServiceGetBMCResponseSchema: GenMessage; /** - * MachineServiceListBMCRequest is the request payload for a machine listbmc request + * MachineServiceListBMCRequest is the request payload for a machine listbmc request. * * @generated from message metalstack.admin.v2.MachineServiceListBMCRequest */ export type MachineServiceListBMCRequest = Message<"metalstack.admin.v2.MachineServiceListBMCRequest"> & { /** - * Query to list one or more BMCs of many machines + * Query to list one or more BMCs of many machines. * * @generated from field: metalstack.api.v2.MachineBMCQuery query = 1; */ @@ -216,13 +216,13 @@ export type MachineServiceListBMCRequest = Message<"metalstack.admin.v2.MachineS */ export declare const MachineServiceListBMCRequestSchema: GenMessage; /** - * MachineServiceListBMCResponse is the response payload for a machine listbmc request + * MachineServiceListBMCResponse is the response payload for a machine listbmc request. * * @generated from message metalstack.admin.v2.MachineServiceListBMCResponse */ export type MachineServiceListBMCResponse = Message<"metalstack.admin.v2.MachineServiceListBMCResponse"> & { /** - * BMCReports maps the bmc report per machine uuid + * BMCReports maps the bmc report per machine uuid. * * @generated from field: map bmc_reports = 1; */ @@ -242,14 +242,14 @@ export declare const MachineServiceListBMCResponseSchema: GenMessage & { /** - * UUID of the machine to get + * UUID of the machine to get. * * @generated from field: string uuid = 1; */ uuid: string; /** - * Reason must be provided why access to the console is requested - * Reason is only forwarded to an audit sink + * Reason must be provided why access to the console is requested. + * Reason is only forwarded to an audit sink. * * @generated from field: string reason = 2; */ @@ -267,13 +267,13 @@ export declare const MachineServiceConsolePasswordRequestSchema: GenMessage & { /** - * UUID of the machine to get + * UUID of the machine to get. * * @generated from field: string uuid = 1; */ uuid: string; /** - * Password to access the console + * Password to access the console. * * @generated from field: string password = 2; */ @@ -285,13 +285,13 @@ export type MachineServiceConsolePasswordResponse = Message<"metalstack.admin.v2 */ export declare const MachineServiceConsolePasswordResponseSchema: GenMessage; /** - * MachineServiceSetStateRequest is the request payload for a machine set state request + * MachineServiceSetStateRequest is the request payload for a machine set state request. * * @generated from message metalstack.admin.v2.MachineServiceSetStateRequest */ export type MachineServiceSetStateRequest = Message<"metalstack.admin.v2.MachineServiceSetStateRequest"> & { /** - * UUID of the machine to set the state to + * UUID of the machine to set the state to. * * @generated from field: string uuid = 1; */ @@ -304,7 +304,7 @@ export type MachineServiceSetStateRequest = Message<"metalstack.admin.v2.Machine */ state: MachineState; /** - * Description a description why this machine is in the given state + * Description a description why this machine is in the given state. * * @generated from field: string description = 3; */ @@ -316,7 +316,7 @@ export type MachineServiceSetStateRequest = Message<"metalstack.admin.v2.Machine */ export declare const MachineServiceSetStateRequestSchema: GenMessage; /** - * MachineServiceSetStateResponse is the response payload for a machine set state request + * MachineServiceSetStateResponse is the response payload for a machine set state request. * * @generated from message metalstack.admin.v2.MachineServiceSetStateResponse */ @@ -334,13 +334,13 @@ export type MachineServiceSetStateResponse = Message<"metalstack.admin.v2.Machin */ export declare const MachineServiceSetStateResponseSchema: GenMessage; /** - * MachineServiceIssuesRequest is the request payload for a machine issues request + * MachineServiceIssuesRequest is the request payload for a machine issues request. * * @generated from message metalstack.admin.v2.MachineServiceIssuesRequest */ export type MachineServiceIssuesRequest = Message<"metalstack.admin.v2.MachineServiceIssuesRequest"> & { /** - * Query which machine issues to include + * Query which machine issues to include. * * @generated from field: metalstack.api.v2.MachineIssuesQuery query = 1; */ @@ -352,13 +352,13 @@ export type MachineServiceIssuesRequest = Message<"metalstack.admin.v2.MachineSe */ export declare const MachineServiceIssuesRequestSchema: GenMessage; /** - * MachineServiceIssuesResponse is the response payload for a machine issues request + * MachineServiceIssuesResponse is the response payload for a machine issues request. * * @generated from message metalstack.admin.v2.MachineServiceIssuesResponse */ export type MachineServiceIssuesResponse = Message<"metalstack.admin.v2.MachineServiceIssuesResponse"> & { /** - * Issues is the result of the issues query + * Issues is the result of the issues query. * * @generated from field: repeated metalstack.api.v2.MachineIssues issues = 1; */ @@ -456,7 +456,7 @@ export declare const MachineService: GenService<{ output: typeof MachineServiceSetStateResponseSchema; }; /** - * Issues allows to query issues of machines + * Issues allows to query issues of machines. * * @generated from rpc metalstack.admin.v2.MachineService.Issues */ diff --git a/js/metalstack/admin/v2/machine_pb.ts b/js/metalstack/admin/v2/machine_pb.ts index 2210e097..c8dcbcba 100644 --- a/js/metalstack/admin/v2/machine_pb.ts +++ b/js/metalstack/admin/v2/machine_pb.ts @@ -18,13 +18,13 @@ export const file_metalstack_admin_v2_machine: GenFile = /*@__PURE__*/ fileDesc("CiFtZXRhbHN0YWNrL2FkbWluL3YyL21hY2hpbmUucHJvdG8SE21ldGFsc3RhY2suYWRtaW4udjIiMgoYTWFjaGluZVNlcnZpY2VHZXRSZXF1ZXN0EhYKBHV1aWQYASABKAlCCLpIBXIDsAEBIkgKGU1hY2hpbmVTZXJ2aWNlR2V0UmVzcG9uc2USKwoHbWFjaGluZRgBIAEoCzIaLm1ldGFsc3RhY2suYXBpLnYyLk1hY2hpbmUifgoZTWFjaGluZVNlcnZpY2VMaXN0UmVxdWVzdBIuCgVxdWVyeRgBIAEoCzIfLm1ldGFsc3RhY2suYXBpLnYyLk1hY2hpbmVRdWVyeRIjCglwYXJ0aXRpb24YAiABKAlCC7pICHIG0LOusQIBSACIAQFCDAoKX3BhcnRpdGlvbiJKChpNYWNoaW5lU2VydmljZUxpc3RSZXNwb25zZRIsCghtYWNoaW5lcxgBIAMoCzIaLm1ldGFsc3RhY2suYXBpLnYyLk1hY2hpbmUiNQobTWFjaGluZVNlcnZpY2VEZWxldGVSZXF1ZXN0EhYKBHV1aWQYASABKAlCCLpIBXIDsAEBIksKHE1hY2hpbmVTZXJ2aWNlRGVsZXRlUmVzcG9uc2USKwoHbWFjaGluZRgBIAEoCzIaLm1ldGFsc3RhY2suYXBpLnYyLk1hY2hpbmUiegofTWFjaGluZVNlcnZpY2VCTUNDb21tYW5kUmVxdWVzdBIWCgR1dWlkGAEgASgJQgi6SAVyA7ABARI/Cgdjb21tYW5kGAIgASgOMiQubWV0YWxzdGFjay5hcGkudjIuTWFjaGluZUJNQ0NvbW1hbmRCCLpIBYIBAhABIiIKIE1hY2hpbmVTZXJ2aWNlQk1DQ29tbWFuZFJlc3BvbnNlIjUKG01hY2hpbmVTZXJ2aWNlR2V0Qk1DUmVxdWVzdBIWCgR1dWlkGAEgASgJQgi6SAVyA7ABASJoChxNYWNoaW5lU2VydmljZUdldEJNQ1Jlc3BvbnNlEhYKBHV1aWQYASABKAlCCLpIBXIDsAEBEjAKA2JtYxgCIAEoCzIjLm1ldGFsc3RhY2suYXBpLnYyLk1hY2hpbmVCTUNSZXBvcnQiUQocTWFjaGluZVNlcnZpY2VMaXN0Qk1DUmVxdWVzdBIxCgVxdWVyeRgBIAEoCzIiLm1ldGFsc3RhY2suYXBpLnYyLk1hY2hpbmVCTUNRdWVyeSLfAQodTWFjaGluZVNlcnZpY2VMaXN0Qk1DUmVzcG9uc2USZgoLYm1jX3JlcG9ydHMYASADKAsyQi5tZXRhbHN0YWNrLmFkbWluLnYyLk1hY2hpbmVTZXJ2aWNlTGlzdEJNQ1Jlc3BvbnNlLkJtY1JlcG9ydHNFbnRyeUINukgKmgEHIgVyA7ABARpWCg9CbWNSZXBvcnRzRW50cnkSCwoDa2V5GAEgASgJEjIKBXZhbHVlGAIgASgLMiMubWV0YWxzdGFjay5hcGkudjIuTWFjaGluZUJNQ1JlcG9ydDoCOAEiWgokTWFjaGluZVNlcnZpY2VDb25zb2xlUGFzc3dvcmRSZXF1ZXN0EhYKBHV1aWQYASABKAlCCLpIBXIDsAEBEhoKBnJlYXNvbhgCIAEoCUIKukgHcgUQChiABCJRCiVNYWNoaW5lU2VydmljZUNvbnNvbGVQYXNzd29yZFJlc3BvbnNlEhYKBHV1aWQYASABKAlCCLpIBXIDsAEBEhAKCHBhc3N3b3JkGAIgASgJIpMBCh1NYWNoaW5lU2VydmljZVNldFN0YXRlUmVxdWVzdBIWCgR1dWlkGAEgASgJQgi6SAVyA7ABARI4CgVzdGF0ZRgCIAEoDjIfLm1ldGFsc3RhY2suYXBpLnYyLk1hY2hpbmVTdGF0ZUIIukgFggECEAESIAoLZGVzY3JpcHRpb24YAyABKAlCC7pICHIGyLOusQIBIk0KHk1hY2hpbmVTZXJ2aWNlU2V0U3RhdGVSZXNwb25zZRIrCgdtYWNoaW5lGAEgASgLMhoubWV0YWxzdGFjay5hcGkudjIuTWFjaGluZSJTChtNYWNoaW5lU2VydmljZUlzc3Vlc1JlcXVlc3QSNAoFcXVlcnkYASABKAsyJS5tZXRhbHN0YWNrLmFwaS52Mi5NYWNoaW5lSXNzdWVzUXVlcnkiUAocTWFjaGluZVNlcnZpY2VJc3N1ZXNSZXNwb25zZRIwCgZpc3N1ZXMYASADKAsyIC5tZXRhbHN0YWNrLmFwaS52Mi5NYWNoaW5lSXNzdWVzMoMJCg5NYWNoaW5lU2VydmljZRJwCgNHZXQSLS5tZXRhbHN0YWNrLmFkbWluLnYyLk1hY2hpbmVTZXJ2aWNlR2V0UmVxdWVzdBouLm1ldGFsc3RhY2suYWRtaW4udjIuTWFjaGluZVNlcnZpY2VHZXRSZXNwb25zZSIK0vMYAgEC4PMYAhJzCgRMaXN0Ei4ubWV0YWxzdGFjay5hZG1pbi52Mi5NYWNoaW5lU2VydmljZUxpc3RSZXF1ZXN0Gi8ubWV0YWxzdGFjay5hZG1pbi52Mi5NYWNoaW5lU2VydmljZUxpc3RSZXNwb25zZSIK0vMYAgEC4PMYAhJ4CgZEZWxldGUSMC5tZXRhbHN0YWNrLmFkbWluLnYyLk1hY2hpbmVTZXJ2aWNlRGVsZXRlUmVxdWVzdBoxLm1ldGFsc3RhY2suYWRtaW4udjIuTWFjaGluZVNlcnZpY2VEZWxldGVSZXNwb25zZSIJ0vMYAQHg8xgBEoQBCgpCTUNDb21tYW5kEjQubWV0YWxzdGFjay5hZG1pbi52Mi5NYWNoaW5lU2VydmljZUJNQ0NvbW1hbmRSZXF1ZXN0GjUubWV0YWxzdGFjay5hZG1pbi52Mi5NYWNoaW5lU2VydmljZUJNQ0NvbW1hbmRSZXNwb25zZSIJ0vMYAQHg8xgBEnkKBkdldEJNQxIwLm1ldGFsc3RhY2suYWRtaW4udjIuTWFjaGluZVNlcnZpY2VHZXRCTUNSZXF1ZXN0GjEubWV0YWxzdGFjay5hZG1pbi52Mi5NYWNoaW5lU2VydmljZUdldEJNQ1Jlc3BvbnNlIgrS8xgCAQLg8xgBEnwKB0xpc3RCTUMSMS5tZXRhbHN0YWNrLmFkbWluLnYyLk1hY2hpbmVTZXJ2aWNlTGlzdEJNQ1JlcXVlc3QaMi5tZXRhbHN0YWNrLmFkbWluLnYyLk1hY2hpbmVTZXJ2aWNlTGlzdEJNQ1Jlc3BvbnNlIgrS8xgCAQLg8xgBEpQBCg9Db25zb2xlUGFzc3dvcmQSOS5tZXRhbHN0YWNrLmFkbWluLnYyLk1hY2hpbmVTZXJ2aWNlQ29uc29sZVBhc3N3b3JkUmVxdWVzdBo6Lm1ldGFsc3RhY2suYWRtaW4udjIuTWFjaGluZVNlcnZpY2VDb25zb2xlUGFzc3dvcmRSZXNwb25zZSIK0vMYAgEC4PMYARJ+CghTZXRTdGF0ZRIyLm1ldGFsc3RhY2suYWRtaW4udjIuTWFjaGluZVNlcnZpY2VTZXRTdGF0ZVJlcXVlc3QaMy5tZXRhbHN0YWNrLmFkbWluLnYyLk1hY2hpbmVTZXJ2aWNlU2V0U3RhdGVSZXNwb25zZSIJ0vMYAQHg8xgBEnkKBklzc3VlcxIwLm1ldGFsc3RhY2suYWRtaW4udjIuTWFjaGluZVNlcnZpY2VJc3N1ZXNSZXF1ZXN0GjEubWV0YWxzdGFjay5hZG1pbi52Mi5NYWNoaW5lU2VydmljZUlzc3Vlc1Jlc3BvbnNlIgrS8xgCAQLg8xgCQtABChdjb20ubWV0YWxzdGFjay5hZG1pbi52MkIMTWFjaGluZVByb3RvUAFaOWdpdGh1Yi5jb20vbWV0YWwtc3RhY2svYXBpL2dvL21ldGFsc3RhY2svYWRtaW4vdjI7YWRtaW52MqICA01BWKoCE01ldGFsc3RhY2suQWRtaW4uVjLKAhNNZXRhbHN0YWNrXEFkbWluXFYy4gIfTWV0YWxzdGFja1xBZG1pblxWMlxHUEJNZXRhZGF0YeoCFU1ldGFsc3RhY2s6OkFkbWluOjpWMmIGcHJvdG8z", [file_buf_validate_validate, file_metalstack_api_v2_common, file_metalstack_api_v2_machine, file_metalstack_api_v2_predefined_rules]); /** - * MachineServiceGetRequest is the request payload for a machine get request + * MachineServiceGetRequest is the request payload for a machine get request. * * @generated from message metalstack.admin.v2.MachineServiceGetRequest */ export type MachineServiceGetRequest = Message<"metalstack.admin.v2.MachineServiceGetRequest"> & { /** - * UUID of the machine to get + * UUID of the machine to get. * * @generated from field: string uuid = 1; */ @@ -39,13 +39,13 @@ export const MachineServiceGetRequestSchema: GenMessage & { /** - * Machine is the machine requested + * Machine is the machine requested. * * @generated from field: metalstack.api.v2.Machine machine = 1; */ @@ -60,21 +60,21 @@ export const MachineServiceGetResponseSchema: GenMessage & { /** - * Query to list one or more machines + * Query to list one or more machines. * * @generated from field: metalstack.api.v2.MachineQuery query = 1; */ query?: MachineQuery | undefined; /** - * Partition for which machines should be listed, could be left empty if only one partition is present - * otherwise an error is thrown that the partition must be specified + * Partition for which machines should be listed, could be left empty if only one partition is present. + * otherwise an error is thrown that the partition must be specified. * * @generated from field: optional string partition = 2; */ @@ -89,13 +89,13 @@ export const MachineServiceListRequestSchema: GenMessage & { /** - * Machines are the machines requested by a list request + * Machines are the machines requested by a list request. * * @generated from field: repeated metalstack.api.v2.Machine machines = 1; */ @@ -110,13 +110,13 @@ export const MachineServiceListResponseSchema: GenMessage & { /** - * UUID of the machine to permanently delete + * UUID of the machine to permanently delete. * * @generated from field: string uuid = 1; */ @@ -131,13 +131,13 @@ export const MachineServiceDeleteRequestSchema: GenMessage & { /** - * Machine is the machine permanently deleted + * Machine is the machine permanently deleted. * * @generated from field: metalstack.api.v2.Machine machine = 1; */ @@ -152,20 +152,20 @@ export const MachineServiceDeleteResponseSchema: GenMessage & { /** - * UUID of the machine to send the command to + * UUID of the machine to send the command to. * * @generated from field: string uuid = 1; */ uuid: string; /** - * Command to send to the bmc of the machine + * Command to send to the bmc of the machine. * * @generated from field: metalstack.api.v2.MachineBMCCommand command = 2; */ @@ -180,7 +180,7 @@ export const MachineServiceBMCCommandRequestSchema: GenMessage & { /** - * UUID of the machine to get + * UUID of the machine to get. * * @generated from field: string uuid = 1; */ @@ -216,20 +216,20 @@ export const MachineServiceGetBMCRequestSchema: GenMessage & { /** - * UUID of the machine + * UUID of the machine. * * @generated from field: string uuid = 1; */ uuid: string; /** - * BMC contains the BMC details of this machine + * BMC contains the BMC details of this machine. * * @generated from field: metalstack.api.v2.MachineBMCReport bmc = 2; */ @@ -244,13 +244,13 @@ export const MachineServiceGetBMCResponseSchema: GenMessage & { /** - * Query to list one or more BMCs of many machines + * Query to list one or more BMCs of many machines. * * @generated from field: metalstack.api.v2.MachineBMCQuery query = 1; */ @@ -265,13 +265,13 @@ export const MachineServiceListBMCRequestSchema: GenMessage & { /** - * BMCReports maps the bmc report per machine uuid + * BMCReports maps the bmc report per machine uuid. * * @generated from field: map bmc_reports = 1; */ @@ -292,15 +292,15 @@ export const MachineServiceListBMCResponseSchema: GenMessage & { /** - * UUID of the machine to get + * UUID of the machine to get. * * @generated from field: string uuid = 1; */ uuid: string; /** - * Reason must be provided why access to the console is requested - * Reason is only forwarded to an audit sink + * Reason must be provided why access to the console is requested. + * Reason is only forwarded to an audit sink. * * @generated from field: string reason = 2; */ @@ -321,14 +321,14 @@ export const MachineServiceConsolePasswordRequestSchema: GenMessage & { /** - * UUID of the machine to get + * UUID of the machine to get. * * @generated from field: string uuid = 1; */ uuid: string; /** - * Password to access the console + * Password to access the console. * * @generated from field: string password = 2; */ @@ -343,13 +343,13 @@ export const MachineServiceConsolePasswordResponseSchema: GenMessage & { /** - * UUID of the machine to set the state to + * UUID of the machine to set the state to. * * @generated from field: string uuid = 1; */ @@ -364,7 +364,7 @@ export type MachineServiceSetStateRequest = Message<"metalstack.admin.v2.Machine state: MachineState; /** - * Description a description why this machine is in the given state + * Description a description why this machine is in the given state. * * @generated from field: string description = 3; */ @@ -379,7 +379,7 @@ export const MachineServiceSetStateRequestSchema: GenMessage & { /** - * Query which machine issues to include + * Query which machine issues to include. * * @generated from field: metalstack.api.v2.MachineIssuesQuery query = 1; */ @@ -421,13 +421,13 @@ export const MachineServiceIssuesRequestSchema: GenMessage & { /** - * Issues is the result of the issues query + * Issues is the result of the issues query. * * @generated from field: repeated metalstack.api.v2.MachineIssues issues = 1; */ @@ -528,7 +528,7 @@ export const MachineService: GenService<{ output: typeof MachineServiceSetStateResponseSchema; }, /** - * Issues allows to query issues of machines + * Issues allows to query issues of machines. * * @generated from rpc metalstack.admin.v2.MachineService.Issues */ diff --git a/js/metalstack/admin/v2/network_pb.d.ts b/js/metalstack/admin/v2/network_pb.d.ts index e9ffa986..39031fbf 100644 --- a/js/metalstack/admin/v2/network_pb.d.ts +++ b/js/metalstack/admin/v2/network_pb.d.ts @@ -13,7 +13,7 @@ export declare const file_metalstack_admin_v2_network: GenFile; */ export type NetworkServiceGetRequest = Message<"metalstack.admin.v2.NetworkServiceGetRequest"> & { /** - * ID of the network to get + * ID of the network to get. * * @generated from field: string id = 1; */ @@ -31,7 +31,7 @@ export declare const NetworkServiceGetRequestSchema: GenMessage & { /** - * Network contains the requested network + * Network contains the requested network. * * @generated from field: metalstack.api.v2.Network network = 1; */ @@ -49,103 +49,103 @@ export declare const NetworkServiceGetResponseSchema: GenMessage & { /** - * Id of this network + * Id of this network. * * @generated from field: optional string id = 1; */ id?: string | undefined; /** - * Name of this network + * Name of this network. * * @generated from field: optional string name = 2; */ name?: string | undefined; /** - * Description of this network + * Description of this network. * * @generated from field: optional string description = 3; */ description?: string | undefined; /** - * Partition where this network will be created + * Partition where this network will be created. * * @generated from field: optional string partition = 4; */ partition?: string | undefined; /** - * Project where this network belongs to + * Project where this network belongs to. * * @generated from field: optional string project = 5; */ project?: string | undefined; /** - * Type of the network to create + * Type of the network to create. * * @generated from field: metalstack.api.v2.NetworkType type = 6; */ type: NetworkType; /** - * Labels on this network + * Labels on this network. * * @generated from field: optional metalstack.api.v2.Labels labels = 7; */ labels?: Labels | undefined; /** - * Prefixes in this network + * Prefixes in this network. * * @generated from field: repeated string prefixes = 8; */ prefixes: string[]; /** - * Destination Prefixes in this network + * Destination Prefixes in this network. * * @generated from field: repeated string destination_prefixes = 9; */ destinationPrefixes: string[]; /** - * Default Child Prefix length defines the bitlength of a child network created per addressfamily, if not specified during the allocate request + * Default Child Prefix length defines the bitlength of a child network created per addressfamily, if not specified during the allocate request. * * @generated from field: metalstack.api.v2.ChildPrefixLength default_child_prefix_length = 10; */ defaultChildPrefixLength?: ChildPrefixLength | undefined; /** - * Min Child Prefix length asserts that during child network creation the requested bit length is greater or equal the min child prefix length + * Min Child Prefix length asserts that during child network creation the requested bit length is greater or equal the min child prefix length. * * @generated from field: metalstack.api.v2.ChildPrefixLength min_child_prefix_length = 11; */ minChildPrefixLength?: ChildPrefixLength | undefined; /** - * NATType of this network + * NATType of this network. * * @generated from field: optional metalstack.api.v2.NATType nat_type = 12; */ natType?: NATType | undefined; /** - * VRF of this network has this VNI + * VRF of this network has this VNI. * * @generated from field: optional uint32 vrf = 13; */ vrf?: number | undefined; /** - * Parent Network points to the id of the parent network if any + * Parent Network points to the id of the parent network if any. * * @generated from field: optional string parent_network = 14; */ parentNetwork?: string | undefined; /** - * AdditionalAnnouncableCidrs will be added to the allow list on the switch which prefixes might be announced + * AdditionalAnnouncableCidrs will be added to the allow list on the switch which prefixes might be announced. * * @generated from field: repeated string additional_announcable_cidrs = 15; */ additionalAnnouncableCidrs: string[]; /** - * Length per addressfamily + * Length per addressfamily. * * @generated from field: optional metalstack.api.v2.ChildPrefixLength length = 16; */ length?: ChildPrefixLength | undefined; /** - * AddressFamily to create, defaults to the same as the parent + * AddressFamily to create, defaults to the same as the parent. * * @generated from field: optional metalstack.api.v2.NetworkAddressFamily address_family = 17; */ @@ -163,67 +163,67 @@ export declare const NetworkServiceCreateRequestSchema: GenMessage & { /** - * Id of this network + * Id of this network. * * @generated from field: string id = 1; */ id: string; /** - * UpdateMeta contains the timestamp and strategy to be used in this update request + * UpdateMeta contains the timestamp and strategy to be used in this update request. * * @generated from field: metalstack.api.v2.UpdateMeta update_meta = 2; */ updateMeta?: UpdateMeta | undefined; /** - * Name of this network + * Name of this network. * * @generated from field: optional string name = 3; */ name?: string | undefined; /** - * Description of this network + * Description of this network. * * @generated from field: optional string description = 4; */ description?: string | undefined; /** - * Labels to update on this network + * Labels to update on this network. * * @generated from field: optional metalstack.api.v2.UpdateLabels labels = 5; */ labels?: UpdateLabels | undefined; /** - * Prefixes in this network + * Prefixes in this network. * * @generated from field: repeated string prefixes = 6; */ prefixes: string[]; /** - * Destination Prefixes in this network + * Destination Prefixes in this network. * * @generated from field: repeated string destination_prefixes = 7; */ destinationPrefixes: string[]; /** - * Default Child Prefix length defines the bit length of a child network created per addressfamily, if not specified during the allocate request + * Default Child Prefix length defines the bit length of a child network created per addressfamily, if not specified during the allocate request. * * @generated from field: optional metalstack.api.v2.ChildPrefixLength default_child_prefix_length = 8; */ defaultChildPrefixLength?: ChildPrefixLength | undefined; /** - * Min Child Prefix length asserts that during child network creation the requested bit length is greater or equal the min child prefix length + * Min Child Prefix length asserts that during child network creation the requested bit length is greater or equal the min child prefix length. * * @generated from field: optional metalstack.api.v2.ChildPrefixLength min_child_prefix_length = 9; */ minChildPrefixLength?: ChildPrefixLength | undefined; /** - * NATType of this network + * NATType of this network. * * @generated from field: optional metalstack.api.v2.NATType nat_type = 10; */ natType?: NATType | undefined; /** - * AdditionalAnnouncableCidrs will be added to the allow list on the switch which prefixes might be announced + * AdditionalAnnouncableCidrs will be added to the allow list on the switch which prefixes might be announced. * * @generated from field: repeated string additional_announcable_cidrs = 11; */ @@ -247,7 +247,7 @@ export declare const NetworkServiceUpdateRequestSchema: GenMessage & { /** - * ID of the network to get + * ID of the network to get. * * @generated from field: string id = 1; */ @@ -265,7 +265,7 @@ export declare const NetworkServiceDeleteRequestSchema: GenMessage & { /** - * Query specifies which networks to return + * Query specifies which networks to return. * * @generated from field: metalstack.api.v2.NetworkQuery query = 1; */ @@ -283,7 +283,7 @@ export declare const NetworkServiceListRequestSchema: GenMessage & { /** - * Network contains the created network + * Network contains the created network. * * @generated from field: metalstack.api.v2.Network network = 1; */ @@ -301,7 +301,7 @@ export declare const NetworkServiceCreateResponseSchema: GenMessage & { /** - * Network contains the updated network + * Network contains the updated network. * * @generated from field: metalstack.api.v2.Network network = 1; */ @@ -319,7 +319,7 @@ export declare const NetworkServiceUpdateResponseSchema: GenMessage & { /** - * Network contains the deleted network + * Network contains the deleted network. * * @generated from field: metalstack.api.v2.Network network = 1; */ @@ -337,7 +337,7 @@ export declare const NetworkServiceDeleteResponseSchema: GenMessage & { /** - * Networks contains the list of networks + * Networks contains the list of networks. * * @generated from field: repeated metalstack.api.v2.Network networks = 1; */ diff --git a/js/metalstack/admin/v2/network_pb.ts b/js/metalstack/admin/v2/network_pb.ts index 048d4bdd..11d2dff3 100644 --- a/js/metalstack/admin/v2/network_pb.ts +++ b/js/metalstack/admin/v2/network_pb.ts @@ -25,7 +25,7 @@ export const file_metalstack_admin_v2_network: GenFile = /*@__PURE__*/ */ export type NetworkServiceGetRequest = Message<"metalstack.admin.v2.NetworkServiceGetRequest"> & { /** - * ID of the network to get + * ID of the network to get. * * @generated from field: string id = 1; */ @@ -46,7 +46,7 @@ export const NetworkServiceGetRequestSchema: GenMessage & { /** - * Network contains the requested network + * Network contains the requested network. * * @generated from field: metalstack.api.v2.Network network = 1; */ @@ -67,119 +67,119 @@ export const NetworkServiceGetResponseSchema: GenMessage & { /** - * Id of this network + * Id of this network. * * @generated from field: optional string id = 1; */ id?: string | undefined; /** - * Name of this network + * Name of this network. * * @generated from field: optional string name = 2; */ name?: string | undefined; /** - * Description of this network + * Description of this network. * * @generated from field: optional string description = 3; */ description?: string | undefined; /** - * Partition where this network will be created + * Partition where this network will be created. * * @generated from field: optional string partition = 4; */ partition?: string | undefined; /** - * Project where this network belongs to + * Project where this network belongs to. * * @generated from field: optional string project = 5; */ project?: string | undefined; /** - * Type of the network to create + * Type of the network to create. * * @generated from field: metalstack.api.v2.NetworkType type = 6; */ type: NetworkType; /** - * Labels on this network + * Labels on this network. * * @generated from field: optional metalstack.api.v2.Labels labels = 7; */ labels?: Labels | undefined; /** - * Prefixes in this network + * Prefixes in this network. * * @generated from field: repeated string prefixes = 8; */ prefixes: string[]; /** - * Destination Prefixes in this network + * Destination Prefixes in this network. * * @generated from field: repeated string destination_prefixes = 9; */ destinationPrefixes: string[]; /** - * Default Child Prefix length defines the bitlength of a child network created per addressfamily, if not specified during the allocate request + * Default Child Prefix length defines the bitlength of a child network created per addressfamily, if not specified during the allocate request. * * @generated from field: metalstack.api.v2.ChildPrefixLength default_child_prefix_length = 10; */ defaultChildPrefixLength?: ChildPrefixLength | undefined; /** - * Min Child Prefix length asserts that during child network creation the requested bit length is greater or equal the min child prefix length + * Min Child Prefix length asserts that during child network creation the requested bit length is greater or equal the min child prefix length. * * @generated from field: metalstack.api.v2.ChildPrefixLength min_child_prefix_length = 11; */ minChildPrefixLength?: ChildPrefixLength | undefined; /** - * NATType of this network + * NATType of this network. * * @generated from field: optional metalstack.api.v2.NATType nat_type = 12; */ natType?: NATType | undefined; /** - * VRF of this network has this VNI + * VRF of this network has this VNI. * * @generated from field: optional uint32 vrf = 13; */ vrf?: number | undefined; /** - * Parent Network points to the id of the parent network if any + * Parent Network points to the id of the parent network if any. * * @generated from field: optional string parent_network = 14; */ parentNetwork?: string | undefined; /** - * AdditionalAnnouncableCidrs will be added to the allow list on the switch which prefixes might be announced + * AdditionalAnnouncableCidrs will be added to the allow list on the switch which prefixes might be announced. * * @generated from field: repeated string additional_announcable_cidrs = 15; */ additionalAnnouncableCidrs: string[]; /** - * Length per addressfamily + * Length per addressfamily. * * @generated from field: optional metalstack.api.v2.ChildPrefixLength length = 16; */ length?: ChildPrefixLength | undefined; /** - * AddressFamily to create, defaults to the same as the parent + * AddressFamily to create, defaults to the same as the parent. * * @generated from field: optional metalstack.api.v2.NetworkAddressFamily address_family = 17; */ @@ -200,77 +200,77 @@ export const NetworkServiceCreateRequestSchema: GenMessage & { /** - * Id of this network + * Id of this network. * * @generated from field: string id = 1; */ id: string; /** - * UpdateMeta contains the timestamp and strategy to be used in this update request + * UpdateMeta contains the timestamp and strategy to be used in this update request. * * @generated from field: metalstack.api.v2.UpdateMeta update_meta = 2; */ updateMeta?: UpdateMeta | undefined; /** - * Name of this network + * Name of this network. * * @generated from field: optional string name = 3; */ name?: string | undefined; /** - * Description of this network + * Description of this network. * * @generated from field: optional string description = 4; */ description?: string | undefined; /** - * Labels to update on this network + * Labels to update on this network. * * @generated from field: optional metalstack.api.v2.UpdateLabels labels = 5; */ labels?: UpdateLabels | undefined; /** - * Prefixes in this network + * Prefixes in this network. * * @generated from field: repeated string prefixes = 6; */ prefixes: string[]; /** - * Destination Prefixes in this network + * Destination Prefixes in this network. * * @generated from field: repeated string destination_prefixes = 7; */ destinationPrefixes: string[]; /** - * Default Child Prefix length defines the bit length of a child network created per addressfamily, if not specified during the allocate request + * Default Child Prefix length defines the bit length of a child network created per addressfamily, if not specified during the allocate request. * * @generated from field: optional metalstack.api.v2.ChildPrefixLength default_child_prefix_length = 8; */ defaultChildPrefixLength?: ChildPrefixLength | undefined; /** - * Min Child Prefix length asserts that during child network creation the requested bit length is greater or equal the min child prefix length + * Min Child Prefix length asserts that during child network creation the requested bit length is greater or equal the min child prefix length. * * @generated from field: optional metalstack.api.v2.ChildPrefixLength min_child_prefix_length = 9; */ minChildPrefixLength?: ChildPrefixLength | undefined; /** - * NATType of this network + * NATType of this network. * * @generated from field: optional metalstack.api.v2.NATType nat_type = 10; */ natType?: NATType | undefined; /** - * AdditionalAnnouncableCidrs will be added to the allow list on the switch which prefixes might be announced + * AdditionalAnnouncableCidrs will be added to the allow list on the switch which prefixes might be announced. * * @generated from field: repeated string additional_announcable_cidrs = 11; */ @@ -298,7 +298,7 @@ export const NetworkServiceUpdateRequestSchema: GenMessage & { /** - * ID of the network to get + * ID of the network to get. * * @generated from field: string id = 1; */ @@ -319,7 +319,7 @@ export const NetworkServiceDeleteRequestSchema: GenMessage & { /** - * Query specifies which networks to return + * Query specifies which networks to return. * * @generated from field: metalstack.api.v2.NetworkQuery query = 1; */ @@ -340,7 +340,7 @@ export const NetworkServiceListRequestSchema: GenMessage & { /** - * Network contains the created network + * Network contains the created network. * * @generated from field: metalstack.api.v2.Network network = 1; */ @@ -361,7 +361,7 @@ export const NetworkServiceCreateResponseSchema: GenMessage & { /** - * Network contains the updated network + * Network contains the updated network. * * @generated from field: metalstack.api.v2.Network network = 1; */ @@ -382,7 +382,7 @@ export const NetworkServiceUpdateResponseSchema: GenMessage & { /** - * Network contains the deleted network + * Network contains the deleted network. * * @generated from field: metalstack.api.v2.Network network = 1; */ @@ -403,7 +403,7 @@ export const NetworkServiceDeleteResponseSchema: GenMessage & { /** - * Networks contains the list of networks + * Networks contains the list of networks. * * @generated from field: repeated metalstack.api.v2.Network networks = 1; */ diff --git a/js/metalstack/admin/v2/partition_pb.d.ts b/js/metalstack/admin/v2/partition_pb.d.ts index 0836921a..670d1dc4 100644 --- a/js/metalstack/admin/v2/partition_pb.d.ts +++ b/js/metalstack/admin/v2/partition_pb.d.ts @@ -7,13 +7,13 @@ import type { Message } from "@bufbuild/protobuf"; */ export declare const file_metalstack_admin_v2_partition: GenFile; /** - * PartitionServiceCreateRequest is the request payload for a partition create request + * PartitionServiceCreateRequest is the request payload for a partition create request. * * @generated from message metalstack.admin.v2.PartitionServiceCreateRequest */ export type PartitionServiceCreateRequest = Message<"metalstack.admin.v2.PartitionServiceCreateRequest"> & { /** - * Partition the partition + * Partition the partition. * * @generated from field: metalstack.api.v2.Partition partition = 1; */ @@ -31,50 +31,50 @@ export declare const PartitionServiceCreateRequestSchema: GenMessage & { /** - * ID of this partition + * ID of this partition. * * @generated from field: string id = 1; */ id: string; /** - * UpdateMeta contains the timestamp and strategy to be used in this update request + * UpdateMeta contains the timestamp and strategy to be used in this update request. * * @generated from field: metalstack.api.v2.UpdateMeta update_meta = 2; */ updateMeta?: UpdateMeta | undefined; /** - * Description of this partition + * Description of this partition. * * @generated from field: optional string description = 3; */ description?: string | undefined; /** - * PartitionBootConfiguration defines how metal-hammer boots + * PartitionBootConfiguration defines how metal-hammer boots. * * @generated from field: metalstack.api.v2.PartitionBootConfiguration boot_configuration = 4; */ bootConfiguration?: PartitionBootConfiguration | undefined; /** - * DNSServers for this partition + * DNSServers for this partition. * * @generated from field: repeated metalstack.api.v2.DNSServer dns_servers = 5; */ dnsServers: DNSServer[]; /** - * NTPServers for this partition + * NTPServers for this partition. * * @generated from field: repeated metalstack.api.v2.NTPServer ntp_servers = 6; */ ntpServers: NTPServer[]; /** - * ManagementServiceAddresses defines where the management is reachable - * must be in the form : + * ManagementServiceAddresses defines where the management is reachable. + * must be in the form :. * * @generated from field: repeated string mgmt_service_addresses = 7; */ mgmtServiceAddresses: string[]; /** - * Labels to update on this network + * Labels to update on this network. * * @generated from field: optional metalstack.api.v2.UpdateLabels labels = 8; */ @@ -86,13 +86,13 @@ export type PartitionServiceUpdateRequest = Message<"metalstack.admin.v2.Partiti */ export declare const PartitionServiceUpdateRequestSchema: GenMessage; /** - * PartitionServiceDeleteRequest is the request payload for a partition delete request + * PartitionServiceDeleteRequest is the request payload for a partition delete request. * * @generated from message metalstack.admin.v2.PartitionServiceDeleteRequest */ export type PartitionServiceDeleteRequest = Message<"metalstack.admin.v2.PartitionServiceDeleteRequest"> & { /** - * ID of the partition to delete + * ID of the partition to delete. * * @generated from field: string id = 1; */ @@ -104,13 +104,13 @@ export type PartitionServiceDeleteRequest = Message<"metalstack.admin.v2.Partiti */ export declare const PartitionServiceDeleteRequestSchema: GenMessage; /** - * PartitionServiceCreateResponse is the response payload for a partition create request + * PartitionServiceCreateResponse is the response payload for a partition create request. * * @generated from message metalstack.admin.v2.PartitionServiceCreateResponse */ export type PartitionServiceCreateResponse = Message<"metalstack.admin.v2.PartitionServiceCreateResponse"> & { /** - * Partition the partition + * Partition the partition. * * @generated from field: metalstack.api.v2.Partition partition = 1; */ @@ -122,13 +122,13 @@ export type PartitionServiceCreateResponse = Message<"metalstack.admin.v2.Partit */ export declare const PartitionServiceCreateResponseSchema: GenMessage; /** - * PartitionServiceUpdateResponse is the response payload for a partition update request + * PartitionServiceUpdateResponse is the response payload for a partition update request. * * @generated from message metalstack.admin.v2.PartitionServiceUpdateResponse */ export type PartitionServiceUpdateResponse = Message<"metalstack.admin.v2.PartitionServiceUpdateResponse"> & { /** - * Partition the partition + * Partition the partition. * * @generated from field: metalstack.api.v2.Partition partition = 1; */ @@ -146,7 +146,7 @@ export declare const PartitionServiceUpdateResponseSchema: GenMessage & { /** - * Partition contains the deleted partition + * Partition contains the deleted partition. * * @generated from field: metalstack.api.v2.Partition partition = 1; */ @@ -164,19 +164,19 @@ export declare const PartitionServiceDeleteResponseSchema: GenMessage & { /** - * ID of the partition to get + * ID of the partition to get. * * @generated from field: optional string id = 1; */ id?: string | undefined; /** - * Size of machines to show the capacity + * Size of machines to show the capacity. * * @generated from field: optional string size = 2; */ size?: string | undefined; /** - * Project of machines to show the capacity + * Project of machines to show the capacity. * * @generated from field: optional string project = 3; */ @@ -188,13 +188,13 @@ export type PartitionServiceCapacityRequest = Message<"metalstack.admin.v2.Parti */ export declare const PartitionServiceCapacityRequestSchema: GenMessage; /** - * PartitionServiceCapacityResponse is the response payload for a partition capacity request + * PartitionServiceCapacityResponse is the response payload for a partition capacity request. * * @generated from message metalstack.admin.v2.PartitionServiceCapacityResponse */ export type PartitionServiceCapacityResponse = Message<"metalstack.admin.v2.PartitionServiceCapacityResponse"> & { /** - * PartitionCapacity is a capacity report per partition + * PartitionCapacity is a capacity report per partition. * * @generated from field: repeated metalstack.admin.v2.PartitionCapacity partition_capacity = 1; */ @@ -206,7 +206,7 @@ export type PartitionServiceCapacityResponse = Message<"metalstack.admin.v2.Part */ export declare const PartitionServiceCapacityResponseSchema: GenMessage; /** - * PartitionCapacity is the capacity of one partition + * PartitionCapacity is the capacity of one partition. * * @generated from message metalstack.admin.v2.PartitionCapacity */ @@ -230,7 +230,7 @@ export type PartitionCapacity = Message<"metalstack.admin.v2.PartitionCapacity"> */ export declare const PartitionCapacitySchema: GenMessage; /** - * ServerCapacity is the capacity of one server type, eg machine size + * ServerCapacity is the capacity of one server type, eg machine size. * * @generated from message metalstack.admin.v2.MachineSizeCapacity */ @@ -292,7 +292,7 @@ export type MachineSizeCapacity = Message<"metalstack.admin.v2.MachineSizeCapaci */ free: bigint; /** - * Unavailable is the amount of machine in a partition that are currently not allocatable because they are not waiting or + * Unavailable is the amount of machine in a partition that are currently not allocatable because they are not waiting or. * not in the machine state "available", e.g. locked or reserved. * * @generated from field: int64 unavailable = 11; diff --git a/js/metalstack/admin/v2/partition_pb.ts b/js/metalstack/admin/v2/partition_pb.ts index 16063f2f..cf9149e8 100644 --- a/js/metalstack/admin/v2/partition_pb.ts +++ b/js/metalstack/admin/v2/partition_pb.ts @@ -19,13 +19,13 @@ export const file_metalstack_admin_v2_partition: GenFile = /*@__PURE__*/ fileDesc("CiNtZXRhbHN0YWNrL2FkbWluL3YyL3BhcnRpdGlvbi5wcm90bxITbWV0YWxzdGFjay5hZG1pbi52MiJQCh1QYXJ0aXRpb25TZXJ2aWNlQ3JlYXRlUmVxdWVzdBIvCglwYXJ0aXRpb24YASABKAsyHC5tZXRhbHN0YWNrLmFwaS52Mi5QYXJ0aXRpb24i3wMKHVBhcnRpdGlvblNlcnZpY2VVcGRhdGVSZXF1ZXN0EhcKAmlkGAEgASgJQgu6SAhyBtCzrrECARI6Cgt1cGRhdGVfbWV0YRgCIAEoCzIdLm1ldGFsc3RhY2suYXBpLnYyLlVwZGF0ZU1ldGFCBrpIA8gBARIlCgtkZXNjcmlwdGlvbhgDIAEoCUILukgIcgbIs66xAgFIAIgBARJJChJib290X2NvbmZpZ3VyYXRpb24YBCABKAsyLS5tZXRhbHN0YWNrLmFwaS52Mi5QYXJ0aXRpb25Cb290Q29uZmlndXJhdGlvbhI7CgtkbnNfc2VydmVycxgFIAMoCzIcLm1ldGFsc3RhY2suYXBpLnYyLkROU1NlcnZlckIIukgFkgECEAMSOwoLbnRwX3NlcnZlcnMYBiADKAsyHC5tZXRhbHN0YWNrLmFwaS52Mi5OVFBTZXJ2ZXJCCLpIBZIBAhAKEiwKFm1nbXRfc2VydmljZV9hZGRyZXNzZXMYByADKAlCDLpICZIBBsiks7ECARI0CgZsYWJlbHMYCCABKAsyHy5tZXRhbHN0YWNrLmFwaS52Mi5VcGRhdGVMYWJlbHNIAYgBAUIOCgxfZGVzY3JpcHRpb25CCQoHX2xhYmVscyI4Ch1QYXJ0aXRpb25TZXJ2aWNlRGVsZXRlUmVxdWVzdBIXCgJpZBgBIAEoCUILukgIcgbQs66xAgEiUQoeUGFydGl0aW9uU2VydmljZUNyZWF0ZVJlc3BvbnNlEi8KCXBhcnRpdGlvbhgBIAEoCzIcLm1ldGFsc3RhY2suYXBpLnYyLlBhcnRpdGlvbiJRCh5QYXJ0aXRpb25TZXJ2aWNlVXBkYXRlUmVzcG9uc2USLwoJcGFydGl0aW9uGAEgASgLMhwubWV0YWxzdGFjay5hcGkudjIuUGFydGl0aW9uIlEKHlBhcnRpdGlvblNlcnZpY2VEZWxldGVSZXNwb25zZRIvCglwYXJ0aXRpb24YASABKAsyHC5tZXRhbHN0YWNrLmFwaS52Mi5QYXJ0aXRpb24imwEKH1BhcnRpdGlvblNlcnZpY2VDYXBhY2l0eVJlcXVlc3QSHAoCaWQYASABKAlCC7pICHIG0LOusQIBSACIAQESHgoEc2l6ZRgCIAEoCUILukgIcgbAs66xAgFIAYgBARIeCgdwcm9qZWN0GAMgASgJQgi6SAVyA7ABAUgCiAEBQgUKA19pZEIHCgVfc2l6ZUIKCghfcHJvamVjdCJmCiBQYXJ0aXRpb25TZXJ2aWNlQ2FwYWNpdHlSZXNwb25zZRJCChJwYXJ0aXRpb25fY2FwYWNpdHkYASADKAsyJi5tZXRhbHN0YWNrLmFkbWluLnYyLlBhcnRpdGlvbkNhcGFjaXR5In4KEVBhcnRpdGlvbkNhcGFjaXR5Eh4KCXBhcnRpdGlvbhgBIAEoCUILukgIcgbQs66xAgESSQoXbWFjaGluZV9zaXplX2NhcGFjaXRpZXMYAiADKAsyKC5tZXRhbHN0YWNrLmFkbWluLnYyLk1hY2hpbmVTaXplQ2FwYWNpdHki0QIKE01hY2hpbmVTaXplQ2FwYWNpdHkSGQoEc2l6ZRgCIAEoCUILukgIcgbAs66xAgESDQoFdG90YWwYAyABKAMSEwoLcGhvbmVkX2hvbWUYBCABKAMSDwoHd2FpdGluZxgFIAEoAxINCgVvdGhlchgGIAEoAxIWCg5vdGhlcl9tYWNoaW5lcxgHIAMoCRIRCglhbGxvY2F0ZWQYCCABKAMSEwoLYWxsb2NhdGFibGUYCSABKAMSDAoEZnJlZRgKIAEoAxITCgt1bmF2YWlsYWJsZRgLIAEoAxIOCgZmYXVsdHkYDCABKAMSFwoPZmF1bHR5X21hY2hpbmVzGA0gAygJEhQKDHJlc2VydmF0aW9ucxgOIAEoAxIZChF1c2VkX3Jlc2VydmF0aW9ucxgPIAEoAxIeChZyZW1haW5pbmdfcmVzZXJ2YXRpb25zGBAgASgDMpIEChBQYXJ0aXRpb25TZXJ2aWNlEnwKBkNyZWF0ZRIyLm1ldGFsc3RhY2suYWRtaW4udjIuUGFydGl0aW9uU2VydmljZUNyZWF0ZVJlcXVlc3QaMy5tZXRhbHN0YWNrLmFkbWluLnYyLlBhcnRpdGlvblNlcnZpY2VDcmVhdGVSZXNwb25zZSIJ0vMYAQHg8xgBEnwKBlVwZGF0ZRIyLm1ldGFsc3RhY2suYWRtaW4udjIuUGFydGl0aW9uU2VydmljZVVwZGF0ZVJlcXVlc3QaMy5tZXRhbHN0YWNrLmFkbWluLnYyLlBhcnRpdGlvblNlcnZpY2VVcGRhdGVSZXNwb25zZSIJ0vMYAQHg8xgBEnwKBkRlbGV0ZRIyLm1ldGFsc3RhY2suYWRtaW4udjIuUGFydGl0aW9uU2VydmljZURlbGV0ZVJlcXVlc3QaMy5tZXRhbHN0YWNrLmFkbWluLnYyLlBhcnRpdGlvblNlcnZpY2VEZWxldGVSZXNwb25zZSIJ0vMYAQHg8xgBEoMBCghDYXBhY2l0eRI0Lm1ldGFsc3RhY2suYWRtaW4udjIuUGFydGl0aW9uU2VydmljZUNhcGFjaXR5UmVxdWVzdBo1Lm1ldGFsc3RhY2suYWRtaW4udjIuUGFydGl0aW9uU2VydmljZUNhcGFjaXR5UmVzcG9uc2UiCtLzGAICAeDzGAJC0gEKF2NvbS5tZXRhbHN0YWNrLmFkbWluLnYyQg5QYXJ0aXRpb25Qcm90b1ABWjlnaXRodWIuY29tL21ldGFsLXN0YWNrL2FwaS9nby9tZXRhbHN0YWNrL2FkbWluL3YyO2FkbWludjKiAgNNQViqAhNNZXRhbHN0YWNrLkFkbWluLlYyygITTWV0YWxzdGFja1xBZG1pblxWMuICH01ldGFsc3RhY2tcQWRtaW5cVjJcR1BCTWV0YWRhdGHqAhVNZXRhbHN0YWNrOjpBZG1pbjo6VjJiBnByb3RvMw", [file_buf_validate_validate, file_metalstack_api_v2_common, file_metalstack_api_v2_partition, file_metalstack_api_v2_predefined_rules]); /** - * PartitionServiceCreateRequest is the request payload for a partition create request + * PartitionServiceCreateRequest is the request payload for a partition create request. * * @generated from message metalstack.admin.v2.PartitionServiceCreateRequest */ export type PartitionServiceCreateRequest = Message<"metalstack.admin.v2.PartitionServiceCreateRequest"> & { /** - * Partition the partition + * Partition the partition. * * @generated from field: metalstack.api.v2.Partition partition = 1; */ @@ -46,57 +46,57 @@ export const PartitionServiceCreateRequestSchema: GenMessage & { /** - * ID of this partition + * ID of this partition. * * @generated from field: string id = 1; */ id: string; /** - * UpdateMeta contains the timestamp and strategy to be used in this update request + * UpdateMeta contains the timestamp and strategy to be used in this update request. * * @generated from field: metalstack.api.v2.UpdateMeta update_meta = 2; */ updateMeta?: UpdateMeta | undefined; /** - * Description of this partition + * Description of this partition. * * @generated from field: optional string description = 3; */ description?: string | undefined; /** - * PartitionBootConfiguration defines how metal-hammer boots + * PartitionBootConfiguration defines how metal-hammer boots. * * @generated from field: metalstack.api.v2.PartitionBootConfiguration boot_configuration = 4; */ bootConfiguration?: PartitionBootConfiguration | undefined; /** - * DNSServers for this partition + * DNSServers for this partition. * * @generated from field: repeated metalstack.api.v2.DNSServer dns_servers = 5; */ dnsServers: DNSServer[]; /** - * NTPServers for this partition + * NTPServers for this partition. * * @generated from field: repeated metalstack.api.v2.NTPServer ntp_servers = 6; */ ntpServers: NTPServer[]; /** - * ManagementServiceAddresses defines where the management is reachable - * must be in the form : + * ManagementServiceAddresses defines where the management is reachable. + * must be in the form :. * * @generated from field: repeated string mgmt_service_addresses = 7; */ mgmtServiceAddresses: string[]; /** - * Labels to update on this network + * Labels to update on this network. * * @generated from field: optional metalstack.api.v2.UpdateLabels labels = 8; */ @@ -111,13 +111,13 @@ export const PartitionServiceUpdateRequestSchema: GenMessage & { /** - * ID of the partition to delete + * ID of the partition to delete. * * @generated from field: string id = 1; */ @@ -132,13 +132,13 @@ export const PartitionServiceDeleteRequestSchema: GenMessage & { /** - * Partition the partition + * Partition the partition. * * @generated from field: metalstack.api.v2.Partition partition = 1; */ @@ -153,13 +153,13 @@ export const PartitionServiceCreateResponseSchema: GenMessage & { /** - * Partition the partition + * Partition the partition. * * @generated from field: metalstack.api.v2.Partition partition = 1; */ @@ -180,7 +180,7 @@ export const PartitionServiceUpdateResponseSchema: GenMessage & { /** - * Partition contains the deleted partition + * Partition contains the deleted partition. * * @generated from field: metalstack.api.v2.Partition partition = 1; */ @@ -201,21 +201,21 @@ export const PartitionServiceDeleteResponseSchema: GenMessage & { /** - * ID of the partition to get + * ID of the partition to get. * * @generated from field: optional string id = 1; */ id?: string | undefined; /** - * Size of machines to show the capacity + * Size of machines to show the capacity. * * @generated from field: optional string size = 2; */ size?: string | undefined; /** - * Project of machines to show the capacity + * Project of machines to show the capacity. * * @generated from field: optional string project = 3; */ @@ -230,13 +230,13 @@ export const PartitionServiceCapacityRequestSchema: GenMessage & { /** - * PartitionCapacity is a capacity report per partition + * PartitionCapacity is a capacity report per partition. * * @generated from field: repeated metalstack.admin.v2.PartitionCapacity partition_capacity = 1; */ @@ -251,7 +251,7 @@ export const PartitionServiceCapacityResponseSchema: GenMessage = /*@__PURE_ messageDesc(file_metalstack_admin_v2_partition, 8); /** - * ServerCapacity is the capacity of one server type, eg machine size + * ServerCapacity is the capacity of one server type, eg machine size. * * @generated from message metalstack.admin.v2.MachineSizeCapacity */ @@ -350,7 +350,7 @@ export type MachineSizeCapacity = Message<"metalstack.admin.v2.MachineSizeCapaci free: bigint; /** - * Unavailable is the amount of machine in a partition that are currently not allocatable because they are not waiting or + * Unavailable is the amount of machine in a partition that are currently not allocatable because they are not waiting or. * not in the machine state "available", e.g. locked or reserved. * * @generated from field: int64 unavailable = 11; diff --git a/js/metalstack/admin/v2/project_pb.d.ts b/js/metalstack/admin/v2/project_pb.d.ts index c662ad13..47336ba7 100644 --- a/js/metalstack/admin/v2/project_pb.d.ts +++ b/js/metalstack/admin/v2/project_pb.d.ts @@ -12,7 +12,7 @@ export declare const file_metalstack_admin_v2_project: GenFile; */ export type ProjectServiceListRequest = Message<"metalstack.admin.v2.ProjectServiceListRequest"> & { /** - * Query for projects + * Query for projects. * * @generated from field: optional metalstack.api.v2.ProjectQuery query = 1; */ @@ -30,7 +30,7 @@ export declare const ProjectServiceListRequestSchema: GenMessage & { /** - * Projects contains the list of projects + * Projects contains the list of projects. * * @generated from field: repeated metalstack.api.v2.Project projects = 1; */ diff --git a/js/metalstack/admin/v2/project_pb.ts b/js/metalstack/admin/v2/project_pb.ts index e5f8954b..a486e8d3 100644 --- a/js/metalstack/admin/v2/project_pb.ts +++ b/js/metalstack/admin/v2/project_pb.ts @@ -22,7 +22,7 @@ export const file_metalstack_admin_v2_project: GenFile = /*@__PURE__*/ */ export type ProjectServiceListRequest = Message<"metalstack.admin.v2.ProjectServiceListRequest"> & { /** - * Query for projects + * Query for projects. * * @generated from field: optional metalstack.api.v2.ProjectQuery query = 1; */ @@ -43,7 +43,7 @@ export const ProjectServiceListRequestSchema: GenMessage & { /** - * Projects contains the list of projects + * Projects contains the list of projects. * * @generated from field: repeated metalstack.api.v2.Project projects = 1; */ diff --git a/js/metalstack/admin/v2/size_imageconstraint_pb.d.ts b/js/metalstack/admin/v2/size_imageconstraint_pb.d.ts index 4d1fea09..02aab6b2 100644 --- a/js/metalstack/admin/v2/size_imageconstraint_pb.d.ts +++ b/js/metalstack/admin/v2/size_imageconstraint_pb.d.ts @@ -13,31 +13,31 @@ export declare const file_metalstack_admin_v2_size_imageconstraint: GenFile; */ export type SizeImageConstraintServiceCreateRequest = Message<"metalstack.admin.v2.SizeImageConstraintServiceCreateRequest"> & { /** - * Size of the constraint + * Size of the constraint. * * @generated from field: string size = 1; */ size: string; /** - * ImageConstraints to apply to this size + * ImageConstraints to apply to this size. * * @generated from field: repeated metalstack.api.v2.ImageConstraint image_constraints = 2; */ imageConstraints: ImageConstraint[]; /** - * Meta for this size image constraint + * Meta for this size image constraint. * * @generated from field: metalstack.api.v2.Meta meta = 3; */ meta?: Meta | undefined; /** - * Name of this size image constraint + * Name of this size image constraint. * * @generated from field: optional string name = 4; */ name?: string | undefined; /** - * Description of this size image constraint + * Description of this size image constraint. * * @generated from field: optional string description = 5; */ @@ -55,7 +55,7 @@ export declare const SizeImageConstraintServiceCreateRequestSchema: GenMessage & { /** - * SizeImageConstraint contains the created constraint + * SizeImageConstraint contains the created constraint. * * @generated from field: metalstack.api.v2.SizeImageConstraint size_image_constraint = 1; */ @@ -73,31 +73,31 @@ export declare const SizeImageConstraintServiceCreateResponseSchema: GenMessage< */ export type SizeImageConstraintServiceUpdateRequest = Message<"metalstack.admin.v2.SizeImageConstraintServiceUpdateRequest"> & { /** - * Size of the image constraint to update + * Size of the image constraint to update. * * @generated from field: string size = 1; */ size: string; /** - * UpdateMeta contains the timestamp and strategy to be used in this update request + * UpdateMeta contains the timestamp and strategy to be used in this update request. * * @generated from field: metalstack.api.v2.UpdateMeta update_meta = 2; */ updateMeta?: UpdateMeta | undefined; /** - * ImageConstraints to apply to this size + * ImageConstraints to apply to this size. * * @generated from field: repeated metalstack.api.v2.ImageConstraint image_constraints = 3; */ imageConstraints: ImageConstraint[]; /** - * Name of this size image constraint + * Name of this size image constraint. * * @generated from field: optional string name = 4; */ name?: string | undefined; /** - * Description of this size image constraint + * Description of this size image constraint. * * @generated from field: optional string description = 5; */ @@ -115,7 +115,7 @@ export declare const SizeImageConstraintServiceUpdateRequestSchema: GenMessage & { /** - * SizeImageConstraint contains the updated constraint + * SizeImageConstraint contains the updated constraint. * * @generated from field: metalstack.api.v2.SizeImageConstraint size_image_constraint = 1; */ @@ -133,7 +133,7 @@ export declare const SizeImageConstraintServiceUpdateResponseSchema: GenMessage< */ export type SizeImageConstraintServiceDeleteRequest = Message<"metalstack.admin.v2.SizeImageConstraintServiceDeleteRequest"> & { /** - * Size of the constraint + * Size of the constraint. * * @generated from field: string size = 1; */ @@ -151,7 +151,7 @@ export declare const SizeImageConstraintServiceDeleteRequestSchema: GenMessage & { /** - * SizeImageConstraint contains the deleted constraint + * SizeImageConstraint contains the deleted constraint. * * @generated from field: metalstack.api.v2.SizeImageConstraint size_image_constraint = 1; */ @@ -169,7 +169,7 @@ export declare const SizeImageConstraintServiceDeleteResponseSchema: GenMessage< */ export type SizeImageConstraintServiceGetRequest = Message<"metalstack.admin.v2.SizeImageConstraintServiceGetRequest"> & { /** - * Size of the constraint + * Size of the constraint. * * @generated from field: string size = 1; */ @@ -187,7 +187,7 @@ export declare const SizeImageConstraintServiceGetRequestSchema: GenMessage & { /** - * SizeImageConstraint contains the retrieved constraint + * SizeImageConstraint contains the retrieved constraint. * * @generated from field: metalstack.api.v2.SizeImageConstraint size_image_constraint = 1; */ @@ -205,7 +205,7 @@ export declare const SizeImageConstraintServiceGetResponseSchema: GenMessage & { /** - * Query for size image constraints + * Query for size image constraints. * * @generated from field: metalstack.api.v2.SizeImageConstraintQuery query = 1; */ @@ -223,7 +223,7 @@ export declare const SizeImageConstraintServiceListRequestSchema: GenMessage & { /** - * SizeImageConstraints contains the list of constraints + * SizeImageConstraints contains the list of constraints. * * @generated from field: repeated metalstack.api.v2.SizeImageConstraint size_image_constraints = 1; */ diff --git a/js/metalstack/admin/v2/size_imageconstraint_pb.ts b/js/metalstack/admin/v2/size_imageconstraint_pb.ts index 9dd851f6..0a68ea09 100644 --- a/js/metalstack/admin/v2/size_imageconstraint_pb.ts +++ b/js/metalstack/admin/v2/size_imageconstraint_pb.ts @@ -25,35 +25,35 @@ export const file_metalstack_admin_v2_size_imageconstraint: GenFile = /*@__PURE_ */ export type SizeImageConstraintServiceCreateRequest = Message<"metalstack.admin.v2.SizeImageConstraintServiceCreateRequest"> & { /** - * Size of the constraint + * Size of the constraint. * * @generated from field: string size = 1; */ size: string; /** - * ImageConstraints to apply to this size + * ImageConstraints to apply to this size. * * @generated from field: repeated metalstack.api.v2.ImageConstraint image_constraints = 2; */ imageConstraints: ImageConstraint[]; /** - * Meta for this size image constraint + * Meta for this size image constraint. * * @generated from field: metalstack.api.v2.Meta meta = 3; */ meta?: Meta | undefined; /** - * Name of this size image constraint + * Name of this size image constraint. * * @generated from field: optional string name = 4; */ name?: string | undefined; /** - * Description of this size image constraint + * Description of this size image constraint. * * @generated from field: optional string description = 5; */ @@ -74,7 +74,7 @@ export const SizeImageConstraintServiceCreateRequestSchema: GenMessage & { /** - * SizeImageConstraint contains the created constraint + * SizeImageConstraint contains the created constraint. * * @generated from field: metalstack.api.v2.SizeImageConstraint size_image_constraint = 1; */ @@ -95,35 +95,35 @@ export const SizeImageConstraintServiceCreateResponseSchema: GenMessage & { /** - * Size of the image constraint to update + * Size of the image constraint to update. * * @generated from field: string size = 1; */ size: string; /** - * UpdateMeta contains the timestamp and strategy to be used in this update request + * UpdateMeta contains the timestamp and strategy to be used in this update request. * * @generated from field: metalstack.api.v2.UpdateMeta update_meta = 2; */ updateMeta?: UpdateMeta | undefined; /** - * ImageConstraints to apply to this size + * ImageConstraints to apply to this size. * * @generated from field: repeated metalstack.api.v2.ImageConstraint image_constraints = 3; */ imageConstraints: ImageConstraint[]; /** - * Name of this size image constraint + * Name of this size image constraint. * * @generated from field: optional string name = 4; */ name?: string | undefined; /** - * Description of this size image constraint + * Description of this size image constraint. * * @generated from field: optional string description = 5; */ @@ -144,7 +144,7 @@ export const SizeImageConstraintServiceUpdateRequestSchema: GenMessage & { /** - * SizeImageConstraint contains the updated constraint + * SizeImageConstraint contains the updated constraint. * * @generated from field: metalstack.api.v2.SizeImageConstraint size_image_constraint = 1; */ @@ -165,7 +165,7 @@ export const SizeImageConstraintServiceUpdateResponseSchema: GenMessage & { /** - * Size of the constraint + * Size of the constraint. * * @generated from field: string size = 1; */ @@ -186,7 +186,7 @@ export const SizeImageConstraintServiceDeleteRequestSchema: GenMessage & { /** - * SizeImageConstraint contains the deleted constraint + * SizeImageConstraint contains the deleted constraint. * * @generated from field: metalstack.api.v2.SizeImageConstraint size_image_constraint = 1; */ @@ -207,7 +207,7 @@ export const SizeImageConstraintServiceDeleteResponseSchema: GenMessage & { /** - * Size of the constraint + * Size of the constraint. * * @generated from field: string size = 1; */ @@ -228,7 +228,7 @@ export const SizeImageConstraintServiceGetRequestSchema: GenMessage & { /** - * SizeImageConstraint contains the retrieved constraint + * SizeImageConstraint contains the retrieved constraint. * * @generated from field: metalstack.api.v2.SizeImageConstraint size_image_constraint = 1; */ @@ -249,7 +249,7 @@ export const SizeImageConstraintServiceGetResponseSchema: GenMessage & { /** - * Query for size image constraints + * Query for size image constraints. * * @generated from field: metalstack.api.v2.SizeImageConstraintQuery query = 1; */ @@ -270,7 +270,7 @@ export const SizeImageConstraintServiceListRequestSchema: GenMessage & { /** - * SizeImageConstraints contains the list of constraints + * SizeImageConstraints contains the list of constraints. * * @generated from field: repeated metalstack.api.v2.SizeImageConstraint size_image_constraints = 1; */ diff --git a/js/metalstack/admin/v2/size_pb.d.ts b/js/metalstack/admin/v2/size_pb.d.ts index d2f9fc18..e17ef863 100644 --- a/js/metalstack/admin/v2/size_pb.d.ts +++ b/js/metalstack/admin/v2/size_pb.d.ts @@ -13,7 +13,7 @@ export declare const file_metalstack_admin_v2_size: GenFile; */ export type SizeServiceCreateRequest = Message<"metalstack.admin.v2.SizeServiceCreateRequest"> & { /** - * Size is the size to create + * Size is the size to create. * * @generated from field: metalstack.api.v2.Size size = 1; */ @@ -31,7 +31,7 @@ export declare const SizeServiceCreateRequestSchema: GenMessage & { /** - * Size contains the created size + * Size contains the created size. * * @generated from field: metalstack.api.v2.Size size = 1; */ @@ -49,37 +49,37 @@ export declare const SizeServiceCreateResponseSchema: GenMessage & { /** - * Id of this size + * Id of this size. * * @generated from field: string id = 1; */ id: string; /** - * UpdateMeta contains the timestamp and strategy to be used in this update request + * UpdateMeta contains the timestamp and strategy to be used in this update request. * * @generated from field: metalstack.api.v2.UpdateMeta update_meta = 2; */ updateMeta?: UpdateMeta | undefined; /** - * Name of this size + * Name of this size. * * @generated from field: optional string name = 3; */ name?: string | undefined; /** - * Description of this size + * Description of this size. * * @generated from field: optional string description = 4; */ description?: string | undefined; /** - * Constraints which must match that a specific machine is considered of this size + * Constraints which must match that a specific machine is considered of this size. * * @generated from field: repeated metalstack.api.v2.SizeConstraint constraints = 5; */ constraints: SizeConstraint[]; /** - * Labels to update on this size + * Labels to update on this size. * * @generated from field: optional metalstack.api.v2.UpdateLabels labels = 6; */ @@ -97,7 +97,7 @@ export declare const SizeServiceUpdateRequestSchema: GenMessage & { /** - * Size contains the updated size + * Size contains the updated size. * * @generated from field: metalstack.api.v2.Size size = 1; */ @@ -115,7 +115,7 @@ export declare const SizeServiceUpdateResponseSchema: GenMessage & { /** - * ID of the size to delete + * ID of the size to delete. * * @generated from field: string id = 1; */ @@ -133,7 +133,7 @@ export declare const SizeServiceDeleteRequestSchema: GenMessage & { /** - * Size contains the deleted size + * Size contains the deleted size. * * @generated from field: metalstack.api.v2.Size size = 1; */ diff --git a/js/metalstack/admin/v2/size_pb.ts b/js/metalstack/admin/v2/size_pb.ts index d336f075..a0ad50b4 100644 --- a/js/metalstack/admin/v2/size_pb.ts +++ b/js/metalstack/admin/v2/size_pb.ts @@ -25,7 +25,7 @@ export const file_metalstack_admin_v2_size: GenFile = /*@__PURE__*/ */ export type SizeServiceCreateRequest = Message<"metalstack.admin.v2.SizeServiceCreateRequest"> & { /** - * Size is the size to create + * Size is the size to create. * * @generated from field: metalstack.api.v2.Size size = 1; */ @@ -46,7 +46,7 @@ export const SizeServiceCreateRequestSchema: GenMessage & { /** - * Size contains the created size + * Size contains the created size. * * @generated from field: metalstack.api.v2.Size size = 1; */ @@ -67,42 +67,42 @@ export const SizeServiceCreateResponseSchema: GenMessage & { /** - * Id of this size + * Id of this size. * * @generated from field: string id = 1; */ id: string; /** - * UpdateMeta contains the timestamp and strategy to be used in this update request + * UpdateMeta contains the timestamp and strategy to be used in this update request. * * @generated from field: metalstack.api.v2.UpdateMeta update_meta = 2; */ updateMeta?: UpdateMeta | undefined; /** - * Name of this size + * Name of this size. * * @generated from field: optional string name = 3; */ name?: string | undefined; /** - * Description of this size + * Description of this size. * * @generated from field: optional string description = 4; */ description?: string | undefined; /** - * Constraints which must match that a specific machine is considered of this size + * Constraints which must match that a specific machine is considered of this size. * * @generated from field: repeated metalstack.api.v2.SizeConstraint constraints = 5; */ constraints: SizeConstraint[]; /** - * Labels to update on this size + * Labels to update on this size. * * @generated from field: optional metalstack.api.v2.UpdateLabels labels = 6; */ @@ -123,7 +123,7 @@ export const SizeServiceUpdateRequestSchema: GenMessage & { /** - * Size contains the updated size + * Size contains the updated size. * * @generated from field: metalstack.api.v2.Size size = 1; */ @@ -144,7 +144,7 @@ export const SizeServiceUpdateResponseSchema: GenMessage & { /** - * ID of the size to delete + * ID of the size to delete. * * @generated from field: string id = 1; */ @@ -165,7 +165,7 @@ export const SizeServiceDeleteRequestSchema: GenMessage & { /** - * Size contains the deleted size + * Size contains the deleted size. * * @generated from field: metalstack.api.v2.Size size = 1; */ diff --git a/js/metalstack/admin/v2/size_reservation_pb.d.ts b/js/metalstack/admin/v2/size_reservation_pb.d.ts index bee37bce..473b57e6 100644 --- a/js/metalstack/admin/v2/size_reservation_pb.d.ts +++ b/js/metalstack/admin/v2/size_reservation_pb.d.ts @@ -13,7 +13,7 @@ export declare const file_metalstack_admin_v2_size_reservation: GenFile; */ export type SizeReservationServiceCreateRequest = Message<"metalstack.admin.v2.SizeReservationServiceCreateRequest"> & { /** - * SizeReservation is the size reservation to create + * SizeReservation is the size reservation to create. * * @generated from field: metalstack.api.v2.SizeReservation size_reservation = 1; */ @@ -31,7 +31,7 @@ export declare const SizeReservationServiceCreateRequestSchema: GenMessage & { /** - * SizeReservation contains the created reservation + * SizeReservation contains the created reservation. * * @generated from field: metalstack.api.v2.SizeReservation size_reservation = 1; */ @@ -49,43 +49,43 @@ export declare const SizeReservationServiceCreateResponseSchema: GenMessage & { /** - * Id of this size reservation + * Id of this size reservation. * * @generated from field: string id = 1; */ id: string; /** - * Name of this size reservation + * Name of this size reservation. * * @generated from field: optional string name = 2; */ name?: string | undefined; /** - * Description of this size reservation + * Description of this size reservation. * * @generated from field: optional string description = 3; */ description?: string | undefined; /** - * UpdateMeta contains the timestamp and strategy to be used in this update request + * UpdateMeta contains the timestamp and strategy to be used in this update request. * * @generated from field: metalstack.api.v2.UpdateMeta update_meta = 4; */ updateMeta?: UpdateMeta | undefined; /** - * Partition ids of this size reservation + * Partition ids of this size reservation. * * @generated from field: repeated string partitions = 5; */ partitions: string[]; /** - * Amount of reservations of this size reservation + * Amount of reservations of this size reservation. * * @generated from field: optional int32 amount = 6; */ amount?: number | undefined; /** - * Labels to update of this size reservation + * Labels to update of this size reservation. * * @generated from field: optional metalstack.api.v2.UpdateLabels labels = 7; */ @@ -103,7 +103,7 @@ export declare const SizeReservationServiceUpdateRequestSchema: GenMessage & { /** - * SizeReservation contains the updated reservation + * SizeReservation contains the updated reservation. * * @generated from field: metalstack.api.v2.SizeReservation size_reservation = 1; */ @@ -121,7 +121,7 @@ export declare const SizeReservationServiceUpdateResponseSchema: GenMessage & { /** - * ID of the size reservation to delete + * ID of the size reservation to delete. * * @generated from field: string id = 1; */ @@ -139,7 +139,7 @@ export declare const SizeReservationServiceDeleteRequestSchema: GenMessage & { /** - * SizeReservation contains the deleted reservation + * SizeReservation contains the deleted reservation. * * @generated from field: metalstack.api.v2.SizeReservation size_reservation = 1; */ @@ -157,7 +157,7 @@ export declare const SizeReservationServiceDeleteResponseSchema: GenMessage & { /** - * Query for size reservations + * Query for size reservations. * * @generated from field: metalstack.api.v2.SizeReservationQuery query = 1; */ @@ -175,7 +175,7 @@ export declare const SizeReservationServiceListRequestSchema: GenMessage & { /** - * SizeReservations contains the list of reservations + * SizeReservations contains the list of reservations. * * @generated from field: repeated metalstack.api.v2.SizeReservation size_reservations = 1; */ diff --git a/js/metalstack/admin/v2/size_reservation_pb.ts b/js/metalstack/admin/v2/size_reservation_pb.ts index 23f18cd7..d3006d17 100644 --- a/js/metalstack/admin/v2/size_reservation_pb.ts +++ b/js/metalstack/admin/v2/size_reservation_pb.ts @@ -25,7 +25,7 @@ export const file_metalstack_admin_v2_size_reservation: GenFile = /*@__PURE__*/ */ export type SizeReservationServiceCreateRequest = Message<"metalstack.admin.v2.SizeReservationServiceCreateRequest"> & { /** - * SizeReservation is the size reservation to create + * SizeReservation is the size reservation to create. * * @generated from field: metalstack.api.v2.SizeReservation size_reservation = 1; */ @@ -46,7 +46,7 @@ export const SizeReservationServiceCreateRequestSchema: GenMessage & { /** - * SizeReservation contains the created reservation + * SizeReservation contains the created reservation. * * @generated from field: metalstack.api.v2.SizeReservation size_reservation = 1; */ @@ -67,49 +67,49 @@ export const SizeReservationServiceCreateResponseSchema: GenMessage & { /** - * Id of this size reservation + * Id of this size reservation. * * @generated from field: string id = 1; */ id: string; /** - * Name of this size reservation + * Name of this size reservation. * * @generated from field: optional string name = 2; */ name?: string | undefined; /** - * Description of this size reservation + * Description of this size reservation. * * @generated from field: optional string description = 3; */ description?: string | undefined; /** - * UpdateMeta contains the timestamp and strategy to be used in this update request + * UpdateMeta contains the timestamp and strategy to be used in this update request. * * @generated from field: metalstack.api.v2.UpdateMeta update_meta = 4; */ updateMeta?: UpdateMeta | undefined; /** - * Partition ids of this size reservation + * Partition ids of this size reservation. * * @generated from field: repeated string partitions = 5; */ partitions: string[]; /** - * Amount of reservations of this size reservation + * Amount of reservations of this size reservation. * * @generated from field: optional int32 amount = 6; */ amount?: number | undefined; /** - * Labels to update of this size reservation + * Labels to update of this size reservation. * * @generated from field: optional metalstack.api.v2.UpdateLabels labels = 7; */ @@ -130,7 +130,7 @@ export const SizeReservationServiceUpdateRequestSchema: GenMessage & { /** - * SizeReservation contains the updated reservation + * SizeReservation contains the updated reservation. * * @generated from field: metalstack.api.v2.SizeReservation size_reservation = 1; */ @@ -151,7 +151,7 @@ export const SizeReservationServiceUpdateResponseSchema: GenMessage & { /** - * ID of the size reservation to delete + * ID of the size reservation to delete. * * @generated from field: string id = 1; */ @@ -172,7 +172,7 @@ export const SizeReservationServiceDeleteRequestSchema: GenMessage & { /** - * SizeReservation contains the deleted reservation + * SizeReservation contains the deleted reservation. * * @generated from field: metalstack.api.v2.SizeReservation size_reservation = 1; */ @@ -193,7 +193,7 @@ export const SizeReservationServiceDeleteResponseSchema: GenMessage & { /** - * Query for size reservations + * Query for size reservations. * * @generated from field: metalstack.api.v2.SizeReservationQuery query = 1; */ @@ -214,7 +214,7 @@ export const SizeReservationServiceListRequestSchema: GenMessage & { /** - * SizeReservations contains the list of reservations + * SizeReservations contains the list of reservations. * * @generated from field: repeated metalstack.api.v2.SizeReservation size_reservations = 1; */ diff --git a/js/metalstack/admin/v2/switch_pb.d.ts b/js/metalstack/admin/v2/switch_pb.d.ts index 6920526e..34306cf1 100644 --- a/js/metalstack/admin/v2/switch_pb.d.ts +++ b/js/metalstack/admin/v2/switch_pb.d.ts @@ -15,7 +15,7 @@ export declare const file_metalstack_admin_v2_switch: GenFile; */ export type SwitchServiceGetRequest = Message<"metalstack.admin.v2.SwitchServiceGetRequest"> & { /** - * Id of the switch to get + * Id of the switch to get. * * @generated from field: string id = 1; */ @@ -33,7 +33,7 @@ export declare const SwitchServiceGetRequestSchema: GenMessage & { /** - * Switch contains the requested switch + * Switch contains the requested switch. * * @generated from field: metalstack.api.v2.Switch switch = 1; */ @@ -51,7 +51,7 @@ export declare const SwitchServiceGetResponseSchema: GenMessage & { /** - * Query to filter the results + * Query to filter the results. * * @generated from field: metalstack.api.v2.SwitchQuery query = 1; */ @@ -69,7 +69,7 @@ export declare const SwitchServiceListRequestSchema: GenMessage & { /** - * Switches that match the request query + * Switches that match the request query. * * @generated from field: repeated metalstack.api.v2.Switch switches = 1; */ @@ -87,62 +87,62 @@ export declare const SwitchServiceListResponseSchema: GenMessage & { /** - * ID of the switch + * ID of the switch. * * @generated from field: string id = 1; */ id: string; /** - * UpdateMeta contains the timestamp and strategy to be used in this update request + * UpdateMeta contains the timestamp and strategy to be used in this update request. * * @generated from field: metalstack.api.v2.UpdateMeta update_meta = 2; */ updateMeta?: UpdateMeta | undefined; /** - * UpdatedAt is the date when this entity was updated - * Must be part of the update request to ensure optimistic locking + * UpdatedAt is the date when this entity was updated. + * Must be part of the update request to ensure optimistic locking. * * @generated from field: google.protobuf.Timestamp updated_at = 3; */ updatedAt?: Timestamp | undefined; /** - * Description of the switch + * Description of the switch. * * @generated from field: optional string description = 4; */ description?: string | undefined; /** - * ReplaceMode is used to mark a switch ready for replacement + * ReplaceMode is used to mark a switch ready for replacement. * * @generated from field: optional metalstack.api.v2.SwitchReplaceMode replace_mode = 5; */ replaceMode?: SwitchReplaceMode | undefined; /** - * ManagementIp is the switch's IP for management access + * ManagementIp is the switch's IP for management access. * * @generated from field: optional string management_ip = 6; */ managementIp?: string | undefined; /** - * ManagementUser is the user name to use for management access + * ManagementUser is the user name to use for management access. * * @generated from field: optional string management_user = 7; */ managementUser?: string | undefined; /** - * ConsoleCommand is the command for accessing the switch's console + * ConsoleCommand is the command for accessing the switch's console. * * @generated from field: optional string console_command = 8; */ consoleCommand?: string | undefined; /** - * Nics are the front panel ports of the switch + * Nics are the front panel ports of the switch. * * @generated from field: repeated metalstack.api.v2.SwitchNic nics = 9; */ nics: SwitchNic[]; /** - * SwitchOs is the OS running on the switch + * SwitchOs is the OS running on the switch. * * @generated from field: optional metalstack.api.v2.SwitchOS os = 10; */ @@ -160,7 +160,7 @@ export declare const SwitchServiceUpdateRequestSchema: GenMessage & { /** - * Switch contains the updated switch + * Switch contains the updated switch. * * @generated from field: metalstack.api.v2.Switch switch = 1; */ @@ -178,13 +178,13 @@ export declare const SwitchServiceUpdateResponseSchema: GenMessage & { /** - * Id of the switch + * Id of the switch. * * @generated from field: string id = 1; */ id: string; /** - * Force will allow switch deletion despite existing machine connections + * Force will allow switch deletion despite existing machine connections. * * @generated from field: bool force = 2; */ @@ -202,7 +202,7 @@ export declare const SwitchServiceDeleteRequestSchema: GenMessage & { /** - * Switch contains the deleted switch + * Switch contains the deleted switch. * * @generated from field: metalstack.api.v2.Switch switch = 1; */ @@ -220,13 +220,13 @@ export declare const SwitchServiceDeleteResponseSchema: GenMessage & { /** - * OldSwitch is the switch to migrate away from + * OldSwitch is the switch to migrate away from. * * @generated from field: string old_switch = 1; */ oldSwitch: string; /** - * NewSwitch is the switch to migrate to + * NewSwitch is the switch to migrate to. * * @generated from field: string new_switch = 2; */ @@ -244,7 +244,7 @@ export declare const SwitchServiceMigrateRequestSchema: GenMessage & { /** - * Switch contains the switch that was migrated to + * Switch contains the switch that was migrated to. * * @generated from field: metalstack.api.v2.Switch switch = 1; */ @@ -262,19 +262,19 @@ export declare const SwitchServiceMigrateResponseSchema: GenMessage & { /** - * Id of the switch + * Id of the switch. * * @generated from field: string id = 1; */ id: string; /** - * NicName of the port whose status should be changed + * NicName of the port whose status should be changed. * * @generated from field: string nic_name = 2; */ nicName: string; /** - * Status that the port should have + * Status that the port should have. * * @generated from field: metalstack.api.v2.SwitchPortStatus status = 3; */ @@ -292,7 +292,7 @@ export declare const SwitchServicePortRequestSchema: GenMessage & { /** - * Switch after the port status toggle + * Switch after the port status toggle. * * @generated from field: metalstack.api.v2.Switch switch = 1; */ @@ -310,13 +310,13 @@ export declare const SwitchServicePortResponseSchema: GenMessage & { /** - * Query to filter the switch results + * Query to filter the switch results. * * @generated from field: metalstack.api.v2.SwitchQuery query = 1; */ query?: SwitchQuery | undefined; /** - * MachineQuery to filter the machine results + * MachineQuery to filter the machine results. * * @generated from field: metalstack.api.v2.MachineQuery machine_query = 2; */ @@ -334,7 +334,7 @@ export declare const SwitchServiceConnectedMachinesRequestSchema: GenMessage & { /** - * SwitchesWithMachines contains all switches with their machine connections + * SwitchesWithMachines contains all switches with their machine connections. * * @generated from field: repeated metalstack.api.v2.SwitchWithMachines switches_with_machines = 1; */ diff --git a/js/metalstack/admin/v2/switch_pb.ts b/js/metalstack/admin/v2/switch_pb.ts index 28fdc2d4..161db199 100644 --- a/js/metalstack/admin/v2/switch_pb.ts +++ b/js/metalstack/admin/v2/switch_pb.ts @@ -29,7 +29,7 @@ export const file_metalstack_admin_v2_switch: GenFile = /*@__PURE__*/ */ export type SwitchServiceGetRequest = Message<"metalstack.admin.v2.SwitchServiceGetRequest"> & { /** - * Id of the switch to get + * Id of the switch to get. * * @generated from field: string id = 1; */ @@ -50,7 +50,7 @@ export const SwitchServiceGetRequestSchema: GenMessage */ export type SwitchServiceGetResponse = Message<"metalstack.admin.v2.SwitchServiceGetResponse"> & { /** - * Switch contains the requested switch + * Switch contains the requested switch. * * @generated from field: metalstack.api.v2.Switch switch = 1; */ @@ -71,7 +71,7 @@ export const SwitchServiceGetResponseSchema: GenMessage & { /** - * Query to filter the results + * Query to filter the results. * * @generated from field: metalstack.api.v2.SwitchQuery query = 1; */ @@ -92,7 +92,7 @@ export const SwitchServiceListRequestSchema: GenMessage & { /** - * Switches that match the request query + * Switches that match the request query. * * @generated from field: repeated metalstack.api.v2.Switch switches = 1; */ @@ -113,71 +113,71 @@ export const SwitchServiceListResponseSchema: GenMessage & { /** - * ID of the switch + * ID of the switch. * * @generated from field: string id = 1; */ id: string; /** - * UpdateMeta contains the timestamp and strategy to be used in this update request + * UpdateMeta contains the timestamp and strategy to be used in this update request. * * @generated from field: metalstack.api.v2.UpdateMeta update_meta = 2; */ updateMeta?: UpdateMeta | undefined; /** - * UpdatedAt is the date when this entity was updated - * Must be part of the update request to ensure optimistic locking + * UpdatedAt is the date when this entity was updated. + * Must be part of the update request to ensure optimistic locking. * * @generated from field: google.protobuf.Timestamp updated_at = 3; */ updatedAt?: Timestamp | undefined; /** - * Description of the switch + * Description of the switch. * * @generated from field: optional string description = 4; */ description?: string | undefined; /** - * ReplaceMode is used to mark a switch ready for replacement + * ReplaceMode is used to mark a switch ready for replacement. * * @generated from field: optional metalstack.api.v2.SwitchReplaceMode replace_mode = 5; */ replaceMode?: SwitchReplaceMode | undefined; /** - * ManagementIp is the switch's IP for management access + * ManagementIp is the switch's IP for management access. * * @generated from field: optional string management_ip = 6; */ managementIp?: string | undefined; /** - * ManagementUser is the user name to use for management access + * ManagementUser is the user name to use for management access. * * @generated from field: optional string management_user = 7; */ managementUser?: string | undefined; /** - * ConsoleCommand is the command for accessing the switch's console + * ConsoleCommand is the command for accessing the switch's console. * * @generated from field: optional string console_command = 8; */ consoleCommand?: string | undefined; /** - * Nics are the front panel ports of the switch + * Nics are the front panel ports of the switch. * * @generated from field: repeated metalstack.api.v2.SwitchNic nics = 9; */ nics: SwitchNic[]; /** - * SwitchOs is the OS running on the switch + * SwitchOs is the OS running on the switch. * * @generated from field: optional metalstack.api.v2.SwitchOS os = 10; */ @@ -198,7 +198,7 @@ export const SwitchServiceUpdateRequestSchema: GenMessage & { /** - * Switch contains the updated switch + * Switch contains the updated switch. * * @generated from field: metalstack.api.v2.Switch switch = 1; */ @@ -219,14 +219,14 @@ export const SwitchServiceUpdateResponseSchema: GenMessage & { /** - * Id of the switch + * Id of the switch. * * @generated from field: string id = 1; */ id: string; /** - * Force will allow switch deletion despite existing machine connections + * Force will allow switch deletion despite existing machine connections. * * @generated from field: bool force = 2; */ @@ -247,7 +247,7 @@ export const SwitchServiceDeleteRequestSchema: GenMessage & { /** - * Switch contains the deleted switch + * Switch contains the deleted switch. * * @generated from field: metalstack.api.v2.Switch switch = 1; */ @@ -268,14 +268,14 @@ export const SwitchServiceDeleteResponseSchema: GenMessage & { /** - * OldSwitch is the switch to migrate away from + * OldSwitch is the switch to migrate away from. * * @generated from field: string old_switch = 1; */ oldSwitch: string; /** - * NewSwitch is the switch to migrate to + * NewSwitch is the switch to migrate to. * * @generated from field: string new_switch = 2; */ @@ -296,7 +296,7 @@ export const SwitchServiceMigrateRequestSchema: GenMessage & { /** - * Switch contains the switch that was migrated to + * Switch contains the switch that was migrated to. * * @generated from field: metalstack.api.v2.Switch switch = 1; */ @@ -317,21 +317,21 @@ export const SwitchServiceMigrateResponseSchema: GenMessage & { /** - * Id of the switch + * Id of the switch. * * @generated from field: string id = 1; */ id: string; /** - * NicName of the port whose status should be changed + * NicName of the port whose status should be changed. * * @generated from field: string nic_name = 2; */ nicName: string; /** - * Status that the port should have + * Status that the port should have. * * @generated from field: metalstack.api.v2.SwitchPortStatus status = 3; */ @@ -352,7 +352,7 @@ export const SwitchServicePortRequestSchema: GenMessage & { /** - * Switch after the port status toggle + * Switch after the port status toggle. * * @generated from field: metalstack.api.v2.Switch switch = 1; */ @@ -373,14 +373,14 @@ export const SwitchServicePortResponseSchema: GenMessage & { /** - * Query to filter the switch results + * Query to filter the switch results. * * @generated from field: metalstack.api.v2.SwitchQuery query = 1; */ query?: SwitchQuery | undefined; /** - * MachineQuery to filter the machine results + * MachineQuery to filter the machine results. * * @generated from field: metalstack.api.v2.MachineQuery machine_query = 2; */ @@ -401,7 +401,7 @@ export const SwitchServiceConnectedMachinesRequestSchema: GenMessage & { /** - * SwitchesWithMachines contains all switches with their machine connections + * SwitchesWithMachines contains all switches with their machine connections. * * @generated from field: repeated metalstack.api.v2.SwitchWithMachines switches_with_machines = 1; */ diff --git a/js/metalstack/admin/v2/task_pb.d.ts b/js/metalstack/admin/v2/task_pb.d.ts index 8792ceb6..3f690d64 100644 --- a/js/metalstack/admin/v2/task_pb.d.ts +++ b/js/metalstack/admin/v2/task_pb.d.ts @@ -12,13 +12,13 @@ export declare const file_metalstack_admin_v2_task: GenFile; */ export type TaskServiceGetRequest = Message<"metalstack.admin.v2.TaskServiceGetRequest"> & { /** - * TaskId is the identifier of the task to get + * TaskId is the identifier of the task to get. * * @generated from field: string task_id = 1; */ taskId: string; /** - * Queue is the queue where this task was scheduled to + * Queue is the queue where this task was scheduled to. * * @generated from field: string queue = 2; */ @@ -36,7 +36,7 @@ export declare const TaskServiceGetRequestSchema: GenMessage & { /** - * Task contains the task details + * Task contains the task details. * * @generated from field: metalstack.admin.v2.TaskInfo task = 1; */ @@ -54,13 +54,13 @@ export declare const TaskServiceGetResponseSchema: GenMessage & { /** - * TaskId is the identifier of the task to cancel + * TaskId is the identifier of the task to cancel. * * @generated from field: string task_id = 1; */ taskId: string; /** - * Queue is the queue where this task was scheduled to + * Queue is the queue where this task was scheduled to. * * @generated from field: string queue = 2; */ @@ -100,7 +100,7 @@ export declare const TaskServiceQueuesRequestSchema: GenMessage & { /** - * Queues configured for the async system + * Queues configured for the async system. * * @generated from field: repeated string queues = 1; */ @@ -118,20 +118,20 @@ export declare const TaskServiceQueuesResponseSchema: GenMessage & { /** - * Queue filters tasks by this queue - * Will return tasks from all queues if not specified + * Queue filters tasks by this queue. + * Will return tasks from all queues if not specified. * * @generated from field: optional string queue = 1; */ queue?: string | undefined; /** - * Count is the number of tasks to return + * Count is the number of tasks to return. * * @generated from field: optional uint32 count = 2; */ count?: number | undefined; /** - * Page is the page of tasks to return + * Page is the page of tasks to return. * * @generated from field: optional uint32 page = 3; */ @@ -149,7 +149,7 @@ export declare const TaskServiceListRequestSchema: GenMessage & { /** - * Tasks contains the list of requested tasks + * Tasks contains the list of requested tasks. * * @generated from field: repeated metalstack.admin.v2.TaskInfo tasks = 1; */ @@ -167,117 +167,117 @@ export declare const TaskServiceListResponseSchema: GenMessage & { /** - * ID is the identifier of the task + * ID is the identifier of the task. * * @generated from field: string id = 1; */ id: string; /** - * Queue is the name of the queue in which the task belongs + * Queue is the name of the queue in which the task belongs. * * @generated from field: string queue = 2; */ queue: string; /** - * Type is the type name of the task + * Type is the type name of the task. * * @generated from field: string type = 3; */ type: string; /** - * Payload is the payload data of the task + * Payload is the payload data of the task. * * @generated from field: bytes payload = 4; */ payload: Uint8Array; /** - * State indicates the task state + * State indicates the task state. * * @generated from field: metalstack.admin.v2.TaskState state = 5; */ state: TaskState; /** - * MaxRetry is the maximum number of times the task can be retried + * MaxRetry is the maximum number of times the task can be retried. * * @generated from field: int32 max_retry = 6; */ maxRetry: number; /** - * Retried is the number of times the task has retried so far + * Retried is the number of times the task has retried so far. * * @generated from field: int32 retried = 7; */ retried: number; /** - * LastError is the error message from the last failure + * LastError is the error message from the last failure. * * @generated from field: string last_error = 8; */ lastError: string; /** - * LastFailedAt is the time of the last failure if any - * If the task has no failures, LastFailedAt is zero time (i.e. time.Time{}) + * LastFailedAt is the time of the last failure if any. + * If the task has no failures, LastFailedAt is zero time (i.e. time.Time{}). * * @generated from field: google.protobuf.Timestamp last_failed_at = 9; */ lastFailedAt?: Timestamp | undefined; /** - * Timeout is the duration the task can be processed by Handler before being retried + * Timeout is the duration the task can be processed by Handler before being retried. * * @generated from field: google.protobuf.Duration timeout = 10; */ timeout?: Duration | undefined; /** - * Deadline is the deadline for the task + * Deadline is the deadline for the task. * * @generated from field: google.protobuf.Timestamp deadline = 11; */ deadline?: Timestamp | undefined; /** - * Group is the name of the group in which the task belongs + * Group is the name of the group in which the task belongs. * - * Tasks in the same queue can be grouped together by Group name and will be aggregated into one task - * by a Server processing the queue + * Tasks in the same queue can be grouped together by Group name and will be aggregated into one task. + * by a Server processing the queue. * - * Empty string (default) indicates task does not belong to any groups, and no aggregation will be applied to the task + * Empty string (default) indicates task does not belong to any groups, and no aggregation will be applied to the task. * * @generated from field: string group = 12; */ group: string; /** - * NextProcessAt is the time the task is scheduled to be processed - * Zero if not applicable + * NextProcessAt is the time the task is scheduled to be processed. + * Zero if not applicable. * * @generated from field: google.protobuf.Timestamp next_process_at = 13; */ nextProcessAt?: Timestamp | undefined; /** - * IsOrphaned describes whether the task is left in active state with no worker processing it - * An orphaned task indicates that the worker has crashed or experienced network failures and was not able to - * extend its lease on the task + * IsOrphaned describes whether the task is left in active state with no worker processing it. + * An orphaned task indicates that the worker has crashed or experienced network failures and was not able to. + * extend its lease on the task. * - * This task will be recovered by running a server against the queue the task is in - * This field is only applicable to tasks with TaskStateActive + * This task will be recovered by running a server against the queue the task is in. + * This field is only applicable to tasks with TaskStateActive. * * @generated from field: bool is_orphaned = 14; */ isOrphaned: boolean; /** - * Retention is duration of the retention period after the task is successfully processed + * Retention is duration of the retention period after the task is successfully processed. * * @generated from field: google.protobuf.Duration retention = 15; */ retention?: Duration | undefined; /** - * CompletedAt is the time when the task is processed successfully - * Zero value (i.e. time.Time{}) indicates no value + * CompletedAt is the time when the task is processed successfully. + * Zero value (i.e. time.Time{}) indicates no value. * * @generated from field: google.protobuf.Timestamp completed_at = 16; */ completedAt?: Timestamp | undefined; /** - * Result holds the result data associated with the task - * Use ResultWriter to write result data from the Handler + * Result holds the result data associated with the task. + * Use ResultWriter to write result data from the Handler. * * @generated from field: bytes result = 17; */ @@ -295,49 +295,49 @@ export declare const TaskInfoSchema: GenMessage; */ export declare enum TaskState { /** - * TASK_STATE_UNSPECIFIED is not specified + * TASK_STATE_UNSPECIFIED is not specified. * * @generated from enum value: TASK_STATE_UNSPECIFIED = 0; */ UNSPECIFIED = 0, /** - * TASK_STATE_ACTIVE indicates that the task is currently being processed by Handler + * TASK_STATE_ACTIVE indicates that the task is currently being processed by Handler. * * @generated from enum value: TASK_STATE_ACTIVE = 1; */ ACTIVE = 1, /** - * TASK_STATE_PENDING indicates that the task is ready to be processed by Handler + * TASK_STATE_PENDING indicates that the task is ready to be processed by Handler. * * @generated from enum value: TASK_STATE_PENDING = 2; */ PENDING = 2, /** - * TASK_STATE_SCHEDULED indicates that the task is scheduled to be processed some time in the future + * TASK_STATE_SCHEDULED indicates that the task is scheduled to be processed some time in the future. * * @generated from enum value: TASK_STATE_SCHEDULED = 3; */ SCHEDULED = 3, /** - * TASK_STATE_RETRY indicates that the task has previously failed and is scheduled to be processed some time in the future + * TASK_STATE_RETRY indicates that the task has previously failed and is scheduled to be processed some time in the future. * * @generated from enum value: TASK_STATE_RETRY = 4; */ RETRY = 4, /** - * TASK_STATE_ARCHIVED indicates that the task is archived and stored for inspection purposes + * TASK_STATE_ARCHIVED indicates that the task is archived and stored for inspection purposes. * * @generated from enum value: TASK_STATE_ARCHIVED = 5; */ ARCHIVED = 5, /** - * TASK_STATE_COMPLETED indicates that the task is processed successfully and retained until the retention TTL expires + * TASK_STATE_COMPLETED indicates that the task is processed successfully and retained until the retention TTL expires. * * @generated from enum value: TASK_STATE_COMPLETED = 6; */ COMPLETED = 6, /** - * TASK_STATE_AGGREGATING indicates that the task is waiting in a group to be aggregated into one task + * TASK_STATE_AGGREGATING indicates that the task is waiting in a group to be aggregated into one task. * * @generated from enum value: TASK_STATE_AGGREGATING = 7; */ diff --git a/js/metalstack/admin/v2/task_pb.js b/js/metalstack/admin/v2/task_pb.js index d4d3c44f..288d87da 100644 --- a/js/metalstack/admin/v2/task_pb.js +++ b/js/metalstack/admin/v2/task_pb.js @@ -61,49 +61,49 @@ export const TaskInfoSchema = /*@__PURE__*/ messageDesc(file_metalstack_admin_v2 export var TaskState; (function (TaskState) { /** - * TASK_STATE_UNSPECIFIED is not specified + * TASK_STATE_UNSPECIFIED is not specified. * * @generated from enum value: TASK_STATE_UNSPECIFIED = 0; */ TaskState[TaskState["UNSPECIFIED"] = 0] = "UNSPECIFIED"; /** - * TASK_STATE_ACTIVE indicates that the task is currently being processed by Handler + * TASK_STATE_ACTIVE indicates that the task is currently being processed by Handler. * * @generated from enum value: TASK_STATE_ACTIVE = 1; */ TaskState[TaskState["ACTIVE"] = 1] = "ACTIVE"; /** - * TASK_STATE_PENDING indicates that the task is ready to be processed by Handler + * TASK_STATE_PENDING indicates that the task is ready to be processed by Handler. * * @generated from enum value: TASK_STATE_PENDING = 2; */ TaskState[TaskState["PENDING"] = 2] = "PENDING"; /** - * TASK_STATE_SCHEDULED indicates that the task is scheduled to be processed some time in the future + * TASK_STATE_SCHEDULED indicates that the task is scheduled to be processed some time in the future. * * @generated from enum value: TASK_STATE_SCHEDULED = 3; */ TaskState[TaskState["SCHEDULED"] = 3] = "SCHEDULED"; /** - * TASK_STATE_RETRY indicates that the task has previously failed and is scheduled to be processed some time in the future + * TASK_STATE_RETRY indicates that the task has previously failed and is scheduled to be processed some time in the future. * * @generated from enum value: TASK_STATE_RETRY = 4; */ TaskState[TaskState["RETRY"] = 4] = "RETRY"; /** - * TASK_STATE_ARCHIVED indicates that the task is archived and stored for inspection purposes + * TASK_STATE_ARCHIVED indicates that the task is archived and stored for inspection purposes. * * @generated from enum value: TASK_STATE_ARCHIVED = 5; */ TaskState[TaskState["ARCHIVED"] = 5] = "ARCHIVED"; /** - * TASK_STATE_COMPLETED indicates that the task is processed successfully and retained until the retention TTL expires + * TASK_STATE_COMPLETED indicates that the task is processed successfully and retained until the retention TTL expires. * * @generated from enum value: TASK_STATE_COMPLETED = 6; */ TaskState[TaskState["COMPLETED"] = 6] = "COMPLETED"; /** - * TASK_STATE_AGGREGATING indicates that the task is waiting in a group to be aggregated into one task + * TASK_STATE_AGGREGATING indicates that the task is waiting in a group to be aggregated into one task. * * @generated from enum value: TASK_STATE_AGGREGATING = 7; */ diff --git a/js/metalstack/admin/v2/task_pb.ts b/js/metalstack/admin/v2/task_pb.ts index bab23ca1..f7f6cd9b 100644 --- a/js/metalstack/admin/v2/task_pb.ts +++ b/js/metalstack/admin/v2/task_pb.ts @@ -22,14 +22,14 @@ export const file_metalstack_admin_v2_task: GenFile = /*@__PURE__*/ */ export type TaskServiceGetRequest = Message<"metalstack.admin.v2.TaskServiceGetRequest"> & { /** - * TaskId is the identifier of the task to get + * TaskId is the identifier of the task to get. * * @generated from field: string task_id = 1; */ taskId: string; /** - * Queue is the queue where this task was scheduled to + * Queue is the queue where this task was scheduled to. * * @generated from field: string queue = 2; */ @@ -50,7 +50,7 @@ export const TaskServiceGetRequestSchema: GenMessage = /* */ export type TaskServiceGetResponse = Message<"metalstack.admin.v2.TaskServiceGetResponse"> & { /** - * Task contains the task details + * Task contains the task details. * * @generated from field: metalstack.admin.v2.TaskInfo task = 1; */ @@ -71,14 +71,14 @@ export const TaskServiceGetResponseSchema: GenMessage = */ export type TaskServiceDeleteRequest = Message<"metalstack.admin.v2.TaskServiceDeleteRequest"> & { /** - * TaskId is the identifier of the task to cancel + * TaskId is the identifier of the task to cancel. * * @generated from field: string task_id = 1; */ taskId: string; /** - * Queue is the queue where this task was scheduled to + * Queue is the queue where this task was scheduled to. * * @generated from field: string queue = 2; */ @@ -129,7 +129,7 @@ export const TaskServiceQueuesRequestSchema: GenMessage & { /** - * Queues configured for the async system + * Queues configured for the async system. * * @generated from field: repeated string queues = 1; */ @@ -150,22 +150,22 @@ export const TaskServiceQueuesResponseSchema: GenMessage & { /** - * Queue filters tasks by this queue - * Will return tasks from all queues if not specified + * Queue filters tasks by this queue. + * Will return tasks from all queues if not specified. * * @generated from field: optional string queue = 1; */ queue?: string | undefined; /** - * Count is the number of tasks to return + * Count is the number of tasks to return. * * @generated from field: optional uint32 count = 2; */ count?: number | undefined; /** - * Page is the page of tasks to return + * Page is the page of tasks to return. * * @generated from field: optional uint32 page = 3; */ @@ -186,7 +186,7 @@ export const TaskServiceListRequestSchema: GenMessage = */ export type TaskServiceListResponse = Message<"metalstack.admin.v2.TaskServiceListResponse"> & { /** - * Tasks contains the list of requested tasks + * Tasks contains the list of requested tasks. * * @generated from field: repeated metalstack.admin.v2.TaskInfo tasks = 1; */ @@ -207,133 +207,133 @@ export const TaskServiceListResponseSchema: GenMessage */ export type TaskInfo = Message<"metalstack.admin.v2.TaskInfo"> & { /** - * ID is the identifier of the task + * ID is the identifier of the task. * * @generated from field: string id = 1; */ id: string; /** - * Queue is the name of the queue in which the task belongs + * Queue is the name of the queue in which the task belongs. * * @generated from field: string queue = 2; */ queue: string; /** - * Type is the type name of the task + * Type is the type name of the task. * * @generated from field: string type = 3; */ type: string; /** - * Payload is the payload data of the task + * Payload is the payload data of the task. * * @generated from field: bytes payload = 4; */ payload: Uint8Array; /** - * State indicates the task state + * State indicates the task state. * * @generated from field: metalstack.admin.v2.TaskState state = 5; */ state: TaskState; /** - * MaxRetry is the maximum number of times the task can be retried + * MaxRetry is the maximum number of times the task can be retried. * * @generated from field: int32 max_retry = 6; */ maxRetry: number; /** - * Retried is the number of times the task has retried so far + * Retried is the number of times the task has retried so far. * * @generated from field: int32 retried = 7; */ retried: number; /** - * LastError is the error message from the last failure + * LastError is the error message from the last failure. * * @generated from field: string last_error = 8; */ lastError: string; /** - * LastFailedAt is the time of the last failure if any - * If the task has no failures, LastFailedAt is zero time (i.e. time.Time{}) + * LastFailedAt is the time of the last failure if any. + * If the task has no failures, LastFailedAt is zero time (i.e. time.Time{}). * * @generated from field: google.protobuf.Timestamp last_failed_at = 9; */ lastFailedAt?: Timestamp | undefined; /** - * Timeout is the duration the task can be processed by Handler before being retried + * Timeout is the duration the task can be processed by Handler before being retried. * * @generated from field: google.protobuf.Duration timeout = 10; */ timeout?: Duration | undefined; /** - * Deadline is the deadline for the task + * Deadline is the deadline for the task. * * @generated from field: google.protobuf.Timestamp deadline = 11; */ deadline?: Timestamp | undefined; /** - * Group is the name of the group in which the task belongs + * Group is the name of the group in which the task belongs. * - * Tasks in the same queue can be grouped together by Group name and will be aggregated into one task - * by a Server processing the queue + * Tasks in the same queue can be grouped together by Group name and will be aggregated into one task. + * by a Server processing the queue. * - * Empty string (default) indicates task does not belong to any groups, and no aggregation will be applied to the task + * Empty string (default) indicates task does not belong to any groups, and no aggregation will be applied to the task. * * @generated from field: string group = 12; */ group: string; /** - * NextProcessAt is the time the task is scheduled to be processed - * Zero if not applicable + * NextProcessAt is the time the task is scheduled to be processed. + * Zero if not applicable. * * @generated from field: google.protobuf.Timestamp next_process_at = 13; */ nextProcessAt?: Timestamp | undefined; /** - * IsOrphaned describes whether the task is left in active state with no worker processing it - * An orphaned task indicates that the worker has crashed or experienced network failures and was not able to - * extend its lease on the task + * IsOrphaned describes whether the task is left in active state with no worker processing it. + * An orphaned task indicates that the worker has crashed or experienced network failures and was not able to. + * extend its lease on the task. * - * This task will be recovered by running a server against the queue the task is in - * This field is only applicable to tasks with TaskStateActive + * This task will be recovered by running a server against the queue the task is in. + * This field is only applicable to tasks with TaskStateActive. * * @generated from field: bool is_orphaned = 14; */ isOrphaned: boolean; /** - * Retention is duration of the retention period after the task is successfully processed + * Retention is duration of the retention period after the task is successfully processed. * * @generated from field: google.protobuf.Duration retention = 15; */ retention?: Duration | undefined; /** - * CompletedAt is the time when the task is processed successfully - * Zero value (i.e. time.Time{}) indicates no value + * CompletedAt is the time when the task is processed successfully. + * Zero value (i.e. time.Time{}) indicates no value. * * @generated from field: google.protobuf.Timestamp completed_at = 16; */ completedAt?: Timestamp | undefined; /** - * Result holds the result data associated with the task - * Use ResultWriter to write result data from the Handler + * Result holds the result data associated with the task. + * Use ResultWriter to write result data from the Handler. * * @generated from field: bytes result = 17; */ @@ -354,56 +354,56 @@ export const TaskInfoSchema: GenMessage = /*@__PURE__*/ */ export enum TaskState { /** - * TASK_STATE_UNSPECIFIED is not specified + * TASK_STATE_UNSPECIFIED is not specified. * * @generated from enum value: TASK_STATE_UNSPECIFIED = 0; */ UNSPECIFIED = 0, /** - * TASK_STATE_ACTIVE indicates that the task is currently being processed by Handler + * TASK_STATE_ACTIVE indicates that the task is currently being processed by Handler. * * @generated from enum value: TASK_STATE_ACTIVE = 1; */ ACTIVE = 1, /** - * TASK_STATE_PENDING indicates that the task is ready to be processed by Handler + * TASK_STATE_PENDING indicates that the task is ready to be processed by Handler. * * @generated from enum value: TASK_STATE_PENDING = 2; */ PENDING = 2, /** - * TASK_STATE_SCHEDULED indicates that the task is scheduled to be processed some time in the future + * TASK_STATE_SCHEDULED indicates that the task is scheduled to be processed some time in the future. * * @generated from enum value: TASK_STATE_SCHEDULED = 3; */ SCHEDULED = 3, /** - * TASK_STATE_RETRY indicates that the task has previously failed and is scheduled to be processed some time in the future + * TASK_STATE_RETRY indicates that the task has previously failed and is scheduled to be processed some time in the future. * * @generated from enum value: TASK_STATE_RETRY = 4; */ RETRY = 4, /** - * TASK_STATE_ARCHIVED indicates that the task is archived and stored for inspection purposes + * TASK_STATE_ARCHIVED indicates that the task is archived and stored for inspection purposes. * * @generated from enum value: TASK_STATE_ARCHIVED = 5; */ ARCHIVED = 5, /** - * TASK_STATE_COMPLETED indicates that the task is processed successfully and retained until the retention TTL expires + * TASK_STATE_COMPLETED indicates that the task is processed successfully and retained until the retention TTL expires. * * @generated from enum value: TASK_STATE_COMPLETED = 6; */ COMPLETED = 6, /** - * TASK_STATE_AGGREGATING indicates that the task is waiting in a group to be aggregated into one task + * TASK_STATE_AGGREGATING indicates that the task is waiting in a group to be aggregated into one task. * * @generated from enum value: TASK_STATE_AGGREGATING = 7; */ diff --git a/js/metalstack/admin/v2/tenant_pb.d.ts b/js/metalstack/admin/v2/tenant_pb.d.ts index da20c2d6..e6eefd20 100644 --- a/js/metalstack/admin/v2/tenant_pb.d.ts +++ b/js/metalstack/admin/v2/tenant_pb.d.ts @@ -13,31 +13,31 @@ export declare const file_metalstack_admin_v2_tenant: GenFile; */ export type TenantServiceCreateRequest = Message<"metalstack.admin.v2.TenantServiceCreateRequest"> & { /** - * Name of the tenant + * Name of the tenant. * * @generated from field: string name = 1; */ name: string; /** - * Description of the tenant + * Description of the tenant. * * @generated from field: optional string description = 2; */ description?: string | undefined; /** - * Email of the tenant, if not set will be inherited from the creator + * Email of the tenant, if not set will be inherited from the creator. * * @generated from field: optional string email = 3; */ email?: string | undefined; /** - * AvatarUrl of the tenant + * AvatarUrl of the tenant. * * @generated from field: optional string avatar_url = 4; */ avatarUrl?: string | undefined; /** - * Labels on the tenant + * Labels on the tenant. * * @generated from field: metalstack.api.v2.Labels labels = 5; */ @@ -55,7 +55,7 @@ export declare const TenantServiceCreateRequestSchema: GenMessage & { /** - * Tenant contains the created tenant + * Tenant contains the created tenant. * * @generated from field: metalstack.api.v2.Tenant tenant = 1; */ @@ -73,7 +73,7 @@ export declare const TenantServiceCreateResponseSchema: GenMessage & { /** - * Query for tenants + * Query for tenants. * * @generated from field: metalstack.api.v2.TenantQuery query = 1; */ @@ -91,13 +91,13 @@ export declare const TenantServiceListRequestSchema: GenMessage & { /** - * Tenants contains the list of tenants + * Tenants contains the list of tenants. * * @generated from field: repeated metalstack.api.v2.Tenant tenants = 1; */ tenants: Tenant[]; /** - * NextPage is used for pagination, returns the next page to be fetched and must then be provided in the list request + * NextPage is used for pagination, returns the next page to be fetched and must then be provided in the list request. * * @generated from field: optional uint64 next_page = 2; */ @@ -109,25 +109,25 @@ export type TenantServiceListResponse = Message<"metalstack.admin.v2.TenantServi */ export declare const TenantServiceListResponseSchema: GenMessage; /** - * TenantServiceAddMemberRequest is the request payload for adding a member to a tenant + * TenantServiceAddMemberRequest is the request payload for adding a member to a tenant. * * @generated from message metalstack.admin.v2.TenantServiceAddMemberRequest */ export type TenantServiceAddMemberRequest = Message<"metalstack.admin.v2.TenantServiceAddMemberRequest"> & { /** - * Login of the tenant to which the member will be added + * Login of the tenant to which the member will be added. * * @generated from field: string tenant = 1; */ tenant: string; /** - * Login of the member to add + * Login of the member to add. * * @generated from field: string member = 2; */ member: string; /** - * Role to assign to the new member + * Role to assign to the new member. * * @generated from field: metalstack.api.v2.TenantRole role = 3; */ @@ -139,13 +139,13 @@ export type TenantServiceAddMemberRequest = Message<"metalstack.admin.v2.TenantS */ export declare const TenantServiceAddMemberRequestSchema: GenMessage; /** - * TenantServiceAddMemberResponse is the response payload for the add member request + * TenantServiceAddMemberResponse is the response payload for the add member request. * * @generated from message metalstack.admin.v2.TenantServiceAddMemberResponse */ export type TenantServiceAddMemberResponse = Message<"metalstack.admin.v2.TenantServiceAddMemberResponse"> & { /** - * TenantMember is the added tenant member + * TenantMember is the added tenant member. * * @generated from field: metalstack.api.v2.TenantMember tenant_member = 1; */ @@ -157,19 +157,19 @@ export type TenantServiceAddMemberResponse = Message<"metalstack.admin.v2.Tenant */ export declare const TenantServiceAddMemberResponseSchema: GenMessage; /** - * TenantServiceRemoveMemberRequest is the request payload for removing a member from a tenant + * TenantServiceRemoveMemberRequest is the request payload for removing a member from a tenant. * * @generated from message metalstack.admin.v2.TenantServiceRemoveMemberRequest */ export type TenantServiceRemoveMemberRequest = Message<"metalstack.admin.v2.TenantServiceRemoveMemberRequest"> & { /** - * Login of the tenant from which the member will be removed + * Login of the tenant from which the member will be removed. * * @generated from field: string tenant = 1; */ tenant: string; /** - * Login of the member to remove + * Login of the member to remove. * * @generated from field: string member = 2; */ @@ -181,13 +181,13 @@ export type TenantServiceRemoveMemberRequest = Message<"metalstack.admin.v2.Tena */ export declare const TenantServiceRemoveMemberRequestSchema: GenMessage; /** - * TenantServiceRemoveMemberResponse is the response payload for the remove member request + * TenantServiceRemoveMemberResponse is the response payload for the remove member request. * * @generated from message metalstack.admin.v2.TenantServiceRemoveMemberResponse */ export type TenantServiceRemoveMemberResponse = Message<"metalstack.admin.v2.TenantServiceRemoveMemberResponse"> & { /** - * TenantMember is the removed tenant member + * TenantMember is the removed tenant member. * * @generated from field: metalstack.api.v2.TenantMember tenant_member = 1; */ @@ -225,7 +225,7 @@ export declare const TenantService: GenService<{ output: typeof TenantServiceListResponseSchema; }; /** - * Add a member to a tenant + * Add a member to a tenant. * * @generated from rpc metalstack.admin.v2.TenantService.AddMember */ @@ -235,7 +235,7 @@ export declare const TenantService: GenService<{ output: typeof TenantServiceAddMemberResponseSchema; }; /** - * RemoveMember removes a member from a tenant + * RemoveMember removes a member from a tenant. * * @generated from rpc metalstack.admin.v2.TenantService.RemoveMember */ diff --git a/js/metalstack/admin/v2/tenant_pb.ts b/js/metalstack/admin/v2/tenant_pb.ts index 518a6f4f..79547bb7 100644 --- a/js/metalstack/admin/v2/tenant_pb.ts +++ b/js/metalstack/admin/v2/tenant_pb.ts @@ -25,35 +25,35 @@ export const file_metalstack_admin_v2_tenant: GenFile = /*@__PURE__*/ */ export type TenantServiceCreateRequest = Message<"metalstack.admin.v2.TenantServiceCreateRequest"> & { /** - * Name of the tenant + * Name of the tenant. * * @generated from field: string name = 1; */ name: string; /** - * Description of the tenant + * Description of the tenant. * * @generated from field: optional string description = 2; */ description?: string | undefined; /** - * Email of the tenant, if not set will be inherited from the creator + * Email of the tenant, if not set will be inherited from the creator. * * @generated from field: optional string email = 3; */ email?: string | undefined; /** - * AvatarUrl of the tenant + * AvatarUrl of the tenant. * * @generated from field: optional string avatar_url = 4; */ avatarUrl?: string | undefined; /** - * Labels on the tenant + * Labels on the tenant. * * @generated from field: metalstack.api.v2.Labels labels = 5; */ @@ -74,7 +74,7 @@ export const TenantServiceCreateRequestSchema: GenMessage & { /** - * Tenant contains the created tenant + * Tenant contains the created tenant. * * @generated from field: metalstack.api.v2.Tenant tenant = 1; */ @@ -95,7 +95,7 @@ export const TenantServiceCreateResponseSchema: GenMessage & { /** - * Query for tenants + * Query for tenants. * * @generated from field: metalstack.api.v2.TenantQuery query = 1; */ @@ -116,14 +116,14 @@ export const TenantServiceListRequestSchema: GenMessage & { /** - * Tenants contains the list of tenants + * Tenants contains the list of tenants. * * @generated from field: repeated metalstack.api.v2.Tenant tenants = 1; */ tenants: Tenant[]; /** - * NextPage is used for pagination, returns the next page to be fetched and must then be provided in the list request + * NextPage is used for pagination, returns the next page to be fetched and must then be provided in the list request. * * @generated from field: optional uint64 next_page = 2; */ @@ -138,27 +138,27 @@ export const TenantServiceListResponseSchema: GenMessage & { /** - * Login of the tenant to which the member will be added + * Login of the tenant to which the member will be added. * * @generated from field: string tenant = 1; */ tenant: string; /** - * Login of the member to add + * Login of the member to add. * * @generated from field: string member = 2; */ member: string; /** - * Role to assign to the new member + * Role to assign to the new member. * * @generated from field: metalstack.api.v2.TenantRole role = 3; */ @@ -173,13 +173,13 @@ export const TenantServiceAddMemberRequestSchema: GenMessage & { /** - * TenantMember is the added tenant member + * TenantMember is the added tenant member. * * @generated from field: metalstack.api.v2.TenantMember tenant_member = 1; */ @@ -194,20 +194,20 @@ export const TenantServiceAddMemberResponseSchema: GenMessage & { /** - * Login of the tenant from which the member will be removed + * Login of the tenant from which the member will be removed. * * @generated from field: string tenant = 1; */ tenant: string; /** - * Login of the member to remove + * Login of the member to remove. * * @generated from field: string member = 2; */ @@ -222,13 +222,13 @@ export const TenantServiceRemoveMemberRequestSchema: GenMessage & { /** - * TenantMember is the removed tenant member + * TenantMember is the removed tenant member. * * @generated from field: metalstack.api.v2.TenantMember tenant_member = 1; */ @@ -269,7 +269,7 @@ export const TenantService: GenService<{ output: typeof TenantServiceListResponseSchema; }, /** - * Add a member to a tenant + * Add a member to a tenant. * * @generated from rpc metalstack.admin.v2.TenantService.AddMember */ @@ -279,7 +279,7 @@ export const TenantService: GenService<{ output: typeof TenantServiceAddMemberResponseSchema; }, /** - * RemoveMember removes a member from a tenant + * RemoveMember removes a member from a tenant. * * @generated from rpc metalstack.admin.v2.TenantService.RemoveMember */ diff --git a/js/metalstack/admin/v2/token_pb.d.ts b/js/metalstack/admin/v2/token_pb.d.ts index 17280c88..464a48e8 100644 --- a/js/metalstack/admin/v2/token_pb.d.ts +++ b/js/metalstack/admin/v2/token_pb.d.ts @@ -12,7 +12,7 @@ export declare const file_metalstack_admin_v2_token: GenFile; */ export type TokenServiceListRequest = Message<"metalstack.admin.v2.TokenServiceListRequest"> & { /** - * Query for tokens + * Query for tokens. * * @generated from field: metalstack.api.v2.TokenQuery query = 1; */ @@ -30,7 +30,7 @@ export declare const TokenServiceListRequestSchema: GenMessage & { /** - * Tokens contains the list of tokens + * Tokens contains the list of tokens. * * @generated from field: repeated metalstack.api.v2.Token tokens = 1; */ @@ -48,13 +48,13 @@ export declare const TokenServiceListResponseSchema: GenMessage & { /** - * Uuid is the uuid of the token which should be revoked + * Uuid is the uuid of the token which should be revoked. * * @generated from field: string uuid = 1; */ uuid: string; /** - * User is the id of the user for which the token should be revoked + * User is the id of the user for which the token should be revoked. * * @generated from field: string user = 2; */ @@ -83,13 +83,13 @@ export declare const TokenServiceRevokeResponseSchema: GenMessage & { /** - * User this token should be created for, if omitted, user is derived from caller + * User this token should be created for, if omitted, user is derived from caller. * * @generated from field: optional string user = 1; */ user?: string | undefined; /** - * TokenCreateRequest which should be created + * TokenCreateRequest which should be created. * * @generated from field: metalstack.api.v2.TokenServiceCreateRequest token_create_request = 2; */ @@ -107,13 +107,13 @@ export declare const TokenServiceCreateRequestSchema: GenMessage & { /** - * Token contains the created token + * Token contains the created token. * * @generated from field: metalstack.api.v2.Token token = 1; */ token?: Token | undefined; /** - * Secret is the body if the JWT token, should be used in API requests as bearer token + * Secret is the body if the JWT token, should be used in API requests as bearer token. * * @generated from field: string secret = 2; */ diff --git a/js/metalstack/admin/v2/token_pb.ts b/js/metalstack/admin/v2/token_pb.ts index 4a211d13..b9e75ba2 100644 --- a/js/metalstack/admin/v2/token_pb.ts +++ b/js/metalstack/admin/v2/token_pb.ts @@ -24,7 +24,7 @@ export const file_metalstack_admin_v2_token: GenFile = /*@__PURE__*/ */ export type TokenServiceListRequest = Message<"metalstack.admin.v2.TokenServiceListRequest"> & { /** - * Query for tokens + * Query for tokens. * * @generated from field: metalstack.api.v2.TokenQuery query = 1; */ @@ -45,7 +45,7 @@ export const TokenServiceListRequestSchema: GenMessage */ export type TokenServiceListResponse = Message<"metalstack.admin.v2.TokenServiceListResponse"> & { /** - * Tokens contains the list of tokens + * Tokens contains the list of tokens. * * @generated from field: repeated metalstack.api.v2.Token tokens = 1; */ @@ -66,14 +66,14 @@ export const TokenServiceListResponseSchema: GenMessage & { /** - * Uuid is the uuid of the token which should be revoked + * Uuid is the uuid of the token which should be revoked. * * @generated from field: string uuid = 1; */ uuid: string; /** - * User is the id of the user for which the token should be revoked + * User is the id of the user for which the token should be revoked. * * @generated from field: string user = 2; */ @@ -109,14 +109,14 @@ export const TokenServiceRevokeResponseSchema: GenMessage & { /** - * User this token should be created for, if omitted, user is derived from caller + * User this token should be created for, if omitted, user is derived from caller. * * @generated from field: optional string user = 1; */ user?: string | undefined; /** - * TokenCreateRequest which should be created + * TokenCreateRequest which should be created. * * @generated from field: metalstack.api.v2.TokenServiceCreateRequest token_create_request = 2; */ @@ -137,14 +137,14 @@ export const TokenServiceCreateRequestSchema: GenMessage & { /** - * Token contains the created token + * Token contains the created token. * * @generated from field: metalstack.api.v2.Token token = 1; */ token?: Token | undefined; /** - * Secret is the body if the JWT token, should be used in API requests as bearer token + * Secret is the body if the JWT token, should be used in API requests as bearer token. * * @generated from field: string secret = 2; */ diff --git a/js/metalstack/admin/v2/vpn_pb.d.ts b/js/metalstack/admin/v2/vpn_pb.d.ts index b5f69d43..968d5357 100644 --- a/js/metalstack/admin/v2/vpn_pb.d.ts +++ b/js/metalstack/admin/v2/vpn_pb.d.ts @@ -13,26 +13,26 @@ export declare const file_metalstack_admin_v2_vpn: GenFile; */ export type VPNServiceAuthKeyRequest = Message<"metalstack.admin.v2.VPNServiceAuthKeyRequest"> & { /** - * Project for which a VPN authentication key should be generated + * Project for which a VPN authentication key should be generated. * * @generated from field: string project = 1; */ project: string; /** - * Ephemeral defines if the authentication key should be ephemeral + * Ephemeral defines if the authentication key should be ephemeral. * * @generated from field: bool ephemeral = 2; */ ephemeral: boolean; /** - * Expires defines the duration after which the authentication key expires + * Expires defines the duration after which the authentication key expires. * * @generated from field: google.protobuf.Duration expires = 3; */ expires?: Duration | undefined; /** - * Reason must be provided why access to the VPN is requested - * Reason is only forwarded to an audit sink + * Reason must be provided why access to the VPN is requested. + * Reason is only forwarded to an audit sink. * * @generated from field: string reason = 4; */ @@ -50,32 +50,32 @@ export declare const VPNServiceAuthKeyRequestSchema: GenMessage & { /** - * Address is the address of the VPN control plane + * Address is the address of the VPN control plane. * * @generated from field: string address = 1; */ address: string; /** - * AuthKey is the key to connect to the VPN at the given address - * This key can only be seen once + * AuthKey is the key to connect to the VPN at the given address. + * This key can only be seen once. * * @generated from field: string auth_key = 2; */ authKey: string; /** - * Ephemeral defines if the authentication key should be ephemeral + * Ephemeral defines if the authentication key should be ephemeral. * * @generated from field: bool ephemeral = 3; */ ephemeral: boolean; /** - * ExpiresAt this key cannot be used after this timestamp + * ExpiresAt this key cannot be used after this timestamp. * * @generated from field: google.protobuf.Timestamp expires_at = 4; */ expiresAt?: Timestamp | undefined; /** - * CreatedAt this key was created at this timestamp + * CreatedAt this key was created at this timestamp. * * @generated from field: google.protobuf.Timestamp created_at = 5; */ @@ -93,7 +93,7 @@ export declare const VPNServiceAuthKeyResponseSchema: GenMessage & { /** - * Project filters nodes by this project + * Project filters nodes by this project. * * @generated from field: optional string project = 1; */ @@ -111,7 +111,7 @@ export declare const VPNServiceListNodesRequestSchema: GenMessage & { /** - * Nodes connected to the VPN + * Nodes connected to the VPN. * * @generated from field: repeated metalstack.api.v2.VPNNode nodes = 1; */ diff --git a/js/metalstack/admin/v2/vpn_pb.ts b/js/metalstack/admin/v2/vpn_pb.ts index 01afdf57..98388de7 100644 --- a/js/metalstack/admin/v2/vpn_pb.ts +++ b/js/metalstack/admin/v2/vpn_pb.ts @@ -25,29 +25,29 @@ export const file_metalstack_admin_v2_vpn: GenFile = /*@__PURE__*/ */ export type VPNServiceAuthKeyRequest = Message<"metalstack.admin.v2.VPNServiceAuthKeyRequest"> & { /** - * Project for which a VPN authentication key should be generated + * Project for which a VPN authentication key should be generated. * * @generated from field: string project = 1; */ project: string; /** - * Ephemeral defines if the authentication key should be ephemeral + * Ephemeral defines if the authentication key should be ephemeral. * * @generated from field: bool ephemeral = 2; */ ephemeral: boolean; /** - * Expires defines the duration after which the authentication key expires + * Expires defines the duration after which the authentication key expires. * * @generated from field: google.protobuf.Duration expires = 3; */ expires?: Duration | undefined; /** - * Reason must be provided why access to the VPN is requested - * Reason is only forwarded to an audit sink + * Reason must be provided why access to the VPN is requested. + * Reason is only forwarded to an audit sink. * * @generated from field: string reason = 4; */ @@ -68,36 +68,36 @@ export const VPNServiceAuthKeyRequestSchema: GenMessage & { /** - * Address is the address of the VPN control plane + * Address is the address of the VPN control plane. * * @generated from field: string address = 1; */ address: string; /** - * AuthKey is the key to connect to the VPN at the given address - * This key can only be seen once + * AuthKey is the key to connect to the VPN at the given address. + * This key can only be seen once. * * @generated from field: string auth_key = 2; */ authKey: string; /** - * Ephemeral defines if the authentication key should be ephemeral + * Ephemeral defines if the authentication key should be ephemeral. * * @generated from field: bool ephemeral = 3; */ ephemeral: boolean; /** - * ExpiresAt this key cannot be used after this timestamp + * ExpiresAt this key cannot be used after this timestamp. * * @generated from field: google.protobuf.Timestamp expires_at = 4; */ expiresAt?: Timestamp | undefined; /** - * CreatedAt this key was created at this timestamp + * CreatedAt this key was created at this timestamp. * * @generated from field: google.protobuf.Timestamp created_at = 5; */ @@ -118,7 +118,7 @@ export const VPNServiceAuthKeyResponseSchema: GenMessage & { /** - * Project filters nodes by this project + * Project filters nodes by this project. * * @generated from field: optional string project = 1; */ @@ -139,7 +139,7 @@ export const VPNServiceListNodesRequestSchema: GenMessage & { /** - * Nodes connected to the VPN + * Nodes connected to the VPN. * * @generated from field: repeated metalstack.api.v2.VPNNode nodes = 1; */ diff --git a/js/metalstack/api/v2/audit_pb.d.ts b/js/metalstack/api/v2/audit_pb.d.ts index 4651f5cd..243f2b03 100644 --- a/js/metalstack/api/v2/audit_pb.d.ts +++ b/js/metalstack/api/v2/audit_pb.d.ts @@ -13,67 +13,67 @@ export declare const file_metalstack_api_v2_audit: GenFile; */ export type AuditTrace = Message<"metalstack.api.v2.AuditTrace"> & { /** - * Uuid of the audit trace + * Uuid of the audit trace. * * @generated from field: string uuid = 1; */ uuid: string; /** - * Timestamp is the timestamp when the request arrived at the API + * Timestamp is the timestamp when the request arrived at the API. * * @generated from field: google.protobuf.Timestamp timestamp = 2; */ timestamp?: Timestamp | undefined; /** - * User is the login user who called the API method + * User is the login user who called the API method. * * @generated from field: string user = 3; */ user: string; /** - * Tenant is the tenant targeted by the API call + * Tenant is the tenant targeted by the API call. * * @generated from field: string tenant = 4; */ tenant: string; /** - * Project is the project targeted by the API call + * Project is the project targeted by the API call. * * @generated from field: optional string project = 5; */ project?: string | undefined; /** - * Method is the API method that was called + * Method is the API method that was called. * * @generated from field: string method = 6; */ method: string; /** - * 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 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. * * @generated from field: optional string body = 7; */ body?: string | undefined; /** - * SourceIP contains the source IP address of the API call + * SourceIP contains the source IP address of the API call. * * @generated from field: string source_ip = 8; */ sourceIp: string; /** - * 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 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. * * @generated from field: optional int32 result_code = 9; */ resultCode?: number | undefined; /** - * Phase represents the phase of the audit trace + * Phase represents the phase of the audit trace. * * @generated from field: metalstack.api.v2.AuditPhase phase = 10; */ phase: AuditPhase; /** - * Meta for this audit trace + * Meta for this audit trace. * * @generated from field: metalstack.api.v2.Meta meta = 11; */ @@ -85,73 +85,73 @@ export type AuditTrace = Message<"metalstack.api.v2.AuditTrace"> & { */ export declare const AuditTraceSchema: GenMessage; /** - * AuditQuery is the query for audit traces + * AuditQuery is the query for audit traces. * * @generated from message metalstack.api.v2.AuditQuery */ export type AuditQuery = Message<"metalstack.api.v2.AuditQuery"> & { /** - * Uuid of the audit trace + * Uuid of the audit trace. * * @generated from field: optional string uuid = 2; */ uuid?: string | undefined; /** - * From describes the start of the time window in which to list audit traces. Defaults to the last eight hours + * From describes the start of the time window in which to list audit traces. Defaults to the last eight hours. * * @generated from field: optional google.protobuf.Timestamp from = 3; */ from?: Timestamp | undefined; /** - * To describes the end of the time window in which to list audit traces. Defaults to the time the request was issued + * To describes the end of the time window in which to list audit traces. Defaults to the time the request was issued. * * @generated from field: optional google.protobuf.Timestamp to = 4; */ to?: Timestamp | undefined; /** - * User is the user who called the api method + * User is the user who called the api method. * * @generated from field: optional string user = 5; */ user?: string | undefined; /** - * Project is the project targeted by the api call + * Project is the project targeted by the api call. * * @generated from field: optional string project = 6; */ project?: string | undefined; /** - * Method is the api method that was called + * Method is the api method that was called. * * @generated from field: optional string method = 7; */ method?: string | undefined; /** - * Source IP contains the ip address of the caller + * Source IP contains the ip address of the caller. * * @generated from field: optional string source_ip = 8; */ sourceIp?: string | undefined; /** - * Result Code is a string describing the result of the api call + * Result Code is a string describing the result of the api call. * * @generated from field: optional int32 result_code = 9; */ resultCode?: number | undefined; /** - * Body is a string providing text-search of the body field + * Body is a string providing text-search of the body field. * * @generated from field: optional string body = 10; */ body?: string | undefined; /** - * Limit is a number limiting the length of the response (min: 1, max: 1000, defaults to 200) + * Limit is a number limiting the length of the response (min: 1, max: 1000, defaults to 200). * * @generated from field: optional int32 limit = 11; */ limit?: number | undefined; /** - * Phase specifies the audit phase + * Phase specifies the audit phase. * * @generated from field: optional metalstack.api.v2.AuditPhase phase = 12; */ @@ -163,19 +163,19 @@ export type AuditQuery = Message<"metalstack.api.v2.AuditQuery"> & { */ export declare const AuditQuerySchema: GenMessage; /** - * AuditServiceListRequest is the request payload for an audit list request + * AuditServiceListRequest is the request payload for an audit list request. * * @generated from message metalstack.api.v2.AuditServiceListRequest */ export type AuditServiceListRequest = Message<"metalstack.api.v2.AuditServiceListRequest"> & { /** - * Login for this tenant + * Login for this tenant. * * @generated from field: string login = 1; */ login: string; /** - * Query for audit traces + * Query for audit traces. * * @generated from field: metalstack.api.v2.AuditQuery query = 2; */ @@ -187,13 +187,13 @@ export type AuditServiceListRequest = Message<"metalstack.api.v2.AuditServiceLis */ export declare const AuditServiceListRequestSchema: GenMessage; /** - * AuditServiceListResponse is the response payload of a audit list request + * AuditServiceListResponse is the response payload of a audit list request. * * @generated from message metalstack.api.v2.AuditServiceListResponse */ export type AuditServiceListResponse = Message<"metalstack.api.v2.AuditServiceListResponse"> & { /** - * Traces is a list of audit traces + * Traces is a list of audit traces. * * @generated from field: repeated metalstack.api.v2.AuditTrace traces = 1; */ @@ -205,25 +205,25 @@ export type AuditServiceListResponse = Message<"metalstack.api.v2.AuditServiceLi */ export declare const AuditServiceListResponseSchema: GenMessage; /** - * AuditServiceGetRequest is the request payload of a audit get request + * AuditServiceGetRequest is the request payload of a audit get request. * * @generated from message metalstack.api.v2.AuditServiceGetRequest */ export type AuditServiceGetRequest = Message<"metalstack.api.v2.AuditServiceGetRequest"> & { /** - * Login for this tenant + * Login for this tenant. * * @generated from field: string login = 1; */ login: string; /** - * Uuid of the audit trace + * Uuid of the audit trace. * * @generated from field: string uuid = 2; */ uuid: string; /** - * Phase specifies the audit phase. Defaults to request + * Phase specifies the audit phase. Defaults to request. * * @generated from field: optional metalstack.api.v2.AuditPhase phase = 3; */ @@ -235,13 +235,13 @@ export type AuditServiceGetRequest = Message<"metalstack.api.v2.AuditServiceGetR */ export declare const AuditServiceGetRequestSchema: GenMessage; /** - * AuditServiceGetResponse is the response payload of a audit get request + * AuditServiceGetResponse is the response payload of a audit get request. * * @generated from message metalstack.api.v2.AuditServiceGetResponse */ export type AuditServiceGetResponse = Message<"metalstack.api.v2.AuditServiceGetResponse"> & { /** - * Trace is the audit trace + * Trace is the audit trace. * * @generated from field: metalstack.api.v2.AuditTrace trace = 1; */ @@ -259,19 +259,19 @@ export declare const AuditServiceGetResponseSchema: GenMessage & { /** - * Uuid of the audit trace + * Uuid of the audit trace. * * @generated from field: string uuid = 1; */ uuid: string; /** - * Timestamp is the timestamp when the request arrived at the API + * Timestamp is the timestamp when the request arrived at the API. * * @generated from field: google.protobuf.Timestamp timestamp = 2; */ timestamp?: Timestamp | undefined; /** - * User is the login user who called the API method + * User is the login user who called the API method. * * @generated from field: string user = 3; */ user: string; /** - * Tenant is the tenant targeted by the API call + * Tenant is the tenant targeted by the API call. * * @generated from field: string tenant = 4; */ tenant: string; /** - * Project is the project targeted by the API call + * Project is the project targeted by the API call. * * @generated from field: optional string project = 5; */ project?: string | undefined; /** - * Method is the API method that was called + * Method is the API method that was called. * * @generated from field: string method = 6; */ method: string; /** - * 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 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. * * @generated from field: optional string body = 7; */ body?: string | undefined; /** - * SourceIP contains the source IP address of the API call + * SourceIP contains the source IP address of the API call. * * @generated from field: string source_ip = 8; */ sourceIp: string; /** - * 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 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. * * @generated from field: optional int32 result_code = 9; */ resultCode?: number | undefined; /** - * Phase represents the phase of the audit trace + * Phase represents the phase of the audit trace. * * @generated from field: metalstack.api.v2.AuditPhase phase = 10; */ phase: AuditPhase; /** - * Meta for this audit trace + * Meta for this audit trace. * * @generated from field: metalstack.api.v2.Meta meta = 11; */ @@ -110,83 +110,83 @@ export const AuditTraceSchema: GenMessage = /*@__PURE__*/ messageDesc(file_metalstack_api_v2_audit, 0); /** - * AuditQuery is the query for audit traces + * AuditQuery is the query for audit traces. * * @generated from message metalstack.api.v2.AuditQuery */ export type AuditQuery = Message<"metalstack.api.v2.AuditQuery"> & { /** - * Uuid of the audit trace + * Uuid of the audit trace. * * @generated from field: optional string uuid = 2; */ uuid?: string | undefined; /** - * From describes the start of the time window in which to list audit traces. Defaults to the last eight hours + * From describes the start of the time window in which to list audit traces. Defaults to the last eight hours. * * @generated from field: optional google.protobuf.Timestamp from = 3; */ from?: Timestamp | undefined; /** - * To describes the end of the time window in which to list audit traces. Defaults to the time the request was issued + * To describes the end of the time window in which to list audit traces. Defaults to the time the request was issued. * * @generated from field: optional google.protobuf.Timestamp to = 4; */ to?: Timestamp | undefined; /** - * User is the user who called the api method + * User is the user who called the api method. * * @generated from field: optional string user = 5; */ user?: string | undefined; /** - * Project is the project targeted by the api call + * Project is the project targeted by the api call. * * @generated from field: optional string project = 6; */ project?: string | undefined; /** - * Method is the api method that was called + * Method is the api method that was called. * * @generated from field: optional string method = 7; */ method?: string | undefined; /** - * Source IP contains the ip address of the caller + * Source IP contains the ip address of the caller. * * @generated from field: optional string source_ip = 8; */ sourceIp?: string | undefined; /** - * Result Code is a string describing the result of the api call + * Result Code is a string describing the result of the api call. * * @generated from field: optional int32 result_code = 9; */ resultCode?: number | undefined; /** - * Body is a string providing text-search of the body field + * Body is a string providing text-search of the body field. * * @generated from field: optional string body = 10; */ body?: string | undefined; /** - * Limit is a number limiting the length of the response (min: 1, max: 1000, defaults to 200) + * Limit is a number limiting the length of the response (min: 1, max: 1000, defaults to 200). * * @generated from field: optional int32 limit = 11; */ limit?: number | undefined; /** - * Phase specifies the audit phase + * Phase specifies the audit phase. * * @generated from field: optional metalstack.api.v2.AuditPhase phase = 12; */ @@ -201,20 +201,20 @@ export const AuditQuerySchema: GenMessage = /*@__PURE__*/ messageDesc(file_metalstack_api_v2_audit, 1); /** - * AuditServiceListRequest is the request payload for an audit list request + * AuditServiceListRequest is the request payload for an audit list request. * * @generated from message metalstack.api.v2.AuditServiceListRequest */ export type AuditServiceListRequest = Message<"metalstack.api.v2.AuditServiceListRequest"> & { /** - * Login for this tenant + * Login for this tenant. * * @generated from field: string login = 1; */ login: string; /** - * Query for audit traces + * Query for audit traces. * * @generated from field: metalstack.api.v2.AuditQuery query = 2; */ @@ -229,13 +229,13 @@ export const AuditServiceListRequestSchema: GenMessage messageDesc(file_metalstack_api_v2_audit, 2); /** - * AuditServiceListResponse is the response payload of a audit list request + * AuditServiceListResponse is the response payload of a audit list request. * * @generated from message metalstack.api.v2.AuditServiceListResponse */ export type AuditServiceListResponse = Message<"metalstack.api.v2.AuditServiceListResponse"> & { /** - * Traces is a list of audit traces + * Traces is a list of audit traces. * * @generated from field: repeated metalstack.api.v2.AuditTrace traces = 1; */ @@ -250,27 +250,27 @@ export const AuditServiceListResponseSchema: GenMessage & { /** - * Login for this tenant + * Login for this tenant. * * @generated from field: string login = 1; */ login: string; /** - * Uuid of the audit trace + * Uuid of the audit trace. * * @generated from field: string uuid = 2; */ uuid: string; /** - * Phase specifies the audit phase. Defaults to request + * Phase specifies the audit phase. Defaults to request. * * @generated from field: optional metalstack.api.v2.AuditPhase phase = 3; */ @@ -285,13 +285,13 @@ export const AuditServiceGetRequestSchema: GenMessage = messageDesc(file_metalstack_api_v2_audit, 4); /** - * AuditServiceGetResponse is the response payload of a audit get request + * AuditServiceGetResponse is the response payload of a audit get request. * * @generated from message metalstack.api.v2.AuditServiceGetResponse */ export type AuditServiceGetResponse = Message<"metalstack.api.v2.AuditServiceGetResponse"> & { /** - * Trace is the audit trace + * Trace is the audit trace. * * @generated from field: metalstack.api.v2.AuditTrace trace = 1; */ @@ -312,21 +312,21 @@ export const AuditServiceGetResponseSchema: GenMessage */ export enum AuditPhase { /** - * AUDIT_PHASE_UNSPECIFIED is not specified + * AUDIT_PHASE_UNSPECIFIED is not specified. * * @generated from enum value: AUDIT_PHASE_UNSPECIFIED = 0; */ UNSPECIFIED = 0, /** - * AUDIT_PHASE_REQUEST defines an audit trace in the request phase + * AUDIT_PHASE_REQUEST defines an audit trace in the request phase. * * @generated from enum value: AUDIT_PHASE_REQUEST = 1; */ REQUEST = 1, /** - * AUDIT_PHASE_RESPONSE defines an audit trace in the response phase + * AUDIT_PHASE_RESPONSE defines an audit trace in the response phase. * * @generated from enum value: AUDIT_PHASE_RESPONSE = 2; */ diff --git a/js/metalstack/api/v2/common_pb.d.ts b/js/metalstack/api/v2/common_pb.d.ts index b8ba51d5..f867f646 100644 --- a/js/metalstack/api/v2/common_pb.d.ts +++ b/js/metalstack/api/v2/common_pb.d.ts @@ -6,20 +6,20 @@ import type { Message } from "@bufbuild/protobuf"; */ export declare const file_metalstack_api_v2_common: GenFile; /** - * Paging defines paging for methods with a lot of results + * Paging defines paging for methods with a lot of results. * * @generated from message metalstack.api.v2.Paging */ export type Paging = Message<"metalstack.api.v2.Paging"> & { /** - * Page is used for pagination, if unset only the first page is returned, + * 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. * * @generated from field: optional uint64 page = 1; */ page?: bigint | undefined; /** - * Count is the number of results returned per page, if not given server side defaults apply + * Count is the number of results returned per page, if not given server side defaults apply. * * @generated from field: optional uint64 count = 2; */ @@ -31,13 +31,13 @@ export type Paging = Message<"metalstack.api.v2.Paging"> & { */ export declare const PagingSchema: GenMessage; /** - * Labels define additional information to a entity + * Labels define additional information to a entity. * * @generated from message metalstack.api.v2.Labels */ export type Labels = Message<"metalstack.api.v2.Labels"> & { /** - * Labels consists labels + * Labels consists labels. * * @generated from field: map labels = 1; */ @@ -51,26 +51,26 @@ export type Labels = Message<"metalstack.api.v2.Labels"> & { */ export declare const LabelsSchema: GenMessage; /** - * Meta of a message + * Meta of a message. * * @generated from message metalstack.api.v2.Meta */ export type Meta = Message<"metalstack.api.v2.Meta"> & { /** - * Tags on this entity + * Tags on this entity. * * @generated from field: optional metalstack.api.v2.Labels labels = 1; */ labels?: Labels | undefined; /** - * CreatedAt is the date when this entity was created + * CreatedAt is the date when this entity was created. * * @generated from field: google.protobuf.Timestamp created_at = 2; */ createdAt?: Timestamp | undefined; /** - * UpdatedAt is the date when this entity was updated - * must be part of the update request to ensure optimistic locking + * UpdatedAt is the date when this entity was updated. + * must be part of the update request to ensure optimistic locking. * * @generated from field: google.protobuf.Timestamp updated_at = 3; */ @@ -95,19 +95,19 @@ export type Meta = Message<"metalstack.api.v2.Meta"> & { */ export declare const MetaSchema: GenMessage; /** - * UpdateLabels is a message to update labels + * UpdateLabels is a message to update labels. * * @generated from message metalstack.api.v2.UpdateLabels */ export type UpdateLabels = Message<"metalstack.api.v2.UpdateLabels"> & { /** - * Strategy defines the label update strategy + * Strategy defines the label update strategy. * * @generated from oneof metalstack.api.v2.UpdateLabels.strategy */ strategy: { /** - * Replace existing labels with the given ones + * Replace existing labels with the given ones. * * @generated from field: metalstack.api.v2.Labels replace = 1; */ @@ -115,7 +115,7 @@ export type UpdateLabels = Message<"metalstack.api.v2.UpdateLabels"> & { case: "replace"; } | { /** - * Patch adds, updates or remove given labels without modifying others + * Patch adds, updates or remove given labels without modifying others. * * @generated from field: metalstack.api.v2.LabelsPatch patch = 2; */ @@ -132,19 +132,19 @@ export type UpdateLabels = Message<"metalstack.api.v2.UpdateLabels"> & { */ export declare const UpdateLabelsSchema: GenMessage; /** - * LabelsPatch adds, updates or remove given labels without modifying others + * LabelsPatch adds, updates or remove given labels without modifying others. * * @generated from message metalstack.api.v2.LabelsPatch */ export type LabelsPatch = Message<"metalstack.api.v2.LabelsPatch"> & { /** - * Update labels. New ones will be added, existing ones overwritten + * Update labels. New ones will be added, existing ones overwritten. * * @generated from field: metalstack.api.v2.Labels update = 1; */ update?: Labels | undefined; /** - * Remove labels by key + * Remove labels by key. * * @generated from field: repeated string remove = 2; */ @@ -156,20 +156,20 @@ export type LabelsPatch = Message<"metalstack.api.v2.LabelsPatch"> & { */ export declare const LabelsPatchSchema: GenMessage; /** - * UpdateMeta must be provided with every UpdateRequest to define how optimistic locking should be handled + * UpdateMeta must be provided with every UpdateRequest to define how optimistic locking should be handled. * * @generated from message metalstack.api.v2.UpdateMeta */ export type UpdateMeta = Message<"metalstack.api.v2.UpdateMeta"> & { /** - * UpdatedAt is the date when this entity was updated - * must be part of the update request to ensure optimistic locking + * UpdatedAt is the date when this entity was updated. + * Must be part of the update request to ensure optimistic locking. * * @generated from field: google.protobuf.Timestamp updated_at = 1; */ updatedAt?: Timestamp | undefined; /** - * LockingStrategy to be used for this update request + * LockingStrategy to be used for this update request. * * @generated from field: metalstack.api.v2.OptimisticLockingStrategy locking_strategy = 2; */ @@ -181,38 +181,38 @@ export type UpdateMeta = Message<"metalstack.api.v2.UpdateMeta"> & { */ export declare const UpdateMetaSchema: GenMessage; /** - * TenantRole specifies what role a logged in user needs to call this tenant scoped service + * TenantRole specifies what role a logged in user needs to call this tenant scoped service. * * @generated from enum metalstack.api.v2.TenantRole */ export declare enum TenantRole { /** - * TENANT_ROLE_UNSPECIFIED is not specified + * TENANT_ROLE_UNSPECIFIED is not specified. * * @generated from enum value: TENANT_ROLE_UNSPECIFIED = 0; */ UNSPECIFIED = 0, /** - * TENANT_ROLE_OWNER the logged in user needs at least owner role to call this method + * TENANT_ROLE_OWNER the logged in user needs at least owner role to call this method. * * @generated from enum value: TENANT_ROLE_OWNER = 1; */ OWNER = 1, /** - * TENANT_ROLE_EDITOR the logged in user needs at least editor role to call this method + * TENANT_ROLE_EDITOR the logged in user needs at least editor role to call this method. * * @generated from enum value: TENANT_ROLE_EDITOR = 2; */ EDITOR = 2, /** - * TENANT_ROLE_VIEWER the logged in user needs at least viewer role to call this method + * TENANT_ROLE_VIEWER the logged in user needs at least viewer role to call this method. * * @generated from enum value: TENANT_ROLE_VIEWER = 3; */ VIEWER = 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 + * 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. * * @generated from enum value: TENANT_ROLE_GUEST = 4; @@ -224,31 +224,31 @@ export declare enum TenantRole { */ export declare const TenantRoleSchema: GenEnum; /** - * ProjectRole specifies what role a logged in user needs to call this project scoped service + * ProjectRole specifies what role a logged in user needs to call this project scoped service. * * @generated from enum metalstack.api.v2.ProjectRole */ export declare enum ProjectRole { /** - * PROJECT_ROLE_UNSPECIFIED is not specified + * PROJECT_ROLE_UNSPECIFIED is not specified. * * @generated from enum value: PROJECT_ROLE_UNSPECIFIED = 0; */ UNSPECIFIED = 0, /** - * PROJECT_ROLE_OWNER the logged in user needs at least owner role to call this method + * PROJECT_ROLE_OWNER the logged in user needs at least owner role to call this method. * * @generated from enum value: PROJECT_ROLE_OWNER = 1; */ OWNER = 1, /** - * PROJECT_ROLE_EDITOR the logged in user needs at least editor role to call this method + * PROJECT_ROLE_EDITOR the logged in user needs at least editor role to call this method. * * @generated from enum value: PROJECT_ROLE_EDITOR = 2; */ EDITOR = 2, /** - * PROJECT_ROLE_VIEWER the logged in user needs at least viewer role to call this method + * PROJECT_ROLE_VIEWER the logged in user needs at least viewer role to call this method. * * @generated from enum value: PROJECT_ROLE_VIEWER = 3; */ @@ -259,25 +259,25 @@ export declare enum ProjectRole { */ export declare const ProjectRoleSchema: GenEnum; /** - * AdminRole specifies what role a logged in user needs to call this admin service + * AdminRole specifies what role a logged in user needs to call this admin service. * * @generated from enum metalstack.api.v2.AdminRole */ export declare enum AdminRole { /** - * ADMIN_ROLE_UNSPECIFIED is not specified + * ADMIN_ROLE_UNSPECIFIED is not specified. * * @generated from enum value: ADMIN_ROLE_UNSPECIFIED = 0; */ UNSPECIFIED = 0, /** - * ADMIN_ROLE_EDITOR the logged in user needs at least editor role to call this method + * ADMIN_ROLE_EDITOR the logged in user needs at least editor role to call this method. * * @generated from enum value: ADMIN_ROLE_EDITOR = 1; */ EDITOR = 1, /** - * ADMIN_ROLE_VIEWER the logged in user needs at least viewer role to call this method + * ADMIN_ROLE_VIEWER the logged in user needs at least viewer role to call this method. * * @generated from enum value: ADMIN_ROLE_VIEWER = 2; */ @@ -288,25 +288,25 @@ export declare enum AdminRole { */ export declare const AdminRoleSchema: GenEnum; /** - * InfraRole specifies what role a microservice needs to call this infra service + * InfraRole specifies what role a microservice needs to call this infra service. * * @generated from enum metalstack.api.v2.InfraRole */ export declare enum InfraRole { /** - * INFRA_ROLE_UNSPECIFIED is not specified + * INFRA_ROLE_UNSPECIFIED is not specified. * * @generated from enum value: INFRA_ROLE_UNSPECIFIED = 0; */ UNSPECIFIED = 0, /** - * INFRA_ROLE_EDITOR a microservice needs at least editor role to call this method + * INFRA_ROLE_EDITOR a microservice needs at least editor role to call this method. * * @generated from enum value: INFRA_ROLE_EDITOR = 1; */ EDITOR = 1, /** - * INFRA_ROLE_VIEWER a microservice needs at least viewer role to call this method + * INFRA_ROLE_VIEWER a microservice needs at least viewer role to call this method. * * @generated from enum value: INFRA_ROLE_VIEWER = 2; */ @@ -317,25 +317,25 @@ export declare enum InfraRole { */ export declare const InfraRoleSchema: GenEnum; /** - * MachineRole specifies what role a microservice needs to call this machine service + * MachineRole specifies what role a microservice needs to call this machine service. * * @generated from enum metalstack.api.v2.MachineRole */ export declare enum MachineRole { /** - * MACHINE_ROLE_UNSPECIFIED is not specified + * MACHINE_ROLE_UNSPECIFIED is not specified. * * @generated from enum value: MACHINE_ROLE_UNSPECIFIED = 0; */ UNSPECIFIED = 0, /** - * MACHINE_ROLE_EDITOR a microservice needs at least editor role to call this method + * MACHINE_ROLE_EDITOR a microservice needs at least editor role to call this method. * * @generated from enum value: MACHINE_ROLE_EDITOR = 1; */ EDITOR = 1, /** - * MACHINE_ROLE_VIEWER a microservice needs at least viewer role to call this method + * MACHINE_ROLE_VIEWER a microservice needs at least viewer role to call this method. * * @generated from enum value: MACHINE_ROLE_VIEWER = 2; */ @@ -346,25 +346,25 @@ export declare enum MachineRole { */ export declare const MachineRoleSchema: GenEnum; /** - * Visibility of a method + * Visibility of a method. * * @generated from enum metalstack.api.v2.Visibility */ export declare enum Visibility { /** - * VISIBILITY_UNSPECIFIED is not defined + * VISIBILITY_UNSPECIFIED is not defined. * * @generated from enum value: VISIBILITY_UNSPECIFIED = 0; */ UNSPECIFIED = 0, /** - * VISIBILITY_PUBLIC specifies that this service is accessible without authentication + * VISIBILITY_PUBLIC specifies that this service is accessible without authentication. * * @generated from enum value: VISIBILITY_PUBLIC = 1; */ PUBLIC = 1, /** - * VISIBILITY_SELF restricts calls to the authenticated user only + * VISIBILITY_SELF restricts calls to the authenticated user only. * * @generated from enum value: VISIBILITY_SELF = 2; */ @@ -375,27 +375,27 @@ export declare enum Visibility { */ export declare const VisibilitySchema: GenEnum; /** - * 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 + * 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. * * @generated from enum metalstack.api.v2.Auditing */ export declare enum Auditing { /** - * AUDITING_UNSPECIFIED is not specified + * AUDITING_UNSPECIFIED is not specified. * * @generated from enum value: AUDITING_UNSPECIFIED = 0; */ UNSPECIFIED = 0, /** - * AUDITING_INCLUDED if a method is annotated with this, all calls are audited + * AUDITING_INCLUDED if a method is annotated with this, all calls are audited. * * @generated from enum value: AUDITING_INCLUDED = 1; */ INCLUDED = 1, /** - * AUDITING_EXCLUDED if a method is annotated with this, no calls are audited + * AUDITING_EXCLUDED if a method is annotated with this, no calls are audited. * * @generated from enum value: AUDITING_EXCLUDED = 2; */ @@ -407,26 +407,26 @@ export declare enum Auditing { export declare const AuditingSchema: GenEnum; /** * OptimisticLockingStrategy defines how optimistic locking should be handled. - * It defaults to client side, which requires the UpdatedAt timestamp to be provided + * It defaults to client side, which requires the UpdatedAt timestamp to be provided. * * @generated from enum metalstack.api.v2.OptimisticLockingStrategy */ export declare enum OptimisticLockingStrategy { /** - * OPTIMISTIC_LOCKING_STRATEGY_UNSPECIFIED same as client side + * OPTIMISTIC_LOCKING_STRATEGY_UNSPECIFIED same as client side. * * @generated from enum value: OPTIMISTIC_LOCKING_STRATEGY_UNSPECIFIED = 0; */ UNSPECIFIED = 0, /** - * OPTIMISTIC_LOCKING_STRATEGY_CLIENT requires UpdatedAt to be specified + * OPTIMISTIC_LOCKING_STRATEGY_CLIENT requires UpdatedAt to be specified. * * @generated from enum value: OPTIMISTIC_LOCKING_STRATEGY_CLIENT = 1; */ CLIENT = 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 + * OPTIMISTIC_LOCKING_STRATEGY_SERVER allows to omit UpdatedAt. + * and fetches the most recent entity before updating with the given values with the update request. * * @generated from enum value: OPTIMISTIC_LOCKING_STRATEGY_SERVER = 2; */ @@ -437,49 +437,49 @@ export declare enum OptimisticLockingStrategy { */ export declare const OptimisticLockingStrategySchema: GenEnum; /** - * TenantRoles are used to define the tenant role a logged in user must provide to call this method + * TenantRoles are used to define the tenant role a logged in user must provide to call this method. * * @generated from extension: repeated metalstack.api.v2.TenantRole tenant_roles = 51000; */ export declare const tenant_roles: GenExtension; /** - * ProjectRoles are used to define the project role a logged in user must provide to call this method + * ProjectRoles are used to define the project role a logged in user must provide to call this method. * * @generated from extension: repeated metalstack.api.v2.ProjectRole project_roles = 51001; */ export declare const project_roles: GenExtension; /** - * AdminRoles are used to define the admin role a logged in user must provide to call this method + * AdminRoles are used to define the admin role a logged in user must provide to call this method. * * @generated from extension: repeated metalstack.api.v2.AdminRole admin_roles = 51002; */ export declare const admin_roles: GenExtension; /** - * Visibility defines the visibility of this method, this is used to have public or self visible methods + * Visibility defines the visibility of this method, this is used to have public or self visible methods. * * @generated from extension: metalstack.api.v2.Visibility visibility = 51003; */ export declare const visibility: GenExtension; /** - * Auditing defines if calls to this method should be audited or not + * Auditing defines if calls to this method should be audited or not. * * @generated from extension: metalstack.api.v2.Auditing auditing = 51004; */ export declare const auditing: GenExtension; /** - * InfraRoles are used to define the infra role a microservice must provide to call this method + * InfraRoles are used to define the infra role a microservice must provide to call this method. * * @generated from extension: repeated metalstack.api.v2.InfraRole infra_roles = 51005; */ export declare const infra_roles: GenExtension; /** - * MachineRole are used to define which machine role a microservice must provide to call this method + * MachineRole are used to define which machine role a microservice must provide to call this method. * * @generated from extension: repeated metalstack.api.v2.MachineRole machine_roles = 51006; */ export declare const machine_roles: GenExtension; /** - * StringValue which can be set to a enum + * StringValue which can be set to a enum. * * @generated from extension: string enum_string_value = 52000; */ diff --git a/js/metalstack/api/v2/common_pb.js b/js/metalstack/api/v2/common_pb.js index c2309e10..9f834742 100644 --- a/js/metalstack/api/v2/common_pb.js +++ b/js/metalstack/api/v2/common_pb.js @@ -40,39 +40,39 @@ export const LabelsPatchSchema = /*@__PURE__*/ messageDesc(file_metalstack_api_v */ export const UpdateMetaSchema = /*@__PURE__*/ messageDesc(file_metalstack_api_v2_common, 5); /** - * TenantRole specifies what role a logged in user needs to call this tenant scoped service + * TenantRole specifies what role a logged in user needs to call this tenant scoped service. * * @generated from enum metalstack.api.v2.TenantRole */ export var TenantRole; (function (TenantRole) { /** - * TENANT_ROLE_UNSPECIFIED is not specified + * TENANT_ROLE_UNSPECIFIED is not specified. * * @generated from enum value: TENANT_ROLE_UNSPECIFIED = 0; */ TenantRole[TenantRole["UNSPECIFIED"] = 0] = "UNSPECIFIED"; /** - * TENANT_ROLE_OWNER the logged in user needs at least owner role to call this method + * TENANT_ROLE_OWNER the logged in user needs at least owner role to call this method. * * @generated from enum value: TENANT_ROLE_OWNER = 1; */ TenantRole[TenantRole["OWNER"] = 1] = "OWNER"; /** - * TENANT_ROLE_EDITOR the logged in user needs at least editor role to call this method + * TENANT_ROLE_EDITOR the logged in user needs at least editor role to call this method. * * @generated from enum value: TENANT_ROLE_EDITOR = 2; */ TenantRole[TenantRole["EDITOR"] = 2] = "EDITOR"; /** - * TENANT_ROLE_VIEWER the logged in user needs at least viewer role to call this method + * TENANT_ROLE_VIEWER the logged in user needs at least viewer role to call this method. * * @generated from enum value: TENANT_ROLE_VIEWER = 3; */ TenantRole[TenantRole["VIEWER"] = 3] = "VIEWER"; /** - * 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 + * 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. * * @generated from enum value: TENANT_ROLE_GUEST = 4; @@ -84,32 +84,32 @@ export var TenantRole; */ export const TenantRoleSchema = /*@__PURE__*/ enumDesc(file_metalstack_api_v2_common, 0); /** - * ProjectRole specifies what role a logged in user needs to call this project scoped service + * ProjectRole specifies what role a logged in user needs to call this project scoped service. * * @generated from enum metalstack.api.v2.ProjectRole */ export var ProjectRole; (function (ProjectRole) { /** - * PROJECT_ROLE_UNSPECIFIED is not specified + * PROJECT_ROLE_UNSPECIFIED is not specified. * * @generated from enum value: PROJECT_ROLE_UNSPECIFIED = 0; */ ProjectRole[ProjectRole["UNSPECIFIED"] = 0] = "UNSPECIFIED"; /** - * PROJECT_ROLE_OWNER the logged in user needs at least owner role to call this method + * PROJECT_ROLE_OWNER the logged in user needs at least owner role to call this method. * * @generated from enum value: PROJECT_ROLE_OWNER = 1; */ ProjectRole[ProjectRole["OWNER"] = 1] = "OWNER"; /** - * PROJECT_ROLE_EDITOR the logged in user needs at least editor role to call this method + * PROJECT_ROLE_EDITOR the logged in user needs at least editor role to call this method. * * @generated from enum value: PROJECT_ROLE_EDITOR = 2; */ ProjectRole[ProjectRole["EDITOR"] = 2] = "EDITOR"; /** - * PROJECT_ROLE_VIEWER the logged in user needs at least viewer role to call this method + * PROJECT_ROLE_VIEWER the logged in user needs at least viewer role to call this method. * * @generated from enum value: PROJECT_ROLE_VIEWER = 3; */ @@ -120,26 +120,26 @@ export var ProjectRole; */ export const ProjectRoleSchema = /*@__PURE__*/ enumDesc(file_metalstack_api_v2_common, 1); /** - * AdminRole specifies what role a logged in user needs to call this admin service + * AdminRole specifies what role a logged in user needs to call this admin service. * * @generated from enum metalstack.api.v2.AdminRole */ export var AdminRole; (function (AdminRole) { /** - * ADMIN_ROLE_UNSPECIFIED is not specified + * ADMIN_ROLE_UNSPECIFIED is not specified. * * @generated from enum value: ADMIN_ROLE_UNSPECIFIED = 0; */ AdminRole[AdminRole["UNSPECIFIED"] = 0] = "UNSPECIFIED"; /** - * ADMIN_ROLE_EDITOR the logged in user needs at least editor role to call this method + * ADMIN_ROLE_EDITOR the logged in user needs at least editor role to call this method. * * @generated from enum value: ADMIN_ROLE_EDITOR = 1; */ AdminRole[AdminRole["EDITOR"] = 1] = "EDITOR"; /** - * ADMIN_ROLE_VIEWER the logged in user needs at least viewer role to call this method + * ADMIN_ROLE_VIEWER the logged in user needs at least viewer role to call this method. * * @generated from enum value: ADMIN_ROLE_VIEWER = 2; */ @@ -150,26 +150,26 @@ export var AdminRole; */ export const AdminRoleSchema = /*@__PURE__*/ enumDesc(file_metalstack_api_v2_common, 2); /** - * InfraRole specifies what role a microservice needs to call this infra service + * InfraRole specifies what role a microservice needs to call this infra service. * * @generated from enum metalstack.api.v2.InfraRole */ export var InfraRole; (function (InfraRole) { /** - * INFRA_ROLE_UNSPECIFIED is not specified + * INFRA_ROLE_UNSPECIFIED is not specified. * * @generated from enum value: INFRA_ROLE_UNSPECIFIED = 0; */ InfraRole[InfraRole["UNSPECIFIED"] = 0] = "UNSPECIFIED"; /** - * INFRA_ROLE_EDITOR a microservice needs at least editor role to call this method + * INFRA_ROLE_EDITOR a microservice needs at least editor role to call this method. * * @generated from enum value: INFRA_ROLE_EDITOR = 1; */ InfraRole[InfraRole["EDITOR"] = 1] = "EDITOR"; /** - * INFRA_ROLE_VIEWER a microservice needs at least viewer role to call this method + * INFRA_ROLE_VIEWER a microservice needs at least viewer role to call this method. * * @generated from enum value: INFRA_ROLE_VIEWER = 2; */ @@ -180,26 +180,26 @@ export var InfraRole; */ export const InfraRoleSchema = /*@__PURE__*/ enumDesc(file_metalstack_api_v2_common, 3); /** - * MachineRole specifies what role a microservice needs to call this machine service + * MachineRole specifies what role a microservice needs to call this machine service. * * @generated from enum metalstack.api.v2.MachineRole */ export var MachineRole; (function (MachineRole) { /** - * MACHINE_ROLE_UNSPECIFIED is not specified + * MACHINE_ROLE_UNSPECIFIED is not specified. * * @generated from enum value: MACHINE_ROLE_UNSPECIFIED = 0; */ MachineRole[MachineRole["UNSPECIFIED"] = 0] = "UNSPECIFIED"; /** - * MACHINE_ROLE_EDITOR a microservice needs at least editor role to call this method + * MACHINE_ROLE_EDITOR a microservice needs at least editor role to call this method. * * @generated from enum value: MACHINE_ROLE_EDITOR = 1; */ MachineRole[MachineRole["EDITOR"] = 1] = "EDITOR"; /** - * MACHINE_ROLE_VIEWER a microservice needs at least viewer role to call this method + * MACHINE_ROLE_VIEWER a microservice needs at least viewer role to call this method. * * @generated from enum value: MACHINE_ROLE_VIEWER = 2; */ @@ -210,26 +210,26 @@ export var MachineRole; */ export const MachineRoleSchema = /*@__PURE__*/ enumDesc(file_metalstack_api_v2_common, 4); /** - * Visibility of a method + * Visibility of a method. * * @generated from enum metalstack.api.v2.Visibility */ export var Visibility; (function (Visibility) { /** - * VISIBILITY_UNSPECIFIED is not defined + * VISIBILITY_UNSPECIFIED is not defined. * * @generated from enum value: VISIBILITY_UNSPECIFIED = 0; */ Visibility[Visibility["UNSPECIFIED"] = 0] = "UNSPECIFIED"; /** - * VISIBILITY_PUBLIC specifies that this service is accessible without authentication + * VISIBILITY_PUBLIC specifies that this service is accessible without authentication. * * @generated from enum value: VISIBILITY_PUBLIC = 1; */ Visibility[Visibility["PUBLIC"] = 1] = "PUBLIC"; /** - * VISIBILITY_SELF restricts calls to the authenticated user only + * VISIBILITY_SELF restricts calls to the authenticated user only. * * @generated from enum value: VISIBILITY_SELF = 2; */ @@ -240,28 +240,28 @@ export var Visibility; */ export const VisibilitySchema = /*@__PURE__*/ enumDesc(file_metalstack_api_v2_common, 5); /** - * 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 + * 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. * * @generated from enum metalstack.api.v2.Auditing */ export var Auditing; (function (Auditing) { /** - * AUDITING_UNSPECIFIED is not specified + * AUDITING_UNSPECIFIED is not specified. * * @generated from enum value: AUDITING_UNSPECIFIED = 0; */ Auditing[Auditing["UNSPECIFIED"] = 0] = "UNSPECIFIED"; /** - * AUDITING_INCLUDED if a method is annotated with this, all calls are audited + * AUDITING_INCLUDED if a method is annotated with this, all calls are audited. * * @generated from enum value: AUDITING_INCLUDED = 1; */ Auditing[Auditing["INCLUDED"] = 1] = "INCLUDED"; /** - * AUDITING_EXCLUDED if a method is annotated with this, no calls are audited + * AUDITING_EXCLUDED if a method is annotated with this, no calls are audited. * * @generated from enum value: AUDITING_EXCLUDED = 2; */ @@ -273,27 +273,27 @@ export var Auditing; export const AuditingSchema = /*@__PURE__*/ enumDesc(file_metalstack_api_v2_common, 6); /** * OptimisticLockingStrategy defines how optimistic locking should be handled. - * It defaults to client side, which requires the UpdatedAt timestamp to be provided + * It defaults to client side, which requires the UpdatedAt timestamp to be provided. * * @generated from enum metalstack.api.v2.OptimisticLockingStrategy */ export var OptimisticLockingStrategy; (function (OptimisticLockingStrategy) { /** - * OPTIMISTIC_LOCKING_STRATEGY_UNSPECIFIED same as client side + * OPTIMISTIC_LOCKING_STRATEGY_UNSPECIFIED same as client side. * * @generated from enum value: OPTIMISTIC_LOCKING_STRATEGY_UNSPECIFIED = 0; */ OptimisticLockingStrategy[OptimisticLockingStrategy["UNSPECIFIED"] = 0] = "UNSPECIFIED"; /** - * OPTIMISTIC_LOCKING_STRATEGY_CLIENT requires UpdatedAt to be specified + * OPTIMISTIC_LOCKING_STRATEGY_CLIENT requires UpdatedAt to be specified. * * @generated from enum value: OPTIMISTIC_LOCKING_STRATEGY_CLIENT = 1; */ OptimisticLockingStrategy[OptimisticLockingStrategy["CLIENT"] = 1] = "CLIENT"; /** - * OPTIMISTIC_LOCKING_STRATEGY_SERVER allows to omit UpdatedAt - * and fetches the most recent entity before updating with the given values with the update request + * OPTIMISTIC_LOCKING_STRATEGY_SERVER allows to omit UpdatedAt. + * and fetches the most recent entity before updating with the given values with the update request. * * @generated from enum value: OPTIMISTIC_LOCKING_STRATEGY_SERVER = 2; */ @@ -304,49 +304,49 @@ export var OptimisticLockingStrategy; */ export const OptimisticLockingStrategySchema = /*@__PURE__*/ enumDesc(file_metalstack_api_v2_common, 7); /** - * TenantRoles are used to define the tenant role a logged in user must provide to call this method + * TenantRoles are used to define the tenant role a logged in user must provide to call this method. * * @generated from extension: repeated metalstack.api.v2.TenantRole tenant_roles = 51000; */ export const tenant_roles = /*@__PURE__*/ extDesc(file_metalstack_api_v2_common, 0); /** - * ProjectRoles are used to define the project role a logged in user must provide to call this method + * ProjectRoles are used to define the project role a logged in user must provide to call this method. * * @generated from extension: repeated metalstack.api.v2.ProjectRole project_roles = 51001; */ export const project_roles = /*@__PURE__*/ extDesc(file_metalstack_api_v2_common, 1); /** - * AdminRoles are used to define the admin role a logged in user must provide to call this method + * AdminRoles are used to define the admin role a logged in user must provide to call this method. * * @generated from extension: repeated metalstack.api.v2.AdminRole admin_roles = 51002; */ export const admin_roles = /*@__PURE__*/ extDesc(file_metalstack_api_v2_common, 2); /** - * Visibility defines the visibility of this method, this is used to have public or self visible methods + * Visibility defines the visibility of this method, this is used to have public or self visible methods. * * @generated from extension: metalstack.api.v2.Visibility visibility = 51003; */ export const visibility = /*@__PURE__*/ extDesc(file_metalstack_api_v2_common, 3); /** - * Auditing defines if calls to this method should be audited or not + * Auditing defines if calls to this method should be audited or not. * * @generated from extension: metalstack.api.v2.Auditing auditing = 51004; */ export const auditing = /*@__PURE__*/ extDesc(file_metalstack_api_v2_common, 4); /** - * InfraRoles are used to define the infra role a microservice must provide to call this method + * InfraRoles are used to define the infra role a microservice must provide to call this method. * * @generated from extension: repeated metalstack.api.v2.InfraRole infra_roles = 51005; */ export const infra_roles = /*@__PURE__*/ extDesc(file_metalstack_api_v2_common, 5); /** - * MachineRole are used to define which machine role a microservice must provide to call this method + * MachineRole are used to define which machine role a microservice must provide to call this method. * * @generated from extension: repeated metalstack.api.v2.MachineRole machine_roles = 51006; */ export const machine_roles = /*@__PURE__*/ extDesc(file_metalstack_api_v2_common, 6); /** - * StringValue which can be set to a enum + * StringValue which can be set to a enum. * * @generated from extension: string enum_string_value = 52000; */ diff --git a/js/metalstack/api/v2/common_pb.ts b/js/metalstack/api/v2/common_pb.ts index 3146378d..8b209cf3 100644 --- a/js/metalstack/api/v2/common_pb.ts +++ b/js/metalstack/api/v2/common_pb.ts @@ -17,13 +17,13 @@ export const file_metalstack_api_v2_common: GenFile = /*@__PURE__*/ fileDesc("Ch5tZXRhbHN0YWNrL2FwaS92Mi9jb21tb24ucHJvdG8SEW1ldGFsc3RhY2suYXBpLnYyIkIKBlBhZ2luZxIRCgRwYWdlGAEgASgESACIAQESEgoFY291bnQYAiABKARIAYgBAUIHCgVfcGFnZUIICgZfY291bnQijgEKBkxhYmVscxJVCgZsYWJlbHMYASADKAsyJS5tZXRhbHN0YWNrLmFwaS52Mi5MYWJlbHMuTGFiZWxzRW50cnlCHrpIG5oBGLiVuLECASIHcgUQARiAAioHcgUQABiAAhotCgtMYWJlbHNFbnRyeRILCgNrZXkYASABKAkSDQoFdmFsdWUYAiABKAk6AjgBIukBCgRNZXRhEi4KBmxhYmVscxgBIAEoCzIZLm1ldGFsc3RhY2suYXBpLnYyLkxhYmVsc0gAiAEBEi4KCmNyZWF0ZWRfYXQYAiABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wEi4KCnVwZGF0ZWRfYXQYAyABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wEhIKCmdlbmVyYXRpb24YBCABKAQSHQoQZGVsZXRpb25fdGFza19pZBgFIAEoCUgBiAEBQgkKB19sYWJlbHNCEwoRX2RlbGV0aW9uX3Rhc2tfaWQigAEKDFVwZGF0ZUxhYmVscxIsCgdyZXBsYWNlGAEgASgLMhkubWV0YWxzdGFjay5hcGkudjIuTGFiZWxzSAASLwoFcGF0Y2gYAiABKAsyHi5tZXRhbHN0YWNrLmFwaS52Mi5MYWJlbHNQYXRjaEgAQhEKCHN0cmF0ZWd5EgW6SAIIASJcCgtMYWJlbHNQYXRjaBIpCgZ1cGRhdGUYASABKAsyGS5tZXRhbHN0YWNrLmFwaS52Mi5MYWJlbHMSIgoGcmVtb3ZlGAIgAygJQhK6SA+SAQwYASIIcgbws66xAgEijgEKClVwZGF0ZU1ldGESLgoKdXBkYXRlZF9hdBgBIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASUAoQbG9ja2luZ19zdHJhdGVneRgCIAEoDjIsLm1ldGFsc3RhY2suYXBpLnYyLk9wdGltaXN0aWNMb2NraW5nU3RyYXRlZ3lCCLpIBYIBAhABKocBCgpUZW5hbnRSb2xlEhsKF1RFTkFOVF9ST0xFX1VOU1BFQ0lGSUVEEAASFQoRVEVOQU5UX1JPTEVfT1dORVIQARIWChJURU5BTlRfUk9MRV9FRElUT1IQAhIWChJURU5BTlRfUk9MRV9WSUVXRVIQAxIVChFURU5BTlRfUk9MRV9HVUVTVBAEKnUKC1Byb2plY3RSb2xlEhwKGFBST0pFQ1RfUk9MRV9VTlNQRUNJRklFRBAAEhYKElBST0pFQ1RfUk9MRV9PV05FUhABEhcKE1BST0pFQ1RfUk9MRV9FRElUT1IQAhIXChNQUk9KRUNUX1JPTEVfVklFV0VSEAMqVQoJQWRtaW5Sb2xlEhoKFkFETUlOX1JPTEVfVU5TUEVDSUZJRUQQABIVChFBRE1JTl9ST0xFX0VESVRPUhABEhUKEUFETUlOX1JPTEVfVklFV0VSEAIqVQoJSW5mcmFSb2xlEhoKFklORlJBX1JPTEVfVU5TUEVDSUZJRUQQABIVChFJTkZSQV9ST0xFX0VESVRPUhABEhUKEUlORlJBX1JPTEVfVklFV0VSEAIqXQoLTWFjaGluZVJvbGUSHAoYTUFDSElORV9ST0xFX1VOU1BFQ0lGSUVEEAASFwoTTUFDSElORV9ST0xFX0VESVRPUhABEhcKE01BQ0hJTkVfUk9MRV9WSUVXRVIQAipUCgpWaXNpYmlsaXR5EhoKFlZJU0lCSUxJVFlfVU5TUEVDSUZJRUQQABIVChFWSVNJQklMSVRZX1BVQkxJQxABEhMKD1ZJU0lCSUxJVFlfU0VMRhACKlIKCEF1ZGl0aW5nEhgKFEFVRElUSU5HX1VOU1BFQ0lGSUVEEAASFQoRQVVESVRJTkdfSU5DTFVERUQQARIVChFBVURJVElOR19FWENMVURFRBACKpgBChlPcHRpbWlzdGljTG9ja2luZ1N0cmF0ZWd5EisKJ09QVElNSVNUSUNfTE9DS0lOR19TVFJBVEVHWV9VTlNQRUNJRklFRBAAEiYKIk9QVElNSVNUSUNfTE9DS0lOR19TVFJBVEVHWV9DTElFTlQQARImCiJPUFRJTUlTVElDX0xPQ0tJTkdfU1RSQVRFR1lfU0VSVkVSEAI6YgoMdGVuYW50X3JvbGVzEh4uZ29vZ2xlLnByb3RvYnVmLk1ldGhvZE9wdGlvbnMYuI4DIAMoDjIdLm1ldGFsc3RhY2suYXBpLnYyLlRlbmFudFJvbGVSC3RlbmFudFJvbGVzOmUKDXByb2plY3Rfcm9sZXMSHi5nb29nbGUucHJvdG9idWYuTWV0aG9kT3B0aW9ucxi5jgMgAygOMh4ubWV0YWxzdGFjay5hcGkudjIuUHJvamVjdFJvbGVSDHByb2plY3RSb2xlczpfCgthZG1pbl9yb2xlcxIeLmdvb2dsZS5wcm90b2J1Zi5NZXRob2RPcHRpb25zGLqOAyADKA4yHC5tZXRhbHN0YWNrLmFwaS52Mi5BZG1pblJvbGVSCmFkbWluUm9sZXM6XwoKdmlzaWJpbGl0eRIeLmdvb2dsZS5wcm90b2J1Zi5NZXRob2RPcHRpb25zGLuOAyABKA4yHS5tZXRhbHN0YWNrLmFwaS52Mi5WaXNpYmlsaXR5Ugp2aXNpYmlsaXR5OlkKCGF1ZGl0aW5nEh4uZ29vZ2xlLnByb3RvYnVmLk1ldGhvZE9wdGlvbnMYvI4DIAEoDjIbLm1ldGFsc3RhY2suYXBpLnYyLkF1ZGl0aW5nUghhdWRpdGluZzpfCgtpbmZyYV9yb2xlcxIeLmdvb2dsZS5wcm90b2J1Zi5NZXRob2RPcHRpb25zGL2OAyADKA4yHC5tZXRhbHN0YWNrLmFwaS52Mi5JbmZyYVJvbGVSCmluZnJhUm9sZXM6ZQoNbWFjaGluZV9yb2xlcxIeLmdvb2dsZS5wcm90b2J1Zi5NZXRob2RPcHRpb25zGL6OAyADKA4yHi5tZXRhbHN0YWNrLmFwaS52Mi5NYWNoaW5lUm9sZVIMbWFjaGluZVJvbGVzOk8KEWVudW1fc3RyaW5nX3ZhbHVlEiEuZ29vZ2xlLnByb3RvYnVmLkVudW1WYWx1ZU9wdGlvbnMYoJYDIAEoCVIPZW51bVN0cmluZ1ZhbHVlQsEBChVjb20ubWV0YWxzdGFjay5hcGkudjJCC0NvbW1vblByb3RvUAFaNWdpdGh1Yi5jb20vbWV0YWwtc3RhY2svYXBpL2dvL21ldGFsc3RhY2svYXBpL3YyO2FwaXYyogIDTUFYqgIRTWV0YWxzdGFjay5BcGkuVjLKAhFNZXRhbHN0YWNrXEFwaVxWMuICHU1ldGFsc3RhY2tcQXBpXFYyXEdQQk1ldGFkYXRh6gITTWV0YWxzdGFjazo6QXBpOjpWMmIGcHJvdG8z", [file_buf_validate_validate, file_google_protobuf_descriptor, file_google_protobuf_timestamp, file_metalstack_api_v2_predefined_rules]); /** - * Paging defines paging for methods with a lot of results + * Paging defines paging for methods with a lot of results. * * @generated from message metalstack.api.v2.Paging */ export type Paging = Message<"metalstack.api.v2.Paging"> & { /** - * Page is used for pagination, if unset only the first page is returned, + * 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. * * @generated from field: optional uint64 page = 1; @@ -31,7 +31,7 @@ export type Paging = Message<"metalstack.api.v2.Paging"> & { page?: bigint | undefined; /** - * Count is the number of results returned per page, if not given server side defaults apply + * Count is the number of results returned per page, if not given server side defaults apply. * * @generated from field: optional uint64 count = 2; */ @@ -46,13 +46,13 @@ export const PagingSchema: GenMessage = /*@__PURE__*/ messageDesc(file_metalstack_api_v2_common, 0); /** - * Labels define additional information to a entity + * Labels define additional information to a entity. * * @generated from message metalstack.api.v2.Labels */ export type Labels = Message<"metalstack.api.v2.Labels"> & { /** - * Labels consists labels + * Labels consists labels. * * @generated from field: map labels = 1; */ @@ -67,28 +67,28 @@ export const LabelsSchema: GenMessage = /*@__PURE__*/ messageDesc(file_metalstack_api_v2_common, 1); /** - * Meta of a message + * Meta of a message. * * @generated from message metalstack.api.v2.Meta */ export type Meta = Message<"metalstack.api.v2.Meta"> & { /** - * Tags on this entity + * Tags on this entity. * * @generated from field: optional metalstack.api.v2.Labels labels = 1; */ labels?: Labels | undefined; /** - * CreatedAt is the date when this entity was created + * CreatedAt is the date when this entity was created. * * @generated from field: google.protobuf.Timestamp created_at = 2; */ createdAt?: Timestamp | undefined; /** - * UpdatedAt is the date when this entity was updated - * must be part of the update request to ensure optimistic locking + * UpdatedAt is the date when this entity was updated. + * must be part of the update request to ensure optimistic locking. * * @generated from field: google.protobuf.Timestamp updated_at = 3; */ @@ -118,19 +118,19 @@ export const MetaSchema: GenMessage = /*@__PURE__*/ messageDesc(file_metalstack_api_v2_common, 2); /** - * UpdateLabels is a message to update labels + * UpdateLabels is a message to update labels. * * @generated from message metalstack.api.v2.UpdateLabels */ export type UpdateLabels = Message<"metalstack.api.v2.UpdateLabels"> & { /** - * Strategy defines the label update strategy + * Strategy defines the label update strategy. * * @generated from oneof metalstack.api.v2.UpdateLabels.strategy */ strategy: { /** - * Replace existing labels with the given ones + * Replace existing labels with the given ones. * * @generated from field: metalstack.api.v2.Labels replace = 1; */ @@ -138,7 +138,7 @@ export type UpdateLabels = Message<"metalstack.api.v2.UpdateLabels"> & { case: "replace"; } | { /** - * Patch adds, updates or remove given labels without modifying others + * Patch adds, updates or remove given labels without modifying others. * * @generated from field: metalstack.api.v2.LabelsPatch patch = 2; */ @@ -155,20 +155,20 @@ export const UpdateLabelsSchema: GenMessage = /*@__PURE__*/ messageDesc(file_metalstack_api_v2_common, 3); /** - * LabelsPatch adds, updates or remove given labels without modifying others + * LabelsPatch adds, updates or remove given labels without modifying others. * * @generated from message metalstack.api.v2.LabelsPatch */ export type LabelsPatch = Message<"metalstack.api.v2.LabelsPatch"> & { /** - * Update labels. New ones will be added, existing ones overwritten + * Update labels. New ones will be added, existing ones overwritten. * * @generated from field: metalstack.api.v2.Labels update = 1; */ update?: Labels | undefined; /** - * Remove labels by key + * Remove labels by key. * * @generated from field: repeated string remove = 2; */ @@ -183,21 +183,21 @@ export const LabelsPatchSchema: GenMessage = /*@__PURE__*/ messageDesc(file_metalstack_api_v2_common, 4); /** - * UpdateMeta must be provided with every UpdateRequest to define how optimistic locking should be handled + * UpdateMeta must be provided with every UpdateRequest to define how optimistic locking should be handled. * * @generated from message metalstack.api.v2.UpdateMeta */ export type UpdateMeta = Message<"metalstack.api.v2.UpdateMeta"> & { /** - * UpdatedAt is the date when this entity was updated - * must be part of the update request to ensure optimistic locking + * UpdatedAt is the date when this entity was updated. + * Must be part of the update request to ensure optimistic locking. * * @generated from field: google.protobuf.Timestamp updated_at = 1; */ updatedAt?: Timestamp | undefined; /** - * LockingStrategy to be used for this update request + * LockingStrategy to be used for this update request. * * @generated from field: metalstack.api.v2.OptimisticLockingStrategy locking_strategy = 2; */ @@ -212,42 +212,42 @@ export const UpdateMetaSchema: GenMessage = /*@__PURE__*/ messageDesc(file_metalstack_api_v2_common, 5); /** - * TenantRole specifies what role a logged in user needs to call this tenant scoped service + * TenantRole specifies what role a logged in user needs to call this tenant scoped service. * * @generated from enum metalstack.api.v2.TenantRole */ export enum TenantRole { /** - * TENANT_ROLE_UNSPECIFIED is not specified + * TENANT_ROLE_UNSPECIFIED is not specified. * * @generated from enum value: TENANT_ROLE_UNSPECIFIED = 0; */ UNSPECIFIED = 0, /** - * TENANT_ROLE_OWNER the logged in user needs at least owner role to call this method + * TENANT_ROLE_OWNER the logged in user needs at least owner role to call this method. * * @generated from enum value: TENANT_ROLE_OWNER = 1; */ OWNER = 1, /** - * TENANT_ROLE_EDITOR the logged in user needs at least editor role to call this method + * TENANT_ROLE_EDITOR the logged in user needs at least editor role to call this method. * * @generated from enum value: TENANT_ROLE_EDITOR = 2; */ EDITOR = 2, /** - * TENANT_ROLE_VIEWER the logged in user needs at least viewer role to call this method + * TENANT_ROLE_VIEWER the logged in user needs at least viewer role to call this method. * * @generated from enum value: TENANT_ROLE_VIEWER = 3; */ VIEWER = 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 + * 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. * * @generated from enum value: TENANT_ROLE_GUEST = 4; @@ -262,34 +262,34 @@ export const TenantRoleSchema: GenEnum = /*@__PURE__*/ enumDesc(file_metalstack_api_v2_common, 0); /** - * ProjectRole specifies what role a logged in user needs to call this project scoped service + * ProjectRole specifies what role a logged in user needs to call this project scoped service. * * @generated from enum metalstack.api.v2.ProjectRole */ export enum ProjectRole { /** - * PROJECT_ROLE_UNSPECIFIED is not specified + * PROJECT_ROLE_UNSPECIFIED is not specified. * * @generated from enum value: PROJECT_ROLE_UNSPECIFIED = 0; */ UNSPECIFIED = 0, /** - * PROJECT_ROLE_OWNER the logged in user needs at least owner role to call this method + * PROJECT_ROLE_OWNER the logged in user needs at least owner role to call this method. * * @generated from enum value: PROJECT_ROLE_OWNER = 1; */ OWNER = 1, /** - * PROJECT_ROLE_EDITOR the logged in user needs at least editor role to call this method + * PROJECT_ROLE_EDITOR the logged in user needs at least editor role to call this method. * * @generated from enum value: PROJECT_ROLE_EDITOR = 2; */ EDITOR = 2, /** - * PROJECT_ROLE_VIEWER the logged in user needs at least viewer role to call this method + * PROJECT_ROLE_VIEWER the logged in user needs at least viewer role to call this method. * * @generated from enum value: PROJECT_ROLE_VIEWER = 3; */ @@ -303,27 +303,27 @@ export const ProjectRoleSchema: GenEnum = /*@__PURE__*/ enumDesc(file_metalstack_api_v2_common, 1); /** - * AdminRole specifies what role a logged in user needs to call this admin service + * AdminRole specifies what role a logged in user needs to call this admin service. * * @generated from enum metalstack.api.v2.AdminRole */ export enum AdminRole { /** - * ADMIN_ROLE_UNSPECIFIED is not specified + * ADMIN_ROLE_UNSPECIFIED is not specified. * * @generated from enum value: ADMIN_ROLE_UNSPECIFIED = 0; */ UNSPECIFIED = 0, /** - * ADMIN_ROLE_EDITOR the logged in user needs at least editor role to call this method + * ADMIN_ROLE_EDITOR the logged in user needs at least editor role to call this method. * * @generated from enum value: ADMIN_ROLE_EDITOR = 1; */ EDITOR = 1, /** - * ADMIN_ROLE_VIEWER the logged in user needs at least viewer role to call this method + * ADMIN_ROLE_VIEWER the logged in user needs at least viewer role to call this method. * * @generated from enum value: ADMIN_ROLE_VIEWER = 2; */ @@ -337,27 +337,27 @@ export const AdminRoleSchema: GenEnum = /*@__PURE__*/ enumDesc(file_metalstack_api_v2_common, 2); /** - * InfraRole specifies what role a microservice needs to call this infra service + * InfraRole specifies what role a microservice needs to call this infra service. * * @generated from enum metalstack.api.v2.InfraRole */ export enum InfraRole { /** - * INFRA_ROLE_UNSPECIFIED is not specified + * INFRA_ROLE_UNSPECIFIED is not specified. * * @generated from enum value: INFRA_ROLE_UNSPECIFIED = 0; */ UNSPECIFIED = 0, /** - * INFRA_ROLE_EDITOR a microservice needs at least editor role to call this method + * INFRA_ROLE_EDITOR a microservice needs at least editor role to call this method. * * @generated from enum value: INFRA_ROLE_EDITOR = 1; */ EDITOR = 1, /** - * INFRA_ROLE_VIEWER a microservice needs at least viewer role to call this method + * INFRA_ROLE_VIEWER a microservice needs at least viewer role to call this method. * * @generated from enum value: INFRA_ROLE_VIEWER = 2; */ @@ -371,27 +371,27 @@ export const InfraRoleSchema: GenEnum = /*@__PURE__*/ enumDesc(file_metalstack_api_v2_common, 3); /** - * MachineRole specifies what role a microservice needs to call this machine service + * MachineRole specifies what role a microservice needs to call this machine service. * * @generated from enum metalstack.api.v2.MachineRole */ export enum MachineRole { /** - * MACHINE_ROLE_UNSPECIFIED is not specified + * MACHINE_ROLE_UNSPECIFIED is not specified. * * @generated from enum value: MACHINE_ROLE_UNSPECIFIED = 0; */ UNSPECIFIED = 0, /** - * MACHINE_ROLE_EDITOR a microservice needs at least editor role to call this method + * MACHINE_ROLE_EDITOR a microservice needs at least editor role to call this method. * * @generated from enum value: MACHINE_ROLE_EDITOR = 1; */ EDITOR = 1, /** - * MACHINE_ROLE_VIEWER a microservice needs at least viewer role to call this method + * MACHINE_ROLE_VIEWER a microservice needs at least viewer role to call this method. * * @generated from enum value: MACHINE_ROLE_VIEWER = 2; */ @@ -405,27 +405,27 @@ export const MachineRoleSchema: GenEnum = /*@__PURE__*/ enumDesc(file_metalstack_api_v2_common, 4); /** - * Visibility of a method + * Visibility of a method. * * @generated from enum metalstack.api.v2.Visibility */ export enum Visibility { /** - * VISIBILITY_UNSPECIFIED is not defined + * VISIBILITY_UNSPECIFIED is not defined. * * @generated from enum value: VISIBILITY_UNSPECIFIED = 0; */ UNSPECIFIED = 0, /** - * VISIBILITY_PUBLIC specifies that this service is accessible without authentication + * VISIBILITY_PUBLIC specifies that this service is accessible without authentication. * * @generated from enum value: VISIBILITY_PUBLIC = 1; */ PUBLIC = 1, /** - * VISIBILITY_SELF restricts calls to the authenticated user only + * VISIBILITY_SELF restricts calls to the authenticated user only. * * @generated from enum value: VISIBILITY_SELF = 2; */ @@ -439,29 +439,29 @@ export const VisibilitySchema: GenEnum = /*@__PURE__*/ enumDesc(file_metalstack_api_v2_common, 5); /** - * 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 + * 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. * * @generated from enum metalstack.api.v2.Auditing */ export enum Auditing { /** - * AUDITING_UNSPECIFIED is not specified + * AUDITING_UNSPECIFIED is not specified. * * @generated from enum value: AUDITING_UNSPECIFIED = 0; */ UNSPECIFIED = 0, /** - * AUDITING_INCLUDED if a method is annotated with this, all calls are audited + * AUDITING_INCLUDED if a method is annotated with this, all calls are audited. * * @generated from enum value: AUDITING_INCLUDED = 1; */ INCLUDED = 1, /** - * AUDITING_EXCLUDED if a method is annotated with this, no calls are audited + * AUDITING_EXCLUDED if a method is annotated with this, no calls are audited. * * @generated from enum value: AUDITING_EXCLUDED = 2; */ @@ -476,28 +476,28 @@ export const AuditingSchema: GenEnum = /*@__PURE__*/ /** * OptimisticLockingStrategy defines how optimistic locking should be handled. - * It defaults to client side, which requires the UpdatedAt timestamp to be provided + * It defaults to client side, which requires the UpdatedAt timestamp to be provided. * * @generated from enum metalstack.api.v2.OptimisticLockingStrategy */ export enum OptimisticLockingStrategy { /** - * OPTIMISTIC_LOCKING_STRATEGY_UNSPECIFIED same as client side + * OPTIMISTIC_LOCKING_STRATEGY_UNSPECIFIED same as client side. * * @generated from enum value: OPTIMISTIC_LOCKING_STRATEGY_UNSPECIFIED = 0; */ UNSPECIFIED = 0, /** - * OPTIMISTIC_LOCKING_STRATEGY_CLIENT requires UpdatedAt to be specified + * OPTIMISTIC_LOCKING_STRATEGY_CLIENT requires UpdatedAt to be specified. * * @generated from enum value: OPTIMISTIC_LOCKING_STRATEGY_CLIENT = 1; */ CLIENT = 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 + * OPTIMISTIC_LOCKING_STRATEGY_SERVER allows to omit UpdatedAt. + * and fetches the most recent entity before updating with the given values with the update request. * * @generated from enum value: OPTIMISTIC_LOCKING_STRATEGY_SERVER = 2; */ @@ -511,7 +511,7 @@ export const OptimisticLockingStrategySchema: GenEnum enumDesc(file_metalstack_api_v2_common, 7); /** - * TenantRoles are used to define the tenant role a logged in user must provide to call this method + * TenantRoles are used to define the tenant role a logged in user must provide to call this method. * * @generated from extension: repeated metalstack.api.v2.TenantRole tenant_roles = 51000; */ @@ -519,7 +519,7 @@ export const tenant_roles: GenExtension = /*@__PURE extDesc(file_metalstack_api_v2_common, 0); /** - * ProjectRoles are used to define the project role a logged in user must provide to call this method + * ProjectRoles are used to define the project role a logged in user must provide to call this method. * * @generated from extension: repeated metalstack.api.v2.ProjectRole project_roles = 51001; */ @@ -527,7 +527,7 @@ export const project_roles: GenExtension = /*@__PU extDesc(file_metalstack_api_v2_common, 1); /** - * AdminRoles are used to define the admin role a logged in user must provide to call this method + * AdminRoles are used to define the admin role a logged in user must provide to call this method. * * @generated from extension: repeated metalstack.api.v2.AdminRole admin_roles = 51002; */ @@ -535,7 +535,7 @@ export const admin_roles: GenExtension = /*@__PURE__ extDesc(file_metalstack_api_v2_common, 2); /** - * Visibility defines the visibility of this method, this is used to have public or self visible methods + * Visibility defines the visibility of this method, this is used to have public or self visible methods. * * @generated from extension: metalstack.api.v2.Visibility visibility = 51003; */ @@ -543,7 +543,7 @@ export const visibility: GenExtension = /*@__PURE__*/ extDesc(file_metalstack_api_v2_common, 3); /** - * Auditing defines if calls to this method should be audited or not + * Auditing defines if calls to this method should be audited or not. * * @generated from extension: metalstack.api.v2.Auditing auditing = 51004; */ @@ -551,7 +551,7 @@ export const auditing: GenExtension = /*@__PURE__*/ extDesc(file_metalstack_api_v2_common, 4); /** - * InfraRoles are used to define the infra role a microservice must provide to call this method + * InfraRoles are used to define the infra role a microservice must provide to call this method. * * @generated from extension: repeated metalstack.api.v2.InfraRole infra_roles = 51005; */ @@ -559,7 +559,7 @@ export const infra_roles: GenExtension = /*@__PURE__ extDesc(file_metalstack_api_v2_common, 5); /** - * MachineRole are used to define which machine role a microservice must provide to call this method + * MachineRole are used to define which machine role a microservice must provide to call this method. * * @generated from extension: repeated metalstack.api.v2.MachineRole machine_roles = 51006; */ @@ -567,7 +567,7 @@ export const machine_roles: GenExtension = /*@__PU extDesc(file_metalstack_api_v2_common, 6); /** - * StringValue which can be set to a enum + * StringValue which can be set to a enum. * * @generated from extension: string enum_string_value = 52000; */ diff --git a/js/metalstack/api/v2/component_pb.d.ts b/js/metalstack/api/v2/component_pb.d.ts index a1d8bf53..65086f4a 100644 --- a/js/metalstack/api/v2/component_pb.d.ts +++ b/js/metalstack/api/v2/component_pb.d.ts @@ -9,19 +9,19 @@ import type { Message } from "@bufbuild/protobuf"; */ export declare const file_metalstack_api_v2_component: GenFile; /** - * Component represents a microservice connected to our apiserver + * Component represents a microservice connected to our apiserver. * * @generated from message metalstack.api.v2.Component */ export type Component = Message<"metalstack.api.v2.Component"> & { /** - * UUID identifies this component event + * UUID identifies this component event. * * @generated from field: string uuid = 1; */ uuid: string; /** - * Type defines which service is actually pinging + * Type defines which service is actually pinging. * * @generated from field: metalstack.api.v2.ComponentType type = 2; */ @@ -34,7 +34,7 @@ export type Component = Message<"metalstack.api.v2.Component"> & { */ identifier: string; /** - * StartedAt is the timestamp this service was started + * StartedAt is the timestamp this service was started. * * @generated from field: google.protobuf.Timestamp started_at = 4; */ @@ -52,7 +52,7 @@ export type Component = Message<"metalstack.api.v2.Component"> & { */ interval?: Duration | undefined; /** - * Version of this service + * Version of this service. * * @generated from field: metalstack.api.v2.Version version = 7; */ @@ -64,7 +64,7 @@ export type Component = Message<"metalstack.api.v2.Component"> & { */ token?: Token | undefined; /** - * Meta for this component + * Meta for this component. * * @generated from field: metalstack.api.v2.Meta meta = 9; */ @@ -76,19 +76,19 @@ export type Component = Message<"metalstack.api.v2.Component"> & { */ export declare const ComponentSchema: GenMessage; /** - * ComponentQuery to query components + * ComponentQuery to query components. * * @generated from message metalstack.api.v2.ComponentQuery */ export type ComponentQuery = Message<"metalstack.api.v2.ComponentQuery"> & { /** - * UUID identifies this component + * UUID identifies this component. * * @generated from field: optional string uuid = 1; */ uuid?: string | undefined; /** - * Type defines which service is actually pinging + * Type defines which service is actually pinging. * * @generated from field: optional metalstack.api.v2.ComponentType type = 2; */ @@ -107,49 +107,49 @@ export type ComponentQuery = Message<"metalstack.api.v2.ComponentQuery"> & { */ export declare const ComponentQuerySchema: GenMessage; /** - * ComponentType defines which service is actually pinging + * ComponentType defines which service is actually pinging. * * @generated from enum metalstack.api.v2.ComponentType */ export declare enum ComponentType { /** - * COMPONENT_TYPE_UNSPECIFIED is unspecified + * COMPONENT_TYPE_UNSPECIFIED is unspecified. * * @generated from enum value: COMPONENT_TYPE_UNSPECIFIED = 0; */ UNSPECIFIED = 0, /** - * COMPONENT_TYPE_PIXIECORE is pixiecore + * COMPONENT_TYPE_PIXIECORE is pixiecore. * * @generated from enum value: COMPONENT_TYPE_PIXIECORE = 1; */ PIXIECORE = 1, /** - * COMPONENT_TYPE_METAL_CORE is metal-core + * COMPONENT_TYPE_METAL_CORE is metal-core. * * @generated from enum value: COMPONENT_TYPE_METAL_CORE = 2; */ METAL_CORE = 2, /** - * COMPONENT_TYPE_METAL_BMC is metal-bmc + * COMPONENT_TYPE_METAL_BMC is metal-bmc. * * @generated from enum value: COMPONENT_TYPE_METAL_BMC = 3; */ METAL_BMC = 3, /** - * COMPONENT_TYPE_METAL_IMAGE_CACHE_SYNC is metal-image-cache-sync + * COMPONENT_TYPE_METAL_IMAGE_CACHE_SYNC is metal-image-cache-sync. * * @generated from enum value: COMPONENT_TYPE_METAL_IMAGE_CACHE_SYNC = 4; */ METAL_IMAGE_CACHE_SYNC = 4, /** - * COMPONENT_TYPE_METAL_CONSOLE is metal-console + * COMPONENT_TYPE_METAL_CONSOLE is metal-console. * * @generated from enum value: COMPONENT_TYPE_METAL_CONSOLE = 5; */ METAL_CONSOLE = 5, /** - * COMPONENT_TYPE_METAL_METRICS_EXPORTER is metal-metrics-exporter + * COMPONENT_TYPE_METAL_METRICS_EXPORTER is metal-metrics-exporter. * * @generated from enum value: COMPONENT_TYPE_METAL_METRICS_EXPORTER = 6; */ diff --git a/js/metalstack/api/v2/component_pb.js b/js/metalstack/api/v2/component_pb.js index 84e193f0..4cc54172 100644 --- a/js/metalstack/api/v2/component_pb.js +++ b/js/metalstack/api/v2/component_pb.js @@ -23,50 +23,50 @@ export const ComponentSchema = /*@__PURE__*/ messageDesc(file_metalstack_api_v2_ */ export const ComponentQuerySchema = /*@__PURE__*/ messageDesc(file_metalstack_api_v2_component, 1); /** - * ComponentType defines which service is actually pinging + * ComponentType defines which service is actually pinging. * * @generated from enum metalstack.api.v2.ComponentType */ export var ComponentType; (function (ComponentType) { /** - * COMPONENT_TYPE_UNSPECIFIED is unspecified + * COMPONENT_TYPE_UNSPECIFIED is unspecified. * * @generated from enum value: COMPONENT_TYPE_UNSPECIFIED = 0; */ ComponentType[ComponentType["UNSPECIFIED"] = 0] = "UNSPECIFIED"; /** - * COMPONENT_TYPE_PIXIECORE is pixiecore + * COMPONENT_TYPE_PIXIECORE is pixiecore. * * @generated from enum value: COMPONENT_TYPE_PIXIECORE = 1; */ ComponentType[ComponentType["PIXIECORE"] = 1] = "PIXIECORE"; /** - * COMPONENT_TYPE_METAL_CORE is metal-core + * COMPONENT_TYPE_METAL_CORE is metal-core. * * @generated from enum value: COMPONENT_TYPE_METAL_CORE = 2; */ ComponentType[ComponentType["METAL_CORE"] = 2] = "METAL_CORE"; /** - * COMPONENT_TYPE_METAL_BMC is metal-bmc + * COMPONENT_TYPE_METAL_BMC is metal-bmc. * * @generated from enum value: COMPONENT_TYPE_METAL_BMC = 3; */ ComponentType[ComponentType["METAL_BMC"] = 3] = "METAL_BMC"; /** - * COMPONENT_TYPE_METAL_IMAGE_CACHE_SYNC is metal-image-cache-sync + * COMPONENT_TYPE_METAL_IMAGE_CACHE_SYNC is metal-image-cache-sync. * * @generated from enum value: COMPONENT_TYPE_METAL_IMAGE_CACHE_SYNC = 4; */ ComponentType[ComponentType["METAL_IMAGE_CACHE_SYNC"] = 4] = "METAL_IMAGE_CACHE_SYNC"; /** - * COMPONENT_TYPE_METAL_CONSOLE is metal-console + * COMPONENT_TYPE_METAL_CONSOLE is metal-console. * * @generated from enum value: COMPONENT_TYPE_METAL_CONSOLE = 5; */ ComponentType[ComponentType["METAL_CONSOLE"] = 5] = "METAL_CONSOLE"; /** - * COMPONENT_TYPE_METAL_METRICS_EXPORTER is metal-metrics-exporter + * COMPONENT_TYPE_METAL_METRICS_EXPORTER is metal-metrics-exporter. * * @generated from enum value: COMPONENT_TYPE_METAL_METRICS_EXPORTER = 6; */ diff --git a/js/metalstack/api/v2/component_pb.ts b/js/metalstack/api/v2/component_pb.ts index 686d3036..8f451c08 100644 --- a/js/metalstack/api/v2/component_pb.ts +++ b/js/metalstack/api/v2/component_pb.ts @@ -23,20 +23,20 @@ export const file_metalstack_api_v2_component: GenFile = /*@__PURE__*/ fileDesc("CiFtZXRhbHN0YWNrL2FwaS92Mi9jb21wb25lbnQucHJvdG8SEW1ldGFsc3RhY2suYXBpLnYyIokDCglDb21wb25lbnQSFgoEdXVpZBgBIAEoCUIIukgFcgOwAQESOAoEdHlwZRgCIAEoDjIgLm1ldGFsc3RhY2suYXBpLnYyLkNvbXBvbmVudFR5cGVCCLpIBYIBAhABEh8KCmlkZW50aWZpZXIYAyABKAlCC7pICHIGwLOusQIBEi4KCnN0YXJ0ZWRfYXQYBCABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wEi8KC3JlcG9ydGVkX2F0GAUgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBIrCghpbnRlcnZhbBgGIAEoCzIZLmdvb2dsZS5wcm90b2J1Zi5EdXJhdGlvbhIrCgd2ZXJzaW9uGAcgASgLMhoubWV0YWxzdGFjay5hcGkudjIuVmVyc2lvbhInCgV0b2tlbhgIIAEoCzIYLm1ldGFsc3RhY2suYXBpLnYyLlRva2VuEiUKBG1ldGEYCSABKAsyFy5tZXRhbHN0YWNrLmFwaS52Mi5NZXRhIrMBCg5Db21wb25lbnRRdWVyeRIbCgR1dWlkGAEgASgJQgi6SAVyA7ABAUgAiAEBEj0KBHR5cGUYAiABKA4yIC5tZXRhbHN0YWNrLmFwaS52Mi5Db21wb25lbnRUeXBlQgi6SAWCAQIQAUgBiAEBEiQKCmlkZW50aWZpZXIYAyABKAlCC7pICHIGwLOusQIBSAKIAQFCBwoFX3V1aWRCBwoFX3R5cGVCDQoLX2lkZW50aWZpZXIqjAMKDUNvbXBvbmVudFR5cGUSLwoaQ09NUE9ORU5UX1RZUEVfVU5TUEVDSUZJRUQQABoPgrIZC3Vuc3BlY2lmaWVkEisKGENPTVBPTkVOVF9UWVBFX1BJWElFQ09SRRABGg2CshkJcGl4aWVjb3JlEi0KGUNPTVBPTkVOVF9UWVBFX01FVEFMX0NPUkUQAhoOgrIZCm1ldGFsLWNvcmUSKwoYQ09NUE9ORU5UX1RZUEVfTUVUQUxfQk1DEAMaDYKyGQltZXRhbC1ibWMSRQolQ09NUE9ORU5UX1RZUEVfTUVUQUxfSU1BR0VfQ0FDSEVfU1lOQxAEGhqCshkWbWV0YWwtaW1hZ2UtY2FjaGUtc3luYxIzChxDT01QT05FTlRfVFlQRV9NRVRBTF9DT05TT0xFEAUaEYKyGQ1tZXRhbC1jb25zb2xlEkUKJUNPTVBPTkVOVF9UWVBFX01FVEFMX01FVFJJQ1NfRVhQT1JURVIQBhoagrIZFm1ldGFsLW1ldHJpY3MtZXhwb3J0ZXJCxAEKFWNvbS5tZXRhbHN0YWNrLmFwaS52MkIOQ29tcG9uZW50UHJvdG9QAVo1Z2l0aHViLmNvbS9tZXRhbC1zdGFjay9hcGkvZ28vbWV0YWxzdGFjay9hcGkvdjI7YXBpdjKiAgNNQViqAhFNZXRhbHN0YWNrLkFwaS5WMsoCEU1ldGFsc3RhY2tcQXBpXFYy4gIdTWV0YWxzdGFja1xBcGlcVjJcR1BCTWV0YWRhdGHqAhNNZXRhbHN0YWNrOjpBcGk6OlYyYgZwcm90bzM", [file_buf_validate_validate, file_google_protobuf_duration, file_google_protobuf_timestamp, file_metalstack_api_v2_common, file_metalstack_api_v2_predefined_rules, file_metalstack_api_v2_token, file_metalstack_api_v2_version]); /** - * Component represents a microservice connected to our apiserver + * Component represents a microservice connected to our apiserver. * * @generated from message metalstack.api.v2.Component */ export type Component = Message<"metalstack.api.v2.Component"> & { /** - * UUID identifies this component event + * UUID identifies this component event. * * @generated from field: string uuid = 1; */ uuid: string; /** - * Type defines which service is actually pinging + * Type defines which service is actually pinging. * * @generated from field: metalstack.api.v2.ComponentType type = 2; */ @@ -51,7 +51,7 @@ export type Component = Message<"metalstack.api.v2.Component"> & { identifier: string; /** - * StartedAt is the timestamp this service was started + * StartedAt is the timestamp this service was started. * * @generated from field: google.protobuf.Timestamp started_at = 4; */ @@ -72,7 +72,7 @@ export type Component = Message<"metalstack.api.v2.Component"> & { interval?: Duration | undefined; /** - * Version of this service + * Version of this service. * * @generated from field: metalstack.api.v2.Version version = 7; */ @@ -86,7 +86,7 @@ export type Component = Message<"metalstack.api.v2.Component"> & { token?: Token | undefined; /** - * Meta for this component + * Meta for this component. * * @generated from field: metalstack.api.v2.Meta meta = 9; */ @@ -101,20 +101,20 @@ export const ComponentSchema: GenMessage = /*@__PURE__*/ messageDesc(file_metalstack_api_v2_component, 0); /** - * ComponentQuery to query components + * ComponentQuery to query components. * * @generated from message metalstack.api.v2.ComponentQuery */ export type ComponentQuery = Message<"metalstack.api.v2.ComponentQuery"> & { /** - * UUID identifies this component + * UUID identifies this component. * * @generated from field: optional string uuid = 1; */ uuid?: string | undefined; /** - * Type defines which service is actually pinging + * Type defines which service is actually pinging. * * @generated from field: optional metalstack.api.v2.ComponentType type = 2; */ @@ -137,55 +137,55 @@ export const ComponentQuerySchema: GenMessage = /*@__PURE__*/ messageDesc(file_metalstack_api_v2_component, 1); /** - * ComponentType defines which service is actually pinging + * ComponentType defines which service is actually pinging. * * @generated from enum metalstack.api.v2.ComponentType */ export enum ComponentType { /** - * COMPONENT_TYPE_UNSPECIFIED is unspecified + * COMPONENT_TYPE_UNSPECIFIED is unspecified. * * @generated from enum value: COMPONENT_TYPE_UNSPECIFIED = 0; */ UNSPECIFIED = 0, /** - * COMPONENT_TYPE_PIXIECORE is pixiecore + * COMPONENT_TYPE_PIXIECORE is pixiecore. * * @generated from enum value: COMPONENT_TYPE_PIXIECORE = 1; */ PIXIECORE = 1, /** - * COMPONENT_TYPE_METAL_CORE is metal-core + * COMPONENT_TYPE_METAL_CORE is metal-core. * * @generated from enum value: COMPONENT_TYPE_METAL_CORE = 2; */ METAL_CORE = 2, /** - * COMPONENT_TYPE_METAL_BMC is metal-bmc + * COMPONENT_TYPE_METAL_BMC is metal-bmc. * * @generated from enum value: COMPONENT_TYPE_METAL_BMC = 3; */ METAL_BMC = 3, /** - * COMPONENT_TYPE_METAL_IMAGE_CACHE_SYNC is metal-image-cache-sync + * COMPONENT_TYPE_METAL_IMAGE_CACHE_SYNC is metal-image-cache-sync. * * @generated from enum value: COMPONENT_TYPE_METAL_IMAGE_CACHE_SYNC = 4; */ METAL_IMAGE_CACHE_SYNC = 4, /** - * COMPONENT_TYPE_METAL_CONSOLE is metal-console + * COMPONENT_TYPE_METAL_CONSOLE is metal-console. * * @generated from enum value: COMPONENT_TYPE_METAL_CONSOLE = 5; */ METAL_CONSOLE = 5, /** - * COMPONENT_TYPE_METAL_METRICS_EXPORTER is metal-metrics-exporter + * COMPONENT_TYPE_METAL_METRICS_EXPORTER is metal-metrics-exporter. * * @generated from enum value: COMPONENT_TYPE_METAL_METRICS_EXPORTER = 6; */ diff --git a/js/metalstack/api/v2/filesystem_pb.d.ts b/js/metalstack/api/v2/filesystem_pb.d.ts index 825dc9f6..10ca12c2 100644 --- a/js/metalstack/api/v2/filesystem_pb.d.ts +++ b/js/metalstack/api/v2/filesystem_pb.d.ts @@ -6,13 +6,13 @@ import type { Message } from "@bufbuild/protobuf"; */ export declare const file_metalstack_api_v2_filesystem: GenFile; /** - * FilesystemServiceGetRequest is the request payload for a filesystem get request + * FilesystemServiceGetRequest is the request payload for a filesystem get request. * * @generated from message metalstack.api.v2.FilesystemServiceGetRequest */ export type FilesystemServiceGetRequest = Message<"metalstack.api.v2.FilesystemServiceGetRequest"> & { /** - * ID of the filesystem to get + * ID of the filesystem to get. * * @generated from field: string id = 1; */ @@ -24,13 +24,13 @@ export type FilesystemServiceGetRequest = Message<"metalstack.api.v2.FilesystemS */ export declare const FilesystemServiceGetRequestSchema: GenMessage; /** - * FilesystemServiceListRequest is the request payload for a filesystem list request + * FilesystemServiceListRequest is the request payload for a filesystem list request. * * @generated from message metalstack.api.v2.FilesystemServiceListRequest */ export type FilesystemServiceListRequest = Message<"metalstack.api.v2.FilesystemServiceListRequest"> & { /** - * ID of the filesystem to get + * ID of the filesystem to get. * * @generated from field: optional string id = 1; */ @@ -42,13 +42,13 @@ export type FilesystemServiceListRequest = Message<"metalstack.api.v2.Filesystem */ export declare const FilesystemServiceListRequestSchema: GenMessage; /** - * FilesystemServiceGetResponse is the response payload for a filesystem get request + * FilesystemServiceGetResponse is the response payload for a filesystem get request. * * @generated from message metalstack.api.v2.FilesystemServiceGetResponse */ export type FilesystemServiceGetResponse = Message<"metalstack.api.v2.FilesystemServiceGetResponse"> & { /** - * FilesystemLayout the filesystemlayout + * FilesystemLayout the filesystemlayout. * * @generated from field: metalstack.api.v2.FilesystemLayout filesystem_layout = 1; */ @@ -60,13 +60,13 @@ export type FilesystemServiceGetResponse = Message<"metalstack.api.v2.Filesystem */ export declare const FilesystemServiceGetResponseSchema: GenMessage; /** - * FilesystemServiceListResponse is the response payload for a filesystem list request + * FilesystemServiceListResponse is the response payload for a filesystem list request. * * @generated from message metalstack.api.v2.FilesystemServiceListResponse */ export type FilesystemServiceListResponse = Message<"metalstack.api.v2.FilesystemServiceListResponse"> & { /** - * FilesystemLayouts the filesystemlayouts + * FilesystemLayouts the filesystemlayouts. * * @generated from field: repeated metalstack.api.v2.FilesystemLayout filesystem_layouts = 1; */ @@ -78,67 +78,67 @@ export type FilesystemServiceListResponse = Message<"metalstack.api.v2.Filesyste */ export declare const FilesystemServiceListResponseSchema: GenMessage; /** - * FilesystemLayout + * FilesystemLayout. * * @generated from message metalstack.api.v2.FilesystemLayout */ export type FilesystemLayout = Message<"metalstack.api.v2.FilesystemLayout"> & { /** - * Id of this filesystemLayout + * Id of this filesystemLayout. * * @generated from field: string id = 1; */ id: string; /** - * Meta for this filesystemLayout + * Meta for this filesystemLayout. * * @generated from field: metalstack.api.v2.Meta meta = 2; */ meta?: Meta | undefined; /** - * Name of this filesystemLayout + * Name of this filesystemLayout. * * @generated from field: optional string name = 3; */ name?: string | undefined; /** - * Description of this filesystemLayout + * Description of this filesystemLayout. * * @generated from field: optional string description = 4; */ description?: string | undefined; /** - * Filesystems is a list of filesystems to create on a machine + * Filesystems is a list of filesystems to create on a machine. * * @generated from field: repeated metalstack.api.v2.Filesystem filesystems = 5; */ filesystems: Filesystem[]; /** - * Disks list of disks that belong to this layout + * Disks list of disks that belong to this layout. * * @generated from field: repeated metalstack.api.v2.Disk disks = 6; */ disks: Disk[]; /** - * raid arrays to create + * Raid arrays to create. * * @generated from field: repeated metalstack.api.v2.Raid raid = 7; */ raid: Raid[]; /** - * VolumeGroups list of volumegroups to create + * VolumeGroups list of volumegroups to create. * * @generated from field: repeated metalstack.api.v2.VolumeGroup volume_groups = 8; */ volumeGroups: VolumeGroup[]; /** - * LogicalVolumes list of logicalvolumes to create + * LogicalVolumes list of logicalvolumes to create. * * @generated from field: repeated metalstack.api.v2.LogicalVolume logical_volumes = 9; */ logicalVolumes: LogicalVolume[]; /** - * Constraints which must match that this layout is taken, if sizes and images are empty these are develop layouts + * Constraints which must match that this layout is taken, if sizes and images are empty these are develop layouts. * * @generated from field: metalstack.api.v2.FilesystemLayoutConstraints constraints = 10; */ @@ -150,24 +150,24 @@ export type FilesystemLayout = Message<"metalstack.api.v2.FilesystemLayout"> & { */ export declare const FilesystemLayoutSchema: GenMessage; /** - * FilesystemLayoutConstraints + * FilesystemLayoutConstraints. * * @generated from message metalstack.api.v2.FilesystemLayoutConstraints */ export type FilesystemLayoutConstraints = Message<"metalstack.api.v2.FilesystemLayoutConstraints"> & { /** - * Sizes list of sizes this layout applies to - * this could either be a concrete size, or a asterisk to match all sizes + * Sizes list of sizes this layout applies to. + * This could either be a concrete size, or a asterisk to match all sizes. * * @generated from field: repeated string sizes = 1; */ sizes: string[]; /** - * 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 image - * 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.0 - * "debian":">= 12.0" + * 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. * * @generated from field: map images = 2; */ @@ -181,55 +181,55 @@ export type FilesystemLayoutConstraints = Message<"metalstack.api.v2.FilesystemL */ export declare const FilesystemLayoutConstraintsSchema: GenMessage; /** - * Filesystem + * Filesystem. * * @generated from message metalstack.api.v2.Filesystem */ export type Filesystem = Message<"metalstack.api.v2.Filesystem"> & { /** - * Device the underlying device where this filesystem should be created + * Device the underlying device where this filesystem should be created. * * @generated from field: string device = 1; */ device: string; /** - * Format of the filesystem format + * Format of the filesystem format. * * @generated from field: metalstack.api.v2.Format format = 2; */ format: Format; /** - * Name of this filesystem + * Name of this filesystem. * * @generated from field: optional string name = 3; */ name?: string | undefined; /** - * Description of this filesystem + * Description of this filesystem. * * @generated from field: optional string description = 4; */ description?: string | undefined; /** - * Path the mountpoint where this filesystem should be mounted on + * Path the mountpoint where this filesystem should be mounted on. * * @generated from field: optional string path = 5; */ path?: string | undefined; /** - * Label an optional label for this filesystem + * Label an optional label for this filesystem. * * @generated from field: optional string label = 6; */ label?: string | undefined; /** - * MountOptions the options to use to mount this filesystem + * MountOptions the options to use to mount this filesystem. * * @generated from field: repeated string mount_options = 7; */ mountOptions: string[]; /** - * CreateOptions the options to use to create (mkfs) this filesystem + * CreateOptions the options to use to create (mkfs) this filesystem. * * @generated from field: repeated string create_options = 8; */ @@ -241,19 +241,19 @@ export type Filesystem = Message<"metalstack.api.v2.Filesystem"> & { */ export declare const FilesystemSchema: GenMessage; /** - * Disk + * Disk. * * @generated from message metalstack.api.v2.Disk */ export type Disk = Message<"metalstack.api.v2.Disk"> & { /** - * Device the device to create the partitions + * Device the device to create the partitions. * * @generated from field: string device = 1; */ device: string; /** - * Partitions list of partitions to create on this disk + * Partitions list of partitions to create on this disk. * * @generated from field: repeated metalstack.api.v2.DiskPartition partitions = 2; */ @@ -265,37 +265,37 @@ export type Disk = Message<"metalstack.api.v2.Disk"> & { */ export declare const DiskSchema: GenMessage; /** - * Raid + * Raid. * * @generated from message metalstack.api.v2.Raid */ export type Raid = Message<"metalstack.api.v2.Raid"> & { /** - * ArrayName the name of the resulting array device + * ArrayName the name of the resulting array device. * * @generated from field: string array_name = 1; */ arrayName: string; /** - * Devices list of devices to form the raid array from + * Devices list of devices to form the raid array from. * * @generated from field: repeated string devices = 2; */ devices: string[]; /** - * Level raid level to create, should be 0 or 1 + * Level raid level to create, should be 0 or 1. * * @generated from field: metalstack.api.v2.RaidLevel level = 3; */ level: RaidLevel; /** - * CreateOptions the options to use to create the raid array + * CreateOptions the options to use to create the raid array. * * @generated from field: repeated string create_options = 4; */ createOptions: string[]; /** - * Spares number of spares for the raid array + * Spares number of spares for the raid array. * * @generated from field: int32 spares = 5; */ @@ -307,31 +307,31 @@ export type Raid = Message<"metalstack.api.v2.Raid"> & { */ export declare const RaidSchema: GenMessage; /** - * DiskPartition + * DiskPartition. * * @generated from message metalstack.api.v2.DiskPartition */ export type DiskPartition = Message<"metalstack.api.v2.DiskPartition"> & { /** - * Number partition number, will be appended to partitionprefix to create the final devicename + * Number partition number, will be appended to partitionprefix to create the final devicename. * * @generated from field: uint32 number = 1; */ number: number; /** - * Label an optional label for this partition + * Label an optional label for this partition. * * @generated from field: optional string label = 2; */ label?: string | undefined; /** - * Size in mebibytes (MiB) of this partition + * Size in mebibytes (MiB) of this partition. * * @generated from field: uint64 size = 3; */ size: bigint; /** - * GPTType the gpt partition table type of this partition + * GPTType the gpt partition table type of this partition. * * @generated from field: optional metalstack.api.v2.GPTType gpt_type = 4; */ @@ -343,25 +343,25 @@ export type DiskPartition = Message<"metalstack.api.v2.DiskPartition"> & { */ export declare const DiskPartitionSchema: GenMessage; /** - * VolumeGroup + * VolumeGroup. * * @generated from message metalstack.api.v2.VolumeGroup */ export type VolumeGroup = Message<"metalstack.api.v2.VolumeGroup"> & { /** - * Name the name of the resulting volume group + * Name the name of the resulting volume group. * * @generated from field: string name = 1; */ name: string; /** - * Devices list of devices to form the volume group from + * Devices list of devices to form the volume group from. * * @generated from field: repeated string devices = 2; */ devices: string[]; /** - * Tags list of tags to add to the volume group + * Tags list of tags to add to the volume group. * * @generated from field: repeated string tags = 3; */ @@ -373,31 +373,31 @@ export type VolumeGroup = Message<"metalstack.api.v2.VolumeGroup"> & { */ export declare const VolumeGroupSchema: GenMessage; /** - * LogicalVolume + * LogicalVolume. * * @generated from message metalstack.api.v2.LogicalVolume */ export type LogicalVolume = Message<"metalstack.api.v2.LogicalVolume"> & { /** - * Name the name of the logical volume + * Name the name of the logical volume. * * @generated from field: string name = 1; */ name: string; /** - * VolumeGroup the name of the volume group where to create the logical volume onto + * VolumeGroup the name of the volume group where to create the logical volume onto. * * @generated from field: string volume_group = 2; */ volumeGroup: string; /** - * Size size in mebibytes (MiB) of this volume + * Size size in mebibytes (MiB) of this volume. * * @generated from field: uint64 size = 3; */ size: bigint; /** - * LVMType the type of this logical volume can be either linear|striped|raid1 + * LVMType the type of this logical volume can be either linear|striped|raid1. * * @generated from field: metalstack.api.v2.LVMType lvm_type = 4; */ @@ -409,31 +409,31 @@ export type LogicalVolume = Message<"metalstack.api.v2.LogicalVolume"> & { */ export declare const LogicalVolumeSchema: GenMessage; /** - * LVMType + * LVMType. * * @generated from enum metalstack.api.v2.LVMType */ export declare enum LVMType { /** - * LVM_TYPE_UNSPECIFIED is not specified + * LVM_TYPE_UNSPECIFIED is not specified. * * @generated from enum value: LVM_TYPE_UNSPECIFIED = 0; */ LVM_TYPE_UNSPECIFIED = 0, /** - * LVM_TYPE_LINEAR append across all physical volumes + * LVM_TYPE_LINEAR append across all physical volumes. * * @generated from enum value: LVM_TYPE_LINEAR = 1; */ LVM_TYPE_LINEAR = 1, /** - * LVM_TYPE_STRIPED stripe across all physical volumes + * LVM_TYPE_STRIPED stripe across all physical volumes. * * @generated from enum value: LVM_TYPE_STRIPED = 2; */ LVM_TYPE_STRIPED = 2, /** - * LVM_TYPE_RAID1 mirror with raid across all physical volumes + * LVM_TYPE_RAID1 mirror with raid across all physical volumes. * * @generated from enum value: LVM_TYPE_RAID1 = 3; */ @@ -444,49 +444,49 @@ export declare enum LVMType { */ export declare const LVMTypeSchema: GenEnum; /** - * Format specifies the filesystem to use on a volume + * Format specifies the filesystem to use on a volume. * * @generated from enum metalstack.api.v2.Format */ export declare enum Format { /** - * FORMAT_UNSPECIFIED + * FORMAT_UNSPECIFIED. * * @generated from enum value: FORMAT_UNSPECIFIED = 0; */ UNSPECIFIED = 0, /** - * FORMAT_VFAT is used for the UEFI boot partition + * FORMAT_VFAT is used for the UEFI boot partition. * * @generated from enum value: FORMAT_VFAT = 1; */ VFAT = 1, /** - * FORMAT_EXT3 is usually only used for /boot + * FORMAT_EXT3 is usually only used for /boot. * * @generated from enum value: FORMAT_EXT3 = 2; */ EXT3 = 2, /** - * FORMAT_EXT4 is the default fs + * FORMAT_EXT4 is the default fs. * * @generated from enum value: FORMAT_EXT4 = 3; */ EXT4 = 3, /** - * FORMAT_SWAP is for the swap partition + * FORMAT_SWAP is for the swap partition. * * @generated from enum value: FORMAT_SWAP = 4; */ SWAP = 4, /** - * FORMAT_TMPFS is used for a memory filesystem typically /tmp + * FORMAT_TMPFS is used for a memory filesystem typically /tmp. * * @generated from enum value: FORMAT_TMPFS = 5; */ TMPFS = 5, /** - * FORMAT_NONE + * FORMAT_NONE. * * @generated from enum value: FORMAT_NONE = 6; */ @@ -497,37 +497,37 @@ export declare enum Format { */ export declare const FormatSchema: GenEnum; /** - * GPTType specifies the partition type in uefi systems + * GPTType specifies the partition type in uefi systems. * * @generated from enum metalstack.api.v2.GPTType */ export declare enum GPTType { /** - * GPT_TYPE_UNSPECIFIED is no specified + * GPT_TYPE_UNSPECIFIED is no specified. * * @generated from enum value: GPT_TYPE_UNSPECIFIED = 0; */ GPT_TYPE_UNSPECIFIED = 0, /** - * GPT_TYPE_BOOT EFI Boot Partition + * GPT_TYPE_BOOT EFI Boot Partition. * * @generated from enum value: GPT_TYPE_BOOT = 1; */ GPT_TYPE_BOOT = 1, /** - * GPT_TYPE_LINUX Linux Partition + * GPT_TYPE_LINUX Linux Partition. * * @generated from enum value: GPT_TYPE_LINUX = 2; */ GPT_TYPE_LINUX = 2, /** - * GPT_TYPE_LINUX_RAID Linux Raid Partition + * GPT_TYPE_LINUX_RAID Linux Raid Partition. * * @generated from enum value: GPT_TYPE_LINUX_RAID = 3; */ GPT_TYPE_LINUX_RAID = 3, /** - * GPT_TYPE_LINUX_LVM Linux LVM Partition + * GPT_TYPE_LINUX_LVM Linux LVM Partition. * * @generated from enum value: GPT_TYPE_LINUX_LVM = 4; */ @@ -538,25 +538,25 @@ export declare enum GPTType { */ export declare const GPTTypeSchema: GenEnum; /** - * RaidLevel defines howto mirror two or more block devices + * RaidLevel defines howto mirror two or more block devices. * * @generated from enum metalstack.api.v2.RaidLevel */ export declare enum RaidLevel { /** - * RAID_LEVEL_UNSPECIFIED is not specified + * RAID_LEVEL_UNSPECIFIED is not specified. * * @generated from enum value: RAID_LEVEL_UNSPECIFIED = 0; */ RAID_LEVEL_UNSPECIFIED = 0, /** - * RAID_LEVEL_0 is a stripe of two or more disks + * RAID_LEVEL_0 is a stripe of two or more disks. * * @generated from enum value: RAID_LEVEL_0 = 1; */ RAID_LEVEL_0 = 1, /** - * RAID_LEVEL_1 is a mirror of two disks + * RAID_LEVEL_1 is a mirror of two disks. * * @generated from enum value: RAID_LEVEL_1 = 2; */ diff --git a/js/metalstack/api/v2/filesystem_pb.js b/js/metalstack/api/v2/filesystem_pb.js index e074fe15..4e9797b7 100644 --- a/js/metalstack/api/v2/filesystem_pb.js +++ b/js/metalstack/api/v2/filesystem_pb.js @@ -70,32 +70,32 @@ export const VolumeGroupSchema = /*@__PURE__*/ messageDesc(file_metalstack_api_v */ export const LogicalVolumeSchema = /*@__PURE__*/ messageDesc(file_metalstack_api_v2_filesystem, 11); /** - * LVMType + * LVMType. * * @generated from enum metalstack.api.v2.LVMType */ export var LVMType; (function (LVMType) { /** - * LVM_TYPE_UNSPECIFIED is not specified + * LVM_TYPE_UNSPECIFIED is not specified. * * @generated from enum value: LVM_TYPE_UNSPECIFIED = 0; */ LVMType[LVMType["LVM_TYPE_UNSPECIFIED"] = 0] = "LVM_TYPE_UNSPECIFIED"; /** - * LVM_TYPE_LINEAR append across all physical volumes + * LVM_TYPE_LINEAR append across all physical volumes. * * @generated from enum value: LVM_TYPE_LINEAR = 1; */ LVMType[LVMType["LVM_TYPE_LINEAR"] = 1] = "LVM_TYPE_LINEAR"; /** - * LVM_TYPE_STRIPED stripe across all physical volumes + * LVM_TYPE_STRIPED stripe across all physical volumes. * * @generated from enum value: LVM_TYPE_STRIPED = 2; */ LVMType[LVMType["LVM_TYPE_STRIPED"] = 2] = "LVM_TYPE_STRIPED"; /** - * LVM_TYPE_RAID1 mirror with raid across all physical volumes + * LVM_TYPE_RAID1 mirror with raid across all physical volumes. * * @generated from enum value: LVM_TYPE_RAID1 = 3; */ @@ -106,50 +106,50 @@ export var LVMType; */ export const LVMTypeSchema = /*@__PURE__*/ enumDesc(file_metalstack_api_v2_filesystem, 0); /** - * Format specifies the filesystem to use on a volume + * Format specifies the filesystem to use on a volume. * * @generated from enum metalstack.api.v2.Format */ export var Format; (function (Format) { /** - * FORMAT_UNSPECIFIED + * FORMAT_UNSPECIFIED. * * @generated from enum value: FORMAT_UNSPECIFIED = 0; */ Format[Format["UNSPECIFIED"] = 0] = "UNSPECIFIED"; /** - * FORMAT_VFAT is used for the UEFI boot partition + * FORMAT_VFAT is used for the UEFI boot partition. * * @generated from enum value: FORMAT_VFAT = 1; */ Format[Format["VFAT"] = 1] = "VFAT"; /** - * FORMAT_EXT3 is usually only used for /boot + * FORMAT_EXT3 is usually only used for /boot. * * @generated from enum value: FORMAT_EXT3 = 2; */ Format[Format["EXT3"] = 2] = "EXT3"; /** - * FORMAT_EXT4 is the default fs + * FORMAT_EXT4 is the default fs. * * @generated from enum value: FORMAT_EXT4 = 3; */ Format[Format["EXT4"] = 3] = "EXT4"; /** - * FORMAT_SWAP is for the swap partition + * FORMAT_SWAP is for the swap partition. * * @generated from enum value: FORMAT_SWAP = 4; */ Format[Format["SWAP"] = 4] = "SWAP"; /** - * FORMAT_TMPFS is used for a memory filesystem typically /tmp + * FORMAT_TMPFS is used for a memory filesystem typically /tmp. * * @generated from enum value: FORMAT_TMPFS = 5; */ Format[Format["TMPFS"] = 5] = "TMPFS"; /** - * FORMAT_NONE + * FORMAT_NONE. * * @generated from enum value: FORMAT_NONE = 6; */ @@ -160,38 +160,38 @@ export var Format; */ export const FormatSchema = /*@__PURE__*/ enumDesc(file_metalstack_api_v2_filesystem, 1); /** - * GPTType specifies the partition type in uefi systems + * GPTType specifies the partition type in uefi systems. * * @generated from enum metalstack.api.v2.GPTType */ export var GPTType; (function (GPTType) { /** - * GPT_TYPE_UNSPECIFIED is no specified + * GPT_TYPE_UNSPECIFIED is no specified. * * @generated from enum value: GPT_TYPE_UNSPECIFIED = 0; */ GPTType[GPTType["GPT_TYPE_UNSPECIFIED"] = 0] = "GPT_TYPE_UNSPECIFIED"; /** - * GPT_TYPE_BOOT EFI Boot Partition + * GPT_TYPE_BOOT EFI Boot Partition. * * @generated from enum value: GPT_TYPE_BOOT = 1; */ GPTType[GPTType["GPT_TYPE_BOOT"] = 1] = "GPT_TYPE_BOOT"; /** - * GPT_TYPE_LINUX Linux Partition + * GPT_TYPE_LINUX Linux Partition. * * @generated from enum value: GPT_TYPE_LINUX = 2; */ GPTType[GPTType["GPT_TYPE_LINUX"] = 2] = "GPT_TYPE_LINUX"; /** - * GPT_TYPE_LINUX_RAID Linux Raid Partition + * GPT_TYPE_LINUX_RAID Linux Raid Partition. * * @generated from enum value: GPT_TYPE_LINUX_RAID = 3; */ GPTType[GPTType["GPT_TYPE_LINUX_RAID"] = 3] = "GPT_TYPE_LINUX_RAID"; /** - * GPT_TYPE_LINUX_LVM Linux LVM Partition + * GPT_TYPE_LINUX_LVM Linux LVM Partition. * * @generated from enum value: GPT_TYPE_LINUX_LVM = 4; */ @@ -202,26 +202,26 @@ export var GPTType; */ export const GPTTypeSchema = /*@__PURE__*/ enumDesc(file_metalstack_api_v2_filesystem, 2); /** - * RaidLevel defines howto mirror two or more block devices + * RaidLevel defines howto mirror two or more block devices. * * @generated from enum metalstack.api.v2.RaidLevel */ export var RaidLevel; (function (RaidLevel) { /** - * RAID_LEVEL_UNSPECIFIED is not specified + * RAID_LEVEL_UNSPECIFIED is not specified. * * @generated from enum value: RAID_LEVEL_UNSPECIFIED = 0; */ RaidLevel[RaidLevel["RAID_LEVEL_UNSPECIFIED"] = 0] = "RAID_LEVEL_UNSPECIFIED"; /** - * RAID_LEVEL_0 is a stripe of two or more disks + * RAID_LEVEL_0 is a stripe of two or more disks. * * @generated from enum value: RAID_LEVEL_0 = 1; */ RaidLevel[RaidLevel["RAID_LEVEL_0"] = 1] = "RAID_LEVEL_0"; /** - * RAID_LEVEL_1 is a mirror of two disks + * RAID_LEVEL_1 is a mirror of two disks. * * @generated from enum value: RAID_LEVEL_1 = 2; */ diff --git a/js/metalstack/api/v2/filesystem_pb.ts b/js/metalstack/api/v2/filesystem_pb.ts index 9adae361..5da51dec 100644 --- a/js/metalstack/api/v2/filesystem_pb.ts +++ b/js/metalstack/api/v2/filesystem_pb.ts @@ -17,13 +17,13 @@ export const file_metalstack_api_v2_filesystem: GenFile = /*@__PURE__*/ fileDesc("CiJtZXRhbHN0YWNrL2FwaS92Mi9maWxlc3lzdGVtLnByb3RvEhFtZXRhbHN0YWNrLmFwaS52MiI2ChtGaWxlc3lzdGVtU2VydmljZUdldFJlcXVlc3QSFwoCaWQYASABKAlCC7pICHIGwLOusQIBIkMKHEZpbGVzeXN0ZW1TZXJ2aWNlTGlzdFJlcXVlc3QSHAoCaWQYASABKAlCC7pICHIGwLOusQIBSACIAQFCBQoDX2lkIl4KHEZpbGVzeXN0ZW1TZXJ2aWNlR2V0UmVzcG9uc2USPgoRZmlsZXN5c3RlbV9sYXlvdXQYASABKAsyIy5tZXRhbHN0YWNrLmFwaS52Mi5GaWxlc3lzdGVtTGF5b3V0ImAKHUZpbGVzeXN0ZW1TZXJ2aWNlTGlzdFJlc3BvbnNlEj8KEmZpbGVzeXN0ZW1fbGF5b3V0cxgBIAMoCzIjLm1ldGFsc3RhY2suYXBpLnYyLkZpbGVzeXN0ZW1MYXlvdXQi7AMKEEZpbGVzeXN0ZW1MYXlvdXQSFwoCaWQYASABKAlCC7pICHIGwLOusQIBEiUKBG1ldGEYAiABKAsyFy5tZXRhbHN0YWNrLmFwaS52Mi5NZXRhEh4KBG5hbWUYAyABKAlCC7pICHIGwLOusQIBSACIAQESJQoLZGVzY3JpcHRpb24YBCABKAlCC7pICHIGyLOusQIBSAGIAQESMgoLZmlsZXN5c3RlbXMYBSADKAsyHS5tZXRhbHN0YWNrLmFwaS52Mi5GaWxlc3lzdGVtEiYKBWRpc2tzGAYgAygLMhcubWV0YWxzdGFjay5hcGkudjIuRGlzaxIlCgRyYWlkGAcgAygLMhcubWV0YWxzdGFjay5hcGkudjIuUmFpZBI1Cg12b2x1bWVfZ3JvdXBzGAggAygLMh4ubWV0YWxzdGFjay5hcGkudjIuVm9sdW1lR3JvdXASOQoPbG9naWNhbF92b2x1bWVzGAkgAygLMiAubWV0YWxzdGFjay5hcGkudjIuTG9naWNhbFZvbHVtZRJDCgtjb25zdHJhaW50cxgKIAEoCzIuLm1ldGFsc3RhY2suYXBpLnYyLkZpbGVzeXN0ZW1MYXlvdXRDb25zdHJhaW50c0IHCgVfbmFtZUIOCgxfZGVzY3JpcHRpb24ipwEKG0ZpbGVzeXN0ZW1MYXlvdXRDb25zdHJhaW50cxINCgVzaXplcxgBIAMoCRJKCgZpbWFnZXMYAiADKAsyOi5tZXRhbHN0YWNrLmFwaS52Mi5GaWxlc3lzdGVtTGF5b3V0Q29uc3RyYWludHMuSW1hZ2VzRW50cnkaLQoLSW1hZ2VzRW50cnkSCwoDa2V5GAEgASgJEg0KBXZhbHVlGAIgASgJOgI4ASL1AgoKRmlsZXN5c3RlbRIbCgZkZXZpY2UYASABKAlCC7pICHIGwLOusQIBEjYKBmZvcm1hdBgCIAEoDjIZLm1ldGFsc3RhY2suYXBpLnYyLkZvcm1hdEILukgIyAEBggECEAESHgoEbmFtZRgDIAEoCUILukgIcgbAs66xAgFIAIgBARIlCgtkZXNjcmlwdGlvbhgEIAEoCUILukgIcgbIs66xAgFIAYgBARIdCgRwYXRoGAUgASgJQgq6SAdyBRABGIAgSAKIAQESJQoFbGFiZWwYBiABKAlCEbpIDnIMwLOusQIB8LOusQIBSAOIAQESKwoNbW91bnRfb3B0aW9ucxgHIAMoCUIUukgRkgEOECAYASIIcgaAtK6xAgESLAoOY3JlYXRlX29wdGlvbnMYCCADKAlCFLpIEZIBDhAgGAEiCHIGgLSusQIBQgcKBV9uYW1lQg4KDF9kZXNjcmlwdGlvbkIHCgVfcGF0aEIICgZfbGFiZWwiXwoERGlzaxIhCgZkZXZpY2UYASABKAlCEbpIDnIMwLOusQIB8LOusQIBEjQKCnBhcnRpdGlvbnMYAiADKAsyIC5tZXRhbHN0YWNrLmFwaS52Mi5EaXNrUGFydGl0aW9uItEBCgRSYWlkEiUKCmFycmF5X25hbWUYASABKAlCEbpIDnIMwLOusQIB8LOusQIBEioKB2RldmljZXMYAiADKAlCGbpIFpIBE9Cks7ECARCAASIIcgbAs66xAgESOAoFbGV2ZWwYAyABKA4yHC5tZXRhbHN0YWNrLmFwaS52Mi5SYWlkTGV2ZWxCC7pICMgBAYIBAhABEiwKDmNyZWF0ZV9vcHRpb25zGAQgAygJQhS6SBGSAQ4QIBgBIghyBoC0rrECARIOCgZzcGFyZXMYBSABKAUiqwEKDURpc2tQYXJ0aXRpb24SDgoGbnVtYmVyGAEgASgNEiUKBWxhYmVsGAIgASgJQhG6SA5yDMCzrrECAfCzrrECAUgAiAEBEgwKBHNpemUYAyABKAQSPgoIZ3B0X3R5cGUYBCABKA4yGi5tZXRhbHN0YWNrLmFwaS52Mi5HUFRUeXBlQgu6SAjIAQGCAQIQAUgBiAEBQggKBl9sYWJlbEILCglfZ3B0X3R5cGUifQoLVm9sdW1lR3JvdXASGQoEbmFtZRgBIAEoCUILukgIcgbAs66xAgESKgoHZGV2aWNlcxgCIAMoCUIZukgWkgET0KSzsQIBEIABIghyBsCzrrECARInCgR0YWdzGAMgAygJQhm6SBaSARPQpLOxAgEQgAEiCHIGwLOusQIBIpMBCg1Mb2dpY2FsVm9sdW1lEhkKBG5hbWUYASABKAlCC7pICHIGwLOusQIBEiEKDHZvbHVtZV9ncm91cBgCIAEoCUILukgIcgbAs66xAgESDAoEc2l6ZRgDIAEoBBI2Cghsdm1fdHlwZRgEIAEoDjIaLm1ldGFsc3RhY2suYXBpLnYyLkxWTVR5cGVCCLpIBYIBAhABKoYBCgdMVk1UeXBlEhgKFExWTV9UWVBFX1VOU1BFQ0lGSUVEEAASHwoPTFZNX1RZUEVfTElORUFSEAEaCoKyGQZsaW5lYXISIQoQTFZNX1RZUEVfU1RSSVBFRBACGguCshkHc3RyaXBlZBIdCg5MVk1fVFlQRV9SQUlEMRADGgmCshkFcmFpZDEqxAEKBkZvcm1hdBIWChJGT1JNQVRfVU5TUEVDSUZJRUQQABIZCgtGT1JNQVRfVkZBVBABGgiCshkEdmZhdBIZCgtGT1JNQVRfRVhUMxACGgiCshkEZXh0MxIZCgtGT1JNQVRfRVhUNBADGgiCshkEZXh0NBIZCgtGT1JNQVRfU1dBUBAEGgiCshkEc3dhcBIbCgxGT1JNQVRfVE1QRlMQBRoJgrIZBXRtcGZzEhkKC0ZPUk1BVF9OT05FEAYaCIKyGQRub25lKqMBCgdHUFRUeXBlEhgKFEdQVF9UWVBFX1VOU1BFQ0lGSUVEEAASGwoNR1BUX1RZUEVfQk9PVBABGgiCshkEZWYwMBIcCg5HUFRfVFlQRV9MSU5VWBACGgiCshkEODMwMBIhChNHUFRfVFlQRV9MSU5VWF9SQUlEEAMaCIKyGQRmZDAwEiAKEkdQVF9UWVBFX0xJTlVYX0xWTRAEGgiCshkEOGUwMCpZCglSYWlkTGV2ZWwSGgoWUkFJRF9MRVZFTF9VTlNQRUNJRklFRBAAEhcKDFJBSURfTEVWRUxfMBABGgWCshkBMBIXCgxSQUlEX0xFVkVMXzEQAhoFgrIZATEy+gEKEUZpbGVzeXN0ZW1TZXJ2aWNlEnAKA0dldBIuLm1ldGFsc3RhY2suYXBpLnYyLkZpbGVzeXN0ZW1TZXJ2aWNlR2V0UmVxdWVzdBovLm1ldGFsc3RhY2suYXBpLnYyLkZpbGVzeXN0ZW1TZXJ2aWNlR2V0UmVzcG9uc2UiCNjzGALg8xgCEnMKBExpc3QSLy5tZXRhbHN0YWNrLmFwaS52Mi5GaWxlc3lzdGVtU2VydmljZUxpc3RSZXF1ZXN0GjAubWV0YWxzdGFjay5hcGkudjIuRmlsZXN5c3RlbVNlcnZpY2VMaXN0UmVzcG9uc2UiCNjzGALg8xgCQsUBChVjb20ubWV0YWxzdGFjay5hcGkudjJCD0ZpbGVzeXN0ZW1Qcm90b1ABWjVnaXRodWIuY29tL21ldGFsLXN0YWNrL2FwaS9nby9tZXRhbHN0YWNrL2FwaS92MjthcGl2MqICA01BWKoCEU1ldGFsc3RhY2suQXBpLlYyygIRTWV0YWxzdGFja1xBcGlcVjLiAh1NZXRhbHN0YWNrXEFwaVxWMlxHUEJNZXRhZGF0YeoCE01ldGFsc3RhY2s6OkFwaTo6VjJiBnByb3RvMw", [file_buf_validate_validate, file_metalstack_api_v2_common, file_metalstack_api_v2_predefined_rules]); /** - * FilesystemServiceGetRequest is the request payload for a filesystem get request + * FilesystemServiceGetRequest is the request payload for a filesystem get request. * * @generated from message metalstack.api.v2.FilesystemServiceGetRequest */ export type FilesystemServiceGetRequest = Message<"metalstack.api.v2.FilesystemServiceGetRequest"> & { /** - * ID of the filesystem to get + * ID of the filesystem to get. * * @generated from field: string id = 1; */ @@ -38,13 +38,13 @@ export const FilesystemServiceGetRequestSchema: GenMessage & { /** - * ID of the filesystem to get + * ID of the filesystem to get. * * @generated from field: optional string id = 1; */ @@ -59,13 +59,13 @@ export const FilesystemServiceListRequestSchema: GenMessage & { /** - * FilesystemLayout the filesystemlayout + * FilesystemLayout the filesystemlayout. * * @generated from field: metalstack.api.v2.FilesystemLayout filesystem_layout = 1; */ @@ -80,13 +80,13 @@ export const FilesystemServiceGetResponseSchema: GenMessage & { /** - * FilesystemLayouts the filesystemlayouts + * FilesystemLayouts the filesystemlayouts. * * @generated from field: repeated metalstack.api.v2.FilesystemLayout filesystem_layouts = 1; */ @@ -101,76 +101,76 @@ export const FilesystemServiceListResponseSchema: GenMessage & { /** - * Id of this filesystemLayout + * Id of this filesystemLayout. * * @generated from field: string id = 1; */ id: string; /** - * Meta for this filesystemLayout + * Meta for this filesystemLayout. * * @generated from field: metalstack.api.v2.Meta meta = 2; */ meta?: Meta | undefined; /** - * Name of this filesystemLayout + * Name of this filesystemLayout. * * @generated from field: optional string name = 3; */ name?: string | undefined; /** - * Description of this filesystemLayout + * Description of this filesystemLayout. * * @generated from field: optional string description = 4; */ description?: string | undefined; /** - * Filesystems is a list of filesystems to create on a machine + * Filesystems is a list of filesystems to create on a machine. * * @generated from field: repeated metalstack.api.v2.Filesystem filesystems = 5; */ filesystems: Filesystem[]; /** - * Disks list of disks that belong to this layout + * Disks list of disks that belong to this layout. * * @generated from field: repeated metalstack.api.v2.Disk disks = 6; */ disks: Disk[]; /** - * raid arrays to create + * Raid arrays to create. * * @generated from field: repeated metalstack.api.v2.Raid raid = 7; */ raid: Raid[]; /** - * VolumeGroups list of volumegroups to create + * VolumeGroups list of volumegroups to create. * * @generated from field: repeated metalstack.api.v2.VolumeGroup volume_groups = 8; */ volumeGroups: VolumeGroup[]; /** - * LogicalVolumes list of logicalvolumes to create + * LogicalVolumes list of logicalvolumes to create. * * @generated from field: repeated metalstack.api.v2.LogicalVolume logical_volumes = 9; */ logicalVolumes: LogicalVolume[]; /** - * Constraints which must match that this layout is taken, if sizes and images are empty these are develop layouts + * Constraints which must match that this layout is taken, if sizes and images are empty these are develop layouts. * * @generated from field: metalstack.api.v2.FilesystemLayoutConstraints constraints = 10; */ @@ -185,25 +185,25 @@ export const FilesystemLayoutSchema: GenMessage = /*@__PURE__* messageDesc(file_metalstack_api_v2_filesystem, 4); /** - * FilesystemLayoutConstraints + * FilesystemLayoutConstraints. * * @generated from message metalstack.api.v2.FilesystemLayoutConstraints */ export type FilesystemLayoutConstraints = Message<"metalstack.api.v2.FilesystemLayoutConstraints"> & { /** - * Sizes list of sizes this layout applies to - * this could either be a concrete size, or a asterisk to match all sizes + * Sizes list of sizes this layout applies to. + * This could either be a concrete size, or a asterisk to match all sizes. * * @generated from field: repeated string sizes = 1; */ sizes: string[]; /** - * 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 image - * 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.0 - * "debian":">= 12.0" + * 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. * * @generated from field: map images = 2; */ @@ -218,62 +218,62 @@ export const FilesystemLayoutConstraintsSchema: GenMessage & { /** - * Device the underlying device where this filesystem should be created + * Device the underlying device where this filesystem should be created. * * @generated from field: string device = 1; */ device: string; /** - * Format of the filesystem format + * Format of the filesystem format. * * @generated from field: metalstack.api.v2.Format format = 2; */ format: Format; /** - * Name of this filesystem + * Name of this filesystem. * * @generated from field: optional string name = 3; */ name?: string | undefined; /** - * Description of this filesystem + * Description of this filesystem. * * @generated from field: optional string description = 4; */ description?: string | undefined; /** - * Path the mountpoint where this filesystem should be mounted on + * Path the mountpoint where this filesystem should be mounted on. * * @generated from field: optional string path = 5; */ path?: string | undefined; /** - * Label an optional label for this filesystem + * Label an optional label for this filesystem. * * @generated from field: optional string label = 6; */ label?: string | undefined; /** - * MountOptions the options to use to mount this filesystem + * MountOptions the options to use to mount this filesystem. * * @generated from field: repeated string mount_options = 7; */ mountOptions: string[]; /** - * CreateOptions the options to use to create (mkfs) this filesystem + * CreateOptions the options to use to create (mkfs) this filesystem. * * @generated from field: repeated string create_options = 8; */ @@ -288,20 +288,20 @@ export const FilesystemSchema: GenMessage = /*@__PURE__*/ messageDesc(file_metalstack_api_v2_filesystem, 6); /** - * Disk + * Disk. * * @generated from message metalstack.api.v2.Disk */ export type Disk = Message<"metalstack.api.v2.Disk"> & { /** - * Device the device to create the partitions + * Device the device to create the partitions. * * @generated from field: string device = 1; */ device: string; /** - * Partitions list of partitions to create on this disk + * Partitions list of partitions to create on this disk. * * @generated from field: repeated metalstack.api.v2.DiskPartition partitions = 2; */ @@ -316,41 +316,41 @@ export const DiskSchema: GenMessage = /*@__PURE__*/ messageDesc(file_metalstack_api_v2_filesystem, 7); /** - * Raid + * Raid. * * @generated from message metalstack.api.v2.Raid */ export type Raid = Message<"metalstack.api.v2.Raid"> & { /** - * ArrayName the name of the resulting array device + * ArrayName the name of the resulting array device. * * @generated from field: string array_name = 1; */ arrayName: string; /** - * Devices list of devices to form the raid array from + * Devices list of devices to form the raid array from. * * @generated from field: repeated string devices = 2; */ devices: string[]; /** - * Level raid level to create, should be 0 or 1 + * Level raid level to create, should be 0 or 1. * * @generated from field: metalstack.api.v2.RaidLevel level = 3; */ level: RaidLevel; /** - * CreateOptions the options to use to create the raid array + * CreateOptions the options to use to create the raid array. * * @generated from field: repeated string create_options = 4; */ createOptions: string[]; /** - * Spares number of spares for the raid array + * Spares number of spares for the raid array. * * @generated from field: int32 spares = 5; */ @@ -365,34 +365,34 @@ export const RaidSchema: GenMessage = /*@__PURE__*/ messageDesc(file_metalstack_api_v2_filesystem, 8); /** - * DiskPartition + * DiskPartition. * * @generated from message metalstack.api.v2.DiskPartition */ export type DiskPartition = Message<"metalstack.api.v2.DiskPartition"> & { /** - * Number partition number, will be appended to partitionprefix to create the final devicename + * Number partition number, will be appended to partitionprefix to create the final devicename. * * @generated from field: uint32 number = 1; */ number: number; /** - * Label an optional label for this partition + * Label an optional label for this partition. * * @generated from field: optional string label = 2; */ label?: string | undefined; /** - * Size in mebibytes (MiB) of this partition + * Size in mebibytes (MiB) of this partition. * * @generated from field: uint64 size = 3; */ size: bigint; /** - * GPTType the gpt partition table type of this partition + * GPTType the gpt partition table type of this partition. * * @generated from field: optional metalstack.api.v2.GPTType gpt_type = 4; */ @@ -407,27 +407,27 @@ export const DiskPartitionSchema: GenMessage = /*@__PURE__*/ messageDesc(file_metalstack_api_v2_filesystem, 9); /** - * VolumeGroup + * VolumeGroup. * * @generated from message metalstack.api.v2.VolumeGroup */ export type VolumeGroup = Message<"metalstack.api.v2.VolumeGroup"> & { /** - * Name the name of the resulting volume group + * Name the name of the resulting volume group. * * @generated from field: string name = 1; */ name: string; /** - * Devices list of devices to form the volume group from + * Devices list of devices to form the volume group from. * * @generated from field: repeated string devices = 2; */ devices: string[]; /** - * Tags list of tags to add to the volume group + * Tags list of tags to add to the volume group. * * @generated from field: repeated string tags = 3; */ @@ -442,34 +442,34 @@ export const VolumeGroupSchema: GenMessage = /*@__PURE__*/ messageDesc(file_metalstack_api_v2_filesystem, 10); /** - * LogicalVolume + * LogicalVolume. * * @generated from message metalstack.api.v2.LogicalVolume */ export type LogicalVolume = Message<"metalstack.api.v2.LogicalVolume"> & { /** - * Name the name of the logical volume + * Name the name of the logical volume. * * @generated from field: string name = 1; */ name: string; /** - * VolumeGroup the name of the volume group where to create the logical volume onto + * VolumeGroup the name of the volume group where to create the logical volume onto. * * @generated from field: string volume_group = 2; */ volumeGroup: string; /** - * Size size in mebibytes (MiB) of this volume + * Size size in mebibytes (MiB) of this volume. * * @generated from field: uint64 size = 3; */ size: bigint; /** - * LVMType the type of this logical volume can be either linear|striped|raid1 + * LVMType the type of this logical volume can be either linear|striped|raid1. * * @generated from field: metalstack.api.v2.LVMType lvm_type = 4; */ @@ -484,34 +484,34 @@ export const LogicalVolumeSchema: GenMessage = /*@__PURE__*/ messageDesc(file_metalstack_api_v2_filesystem, 11); /** - * LVMType + * LVMType. * * @generated from enum metalstack.api.v2.LVMType */ export enum LVMType { /** - * LVM_TYPE_UNSPECIFIED is not specified + * LVM_TYPE_UNSPECIFIED is not specified. * * @generated from enum value: LVM_TYPE_UNSPECIFIED = 0; */ LVM_TYPE_UNSPECIFIED = 0, /** - * LVM_TYPE_LINEAR append across all physical volumes + * LVM_TYPE_LINEAR append across all physical volumes. * * @generated from enum value: LVM_TYPE_LINEAR = 1; */ LVM_TYPE_LINEAR = 1, /** - * LVM_TYPE_STRIPED stripe across all physical volumes + * LVM_TYPE_STRIPED stripe across all physical volumes. * * @generated from enum value: LVM_TYPE_STRIPED = 2; */ LVM_TYPE_STRIPED = 2, /** - * LVM_TYPE_RAID1 mirror with raid across all physical volumes + * LVM_TYPE_RAID1 mirror with raid across all physical volumes. * * @generated from enum value: LVM_TYPE_RAID1 = 3; */ @@ -525,55 +525,55 @@ export const LVMTypeSchema: GenEnum = /*@__PURE__*/ enumDesc(file_metalstack_api_v2_filesystem, 0); /** - * Format specifies the filesystem to use on a volume + * Format specifies the filesystem to use on a volume. * * @generated from enum metalstack.api.v2.Format */ export enum Format { /** - * FORMAT_UNSPECIFIED + * FORMAT_UNSPECIFIED. * * @generated from enum value: FORMAT_UNSPECIFIED = 0; */ UNSPECIFIED = 0, /** - * FORMAT_VFAT is used for the UEFI boot partition + * FORMAT_VFAT is used for the UEFI boot partition. * * @generated from enum value: FORMAT_VFAT = 1; */ VFAT = 1, /** - * FORMAT_EXT3 is usually only used for /boot + * FORMAT_EXT3 is usually only used for /boot. * * @generated from enum value: FORMAT_EXT3 = 2; */ EXT3 = 2, /** - * FORMAT_EXT4 is the default fs + * FORMAT_EXT4 is the default fs. * * @generated from enum value: FORMAT_EXT4 = 3; */ EXT4 = 3, /** - * FORMAT_SWAP is for the swap partition + * FORMAT_SWAP is for the swap partition. * * @generated from enum value: FORMAT_SWAP = 4; */ SWAP = 4, /** - * FORMAT_TMPFS is used for a memory filesystem typically /tmp + * FORMAT_TMPFS is used for a memory filesystem typically /tmp. * * @generated from enum value: FORMAT_TMPFS = 5; */ TMPFS = 5, /** - * FORMAT_NONE + * FORMAT_NONE. * * @generated from enum value: FORMAT_NONE = 6; */ @@ -587,41 +587,41 @@ export const FormatSchema: GenEnum = /*@__PURE__*/ enumDesc(file_metalstack_api_v2_filesystem, 1); /** - * GPTType specifies the partition type in uefi systems + * GPTType specifies the partition type in uefi systems. * * @generated from enum metalstack.api.v2.GPTType */ export enum GPTType { /** - * GPT_TYPE_UNSPECIFIED is no specified + * GPT_TYPE_UNSPECIFIED is no specified. * * @generated from enum value: GPT_TYPE_UNSPECIFIED = 0; */ GPT_TYPE_UNSPECIFIED = 0, /** - * GPT_TYPE_BOOT EFI Boot Partition + * GPT_TYPE_BOOT EFI Boot Partition. * * @generated from enum value: GPT_TYPE_BOOT = 1; */ GPT_TYPE_BOOT = 1, /** - * GPT_TYPE_LINUX Linux Partition + * GPT_TYPE_LINUX Linux Partition. * * @generated from enum value: GPT_TYPE_LINUX = 2; */ GPT_TYPE_LINUX = 2, /** - * GPT_TYPE_LINUX_RAID Linux Raid Partition + * GPT_TYPE_LINUX_RAID Linux Raid Partition. * * @generated from enum value: GPT_TYPE_LINUX_RAID = 3; */ GPT_TYPE_LINUX_RAID = 3, /** - * GPT_TYPE_LINUX_LVM Linux LVM Partition + * GPT_TYPE_LINUX_LVM Linux LVM Partition. * * @generated from enum value: GPT_TYPE_LINUX_LVM = 4; */ @@ -635,27 +635,27 @@ export const GPTTypeSchema: GenEnum = /*@__PURE__*/ enumDesc(file_metalstack_api_v2_filesystem, 2); /** - * RaidLevel defines howto mirror two or more block devices + * RaidLevel defines howto mirror two or more block devices. * * @generated from enum metalstack.api.v2.RaidLevel */ export enum RaidLevel { /** - * RAID_LEVEL_UNSPECIFIED is not specified + * RAID_LEVEL_UNSPECIFIED is not specified. * * @generated from enum value: RAID_LEVEL_UNSPECIFIED = 0; */ RAID_LEVEL_UNSPECIFIED = 0, /** - * RAID_LEVEL_0 is a stripe of two or more disks + * RAID_LEVEL_0 is a stripe of two or more disks. * * @generated from enum value: RAID_LEVEL_0 = 1; */ RAID_LEVEL_0 = 1, /** - * RAID_LEVEL_1 is a mirror of two disks + * RAID_LEVEL_1 is a mirror of two disks. * * @generated from enum value: RAID_LEVEL_1 = 2; */ diff --git a/js/metalstack/api/v2/health_pb.d.ts b/js/metalstack/api/v2/health_pb.d.ts index cda94c85..aab3125e 100644 --- a/js/metalstack/api/v2/health_pb.d.ts +++ b/js/metalstack/api/v2/health_pb.d.ts @@ -11,7 +11,7 @@ export declare const file_metalstack_api_v2_health: GenFile; */ export type Health = Message<"metalstack.api.v2.Health"> & { /** - * Services contains the health of all individual services + * Services contains the health of all individual services. * * @generated from field: repeated metalstack.api.v2.HealthStatus services = 1; */ @@ -29,25 +29,25 @@ export declare const HealthSchema: GenMessage; */ export type HealthStatus = Message<"metalstack.api.v2.HealthStatus"> & { /** - * Name is the name of the service + * Name is the name of the service. * * @generated from field: metalstack.api.v2.Service name = 1; */ name: Service; /** - * Status is the status of this service + * Status is the status of this service. * * @generated from field: metalstack.api.v2.ServiceStatus status = 2; */ status: ServiceStatus; /** - * Message describes the reason for the unhealthy status if possible + * Message describes the reason for the unhealthy status if possible. * * @generated from field: string message = 3; */ message: string; /** - * Partitions describes the health of the service by partition + * Partitions describes the health of the service by partition. * * @generated from field: map partitions = 4; */ @@ -67,13 +67,13 @@ export declare const HealthStatusSchema: GenMessage; */ export type PartitionHealth = Message<"metalstack.api.v2.PartitionHealth"> & { /** - * Status is the health status of the service in this partition + * Status is the health status of the service in this partition. * * @generated from field: metalstack.api.v2.ServiceStatus status = 1; */ status: ServiceStatus; /** - * Message describes the reason for the unhealthy status if possible + * Message describes the reason for the unhealthy status if possible. * * @generated from field: string message = 2; */ @@ -102,7 +102,7 @@ export declare const HealthServiceGetRequestSchema: GenMessage & { /** - * Health contains the overall health of the system + * Health contains the overall health of the system. * * @generated from field: metalstack.api.v2.Health health = 1; */ @@ -120,25 +120,25 @@ export declare const HealthServiceGetResponseSchema: GenMessage; */ export declare enum Service { /** - * SERVICE_UNSPECIFIED is a unknown service + * SERVICE_UNSPECIFIED is a unknown service. * * @generated from enum value: SERVICE_UNSPECIFIED = 0; */ UNSPECIFIED = 0, /** - * SERVICE_IPAM the IPAM service + * SERVICE_IPAM the IPAM service. * * @generated from enum value: SERVICE_IPAM = 1; */ IPAM = 1, /** - * SERVICE_RETHINK the RethinkDB + * SERVICE_RETHINK the RethinkDB. * * @generated from enum value: SERVICE_RETHINK = 2; */ RETHINK = 2, /** - * SERVICE_TENANT_APISERVER the tenant-apiserver + * SERVICE_TENANT_APISERVER the tenant-apiserver. * * @generated from enum value: SERVICE_TENANT_APISERVER = 3; */ TENANT_APISERVER = 3, /** - * SERVICE_MACHINES the machine service + * SERVICE_MACHINES the machine service. * * @generated from enum value: SERVICE_MACHINES = 4; */ MACHINES = 4, /** - * SERVICE_AUDIT the auditing + * SERVICE_AUDIT the auditing. * * @generated from enum value: SERVICE_AUDIT = 5; */ AUDIT = 5, /** - * SERVICE_VPN the VPN service + * SERVICE_VPN the VPN service. * * @generated from enum value: SERVICE_VPN = 6; */ VPN = 6, /** - * SERVICE_REDIS the Redis service + * SERVICE_REDIS the Redis service. * * @generated from enum value: SERVICE_REDIS = 7; */ REDIS = 7, /** - * SERVICE_TASKS the tasks service + * SERVICE_TASKS the tasks service. * * @generated from enum value: SERVICE_TASKS = 8; */ diff --git a/js/metalstack/api/v2/health_pb.js b/js/metalstack/api/v2/health_pb.js index d914e708..4eb625a8 100644 --- a/js/metalstack/api/v2/health_pb.js +++ b/js/metalstack/api/v2/health_pb.js @@ -40,25 +40,25 @@ export const HealthServiceGetResponseSchema = /*@__PURE__*/ messageDesc(file_met export var ServiceStatus; (function (ServiceStatus) { /** - * SERVICE_STATUS_UNSPECIFIED service status is not known or unspecified + * SERVICE_STATUS_UNSPECIFIED service status is not known or unspecified. * * @generated from enum value: SERVICE_STATUS_UNSPECIFIED = 0; */ ServiceStatus[ServiceStatus["UNSPECIFIED"] = 0] = "UNSPECIFIED"; /** - * SERVICE_STATUS_DEGRADED the service is in degraded status, not the whole functionality is available + * SERVICE_STATUS_DEGRADED the service is in degraded status, not the whole functionality is available. * * @generated from enum value: SERVICE_STATUS_DEGRADED = 1; */ ServiceStatus[ServiceStatus["DEGRADED"] = 1] = "DEGRADED"; /** - * SERVICE_STATUS_UNHEALTHY the service is in unhealthy status, serious impact is expected + * SERVICE_STATUS_UNHEALTHY the service is in unhealthy status, serious impact is expected. * * @generated from enum value: SERVICE_STATUS_UNHEALTHY = 2; */ ServiceStatus[ServiceStatus["UNHEALTHY"] = 2] = "UNHEALTHY"; /** - * SERVICE_STATUS_HEALTHY the service is in healthy status, for example fully functional + * SERVICE_STATUS_HEALTHY the service is in healthy status, for example fully functional. * * @generated from enum value: SERVICE_STATUS_HEALTHY = 3; */ @@ -76,55 +76,55 @@ export const ServiceStatusSchema = /*@__PURE__*/ enumDesc(file_metalstack_api_v2 export var Service; (function (Service) { /** - * SERVICE_UNSPECIFIED is a unknown service + * SERVICE_UNSPECIFIED is a unknown service. * * @generated from enum value: SERVICE_UNSPECIFIED = 0; */ Service[Service["UNSPECIFIED"] = 0] = "UNSPECIFIED"; /** - * SERVICE_IPAM the IPAM service + * SERVICE_IPAM the IPAM service. * * @generated from enum value: SERVICE_IPAM = 1; */ Service[Service["IPAM"] = 1] = "IPAM"; /** - * SERVICE_RETHINK the RethinkDB + * SERVICE_RETHINK the RethinkDB. * * @generated from enum value: SERVICE_RETHINK = 2; */ Service[Service["RETHINK"] = 2] = "RETHINK"; /** - * SERVICE_TENANT_APISERVER the tenant-apiserver + * SERVICE_TENANT_APISERVER the tenant-apiserver. * * @generated from enum value: SERVICE_TENANT_APISERVER = 3; */ Service[Service["TENANT_APISERVER"] = 3] = "TENANT_APISERVER"; /** - * SERVICE_MACHINES the machine service + * SERVICE_MACHINES the machine service. * * @generated from enum value: SERVICE_MACHINES = 4; */ Service[Service["MACHINES"] = 4] = "MACHINES"; /** - * SERVICE_AUDIT the auditing + * SERVICE_AUDIT the auditing. * * @generated from enum value: SERVICE_AUDIT = 5; */ Service[Service["AUDIT"] = 5] = "AUDIT"; /** - * SERVICE_VPN the VPN service + * SERVICE_VPN the VPN service. * * @generated from enum value: SERVICE_VPN = 6; */ Service[Service["VPN"] = 6] = "VPN"; /** - * SERVICE_REDIS the Redis service + * SERVICE_REDIS the Redis service. * * @generated from enum value: SERVICE_REDIS = 7; */ Service[Service["REDIS"] = 7] = "REDIS"; /** - * SERVICE_TASKS the tasks service + * SERVICE_TASKS the tasks service. * * @generated from enum value: SERVICE_TASKS = 8; */ diff --git a/js/metalstack/api/v2/health_pb.ts b/js/metalstack/api/v2/health_pb.ts index 05d9a891..beb90c55 100644 --- a/js/metalstack/api/v2/health_pb.ts +++ b/js/metalstack/api/v2/health_pb.ts @@ -20,7 +20,7 @@ export const file_metalstack_api_v2_health: GenFile = /*@__PURE__*/ */ export type Health = Message<"metalstack.api.v2.Health"> & { /** - * Services contains the health of all individual services + * Services contains the health of all individual services. * * @generated from field: repeated metalstack.api.v2.HealthStatus services = 1; */ @@ -41,28 +41,28 @@ export const HealthSchema: GenMessage = /*@__PURE__*/ */ export type HealthStatus = Message<"metalstack.api.v2.HealthStatus"> & { /** - * Name is the name of the service + * Name is the name of the service. * * @generated from field: metalstack.api.v2.Service name = 1; */ name: Service; /** - * Status is the status of this service + * Status is the status of this service. * * @generated from field: metalstack.api.v2.ServiceStatus status = 2; */ status: ServiceStatus; /** - * Message describes the reason for the unhealthy status if possible + * Message describes the reason for the unhealthy status if possible. * * @generated from field: string message = 3; */ message: string; /** - * Partitions describes the health of the service by partition + * Partitions describes the health of the service by partition. * * @generated from field: map partitions = 4; */ @@ -83,14 +83,14 @@ export const HealthStatusSchema: GenMessage = /*@__PURE__*/ */ export type PartitionHealth = Message<"metalstack.api.v2.PartitionHealth"> & { /** - * Status is the health status of the service in this partition + * Status is the health status of the service in this partition. * * @generated from field: metalstack.api.v2.ServiceStatus status = 1; */ status: ServiceStatus; /** - * Message describes the reason for the unhealthy status if possible + * Message describes the reason for the unhealthy status if possible. * * @generated from field: string message = 2; */ @@ -126,7 +126,7 @@ export const HealthServiceGetRequestSchema: GenMessage */ export type HealthServiceGetResponse = Message<"metalstack.api.v2.HealthServiceGetResponse"> & { /** - * Health contains the overall health of the system + * Health contains the overall health of the system. * * @generated from field: metalstack.api.v2.Health health = 1; */ @@ -147,28 +147,28 @@ export const HealthServiceGetResponseSchema: GenMessage = /*@__PURE__*/ */ export enum Service { /** - * SERVICE_UNSPECIFIED is a unknown service + * SERVICE_UNSPECIFIED is a unknown service. * * @generated from enum value: SERVICE_UNSPECIFIED = 0; */ UNSPECIFIED = 0, /** - * SERVICE_IPAM the IPAM service + * SERVICE_IPAM the IPAM service. * * @generated from enum value: SERVICE_IPAM = 1; */ IPAM = 1, /** - * SERVICE_RETHINK the RethinkDB + * SERVICE_RETHINK the RethinkDB. * * @generated from enum value: SERVICE_RETHINK = 2; */ RETHINK = 2, /** - * SERVICE_TENANT_APISERVER the tenant-apiserver + * SERVICE_TENANT_APISERVER the tenant-apiserver. * * @generated from enum value: SERVICE_TENANT_APISERVER = 3; */ TENANT_APISERVER = 3, /** - * SERVICE_MACHINES the machine service + * SERVICE_MACHINES the machine service. * * @generated from enum value: SERVICE_MACHINES = 4; */ MACHINES = 4, /** - * SERVICE_AUDIT the auditing + * SERVICE_AUDIT the auditing. * * @generated from enum value: SERVICE_AUDIT = 5; */ AUDIT = 5, /** - * SERVICE_VPN the VPN service + * SERVICE_VPN the VPN service. * * @generated from enum value: SERVICE_VPN = 6; */ VPN = 6, /** - * SERVICE_REDIS the Redis service + * SERVICE_REDIS the Redis service. * * @generated from enum value: SERVICE_REDIS = 7; */ REDIS = 7, /** - * SERVICE_TASKS the tasks service + * SERVICE_TASKS the tasks service. * * @generated from enum value: SERVICE_TASKS = 8; */ diff --git a/js/metalstack/api/v2/image_pb.d.ts b/js/metalstack/api/v2/image_pb.d.ts index 8b66849e..1d5c9584 100644 --- a/js/metalstack/api/v2/image_pb.d.ts +++ b/js/metalstack/api/v2/image_pb.d.ts @@ -7,13 +7,13 @@ import type { Message } from "@bufbuild/protobuf"; */ export declare const file_metalstack_api_v2_image: GenFile; /** - * ImageServiceGetRequest is the request payload for an image get request + * ImageServiceGetRequest is the request payload for an image get request. * * @generated from message metalstack.api.v2.ImageServiceGetRequest */ export type ImageServiceGetRequest = Message<"metalstack.api.v2.ImageServiceGetRequest"> & { /** - * ID of the image to get + * ID of the image to get. * * @generated from field: string id = 1; */ @@ -25,13 +25,13 @@ export type ImageServiceGetRequest = Message<"metalstack.api.v2.ImageServiceGetR */ export declare const ImageServiceGetRequestSchema: GenMessage; /** - * ImageServiceListRequest is the request payload for an image list request + * ImageServiceListRequest is the request payload for an image list request. * * @generated from message metalstack.api.v2.ImageServiceListRequest */ export type ImageServiceListRequest = Message<"metalstack.api.v2.ImageServiceListRequest"> & { /** - * Query for images + * Query for images. * * @generated from field: metalstack.api.v2.ImageQuery query = 1; */ @@ -43,20 +43,20 @@ export type ImageServiceListRequest = Message<"metalstack.api.v2.ImageServiceLis */ export declare const ImageServiceListRequestSchema: GenMessage; /** - * ImageServiceLatestRequest is the request payload for an image latest request + * ImageServiceLatestRequest is the request payload for an image latest request. * * @generated from message metalstack.api.v2.ImageServiceLatestRequest */ export type ImageServiceLatestRequest = Message<"metalstack.api.v2.ImageServiceLatestRequest"> & { /** - * 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 for which the latest image should be fetched. + * Should contain os and major.minor then latest patch version of this os is returned. * * @generated from field: string os = 1; */ os: string; /** - * Classification of the image latest image + * Classification of the image latest image. * * @generated from field: optional metalstack.api.v2.ImageClassification classification = 2; */ @@ -68,13 +68,13 @@ export type ImageServiceLatestRequest = Message<"metalstack.api.v2.ImageServiceL */ export declare const ImageServiceLatestRequestSchema: GenMessage; /** - * ImageServiceGetResponse is the response payload for an image get request + * ImageServiceGetResponse is the response payload for an image get request. * * @generated from message metalstack.api.v2.ImageServiceGetResponse */ export type ImageServiceGetResponse = Message<"metalstack.api.v2.ImageServiceGetResponse"> & { /** - * Image the image + * Image the image. * * @generated from field: metalstack.api.v2.Image image = 1; */ @@ -86,13 +86,13 @@ export type ImageServiceGetResponse = Message<"metalstack.api.v2.ImageServiceGet */ export declare const ImageServiceGetResponseSchema: GenMessage; /** - * ImageServiceListResponse is the response payload for an image list request + * ImageServiceListResponse is the response payload for an image list request. * * @generated from message metalstack.api.v2.ImageServiceListResponse */ export type ImageServiceListResponse = Message<"metalstack.api.v2.ImageServiceListResponse"> & { /** - * Images the images + * Images the images. * * @generated from field: repeated metalstack.api.v2.Image images = 1; */ @@ -104,13 +104,13 @@ export type ImageServiceListResponse = Message<"metalstack.api.v2.ImageServiceLi */ export declare const ImageServiceListResponseSchema: GenMessage; /** - * ImageServiceLatestResponse is the response payload for an image latest request + * ImageServiceLatestResponse is the response payload for an image latest request. * * @generated from message metalstack.api.v2.ImageServiceLatestResponse */ export type ImageServiceLatestResponse = Message<"metalstack.api.v2.ImageServiceLatestResponse"> & { /** - * Image which is the latest for one os + * Image which is the latest for one os. * * @generated from field: metalstack.api.v2.Image image = 1; */ @@ -122,55 +122,55 @@ export type ImageServiceLatestResponse = Message<"metalstack.api.v2.ImageService */ export declare const ImageServiceLatestResponseSchema: GenMessage; /** - * Image + * Image. * * @generated from message metalstack.api.v2.Image */ export type Image = Message<"metalstack.api.v2.Image"> & { /** - * Id of this image + * Id of this image. * * @generated from field: string id = 1; */ id: string; /** - * Meta for this image + * Meta for this image. * * @generated from field: metalstack.api.v2.Meta meta = 2; */ meta?: Meta | undefined; /** - * URL where this image is located + * URL where this image is located. * * @generated from field: string url = 3; */ url: string; /** - * Name of this image + * Name of this image. * * @generated from field: optional string name = 4; */ name?: string | undefined; /** - * Description of this image + * Description of this image. * * @generated from field: optional string description = 5; */ description?: string | undefined; /** - * Features of this image + * Features of this image. * * @generated from field: repeated metalstack.api.v2.ImageFeature features = 6; */ features: ImageFeature[]; /** - * Classification of this image + * Classification of this image. * * @generated from field: metalstack.api.v2.ImageClassification classification = 7; */ classification: ImageClassification; /** - * ExpiresAt usage is not possible after this date + * ExpiresAt usage is not possible after this date. * * @generated from field: google.protobuf.Timestamp expires_at = 8; */ @@ -182,19 +182,19 @@ export type Image = Message<"metalstack.api.v2.Image"> & { */ export declare const ImageSchema: GenMessage; /** - * ImageUsage reports which machines/firewalls actually use this image + * ImageUsage reports which machines/firewalls actually use this image. * * @generated from message metalstack.api.v2.ImageUsage */ export type ImageUsage = Message<"metalstack.api.v2.ImageUsage"> & { /** - * Image with usage + * Image with usage. * * @generated from field: metalstack.api.v2.Image image = 1; */ image?: Image | undefined; /** - * UsedBy the following machines/firewalls + * UsedBy the following machines/firewalls. * * @generated from field: repeated string used_by = 2; */ @@ -206,61 +206,61 @@ export type ImageUsage = Message<"metalstack.api.v2.ImageUsage"> & { */ export declare const ImageUsageSchema: GenMessage; /** - * ImageQuery is used to search images + * ImageQuery is used to search images. * * @generated from message metalstack.api.v2.ImageQuery */ export type ImageQuery = Message<"metalstack.api.v2.ImageQuery"> & { /** - * ID of the image to get + * ID of the image to get. * * @generated from field: optional string id = 1; */ id?: string | undefined; /** - * OS of the image + * OS of the image. * * @generated from field: optional string os = 2; */ os?: string | undefined; /** - * Version of the Image + * Version of the Image. * * @generated from field: optional string version = 3; */ version?: string | undefined; /** - * Name of the image to query + * Name of the image to query. * * @generated from field: optional string name = 4; */ name?: string | undefined; /** - * Description of the image to query + * Description of the image to query. * * @generated from field: optional string description = 5; */ description?: string | undefined; /** - * Url of the image to query + * Url of the image to query. * * @generated from field: optional string url = 6; */ url?: string | undefined; /** - * Feature of the image to query + * Feature of the image to query. * * @generated from field: optional metalstack.api.v2.ImageFeature feature = 7; */ feature?: ImageFeature | undefined; /** - * Classification of the image to query + * Classification of the image to query. * * @generated from field: optional metalstack.api.v2.ImageClassification classification = 8; */ classification?: ImageClassification | undefined; /** - * Labels lists only images containing the given labels + * Labels lists only images containing the given labels. * * @generated from field: optional metalstack.api.v2.Labels labels = 9; */ @@ -272,25 +272,25 @@ export type ImageQuery = Message<"metalstack.api.v2.ImageQuery"> & { */ export declare const ImageQuerySchema: GenMessage; /** - * ImageFeature + * ImageFeature. * * @generated from enum metalstack.api.v2.ImageFeature */ export declare enum ImageFeature { /** - * IMAGE_FEATURE_UNSPECIFIED is not specified + * IMAGE_FEATURE_UNSPECIFIED is not specified. * * @generated from enum value: IMAGE_FEATURE_UNSPECIFIED = 0; */ UNSPECIFIED = 0, /** - * IMAGE_FEATURE_MACHINE indicates this image is usable for a machine + * IMAGE_FEATURE_MACHINE indicates this image is usable for a machine. * * @generated from enum value: IMAGE_FEATURE_MACHINE = 1; */ MACHINE = 1, /** - * IMAGE_FEATURE_FIREWALL indicates this image is usable for a firewall + * IMAGE_FEATURE_FIREWALL indicates this image is usable for a firewall. * * @generated from enum value: IMAGE_FEATURE_FIREWALL = 2; */ @@ -301,31 +301,31 @@ export declare enum ImageFeature { */ export declare const ImageFeatureSchema: GenEnum; /** - * Image + * Image. * * @generated from enum metalstack.api.v2.ImageClassification */ export declare enum ImageClassification { /** - * IMAGE_CLASSIFICATION_UNSPECIFIED is not specified + * IMAGE_CLASSIFICATION_UNSPECIFIED is not specified. * * @generated from enum value: IMAGE_CLASSIFICATION_UNSPECIFIED = 0; */ UNSPECIFIED = 0, /** - * IMAGE_CLASSIFICATION_PREVIEW indicates that this image is in preview + * IMAGE_CLASSIFICATION_PREVIEW indicates that this image is in preview. * * @generated from enum value: IMAGE_CLASSIFICATION_PREVIEW = 1; */ PREVIEW = 1, /** - * IMAGE_CLASSIFICATION_SUPPORTED indicates that this image is supported + * IMAGE_CLASSIFICATION_SUPPORTED indicates that this image is supported. * * @generated from enum value: IMAGE_CLASSIFICATION_SUPPORTED = 2; */ SUPPORTED = 2, /** - * IMAGE_CLASSIFICATION_DEPRECATED indicates that this image is deprecated + * IMAGE_CLASSIFICATION_DEPRECATED indicates that this image is deprecated. * * @generated from enum value: IMAGE_CLASSIFICATION_DEPRECATED = 3; */ diff --git a/js/metalstack/api/v2/image_pb.js b/js/metalstack/api/v2/image_pb.js index 9728f7df..211ebd16 100644 --- a/js/metalstack/api/v2/image_pb.js +++ b/js/metalstack/api/v2/image_pb.js @@ -56,26 +56,26 @@ export const ImageUsageSchema = /*@__PURE__*/ messageDesc(file_metalstack_api_v2 */ export const ImageQuerySchema = /*@__PURE__*/ messageDesc(file_metalstack_api_v2_image, 8); /** - * ImageFeature + * ImageFeature. * * @generated from enum metalstack.api.v2.ImageFeature */ export var ImageFeature; (function (ImageFeature) { /** - * IMAGE_FEATURE_UNSPECIFIED is not specified + * IMAGE_FEATURE_UNSPECIFIED is not specified. * * @generated from enum value: IMAGE_FEATURE_UNSPECIFIED = 0; */ ImageFeature[ImageFeature["UNSPECIFIED"] = 0] = "UNSPECIFIED"; /** - * IMAGE_FEATURE_MACHINE indicates this image is usable for a machine + * IMAGE_FEATURE_MACHINE indicates this image is usable for a machine. * * @generated from enum value: IMAGE_FEATURE_MACHINE = 1; */ ImageFeature[ImageFeature["MACHINE"] = 1] = "MACHINE"; /** - * IMAGE_FEATURE_FIREWALL indicates this image is usable for a firewall + * IMAGE_FEATURE_FIREWALL indicates this image is usable for a firewall. * * @generated from enum value: IMAGE_FEATURE_FIREWALL = 2; */ @@ -86,32 +86,32 @@ export var ImageFeature; */ export const ImageFeatureSchema = /*@__PURE__*/ enumDesc(file_metalstack_api_v2_image, 0); /** - * Image + * Image. * * @generated from enum metalstack.api.v2.ImageClassification */ export var ImageClassification; (function (ImageClassification) { /** - * IMAGE_CLASSIFICATION_UNSPECIFIED is not specified + * IMAGE_CLASSIFICATION_UNSPECIFIED is not specified. * * @generated from enum value: IMAGE_CLASSIFICATION_UNSPECIFIED = 0; */ ImageClassification[ImageClassification["UNSPECIFIED"] = 0] = "UNSPECIFIED"; /** - * IMAGE_CLASSIFICATION_PREVIEW indicates that this image is in preview + * IMAGE_CLASSIFICATION_PREVIEW indicates that this image is in preview. * * @generated from enum value: IMAGE_CLASSIFICATION_PREVIEW = 1; */ ImageClassification[ImageClassification["PREVIEW"] = 1] = "PREVIEW"; /** - * IMAGE_CLASSIFICATION_SUPPORTED indicates that this image is supported + * IMAGE_CLASSIFICATION_SUPPORTED indicates that this image is supported. * * @generated from enum value: IMAGE_CLASSIFICATION_SUPPORTED = 2; */ ImageClassification[ImageClassification["SUPPORTED"] = 2] = "SUPPORTED"; /** - * IMAGE_CLASSIFICATION_DEPRECATED indicates that this image is deprecated + * IMAGE_CLASSIFICATION_DEPRECATED indicates that this image is deprecated. * * @generated from enum value: IMAGE_CLASSIFICATION_DEPRECATED = 3; */ diff --git a/js/metalstack/api/v2/image_pb.ts b/js/metalstack/api/v2/image_pb.ts index bb4f4fc8..cce3ef1b 100644 --- a/js/metalstack/api/v2/image_pb.ts +++ b/js/metalstack/api/v2/image_pb.ts @@ -19,13 +19,13 @@ export const file_metalstack_api_v2_image: GenFile = /*@__PURE__*/ fileDesc("Ch1tZXRhbHN0YWNrL2FwaS92Mi9pbWFnZS5wcm90bxIRbWV0YWxzdGFjay5hcGkudjIiMQoWSW1hZ2VTZXJ2aWNlR2V0UmVxdWVzdBIXCgJpZBgBIAEoCUILukgIcgbAs66xAgEiRwoXSW1hZ2VTZXJ2aWNlTGlzdFJlcXVlc3QSLAoFcXVlcnkYASABKAsyHS5tZXRhbHN0YWNrLmFwaS52Mi5JbWFnZVF1ZXJ5IokBChlJbWFnZVNlcnZpY2VMYXRlc3RSZXF1ZXN0EgoKAm9zGAEgASgJEk0KDmNsYXNzaWZpY2F0aW9uGAIgASgOMiYubWV0YWxzdGFjay5hcGkudjIuSW1hZ2VDbGFzc2lmaWNhdGlvbkIIukgFggECEAFIAIgBAUIRCg9fY2xhc3NpZmljYXRpb24iQgoXSW1hZ2VTZXJ2aWNlR2V0UmVzcG9uc2USJwoFaW1hZ2UYASABKAsyGC5tZXRhbHN0YWNrLmFwaS52Mi5JbWFnZSJEChhJbWFnZVNlcnZpY2VMaXN0UmVzcG9uc2USKAoGaW1hZ2VzGAEgAygLMhgubWV0YWxzdGFjay5hcGkudjIuSW1hZ2UiRQoaSW1hZ2VTZXJ2aWNlTGF0ZXN0UmVzcG9uc2USJwoFaW1hZ2UYASABKAsyGC5tZXRhbHN0YWNrLmFwaS52Mi5JbWFnZSL/AgoFSW1hZ2USFwoCaWQYASABKAlCC7pICHIGwLOusQIBEiUKBG1ldGEYAiABKAsyFy5tZXRhbHN0YWNrLmFwaS52Mi5NZXRhEhgKA3VybBgDIAEoCUILukgIcgbgs66xAgESHgoEbmFtZRgEIAEoCUILukgIcgbAs66xAgFIAIgBARIlCgtkZXNjcmlwdGlvbhgFIAEoCUILukgIcgbIs66xAgFIAYgBARJCCghmZWF0dXJlcxgGIAMoDjIfLm1ldGFsc3RhY2suYXBpLnYyLkltYWdlRmVhdHVyZUIPukgMkgEJGAEiBYIBAhABEkgKDmNsYXNzaWZpY2F0aW9uGAcgASgOMiYubWV0YWxzdGFjay5hcGkudjIuSW1hZ2VDbGFzc2lmaWNhdGlvbkIIukgFggECEAESLgoKZXhwaXJlc19hdBgIIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXBCBwoFX25hbWVCDgoMX2Rlc2NyaXB0aW9uIkYKCkltYWdlVXNhZ2USJwoFaW1hZ2UYASABKAsyGC5tZXRhbHN0YWNrLmFwaS52Mi5JbWFnZRIPCgd1c2VkX2J5GAIgAygJIvQDCgpJbWFnZVF1ZXJ5EhwKAmlkGAEgASgJQgu6SAhyBsCzrrECAUgAiAEBEhsKAm9zGAIgASgJQgq6SAdyBRACGIABSAGIAQESIAoHdmVyc2lvbhgDIAEoCUIKukgHcgUQARiAAUgCiAEBEh4KBG5hbWUYBCABKAlCC7pICHIGwLOusQIBSAOIAQESJQoLZGVzY3JpcHRpb24YBSABKAlCC7pICHIGyLOusQIBSASIAQESHQoDdXJsGAYgASgJQgu6SAhyBuCzrrECAUgFiAEBEj8KB2ZlYXR1cmUYByABKA4yHy5tZXRhbHN0YWNrLmFwaS52Mi5JbWFnZUZlYXR1cmVCCLpIBYIBAhABSAaIAQESTQoOY2xhc3NpZmljYXRpb24YCCABKA4yJi5tZXRhbHN0YWNrLmFwaS52Mi5JbWFnZUNsYXNzaWZpY2F0aW9uQgi6SAWCAQIQAUgHiAEBEi4KBmxhYmVscxgJIAEoCzIZLm1ldGFsc3RhY2suYXBpLnYyLkxhYmVsc0gIiAEBQgUKA19pZEIFCgNfb3NCCgoIX3ZlcnNpb25CBwoFX25hbWVCDgoMX2Rlc2NyaXB0aW9uQgYKBF91cmxCCgoIX2ZlYXR1cmVCEQoPX2NsYXNzaWZpY2F0aW9uQgkKB19sYWJlbHMqfwoMSW1hZ2VGZWF0dXJlEh0KGUlNQUdFX0ZFQVRVUkVfVU5TUEVDSUZJRUQQABImChVJTUFHRV9GRUFUVVJFX01BQ0hJTkUQARoLgrIZB21hY2hpbmUSKAoWSU1BR0VfRkVBVFVSRV9GSVJFV0FMTBACGgyCshkIZmlyZXdhbGwq0gEKE0ltYWdlQ2xhc3NpZmljYXRpb24SJAogSU1BR0VfQ0xBU1NJRklDQVRJT05fVU5TUEVDSUZJRUQQABItChxJTUFHRV9DTEFTU0lGSUNBVElPTl9QUkVWSUVXEAEaC4KyGQdwcmV2aWV3EjEKHklNQUdFX0NMQVNTSUZJQ0FUSU9OX1NVUFBPUlRFRBACGg2CshkJc3VwcG9ydGVkEjMKH0lNQUdFX0NMQVNTSUZJQ0FUSU9OX0RFUFJFQ0FURUQQAxoOgrIZCmRlcHJlY2F0ZWQy0gIKDEltYWdlU2VydmljZRJmCgNHZXQSKS5tZXRhbHN0YWNrLmFwaS52Mi5JbWFnZVNlcnZpY2VHZXRSZXF1ZXN0GioubWV0YWxzdGFjay5hcGkudjIuSW1hZ2VTZXJ2aWNlR2V0UmVzcG9uc2UiCNjzGALg8xgCEmkKBExpc3QSKi5tZXRhbHN0YWNrLmFwaS52Mi5JbWFnZVNlcnZpY2VMaXN0UmVxdWVzdBorLm1ldGFsc3RhY2suYXBpLnYyLkltYWdlU2VydmljZUxpc3RSZXNwb25zZSII2PMYAuDzGAISbwoGTGF0ZXN0EiwubWV0YWxzdGFjay5hcGkudjIuSW1hZ2VTZXJ2aWNlTGF0ZXN0UmVxdWVzdBotLm1ldGFsc3RhY2suYXBpLnYyLkltYWdlU2VydmljZUxhdGVzdFJlc3BvbnNlIgjY8xgC4PMYAkLAAQoVY29tLm1ldGFsc3RhY2suYXBpLnYyQgpJbWFnZVByb3RvUAFaNWdpdGh1Yi5jb20vbWV0YWwtc3RhY2svYXBpL2dvL21ldGFsc3RhY2svYXBpL3YyO2FwaXYyogIDTUFYqgIRTWV0YWxzdGFjay5BcGkuVjLKAhFNZXRhbHN0YWNrXEFwaVxWMuICHU1ldGFsc3RhY2tcQXBpXFYyXEdQQk1ldGFkYXRh6gITTWV0YWxzdGFjazo6QXBpOjpWMmIGcHJvdG8z", [file_buf_validate_validate, file_google_protobuf_timestamp, file_metalstack_api_v2_common, file_metalstack_api_v2_predefined_rules]); /** - * ImageServiceGetRequest is the request payload for an image get request + * ImageServiceGetRequest is the request payload for an image get request. * * @generated from message metalstack.api.v2.ImageServiceGetRequest */ export type ImageServiceGetRequest = Message<"metalstack.api.v2.ImageServiceGetRequest"> & { /** - * ID of the image to get + * ID of the image to get. * * @generated from field: string id = 1; */ @@ -40,13 +40,13 @@ export const ImageServiceGetRequestSchema: GenMessage = messageDesc(file_metalstack_api_v2_image, 0); /** - * ImageServiceListRequest is the request payload for an image list request + * ImageServiceListRequest is the request payload for an image list request. * * @generated from message metalstack.api.v2.ImageServiceListRequest */ export type ImageServiceListRequest = Message<"metalstack.api.v2.ImageServiceListRequest"> & { /** - * Query for images + * Query for images. * * @generated from field: metalstack.api.v2.ImageQuery query = 1; */ @@ -61,21 +61,21 @@ export const ImageServiceListRequestSchema: GenMessage messageDesc(file_metalstack_api_v2_image, 1); /** - * ImageServiceLatestRequest is the request payload for an image latest request + * ImageServiceLatestRequest is the request payload for an image latest request. * * @generated from message metalstack.api.v2.ImageServiceLatestRequest */ export type ImageServiceLatestRequest = Message<"metalstack.api.v2.ImageServiceLatestRequest"> & { /** - * 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 for which the latest image should be fetched. + * Should contain os and major.minor then latest patch version of this os is returned. * * @generated from field: string os = 1; */ os: string; /** - * Classification of the image latest image + * Classification of the image latest image. * * @generated from field: optional metalstack.api.v2.ImageClassification classification = 2; */ @@ -90,13 +90,13 @@ export const ImageServiceLatestRequestSchema: GenMessage & { /** - * Image the image + * Image the image. * * @generated from field: metalstack.api.v2.Image image = 1; */ @@ -111,13 +111,13 @@ export const ImageServiceGetResponseSchema: GenMessage messageDesc(file_metalstack_api_v2_image, 3); /** - * ImageServiceListResponse is the response payload for an image list request + * ImageServiceListResponse is the response payload for an image list request. * * @generated from message metalstack.api.v2.ImageServiceListResponse */ export type ImageServiceListResponse = Message<"metalstack.api.v2.ImageServiceListResponse"> & { /** - * Images the images + * Images the images. * * @generated from field: repeated metalstack.api.v2.Image images = 1; */ @@ -132,13 +132,13 @@ export const ImageServiceListResponseSchema: GenMessage & { /** - * Image which is the latest for one os + * Image which is the latest for one os. * * @generated from field: metalstack.api.v2.Image image = 1; */ @@ -153,62 +153,62 @@ export const ImageServiceLatestResponseSchema: GenMessage & { /** - * Id of this image + * Id of this image. * * @generated from field: string id = 1; */ id: string; /** - * Meta for this image + * Meta for this image. * * @generated from field: metalstack.api.v2.Meta meta = 2; */ meta?: Meta | undefined; /** - * URL where this image is located + * URL where this image is located. * * @generated from field: string url = 3; */ url: string; /** - * Name of this image + * Name of this image. * * @generated from field: optional string name = 4; */ name?: string | undefined; /** - * Description of this image + * Description of this image. * * @generated from field: optional string description = 5; */ description?: string | undefined; /** - * Features of this image + * Features of this image. * * @generated from field: repeated metalstack.api.v2.ImageFeature features = 6; */ features: ImageFeature[]; /** - * Classification of this image + * Classification of this image. * * @generated from field: metalstack.api.v2.ImageClassification classification = 7; */ classification: ImageClassification; /** - * ExpiresAt usage is not possible after this date + * ExpiresAt usage is not possible after this date. * * @generated from field: google.protobuf.Timestamp expires_at = 8; */ @@ -223,20 +223,20 @@ export const ImageSchema: GenMessage = /*@__PURE__*/ messageDesc(file_metalstack_api_v2_image, 6); /** - * ImageUsage reports which machines/firewalls actually use this image + * ImageUsage reports which machines/firewalls actually use this image. * * @generated from message metalstack.api.v2.ImageUsage */ export type ImageUsage = Message<"metalstack.api.v2.ImageUsage"> & { /** - * Image with usage + * Image with usage. * * @generated from field: metalstack.api.v2.Image image = 1; */ image?: Image | undefined; /** - * UsedBy the following machines/firewalls + * UsedBy the following machines/firewalls. * * @generated from field: repeated string used_by = 2; */ @@ -251,69 +251,69 @@ export const ImageUsageSchema: GenMessage = /*@__PURE__*/ messageDesc(file_metalstack_api_v2_image, 7); /** - * ImageQuery is used to search images + * ImageQuery is used to search images. * * @generated from message metalstack.api.v2.ImageQuery */ export type ImageQuery = Message<"metalstack.api.v2.ImageQuery"> & { /** - * ID of the image to get + * ID of the image to get. * * @generated from field: optional string id = 1; */ id?: string | undefined; /** - * OS of the image + * OS of the image. * * @generated from field: optional string os = 2; */ os?: string | undefined; /** - * Version of the Image + * Version of the Image. * * @generated from field: optional string version = 3; */ version?: string | undefined; /** - * Name of the image to query + * Name of the image to query. * * @generated from field: optional string name = 4; */ name?: string | undefined; /** - * Description of the image to query + * Description of the image to query. * * @generated from field: optional string description = 5; */ description?: string | undefined; /** - * Url of the image to query + * Url of the image to query. * * @generated from field: optional string url = 6; */ url?: string | undefined; /** - * Feature of the image to query + * Feature of the image to query. * * @generated from field: optional metalstack.api.v2.ImageFeature feature = 7; */ feature?: ImageFeature | undefined; /** - * Classification of the image to query + * Classification of the image to query. * * @generated from field: optional metalstack.api.v2.ImageClassification classification = 8; */ classification?: ImageClassification | undefined; /** - * Labels lists only images containing the given labels + * Labels lists only images containing the given labels. * * @generated from field: optional metalstack.api.v2.Labels labels = 9; */ @@ -328,27 +328,27 @@ export const ImageQuerySchema: GenMessage = /*@__PURE__*/ messageDesc(file_metalstack_api_v2_image, 8); /** - * ImageFeature + * ImageFeature. * * @generated from enum metalstack.api.v2.ImageFeature */ export enum ImageFeature { /** - * IMAGE_FEATURE_UNSPECIFIED is not specified + * IMAGE_FEATURE_UNSPECIFIED is not specified. * * @generated from enum value: IMAGE_FEATURE_UNSPECIFIED = 0; */ UNSPECIFIED = 0, /** - * IMAGE_FEATURE_MACHINE indicates this image is usable for a machine + * IMAGE_FEATURE_MACHINE indicates this image is usable for a machine. * * @generated from enum value: IMAGE_FEATURE_MACHINE = 1; */ MACHINE = 1, /** - * IMAGE_FEATURE_FIREWALL indicates this image is usable for a firewall + * IMAGE_FEATURE_FIREWALL indicates this image is usable for a firewall. * * @generated from enum value: IMAGE_FEATURE_FIREWALL = 2; */ @@ -362,34 +362,34 @@ export const ImageFeatureSchema: GenEnum = /*@__PURE__*/ enumDesc(file_metalstack_api_v2_image, 0); /** - * Image + * Image. * * @generated from enum metalstack.api.v2.ImageClassification */ export enum ImageClassification { /** - * IMAGE_CLASSIFICATION_UNSPECIFIED is not specified + * IMAGE_CLASSIFICATION_UNSPECIFIED is not specified. * * @generated from enum value: IMAGE_CLASSIFICATION_UNSPECIFIED = 0; */ UNSPECIFIED = 0, /** - * IMAGE_CLASSIFICATION_PREVIEW indicates that this image is in preview + * IMAGE_CLASSIFICATION_PREVIEW indicates that this image is in preview. * * @generated from enum value: IMAGE_CLASSIFICATION_PREVIEW = 1; */ PREVIEW = 1, /** - * IMAGE_CLASSIFICATION_SUPPORTED indicates that this image is supported + * IMAGE_CLASSIFICATION_SUPPORTED indicates that this image is supported. * * @generated from enum value: IMAGE_CLASSIFICATION_SUPPORTED = 2; */ SUPPORTED = 2, /** - * IMAGE_CLASSIFICATION_DEPRECATED indicates that this image is deprecated + * IMAGE_CLASSIFICATION_DEPRECATED indicates that this image is deprecated. * * @generated from enum value: IMAGE_CLASSIFICATION_DEPRECATED = 3; */ diff --git a/js/metalstack/api/v2/ip_pb.d.ts b/js/metalstack/api/v2/ip_pb.d.ts index c966e713..cc9c3cae 100644 --- a/js/metalstack/api/v2/ip_pb.d.ts +++ b/js/metalstack/api/v2/ip_pb.d.ts @@ -6,62 +6,62 @@ import type { Message } from "@bufbuild/protobuf"; */ export declare const file_metalstack_api_v2_ip: GenFile; /** - * IP is an IP address which can be used as loadbalancer addresses + * IP is an IP address which can be used as loadbalancer addresses. * * @generated from message metalstack.api.v2.IP */ export type IP = Message<"metalstack.api.v2.IP"> & { /** - * Uuid of this ip + * Uuid of this ip. * * @generated from field: string uuid = 1; */ uuid: string; /** - * Meta for this ip + * Meta for this ip. * * @generated from field: metalstack.api.v2.Meta meta = 2; */ meta?: Meta | undefined; /** - * Ip is either ipv4 or ipv6 address + * Ip is either ipv4 or ipv6 address. * * @generated from field: string ip = 3; */ ip: string; /** - * Name of this ip + * Name of this ip. * * @generated from field: string name = 4; */ name: string; /** - * Description of this ip + * Description of this ip. * * @generated from field: string description = 5; */ description: string; /** - * Network is the network this ip belongs to + * Network is the network this ip belongs to. * * @generated from field: string network = 6; */ network: string; /** - * Project where this ip address belongs to + * Project where this ip address belongs to. * * @generated from field: string project = 7; */ project: string; /** - * Type of this ip + * Type of this ip. * * @generated from field: metalstack.api.v2.IPType type = 8; */ type: IPType; /** - * 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 if specified this ip is from a namespaced network and can therefore overlap with others. + * Will be equal with project most of the time. * * @generated from field: optional string namespace = 9; */ @@ -73,19 +73,19 @@ export type IP = Message<"metalstack.api.v2.IP"> & { */ export declare const IPSchema: GenMessage; /** - * IPServiceGetRequest is the request payload for an IP get request + * IPServiceGetRequest is the request payload for an IP get request. * * @generated from message metalstack.api.v2.IPServiceGetRequest */ export type IPServiceGetRequest = Message<"metalstack.api.v2.IPServiceGetRequest"> & { /** - * IP of the ip to get + * IP of the ip to get. * * @generated from field: string ip = 1; */ ip: string; /** - * Project of the ip + * Project of the ip. * * @generated from field: string project = 2; */ @@ -103,61 +103,61 @@ export type IPServiceGetRequest = Message<"metalstack.api.v2.IPServiceGetRequest */ export declare const IPServiceGetRequestSchema: GenMessage; /** - * IPServiceCreateRequest is the request payload for an IP create request + * IPServiceCreateRequest is the request payload for an IP create request. * * @generated from message metalstack.api.v2.IPServiceCreateRequest */ export type IPServiceCreateRequest = Message<"metalstack.api.v2.IPServiceCreateRequest"> & { /** - * Network from which the IP should be created + * Network from which the IP should be created. * * @generated from field: string network = 1; */ network: string; /** - * Project of the ip + * Project of the ip. * * @generated from field: string project = 2; */ project: string; /** - * Name of the ip + * Name of the ip. * * @generated from field: optional string name = 3; */ name?: string | undefined; /** - * Description of the ip + * Description of the ip. * * @generated from field: optional string description = 4; */ description?: string | undefined; /** - * IP if given try to create this ip if still available + * IP if given try to create this ip if still available. * * @generated from field: optional string ip = 5; */ ip?: string | undefined; /** - * Machine for which this ip should get created + * Machine for which this ip should get created. * * @generated from field: optional string machine = 6; */ machine?: string | undefined; /** - * Labels to put onto the ip + * Labels to put onto the ip. * * @generated from field: optional metalstack.api.v2.Labels labels = 7; */ labels?: Labels | undefined; /** - * Type of the IP, ether ephemeral (default), or static + * Type of the IP, ether ephemeral (default), or static. * * @generated from field: optional metalstack.api.v2.IPType type = 8; */ type?: IPType | undefined; /** - * Addressfamily of the IP to create, defaults to ipv4 + * Addressfamily of the IP to create, defaults to ipv4. * * @generated from field: optional metalstack.api.v2.IPAddressFamily address_family = 9; */ @@ -169,49 +169,49 @@ export type IPServiceCreateRequest = Message<"metalstack.api.v2.IPServiceCreateR */ export declare const IPServiceCreateRequestSchema: GenMessage; /** - * IPServiceUpdateRequest is the request payload for an IP update request + * IPServiceUpdateRequest is the request payload for an IP update request. * * @generated from message metalstack.api.v2.IPServiceUpdateRequest */ export type IPServiceUpdateRequest = Message<"metalstack.api.v2.IPServiceUpdateRequest"> & { /** - * Ip the ip address to update + * Ip the ip address to update. * * @generated from field: string ip = 1; */ ip: string; /** - * UpdateMeta contains the timestamp and strategy to be used in this update request + * UpdateMeta contains the timestamp and strategy to be used in this update request. * * @generated from field: metalstack.api.v2.UpdateMeta update_meta = 2; */ updateMeta?: UpdateMeta | undefined; /** - * Project id of the ip + * Project id of the ip. * * @generated from field: string project = 3; */ project: string; /** - * Name of this ip + * Name of this ip. * * @generated from field: optional string name = 4; */ name?: string | undefined; /** - * Description of this ip + * Description of this ip. * * @generated from field: optional string description = 5; */ description?: string | undefined; /** - * Type of this ip + * Type of this ip. * * @generated from field: optional metalstack.api.v2.IPType type = 6; */ type?: IPType | undefined; /** - * Labels on this ip + * Labels on this ip. * * @generated from field: optional metalstack.api.v2.UpdateLabels labels = 7; */ @@ -223,19 +223,19 @@ export type IPServiceUpdateRequest = Message<"metalstack.api.v2.IPServiceUpdateR */ export declare const IPServiceUpdateRequestSchema: GenMessage; /** - * IPServiceListRequest is the request payload for an IP list request + * IPServiceListRequest is the request payload for an IP list request. * * @generated from message metalstack.api.v2.IPServiceListRequest */ export type IPServiceListRequest = Message<"metalstack.api.v2.IPServiceListRequest"> & { /** - * Project of the ips to list + * Project of the ips to list. * * @generated from field: string project = 1; */ project: string; /** - * Query to list one or more IPs + * Query to list one or more IPs. * * @generated from field: metalstack.api.v2.IPQuery query = 2; */ @@ -247,67 +247,67 @@ export type IPServiceListRequest = Message<"metalstack.api.v2.IPServiceListReque */ export declare const IPServiceListRequestSchema: GenMessage; /** - * IPQuery can be used to query a IP or a list of IP + * IPQuery can be used to query a IP or a list of IP. * * @generated from message metalstack.api.v2.IPQuery */ export type IPQuery = Message<"metalstack.api.v2.IPQuery"> & { /** - * Ip the ip to list + * Ip the ip to list. * * @generated from field: optional string ip = 1; */ ip?: string | undefined; /** - * Network from which the IPs are to list + * Network from which the IPs are to list. * * @generated from field: optional string network = 2; */ network?: string | undefined; /** - * Project of the ips to list + * Project of the ips to list. * * @generated from field: optional string project = 3; */ project?: string | undefined; /** - * Name of this ip + * Name of this ip. * * @generated from field: optional string name = 4; */ name?: string | undefined; /** - * UUID for which these IPs should be filtered + * UUID for which these IPs should be filtered. * * @generated from field: optional string uuid = 5; */ uuid?: string | undefined; /** - * Machine for which these IPs should be filtered + * Machine for which these IPs should be filtered. * * @generated from field: optional string machine = 6; */ machine?: string | undefined; /** - * ParentPrefixCidr for which this ips should get filtered + * ParentPrefixCidr for which this ips should get filtered. * * @generated from field: optional string parent_prefix_cidr = 7; */ parentPrefixCidr?: string | undefined; /** - * Labels for which these IPs should be filtered + * Labels for which these IPs should be filtered. * * @generated from field: optional metalstack.api.v2.Labels labels = 8; */ labels?: Labels | undefined; /** - * Static if set to true, this will be a Static ip + * Static if set to true, this will be a Static ip. * * @generated from field: optional metalstack.api.v2.IPType type = 9; */ type?: IPType | undefined; /** - * Address family of the IPs to list, defaults to all address families + * Address family of the IPs to list, defaults to all address families. * * @generated from field: optional metalstack.api.v2.IPAddressFamily address_family = 10; */ @@ -325,19 +325,19 @@ export type IPQuery = Message<"metalstack.api.v2.IPQuery"> & { */ export declare const IPQuerySchema: GenMessage; /** - * IPServiceDeleteRequest is the request payload for a ip delete request + * IPServiceDeleteRequest is the request payload for a ip delete request. * * @generated from message metalstack.api.v2.IPServiceDeleteRequest */ export type IPServiceDeleteRequest = Message<"metalstack.api.v2.IPServiceDeleteRequest"> & { /** - * IP of the ip to delete + * IP of the ip to delete. * * @generated from field: string ip = 1; */ ip: string; /** - * Project of the ip + * Project of the ip. * * @generated from field: string project = 2; */ @@ -349,13 +349,13 @@ export type IPServiceDeleteRequest = Message<"metalstack.api.v2.IPServiceDeleteR */ export declare const IPServiceDeleteRequestSchema: GenMessage; /** - * IPServiceGetResponse is the response payload for an IP get request + * IPServiceGetResponse is the response payload for an IP get request. * * @generated from message metalstack.api.v2.IPServiceGetResponse */ export type IPServiceGetResponse = Message<"metalstack.api.v2.IPServiceGetResponse"> & { /** - * Ip the ip + * Ip the ip. * * @generated from field: metalstack.api.v2.IP ip = 1; */ @@ -367,13 +367,13 @@ export type IPServiceGetResponse = Message<"metalstack.api.v2.IPServiceGetRespon */ export declare const IPServiceGetResponseSchema: GenMessage; /** - * IPServiceUpdateResponse is the response payload for a ip update request + * IPServiceUpdateResponse is the response payload for a ip update request. * * @generated from message metalstack.api.v2.IPServiceUpdateResponse */ export type IPServiceUpdateResponse = Message<"metalstack.api.v2.IPServiceUpdateResponse"> & { /** - * Ip the ip + * Ip the ip. * * @generated from field: metalstack.api.v2.IP ip = 1; */ @@ -385,13 +385,13 @@ export type IPServiceUpdateResponse = Message<"metalstack.api.v2.IPServiceUpdate */ export declare const IPServiceUpdateResponseSchema: GenMessage; /** - * IPServiceCreateResponse is the response payload for an IP create request + * IPServiceCreateResponse is the response payload for an IP create request. * * @generated from message metalstack.api.v2.IPServiceCreateResponse */ export type IPServiceCreateResponse = Message<"metalstack.api.v2.IPServiceCreateResponse"> & { /** - * Ip the ip + * Ip the ip. * * @generated from field: metalstack.api.v2.IP ip = 1; */ @@ -403,13 +403,13 @@ export type IPServiceCreateResponse = Message<"metalstack.api.v2.IPServiceCreate */ export declare const IPServiceCreateResponseSchema: GenMessage; /** - * IPServiceListResponse is the response payload for an IP list request + * IPServiceListResponse is the response payload for an IP list request. * * @generated from message metalstack.api.v2.IPServiceListResponse */ export type IPServiceListResponse = Message<"metalstack.api.v2.IPServiceListResponse"> & { /** - * Ips the ips + * Ips the ips. * * @generated from field: repeated metalstack.api.v2.IP ips = 1; */ @@ -421,13 +421,13 @@ export type IPServiceListResponse = Message<"metalstack.api.v2.IPServiceListResp */ export declare const IPServiceListResponseSchema: GenMessage; /** - * IPServiceDeleteResponse is the response payload for an IP delete request + * IPServiceDeleteResponse is the response payload for an IP delete request. * * @generated from message metalstack.api.v2.IPServiceDeleteResponse */ export type IPServiceDeleteResponse = Message<"metalstack.api.v2.IPServiceDeleteResponse"> & { /** - * Ip the ip + * Ip the ip. * * @generated from field: metalstack.api.v2.IP ip = 1; */ @@ -439,25 +439,25 @@ export type IPServiceDeleteResponse = Message<"metalstack.api.v2.IPServiceDelete */ export declare const IPServiceDeleteResponseSchema: GenMessage; /** - * IPType specifies different IP address types + * IPType specifies different IP address types. * * @generated from enum metalstack.api.v2.IPType */ export declare enum IPType { /** - * IP_TYPE_UNSPECIFIED is not specified + * IP_TYPE_UNSPECIFIED is not specified. * * @generated from enum value: IP_TYPE_UNSPECIFIED = 0; */ IP_TYPE_UNSPECIFIED = 0, /** - * IP_TYPE_EPHEMERAL defines an ephemeral IP address which is freed/deleted after usage + * IP_TYPE_EPHEMERAL defines an ephemeral IP address which is freed/deleted after usage. * * @generated from enum value: IP_TYPE_EPHEMERAL = 1; */ IP_TYPE_EPHEMERAL = 1, /** - * IP_TYPE_STATIC defines a static ip address which must be freed/deleted explicitly + * IP_TYPE_STATIC defines a static ip address which must be freed/deleted explicitly. * * @generated from enum value: IP_TYPE_STATIC = 2; */ @@ -468,25 +468,25 @@ export declare enum IPType { */ export declare const IPTypeSchema: GenEnum; /** - * IPAddressFamily defines either IPv4 or IPv6 Addressfamily + * IPAddressFamily defines either IPv4 or IPv6 Addressfamily. * * @generated from enum metalstack.api.v2.IPAddressFamily */ export declare enum IPAddressFamily { /** - * IP_ADDRESS_FAMILY_UNSPECIFIED is not specified + * IP_ADDRESS_FAMILY_UNSPECIFIED is not specified. * * @generated from enum value: IP_ADDRESS_FAMILY_UNSPECIFIED = 0; */ IP_ADDRESS_FAMILY_UNSPECIFIED = 0, /** - * IP_ADDRESS_FAMILY_V4 defines a IPv4 address + * IP_ADDRESS_FAMILY_V4 defines a IPv4 address. * * @generated from enum value: IP_ADDRESS_FAMILY_V4 = 1; */ IP_ADDRESS_FAMILY_V4 = 1, /** - * IP_ADDRESS_FAMILY_V6 defines a IPv6 address + * IP_ADDRESS_FAMILY_V6 defines a IPv6 address. * * @generated from enum value: IP_ADDRESS_FAMILY_V6 = 2; */ diff --git a/js/metalstack/api/v2/ip_pb.js b/js/metalstack/api/v2/ip_pb.js index 0cb1410a..eed41bdc 100644 --- a/js/metalstack/api/v2/ip_pb.js +++ b/js/metalstack/api/v2/ip_pb.js @@ -70,26 +70,26 @@ export const IPServiceListResponseSchema = /*@__PURE__*/ messageDesc(file_metals */ export const IPServiceDeleteResponseSchema = /*@__PURE__*/ messageDesc(file_metalstack_api_v2_ip, 11); /** - * IPType specifies different IP address types + * IPType specifies different IP address types. * * @generated from enum metalstack.api.v2.IPType */ export var IPType; (function (IPType) { /** - * IP_TYPE_UNSPECIFIED is not specified + * IP_TYPE_UNSPECIFIED is not specified. * * @generated from enum value: IP_TYPE_UNSPECIFIED = 0; */ IPType[IPType["IP_TYPE_UNSPECIFIED"] = 0] = "IP_TYPE_UNSPECIFIED"; /** - * IP_TYPE_EPHEMERAL defines an ephemeral IP address which is freed/deleted after usage + * IP_TYPE_EPHEMERAL defines an ephemeral IP address which is freed/deleted after usage. * * @generated from enum value: IP_TYPE_EPHEMERAL = 1; */ IPType[IPType["IP_TYPE_EPHEMERAL"] = 1] = "IP_TYPE_EPHEMERAL"; /** - * IP_TYPE_STATIC defines a static ip address which must be freed/deleted explicitly + * IP_TYPE_STATIC defines a static ip address which must be freed/deleted explicitly. * * @generated from enum value: IP_TYPE_STATIC = 2; */ @@ -100,26 +100,26 @@ export var IPType; */ export const IPTypeSchema = /*@__PURE__*/ enumDesc(file_metalstack_api_v2_ip, 0); /** - * IPAddressFamily defines either IPv4 or IPv6 Addressfamily + * IPAddressFamily defines either IPv4 or IPv6 Addressfamily. * * @generated from enum metalstack.api.v2.IPAddressFamily */ export var IPAddressFamily; (function (IPAddressFamily) { /** - * IP_ADDRESS_FAMILY_UNSPECIFIED is not specified + * IP_ADDRESS_FAMILY_UNSPECIFIED is not specified. * * @generated from enum value: IP_ADDRESS_FAMILY_UNSPECIFIED = 0; */ IPAddressFamily[IPAddressFamily["IP_ADDRESS_FAMILY_UNSPECIFIED"] = 0] = "IP_ADDRESS_FAMILY_UNSPECIFIED"; /** - * IP_ADDRESS_FAMILY_V4 defines a IPv4 address + * IP_ADDRESS_FAMILY_V4 defines a IPv4 address. * * @generated from enum value: IP_ADDRESS_FAMILY_V4 = 1; */ IPAddressFamily[IPAddressFamily["IP_ADDRESS_FAMILY_V4"] = 1] = "IP_ADDRESS_FAMILY_V4"; /** - * IP_ADDRESS_FAMILY_V6 defines a IPv6 address + * IP_ADDRESS_FAMILY_V6 defines a IPv6 address. * * @generated from enum value: IP_ADDRESS_FAMILY_V6 = 2; */ diff --git a/js/metalstack/api/v2/ip_pb.ts b/js/metalstack/api/v2/ip_pb.ts index e45f7eb9..89ae10d4 100644 --- a/js/metalstack/api/v2/ip_pb.ts +++ b/js/metalstack/api/v2/ip_pb.ts @@ -17,70 +17,70 @@ export const file_metalstack_api_v2_ip: GenFile = /*@__PURE__*/ fileDesc("ChptZXRhbHN0YWNrL2FwaS92Mi9pcC5wcm90bxIRbWV0YWxzdGFjay5hcGkudjIisQIKAklQEhYKBHV1aWQYASABKAlCCLpIBXIDsAEBEiUKBG1ldGEYAiABKAsyFy5tZXRhbHN0YWNrLmFwaS52Mi5NZXRhEhMKAmlwGAMgASgJQge6SARyAnABEhkKBG5hbWUYBCABKAlCC7pICHIGwLOusQIBEiAKC2Rlc2NyaXB0aW9uGAUgASgJQgu6SAhyBsizrrECARIcCgduZXR3b3JrGAYgASgJQgu6SAhyBsCzrrECARIZCgdwcm9qZWN0GAcgASgJQgi6SAVyA7ABARIxCgR0eXBlGAggASgOMhkubWV0YWxzdGFjay5hcGkudjIuSVBUeXBlQgi6SAWCAQIQARIgCgluYW1lc3BhY2UYCSABKAlCCLpIBXIDsAEBSACIAQFCDAoKX25hbWVzcGFjZSJ1ChNJUFNlcnZpY2VHZXRSZXF1ZXN0EhMKAmlwGAEgASgJQge6SARyAnABEhkKB3Byb2plY3QYAiABKAlCCLpIBXIDsAEBEiAKCW5hbWVzcGFjZRgDIAEoCUIIukgFcgOwAQFIAIgBAUIMCgpfbmFtZXNwYWNlItgDChZJUFNlcnZpY2VDcmVhdGVSZXF1ZXN0EhwKB25ldHdvcmsYASABKAlCC7pICHIGwLOusQIBEhkKB3Byb2plY3QYAiABKAlCCLpIBXIDsAEBEh4KBG5hbWUYAyABKAlCC7pICHIGwLOusQIBSACIAQESJQoLZGVzY3JpcHRpb24YBCABKAlCC7pICHIGyLOusQIBSAGIAQESGAoCaXAYBSABKAlCB7pIBHICcAFIAogBARIeCgdtYWNoaW5lGAYgASgJQgi6SAVyA7ABAUgDiAEBEi4KBmxhYmVscxgHIAEoCzIZLm1ldGFsc3RhY2suYXBpLnYyLkxhYmVsc0gEiAEBEjYKBHR5cGUYCCABKA4yGS5tZXRhbHN0YWNrLmFwaS52Mi5JUFR5cGVCCLpIBYIBAhABSAWIAQESSQoOYWRkcmVzc19mYW1pbHkYCSABKA4yIi5tZXRhbHN0YWNrLmFwaS52Mi5JUEFkZHJlc3NGYW1pbHlCCLpIBYIBAhABSAaIAQFCBwoFX25hbWVCDgoMX2Rlc2NyaXB0aW9uQgUKA19pcEIKCghfbWFjaGluZUIJCgdfbGFiZWxzQgcKBV90eXBlQhEKD19hZGRyZXNzX2ZhbWlseSLmAgoWSVBTZXJ2aWNlVXBkYXRlUmVxdWVzdBITCgJpcBgBIAEoCUIHukgEcgJwARI6Cgt1cGRhdGVfbWV0YRgCIAEoCzIdLm1ldGFsc3RhY2suYXBpLnYyLlVwZGF0ZU1ldGFCBrpIA8gBARIZCgdwcm9qZWN0GAMgASgJQgi6SAVyA7ABARIeCgRuYW1lGAQgASgJQgu6SAhyBsCzrrECAUgAiAEBEiUKC2Rlc2NyaXB0aW9uGAUgASgJQgu6SAhyBsizrrECAUgBiAEBEjYKBHR5cGUYBiABKA4yGS5tZXRhbHN0YWNrLmFwaS52Mi5JUFR5cGVCCLpIBYIBAhABSAKIAQESNAoGbGFiZWxzGAcgASgLMh8ubWV0YWxzdGFjay5hcGkudjIuVXBkYXRlTGFiZWxzSAOIAQFCBwoFX25hbWVCDgoMX2Rlc2NyaXB0aW9uQgcKBV90eXBlQgkKB19sYWJlbHMiXAoUSVBTZXJ2aWNlTGlzdFJlcXVlc3QSGQoHcHJvamVjdBgBIAEoCUIIukgFcgOwAQESKQoFcXVlcnkYAiABKAsyGi5tZXRhbHN0YWNrLmFwaS52Mi5JUFF1ZXJ5IswECgdJUFF1ZXJ5EhgKAmlwGAEgASgJQge6SARyAnABSACIAQESIQoHbmV0d29yaxgCIAEoCUILukgIcgbAs66xAgFIAYgBARIeCgdwcm9qZWN0GAMgASgJQgi6SAVyA7ABAUgCiAEBEh4KBG5hbWUYBCABKAlCC7pICHIGwLOusQIBSAOIAQESGwoEdXVpZBgFIAEoCUIIukgFcgOwAQFIBIgBARIeCgdtYWNoaW5lGAYgASgJQgi6SAVyA7ABAUgFiAEBEikKEnBhcmVudF9wcmVmaXhfY2lkchgHIAEoCUIIukgFcgPoAQFIBogBARIuCgZsYWJlbHMYCCABKAsyGS5tZXRhbHN0YWNrLmFwaS52Mi5MYWJlbHNIB4gBARI2CgR0eXBlGAkgASgOMhkubWV0YWxzdGFjay5hcGkudjIuSVBUeXBlQgi6SAWCAQIQAUgIiAEBEkkKDmFkZHJlc3NfZmFtaWx5GAogASgOMiIubWV0YWxzdGFjay5hcGkudjIuSVBBZGRyZXNzRmFtaWx5Qgi6SAWCAQIQAUgJiAEBEiAKCW5hbWVzcGFjZRgLIAEoCUIIukgFcgOwAQFICogBAUIFCgNfaXBCCgoIX25ldHdvcmtCCgoIX3Byb2plY3RCBwoFX25hbWVCBwoFX3V1aWRCCgoIX21hY2hpbmVCFQoTX3BhcmVudF9wcmVmaXhfY2lkckIJCgdfbGFiZWxzQgcKBV90eXBlQhEKD19hZGRyZXNzX2ZhbWlseUIMCgpfbmFtZXNwYWNlIkgKFklQU2VydmljZURlbGV0ZVJlcXVlc3QSEwoCaXAYASABKAlCB7pIBHICcAESGQoHcHJvamVjdBgCIAEoCUIIukgFcgOwAQEiOQoUSVBTZXJ2aWNlR2V0UmVzcG9uc2USIQoCaXAYASABKAsyFS5tZXRhbHN0YWNrLmFwaS52Mi5JUCI8ChdJUFNlcnZpY2VVcGRhdGVSZXNwb25zZRIhCgJpcBgBIAEoCzIVLm1ldGFsc3RhY2suYXBpLnYyLklQIjwKF0lQU2VydmljZUNyZWF0ZVJlc3BvbnNlEiEKAmlwGAEgASgLMhUubWV0YWxzdGFjay5hcGkudjIuSVAiOwoVSVBTZXJ2aWNlTGlzdFJlc3BvbnNlEiIKA2lwcxgBIAMoCzIVLm1ldGFsc3RhY2suYXBpLnYyLklQIjwKF0lQU2VydmljZURlbGV0ZVJlc3BvbnNlEiEKAmlwGAEgASgLMhUubWV0YWxzdGFjay5hcGkudjIuSVAqZwoGSVBUeXBlEhcKE0lQX1RZUEVfVU5TUEVDSUZJRUQQABIkChFJUF9UWVBFX0VQSEVNRVJBTBABGg2CshkJZXBoZW1lcmFsEh4KDklQX1RZUEVfU1RBVElDEAIaCoKyGQZzdGF0aWMqfAoPSVBBZGRyZXNzRmFtaWx5EiEKHUlQX0FERFJFU1NfRkFNSUxZX1VOU1BFQ0lGSUVEEAASIgoUSVBfQUREUkVTU19GQU1JTFlfVjQQARoIgrIZBGlwdjQSIgoUSVBfQUREUkVTU19GQU1JTFlfVjYQAhoIgrIZBGlwdjYynwQKCUlQU2VydmljZRJjCgNHZXQSJi5tZXRhbHN0YWNrLmFwaS52Mi5JUFNlcnZpY2VHZXRSZXF1ZXN0GicubWV0YWxzdGFjay5hcGkudjIuSVBTZXJ2aWNlR2V0UmVzcG9uc2UiC8rzGAMBAgPg8xgCEmsKBkNyZWF0ZRIpLm1ldGFsc3RhY2suYXBpLnYyLklQU2VydmljZUNyZWF0ZVJlcXVlc3QaKi5tZXRhbHN0YWNrLmFwaS52Mi5JUFNlcnZpY2VDcmVhdGVSZXNwb25zZSIKyvMYAgEC4PMYARJrCgZVcGRhdGUSKS5tZXRhbHN0YWNrLmFwaS52Mi5JUFNlcnZpY2VVcGRhdGVSZXF1ZXN0GioubWV0YWxzdGFjay5hcGkudjIuSVBTZXJ2aWNlVXBkYXRlUmVzcG9uc2UiCsrzGAIBAuDzGAESZgoETGlzdBInLm1ldGFsc3RhY2suYXBpLnYyLklQU2VydmljZUxpc3RSZXF1ZXN0GigubWV0YWxzdGFjay5hcGkudjIuSVBTZXJ2aWNlTGlzdFJlc3BvbnNlIgvK8xgDAQID4PMYAhJrCgZEZWxldGUSKS5tZXRhbHN0YWNrLmFwaS52Mi5JUFNlcnZpY2VEZWxldGVSZXF1ZXN0GioubWV0YWxzdGFjay5hcGkudjIuSVBTZXJ2aWNlRGVsZXRlUmVzcG9uc2UiCsrzGAIBAuDzGAFCvQEKFWNvbS5tZXRhbHN0YWNrLmFwaS52MkIHSXBQcm90b1ABWjVnaXRodWIuY29tL21ldGFsLXN0YWNrL2FwaS9nby9tZXRhbHN0YWNrL2FwaS92MjthcGl2MqICA01BWKoCEU1ldGFsc3RhY2suQXBpLlYyygIRTWV0YWxzdGFja1xBcGlcVjLiAh1NZXRhbHN0YWNrXEFwaVxWMlxHUEJNZXRhZGF0YeoCE01ldGFsc3RhY2s6OkFwaTo6VjJiBnByb3RvMw", [file_buf_validate_validate, file_metalstack_api_v2_common, file_metalstack_api_v2_predefined_rules]); /** - * IP is an IP address which can be used as loadbalancer addresses + * IP is an IP address which can be used as loadbalancer addresses. * * @generated from message metalstack.api.v2.IP */ export type IP = Message<"metalstack.api.v2.IP"> & { /** - * Uuid of this ip + * Uuid of this ip. * * @generated from field: string uuid = 1; */ uuid: string; /** - * Meta for this ip + * Meta for this ip. * * @generated from field: metalstack.api.v2.Meta meta = 2; */ meta?: Meta | undefined; /** - * Ip is either ipv4 or ipv6 address + * Ip is either ipv4 or ipv6 address. * * @generated from field: string ip = 3; */ ip: string; /** - * Name of this ip + * Name of this ip. * * @generated from field: string name = 4; */ name: string; /** - * Description of this ip + * Description of this ip. * * @generated from field: string description = 5; */ description: string; /** - * Network is the network this ip belongs to + * Network is the network this ip belongs to. * * @generated from field: string network = 6; */ network: string; /** - * Project where this ip address belongs to + * Project where this ip address belongs to. * * @generated from field: string project = 7; */ project: string; /** - * Type of this ip + * Type of this ip. * * @generated from field: metalstack.api.v2.IPType type = 8; */ type: IPType; /** - * 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 if specified this ip is from a namespaced network and can therefore overlap with others. + * Will be equal with project most of the time. * * @generated from field: optional string namespace = 9; */ @@ -95,20 +95,20 @@ export const IPSchema: GenMessage = /*@__PURE__*/ messageDesc(file_metalstack_api_v2_ip, 0); /** - * IPServiceGetRequest is the request payload for an IP get request + * IPServiceGetRequest is the request payload for an IP get request. * * @generated from message metalstack.api.v2.IPServiceGetRequest */ export type IPServiceGetRequest = Message<"metalstack.api.v2.IPServiceGetRequest"> & { /** - * IP of the ip to get + * IP of the ip to get. * * @generated from field: string ip = 1; */ ip: string; /** - * Project of the ip + * Project of the ip. * * @generated from field: string project = 2; */ @@ -130,69 +130,69 @@ export const IPServiceGetRequestSchema: GenMessage = /*@__P messageDesc(file_metalstack_api_v2_ip, 1); /** - * IPServiceCreateRequest is the request payload for an IP create request + * IPServiceCreateRequest is the request payload for an IP create request. * * @generated from message metalstack.api.v2.IPServiceCreateRequest */ export type IPServiceCreateRequest = Message<"metalstack.api.v2.IPServiceCreateRequest"> & { /** - * Network from which the IP should be created + * Network from which the IP should be created. * * @generated from field: string network = 1; */ network: string; /** - * Project of the ip + * Project of the ip. * * @generated from field: string project = 2; */ project: string; /** - * Name of the ip + * Name of the ip. * * @generated from field: optional string name = 3; */ name?: string | undefined; /** - * Description of the ip + * Description of the ip. * * @generated from field: optional string description = 4; */ description?: string | undefined; /** - * IP if given try to create this ip if still available + * IP if given try to create this ip if still available. * * @generated from field: optional string ip = 5; */ ip?: string | undefined; /** - * Machine for which this ip should get created + * Machine for which this ip should get created. * * @generated from field: optional string machine = 6; */ machine?: string | undefined; /** - * Labels to put onto the ip + * Labels to put onto the ip. * * @generated from field: optional metalstack.api.v2.Labels labels = 7; */ labels?: Labels | undefined; /** - * Type of the IP, ether ephemeral (default), or static + * Type of the IP, ether ephemeral (default), or static. * * @generated from field: optional metalstack.api.v2.IPType type = 8; */ type?: IPType | undefined; /** - * Addressfamily of the IP to create, defaults to ipv4 + * Addressfamily of the IP to create, defaults to ipv4. * * @generated from field: optional metalstack.api.v2.IPAddressFamily address_family = 9; */ @@ -207,55 +207,55 @@ export const IPServiceCreateRequestSchema: GenMessage = messageDesc(file_metalstack_api_v2_ip, 2); /** - * IPServiceUpdateRequest is the request payload for an IP update request + * IPServiceUpdateRequest is the request payload for an IP update request. * * @generated from message metalstack.api.v2.IPServiceUpdateRequest */ export type IPServiceUpdateRequest = Message<"metalstack.api.v2.IPServiceUpdateRequest"> & { /** - * Ip the ip address to update + * Ip the ip address to update. * * @generated from field: string ip = 1; */ ip: string; /** - * UpdateMeta contains the timestamp and strategy to be used in this update request + * UpdateMeta contains the timestamp and strategy to be used in this update request. * * @generated from field: metalstack.api.v2.UpdateMeta update_meta = 2; */ updateMeta?: UpdateMeta | undefined; /** - * Project id of the ip + * Project id of the ip. * * @generated from field: string project = 3; */ project: string; /** - * Name of this ip + * Name of this ip. * * @generated from field: optional string name = 4; */ name?: string | undefined; /** - * Description of this ip + * Description of this ip. * * @generated from field: optional string description = 5; */ description?: string | undefined; /** - * Type of this ip + * Type of this ip. * * @generated from field: optional metalstack.api.v2.IPType type = 6; */ type?: IPType | undefined; /** - * Labels on this ip + * Labels on this ip. * * @generated from field: optional metalstack.api.v2.UpdateLabels labels = 7; */ @@ -270,20 +270,20 @@ export const IPServiceUpdateRequestSchema: GenMessage = messageDesc(file_metalstack_api_v2_ip, 3); /** - * IPServiceListRequest is the request payload for an IP list request + * IPServiceListRequest is the request payload for an IP list request. * * @generated from message metalstack.api.v2.IPServiceListRequest */ export type IPServiceListRequest = Message<"metalstack.api.v2.IPServiceListRequest"> & { /** - * Project of the ips to list + * Project of the ips to list. * * @generated from field: string project = 1; */ project: string; /** - * Query to list one or more IPs + * Query to list one or more IPs. * * @generated from field: metalstack.api.v2.IPQuery query = 2; */ @@ -298,76 +298,76 @@ export const IPServiceListRequestSchema: GenMessage = /*@_ messageDesc(file_metalstack_api_v2_ip, 4); /** - * IPQuery can be used to query a IP or a list of IP + * IPQuery can be used to query a IP or a list of IP. * * @generated from message metalstack.api.v2.IPQuery */ export type IPQuery = Message<"metalstack.api.v2.IPQuery"> & { /** - * Ip the ip to list + * Ip the ip to list. * * @generated from field: optional string ip = 1; */ ip?: string | undefined; /** - * Network from which the IPs are to list + * Network from which the IPs are to list. * * @generated from field: optional string network = 2; */ network?: string | undefined; /** - * Project of the ips to list + * Project of the ips to list. * * @generated from field: optional string project = 3; */ project?: string | undefined; /** - * Name of this ip + * Name of this ip. * * @generated from field: optional string name = 4; */ name?: string | undefined; /** - * UUID for which these IPs should be filtered + * UUID for which these IPs should be filtered. * * @generated from field: optional string uuid = 5; */ uuid?: string | undefined; /** - * Machine for which these IPs should be filtered + * Machine for which these IPs should be filtered. * * @generated from field: optional string machine = 6; */ machine?: string | undefined; /** - * ParentPrefixCidr for which this ips should get filtered + * ParentPrefixCidr for which this ips should get filtered. * * @generated from field: optional string parent_prefix_cidr = 7; */ parentPrefixCidr?: string | undefined; /** - * Labels for which these IPs should be filtered + * Labels for which these IPs should be filtered. * * @generated from field: optional metalstack.api.v2.Labels labels = 8; */ labels?: Labels | undefined; /** - * Static if set to true, this will be a Static ip + * Static if set to true, this will be a Static ip. * * @generated from field: optional metalstack.api.v2.IPType type = 9; */ type?: IPType | undefined; /** - * Address family of the IPs to list, defaults to all address families + * Address family of the IPs to list, defaults to all address families. * * @generated from field: optional metalstack.api.v2.IPAddressFamily address_family = 10; */ @@ -389,20 +389,20 @@ export const IPQuerySchema: GenMessage = /*@__PURE__*/ messageDesc(file_metalstack_api_v2_ip, 5); /** - * IPServiceDeleteRequest is the request payload for a ip delete request + * IPServiceDeleteRequest is the request payload for a ip delete request. * * @generated from message metalstack.api.v2.IPServiceDeleteRequest */ export type IPServiceDeleteRequest = Message<"metalstack.api.v2.IPServiceDeleteRequest"> & { /** - * IP of the ip to delete + * IP of the ip to delete. * * @generated from field: string ip = 1; */ ip: string; /** - * Project of the ip + * Project of the ip. * * @generated from field: string project = 2; */ @@ -417,13 +417,13 @@ export const IPServiceDeleteRequestSchema: GenMessage = messageDesc(file_metalstack_api_v2_ip, 6); /** - * IPServiceGetResponse is the response payload for an IP get request + * IPServiceGetResponse is the response payload for an IP get request. * * @generated from message metalstack.api.v2.IPServiceGetResponse */ export type IPServiceGetResponse = Message<"metalstack.api.v2.IPServiceGetResponse"> & { /** - * Ip the ip + * Ip the ip. * * @generated from field: metalstack.api.v2.IP ip = 1; */ @@ -438,13 +438,13 @@ export const IPServiceGetResponseSchema: GenMessage = /*@_ messageDesc(file_metalstack_api_v2_ip, 7); /** - * IPServiceUpdateResponse is the response payload for a ip update request + * IPServiceUpdateResponse is the response payload for a ip update request. * * @generated from message metalstack.api.v2.IPServiceUpdateResponse */ export type IPServiceUpdateResponse = Message<"metalstack.api.v2.IPServiceUpdateResponse"> & { /** - * Ip the ip + * Ip the ip. * * @generated from field: metalstack.api.v2.IP ip = 1; */ @@ -459,13 +459,13 @@ export const IPServiceUpdateResponseSchema: GenMessage messageDesc(file_metalstack_api_v2_ip, 8); /** - * IPServiceCreateResponse is the response payload for an IP create request + * IPServiceCreateResponse is the response payload for an IP create request. * * @generated from message metalstack.api.v2.IPServiceCreateResponse */ export type IPServiceCreateResponse = Message<"metalstack.api.v2.IPServiceCreateResponse"> & { /** - * Ip the ip + * Ip the ip. * * @generated from field: metalstack.api.v2.IP ip = 1; */ @@ -480,13 +480,13 @@ export const IPServiceCreateResponseSchema: GenMessage messageDesc(file_metalstack_api_v2_ip, 9); /** - * IPServiceListResponse is the response payload for an IP list request + * IPServiceListResponse is the response payload for an IP list request. * * @generated from message metalstack.api.v2.IPServiceListResponse */ export type IPServiceListResponse = Message<"metalstack.api.v2.IPServiceListResponse"> & { /** - * Ips the ips + * Ips the ips. * * @generated from field: repeated metalstack.api.v2.IP ips = 1; */ @@ -501,13 +501,13 @@ export const IPServiceListResponseSchema: GenMessage = /* messageDesc(file_metalstack_api_v2_ip, 10); /** - * IPServiceDeleteResponse is the response payload for an IP delete request + * IPServiceDeleteResponse is the response payload for an IP delete request. * * @generated from message metalstack.api.v2.IPServiceDeleteResponse */ export type IPServiceDeleteResponse = Message<"metalstack.api.v2.IPServiceDeleteResponse"> & { /** - * Ip the ip + * Ip the ip. * * @generated from field: metalstack.api.v2.IP ip = 1; */ @@ -522,27 +522,27 @@ export const IPServiceDeleteResponseSchema: GenMessage messageDesc(file_metalstack_api_v2_ip, 11); /** - * IPType specifies different IP address types + * IPType specifies different IP address types. * * @generated from enum metalstack.api.v2.IPType */ export enum IPType { /** - * IP_TYPE_UNSPECIFIED is not specified + * IP_TYPE_UNSPECIFIED is not specified. * * @generated from enum value: IP_TYPE_UNSPECIFIED = 0; */ IP_TYPE_UNSPECIFIED = 0, /** - * IP_TYPE_EPHEMERAL defines an ephemeral IP address which is freed/deleted after usage + * IP_TYPE_EPHEMERAL defines an ephemeral IP address which is freed/deleted after usage. * * @generated from enum value: IP_TYPE_EPHEMERAL = 1; */ IP_TYPE_EPHEMERAL = 1, /** - * IP_TYPE_STATIC defines a static ip address which must be freed/deleted explicitly + * IP_TYPE_STATIC defines a static ip address which must be freed/deleted explicitly. * * @generated from enum value: IP_TYPE_STATIC = 2; */ @@ -556,27 +556,27 @@ export const IPTypeSchema: GenEnum = /*@__PURE__*/ enumDesc(file_metalstack_api_v2_ip, 0); /** - * IPAddressFamily defines either IPv4 or IPv6 Addressfamily + * IPAddressFamily defines either IPv4 or IPv6 Addressfamily. * * @generated from enum metalstack.api.v2.IPAddressFamily */ export enum IPAddressFamily { /** - * IP_ADDRESS_FAMILY_UNSPECIFIED is not specified + * IP_ADDRESS_FAMILY_UNSPECIFIED is not specified. * * @generated from enum value: IP_ADDRESS_FAMILY_UNSPECIFIED = 0; */ IP_ADDRESS_FAMILY_UNSPECIFIED = 0, /** - * IP_ADDRESS_FAMILY_V4 defines a IPv4 address + * IP_ADDRESS_FAMILY_V4 defines a IPv4 address. * * @generated from enum value: IP_ADDRESS_FAMILY_V4 = 1; */ IP_ADDRESS_FAMILY_V4 = 1, /** - * IP_ADDRESS_FAMILY_V6 defines a IPv6 address + * IP_ADDRESS_FAMILY_V6 defines a IPv6 address. * * @generated from enum value: IP_ADDRESS_FAMILY_V6 = 2; */ diff --git a/js/metalstack/api/v2/machine_pb.d.ts b/js/metalstack/api/v2/machine_pb.d.ts index 273ffc3d..21599846 100644 --- a/js/metalstack/api/v2/machine_pb.d.ts +++ b/js/metalstack/api/v2/machine_pb.d.ts @@ -12,19 +12,19 @@ import type { Message } from "@bufbuild/protobuf"; */ export declare const file_metalstack_api_v2_machine: GenFile; /** - * MachineServiceGetRequest is the request payload for a machine get request + * MachineServiceGetRequest is the request payload for a machine get request. * * @generated from message metalstack.api.v2.MachineServiceGetRequest */ export type MachineServiceGetRequest = Message<"metalstack.api.v2.MachineServiceGetRequest"> & { /** - * UUID of the machine to get + * UUID of the machine to get. * * @generated from field: string uuid = 1; */ uuid: string; /** - * Project of the machine + * Project of the machine. * * @generated from field: string project = 2; */ @@ -36,13 +36,13 @@ export type MachineServiceGetRequest = Message<"metalstack.api.v2.MachineService */ export declare const MachineServiceGetRequestSchema: GenMessage; /** - * MachineServiceGetResponse is the response payload for a machine get request + * MachineServiceGetResponse is the response payload for a machine get request. * * @generated from message metalstack.api.v2.MachineServiceGetResponse */ export type MachineServiceGetResponse = Message<"metalstack.api.v2.MachineServiceGetResponse"> & { /** - * Machine is the machine requested + * Machine is the machine requested. * * @generated from field: metalstack.api.v2.Machine machine = 1; */ @@ -54,13 +54,13 @@ export type MachineServiceGetResponse = Message<"metalstack.api.v2.MachineServic */ export declare const MachineServiceGetResponseSchema: GenMessage; /** - * MachineServiceCreateRequest is the request payload for a machine create request + * MachineServiceCreateRequest is the request payload for a machine create request. * * @generated from message metalstack.api.v2.MachineServiceCreateRequest */ export type MachineServiceCreateRequest = Message<"metalstack.api.v2.MachineServiceCreateRequest"> & { /** - * Project of the machine + * Project of the machine. * * @generated from field: string project = 1; */ @@ -68,76 +68,76 @@ export type MachineServiceCreateRequest = Message<"metalstack.api.v2.MachineServ /** * 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 + * Can only be used with ADMIN_ROLE_EDITOR. * * @generated from field: optional string uuid = 2; */ uuid?: string | undefined; /** - * Name of this machine + * Name of this machine. * * @generated from field: string name = 3; */ name: string; /** - * Description for this machine + * Description for this machine. * * @generated from field: optional string description = 4; */ description?: string | undefined; /** - * Hostname the hostname for the allocated machine (defaults to metal) + * Hostname the hostname for the allocated machine (defaults to metal). * * @generated from field: optional string hostname = 5; */ hostname?: string | undefined; /** - * Partition the partition id to assign this machine to, must be omitted if uuid is given + * Partition the partition id to assign this machine to, must be omitted if uuid is given. * * @generated from field: optional string partition = 6; */ partition?: string | undefined; /** - * Size of the machine to create, must be omitted if uuid is given + * Size of the machine to create, must be omitted if uuid is given. * * @generated from field: optional string size = 7; */ size?: string | undefined; /** - * Image which should be installed on this machine + * 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.20260402 - * or in a simplified form which omits the patch version - * - debian-13.0 - * 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. + * - 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. * * @generated from field: string image = 8; */ image: string; /** - * FilesystemLayout which should be applied for the operating system installation + * 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 + * Can be specified to test new fsls during development of fsls. * * @generated from field: optional string filesystem_layout = 9; */ filesystemLayout?: string | undefined; /** - * SSHPublicKeys defines the ssh public key to be installed on the machine to access it via ssh + * SSHPublicKeys defines the ssh public key to be installed on the machine to access it via ssh. * * @generated from field: repeated string ssh_public_keys = 10; */ sshPublicKeys: string[]; /** - * Userdata contains instructions required to bootstrap the machine - * AWS limits the max userdata size to 16k, lets allow twice as much + * Userdata contains instructions required to bootstrap the machine. + * AWS limits the max userdata size to 16k, lets allow twice as much. * * @generated from field: optional string userdata = 11; */ userdata?: string | undefined; /** - * Labels to be attached to this machine allocation + * Labels to be attached to this machine allocation. * * @generated from field: metalstack.api.v2.Labels labels = 12; */ @@ -150,31 +150,31 @@ export type MachineServiceCreateRequest = Message<"metalstack.api.v2.MachineServ networks: MachineAllocationNetwork[]; /** * PlacementTags by default machines are spread across the racks inside a partition for every project. - * if placement tags are provided, the machine candidate has an additional anti-affinity to other machines having the same tags + * if placement tags are provided, the machine candidate has an additional anti-affinity to other machines having the same tags. * * @generated from field: repeated string placement_tags = 14; */ placementTags: string[]; /** - * DNSServer the dns servers used for the machine + * DNSServer the dns servers used for the machine. * * @generated from field: repeated metalstack.api.v2.DNSServer dns_servers = 15; */ dnsServers: DNSServer[]; /** - * NTPServer the ntp servers used for the machine + * NTPServer the ntp servers used for the machine. * * @generated from field: repeated metalstack.api.v2.NTPServer ntp_servers = 16; */ ntpServers: NTPServer[]; /** - * AllocationType of this machine + * AllocationType of this machine. * * @generated from field: metalstack.api.v2.MachineAllocationType allocation_type = 17; */ allocationType: MachineAllocationType; /** - * FirewallSpec provides firewall specific parameters if allocationType is firewall + * FirewallSpec provides firewall specific parameters if allocationType is firewall. * * @generated from field: metalstack.api.v2.FirewallSpec firewall_spec = 18; */ @@ -186,13 +186,13 @@ export type MachineServiceCreateRequest = Message<"metalstack.api.v2.MachineServ */ export declare const MachineServiceCreateRequestSchema: GenMessage; /** - * FirewallSpec contains firewall specific firewall creation parameters + * FirewallSpec contains firewall specific firewall creation parameters. * * @generated from message metalstack.api.v2.FirewallSpec */ export type FirewallSpec = Message<"metalstack.api.v2.FirewallSpec"> & { /** - * FirewallRules to be applied if this is a firewall + * FirewallRules to be applied if this is a firewall. * * @generated from field: metalstack.api.v2.FirewallRules firewall_rules = 1; */ @@ -204,13 +204,13 @@ export type FirewallSpec = Message<"metalstack.api.v2.FirewallSpec"> & { */ export declare const FirewallSpecSchema: GenMessage; /** - * MachineServiceCreateResponse is the response payload for a machine create request + * MachineServiceCreateResponse is the response payload for a machine create request. * * @generated from message metalstack.api.v2.MachineServiceCreateResponse */ export type MachineServiceCreateResponse = Message<"metalstack.api.v2.MachineServiceCreateResponse"> & { /** - * Machine which was created + * Machine which was created. * * @generated from field: metalstack.api.v2.Machine machine = 1; */ @@ -222,43 +222,43 @@ export type MachineServiceCreateResponse = Message<"metalstack.api.v2.MachineSer */ export declare const MachineServiceCreateResponseSchema: GenMessage; /** - * MachineServiceUpdateRequest is the request payload for a machine update request + * MachineServiceUpdateRequest is the request payload for a machine update request. * * @generated from message metalstack.api.v2.MachineServiceUpdateRequest */ export type MachineServiceUpdateRequest = Message<"metalstack.api.v2.MachineServiceUpdateRequest"> & { /** - * UUID of the machine to modify + * UUID of the machine to modify. * * @generated from field: string uuid = 1; */ uuid: string; /** - * UpdateMeta contains the timestamp and strategy to be used in this update request + * UpdateMeta contains the timestamp and strategy to be used in this update request. * * @generated from field: metalstack.api.v2.UpdateMeta update_meta = 2; */ updateMeta?: UpdateMeta | undefined; /** - * Project of the machine + * Project of the machine. * * @generated from field: string project = 3; */ project: string; /** - * Description of this machine allocation + * Description of this machine allocation. * * @generated from field: optional string description = 4; */ description?: string | undefined; /** - * Labels to update on this machine allocation + * Labels to update on this machine allocation. * * @generated from field: optional metalstack.api.v2.UpdateLabels labels = 5; */ labels?: UpdateLabels | undefined; /** - * SSHPublicKeys which should be update of this machine allocation + * SSHPublicKeys which should be update of this machine allocation. * * @generated from field: repeated string ssh_public_keys = 6; */ @@ -270,13 +270,13 @@ export type MachineServiceUpdateRequest = Message<"metalstack.api.v2.MachineServ */ export declare const MachineServiceUpdateRequestSchema: GenMessage; /** - * MachineServiceUpdateResponse is the response payload for a machine update request + * MachineServiceUpdateResponse is the response payload for a machine update request. * * @generated from message metalstack.api.v2.MachineServiceUpdateResponse */ export type MachineServiceUpdateResponse = Message<"metalstack.api.v2.MachineServiceUpdateResponse"> & { /** - * Machine which was updated + * Machine which was updated. * * @generated from field: metalstack.api.v2.Machine machine = 1; */ @@ -288,19 +288,19 @@ export type MachineServiceUpdateResponse = Message<"metalstack.api.v2.MachineSer */ export declare const MachineServiceUpdateResponseSchema: GenMessage; /** - * MachineServiceListRequest is the request payload for a machine list request + * MachineServiceListRequest is the request payload for a machine list request. * * @generated from message metalstack.api.v2.MachineServiceListRequest */ export type MachineServiceListRequest = Message<"metalstack.api.v2.MachineServiceListRequest"> & { /** - * Project of the machines to list + * Project of the machines to list. * * @generated from field: string project = 1; */ project: string; /** - * Query to list one ore more machines + * Query to list one ore more machines. * * @generated from field: metalstack.api.v2.MachineQuery query = 2; */ @@ -312,13 +312,13 @@ export type MachineServiceListRequest = Message<"metalstack.api.v2.MachineServic */ export declare const MachineServiceListRequestSchema: GenMessage; /** - * MachineServiceListResponse is the response payload for a machine list request + * MachineServiceListResponse is the response payload for a machine list request. * * @generated from message metalstack.api.v2.MachineServiceListResponse */ export type MachineServiceListResponse = Message<"metalstack.api.v2.MachineServiceListResponse"> & { /** - * Machines are the machines requested by a list request + * Machines are the machines requested by a list request. * * @generated from field: repeated metalstack.api.v2.Machine machines = 1; */ @@ -330,19 +330,19 @@ export type MachineServiceListResponse = Message<"metalstack.api.v2.MachineServi */ export declare const MachineServiceListResponseSchema: GenMessage; /** - * MachineServiceDeleteRequest is the request payload for a machine delete request + * MachineServiceDeleteRequest is the request payload for a machine delete request. * * @generated from message metalstack.api.v2.MachineServiceDeleteRequest */ export type MachineServiceDeleteRequest = Message<"metalstack.api.v2.MachineServiceDeleteRequest"> & { /** - * UUID of the machine to delete + * UUID of the machine to delete. * * @generated from field: string uuid = 1; */ uuid: string; /** - * Project of the machine + * Project of the machine. * * @generated from field: string project = 2; */ @@ -354,13 +354,13 @@ export type MachineServiceDeleteRequest = Message<"metalstack.api.v2.MachineServ */ export declare const MachineServiceDeleteRequestSchema: GenMessage; /** - * MachineServiceDeleteResponse is the response payload for a machine delete request + * MachineServiceDeleteResponse is the response payload for a machine delete request. * * @generated from message metalstack.api.v2.MachineServiceDeleteResponse */ export type MachineServiceDeleteResponse = Message<"metalstack.api.v2.MachineServiceDeleteResponse"> & { /** - * Machine which was deleted + * Machine which was deleted. * * @generated from field: metalstack.api.v2.Machine machine = 1; */ @@ -372,25 +372,25 @@ export type MachineServiceDeleteResponse = Message<"metalstack.api.v2.MachineSer */ export declare const MachineServiceDeleteResponseSchema: GenMessage; /** - * MachineServiceBMCCommandRequest is the request payload for a machine bmc command + * MachineServiceBMCCommandRequest is the request payload for a machine bmc command. * * @generated from message metalstack.api.v2.MachineServiceBMCCommandRequest */ export type MachineServiceBMCCommandRequest = Message<"metalstack.api.v2.MachineServiceBMCCommandRequest"> & { /** - * UUID of the machine to send the command to + * UUID of the machine to send the command to. * * @generated from field: string uuid = 1; */ uuid: string; /** - * Project of the machine + * Project of the machine. * * @generated from field: string project = 2; */ project: string; /** - * Command to send to the bmc of the machine + * Command to send to the bmc of the machine. * * @generated from field: metalstack.api.v2.MachineBMCCommand command = 3; */ @@ -402,7 +402,7 @@ export type MachineServiceBMCCommandRequest = Message<"metalstack.api.v2.Machine */ export declare const MachineServiceBMCCommandRequestSchema: GenMessage; /** - * MachineServiceBMCCommandResponse is the response payload for a machine bmc command + * MachineServiceBMCCommandResponse is the response payload for a machine bmc command. * * @generated from message metalstack.api.v2.MachineServiceBMCCommandResponse */ @@ -413,19 +413,19 @@ export type MachineServiceBMCCommandResponse = Message<"metalstack.api.v2.Machin */ export declare const MachineServiceBMCCommandResponseSchema: GenMessage; /** - * MachineServiceGetBMCRequest is the request payload for a machine getbmc request + * MachineServiceGetBMCRequest is the request payload for a machine getbmc request. * * @generated from message metalstack.api.v2.MachineServiceGetBMCRequest */ export type MachineServiceGetBMCRequest = Message<"metalstack.api.v2.MachineServiceGetBMCRequest"> & { /** - * UUID of the machine to get + * UUID of the machine to get. * * @generated from field: string uuid = 1; */ uuid: string; /** - * Project of the machine + * Project of the machine. * * @generated from field: string project = 2; */ @@ -437,19 +437,19 @@ export type MachineServiceGetBMCRequest = Message<"metalstack.api.v2.MachineServ */ export declare const MachineServiceGetBMCRequestSchema: GenMessage; /** - * MachineServiceGetBMCResponse is the response payload for a machine getbmc request + * MachineServiceGetBMCResponse is the response payload for a machine getbmc request. * * @generated from message metalstack.api.v2.MachineServiceGetBMCResponse */ export type MachineServiceGetBMCResponse = Message<"metalstack.api.v2.MachineServiceGetBMCResponse"> & { /** - * UUID of the machine + * UUID of the machine. * * @generated from field: string uuid = 1; */ uuid: string; /** - * BMC contains the BMC details of this machine + * BMC contains the BMC details of this machine. * * @generated from field: metalstack.api.v2.MachineBMCReport bmc = 2; */ @@ -467,61 +467,61 @@ export declare const MachineServiceGetBMCResponseSchema: GenMessage & { /** - * UUID of this machine + * UUID of this machine. * * @generated from field: string uuid = 1; */ uuid: string; /** - * Meta for this machine + * Meta for this machine. * * @generated from field: metalstack.api.v2.Meta meta = 2; */ meta?: Meta | undefined; /** - * Partition where this machine resides + * Partition where this machine resides. * * @generated from field: metalstack.api.v2.Partition partition = 3; */ partition?: Partition | undefined; /** - * Rack where this machine is located + * Rack where this machine is located. * * @generated from field: string rack = 4; */ rack: string; /** - * Room where this machine is located + * Room where this machine is located. * * @generated from field: string room = 5; */ room: string; /** - * Size of this machine + * Size of this machine. * * @generated from field: metalstack.api.v2.Size size = 6; */ size?: Size | undefined; /** - * Hardware specs of this machine + * Hardware specs of this machine. * * @generated from field: metalstack.api.v2.MachineHardware hardware = 7; */ hardware?: MachineHardware | undefined; /** - * Allocation details + * Allocation details. * * @generated from field: metalstack.api.v2.MachineAllocation allocation = 8; */ allocation?: MachineAllocation | undefined; /** - * Status contains several status details related to this machine + * Status contains several status details related to this machine. * * @generated from field: metalstack.api.v2.MachineStatus status = 9; */ status?: MachineStatus | undefined; /** - * MachineRecentProvisioningEvents contains the recent provisioning events + * MachineRecentProvisioningEvents contains the recent provisioning events. * * @generated from field: metalstack.api.v2.MachineRecentProvisioningEvents recent_provisioning_events = 10; */ @@ -533,31 +533,31 @@ export type Machine = Message<"metalstack.api.v2.Machine"> & { */ export declare const MachineSchema: GenMessage; /** - * MachineStatus contains several status details related to this machine + * MachineStatus contains several status details related to this machine. * * @generated from message metalstack.api.v2.MachineStatus */ export type MachineStatus = Message<"metalstack.api.v2.MachineStatus"> & { /** - * Condition describes the availability + * Condition describes the availability. * * @generated from field: metalstack.api.v2.MachineCondition condition = 1; */ condition?: MachineCondition | undefined; /** - * LEDState indicates the state of the indicator LED on this machine + * LEDState indicates the state of the indicator LED on this machine. * * @generated from field: metalstack.api.v2.MachineChassisIdentifyLEDState led_state = 2; */ ledState?: MachineChassisIdentifyLEDState | undefined; /** - * Liveliness of this machine + * Liveliness of this machine. * * @generated from field: metalstack.api.v2.MachineLiveliness liveliness = 3; */ liveliness: MachineLiveliness; /** - * MetalHammerVersion the version of metal hammer which put the machine in waiting state + * MetalHammerVersion the version of metal hammer which put the machine in waiting state. * * @generated from field: string metal_hammer_version = 4; */ @@ -569,25 +569,25 @@ export type MachineStatus = Message<"metalstack.api.v2.MachineStatus"> & { */ export declare const MachineStatusSchema: GenMessage; /** - * MachineCondition describes the availability of this machine + * MachineCondition describes the availability of this machine. * * @generated from message metalstack.api.v2.MachineCondition */ export type MachineCondition = Message<"metalstack.api.v2.MachineCondition"> & { /** - * State the state of this machine. empty means available for all + * State the state of this machine. empty means available for al. * * @generated from field: metalstack.api.v2.MachineState state = 1; */ state: MachineState; /** - * Description a description why this machine is in the given state + * Description a description why this machine is in the given state. * * @generated from field: string description = 2; */ description: string; /** - * Issuer the user that changed the state + * Issuer the user that changed the state. * * @generated from field: string issuer = 3; */ @@ -599,111 +599,111 @@ export type MachineCondition = Message<"metalstack.api.v2.MachineCondition"> & { */ export declare const MachineConditionSchema: GenMessage; /** - * MachineAllocation contains properties if this machine is allocated + * MachineAllocation contains properties if this machine is allocated. * * @generated from message metalstack.api.v2.MachineAllocation */ export type MachineAllocation = Message<"metalstack.api.v2.MachineAllocation"> & { /** - * UUID of this machine allocation + * UUID of this machine allocation. * * @generated from field: string uuid = 1; */ uuid: string; /** - * Meta for this machine allocation + * Meta for this machine allocation. * * @generated from field: metalstack.api.v2.Meta meta = 2; */ meta?: Meta | undefined; /** - * Name of this allocation + * Name of this allocation. * * @generated from field: string name = 3; */ name: string; /** - * Description of this allocation + * Description of this allocation. * * @generated from field: string description = 4; */ description: string; /** - * Created By indicates who created this machine allocation + * Created By indicates who created this machine allocation. * * @generated from field: string created_by = 5; */ createdBy: string; /** - * Project of the allocation + * Project of the allocation. * * @generated from field: string project = 6; */ project: string; /** - * Image to be used to install on this machine + * Image to be used to install on this machine. * * @generated from field: metalstack.api.v2.Image image = 7; */ image?: Image | undefined; /** - * FilesystemLayout to create on the disks + * FilesystemLayout to create on the disks. * * @generated from field: metalstack.api.v2.FilesystemLayout filesystem_layout = 8; */ filesystemLayout?: FilesystemLayout | undefined; /** - * Networks this machine should be attached to + * Networks this machine should be attached to. * Order of ips of external networks will be preserved. * * @generated from field: repeated metalstack.api.v2.MachineNetwork networks = 9; */ networks: MachineNetwork[]; /** - * Hostname of the allocated machine + * Hostname of the allocated machine. * * @generated from field: string hostname = 10; */ hostname: string; /** - * SSHPublicKeys which should be installed on this machine + * SSHPublicKeys which should be installed on this machine. * * @generated from field: repeated string ssh_public_keys = 11; */ sshPublicKeys: string[]; /** * Userdata contains instructions required to bootstrap the machine. - * AWS limits the max userdata size to 16k, lets allow twice as much + * AWS limits the max userdata size to 16k, lets allow twice as much. * * @generated from field: string userdata = 12; */ userdata: string; /** - * AllocationType of this machine + * AllocationType of this machine. * * @generated from field: metalstack.api.v2.MachineAllocationType allocation_type = 13; */ allocationType: MachineAllocationType; /** - * FirewallRules to be applied if this is a firewall + * FirewallRules to be applied if this is a firewall. * * @generated from field: metalstack.api.v2.FirewallRules firewall_rules = 14; */ firewallRules?: FirewallRules | undefined; /** - * DNSServers for this machine + * DNSServers for this machine. * * @generated from field: repeated metalstack.api.v2.DNSServer dns_servers = 15; */ dnsServers: DNSServer[]; /** - * NTPServers for this machine + * NTPServers for this machine. * * @generated from field: repeated metalstack.api.v2.NTPServer ntp_servers = 16; */ ntpServers: NTPServer[]; /** - * VPN connection configuration + * VPN connection configuration. * * @generated from field: metalstack.api.v2.MachineVPN vpn = 17; */ @@ -715,20 +715,20 @@ export type MachineAllocation = Message<"metalstack.api.v2.MachineAllocation"> & */ export declare const MachineAllocationSchema: GenMessage; /** - * MachineAllocationNetwork defines which network should be attached to a machine and if ips should be autoacquired + * MachineAllocationNetwork defines which network should be attached to a machine and if ips should be autoacquired. * * @generated from message metalstack.api.v2.MachineAllocationNetwork */ export type MachineAllocationNetwork = Message<"metalstack.api.v2.MachineAllocationNetwork"> & { /** - * Network the id of the network that this machine will be placed in + * Network the id of the network that this machine will be placed in. * * @generated from field: string network = 1; */ network: string; /** - * IPs to to attach to this machine additionally - * If none given, one ip address is acquired per network for the machine + * 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. * * @generated from field: repeated string ips = 2; @@ -741,19 +741,19 @@ export type MachineAllocationNetwork = Message<"metalstack.api.v2.MachineAllocat */ export declare const MachineAllocationNetworkSchema: GenMessage; /** - * FirewallRules can be defined during firewall allocation + * FirewallRules can be defined during firewall allocation. * * @generated from message metalstack.api.v2.FirewallRules */ export type FirewallRules = Message<"metalstack.api.v2.FirewallRules"> & { /** - * Egress list of egress rules to be deployed during firewall allocation + * Egress list of egress rules to be deployed during firewall allocation. * * @generated from field: repeated metalstack.api.v2.FirewallEgressRule egress = 1; */ egress: FirewallEgressRule[]; /** - * Ingress list of ingress rules to be deployed during firewall allocation + * Ingress list of ingress rules to be deployed during firewall allocation. * * @generated from field: repeated metalstack.api.v2.FirewallIngressRule ingress = 2; */ @@ -765,31 +765,31 @@ export type FirewallRules = Message<"metalstack.api.v2.FirewallRules"> & { */ export declare const FirewallRulesSchema: GenMessage; /** - * FirewallEgressRule defines rules for outgoing traffic + * FirewallEgressRule defines rules for outgoing traffic. * * @generated from message metalstack.api.v2.FirewallEgressRule */ export type FirewallEgressRule = Message<"metalstack.api.v2.FirewallEgressRule"> & { /** - * Protocol the protocol for the rule, defaults to tcp + * Protocol the protocol for the rule, defaults to tcp. * * @generated from field: metalstack.api.v2.IPProtocol protocol = 1; */ protocol: IPProtocol; /** - * Ports the ports affected by this rule + * Ports the ports affected by this rule. * * @generated from field: repeated uint32 ports = 2; */ ports: number[]; /** - * To the destination cidrs affected by this rule + * To the destination cidrs affected by this rule. * * @generated from field: repeated string to = 3; */ to: string[]; /** - * Comment for this rule + * Comment for this rule. * * @generated from field: string comment = 4; */ @@ -801,37 +801,37 @@ export type FirewallEgressRule = Message<"metalstack.api.v2.FirewallEgressRule"> */ export declare const FirewallEgressRuleSchema: GenMessage; /** - * FirewallIngressRule defines rules for incoming traffic + * FirewallIngressRule defines rules for incoming traffic. * * @generated from message metalstack.api.v2.FirewallIngressRule */ export type FirewallIngressRule = Message<"metalstack.api.v2.FirewallIngressRule"> & { /** - * Protocol the protocol for the rule, defaults to tcp + * Protocol the protocol for the rule, defaults to tcp. * * @generated from field: metalstack.api.v2.IPProtocol protocol = 1; */ protocol: IPProtocol; /** - * Ports the ports affected by this rule + * Ports the ports affected by this rule. * * @generated from field: repeated uint32 ports = 2; */ ports: number[]; /** - * To the destination cidrs affected by this rule + * To the destination cidrs affected by this rule. * * @generated from field: repeated string to = 3; */ to: string[]; /** - * From the source cidrs affected by this rule + * From the source cidrs affected by this rule. * * @generated from field: repeated string from = 4; */ from: string[]; /** - * Comment for this rule + * Comment for this rule. * * @generated from field: string comment = 5; */ @@ -843,61 +843,61 @@ export type FirewallIngressRule = Message<"metalstack.api.v2.FirewallIngressRule */ export declare const FirewallIngressRuleSchema: GenMessage; /** - * MachineNetwork contains details which network should be created on a allocated machine + * MachineNetwork contains details which network should be created on a allocated machine. * * @generated from message metalstack.api.v2.MachineNetwork */ export type MachineNetwork = Message<"metalstack.api.v2.MachineNetwork"> & { /** - * Network the networkID of the allocated machine in this vrf + * Network the networkID of the allocated machine in this vrf. * * @generated from field: string network = 1; */ network: string; /** - * Prefixes the prefixes of this network + * Prefixes the prefixes of this network. * * @generated from field: repeated string prefixes = 2; */ prefixes: string[]; /** - * DestinationPrefixes prefixes that are reachable within this network + * DestinationPrefixes prefixes that are reachable within this network. * * @generated from field: repeated string destination_prefixes = 3; */ destinationPrefixes: string[]; /** - * IPs the ip addresses of the allocated machine in this vrf + * IPs the ip addresses of the allocated machine in this vrf. * * @generated from field: repeated string ips = 4; */ ips: string[]; /** - * NetworkType the type of network of this vrf + * NetworkType the type of network of this vrf. * * @generated from field: metalstack.api.v2.NetworkType network_type = 5; */ networkType: NetworkType; /** - * NatType what type of nat if any should be used + * NatType what type of nat if any should be used. * * @generated from field: metalstack.api.v2.NATType nat_type = 6; */ natType: NATType; /** - * VRF the vrf id + * VRF the vrf id. * * @generated from field: uint64 vrf = 7; */ vrf: bigint; /** - * ASN the autonomous system number for this network + * ASN the autonomous system number for this network. * * @generated from field: uint32 asn = 8; */ asn: number; /** - * Project is the project uuid associated with this network + * Project is the project uuid associated with this network. * * @generated from field: optional string project = 9; */ @@ -909,37 +909,37 @@ export type MachineNetwork = Message<"metalstack.api.v2.MachineNetwork"> & { */ export declare const MachineNetworkSchema: GenMessage; /** - * MachineHardware contains hardware details + * MachineHardware contains hardware details. * * @generated from message metalstack.api.v2.MachineHardware */ export type MachineHardware = Message<"metalstack.api.v2.MachineHardware"> & { /** - * Memory the total memory of the machine in bytes + * Memory the total memory of the machine in bytes. * * @generated from field: uint64 memory = 1; */ memory: bigint; /** - * Disks the list of block devices of this machine + * Disks the list of block devices of this machine. * * @generated from field: repeated metalstack.api.v2.MachineBlockDevice disks = 2; */ disks: MachineBlockDevice[]; /** - * CPUs the cpu details + * CPUs the cpu details. * * @generated from field: repeated metalstack.api.v2.MetalCPU cpus = 3; */ cpus: MetalCPU[]; /** - * GPUs the gpu details + * GPUs the gpu details. * * @generated from field: repeated metalstack.api.v2.MetalGPU gpus = 4; */ gpus: MetalGPU[]; /** - * Nics the list of network interfaces of this machine + * Nics the list of network interfaces of this machine. * * @generated from field: repeated metalstack.api.v2.MachineNic nics = 5; */ @@ -951,31 +951,31 @@ export type MachineHardware = Message<"metalstack.api.v2.MachineHardware"> & { */ export declare const MachineHardwareSchema: GenMessage; /** - * MetalCPU contains details of a cpu in this machine + * MetalCPU contains details of a cpu in this machine. * * @generated from message metalstack.api.v2.MetalCPU */ export type MetalCPU = Message<"metalstack.api.v2.MetalCPU"> & { /** - * Vendor of this cpu + * Vendor of this cpu. * * @generated from field: string vendor = 1; */ vendor: string; /** - * Model of this cpu + * Model of this cpu. * * @generated from field: string model = 2; */ model: string; /** - * Cores of this cpu + * Cores of this cpu. * * @generated from field: uint32 cores = 3; */ cores: number; /** - * Threads of this cpu + * Threads of this cpu. * * @generated from field: uint32 threads = 4; */ @@ -987,19 +987,19 @@ export type MetalCPU = Message<"metalstack.api.v2.MetalCPU"> & { */ export declare const MetalCPUSchema: GenMessage; /** - * MetalGPU contains details of a gpu in this machine + * MetalGPU contains details of a gpu in this machine. * * @generated from message metalstack.api.v2.MetalGPU */ export type MetalGPU = Message<"metalstack.api.v2.MetalGPU"> & { /** - * Vendor of this gpu + * Vendor of this gpu. * * @generated from field: string vendor = 1; */ vendor: string; /** - * Model of this gpu + * Model of this gpu. * * @generated from field: string model = 2; */ @@ -1011,55 +1011,55 @@ export type MetalGPU = Message<"metalstack.api.v2.MetalGPU"> & { */ export declare const MetalGPUSchema: GenMessage; /** - * MachineNic contains details of a network interface of this machine + * MachineNic contains details of a network interface of this machine. * * @generated from message metalstack.api.v2.MachineNic */ export type MachineNic = Message<"metalstack.api.v2.MachineNic"> & { /** - * Mac the macaddress of this interface + * Mac the macaddress of this interface. * * @generated from field: string mac = 1; */ mac: string; /** - * Name of this interface + * Name of this interface. * * @generated from field: string name = 2; */ name: string; /** - * Identifier the unique identifier of this network interface + * Identifier the unique identifier of this network interface. * * @generated from field: string identifier = 3; */ identifier: string; /** - * Vendor of this network card + * Vendor of this network card. * * @generated from field: string vendor = 4; */ vendor: string; /** - * Model of this network card + * Model of this network card. * * @generated from field: string model = 5; */ model: string; /** - * Speed in bits/second of this network card + * Speed in bits/second of this network card. * * @generated from field: uint64 speed = 6; */ speed: bigint; /** - * Neighbors the neighbors visible to this network interface + * Neighbors the neighbors visible to this network interface. * * @generated from field: repeated metalstack.api.v2.MachineNic neighbors = 7; */ neighbors: MachineNic[]; /** - * Hostname the nic belongs to + * Hostname the nic belongs to. * * @generated from field: string hostname = 8; */ @@ -1071,19 +1071,19 @@ export type MachineNic = Message<"metalstack.api.v2.MachineNic"> & { */ export declare const MachineNicSchema: GenMessage; /** - * MachineBlockDevice contains details of a block device of this machine + * MachineBlockDevice contains details of a block device of this machine. * * @generated from message metalstack.api.v2.MachineBlockDevice */ export type MachineBlockDevice = Message<"metalstack.api.v2.MachineBlockDevice"> & { /** - * Name of this block device + * Name of this block device. * * @generated from field: string name = 1; */ name: string; /** - * Size of this block device in bytes + * Size of this block device in bytes. * * @generated from field: uint64 size = 2; */ @@ -1095,19 +1095,19 @@ export type MachineBlockDevice = Message<"metalstack.api.v2.MachineBlockDevice"> */ export declare const MachineBlockDeviceSchema: GenMessage; /** - * MachineChassisIdentifyLEDState describes the identifier led state + * MachineChassisIdentifyLEDState describes the identifier led state. * * @generated from message metalstack.api.v2.MachineChassisIdentifyLEDState */ export type MachineChassisIdentifyLEDState = Message<"metalstack.api.v2.MachineChassisIdentifyLEDState"> & { /** - * Value the state of this chassis identify LED. empty means LED-OFF + * Value the state of this chassis identify LED. empty means LED-OF. * * @generated from field: string value = 1; */ value: string; /** - * Description a description why this chassis identify LED is in the given state + * Description a description why this chassis identify LED is in the given state. * * @generated from field: string description = 2; */ @@ -1119,49 +1119,49 @@ export type MachineChassisIdentifyLEDState = Message<"metalstack.api.v2.MachineC */ export declare const MachineChassisIdentifyLEDStateSchema: GenMessage; /** - * MachineBMCReport is sent from the metal-bmc to update bmc and power related details + * MachineBMCReport is sent from the metal-bmc to update bmc and power related details. * * @generated from message metalstack.api.v2.MachineBMCReport */ export type MachineBMCReport = Message<"metalstack.api.v2.MachineBMCReport"> & { /** - * Bmc contains bmc details + * Bmc contains bmc details. * * @generated from field: metalstack.api.v2.MachineBMC bmc = 1; */ bmc?: MachineBMC | undefined; /** - * Bios contains bios details + * Bios contains bios details. * * @generated from field: metalstack.api.v2.MachineBios bios = 2; */ bios?: MachineBios | undefined; /** - * Fru contains field replaceable unit details + * Fru contains field replaceable unit details. * * @generated from field: metalstack.api.v2.MachineFRU fru = 3; */ fru?: MachineFRU | undefined; /** - * PowerMetric contains the power statistics of the machine + * PowerMetric contains the power statistics of the machine. * * @generated from field: metalstack.api.v2.MachinePowerMetric power_metric = 4; */ powerMetric?: MachinePowerMetric | undefined; /** - * PowerSupplies contains details about all power supplies and their state + * PowerSupplies contains details about all power supplies and their state. * * @generated from field: repeated metalstack.api.v2.MachinePowerSupply power_supplies = 5; */ powerSupplies: MachinePowerSupply[]; /** - * LedState indicates the state of the indicator LED on this machine + * LedState indicates the state of the indicator LED on this machine. * * @generated from field: metalstack.api.v2.MachineChassisIdentifyLEDState led_state = 6; */ ledState?: MachineChassisIdentifyLEDState | undefined; /** - * UpdatedAt contains the date when this data was last updated + * UpdatedAt contains the date when this data was last updated. * * @generated from field: google.protobuf.Timestamp updated_at = 7; */ @@ -1173,25 +1173,25 @@ export type MachineBMCReport = Message<"metalstack.api.v2.MachineBMCReport"> & { */ export declare const MachineBMCReportSchema: GenMessage; /** - * MachineBios contains BIOS details of this machine + * MachineBios contains BIOS details of this machine. * * @generated from message metalstack.api.v2.MachineBios */ export type MachineBios = Message<"metalstack.api.v2.MachineBios"> & { /** - * Version the bios version + * Version the bios version. * * @generated from field: string version = 1; */ version: string; /** - * Vendor the bios vendor + * Vendor the bios vendor. * * @generated from field: string vendor = 2; */ vendor: string; /** - * Date the bios date as string because every vendor has different ideas how to describe the date + * Date the bios date as string because every vendor has different ideas how to describe the date. * * @generated from field: string date = 3; */ @@ -1203,49 +1203,49 @@ export type MachineBios = Message<"metalstack.api.v2.MachineBios"> & { */ export declare const MachineBiosSchema: GenMessage; /** - * MachineBMC describe details of the ipmi or out of band device + * MachineBMC describe details of the ipmi or out of band device. * * @generated from message metalstack.api.v2.MachineBMC */ export type MachineBMC = Message<"metalstack.api.v2.MachineBMC"> & { /** - * Address of this ipmi device from outside in the form of : + * Address of this ipmi device from outside in the form of :. * * @generated from field: string address = 1; */ address: string; /** - * Mac address of the network interface of this ipmi device + * Mac address of the network interface of this ipmi device. * * @generated from field: string mac = 2; */ mac: string; /** - * User of this ipmi device + * User of this ipmi device. * * @generated from field: string user = 3; */ user: string; /** - * Password of this ipmi device + * Password of this ipmi device. * * @generated from field: string password = 4; */ password: string; /** - * Interface of this ipmi device + * Interface of this ipmi device. * * @generated from field: string interface = 5; */ interface: string; /** - * Version of this bmc device + * Version of this bmc device. * * @generated from field: string version = 6; */ version: string; /** - * PowerState of this machine + * PowerState of this machine. * * @generated from field: string power_state = 7; */ @@ -1257,55 +1257,55 @@ export type MachineBMC = Message<"metalstack.api.v2.MachineBMC"> & { */ export declare const MachineBMCSchema: GenMessage; /** - * MachineFRU describes details to the machine which are required in case of a necessary replacement + * MachineFRU describes details to the machine which are required in case of a necessary replacement. * * @generated from message metalstack.api.v2.MachineFRU */ export type MachineFRU = Message<"metalstack.api.v2.MachineFRU"> & { /** - * ChassisPartNumber is the part number of the machine chassis + * ChassisPartNumber is the part number of the machine chassis. * * @generated from field: optional string chassis_part_number = 1; */ chassisPartNumber?: string | undefined; /** - * ChassisPartSerial is the serial number of the machine chassis + * ChassisPartSerial is the serial number of the machine chassis. * * @generated from field: optional string chassis_part_serial = 2; */ chassisPartSerial?: string | undefined; /** - * BoardMfg is the short description of the mainboard + * BoardMfg is the short description of the mainboard. * * @generated from field: optional string board_mfg = 3; */ boardMfg?: string | undefined; /** - * BoardMfgSerial is the serial number of the mainboard + * BoardMfgSerial is the serial number of the mainboard. * * @generated from field: optional string board_mfg_serial = 4; */ boardMfgSerial?: string | undefined; /** - * BoardPartNumber is the part number of the mainboard + * BoardPartNumber is the part number of the mainboard. * * @generated from field: optional string board_part_number = 5; */ boardPartNumber?: string | undefined; /** - * ProductManufacturer is the manufacturer of the machine + * ProductManufacturer is the manufacturer of the machine. * * @generated from field: optional string product_manufacturer = 6; */ productManufacturer?: string | undefined; /** - * ProductPartNumber is the part number of the machine + * ProductPartNumber is the part number of the machine. * * @generated from field: optional string product_part_number = 7; */ productPartNumber?: string | undefined; /** - * ProductSerial is the serial number of the machine + * ProductSerial is the serial number of the machine. * * @generated from field: optional string product_serial = 8; */ @@ -1317,40 +1317,32 @@ export type MachineFRU = Message<"metalstack.api.v2.MachineFRU"> & { */ export declare const MachineFRUSchema: GenMessage; /** - * MachinePowerMetric contains metrics of the power consumption of a machine + * MachinePowerMetric contains metrics of the power consumption of a machine. * * @generated from message metalstack.api.v2.MachinePowerMetric */ export type MachinePowerMetric = Message<"metalstack.api.v2.MachinePowerMetric"> & { /** - * AverageConsumedWatts shall represent the - * average power level that occurred averaged over the last IntervalInMin - * minutes. + * AverageConsumedWatts shall represent the average power level that occurred averaged over the last IntervalInMin minutes. * * @generated from field: float average_consumed_watts = 1; */ averageConsumedWatts: number; /** - * IntervalInMin shall represent the time - * interval (or window), in minutes, in which the PowerMetrics properties - * are measured over. + * 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. * * @generated from field: float interval_in_min = 2; */ intervalInMin: number; /** - * MaxConsumedWatts shall represent the - * maximum power level in watts that occurred within the last - * IntervalInMin minutes. + * MaxConsumedWatts shall represent the maximum power level in watts that occurred within the last IntervalInMin minutes. * * @generated from field: float max_consumed_watts = 3; */ maxConsumedWatts: number; /** - * MinConsumedWatts shall represent the - * minimum power level in watts that occurred within the last - * IntervalInMin minutes. + * MinConsumedWatts shall represent the minimum power level in watts that occurred within the last IntervalInMin minutes. * * @generated from field: float min_consumed_watts = 4; */ @@ -1362,19 +1354,19 @@ export type MachinePowerMetric = Message<"metalstack.api.v2.MachinePowerMetric"> */ export declare const MachinePowerMetricSchema: GenMessage; /** - * MachinePowerSupply contains details of the power supply of a machine + * MachinePowerSupply contains details of the power supply of a machine. * * @generated from message metalstack.api.v2.MachinePowerSupply */ export type MachinePowerSupply = Message<"metalstack.api.v2.MachinePowerSupply"> & { /** - * Health of the powersupply + * Health of the powersupply. * * @generated from field: string health = 1; */ health: string; /** - * State of the powersupply + * State of the powersupply. * * @generated from field: string state = 2; */ @@ -1386,31 +1378,31 @@ export type MachinePowerSupply = Message<"metalstack.api.v2.MachinePowerSupply"> */ export declare const MachinePowerSupplySchema: GenMessage; /** - * MachineRecentProvisioningEvents the recent provisioning events for this machine + * MachineRecentProvisioningEvents the recent provisioning events for this machine. * * @generated from message metalstack.api.v2.MachineRecentProvisioningEvents */ export type MachineRecentProvisioningEvents = Message<"metalstack.api.v2.MachineRecentProvisioningEvents"> & { /** - * Events the log of recent machine provisioning events + * Events the log of recent machine provisioning events. * * @generated from field: repeated metalstack.api.v2.MachineProvisioningEvent events = 1; */ events: MachineProvisioningEvent[]; /** - * LastEventTime the time where the last event was received + * LastEventTime the time where the last event was received. * * @generated from field: google.protobuf.Timestamp last_event_time = 2; */ lastEventTime?: Timestamp | undefined; /** - * LastErrorEvent the last erroneous event received + * LastErrorEvent the last erroneous event received. * * @generated from field: metalstack.api.v2.MachineProvisioningEvent last_error_event = 3; */ lastErrorEvent?: MachineProvisioningEvent | undefined; /** - * State can be either CrashLoop, FailedReclaim or something else + * State can be either CrashLoop, FailedReclaim or something else. * * @generated from field: metalstack.api.v2.MachineProvisioningEventState state = 4; */ @@ -1422,25 +1414,25 @@ export type MachineRecentProvisioningEvents = Message<"metalstack.api.v2.Machine */ export declare const MachineRecentProvisioningEventsSchema: GenMessage; /** - * MachineProvisioningEvent is an event that has occurred during provisioning + * MachineProvisioningEvent is an event that has occurred during provisioning. * * @generated from message metalstack.api.v2.MachineProvisioningEvent */ export type MachineProvisioningEvent = Message<"metalstack.api.v2.MachineProvisioningEvent"> & { /** - * Time the time that this event was received + * Time the time that this event was received. * * @generated from field: google.protobuf.Timestamp time = 1; */ time?: Timestamp | undefined; /** - * Event the event emitted by the machine + * Event the event emitted by the machine. * * @generated from field: metalstack.api.v2.MachineProvisioningEventType event = 2; */ event: MachineProvisioningEventType; /** - * Message an additional message to add to the event + * Message an additional message to add to the event. * * @generated from field: string message = 3; */ @@ -1452,31 +1444,31 @@ export type MachineProvisioningEvent = Message<"metalstack.api.v2.MachineProvisi */ export declare const MachineProvisioningEventSchema: GenMessage; /** - * MachineVPN contains configuration data for the VPN connection + * MachineVPN contains configuration data for the VPN connection. * * @generated from message metalstack.api.v2.MachineVPN */ export type MachineVPN = Message<"metalstack.api.v2.MachineVPN"> & { /** - * Address of VPN control plane + * Address of VPN control plane. * * @generated from field: string control_plane_address = 1; */ controlPlaneAddress: string; /** - * Auth key used to connect to VPN + * Auth key used to connect to VPN. * * @generated from field: string auth_key = 2; */ authKey: string; /** - * Connected indicate if this machine is connected to the VPN + * Connected indicate if this machine is connected to the VPN. * * @generated from field: bool connected = 3; */ connected: boolean; /** - * IPs of the machine connected to the vpn + * IPs of the machine connected to the vpn. * * @generated from field: repeated string ips = 4; */ @@ -1494,91 +1486,91 @@ export declare const MachineVPNSchema: GenMessage; */ export type MachineQuery = Message<"metalstack.api.v2.MachineQuery"> & { /** - * UUID of the machine to get + * UUID of the machine to get. * * @generated from field: optional string uuid = 1; */ uuid?: string | undefined; /** - * Name of the machine to get + * Name of the machine to get. * * @generated from field: optional string name = 2; */ name?: string | undefined; /** - * Partition of the machine to get + * Partition of the machine to get. * * @generated from field: optional string partition = 3; */ partition?: string | undefined; /** - * Size of the machine to get + * Size of the machine to get. * * @generated from field: optional string size = 4; */ size?: string | undefined; /** - * Rack of the machine to get + * Rack of the machine to get. * * @generated from field: optional string rack = 5; */ rack?: string | undefined; /** - * Room of the machine to get + * Room of the machine to get. * * @generated from field: optional string room = 6; */ room?: string | undefined; /** - * Labels for which this machine should get filtered + * Labels for which this machine should get filtered. * * @generated from field: optional metalstack.api.v2.Labels labels = 7; */ labels?: Labels | undefined; /** - * Allocation specific machine queries + * Allocation specific machine queries. * * @generated from field: optional metalstack.api.v2.MachineAllocationQuery allocation = 8; */ allocation?: MachineAllocationQuery | undefined; /** - * Network specific machine queries + * Network specific machine queries. * * @generated from field: optional metalstack.api.v2.MachineNetworkQuery network = 9; */ network?: MachineNetworkQuery | undefined; /** - * Nic specific machine queries + * Nic specific machine queries. * * @generated from field: optional metalstack.api.v2.MachineNicQuery nic = 10; */ nic?: MachineNicQuery | undefined; /** - * Disk specific machine queries + * Disk specific machine queries. * * @generated from field: optional metalstack.api.v2.MachineDiskQuery disk = 11; */ disk?: MachineDiskQuery | undefined; /** - * Bmc specific machine queries + * Bmc specific machine queries. * * @generated from field: optional metalstack.api.v2.MachineBMCQuery bmc = 12; */ bmc?: MachineBMCQuery | undefined; /** - * Fru specific machine queries + * Fru specific machine queries. * * @generated from field: optional metalstack.api.v2.MachineFRUQuery fru = 13; */ fru?: MachineFRUQuery | undefined; /** - * Hardware specific machine query + * Hardware specific machine query. * * @generated from field: optional metalstack.api.v2.MachineHardwareQuery hardware = 14; */ hardware?: MachineHardwareQuery | undefined; /** - * State this machine has + * State this machine has. * * @generated from field: optional metalstack.api.v2.MachineState state = 15; */ @@ -1611,61 +1603,61 @@ export type MachineQuery = Message<"metalstack.api.v2.MachineQuery"> & { */ export declare const MachineQuerySchema: GenMessage; /** - * MachineAllocationQuery allocation specific query parameters + * MachineAllocationQuery allocation specific query parameters. * * @generated from message metalstack.api.v2.MachineAllocationQuery */ export type MachineAllocationQuery = Message<"metalstack.api.v2.MachineAllocationQuery"> & { /** - * UUID of the allocation of the machine to get + * UUID of the allocation of the machine to get. * * @generated from field: optional string uuid = 1; */ uuid?: string | undefined; /** - * Name of the machine to get + * Name of the machine to get. * * @generated from field: optional string name = 2; */ name?: string | undefined; /** - * Project of the machine to get + * Project of the machine to get. * * @generated from field: optional string project = 3; */ project?: string | undefined; /** - * Image of the machine to get + * Image of the machine to get. * * @generated from field: optional string image = 4; */ image?: string | undefined; /** - * FilesystemLayout of the machine to get + * FilesystemLayout of the machine to get. * * @generated from field: optional string filesystem_layout = 5; */ filesystemLayout?: string | undefined; /** - * Hostname of the machine to get + * Hostname of the machine to get. * * @generated from field: optional string hostname = 6; */ hostname?: string | undefined; /** - * AllocationType of this machine + * AllocationType of this machine. * * @generated from field: optional metalstack.api.v2.MachineAllocationType allocation_type = 7; */ allocationType?: MachineAllocationType | undefined; /** - * Labels for which this machine allocation should get filtered + * Labels for which this machine allocation should get filtered. * * @generated from field: optional metalstack.api.v2.Labels labels = 8; */ labels?: Labels | undefined; /** - * VPN query if this machine has a vpn configuration + * VPN query if this machine has a vpn configuration. * * @generated from field: optional metalstack.api.v2.MachineVPN vpn = 9; */ @@ -1677,43 +1669,43 @@ export type MachineAllocationQuery = Message<"metalstack.api.v2.MachineAllocatio */ export declare const MachineAllocationQuerySchema: GenMessage; /** - * MachineNetworkQuery network specific machine queries + * MachineNetworkQuery network specific machine queries. * * @generated from message metalstack.api.v2.MachineNetworkQuery */ export type MachineNetworkQuery = Message<"metalstack.api.v2.MachineNetworkQuery"> & { /** - * Networks this machine is connected to + * Networks this machine is connected to. * * @generated from field: repeated string networks = 1; */ networks: string[]; /** - * Prefixes this machine is connected to + * Prefixes this machine is connected to. * * @generated from field: repeated string prefixes = 2; */ prefixes: string[]; /** - * DestinationPrefixes this machine is connected to + * DestinationPrefixes this machine is connected to. * * @generated from field: repeated string destination_prefixes = 3; */ destinationPrefixes: string[]; /** - * IPs this machine has + * IPs this machine has. * * @generated from field: repeated string ips = 4; */ ips: string[]; /** - * VRFs this machine is connected to + * VRFs this machine is connected to. * * @generated from field: repeated uint64 vrfs = 5; */ vrfs: bigint[]; /** - * ASNs this machine is connected to + * ASNs this machine is connected to. * * @generated from field: repeated uint32 asns = 6; */ @@ -1725,31 +1717,31 @@ export type MachineNetworkQuery = Message<"metalstack.api.v2.MachineNetworkQuery */ export declare const MachineNetworkQuerySchema: GenMessage; /** - * MachineNicQuery nic specific machine queries + * MachineNicQuery nic specific machine queries. * * @generated from message metalstack.api.v2.MachineNicQuery */ export type MachineNicQuery = Message<"metalstack.api.v2.MachineNicQuery"> & { /** - * Macs this machine nic has + * Macs this machine nic has. * * @generated from field: repeated string macs = 1; */ macs: string[]; /** - * Names this machine nic has + * Names this machine nic has. * * @generated from field: repeated string names = 2; */ names: string[]; /** - * NeighborMacs this machine nic has + * NeighborMacs this machine nic has. * * @generated from field: repeated string neighbor_macs = 3; */ neighborMacs: string[]; /** - * NeighborNames this machine nic has + * NeighborNames this machine nic has. * * @generated from field: repeated string neighbor_names = 4; */ @@ -1761,19 +1753,19 @@ export type MachineNicQuery = Message<"metalstack.api.v2.MachineNicQuery"> & { */ export declare const MachineNicQuerySchema: GenMessage; /** - * MachineDiskQuery disk specific machine queries + * MachineDiskQuery disk specific machine queries. * * @generated from message metalstack.api.v2.MachineDiskQuery */ export type MachineDiskQuery = Message<"metalstack.api.v2.MachineDiskQuery"> & { /** - * Names of disks in this machine + * Names of disks in this machine. * * @generated from field: repeated string names = 1; */ names: string[]; /** - * Sizes of disks in this machine + * Sizes of disks in this machine. * * @generated from field: repeated uint64 sizes = 2; */ @@ -1785,31 +1777,31 @@ export type MachineDiskQuery = Message<"metalstack.api.v2.MachineDiskQuery"> & { */ export declare const MachineDiskQuerySchema: GenMessage; /** - * MachineBMCQuery machine ipmi or bmc specific machine queries + * MachineBMCQuery machine ipmi or bmc specific machine queries. * * @generated from message metalstack.api.v2.MachineBMCQuery */ export type MachineBMCQuery = Message<"metalstack.api.v2.MachineBMCQuery"> & { /** - * Address of the ipmi system of this machine + * Address of the ipmi system of this machine. * * @generated from field: optional string address = 1; */ address?: string | undefined; /** - * Mac of the ipmi system of this machine + * Mac of the ipmi system of this machine. * * @generated from field: optional string mac = 2; */ mac?: string | undefined; /** - * User of the ipmi system of this machine + * User of the ipmi system of this machine. * * @generated from field: optional string user = 3; */ user?: string | undefined; /** - * Interface of the ipmi system of this machine + * Interface of the ipmi system of this machine. * * @generated from field: optional string interface = 4; */ @@ -1821,55 +1813,55 @@ export type MachineBMCQuery = Message<"metalstack.api.v2.MachineBMCQuery"> & { */ export declare const MachineBMCQuerySchema: GenMessage; /** - * MachineFRUQuery machine fru specific machine queries + * MachineFRUQuery machine fru specific machine queries. * * @generated from message metalstack.api.v2.MachineFRUQuery */ export type MachineFRUQuery = Message<"metalstack.api.v2.MachineFRUQuery"> & { /** - * ChassisPartNumber of this machine + * ChassisPartNumber of this machine. * * @generated from field: optional string chassis_part_number = 1; */ chassisPartNumber?: string | undefined; /** - * ChassisPartSerial of this machine + * ChassisPartSerial of this machine. * * @generated from field: optional string chassis_part_serial = 2; */ chassisPartSerial?: string | undefined; /** - * BoardMFG of this machine + * BoardMFG of this machine. * * @generated from field: optional string board_mfg = 3; */ boardMfg?: string | undefined; /** - * BoardSerial of this machine + * BoardSerial of this machine. * * @generated from field: optional string board_serial = 4; */ boardSerial?: string | undefined; /** - * BoardPartNumber of this machine + * BoardPartNumber of this machine. * * @generated from field: optional string board_part_number = 5; */ boardPartNumber?: string | undefined; /** - * ProductManufacturer of this machine + * ProductManufacturer of this machine. * * @generated from field: optional string product_manufacturer = 6; */ productManufacturer?: string | undefined; /** - * ProductPartNumber of this machine + * ProductPartNumber of this machine. * * @generated from field: optional string product_part_number = 7; */ productPartNumber?: string | undefined; /** - * ProductSerial of this machine + * ProductSerial of this machine. * * @generated from field: optional string product_serial = 8; */ @@ -1881,19 +1873,19 @@ export type MachineFRUQuery = Message<"metalstack.api.v2.MachineFRUQuery"> & { */ export declare const MachineFRUQuerySchema: GenMessage; /** - * MachineHardwareQuery machine hardware specific machine queries + * MachineHardwareQuery machine hardware specific machine queries. * * @generated from message metalstack.api.v2.MachineHardwareQuery */ export type MachineHardwareQuery = Message<"metalstack.api.v2.MachineHardwareQuery"> & { /** - * Memory the total memory of the machine in bytes + * Memory the total memory of the machine in bytes. * * @generated from field: optional uint64 memory = 1; */ memory?: bigint | undefined; /** - * CPUCores the number of cpu cores + * CPUCores the number of cpu cores. * * @generated from field: optional uint32 cpu_cores = 2; */ @@ -1905,37 +1897,37 @@ export type MachineHardwareQuery = Message<"metalstack.api.v2.MachineHardwareQue */ export declare const MachineHardwareQuerySchema: GenMessage; /** - * MachineIssuesQuery defines which machine issues should be listed + * MachineIssuesQuery defines which machine issues should be listed. * * @generated from message metalstack.api.v2.MachineIssuesQuery */ export type MachineIssuesQuery = Message<"metalstack.api.v2.MachineIssuesQuery"> & { /** - * MachineQuery to select specific machines + * MachineQuery to select specific machines. * * @generated from field: metalstack.api.v2.MachineQuery machine_query = 1; */ machineQuery?: MachineQuery | undefined; /** - * Only includes the specified machine issue types + * Only includes the specified machine issue types. * * @generated from field: repeated metalstack.api.v2.MachineIssueType only = 2; */ only: MachineIssueType[]; /** - * Omits the specified machine issues + * Omits the specified machine issues. * * @generated from field: repeated metalstack.api.v2.MachineIssueType omit = 3; */ omit: MachineIssueType[]; /** - * Severity filters issue for given severity + * Severity filters issue for given severity. * * @generated from field: optional metalstack.api.v2.MachineIssueSeverity severity = 4; */ severity?: MachineIssueSeverity | undefined; /** - * LastErrorThreshold defines the last error threshold + * LastErrorThreshold defines the last error threshold. * * @generated from field: google.protobuf.Duration last_error_threshold = 5; */ @@ -1947,19 +1939,19 @@ export type MachineIssuesQuery = Message<"metalstack.api.v2.MachineIssuesQuery"> */ export declare const MachineIssuesQuerySchema: GenMessage; /** - * MachineIssues is a list of issues for a machine + * MachineIssues is a list of issues for a machine. * * @generated from message metalstack.api.v2.MachineIssues */ export type MachineIssues = Message<"metalstack.api.v2.MachineIssues"> & { /** - * UUID of the machine for which the issues are listed + * UUID of the machine for which the issues are listed. * * @generated from field: string uuid = 1; */ uuid: string; /** - * Issues of this machine + * Issues of this machine. * * @generated from field: repeated metalstack.api.v2.MachineIssue issues = 2; */ @@ -1971,37 +1963,37 @@ export type MachineIssues = Message<"metalstack.api.v2.MachineIssues"> & { */ export declare const MachineIssuesSchema: GenMessage; /** - * MachineIssue contains details of one issue + * MachineIssue contains details of one issue. * * @generated from message metalstack.api.v2.MachineIssue */ export type MachineIssue = Message<"metalstack.api.v2.MachineIssue"> & { /** - * Type specifies the issue type (id) + * Type specifies the issue type (id). * * @generated from field: metalstack.api.v2.MachineIssueType type = 1; */ type: MachineIssueType; /** - * Severity specifies the severity of an issue + * Severity specifies the severity of an issue. * * @generated from field: metalstack.api.v2.MachineIssueSeverity severity = 2; */ severity: MachineIssueSeverity; /** - * Description provides an issue description + * Description provides an issue description. * * @generated from field: string description = 3; */ description: string; /** - * RefURL provides a link to a more detailed issue description in the metal-stack documentation + * RefURL provides a link to a more detailed issue description in the metal-stack documentation. * * @generated from field: string reference_url = 4; */ referenceUrl: string; /** - * Details may contain additional details on an evaluated issue + * Details may contain additional details on an evaluated issue. * * @generated from field: string details = 5; */ @@ -2013,25 +2005,25 @@ export type MachineIssue = Message<"metalstack.api.v2.MachineIssue"> & { */ export declare const MachineIssueSchema: GenMessage; /** - * IPProtocol defines tcp|udp + * IPProtocol defines tcp|udp. * * @generated from enum metalstack.api.v2.IPProtocol */ export declare enum IPProtocol { /** - * IP_PROTOCOL_UNSPECIFIED is not specified + * IP_PROTOCOL_UNSPECIFIED is not specified. * * @generated from enum value: IP_PROTOCOL_UNSPECIFIED = 0; */ IP_PROTOCOL_UNSPECIFIED = 0, /** - * IP_PROTOCOL_TCP is tcp + * IP_PROTOCOL_TCP is tcp. * * @generated from enum value: IP_PROTOCOL_TCP = 1; */ IP_PROTOCOL_TCP = 1, /** - * IP_PROTOCOL_UDP is udp + * IP_PROTOCOL_UDP is udp. * * @generated from enum value: IP_PROTOCOL_UDP = 2; */ @@ -2042,31 +2034,31 @@ export declare enum IPProtocol { */ export declare const IPProtocolSchema: GenEnum; /** - * MachineState defines if the machine was locked or reserved from a operator + * MachineState defines if the machine was locked or reserved from a operator. * * @generated from enum metalstack.api.v2.MachineState */ export declare enum MachineState { /** - * MACHINE_STATE_UNSPECIFIED is not specified + * MACHINE_STATE_UNSPECIFIED is not specified. * * @generated from enum value: MACHINE_STATE_UNSPECIFIED = 0; */ UNSPECIFIED = 0, /** - * MACHINE_STATE_TAINTED this machine is tainted, i.e. this machine is not considered during random machine allocation, but still by specifying the uuid + * MACHINE_STATE_TAINTED this machine is tainted, i.e. this machine is not considered during random machine allocation, but still by specifying the uui. * * @generated from enum value: MACHINE_STATE_TAINTED = 1; */ TAINTED = 1, /** - * MACHINE_STATE_LOCKED this machine is locked, i.e. this machine cannot be allocated or deleted + * MACHINE_STATE_LOCKED this machine is locked, i.e. this machine cannot be allocated or delete. * * @generated from enum value: MACHINE_STATE_LOCKED = 2; */ LOCKED = 2, /** - * MACHINE_STATE_AVAILABLE this machine is available for all + * MACHINE_STATE_AVAILABLE this machine is available for all. * * @generated from enum value: MACHINE_STATE_AVAILABLE = 3; */ @@ -2077,25 +2069,25 @@ export declare enum MachineState { */ export declare const MachineStateSchema: GenEnum; /** - * MachineProvisioningEventState possible event states + * MachineProvisioningEventState possible event states. * * @generated from enum metalstack.api.v2.MachineProvisioningEventState */ export declare enum MachineProvisioningEventState { /** - * MACHINE_PROVISIONING_EVENT_STATE_UNSPECIFIED is not specified + * MACHINE_PROVISIONING_EVENT_STATE_UNSPECIFIED is not specified. * * @generated from enum value: MACHINE_PROVISIONING_EVENT_STATE_UNSPECIFIED = 0; */ UNSPECIFIED = 0, /** - * MACHINE_PROVISIONING_EVENT_STATE_CRASHLOOP machine is in crash loop + * MACHINE_PROVISIONING_EVENT_STATE_CRASHLOOP machine is in crash loop. * * @generated from enum value: MACHINE_PROVISIONING_EVENT_STATE_CRASHLOOP = 1; */ CRASHLOOP = 1, /** - * MACHINE_PROVISIONING_EVENT_STATE_FAILED_RECLAIM machine is in failed reclaim + * MACHINE_PROVISIONING_EVENT_STATE_FAILED_RECLAIM machine is in failed reclaim. * * @generated from enum value: MACHINE_PROVISIONING_EVENT_STATE_FAILED_RECLAIM = 2; */ @@ -2106,79 +2098,79 @@ export declare enum MachineProvisioningEventState { */ export declare const MachineProvisioningEventStateSchema: GenEnum; /** - * MachineProvisioningEventType defines in which phase the machine actually is + * MachineProvisioningEventType defines in which phase the machine actually is. * * @generated from enum metalstack.api.v2.MachineProvisioningEventType */ export declare enum MachineProvisioningEventType { /** - * MACHINE_PROVISIONING_EVENT_TYPE_UNSPECIFIED is not specified + * MACHINE_PROVISIONING_EVENT_TYPE_UNSPECIFIED is not specified. * * @generated from enum value: MACHINE_PROVISIONING_EVENT_TYPE_UNSPECIFIED = 0; */ UNSPECIFIED = 0, /** - * MACHINE_PROVISIONING_EVENT_TYPE_ALIVE machine is alive + * MACHINE_PROVISIONING_EVENT_TYPE_ALIVE machine is alive. * * @generated from enum value: MACHINE_PROVISIONING_EVENT_TYPE_ALIVE = 1; */ ALIVE = 1, /** - * MACHINE_PROVISIONING_EVENT_TYPE_CRASHED machine crashed + * MACHINE_PROVISIONING_EVENT_TYPE_CRASHED machine crashed. * * @generated from enum value: MACHINE_PROVISIONING_EVENT_TYPE_CRASHED = 2; */ CRASHED = 2, /** - * MACHINE_PROVISIONING_EVENT_TYPE_PXE_BOOTING machine is pxe booting into metal-hammer + * MACHINE_PROVISIONING_EVENT_TYPE_PXE_BOOTING machine is pxe booting into metal-hammer. * * @generated from enum value: MACHINE_PROVISIONING_EVENT_TYPE_PXE_BOOTING = 3; */ PXE_BOOTING = 3, /** - * MACHINE_PROVISIONING_EVENT_TYPE_PLANNED_REBOOT machine got a reboot instruction + * MACHINE_PROVISIONING_EVENT_TYPE_PLANNED_REBOOT machine got a reboot instruction. * * @generated from enum value: MACHINE_PROVISIONING_EVENT_TYPE_PLANNED_REBOOT = 4; */ PLANNED_REBOOT = 4, /** - * MACHINE_PROVISIONING_EVENT_TYPE_PREPARING metal-hammer is preparing the machine + * MACHINE_PROVISIONING_EVENT_TYPE_PREPARING metal-hammer is preparing the machine. * * @generated from enum value: MACHINE_PROVISIONING_EVENT_TYPE_PREPARING = 5; */ PREPARING = 5, /** - * MACHINE_PROVISIONING_EVENT_TYPE_REGISTERING metal-hammer registers machine at the apiserver + * MACHINE_PROVISIONING_EVENT_TYPE_REGISTERING metal-hammer registers machine at the apiserver. * * @generated from enum value: MACHINE_PROVISIONING_EVENT_TYPE_REGISTERING = 6; */ REGISTERING = 6, /** - * MACHINE_PROVISIONING_EVENT_TYPE_WAITING machine is waiting for installation + * MACHINE_PROVISIONING_EVENT_TYPE_WAITING machine is waiting for installation. * * @generated from enum value: MACHINE_PROVISIONING_EVENT_TYPE_WAITING = 7; */ WAITING = 7, /** - * MACHINE_PROVISIONING_EVENT_TYPE_INSTALLING metal-hammer is installing the desired os + * MACHINE_PROVISIONING_EVENT_TYPE_INSTALLING metal-hammer is installing the desired os. * * @generated from enum value: MACHINE_PROVISIONING_EVENT_TYPE_INSTALLING = 8; */ INSTALLING = 8, /** - * MACHINE_PROVISIONING_EVENT_TYPE_BOOTING_NEW_KERNEL metal-hammer completed installation and boots into target os + * MACHINE_PROVISIONING_EVENT_TYPE_BOOTING_NEW_KERNEL metal-hammer completed installation and boots into target os. * * @generated from enum value: MACHINE_PROVISIONING_EVENT_TYPE_BOOTING_NEW_KERNEL = 9; */ BOOTING_NEW_KERNEL = 9, /** - * MACHINE_PROVISIONING_EVENT_TYPE_PHONED_HOME machine is installed and phones home + * MACHINE_PROVISIONING_EVENT_TYPE_PHONED_HOME machine is installed and phones home. * * @generated from enum value: MACHINE_PROVISIONING_EVENT_TYPE_PHONED_HOME = 10; */ PHONED_HOME = 10, /** - * MACHINE_PROVISIONING_EVENT_TYPE_MACHINE_RECLAIM machine is not allocated, but phones home + * MACHINE_PROVISIONING_EVENT_TYPE_MACHINE_RECLAIM machine is not allocated, but phones home. * * @generated from enum value: MACHINE_PROVISIONING_EVENT_TYPE_MACHINE_RECLAIM = 11; */ @@ -2189,31 +2181,31 @@ export declare enum MachineProvisioningEventType { */ export declare const MachineProvisioningEventTypeSchema: GenEnum; /** - * MachineLiveliness specifies the liveliness of a machine + * MachineLiveliness specifies the liveliness of a machine. * * @generated from enum metalstack.api.v2.MachineLiveliness */ export declare enum MachineLiveliness { /** - * MACHINE_LIVELINESS_UNSPECIFIED is not defined + * MACHINE_LIVELINESS_UNSPECIFIED is not defined. * * @generated from enum value: MACHINE_LIVELINESS_UNSPECIFIED = 0; */ UNSPECIFIED = 0, /** - * MACHINE_LIVELINESS_ALIVE liveliness is alive + * MACHINE_LIVELINESS_ALIVE liveliness is alive. * * @generated from enum value: MACHINE_LIVELINESS_ALIVE = 1; */ ALIVE = 1, /** - * MACHINE_LIVELINESS_DEAD liveliness is dead + * MACHINE_LIVELINESS_DEAD liveliness is dead. * * @generated from enum value: MACHINE_LIVELINESS_DEAD = 2; */ DEAD = 2, /** - * MACHINE_LIVELINESS_UNKNOWN liveliness is unknown + * MACHINE_LIVELINESS_UNKNOWN liveliness is unknown. * * @generated from enum value: MACHINE_LIVELINESS_UNKNOWN = 3; */ @@ -2224,25 +2216,25 @@ export declare enum MachineLiveliness { */ export declare const MachineLivelinessSchema: GenEnum; /** - * MachineAllocationType defines if this is a machine or a firewall + * MachineAllocationType defines if this is a machine or a firewall. * * @generated from enum metalstack.api.v2.MachineAllocationType */ export declare enum MachineAllocationType { /** - * MACHINE_ALLOCATION_TYPE_UNSPECIFIED is unspecified + * MACHINE_ALLOCATION_TYPE_UNSPECIFIED is unspecified. * * @generated from enum value: MACHINE_ALLOCATION_TYPE_UNSPECIFIED = 0; */ UNSPECIFIED = 0, /** - * MACHINE_ALLOCATION_TYPE_MACHINE is a machine + * MACHINE_ALLOCATION_TYPE_MACHINE is a machine. * * @generated from enum value: MACHINE_ALLOCATION_TYPE_MACHINE = 1; */ MACHINE = 1, /** - * MACHINE_ALLOCATION_TYPE_FIREWALL is a firewall + * MACHINE_ALLOCATION_TYPE_FIREWALL is a firewall. * * @generated from enum value: MACHINE_ALLOCATION_TYPE_FIREWALL = 2; */ @@ -2253,79 +2245,79 @@ export declare enum MachineAllocationType { */ export declare const MachineAllocationTypeSchema: GenEnum; /** - * MachineBMCCommand defines commands send to the BMC of the machine + * MachineBMCCommand defines commands send to the BMC of the machine. * * @generated from enum metalstack.api.v2.MachineBMCCommand */ export declare enum MachineBMCCommand { /** - * MACHINE_BMC_COMMAND_UNSPECIFIED is not defined + * MACHINE_BMC_COMMAND_UNSPECIFIED is not defined. * * @generated from enum value: MACHINE_BMC_COMMAND_UNSPECIFIED = 0; */ MACHINE_BMC_COMMAND_UNSPECIFIED = 0, /** - * MACHINE_BMC_COMMAND_ON Power on the machine + * MACHINE_BMC_COMMAND_ON Power on the machine. * * @generated from enum value: MACHINE_BMC_COMMAND_ON = 1; */ MACHINE_BMC_COMMAND_ON = 1, /** - * MACHINE_BMC_COMMAND_OFF Power off the machine + * MACHINE_BMC_COMMAND_OFF Power off the machine. * * @generated from enum value: MACHINE_BMC_COMMAND_OFF = 2; */ MACHINE_BMC_COMMAND_OFF = 2, /** - * MACHINE_BMC_COMMAND_RESET Power reset the machine + * MACHINE_BMC_COMMAND_RESET Power reset the machine. * * @generated from enum value: MACHINE_BMC_COMMAND_RESET = 3; */ MACHINE_BMC_COMMAND_RESET = 3, /** - * MACHINE_BMC_COMMAND_CYCLE Power cycle the machine + * MACHINE_BMC_COMMAND_CYCLE Power cycle the machine. * * @generated from enum value: MACHINE_BMC_COMMAND_CYCLE = 4; */ MACHINE_BMC_COMMAND_CYCLE = 4, /** - * MACHINE_BMC_COMMAND_BOOT_TO_BIOS boot the machine into bios + * MACHINE_BMC_COMMAND_BOOT_TO_BIOS boot the machine into bios. * * @generated from enum value: MACHINE_BMC_COMMAND_BOOT_TO_BIOS = 5; */ MACHINE_BMC_COMMAND_BOOT_TO_BIOS = 5, /** - * MACHINE_BMC_COMMAND_BOOT_FROM_DISK boot the machine from hard disk + * MACHINE_BMC_COMMAND_BOOT_FROM_DISK boot the machine from hard disk. * * @generated from enum value: MACHINE_BMC_COMMAND_BOOT_FROM_DISK = 6; */ MACHINE_BMC_COMMAND_BOOT_FROM_DISK = 6, /** - * MACHINE_BMC_COMMAND_BOOT_FROM_PXE boot the machine from pxe + * MACHINE_BMC_COMMAND_BOOT_FROM_PXE boot the machine from pxe. * * @generated from enum value: MACHINE_BMC_COMMAND_BOOT_FROM_PXE = 7; */ MACHINE_BMC_COMMAND_BOOT_FROM_PXE = 7, /** - * MACHINE_BMC_COMMAND_IDENTIFY_LED_ON set identify led of the machine chassis to on + * MACHINE_BMC_COMMAND_IDENTIFY_LED_ON set identify led of the machine chassis to on. * * @generated from enum value: MACHINE_BMC_COMMAND_IDENTIFY_LED_ON = 8; */ MACHINE_BMC_COMMAND_IDENTIFY_LED_ON = 8, /** - * MACHINE_BMC_COMMAND_IDENTIFY_LED_OFF set identify led of the machine chassis to off + * MACHINE_BMC_COMMAND_IDENTIFY_LED_OFF set identify led of the machine chassis to off. * * @generated from enum value: MACHINE_BMC_COMMAND_IDENTIFY_LED_OFF = 9; */ MACHINE_BMC_COMMAND_IDENTIFY_LED_OFF = 9, /** - * MACHINE_BMC_COMMAND_MACHINE_DELETED should be called if the machine was deleted to power cycle and boot into pxe + * MACHINE_BMC_COMMAND_MACHINE_DELETED should be called if the machine was deleted to power cycle and boot into pxe. * * @generated from enum value: MACHINE_BMC_COMMAND_MACHINE_DELETED = 10; */ MACHINE_BMC_COMMAND_MACHINE_DELETED = 10, /** - * MACHINE_BMC_COMMAND_MACHINE_CREATED should be called if the machine was created to set the boot order to boot from disk + * MACHINE_BMC_COMMAND_MACHINE_CREATED should be called if the machine was created to set the boot order to boot from disk. * * @generated from enum value: MACHINE_BMC_COMMAND_MACHINE_CREATED = 11; */ @@ -2336,91 +2328,91 @@ export declare enum MachineBMCCommand { */ export declare const MachineBMCCommandSchema: GenEnum; /** - * MachineIssueType defines which type of issue it is + * MachineIssueType defines which type of issue it is. * * @generated from enum metalstack.api.v2.MachineIssueType */ export declare enum MachineIssueType { /** - * MACHINE_ISSUE_TYPE_UNSPECIFIED type is not specified + * MACHINE_ISSUE_TYPE_UNSPECIFIED type is not specified. * * @generated from enum value: MACHINE_ISSUE_TYPE_UNSPECIFIED = 0; */ UNSPECIFIED = 0, /** - * MACHINE_ISSUE_TYPE_ASN_UNIQUENESS machine asn is not unique + * MACHINE_ISSUE_TYPE_ASN_UNIQUENESS machine asn is not unique. * * @generated from enum value: MACHINE_ISSUE_TYPE_ASN_UNIQUENESS = 1; */ ASN_UNIQUENESS = 1, /** - * MACHINE_ISSUE_TYPE_BMC_INFO_OUTDATED machine bmc info out of date + * MACHINE_ISSUE_TYPE_BMC_INFO_OUTDATED machine bmc info out of date. * * @generated from enum value: MACHINE_ISSUE_TYPE_BMC_INFO_OUTDATED = 2; */ BMC_INFO_OUTDATED = 2, /** - * MACHINE_ISSUE_TYPE_BMC_NON_DISTINCT_IP machine bmc ip is not distinct + * MACHINE_ISSUE_TYPE_BMC_NON_DISTINCT_IP machine bmc ip is not distinct. * * @generated from enum value: MACHINE_ISSUE_TYPE_BMC_NON_DISTINCT_IP = 3; */ BMC_NON_DISTINCT_IP = 3, /** - * MACHINE_ISSUE_TYPE_BMC_WITHOUT_IP machine bmc without ip + * MACHINE_ISSUE_TYPE_BMC_WITHOUT_IP machine bmc without ip. * * @generated from enum value: MACHINE_ISSUE_TYPE_BMC_WITHOUT_IP = 4; */ BMC_WITHOUT_IP = 4, /** - * MACHINE_ISSUE_TYPE_BMC_WITHOUT_MAC machine bmc without mac address + * MACHINE_ISSUE_TYPE_BMC_WITHOUT_MAC machine bmc without mac address. * * @generated from enum value: MACHINE_ISSUE_TYPE_BMC_WITHOUT_MAC = 5; */ BMC_WITHOUT_MAC = 5, /** - * MACHINE_ISSUE_TYPE_CRASH_LOOP machine is in crashloop + * MACHINE_ISSUE_TYPE_CRASH_LOOP machine is in crashloop. * * @generated from enum value: MACHINE_ISSUE_TYPE_CRASH_LOOP = 6; */ CRASH_LOOP = 6, /** - * MACHINE_ISSUE_TYPE_FAILED_MACHINE_RECLAIM machine was not freed after delete + * MACHINE_ISSUE_TYPE_FAILED_MACHINE_RECLAIM machine was not freed after delete. * * @generated from enum value: MACHINE_ISSUE_TYPE_FAILED_MACHINE_RECLAIM = 7; */ FAILED_MACHINE_RECLAIM = 7, /** - * MACHINE_ISSUE_TYPE_LAST_EVENT_ERROR machine last event error + * MACHINE_ISSUE_TYPE_LAST_EVENT_ERROR machine last event error. * * @generated from enum value: MACHINE_ISSUE_TYPE_LAST_EVENT_ERROR = 8; */ LAST_EVENT_ERROR = 8, /** - * MACHINE_ISSUE_TYPE_LIVELINESS_DEAD machine is dead + * MACHINE_ISSUE_TYPE_LIVELINESS_DEAD machine is dead. * * @generated from enum value: MACHINE_ISSUE_TYPE_LIVELINESS_DEAD = 9; */ LIVELINESS_DEAD = 9, /** - * MACHINE_ISSUE_TYPE_LIVELINESS_NOT_AVAILABLE machine liveliness is not available + * MACHINE_ISSUE_TYPE_LIVELINESS_NOT_AVAILABLE machine liveliness is not available. * * @generated from enum value: MACHINE_ISSUE_TYPE_LIVELINESS_NOT_AVAILABLE = 10; */ LIVELINESS_NOT_AVAILABLE = 10, /** - * MACHINE_ISSUE_TYPE_LIVELINESS_UNKNOWN machine liveliness is unknown + * MACHINE_ISSUE_TYPE_LIVELINESS_UNKNOWN machine liveliness is unknown. * * @generated from enum value: MACHINE_ISSUE_TYPE_LIVELINESS_UNKNOWN = 11; */ LIVELINESS_UNKNOWN = 11, /** - * MACHINE_ISSUE_TYPE_NO_EVENT_CONTAINER machine does not have a event container + * MACHINE_ISSUE_TYPE_NO_EVENT_CONTAINER machine does not have a event container. * * @generated from enum value: MACHINE_ISSUE_TYPE_NO_EVENT_CONTAINER = 12; */ NO_EVENT_CONTAINER = 12, /** - * MACHINE_ISSUE_TYPE_NO_PARTITION no partition set + * MACHINE_ISSUE_TYPE_NO_PARTITION no partition set. * * @generated from enum value: MACHINE_ISSUE_TYPE_NO_PARTITION = 13; */ @@ -2431,31 +2423,31 @@ export declare enum MachineIssueType { */ export declare const MachineIssueTypeSchema: GenEnum; /** - * MachineIssueSeverity defines the severity of an issue + * MachineIssueSeverity defines the severity of an issue. * * @generated from enum metalstack.api.v2.MachineIssueSeverity */ export declare enum MachineIssueSeverity { /** - * MACHINE_ISSUE_SEVERITY_UNSPECIFIED severity is not specified + * MACHINE_ISSUE_SEVERITY_UNSPECIFIED severity is not specified. * * @generated from enum value: MACHINE_ISSUE_SEVERITY_UNSPECIFIED = 0; */ UNSPECIFIED = 0, /** - * MACHINE_ISSUE_SEVERITY_MINOR machine issues is of severity minor + * MACHINE_ISSUE_SEVERITY_MINOR machine issues is of severity minor. * * @generated from enum value: MACHINE_ISSUE_SEVERITY_MINOR = 1; */ MINOR = 1, /** - * MACHINE_ISSUE_SEVERITY_MAJOR machine issues is of severity major + * MACHINE_ISSUE_SEVERITY_MAJOR machine issues is of severity major. * * @generated from enum value: MACHINE_ISSUE_SEVERITY_MAJOR = 2; */ MAJOR = 2, /** - * MACHINE_ISSUE_SEVERITY_CRITICAL machine issues is of severity critical + * MACHINE_ISSUE_SEVERITY_CRITICAL machine issues is of severity critical. * * @generated from enum value: MACHINE_ISSUE_SEVERITY_CRITICAL = 3; */ diff --git a/js/metalstack/api/v2/machine_pb.js b/js/metalstack/api/v2/machine_pb.js index 633e7fcb..ebc0ea61 100644 --- a/js/metalstack/api/v2/machine_pb.js +++ b/js/metalstack/api/v2/machine_pb.js @@ -266,26 +266,26 @@ export const MachineIssuesSchema = /*@__PURE__*/ messageDesc(file_metalstack_api */ export const MachineIssueSchema = /*@__PURE__*/ messageDesc(file_metalstack_api_v2_machine, 49); /** - * IPProtocol defines tcp|udp + * IPProtocol defines tcp|udp. * * @generated from enum metalstack.api.v2.IPProtocol */ export var IPProtocol; (function (IPProtocol) { /** - * IP_PROTOCOL_UNSPECIFIED is not specified + * IP_PROTOCOL_UNSPECIFIED is not specified. * * @generated from enum value: IP_PROTOCOL_UNSPECIFIED = 0; */ IPProtocol[IPProtocol["IP_PROTOCOL_UNSPECIFIED"] = 0] = "IP_PROTOCOL_UNSPECIFIED"; /** - * IP_PROTOCOL_TCP is tcp + * IP_PROTOCOL_TCP is tcp. * * @generated from enum value: IP_PROTOCOL_TCP = 1; */ IPProtocol[IPProtocol["IP_PROTOCOL_TCP"] = 1] = "IP_PROTOCOL_TCP"; /** - * IP_PROTOCOL_UDP is udp + * IP_PROTOCOL_UDP is udp. * * @generated from enum value: IP_PROTOCOL_UDP = 2; */ @@ -296,32 +296,32 @@ export var IPProtocol; */ export const IPProtocolSchema = /*@__PURE__*/ enumDesc(file_metalstack_api_v2_machine, 0); /** - * MachineState defines if the machine was locked or reserved from a operator + * MachineState defines if the machine was locked or reserved from a operator. * * @generated from enum metalstack.api.v2.MachineState */ export var MachineState; (function (MachineState) { /** - * MACHINE_STATE_UNSPECIFIED is not specified + * MACHINE_STATE_UNSPECIFIED is not specified. * * @generated from enum value: MACHINE_STATE_UNSPECIFIED = 0; */ MachineState[MachineState["UNSPECIFIED"] = 0] = "UNSPECIFIED"; /** - * MACHINE_STATE_TAINTED this machine is tainted, i.e. this machine is not considered during random machine allocation, but still by specifying the uuid + * MACHINE_STATE_TAINTED this machine is tainted, i.e. this machine is not considered during random machine allocation, but still by specifying the uui. * * @generated from enum value: MACHINE_STATE_TAINTED = 1; */ MachineState[MachineState["TAINTED"] = 1] = "TAINTED"; /** - * MACHINE_STATE_LOCKED this machine is locked, i.e. this machine cannot be allocated or deleted + * MACHINE_STATE_LOCKED this machine is locked, i.e. this machine cannot be allocated or delete. * * @generated from enum value: MACHINE_STATE_LOCKED = 2; */ MachineState[MachineState["LOCKED"] = 2] = "LOCKED"; /** - * MACHINE_STATE_AVAILABLE this machine is available for all + * MACHINE_STATE_AVAILABLE this machine is available for all. * * @generated from enum value: MACHINE_STATE_AVAILABLE = 3; */ @@ -332,26 +332,26 @@ export var MachineState; */ export const MachineStateSchema = /*@__PURE__*/ enumDesc(file_metalstack_api_v2_machine, 1); /** - * MachineProvisioningEventState possible event states + * MachineProvisioningEventState possible event states. * * @generated from enum metalstack.api.v2.MachineProvisioningEventState */ export var MachineProvisioningEventState; (function (MachineProvisioningEventState) { /** - * MACHINE_PROVISIONING_EVENT_STATE_UNSPECIFIED is not specified + * MACHINE_PROVISIONING_EVENT_STATE_UNSPECIFIED is not specified. * * @generated from enum value: MACHINE_PROVISIONING_EVENT_STATE_UNSPECIFIED = 0; */ MachineProvisioningEventState[MachineProvisioningEventState["UNSPECIFIED"] = 0] = "UNSPECIFIED"; /** - * MACHINE_PROVISIONING_EVENT_STATE_CRASHLOOP machine is in crash loop + * MACHINE_PROVISIONING_EVENT_STATE_CRASHLOOP machine is in crash loop. * * @generated from enum value: MACHINE_PROVISIONING_EVENT_STATE_CRASHLOOP = 1; */ MachineProvisioningEventState[MachineProvisioningEventState["CRASHLOOP"] = 1] = "CRASHLOOP"; /** - * MACHINE_PROVISIONING_EVENT_STATE_FAILED_RECLAIM machine is in failed reclaim + * MACHINE_PROVISIONING_EVENT_STATE_FAILED_RECLAIM machine is in failed reclaim. * * @generated from enum value: MACHINE_PROVISIONING_EVENT_STATE_FAILED_RECLAIM = 2; */ @@ -362,80 +362,80 @@ export var MachineProvisioningEventState; */ export const MachineProvisioningEventStateSchema = /*@__PURE__*/ enumDesc(file_metalstack_api_v2_machine, 2); /** - * MachineProvisioningEventType defines in which phase the machine actually is + * MachineProvisioningEventType defines in which phase the machine actually is. * * @generated from enum metalstack.api.v2.MachineProvisioningEventType */ export var MachineProvisioningEventType; (function (MachineProvisioningEventType) { /** - * MACHINE_PROVISIONING_EVENT_TYPE_UNSPECIFIED is not specified + * MACHINE_PROVISIONING_EVENT_TYPE_UNSPECIFIED is not specified. * * @generated from enum value: MACHINE_PROVISIONING_EVENT_TYPE_UNSPECIFIED = 0; */ MachineProvisioningEventType[MachineProvisioningEventType["UNSPECIFIED"] = 0] = "UNSPECIFIED"; /** - * MACHINE_PROVISIONING_EVENT_TYPE_ALIVE machine is alive + * MACHINE_PROVISIONING_EVENT_TYPE_ALIVE machine is alive. * * @generated from enum value: MACHINE_PROVISIONING_EVENT_TYPE_ALIVE = 1; */ MachineProvisioningEventType[MachineProvisioningEventType["ALIVE"] = 1] = "ALIVE"; /** - * MACHINE_PROVISIONING_EVENT_TYPE_CRASHED machine crashed + * MACHINE_PROVISIONING_EVENT_TYPE_CRASHED machine crashed. * * @generated from enum value: MACHINE_PROVISIONING_EVENT_TYPE_CRASHED = 2; */ MachineProvisioningEventType[MachineProvisioningEventType["CRASHED"] = 2] = "CRASHED"; /** - * MACHINE_PROVISIONING_EVENT_TYPE_PXE_BOOTING machine is pxe booting into metal-hammer + * MACHINE_PROVISIONING_EVENT_TYPE_PXE_BOOTING machine is pxe booting into metal-hammer. * * @generated from enum value: MACHINE_PROVISIONING_EVENT_TYPE_PXE_BOOTING = 3; */ MachineProvisioningEventType[MachineProvisioningEventType["PXE_BOOTING"] = 3] = "PXE_BOOTING"; /** - * MACHINE_PROVISIONING_EVENT_TYPE_PLANNED_REBOOT machine got a reboot instruction + * MACHINE_PROVISIONING_EVENT_TYPE_PLANNED_REBOOT machine got a reboot instruction. * * @generated from enum value: MACHINE_PROVISIONING_EVENT_TYPE_PLANNED_REBOOT = 4; */ MachineProvisioningEventType[MachineProvisioningEventType["PLANNED_REBOOT"] = 4] = "PLANNED_REBOOT"; /** - * MACHINE_PROVISIONING_EVENT_TYPE_PREPARING metal-hammer is preparing the machine + * MACHINE_PROVISIONING_EVENT_TYPE_PREPARING metal-hammer is preparing the machine. * * @generated from enum value: MACHINE_PROVISIONING_EVENT_TYPE_PREPARING = 5; */ MachineProvisioningEventType[MachineProvisioningEventType["PREPARING"] = 5] = "PREPARING"; /** - * MACHINE_PROVISIONING_EVENT_TYPE_REGISTERING metal-hammer registers machine at the apiserver + * MACHINE_PROVISIONING_EVENT_TYPE_REGISTERING metal-hammer registers machine at the apiserver. * * @generated from enum value: MACHINE_PROVISIONING_EVENT_TYPE_REGISTERING = 6; */ MachineProvisioningEventType[MachineProvisioningEventType["REGISTERING"] = 6] = "REGISTERING"; /** - * MACHINE_PROVISIONING_EVENT_TYPE_WAITING machine is waiting for installation + * MACHINE_PROVISIONING_EVENT_TYPE_WAITING machine is waiting for installation. * * @generated from enum value: MACHINE_PROVISIONING_EVENT_TYPE_WAITING = 7; */ MachineProvisioningEventType[MachineProvisioningEventType["WAITING"] = 7] = "WAITING"; /** - * MACHINE_PROVISIONING_EVENT_TYPE_INSTALLING metal-hammer is installing the desired os + * MACHINE_PROVISIONING_EVENT_TYPE_INSTALLING metal-hammer is installing the desired os. * * @generated from enum value: MACHINE_PROVISIONING_EVENT_TYPE_INSTALLING = 8; */ MachineProvisioningEventType[MachineProvisioningEventType["INSTALLING"] = 8] = "INSTALLING"; /** - * MACHINE_PROVISIONING_EVENT_TYPE_BOOTING_NEW_KERNEL metal-hammer completed installation and boots into target os + * MACHINE_PROVISIONING_EVENT_TYPE_BOOTING_NEW_KERNEL metal-hammer completed installation and boots into target os. * * @generated from enum value: MACHINE_PROVISIONING_EVENT_TYPE_BOOTING_NEW_KERNEL = 9; */ MachineProvisioningEventType[MachineProvisioningEventType["BOOTING_NEW_KERNEL"] = 9] = "BOOTING_NEW_KERNEL"; /** - * MACHINE_PROVISIONING_EVENT_TYPE_PHONED_HOME machine is installed and phones home + * MACHINE_PROVISIONING_EVENT_TYPE_PHONED_HOME machine is installed and phones home. * * @generated from enum value: MACHINE_PROVISIONING_EVENT_TYPE_PHONED_HOME = 10; */ MachineProvisioningEventType[MachineProvisioningEventType["PHONED_HOME"] = 10] = "PHONED_HOME"; /** - * MACHINE_PROVISIONING_EVENT_TYPE_MACHINE_RECLAIM machine is not allocated, but phones home + * MACHINE_PROVISIONING_EVENT_TYPE_MACHINE_RECLAIM machine is not allocated, but phones home. * * @generated from enum value: MACHINE_PROVISIONING_EVENT_TYPE_MACHINE_RECLAIM = 11; */ @@ -446,32 +446,32 @@ export var MachineProvisioningEventType; */ export const MachineProvisioningEventTypeSchema = /*@__PURE__*/ enumDesc(file_metalstack_api_v2_machine, 3); /** - * MachineLiveliness specifies the liveliness of a machine + * MachineLiveliness specifies the liveliness of a machine. * * @generated from enum metalstack.api.v2.MachineLiveliness */ export var MachineLiveliness; (function (MachineLiveliness) { /** - * MACHINE_LIVELINESS_UNSPECIFIED is not defined + * MACHINE_LIVELINESS_UNSPECIFIED is not defined. * * @generated from enum value: MACHINE_LIVELINESS_UNSPECIFIED = 0; */ MachineLiveliness[MachineLiveliness["UNSPECIFIED"] = 0] = "UNSPECIFIED"; /** - * MACHINE_LIVELINESS_ALIVE liveliness is alive + * MACHINE_LIVELINESS_ALIVE liveliness is alive. * * @generated from enum value: MACHINE_LIVELINESS_ALIVE = 1; */ MachineLiveliness[MachineLiveliness["ALIVE"] = 1] = "ALIVE"; /** - * MACHINE_LIVELINESS_DEAD liveliness is dead + * MACHINE_LIVELINESS_DEAD liveliness is dead. * * @generated from enum value: MACHINE_LIVELINESS_DEAD = 2; */ MachineLiveliness[MachineLiveliness["DEAD"] = 2] = "DEAD"; /** - * MACHINE_LIVELINESS_UNKNOWN liveliness is unknown + * MACHINE_LIVELINESS_UNKNOWN liveliness is unknown. * * @generated from enum value: MACHINE_LIVELINESS_UNKNOWN = 3; */ @@ -482,26 +482,26 @@ export var MachineLiveliness; */ export const MachineLivelinessSchema = /*@__PURE__*/ enumDesc(file_metalstack_api_v2_machine, 4); /** - * MachineAllocationType defines if this is a machine or a firewall + * MachineAllocationType defines if this is a machine or a firewall. * * @generated from enum metalstack.api.v2.MachineAllocationType */ export var MachineAllocationType; (function (MachineAllocationType) { /** - * MACHINE_ALLOCATION_TYPE_UNSPECIFIED is unspecified + * MACHINE_ALLOCATION_TYPE_UNSPECIFIED is unspecified. * * @generated from enum value: MACHINE_ALLOCATION_TYPE_UNSPECIFIED = 0; */ MachineAllocationType[MachineAllocationType["UNSPECIFIED"] = 0] = "UNSPECIFIED"; /** - * MACHINE_ALLOCATION_TYPE_MACHINE is a machine + * MACHINE_ALLOCATION_TYPE_MACHINE is a machine. * * @generated from enum value: MACHINE_ALLOCATION_TYPE_MACHINE = 1; */ MachineAllocationType[MachineAllocationType["MACHINE"] = 1] = "MACHINE"; /** - * MACHINE_ALLOCATION_TYPE_FIREWALL is a firewall + * MACHINE_ALLOCATION_TYPE_FIREWALL is a firewall. * * @generated from enum value: MACHINE_ALLOCATION_TYPE_FIREWALL = 2; */ @@ -512,80 +512,80 @@ export var MachineAllocationType; */ export const MachineAllocationTypeSchema = /*@__PURE__*/ enumDesc(file_metalstack_api_v2_machine, 5); /** - * MachineBMCCommand defines commands send to the BMC of the machine + * MachineBMCCommand defines commands send to the BMC of the machine. * * @generated from enum metalstack.api.v2.MachineBMCCommand */ export var MachineBMCCommand; (function (MachineBMCCommand) { /** - * MACHINE_BMC_COMMAND_UNSPECIFIED is not defined + * MACHINE_BMC_COMMAND_UNSPECIFIED is not defined. * * @generated from enum value: MACHINE_BMC_COMMAND_UNSPECIFIED = 0; */ MachineBMCCommand[MachineBMCCommand["MACHINE_BMC_COMMAND_UNSPECIFIED"] = 0] = "MACHINE_BMC_COMMAND_UNSPECIFIED"; /** - * MACHINE_BMC_COMMAND_ON Power on the machine + * MACHINE_BMC_COMMAND_ON Power on the machine. * * @generated from enum value: MACHINE_BMC_COMMAND_ON = 1; */ MachineBMCCommand[MachineBMCCommand["MACHINE_BMC_COMMAND_ON"] = 1] = "MACHINE_BMC_COMMAND_ON"; /** - * MACHINE_BMC_COMMAND_OFF Power off the machine + * MACHINE_BMC_COMMAND_OFF Power off the machine. * * @generated from enum value: MACHINE_BMC_COMMAND_OFF = 2; */ MachineBMCCommand[MachineBMCCommand["MACHINE_BMC_COMMAND_OFF"] = 2] = "MACHINE_BMC_COMMAND_OFF"; /** - * MACHINE_BMC_COMMAND_RESET Power reset the machine + * MACHINE_BMC_COMMAND_RESET Power reset the machine. * * @generated from enum value: MACHINE_BMC_COMMAND_RESET = 3; */ MachineBMCCommand[MachineBMCCommand["MACHINE_BMC_COMMAND_RESET"] = 3] = "MACHINE_BMC_COMMAND_RESET"; /** - * MACHINE_BMC_COMMAND_CYCLE Power cycle the machine + * MACHINE_BMC_COMMAND_CYCLE Power cycle the machine. * * @generated from enum value: MACHINE_BMC_COMMAND_CYCLE = 4; */ MachineBMCCommand[MachineBMCCommand["MACHINE_BMC_COMMAND_CYCLE"] = 4] = "MACHINE_BMC_COMMAND_CYCLE"; /** - * MACHINE_BMC_COMMAND_BOOT_TO_BIOS boot the machine into bios + * MACHINE_BMC_COMMAND_BOOT_TO_BIOS boot the machine into bios. * * @generated from enum value: MACHINE_BMC_COMMAND_BOOT_TO_BIOS = 5; */ MachineBMCCommand[MachineBMCCommand["MACHINE_BMC_COMMAND_BOOT_TO_BIOS"] = 5] = "MACHINE_BMC_COMMAND_BOOT_TO_BIOS"; /** - * MACHINE_BMC_COMMAND_BOOT_FROM_DISK boot the machine from hard disk + * MACHINE_BMC_COMMAND_BOOT_FROM_DISK boot the machine from hard disk. * * @generated from enum value: MACHINE_BMC_COMMAND_BOOT_FROM_DISK = 6; */ MachineBMCCommand[MachineBMCCommand["MACHINE_BMC_COMMAND_BOOT_FROM_DISK"] = 6] = "MACHINE_BMC_COMMAND_BOOT_FROM_DISK"; /** - * MACHINE_BMC_COMMAND_BOOT_FROM_PXE boot the machine from pxe + * MACHINE_BMC_COMMAND_BOOT_FROM_PXE boot the machine from pxe. * * @generated from enum value: MACHINE_BMC_COMMAND_BOOT_FROM_PXE = 7; */ MachineBMCCommand[MachineBMCCommand["MACHINE_BMC_COMMAND_BOOT_FROM_PXE"] = 7] = "MACHINE_BMC_COMMAND_BOOT_FROM_PXE"; /** - * MACHINE_BMC_COMMAND_IDENTIFY_LED_ON set identify led of the machine chassis to on + * MACHINE_BMC_COMMAND_IDENTIFY_LED_ON set identify led of the machine chassis to on. * * @generated from enum value: MACHINE_BMC_COMMAND_IDENTIFY_LED_ON = 8; */ MachineBMCCommand[MachineBMCCommand["MACHINE_BMC_COMMAND_IDENTIFY_LED_ON"] = 8] = "MACHINE_BMC_COMMAND_IDENTIFY_LED_ON"; /** - * MACHINE_BMC_COMMAND_IDENTIFY_LED_OFF set identify led of the machine chassis to off + * MACHINE_BMC_COMMAND_IDENTIFY_LED_OFF set identify led of the machine chassis to off. * * @generated from enum value: MACHINE_BMC_COMMAND_IDENTIFY_LED_OFF = 9; */ MachineBMCCommand[MachineBMCCommand["MACHINE_BMC_COMMAND_IDENTIFY_LED_OFF"] = 9] = "MACHINE_BMC_COMMAND_IDENTIFY_LED_OFF"; /** - * MACHINE_BMC_COMMAND_MACHINE_DELETED should be called if the machine was deleted to power cycle and boot into pxe + * MACHINE_BMC_COMMAND_MACHINE_DELETED should be called if the machine was deleted to power cycle and boot into pxe. * * @generated from enum value: MACHINE_BMC_COMMAND_MACHINE_DELETED = 10; */ MachineBMCCommand[MachineBMCCommand["MACHINE_BMC_COMMAND_MACHINE_DELETED"] = 10] = "MACHINE_BMC_COMMAND_MACHINE_DELETED"; /** - * MACHINE_BMC_COMMAND_MACHINE_CREATED should be called if the machine was created to set the boot order to boot from disk + * MACHINE_BMC_COMMAND_MACHINE_CREATED should be called if the machine was created to set the boot order to boot from disk. * * @generated from enum value: MACHINE_BMC_COMMAND_MACHINE_CREATED = 11; */ @@ -596,92 +596,92 @@ export var MachineBMCCommand; */ export const MachineBMCCommandSchema = /*@__PURE__*/ enumDesc(file_metalstack_api_v2_machine, 6); /** - * MachineIssueType defines which type of issue it is + * MachineIssueType defines which type of issue it is. * * @generated from enum metalstack.api.v2.MachineIssueType */ export var MachineIssueType; (function (MachineIssueType) { /** - * MACHINE_ISSUE_TYPE_UNSPECIFIED type is not specified + * MACHINE_ISSUE_TYPE_UNSPECIFIED type is not specified. * * @generated from enum value: MACHINE_ISSUE_TYPE_UNSPECIFIED = 0; */ MachineIssueType[MachineIssueType["UNSPECIFIED"] = 0] = "UNSPECIFIED"; /** - * MACHINE_ISSUE_TYPE_ASN_UNIQUENESS machine asn is not unique + * MACHINE_ISSUE_TYPE_ASN_UNIQUENESS machine asn is not unique. * * @generated from enum value: MACHINE_ISSUE_TYPE_ASN_UNIQUENESS = 1; */ MachineIssueType[MachineIssueType["ASN_UNIQUENESS"] = 1] = "ASN_UNIQUENESS"; /** - * MACHINE_ISSUE_TYPE_BMC_INFO_OUTDATED machine bmc info out of date + * MACHINE_ISSUE_TYPE_BMC_INFO_OUTDATED machine bmc info out of date. * * @generated from enum value: MACHINE_ISSUE_TYPE_BMC_INFO_OUTDATED = 2; */ MachineIssueType[MachineIssueType["BMC_INFO_OUTDATED"] = 2] = "BMC_INFO_OUTDATED"; /** - * MACHINE_ISSUE_TYPE_BMC_NON_DISTINCT_IP machine bmc ip is not distinct + * MACHINE_ISSUE_TYPE_BMC_NON_DISTINCT_IP machine bmc ip is not distinct. * * @generated from enum value: MACHINE_ISSUE_TYPE_BMC_NON_DISTINCT_IP = 3; */ MachineIssueType[MachineIssueType["BMC_NON_DISTINCT_IP"] = 3] = "BMC_NON_DISTINCT_IP"; /** - * MACHINE_ISSUE_TYPE_BMC_WITHOUT_IP machine bmc without ip + * MACHINE_ISSUE_TYPE_BMC_WITHOUT_IP machine bmc without ip. * * @generated from enum value: MACHINE_ISSUE_TYPE_BMC_WITHOUT_IP = 4; */ MachineIssueType[MachineIssueType["BMC_WITHOUT_IP"] = 4] = "BMC_WITHOUT_IP"; /** - * MACHINE_ISSUE_TYPE_BMC_WITHOUT_MAC machine bmc without mac address + * MACHINE_ISSUE_TYPE_BMC_WITHOUT_MAC machine bmc without mac address. * * @generated from enum value: MACHINE_ISSUE_TYPE_BMC_WITHOUT_MAC = 5; */ MachineIssueType[MachineIssueType["BMC_WITHOUT_MAC"] = 5] = "BMC_WITHOUT_MAC"; /** - * MACHINE_ISSUE_TYPE_CRASH_LOOP machine is in crashloop + * MACHINE_ISSUE_TYPE_CRASH_LOOP machine is in crashloop. * * @generated from enum value: MACHINE_ISSUE_TYPE_CRASH_LOOP = 6; */ MachineIssueType[MachineIssueType["CRASH_LOOP"] = 6] = "CRASH_LOOP"; /** - * MACHINE_ISSUE_TYPE_FAILED_MACHINE_RECLAIM machine was not freed after delete + * MACHINE_ISSUE_TYPE_FAILED_MACHINE_RECLAIM machine was not freed after delete. * * @generated from enum value: MACHINE_ISSUE_TYPE_FAILED_MACHINE_RECLAIM = 7; */ MachineIssueType[MachineIssueType["FAILED_MACHINE_RECLAIM"] = 7] = "FAILED_MACHINE_RECLAIM"; /** - * MACHINE_ISSUE_TYPE_LAST_EVENT_ERROR machine last event error + * MACHINE_ISSUE_TYPE_LAST_EVENT_ERROR machine last event error. * * @generated from enum value: MACHINE_ISSUE_TYPE_LAST_EVENT_ERROR = 8; */ MachineIssueType[MachineIssueType["LAST_EVENT_ERROR"] = 8] = "LAST_EVENT_ERROR"; /** - * MACHINE_ISSUE_TYPE_LIVELINESS_DEAD machine is dead + * MACHINE_ISSUE_TYPE_LIVELINESS_DEAD machine is dead. * * @generated from enum value: MACHINE_ISSUE_TYPE_LIVELINESS_DEAD = 9; */ MachineIssueType[MachineIssueType["LIVELINESS_DEAD"] = 9] = "LIVELINESS_DEAD"; /** - * MACHINE_ISSUE_TYPE_LIVELINESS_NOT_AVAILABLE machine liveliness is not available + * MACHINE_ISSUE_TYPE_LIVELINESS_NOT_AVAILABLE machine liveliness is not available. * * @generated from enum value: MACHINE_ISSUE_TYPE_LIVELINESS_NOT_AVAILABLE = 10; */ MachineIssueType[MachineIssueType["LIVELINESS_NOT_AVAILABLE"] = 10] = "LIVELINESS_NOT_AVAILABLE"; /** - * MACHINE_ISSUE_TYPE_LIVELINESS_UNKNOWN machine liveliness is unknown + * MACHINE_ISSUE_TYPE_LIVELINESS_UNKNOWN machine liveliness is unknown. * * @generated from enum value: MACHINE_ISSUE_TYPE_LIVELINESS_UNKNOWN = 11; */ MachineIssueType[MachineIssueType["LIVELINESS_UNKNOWN"] = 11] = "LIVELINESS_UNKNOWN"; /** - * MACHINE_ISSUE_TYPE_NO_EVENT_CONTAINER machine does not have a event container + * MACHINE_ISSUE_TYPE_NO_EVENT_CONTAINER machine does not have a event container. * * @generated from enum value: MACHINE_ISSUE_TYPE_NO_EVENT_CONTAINER = 12; */ MachineIssueType[MachineIssueType["NO_EVENT_CONTAINER"] = 12] = "NO_EVENT_CONTAINER"; /** - * MACHINE_ISSUE_TYPE_NO_PARTITION no partition set + * MACHINE_ISSUE_TYPE_NO_PARTITION no partition set. * * @generated from enum value: MACHINE_ISSUE_TYPE_NO_PARTITION = 13; */ @@ -692,32 +692,32 @@ export var MachineIssueType; */ export const MachineIssueTypeSchema = /*@__PURE__*/ enumDesc(file_metalstack_api_v2_machine, 7); /** - * MachineIssueSeverity defines the severity of an issue + * MachineIssueSeverity defines the severity of an issue. * * @generated from enum metalstack.api.v2.MachineIssueSeverity */ export var MachineIssueSeverity; (function (MachineIssueSeverity) { /** - * MACHINE_ISSUE_SEVERITY_UNSPECIFIED severity is not specified + * MACHINE_ISSUE_SEVERITY_UNSPECIFIED severity is not specified. * * @generated from enum value: MACHINE_ISSUE_SEVERITY_UNSPECIFIED = 0; */ MachineIssueSeverity[MachineIssueSeverity["UNSPECIFIED"] = 0] = "UNSPECIFIED"; /** - * MACHINE_ISSUE_SEVERITY_MINOR machine issues is of severity minor + * MACHINE_ISSUE_SEVERITY_MINOR machine issues is of severity minor. * * @generated from enum value: MACHINE_ISSUE_SEVERITY_MINOR = 1; */ MachineIssueSeverity[MachineIssueSeverity["MINOR"] = 1] = "MINOR"; /** - * MACHINE_ISSUE_SEVERITY_MAJOR machine issues is of severity major + * MACHINE_ISSUE_SEVERITY_MAJOR machine issues is of severity major. * * @generated from enum value: MACHINE_ISSUE_SEVERITY_MAJOR = 2; */ MachineIssueSeverity[MachineIssueSeverity["MAJOR"] = 2] = "MAJOR"; /** - * MACHINE_ISSUE_SEVERITY_CRITICAL machine issues is of severity critical + * MACHINE_ISSUE_SEVERITY_CRITICAL machine issues is of severity critical. * * @generated from enum value: MACHINE_ISSUE_SEVERITY_CRITICAL = 3; */ diff --git a/js/metalstack/api/v2/machine_pb.ts b/js/metalstack/api/v2/machine_pb.ts index 76a0fe40..31fa7234 100644 --- a/js/metalstack/api/v2/machine_pb.ts +++ b/js/metalstack/api/v2/machine_pb.ts @@ -29,20 +29,20 @@ export const file_metalstack_api_v2_machine: GenFile = /*@__PURE__*/ fileDesc("Ch9tZXRhbHN0YWNrL2FwaS92Mi9tYWNoaW5lLnByb3RvEhFtZXRhbHN0YWNrLmFwaS52MiJNChhNYWNoaW5lU2VydmljZUdldFJlcXVlc3QSFgoEdXVpZBgBIAEoCUIIukgFcgOwAQESGQoHcHJvamVjdBgCIAEoCUIIukgFcgOwAQEiSAoZTWFjaGluZVNlcnZpY2VHZXRSZXNwb25zZRIrCgdtYWNoaW5lGAEgASgLMhoubWV0YWxzdGFjay5hcGkudjIuTWFjaGluZSKVBwobTWFjaGluZVNlcnZpY2VDcmVhdGVSZXF1ZXN0EhkKB3Byb2plY3QYASABKAlCCLpIBXIDsAEBEhsKBHV1aWQYAiABKAlCCLpIBXIDsAEBSACIAQESGQoEbmFtZRgDIAEoCUILukgIcgbAs66xAgESJQoLZGVzY3JpcHRpb24YBCABKAlCC7pICHIGyLOusQIBSAGIAQESHgoIaG9zdG5hbWUYBSABKAlCB7pIBHICaAFIAogBARIjCglwYXJ0aXRpb24YBiABKAlCC7pICHIG0LOusQIBSAOIAQESHgoEc2l6ZRgHIAEoCUILukgIcgbAs66xAgFIBIgBARIaCgVpbWFnZRgIIAEoCUILukgIcgbAs66xAgESKwoRZmlsZXN5c3RlbV9sYXlvdXQYCSABKAlCC7pICHIGwLOusQIBSAWIAQESMQoPc3NoX3B1YmxpY19rZXlzGAogAygJQhi6SBWSARLQpLOxAgEQMiIIcgaItK6xAgESJgoIdXNlcmRhdGEYCyABKAlCD7pIDHIK8LOusQIBGICAAkgGiAEBEikKBmxhYmVscxgMIAEoCzIZLm1ldGFsc3RhY2suYXBpLnYyLkxhYmVscxJHCghuZXR3b3JrcxgNIAMoCzIrLm1ldGFsc3RhY2suYXBpLnYyLk1hY2hpbmVBbGxvY2F0aW9uTmV0d29ya0IIukgFkgECCAESIAoOcGxhY2VtZW50X3RhZ3MYDiADKAlCCLpIBZIBAhBAEjsKC2Ruc19zZXJ2ZXJzGA8gAygLMhwubWV0YWxzdGFjay5hcGkudjIuRE5TU2VydmVyQgi6SAWSAQIQAxI7CgtudHBfc2VydmVycxgQIAMoCzIcLm1ldGFsc3RhY2suYXBpLnYyLk5UUFNlcnZlckIIukgFkgECEAoSSwoPYWxsb2NhdGlvbl90eXBlGBEgASgOMigubWV0YWxzdGFjay5hcGkudjIuTWFjaGluZUFsbG9jYXRpb25UeXBlQgi6SAWCAQIQARI2Cg1maXJld2FsbF9zcGVjGBIgASgLMh8ubWV0YWxzdGFjay5hcGkudjIuRmlyZXdhbGxTcGVjQgcKBV91dWlkQg4KDF9kZXNjcmlwdGlvbkILCglfaG9zdG5hbWVCDAoKX3BhcnRpdGlvbkIHCgVfc2l6ZUIUChJfZmlsZXN5c3RlbV9sYXlvdXRCCwoJX3VzZXJkYXRhIkgKDEZpcmV3YWxsU3BlYxI4Cg5maXJld2FsbF9ydWxlcxgBIAEoCzIgLm1ldGFsc3RhY2suYXBpLnYyLkZpcmV3YWxsUnVsZXMiSwocTWFjaGluZVNlcnZpY2VDcmVhdGVSZXNwb25zZRIrCgdtYWNoaW5lGAEgASgLMhoubWV0YWxzdGFjay5hcGkudjIuTWFjaGluZSK3AgobTWFjaGluZVNlcnZpY2VVcGRhdGVSZXF1ZXN0EhYKBHV1aWQYASABKAlCCLpIBXIDsAEBEjoKC3VwZGF0ZV9tZXRhGAIgASgLMh0ubWV0YWxzdGFjay5hcGkudjIuVXBkYXRlTWV0YUIGukgDyAEBEhkKB3Byb2plY3QYAyABKAlCCLpIBXIDsAEBEiUKC2Rlc2NyaXB0aW9uGAQgASgJQgu6SAhyBsizrrECAUgAiAEBEjQKBmxhYmVscxgFIAEoCzIfLm1ldGFsc3RhY2suYXBpLnYyLlVwZGF0ZUxhYmVsc0gBiAEBEjEKD3NzaF9wdWJsaWNfa2V5cxgGIAMoCUIYukgVkgES0KSzsQIBEDIiCHIGiLSusQIBQg4KDF9kZXNjcmlwdGlvbkIJCgdfbGFiZWxzIksKHE1hY2hpbmVTZXJ2aWNlVXBkYXRlUmVzcG9uc2USKwoHbWFjaGluZRgBIAEoCzIaLm1ldGFsc3RhY2suYXBpLnYyLk1hY2hpbmUiZgoZTWFjaGluZVNlcnZpY2VMaXN0UmVxdWVzdBIZCgdwcm9qZWN0GAEgASgJQgi6SAVyA7ABARIuCgVxdWVyeRgCIAEoCzIfLm1ldGFsc3RhY2suYXBpLnYyLk1hY2hpbmVRdWVyeSJKChpNYWNoaW5lU2VydmljZUxpc3RSZXNwb25zZRIsCghtYWNoaW5lcxgBIAMoCzIaLm1ldGFsc3RhY2suYXBpLnYyLk1hY2hpbmUiUAobTWFjaGluZVNlcnZpY2VEZWxldGVSZXF1ZXN0EhYKBHV1aWQYASABKAlCCLpIBXIDsAEBEhkKB3Byb2plY3QYAiABKAlCCLpIBXIDsAEBIksKHE1hY2hpbmVTZXJ2aWNlRGVsZXRlUmVzcG9uc2USKwoHbWFjaGluZRgBIAEoCzIaLm1ldGFsc3RhY2suYXBpLnYyLk1hY2hpbmUilQEKH01hY2hpbmVTZXJ2aWNlQk1DQ29tbWFuZFJlcXVlc3QSFgoEdXVpZBgBIAEoCUIIukgFcgOwAQESGQoHcHJvamVjdBgCIAEoCUIIukgFcgOwAQESPwoHY29tbWFuZBgDIAEoDjIkLm1ldGFsc3RhY2suYXBpLnYyLk1hY2hpbmVCTUNDb21tYW5kQgi6SAWCAQIQASIiCiBNYWNoaW5lU2VydmljZUJNQ0NvbW1hbmRSZXNwb25zZSJQChtNYWNoaW5lU2VydmljZUdldEJNQ1JlcXVlc3QSFgoEdXVpZBgBIAEoCUIIukgFcgOwAQESGQoHcHJvamVjdBgCIAEoCUIIukgFcgOwAQEiaAocTWFjaGluZVNlcnZpY2VHZXRCTUNSZXNwb25zZRIWCgR1dWlkGAEgASgJQgi6SAVyA7ABARIwCgNibWMYAiABKAsyIy5tZXRhbHN0YWNrLmFwaS52Mi5NYWNoaW5lQk1DUmVwb3J0IsoDCgdNYWNoaW5lEhYKBHV1aWQYASABKAlCCLpIBXIDsAEBEiUKBG1ldGEYAiABKAsyFy5tZXRhbHN0YWNrLmFwaS52Mi5NZXRhEi8KCXBhcnRpdGlvbhgDIAEoCzIcLm1ldGFsc3RhY2suYXBpLnYyLlBhcnRpdGlvbhIWCgRyYWNrGAQgASgJQgi6SAVyAxiAARIWCgRyb29tGAUgASgJQgi6SAVyAxiAARIlCgRzaXplGAYgASgLMhcubWV0YWxzdGFjay5hcGkudjIuU2l6ZRI0CghoYXJkd2FyZRgHIAEoCzIiLm1ldGFsc3RhY2suYXBpLnYyLk1hY2hpbmVIYXJkd2FyZRI4CgphbGxvY2F0aW9uGAggASgLMiQubWV0YWxzdGFjay5hcGkudjIuTWFjaGluZUFsbG9jYXRpb24SMAoGc3RhdHVzGAkgASgLMiAubWV0YWxzdGFjay5hcGkudjIuTWFjaGluZVN0YXR1cxJWChpyZWNlbnRfcHJvdmlzaW9uaW5nX2V2ZW50cxgKIAEoCzIyLm1ldGFsc3RhY2suYXBpLnYyLk1hY2hpbmVSZWNlbnRQcm92aXNpb25pbmdFdmVudHMi7wEKDU1hY2hpbmVTdGF0dXMSNgoJY29uZGl0aW9uGAEgASgLMiMubWV0YWxzdGFjay5hcGkudjIuTWFjaGluZUNvbmRpdGlvbhJECglsZWRfc3RhdGUYAiABKAsyMS5tZXRhbHN0YWNrLmFwaS52Mi5NYWNoaW5lQ2hhc3Npc0lkZW50aWZ5TEVEU3RhdGUSQgoKbGl2ZWxpbmVzcxgDIAEoDjIkLm1ldGFsc3RhY2suYXBpLnYyLk1hY2hpbmVMaXZlbGluZXNzQgi6SAWCAQIQARIcChRtZXRhbF9oYW1tZXJfdmVyc2lvbhgEIAEoCSKIAQoQTWFjaGluZUNvbmRpdGlvbhI4CgVzdGF0ZRgBIAEoDjIfLm1ldGFsc3RhY2suYXBpLnYyLk1hY2hpbmVTdGF0ZUIIukgFggECEAESIAoLZGVzY3JpcHRpb24YAiABKAlCC7pICHIGyLOusQIBEhgKBmlzc3VlchgDIAEoCUIIukgFcgMYgAIihAYKEU1hY2hpbmVBbGxvY2F0aW9uEhYKBHV1aWQYASABKAlCCLpIBXIDsAEBEiUKBG1ldGEYAiABKAsyFy5tZXRhbHN0YWNrLmFwaS52Mi5NZXRhEhkKBG5hbWUYAyABKAlCC7pICHIGwLOusQIBEiAKC2Rlc2NyaXB0aW9uGAQgASgJQgu6SAhyBsizrrECARIcCgpjcmVhdGVkX2J5GAUgASgJQgi6SAVyAxiAARIZCgdwcm9qZWN0GAYgASgJQgi6SAVyA7ABARInCgVpbWFnZRgHIAEoCzIYLm1ldGFsc3RhY2suYXBpLnYyLkltYWdlEj4KEWZpbGVzeXN0ZW1fbGF5b3V0GAggASgLMiMubWV0YWxzdGFjay5hcGkudjIuRmlsZXN5c3RlbUxheW91dBIzCghuZXR3b3JrcxgJIAMoCzIhLm1ldGFsc3RhY2suYXBpLnYyLk1hY2hpbmVOZXR3b3JrEhkKCGhvc3RuYW1lGAogASgJQge6SARyAmgBEjEKD3NzaF9wdWJsaWNfa2V5cxgLIAMoCUIYukgVkgES0KSzsQIBEDIiCHIGiLSusQIBEiEKCHVzZXJkYXRhGAwgASgJQg+6SAxyCvCzrrECARiAgAISSwoPYWxsb2NhdGlvbl90eXBlGA0gASgOMigubWV0YWxzdGFjay5hcGkudjIuTWFjaGluZUFsbG9jYXRpb25UeXBlQgi6SAWCAQIQARI4Cg5maXJld2FsbF9ydWxlcxgOIAEoCzIgLm1ldGFsc3RhY2suYXBpLnYyLkZpcmV3YWxsUnVsZXMSOwoLZG5zX3NlcnZlcnMYDyADKAsyHC5tZXRhbHN0YWNrLmFwaS52Mi5ETlNTZXJ2ZXJCCLpIBZIBAhADEjsKC250cF9zZXJ2ZXJzGBAgAygLMhwubWV0YWxzdGFjay5hcGkudjIuTlRQU2VydmVyQgi6SAWSAQIQChIqCgN2cG4YESABKAsyHS5tZXRhbHN0YWNrLmFwaS52Mi5NYWNoaW5lVlBOIlMKGE1hY2hpbmVBbGxvY2F0aW9uTmV0d29yaxIcCgduZXR3b3JrGAEgASgJQgu6SAhyBsCzrrECARIZCgNpcHMYAiADKAlCDLpICZIBBsCks7ECASJ/Cg1GaXJld2FsbFJ1bGVzEjUKBmVncmVzcxgBIAMoCzIlLm1ldGFsc3RhY2suYXBpLnYyLkZpcmV3YWxsRWdyZXNzUnVsZRI3CgdpbmdyZXNzGAIgAygLMiYubWV0YWxzdGFjay5hcGkudjIuRmlyZXdhbGxJbmdyZXNzUnVsZSKyAQoSRmlyZXdhbGxFZ3Jlc3NSdWxlEjkKCHByb3RvY29sGAEgASgOMh0ubWV0YWxzdGFjay5hcGkudjIuSVBQcm90b2NvbEIIukgFggECEAESHQoFcG9ydHMYAiADKA1CDrpIC5IBCCIGKgQY/P8DEhgKAnRvGAMgAygJQgy6SAmSAQa4pLOxAgESKAoHY29tbWVudBgEIAEoCUIXukgU2AEBcg8YZDILXlthLXpfIC1dKiQizwEKE0ZpcmV3YWxsSW5ncmVzc1J1bGUSOQoIcHJvdG9jb2wYASABKA4yHS5tZXRhbHN0YWNrLmFwaS52Mi5JUFByb3RvY29sQgi6SAWCAQIQARIdCgVwb3J0cxgCIAMoDUIOukgLkgEIIgYqBBj8/wMSGAoCdG8YAyADKAlCDLpICZIBBriks7ECARIaCgRmcm9tGAQgAygJQgy6SAmSAQa4pLOxAgESKAoHY29tbWVudBgFIAEoCUIXukgU2AEBcg8YZDILXlthLXpfIC1dKiQixgIKDk1hY2hpbmVOZXR3b3JrEg8KB25ldHdvcmsYASABKAkSHgoIcHJlZml4ZXMYAiADKAlCDLpICZIBBriks7ECARIqChRkZXN0aW5hdGlvbl9wcmVmaXhlcxgDIAMoCUIMukgJkgEGuKSzsQIBEhkKA2lwcxgEIAMoCUIMukgJkgEGwKSzsQIBEj4KDG5ldHdvcmtfdHlwZRgFIAEoDjIeLm1ldGFsc3RhY2suYXBpLnYyLk5ldHdvcmtUeXBlQgi6SAWCAQIQARI2CghuYXRfdHlwZRgGIAEoDjIaLm1ldGFsc3RhY2suYXBpLnYyLk5BVFR5cGVCCLpIBYIBAhABEgsKA3ZyZhgHIAEoBBILCgNhc24YCCABKA0SHgoHcHJvamVjdBgJIAEoCUIIukgFcgOwAQFIAIgBAUIKCghfcHJvamVjdCLaAQoPTWFjaGluZUhhcmR3YXJlEg4KBm1lbW9yeRgBIAEoBBI0CgVkaXNrcxgCIAMoCzIlLm1ldGFsc3RhY2suYXBpLnYyLk1hY2hpbmVCbG9ja0RldmljZRIpCgRjcHVzGAMgAygLMhsubWV0YWxzdGFjay5hcGkudjIuTWV0YWxDUFUSKQoEZ3B1cxgEIAMoCzIbLm1ldGFsc3RhY2suYXBpLnYyLk1ldGFsR1BVEisKBG5pY3MYBSADKAsyHS5tZXRhbHN0YWNrLmFwaS52Mi5NYWNoaW5lTmljIl0KCE1ldGFsQ1BVEhgKBnZlbmRvchgBIAEoCUIIukgFcgMYgAISFwoFbW9kZWwYAiABKAlCCLpIBXIDGIACEg0KBWNvcmVzGAMgASgNEg8KB3RocmVhZHMYBCABKA0iPQoITWV0YWxHUFUSGAoGdmVuZG9yGAEgASgJQgi6SAVyAxiAAhIXCgVtb2RlbBgCIAEoCUIIukgFcgMYgAIi5QEKCk1hY2hpbmVOaWMSGAoDbWFjGAEgASgJQgu6SAhyBrizrrECARIZCgRuYW1lGAIgASgJQgu6SAhyBsCzrrECARIcCgppZGVudGlmaWVyGAMgASgJQgi6SAVyAxiAARIYCgZ2ZW5kb3IYBCABKAlCCLpIBXIDGIABEhcKBW1vZGVsGAUgASgJQgi6SAVyAxiAARINCgVzcGVlZBgGIAEoBBIwCgluZWlnaGJvcnMYByADKAsyHS5tZXRhbHN0YWNrLmFwaS52Mi5NYWNoaW5lTmljEhAKCGhvc3RuYW1lGAggASgJIj0KEk1hY2hpbmVCbG9ja0RldmljZRIZCgRuYW1lGAEgASgJQgu6SAhyBsCzrrECARIMCgRzaXplGAIgASgEIlsKHk1hY2hpbmVDaGFzc2lzSWRlbnRpZnlMRURTdGF0ZRIXCgV2YWx1ZRgBIAEoCUIIukgFcgMYgAESIAoLZGVzY3JpcHRpb24YAiABKAlCC7pICHIGyLOusQIBIooDChBNYWNoaW5lQk1DUmVwb3J0EioKA2JtYxgBIAEoCzIdLm1ldGFsc3RhY2suYXBpLnYyLk1hY2hpbmVCTUMSLAoEYmlvcxgCIAEoCzIeLm1ldGFsc3RhY2suYXBpLnYyLk1hY2hpbmVCaW9zEioKA2ZydRgDIAEoCzIdLm1ldGFsc3RhY2suYXBpLnYyLk1hY2hpbmVGUlUSOwoMcG93ZXJfbWV0cmljGAQgASgLMiUubWV0YWxzdGFjay5hcGkudjIuTWFjaGluZVBvd2VyTWV0cmljEj0KDnBvd2VyX3N1cHBsaWVzGAUgAygLMiUubWV0YWxzdGFjay5hcGkudjIuTWFjaGluZVBvd2VyU3VwcGx5EkQKCWxlZF9zdGF0ZRgGIAEoCzIxLm1ldGFsc3RhY2suYXBpLnYyLk1hY2hpbmVDaGFzc2lzSWRlbnRpZnlMRURTdGF0ZRIuCgp1cGRhdGVkX2F0GAcgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcCJjCgtNYWNoaW5lQmlvcxIcCgd2ZXJzaW9uGAEgASgJQgu6SAhyBsizrrECARIbCgZ2ZW5kb3IYAiABKAlCC7pICHIGyLOusQIBEhkKBGRhdGUYAyABKAlCC7pICHIGyLOusQIBItsBCgpNYWNoaW5lQk1DEhkKB2FkZHJlc3MYASABKAlCCLpIBXIDgAIBEhgKA21hYxgCIAEoCUILukgIcga4s66xAgESGQoEdXNlchgDIAEoCUILukgIcgbIs66xAgESHQoIcGFzc3dvcmQYBCABKAlCC7pICHIGyLOusQIBEh4KCWludGVyZmFjZRgFIAEoCUILukgIcgbIs66xAgESHAoHdmVyc2lvbhgGIAEoCUILukgIcgbIs66xAgESIAoLcG93ZXJfc3RhdGUYByABKAlCC7pICHIGyLOusQIBIp4ECgpNYWNoaW5lRlJVEi0KE2NoYXNzaXNfcGFydF9udW1iZXIYASABKAlCC7pICHIGyLOusQIBSACIAQESLQoTY2hhc3Npc19wYXJ0X3NlcmlhbBgCIAEoCUILukgIcgbIs66xAgFIAYgBARIjCglib2FyZF9tZmcYAyABKAlCC7pICHIGyLOusQIBSAKIAQESKgoQYm9hcmRfbWZnX3NlcmlhbBgEIAEoCUILukgIcgbIs66xAgFIA4gBARIrChFib2FyZF9wYXJ0X251bWJlchgFIAEoCUILukgIcgbIs66xAgFIBIgBARIuChRwcm9kdWN0X21hbnVmYWN0dXJlchgGIAEoCUILukgIcgbIs66xAgFIBYgBARItChNwcm9kdWN0X3BhcnRfbnVtYmVyGAcgASgJQgu6SAhyBsizrrECAUgGiAEBEigKDnByb2R1Y3Rfc2VyaWFsGAggASgJQgu6SAhyBsizrrECAUgHiAEBQhYKFF9jaGFzc2lzX3BhcnRfbnVtYmVyQhYKFF9jaGFzc2lzX3BhcnRfc2VyaWFsQgwKCl9ib2FyZF9tZmdCEwoRX2JvYXJkX21mZ19zZXJpYWxCFAoSX2JvYXJkX3BhcnRfbnVtYmVyQhcKFV9wcm9kdWN0X21hbnVmYWN0dXJlckIWChRfcHJvZHVjdF9wYXJ0X251bWJlckIRCg9fcHJvZHVjdF9zZXJpYWwihQEKEk1hY2hpbmVQb3dlck1ldHJpYxIeChZhdmVyYWdlX2NvbnN1bWVkX3dhdHRzGAEgASgCEhcKD2ludGVydmFsX2luX21pbhgCIAEoAhIaChJtYXhfY29uc3VtZWRfd2F0dHMYAyABKAISGgoSbWluX2NvbnN1bWVkX3dhdHRzGAQgASgCIjMKEk1hY2hpbmVQb3dlclN1cHBseRIOCgZoZWFsdGgYASABKAkSDQoFc3RhdGUYAiABKAkipQIKH01hY2hpbmVSZWNlbnRQcm92aXNpb25pbmdFdmVudHMSOwoGZXZlbnRzGAEgAygLMisubWV0YWxzdGFjay5hcGkudjIuTWFjaGluZVByb3Zpc2lvbmluZ0V2ZW50EjMKD2xhc3RfZXZlbnRfdGltZRgCIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASRQoQbGFzdF9lcnJvcl9ldmVudBgDIAEoCzIrLm1ldGFsc3RhY2suYXBpLnYyLk1hY2hpbmVQcm92aXNpb25pbmdFdmVudBJJCgVzdGF0ZRgEIAEoDjIwLm1ldGFsc3RhY2suYXBpLnYyLk1hY2hpbmVQcm92aXNpb25pbmdFdmVudFN0YXRlQgi6SAWCAQIQASKfAQoYTWFjaGluZVByb3Zpc2lvbmluZ0V2ZW50EigKBHRpbWUYASABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wEkgKBWV2ZW50GAIgASgOMi8ubWV0YWxzdGFjay5hcGkudjIuTWFjaGluZVByb3Zpc2lvbmluZ0V2ZW50VHlwZUIIukgFggECEAESDwoHbWVzc2FnZRgDIAEoCSJrCgpNYWNoaW5lVlBOEh0KFWNvbnRyb2xfcGxhbmVfYWRkcmVzcxgBIAEoCRIQCghhdXRoX2tleRgCIAEoCRIRCgljb25uZWN0ZWQYAyABKAgSGQoDaXBzGAQgAygJQgy6SAmSAQbApLOxAgEi5gcKDE1hY2hpbmVRdWVyeRIbCgR1dWlkGAEgASgJQgi6SAVyA7ABAUgAiAEBEh4KBG5hbWUYAiABKAlCC7pICHIGwLOusQIBSAGIAQESIwoJcGFydGl0aW9uGAMgASgJQgu6SAhyBtCzrrECAUgCiAEBEh4KBHNpemUYBCABKAlCC7pICHIGwLOusQIBSAOIAQESHgoEcmFjaxgFIAEoCUILukgIcgbAs66xAgFIBIgBARIeCgRyb29tGAYgASgJQgu6SAhyBsCzrrECAUgFiAEBEi4KBmxhYmVscxgHIAEoCzIZLm1ldGFsc3RhY2suYXBpLnYyLkxhYmVsc0gGiAEBEkIKCmFsbG9jYXRpb24YCCABKAsyKS5tZXRhbHN0YWNrLmFwaS52Mi5NYWNoaW5lQWxsb2NhdGlvblF1ZXJ5SAeIAQESPAoHbmV0d29yaxgJIAEoCzImLm1ldGFsc3RhY2suYXBpLnYyLk1hY2hpbmVOZXR3b3JrUXVlcnlICIgBARI0CgNuaWMYCiABKAsyIi5tZXRhbHN0YWNrLmFwaS52Mi5NYWNoaW5lTmljUXVlcnlICYgBARI2CgRkaXNrGAsgASgLMiMubWV0YWxzdGFjay5hcGkudjIuTWFjaGluZURpc2tRdWVyeUgKiAEBEjQKA2JtYxgMIAEoCzIiLm1ldGFsc3RhY2suYXBpLnYyLk1hY2hpbmVCTUNRdWVyeUgLiAEBEjQKA2ZydRgNIAEoCzIiLm1ldGFsc3RhY2suYXBpLnYyLk1hY2hpbmVGUlVRdWVyeUgMiAEBEj4KCGhhcmR3YXJlGA4gASgLMicubWV0YWxzdGFjay5hcGkudjIuTWFjaGluZUhhcmR3YXJlUXVlcnlIDYgBARIzCgVzdGF0ZRgPIAEoDjIfLm1ldGFsc3RhY2suYXBpLnYyLk1hY2hpbmVTdGF0ZUgOiAEBEhQKB3dhaXRpbmcYECABKAhID4gBARIZCgxwcmVhbGxvY2F0ZWQYESABKAhIEIgBARIaCg1ub3RfYWxsb2NhdGVkGBIgASgISBGIAQFCBwoFX3V1aWRCBwoFX25hbWVCDAoKX3BhcnRpdGlvbkIHCgVfc2l6ZUIHCgVfcmFja0IHCgVfcm9vbUIJCgdfbGFiZWxzQg0KC19hbGxvY2F0aW9uQgoKCF9uZXR3b3JrQgYKBF9uaWNCBwoFX2Rpc2tCBgoEX2JtY0IGCgRfZnJ1QgsKCV9oYXJkd2FyZUIICgZfc3RhdGVCCgoIX3dhaXRpbmdCDwoNX3ByZWFsbG9jYXRlZEIQCg5fbm90X2FsbG9jYXRlZCKIBAoWTWFjaGluZUFsbG9jYXRpb25RdWVyeRIbCgR1dWlkGAEgASgJQgi6SAVyA7ABAUgAiAEBEh4KBG5hbWUYAiABKAlCC7pICHIGwLOusQIBSAGIAQESHgoHcHJvamVjdBgDIAEoCUIIukgFcgOwAQFIAogBARIfCgVpbWFnZRgEIAEoCUILukgIcgbAs66xAgFIA4gBARIrChFmaWxlc3lzdGVtX2xheW91dBgFIAEoCUILukgIcgbAs66xAgFIBIgBARIeCghob3N0bmFtZRgGIAEoCUIHukgEcgJoAUgFiAEBElAKD2FsbG9jYXRpb25fdHlwZRgHIAEoDjIoLm1ldGFsc3RhY2suYXBpLnYyLk1hY2hpbmVBbGxvY2F0aW9uVHlwZUIIukgFggECEAFIBogBARIuCgZsYWJlbHMYCCABKAsyGS5tZXRhbHN0YWNrLmFwaS52Mi5MYWJlbHNIB4gBARIvCgN2cG4YCSABKAsyHS5tZXRhbHN0YWNrLmFwaS52Mi5NYWNoaW5lVlBOSAiIAQFCBwoFX3V1aWRCBwoFX25hbWVCCgoIX3Byb2plY3RCCAoGX2ltYWdlQhQKEl9maWxlc3lzdGVtX2xheW91dEILCglfaG9zdG5hbWVCEgoQX2FsbG9jYXRpb25fdHlwZUIJCgdfbGFiZWxzQgYKBF92cG4iqgEKE01hY2hpbmVOZXR3b3JrUXVlcnkSEAoIbmV0d29ya3MYASADKAkSHgoIcHJlZml4ZXMYAiADKAlCDLpICZIBBriks7ECARIqChRkZXN0aW5hdGlvbl9wcmVmaXhlcxgDIAMoCUIMukgJkgEGuKSzsQIBEhkKA2lwcxgEIAMoCUIMukgJkgEGwKSzsQIBEgwKBHZyZnMYBSADKAQSDAoEYXNucxgGIAMoDSKvAQoPTWFjaGluZU5pY1F1ZXJ5EiIKBG1hY3MYASADKAlCFLpIEZIBDhBkGAEiCHIGuLOusQIBEiAKBW5hbWVzGAIgAygJQhG6SA6SAQsQZBgBIgVyAxiAARIrCg1uZWlnaGJvcl9tYWNzGAMgAygJQhS6SBGSAQ4QZBgBIghyBrizrrECARIpCg5uZWlnaGJvcl9uYW1lcxgEIAMoCUIRukgOkgELEGQYASIFcgMYgAEiSwoQTWFjaGluZURpc2tRdWVyeRIeCgVuYW1lcxgBIAMoCUIPukgMkgEJEGQiBXIDGIABEhcKBXNpemVzGAIgAygEQgi6SAWSAQIQZCK5AQoPTWFjaGluZUJNQ1F1ZXJ5Eh0KB2FkZHJlc3MYASABKAlCB7pIBHICcAFIAIgBARIdCgNtYWMYAiABKAlCC7pICHIGuLOusQIBSAGIAQESGwoEdXNlchgDIAEoCUIIukgFcgMYgAFIAogBARIgCglpbnRlcmZhY2UYBCABKAlCCLpIBXIDGIABSAOIAQFCCgoIX2FkZHJlc3NCBgoEX21hY0IHCgVfdXNlckIMCgpfaW50ZXJmYWNlIoMECg9NYWNoaW5lRlJVUXVlcnkSKgoTY2hhc3Npc19wYXJ0X251bWJlchgBIAEoCUIIukgFcgMYgAFIAIgBARIqChNjaGFzc2lzX3BhcnRfc2VyaWFsGAIgASgJQgi6SAVyAxiAAUgBiAEBEiAKCWJvYXJkX21mZxgDIAEoCUIIukgFcgMYgAFIAogBARIjCgxib2FyZF9zZXJpYWwYBCABKAlCCLpIBXIDGIABSAOIAQESKAoRYm9hcmRfcGFydF9udW1iZXIYBSABKAlCCLpIBXIDGIABSASIAQESKwoUcHJvZHVjdF9tYW51ZmFjdHVyZXIYBiABKAlCCLpIBXIDGIABSAWIAQESKgoTcHJvZHVjdF9wYXJ0X251bWJlchgHIAEoCUIIukgFcgMYgAFIBogBARIlCg5wcm9kdWN0X3NlcmlhbBgIIAEoCUIIukgFcgMYgAFIB4gBAUIWChRfY2hhc3Npc19wYXJ0X251bWJlckIWChRfY2hhc3Npc19wYXJ0X3NlcmlhbEIMCgpfYm9hcmRfbWZnQg8KDV9ib2FyZF9zZXJpYWxCFAoSX2JvYXJkX3BhcnRfbnVtYmVyQhcKFV9wcm9kdWN0X21hbnVmYWN0dXJlckIWChRfcHJvZHVjdF9wYXJ0X251bWJlckIRCg9fcHJvZHVjdF9zZXJpYWwiXAoUTWFjaGluZUhhcmR3YXJlUXVlcnkSEwoGbWVtb3J5GAEgASgESACIAQESFgoJY3B1X2NvcmVzGAIgASgNSAGIAQFCCQoHX21lbW9yeUIMCgpfY3B1X2NvcmVzIuACChJNYWNoaW5lSXNzdWVzUXVlcnkSNgoNbWFjaGluZV9xdWVyeRgBIAEoCzIfLm1ldGFsc3RhY2suYXBpLnYyLk1hY2hpbmVRdWVyeRJACgRvbmx5GAIgAygOMiMubWV0YWxzdGFjay5hcGkudjIuTWFjaGluZUlzc3VlVHlwZUINukgKkgEHIgWCAQIQARJACgRvbWl0GAMgAygOMiMubWV0YWxzdGFjay5hcGkudjIuTWFjaGluZUlzc3VlVHlwZUINukgKkgEHIgWCAQIQARJICghzZXZlcml0eRgEIAEoDjInLm1ldGFsc3RhY2suYXBpLnYyLk1hY2hpbmVJc3N1ZVNldmVyaXR5Qgi6SAWCAQIQAUgAiAEBEjcKFGxhc3RfZXJyb3JfdGhyZXNob2xkGAUgASgLMhkuZ29vZ2xlLnByb3RvYnVmLkR1cmF0aW9uQgsKCV9zZXZlcml0eSJYCg1NYWNoaW5lSXNzdWVzEhYKBHV1aWQYASABKAlCCLpIBXIDsAEBEi8KBmlzc3VlcxgCIAMoCzIfLm1ldGFsc3RhY2suYXBpLnYyLk1hY2hpbmVJc3N1ZSLnAQoMTWFjaGluZUlzc3VlEjsKBHR5cGUYASABKA4yIy5tZXRhbHN0YWNrLmFwaS52Mi5NYWNoaW5lSXNzdWVUeXBlQgi6SAWCAQIQARJDCghzZXZlcml0eRgCIAEoDjInLm1ldGFsc3RhY2suYXBpLnYyLk1hY2hpbmVJc3N1ZVNldmVyaXR5Qgi6SAWCAQIQARIgCgtkZXNjcmlwdGlvbhgDIAEoCUILukgIcgbIs66xAgESIgoNcmVmZXJlbmNlX3VybBgEIAEoCUILukgIcgbgs66xAgESDwoHZGV0YWlscxgFIAEoCSplCgpJUFByb3RvY29sEhsKF0lQX1BST1RPQ09MX1VOU1BFQ0lGSUVEEAASHAoPSVBfUFJPVE9DT0xfVENQEAEaB4KyGQN0Y3ASHAoPSVBfUFJPVE9DT0xfVURQEAIaB4KyGQN1ZHAqrQEKDE1hY2hpbmVTdGF0ZRIjChlNQUNISU5FX1NUQVRFX1VOU1BFQ0lGSUVEEAAaBIKyGQASJgoVTUFDSElORV9TVEFURV9UQUlOVEVEEAEaC4KyGQd0YWludGVkEiQKFE1BQ0hJTkVfU1RBVEVfTE9DS0VEEAIaCoKyGQZsb2NrZWQSKgoXTUFDSElORV9TVEFURV9BVkFJTEFCTEUQAxoNgrIZCWF2YWlsYWJsZSrfAQodTWFjaGluZVByb3Zpc2lvbmluZ0V2ZW50U3RhdGUSNgosTUFDSElORV9QUk9WSVNJT05JTkdfRVZFTlRfU1RBVEVfVU5TUEVDSUZJRUQQABoEgrIZABI9CipNQUNISU5FX1BST1ZJU0lPTklOR19FVkVOVF9TVEFURV9DUkFTSExPT1AQARoNgrIZCWNyYXNobG9vcBJHCi9NQUNISU5FX1BST1ZJU0lPTklOR19FVkVOVF9TVEFURV9GQUlMRURfUkVDTEFJTRACGhKCshkOZmFpbGVkLXJlY2xhaW0qnwYKHE1hY2hpbmVQcm92aXNpb25pbmdFdmVudFR5cGUSLworTUFDSElORV9QUk9WSVNJT05JTkdfRVZFTlRfVFlQRV9VTlNQRUNJRklFRBAAEjQKJU1BQ0hJTkVfUFJPVklTSU9OSU5HX0VWRU5UX1RZUEVfQUxJVkUQARoJgrIZBUFsaXZlEjgKJ01BQ0hJTkVfUFJPVklTSU9OSU5HX0VWRU5UX1RZUEVfQ1JBU0hFRBACGguCshkHQ3Jhc2hlZBJACitNQUNISU5FX1BST1ZJU0lPTklOR19FVkVOVF9UWVBFX1BYRV9CT09USU5HEAMaD4KyGQtQWEUgQm9vdGluZxJGCi5NQUNISU5FX1BST1ZJU0lPTklOR19FVkVOVF9UWVBFX1BMQU5ORURfUkVCT09UEAQaEoKyGQ5QbGFubmVkIFJlYm9vdBI8CilNQUNISU5FX1BST1ZJU0lPTklOR19FVkVOVF9UWVBFX1BSRVBBUklORxAFGg2CshkJUHJlcGFyaW5nEkAKK01BQ0hJTkVfUFJPVklTSU9OSU5HX0VWRU5UX1RZUEVfUkVHSVNURVJJTkcQBhoPgrIZC1JlZ2lzdGVyaW5nEjgKJ01BQ0hJTkVfUFJPVklTSU9OSU5HX0VWRU5UX1RZUEVfV0FJVElORxAHGguCshkHV2FpdGluZxI+CipNQUNISU5FX1BST1ZJU0lPTklOR19FVkVOVF9UWVBFX0lOU1RBTExJTkcQCBoOgrIZCkluc3RhbGxpbmcSTgoyTUFDSElORV9QUk9WSVNJT05JTkdfRVZFTlRfVFlQRV9CT09USU5HX05FV19LRVJORUwQCRoWgrIZEkJvb3RpbmcgTmV3IEtlcm5lbBJACitNQUNISU5FX1BST1ZJU0lPTklOR19FVkVOVF9UWVBFX1BIT05FRF9IT01FEAoaD4KyGQtQaG9uZWQgSG9tZRJICi9NQUNISU5FX1BST1ZJU0lPTklOR19FVkVOVF9UWVBFX01BQ0hJTkVfUkVDTEFJTRALGhOCshkPTWFjaGluZSBSZWNsYWltKroBChFNYWNoaW5lTGl2ZWxpbmVzcxIoCh5NQUNISU5FX0xJVkVMSU5FU1NfVU5TUEVDSUZJRUQQABoEgrIZABInChhNQUNISU5FX0xJVkVMSU5FU1NfQUxJVkUQARoJgrIZBWFsaXZlEiUKF01BQ0hJTkVfTElWRUxJTkVTU19ERUFEEAIaCIKyGQRkZWFkEisKGk1BQ0hJTkVfTElWRUxJTkVTU19VTktOT1dOEAMaC4KyGQd1bmtub3duKqwBChVNYWNoaW5lQWxsb2NhdGlvblR5cGUSLQojTUFDSElORV9BTExPQ0FUSU9OX1RZUEVfVU5TUEVDSUZJRUQQABoEgrIZABIwCh9NQUNISU5FX0FMTE9DQVRJT05fVFlQRV9NQUNISU5FEAEaC4KyGQdtYWNoaW5lEjIKIE1BQ0hJTkVfQUxMT0NBVElPTl9UWVBFX0ZJUkVXQUxMEAIaDIKyGQhmaXJld2FsbCr+BAoRTWFjaGluZUJNQ0NvbW1hbmQSIwofTUFDSElORV9CTUNfQ09NTUFORF9VTlNQRUNJRklFRBAAEiIKFk1BQ0hJTkVfQk1DX0NPTU1BTkRfT04QARoGgrIZAm9uEiQKF01BQ0hJTkVfQk1DX0NPTU1BTkRfT0ZGEAIaB4KyGQNvZmYSKAoZTUFDSElORV9CTUNfQ09NTUFORF9SRVNFVBADGgmCshkFcmVzZXQSKAoZTUFDSElORV9CTUNfQ09NTUFORF9DWUNMRRAEGgmCshkFY3ljbGUSNgogTUFDSElORV9CTUNfQ09NTUFORF9CT09UX1RPX0JJT1MQBRoQgrIZDGJvb3QtdG8tYmlvcxI6CiJNQUNISU5FX0JNQ19DT01NQU5EX0JPT1RfRlJPTV9ESVNLEAYaEoKyGQ5ib290LWZyb20tZGlzaxI4CiFNQUNISU5FX0JNQ19DT01NQU5EX0JPT1RfRlJPTV9QWEUQBxoRgrIZDWJvb3QtZnJvbS1weGUSPAojTUFDSElORV9CTUNfQ09NTUFORF9JREVOVElGWV9MRURfT04QCBoTgrIZD2lkZW50aWZ5LWxlZC1vbhI+CiRNQUNISU5FX0JNQ19DT01NQU5EX0lERU5USUZZX0xFRF9PRkYQCRoUgrIZEGlkZW50aWZ5LWxlZC1vZmYSPAojTUFDSElORV9CTUNfQ09NTUFORF9NQUNISU5FX0RFTEVURUQQChoTgrIZD21hY2hpbmUtZGVsZXRlZBI8CiNNQUNISU5FX0JNQ19DT01NQU5EX01BQ0hJTkVfQ1JFQVRFRBALGhOCshkPbWFjaGluZS1jcmVhdGVkKvMGChBNYWNoaW5lSXNzdWVUeXBlEiIKHk1BQ0hJTkVfSVNTVUVfVFlQRV9VTlNQRUNJRklFRBAAEjkKIU1BQ0hJTkVfSVNTVUVfVFlQRV9BU05fVU5JUVVFTkVTUxABGhKCshkOYXNuLW5vdC11bmlxdWUSPwokTUFDSElORV9JU1NVRV9UWVBFX0JNQ19JTkZPX09VVERBVEVEEAIaFYKyGRFibWMtaW5mby1vdXRkYXRlZBJCCiZNQUNISU5FX0lTU1VFX1RZUEVfQk1DX05PTl9ESVNUSU5DVF9JUBADGhaCshkSYm1jLW5vLWRpc3RpbmN0LWlwEjkKIU1BQ0hJTkVfSVNTVUVfVFlQRV9CTUNfV0lUSE9VVF9JUBAEGhKCshkOYm1jLXdpdGhvdXQtaXASOwoiTUFDSElORV9JU1NVRV9UWVBFX0JNQ19XSVRIT1VUX01BQxAFGhOCshkPYm1jLXdpdGhvdXQtbWFjEjAKHU1BQ0hJTkVfSVNTVUVfVFlQRV9DUkFTSF9MT09QEAYaDYKyGQljcmFzaGxvb3ASSQopTUFDSElORV9JU1NVRV9UWVBFX0ZBSUxFRF9NQUNISU5FX1JFQ0xBSU0QBxoagrIZFmZhaWxlZC1tYWNoaW5lLXJlY2xhaW0SPQojTUFDSElORV9JU1NVRV9UWVBFX0xBU1RfRVZFTlRfRVJST1IQCBoUgrIZEGxhc3QtZXZlbnQtZXJyb3ISOwoiTUFDSElORV9JU1NVRV9UWVBFX0xJVkVMSU5FU1NfREVBRBAJGhOCshkPbGl2ZWxpbmVzcy1kZWFkEk0KK01BQ0hJTkVfSVNTVUVfVFlQRV9MSVZFTElORVNTX05PVF9BVkFJTEFCTEUQChocgrIZGGxpdmVsaW5lc3Mtbm90LWF2YWlsYWJsZRJBCiVNQUNISU5FX0lTU1VFX1RZUEVfTElWRUxJTkVTU19VTktOT1dOEAsaFoKyGRJsaXZlbGluZXNzLXVua25vd24SQQolTUFDSElORV9JU1NVRV9UWVBFX05PX0VWRU5UX0NPTlRBSU5FUhAMGhaCshkSbm8tZXZlbnQtY29udGFpbmVyEjUKH01BQ0hJTkVfSVNTVUVfVFlQRV9OT19QQVJUSVRJT04QDRoQgrIZDG5vLXBhcnRpdGlvbirLAQoUTWFjaGluZUlzc3VlU2V2ZXJpdHkSJgoiTUFDSElORV9JU1NVRV9TRVZFUklUWV9VTlNQRUNJRklFRBAAEisKHE1BQ0hJTkVfSVNTVUVfU0VWRVJJVFlfTUlOT1IQARoJgrIZBW1pbm9yEisKHE1BQ0hJTkVfSVNTVUVfU0VWRVJJVFlfTUFKT1IQAhoJgrIZBW1ham9yEjEKH01BQ0hJTkVfSVNTVUVfU0VWRVJJVFlfQ1JJVElDQUwQAxoMgrIZCGNyaXRpY2FsMtEGCg5NYWNoaW5lU2VydmljZRJtCgNHZXQSKy5tZXRhbHN0YWNrLmFwaS52Mi5NYWNoaW5lU2VydmljZUdldFJlcXVlc3QaLC5tZXRhbHN0YWNrLmFwaS52Mi5NYWNoaW5lU2VydmljZUdldFJlc3BvbnNlIgvK8xgDAQID4PMYAhJ1CgZDcmVhdGUSLi5tZXRhbHN0YWNrLmFwaS52Mi5NYWNoaW5lU2VydmljZUNyZWF0ZVJlcXVlc3QaLy5tZXRhbHN0YWNrLmFwaS52Mi5NYWNoaW5lU2VydmljZUNyZWF0ZVJlc3BvbnNlIgrK8xgCAQLg8xgBEnUKBlVwZGF0ZRIuLm1ldGFsc3RhY2suYXBpLnYyLk1hY2hpbmVTZXJ2aWNlVXBkYXRlUmVxdWVzdBovLm1ldGFsc3RhY2suYXBpLnYyLk1hY2hpbmVTZXJ2aWNlVXBkYXRlUmVzcG9uc2UiCsrzGAIBAuDzGAEScAoETGlzdBIsLm1ldGFsc3RhY2suYXBpLnYyLk1hY2hpbmVTZXJ2aWNlTGlzdFJlcXVlc3QaLS5tZXRhbHN0YWNrLmFwaS52Mi5NYWNoaW5lU2VydmljZUxpc3RSZXNwb25zZSILyvMYAwECA+DzGAISdQoGRGVsZXRlEi4ubWV0YWxzdGFjay5hcGkudjIuTWFjaGluZVNlcnZpY2VEZWxldGVSZXF1ZXN0Gi8ubWV0YWxzdGFjay5hcGkudjIuTWFjaGluZVNlcnZpY2VEZWxldGVSZXNwb25zZSIKyvMYAgEC4PMYARKBAQoKQk1DQ29tbWFuZBIyLm1ldGFsc3RhY2suYXBpLnYyLk1hY2hpbmVTZXJ2aWNlQk1DQ29tbWFuZFJlcXVlc3QaMy5tZXRhbHN0YWNrLmFwaS52Mi5NYWNoaW5lU2VydmljZUJNQ0NvbW1hbmRSZXNwb25zZSIKyvMYAgEC4PMYARJ1CgZHZXRCTUMSLi5tZXRhbHN0YWNrLmFwaS52Mi5NYWNoaW5lU2VydmljZUdldEJNQ1JlcXVlc3QaLy5tZXRhbHN0YWNrLmFwaS52Mi5NYWNoaW5lU2VydmljZUdldEJNQ1Jlc3BvbnNlIgrK8xgCAQLg8xgBQsIBChVjb20ubWV0YWxzdGFjay5hcGkudjJCDE1hY2hpbmVQcm90b1ABWjVnaXRodWIuY29tL21ldGFsLXN0YWNrL2FwaS9nby9tZXRhbHN0YWNrL2FwaS92MjthcGl2MqICA01BWKoCEU1ldGFsc3RhY2suQXBpLlYyygIRTWV0YWxzdGFja1xBcGlcVjLiAh1NZXRhbHN0YWNrXEFwaVxWMlxHUEJNZXRhZGF0YeoCE01ldGFsc3RhY2s6OkFwaTo6VjJiBnByb3RvMw", [file_buf_validate_validate, file_google_protobuf_duration, file_google_protobuf_timestamp, file_metalstack_api_v2_common, file_metalstack_api_v2_filesystem, file_metalstack_api_v2_image, file_metalstack_api_v2_network, file_metalstack_api_v2_partition, file_metalstack_api_v2_predefined_rules, file_metalstack_api_v2_size]); /** - * MachineServiceGetRequest is the request payload for a machine get request + * MachineServiceGetRequest is the request payload for a machine get request. * * @generated from message metalstack.api.v2.MachineServiceGetRequest */ export type MachineServiceGetRequest = Message<"metalstack.api.v2.MachineServiceGetRequest"> & { /** - * UUID of the machine to get + * UUID of the machine to get. * * @generated from field: string uuid = 1; */ uuid: string; /** - * Project of the machine + * Project of the machine. * * @generated from field: string project = 2; */ @@ -57,13 +57,13 @@ export const MachineServiceGetRequestSchema: GenMessage & { /** - * Machine is the machine requested + * Machine is the machine requested. * * @generated from field: metalstack.api.v2.Machine machine = 1; */ @@ -78,13 +78,13 @@ export const MachineServiceGetResponseSchema: GenMessage & { /** - * Project of the machine + * Project of the machine. * * @generated from field: string project = 1; */ @@ -93,86 +93,86 @@ export type MachineServiceCreateRequest = Message<"metalstack.api.v2.MachineServ /** * 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 + * Can only be used with ADMIN_ROLE_EDITOR. * * @generated from field: optional string uuid = 2; */ uuid?: string | undefined; /** - * Name of this machine + * Name of this machine. * * @generated from field: string name = 3; */ name: string; /** - * Description for this machine + * Description for this machine. * * @generated from field: optional string description = 4; */ description?: string | undefined; /** - * Hostname the hostname for the allocated machine (defaults to metal) + * Hostname the hostname for the allocated machine (defaults to metal). * * @generated from field: optional string hostname = 5; */ hostname?: string | undefined; /** - * Partition the partition id to assign this machine to, must be omitted if uuid is given + * Partition the partition id to assign this machine to, must be omitted if uuid is given. * * @generated from field: optional string partition = 6; */ partition?: string | undefined; /** - * Size of the machine to create, must be omitted if uuid is given + * Size of the machine to create, must be omitted if uuid is given. * * @generated from field: optional string size = 7; */ size?: string | undefined; /** - * Image which should be installed on this machine + * 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.20260402 - * or in a simplified form which omits the patch version - * - debian-13.0 - * 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. + * - 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. * * @generated from field: string image = 8; */ image: string; /** - * FilesystemLayout which should be applied for the operating system installation + * 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 + * Can be specified to test new fsls during development of fsls. * * @generated from field: optional string filesystem_layout = 9; */ filesystemLayout?: string | undefined; /** - * SSHPublicKeys defines the ssh public key to be installed on the machine to access it via ssh + * SSHPublicKeys defines the ssh public key to be installed on the machine to access it via ssh. * * @generated from field: repeated string ssh_public_keys = 10; */ sshPublicKeys: string[]; /** - * Userdata contains instructions required to bootstrap the machine - * AWS limits the max userdata size to 16k, lets allow twice as much + * Userdata contains instructions required to bootstrap the machine. + * AWS limits the max userdata size to 16k, lets allow twice as much. * * @generated from field: optional string userdata = 11; */ userdata?: string | undefined; /** - * Labels to be attached to this machine allocation + * Labels to be attached to this machine allocation. * * @generated from field: metalstack.api.v2.Labels labels = 12; */ @@ -187,35 +187,35 @@ export type MachineServiceCreateRequest = Message<"metalstack.api.v2.MachineServ /** * PlacementTags by default machines are spread across the racks inside a partition for every project. - * if placement tags are provided, the machine candidate has an additional anti-affinity to other machines having the same tags + * if placement tags are provided, the machine candidate has an additional anti-affinity to other machines having the same tags. * * @generated from field: repeated string placement_tags = 14; */ placementTags: string[]; /** - * DNSServer the dns servers used for the machine + * DNSServer the dns servers used for the machine. * * @generated from field: repeated metalstack.api.v2.DNSServer dns_servers = 15; */ dnsServers: DNSServer[]; /** - * NTPServer the ntp servers used for the machine + * NTPServer the ntp servers used for the machine. * * @generated from field: repeated metalstack.api.v2.NTPServer ntp_servers = 16; */ ntpServers: NTPServer[]; /** - * AllocationType of this machine + * AllocationType of this machine. * * @generated from field: metalstack.api.v2.MachineAllocationType allocation_type = 17; */ allocationType: MachineAllocationType; /** - * FirewallSpec provides firewall specific parameters if allocationType is firewall + * FirewallSpec provides firewall specific parameters if allocationType is firewall. * * @generated from field: metalstack.api.v2.FirewallSpec firewall_spec = 18; */ @@ -230,13 +230,13 @@ export const MachineServiceCreateRequestSchema: GenMessage & { /** - * FirewallRules to be applied if this is a firewall + * FirewallRules to be applied if this is a firewall. * * @generated from field: metalstack.api.v2.FirewallRules firewall_rules = 1; */ @@ -251,13 +251,13 @@ export const FirewallSpecSchema: GenMessage = /*@__PURE__*/ messageDesc(file_metalstack_api_v2_machine, 3); /** - * MachineServiceCreateResponse is the response payload for a machine create request + * MachineServiceCreateResponse is the response payload for a machine create request. * * @generated from message metalstack.api.v2.MachineServiceCreateResponse */ export type MachineServiceCreateResponse = Message<"metalstack.api.v2.MachineServiceCreateResponse"> & { /** - * Machine which was created + * Machine which was created. * * @generated from field: metalstack.api.v2.Machine machine = 1; */ @@ -272,48 +272,48 @@ export const MachineServiceCreateResponseSchema: GenMessage & { /** - * UUID of the machine to modify + * UUID of the machine to modify. * * @generated from field: string uuid = 1; */ uuid: string; /** - * UpdateMeta contains the timestamp and strategy to be used in this update request + * UpdateMeta contains the timestamp and strategy to be used in this update request. * * @generated from field: metalstack.api.v2.UpdateMeta update_meta = 2; */ updateMeta?: UpdateMeta | undefined; /** - * Project of the machine + * Project of the machine. * * @generated from field: string project = 3; */ project: string; /** - * Description of this machine allocation + * Description of this machine allocation. * * @generated from field: optional string description = 4; */ description?: string | undefined; /** - * Labels to update on this machine allocation + * Labels to update on this machine allocation. * * @generated from field: optional metalstack.api.v2.UpdateLabels labels = 5; */ labels?: UpdateLabels | undefined; /** - * SSHPublicKeys which should be update of this machine allocation + * SSHPublicKeys which should be update of this machine allocation. * * @generated from field: repeated string ssh_public_keys = 6; */ @@ -328,13 +328,13 @@ export const MachineServiceUpdateRequestSchema: GenMessage & { /** - * Machine which was updated + * Machine which was updated. * * @generated from field: metalstack.api.v2.Machine machine = 1; */ @@ -349,20 +349,20 @@ export const MachineServiceUpdateResponseSchema: GenMessage & { /** - * Project of the machines to list + * Project of the machines to list. * * @generated from field: string project = 1; */ project: string; /** - * Query to list one ore more machines + * Query to list one ore more machines. * * @generated from field: metalstack.api.v2.MachineQuery query = 2; */ @@ -377,13 +377,13 @@ export const MachineServiceListRequestSchema: GenMessage & { /** - * Machines are the machines requested by a list request + * Machines are the machines requested by a list request. * * @generated from field: repeated metalstack.api.v2.Machine machines = 1; */ @@ -398,20 +398,20 @@ export const MachineServiceListResponseSchema: GenMessage & { /** - * UUID of the machine to delete + * UUID of the machine to delete. * * @generated from field: string uuid = 1; */ uuid: string; /** - * Project of the machine + * Project of the machine. * * @generated from field: string project = 2; */ @@ -426,13 +426,13 @@ export const MachineServiceDeleteRequestSchema: GenMessage & { /** - * Machine which was deleted + * Machine which was deleted. * * @generated from field: metalstack.api.v2.Machine machine = 1; */ @@ -447,27 +447,27 @@ export const MachineServiceDeleteResponseSchema: GenMessage & { /** - * UUID of the machine to send the command to + * UUID of the machine to send the command to. * * @generated from field: string uuid = 1; */ uuid: string; /** - * Project of the machine + * Project of the machine. * * @generated from field: string project = 2; */ project: string; /** - * Command to send to the bmc of the machine + * Command to send to the bmc of the machine. * * @generated from field: metalstack.api.v2.MachineBMCCommand command = 3; */ @@ -482,7 +482,7 @@ export const MachineServiceBMCCommandRequestSchema: GenMessage & { /** - * UUID of the machine to get + * UUID of the machine to get. * * @generated from field: string uuid = 1; */ uuid: string; /** - * Project of the machine + * Project of the machine. * * @generated from field: string project = 2; */ @@ -525,20 +525,20 @@ export const MachineServiceGetBMCRequestSchema: GenMessage & { /** - * UUID of the machine + * UUID of the machine. * * @generated from field: string uuid = 1; */ uuid: string; /** - * BMC contains the BMC details of this machine + * BMC contains the BMC details of this machine. * * @generated from field: metalstack.api.v2.MachineBMCReport bmc = 2; */ @@ -559,70 +559,70 @@ export const MachineServiceGetBMCResponseSchema: GenMessage & { /** - * UUID of this machine + * UUID of this machine. * * @generated from field: string uuid = 1; */ uuid: string; /** - * Meta for this machine + * Meta for this machine. * * @generated from field: metalstack.api.v2.Meta meta = 2; */ meta?: Meta | undefined; /** - * Partition where this machine resides + * Partition where this machine resides. * * @generated from field: metalstack.api.v2.Partition partition = 3; */ partition?: Partition | undefined; /** - * Rack where this machine is located + * Rack where this machine is located. * * @generated from field: string rack = 4; */ rack: string; /** - * Room where this machine is located + * Room where this machine is located. * * @generated from field: string room = 5; */ room: string; /** - * Size of this machine + * Size of this machine. * * @generated from field: metalstack.api.v2.Size size = 6; */ size?: Size | undefined; /** - * Hardware specs of this machine + * Hardware specs of this machine. * * @generated from field: metalstack.api.v2.MachineHardware hardware = 7; */ hardware?: MachineHardware | undefined; /** - * Allocation details + * Allocation details. * * @generated from field: metalstack.api.v2.MachineAllocation allocation = 8; */ allocation?: MachineAllocation | undefined; /** - * Status contains several status details related to this machine + * Status contains several status details related to this machine. * * @generated from field: metalstack.api.v2.MachineStatus status = 9; */ status?: MachineStatus | undefined; /** - * MachineRecentProvisioningEvents contains the recent provisioning events + * MachineRecentProvisioningEvents contains the recent provisioning events. * * @generated from field: metalstack.api.v2.MachineRecentProvisioningEvents recent_provisioning_events = 10; */ @@ -637,34 +637,34 @@ export const MachineSchema: GenMessage = /*@__PURE__*/ messageDesc(file_metalstack_api_v2_machine, 15); /** - * MachineStatus contains several status details related to this machine + * MachineStatus contains several status details related to this machine. * * @generated from message metalstack.api.v2.MachineStatus */ export type MachineStatus = Message<"metalstack.api.v2.MachineStatus"> & { /** - * Condition describes the availability + * Condition describes the availability. * * @generated from field: metalstack.api.v2.MachineCondition condition = 1; */ condition?: MachineCondition | undefined; /** - * LEDState indicates the state of the indicator LED on this machine + * LEDState indicates the state of the indicator LED on this machine. * * @generated from field: metalstack.api.v2.MachineChassisIdentifyLEDState led_state = 2; */ ledState?: MachineChassisIdentifyLEDState | undefined; /** - * Liveliness of this machine + * Liveliness of this machine. * * @generated from field: metalstack.api.v2.MachineLiveliness liveliness = 3; */ liveliness: MachineLiveliness; /** - * MetalHammerVersion the version of metal hammer which put the machine in waiting state + * MetalHammerVersion the version of metal hammer which put the machine in waiting state. * * @generated from field: string metal_hammer_version = 4; */ @@ -679,27 +679,27 @@ export const MachineStatusSchema: GenMessage = /*@__PURE__*/ messageDesc(file_metalstack_api_v2_machine, 16); /** - * MachineCondition describes the availability of this machine + * MachineCondition describes the availability of this machine. * * @generated from message metalstack.api.v2.MachineCondition */ export type MachineCondition = Message<"metalstack.api.v2.MachineCondition"> & { /** - * State the state of this machine. empty means available for all + * State the state of this machine. empty means available for al. * * @generated from field: metalstack.api.v2.MachineState state = 1; */ state: MachineState; /** - * Description a description why this machine is in the given state + * Description a description why this machine is in the given state. * * @generated from field: string description = 2; */ description: string; /** - * Issuer the user that changed the state + * Issuer the user that changed the state. * * @generated from field: string issuer = 3; */ @@ -714,69 +714,69 @@ export const MachineConditionSchema: GenMessage = /*@__PURE__* messageDesc(file_metalstack_api_v2_machine, 17); /** - * MachineAllocation contains properties if this machine is allocated + * MachineAllocation contains properties if this machine is allocated. * * @generated from message metalstack.api.v2.MachineAllocation */ export type MachineAllocation = Message<"metalstack.api.v2.MachineAllocation"> & { /** - * UUID of this machine allocation + * UUID of this machine allocation. * * @generated from field: string uuid = 1; */ uuid: string; /** - * Meta for this machine allocation + * Meta for this machine allocation. * * @generated from field: metalstack.api.v2.Meta meta = 2; */ meta?: Meta | undefined; /** - * Name of this allocation + * Name of this allocation. * * @generated from field: string name = 3; */ name: string; /** - * Description of this allocation + * Description of this allocation. * * @generated from field: string description = 4; */ description: string; /** - * Created By indicates who created this machine allocation + * Created By indicates who created this machine allocation. * * @generated from field: string created_by = 5; */ createdBy: string; /** - * Project of the allocation + * Project of the allocation. * * @generated from field: string project = 6; */ project: string; /** - * Image to be used to install on this machine + * Image to be used to install on this machine. * * @generated from field: metalstack.api.v2.Image image = 7; */ image?: Image | undefined; /** - * FilesystemLayout to create on the disks + * FilesystemLayout to create on the disks. * * @generated from field: metalstack.api.v2.FilesystemLayout filesystem_layout = 8; */ filesystemLayout?: FilesystemLayout | undefined; /** - * Networks this machine should be attached to + * Networks this machine should be attached to. * Order of ips of external networks will be preserved. * * @generated from field: repeated metalstack.api.v2.MachineNetwork networks = 9; @@ -784,14 +784,14 @@ export type MachineAllocation = Message<"metalstack.api.v2.MachineAllocation"> & networks: MachineNetwork[]; /** - * Hostname of the allocated machine + * Hostname of the allocated machine. * * @generated from field: string hostname = 10; */ hostname: string; /** - * SSHPublicKeys which should be installed on this machine + * SSHPublicKeys which should be installed on this machine. * * @generated from field: repeated string ssh_public_keys = 11; */ @@ -799,42 +799,42 @@ export type MachineAllocation = Message<"metalstack.api.v2.MachineAllocation"> & /** * Userdata contains instructions required to bootstrap the machine. - * AWS limits the max userdata size to 16k, lets allow twice as much + * AWS limits the max userdata size to 16k, lets allow twice as much. * * @generated from field: string userdata = 12; */ userdata: string; /** - * AllocationType of this machine + * AllocationType of this machine. * * @generated from field: metalstack.api.v2.MachineAllocationType allocation_type = 13; */ allocationType: MachineAllocationType; /** - * FirewallRules to be applied if this is a firewall + * FirewallRules to be applied if this is a firewall. * * @generated from field: metalstack.api.v2.FirewallRules firewall_rules = 14; */ firewallRules?: FirewallRules | undefined; /** - * DNSServers for this machine + * DNSServers for this machine. * * @generated from field: repeated metalstack.api.v2.DNSServer dns_servers = 15; */ dnsServers: DNSServer[]; /** - * NTPServers for this machine + * NTPServers for this machine. * * @generated from field: repeated metalstack.api.v2.NTPServer ntp_servers = 16; */ ntpServers: NTPServer[]; /** - * VPN connection configuration + * VPN connection configuration. * * @generated from field: metalstack.api.v2.MachineVPN vpn = 17; */ @@ -849,21 +849,21 @@ export const MachineAllocationSchema: GenMessage = /*@__PURE_ messageDesc(file_metalstack_api_v2_machine, 18); /** - * MachineAllocationNetwork defines which network should be attached to a machine and if ips should be autoacquired + * MachineAllocationNetwork defines which network should be attached to a machine and if ips should be autoacquired. * * @generated from message metalstack.api.v2.MachineAllocationNetwork */ export type MachineAllocationNetwork = Message<"metalstack.api.v2.MachineAllocationNetwork"> & { /** - * Network the id of the network that this machine will be placed in + * Network the id of the network that this machine will be placed in. * * @generated from field: string network = 1; */ network: string; /** - * IPs to to attach to this machine additionally - * If none given, one ip address is acquired per network for the machine + * 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. * * @generated from field: repeated string ips = 2; @@ -879,20 +879,20 @@ export const MachineAllocationNetworkSchema: GenMessage & { /** - * Egress list of egress rules to be deployed during firewall allocation + * Egress list of egress rules to be deployed during firewall allocation. * * @generated from field: repeated metalstack.api.v2.FirewallEgressRule egress = 1; */ egress: FirewallEgressRule[]; /** - * Ingress list of ingress rules to be deployed during firewall allocation + * Ingress list of ingress rules to be deployed during firewall allocation. * * @generated from field: repeated metalstack.api.v2.FirewallIngressRule ingress = 2; */ @@ -907,34 +907,34 @@ export const FirewallRulesSchema: GenMessage = /*@__PURE__*/ messageDesc(file_metalstack_api_v2_machine, 20); /** - * FirewallEgressRule defines rules for outgoing traffic + * FirewallEgressRule defines rules for outgoing traffic. * * @generated from message metalstack.api.v2.FirewallEgressRule */ export type FirewallEgressRule = Message<"metalstack.api.v2.FirewallEgressRule"> & { /** - * Protocol the protocol for the rule, defaults to tcp + * Protocol the protocol for the rule, defaults to tcp. * * @generated from field: metalstack.api.v2.IPProtocol protocol = 1; */ protocol: IPProtocol; /** - * Ports the ports affected by this rule + * Ports the ports affected by this rule. * * @generated from field: repeated uint32 ports = 2; */ ports: number[]; /** - * To the destination cidrs affected by this rule + * To the destination cidrs affected by this rule. * * @generated from field: repeated string to = 3; */ to: string[]; /** - * Comment for this rule + * Comment for this rule. * * @generated from field: string comment = 4; */ @@ -949,41 +949,41 @@ export const FirewallEgressRuleSchema: GenMessage = /*@__PUR messageDesc(file_metalstack_api_v2_machine, 21); /** - * FirewallIngressRule defines rules for incoming traffic + * FirewallIngressRule defines rules for incoming traffic. * * @generated from message metalstack.api.v2.FirewallIngressRule */ export type FirewallIngressRule = Message<"metalstack.api.v2.FirewallIngressRule"> & { /** - * Protocol the protocol for the rule, defaults to tcp + * Protocol the protocol for the rule, defaults to tcp. * * @generated from field: metalstack.api.v2.IPProtocol protocol = 1; */ protocol: IPProtocol; /** - * Ports the ports affected by this rule + * Ports the ports affected by this rule. * * @generated from field: repeated uint32 ports = 2; */ ports: number[]; /** - * To the destination cidrs affected by this rule + * To the destination cidrs affected by this rule. * * @generated from field: repeated string to = 3; */ to: string[]; /** - * From the source cidrs affected by this rule + * From the source cidrs affected by this rule. * * @generated from field: repeated string from = 4; */ from: string[]; /** - * Comment for this rule + * Comment for this rule. * * @generated from field: string comment = 5; */ @@ -998,69 +998,69 @@ export const FirewallIngressRuleSchema: GenMessage = /*@__P messageDesc(file_metalstack_api_v2_machine, 22); /** - * MachineNetwork contains details which network should be created on a allocated machine + * MachineNetwork contains details which network should be created on a allocated machine. * * @generated from message metalstack.api.v2.MachineNetwork */ export type MachineNetwork = Message<"metalstack.api.v2.MachineNetwork"> & { /** - * Network the networkID of the allocated machine in this vrf + * Network the networkID of the allocated machine in this vrf. * * @generated from field: string network = 1; */ network: string; /** - * Prefixes the prefixes of this network + * Prefixes the prefixes of this network. * * @generated from field: repeated string prefixes = 2; */ prefixes: string[]; /** - * DestinationPrefixes prefixes that are reachable within this network + * DestinationPrefixes prefixes that are reachable within this network. * * @generated from field: repeated string destination_prefixes = 3; */ destinationPrefixes: string[]; /** - * IPs the ip addresses of the allocated machine in this vrf + * IPs the ip addresses of the allocated machine in this vrf. * * @generated from field: repeated string ips = 4; */ ips: string[]; /** - * NetworkType the type of network of this vrf + * NetworkType the type of network of this vrf. * * @generated from field: metalstack.api.v2.NetworkType network_type = 5; */ networkType: NetworkType; /** - * NatType what type of nat if any should be used + * NatType what type of nat if any should be used. * * @generated from field: metalstack.api.v2.NATType nat_type = 6; */ natType: NATType; /** - * VRF the vrf id + * VRF the vrf id. * * @generated from field: uint64 vrf = 7; */ vrf: bigint; /** - * ASN the autonomous system number for this network + * ASN the autonomous system number for this network. * * @generated from field: uint32 asn = 8; */ asn: number; /** - * Project is the project uuid associated with this network + * Project is the project uuid associated with this network. * * @generated from field: optional string project = 9; */ @@ -1075,41 +1075,41 @@ export const MachineNetworkSchema: GenMessage = /*@__PURE__*/ messageDesc(file_metalstack_api_v2_machine, 23); /** - * MachineHardware contains hardware details + * MachineHardware contains hardware details. * * @generated from message metalstack.api.v2.MachineHardware */ export type MachineHardware = Message<"metalstack.api.v2.MachineHardware"> & { /** - * Memory the total memory of the machine in bytes + * Memory the total memory of the machine in bytes. * * @generated from field: uint64 memory = 1; */ memory: bigint; /** - * Disks the list of block devices of this machine + * Disks the list of block devices of this machine. * * @generated from field: repeated metalstack.api.v2.MachineBlockDevice disks = 2; */ disks: MachineBlockDevice[]; /** - * CPUs the cpu details + * CPUs the cpu details. * * @generated from field: repeated metalstack.api.v2.MetalCPU cpus = 3; */ cpus: MetalCPU[]; /** - * GPUs the gpu details + * GPUs the gpu details. * * @generated from field: repeated metalstack.api.v2.MetalGPU gpus = 4; */ gpus: MetalGPU[]; /** - * Nics the list of network interfaces of this machine + * Nics the list of network interfaces of this machine. * * @generated from field: repeated metalstack.api.v2.MachineNic nics = 5; */ @@ -1124,34 +1124,34 @@ export const MachineHardwareSchema: GenMessage = /*@__PURE__*/ messageDesc(file_metalstack_api_v2_machine, 24); /** - * MetalCPU contains details of a cpu in this machine + * MetalCPU contains details of a cpu in this machine. * * @generated from message metalstack.api.v2.MetalCPU */ export type MetalCPU = Message<"metalstack.api.v2.MetalCPU"> & { /** - * Vendor of this cpu + * Vendor of this cpu. * * @generated from field: string vendor = 1; */ vendor: string; /** - * Model of this cpu + * Model of this cpu. * * @generated from field: string model = 2; */ model: string; /** - * Cores of this cpu + * Cores of this cpu. * * @generated from field: uint32 cores = 3; */ cores: number; /** - * Threads of this cpu + * Threads of this cpu. * * @generated from field: uint32 threads = 4; */ @@ -1166,20 +1166,20 @@ export const MetalCPUSchema: GenMessage = /*@__PURE__*/ messageDesc(file_metalstack_api_v2_machine, 25); /** - * MetalGPU contains details of a gpu in this machine + * MetalGPU contains details of a gpu in this machine. * * @generated from message metalstack.api.v2.MetalGPU */ export type MetalGPU = Message<"metalstack.api.v2.MetalGPU"> & { /** - * Vendor of this gpu + * Vendor of this gpu. * * @generated from field: string vendor = 1; */ vendor: string; /** - * Model of this gpu + * Model of this gpu. * * @generated from field: string model = 2; */ @@ -1194,62 +1194,62 @@ export const MetalGPUSchema: GenMessage = /*@__PURE__*/ messageDesc(file_metalstack_api_v2_machine, 26); /** - * MachineNic contains details of a network interface of this machine + * MachineNic contains details of a network interface of this machine. * * @generated from message metalstack.api.v2.MachineNic */ export type MachineNic = Message<"metalstack.api.v2.MachineNic"> & { /** - * Mac the macaddress of this interface + * Mac the macaddress of this interface. * * @generated from field: string mac = 1; */ mac: string; /** - * Name of this interface + * Name of this interface. * * @generated from field: string name = 2; */ name: string; /** - * Identifier the unique identifier of this network interface + * Identifier the unique identifier of this network interface. * * @generated from field: string identifier = 3; */ identifier: string; /** - * Vendor of this network card + * Vendor of this network card. * * @generated from field: string vendor = 4; */ vendor: string; /** - * Model of this network card + * Model of this network card. * * @generated from field: string model = 5; */ model: string; /** - * Speed in bits/second of this network card + * Speed in bits/second of this network card. * * @generated from field: uint64 speed = 6; */ speed: bigint; /** - * Neighbors the neighbors visible to this network interface + * Neighbors the neighbors visible to this network interface. * * @generated from field: repeated metalstack.api.v2.MachineNic neighbors = 7; */ neighbors: MachineNic[]; /** - * Hostname the nic belongs to + * Hostname the nic belongs to. * * @generated from field: string hostname = 8; */ @@ -1264,20 +1264,20 @@ export const MachineNicSchema: GenMessage = /*@__PURE__*/ messageDesc(file_metalstack_api_v2_machine, 27); /** - * MachineBlockDevice contains details of a block device of this machine + * MachineBlockDevice contains details of a block device of this machine. * * @generated from message metalstack.api.v2.MachineBlockDevice */ export type MachineBlockDevice = Message<"metalstack.api.v2.MachineBlockDevice"> & { /** - * Name of this block device + * Name of this block device. * * @generated from field: string name = 1; */ name: string; /** - * Size of this block device in bytes + * Size of this block device in bytes. * * @generated from field: uint64 size = 2; */ @@ -1292,20 +1292,20 @@ export const MachineBlockDeviceSchema: GenMessage = /*@__PUR messageDesc(file_metalstack_api_v2_machine, 28); /** - * MachineChassisIdentifyLEDState describes the identifier led state + * MachineChassisIdentifyLEDState describes the identifier led state. * * @generated from message metalstack.api.v2.MachineChassisIdentifyLEDState */ export type MachineChassisIdentifyLEDState = Message<"metalstack.api.v2.MachineChassisIdentifyLEDState"> & { /** - * Value the state of this chassis identify LED. empty means LED-OFF + * Value the state of this chassis identify LED. empty means LED-OF. * * @generated from field: string value = 1; */ value: string; /** - * Description a description why this chassis identify LED is in the given state + * Description a description why this chassis identify LED is in the given state. * * @generated from field: string description = 2; */ @@ -1320,55 +1320,55 @@ export const MachineChassisIdentifyLEDStateSchema: GenMessage & { /** - * Bmc contains bmc details + * Bmc contains bmc details. * * @generated from field: metalstack.api.v2.MachineBMC bmc = 1; */ bmc?: MachineBMC | undefined; /** - * Bios contains bios details + * Bios contains bios details. * * @generated from field: metalstack.api.v2.MachineBios bios = 2; */ bios?: MachineBios | undefined; /** - * Fru contains field replaceable unit details + * Fru contains field replaceable unit details. * * @generated from field: metalstack.api.v2.MachineFRU fru = 3; */ fru?: MachineFRU | undefined; /** - * PowerMetric contains the power statistics of the machine + * PowerMetric contains the power statistics of the machine. * * @generated from field: metalstack.api.v2.MachinePowerMetric power_metric = 4; */ powerMetric?: MachinePowerMetric | undefined; /** - * PowerSupplies contains details about all power supplies and their state + * PowerSupplies contains details about all power supplies and their state. * * @generated from field: repeated metalstack.api.v2.MachinePowerSupply power_supplies = 5; */ powerSupplies: MachinePowerSupply[]; /** - * LedState indicates the state of the indicator LED on this machine + * LedState indicates the state of the indicator LED on this machine. * * @generated from field: metalstack.api.v2.MachineChassisIdentifyLEDState led_state = 6; */ ledState?: MachineChassisIdentifyLEDState | undefined; /** - * UpdatedAt contains the date when this data was last updated + * UpdatedAt contains the date when this data was last updated. * * @generated from field: google.protobuf.Timestamp updated_at = 7; */ @@ -1383,27 +1383,27 @@ export const MachineBMCReportSchema: GenMessage = /*@__PURE__* messageDesc(file_metalstack_api_v2_machine, 30); /** - * MachineBios contains BIOS details of this machine + * MachineBios contains BIOS details of this machine. * * @generated from message metalstack.api.v2.MachineBios */ export type MachineBios = Message<"metalstack.api.v2.MachineBios"> & { /** - * Version the bios version + * Version the bios version. * * @generated from field: string version = 1; */ version: string; /** - * Vendor the bios vendor + * Vendor the bios vendor. * * @generated from field: string vendor = 2; */ vendor: string; /** - * Date the bios date as string because every vendor has different ideas how to describe the date + * Date the bios date as string because every vendor has different ideas how to describe the date. * * @generated from field: string date = 3; */ @@ -1418,55 +1418,55 @@ export const MachineBiosSchema: GenMessage = /*@__PURE__*/ messageDesc(file_metalstack_api_v2_machine, 31); /** - * MachineBMC describe details of the ipmi or out of band device + * MachineBMC describe details of the ipmi or out of band device. * * @generated from message metalstack.api.v2.MachineBMC */ export type MachineBMC = Message<"metalstack.api.v2.MachineBMC"> & { /** - * Address of this ipmi device from outside in the form of : + * Address of this ipmi device from outside in the form of :. * * @generated from field: string address = 1; */ address: string; /** - * Mac address of the network interface of this ipmi device + * Mac address of the network interface of this ipmi device. * * @generated from field: string mac = 2; */ mac: string; /** - * User of this ipmi device + * User of this ipmi device. * * @generated from field: string user = 3; */ user: string; /** - * Password of this ipmi device + * Password of this ipmi device. * * @generated from field: string password = 4; */ password: string; /** - * Interface of this ipmi device + * Interface of this ipmi device. * * @generated from field: string interface = 5; */ interface: string; /** - * Version of this bmc device + * Version of this bmc device. * * @generated from field: string version = 6; */ version: string; /** - * PowerState of this machine + * PowerState of this machine. * * @generated from field: string power_state = 7; */ @@ -1481,62 +1481,62 @@ export const MachineBMCSchema: GenMessage = /*@__PURE__*/ messageDesc(file_metalstack_api_v2_machine, 32); /** - * MachineFRU describes details to the machine which are required in case of a necessary replacement + * MachineFRU describes details to the machine which are required in case of a necessary replacement. * * @generated from message metalstack.api.v2.MachineFRU */ export type MachineFRU = Message<"metalstack.api.v2.MachineFRU"> & { /** - * ChassisPartNumber is the part number of the machine chassis + * ChassisPartNumber is the part number of the machine chassis. * * @generated from field: optional string chassis_part_number = 1; */ chassisPartNumber?: string | undefined; /** - * ChassisPartSerial is the serial number of the machine chassis + * ChassisPartSerial is the serial number of the machine chassis. * * @generated from field: optional string chassis_part_serial = 2; */ chassisPartSerial?: string | undefined; /** - * BoardMfg is the short description of the mainboard + * BoardMfg is the short description of the mainboard. * * @generated from field: optional string board_mfg = 3; */ boardMfg?: string | undefined; /** - * BoardMfgSerial is the serial number of the mainboard + * BoardMfgSerial is the serial number of the mainboard. * * @generated from field: optional string board_mfg_serial = 4; */ boardMfgSerial?: string | undefined; /** - * BoardPartNumber is the part number of the mainboard + * BoardPartNumber is the part number of the mainboard. * * @generated from field: optional string board_part_number = 5; */ boardPartNumber?: string | undefined; /** - * ProductManufacturer is the manufacturer of the machine + * ProductManufacturer is the manufacturer of the machine. * * @generated from field: optional string product_manufacturer = 6; */ productManufacturer?: string | undefined; /** - * ProductPartNumber is the part number of the machine + * ProductPartNumber is the part number of the machine. * * @generated from field: optional string product_part_number = 7; */ productPartNumber?: string | undefined; /** - * ProductSerial is the serial number of the machine + * ProductSerial is the serial number of the machine. * * @generated from field: optional string product_serial = 8; */ @@ -1551,24 +1551,20 @@ export const MachineFRUSchema: GenMessage = /*@__PURE__*/ messageDesc(file_metalstack_api_v2_machine, 33); /** - * MachinePowerMetric contains metrics of the power consumption of a machine + * MachinePowerMetric contains metrics of the power consumption of a machine. * * @generated from message metalstack.api.v2.MachinePowerMetric */ export type MachinePowerMetric = Message<"metalstack.api.v2.MachinePowerMetric"> & { /** - * AverageConsumedWatts shall represent the - * average power level that occurred averaged over the last IntervalInMin - * minutes. + * AverageConsumedWatts shall represent the average power level that occurred averaged over the last IntervalInMin minutes. * * @generated from field: float average_consumed_watts = 1; */ averageConsumedWatts: number; /** - * IntervalInMin shall represent the time - * interval (or window), in minutes, in which the PowerMetrics properties - * are measured over. + * 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. * * @generated from field: float interval_in_min = 2; @@ -1576,18 +1572,14 @@ export type MachinePowerMetric = Message<"metalstack.api.v2.MachinePowerMetric"> intervalInMin: number; /** - * MaxConsumedWatts shall represent the - * maximum power level in watts that occurred within the last - * IntervalInMin minutes. + * MaxConsumedWatts shall represent the maximum power level in watts that occurred within the last IntervalInMin minutes. * * @generated from field: float max_consumed_watts = 3; */ maxConsumedWatts: number; /** - * MinConsumedWatts shall represent the - * minimum power level in watts that occurred within the last - * IntervalInMin minutes. + * MinConsumedWatts shall represent the minimum power level in watts that occurred within the last IntervalInMin minutes. * * @generated from field: float min_consumed_watts = 4; */ @@ -1602,20 +1594,20 @@ export const MachinePowerMetricSchema: GenMessage = /*@__PUR messageDesc(file_metalstack_api_v2_machine, 34); /** - * MachinePowerSupply contains details of the power supply of a machine + * MachinePowerSupply contains details of the power supply of a machine. * * @generated from message metalstack.api.v2.MachinePowerSupply */ export type MachinePowerSupply = Message<"metalstack.api.v2.MachinePowerSupply"> & { /** - * Health of the powersupply + * Health of the powersupply. * * @generated from field: string health = 1; */ health: string; /** - * State of the powersupply + * State of the powersupply. * * @generated from field: string state = 2; */ @@ -1630,34 +1622,34 @@ export const MachinePowerSupplySchema: GenMessage = /*@__PUR messageDesc(file_metalstack_api_v2_machine, 35); /** - * MachineRecentProvisioningEvents the recent provisioning events for this machine + * MachineRecentProvisioningEvents the recent provisioning events for this machine. * * @generated from message metalstack.api.v2.MachineRecentProvisioningEvents */ export type MachineRecentProvisioningEvents = Message<"metalstack.api.v2.MachineRecentProvisioningEvents"> & { /** - * Events the log of recent machine provisioning events + * Events the log of recent machine provisioning events. * * @generated from field: repeated metalstack.api.v2.MachineProvisioningEvent events = 1; */ events: MachineProvisioningEvent[]; /** - * LastEventTime the time where the last event was received + * LastEventTime the time where the last event was received. * * @generated from field: google.protobuf.Timestamp last_event_time = 2; */ lastEventTime?: Timestamp | undefined; /** - * LastErrorEvent the last erroneous event received + * LastErrorEvent the last erroneous event received. * * @generated from field: metalstack.api.v2.MachineProvisioningEvent last_error_event = 3; */ lastErrorEvent?: MachineProvisioningEvent | undefined; /** - * State can be either CrashLoop, FailedReclaim or something else + * State can be either CrashLoop, FailedReclaim or something else. * * @generated from field: metalstack.api.v2.MachineProvisioningEventState state = 4; */ @@ -1672,27 +1664,27 @@ export const MachineRecentProvisioningEventsSchema: GenMessage & { /** - * Time the time that this event was received + * Time the time that this event was received. * * @generated from field: google.protobuf.Timestamp time = 1; */ time?: Timestamp | undefined; /** - * Event the event emitted by the machine + * Event the event emitted by the machine. * * @generated from field: metalstack.api.v2.MachineProvisioningEventType event = 2; */ event: MachineProvisioningEventType; /** - * Message an additional message to add to the event + * Message an additional message to add to the event. * * @generated from field: string message = 3; */ @@ -1707,34 +1699,34 @@ export const MachineProvisioningEventSchema: GenMessage & { /** - * Address of VPN control plane + * Address of VPN control plane. * * @generated from field: string control_plane_address = 1; */ controlPlaneAddress: string; /** - * Auth key used to connect to VPN + * Auth key used to connect to VPN. * * @generated from field: string auth_key = 2; */ authKey: string; /** - * Connected indicate if this machine is connected to the VPN + * Connected indicate if this machine is connected to the VPN. * * @generated from field: bool connected = 3; */ connected: boolean; /** - * IPs of the machine connected to the vpn + * IPs of the machine connected to the vpn. * * @generated from field: repeated string ips = 4; */ @@ -1755,105 +1747,105 @@ export const MachineVPNSchema: GenMessage = /*@__PURE__*/ */ export type MachineQuery = Message<"metalstack.api.v2.MachineQuery"> & { /** - * UUID of the machine to get + * UUID of the machine to get. * * @generated from field: optional string uuid = 1; */ uuid?: string | undefined; /** - * Name of the machine to get + * Name of the machine to get. * * @generated from field: optional string name = 2; */ name?: string | undefined; /** - * Partition of the machine to get + * Partition of the machine to get. * * @generated from field: optional string partition = 3; */ partition?: string | undefined; /** - * Size of the machine to get + * Size of the machine to get. * * @generated from field: optional string size = 4; */ size?: string | undefined; /** - * Rack of the machine to get + * Rack of the machine to get. * * @generated from field: optional string rack = 5; */ rack?: string | undefined; /** - * Room of the machine to get + * Room of the machine to get. * * @generated from field: optional string room = 6; */ room?: string | undefined; /** - * Labels for which this machine should get filtered + * Labels for which this machine should get filtered. * * @generated from field: optional metalstack.api.v2.Labels labels = 7; */ labels?: Labels | undefined; /** - * Allocation specific machine queries + * Allocation specific machine queries. * * @generated from field: optional metalstack.api.v2.MachineAllocationQuery allocation = 8; */ allocation?: MachineAllocationQuery | undefined; /** - * Network specific machine queries + * Network specific machine queries. * * @generated from field: optional metalstack.api.v2.MachineNetworkQuery network = 9; */ network?: MachineNetworkQuery | undefined; /** - * Nic specific machine queries + * Nic specific machine queries. * * @generated from field: optional metalstack.api.v2.MachineNicQuery nic = 10; */ nic?: MachineNicQuery | undefined; /** - * Disk specific machine queries + * Disk specific machine queries. * * @generated from field: optional metalstack.api.v2.MachineDiskQuery disk = 11; */ disk?: MachineDiskQuery | undefined; /** - * Bmc specific machine queries + * Bmc specific machine queries. * * @generated from field: optional metalstack.api.v2.MachineBMCQuery bmc = 12; */ bmc?: MachineBMCQuery | undefined; /** - * Fru specific machine queries + * Fru specific machine queries. * * @generated from field: optional metalstack.api.v2.MachineFRUQuery fru = 13; */ fru?: MachineFRUQuery | undefined; /** - * Hardware specific machine query + * Hardware specific machine query. * * @generated from field: optional metalstack.api.v2.MachineHardwareQuery hardware = 14; */ hardware?: MachineHardwareQuery | undefined; /** - * State this machine has + * State this machine has. * * @generated from field: optional metalstack.api.v2.MachineState state = 15; */ @@ -1892,69 +1884,69 @@ export const MachineQuerySchema: GenMessage = /*@__PURE__*/ messageDesc(file_metalstack_api_v2_machine, 39); /** - * MachineAllocationQuery allocation specific query parameters + * MachineAllocationQuery allocation specific query parameters. * * @generated from message metalstack.api.v2.MachineAllocationQuery */ export type MachineAllocationQuery = Message<"metalstack.api.v2.MachineAllocationQuery"> & { /** - * UUID of the allocation of the machine to get + * UUID of the allocation of the machine to get. * * @generated from field: optional string uuid = 1; */ uuid?: string | undefined; /** - * Name of the machine to get + * Name of the machine to get. * * @generated from field: optional string name = 2; */ name?: string | undefined; /** - * Project of the machine to get + * Project of the machine to get. * * @generated from field: optional string project = 3; */ project?: string | undefined; /** - * Image of the machine to get + * Image of the machine to get. * * @generated from field: optional string image = 4; */ image?: string | undefined; /** - * FilesystemLayout of the machine to get + * FilesystemLayout of the machine to get. * * @generated from field: optional string filesystem_layout = 5; */ filesystemLayout?: string | undefined; /** - * Hostname of the machine to get + * Hostname of the machine to get. * * @generated from field: optional string hostname = 6; */ hostname?: string | undefined; /** - * AllocationType of this machine + * AllocationType of this machine. * * @generated from field: optional metalstack.api.v2.MachineAllocationType allocation_type = 7; */ allocationType?: MachineAllocationType | undefined; /** - * Labels for which this machine allocation should get filtered + * Labels for which this machine allocation should get filtered. * * @generated from field: optional metalstack.api.v2.Labels labels = 8; */ labels?: Labels | undefined; /** - * VPN query if this machine has a vpn configuration + * VPN query if this machine has a vpn configuration. * * @generated from field: optional metalstack.api.v2.MachineVPN vpn = 9; */ @@ -1969,48 +1961,48 @@ export const MachineAllocationQuerySchema: GenMessage = messageDesc(file_metalstack_api_v2_machine, 40); /** - * MachineNetworkQuery network specific machine queries + * MachineNetworkQuery network specific machine queries. * * @generated from message metalstack.api.v2.MachineNetworkQuery */ export type MachineNetworkQuery = Message<"metalstack.api.v2.MachineNetworkQuery"> & { /** - * Networks this machine is connected to + * Networks this machine is connected to. * * @generated from field: repeated string networks = 1; */ networks: string[]; /** - * Prefixes this machine is connected to + * Prefixes this machine is connected to. * * @generated from field: repeated string prefixes = 2; */ prefixes: string[]; /** - * DestinationPrefixes this machine is connected to + * DestinationPrefixes this machine is connected to. * * @generated from field: repeated string destination_prefixes = 3; */ destinationPrefixes: string[]; /** - * IPs this machine has + * IPs this machine has. * * @generated from field: repeated string ips = 4; */ ips: string[]; /** - * VRFs this machine is connected to + * VRFs this machine is connected to. * * @generated from field: repeated uint64 vrfs = 5; */ vrfs: bigint[]; /** - * ASNs this machine is connected to + * ASNs this machine is connected to. * * @generated from field: repeated uint32 asns = 6; */ @@ -2025,34 +2017,34 @@ export const MachineNetworkQuerySchema: GenMessage = /*@__P messageDesc(file_metalstack_api_v2_machine, 41); /** - * MachineNicQuery nic specific machine queries + * MachineNicQuery nic specific machine queries. * * @generated from message metalstack.api.v2.MachineNicQuery */ export type MachineNicQuery = Message<"metalstack.api.v2.MachineNicQuery"> & { /** - * Macs this machine nic has + * Macs this machine nic has. * * @generated from field: repeated string macs = 1; */ macs: string[]; /** - * Names this machine nic has + * Names this machine nic has. * * @generated from field: repeated string names = 2; */ names: string[]; /** - * NeighborMacs this machine nic has + * NeighborMacs this machine nic has. * * @generated from field: repeated string neighbor_macs = 3; */ neighborMacs: string[]; /** - * NeighborNames this machine nic has + * NeighborNames this machine nic has. * * @generated from field: repeated string neighbor_names = 4; */ @@ -2067,20 +2059,20 @@ export const MachineNicQuerySchema: GenMessage = /*@__PURE__*/ messageDesc(file_metalstack_api_v2_machine, 42); /** - * MachineDiskQuery disk specific machine queries + * MachineDiskQuery disk specific machine queries. * * @generated from message metalstack.api.v2.MachineDiskQuery */ export type MachineDiskQuery = Message<"metalstack.api.v2.MachineDiskQuery"> & { /** - * Names of disks in this machine + * Names of disks in this machine. * * @generated from field: repeated string names = 1; */ names: string[]; /** - * Sizes of disks in this machine + * Sizes of disks in this machine. * * @generated from field: repeated uint64 sizes = 2; */ @@ -2095,34 +2087,34 @@ export const MachineDiskQuerySchema: GenMessage = /*@__PURE__* messageDesc(file_metalstack_api_v2_machine, 43); /** - * MachineBMCQuery machine ipmi or bmc specific machine queries + * MachineBMCQuery machine ipmi or bmc specific machine queries. * * @generated from message metalstack.api.v2.MachineBMCQuery */ export type MachineBMCQuery = Message<"metalstack.api.v2.MachineBMCQuery"> & { /** - * Address of the ipmi system of this machine + * Address of the ipmi system of this machine. * * @generated from field: optional string address = 1; */ address?: string | undefined; /** - * Mac of the ipmi system of this machine + * Mac of the ipmi system of this machine. * * @generated from field: optional string mac = 2; */ mac?: string | undefined; /** - * User of the ipmi system of this machine + * User of the ipmi system of this machine. * * @generated from field: optional string user = 3; */ user?: string | undefined; /** - * Interface of the ipmi system of this machine + * Interface of the ipmi system of this machine. * * @generated from field: optional string interface = 4; */ @@ -2137,62 +2129,62 @@ export const MachineBMCQuerySchema: GenMessage = /*@__PURE__*/ messageDesc(file_metalstack_api_v2_machine, 44); /** - * MachineFRUQuery machine fru specific machine queries + * MachineFRUQuery machine fru specific machine queries. * * @generated from message metalstack.api.v2.MachineFRUQuery */ export type MachineFRUQuery = Message<"metalstack.api.v2.MachineFRUQuery"> & { /** - * ChassisPartNumber of this machine + * ChassisPartNumber of this machine. * * @generated from field: optional string chassis_part_number = 1; */ chassisPartNumber?: string | undefined; /** - * ChassisPartSerial of this machine + * ChassisPartSerial of this machine. * * @generated from field: optional string chassis_part_serial = 2; */ chassisPartSerial?: string | undefined; /** - * BoardMFG of this machine + * BoardMFG of this machine. * * @generated from field: optional string board_mfg = 3; */ boardMfg?: string | undefined; /** - * BoardSerial of this machine + * BoardSerial of this machine. * * @generated from field: optional string board_serial = 4; */ boardSerial?: string | undefined; /** - * BoardPartNumber of this machine + * BoardPartNumber of this machine. * * @generated from field: optional string board_part_number = 5; */ boardPartNumber?: string | undefined; /** - * ProductManufacturer of this machine + * ProductManufacturer of this machine. * * @generated from field: optional string product_manufacturer = 6; */ productManufacturer?: string | undefined; /** - * ProductPartNumber of this machine + * ProductPartNumber of this machine. * * @generated from field: optional string product_part_number = 7; */ productPartNumber?: string | undefined; /** - * ProductSerial of this machine + * ProductSerial of this machine. * * @generated from field: optional string product_serial = 8; */ @@ -2207,20 +2199,20 @@ export const MachineFRUQuerySchema: GenMessage = /*@__PURE__*/ messageDesc(file_metalstack_api_v2_machine, 45); /** - * MachineHardwareQuery machine hardware specific machine queries + * MachineHardwareQuery machine hardware specific machine queries. * * @generated from message metalstack.api.v2.MachineHardwareQuery */ export type MachineHardwareQuery = Message<"metalstack.api.v2.MachineHardwareQuery"> & { /** - * Memory the total memory of the machine in bytes + * Memory the total memory of the machine in bytes. * * @generated from field: optional uint64 memory = 1; */ memory?: bigint | undefined; /** - * CPUCores the number of cpu cores + * CPUCores the number of cpu cores. * * @generated from field: optional uint32 cpu_cores = 2; */ @@ -2235,41 +2227,41 @@ export const MachineHardwareQuerySchema: GenMessage = /*@_ messageDesc(file_metalstack_api_v2_machine, 46); /** - * MachineIssuesQuery defines which machine issues should be listed + * MachineIssuesQuery defines which machine issues should be listed. * * @generated from message metalstack.api.v2.MachineIssuesQuery */ export type MachineIssuesQuery = Message<"metalstack.api.v2.MachineIssuesQuery"> & { /** - * MachineQuery to select specific machines + * MachineQuery to select specific machines. * * @generated from field: metalstack.api.v2.MachineQuery machine_query = 1; */ machineQuery?: MachineQuery | undefined; /** - * Only includes the specified machine issue types + * Only includes the specified machine issue types. * * @generated from field: repeated metalstack.api.v2.MachineIssueType only = 2; */ only: MachineIssueType[]; /** - * Omits the specified machine issues + * Omits the specified machine issues. * * @generated from field: repeated metalstack.api.v2.MachineIssueType omit = 3; */ omit: MachineIssueType[]; /** - * Severity filters issue for given severity + * Severity filters issue for given severity. * * @generated from field: optional metalstack.api.v2.MachineIssueSeverity severity = 4; */ severity?: MachineIssueSeverity | undefined; /** - * LastErrorThreshold defines the last error threshold + * LastErrorThreshold defines the last error threshold. * * @generated from field: google.protobuf.Duration last_error_threshold = 5; */ @@ -2284,20 +2276,20 @@ export const MachineIssuesQuerySchema: GenMessage = /*@__PUR messageDesc(file_metalstack_api_v2_machine, 47); /** - * MachineIssues is a list of issues for a machine + * MachineIssues is a list of issues for a machine. * * @generated from message metalstack.api.v2.MachineIssues */ export type MachineIssues = Message<"metalstack.api.v2.MachineIssues"> & { /** - * UUID of the machine for which the issues are listed + * UUID of the machine for which the issues are listed. * * @generated from field: string uuid = 1; */ uuid: string; /** - * Issues of this machine + * Issues of this machine. * * @generated from field: repeated metalstack.api.v2.MachineIssue issues = 2; */ @@ -2312,41 +2304,41 @@ export const MachineIssuesSchema: GenMessage = /*@__PURE__*/ messageDesc(file_metalstack_api_v2_machine, 48); /** - * MachineIssue contains details of one issue + * MachineIssue contains details of one issue. * * @generated from message metalstack.api.v2.MachineIssue */ export type MachineIssue = Message<"metalstack.api.v2.MachineIssue"> & { /** - * Type specifies the issue type (id) + * Type specifies the issue type (id). * * @generated from field: metalstack.api.v2.MachineIssueType type = 1; */ type: MachineIssueType; /** - * Severity specifies the severity of an issue + * Severity specifies the severity of an issue. * * @generated from field: metalstack.api.v2.MachineIssueSeverity severity = 2; */ severity: MachineIssueSeverity; /** - * Description provides an issue description + * Description provides an issue description. * * @generated from field: string description = 3; */ description: string; /** - * RefURL provides a link to a more detailed issue description in the metal-stack documentation + * RefURL provides a link to a more detailed issue description in the metal-stack documentation. * * @generated from field: string reference_url = 4; */ referenceUrl: string; /** - * Details may contain additional details on an evaluated issue + * Details may contain additional details on an evaluated issue. * * @generated from field: string details = 5; */ @@ -2361,27 +2353,27 @@ export const MachineIssueSchema: GenMessage = /*@__PURE__*/ messageDesc(file_metalstack_api_v2_machine, 49); /** - * IPProtocol defines tcp|udp + * IPProtocol defines tcp|udp. * * @generated from enum metalstack.api.v2.IPProtocol */ export enum IPProtocol { /** - * IP_PROTOCOL_UNSPECIFIED is not specified + * IP_PROTOCOL_UNSPECIFIED is not specified. * * @generated from enum value: IP_PROTOCOL_UNSPECIFIED = 0; */ IP_PROTOCOL_UNSPECIFIED = 0, /** - * IP_PROTOCOL_TCP is tcp + * IP_PROTOCOL_TCP is tcp. * * @generated from enum value: IP_PROTOCOL_TCP = 1; */ IP_PROTOCOL_TCP = 1, /** - * IP_PROTOCOL_UDP is udp + * IP_PROTOCOL_UDP is udp. * * @generated from enum value: IP_PROTOCOL_UDP = 2; */ @@ -2395,34 +2387,34 @@ export const IPProtocolSchema: GenEnum = /*@__PURE__*/ enumDesc(file_metalstack_api_v2_machine, 0); /** - * MachineState defines if the machine was locked or reserved from a operator + * MachineState defines if the machine was locked or reserved from a operator. * * @generated from enum metalstack.api.v2.MachineState */ export enum MachineState { /** - * MACHINE_STATE_UNSPECIFIED is not specified + * MACHINE_STATE_UNSPECIFIED is not specified. * * @generated from enum value: MACHINE_STATE_UNSPECIFIED = 0; */ UNSPECIFIED = 0, /** - * MACHINE_STATE_TAINTED this machine is tainted, i.e. this machine is not considered during random machine allocation, but still by specifying the uuid + * MACHINE_STATE_TAINTED this machine is tainted, i.e. this machine is not considered during random machine allocation, but still by specifying the uui. * * @generated from enum value: MACHINE_STATE_TAINTED = 1; */ TAINTED = 1, /** - * MACHINE_STATE_LOCKED this machine is locked, i.e. this machine cannot be allocated or deleted + * MACHINE_STATE_LOCKED this machine is locked, i.e. this machine cannot be allocated or delete. * * @generated from enum value: MACHINE_STATE_LOCKED = 2; */ LOCKED = 2, /** - * MACHINE_STATE_AVAILABLE this machine is available for all + * MACHINE_STATE_AVAILABLE this machine is available for all. * * @generated from enum value: MACHINE_STATE_AVAILABLE = 3; */ @@ -2436,27 +2428,27 @@ export const MachineStateSchema: GenEnum = /*@__PURE__*/ enumDesc(file_metalstack_api_v2_machine, 1); /** - * MachineProvisioningEventState possible event states + * MachineProvisioningEventState possible event states. * * @generated from enum metalstack.api.v2.MachineProvisioningEventState */ export enum MachineProvisioningEventState { /** - * MACHINE_PROVISIONING_EVENT_STATE_UNSPECIFIED is not specified + * MACHINE_PROVISIONING_EVENT_STATE_UNSPECIFIED is not specified. * * @generated from enum value: MACHINE_PROVISIONING_EVENT_STATE_UNSPECIFIED = 0; */ UNSPECIFIED = 0, /** - * MACHINE_PROVISIONING_EVENT_STATE_CRASHLOOP machine is in crash loop + * MACHINE_PROVISIONING_EVENT_STATE_CRASHLOOP machine is in crash loop. * * @generated from enum value: MACHINE_PROVISIONING_EVENT_STATE_CRASHLOOP = 1; */ CRASHLOOP = 1, /** - * MACHINE_PROVISIONING_EVENT_STATE_FAILED_RECLAIM machine is in failed reclaim + * MACHINE_PROVISIONING_EVENT_STATE_FAILED_RECLAIM machine is in failed reclaim. * * @generated from enum value: MACHINE_PROVISIONING_EVENT_STATE_FAILED_RECLAIM = 2; */ @@ -2470,90 +2462,90 @@ export const MachineProvisioningEventStateSchema: GenEnum = /*@__PURE__*/ enumDesc(file_metalstack_api_v2_machine, 4); /** - * MachineAllocationType defines if this is a machine or a firewall + * MachineAllocationType defines if this is a machine or a firewall. * * @generated from enum metalstack.api.v2.MachineAllocationType */ export enum MachineAllocationType { /** - * MACHINE_ALLOCATION_TYPE_UNSPECIFIED is unspecified + * MACHINE_ALLOCATION_TYPE_UNSPECIFIED is unspecified. * * @generated from enum value: MACHINE_ALLOCATION_TYPE_UNSPECIFIED = 0; */ UNSPECIFIED = 0, /** - * MACHINE_ALLOCATION_TYPE_MACHINE is a machine + * MACHINE_ALLOCATION_TYPE_MACHINE is a machine. * * @generated from enum value: MACHINE_ALLOCATION_TYPE_MACHINE = 1; */ MACHINE = 1, /** - * MACHINE_ALLOCATION_TYPE_FIREWALL is a firewall + * MACHINE_ALLOCATION_TYPE_FIREWALL is a firewall. * * @generated from enum value: MACHINE_ALLOCATION_TYPE_FIREWALL = 2; */ @@ -2642,90 +2634,90 @@ export const MachineAllocationTypeSchema: GenEnum = /*@__ enumDesc(file_metalstack_api_v2_machine, 5); /** - * MachineBMCCommand defines commands send to the BMC of the machine + * MachineBMCCommand defines commands send to the BMC of the machine. * * @generated from enum metalstack.api.v2.MachineBMCCommand */ export enum MachineBMCCommand { /** - * MACHINE_BMC_COMMAND_UNSPECIFIED is not defined + * MACHINE_BMC_COMMAND_UNSPECIFIED is not defined. * * @generated from enum value: MACHINE_BMC_COMMAND_UNSPECIFIED = 0; */ MACHINE_BMC_COMMAND_UNSPECIFIED = 0, /** - * MACHINE_BMC_COMMAND_ON Power on the machine + * MACHINE_BMC_COMMAND_ON Power on the machine. * * @generated from enum value: MACHINE_BMC_COMMAND_ON = 1; */ MACHINE_BMC_COMMAND_ON = 1, /** - * MACHINE_BMC_COMMAND_OFF Power off the machine + * MACHINE_BMC_COMMAND_OFF Power off the machine. * * @generated from enum value: MACHINE_BMC_COMMAND_OFF = 2; */ MACHINE_BMC_COMMAND_OFF = 2, /** - * MACHINE_BMC_COMMAND_RESET Power reset the machine + * MACHINE_BMC_COMMAND_RESET Power reset the machine. * * @generated from enum value: MACHINE_BMC_COMMAND_RESET = 3; */ MACHINE_BMC_COMMAND_RESET = 3, /** - * MACHINE_BMC_COMMAND_CYCLE Power cycle the machine + * MACHINE_BMC_COMMAND_CYCLE Power cycle the machine. * * @generated from enum value: MACHINE_BMC_COMMAND_CYCLE = 4; */ MACHINE_BMC_COMMAND_CYCLE = 4, /** - * MACHINE_BMC_COMMAND_BOOT_TO_BIOS boot the machine into bios + * MACHINE_BMC_COMMAND_BOOT_TO_BIOS boot the machine into bios. * * @generated from enum value: MACHINE_BMC_COMMAND_BOOT_TO_BIOS = 5; */ MACHINE_BMC_COMMAND_BOOT_TO_BIOS = 5, /** - * MACHINE_BMC_COMMAND_BOOT_FROM_DISK boot the machine from hard disk + * MACHINE_BMC_COMMAND_BOOT_FROM_DISK boot the machine from hard disk. * * @generated from enum value: MACHINE_BMC_COMMAND_BOOT_FROM_DISK = 6; */ MACHINE_BMC_COMMAND_BOOT_FROM_DISK = 6, /** - * MACHINE_BMC_COMMAND_BOOT_FROM_PXE boot the machine from pxe + * MACHINE_BMC_COMMAND_BOOT_FROM_PXE boot the machine from pxe. * * @generated from enum value: MACHINE_BMC_COMMAND_BOOT_FROM_PXE = 7; */ MACHINE_BMC_COMMAND_BOOT_FROM_PXE = 7, /** - * MACHINE_BMC_COMMAND_IDENTIFY_LED_ON set identify led of the machine chassis to on + * MACHINE_BMC_COMMAND_IDENTIFY_LED_ON set identify led of the machine chassis to on. * * @generated from enum value: MACHINE_BMC_COMMAND_IDENTIFY_LED_ON = 8; */ MACHINE_BMC_COMMAND_IDENTIFY_LED_ON = 8, /** - * MACHINE_BMC_COMMAND_IDENTIFY_LED_OFF set identify led of the machine chassis to off + * MACHINE_BMC_COMMAND_IDENTIFY_LED_OFF set identify led of the machine chassis to off. * * @generated from enum value: MACHINE_BMC_COMMAND_IDENTIFY_LED_OFF = 9; */ MACHINE_BMC_COMMAND_IDENTIFY_LED_OFF = 9, /** - * MACHINE_BMC_COMMAND_MACHINE_DELETED should be called if the machine was deleted to power cycle and boot into pxe + * MACHINE_BMC_COMMAND_MACHINE_DELETED should be called if the machine was deleted to power cycle and boot into pxe. * * @generated from enum value: MACHINE_BMC_COMMAND_MACHINE_DELETED = 10; */ MACHINE_BMC_COMMAND_MACHINE_DELETED = 10, /** - * MACHINE_BMC_COMMAND_MACHINE_CREATED should be called if the machine was created to set the boot order to boot from disk + * MACHINE_BMC_COMMAND_MACHINE_CREATED should be called if the machine was created to set the boot order to boot from disk. * * @generated from enum value: MACHINE_BMC_COMMAND_MACHINE_CREATED = 11; */ @@ -2739,104 +2731,104 @@ export const MachineBMCCommandSchema: GenEnum = /*@__PURE__*/ enumDesc(file_metalstack_api_v2_machine, 6); /** - * MachineIssueType defines which type of issue it is + * MachineIssueType defines which type of issue it is. * * @generated from enum metalstack.api.v2.MachineIssueType */ export enum MachineIssueType { /** - * MACHINE_ISSUE_TYPE_UNSPECIFIED type is not specified + * MACHINE_ISSUE_TYPE_UNSPECIFIED type is not specified. * * @generated from enum value: MACHINE_ISSUE_TYPE_UNSPECIFIED = 0; */ UNSPECIFIED = 0, /** - * MACHINE_ISSUE_TYPE_ASN_UNIQUENESS machine asn is not unique + * MACHINE_ISSUE_TYPE_ASN_UNIQUENESS machine asn is not unique. * * @generated from enum value: MACHINE_ISSUE_TYPE_ASN_UNIQUENESS = 1; */ ASN_UNIQUENESS = 1, /** - * MACHINE_ISSUE_TYPE_BMC_INFO_OUTDATED machine bmc info out of date + * MACHINE_ISSUE_TYPE_BMC_INFO_OUTDATED machine bmc info out of date. * * @generated from enum value: MACHINE_ISSUE_TYPE_BMC_INFO_OUTDATED = 2; */ BMC_INFO_OUTDATED = 2, /** - * MACHINE_ISSUE_TYPE_BMC_NON_DISTINCT_IP machine bmc ip is not distinct + * MACHINE_ISSUE_TYPE_BMC_NON_DISTINCT_IP machine bmc ip is not distinct. * * @generated from enum value: MACHINE_ISSUE_TYPE_BMC_NON_DISTINCT_IP = 3; */ BMC_NON_DISTINCT_IP = 3, /** - * MACHINE_ISSUE_TYPE_BMC_WITHOUT_IP machine bmc without ip + * MACHINE_ISSUE_TYPE_BMC_WITHOUT_IP machine bmc without ip. * * @generated from enum value: MACHINE_ISSUE_TYPE_BMC_WITHOUT_IP = 4; */ BMC_WITHOUT_IP = 4, /** - * MACHINE_ISSUE_TYPE_BMC_WITHOUT_MAC machine bmc without mac address + * MACHINE_ISSUE_TYPE_BMC_WITHOUT_MAC machine bmc without mac address. * * @generated from enum value: MACHINE_ISSUE_TYPE_BMC_WITHOUT_MAC = 5; */ BMC_WITHOUT_MAC = 5, /** - * MACHINE_ISSUE_TYPE_CRASH_LOOP machine is in crashloop + * MACHINE_ISSUE_TYPE_CRASH_LOOP machine is in crashloop. * * @generated from enum value: MACHINE_ISSUE_TYPE_CRASH_LOOP = 6; */ CRASH_LOOP = 6, /** - * MACHINE_ISSUE_TYPE_FAILED_MACHINE_RECLAIM machine was not freed after delete + * MACHINE_ISSUE_TYPE_FAILED_MACHINE_RECLAIM machine was not freed after delete. * * @generated from enum value: MACHINE_ISSUE_TYPE_FAILED_MACHINE_RECLAIM = 7; */ FAILED_MACHINE_RECLAIM = 7, /** - * MACHINE_ISSUE_TYPE_LAST_EVENT_ERROR machine last event error + * MACHINE_ISSUE_TYPE_LAST_EVENT_ERROR machine last event error. * * @generated from enum value: MACHINE_ISSUE_TYPE_LAST_EVENT_ERROR = 8; */ LAST_EVENT_ERROR = 8, /** - * MACHINE_ISSUE_TYPE_LIVELINESS_DEAD machine is dead + * MACHINE_ISSUE_TYPE_LIVELINESS_DEAD machine is dead. * * @generated from enum value: MACHINE_ISSUE_TYPE_LIVELINESS_DEAD = 9; */ LIVELINESS_DEAD = 9, /** - * MACHINE_ISSUE_TYPE_LIVELINESS_NOT_AVAILABLE machine liveliness is not available + * MACHINE_ISSUE_TYPE_LIVELINESS_NOT_AVAILABLE machine liveliness is not available. * * @generated from enum value: MACHINE_ISSUE_TYPE_LIVELINESS_NOT_AVAILABLE = 10; */ LIVELINESS_NOT_AVAILABLE = 10, /** - * MACHINE_ISSUE_TYPE_LIVELINESS_UNKNOWN machine liveliness is unknown + * MACHINE_ISSUE_TYPE_LIVELINESS_UNKNOWN machine liveliness is unknown. * * @generated from enum value: MACHINE_ISSUE_TYPE_LIVELINESS_UNKNOWN = 11; */ LIVELINESS_UNKNOWN = 11, /** - * MACHINE_ISSUE_TYPE_NO_EVENT_CONTAINER machine does not have a event container + * MACHINE_ISSUE_TYPE_NO_EVENT_CONTAINER machine does not have a event container. * * @generated from enum value: MACHINE_ISSUE_TYPE_NO_EVENT_CONTAINER = 12; */ NO_EVENT_CONTAINER = 12, /** - * MACHINE_ISSUE_TYPE_NO_PARTITION no partition set + * MACHINE_ISSUE_TYPE_NO_PARTITION no partition set. * * @generated from enum value: MACHINE_ISSUE_TYPE_NO_PARTITION = 13; */ @@ -2850,34 +2842,34 @@ export const MachineIssueTypeSchema: GenEnum = /*@__PURE__*/ enumDesc(file_metalstack_api_v2_machine, 7); /** - * MachineIssueSeverity defines the severity of an issue + * MachineIssueSeverity defines the severity of an issue. * * @generated from enum metalstack.api.v2.MachineIssueSeverity */ export enum MachineIssueSeverity { /** - * MACHINE_ISSUE_SEVERITY_UNSPECIFIED severity is not specified + * MACHINE_ISSUE_SEVERITY_UNSPECIFIED severity is not specified. * * @generated from enum value: MACHINE_ISSUE_SEVERITY_UNSPECIFIED = 0; */ UNSPECIFIED = 0, /** - * MACHINE_ISSUE_SEVERITY_MINOR machine issues is of severity minor + * MACHINE_ISSUE_SEVERITY_MINOR machine issues is of severity minor. * * @generated from enum value: MACHINE_ISSUE_SEVERITY_MINOR = 1; */ MINOR = 1, /** - * MACHINE_ISSUE_SEVERITY_MAJOR machine issues is of severity major + * MACHINE_ISSUE_SEVERITY_MAJOR machine issues is of severity major. * * @generated from enum value: MACHINE_ISSUE_SEVERITY_MAJOR = 2; */ MAJOR = 2, /** - * MACHINE_ISSUE_SEVERITY_CRITICAL machine issues is of severity critical + * MACHINE_ISSUE_SEVERITY_CRITICAL machine issues is of severity critical. * * @generated from enum value: MACHINE_ISSUE_SEVERITY_CRITICAL = 3; */ diff --git a/js/metalstack/api/v2/method_pb.d.ts b/js/metalstack/api/v2/method_pb.d.ts index a2b51a2d..0501bd19 100644 --- a/js/metalstack/api/v2/method_pb.d.ts +++ b/js/metalstack/api/v2/method_pb.d.ts @@ -24,7 +24,7 @@ export declare const MethodServiceListRequestSchema: GenMessage & { /** - * Methods is a list of methods public callable + * Methods is a list of methods public callable. * * @generated from field: repeated string methods = 1; */ @@ -53,13 +53,13 @@ export declare const MethodServiceTokenScopedListRequestSchema: GenMessage & { /** - * Permissions contains a list of methods which can be called + * Permissions contains a list of methods which can be called. * * @generated from field: repeated metalstack.api.v2.MethodPermission permissions = 1; */ permissions: MethodPermission[]; /** - * ProjectRoles associates a project ID with the corresponding role of the token owner + * ProjectRoles associates a project ID with the corresponding role of the token owner. * * @generated from field: map project_roles = 2; */ @@ -67,7 +67,7 @@ export type MethodServiceTokenScopedListResponse = Message<"metalstack.api.v2.Me [key: string]: ProjectRole; }; /** - * TenantRoles associates a tenant ID with the corresponding role of the token owner + * TenantRoles associates a tenant ID with the corresponding role of the token owner. * * @generated from field: map tenant_roles = 3; */ @@ -75,19 +75,19 @@ export type MethodServiceTokenScopedListResponse = Message<"metalstack.api.v2.Me [key: string]: TenantRole; }; /** - * AdminRole defines the admin role of the token owner + * AdminRole defines the admin role of the token owner. * * @generated from field: optional metalstack.api.v2.AdminRole admin_role = 4; */ adminRole?: AdminRole | undefined; /** - * InfraRole defines the infrastructure role of the token owner + * InfraRole defines the infrastructure role of the token owner. * * @generated from field: optional metalstack.api.v2.InfraRole infra_role = 5; */ infraRole?: InfraRole | undefined; /** - * MachineRoles defines the machine roles of the token owner + * MachineRoles defines the machine roles of the token owner. * * @generated from field: map machine_roles = 6; */ diff --git a/js/metalstack/api/v2/method_pb.ts b/js/metalstack/api/v2/method_pb.ts index 7a3e1a3f..65e400fa 100644 --- a/js/metalstack/api/v2/method_pb.ts +++ b/js/metalstack/api/v2/method_pb.ts @@ -39,7 +39,7 @@ export const MethodServiceListRequestSchema: GenMessage & { /** - * Methods is a list of methods public callable + * Methods is a list of methods public callable. * * @generated from field: repeated string methods = 1; */ @@ -75,42 +75,42 @@ export const MethodServiceTokenScopedListRequestSchema: GenMessage & { /** - * Permissions contains a list of methods which can be called + * Permissions contains a list of methods which can be called. * * @generated from field: repeated metalstack.api.v2.MethodPermission permissions = 1; */ permissions: MethodPermission[]; /** - * ProjectRoles associates a project ID with the corresponding role of the token owner + * ProjectRoles associates a project ID with the corresponding role of the token owner. * * @generated from field: map project_roles = 2; */ projectRoles: { [key: string]: ProjectRole }; /** - * TenantRoles associates a tenant ID with the corresponding role of the token owner + * TenantRoles associates a tenant ID with the corresponding role of the token owner. * * @generated from field: map tenant_roles = 3; */ tenantRoles: { [key: string]: TenantRole }; /** - * AdminRole defines the admin role of the token owner + * AdminRole defines the admin role of the token owner. * * @generated from field: optional metalstack.api.v2.AdminRole admin_role = 4; */ adminRole?: AdminRole | undefined; /** - * InfraRole defines the infrastructure role of the token owner + * InfraRole defines the infrastructure role of the token owner. * * @generated from field: optional metalstack.api.v2.InfraRole infra_role = 5; */ infraRole?: InfraRole | undefined; /** - * MachineRoles defines the machine roles of the token owner + * MachineRoles defines the machine roles of the token owner. * * @generated from field: map machine_roles = 6; */ diff --git a/js/metalstack/api/v2/network_pb.d.ts b/js/metalstack/api/v2/network_pb.d.ts index 5141c440..6e5497e0 100644 --- a/js/metalstack/api/v2/network_pb.d.ts +++ b/js/metalstack/api/v2/network_pb.d.ts @@ -6,19 +6,19 @@ import type { Message } from "@bufbuild/protobuf"; */ export declare const file_metalstack_api_v2_network: GenFile; /** - * NetworkServiceGetRequest + * NetworkServiceGetRequest. * * @generated from message metalstack.api.v2.NetworkServiceGetRequest */ export type NetworkServiceGetRequest = Message<"metalstack.api.v2.NetworkServiceGetRequest"> & { /** - * ID of the network to get + * ID of the network to get. * * @generated from field: string id = 1; */ id: string; /** - * Project of the network + * Project of the network. * * @generated from field: string project = 2; */ @@ -30,13 +30,13 @@ export type NetworkServiceGetRequest = Message<"metalstack.api.v2.NetworkService */ export declare const NetworkServiceGetRequestSchema: GenMessage; /** - * NetworkServiceGetResponse + * NetworkServiceGetResponse. * * @generated from message metalstack.api.v2.NetworkServiceGetResponse */ export type NetworkServiceGetResponse = Message<"metalstack.api.v2.NetworkServiceGetResponse"> & { /** - * Network which was requested to get + * Network which was requested to get. * * @generated from field: metalstack.api.v2.Network network = 1; */ @@ -48,55 +48,55 @@ export type NetworkServiceGetResponse = Message<"metalstack.api.v2.NetworkServic */ export declare const NetworkServiceGetResponseSchema: GenMessage; /** - * NetworkServiceCreateRequest + * NetworkServiceCreateRequest. * * @generated from message metalstack.api.v2.NetworkServiceCreateRequest */ export type NetworkServiceCreateRequest = Message<"metalstack.api.v2.NetworkServiceCreateRequest"> & { /** - * Project where this network belongs to + * Project where this network belongs to. * * @generated from field: string project = 1; */ project: string; /** - * Name of this network + * Name of this network. * * @generated from field: optional string name = 2; */ name?: string | undefined; /** - * Description of this network + * Description of this network. * * @generated from field: optional string description = 3; */ description?: string | undefined; /** - * Partition where this network will be created + * Partition where this network will be created. * * @generated from field: optional string partition = 4; */ partition?: string | undefined; /** - * Labels on this network + * Labels on this network. * * @generated from field: metalstack.api.v2.Labels labels = 5; */ labels?: Labels | undefined; /** - * Parent Network points to the id of the parent network if any + * Parent Network points to the id of the parent network if any. * * @generated from field: optional string parent_network = 6; */ parentNetwork?: string | undefined; /** - * Length per addressfamily + * Length per addressfamily. * * @generated from field: optional metalstack.api.v2.ChildPrefixLength length = 7; */ length?: ChildPrefixLength | undefined; /** - * AddressFamily to create, defaults to the same as the parent + * AddressFamily to create, defaults to the same as the parent. * * @generated from field: optional metalstack.api.v2.NetworkAddressFamily address_family = 8; */ @@ -108,13 +108,13 @@ export type NetworkServiceCreateRequest = Message<"metalstack.api.v2.NetworkServ */ export declare const NetworkServiceCreateRequestSchema: GenMessage; /** - * NetworkServiceCreateResponse + * NetworkServiceCreateResponse. * * @generated from message metalstack.api.v2.NetworkServiceCreateResponse */ export type NetworkServiceCreateResponse = Message<"metalstack.api.v2.NetworkServiceCreateResponse"> & { /** - * Network is the created network + * Network is the created network. * * @generated from field: metalstack.api.v2.Network network = 1; */ @@ -126,43 +126,43 @@ export type NetworkServiceCreateResponse = Message<"metalstack.api.v2.NetworkSer */ export declare const NetworkServiceCreateResponseSchema: GenMessage; /** - * NetworkServiceUpdateRequest + * NetworkServiceUpdateRequest. * * @generated from message metalstack.api.v2.NetworkServiceUpdateRequest */ export type NetworkServiceUpdateRequest = Message<"metalstack.api.v2.NetworkServiceUpdateRequest"> & { /** - * ID of the network to get + * ID of the network to get. * * @generated from field: string id = 1; */ id: string; /** - * UpdateMeta contains the timestamp and strategy to be used in this update request + * UpdateMeta contains the timestamp and strategy to be used in this update request. * * @generated from field: metalstack.api.v2.UpdateMeta update_meta = 2; */ updateMeta?: UpdateMeta | undefined; /** - * Project of the network + * Project of the network. * * @generated from field: string project = 3; */ project: string; /** - * Name of this network + * Name of this network. * * @generated from field: optional string name = 4; */ name?: string | undefined; /** - * Description of this network + * Description of this network. * * @generated from field: optional string description = 5; */ description?: string | undefined; /** - * Labels on this network + * Labels on this network. * * @generated from field: optional metalstack.api.v2.UpdateLabels labels = 6; */ @@ -174,13 +174,13 @@ export type NetworkServiceUpdateRequest = Message<"metalstack.api.v2.NetworkServ */ export declare const NetworkServiceUpdateRequestSchema: GenMessage; /** - * NetworkServiceUpdateResponse + * NetworkServiceUpdateResponse. * * @generated from message metalstack.api.v2.NetworkServiceUpdateResponse */ export type NetworkServiceUpdateResponse = Message<"metalstack.api.v2.NetworkServiceUpdateResponse"> & { /** - * Network is the updated network + * Network is the updated network. * * @generated from field: metalstack.api.v2.Network network = 1; */ @@ -192,19 +192,19 @@ export type NetworkServiceUpdateResponse = Message<"metalstack.api.v2.NetworkSer */ export declare const NetworkServiceUpdateResponseSchema: GenMessage; /** - * NetworkServiceListRequest + * NetworkServiceListRequest. * * @generated from message metalstack.api.v2.NetworkServiceListRequest */ export type NetworkServiceListRequest = Message<"metalstack.api.v2.NetworkServiceListRequest"> & { /** - * Project of the networks to list + * Project of the networks to list. * * @generated from field: string project = 1; */ project: string; /** - * Query which specifies which networks to return + * Query which specifies which networks to return. * * @generated from field: metalstack.api.v2.NetworkQuery query = 2; */ @@ -216,13 +216,13 @@ export type NetworkServiceListRequest = Message<"metalstack.api.v2.NetworkServic */ export declare const NetworkServiceListRequestSchema: GenMessage; /** - * NetworkServiceListResponse + * NetworkServiceListResponse. * * @generated from message metalstack.api.v2.NetworkServiceListResponse */ export type NetworkServiceListResponse = Message<"metalstack.api.v2.NetworkServiceListResponse"> & { /** - * Networks are the requested networks + * Networks are the requested networks. * * @generated from field: repeated metalstack.api.v2.Network networks = 1; */ @@ -234,19 +234,19 @@ export type NetworkServiceListResponse = Message<"metalstack.api.v2.NetworkServi */ export declare const NetworkServiceListResponseSchema: GenMessage; /** - * NetworkServiceListRequest + * NetworkServiceListRequest. * * @generated from message metalstack.api.v2.NetworkServiceListBaseNetworksRequest */ export type NetworkServiceListBaseNetworksRequest = Message<"metalstack.api.v2.NetworkServiceListBaseNetworksRequest"> & { /** - * Project of the base networks to list + * Project of the base networks to list. * * @generated from field: string project = 1; */ project: string; /** - * Query which specifies which networks to return + * Query which specifies which networks to return. * * @generated from field: metalstack.api.v2.NetworkQuery query = 2; */ @@ -258,13 +258,13 @@ export type NetworkServiceListBaseNetworksRequest = Message<"metalstack.api.v2.N */ export declare const NetworkServiceListBaseNetworksRequestSchema: GenMessage; /** - * NetworkServiceListResponse + * NetworkServiceListResponse. * * @generated from message metalstack.api.v2.NetworkServiceListBaseNetworksResponse */ export type NetworkServiceListBaseNetworksResponse = Message<"metalstack.api.v2.NetworkServiceListBaseNetworksResponse"> & { /** - * Networks are the requested networks + * Networks are the requested networks. * * @generated from field: repeated metalstack.api.v2.Network networks = 1; */ @@ -276,19 +276,19 @@ export type NetworkServiceListBaseNetworksResponse = Message<"metalstack.api.v2. */ export declare const NetworkServiceListBaseNetworksResponseSchema: GenMessage; /** - * NetworkServiceDeleteRequest + * NetworkServiceDeleteRequest. * * @generated from message metalstack.api.v2.NetworkServiceDeleteRequest */ export type NetworkServiceDeleteRequest = Message<"metalstack.api.v2.NetworkServiceDeleteRequest"> & { /** - * ID of the network to get + * ID of the network to get. * * @generated from field: string id = 1; */ id: string; /** - * Project of the network + * Project of the network. * * @generated from field: string project = 2; */ @@ -300,13 +300,13 @@ export type NetworkServiceDeleteRequest = Message<"metalstack.api.v2.NetworkServ */ export declare const NetworkServiceDeleteRequestSchema: GenMessage; /** - * NetworkServiceDeleteResponse + * NetworkServiceDeleteResponse. * * @generated from message metalstack.api.v2.NetworkServiceDeleteResponse */ export type NetworkServiceDeleteResponse = Message<"metalstack.api.v2.NetworkServiceDeleteResponse"> & { /** - * Network is the deleted network + * Network is the deleted network. * * @generated from field: metalstack.api.v2.Network network = 1; */ @@ -318,86 +318,86 @@ export type NetworkServiceDeleteResponse = Message<"metalstack.api.v2.NetworkSer */ export declare const NetworkServiceDeleteResponseSchema: GenMessage; /** - * Network + * Network. * * @generated from message metalstack.api.v2.Network */ export type Network = Message<"metalstack.api.v2.Network"> & { /** - * Id of this network + * Id of this network. * * @generated from field: string id = 1; */ id: string; /** - * Meta for this network + * Meta for this network. * * @generated from field: metalstack.api.v2.Meta meta = 2; */ meta?: Meta | undefined; /** - * Name of this network + * Name of this network. * * @generated from field: optional string name = 3; */ name?: string | undefined; /** - * Description of this network + * Description of this network. * * @generated from field: optional string description = 4; */ description?: string | undefined; /** - * Partition where this network will be created + * Partition where this network will be created. * * @generated from field: optional string partition = 5; */ partition?: string | undefined; /** - * Project where this network belongs to + * Project where this network belongs to. * * @generated from field: optional string project = 6; */ project?: string | undefined; /** - * Namespace if specified, this network is namespaced and can therefore overlap with others - * Will be equal with project most of the time + * Namespace if specified, this network is namespaced and can therefore overlap with others. + * Will be equal with project most of the time. * * @generated from field: optional string namespace = 7; */ namespace?: string | undefined; /** - * Prefixes in this network + * Prefixes in this network. * * @generated from field: repeated string prefixes = 8; */ prefixes: string[]; /** - * Destination Prefixes in this network + * Destination Prefixes in this network. * * @generated from field: repeated string destination_prefixes = 9; */ destinationPrefixes: string[]; /** - * Default Child Prefix length defines the bit length of a child network created per address family, if not specified during the allocate request + * Default Child Prefix length defines the bit length of a child network created per address family, if not specified during the allocate request. * * @generated from field: metalstack.api.v2.ChildPrefixLength default_child_prefix_length = 10; */ defaultChildPrefixLength?: ChildPrefixLength | undefined; /** - * Min Child Prefix length asserts that during child network creation the requested bit length is greater or equal the min child prefix length + * Min Child Prefix length asserts that during child network creation the requested bit length is greater or equal the min child prefix length. * * @generated from field: metalstack.api.v2.ChildPrefixLength min_child_prefix_length = 11; */ minChildPrefixLength?: ChildPrefixLength | undefined; /** - * Type of the network + * Type of the network. * * @generated from field: metalstack.api.v2.NetworkType type = 12; */ type: NetworkType; /** - * NATType of this network + * NATType of this network. * * @generated from field: metalstack.api.v2.NATType nat_type = 13; */ @@ -409,19 +409,19 @@ export type Network = Message<"metalstack.api.v2.Network"> & { */ vrf?: number | undefined; /** - * Parent Network points to the id of the parent network if any + * Parent Network points to the id of the parent network if any. * * @generated from field: optional string parent_network = 15; */ parentNetwork?: string | undefined; /** - * AdditionalAnnouncableCidrs will be added to the allow list on the switch which prefixes might be announced + * AdditionalAnnouncableCidrs will be added to the allow list on the switch which prefixes might be announced. * * @generated from field: repeated string additional_announcable_cidrs = 16; */ additionalAnnouncableCidrs: string[]; /** - * Consumption of IPs and prefixes in this network + * Consumption of IPs and prefixes in this network. * * @generated from field: metalstack.api.v2.NetworkConsumption consumption = 17; */ @@ -433,55 +433,55 @@ export type Network = Message<"metalstack.api.v2.Network"> & { */ export declare const NetworkSchema: GenMessage; /** - * NetworkQuery defines which networks to query + * NetworkQuery defines which networks to query. * * @generated from message metalstack.api.v2.NetworkQuery */ export type NetworkQuery = Message<"metalstack.api.v2.NetworkQuery"> & { /** - * Id of the network to query + * Id of the network to query. * * @generated from field: optional string id = 1; */ id?: string | undefined; /** - * Name of this network + * Name of this network. * * @generated from field: optional string name = 2; */ name?: string | undefined; /** - * Description of this network + * Description of this network. * * @generated from field: optional string description = 3; */ description?: string | undefined; /** - * Partition where this network will be created + * Partition where this network will be created. * * @generated from field: optional string partition = 4; */ partition?: string | undefined; /** - * Project where this network belongs to + * Project where this network belongs to. * * @generated from field: optional string project = 5; */ project?: string | undefined; /** - * Namespace where this network belongs to + * Namespace where this network belongs to. * * @generated from field: optional string namespace = 6; */ namespace?: string | undefined; /** - * Prefixes in this network + * Prefixes in this network. * * @generated from field: repeated string prefixes = 7; */ prefixes: string[]; /** - * Destination Prefixes in this network + * Destination Prefixes in this network. * * @generated from field: repeated string destination_prefixes = 8; */ @@ -493,31 +493,31 @@ export type NetworkQuery = Message<"metalstack.api.v2.NetworkQuery"> & { */ vrf?: number | undefined; /** - * Parent Network points to the id of the parent network if any + * Parent Network points to the id of the parent network if any. * * @generated from field: optional string parent_network = 10; */ parentNetwork?: string | undefined; /** - * Addressfamily to query + * Addressfamily to query. * * @generated from field: optional metalstack.api.v2.NetworkAddressFamily address_family = 11; */ addressFamily?: NetworkAddressFamily | undefined; /** - * Type of the network to query for + * Type of the network to query for. * * @generated from field: optional metalstack.api.v2.NetworkType type = 12; */ type?: NetworkType | undefined; /** - * NATType configured + * NATType configured. * * @generated from field: optional metalstack.api.v2.NATType nat_type = 13; */ natType?: NATType | undefined; /** - * Labels on this network + * Labels on this network. * * @generated from field: optional metalstack.api.v2.Labels labels = 14; */ @@ -529,19 +529,19 @@ export type NetworkQuery = Message<"metalstack.api.v2.NetworkQuery"> & { */ export declare const NetworkQuerySchema: GenMessage; /** - * ChildPrefixLength + * ChildPrefixLength. * * @generated from message metalstack.api.v2.ChildPrefixLength */ export type ChildPrefixLength = Message<"metalstack.api.v2.ChildPrefixLength"> & { /** - * IPv4 bit length of this network in this addressfamily + * IPv4 bit length of this network in this addressfamily. * * @generated from field: optional uint32 ipv4 = 1; */ ipv4?: number | undefined; /** - * IPv6 bit length of this network in this addressfamily + * IPv6 bit length of this network in this addressfamily. * * @generated from field: optional uint32 ipv6 = 2; */ @@ -553,19 +553,19 @@ export type ChildPrefixLength = Message<"metalstack.api.v2.ChildPrefixLength"> & */ export declare const ChildPrefixLengthSchema: GenMessage; /** - * NetworkConsumption contains ip and prefix usage by addressfamily + * NetworkConsumption contains ip and prefix usage by addressfamily. * * @generated from message metalstack.api.v2.NetworkConsumption */ export type NetworkConsumption = Message<"metalstack.api.v2.NetworkConsumption"> & { /** - * IPv4 network usage + * IPv4 network usage. * * @generated from field: metalstack.api.v2.NetworkUsage ipv4 = 1; */ ipv4?: NetworkUsage | undefined; /** - * IPv6 network usage, this can be approximated for high numbers + * IPv6 network usage, this can be approximated for high numbers. * * @generated from field: metalstack.api.v2.NetworkUsage ipv6 = 2; */ @@ -583,25 +583,25 @@ export declare const NetworkConsumptionSchema: GenMessage; */ export type NetworkUsage = Message<"metalstack.api.v2.NetworkUsage"> & { /** - * the total available IPs + * the total available IPs. * * @generated from field: uint64 available_ips = 1; */ availableIps: bigint; /** - * the total used IPs + * the total used IPs. * * @generated from field: uint64 used_ips = 2; */ usedIps: bigint; /** - * the total available 2-bit prefixes + * the total available 2-bit prefixes. * * @generated from field: uint64 available_prefixes = 3; */ availablePrefixes: bigint; /** - * the total used Prefixes + * the total used Prefixes. * * @generated from field: uint64 used_prefixes = 4; */ @@ -613,25 +613,25 @@ export type NetworkUsage = Message<"metalstack.api.v2.NetworkUsage"> & { */ export declare const NetworkUsageSchema: GenMessage; /** - * NATType defines how and if outgoing traffic is translated + * NATType defines how and if outgoing traffic is translated. * * @generated from enum metalstack.api.v2.NATType */ export declare enum NATType { /** - * NAT_TYPE_UNSPECIFIED indicates a unspecified nat type + * NAT_TYPE_UNSPECIFIED indicates a unspecified nat type. * * @generated from enum value: NAT_TYPE_UNSPECIFIED = 0; */ NAT_TYPE_UNSPECIFIED = 0, /** - * NAT_TYPE_NONE indicates that no nat is configured + * NAT_TYPE_NONE indicates that no nat is configured. * * @generated from enum value: NAT_TYPE_NONE = 1; */ NAT_TYPE_NONE = 1, /** - * NAT_TYPE_IPV4_MASQUERADE masquerade ipv4 behind gateway ip when traffic enters this network + * NAT_TYPE_IPV4_MASQUERADE masquerade ipv4 behind gateway ip when traffic enters this network. * * @generated from enum value: NAT_TYPE_IPV4_MASQUERADE = 2; */ @@ -642,19 +642,19 @@ export declare enum NATType { */ export declare const NATTypeSchema: GenEnum; /** - * NetworkType indicates the purpose of the network, it cannot be changed after creation + * NetworkType indicates the purpose of the network, it cannot be changed after creation. * * @generated from enum metalstack.api.v2.NetworkType */ export declare enum NetworkType { /** - * NETWORK_TYPE_UNSPECIFIED indicates a unknown network type + * NETWORK_TYPE_UNSPECIFIED indicates a unknown network type. * * @generated from enum value: NETWORK_TYPE_UNSPECIFIED = 0; */ UNSPECIFIED = 0, /** - * NETWORK_TYPE_EXTERNAL indicates network where multiple projects can allocate ips, it offers connectivity to other external networks + * 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. * @@ -662,22 +662,22 @@ export declare enum NetworkType { */ EXTERNAL = 1, /** - * NETWORK_TYPE_UNDERLAY indicates a underlay network - * The underlay network connects all switches and the firewalls to build a EVPN dataplane + * 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. * * @generated from enum value: NETWORK_TYPE_UNDERLAY = 2; */ UNDERLAY = 2, /** - * NETWORK_TYPE_SUPER indicates a super network which is only used to create child networks + * 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 + * For child creation destination prefixes will be inherited. * If this is project scoped, the child project must match, otherwise can be freely specified. * * @generated from enum value: NETWORK_TYPE_SUPER = 3; @@ -718,31 +718,31 @@ export declare enum NetworkType { */ export declare const NetworkTypeSchema: GenEnum; /** - * NetworkAddressFamily defines the address family of a network + * NetworkAddressFamily defines the address family of a network. * * @generated from enum metalstack.api.v2.NetworkAddressFamily */ export declare enum NetworkAddressFamily { /** - * NETWORK_ADDRESS_FAMILY_UNSPECIFIED is not specified + * NETWORK_ADDRESS_FAMILY_UNSPECIFIED is not specified. * * @generated from enum value: NETWORK_ADDRESS_FAMILY_UNSPECIFIED = 0; */ UNSPECIFIED = 0, /** - * NETWORK_ADDRESS_FAMILY_V4 defines a network with IPv4 address prefixes + * NETWORK_ADDRESS_FAMILY_V4 defines a network with IPv4 address prefixes. * * @generated from enum value: NETWORK_ADDRESS_FAMILY_V4 = 1; */ V4 = 1, /** - * NETWORK_ADDRESS_FAMILY_V6 defines a network with IPv6 address prefixes + * NETWORK_ADDRESS_FAMILY_V6 defines a network with IPv6 address prefixes. * * @generated from enum value: NETWORK_ADDRESS_FAMILY_V6 = 2; */ V6 = 2, /** - * NETWORK_ADDRESS_FAMILY_DUAL_STACK defines a network with both IPv4 and IPv6 address prefixes + * NETWORK_ADDRESS_FAMILY_DUAL_STACK defines a network with both IPv4 and IPv6 address prefixes. * * @generated from enum value: NETWORK_ADDRESS_FAMILY_DUAL_STACK = 3; */ diff --git a/js/metalstack/api/v2/network_pb.js b/js/metalstack/api/v2/network_pb.js index 5dfc3f7f..51d7eb64 100644 --- a/js/metalstack/api/v2/network_pb.js +++ b/js/metalstack/api/v2/network_pb.js @@ -95,26 +95,26 @@ export const NetworkConsumptionSchema = /*@__PURE__*/ messageDesc(file_metalstac */ export const NetworkUsageSchema = /*@__PURE__*/ messageDesc(file_metalstack_api_v2_network, 16); /** - * NATType defines how and if outgoing traffic is translated + * NATType defines how and if outgoing traffic is translated. * * @generated from enum metalstack.api.v2.NATType */ export var NATType; (function (NATType) { /** - * NAT_TYPE_UNSPECIFIED indicates a unspecified nat type + * NAT_TYPE_UNSPECIFIED indicates a unspecified nat type. * * @generated from enum value: NAT_TYPE_UNSPECIFIED = 0; */ NATType[NATType["NAT_TYPE_UNSPECIFIED"] = 0] = "NAT_TYPE_UNSPECIFIED"; /** - * NAT_TYPE_NONE indicates that no nat is configured + * NAT_TYPE_NONE indicates that no nat is configured. * * @generated from enum value: NAT_TYPE_NONE = 1; */ NATType[NATType["NAT_TYPE_NONE"] = 1] = "NAT_TYPE_NONE"; /** - * NAT_TYPE_IPV4_MASQUERADE masquerade ipv4 behind gateway ip when traffic enters this network + * NAT_TYPE_IPV4_MASQUERADE masquerade ipv4 behind gateway ip when traffic enters this network. * * @generated from enum value: NAT_TYPE_IPV4_MASQUERADE = 2; */ @@ -125,20 +125,20 @@ export var NATType; */ export const NATTypeSchema = /*@__PURE__*/ enumDesc(file_metalstack_api_v2_network, 0); /** - * NetworkType indicates the purpose of the network, it cannot be changed after creation + * NetworkType indicates the purpose of the network, it cannot be changed after creation. * * @generated from enum metalstack.api.v2.NetworkType */ export var NetworkType; (function (NetworkType) { /** - * NETWORK_TYPE_UNSPECIFIED indicates a unknown network type + * NETWORK_TYPE_UNSPECIFIED indicates a unknown network type. * * @generated from enum value: NETWORK_TYPE_UNSPECIFIED = 0; */ NetworkType[NetworkType["UNSPECIFIED"] = 0] = "UNSPECIFIED"; /** - * NETWORK_TYPE_EXTERNAL indicates network where multiple projects can allocate ips, it offers connectivity to other external networks + * 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. * @@ -146,22 +146,22 @@ export var NetworkType; */ NetworkType[NetworkType["EXTERNAL"] = 1] = "EXTERNAL"; /** - * NETWORK_TYPE_UNDERLAY indicates a underlay network - * The underlay network connects all switches and the firewalls to build a EVPN dataplane + * 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. * * @generated from enum value: NETWORK_TYPE_UNDERLAY = 2; */ NetworkType[NetworkType["UNDERLAY"] = 2] = "UNDERLAY"; /** - * NETWORK_TYPE_SUPER indicates a super network which is only used to create child networks + * 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 + * For child creation destination prefixes will be inherited. * If this is project scoped, the child project must match, otherwise can be freely specified. * * @generated from enum value: NETWORK_TYPE_SUPER = 3; @@ -202,32 +202,32 @@ export var NetworkType; */ export const NetworkTypeSchema = /*@__PURE__*/ enumDesc(file_metalstack_api_v2_network, 1); /** - * NetworkAddressFamily defines the address family of a network + * NetworkAddressFamily defines the address family of a network. * * @generated from enum metalstack.api.v2.NetworkAddressFamily */ export var NetworkAddressFamily; (function (NetworkAddressFamily) { /** - * NETWORK_ADDRESS_FAMILY_UNSPECIFIED is not specified + * NETWORK_ADDRESS_FAMILY_UNSPECIFIED is not specified. * * @generated from enum value: NETWORK_ADDRESS_FAMILY_UNSPECIFIED = 0; */ NetworkAddressFamily[NetworkAddressFamily["UNSPECIFIED"] = 0] = "UNSPECIFIED"; /** - * NETWORK_ADDRESS_FAMILY_V4 defines a network with IPv4 address prefixes + * NETWORK_ADDRESS_FAMILY_V4 defines a network with IPv4 address prefixes. * * @generated from enum value: NETWORK_ADDRESS_FAMILY_V4 = 1; */ NetworkAddressFamily[NetworkAddressFamily["V4"] = 1] = "V4"; /** - * NETWORK_ADDRESS_FAMILY_V6 defines a network with IPv6 address prefixes + * NETWORK_ADDRESS_FAMILY_V6 defines a network with IPv6 address prefixes. * * @generated from enum value: NETWORK_ADDRESS_FAMILY_V6 = 2; */ NetworkAddressFamily[NetworkAddressFamily["V6"] = 2] = "V6"; /** - * NETWORK_ADDRESS_FAMILY_DUAL_STACK defines a network with both IPv4 and IPv6 address prefixes + * NETWORK_ADDRESS_FAMILY_DUAL_STACK defines a network with both IPv4 and IPv6 address prefixes. * * @generated from enum value: NETWORK_ADDRESS_FAMILY_DUAL_STACK = 3; */ diff --git a/js/metalstack/api/v2/network_pb.ts b/js/metalstack/api/v2/network_pb.ts index c77681af..0488fdd3 100644 --- a/js/metalstack/api/v2/network_pb.ts +++ b/js/metalstack/api/v2/network_pb.ts @@ -17,20 +17,20 @@ export const file_metalstack_api_v2_network: GenFile = /*@__PURE__*/ fileDesc("Ch9tZXRhbHN0YWNrL2FwaS92Mi9uZXR3b3JrLnByb3RvEhFtZXRhbHN0YWNrLmFwaS52MiJRChhOZXR3b3JrU2VydmljZUdldFJlcXVlc3QSFwoCaWQYASABKAlCC7pICHIGwLOusQIBEhwKB3Byb2plY3QYAiABKAlCC7pICNgBAXIDsAEBIkgKGU5ldHdvcmtTZXJ2aWNlR2V0UmVzcG9uc2USKwoHbmV0d29yaxgBIAEoCzIaLm1ldGFsc3RhY2suYXBpLnYyLk5ldHdvcmsi3AMKG05ldHdvcmtTZXJ2aWNlQ3JlYXRlUmVxdWVzdBIZCgdwcm9qZWN0GAEgASgJQgi6SAVyA7ABARIeCgRuYW1lGAIgASgJQgu6SAhyBsCzrrECAUgAiAEBEiUKC2Rlc2NyaXB0aW9uGAMgASgJQgu6SAhyBsizrrECAUgBiAEBEiMKCXBhcnRpdGlvbhgEIAEoCUILukgIcgbQs66xAgFIAogBARIpCgZsYWJlbHMYBSABKAsyGS5tZXRhbHN0YWNrLmFwaS52Mi5MYWJlbHMSKAoOcGFyZW50X25ldHdvcmsYBiABKAlCC7pICHIGwLOusQIBSAOIAQESOQoGbGVuZ3RoGAcgASgLMiQubWV0YWxzdGFjay5hcGkudjIuQ2hpbGRQcmVmaXhMZW5ndGhIBIgBARJOCg5hZGRyZXNzX2ZhbWlseRgIIAEoDjInLm1ldGFsc3RhY2suYXBpLnYyLk5ldHdvcmtBZGRyZXNzRmFtaWx5Qgi6SAWCAQIQAUgFiAEBQgcKBV9uYW1lQg4KDF9kZXNjcmlwdGlvbkIMCgpfcGFydGl0aW9uQhEKD19wYXJlbnRfbmV0d29ya0IJCgdfbGVuZ3RoQhEKD19hZGRyZXNzX2ZhbWlseSJLChxOZXR3b3JrU2VydmljZUNyZWF0ZVJlc3BvbnNlEisKB25ldHdvcmsYASABKAsyGi5tZXRhbHN0YWNrLmFwaS52Mi5OZXR3b3JrIq4CChtOZXR3b3JrU2VydmljZVVwZGF0ZVJlcXVlc3QSFwoCaWQYASABKAlCC7pICHIGwLOusQIBEjoKC3VwZGF0ZV9tZXRhGAIgASgLMh0ubWV0YWxzdGFjay5hcGkudjIuVXBkYXRlTWV0YUIGukgDyAEBEhkKB3Byb2plY3QYAyABKAlCCLpIBXIDsAEBEh4KBG5hbWUYBCABKAlCC7pICHIGwLOusQIBSACIAQESJQoLZGVzY3JpcHRpb24YBSABKAlCC7pICHIGyLOusQIBSAGIAQESNAoGbGFiZWxzGAYgASgLMh8ubWV0YWxzdGFjay5hcGkudjIuVXBkYXRlTGFiZWxzSAKIAQFCBwoFX25hbWVCDgoMX2Rlc2NyaXB0aW9uQgkKB19sYWJlbHMiSwocTmV0d29ya1NlcnZpY2VVcGRhdGVSZXNwb25zZRIrCgduZXR3b3JrGAEgASgLMhoubWV0YWxzdGFjay5hcGkudjIuTmV0d29yayJpChlOZXR3b3JrU2VydmljZUxpc3RSZXF1ZXN0EhwKB3Byb2plY3QYASABKAlCC7pICNgBAXIDsAEBEi4KBXF1ZXJ5GAIgASgLMh8ubWV0YWxzdGFjay5hcGkudjIuTmV0d29ya1F1ZXJ5IkoKGk5ldHdvcmtTZXJ2aWNlTGlzdFJlc3BvbnNlEiwKCG5ldHdvcmtzGAEgAygLMhoubWV0YWxzdGFjay5hcGkudjIuTmV0d29yayJ1CiVOZXR3b3JrU2VydmljZUxpc3RCYXNlTmV0d29ya3NSZXF1ZXN0EhwKB3Byb2plY3QYASABKAlCC7pICNgBAXIDsAEBEi4KBXF1ZXJ5GAIgASgLMh8ubWV0YWxzdGFjay5hcGkudjIuTmV0d29ya1F1ZXJ5IlYKJk5ldHdvcmtTZXJ2aWNlTGlzdEJhc2VOZXR3b3Jrc1Jlc3BvbnNlEiwKCG5ldHdvcmtzGAEgAygLMhoubWV0YWxzdGFjay5hcGkudjIuTmV0d29yayJRChtOZXR3b3JrU2VydmljZURlbGV0ZVJlcXVlc3QSFwoCaWQYASABKAlCC7pICHIGwLOusQIBEhkKB3Byb2plY3QYAiABKAlCCLpIBXIDsAEBIksKHE5ldHdvcmtTZXJ2aWNlRGVsZXRlUmVzcG9uc2USKwoHbmV0d29yaxgBIAEoCzIaLm1ldGFsc3RhY2suYXBpLnYyLk5ldHdvcmsizQYKB05ldHdvcmsSFwoCaWQYASABKAlCC7pICHIGwLOusQIBEiUKBG1ldGEYAiABKAsyFy5tZXRhbHN0YWNrLmFwaS52Mi5NZXRhEh4KBG5hbWUYAyABKAlCC7pICHIGwLOusQIBSACIAQESJQoLZGVzY3JpcHRpb24YBCABKAlCC7pICHIGyLOusQIBSAGIAQESIwoJcGFydGl0aW9uGAUgASgJQgu6SAhyBtCzrrECAUgCiAEBEh4KB3Byb2plY3QYBiABKAlCCLpIBXIDsAEBSAOIAQESIAoJbmFtZXNwYWNlGAcgASgJQgi6SAVyA7ABAUgEiAEBEh4KCHByZWZpeGVzGAggAygJQgy6SAmSAQa4pLOxAgESKgoUZGVzdGluYXRpb25fcHJlZml4ZXMYCSADKAlCDLpICZIBBriks7ECARJJChtkZWZhdWx0X2NoaWxkX3ByZWZpeF9sZW5ndGgYCiABKAsyJC5tZXRhbHN0YWNrLmFwaS52Mi5DaGlsZFByZWZpeExlbmd0aBJFChdtaW5fY2hpbGRfcHJlZml4X2xlbmd0aBgLIAEoCzIkLm1ldGFsc3RhY2suYXBpLnYyLkNoaWxkUHJlZml4TGVuZ3RoEjYKBHR5cGUYDCABKA4yHi5tZXRhbHN0YWNrLmFwaS52Mi5OZXR3b3JrVHlwZUIIukgFggECEAESNgoIbmF0X3R5cGUYDSABKA4yGi5tZXRhbHN0YWNrLmFwaS52Mi5OQVRUeXBlQgi6SAWCAQIQARIQCgN2cmYYDiABKA1IBYgBARIoCg5wYXJlbnRfbmV0d29yaxgPIAEoCUILukgIcgbAs66xAgFIBogBARIyChxhZGRpdGlvbmFsX2Fubm91bmNhYmxlX2NpZHJzGBAgAygJQgy6SAmSAQa4pLOxAgESOgoLY29uc3VtcHRpb24YESABKAsyJS5tZXRhbHN0YWNrLmFwaS52Mi5OZXR3b3JrQ29uc3VtcHRpb25CBwoFX25hbWVCDgoMX2Rlc2NyaXB0aW9uQgwKCl9wYXJ0aXRpb25CCgoIX3Byb2plY3RCDAoKX25hbWVzcGFjZUIGCgRfdnJmQhEKD19wYXJlbnRfbmV0d29yayLzBQoMTmV0d29ya1F1ZXJ5EhwKAmlkGAEgASgJQgu6SAhyBsCzrrECAUgAiAEBEh4KBG5hbWUYAiABKAlCC7pICHIGwLOusQIBSAGIAQESJQoLZGVzY3JpcHRpb24YAyABKAlCC7pICHIGyLOusQIBSAKIAQESIwoJcGFydGl0aW9uGAQgASgJQgu6SAhyBtCzrrECAUgDiAEBEh4KB3Byb2plY3QYBSABKAlCCLpIBXIDsAEBSASIAQESIAoJbmFtZXNwYWNlGAYgASgJQgi6SAVyA7ABAUgFiAEBEh4KCHByZWZpeGVzGAcgAygJQgy6SAmSAQa4pLOxAgESKgoUZGVzdGluYXRpb25fcHJlZml4ZXMYCCADKAlCDLpICZIBBriks7ECARIQCgN2cmYYCSABKA1IBogBARIoCg5wYXJlbnRfbmV0d29yaxgKIAEoCUILukgIcgbAs66xAgFIB4gBARJOCg5hZGRyZXNzX2ZhbWlseRgLIAEoDjInLm1ldGFsc3RhY2suYXBpLnYyLk5ldHdvcmtBZGRyZXNzRmFtaWx5Qgi6SAWCAQIQAUgIiAEBEjsKBHR5cGUYDCABKA4yHi5tZXRhbHN0YWNrLmFwaS52Mi5OZXR3b3JrVHlwZUIIukgFggECEAFICYgBARI7CghuYXRfdHlwZRgNIAEoDjIaLm1ldGFsc3RhY2suYXBpLnYyLk5BVFR5cGVCCLpIBYIBAhABSAqIAQESLgoGbGFiZWxzGA4gASgLMhkubWV0YWxzdGFjay5hcGkudjIuTGFiZWxzSAuIAQFCBQoDX2lkQgcKBV9uYW1lQg4KDF9kZXNjcmlwdGlvbkIMCgpfcGFydGl0aW9uQgoKCF9wcm9qZWN0QgwKCl9uYW1lc3BhY2VCBgoEX3ZyZkIRCg9fcGFyZW50X25ldHdvcmtCEQoPX2FkZHJlc3NfZmFtaWx5QgcKBV90eXBlQgsKCV9uYXRfdHlwZUIJCgdfbGFiZWxzImIKEUNoaWxkUHJlZml4TGVuZ3RoEhwKBGlwdjQYASABKA1CCbpIBioEGCAgAEgAiAEBEh0KBGlwdjYYAiABKA1CCrpIByoFGIABIABIAYgBAUIHCgVfaXB2NEIHCgVfaXB2NiJyChJOZXR3b3JrQ29uc3VtcHRpb24SLQoEaXB2NBgBIAEoCzIfLm1ldGFsc3RhY2suYXBpLnYyLk5ldHdvcmtVc2FnZRItCgRpcHY2GAIgASgLMh8ubWV0YWxzdGFjay5hcGkudjIuTmV0d29ya1VzYWdlImoKDE5ldHdvcmtVc2FnZRIVCg1hdmFpbGFibGVfaXBzGAEgASgEEhAKCHVzZWRfaXBzGAIgASgEEhoKEmF2YWlsYWJsZV9wcmVmaXhlcxgDIAEoBBIVCg11c2VkX3ByZWZpeGVzGAQgASgEKm0KB05BVFR5cGUSGAoUTkFUX1RZUEVfVU5TUEVDSUZJRUQQABIbCg1OQVRfVFlQRV9OT05FEAEaCIKyGQRub25lEisKGE5BVF9UWVBFX0lQVjRfTUFTUVVFUkFERRACGg2CshkJaXB2NC1tYXNxKq0CCgtOZXR3b3JrVHlwZRIcChhORVRXT1JLX1RZUEVfVU5TUEVDSUZJRUQQABInChVORVRXT1JLX1RZUEVfRVhURVJOQUwQARoMgrIZCGV4dGVybmFsEicKFU5FVFdPUktfVFlQRV9VTkRFUkxBWRACGgyCshkIdW5kZXJsYXkSIQoSTkVUV09SS19UWVBFX1NVUEVSEAMaCYKyGQVzdXBlchI3Ch1ORVRXT1JLX1RZUEVfU1VQRVJfTkFNRVNQQUNFRBAEGhSCshkQc3VwZXItbmFtZXNwYWNlZBIhChJORVRXT1JLX1RZUEVfQ0hJTEQQBRoJgrIZBWNoaWxkEi8KGU5FVFdPUktfVFlQRV9DSElMRF9TSEFSRUQQBhoQgrIZDGNoaWxkLXNoYXJlZCrHAQoUTmV0d29ya0FkZHJlc3NGYW1pbHkSJgoiTkVUV09SS19BRERSRVNTX0ZBTUlMWV9VTlNQRUNJRklFRBAAEicKGU5FVFdPUktfQUREUkVTU19GQU1JTFlfVjQQARoIgrIZBGlwdjQSJwoZTkVUV09SS19BRERSRVNTX0ZBTUlMWV9WNhACGgiCshkEaXB2NhI1CiFORVRXT1JLX0FERFJFU1NfRkFNSUxZX0RVQUxfU1RBQ0sQAxoOgrIZCmR1YWwtc3RhY2sy7QUKDk5ldHdvcmtTZXJ2aWNlEm0KA0dldBIrLm1ldGFsc3RhY2suYXBpLnYyLk5ldHdvcmtTZXJ2aWNlR2V0UmVxdWVzdBosLm1ldGFsc3RhY2suYXBpLnYyLk5ldHdvcmtTZXJ2aWNlR2V0UmVzcG9uc2UiC8rzGAMBAgPg8xgCEnUKBkNyZWF0ZRIuLm1ldGFsc3RhY2suYXBpLnYyLk5ldHdvcmtTZXJ2aWNlQ3JlYXRlUmVxdWVzdBovLm1ldGFsc3RhY2suYXBpLnYyLk5ldHdvcmtTZXJ2aWNlQ3JlYXRlUmVzcG9uc2UiCsrzGAIBAuDzGAESdQoGVXBkYXRlEi4ubWV0YWxzdGFjay5hcGkudjIuTmV0d29ya1NlcnZpY2VVcGRhdGVSZXF1ZXN0Gi8ubWV0YWxzdGFjay5hcGkudjIuTmV0d29ya1NlcnZpY2VVcGRhdGVSZXNwb25zZSIKyvMYAgEC4PMYARJwCgRMaXN0EiwubWV0YWxzdGFjay5hcGkudjIuTmV0d29ya1NlcnZpY2VMaXN0UmVxdWVzdBotLm1ldGFsc3RhY2suYXBpLnYyLk5ldHdvcmtTZXJ2aWNlTGlzdFJlc3BvbnNlIgvK8xgDAQID4PMYAhKUAQoQTGlzdEJhc2VOZXR3b3JrcxI4Lm1ldGFsc3RhY2suYXBpLnYyLk5ldHdvcmtTZXJ2aWNlTGlzdEJhc2VOZXR3b3Jrc1JlcXVlc3QaOS5tZXRhbHN0YWNrLmFwaS52Mi5OZXR3b3JrU2VydmljZUxpc3RCYXNlTmV0d29ya3NSZXNwb25zZSILyvMYAwECA+DzGAISdQoGRGVsZXRlEi4ubWV0YWxzdGFjay5hcGkudjIuTmV0d29ya1NlcnZpY2VEZWxldGVSZXF1ZXN0Gi8ubWV0YWxzdGFjay5hcGkudjIuTmV0d29ya1NlcnZpY2VEZWxldGVSZXNwb25zZSIKyvMYAgEC4PMYAULCAQoVY29tLm1ldGFsc3RhY2suYXBpLnYyQgxOZXR3b3JrUHJvdG9QAVo1Z2l0aHViLmNvbS9tZXRhbC1zdGFjay9hcGkvZ28vbWV0YWxzdGFjay9hcGkvdjI7YXBpdjKiAgNNQViqAhFNZXRhbHN0YWNrLkFwaS5WMsoCEU1ldGFsc3RhY2tcQXBpXFYy4gIdTWV0YWxzdGFja1xBcGlcVjJcR1BCTWV0YWRhdGHqAhNNZXRhbHN0YWNrOjpBcGk6OlYyYgZwcm90bzM", [file_buf_validate_validate, file_metalstack_api_v2_common, file_metalstack_api_v2_predefined_rules]); /** - * NetworkServiceGetRequest + * NetworkServiceGetRequest. * * @generated from message metalstack.api.v2.NetworkServiceGetRequest */ export type NetworkServiceGetRequest = Message<"metalstack.api.v2.NetworkServiceGetRequest"> & { /** - * ID of the network to get + * ID of the network to get. * * @generated from field: string id = 1; */ id: string; /** - * Project of the network + * Project of the network. * * @generated from field: string project = 2; */ @@ -45,13 +45,13 @@ export const NetworkServiceGetRequestSchema: GenMessage & { /** - * Network which was requested to get + * Network which was requested to get. * * @generated from field: metalstack.api.v2.Network network = 1; */ @@ -66,62 +66,62 @@ export const NetworkServiceGetResponseSchema: GenMessage & { /** - * Project where this network belongs to + * Project where this network belongs to. * * @generated from field: string project = 1; */ project: string; /** - * Name of this network + * Name of this network. * * @generated from field: optional string name = 2; */ name?: string | undefined; /** - * Description of this network + * Description of this network. * * @generated from field: optional string description = 3; */ description?: string | undefined; /** - * Partition where this network will be created + * Partition where this network will be created. * * @generated from field: optional string partition = 4; */ partition?: string | undefined; /** - * Labels on this network + * Labels on this network. * * @generated from field: metalstack.api.v2.Labels labels = 5; */ labels?: Labels | undefined; /** - * Parent Network points to the id of the parent network if any + * Parent Network points to the id of the parent network if any. * * @generated from field: optional string parent_network = 6; */ parentNetwork?: string | undefined; /** - * Length per addressfamily + * Length per addressfamily. * * @generated from field: optional metalstack.api.v2.ChildPrefixLength length = 7; */ length?: ChildPrefixLength | undefined; /** - * AddressFamily to create, defaults to the same as the parent + * AddressFamily to create, defaults to the same as the parent. * * @generated from field: optional metalstack.api.v2.NetworkAddressFamily address_family = 8; */ @@ -136,13 +136,13 @@ export const NetworkServiceCreateRequestSchema: GenMessage & { /** - * Network is the created network + * Network is the created network. * * @generated from field: metalstack.api.v2.Network network = 1; */ @@ -157,48 +157,48 @@ export const NetworkServiceCreateResponseSchema: GenMessage & { /** - * ID of the network to get + * ID of the network to get. * * @generated from field: string id = 1; */ id: string; /** - * UpdateMeta contains the timestamp and strategy to be used in this update request + * UpdateMeta contains the timestamp and strategy to be used in this update request. * * @generated from field: metalstack.api.v2.UpdateMeta update_meta = 2; */ updateMeta?: UpdateMeta | undefined; /** - * Project of the network + * Project of the network. * * @generated from field: string project = 3; */ project: string; /** - * Name of this network + * Name of this network. * * @generated from field: optional string name = 4; */ name?: string | undefined; /** - * Description of this network + * Description of this network. * * @generated from field: optional string description = 5; */ description?: string | undefined; /** - * Labels on this network + * Labels on this network. * * @generated from field: optional metalstack.api.v2.UpdateLabels labels = 6; */ @@ -213,13 +213,13 @@ export const NetworkServiceUpdateRequestSchema: GenMessage & { /** - * Network is the updated network + * Network is the updated network. * * @generated from field: metalstack.api.v2.Network network = 1; */ @@ -234,20 +234,20 @@ export const NetworkServiceUpdateResponseSchema: GenMessage & { /** - * Project of the networks to list + * Project of the networks to list. * * @generated from field: string project = 1; */ project: string; /** - * Query which specifies which networks to return + * Query which specifies which networks to return. * * @generated from field: metalstack.api.v2.NetworkQuery query = 2; */ @@ -262,13 +262,13 @@ export const NetworkServiceListRequestSchema: GenMessage & { /** - * Networks are the requested networks + * Networks are the requested networks. * * @generated from field: repeated metalstack.api.v2.Network networks = 1; */ @@ -283,20 +283,20 @@ export const NetworkServiceListResponseSchema: GenMessage & { /** - * Project of the base networks to list + * Project of the base networks to list. * * @generated from field: string project = 1; */ project: string; /** - * Query which specifies which networks to return + * Query which specifies which networks to return. * * @generated from field: metalstack.api.v2.NetworkQuery query = 2; */ @@ -311,13 +311,13 @@ export const NetworkServiceListBaseNetworksRequestSchema: GenMessage & { /** - * Networks are the requested networks + * Networks are the requested networks. * * @generated from field: repeated metalstack.api.v2.Network networks = 1; */ @@ -332,20 +332,20 @@ export const NetworkServiceListBaseNetworksResponseSchema: GenMessage & { /** - * ID of the network to get + * ID of the network to get. * * @generated from field: string id = 1; */ id: string; /** - * Project of the network + * Project of the network. * * @generated from field: string project = 2; */ @@ -360,13 +360,13 @@ export const NetworkServiceDeleteRequestSchema: GenMessage & { /** - * Network is the deleted network + * Network is the deleted network. * * @generated from field: metalstack.api.v2.Network network = 1; */ @@ -381,98 +381,98 @@ export const NetworkServiceDeleteResponseSchema: GenMessage & { /** - * Id of this network + * Id of this network. * * @generated from field: string id = 1; */ id: string; /** - * Meta for this network + * Meta for this network. * * @generated from field: metalstack.api.v2.Meta meta = 2; */ meta?: Meta | undefined; /** - * Name of this network + * Name of this network. * * @generated from field: optional string name = 3; */ name?: string | undefined; /** - * Description of this network + * Description of this network. * * @generated from field: optional string description = 4; */ description?: string | undefined; /** - * Partition where this network will be created + * Partition where this network will be created. * * @generated from field: optional string partition = 5; */ partition?: string | undefined; /** - * Project where this network belongs to + * Project where this network belongs to. * * @generated from field: optional string project = 6; */ project?: string | undefined; /** - * Namespace if specified, this network is namespaced and can therefore overlap with others - * Will be equal with project most of the time + * Namespace if specified, this network is namespaced and can therefore overlap with others. + * Will be equal with project most of the time. * * @generated from field: optional string namespace = 7; */ namespace?: string | undefined; /** - * Prefixes in this network + * Prefixes in this network. * * @generated from field: repeated string prefixes = 8; */ prefixes: string[]; /** - * Destination Prefixes in this network + * Destination Prefixes in this network. * * @generated from field: repeated string destination_prefixes = 9; */ destinationPrefixes: string[]; /** - * Default Child Prefix length defines the bit length of a child network created per address family, if not specified during the allocate request + * Default Child Prefix length defines the bit length of a child network created per address family, if not specified during the allocate request. * * @generated from field: metalstack.api.v2.ChildPrefixLength default_child_prefix_length = 10; */ defaultChildPrefixLength?: ChildPrefixLength | undefined; /** - * Min Child Prefix length asserts that during child network creation the requested bit length is greater or equal the min child prefix length + * Min Child Prefix length asserts that during child network creation the requested bit length is greater or equal the min child prefix length. * * @generated from field: metalstack.api.v2.ChildPrefixLength min_child_prefix_length = 11; */ minChildPrefixLength?: ChildPrefixLength | undefined; /** - * Type of the network + * Type of the network. * * @generated from field: metalstack.api.v2.NetworkType type = 12; */ type: NetworkType; /** - * NATType of this network + * NATType of this network. * * @generated from field: metalstack.api.v2.NATType nat_type = 13; */ @@ -486,21 +486,21 @@ export type Network = Message<"metalstack.api.v2.Network"> & { vrf?: number | undefined; /** - * Parent Network points to the id of the parent network if any + * Parent Network points to the id of the parent network if any. * * @generated from field: optional string parent_network = 15; */ parentNetwork?: string | undefined; /** - * AdditionalAnnouncableCidrs will be added to the allow list on the switch which prefixes might be announced + * AdditionalAnnouncableCidrs will be added to the allow list on the switch which prefixes might be announced. * * @generated from field: repeated string additional_announcable_cidrs = 16; */ additionalAnnouncableCidrs: string[]; /** - * Consumption of IPs and prefixes in this network + * Consumption of IPs and prefixes in this network. * * @generated from field: metalstack.api.v2.NetworkConsumption consumption = 17; */ @@ -515,62 +515,62 @@ export const NetworkSchema: GenMessage = /*@__PURE__*/ messageDesc(file_metalstack_api_v2_network, 12); /** - * NetworkQuery defines which networks to query + * NetworkQuery defines which networks to query. * * @generated from message metalstack.api.v2.NetworkQuery */ export type NetworkQuery = Message<"metalstack.api.v2.NetworkQuery"> & { /** - * Id of the network to query + * Id of the network to query. * * @generated from field: optional string id = 1; */ id?: string | undefined; /** - * Name of this network + * Name of this network. * * @generated from field: optional string name = 2; */ name?: string | undefined; /** - * Description of this network + * Description of this network. * * @generated from field: optional string description = 3; */ description?: string | undefined; /** - * Partition where this network will be created + * Partition where this network will be created. * * @generated from field: optional string partition = 4; */ partition?: string | undefined; /** - * Project where this network belongs to + * Project where this network belongs to. * * @generated from field: optional string project = 5; */ project?: string | undefined; /** - * Namespace where this network belongs to + * Namespace where this network belongs to. * * @generated from field: optional string namespace = 6; */ namespace?: string | undefined; /** - * Prefixes in this network + * Prefixes in this network. * * @generated from field: repeated string prefixes = 7; */ prefixes: string[]; /** - * Destination Prefixes in this network + * Destination Prefixes in this network. * * @generated from field: repeated string destination_prefixes = 8; */ @@ -584,35 +584,35 @@ export type NetworkQuery = Message<"metalstack.api.v2.NetworkQuery"> & { vrf?: number | undefined; /** - * Parent Network points to the id of the parent network if any + * Parent Network points to the id of the parent network if any. * * @generated from field: optional string parent_network = 10; */ parentNetwork?: string | undefined; /** - * Addressfamily to query + * Addressfamily to query. * * @generated from field: optional metalstack.api.v2.NetworkAddressFamily address_family = 11; */ addressFamily?: NetworkAddressFamily | undefined; /** - * Type of the network to query for + * Type of the network to query for. * * @generated from field: optional metalstack.api.v2.NetworkType type = 12; */ type?: NetworkType | undefined; /** - * NATType configured + * NATType configured. * * @generated from field: optional metalstack.api.v2.NATType nat_type = 13; */ natType?: NATType | undefined; /** - * Labels on this network + * Labels on this network. * * @generated from field: optional metalstack.api.v2.Labels labels = 14; */ @@ -627,20 +627,20 @@ export const NetworkQuerySchema: GenMessage = /*@__PURE__*/ messageDesc(file_metalstack_api_v2_network, 13); /** - * ChildPrefixLength + * ChildPrefixLength. * * @generated from message metalstack.api.v2.ChildPrefixLength */ export type ChildPrefixLength = Message<"metalstack.api.v2.ChildPrefixLength"> & { /** - * IPv4 bit length of this network in this addressfamily + * IPv4 bit length of this network in this addressfamily. * * @generated from field: optional uint32 ipv4 = 1; */ ipv4?: number | undefined; /** - * IPv6 bit length of this network in this addressfamily + * IPv6 bit length of this network in this addressfamily. * * @generated from field: optional uint32 ipv6 = 2; */ @@ -655,20 +655,20 @@ export const ChildPrefixLengthSchema: GenMessage = /*@__PURE_ messageDesc(file_metalstack_api_v2_network, 14); /** - * NetworkConsumption contains ip and prefix usage by addressfamily + * NetworkConsumption contains ip and prefix usage by addressfamily. * * @generated from message metalstack.api.v2.NetworkConsumption */ export type NetworkConsumption = Message<"metalstack.api.v2.NetworkConsumption"> & { /** - * IPv4 network usage + * IPv4 network usage. * * @generated from field: metalstack.api.v2.NetworkUsage ipv4 = 1; */ ipv4?: NetworkUsage | undefined; /** - * IPv6 network usage, this can be approximated for high numbers + * IPv6 network usage, this can be approximated for high numbers. * * @generated from field: metalstack.api.v2.NetworkUsage ipv6 = 2; */ @@ -689,28 +689,28 @@ export const NetworkConsumptionSchema: GenMessage = /*@__PUR */ export type NetworkUsage = Message<"metalstack.api.v2.NetworkUsage"> & { /** - * the total available IPs + * the total available IPs. * * @generated from field: uint64 available_ips = 1; */ availableIps: bigint; /** - * the total used IPs + * the total used IPs. * * @generated from field: uint64 used_ips = 2; */ usedIps: bigint; /** - * the total available 2-bit prefixes + * the total available 2-bit prefixes. * * @generated from field: uint64 available_prefixes = 3; */ availablePrefixes: bigint; /** - * the total used Prefixes + * the total used Prefixes. * * @generated from field: uint64 used_prefixes = 4; */ @@ -725,27 +725,27 @@ export const NetworkUsageSchema: GenMessage = /*@__PURE__*/ messageDesc(file_metalstack_api_v2_network, 16); /** - * NATType defines how and if outgoing traffic is translated + * NATType defines how and if outgoing traffic is translated. * * @generated from enum metalstack.api.v2.NATType */ export enum NATType { /** - * NAT_TYPE_UNSPECIFIED indicates a unspecified nat type + * NAT_TYPE_UNSPECIFIED indicates a unspecified nat type. * * @generated from enum value: NAT_TYPE_UNSPECIFIED = 0; */ NAT_TYPE_UNSPECIFIED = 0, /** - * NAT_TYPE_NONE indicates that no nat is configured + * NAT_TYPE_NONE indicates that no nat is configured. * * @generated from enum value: NAT_TYPE_NONE = 1; */ NAT_TYPE_NONE = 1, /** - * NAT_TYPE_IPV4_MASQUERADE masquerade ipv4 behind gateway ip when traffic enters this network + * NAT_TYPE_IPV4_MASQUERADE masquerade ipv4 behind gateway ip when traffic enters this network. * * @generated from enum value: NAT_TYPE_IPV4_MASQUERADE = 2; */ @@ -759,20 +759,20 @@ export const NATTypeSchema: GenEnum = /*@__PURE__*/ enumDesc(file_metalstack_api_v2_network, 0); /** - * NetworkType indicates the purpose of the network, it cannot be changed after creation + * NetworkType indicates the purpose of the network, it cannot be changed after creation. * * @generated from enum metalstack.api.v2.NetworkType */ export enum NetworkType { /** - * NETWORK_TYPE_UNSPECIFIED indicates a unknown network type + * NETWORK_TYPE_UNSPECIFIED indicates a unknown network type. * * @generated from enum value: NETWORK_TYPE_UNSPECIFIED = 0; */ UNSPECIFIED = 0, /** - * NETWORK_TYPE_EXTERNAL indicates network where multiple projects can allocate ips, it offers connectivity to other external networks + * 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. * @@ -781,8 +781,8 @@ export enum NetworkType { EXTERNAL = 1, /** - * NETWORK_TYPE_UNDERLAY indicates a underlay network - * The underlay network connects all switches and the firewalls to build a EVPN dataplane + * 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. * * @generated from enum value: NETWORK_TYPE_UNDERLAY = 2; @@ -790,14 +790,14 @@ export enum NetworkType { UNDERLAY = 2, /** - * NETWORK_TYPE_SUPER indicates a super network which is only used to create child networks + * 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 + * For child creation destination prefixes will be inherited. * If this is project scoped, the child project must match, otherwise can be freely specified. * * @generated from enum value: NETWORK_TYPE_SUPER = 3; @@ -844,34 +844,34 @@ export const NetworkTypeSchema: GenEnum = /*@__PURE__*/ enumDesc(file_metalstack_api_v2_network, 1); /** - * NetworkAddressFamily defines the address family of a network + * NetworkAddressFamily defines the address family of a network. * * @generated from enum metalstack.api.v2.NetworkAddressFamily */ export enum NetworkAddressFamily { /** - * NETWORK_ADDRESS_FAMILY_UNSPECIFIED is not specified + * NETWORK_ADDRESS_FAMILY_UNSPECIFIED is not specified. * * @generated from enum value: NETWORK_ADDRESS_FAMILY_UNSPECIFIED = 0; */ UNSPECIFIED = 0, /** - * NETWORK_ADDRESS_FAMILY_V4 defines a network with IPv4 address prefixes + * NETWORK_ADDRESS_FAMILY_V4 defines a network with IPv4 address prefixes. * * @generated from enum value: NETWORK_ADDRESS_FAMILY_V4 = 1; */ V4 = 1, /** - * NETWORK_ADDRESS_FAMILY_V6 defines a network with IPv6 address prefixes + * NETWORK_ADDRESS_FAMILY_V6 defines a network with IPv6 address prefixes. * * @generated from enum value: NETWORK_ADDRESS_FAMILY_V6 = 2; */ V6 = 2, /** - * NETWORK_ADDRESS_FAMILY_DUAL_STACK defines a network with both IPv4 and IPv6 address prefixes + * NETWORK_ADDRESS_FAMILY_DUAL_STACK defines a network with both IPv4 and IPv6 address prefixes. * * @generated from enum value: NETWORK_ADDRESS_FAMILY_DUAL_STACK = 3; */ diff --git a/js/metalstack/api/v2/partition_pb.d.ts b/js/metalstack/api/v2/partition_pb.d.ts index 0ffba5ae..2f123e85 100644 --- a/js/metalstack/api/v2/partition_pb.d.ts +++ b/js/metalstack/api/v2/partition_pb.d.ts @@ -6,50 +6,50 @@ import type { Message } from "@bufbuild/protobuf"; */ export declare const file_metalstack_api_v2_partition: GenFile; /** - * Partition is a failure domain with machines and switches + * Partition is a failure domain with machines and switches. * * @generated from message metalstack.api.v2.Partition */ export type Partition = Message<"metalstack.api.v2.Partition"> & { /** - * ID of this partition + * ID of this partition. * * @generated from field: string id = 1; */ id: string; /** - * Meta for this partition + * Meta for this partition. * * @generated from field: metalstack.api.v2.Meta meta = 2; */ meta?: Meta | undefined; /** - * Description of this partition + * Description of this partition. * * @generated from field: string description = 3; */ description: string; /** - * PartitionBootConfiguration defines how metal-hammer boots + * PartitionBootConfiguration defines how metal-hammer boots. * * @generated from field: metalstack.api.v2.PartitionBootConfiguration boot_configuration = 4; */ bootConfiguration?: PartitionBootConfiguration | undefined; /** - * DNSServers for this partition + * DNSServers for this partition. * * @generated from field: repeated metalstack.api.v2.DNSServer dns_servers = 5; */ dnsServers: DNSServer[]; /** - * NTPServers for this partition + * NTPServers for this partition. * * @generated from field: repeated metalstack.api.v2.NTPServer ntp_servers = 6; */ ntpServers: NTPServer[]; /** - * ManagementServiceAddresses defines where the management is reachable - * should be in the form : + * ManagementServiceAddresses defines where the management is reachable. + * should be in the form :. * * @generated from field: repeated string mgmt_service_addresses = 7; */ @@ -61,19 +61,19 @@ export type Partition = Message<"metalstack.api.v2.Partition"> & { */ export declare const PartitionSchema: GenMessage; /** - * PartitionQuery is used to search partitions + * PartitionQuery is used to search partitions. * * @generated from message metalstack.api.v2.PartitionQuery */ export type PartitionQuery = Message<"metalstack.api.v2.PartitionQuery"> & { /** - * ID of the partition to get + * ID of the partition to get. * * @generated from field: optional string id = 1; */ id?: string | undefined; /** - * Labels lists only partitions containing the given labels + * Labels lists only partitions containing the given labels. * * @generated from field: optional metalstack.api.v2.Labels labels = 2; */ @@ -85,25 +85,25 @@ export type PartitionQuery = Message<"metalstack.api.v2.PartitionQuery"> & { */ export declare const PartitionQuerySchema: GenMessage; /** - * PartitionBootConfiguration defines how metal-hammer boots + * PartitionBootConfiguration defines how metal-hammer boots. * * @generated from message metalstack.api.v2.PartitionBootConfiguration */ export type PartitionBootConfiguration = Message<"metalstack.api.v2.PartitionBootConfiguration"> & { /** - * ImageURL the url to download the initrd for the boot image + * ImageURL the url to download the initrd for the boot image. * * @generated from field: string image_url = 1; */ imageUrl: string; /** - * KernelURL the url to download the kernel for the boot image + * KernelURL the url to download the kernel for the boot image. * * @generated from field: string kernel_url = 2; */ kernelUrl: string; /** - * Commandline the kernel command line for the boot image + * Commandline the kernel command line for the boot image. * * @generated from field: string commandline = 3; */ @@ -115,13 +115,13 @@ export type PartitionBootConfiguration = Message<"metalstack.api.v2.PartitionBoo */ export declare const PartitionBootConfigurationSchema: GenMessage; /** - * DNSServer + * DNSServer. * * @generated from message metalstack.api.v2.DNSServer */ export type DNSServer = Message<"metalstack.api.v2.DNSServer"> & { /** - * IP address of this dns server + * IP address of this dns server. * * @generated from field: string ip = 1; */ @@ -133,13 +133,13 @@ export type DNSServer = Message<"metalstack.api.v2.DNSServer"> & { */ export declare const DNSServerSchema: GenMessage; /** - * NTPServer + * NTPServer. * * @generated from message metalstack.api.v2.NTPServer */ export type NTPServer = Message<"metalstack.api.v2.NTPServer"> & { /** - * Address either as ip or hostname + * Address either as ip or hostname. * * @generated from field: string address = 1; */ @@ -151,13 +151,13 @@ export type NTPServer = Message<"metalstack.api.v2.NTPServer"> & { */ export declare const NTPServerSchema: GenMessage; /** - * PartitionServiceGetRequest is the request payload for a partition get request + * PartitionServiceGetRequest is the request payload for a partition get request. * * @generated from message metalstack.api.v2.PartitionServiceGetRequest */ export type PartitionServiceGetRequest = Message<"metalstack.api.v2.PartitionServiceGetRequest"> & { /** - * ID of the partition to get + * ID of the partition to get. * * @generated from field: string id = 1; */ @@ -169,13 +169,13 @@ export type PartitionServiceGetRequest = Message<"metalstack.api.v2.PartitionSer */ export declare const PartitionServiceGetRequestSchema: GenMessage; /** - * PartitionServiceListRequest is the request payload for a partition list request + * PartitionServiceListRequest is the request payload for a partition list request. * * @generated from message metalstack.api.v2.PartitionServiceListRequest */ export type PartitionServiceListRequest = Message<"metalstack.api.v2.PartitionServiceListRequest"> & { /** - * Query for partitions + * Query for partitions. * * @generated from field: metalstack.api.v2.PartitionQuery query = 1; */ @@ -187,13 +187,13 @@ export type PartitionServiceListRequest = Message<"metalstack.api.v2.PartitionSe */ export declare const PartitionServiceListRequestSchema: GenMessage; /** - * PartitionServiceGetResponse is the response payload for a partition get request + * PartitionServiceGetResponse is the response payload for a partition get request. * * @generated from message metalstack.api.v2.PartitionServiceGetResponse */ export type PartitionServiceGetResponse = Message<"metalstack.api.v2.PartitionServiceGetResponse"> & { /** - * Partition is the partition + * Partition is the partition. * * @generated from field: metalstack.api.v2.Partition partition = 1; */ @@ -205,13 +205,13 @@ export type PartitionServiceGetResponse = Message<"metalstack.api.v2.PartitionSe */ export declare const PartitionServiceGetResponseSchema: GenMessage; /** - * PartitionServiceListResponse is the response payload for a partition list request + * PartitionServiceListResponse is the response payload for a partition list request. * * @generated from message metalstack.api.v2.PartitionServiceListResponse */ export type PartitionServiceListResponse = Message<"metalstack.api.v2.PartitionServiceListResponse"> & { /** - * Partitions are the partitions + * Partitions are the partitions. * * @generated from field: repeated metalstack.api.v2.Partition partitions = 1; */ diff --git a/js/metalstack/api/v2/partition_pb.ts b/js/metalstack/api/v2/partition_pb.ts index d866c33c..1c5c52fd 100644 --- a/js/metalstack/api/v2/partition_pb.ts +++ b/js/metalstack/api/v2/partition_pb.ts @@ -17,56 +17,56 @@ export const file_metalstack_api_v2_partition: GenFile = /*@__PURE__*/ fileDesc("CiFtZXRhbHN0YWNrL2FwaS92Mi9wYXJ0aXRpb24ucHJvdG8SEW1ldGFsc3RhY2suYXBpLnYyIuACCglQYXJ0aXRpb24SFwoCaWQYASABKAlCC7pICHIG0LOusQIBEiUKBG1ldGEYAiABKAsyFy5tZXRhbHN0YWNrLmFwaS52Mi5NZXRhEiAKC2Rlc2NyaXB0aW9uGAMgASgJQgu6SAhyBsizrrECARJJChJib290X2NvbmZpZ3VyYXRpb24YBCABKAsyLS5tZXRhbHN0YWNrLmFwaS52Mi5QYXJ0aXRpb25Cb290Q29uZmlndXJhdGlvbhI7CgtkbnNfc2VydmVycxgFIAMoCzIcLm1ldGFsc3RhY2suYXBpLnYyLkROU1NlcnZlckIIukgFkgECEAMSOwoLbnRwX3NlcnZlcnMYBiADKAsyHC5tZXRhbHN0YWNrLmFwaS52Mi5OVFBTZXJ2ZXJCCLpIBZIBAhAKEiwKFm1nbXRfc2VydmljZV9hZGRyZXNzZXMYByADKAlCDLpICZIBBsiks7ECASJwCg5QYXJ0aXRpb25RdWVyeRIcCgJpZBgBIAEoCUILukgIcgbQs66xAgFIAIgBARIuCgZsYWJlbHMYAiABKAsyGS5tZXRhbHN0YWNrLmFwaS52Mi5MYWJlbHNIAYgBAUIFCgNfaWRCCQoHX2xhYmVscyJ8ChpQYXJ0aXRpb25Cb290Q29uZmlndXJhdGlvbhIeCglpbWFnZV91cmwYASABKAlCC7pICHIG4LOusQIBEh8KCmtlcm5lbF91cmwYAiABKAlCC7pICHIG4LOusQIBEh0KC2NvbW1hbmRsaW5lGAMgASgJQgi6SAVyAxiAICIgCglETlNTZXJ2ZXISEwoCaXAYASABKAlCB7pIBHICcAEiKQoJTlRQU2VydmVyEhwKB2FkZHJlc3MYASABKAlCC7pICHIG6LOusQIBIjUKGlBhcnRpdGlvblNlcnZpY2VHZXRSZXF1ZXN0EhcKAmlkGAEgASgJQgu6SAhyBtCzrrECASJPChtQYXJ0aXRpb25TZXJ2aWNlTGlzdFJlcXVlc3QSMAoFcXVlcnkYASABKAsyIS5tZXRhbHN0YWNrLmFwaS52Mi5QYXJ0aXRpb25RdWVyeSJOChtQYXJ0aXRpb25TZXJ2aWNlR2V0UmVzcG9uc2USLwoJcGFydGl0aW9uGAEgASgLMhwubWV0YWxzdGFjay5hcGkudjIuUGFydGl0aW9uIlAKHFBhcnRpdGlvblNlcnZpY2VMaXN0UmVzcG9uc2USMAoKcGFydGl0aW9ucxgBIAMoCzIcLm1ldGFsc3RhY2suYXBpLnYyLlBhcnRpdGlvbjL1AQoQUGFydGl0aW9uU2VydmljZRJuCgNHZXQSLS5tZXRhbHN0YWNrLmFwaS52Mi5QYXJ0aXRpb25TZXJ2aWNlR2V0UmVxdWVzdBouLm1ldGFsc3RhY2suYXBpLnYyLlBhcnRpdGlvblNlcnZpY2VHZXRSZXNwb25zZSII2PMYAuDzGAIScQoETGlzdBIuLm1ldGFsc3RhY2suYXBpLnYyLlBhcnRpdGlvblNlcnZpY2VMaXN0UmVxdWVzdBovLm1ldGFsc3RhY2suYXBpLnYyLlBhcnRpdGlvblNlcnZpY2VMaXN0UmVzcG9uc2UiCNjzGALg8xgCQsQBChVjb20ubWV0YWxzdGFjay5hcGkudjJCDlBhcnRpdGlvblByb3RvUAFaNWdpdGh1Yi5jb20vbWV0YWwtc3RhY2svYXBpL2dvL21ldGFsc3RhY2svYXBpL3YyO2FwaXYyogIDTUFYqgIRTWV0YWxzdGFjay5BcGkuVjLKAhFNZXRhbHN0YWNrXEFwaVxWMuICHU1ldGFsc3RhY2tcQXBpXFYyXEdQQk1ldGFkYXRh6gITTWV0YWxzdGFjazo6QXBpOjpWMmIGcHJvdG8z", [file_buf_validate_validate, file_metalstack_api_v2_common, file_metalstack_api_v2_predefined_rules]); /** - * Partition is a failure domain with machines and switches + * Partition is a failure domain with machines and switches. * * @generated from message metalstack.api.v2.Partition */ export type Partition = Message<"metalstack.api.v2.Partition"> & { /** - * ID of this partition + * ID of this partition. * * @generated from field: string id = 1; */ id: string; /** - * Meta for this partition + * Meta for this partition. * * @generated from field: metalstack.api.v2.Meta meta = 2; */ meta?: Meta | undefined; /** - * Description of this partition + * Description of this partition. * * @generated from field: string description = 3; */ description: string; /** - * PartitionBootConfiguration defines how metal-hammer boots + * PartitionBootConfiguration defines how metal-hammer boots. * * @generated from field: metalstack.api.v2.PartitionBootConfiguration boot_configuration = 4; */ bootConfiguration?: PartitionBootConfiguration | undefined; /** - * DNSServers for this partition + * DNSServers for this partition. * * @generated from field: repeated metalstack.api.v2.DNSServer dns_servers = 5; */ dnsServers: DNSServer[]; /** - * NTPServers for this partition + * NTPServers for this partition. * * @generated from field: repeated metalstack.api.v2.NTPServer ntp_servers = 6; */ ntpServers: NTPServer[]; /** - * ManagementServiceAddresses defines where the management is reachable - * should be in the form : + * ManagementServiceAddresses defines where the management is reachable. + * should be in the form :. * * @generated from field: repeated string mgmt_service_addresses = 7; */ @@ -81,20 +81,20 @@ export const PartitionSchema: GenMessage = /*@__PURE__*/ messageDesc(file_metalstack_api_v2_partition, 0); /** - * PartitionQuery is used to search partitions + * PartitionQuery is used to search partitions. * * @generated from message metalstack.api.v2.PartitionQuery */ export type PartitionQuery = Message<"metalstack.api.v2.PartitionQuery"> & { /** - * ID of the partition to get + * ID of the partition to get. * * @generated from field: optional string id = 1; */ id?: string | undefined; /** - * Labels lists only partitions containing the given labels + * Labels lists only partitions containing the given labels. * * @generated from field: optional metalstack.api.v2.Labels labels = 2; */ @@ -109,27 +109,27 @@ export const PartitionQuerySchema: GenMessage = /*@__PURE__*/ messageDesc(file_metalstack_api_v2_partition, 1); /** - * PartitionBootConfiguration defines how metal-hammer boots + * PartitionBootConfiguration defines how metal-hammer boots. * * @generated from message metalstack.api.v2.PartitionBootConfiguration */ export type PartitionBootConfiguration = Message<"metalstack.api.v2.PartitionBootConfiguration"> & { /** - * ImageURL the url to download the initrd for the boot image + * ImageURL the url to download the initrd for the boot image. * * @generated from field: string image_url = 1; */ imageUrl: string; /** - * KernelURL the url to download the kernel for the boot image + * KernelURL the url to download the kernel for the boot image. * * @generated from field: string kernel_url = 2; */ kernelUrl: string; /** - * Commandline the kernel command line for the boot image + * Commandline the kernel command line for the boot image. * * @generated from field: string commandline = 3; */ @@ -144,13 +144,13 @@ export const PartitionBootConfigurationSchema: GenMessage & { /** - * IP address of this dns server + * IP address of this dns server. * * @generated from field: string ip = 1; */ @@ -165,13 +165,13 @@ export const DNSServerSchema: GenMessage = /*@__PURE__*/ messageDesc(file_metalstack_api_v2_partition, 3); /** - * NTPServer + * NTPServer. * * @generated from message metalstack.api.v2.NTPServer */ export type NTPServer = Message<"metalstack.api.v2.NTPServer"> & { /** - * Address either as ip or hostname + * Address either as ip or hostname. * * @generated from field: string address = 1; */ @@ -186,13 +186,13 @@ export const NTPServerSchema: GenMessage = /*@__PURE__*/ messageDesc(file_metalstack_api_v2_partition, 4); /** - * PartitionServiceGetRequest is the request payload for a partition get request + * PartitionServiceGetRequest is the request payload for a partition get request. * * @generated from message metalstack.api.v2.PartitionServiceGetRequest */ export type PartitionServiceGetRequest = Message<"metalstack.api.v2.PartitionServiceGetRequest"> & { /** - * ID of the partition to get + * ID of the partition to get. * * @generated from field: string id = 1; */ @@ -207,13 +207,13 @@ export const PartitionServiceGetRequestSchema: GenMessage & { /** - * Query for partitions + * Query for partitions. * * @generated from field: metalstack.api.v2.PartitionQuery query = 1; */ @@ -228,13 +228,13 @@ export const PartitionServiceListRequestSchema: GenMessage & { /** - * Partition is the partition + * Partition is the partition. * * @generated from field: metalstack.api.v2.Partition partition = 1; */ @@ -249,13 +249,13 @@ export const PartitionServiceGetResponseSchema: GenMessage & { /** - * Partitions are the partitions + * Partitions are the partitions. * * @generated from field: repeated metalstack.api.v2.Partition partitions = 1; */ diff --git a/js/metalstack/api/v2/predefined_rules_pb.d.ts b/js/metalstack/api/v2/predefined_rules_pb.d.ts index 5d785f8c..ac239fea 100644 --- a/js/metalstack/api/v2/predefined_rules_pb.d.ts +++ b/js/metalstack/api/v2/predefined_rules_pb.d.ts @@ -5,145 +5,145 @@ import type { MapRules, RepeatedRules, StringRules } from "../../../buf/validate */ export declare const file_metalstack_api_v2_predefined_rules: GenFile; /** - * Macaddress returns true if the given string is a valid macaddress + * Macaddress returns true if the given string is a valid macaddress. * * @generated from extension: optional bool macaddress = 80048951; */ export declare const macaddress: GenExtension; /** - * IsName returns true if name field satisfies our requirements + * IsName returns true if name field satisfies our requirements. * * @generated from extension: optional bool is_name = 80048952; */ export declare const is_name: GenExtension; /** - * IsDescription returns true if description field satisfies our requirements + * IsDescription returns true if description field satisfies our requirements. * * @generated from extension: optional bool is_description = 80048953; */ export declare const is_description: GenExtension; /** - * IsPartition returns true if partition field satisfies our requirements + * IsPartition returns true if partition field satisfies our requirements. * * @generated from extension: optional bool is_partition = 80048954; */ export declare const is_partition: GenExtension; /** - * IsPrefix validates if the given string is a valid prefix + * IsPrefix validates if the given string is a valid prefix. * * @generated from extension: optional bool is_prefix = 80048955; */ export declare const is_prefix: GenExtension; /** - * IsUri validates if the given string is a valid URI + * IsUri validates if the given string is a valid URI. * * @generated from extension: optional bool is_uri = 80048956; */ export declare const is_uri: GenExtension; /** - * IsIpOrHostname validates that the given string is either a ip or a hostname + * IsIpOrHostname validates that the given string is either a ip or a hostname. * * @generated from extension: optional bool is_ip_or_hostname = 80048957; */ export declare const is_ip_or_hostname: GenExtension; /** - * Trimmed enforces the string to be trimmed, e.g. no whitespaces at the begin and end + * Trimmed enforces the string to be trimmed, e.g. no whitespaces at the begin and end. * * @generated from extension: optional bool trimmed = 80048958; */ export declare const trimmed: GenExtension; /** - * IsUser returns true if name field satisfies our requirements + * IsUser returns true if name field satisfies our requirements. * * @generated from extension: optional bool is_user = 80048959; */ export declare const is_user: GenExtension; /** - * IsOption returns true if name field satisfies our requirements + * IsOption returns true if name field satisfies our requirements. * * @generated from extension: optional bool is_option = 80048960; */ export declare const is_option: GenExtension; /** - * IsKey returns true if name field satisfies our requirements + * IsKey returns true if name field satisfies our requirements. * * @generated from extension: optional bool is_key = 80048961; */ export declare const is_key: GenExtension; /** - * IsTenantLogin returns true if name field satisfies our requirements + * IsTenantLogin returns true if name field satisfies our requirements. * * @generated from extension: optional bool is_tenant_login = 80048962; */ export declare const is_tenant_login: GenExtension; /** - * IsTenantSubjectPermission returns true if name field satisfies our requirements + * IsTenantSubjectPermission returns true if name field satisfies our requirements. * * @generated from extension: optional bool is_tenant_subject_permission = 80048963; */ export declare const is_tenant_subject_permission: GenExtension; /** - * IsProjectSubjectPermission returns true if name field satisfies our requirements + * IsProjectSubjectPermission returns true if name field satisfies our requirements. * * @generated from extension: optional bool is_project_subject_permission = 80048964; */ export declare const is_project_subject_permission: GenExtension; /** - * IsMachineSubjectPermission returns true if name field satisfies our requirements + * IsMachineSubjectPermission returns true if name field satisfies our requirements. * * @generated from extension: optional bool is_machine_subject_permission = 80048965; */ export declare const is_machine_subject_permission: GenExtension; /** - * Prefixes validates if a slice of prefixes in string form are valid + * Prefixes validates if a slice of prefixes in string form are valid. * * @generated from extension: optional bool prefixes = 80058951; */ export declare const prefixes: GenExtension; /** - * Ips validates if a slice of ips in string form are valid + * Ips validates if a slice of ips in string form are valid. * * @generated from extension: optional bool ips = 80058952; */ export declare const ips: GenExtension; /** - * AreHostAndPort validates if a slice of strings are all in the form of : + * AreHostAndPort validates if a slice of strings are all in the form of :. * * @generated from extension: optional bool are_host_and_port = 80058953; */ export declare const are_host_and_port: GenExtension; /** - * All Trimmed enforces all strings to be trimmed, e.g. no whitespaces at the begin and end + * All Trimmed enforces all strings to be trimmed, e.g. no whitespaces at the begin and end. * * @generated from extension: optional bool all_trimmed = 80058954; */ export declare const all_trimmed: GenExtension; /** - * Keys and Values trimmed enforces all map keys and values to be trimmed, e.g. no whitespaces at the begin and end + * Keys and Values trimmed enforces all map keys and values to be trimmed, e.g. no whitespaces at the begin and end. * * @generated from extension: optional bool keys_and_values_trimmed = 80068951; */ export declare const keys_and_values_trimmed: GenExtension; /** - * Keys trimmed enforces all map keys and values to be trimmed, e.g. no whitespaces at the begin and end + * Keys trimmed enforces all map keys and values to be trimmed, e.g. no whitespaces at the begin and end. * * @generated from extension: optional bool keys_trimmed = 80068952; */ export declare const keys_trimmed: GenExtension; /** - * ProjectRolesKeysValid ensures that project roles keys met our requirements + * ProjectRolesKeysValid ensures that project roles keys met our requirements. * * @generated from extension: optional bool project_roles_keys_valid = 80068953; */ export declare const project_roles_keys_valid: GenExtension; /** - * TenantRolesKeysValid ensures that tenant roles keys met our requirements + * TenantRolesKeysValid ensures that tenant roles keys met our requirements. * * @generated from extension: optional bool tenant_roles_keys_valid = 80068954; */ export declare const tenant_roles_keys_valid: GenExtension; /** - * MachineRolesKeysValid ensures that machine roles keys met our requirements + * MachineRolesKeysValid ensures that machine roles keys met our requirements. * * @generated from extension: optional bool machine_roles_keys_valid = 80068955; */ diff --git a/js/metalstack/api/v2/predefined_rules_pb.js b/js/metalstack/api/v2/predefined_rules_pb.js index 6a7fd08b..07e11c99 100644 --- a/js/metalstack/api/v2/predefined_rules_pb.js +++ b/js/metalstack/api/v2/predefined_rules_pb.js @@ -8,145 +8,145 @@ import { file_buf_validate_validate } from "../../../buf/validate/validate_pb"; */ export const file_metalstack_api_v2_predefined_rules = /*@__PURE__*/ fileDesc("CihtZXRhbHN0YWNrL2FwaS92Mi9wcmVkZWZpbmVkX3J1bGVzLnByb3RvEhFtZXRhbHN0YWNrLmFwaS52Mjq4AQoKbWFjYWRkcmVzcxIZLmJ1Zi52YWxpZGF0ZS5TdHJpbmdSdWxlcxi35pUmIAEoCEJ6wkh3CnUKEXN0cmluZy5tYWNhZGRyZXNzEiZ0aGlzIHN0cmluZyBtdXN0IGJlIGEgdmFsaWQgbWFjYWRkcmVzcxo4dGhpcy5tYXRjaGVzKCdeKFswLTlBLUZhLWZdezJ9WzpdKXs1fShbMC05QS1GYS1mXXsyfSkkJylSCm1hY2FkZHJlc3M6mQEKB2lzX25hbWUSGS5idWYudmFsaWRhdGUuU3RyaW5nUnVsZXMYuOaVJiABKAhCYsJIXwpdCg5zdHJpbmcuaXNfbmFtZRIjbXVzdCBiZSB3aXRoaW4gMiBhbmQgMTI4IGNoYXJhY3RlcnMaJnRoaXMuc2l6ZSgpID49IDIgJiYgdGhpcy5zaXplKCkgPD0gMTI4UgZpc05hbWU6mgEKDmlzX2Rlc2NyaXB0aW9uEhkuYnVmLnZhbGlkYXRlLlN0cmluZ1J1bGVzGLnmlSYgASgIQlXCSFIKUAoVc3RyaW5nLmlzX2Rlc2NyaXB0aW9uEiNtdXN0IGJlIHNob3J0ZXIgdGhhbiAyNTYgY2hhcmFjdGVycxoSdGhpcy5zaXplKCkgPD0gMjU2Ug1pc0Rlc2NyaXB0aW9uOqgBCgxpc19wYXJ0aXRpb24SGS5idWYudmFsaWRhdGUuU3RyaW5nUnVsZXMYuuaVJiABKAhCZ8JIZApiChNzdHJpbmcuaXNfcGFydGl0aW9uEiNtdXN0IGJlIHdpdGhpbiAyIGFuZCAxMjggY2hhcmFjdGVycxomdGhpcy5zaXplKCkgPj0gMiAmJiB0aGlzLnNpemUoKSA8PSAxMjhSC2lzUGFydGl0aW9uOoIBCglpc19wcmVmaXgSGS5idWYudmFsaWRhdGUuU3RyaW5nUnVsZXMYu+aVJiABKAhCR8JIRApCCg9zdHJpbmcucHJlZml4ZXMSHGdpdmVuIHByZWZpeGVzIG11c3QgYmUgdmFsaWQaEXRoaXMuaXNJcFByZWZpeCgpUghpc1ByZWZpeDptCgZpc191cmkSGS5idWYudmFsaWRhdGUuU3RyaW5nUnVsZXMYvOaVJiABKAhCOMJINQozCgpzdHJpbmcudXJpEhdnaXZlbiB1cmkgbXVzdCBiZSB2YWxpZBoMdGhpcy5pc1VyaSgpUgVpc1VyaTqnAQoRaXNfaXBfb3JfaG9zdG5hbWUSGS5idWYudmFsaWRhdGUuU3RyaW5nUnVsZXMYveaVJiABKAhCXsJIWwpZCg12YWxpZF9hZGRyZXNzEiZtdXN0IGJlIGEgdmFsaWQgSVAgYWRkcmVzcyBvciBob3N0bmFtZRogdGhpcy5pc0lwKCkgfHwgdGhpcy5pc0hvc3RuYW1lKClSDmlzSXBPckhvc3RuYW1lOp0BCgd0cmltbWVkEhkuYnVmLnZhbGlkYXRlLlN0cmluZ1J1bGVzGL7mlSYgASgIQmXCSGIKYAoOc3RyaW5nLnRyaW1tZWQSK3ZhbHVlIG11c3Qgbm90IHN0YXJ0IG9yIGVuZCB3aXRoIHdoaXRlc3BhY2UaIXRoaXMudHJpbSgpLnNpemUoKSA9PSB0aGlzLnNpemUoKVIHdHJpbW1lZDqZAQoHaXNfdXNlchIZLmJ1Zi52YWxpZGF0ZS5TdHJpbmdSdWxlcxi/5pUmIAEoCEJiwkhfCl0KDnN0cmluZy5pc191c2VyEiNtdXN0IGJlIHdpdGhpbiAyIGFuZCA1MTIgY2hhcmFjdGVycxomdGhpcy5zaXplKCkgPj0gMiAmJiB0aGlzLnNpemUoKSA8PSA1MTJSBmlzVXNlcjqfAQoJaXNfb3B0aW9uEhkuYnVmLnZhbGlkYXRlLlN0cmluZ1J1bGVzGMDmlSYgASgIQmTCSGEKXwoQc3RyaW5nLmlzX29wdGlvbhIjbXVzdCBiZSB3aXRoaW4gMSBhbmQgMTI4IGNoYXJhY3RlcnMaJnRoaXMuc2l6ZSgpID49IDEgJiYgdGhpcy5zaXplKCkgPD0gMTI4Ughpc09wdGlvbjqYAQoGaXNfa2V5EhkuYnVmLnZhbGlkYXRlLlN0cmluZ1J1bGVzGMHmlSYgASgIQmPCSGAKXgoNc3RyaW5nLmlzX2tleRIkbXVzdCBiZSB3aXRoaW4gMSBhbmQgODE5MiBjaGFyYWN0ZXJzGid0aGlzLnNpemUoKSA+PSAxICYmIHRoaXMuc2l6ZSgpIDw9IDgxOTJSBWlzS2V5OrABCg9pc190ZW5hbnRfbG9naW4SGS5idWYudmFsaWRhdGUuU3RyaW5nUnVsZXMYwuaVJiABKAhCasJIZwplChZzdHJpbmcuaXNfdGVuYW50X2xvZ2luEiNtdXN0IGJlIHdpdGhpbiAyIGFuZCAxMjggY2hhcmFjdGVycxomdGhpcy5zaXplKCkgPj0gMiAmJiB0aGlzLnNpemUoKSA8PSAxMjhSDWlzVGVuYW50TG9naW467wEKHGlzX3RlbmFudF9zdWJqZWN0X3Blcm1pc3Npb24SGS5idWYudmFsaWRhdGUuU3RyaW5nUnVsZXMYw+aVJiABKAhCjwHCSIsBCogBCiNzdHJpbmcuaXNfdGVuYW50X3N1YmplY3RfcGVybWlzc2lvbhIqbXVzdCBiZSAnKicgb3Igd2l0aGluIDIgYW5kIDEyOCBjaGFyYWN0ZXJzGjV0aGlzID09ICcqJyB8fCB0aGlzLnNpemUoKSA+PSAyICYmIHRoaXMuc2l6ZSgpIDw9IDEyOFIZaXNUZW5hbnRTdWJqZWN0UGVybWlzc2lvbjqUAgodaXNfcHJvamVjdF9zdWJqZWN0X3Blcm1pc3Npb24SGS5idWYudmFsaWRhdGUuU3RyaW5nUnVsZXMYxOaVJiABKAhCsgHCSK4BCqsBCiRzdHJpbmcuaXNfcHJvamVjdF9zdWJqZWN0X3Blcm1pc3Npb24SFW11c3QgYmUgJyonIG9yIGEgdXVpZBpsdGhpcyA9PSAnKicgfHwgdGhpcy5tYXRjaGVzKCdeWzAtOWEtZkEtRl17OH0tWzAtOWEtZkEtRl17NH0tWzAtOWEtZkEtRl17NH0tWzAtOWEtZkEtRl17NH0tWzAtOWEtZkEtRl17MTJ9JCcpUhppc1Byb2plY3RTdWJqZWN0UGVybWlzc2lvbjqUAgodaXNfbWFjaGluZV9zdWJqZWN0X3Blcm1pc3Npb24SGS5idWYudmFsaWRhdGUuU3RyaW5nUnVsZXMYxeaVJiABKAhCsgHCSK4BCqsBCiRzdHJpbmcuaXNfbWFjaGluZV9zdWJqZWN0X3Blcm1pc3Npb24SFW11c3QgYmUgJyonIG9yIGEgdXVpZBpsdGhpcyA9PSAnKicgfHwgdGhpcy5tYXRjaGVzKCdeWzAtOWEtZkEtRl17OH0tWzAtOWEtZkEtRl17NH0tWzAtOWEtZkEtRl17NH0tWzAtOWEtZkEtRl17NH0tWzAtOWEtZkEtRl17MTJ9JCcpUhppc01hY2hpbmVTdWJqZWN0UGVybWlzc2lvbjqPAQoIcHJlZml4ZXMSGy5idWYudmFsaWRhdGUuUmVwZWF0ZWRSdWxlcxjHtJYmIAEoCEJTwkhQCk4KEXJlcGVhdGVkLnByZWZpeGVzEhxnaXZlbiBwcmVmaXhlcyBtdXN0IGJlIHZhbGlkGht0aGlzLmFsbChtLCBtLmlzSXBQcmVmaXgoKSlSCHByZWZpeGVzOnUKA2lwcxIbLmJ1Zi52YWxpZGF0ZS5SZXBlYXRlZFJ1bGVzGMi0liYgASgIQkPCSEAKPgoMcmVwZWF0ZWQuaXBzEhdnaXZlbiBpcHMgbXVzdCBiZSB2YWxpZBoVdGhpcy5hbGwobSwgbS5pc0lwKCkpUgNpcHM65gEKEWFyZV9ob3N0X2FuZF9wb3J0EhsuYnVmLnZhbGlkYXRlLlJlcGVhdGVkUnVsZXMYybSWJiABKAhCmgHCSJYBCpMBChpyZXBlYXRlZC5hcmVfaG9zdF9hbmRfcG9ydBJQZ2l2ZW4gZW50cmllcyBtdXN0IGFsbCBiZSBpbiB0aGUgZm9ybSBvZiA8aXAgfCBob3N0Pjo8cG9ydD4gYnV0IHBvcnQgaXMgb3B0aW9uYWwaI3RoaXMuYWxsKG0sIG0uaXNIb3N0QW5kUG9ydChmYWxzZSkpUg5hcmVIb3N0QW5kUG9ydDq6AQoLYWxsX3RyaW1tZWQSGy5idWYudmFsaWRhdGUuUmVwZWF0ZWRSdWxlcxjKtJYmIAEoCEJ5wkh2CnQKFHJlcGVhdGVkLmFsbF90cmltbWVkEjJnaXZlbiB2YWx1ZXMgbXVzdCBub3Qgc3RhcnQgb3IgZW5kIHdpdGggd2hpdGVzcGFjZRoodGhpcy5hbGwobSwgbS50cmltKCkuc2l6ZSgpID09IG0uc2l6ZSgpKVIKYWxsVHJpbW1lZDqEAgoXa2V5c19hbmRfdmFsdWVzX3RyaW1tZWQSFi5idWYudmFsaWRhdGUuTWFwUnVsZXMY14KXJiABKAhCsQHCSK0BCqoBChttYXAua2V5c19hbmRfdmFsdWVzX3RyaW1tZWQSNWtleXMgYW5kIHZhbHVlcyBtdXN0IG5vdCBzdGFydCBvciBlbmQgd2l0aCB3aGl0ZXNwYWNlGlR0aGlzLmFsbChrLCBrLnRyaW0oKS5zaXplKCkgPT0gay5zaXplKCkpICYmIHRoaXMuYWxsKHYsIHYudHJpbSgpLnNpemUoKSA9PSB2LnNpemUoKSlSFGtleXNBbmRWYWx1ZXNUcmltbWVkOqsBCgxrZXlzX3RyaW1tZWQSFi5idWYudmFsaWRhdGUuTWFwUnVsZXMY2IKXJiABKAhCbcJIagpoChBtYXAua2V5c190cmltbWVkEiprZXlzIG11c3Qgbm90IHN0YXJ0IG9yIGVuZCB3aXRoIHdoaXRlc3BhY2UaKHRoaXMuYWxsKGssIGsudHJpbSgpLnNpemUoKSA9PSBrLnNpemUoKSlSC2tleXNUcmltbWVkOpICChhwcm9qZWN0X3JvbGVzX2tleXNfdmFsaWQSFi5idWYudmFsaWRhdGUuTWFwUnVsZXMY2YKXJiABKAhCvQHCSLkBCrYBChdwcm9qZWN0X3JvbGVzLmtleS52YWxpZBImc3ViamVjdCBtdXN0IGJlIGEgJyonLCBvciBhIHZhbGlkIFVVSUQac3RoaXMuYWxsKGssIGsgPT0gJyonIHx8IGsubWF0Y2hlcygnXlswLTlhLWZBLUZdezh9LVswLTlhLWZBLUZdezR9LVswLTlhLWZBLUZdezR9LVswLTlhLWZBLUZdezR9LVswLTlhLWZBLUZdezEyfSQnKSlSFXByb2plY3RSb2xlc0tleXNWYWxpZDroAQoXdGVuYW50X3JvbGVzX2tleXNfdmFsaWQSFi5idWYudmFsaWRhdGUuTWFwUnVsZXMY2oKXJiABKAhClQHCSJEBCo4BChZ0ZW5hbnRfcm9sZXMua2V5LnZhbGlkEjNzdWJqZWN0IG11c3QgYmUgJyonIG9yIGJldHdlZW4gMiBhbmQgMTI4IGNoYXJhY3RlcnMaP3RoaXMuYWxsKGssIGsgPT0gJyonIHx8IHRoaXMuc2l6ZSgpID49IDIgfHwgdGhpcy5zaXplKCkgPD0xMjggKVIUdGVuYW50Um9sZXNLZXlzVmFsaWQ6ngIKGG1hY2hpbmVfcm9sZXNfa2V5c192YWxpZBIWLmJ1Zi52YWxpZGF0ZS5NYXBSdWxlcxjbgpcmIAEoCELJAcJIxQEKwgEKF21hY2hpbmVfcm9sZXMua2V5LnZhbGlkEjJzdWJqZWN0IG11c3QgYmUgZW1wdHkgc3RyaW5nLCAnKicsIG9yIGEgdmFsaWQgVVVJRBpzdGhpcy5hbGwoaywgayA9PSAnKicgfHwgay5tYXRjaGVzKCdeWzAtOWEtZkEtRl17OH0tWzAtOWEtZkEtRl17NH0tWzAtOWEtZkEtRl17NH0tWzAtOWEtZkEtRl17NH0tWzAtOWEtZkEtRl17MTJ9JCcpKVIVbWFjaGluZVJvbGVzS2V5c1ZhbGlkQsoBChVjb20ubWV0YWxzdGFjay5hcGkudjJCFFByZWRlZmluZWRSdWxlc1Byb3RvUAFaNWdpdGh1Yi5jb20vbWV0YWwtc3RhY2svYXBpL2dvL21ldGFsc3RhY2svYXBpL3YyO2FwaXYyogIDTUFYqgIRTWV0YWxzdGFjay5BcGkuVjLKAhFNZXRhbHN0YWNrXEFwaVxWMuICHU1ldGFsc3RhY2tcQXBpXFYyXEdQQk1ldGFkYXRh6gITTWV0YWxzdGFjazo6QXBpOjpWMg", [file_buf_validate_validate]); /** - * Macaddress returns true if the given string is a valid macaddress + * Macaddress returns true if the given string is a valid macaddress. * * @generated from extension: optional bool macaddress = 80048951; */ export const macaddress = /*@__PURE__*/ extDesc(file_metalstack_api_v2_predefined_rules, 0); /** - * IsName returns true if name field satisfies our requirements + * IsName returns true if name field satisfies our requirements. * * @generated from extension: optional bool is_name = 80048952; */ export const is_name = /*@__PURE__*/ extDesc(file_metalstack_api_v2_predefined_rules, 1); /** - * IsDescription returns true if description field satisfies our requirements + * IsDescription returns true if description field satisfies our requirements. * * @generated from extension: optional bool is_description = 80048953; */ export const is_description = /*@__PURE__*/ extDesc(file_metalstack_api_v2_predefined_rules, 2); /** - * IsPartition returns true if partition field satisfies our requirements + * IsPartition returns true if partition field satisfies our requirements. * * @generated from extension: optional bool is_partition = 80048954; */ export const is_partition = /*@__PURE__*/ extDesc(file_metalstack_api_v2_predefined_rules, 3); /** - * IsPrefix validates if the given string is a valid prefix + * IsPrefix validates if the given string is a valid prefix. * * @generated from extension: optional bool is_prefix = 80048955; */ export const is_prefix = /*@__PURE__*/ extDesc(file_metalstack_api_v2_predefined_rules, 4); /** - * IsUri validates if the given string is a valid URI + * IsUri validates if the given string is a valid URI. * * @generated from extension: optional bool is_uri = 80048956; */ export const is_uri = /*@__PURE__*/ extDesc(file_metalstack_api_v2_predefined_rules, 5); /** - * IsIpOrHostname validates that the given string is either a ip or a hostname + * IsIpOrHostname validates that the given string is either a ip or a hostname. * * @generated from extension: optional bool is_ip_or_hostname = 80048957; */ export const is_ip_or_hostname = /*@__PURE__*/ extDesc(file_metalstack_api_v2_predefined_rules, 6); /** - * Trimmed enforces the string to be trimmed, e.g. no whitespaces at the begin and end + * Trimmed enforces the string to be trimmed, e.g. no whitespaces at the begin and end. * * @generated from extension: optional bool trimmed = 80048958; */ export const trimmed = /*@__PURE__*/ extDesc(file_metalstack_api_v2_predefined_rules, 7); /** - * IsUser returns true if name field satisfies our requirements + * IsUser returns true if name field satisfies our requirements. * * @generated from extension: optional bool is_user = 80048959; */ export const is_user = /*@__PURE__*/ extDesc(file_metalstack_api_v2_predefined_rules, 8); /** - * IsOption returns true if name field satisfies our requirements + * IsOption returns true if name field satisfies our requirements. * * @generated from extension: optional bool is_option = 80048960; */ export const is_option = /*@__PURE__*/ extDesc(file_metalstack_api_v2_predefined_rules, 9); /** - * IsKey returns true if name field satisfies our requirements + * IsKey returns true if name field satisfies our requirements. * * @generated from extension: optional bool is_key = 80048961; */ export const is_key = /*@__PURE__*/ extDesc(file_metalstack_api_v2_predefined_rules, 10); /** - * IsTenantLogin returns true if name field satisfies our requirements + * IsTenantLogin returns true if name field satisfies our requirements. * * @generated from extension: optional bool is_tenant_login = 80048962; */ export const is_tenant_login = /*@__PURE__*/ extDesc(file_metalstack_api_v2_predefined_rules, 11); /** - * IsTenantSubjectPermission returns true if name field satisfies our requirements + * IsTenantSubjectPermission returns true if name field satisfies our requirements. * * @generated from extension: optional bool is_tenant_subject_permission = 80048963; */ export const is_tenant_subject_permission = /*@__PURE__*/ extDesc(file_metalstack_api_v2_predefined_rules, 12); /** - * IsProjectSubjectPermission returns true if name field satisfies our requirements + * IsProjectSubjectPermission returns true if name field satisfies our requirements. * * @generated from extension: optional bool is_project_subject_permission = 80048964; */ export const is_project_subject_permission = /*@__PURE__*/ extDesc(file_metalstack_api_v2_predefined_rules, 13); /** - * IsMachineSubjectPermission returns true if name field satisfies our requirements + * IsMachineSubjectPermission returns true if name field satisfies our requirements. * * @generated from extension: optional bool is_machine_subject_permission = 80048965; */ export const is_machine_subject_permission = /*@__PURE__*/ extDesc(file_metalstack_api_v2_predefined_rules, 14); /** - * Prefixes validates if a slice of prefixes in string form are valid + * Prefixes validates if a slice of prefixes in string form are valid. * * @generated from extension: optional bool prefixes = 80058951; */ export const prefixes = /*@__PURE__*/ extDesc(file_metalstack_api_v2_predefined_rules, 15); /** - * Ips validates if a slice of ips in string form are valid + * Ips validates if a slice of ips in string form are valid. * * @generated from extension: optional bool ips = 80058952; */ export const ips = /*@__PURE__*/ extDesc(file_metalstack_api_v2_predefined_rules, 16); /** - * AreHostAndPort validates if a slice of strings are all in the form of : + * AreHostAndPort validates if a slice of strings are all in the form of :. * * @generated from extension: optional bool are_host_and_port = 80058953; */ export const are_host_and_port = /*@__PURE__*/ extDesc(file_metalstack_api_v2_predefined_rules, 17); /** - * All Trimmed enforces all strings to be trimmed, e.g. no whitespaces at the begin and end + * All Trimmed enforces all strings to be trimmed, e.g. no whitespaces at the begin and end. * * @generated from extension: optional bool all_trimmed = 80058954; */ export const all_trimmed = /*@__PURE__*/ extDesc(file_metalstack_api_v2_predefined_rules, 18); /** - * Keys and Values trimmed enforces all map keys and values to be trimmed, e.g. no whitespaces at the begin and end + * Keys and Values trimmed enforces all map keys and values to be trimmed, e.g. no whitespaces at the begin and end. * * @generated from extension: optional bool keys_and_values_trimmed = 80068951; */ export const keys_and_values_trimmed = /*@__PURE__*/ extDesc(file_metalstack_api_v2_predefined_rules, 19); /** - * Keys trimmed enforces all map keys and values to be trimmed, e.g. no whitespaces at the begin and end + * Keys trimmed enforces all map keys and values to be trimmed, e.g. no whitespaces at the begin and end. * * @generated from extension: optional bool keys_trimmed = 80068952; */ export const keys_trimmed = /*@__PURE__*/ extDesc(file_metalstack_api_v2_predefined_rules, 20); /** - * ProjectRolesKeysValid ensures that project roles keys met our requirements + * ProjectRolesKeysValid ensures that project roles keys met our requirements. * * @generated from extension: optional bool project_roles_keys_valid = 80068953; */ export const project_roles_keys_valid = /*@__PURE__*/ extDesc(file_metalstack_api_v2_predefined_rules, 21); /** - * TenantRolesKeysValid ensures that tenant roles keys met our requirements + * TenantRolesKeysValid ensures that tenant roles keys met our requirements. * * @generated from extension: optional bool tenant_roles_keys_valid = 80068954; */ export const tenant_roles_keys_valid = /*@__PURE__*/ extDesc(file_metalstack_api_v2_predefined_rules, 22); /** - * MachineRolesKeysValid ensures that machine roles keys met our requirements + * MachineRolesKeysValid ensures that machine roles keys met our requirements. * * @generated from extension: optional bool machine_roles_keys_valid = 80068955; */ diff --git a/js/metalstack/api/v2/predefined_rules_pb.ts b/js/metalstack/api/v2/predefined_rules_pb.ts index e035d7dc..92551561 100644 --- a/js/metalstack/api/v2/predefined_rules_pb.ts +++ b/js/metalstack/api/v2/predefined_rules_pb.ts @@ -14,7 +14,7 @@ export const file_metalstack_api_v2_predefined_rules: GenFile = /*@__PURE__*/ fileDesc("CihtZXRhbHN0YWNrL2FwaS92Mi9wcmVkZWZpbmVkX3J1bGVzLnByb3RvEhFtZXRhbHN0YWNrLmFwaS52Mjq4AQoKbWFjYWRkcmVzcxIZLmJ1Zi52YWxpZGF0ZS5TdHJpbmdSdWxlcxi35pUmIAEoCEJ6wkh3CnUKEXN0cmluZy5tYWNhZGRyZXNzEiZ0aGlzIHN0cmluZyBtdXN0IGJlIGEgdmFsaWQgbWFjYWRkcmVzcxo4dGhpcy5tYXRjaGVzKCdeKFswLTlBLUZhLWZdezJ9WzpdKXs1fShbMC05QS1GYS1mXXsyfSkkJylSCm1hY2FkZHJlc3M6mQEKB2lzX25hbWUSGS5idWYudmFsaWRhdGUuU3RyaW5nUnVsZXMYuOaVJiABKAhCYsJIXwpdCg5zdHJpbmcuaXNfbmFtZRIjbXVzdCBiZSB3aXRoaW4gMiBhbmQgMTI4IGNoYXJhY3RlcnMaJnRoaXMuc2l6ZSgpID49IDIgJiYgdGhpcy5zaXplKCkgPD0gMTI4UgZpc05hbWU6mgEKDmlzX2Rlc2NyaXB0aW9uEhkuYnVmLnZhbGlkYXRlLlN0cmluZ1J1bGVzGLnmlSYgASgIQlXCSFIKUAoVc3RyaW5nLmlzX2Rlc2NyaXB0aW9uEiNtdXN0IGJlIHNob3J0ZXIgdGhhbiAyNTYgY2hhcmFjdGVycxoSdGhpcy5zaXplKCkgPD0gMjU2Ug1pc0Rlc2NyaXB0aW9uOqgBCgxpc19wYXJ0aXRpb24SGS5idWYudmFsaWRhdGUuU3RyaW5nUnVsZXMYuuaVJiABKAhCZ8JIZApiChNzdHJpbmcuaXNfcGFydGl0aW9uEiNtdXN0IGJlIHdpdGhpbiAyIGFuZCAxMjggY2hhcmFjdGVycxomdGhpcy5zaXplKCkgPj0gMiAmJiB0aGlzLnNpemUoKSA8PSAxMjhSC2lzUGFydGl0aW9uOoIBCglpc19wcmVmaXgSGS5idWYudmFsaWRhdGUuU3RyaW5nUnVsZXMYu+aVJiABKAhCR8JIRApCCg9zdHJpbmcucHJlZml4ZXMSHGdpdmVuIHByZWZpeGVzIG11c3QgYmUgdmFsaWQaEXRoaXMuaXNJcFByZWZpeCgpUghpc1ByZWZpeDptCgZpc191cmkSGS5idWYudmFsaWRhdGUuU3RyaW5nUnVsZXMYvOaVJiABKAhCOMJINQozCgpzdHJpbmcudXJpEhdnaXZlbiB1cmkgbXVzdCBiZSB2YWxpZBoMdGhpcy5pc1VyaSgpUgVpc1VyaTqnAQoRaXNfaXBfb3JfaG9zdG5hbWUSGS5idWYudmFsaWRhdGUuU3RyaW5nUnVsZXMYveaVJiABKAhCXsJIWwpZCg12YWxpZF9hZGRyZXNzEiZtdXN0IGJlIGEgdmFsaWQgSVAgYWRkcmVzcyBvciBob3N0bmFtZRogdGhpcy5pc0lwKCkgfHwgdGhpcy5pc0hvc3RuYW1lKClSDmlzSXBPckhvc3RuYW1lOp0BCgd0cmltbWVkEhkuYnVmLnZhbGlkYXRlLlN0cmluZ1J1bGVzGL7mlSYgASgIQmXCSGIKYAoOc3RyaW5nLnRyaW1tZWQSK3ZhbHVlIG11c3Qgbm90IHN0YXJ0IG9yIGVuZCB3aXRoIHdoaXRlc3BhY2UaIXRoaXMudHJpbSgpLnNpemUoKSA9PSB0aGlzLnNpemUoKVIHdHJpbW1lZDqZAQoHaXNfdXNlchIZLmJ1Zi52YWxpZGF0ZS5TdHJpbmdSdWxlcxi/5pUmIAEoCEJiwkhfCl0KDnN0cmluZy5pc191c2VyEiNtdXN0IGJlIHdpdGhpbiAyIGFuZCA1MTIgY2hhcmFjdGVycxomdGhpcy5zaXplKCkgPj0gMiAmJiB0aGlzLnNpemUoKSA8PSA1MTJSBmlzVXNlcjqfAQoJaXNfb3B0aW9uEhkuYnVmLnZhbGlkYXRlLlN0cmluZ1J1bGVzGMDmlSYgASgIQmTCSGEKXwoQc3RyaW5nLmlzX29wdGlvbhIjbXVzdCBiZSB3aXRoaW4gMSBhbmQgMTI4IGNoYXJhY3RlcnMaJnRoaXMuc2l6ZSgpID49IDEgJiYgdGhpcy5zaXplKCkgPD0gMTI4Ughpc09wdGlvbjqYAQoGaXNfa2V5EhkuYnVmLnZhbGlkYXRlLlN0cmluZ1J1bGVzGMHmlSYgASgIQmPCSGAKXgoNc3RyaW5nLmlzX2tleRIkbXVzdCBiZSB3aXRoaW4gMSBhbmQgODE5MiBjaGFyYWN0ZXJzGid0aGlzLnNpemUoKSA+PSAxICYmIHRoaXMuc2l6ZSgpIDw9IDgxOTJSBWlzS2V5OrABCg9pc190ZW5hbnRfbG9naW4SGS5idWYudmFsaWRhdGUuU3RyaW5nUnVsZXMYwuaVJiABKAhCasJIZwplChZzdHJpbmcuaXNfdGVuYW50X2xvZ2luEiNtdXN0IGJlIHdpdGhpbiAyIGFuZCAxMjggY2hhcmFjdGVycxomdGhpcy5zaXplKCkgPj0gMiAmJiB0aGlzLnNpemUoKSA8PSAxMjhSDWlzVGVuYW50TG9naW467wEKHGlzX3RlbmFudF9zdWJqZWN0X3Blcm1pc3Npb24SGS5idWYudmFsaWRhdGUuU3RyaW5nUnVsZXMYw+aVJiABKAhCjwHCSIsBCogBCiNzdHJpbmcuaXNfdGVuYW50X3N1YmplY3RfcGVybWlzc2lvbhIqbXVzdCBiZSAnKicgb3Igd2l0aGluIDIgYW5kIDEyOCBjaGFyYWN0ZXJzGjV0aGlzID09ICcqJyB8fCB0aGlzLnNpemUoKSA+PSAyICYmIHRoaXMuc2l6ZSgpIDw9IDEyOFIZaXNUZW5hbnRTdWJqZWN0UGVybWlzc2lvbjqUAgodaXNfcHJvamVjdF9zdWJqZWN0X3Blcm1pc3Npb24SGS5idWYudmFsaWRhdGUuU3RyaW5nUnVsZXMYxOaVJiABKAhCsgHCSK4BCqsBCiRzdHJpbmcuaXNfcHJvamVjdF9zdWJqZWN0X3Blcm1pc3Npb24SFW11c3QgYmUgJyonIG9yIGEgdXVpZBpsdGhpcyA9PSAnKicgfHwgdGhpcy5tYXRjaGVzKCdeWzAtOWEtZkEtRl17OH0tWzAtOWEtZkEtRl17NH0tWzAtOWEtZkEtRl17NH0tWzAtOWEtZkEtRl17NH0tWzAtOWEtZkEtRl17MTJ9JCcpUhppc1Byb2plY3RTdWJqZWN0UGVybWlzc2lvbjqUAgodaXNfbWFjaGluZV9zdWJqZWN0X3Blcm1pc3Npb24SGS5idWYudmFsaWRhdGUuU3RyaW5nUnVsZXMYxeaVJiABKAhCsgHCSK4BCqsBCiRzdHJpbmcuaXNfbWFjaGluZV9zdWJqZWN0X3Blcm1pc3Npb24SFW11c3QgYmUgJyonIG9yIGEgdXVpZBpsdGhpcyA9PSAnKicgfHwgdGhpcy5tYXRjaGVzKCdeWzAtOWEtZkEtRl17OH0tWzAtOWEtZkEtRl17NH0tWzAtOWEtZkEtRl17NH0tWzAtOWEtZkEtRl17NH0tWzAtOWEtZkEtRl17MTJ9JCcpUhppc01hY2hpbmVTdWJqZWN0UGVybWlzc2lvbjqPAQoIcHJlZml4ZXMSGy5idWYudmFsaWRhdGUuUmVwZWF0ZWRSdWxlcxjHtJYmIAEoCEJTwkhQCk4KEXJlcGVhdGVkLnByZWZpeGVzEhxnaXZlbiBwcmVmaXhlcyBtdXN0IGJlIHZhbGlkGht0aGlzLmFsbChtLCBtLmlzSXBQcmVmaXgoKSlSCHByZWZpeGVzOnUKA2lwcxIbLmJ1Zi52YWxpZGF0ZS5SZXBlYXRlZFJ1bGVzGMi0liYgASgIQkPCSEAKPgoMcmVwZWF0ZWQuaXBzEhdnaXZlbiBpcHMgbXVzdCBiZSB2YWxpZBoVdGhpcy5hbGwobSwgbS5pc0lwKCkpUgNpcHM65gEKEWFyZV9ob3N0X2FuZF9wb3J0EhsuYnVmLnZhbGlkYXRlLlJlcGVhdGVkUnVsZXMYybSWJiABKAhCmgHCSJYBCpMBChpyZXBlYXRlZC5hcmVfaG9zdF9hbmRfcG9ydBJQZ2l2ZW4gZW50cmllcyBtdXN0IGFsbCBiZSBpbiB0aGUgZm9ybSBvZiA8aXAgfCBob3N0Pjo8cG9ydD4gYnV0IHBvcnQgaXMgb3B0aW9uYWwaI3RoaXMuYWxsKG0sIG0uaXNIb3N0QW5kUG9ydChmYWxzZSkpUg5hcmVIb3N0QW5kUG9ydDq6AQoLYWxsX3RyaW1tZWQSGy5idWYudmFsaWRhdGUuUmVwZWF0ZWRSdWxlcxjKtJYmIAEoCEJ5wkh2CnQKFHJlcGVhdGVkLmFsbF90cmltbWVkEjJnaXZlbiB2YWx1ZXMgbXVzdCBub3Qgc3RhcnQgb3IgZW5kIHdpdGggd2hpdGVzcGFjZRoodGhpcy5hbGwobSwgbS50cmltKCkuc2l6ZSgpID09IG0uc2l6ZSgpKVIKYWxsVHJpbW1lZDqEAgoXa2V5c19hbmRfdmFsdWVzX3RyaW1tZWQSFi5idWYudmFsaWRhdGUuTWFwUnVsZXMY14KXJiABKAhCsQHCSK0BCqoBChttYXAua2V5c19hbmRfdmFsdWVzX3RyaW1tZWQSNWtleXMgYW5kIHZhbHVlcyBtdXN0IG5vdCBzdGFydCBvciBlbmQgd2l0aCB3aGl0ZXNwYWNlGlR0aGlzLmFsbChrLCBrLnRyaW0oKS5zaXplKCkgPT0gay5zaXplKCkpICYmIHRoaXMuYWxsKHYsIHYudHJpbSgpLnNpemUoKSA9PSB2LnNpemUoKSlSFGtleXNBbmRWYWx1ZXNUcmltbWVkOqsBCgxrZXlzX3RyaW1tZWQSFi5idWYudmFsaWRhdGUuTWFwUnVsZXMY2IKXJiABKAhCbcJIagpoChBtYXAua2V5c190cmltbWVkEiprZXlzIG11c3Qgbm90IHN0YXJ0IG9yIGVuZCB3aXRoIHdoaXRlc3BhY2UaKHRoaXMuYWxsKGssIGsudHJpbSgpLnNpemUoKSA9PSBrLnNpemUoKSlSC2tleXNUcmltbWVkOpICChhwcm9qZWN0X3JvbGVzX2tleXNfdmFsaWQSFi5idWYudmFsaWRhdGUuTWFwUnVsZXMY2YKXJiABKAhCvQHCSLkBCrYBChdwcm9qZWN0X3JvbGVzLmtleS52YWxpZBImc3ViamVjdCBtdXN0IGJlIGEgJyonLCBvciBhIHZhbGlkIFVVSUQac3RoaXMuYWxsKGssIGsgPT0gJyonIHx8IGsubWF0Y2hlcygnXlswLTlhLWZBLUZdezh9LVswLTlhLWZBLUZdezR9LVswLTlhLWZBLUZdezR9LVswLTlhLWZBLUZdezR9LVswLTlhLWZBLUZdezEyfSQnKSlSFXByb2plY3RSb2xlc0tleXNWYWxpZDroAQoXdGVuYW50X3JvbGVzX2tleXNfdmFsaWQSFi5idWYudmFsaWRhdGUuTWFwUnVsZXMY2oKXJiABKAhClQHCSJEBCo4BChZ0ZW5hbnRfcm9sZXMua2V5LnZhbGlkEjNzdWJqZWN0IG11c3QgYmUgJyonIG9yIGJldHdlZW4gMiBhbmQgMTI4IGNoYXJhY3RlcnMaP3RoaXMuYWxsKGssIGsgPT0gJyonIHx8IHRoaXMuc2l6ZSgpID49IDIgfHwgdGhpcy5zaXplKCkgPD0xMjggKVIUdGVuYW50Um9sZXNLZXlzVmFsaWQ6ngIKGG1hY2hpbmVfcm9sZXNfa2V5c192YWxpZBIWLmJ1Zi52YWxpZGF0ZS5NYXBSdWxlcxjbgpcmIAEoCELJAcJIxQEKwgEKF21hY2hpbmVfcm9sZXMua2V5LnZhbGlkEjJzdWJqZWN0IG11c3QgYmUgZW1wdHkgc3RyaW5nLCAnKicsIG9yIGEgdmFsaWQgVVVJRBpzdGhpcy5hbGwoaywgayA9PSAnKicgfHwgay5tYXRjaGVzKCdeWzAtOWEtZkEtRl17OH0tWzAtOWEtZkEtRl17NH0tWzAtOWEtZkEtRl17NH0tWzAtOWEtZkEtRl17NH0tWzAtOWEtZkEtRl17MTJ9JCcpKVIVbWFjaGluZVJvbGVzS2V5c1ZhbGlkQsoBChVjb20ubWV0YWxzdGFjay5hcGkudjJCFFByZWRlZmluZWRSdWxlc1Byb3RvUAFaNWdpdGh1Yi5jb20vbWV0YWwtc3RhY2svYXBpL2dvL21ldGFsc3RhY2svYXBpL3YyO2FwaXYyogIDTUFYqgIRTWV0YWxzdGFjay5BcGkuVjLKAhFNZXRhbHN0YWNrXEFwaVxWMuICHU1ldGFsc3RhY2tcQXBpXFYyXEdQQk1ldGFkYXRh6gITTWV0YWxzdGFjazo6QXBpOjpWMg", [file_buf_validate_validate]); /** - * Macaddress returns true if the given string is a valid macaddress + * Macaddress returns true if the given string is a valid macaddress. * * @generated from extension: optional bool macaddress = 80048951; */ @@ -22,7 +22,7 @@ export const macaddress: GenExtension = /*@__PURE__*/ extDesc(file_metalstack_api_v2_predefined_rules, 0); /** - * IsName returns true if name field satisfies our requirements + * IsName returns true if name field satisfies our requirements. * * @generated from extension: optional bool is_name = 80048952; */ @@ -30,7 +30,7 @@ export const is_name: GenExtension = /*@__PURE__*/ extDesc(file_metalstack_api_v2_predefined_rules, 1); /** - * IsDescription returns true if description field satisfies our requirements + * IsDescription returns true if description field satisfies our requirements. * * @generated from extension: optional bool is_description = 80048953; */ @@ -38,7 +38,7 @@ export const is_description: GenExtension = /*@__PURE__*/ extDesc(file_metalstack_api_v2_predefined_rules, 2); /** - * IsPartition returns true if partition field satisfies our requirements + * IsPartition returns true if partition field satisfies our requirements. * * @generated from extension: optional bool is_partition = 80048954; */ @@ -46,7 +46,7 @@ export const is_partition: GenExtension = /*@__PURE__*/ extDesc(file_metalstack_api_v2_predefined_rules, 3); /** - * IsPrefix validates if the given string is a valid prefix + * IsPrefix validates if the given string is a valid prefix. * * @generated from extension: optional bool is_prefix = 80048955; */ @@ -54,7 +54,7 @@ export const is_prefix: GenExtension = /*@__PURE__*/ extDesc(file_metalstack_api_v2_predefined_rules, 4); /** - * IsUri validates if the given string is a valid URI + * IsUri validates if the given string is a valid URI. * * @generated from extension: optional bool is_uri = 80048956; */ @@ -62,7 +62,7 @@ export const is_uri: GenExtension = /*@__PURE__*/ extDesc(file_metalstack_api_v2_predefined_rules, 5); /** - * IsIpOrHostname validates that the given string is either a ip or a hostname + * IsIpOrHostname validates that the given string is either a ip or a hostname. * * @generated from extension: optional bool is_ip_or_hostname = 80048957; */ @@ -70,7 +70,7 @@ export const is_ip_or_hostname: GenExtension = /*@__PURE__ extDesc(file_metalstack_api_v2_predefined_rules, 6); /** - * Trimmed enforces the string to be trimmed, e.g. no whitespaces at the begin and end + * Trimmed enforces the string to be trimmed, e.g. no whitespaces at the begin and end. * * @generated from extension: optional bool trimmed = 80048958; */ @@ -78,7 +78,7 @@ export const trimmed: GenExtension = /*@__PURE__*/ extDesc(file_metalstack_api_v2_predefined_rules, 7); /** - * IsUser returns true if name field satisfies our requirements + * IsUser returns true if name field satisfies our requirements. * * @generated from extension: optional bool is_user = 80048959; */ @@ -86,7 +86,7 @@ export const is_user: GenExtension = /*@__PURE__*/ extDesc(file_metalstack_api_v2_predefined_rules, 8); /** - * IsOption returns true if name field satisfies our requirements + * IsOption returns true if name field satisfies our requirements. * * @generated from extension: optional bool is_option = 80048960; */ @@ -94,7 +94,7 @@ export const is_option: GenExtension = /*@__PURE__*/ extDesc(file_metalstack_api_v2_predefined_rules, 9); /** - * IsKey returns true if name field satisfies our requirements + * IsKey returns true if name field satisfies our requirements. * * @generated from extension: optional bool is_key = 80048961; */ @@ -102,7 +102,7 @@ export const is_key: GenExtension = /*@__PURE__*/ extDesc(file_metalstack_api_v2_predefined_rules, 10); /** - * IsTenantLogin returns true if name field satisfies our requirements + * IsTenantLogin returns true if name field satisfies our requirements. * * @generated from extension: optional bool is_tenant_login = 80048962; */ @@ -110,7 +110,7 @@ export const is_tenant_login: GenExtension = /*@__PURE__*/ extDesc(file_metalstack_api_v2_predefined_rules, 11); /** - * IsTenantSubjectPermission returns true if name field satisfies our requirements + * IsTenantSubjectPermission returns true if name field satisfies our requirements. * * @generated from extension: optional bool is_tenant_subject_permission = 80048963; */ @@ -118,7 +118,7 @@ export const is_tenant_subject_permission: GenExtension = extDesc(file_metalstack_api_v2_predefined_rules, 12); /** - * IsProjectSubjectPermission returns true if name field satisfies our requirements + * IsProjectSubjectPermission returns true if name field satisfies our requirements. * * @generated from extension: optional bool is_project_subject_permission = 80048964; */ @@ -126,7 +126,7 @@ export const is_project_subject_permission: GenExtension = extDesc(file_metalstack_api_v2_predefined_rules, 13); /** - * IsMachineSubjectPermission returns true if name field satisfies our requirements + * IsMachineSubjectPermission returns true if name field satisfies our requirements. * * @generated from extension: optional bool is_machine_subject_permission = 80048965; */ @@ -134,7 +134,7 @@ export const is_machine_subject_permission: GenExtension = extDesc(file_metalstack_api_v2_predefined_rules, 14); /** - * Prefixes validates if a slice of prefixes in string form are valid + * Prefixes validates if a slice of prefixes in string form are valid. * * @generated from extension: optional bool prefixes = 80058951; */ @@ -142,7 +142,7 @@ export const prefixes: GenExtension = /*@__PURE__*/ extDesc(file_metalstack_api_v2_predefined_rules, 15); /** - * Ips validates if a slice of ips in string form are valid + * Ips validates if a slice of ips in string form are valid. * * @generated from extension: optional bool ips = 80058952; */ @@ -150,7 +150,7 @@ export const ips: GenExtension = /*@__PURE__*/ extDesc(file_metalstack_api_v2_predefined_rules, 16); /** - * AreHostAndPort validates if a slice of strings are all in the form of : + * AreHostAndPort validates if a slice of strings are all in the form of :. * * @generated from extension: optional bool are_host_and_port = 80058953; */ @@ -158,7 +158,7 @@ export const are_host_and_port: GenExtension = /*@__PURE extDesc(file_metalstack_api_v2_predefined_rules, 17); /** - * All Trimmed enforces all strings to be trimmed, e.g. no whitespaces at the begin and end + * All Trimmed enforces all strings to be trimmed, e.g. no whitespaces at the begin and end. * * @generated from extension: optional bool all_trimmed = 80058954; */ @@ -166,7 +166,7 @@ export const all_trimmed: GenExtension = /*@__PURE__*/ extDesc(file_metalstack_api_v2_predefined_rules, 18); /** - * Keys and Values trimmed enforces all map keys and values to be trimmed, e.g. no whitespaces at the begin and end + * Keys and Values trimmed enforces all map keys and values to be trimmed, e.g. no whitespaces at the begin and end. * * @generated from extension: optional bool keys_and_values_trimmed = 80068951; */ @@ -174,7 +174,7 @@ export const keys_and_values_trimmed: GenExtension = /*@__PUR extDesc(file_metalstack_api_v2_predefined_rules, 19); /** - * Keys trimmed enforces all map keys and values to be trimmed, e.g. no whitespaces at the begin and end + * Keys trimmed enforces all map keys and values to be trimmed, e.g. no whitespaces at the begin and end. * * @generated from extension: optional bool keys_trimmed = 80068952; */ @@ -182,7 +182,7 @@ export const keys_trimmed: GenExtension = /*@__PURE__*/ extDesc(file_metalstack_api_v2_predefined_rules, 20); /** - * ProjectRolesKeysValid ensures that project roles keys met our requirements + * ProjectRolesKeysValid ensures that project roles keys met our requirements. * * @generated from extension: optional bool project_roles_keys_valid = 80068953; */ @@ -190,7 +190,7 @@ export const project_roles_keys_valid: GenExtension = /*@__PU extDesc(file_metalstack_api_v2_predefined_rules, 21); /** - * TenantRolesKeysValid ensures that tenant roles keys met our requirements + * TenantRolesKeysValid ensures that tenant roles keys met our requirements. * * @generated from extension: optional bool tenant_roles_keys_valid = 80068954; */ @@ -198,7 +198,7 @@ export const tenant_roles_keys_valid: GenExtension = /*@__PUR extDesc(file_metalstack_api_v2_predefined_rules, 22); /** - * MachineRolesKeysValid ensures that machine roles keys met our requirements + * MachineRolesKeysValid ensures that machine roles keys met our requirements. * * @generated from extension: optional bool machine_roles_keys_valid = 80068955; */ diff --git a/js/metalstack/api/v2/project_pb.d.ts b/js/metalstack/api/v2/project_pb.d.ts index 91656379..7fb60e0e 100644 --- a/js/metalstack/api/v2/project_pb.d.ts +++ b/js/metalstack/api/v2/project_pb.d.ts @@ -7,44 +7,44 @@ import type { Message } from "@bufbuild/protobuf"; */ export declare const file_metalstack_api_v2_project: GenFile; /** - * Project defines a group of resources belonging to a tenant - * a tenant can have multiple projects + * Project defines a group of resources belonging to a tenant. + * a tenant can have multiple projects. * * @generated from message metalstack.api.v2.Project */ export type Project = Message<"metalstack.api.v2.Project"> & { /** - * Uuid of this project + * Uuid of this project. * * @generated from field: string uuid = 1; */ uuid: string; /** - * Meta for this project + * Meta for this project. * * @generated from field: metalstack.api.v2.Meta meta = 2; */ meta?: Meta | undefined; /** - * Name of this project must be unique per tenant + * Name of this project must be unique per tenant. * * @generated from field: string name = 3; */ name: string; /** - * Description of this project + * Description of this project. * * @generated from field: string description = 4; */ description: string; /** - * Tenant this project belongs to + * Tenant this project belongs to. * * @generated from field: string tenant = 5; */ tenant: string; /** - * AvatarUrl of the Project + * AvatarUrl of the Project. * * @generated from field: optional string avatar_url = 6; */ @@ -56,19 +56,19 @@ export type Project = Message<"metalstack.api.v2.Project"> & { */ export declare const ProjectSchema: GenMessage; /** - * ProjectMember defines a user that participates in a project + * ProjectMember defines a user that participates in a project. * * @generated from message metalstack.api.v2.ProjectMember */ export type ProjectMember = Message<"metalstack.api.v2.ProjectMember"> & { /** - * Id is the user id of the member + * Id is the user id of the member. * * @generated from field: string id = 1; */ id: string; /** - * Role is the role of the member + * Role is the role of the member. * * @generated from field: metalstack.api.v2.ProjectRole role = 2; */ @@ -82,13 +82,13 @@ export type ProjectMember = Message<"metalstack.api.v2.ProjectMember"> & { */ inheritedMembership: boolean; /** - * CreatedAt the date when the member was added to the project + * CreatedAt the date when the member was added to the project. * * @generated from field: google.protobuf.Timestamp created_at = 4; */ createdAt?: Timestamp | undefined; /** - * Meta for this project member + * Meta for this project member. * * @generated from field: metalstack.api.v2.Meta meta = 5; */ @@ -100,61 +100,61 @@ export type ProjectMember = Message<"metalstack.api.v2.ProjectMember"> & { */ export declare const ProjectMemberSchema: GenMessage; /** - * ProjectInvite defines invite to project + * ProjectInvite defines invite to project. * * @generated from message metalstack.api.v2.ProjectInvite */ export type ProjectInvite = Message<"metalstack.api.v2.ProjectInvite"> & { /** - * Secret is the secret part of the invite, typically part of the url + * Secret is the secret part of the invite, typically part of the url. * * @generated from field: string secret = 1; */ secret: string; /** - * Project is the project id for which this invite was created + * Project is the project id for which this invite was created. * * @generated from field: string project = 2; */ project: string; /** - * Role is the role in this project the user will get after accepting the invitation + * Role is the role in this project the user will get after accepting the invitation. * * @generated from field: metalstack.api.v2.ProjectRole role = 3; */ role: ProjectRole; /** - * Joined is false as long as a user has not accepted the invite + * Joined is false as long as a user has not accepted the invite. * * @generated from field: bool joined = 4; */ joined: boolean; /** - * ProjectName is the project name for which this invite was created + * ProjectName is the project name for which this invite was created. * * @generated from field: string project_name = 5; */ projectName: string; /** - * Tenant is the login of the tenant inviting another user to join this project + * Tenant is the login of the tenant inviting another user to join this project. * * @generated from field: string tenant = 6; */ tenant: string; /** - * TenantName is the name of the tenant inviting another user to join this project + * TenantName is the name of the tenant inviting another user to join this project. * * @generated from field: string tenant_name = 7; */ tenantName: string; /** - * ExpiresAt the date when this invite expires + * ExpiresAt the date when this invite expires. * * @generated from field: google.protobuf.Timestamp expires_at = 8; */ expiresAt?: Timestamp | undefined; /** - * JoinedAt the date when the member accepted this invite + * JoinedAt the date when the member accepted this invite. * * @generated from field: google.protobuf.Timestamp joined_at = 9; */ @@ -166,13 +166,13 @@ export type ProjectInvite = Message<"metalstack.api.v2.ProjectInvite"> & { */ export declare const ProjectInviteSchema: GenMessage; /** - * ProjectServiceListRequest is the request payload to list all projects + * ProjectServiceListRequest is the request payload to list all projects. * * @generated from message metalstack.api.v2.ProjectServiceListRequest */ export type ProjectServiceListRequest = Message<"metalstack.api.v2.ProjectServiceListRequest"> & { /** - * Query for projects + * Query for projects. * * @generated from field: metalstack.api.v2.ProjectQuery query = 1; */ @@ -184,31 +184,31 @@ export type ProjectServiceListRequest = Message<"metalstack.api.v2.ProjectServic */ export declare const ProjectServiceListRequestSchema: GenMessage; /** - * ProjectQuery is used to search projects + * ProjectQuery is used to search projects. * * @generated from message metalstack.api.v2.ProjectQuery */ export type ProjectQuery = Message<"metalstack.api.v2.ProjectQuery"> & { /** - * Uuid lists only projects with this uuid + * Uuid lists only projects with this uuid. * * @generated from field: optional string uuid = 1; */ uuid?: string | undefined; /** - * Name lists only projects with this name + * Name lists only projects with this name. * * @generated from field: optional string name = 2; */ name?: string | undefined; /** - * Tenant lists only projects of this tenant + * Tenant lists only projects of this tenant. * * @generated from field: optional string tenant = 3; */ tenant?: string | undefined; /** - * Labels lists only projects containing the given labels + * Labels lists only projects containing the given labels. * * @generated from field: optional metalstack.api.v2.Labels labels = 4; */ @@ -220,13 +220,13 @@ export type ProjectQuery = Message<"metalstack.api.v2.ProjectQuery"> & { */ export declare const ProjectQuerySchema: GenMessage; /** - * ProjectServiceListResponse is the response payload to list all projects + * ProjectServiceListResponse is the response payload to list all projects. * * @generated from message metalstack.api.v2.ProjectServiceListResponse */ export type ProjectServiceListResponse = Message<"metalstack.api.v2.ProjectServiceListResponse"> & { /** - * Projects is a list of all your projects + * Projects is a list of all your projects. * * @generated from field: repeated metalstack.api.v2.Project projects = 1; */ @@ -238,13 +238,13 @@ export type ProjectServiceListResponse = Message<"metalstack.api.v2.ProjectServi */ export declare const ProjectServiceListResponseSchema: GenMessage; /** - * ProjectServiceGetRequest is the request payload to get a project + * ProjectServiceGetRequest is the request payload to get a project. * * @generated from message metalstack.api.v2.ProjectServiceGetRequest */ export type ProjectServiceGetRequest = Message<"metalstack.api.v2.ProjectServiceGetRequest"> & { /** - * Project is the uuid of the project to get + * Project is the uuid of the project to get. * * @generated from field: string project = 1; */ @@ -256,19 +256,19 @@ export type ProjectServiceGetRequest = Message<"metalstack.api.v2.ProjectService */ export declare const ProjectServiceGetRequestSchema: GenMessage; /** - * ProjectServiceGetResponse is the response payload to get a projects + * ProjectServiceGetResponse is the response payload to get a projects. * * @generated from message metalstack.api.v2.ProjectServiceGetResponse */ export type ProjectServiceGetResponse = Message<"metalstack.api.v2.ProjectServiceGetResponse"> & { /** - * Project is the project + * Project is the project. * * @generated from field: metalstack.api.v2.Project project = 1; */ project?: Project | undefined; /** - * ProjectMembers in this project, projects guests will only see direct project members and not implicit memberships from tenant permissions + * ProjectMembers in this project, projects guests will only see direct project members and not implicit memberships from tenant permissions. * * @generated from field: repeated metalstack.api.v2.ProjectMember project_members = 2; */ @@ -280,38 +280,38 @@ export type ProjectServiceGetResponse = Message<"metalstack.api.v2.ProjectServic */ export declare const ProjectServiceGetResponseSchema: GenMessage; /** - * ProjectServiceCreateRequest is the request payload to Create a project + * ProjectServiceCreateRequest is the request payload to Create a project. * * @generated from message metalstack.api.v2.ProjectServiceCreateRequest */ export type ProjectServiceCreateRequest = Message<"metalstack.api.v2.ProjectServiceCreateRequest"> & { /** - * Login is the tenant of this project - * TODO: is login really a good name? + * Login is the tenant of this project. + * TODO: is login really a good name?. * * @generated from field: string login = 1; */ login: string; /** - * Name of this project, unique per tenant + * Name of this project, unique per tenant. * * @generated from field: string name = 2; */ name: string; /** - * Description of this project + * Description of this project. * * @generated from field: string description = 3; */ description: string; /** - * Avatar URL of the project + * Avatar URL of the project. * * @generated from field: optional string avatar_url = 4; */ avatarUrl?: string | undefined; /** - * Labels on the project + * Labels on the project. * * @generated from field: metalstack.api.v2.Labels labels = 5; */ @@ -323,13 +323,13 @@ export type ProjectServiceCreateRequest = Message<"metalstack.api.v2.ProjectServ */ export declare const ProjectServiceCreateRequestSchema: GenMessage; /** - * ProjectServiceCreateResponse is the response payload of creation of a project + * ProjectServiceCreateResponse is the response payload of creation of a project. * * @generated from message metalstack.api.v2.ProjectServiceCreateResponse */ export type ProjectServiceCreateResponse = Message<"metalstack.api.v2.ProjectServiceCreateResponse"> & { /** - * Project is the project + * Project is the project. * * @generated from field: metalstack.api.v2.Project project = 1; */ @@ -341,13 +341,13 @@ export type ProjectServiceCreateResponse = Message<"metalstack.api.v2.ProjectSer */ export declare const ProjectServiceCreateResponseSchema: GenMessage; /** - * ProjectServiceDeleteRequest is the request payload to delete a project + * ProjectServiceDeleteRequest is the request payload to delete a project. * * @generated from message metalstack.api.v2.ProjectServiceDeleteRequest */ export type ProjectServiceDeleteRequest = Message<"metalstack.api.v2.ProjectServiceDeleteRequest"> & { /** - * Project is the uuid of the project to delete + * Project is the uuid of the project to delete. * * @generated from field: string project = 1; */ @@ -359,13 +359,13 @@ export type ProjectServiceDeleteRequest = Message<"metalstack.api.v2.ProjectServ */ export declare const ProjectServiceDeleteRequestSchema: GenMessage; /** - * ProjectServiceDeleteResponse is the response payload to delete a project + * ProjectServiceDeleteResponse is the response payload to delete a project. * * @generated from message metalstack.api.v2.ProjectServiceDeleteResponse */ export type ProjectServiceDeleteResponse = Message<"metalstack.api.v2.ProjectServiceDeleteResponse"> & { /** - * Project is the project + * Project is the project. * * @generated from field: metalstack.api.v2.Project project = 1; */ @@ -377,43 +377,43 @@ export type ProjectServiceDeleteResponse = Message<"metalstack.api.v2.ProjectSer */ export declare const ProjectServiceDeleteResponseSchema: GenMessage; /** - * ProjectServiceUpdateRequest is the request payload to update a project + * ProjectServiceUpdateRequest is the request payload to update a project. * * @generated from message metalstack.api.v2.ProjectServiceUpdateRequest */ export type ProjectServiceUpdateRequest = Message<"metalstack.api.v2.ProjectServiceUpdateRequest"> & { /** - * Project is the uuid of the project to get + * Project is the uuid of the project to get. * * @generated from field: string project = 1; */ project: string; /** - * UpdateMeta contains the timestamp and strategy to be used in this update request + * UpdateMeta contains the timestamp and strategy to be used in this update request. * * @generated from field: metalstack.api.v2.UpdateMeta update_meta = 2; */ updateMeta?: UpdateMeta | undefined; /** - * Name of this project unique per tenant + * Name of this project unique per tenant. * * @generated from field: optional string name = 3; */ name?: string | undefined; /** - * Description of this project + * Description of this project. * * @generated from field: optional string description = 4; */ description?: string | undefined; /** - * Avatar URL of the project + * Avatar URL of the project. * * @generated from field: optional string avatar_url = 5; */ avatarUrl?: string | undefined; /** - * Labels on this project + * Labels on this project. * * @generated from field: optional metalstack.api.v2.UpdateLabels labels = 6; */ @@ -425,13 +425,13 @@ export type ProjectServiceUpdateRequest = Message<"metalstack.api.v2.ProjectServ */ export declare const ProjectServiceUpdateRequestSchema: GenMessage; /** - * ProjectServiceUpdateResponse is the response payload to update a project + * ProjectServiceUpdateResponse is the response payload to update a project. * * @generated from message metalstack.api.v2.ProjectServiceUpdateResponse */ export type ProjectServiceUpdateResponse = Message<"metalstack.api.v2.ProjectServiceUpdateResponse"> & { /** - * Project is the project + * Project is the project. * * @generated from field: metalstack.api.v2.Project project = 1; */ @@ -443,19 +443,19 @@ export type ProjectServiceUpdateResponse = Message<"metalstack.api.v2.ProjectSer */ export declare const ProjectServiceUpdateResponseSchema: GenMessage; /** - * ProjectServiceInviteRequest is used to invite a member to a project + * ProjectServiceInviteRequest is used to invite a member to a project. * * @generated from message metalstack.api.v2.ProjectServiceInviteRequest */ export type ProjectServiceInviteRequest = Message<"metalstack.api.v2.ProjectServiceInviteRequest"> & { /** - * Project is the uuid of the project + * Project is the uuid of the project. * * @generated from field: string project = 1; */ project: string; /** - * Role of this user in this project + * Role of this user in this project. * * @generated from field: metalstack.api.v2.ProjectRole role = 2; */ @@ -467,15 +467,15 @@ export type ProjectServiceInviteRequest = Message<"metalstack.api.v2.ProjectServ */ export declare const ProjectServiceInviteRequestSchema: GenMessage; /** - * ProjectServiceInviteResponse is the response payload to a invite member request + * ProjectServiceInviteResponse is the response payload to a invite member request. * * @generated from message metalstack.api.v2.ProjectServiceInviteResponse */ export type ProjectServiceInviteResponse = Message<"metalstack.api.v2.ProjectServiceInviteResponse"> & { /** - * 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/ + * 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/; /** - * ProjectServiceInvitesListRequest is the request payload to a list invites request + * ProjectServiceInvitesListRequest is the request payload to a list invites request. * * @generated from message metalstack.api.v2.ProjectServiceInvitesListRequest */ export type ProjectServiceInvitesListRequest = Message<"metalstack.api.v2.ProjectServiceInvitesListRequest"> & { /** - * Project is the uuid of the project + * Project is the uuid of the project. * * @generated from field: string project = 1; */ @@ -505,13 +505,13 @@ export type ProjectServiceInvitesListRequest = Message<"metalstack.api.v2.Projec */ export declare const ProjectServiceInvitesListRequestSchema: GenMessage; /** - * ProjectServiceInvitesListResponse is the response payload to a list invites request + * ProjectServiceInvitesListResponse is the response payload to a list invites request. * * @generated from message metalstack.api.v2.ProjectServiceInvitesListResponse */ export type ProjectServiceInvitesListResponse = Message<"metalstack.api.v2.ProjectServiceInvitesListResponse"> & { /** - * Invites not already accepted the invitation to this project + * Invites not already accepted the invitation to this project. * * @generated from field: repeated metalstack.api.v2.ProjectInvite invites = 1; */ @@ -523,13 +523,13 @@ export type ProjectServiceInvitesListResponse = Message<"metalstack.api.v2.Proje */ export declare const ProjectServiceInvitesListResponseSchema: GenMessage; /** - * ProjectServiceInviteGetRequest is the request payload to get a invite + * ProjectServiceInviteGetRequest is the request payload to get a invite. * * @generated from message metalstack.api.v2.ProjectServiceInviteGetRequest */ export type ProjectServiceInviteGetRequest = Message<"metalstack.api.v2.ProjectServiceInviteGetRequest"> & { /** - * Secret of the invite to list + * Secret of the invite to list. * * @generated from field: string secret = 1; */ @@ -541,13 +541,13 @@ export type ProjectServiceInviteGetRequest = Message<"metalstack.api.v2.ProjectS */ export declare const ProjectServiceInviteGetRequestSchema: GenMessage; /** - * ProjectServiceInviteGetResponse is the response payload to a get invite request + * ProjectServiceInviteGetResponse is the response payload to a get invite request. * * @generated from message metalstack.api.v2.ProjectServiceInviteGetResponse */ export type ProjectServiceInviteGetResponse = Message<"metalstack.api.v2.ProjectServiceInviteGetResponse"> & { /** - * Invite is the invite + * Invite is the invite. * * @generated from field: metalstack.api.v2.ProjectInvite invite = 1; */ @@ -559,13 +559,13 @@ export type ProjectServiceInviteGetResponse = Message<"metalstack.api.v2.Project */ export declare const ProjectServiceInviteGetResponseSchema: GenMessage; /** - * ProjectServiceLeaveRequest is used to leave a project + * ProjectServiceLeaveRequest is used to leave a project. * * @generated from message metalstack.api.v2.ProjectServiceLeaveRequest */ export type ProjectServiceLeaveRequest = Message<"metalstack.api.v2.ProjectServiceLeaveRequest"> & { /** - * Project is the uuid of the project + * Project is the uuid of the project. * * @generated from field: string project = 1; */ @@ -577,7 +577,7 @@ export type ProjectServiceLeaveRequest = Message<"metalstack.api.v2.ProjectServi */ export declare const ProjectServiceLeaveRequestSchema: GenMessage; /** - * ProjectServiceLeaveResponse is the response payload to a leave project request + * ProjectServiceLeaveResponse is the response payload to a leave project request. * * @generated from message metalstack.api.v2.ProjectServiceLeaveResponse */ @@ -588,25 +588,25 @@ export type ProjectServiceLeaveResponse = Message<"metalstack.api.v2.ProjectServ */ export declare const ProjectServiceLeaveResponseSchema: GenMessage; /** - * ProjectServiceAddMemberRequest is the request payload for adding a member to a project + * ProjectServiceAddMemberRequest is the request payload for adding a member to a project. * * @generated from message metalstack.api.v2.ProjectServiceAddMemberRequest */ export type ProjectServiceAddMemberRequest = Message<"metalstack.api.v2.ProjectServiceAddMemberRequest"> & { /** - * Project is the uuid of the project + * Project is the uuid of the project. * * @generated from field: string project = 1; */ project: string; /** - * Login of the member to add + * Login of the member to add. * * @generated from field: string member = 2; */ member: string; /** - * Role to assign to the new member + * Role to assign to the new member. * * @generated from field: metalstack.api.v2.ProjectRole role = 3; */ @@ -618,13 +618,13 @@ export type ProjectServiceAddMemberRequest = Message<"metalstack.api.v2.ProjectS */ export declare const ProjectServiceAddMemberRequestSchema: GenMessage; /** - * ProjectServiceAddMemberResponse is the response payload for the add member request + * ProjectServiceAddMemberResponse is the response payload for the add member request. * * @generated from message metalstack.api.v2.ProjectServiceAddMemberResponse */ export type ProjectServiceAddMemberResponse = Message<"metalstack.api.v2.ProjectServiceAddMemberResponse"> & { /** - * ProjectRole is the added project member + * ProjectRole is the added project member. * * @generated from field: metalstack.api.v2.ProjectRole project_member = 1; */ @@ -636,19 +636,19 @@ export type ProjectServiceAddMemberResponse = Message<"metalstack.api.v2.Project */ export declare const ProjectServiceAddMemberResponseSchema: GenMessage; /** - * ProjectServiceRemoveMemberRequest is used to remove a member from a project + * ProjectServiceRemoveMemberRequest is used to remove a member from a project. * * @generated from message metalstack.api.v2.ProjectServiceRemoveMemberRequest */ export type ProjectServiceRemoveMemberRequest = Message<"metalstack.api.v2.ProjectServiceRemoveMemberRequest"> & { /** - * Project is the uuid of the project + * Project is the uuid of the project. * * @generated from field: string project = 1; */ project: string; /** - * Member is the id of the member to remove from this project + * Member is the id of the member to remove from this project. * * @generated from field: string member = 2; */ @@ -660,7 +660,7 @@ export type ProjectServiceRemoveMemberRequest = Message<"metalstack.api.v2.Proje */ export declare const ProjectServiceRemoveMemberRequestSchema: GenMessage; /** - * ProjectServiceRemoveMemberResponse is the response payload to a remove member request + * ProjectServiceRemoveMemberResponse is the response payload to a remove member request. * * @generated from message metalstack.api.v2.ProjectServiceRemoveMemberResponse */ @@ -671,25 +671,25 @@ export type ProjectServiceRemoveMemberResponse = Message<"metalstack.api.v2.Proj */ export declare const ProjectServiceRemoveMemberResponseSchema: GenMessage; /** - * ProjectServiceUpdateMemberRequest is used to update a member of a project + * ProjectServiceUpdateMemberRequest is used to update a member of a project. * * @generated from message metalstack.api.v2.ProjectServiceUpdateMemberRequest */ export type ProjectServiceUpdateMemberRequest = Message<"metalstack.api.v2.ProjectServiceUpdateMemberRequest"> & { /** - * Project is the uuid of the project + * Project is the uuid of the project. * * @generated from field: string project = 1; */ project: string; /** - * Member is the id of the member to remove from this project + * Member is the id of the member to remove from this project. * * @generated from field: string member = 2; */ member: string; /** - * Role is the role in this project the user will get after the update + * Role is the role in this project the user will get after the update. * * @generated from field: metalstack.api.v2.ProjectRole role = 3; */ @@ -701,13 +701,13 @@ export type ProjectServiceUpdateMemberRequest = Message<"metalstack.api.v2.Proje */ export declare const ProjectServiceUpdateMemberRequestSchema: GenMessage; /** - * ProjectServiceUpdateMemberResponse is the response payload to a update member request + * ProjectServiceUpdateMemberResponse is the response payload to a update member request. * * @generated from message metalstack.api.v2.ProjectServiceUpdateMemberResponse */ export type ProjectServiceUpdateMemberResponse = Message<"metalstack.api.v2.ProjectServiceUpdateMemberResponse"> & { /** - * ProjectMember is the updated project member + * ProjectMember is the updated project member. * * @generated from field: metalstack.api.v2.ProjectMember project_member = 1; */ @@ -719,13 +719,13 @@ export type ProjectServiceUpdateMemberResponse = Message<"metalstack.api.v2.Proj */ export declare const ProjectServiceUpdateMemberResponseSchema: GenMessage; /** - * ProjectServiceInviteAcceptRequest is the request payload to a accept invite request + * ProjectServiceInviteAcceptRequest is the request payload to a accept invite request. * * @generated from message metalstack.api.v2.ProjectServiceInviteAcceptRequest */ export type ProjectServiceInviteAcceptRequest = Message<"metalstack.api.v2.ProjectServiceInviteAcceptRequest"> & { /** - * Secret is the invitation secret part of the invitation url + * Secret is the invitation secret part of the invitation url. * * @generated from field: string secret = 1; */ @@ -737,19 +737,19 @@ export type ProjectServiceInviteAcceptRequest = Message<"metalstack.api.v2.Proje */ export declare const ProjectServiceInviteAcceptRequestSchema: GenMessage; /** - * ProjectServiceInviteAcceptResponse is the response payload to a accept invite request + * ProjectServiceInviteAcceptResponse is the response payload to a accept invite request. * * @generated from message metalstack.api.v2.ProjectServiceInviteAcceptResponse */ export type ProjectServiceInviteAcceptResponse = Message<"metalstack.api.v2.ProjectServiceInviteAcceptResponse"> & { /** - * Project ID of the project joined + * Project ID of the project joined. * * @generated from field: string project = 1; */ project: string; /** - * ProjectName of the project joined + * ProjectName of the project joined. * * @generated from field: string project_name = 2; */ @@ -761,19 +761,19 @@ export type ProjectServiceInviteAcceptResponse = Message<"metalstack.api.v2.Proj */ export declare const ProjectServiceInviteAcceptResponseSchema: GenMessage; /** - * ProjectServiceInviteDeleteRequest is the request payload to a delete invite + * ProjectServiceInviteDeleteRequest is the request payload to a delete invite. * * @generated from message metalstack.api.v2.ProjectServiceInviteDeleteRequest */ export type ProjectServiceInviteDeleteRequest = Message<"metalstack.api.v2.ProjectServiceInviteDeleteRequest"> & { /** - * Project is the uuid of the project + * Project is the uuid of the project. * * @generated from field: string project = 1; */ project: string; /** - * Secret of the invite to delete + * Secret of the invite to delete. * * @generated from field: string secret = 2; */ @@ -785,7 +785,7 @@ export type ProjectServiceInviteDeleteRequest = Message<"metalstack.api.v2.Proje */ export declare const ProjectServiceInviteDeleteRequestSchema: GenMessage; /** - * ProjectServiceInviteDeleteResponse is the response payload of a delete invite request + * ProjectServiceInviteDeleteResponse is the response payload of a delete invite request. * * @generated from message metalstack.api.v2.ProjectServiceInviteDeleteResponse */ @@ -822,7 +822,7 @@ export declare const ProjectService: GenService<{ output: typeof ProjectServiceGetResponseSchema; }; /** - * Create a project + * Create a project. * * @generated from rpc metalstack.api.v2.ProjectService.Create */ @@ -832,7 +832,7 @@ export declare const ProjectService: GenService<{ output: typeof ProjectServiceCreateResponseSchema; }; /** - * Delete a project + * Delete a project. * * @generated from rpc metalstack.api.v2.ProjectService.Delete */ @@ -842,7 +842,7 @@ export declare const ProjectService: GenService<{ output: typeof ProjectServiceDeleteResponseSchema; }; /** - * Update a project + * Update a project. * * @generated from rpc metalstack.api.v2.ProjectService.Update */ @@ -852,7 +852,7 @@ export declare const ProjectService: GenService<{ output: typeof ProjectServiceUpdateResponseSchema; }; /** - * Leave project + * Leave project. * * @generated from rpc metalstack.api.v2.ProjectService.Leave */ @@ -862,7 +862,7 @@ export declare const ProjectService: GenService<{ output: typeof ProjectServiceLeaveResponseSchema; }; /** - * AddMember adds a user to a project + * AddMember adds a user to a project. * * @generated from rpc metalstack.api.v2.ProjectService.AddMember */ @@ -872,7 +872,7 @@ export declare const ProjectService: GenService<{ output: typeof ProjectServiceAddMemberResponseSchema; }; /** - * RemoveMember removes a user from a project + * RemoveMember removes a user from a project. * * @generated from rpc metalstack.api.v2.ProjectService.RemoveMember */ @@ -882,7 +882,7 @@ export declare const ProjectService: GenService<{ output: typeof ProjectServiceRemoveMemberResponseSchema; }; /** - * UpdateMember updates a user for a project + * UpdateMember updates a user for a project. * * @generated from rpc metalstack.api.v2.ProjectService.UpdateMember */ @@ -892,7 +892,7 @@ export declare const ProjectService: GenService<{ output: typeof ProjectServiceUpdateMemberResponseSchema; }; /** - * Invite a user to a project + * Invite a user to a project. * * @generated from rpc metalstack.api.v2.ProjectService.Invite */ @@ -902,7 +902,7 @@ export declare const ProjectService: GenService<{ output: typeof ProjectServiceInviteResponseSchema; }; /** - * InviteAccept is called by a user to accept an invitation + * InviteAccept is called by a user to accept an invitation. * * @generated from rpc metalstack.api.v2.ProjectService.InviteAccept */ @@ -912,7 +912,7 @@ export declare const ProjectService: GenService<{ output: typeof ProjectServiceInviteAcceptResponseSchema; }; /** - * InviteDelete deletes a pending invitation + * InviteDelete deletes a pending invitation. * * @generated from rpc metalstack.api.v2.ProjectService.InviteDelete */ @@ -922,7 +922,7 @@ export declare const ProjectService: GenService<{ output: typeof ProjectServiceInviteDeleteResponseSchema; }; /** - * InvitesList list all invites to a project + * InvitesList list all invites to a project. * * @generated from rpc metalstack.api.v2.ProjectService.InvitesList */ @@ -932,7 +932,7 @@ export declare const ProjectService: GenService<{ output: typeof ProjectServiceInvitesListResponseSchema; }; /** - * InviteGet get an invite + * InviteGet get an invite. * * @generated from rpc metalstack.api.v2.ProjectService.InviteGet */ diff --git a/js/metalstack/api/v2/project_pb.ts b/js/metalstack/api/v2/project_pb.ts index 4ce74626..ebd3447e 100644 --- a/js/metalstack/api/v2/project_pb.ts +++ b/js/metalstack/api/v2/project_pb.ts @@ -19,49 +19,49 @@ export const file_metalstack_api_v2_project: GenFile = /*@__PURE__*/ fileDesc("Ch9tZXRhbHN0YWNrL2FwaS92Mi9wcm9qZWN0LnByb3RvEhFtZXRhbHN0YWNrLmFwaS52MiLAAQoHUHJvamVjdBIMCgR1dWlkGAEgASgJEiUKBG1ldGEYAiABKAsyFy5tZXRhbHN0YWNrLmFwaS52Mi5NZXRhEhkKBG5hbWUYAyABKAlCC7pICHIGwLOusQIBEiAKC2Rlc2NyaXB0aW9uGAQgASgJQgu6SAhyBsizrrECARIOCgZ0ZW5hbnQYBSABKAkSJAoKYXZhdGFyX3VybBgGIAEoCUILukgIcgbgs66xAgFIAIgBAUINCgtfYXZhdGFyX3VybCLIAQoNUHJvamVjdE1lbWJlchIKCgJpZBgBIAEoCRI2CgRyb2xlGAIgASgOMh4ubWV0YWxzdGFjay5hcGkudjIuUHJvamVjdFJvbGVCCLpIBYIBAhABEhwKFGluaGVyaXRlZF9tZW1iZXJzaGlwGAMgASgIEi4KCmNyZWF0ZWRfYXQYBCABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wEiUKBG1ldGEYBSABKAsyFy5tZXRhbHN0YWNrLmFwaS52Mi5NZXRhIpICCg1Qcm9qZWN0SW52aXRlEg4KBnNlY3JldBgBIAEoCRIPCgdwcm9qZWN0GAIgASgJEjYKBHJvbGUYAyABKA4yHi5tZXRhbHN0YWNrLmFwaS52Mi5Qcm9qZWN0Um9sZUIIukgFggECEAESDgoGam9pbmVkGAQgASgIEhQKDHByb2plY3RfbmFtZRgFIAEoCRIOCgZ0ZW5hbnQYBiABKAkSEwoLdGVuYW50X25hbWUYByABKAkSLgoKZXhwaXJlc19hdBgIIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASLQoJam9pbmVkX2F0GAkgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcCJLChlQcm9qZWN0U2VydmljZUxpc3RSZXF1ZXN0Ei4KBXF1ZXJ5GAEgASgLMh8ubWV0YWxzdGFjay5hcGkudjIuUHJvamVjdFF1ZXJ5IsUBCgxQcm9qZWN0UXVlcnkSGwoEdXVpZBgBIAEoCUIIukgFcgOwAQFIAIgBARIeCgRuYW1lGAIgASgJQgu6SAhyBsCzrrECAUgBiAEBEiAKBnRlbmFudBgDIAEoCUILukgIcgaQtK6xAgFIAogBARIuCgZsYWJlbHMYBCABKAsyGS5tZXRhbHN0YWNrLmFwaS52Mi5MYWJlbHNIA4gBAUIHCgVfdXVpZEIHCgVfbmFtZUIJCgdfdGVuYW50QgkKB19sYWJlbHMiSgoaUHJvamVjdFNlcnZpY2VMaXN0UmVzcG9uc2USLAoIcHJvamVjdHMYASADKAsyGi5tZXRhbHN0YWNrLmFwaS52Mi5Qcm9qZWN0IjUKGFByb2plY3RTZXJ2aWNlR2V0UmVxdWVzdBIZCgdwcm9qZWN0GAEgASgJQgi6SAVyA7ABASKDAQoZUHJvamVjdFNlcnZpY2VHZXRSZXNwb25zZRIrCgdwcm9qZWN0GAEgASgLMhoubWV0YWxzdGFjay5hcGkudjIuUHJvamVjdBI5Cg9wcm9qZWN0X21lbWJlcnMYAiADKAsyIC5tZXRhbHN0YWNrLmFwaS52Mi5Qcm9qZWN0TWVtYmVyItYBChtQcm9qZWN0U2VydmljZUNyZWF0ZVJlcXVlc3QSGgoFbG9naW4YASABKAlCC7pICHIGwLOusQIBEhkKBG5hbWUYAiABKAlCC7pICHIGwLOusQIBEiAKC2Rlc2NyaXB0aW9uGAMgASgJQgu6SAhyBsizrrECARIkCgphdmF0YXJfdXJsGAQgASgJQgu6SAhyBuCzrrECAUgAiAEBEikKBmxhYmVscxgFIAEoCzIZLm1ldGFsc3RhY2suYXBpLnYyLkxhYmVsc0INCgtfYXZhdGFyX3VybCJLChxQcm9qZWN0U2VydmljZUNyZWF0ZVJlc3BvbnNlEisKB3Byb2plY3QYASABKAsyGi5tZXRhbHN0YWNrLmFwaS52Mi5Qcm9qZWN0IjgKG1Byb2plY3RTZXJ2aWNlRGVsZXRlUmVxdWVzdBIZCgdwcm9qZWN0GAEgASgJQgi6SAVyA7ABASJLChxQcm9qZWN0U2VydmljZURlbGV0ZVJlc3BvbnNlEisKB3Byb2plY3QYASABKAsyGi5tZXRhbHN0YWNrLmFwaS52Mi5Qcm9qZWN0IsoCChtQcm9qZWN0U2VydmljZVVwZGF0ZVJlcXVlc3QSGQoHcHJvamVjdBgBIAEoCUIIukgFcgOwAQESOgoLdXBkYXRlX21ldGEYAiABKAsyHS5tZXRhbHN0YWNrLmFwaS52Mi5VcGRhdGVNZXRhQga6SAPIAQESHgoEbmFtZRgDIAEoCUILukgIcgbAs66xAgFIAIgBARIlCgtkZXNjcmlwdGlvbhgEIAEoCUILukgIcgbIs66xAgFIAYgBARIkCgphdmF0YXJfdXJsGAUgASgJQgu6SAhyBuCzrrECAUgCiAEBEjQKBmxhYmVscxgGIAEoCzIfLm1ldGFsc3RhY2suYXBpLnYyLlVwZGF0ZUxhYmVsc0gDiAEBQgcKBV9uYW1lQg4KDF9kZXNjcmlwdGlvbkINCgtfYXZhdGFyX3VybEIJCgdfbGFiZWxzIksKHFByb2plY3RTZXJ2aWNlVXBkYXRlUmVzcG9uc2USKwoHcHJvamVjdBgBIAEoCzIaLm1ldGFsc3RhY2suYXBpLnYyLlByb2plY3QicAobUHJvamVjdFNlcnZpY2VJbnZpdGVSZXF1ZXN0EhkKB3Byb2plY3QYASABKAlCCLpIBXIDsAEBEjYKBHJvbGUYAiABKA4yHi5tZXRhbHN0YWNrLmFwaS52Mi5Qcm9qZWN0Um9sZUIIukgFggECEAEiUAocUHJvamVjdFNlcnZpY2VJbnZpdGVSZXNwb25zZRIwCgZpbnZpdGUYASABKAsyIC5tZXRhbHN0YWNrLmFwaS52Mi5Qcm9qZWN0SW52aXRlIj0KIFByb2plY3RTZXJ2aWNlSW52aXRlc0xpc3RSZXF1ZXN0EhkKB3Byb2plY3QYASABKAlCCLpIBXIDsAEBIlYKIVByb2plY3RTZXJ2aWNlSW52aXRlc0xpc3RSZXNwb25zZRIxCgdpbnZpdGVzGAEgAygLMiAubWV0YWxzdGFjay5hcGkudjIuUHJvamVjdEludml0ZSIwCh5Qcm9qZWN0U2VydmljZUludml0ZUdldFJlcXVlc3QSDgoGc2VjcmV0GAEgASgJIlMKH1Byb2plY3RTZXJ2aWNlSW52aXRlR2V0UmVzcG9uc2USMAoGaW52aXRlGAEgASgLMiAubWV0YWxzdGFjay5hcGkudjIuUHJvamVjdEludml0ZSI3ChpQcm9qZWN0U2VydmljZUxlYXZlUmVxdWVzdBIZCgdwcm9qZWN0GAEgASgJQgi6SAVyA7ABASIdChtQcm9qZWN0U2VydmljZUxlYXZlUmVzcG9uc2UikAEKHlByb2plY3RTZXJ2aWNlQWRkTWVtYmVyUmVxdWVzdBIZCgdwcm9qZWN0GAEgASgJQgi6SAVyA7ABARIbCgZtZW1iZXIYAiABKAlCC7pICHIGkLSusQIBEjYKBHJvbGUYAyABKA4yHi5tZXRhbHN0YWNrLmFwaS52Mi5Qcm9qZWN0Um9sZUIIukgFggECEAEiWQofUHJvamVjdFNlcnZpY2VBZGRNZW1iZXJSZXNwb25zZRI2Cg5wcm9qZWN0X21lbWJlchgBIAEoDjIeLm1ldGFsc3RhY2suYXBpLnYyLlByb2plY3RSb2xlIk4KIVByb2plY3RTZXJ2aWNlUmVtb3ZlTWVtYmVyUmVxdWVzdBIZCgdwcm9qZWN0GAEgASgJQgi6SAVyA7ABARIOCgZtZW1iZXIYAiABKAkiJAoiUHJvamVjdFNlcnZpY2VSZW1vdmVNZW1iZXJSZXNwb25zZSKGAQohUHJvamVjdFNlcnZpY2VVcGRhdGVNZW1iZXJSZXF1ZXN0EhkKB3Byb2plY3QYASABKAlCCLpIBXIDsAEBEg4KBm1lbWJlchgCIAEoCRI2CgRyb2xlGAMgASgOMh4ubWV0YWxzdGFjay5hcGkudjIuUHJvamVjdFJvbGVCCLpIBYIBAhABIl4KIlByb2plY3RTZXJ2aWNlVXBkYXRlTWVtYmVyUmVzcG9uc2USOAoOcHJvamVjdF9tZW1iZXIYASABKAsyIC5tZXRhbHN0YWNrLmFwaS52Mi5Qcm9qZWN0TWVtYmVyIjMKIVByb2plY3RTZXJ2aWNlSW52aXRlQWNjZXB0UmVxdWVzdBIOCgZzZWNyZXQYASABKAkiSwoiUHJvamVjdFNlcnZpY2VJbnZpdGVBY2NlcHRSZXNwb25zZRIPCgdwcm9qZWN0GAEgASgJEhQKDHByb2plY3RfbmFtZRgCIAEoCSJOCiFQcm9qZWN0U2VydmljZUludml0ZURlbGV0ZVJlcXVlc3QSGQoHcHJvamVjdBgBIAEoCUIIukgFcgOwAQESDgoGc2VjcmV0GAIgASgJIiQKIlByb2plY3RTZXJ2aWNlSW52aXRlRGVsZXRlUmVzcG9uc2Uy4Q0KDlByb2plY3RTZXJ2aWNlEm0KBExpc3QSLC5tZXRhbHN0YWNrLmFwaS52Mi5Qcm9qZWN0U2VydmljZUxpc3RSZXF1ZXN0Gi0ubWV0YWxzdGFjay5hcGkudjIuUHJvamVjdFNlcnZpY2VMaXN0UmVzcG9uc2UiCNjzGALg8xgCEm0KA0dldBIrLm1ldGFsc3RhY2suYXBpLnYyLlByb2plY3RTZXJ2aWNlR2V0UmVxdWVzdBosLm1ldGFsc3RhY2suYXBpLnYyLlByb2plY3RTZXJ2aWNlR2V0UmVzcG9uc2UiC8rzGAMBAgPg8xgCEnUKBkNyZWF0ZRIuLm1ldGFsc3RhY2suYXBpLnYyLlByb2plY3RTZXJ2aWNlQ3JlYXRlUmVxdWVzdBovLm1ldGFsc3RhY2suYXBpLnYyLlByb2plY3RTZXJ2aWNlQ3JlYXRlUmVzcG9uc2UiCsLzGAIBAuDzGAESdAoGRGVsZXRlEi4ubWV0YWxzdGFjay5hcGkudjIuUHJvamVjdFNlcnZpY2VEZWxldGVSZXF1ZXN0Gi8ubWV0YWxzdGFjay5hcGkudjIuUHJvamVjdFNlcnZpY2VEZWxldGVSZXNwb25zZSIJyvMYAQHg8xgBEnUKBlVwZGF0ZRIuLm1ldGFsc3RhY2suYXBpLnYyLlByb2plY3RTZXJ2aWNlVXBkYXRlUmVxdWVzdBovLm1ldGFsc3RhY2suYXBpLnYyLlByb2plY3RTZXJ2aWNlVXBkYXRlUmVzcG9uc2UiCsrzGAIBAuDzGAEScQoFTGVhdmUSLS5tZXRhbHN0YWNrLmFwaS52Mi5Qcm9qZWN0U2VydmljZUxlYXZlUmVxdWVzdBouLm1ldGFsc3RhY2suYXBpLnYyLlByb2plY3RTZXJ2aWNlTGVhdmVSZXNwb25zZSIJyvMYAQPg8xgBEn0KCUFkZE1lbWJlchIxLm1ldGFsc3RhY2suYXBpLnYyLlByb2plY3RTZXJ2aWNlQWRkTWVtYmVyUmVxdWVzdBoyLm1ldGFsc3RhY2suYXBpLnYyLlByb2plY3RTZXJ2aWNlQWRkTWVtYmVyUmVzcG9uc2UiCcrzGAEB4PMYARKGAQoMUmVtb3ZlTWVtYmVyEjQubWV0YWxzdGFjay5hcGkudjIuUHJvamVjdFNlcnZpY2VSZW1vdmVNZW1iZXJSZXF1ZXN0GjUubWV0YWxzdGFjay5hcGkudjIuUHJvamVjdFNlcnZpY2VSZW1vdmVNZW1iZXJSZXNwb25zZSIJyvMYAQHg8xgBEoYBCgxVcGRhdGVNZW1iZXISNC5tZXRhbHN0YWNrLmFwaS52Mi5Qcm9qZWN0U2VydmljZVVwZGF0ZU1lbWJlclJlcXVlc3QaNS5tZXRhbHN0YWNrLmFwaS52Mi5Qcm9qZWN0U2VydmljZVVwZGF0ZU1lbWJlclJlc3BvbnNlIgnK8xgBAeDzGAESdAoGSW52aXRlEi4ubWV0YWxzdGFjay5hcGkudjIuUHJvamVjdFNlcnZpY2VJbnZpdGVSZXF1ZXN0Gi8ubWV0YWxzdGFjay5hcGkudjIuUHJvamVjdFNlcnZpY2VJbnZpdGVSZXNwb25zZSIJyvMYAQHg8xgBEoUBCgxJbnZpdGVBY2NlcHQSNC5tZXRhbHN0YWNrLmFwaS52Mi5Qcm9qZWN0U2VydmljZUludml0ZUFjY2VwdFJlcXVlc3QaNS5tZXRhbHN0YWNrLmFwaS52Mi5Qcm9qZWN0U2VydmljZUludml0ZUFjY2VwdFJlc3BvbnNlIgjY8xgC4PMYARKGAQoMSW52aXRlRGVsZXRlEjQubWV0YWxzdGFjay5hcGkudjIuUHJvamVjdFNlcnZpY2VJbnZpdGVEZWxldGVSZXF1ZXN0GjUubWV0YWxzdGFjay5hcGkudjIuUHJvamVjdFNlcnZpY2VJbnZpdGVEZWxldGVSZXNwb25zZSIJyvMYAQHg8xgBEoMBCgtJbnZpdGVzTGlzdBIzLm1ldGFsc3RhY2suYXBpLnYyLlByb2plY3RTZXJ2aWNlSW52aXRlc0xpc3RSZXF1ZXN0GjQubWV0YWxzdGFjay5hcGkudjIuUHJvamVjdFNlcnZpY2VJbnZpdGVzTGlzdFJlc3BvbnNlIgnK8xgBAeDzGAISfAoJSW52aXRlR2V0EjEubWV0YWxzdGFjay5hcGkudjIuUHJvamVjdFNlcnZpY2VJbnZpdGVHZXRSZXF1ZXN0GjIubWV0YWxzdGFjay5hcGkudjIuUHJvamVjdFNlcnZpY2VJbnZpdGVHZXRSZXNwb25zZSII2PMYAuDzGAJCwgEKFWNvbS5tZXRhbHN0YWNrLmFwaS52MkIMUHJvamVjdFByb3RvUAFaNWdpdGh1Yi5jb20vbWV0YWwtc3RhY2svYXBpL2dvL21ldGFsc3RhY2svYXBpL3YyO2FwaXYyogIDTUFYqgIRTWV0YWxzdGFjay5BcGkuVjLKAhFNZXRhbHN0YWNrXEFwaVxWMuICHU1ldGFsc3RhY2tcQXBpXFYyXEdQQk1ldGFkYXRh6gITTWV0YWxzdGFjazo6QXBpOjpWMmIGcHJvdG8z", [file_buf_validate_validate, file_google_protobuf_timestamp, file_metalstack_api_v2_common, file_metalstack_api_v2_predefined_rules]); /** - * Project defines a group of resources belonging to a tenant - * a tenant can have multiple projects + * Project defines a group of resources belonging to a tenant. + * a tenant can have multiple projects. * * @generated from message metalstack.api.v2.Project */ export type Project = Message<"metalstack.api.v2.Project"> & { /** - * Uuid of this project + * Uuid of this project. * * @generated from field: string uuid = 1; */ uuid: string; /** - * Meta for this project + * Meta for this project. * * @generated from field: metalstack.api.v2.Meta meta = 2; */ meta?: Meta | undefined; /** - * Name of this project must be unique per tenant + * Name of this project must be unique per tenant. * * @generated from field: string name = 3; */ name: string; /** - * Description of this project + * Description of this project. * * @generated from field: string description = 4; */ description: string; /** - * Tenant this project belongs to + * Tenant this project belongs to. * * @generated from field: string tenant = 5; */ tenant: string; /** - * AvatarUrl of the Project + * AvatarUrl of the Project. * * @generated from field: optional string avatar_url = 6; */ @@ -76,20 +76,20 @@ export const ProjectSchema: GenMessage = /*@__PURE__*/ messageDesc(file_metalstack_api_v2_project, 0); /** - * ProjectMember defines a user that participates in a project + * ProjectMember defines a user that participates in a project. * * @generated from message metalstack.api.v2.ProjectMember */ export type ProjectMember = Message<"metalstack.api.v2.ProjectMember"> & { /** - * Id is the user id of the member + * Id is the user id of the member. * * @generated from field: string id = 1; */ id: string; /** - * Role is the role of the member + * Role is the role of the member. * * @generated from field: metalstack.api.v2.ProjectRole role = 2; */ @@ -105,14 +105,14 @@ export type ProjectMember = Message<"metalstack.api.v2.ProjectMember"> & { inheritedMembership: boolean; /** - * CreatedAt the date when the member was added to the project + * CreatedAt the date when the member was added to the project. * * @generated from field: google.protobuf.Timestamp created_at = 4; */ createdAt?: Timestamp | undefined; /** - * Meta for this project member + * Meta for this project member. * * @generated from field: metalstack.api.v2.Meta meta = 5; */ @@ -127,69 +127,69 @@ export const ProjectMemberSchema: GenMessage = /*@__PURE__*/ messageDesc(file_metalstack_api_v2_project, 1); /** - * ProjectInvite defines invite to project + * ProjectInvite defines invite to project. * * @generated from message metalstack.api.v2.ProjectInvite */ export type ProjectInvite = Message<"metalstack.api.v2.ProjectInvite"> & { /** - * Secret is the secret part of the invite, typically part of the url + * Secret is the secret part of the invite, typically part of the url. * * @generated from field: string secret = 1; */ secret: string; /** - * Project is the project id for which this invite was created + * Project is the project id for which this invite was created. * * @generated from field: string project = 2; */ project: string; /** - * Role is the role in this project the user will get after accepting the invitation + * Role is the role in this project the user will get after accepting the invitation. * * @generated from field: metalstack.api.v2.ProjectRole role = 3; */ role: ProjectRole; /** - * Joined is false as long as a user has not accepted the invite + * Joined is false as long as a user has not accepted the invite. * * @generated from field: bool joined = 4; */ joined: boolean; /** - * ProjectName is the project name for which this invite was created + * ProjectName is the project name for which this invite was created. * * @generated from field: string project_name = 5; */ projectName: string; /** - * Tenant is the login of the tenant inviting another user to join this project + * Tenant is the login of the tenant inviting another user to join this project. * * @generated from field: string tenant = 6; */ tenant: string; /** - * TenantName is the name of the tenant inviting another user to join this project + * TenantName is the name of the tenant inviting another user to join this project. * * @generated from field: string tenant_name = 7; */ tenantName: string; /** - * ExpiresAt the date when this invite expires + * ExpiresAt the date when this invite expires. * * @generated from field: google.protobuf.Timestamp expires_at = 8; */ expiresAt?: Timestamp | undefined; /** - * JoinedAt the date when the member accepted this invite + * JoinedAt the date when the member accepted this invite. * * @generated from field: google.protobuf.Timestamp joined_at = 9; */ @@ -204,13 +204,13 @@ export const ProjectInviteSchema: GenMessage = /*@__PURE__*/ messageDesc(file_metalstack_api_v2_project, 2); /** - * ProjectServiceListRequest is the request payload to list all projects + * ProjectServiceListRequest is the request payload to list all projects. * * @generated from message metalstack.api.v2.ProjectServiceListRequest */ export type ProjectServiceListRequest = Message<"metalstack.api.v2.ProjectServiceListRequest"> & { /** - * Query for projects + * Query for projects. * * @generated from field: metalstack.api.v2.ProjectQuery query = 1; */ @@ -225,34 +225,34 @@ export const ProjectServiceListRequestSchema: GenMessage & { /** - * Uuid lists only projects with this uuid + * Uuid lists only projects with this uuid. * * @generated from field: optional string uuid = 1; */ uuid?: string | undefined; /** - * Name lists only projects with this name + * Name lists only projects with this name. * * @generated from field: optional string name = 2; */ name?: string | undefined; /** - * Tenant lists only projects of this tenant + * Tenant lists only projects of this tenant. * * @generated from field: optional string tenant = 3; */ tenant?: string | undefined; /** - * Labels lists only projects containing the given labels + * Labels lists only projects containing the given labels. * * @generated from field: optional metalstack.api.v2.Labels labels = 4; */ @@ -267,13 +267,13 @@ export const ProjectQuerySchema: GenMessage = /*@__PURE__*/ messageDesc(file_metalstack_api_v2_project, 4); /** - * ProjectServiceListResponse is the response payload to list all projects + * ProjectServiceListResponse is the response payload to list all projects. * * @generated from message metalstack.api.v2.ProjectServiceListResponse */ export type ProjectServiceListResponse = Message<"metalstack.api.v2.ProjectServiceListResponse"> & { /** - * Projects is a list of all your projects + * Projects is a list of all your projects. * * @generated from field: repeated metalstack.api.v2.Project projects = 1; */ @@ -288,13 +288,13 @@ export const ProjectServiceListResponseSchema: GenMessage & { /** - * Project is the uuid of the project to get + * Project is the uuid of the project to get. * * @generated from field: string project = 1; */ @@ -309,20 +309,20 @@ export const ProjectServiceGetRequestSchema: GenMessage & { /** - * Project is the project + * Project is the project. * * @generated from field: metalstack.api.v2.Project project = 1; */ project?: Project | undefined; /** - * ProjectMembers in this project, projects guests will only see direct project members and not implicit memberships from tenant permissions + * ProjectMembers in this project, projects guests will only see direct project members and not implicit memberships from tenant permissions. * * @generated from field: repeated metalstack.api.v2.ProjectMember project_members = 2; */ @@ -337,42 +337,42 @@ export const ProjectServiceGetResponseSchema: GenMessage & { /** - * Login is the tenant of this project - * TODO: is login really a good name? + * Login is the tenant of this project. + * TODO: is login really a good name?. * * @generated from field: string login = 1; */ login: string; /** - * Name of this project, unique per tenant + * Name of this project, unique per tenant. * * @generated from field: string name = 2; */ name: string; /** - * Description of this project + * Description of this project. * * @generated from field: string description = 3; */ description: string; /** - * Avatar URL of the project + * Avatar URL of the project. * * @generated from field: optional string avatar_url = 4; */ avatarUrl?: string | undefined; /** - * Labels on the project + * Labels on the project. * * @generated from field: metalstack.api.v2.Labels labels = 5; */ @@ -387,13 +387,13 @@ export const ProjectServiceCreateRequestSchema: GenMessage & { /** - * Project is the project + * Project is the project. * * @generated from field: metalstack.api.v2.Project project = 1; */ @@ -408,13 +408,13 @@ export const ProjectServiceCreateResponseSchema: GenMessage & { /** - * Project is the uuid of the project to delete + * Project is the uuid of the project to delete. * * @generated from field: string project = 1; */ @@ -429,13 +429,13 @@ export const ProjectServiceDeleteRequestSchema: GenMessage & { /** - * Project is the project + * Project is the project. * * @generated from field: metalstack.api.v2.Project project = 1; */ @@ -450,48 +450,48 @@ export const ProjectServiceDeleteResponseSchema: GenMessage & { /** - * Project is the uuid of the project to get + * Project is the uuid of the project to get. * * @generated from field: string project = 1; */ project: string; /** - * UpdateMeta contains the timestamp and strategy to be used in this update request + * UpdateMeta contains the timestamp and strategy to be used in this update request. * * @generated from field: metalstack.api.v2.UpdateMeta update_meta = 2; */ updateMeta?: UpdateMeta | undefined; /** - * Name of this project unique per tenant + * Name of this project unique per tenant. * * @generated from field: optional string name = 3; */ name?: string | undefined; /** - * Description of this project + * Description of this project. * * @generated from field: optional string description = 4; */ description?: string | undefined; /** - * Avatar URL of the project + * Avatar URL of the project. * * @generated from field: optional string avatar_url = 5; */ avatarUrl?: string | undefined; /** - * Labels on this project + * Labels on this project. * * @generated from field: optional metalstack.api.v2.UpdateLabels labels = 6; */ @@ -506,13 +506,13 @@ export const ProjectServiceUpdateRequestSchema: GenMessage & { /** - * Project is the project + * Project is the project. * * @generated from field: metalstack.api.v2.Project project = 1; */ @@ -527,20 +527,20 @@ export const ProjectServiceUpdateResponseSchema: GenMessage & { /** - * Project is the uuid of the project + * Project is the uuid of the project. * * @generated from field: string project = 1; */ project: string; /** - * Role of this user in this project + * Role of this user in this project. * * @generated from field: metalstack.api.v2.ProjectRole role = 2; */ @@ -555,15 +555,15 @@ export const ProjectServiceInviteRequestSchema: GenMessage & { /** - * 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/ + * 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/ & { /** - * Project is the uuid of the project + * Project is the uuid of the project. * * @generated from field: string project = 1; */ @@ -599,13 +599,13 @@ export const ProjectServiceInvitesListRequestSchema: GenMessage & { /** - * Invites not already accepted the invitation to this project + * Invites not already accepted the invitation to this project. * * @generated from field: repeated metalstack.api.v2.ProjectInvite invites = 1; */ @@ -620,13 +620,13 @@ export const ProjectServiceInvitesListResponseSchema: GenMessage & { /** - * Secret of the invite to list + * Secret of the invite to list. * * @generated from field: string secret = 1; */ @@ -641,13 +641,13 @@ export const ProjectServiceInviteGetRequestSchema: GenMessage & { /** - * Invite is the invite + * Invite is the invite. * * @generated from field: metalstack.api.v2.ProjectInvite invite = 1; */ @@ -662,13 +662,13 @@ export const ProjectServiceInviteGetResponseSchema: GenMessage & { /** - * Project is the uuid of the project + * Project is the uuid of the project. * * @generated from field: string project = 1; */ @@ -683,7 +683,7 @@ export const ProjectServiceLeaveRequestSchema: GenMessage & { /** - * Project is the uuid of the project + * Project is the uuid of the project. * * @generated from field: string project = 1; */ project: string; /** - * Login of the member to add + * Login of the member to add. * * @generated from field: string member = 2; */ member: string; /** - * Role to assign to the new member + * Role to assign to the new member. * * @generated from field: metalstack.api.v2.ProjectRole role = 3; */ @@ -733,13 +733,13 @@ export const ProjectServiceAddMemberRequestSchema: GenMessage & { /** - * ProjectRole is the added project member + * ProjectRole is the added project member. * * @generated from field: metalstack.api.v2.ProjectRole project_member = 1; */ @@ -754,20 +754,20 @@ export const ProjectServiceAddMemberResponseSchema: GenMessage & { /** - * Project is the uuid of the project + * Project is the uuid of the project. * * @generated from field: string project = 1; */ project: string; /** - * Member is the id of the member to remove from this project + * Member is the id of the member to remove from this project. * * @generated from field: string member = 2; */ @@ -782,7 +782,7 @@ export const ProjectServiceRemoveMemberRequestSchema: GenMessage & { /** - * Project is the uuid of the project + * Project is the uuid of the project. * * @generated from field: string project = 1; */ project: string; /** - * Member is the id of the member to remove from this project + * Member is the id of the member to remove from this project. * * @generated from field: string member = 2; */ member: string; /** - * Role is the role in this project the user will get after the update + * Role is the role in this project the user will get after the update. * * @generated from field: metalstack.api.v2.ProjectRole role = 3; */ @@ -832,13 +832,13 @@ export const ProjectServiceUpdateMemberRequestSchema: GenMessage & { /** - * ProjectMember is the updated project member + * ProjectMember is the updated project member. * * @generated from field: metalstack.api.v2.ProjectMember project_member = 1; */ @@ -853,13 +853,13 @@ export const ProjectServiceUpdateMemberResponseSchema: GenMessage & { /** - * Secret is the invitation secret part of the invitation url + * Secret is the invitation secret part of the invitation url. * * @generated from field: string secret = 1; */ @@ -874,20 +874,20 @@ export const ProjectServiceInviteAcceptRequestSchema: GenMessage & { /** - * Project ID of the project joined + * Project ID of the project joined. * * @generated from field: string project = 1; */ project: string; /** - * ProjectName of the project joined + * ProjectName of the project joined. * * @generated from field: string project_name = 2; */ @@ -902,20 +902,20 @@ export const ProjectServiceInviteAcceptResponseSchema: GenMessage & { /** - * Project is the uuid of the project + * Project is the uuid of the project. * * @generated from field: string project = 1; */ project: string; /** - * Secret of the invite to delete + * Secret of the invite to delete. * * @generated from field: string secret = 2; */ @@ -930,7 +930,7 @@ export const ProjectServiceInviteDeleteRequestSchema: GenMessage & { /** - * Size to try + * Size to try. * * @generated from field: string size = 1; */ size: string; /** - * Image to try + * Image to try. * * @generated from field: string image = 2; */ @@ -30,7 +30,7 @@ export type SizeImageConstraintServiceTryRequest = Message<"metalstack.api.v2.Si */ export declare const SizeImageConstraintServiceTryRequestSchema: GenMessage; /** - * SizeImageConstraintServiceTryResponse is the response payload for a size image constraint try request + * SizeImageConstraintServiceTryResponse is the response payload for a size image constraint try request. * * @generated from message metalstack.api.v2.SizeImageConstraintServiceTryResponse */ @@ -41,9 +41,8 @@ export type SizeImageConstraintServiceTryResponse = Message<"metalstack.api.v2.S */ export declare const SizeImageConstraintServiceTryResponseSchema: GenMessage; /** - * 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. + * 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. @@ -53,31 +52,31 @@ export declare const SizeImageConstraintServiceTryResponseSchema: GenMessage & { /** - * Size where this constraint should apply + * Size where this constraint should apply. * * @generated from field: string size = 1; */ size: string; /** - * ImageConstraints to apply to this size + * ImageConstraints to apply to this size. * * @generated from field: repeated metalstack.api.v2.ImageConstraint image_constraints = 2; */ imageConstraints: ImageConstraint[]; /** - * Meta for this size image constraint + * Meta for this size image constraint. * * @generated from field: metalstack.api.v2.Meta meta = 3; */ meta?: Meta | undefined; /** - * Name of this size image constraint + * Name of this size image constraint. * * @generated from field: optional string name = 4; */ name?: string | undefined; /** - * Description of this size image constraint + * Description of this size image constraint. * * @generated from field: optional string description = 5; */ @@ -89,23 +88,23 @@ export type SizeImageConstraint = Message<"metalstack.api.v2.SizeImageConstraint */ export declare const SizeImageConstraintSchema: GenMessage; /** - * ImageConstraint defines a constraint for an image - * examples: + * ImageConstraint defines a constraint for an image. + * Examples: * images: - * ubuntu: ">= 20.04.20211011" - * debian: ">= 10.0.20210101" + * ubuntu: ">= 20.04.20211011 + * debian: ">= 10.0.20210101 * * @generated from message metalstack.api.v2.ImageConstraint */ export type ImageConstraint = Message<"metalstack.api.v2.ImageConstraint"> & { /** - * Image of the constraint + * Image of the constraint. * * @generated from field: string image = 1; */ image: string; /** - * SemverMatch which defines in semver match format which image version should apply + * SemverMatch which defines in semver match format which image version should apply. * * @generated from field: string semver_match = 2; */ @@ -117,25 +116,25 @@ export type ImageConstraint = Message<"metalstack.api.v2.ImageConstraint"> & { */ export declare const ImageConstraintSchema: GenMessage; /** - * SizeImageConstraintQuery is used to search size image constraints + * SizeImageConstraintQuery is used to search size image constraints. * * @generated from message metalstack.api.v2.SizeImageConstraintQuery */ export type SizeImageConstraintQuery = Message<"metalstack.api.v2.SizeImageConstraintQuery"> & { /** - * Size of the size image constraint + * Size of the size image constraint. * * @generated from field: optional string size = 1; */ size?: string | undefined; /** - * Name of the size image constraint to query + * Name of the size image constraint to query. * * @generated from field: optional string name = 2; */ name?: string | undefined; /** - * Description of the size image constraint to query + * Description of the size image constraint to query. * * @generated from field: optional string description = 3; */ diff --git a/js/metalstack/api/v2/size_imageconstraint_pb.ts b/js/metalstack/api/v2/size_imageconstraint_pb.ts index cb22ab9b..37e913ee 100644 --- a/js/metalstack/api/v2/size_imageconstraint_pb.ts +++ b/js/metalstack/api/v2/size_imageconstraint_pb.ts @@ -17,20 +17,20 @@ export const file_metalstack_api_v2_size_imageconstraint: GenFile = /*@__PURE__* fileDesc("CixtZXRhbHN0YWNrL2FwaS92Mi9zaXplX2ltYWdlY29uc3RyYWludC5wcm90bxIRbWV0YWxzdGFjay5hcGkudjIiXQokU2l6ZUltYWdlQ29uc3RyYWludFNlcnZpY2VUcnlSZXF1ZXN0EhkKBHNpemUYASABKAlCC7pICHIGwLOusQIBEhoKBWltYWdlGAIgASgJQgu6SAhyBsCzrrECASInCiVTaXplSW1hZ2VDb25zdHJhaW50U2VydmljZVRyeVJlc3BvbnNlIvYBChNTaXplSW1hZ2VDb25zdHJhaW50EhkKBHNpemUYASABKAlCC7pICHIGwLOusQIBEj0KEWltYWdlX2NvbnN0cmFpbnRzGAIgAygLMiIubWV0YWxzdGFjay5hcGkudjIuSW1hZ2VDb25zdHJhaW50EiUKBG1ldGEYAyABKAsyFy5tZXRhbHN0YWNrLmFwaS52Mi5NZXRhEh4KBG5hbWUYBCABKAlCC7pICHIGwLOusQIBSACIAQESJQoLZGVzY3JpcHRpb24YBSABKAlCC7pICHIGyLOusQIBSAGIAQFCBwoFX25hbWVCDgoMX2Rlc2NyaXB0aW9uIlAKD0ltYWdlQ29uc3RyYWludBIaCgVpbWFnZRgBIAEoCUILukgIcgbAs66xAgESIQoMc2VtdmVyX21hdGNoGAIgASgJQgu6SAhyBsizrrECASKjAQoYU2l6ZUltYWdlQ29uc3RyYWludFF1ZXJ5Eh4KBHNpemUYASABKAlCC7pICHIGwLOusQIBSACIAQESHgoEbmFtZRgCIAEoCUILukgIcgbAs66xAgFIAYgBARIlCgtkZXNjcmlwdGlvbhgDIAEoCUILukgIcgbIs66xAgFIAogBAUIHCgVfc2l6ZUIHCgVfbmFtZUIOCgxfZGVzY3JpcHRpb24yoQEKGlNpemVJbWFnZUNvbnN0cmFpbnRTZXJ2aWNlEoIBCgNUcnkSNy5tZXRhbHN0YWNrLmFwaS52Mi5TaXplSW1hZ2VDb25zdHJhaW50U2VydmljZVRyeVJlcXVlc3QaOC5tZXRhbHN0YWNrLmFwaS52Mi5TaXplSW1hZ2VDb25zdHJhaW50U2VydmljZVRyeVJlc3BvbnNlIgjY8xgC4PMYAkLOAQoVY29tLm1ldGFsc3RhY2suYXBpLnYyQhhTaXplSW1hZ2Vjb25zdHJhaW50UHJvdG9QAVo1Z2l0aHViLmNvbS9tZXRhbC1zdGFjay9hcGkvZ28vbWV0YWxzdGFjay9hcGkvdjI7YXBpdjKiAgNNQViqAhFNZXRhbHN0YWNrLkFwaS5WMsoCEU1ldGFsc3RhY2tcQXBpXFYy4gIdTWV0YWxzdGFja1xBcGlcVjJcR1BCTWV0YWRhdGHqAhNNZXRhbHN0YWNrOjpBcGk6OlYyYgZwcm90bzM", [file_buf_validate_validate, file_metalstack_api_v2_common, file_metalstack_api_v2_predefined_rules]); /** - * SizeImageConstraintServiceTryRequest is the request payload for a size image constraint try request + * SizeImageConstraintServiceTryRequest is the request payload for a size image constraint try request. * * @generated from message metalstack.api.v2.SizeImageConstraintServiceTryRequest */ export type SizeImageConstraintServiceTryRequest = Message<"metalstack.api.v2.SizeImageConstraintServiceTryRequest"> & { /** - * Size to try + * Size to try. * * @generated from field: string size = 1; */ size: string; /** - * Image to try + * Image to try. * * @generated from field: string image = 2; */ @@ -45,7 +45,7 @@ export const SizeImageConstraintServiceTryRequestSchema: GenMessage & { /** - * Size where this constraint should apply + * Size where this constraint should apply. * * @generated from field: string size = 1; */ size: string; /** - * ImageConstraints to apply to this size + * ImageConstraints to apply to this size. * * @generated from field: repeated metalstack.api.v2.ImageConstraint image_constraints = 2; */ imageConstraints: ImageConstraint[]; /** - * Meta for this size image constraint + * Meta for this size image constraint. * * @generated from field: metalstack.api.v2.Meta meta = 3; */ meta?: Meta | undefined; /** - * Name of this size image constraint + * Name of this size image constraint. * * @generated from field: optional string name = 4; */ name?: string | undefined; /** - * Description of this size image constraint + * Description of this size image constraint. * * @generated from field: optional string description = 5; */ @@ -115,24 +114,24 @@ export const SizeImageConstraintSchema: GenMessage = /*@__P messageDesc(file_metalstack_api_v2_size_imageconstraint, 2); /** - * ImageConstraint defines a constraint for an image - * examples: + * ImageConstraint defines a constraint for an image. + * Examples: * images: - * ubuntu: ">= 20.04.20211011" - * debian: ">= 10.0.20210101" + * ubuntu: ">= 20.04.20211011 + * debian: ">= 10.0.20210101 * * @generated from message metalstack.api.v2.ImageConstraint */ export type ImageConstraint = Message<"metalstack.api.v2.ImageConstraint"> & { /** - * Image of the constraint + * Image of the constraint. * * @generated from field: string image = 1; */ image: string; /** - * SemverMatch which defines in semver match format which image version should apply + * SemverMatch which defines in semver match format which image version should apply. * * @generated from field: string semver_match = 2; */ @@ -147,27 +146,27 @@ export const ImageConstraintSchema: GenMessage = /*@__PURE__*/ messageDesc(file_metalstack_api_v2_size_imageconstraint, 3); /** - * SizeImageConstraintQuery is used to search size image constraints + * SizeImageConstraintQuery is used to search size image constraints. * * @generated from message metalstack.api.v2.SizeImageConstraintQuery */ export type SizeImageConstraintQuery = Message<"metalstack.api.v2.SizeImageConstraintQuery"> & { /** - * Size of the size image constraint + * Size of the size image constraint. * * @generated from field: optional string size = 1; */ size?: string | undefined; /** - * Name of the size image constraint to query + * Name of the size image constraint to query. * * @generated from field: optional string name = 2; */ name?: string | undefined; /** - * Description of the size image constraint to query + * Description of the size image constraint to query. * * @generated from field: optional string description = 3; */ diff --git a/js/metalstack/api/v2/size_pb.d.ts b/js/metalstack/api/v2/size_pb.d.ts index d4e9c58f..b11e4246 100644 --- a/js/metalstack/api/v2/size_pb.d.ts +++ b/js/metalstack/api/v2/size_pb.d.ts @@ -6,13 +6,13 @@ import type { Message } from "@bufbuild/protobuf"; */ export declare const file_metalstack_api_v2_size: GenFile; /** - * SizeServiceGetRequest is the request payload for a size get request + * SizeServiceGetRequest is the request payload for a size get request. * * @generated from message metalstack.api.v2.SizeServiceGetRequest */ export type SizeServiceGetRequest = Message<"metalstack.api.v2.SizeServiceGetRequest"> & { /** - * ID of the size to get + * ID of the size to get. * * @generated from field: string id = 1; */ @@ -24,13 +24,13 @@ export type SizeServiceGetRequest = Message<"metalstack.api.v2.SizeServiceGetReq */ export declare const SizeServiceGetRequestSchema: GenMessage; /** - * SizeServiceListRequest is the request payload for a size list request + * SizeServiceListRequest is the request payload for a size list request. * * @generated from message metalstack.api.v2.SizeServiceListRequest */ export type SizeServiceListRequest = Message<"metalstack.api.v2.SizeServiceListRequest"> & { /** - * Query for sizes + * Query for sizes. * * @generated from field: metalstack.api.v2.SizeQuery query = 1; */ @@ -42,13 +42,13 @@ export type SizeServiceListRequest = Message<"metalstack.api.v2.SizeServiceListR */ export declare const SizeServiceListRequestSchema: GenMessage; /** - * SizeServiceGetResponse is the response payload for a size get request + * SizeServiceGetResponse is the response payload for a size get request. * * @generated from message metalstack.api.v2.SizeServiceGetResponse */ export type SizeServiceGetResponse = Message<"metalstack.api.v2.SizeServiceGetResponse"> & { /** - * Size the size + * Size the size. * * @generated from field: metalstack.api.v2.Size size = 1; */ @@ -60,13 +60,13 @@ export type SizeServiceGetResponse = Message<"metalstack.api.v2.SizeServiceGetRe */ export declare const SizeServiceGetResponseSchema: GenMessage; /** - * SizeServiceListResponse is the response payload for a size list request + * SizeServiceListResponse is the response payload for a size list request. * * @generated from message metalstack.api.v2.SizeServiceListResponse */ export type SizeServiceListResponse = Message<"metalstack.api.v2.SizeServiceListResponse"> & { /** - * Sizes the sizes + * Sizes the sizes. * * @generated from field: repeated metalstack.api.v2.Size sizes = 1; */ @@ -78,37 +78,37 @@ export type SizeServiceListResponse = Message<"metalstack.api.v2.SizeServiceList */ export declare const SizeServiceListResponseSchema: GenMessage; /** - * Size + * Size. * * @generated from message metalstack.api.v2.Size */ export type Size = Message<"metalstack.api.v2.Size"> & { /** - * Id of this size + * Id of this size. * * @generated from field: string id = 1; */ id: string; /** - * Meta for this size + * Meta for this size. * * @generated from field: metalstack.api.v2.Meta meta = 2; */ meta?: Meta | undefined; /** - * Name of this size + * Name of this size. * * @generated from field: optional string name = 3; */ name?: string | undefined; /** - * Description of this size + * Description of this size. * * @generated from field: optional string description = 4; */ description?: string | undefined; /** - * Constraints which must match that a specific machine is considered of this size + * Constraints which must match that a specific machine is considered of this size. * * @generated from field: repeated metalstack.api.v2.SizeConstraint constraints = 5; */ @@ -126,25 +126,25 @@ export declare const SizeSchema: GenMessage; */ export type SizeConstraint = Message<"metalstack.api.v2.SizeConstraint"> & { /** - * Type a machine matches to a size in order to make them easier to categorize + * Type a machine matches to a size in order to make them easier to categorize. * * @generated from field: metalstack.api.v2.SizeConstraintType type = 1; */ type: SizeConstraintType; /** - * Min the minimum value of the constraint + * Min the minimum value of the constraint. * * @generated from field: uint64 min = 2; */ min: bigint; /** - * Max the maximum value of the constraint + * Max the maximum value of the constraint. * * @generated from field: uint64 max = 3; */ max: bigint; /** - * Identifier glob pattern which matches to the given type, for example gpu pci id + * Identifier glob pattern which matches to the given type, for example gpu pci id. * * @generated from field: optional string identifier = 4; */ @@ -156,31 +156,31 @@ export type SizeConstraint = Message<"metalstack.api.v2.SizeConstraint"> & { */ export declare const SizeConstraintSchema: GenMessage; /** - * SizeQuery is used to search sizes + * SizeQuery is used to search sizes. * * @generated from message metalstack.api.v2.SizeQuery */ export type SizeQuery = Message<"metalstack.api.v2.SizeQuery"> & { /** - * ID of the size to get + * ID of the size to get. * * @generated from field: optional string id = 1; */ id?: string | undefined; /** - * Name of the size to query + * Name of the size to query. * * @generated from field: optional string name = 2; */ name?: string | undefined; /** - * Description of the size to query + * Description of the size to query. * * @generated from field: optional string description = 3; */ description?: string | undefined; /** - * Labels lists only sizes containing the given labels + * Labels lists only sizes containing the given labels. * * @generated from field: optional metalstack.api.v2.Labels labels = 4; */ @@ -192,37 +192,37 @@ export type SizeQuery = Message<"metalstack.api.v2.SizeQuery"> & { */ export declare const SizeQuerySchema: GenMessage; /** - * SizeConstraintType defines the property for which a constraint is defined + * SizeConstraintType defines the property for which a constraint is defined. * * @generated from enum metalstack.api.v2.SizeConstraintType */ export declare enum SizeConstraintType { /** - * SIZE_CONSTRAINT_TYPE_UNSPECIFIED type is not specified + * SIZE_CONSTRAINT_TYPE_UNSPECIFIED type is not specified. * * @generated from enum value: SIZE_CONSTRAINT_TYPE_UNSPECIFIED = 0; */ UNSPECIFIED = 0, /** - * SIZE_CONSTRAINT_TYPE_CORES defines the number of cores as property + * SIZE_CONSTRAINT_TYPE_CORES defines the number of cores as property. * * @generated from enum value: SIZE_CONSTRAINT_TYPE_CORES = 1; */ CORES = 1, /** - * SIZE_CONSTRAINT_TYPE_MEMORY defines the amount of memory as property + * SIZE_CONSTRAINT_TYPE_MEMORY defines the amount of memory as property. * * @generated from enum value: SIZE_CONSTRAINT_TYPE_MEMORY = 2; */ MEMORY = 2, /** - * SIZE_CONSTRAINT_TYPE_STORAGE defines the amount of storage as property + * SIZE_CONSTRAINT_TYPE_STORAGE defines the amount of storage as property. * * @generated from enum value: SIZE_CONSTRAINT_TYPE_STORAGE = 3; */ STORAGE = 3, /** - * SIZE_CONSTRAINT_TYPE_GPU defines the number of gpus as property + * SIZE_CONSTRAINT_TYPE_GPU defines the number of gpus as property. * * @generated from enum value: SIZE_CONSTRAINT_TYPE_GPU = 4; */ diff --git a/js/metalstack/api/v2/size_pb.js b/js/metalstack/api/v2/size_pb.js index 82fcf8f9..f384daa5 100644 --- a/js/metalstack/api/v2/size_pb.js +++ b/js/metalstack/api/v2/size_pb.js @@ -45,38 +45,38 @@ export const SizeConstraintSchema = /*@__PURE__*/ messageDesc(file_metalstack_ap */ export const SizeQuerySchema = /*@__PURE__*/ messageDesc(file_metalstack_api_v2_size, 6); /** - * SizeConstraintType defines the property for which a constraint is defined + * SizeConstraintType defines the property for which a constraint is defined. * * @generated from enum metalstack.api.v2.SizeConstraintType */ export var SizeConstraintType; (function (SizeConstraintType) { /** - * SIZE_CONSTRAINT_TYPE_UNSPECIFIED type is not specified + * SIZE_CONSTRAINT_TYPE_UNSPECIFIED type is not specified. * * @generated from enum value: SIZE_CONSTRAINT_TYPE_UNSPECIFIED = 0; */ SizeConstraintType[SizeConstraintType["UNSPECIFIED"] = 0] = "UNSPECIFIED"; /** - * SIZE_CONSTRAINT_TYPE_CORES defines the number of cores as property + * SIZE_CONSTRAINT_TYPE_CORES defines the number of cores as property. * * @generated from enum value: SIZE_CONSTRAINT_TYPE_CORES = 1; */ SizeConstraintType[SizeConstraintType["CORES"] = 1] = "CORES"; /** - * SIZE_CONSTRAINT_TYPE_MEMORY defines the amount of memory as property + * SIZE_CONSTRAINT_TYPE_MEMORY defines the amount of memory as property. * * @generated from enum value: SIZE_CONSTRAINT_TYPE_MEMORY = 2; */ SizeConstraintType[SizeConstraintType["MEMORY"] = 2] = "MEMORY"; /** - * SIZE_CONSTRAINT_TYPE_STORAGE defines the amount of storage as property + * SIZE_CONSTRAINT_TYPE_STORAGE defines the amount of storage as property. * * @generated from enum value: SIZE_CONSTRAINT_TYPE_STORAGE = 3; */ SizeConstraintType[SizeConstraintType["STORAGE"] = 3] = "STORAGE"; /** - * SIZE_CONSTRAINT_TYPE_GPU defines the number of gpus as property + * SIZE_CONSTRAINT_TYPE_GPU defines the number of gpus as property. * * @generated from enum value: SIZE_CONSTRAINT_TYPE_GPU = 4; */ diff --git a/js/metalstack/api/v2/size_pb.ts b/js/metalstack/api/v2/size_pb.ts index cff113c8..8f0425ea 100644 --- a/js/metalstack/api/v2/size_pb.ts +++ b/js/metalstack/api/v2/size_pb.ts @@ -17,13 +17,13 @@ export const file_metalstack_api_v2_size: GenFile = /*@__PURE__*/ fileDesc("ChxtZXRhbHN0YWNrL2FwaS92Mi9zaXplLnByb3RvEhFtZXRhbHN0YWNrLmFwaS52MiIwChVTaXplU2VydmljZUdldFJlcXVlc3QSFwoCaWQYASABKAlCC7pICHIGwLOusQIBIkUKFlNpemVTZXJ2aWNlTGlzdFJlcXVlc3QSKwoFcXVlcnkYASABKAsyHC5tZXRhbHN0YWNrLmFwaS52Mi5TaXplUXVlcnkiPwoWU2l6ZVNlcnZpY2VHZXRSZXNwb25zZRIlCgRzaXplGAEgASgLMhcubWV0YWxzdGFjay5hcGkudjIuU2l6ZSJBChdTaXplU2VydmljZUxpc3RSZXNwb25zZRImCgVzaXplcxgBIAMoCzIXLm1ldGFsc3RhY2suYXBpLnYyLlNpemUi3gEKBFNpemUSFwoCaWQYASABKAlCC7pICHIGwLOusQIBEiUKBG1ldGEYAiABKAsyFy5tZXRhbHN0YWNrLmFwaS52Mi5NZXRhEh4KBG5hbWUYAyABKAlCC7pICHIGwLOusQIBSACIAQESJQoLZGVzY3JpcHRpb24YBCABKAlCC7pICHIGyLOusQIBSAGIAQESNgoLY29uc3RyYWludHMYBSADKAsyIS5tZXRhbHN0YWNrLmFwaS52Mi5TaXplQ29uc3RyYWludEIHCgVfbmFtZUIOCgxfZGVzY3JpcHRpb24inQEKDlNpemVDb25zdHJhaW50Ej0KBHR5cGUYASABKA4yJS5tZXRhbHN0YWNrLmFwaS52Mi5TaXplQ29uc3RyYWludFR5cGVCCLpIBYIBAhABEgsKA21pbhgCIAEoBBILCgNtYXgYAyABKAQSIwoKaWRlbnRpZmllchgEIAEoCUIKukgHcgUQABiAAUgAiAEBQg0KC19pZGVudGlmaWVyIssBCglTaXplUXVlcnkSHAoCaWQYASABKAlCC7pICHIGwLOusQIBSACIAQESHgoEbmFtZRgCIAEoCUILukgIcgbAs66xAgFIAYgBARIlCgtkZXNjcmlwdGlvbhgDIAEoCUILukgIcgbIs66xAgFIAogBARIuCgZsYWJlbHMYBCABKAsyGS5tZXRhbHN0YWNrLmFwaS52Mi5MYWJlbHNIA4gBAUIFCgNfaWRCBwoFX25hbWVCDgoMX2Rlc2NyaXB0aW9uQgkKB19sYWJlbHMq6AEKElNpemVDb25zdHJhaW50VHlwZRIkCiBTSVpFX0NPTlNUUkFJTlRfVFlQRV9VTlNQRUNJRklFRBAAEikKGlNJWkVfQ09OU1RSQUlOVF9UWVBFX0NPUkVTEAEaCYKyGQVjb3JlcxIrChtTSVpFX0NPTlNUUkFJTlRfVFlQRV9NRU1PUlkQAhoKgrIZBm1lbW9yeRItChxTSVpFX0NPTlNUUkFJTlRfVFlQRV9TVE9SQUdFEAMaC4KyGQdzdG9yYWdlEiUKGFNJWkVfQ09OU1RSQUlOVF9UWVBFX0dQVRAEGgeCshkDZ3B1MtwBCgtTaXplU2VydmljZRJkCgNHZXQSKC5tZXRhbHN0YWNrLmFwaS52Mi5TaXplU2VydmljZUdldFJlcXVlc3QaKS5tZXRhbHN0YWNrLmFwaS52Mi5TaXplU2VydmljZUdldFJlc3BvbnNlIgjY8xgC4PMYAhJnCgRMaXN0EikubWV0YWxzdGFjay5hcGkudjIuU2l6ZVNlcnZpY2VMaXN0UmVxdWVzdBoqLm1ldGFsc3RhY2suYXBpLnYyLlNpemVTZXJ2aWNlTGlzdFJlc3BvbnNlIgjY8xgC4PMYAkK/AQoVY29tLm1ldGFsc3RhY2suYXBpLnYyQglTaXplUHJvdG9QAVo1Z2l0aHViLmNvbS9tZXRhbC1zdGFjay9hcGkvZ28vbWV0YWxzdGFjay9hcGkvdjI7YXBpdjKiAgNNQViqAhFNZXRhbHN0YWNrLkFwaS5WMsoCEU1ldGFsc3RhY2tcQXBpXFYy4gIdTWV0YWxzdGFja1xBcGlcVjJcR1BCTWV0YWRhdGHqAhNNZXRhbHN0YWNrOjpBcGk6OlYyYgZwcm90bzM", [file_buf_validate_validate, file_metalstack_api_v2_common, file_metalstack_api_v2_predefined_rules]); /** - * SizeServiceGetRequest is the request payload for a size get request + * SizeServiceGetRequest is the request payload for a size get request. * * @generated from message metalstack.api.v2.SizeServiceGetRequest */ export type SizeServiceGetRequest = Message<"metalstack.api.v2.SizeServiceGetRequest"> & { /** - * ID of the size to get + * ID of the size to get. * * @generated from field: string id = 1; */ @@ -38,13 +38,13 @@ export const SizeServiceGetRequestSchema: GenMessage = /* messageDesc(file_metalstack_api_v2_size, 0); /** - * SizeServiceListRequest is the request payload for a size list request + * SizeServiceListRequest is the request payload for a size list request. * * @generated from message metalstack.api.v2.SizeServiceListRequest */ export type SizeServiceListRequest = Message<"metalstack.api.v2.SizeServiceListRequest"> & { /** - * Query for sizes + * Query for sizes. * * @generated from field: metalstack.api.v2.SizeQuery query = 1; */ @@ -59,13 +59,13 @@ export const SizeServiceListRequestSchema: GenMessage = messageDesc(file_metalstack_api_v2_size, 1); /** - * SizeServiceGetResponse is the response payload for a size get request + * SizeServiceGetResponse is the response payload for a size get request. * * @generated from message metalstack.api.v2.SizeServiceGetResponse */ export type SizeServiceGetResponse = Message<"metalstack.api.v2.SizeServiceGetResponse"> & { /** - * Size the size + * Size the size. * * @generated from field: metalstack.api.v2.Size size = 1; */ @@ -80,13 +80,13 @@ export const SizeServiceGetResponseSchema: GenMessage = messageDesc(file_metalstack_api_v2_size, 2); /** - * SizeServiceListResponse is the response payload for a size list request + * SizeServiceListResponse is the response payload for a size list request. * * @generated from message metalstack.api.v2.SizeServiceListResponse */ export type SizeServiceListResponse = Message<"metalstack.api.v2.SizeServiceListResponse"> & { /** - * Sizes the sizes + * Sizes the sizes. * * @generated from field: repeated metalstack.api.v2.Size sizes = 1; */ @@ -101,41 +101,41 @@ export const SizeServiceListResponseSchema: GenMessage messageDesc(file_metalstack_api_v2_size, 3); /** - * Size + * Size. * * @generated from message metalstack.api.v2.Size */ export type Size = Message<"metalstack.api.v2.Size"> & { /** - * Id of this size + * Id of this size. * * @generated from field: string id = 1; */ id: string; /** - * Meta for this size + * Meta for this size. * * @generated from field: metalstack.api.v2.Meta meta = 2; */ meta?: Meta | undefined; /** - * Name of this size + * Name of this size. * * @generated from field: optional string name = 3; */ name?: string | undefined; /** - * Description of this size + * Description of this size. * * @generated from field: optional string description = 4; */ description?: string | undefined; /** - * Constraints which must match that a specific machine is considered of this size + * Constraints which must match that a specific machine is considered of this size. * * @generated from field: repeated metalstack.api.v2.SizeConstraint constraints = 5; */ @@ -156,28 +156,28 @@ export const SizeSchema: GenMessage = /*@__PURE__*/ */ export type SizeConstraint = Message<"metalstack.api.v2.SizeConstraint"> & { /** - * Type a machine matches to a size in order to make them easier to categorize + * Type a machine matches to a size in order to make them easier to categorize. * * @generated from field: metalstack.api.v2.SizeConstraintType type = 1; */ type: SizeConstraintType; /** - * Min the minimum value of the constraint + * Min the minimum value of the constraint. * * @generated from field: uint64 min = 2; */ min: bigint; /** - * Max the maximum value of the constraint + * Max the maximum value of the constraint. * * @generated from field: uint64 max = 3; */ max: bigint; /** - * Identifier glob pattern which matches to the given type, for example gpu pci id + * Identifier glob pattern which matches to the given type, for example gpu pci id. * * @generated from field: optional string identifier = 4; */ @@ -192,34 +192,34 @@ export const SizeConstraintSchema: GenMessage = /*@__PURE__*/ messageDesc(file_metalstack_api_v2_size, 5); /** - * SizeQuery is used to search sizes + * SizeQuery is used to search sizes. * * @generated from message metalstack.api.v2.SizeQuery */ export type SizeQuery = Message<"metalstack.api.v2.SizeQuery"> & { /** - * ID of the size to get + * ID of the size to get. * * @generated from field: optional string id = 1; */ id?: string | undefined; /** - * Name of the size to query + * Name of the size to query. * * @generated from field: optional string name = 2; */ name?: string | undefined; /** - * Description of the size to query + * Description of the size to query. * * @generated from field: optional string description = 3; */ description?: string | undefined; /** - * Labels lists only sizes containing the given labels + * Labels lists only sizes containing the given labels. * * @generated from field: optional metalstack.api.v2.Labels labels = 4; */ @@ -234,41 +234,41 @@ export const SizeQuerySchema: GenMessage = /*@__PURE__*/ messageDesc(file_metalstack_api_v2_size, 6); /** - * SizeConstraintType defines the property for which a constraint is defined + * SizeConstraintType defines the property for which a constraint is defined. * * @generated from enum metalstack.api.v2.SizeConstraintType */ export enum SizeConstraintType { /** - * SIZE_CONSTRAINT_TYPE_UNSPECIFIED type is not specified + * SIZE_CONSTRAINT_TYPE_UNSPECIFIED type is not specified. * * @generated from enum value: SIZE_CONSTRAINT_TYPE_UNSPECIFIED = 0; */ UNSPECIFIED = 0, /** - * SIZE_CONSTRAINT_TYPE_CORES defines the number of cores as property + * SIZE_CONSTRAINT_TYPE_CORES defines the number of cores as property. * * @generated from enum value: SIZE_CONSTRAINT_TYPE_CORES = 1; */ CORES = 1, /** - * SIZE_CONSTRAINT_TYPE_MEMORY defines the amount of memory as property + * SIZE_CONSTRAINT_TYPE_MEMORY defines the amount of memory as property. * * @generated from enum value: SIZE_CONSTRAINT_TYPE_MEMORY = 2; */ MEMORY = 2, /** - * SIZE_CONSTRAINT_TYPE_STORAGE defines the amount of storage as property + * SIZE_CONSTRAINT_TYPE_STORAGE defines the amount of storage as property. * * @generated from enum value: SIZE_CONSTRAINT_TYPE_STORAGE = 3; */ STORAGE = 3, /** - * SIZE_CONSTRAINT_TYPE_GPU defines the number of gpus as property + * SIZE_CONSTRAINT_TYPE_GPU defines the number of gpus as property. * * @generated from enum value: SIZE_CONSTRAINT_TYPE_GPU = 4; */ diff --git a/js/metalstack/api/v2/size_reservation_pb.d.ts b/js/metalstack/api/v2/size_reservation_pb.d.ts index 5a42328d..f2bde2c0 100644 --- a/js/metalstack/api/v2/size_reservation_pb.d.ts +++ b/js/metalstack/api/v2/size_reservation_pb.d.ts @@ -6,19 +6,19 @@ import type { Message } from "@bufbuild/protobuf"; */ export declare const file_metalstack_api_v2_size_reservation: GenFile; /** - * SizeReservationServiceGetRequest is the request payload for a size get request + * SizeReservationServiceGetRequest is the request payload for a size get request. * * @generated from message metalstack.api.v2.SizeReservationServiceGetRequest */ export type SizeReservationServiceGetRequest = Message<"metalstack.api.v2.SizeReservationServiceGetRequest"> & { /** - * ID of the size reservation to get + * ID of the size reservation to get. * * @generated from field: string id = 1; */ id: string; /** - * Project of the size reservation + * Project of the size reservation. * * @generated from field: string project = 2; */ @@ -30,19 +30,19 @@ export type SizeReservationServiceGetRequest = Message<"metalstack.api.v2.SizeRe */ export declare const SizeReservationServiceGetRequestSchema: GenMessage; /** - * SizeReservationServiceListRequest is the request payload for a size list request + * SizeReservationServiceListRequest is the request payload for a size list request. * * @generated from message metalstack.api.v2.SizeReservationServiceListRequest */ export type SizeReservationServiceListRequest = Message<"metalstack.api.v2.SizeReservationServiceListRequest"> & { /** - * Project of the size reservation + * Project of the size reservation. * * @generated from field: string project = 1; */ project: string; /** - * Query for size reservations + * Query for size reservations. * * @generated from field: metalstack.api.v2.SizeReservationQuery query = 2; */ @@ -54,13 +54,13 @@ export type SizeReservationServiceListRequest = Message<"metalstack.api.v2.SizeR */ export declare const SizeReservationServiceListRequestSchema: GenMessage; /** - * SizeReservationServiceGetResponse is the response payload for a size reservation get request + * SizeReservationServiceGetResponse is the response payload for a size reservation get request. * * @generated from message metalstack.api.v2.SizeReservationServiceGetResponse */ export type SizeReservationServiceGetResponse = Message<"metalstack.api.v2.SizeReservationServiceGetResponse"> & { /** - * Size reservation + * Size reservation. * * @generated from field: metalstack.api.v2.SizeReservation size_reservation = 1; */ @@ -72,13 +72,13 @@ export type SizeReservationServiceGetResponse = Message<"metalstack.api.v2.SizeR */ export declare const SizeReservationServiceGetResponseSchema: GenMessage; /** - * SizeReservationServiceListResponse is the response payload for a size reservation list request + * SizeReservationServiceListResponse is the response payload for a size reservation list request. * * @generated from message metalstack.api.v2.SizeReservationServiceListResponse */ export type SizeReservationServiceListResponse = Message<"metalstack.api.v2.SizeReservationServiceListResponse"> & { /** - * Size reservations + * Size reservations. * * @generated from field: repeated metalstack.api.v2.SizeReservation size_reservations = 1; */ @@ -90,55 +90,55 @@ export type SizeReservationServiceListResponse = Message<"metalstack.api.v2.Size */ export declare const SizeReservationServiceListResponseSchema: GenMessage; /** - * SizeReservation + * SizeReservation. * * @generated from message metalstack.api.v2.SizeReservation */ export type SizeReservation = Message<"metalstack.api.v2.SizeReservation"> & { /** - * Id of this size reservation, is generated on creation + * Id of this size reservation, is generated on creation. * * @generated from field: string id = 1; */ id: string; /** - * Meta for this size reservation + * Meta for this size reservation. * * @generated from field: metalstack.api.v2.Meta meta = 2; */ meta?: Meta | undefined; /** - * Name of this size reservation + * Name of this size reservation. * * @generated from field: string name = 3; */ name: string; /** - * Description of this size reservation + * Description of this size reservation. * * @generated from field: string description = 4; */ description: string; /** - * Project of the size reservation + * Project of the size reservation. * * @generated from field: string project = 5; */ project: string; /** - * Size id of this size reservation + * Size id of this size reservation. * * @generated from field: string size = 6; */ size: string; /** - * Partition ids of this size reservation + * Partition ids of this size reservation. * * @generated from field: repeated string partitions = 7; */ partitions: string[]; /** - * Amount of reservations of this size reservation + * Amount of reservations of this size reservation. * * @generated from field: int32 amount = 8; */ @@ -150,49 +150,49 @@ export type SizeReservation = Message<"metalstack.api.v2.SizeReservation"> & { */ export declare const SizeReservationSchema: GenMessage; /** - * SizeReservationQuery is used to search size reservations + * SizeReservationQuery is used to search size reservations. * * @generated from message metalstack.api.v2.SizeReservationQuery */ export type SizeReservationQuery = Message<"metalstack.api.v2.SizeReservationQuery"> & { /** - * ID of the size reservation to get + * ID of the size reservation to get. * * @generated from field: optional string id = 1; */ id?: string | undefined; /** - * Name of this size reservation + * Name of this size reservation. * * @generated from field: optional string name = 2; */ name?: string | undefined; /** - * Description of this size reservation + * Description of this size reservation. * * @generated from field: optional string description = 3; */ description?: string | undefined; /** - * Size id of this size reservation + * Size id of this size reservation. * * @generated from field: optional string size = 4; */ size?: string | undefined; /** - * Project of the size reservation + * Project of the size reservation. * * @generated from field: optional string project = 5; */ project?: string | undefined; /** - * Partition of the size reservation + * Partition of the size reservation. * * @generated from field: optional string partition = 6; */ partition?: string | undefined; /** - * Labels lists only size reservations containing the given labels + * Labels lists only size reservations containing the given labels. * * @generated from field: optional metalstack.api.v2.Labels labels = 7; */ diff --git a/js/metalstack/api/v2/size_reservation_pb.ts b/js/metalstack/api/v2/size_reservation_pb.ts index 4cda508b..da426cc1 100644 --- a/js/metalstack/api/v2/size_reservation_pb.ts +++ b/js/metalstack/api/v2/size_reservation_pb.ts @@ -17,20 +17,20 @@ export const file_metalstack_api_v2_size_reservation: GenFile = /*@__PURE__*/ fileDesc("CihtZXRhbHN0YWNrL2FwaS92Mi9zaXplX3Jlc2VydmF0aW9uLnByb3RvEhFtZXRhbHN0YWNrLmFwaS52MiJTCiBTaXplUmVzZXJ2YXRpb25TZXJ2aWNlR2V0UmVxdWVzdBIUCgJpZBgBIAEoCUIIukgFcgOwAQESGQoHcHJvamVjdBgCIAEoCUIIukgFcgOwAQEidgohU2l6ZVJlc2VydmF0aW9uU2VydmljZUxpc3RSZXF1ZXN0EhkKB3Byb2plY3QYASABKAlCCLpIBXIDsAEBEjYKBXF1ZXJ5GAIgASgLMicubWV0YWxzdGFjay5hcGkudjIuU2l6ZVJlc2VydmF0aW9uUXVlcnkiYQohU2l6ZVJlc2VydmF0aW9uU2VydmljZUdldFJlc3BvbnNlEjwKEHNpemVfcmVzZXJ2YXRpb24YASABKAsyIi5tZXRhbHN0YWNrLmFwaS52Mi5TaXplUmVzZXJ2YXRpb24iYwoiU2l6ZVJlc2VydmF0aW9uU2VydmljZUxpc3RSZXNwb25zZRI9ChFzaXplX3Jlc2VydmF0aW9ucxgBIAMoCzIiLm1ldGFsc3RhY2suYXBpLnYyLlNpemVSZXNlcnZhdGlvbiKHAgoPU2l6ZVJlc2VydmF0aW9uEhcKAmlkGAEgASgJQgu6SAjYAQFyA7ABARIlCgRtZXRhGAIgASgLMhcubWV0YWxzdGFjay5hcGkudjIuTWV0YRIZCgRuYW1lGAMgASgJQgu6SAhyBsCzrrECARIgCgtkZXNjcmlwdGlvbhgEIAEoCUILukgIcgbIs66xAgESGQoHcHJvamVjdBgFIAEoCUIIukgFcgOwAQESGQoEc2l6ZRgGIAEoCUILukgIcgbAs66xAgESKAoKcGFydGl0aW9ucxgHIAMoCUIUukgRkgEOCAEYASIIcgbQs66xAgESFwoGYW1vdW50GAggASgFQge6SAQaAiAAItsCChRTaXplUmVzZXJ2YXRpb25RdWVyeRIZCgJpZBgBIAEoCUIIukgFcgOwAQFIAIgBARIeCgRuYW1lGAIgASgJQgu6SAhyBsCzrrECAUgBiAEBEiUKC2Rlc2NyaXB0aW9uGAMgASgJQgu6SAhyBsizrrECAUgCiAEBEh4KBHNpemUYBCABKAlCC7pICHIGwLOusQIBSAOIAQESHgoHcHJvamVjdBgFIAEoCUIIukgFcgOwAQFIBIgBARIjCglwYXJ0aXRpb24YBiABKAlCC7pICHIG0LOusQIBSAWIAQESLgoGbGFiZWxzGAcgASgLMhkubWV0YWxzdGFjay5hcGkudjIuTGFiZWxzSAaIAQFCBQoDX2lkQgcKBV9uYW1lQg4KDF9kZXNjcmlwdGlvbkIHCgVfc2l6ZUIKCghfcHJvamVjdEIMCgpfcGFydGl0aW9uQgkKB19sYWJlbHMymgIKFlNpemVSZXNlcnZhdGlvblNlcnZpY2USfQoDR2V0EjMubWV0YWxzdGFjay5hcGkudjIuU2l6ZVJlc2VydmF0aW9uU2VydmljZUdldFJlcXVlc3QaNC5tZXRhbHN0YWNrLmFwaS52Mi5TaXplUmVzZXJ2YXRpb25TZXJ2aWNlR2V0UmVzcG9uc2UiC8rzGAMBAgPg8xgCEoABCgRMaXN0EjQubWV0YWxzdGFjay5hcGkudjIuU2l6ZVJlc2VydmF0aW9uU2VydmljZUxpc3RSZXF1ZXN0GjUubWV0YWxzdGFjay5hcGkudjIuU2l6ZVJlc2VydmF0aW9uU2VydmljZUxpc3RSZXNwb25zZSILyvMYAwECA+DzGAJCygEKFWNvbS5tZXRhbHN0YWNrLmFwaS52MkIUU2l6ZVJlc2VydmF0aW9uUHJvdG9QAVo1Z2l0aHViLmNvbS9tZXRhbC1zdGFjay9hcGkvZ28vbWV0YWxzdGFjay9hcGkvdjI7YXBpdjKiAgNNQViqAhFNZXRhbHN0YWNrLkFwaS5WMsoCEU1ldGFsc3RhY2tcQXBpXFYy4gIdTWV0YWxzdGFja1xBcGlcVjJcR1BCTWV0YWRhdGHqAhNNZXRhbHN0YWNrOjpBcGk6OlYyYgZwcm90bzM", [file_buf_validate_validate, file_metalstack_api_v2_common, file_metalstack_api_v2_predefined_rules]); /** - * SizeReservationServiceGetRequest is the request payload for a size get request + * SizeReservationServiceGetRequest is the request payload for a size get request. * * @generated from message metalstack.api.v2.SizeReservationServiceGetRequest */ export type SizeReservationServiceGetRequest = Message<"metalstack.api.v2.SizeReservationServiceGetRequest"> & { /** - * ID of the size reservation to get + * ID of the size reservation to get. * * @generated from field: string id = 1; */ id: string; /** - * Project of the size reservation + * Project of the size reservation. * * @generated from field: string project = 2; */ @@ -45,20 +45,20 @@ export const SizeReservationServiceGetRequestSchema: GenMessage & { /** - * Project of the size reservation + * Project of the size reservation. * * @generated from field: string project = 1; */ project: string; /** - * Query for size reservations + * Query for size reservations. * * @generated from field: metalstack.api.v2.SizeReservationQuery query = 2; */ @@ -73,13 +73,13 @@ export const SizeReservationServiceListRequestSchema: GenMessage & { /** - * Size reservation + * Size reservation. * * @generated from field: metalstack.api.v2.SizeReservation size_reservation = 1; */ @@ -94,13 +94,13 @@ export const SizeReservationServiceGetResponseSchema: GenMessage & { /** - * Size reservations + * Size reservations. * * @generated from field: repeated metalstack.api.v2.SizeReservation size_reservations = 1; */ @@ -115,62 +115,62 @@ export const SizeReservationServiceListResponseSchema: GenMessage & { /** - * Id of this size reservation, is generated on creation + * Id of this size reservation, is generated on creation. * * @generated from field: string id = 1; */ id: string; /** - * Meta for this size reservation + * Meta for this size reservation. * * @generated from field: metalstack.api.v2.Meta meta = 2; */ meta?: Meta | undefined; /** - * Name of this size reservation + * Name of this size reservation. * * @generated from field: string name = 3; */ name: string; /** - * Description of this size reservation + * Description of this size reservation. * * @generated from field: string description = 4; */ description: string; /** - * Project of the size reservation + * Project of the size reservation. * * @generated from field: string project = 5; */ project: string; /** - * Size id of this size reservation + * Size id of this size reservation. * * @generated from field: string size = 6; */ size: string; /** - * Partition ids of this size reservation + * Partition ids of this size reservation. * * @generated from field: repeated string partitions = 7; */ partitions: string[]; /** - * Amount of reservations of this size reservation + * Amount of reservations of this size reservation. * * @generated from field: int32 amount = 8; */ @@ -185,55 +185,55 @@ export const SizeReservationSchema: GenMessage = /*@__PURE__*/ messageDesc(file_metalstack_api_v2_size_reservation, 4); /** - * SizeReservationQuery is used to search size reservations + * SizeReservationQuery is used to search size reservations. * * @generated from message metalstack.api.v2.SizeReservationQuery */ export type SizeReservationQuery = Message<"metalstack.api.v2.SizeReservationQuery"> & { /** - * ID of the size reservation to get + * ID of the size reservation to get. * * @generated from field: optional string id = 1; */ id?: string | undefined; /** - * Name of this size reservation + * Name of this size reservation. * * @generated from field: optional string name = 2; */ name?: string | undefined; /** - * Description of this size reservation + * Description of this size reservation. * * @generated from field: optional string description = 3; */ description?: string | undefined; /** - * Size id of this size reservation + * Size id of this size reservation. * * @generated from field: optional string size = 4; */ size?: string | undefined; /** - * Project of the size reservation + * Project of the size reservation. * * @generated from field: optional string project = 5; */ project?: string | undefined; /** - * Partition of the size reservation + * Partition of the size reservation. * * @generated from field: optional string partition = 6; */ partition?: string | undefined; /** - * Labels lists only size reservations containing the given labels + * Labels lists only size reservations containing the given labels. * * @generated from field: optional metalstack.api.v2.Labels labels = 7; */ diff --git a/js/metalstack/api/v2/switch_pb.d.ts b/js/metalstack/api/v2/switch_pb.d.ts index 9798892b..eeac5162 100644 --- a/js/metalstack/api/v2/switch_pb.d.ts +++ b/js/metalstack/api/v2/switch_pb.d.ts @@ -146,25 +146,25 @@ export declare const SwitchOSSchema: GenMessage; */ export type SwitchNic = Message<"metalstack.api.v2.SwitchNic"> & { /** - * Name of the switch port + * Name of the switch port. * * @generated from field: string name = 1; */ name: string; /** - * Identifier of the port + * Identifier of the port. * * @generated from field: string identifier = 2; */ identifier: string; /** - * MAC address of the port + * MAC address of the port. * * @generated from field: string mac = 3; */ mac: string; /** - * VRF name if the port is bound in one + * VRF name if the port is bound in one. * * @generated from field: optional string vrf = 4; */ @@ -200,13 +200,13 @@ export declare const SwitchNicSchema: GenMessage; */ export type BGPFilter = Message<"metalstack.api.v2.BGPFilter"> & { /** - * CIDRs for which to allow BGP + * CIDRs for which to allow BGP. * * @generated from field: repeated string cidrs = 1; */ cidrs: string[]; /** - * VNIs for which to allow BGP + * VNIs for which to allow BGP. * * @generated from field: repeated string vnis = 2; */ diff --git a/js/metalstack/api/v2/switch_pb.ts b/js/metalstack/api/v2/switch_pb.ts index 89811fde..e590d4fa 100644 --- a/js/metalstack/api/v2/switch_pb.ts +++ b/js/metalstack/api/v2/switch_pb.ts @@ -181,28 +181,28 @@ export const SwitchOSSchema: GenMessage = /*@__PURE__*/ */ export type SwitchNic = Message<"metalstack.api.v2.SwitchNic"> & { /** - * Name of the switch port + * Name of the switch port. * * @generated from field: string name = 1; */ name: string; /** - * Identifier of the port + * Identifier of the port. * * @generated from field: string identifier = 2; */ identifier: string; /** - * MAC address of the port + * MAC address of the port. * * @generated from field: string mac = 3; */ mac: string; /** - * VRF name if the port is bound in one + * VRF name if the port is bound in one. * * @generated from field: optional string vrf = 4; */ @@ -244,14 +244,14 @@ export const SwitchNicSchema: GenMessage = /*@__PURE__*/ */ export type BGPFilter = Message<"metalstack.api.v2.BGPFilter"> & { /** - * CIDRs for which to allow BGP + * CIDRs for which to allow BGP. * * @generated from field: repeated string cidrs = 1; */ cidrs: string[]; /** - * VNIs for which to allow BGP + * VNIs for which to allow BGP. * * @generated from field: repeated string vnis = 2; */ diff --git a/js/metalstack/api/v2/tenant_pb.d.ts b/js/metalstack/api/v2/tenant_pb.d.ts index a194604f..75b31aa2 100644 --- a/js/metalstack/api/v2/tenant_pb.d.ts +++ b/js/metalstack/api/v2/tenant_pb.d.ts @@ -7,49 +7,49 @@ import type { Message } from "@bufbuild/protobuf"; */ export declare const file_metalstack_api_v2_tenant: GenFile; /** - * Tenant is a customer of the platform + * Tenant is a customer of the platform. * * @generated from message metalstack.api.v2.Tenant */ export type Tenant = Message<"metalstack.api.v2.Tenant"> & { /** - * Login of the tenant + * Login of the tenant. * * @generated from field: string login = 1; */ login: string; /** - * Meta for this tenant + * Meta for this tenant. * * @generated from field: metalstack.api.v2.Meta meta = 2; */ meta?: Meta | undefined; /** - * Name of the tenant + * Name of the tenant. * * @generated from field: string name = 3; */ name: string; /** - * Email of the tenant + * Email of the tenant. * * @generated from field: string email = 4; */ email: string; /** - * Description of this tenant + * Description of this tenant. * * @generated from field: string description = 5; */ description: string; /** - * AvatarUrl of the tenant + * AvatarUrl of the tenant. * * @generated from field: string avatar_url = 6; */ avatarUrl: string; /** - * CreatedBy stores who created this tenant + * CreatedBy stores who created this tenant. * * @generated from field: string created_by = 7; */ @@ -61,37 +61,37 @@ export type Tenant = Message<"metalstack.api.v2.Tenant"> & { */ export declare const TenantSchema: GenMessage; /** - * TenantMember defines a user that participates in a tenant + * TenantMember defines a user that participates in a tenant. * * @generated from message metalstack.api.v2.TenantMember */ export type TenantMember = Message<"metalstack.api.v2.TenantMember"> & { /** - * Id is the user id of the member + * Id is the user id of the member. * * @generated from field: string id = 1; */ id: string; /** - * Role is the role of the member + * Role is the role of the member. * * @generated from field: metalstack.api.v2.TenantRole role = 2; */ role: TenantRole; /** - * Projects in which a user is a direct member + * Projects in which a user is a direct member. * * @generated from field: repeated string projects = 3; */ projects: string[]; /** - * CreatedAt the date when the member was added to the tenant + * CreatedAt the date when the member was added to the tenant. * * @generated from field: google.protobuf.Timestamp created_at = 4; */ createdAt?: Timestamp | undefined; /** - * Meta for this tenant member + * Meta for this tenant member. * * @generated from field: metalstack.api.v2.Meta meta = 5; */ @@ -103,61 +103,61 @@ export type TenantMember = Message<"metalstack.api.v2.TenantMember"> & { */ export declare const TenantMemberSchema: GenMessage; /** - * TenantInvite defines invite to tenant + * TenantInvite defines invite to tenant. * * @generated from message metalstack.api.v2.TenantInvite */ export type TenantInvite = Message<"metalstack.api.v2.TenantInvite"> & { /** - * Secret is the secret part of the invite, typically part of the url + * Secret is the secret part of the invite, typically part of the url. * * @generated from field: string secret = 1; */ secret: string; /** - * TargetTenant is the tenant id for which this invite was created + * TargetTenant is the tenant id for which this invite was created. * * @generated from field: string target_tenant = 2; */ targetTenant: string; /** - * Role is the role in this tenant the user will get after accepting the invitation + * Role is the role in this tenant the user will get after accepting the invitation. * * @generated from field: metalstack.api.v2.TenantRole role = 3; */ role: TenantRole; /** - * Joined is false as long as a user has not accepted the invite + * Joined is false as long as a user has not accepted the invite. * * @generated from field: bool joined = 4; */ joined: boolean; /** - * TargetTenantName is the tenant name for which this invite was created + * TargetTenantName is the tenant name for which this invite was created. * * @generated from field: string target_tenant_name = 5; */ targetTenantName: string; /** - * Tenant is the login of the tenant inviting another user to join this tenant + * Tenant is the login of the tenant inviting another user to join this tenant. * * @generated from field: string tenant = 6; */ tenant: string; /** - * TenantName is the name of the tenant inviting another user to join this tenant + * TenantName is the name of the tenant inviting another user to join this tenant. * * @generated from field: string tenant_name = 7; */ tenantName: string; /** - * ExpiresAt the date when this invite expires + * ExpiresAt the date when this invite expires. * * @generated from field: google.protobuf.Timestamp expires_at = 8; */ expiresAt?: Timestamp | undefined; /** - * JoinedAt the date when the member accepted this invite + * JoinedAt the date when the member accepted this invite. * * @generated from field: google.protobuf.Timestamp joined_at = 9; */ @@ -169,13 +169,13 @@ export type TenantInvite = Message<"metalstack.api.v2.TenantInvite"> & { */ export declare const TenantInviteSchema: GenMessage; /** - * TenantServiceListRequest is the request payload of the tenant list request + * TenantServiceListRequest is the request payload of the tenant list request. * * @generated from message metalstack.api.v2.TenantServiceListRequest */ export type TenantServiceListRequest = Message<"metalstack.api.v2.TenantServiceListRequest"> & { /** - * Query for tenants + * Query for tenants. * * @generated from field: metalstack.api.v2.TenantQuery query = 1; */ @@ -187,31 +187,31 @@ export type TenantServiceListRequest = Message<"metalstack.api.v2.TenantServiceL */ export declare const TenantServiceListRequestSchema: GenMessage; /** - * TenantQuery is used to search tenants + * TenantQuery is used to search tenants. * * @generated from message metalstack.api.v2.TenantQuery */ export type TenantQuery = Message<"metalstack.api.v2.TenantQuery"> & { /** - * Id filters tenants by login + * Id filters tenants by login. * * @generated from field: optional string login = 1; */ login?: string | undefined; /** - * Name filters tenants by name + * Name filters tenants by name. * * @generated from field: optional string name = 2; */ name?: string | undefined; /** - * Labels lists only projects containing the given labels + * Labels lists only projects containing the given labels. * * @generated from field: optional metalstack.api.v2.Labels labels = 3; */ labels?: Labels | undefined; /** - * Paging details for the list request + * Paging details for the list request. * * @generated from field: metalstack.api.v2.Paging paging = 4; */ @@ -223,13 +223,13 @@ export type TenantQuery = Message<"metalstack.api.v2.TenantQuery"> & { */ export declare const TenantQuerySchema: GenMessage; /** - * TenantServiceGetRequest is the request payload of the tenant get request + * TenantServiceGetRequest is the request payload of the tenant get request. * * @generated from message metalstack.api.v2.TenantServiceGetRequest */ export type TenantServiceGetRequest = Message<"metalstack.api.v2.TenantServiceGetRequest"> & { /** - * Login of the tenant + * Login of the tenant. * * @generated from field: string login = 1; */ @@ -241,37 +241,37 @@ export type TenantServiceGetRequest = Message<"metalstack.api.v2.TenantServiceGe */ export declare const TenantServiceGetRequestSchema: GenMessage; /** - * TenantServiceCreateRequest is the request payload of the tenant create request + * TenantServiceCreateRequest is the request payload of the tenant create request. * * @generated from message metalstack.api.v2.TenantServiceCreateRequest */ export type TenantServiceCreateRequest = Message<"metalstack.api.v2.TenantServiceCreateRequest"> & { /** - * Name of this tenant + * Name of this tenant. * * @generated from field: string name = 1; */ name: string; /** - * Description of this tenant + * Description of this tenant. * * @generated from field: optional string description = 2; */ description?: string | undefined; /** - * Email of the tenant, if not set will be inherited from the creator + * Email of the tenant, if not set will be inherited from the creator. * * @generated from field: optional string email = 3; */ email?: string | undefined; /** - * AvatarUrl of the tenant + * AvatarUrl of the tenant. * * @generated from field: optional string avatar_url = 4; */ avatarUrl?: string | undefined; /** - * Labels on the tenant + * Labels on the tenant. * * @generated from field: metalstack.api.v2.Labels labels = 5; */ @@ -283,49 +283,49 @@ export type TenantServiceCreateRequest = Message<"metalstack.api.v2.TenantServic */ export declare const TenantServiceCreateRequestSchema: GenMessage; /** - * TenantServiceUpdateRequest is the request payload of the tenant update request + * TenantServiceUpdateRequest is the request payload of the tenant update request. * * @generated from message metalstack.api.v2.TenantServiceUpdateRequest */ export type TenantServiceUpdateRequest = Message<"metalstack.api.v2.TenantServiceUpdateRequest"> & { /** - * Login of the tenant + * Login of the tenant. * * @generated from field: string login = 1; */ login: string; /** - * UpdateMeta contains the timestamp and strategy to be used in this update request + * UpdateMeta contains the timestamp and strategy to be used in this update request. * * @generated from field: metalstack.api.v2.UpdateMeta update_meta = 2; */ updateMeta?: UpdateMeta | undefined; /** - * Name of the tenant + * Name of the tenant. * * @generated from field: optional string name = 3; */ name?: string | undefined; /** - * Email of the tenant + * Email of the tenant. * * @generated from field: optional string email = 4; */ email?: string | undefined; /** - * Description of this tenant + * Description of this tenant. * * @generated from field: optional string description = 5; */ description?: string | undefined; /** - * AvatarUrl of the tenant + * AvatarUrl of the tenant. * * @generated from field: optional string avatar_url = 6; */ avatarUrl?: string | undefined; /** - * Labels on the tenant + * Labels on the tenant. * * @generated from field: optional metalstack.api.v2.UpdateLabels labels = 7; */ @@ -337,13 +337,13 @@ export type TenantServiceUpdateRequest = Message<"metalstack.api.v2.TenantServic */ export declare const TenantServiceUpdateRequestSchema: GenMessage; /** - * TenantServiceDeleteRequest is the request payload of the tenant delete request + * TenantServiceDeleteRequest is the request payload of the tenant delete request. * * @generated from message metalstack.api.v2.TenantServiceDeleteRequest */ export type TenantServiceDeleteRequest = Message<"metalstack.api.v2.TenantServiceDeleteRequest"> & { /** - * Login of the tenant + * Login of the tenant. * * @generated from field: string login = 1; */ @@ -355,19 +355,19 @@ export type TenantServiceDeleteRequest = Message<"metalstack.api.v2.TenantServic */ export declare const TenantServiceDeleteRequestSchema: GenMessage; /** - * TenantServiceGetResponse is the response payload of the tenant get request + * TenantServiceGetResponse is the response payload of the tenant get request. * * @generated from message metalstack.api.v2.TenantServiceGetResponse */ export type TenantServiceGetResponse = Message<"metalstack.api.v2.TenantServiceGetResponse"> & { /** - * Tenant is the tenant + * Tenant is the tenant. * * @generated from field: metalstack.api.v2.Tenant tenant = 1; */ tenant?: Tenant | undefined; /** - * TenantMembers of this tenant + * TenantMembers of this tenant. * * @generated from field: repeated metalstack.api.v2.TenantMember tenant_members = 2; */ @@ -379,13 +379,13 @@ export type TenantServiceGetResponse = Message<"metalstack.api.v2.TenantServiceG */ export declare const TenantServiceGetResponseSchema: GenMessage; /** - * TenantServiceListResponse is the response payload of the tenant list request + * TenantServiceListResponse is the response payload of the tenant list request. * * @generated from message metalstack.api.v2.TenantServiceListResponse */ export type TenantServiceListResponse = Message<"metalstack.api.v2.TenantServiceListResponse"> & { /** - * Tenants is the list of tenants + * Tenants is the list of tenants. * * @generated from field: repeated metalstack.api.v2.Tenant tenants = 1; */ @@ -397,13 +397,13 @@ export type TenantServiceListResponse = Message<"metalstack.api.v2.TenantService */ export declare const TenantServiceListResponseSchema: GenMessage; /** - * TenantServiceCreateResponse is the response payload of the tenant create request + * TenantServiceCreateResponse is the response payload of the tenant create request. * * @generated from message metalstack.api.v2.TenantServiceCreateResponse */ export type TenantServiceCreateResponse = Message<"metalstack.api.v2.TenantServiceCreateResponse"> & { /** - * Tenant is the tenant + * Tenant is the tenant. * * @generated from field: metalstack.api.v2.Tenant tenant = 1; */ @@ -415,13 +415,13 @@ export type TenantServiceCreateResponse = Message<"metalstack.api.v2.TenantServi */ export declare const TenantServiceCreateResponseSchema: GenMessage; /** - * TenantServiceUpdateResponse is the response payload of the tenant update request + * TenantServiceUpdateResponse is the response payload of the tenant update request. * * @generated from message metalstack.api.v2.TenantServiceUpdateResponse */ export type TenantServiceUpdateResponse = Message<"metalstack.api.v2.TenantServiceUpdateResponse"> & { /** - * Tenant is the tenant + * Tenant is the tenant. * * @generated from field: metalstack.api.v2.Tenant tenant = 1; */ @@ -433,13 +433,13 @@ export type TenantServiceUpdateResponse = Message<"metalstack.api.v2.TenantServi */ export declare const TenantServiceUpdateResponseSchema: GenMessage; /** - * TenantServiceDeleteResponse is the response payload of the tenant delete request + * TenantServiceDeleteResponse is the response payload of the tenant delete request. * * @generated from message metalstack.api.v2.TenantServiceDeleteResponse */ export type TenantServiceDeleteResponse = Message<"metalstack.api.v2.TenantServiceDeleteResponse"> & { /** - * Tenant is the tenant + * Tenant is the tenant. * * @generated from field: metalstack.api.v2.Tenant tenant = 1; */ @@ -451,19 +451,19 @@ export type TenantServiceDeleteResponse = Message<"metalstack.api.v2.TenantServi */ export declare const TenantServiceDeleteResponseSchema: GenMessage; /** - * TenantServiceInviteRequest is used to invite a member to a tenant + * TenantServiceInviteRequest is used to invite a member to a tenant. * * @generated from message metalstack.api.v2.TenantServiceInviteRequest */ export type TenantServiceInviteRequest = Message<"metalstack.api.v2.TenantServiceInviteRequest"> & { /** - * Login of the tenant + * Login of the tenant. * * @generated from field: string login = 1; */ login: string; /** - * Role of this user in this tenant + * Role of this user in this tenant. * * @generated from field: metalstack.api.v2.TenantRole role = 2; */ @@ -475,15 +475,13 @@ export type TenantServiceInviteRequest = Message<"metalstack.api.v2.TenantServic */ export declare const TenantServiceInviteRequestSchema: GenMessage; /** - * TenantServiceInviteRequest is the response payload to a invite member request + * TenantServiceInviteRequest is the response payload to a invite member request. * * @generated from message metalstack.api.v2.TenantServiceInviteResponse */ export type TenantServiceInviteResponse = Message<"metalstack.api.v2.TenantServiceInviteResponse"> & { /** - * Invite contains a secret which can be sent to a potential user - * can be appended to the invitation endpoint at our cloud console like - * console.metalstack.cloud/invite/ + * Invite contains a secret which can be sent to a potential user. * * @generated from field: metalstack.api.v2.TenantInvite invite = 1; */ @@ -495,13 +493,13 @@ export type TenantServiceInviteResponse = Message<"metalstack.api.v2.TenantServi */ export declare const TenantServiceInviteResponseSchema: GenMessage; /** - * TenantServiceInvitesListRequest is the request payload to a list invites request + * TenantServiceInvitesListRequest is the request payload to a list invites request. * * @generated from message metalstack.api.v2.TenantServiceInvitesListRequest */ export type TenantServiceInvitesListRequest = Message<"metalstack.api.v2.TenantServiceInvitesListRequest"> & { /** - * Login of the tenant + * Login of the tenant. * * @generated from field: string login = 1; */ @@ -513,13 +511,13 @@ export type TenantServiceInvitesListRequest = Message<"metalstack.api.v2.TenantS */ export declare const TenantServiceInvitesListRequestSchema: GenMessage; /** - * TenantServiceInvitesListResponse is the response payload to a list invites request + * TenantServiceInvitesListResponse is the response payload to a list invites request. * * @generated from message metalstack.api.v2.TenantServiceInvitesListResponse */ export type TenantServiceInvitesListResponse = Message<"metalstack.api.v2.TenantServiceInvitesListResponse"> & { /** - * Invites that have not yet accepted the invitation to this tenant + * Invites that have not yet accepted the invitation to this tenant. * * @generated from field: repeated metalstack.api.v2.TenantInvite invites = 1; */ @@ -531,13 +529,13 @@ export type TenantServiceInvitesListResponse = Message<"metalstack.api.v2.Tenant */ export declare const TenantServiceInvitesListResponseSchema: GenMessage; /** - * TenantServiceInviteGetRequest is the request payload to get a invite + * TenantServiceInviteGetRequest is the request payload to get a invite. * * @generated from message metalstack.api.v2.TenantServiceInviteGetRequest */ export type TenantServiceInviteGetRequest = Message<"metalstack.api.v2.TenantServiceInviteGetRequest"> & { /** - * Secret of the invite to get + * Secret of the invite to get. * * @generated from field: string secret = 1; */ @@ -549,13 +547,13 @@ export type TenantServiceInviteGetRequest = Message<"metalstack.api.v2.TenantSer */ export declare const TenantServiceInviteGetRequestSchema: GenMessage; /** - * TenantServiceInviteGetResponse is the response payload to a get invite request + * TenantServiceInviteGetResponse is the response payload to a get invite request. * * @generated from message metalstack.api.v2.TenantServiceInviteGetResponse */ export type TenantServiceInviteGetResponse = Message<"metalstack.api.v2.TenantServiceInviteGetResponse"> & { /** - * Invite is the invite + * Invite is the invite. * * @generated from field: metalstack.api.v2.TenantInvite invite = 1; */ @@ -567,19 +565,19 @@ export type TenantServiceInviteGetResponse = Message<"metalstack.api.v2.TenantSe */ export declare const TenantServiceInviteGetResponseSchema: GenMessage; /** - * TenantServiceRemoveMemberRequest is used to remove a member from a tenant + * TenantServiceRemoveMemberRequest is used to remove a member from a tenant. * * @generated from message metalstack.api.v2.TenantServiceRemoveMemberRequest */ export type TenantServiceRemoveMemberRequest = Message<"metalstack.api.v2.TenantServiceRemoveMemberRequest"> & { /** - * Login of the tenant + * Login of the tenant. * * @generated from field: string login = 1; */ login: string; /** - * Member is the id of the member to remove from this tenant + * Member is the id of the member to remove from this tenant. * * @generated from field: string member = 2; */ @@ -591,13 +589,13 @@ export type TenantServiceRemoveMemberRequest = Message<"metalstack.api.v2.Tenant */ export declare const TenantServiceRemoveMemberRequestSchema: GenMessage; /** - * TenantServiceLeaveTenantRequest is used to leave a tenant + * TenantServiceLeaveTenantRequest is used to leave a tenant. * * @generated from message metalstack.api.v2.TenantServiceLeaveRequest */ export type TenantServiceLeaveRequest = Message<"metalstack.api.v2.TenantServiceLeaveRequest"> & { /** - * Login of the tenant + * Login of the tenant. * * @generated from field: string login = 1; */ @@ -609,7 +607,7 @@ export type TenantServiceLeaveRequest = Message<"metalstack.api.v2.TenantService */ export declare const TenantServiceLeaveRequestSchema: GenMessage; /** - * TenantServiceLeaveTenantResponse is the response payload to a leave tenant request + * TenantServiceLeaveTenantResponse is the response payload to a leave tenant request. * * @generated from message metalstack.api.v2.TenantServiceLeaveResponse */ @@ -620,13 +618,13 @@ export type TenantServiceLeaveResponse = Message<"metalstack.api.v2.TenantServic */ export declare const TenantServiceLeaveResponseSchema: GenMessage; /** - * TenantServiceRemoveMemberResponse is the response payload to a remove member request + * TenantServiceRemoveMemberResponse is the response payload to a remove member request. * * @generated from message metalstack.api.v2.TenantServiceRemoveMemberResponse */ export type TenantServiceRemoveMemberResponse = Message<"metalstack.api.v2.TenantServiceRemoveMemberResponse"> & { /** - * TenantMember is the removed tenant member + * TenantMember is the removed tenant member. * * @generated from field: metalstack.api.v2.TenantMember tenant_member = 1; */ @@ -638,13 +636,13 @@ export type TenantServiceRemoveMemberResponse = Message<"metalstack.api.v2.Tenan */ export declare const TenantServiceRemoveMemberResponseSchema: GenMessage; /** - * TenantServiceInviteAcceptRequest is the request payload to a accept invite request + * TenantServiceInviteAcceptRequest is the request payload to a accept invite request. * * @generated from message metalstack.api.v2.TenantServiceInviteAcceptRequest */ export type TenantServiceInviteAcceptRequest = Message<"metalstack.api.v2.TenantServiceInviteAcceptRequest"> & { /** - * Secret is the invitation secret part of the invitation url + * Secret is the invitation secret part of the invitation url. * * @generated from field: string secret = 1; */ @@ -656,19 +654,19 @@ export type TenantServiceInviteAcceptRequest = Message<"metalstack.api.v2.Tenant */ export declare const TenantServiceInviteAcceptRequestSchema: GenMessage; /** - * TenantServiceInviteAcceptResponse is the response payload to a accept invite request + * TenantServiceInviteAcceptResponse is the response payload to a accept invite request. * * @generated from message metalstack.api.v2.TenantServiceInviteAcceptResponse */ export type TenantServiceInviteAcceptResponse = Message<"metalstack.api.v2.TenantServiceInviteAcceptResponse"> & { /** - * Tenant ID of the joined tenant + * Tenant ID of the joined tenant. * * @generated from field: string tenant = 1; */ tenant: string; /** - * TenantName of the joined tenant + * TenantName of the joined tenant. * * @generated from field: string tenant_name = 2; */ @@ -680,19 +678,19 @@ export type TenantServiceInviteAcceptResponse = Message<"metalstack.api.v2.Tenan */ export declare const TenantServiceInviteAcceptResponseSchema: GenMessage; /** - * TenantServiceInviteDeleteRequest is the request payload to a delete invite + * TenantServiceInviteDeleteRequest is the request payload to a delete invite. * * @generated from message metalstack.api.v2.TenantServiceInviteDeleteRequest */ export type TenantServiceInviteDeleteRequest = Message<"metalstack.api.v2.TenantServiceInviteDeleteRequest"> & { /** - * Login of the tenant + * Login of the tenant. * * @generated from field: string login = 1; */ login: string; /** - * Secret of the invite to delete + * Secret of the invite to delete. * * @generated from field: string secret = 2; */ @@ -704,7 +702,7 @@ export type TenantServiceInviteDeleteRequest = Message<"metalstack.api.v2.Tenant */ export declare const TenantServiceInviteDeleteRequestSchema: GenMessage; /** - * TenantServiceInviteDeleteResponse is the response payload of a delete invite request + * TenantServiceInviteDeleteResponse is the response payload of a delete invite request. * * @generated from message metalstack.api.v2.TenantServiceInviteDeleteResponse */ @@ -715,25 +713,25 @@ export type TenantServiceInviteDeleteResponse = Message<"metalstack.api.v2.Tenan */ export declare const TenantServiceInviteDeleteResponseSchema: GenMessage; /** - * TenantServiceAddMemberRequest is the request payload for adding a member to a tenant + * TenantServiceAddMemberRequest is the request payload for adding a member to a tenant. * * @generated from message metalstack.api.v2.TenantServiceAddMemberRequest */ export type TenantServiceAddMemberRequest = Message<"metalstack.api.v2.TenantServiceAddMemberRequest"> & { /** - * Login of the tenant to which the member will be added + * Login of the tenant to which the member will be added. * * @generated from field: string login = 1; */ login: string; /** - * Login of the member to add + * Login of the member to add. * * @generated from field: string member = 2; */ member: string; /** - * Role to assign to the new member + * Role to assign to the new member. * * @generated from field: metalstack.api.v2.TenantRole role = 3; */ @@ -745,13 +743,13 @@ export type TenantServiceAddMemberRequest = Message<"metalstack.api.v2.TenantSer */ export declare const TenantServiceAddMemberRequestSchema: GenMessage; /** - * TenantServiceAddMemberResponse is the response payload for the add member request + * TenantServiceAddMemberResponse is the response payload for the add member request. * * @generated from message metalstack.api.v2.TenantServiceAddMemberResponse */ export type TenantServiceAddMemberResponse = Message<"metalstack.api.v2.TenantServiceAddMemberResponse"> & { /** - * TenantMember is the added tenant member + * TenantMember is the added tenant member. * * @generated from field: metalstack.api.v2.TenantMember tenant_member = 1; */ @@ -763,25 +761,25 @@ export type TenantServiceAddMemberResponse = Message<"metalstack.api.v2.TenantSe */ export declare const TenantServiceAddMemberResponseSchema: GenMessage; /** - * TenantServiceUpdateMemberRequest is used to update a member from a tenant + * TenantServiceUpdateMemberRequest is used to update a member from a tenant. * * @generated from message metalstack.api.v2.TenantServiceUpdateMemberRequest */ export type TenantServiceUpdateMemberRequest = Message<"metalstack.api.v2.TenantServiceUpdateMemberRequest"> & { /** - * Login of the tenant + * Login of the tenant. * * @generated from field: string login = 1; */ login: string; /** - * Member is the id of the member to update in this tenant + * Member is the id of the member to update in this tenant. * * @generated from field: string member = 2; */ member: string; /** - * Role of this user in this tenant + * Role of this user in this tenant. * * @generated from field: metalstack.api.v2.TenantRole role = 3; */ @@ -793,13 +791,13 @@ export type TenantServiceUpdateMemberRequest = Message<"metalstack.api.v2.Tenant */ export declare const TenantServiceUpdateMemberRequestSchema: GenMessage; /** - * TenantServiceUpdateMemberResponse is the response payload to a update member request + * TenantServiceUpdateMemberResponse is the response payload to a update member request. * * @generated from message metalstack.api.v2.TenantServiceUpdateMemberResponse */ export type TenantServiceUpdateMemberResponse = Message<"metalstack.api.v2.TenantServiceUpdateMemberResponse"> & { /** - * TenantMember is the updated membership + * TenantMember is the updated membership. * * @generated from field: metalstack.api.v2.TenantMember tenant_member = 1; */ @@ -837,7 +835,7 @@ export declare const TenantService: GenService<{ output: typeof TenantServiceListResponseSchema; }; /** - * Get a tenant + * Get a tenant. * * @generated from rpc metalstack.api.v2.TenantService.Get */ @@ -847,7 +845,7 @@ export declare const TenantService: GenService<{ output: typeof TenantServiceGetResponseSchema; }; /** - * Update a tenant + * Update a tenant. * * @generated from rpc metalstack.api.v2.TenantService.Update */ @@ -857,7 +855,7 @@ export declare const TenantService: GenService<{ output: typeof TenantServiceUpdateResponseSchema; }; /** - * Delete a tenant + * Delete a tenant. * * @generated from rpc metalstack.api.v2.TenantService.Delete */ @@ -867,7 +865,7 @@ export declare const TenantService: GenService<{ output: typeof TenantServiceDeleteResponseSchema; }; /** - * Leave removes a member from a tenant + * Leave removes a member from a tenant. * * @generated from rpc metalstack.api.v2.TenantService.Leave */ @@ -877,7 +875,7 @@ export declare const TenantService: GenService<{ output: typeof TenantServiceLeaveResponseSchema; }; /** - * AddMember adds a member to a tenant + * AddMember adds a member to a tenant. * * @generated from rpc metalstack.api.v2.TenantService.AddMember */ @@ -887,7 +885,7 @@ export declare const TenantService: GenService<{ output: typeof TenantServiceAddMemberResponseSchema; }; /** - * RemoveMember removes a member from a tenant + * RemoveMember removes a member from a tenant. * * @generated from rpc metalstack.api.v2.TenantService.RemoveMember */ @@ -897,7 +895,7 @@ export declare const TenantService: GenService<{ output: typeof TenantServiceRemoveMemberResponseSchema; }; /** - * UpdateMember update a member of a tenant + * UpdateMember update a member of a tenant. * * @generated from rpc metalstack.api.v2.TenantService.UpdateMember */ @@ -907,7 +905,7 @@ export declare const TenantService: GenService<{ output: typeof TenantServiceUpdateMemberResponseSchema; }; /** - * Invite a user to a tenant + * Invite a user to a tenant. * * @generated from rpc metalstack.api.v2.TenantService.Invite */ @@ -917,7 +915,7 @@ export declare const TenantService: GenService<{ output: typeof TenantServiceInviteResponseSchema; }; /** - * InviteAccept is called from a user to accept an invitation + * InviteAccept is called from a user to accept an invitation. * * @generated from rpc metalstack.api.v2.TenantService.InviteAccept */ @@ -927,7 +925,7 @@ export declare const TenantService: GenService<{ output: typeof TenantServiceInviteAcceptResponseSchema; }; /** - * InviteDelete deletes a pending invitation + * InviteDelete deletes a pending invitation. * * @generated from rpc metalstack.api.v2.TenantService.InviteDelete */ @@ -937,7 +935,7 @@ export declare const TenantService: GenService<{ output: typeof TenantServiceInviteDeleteResponseSchema; }; /** - * InvitesList list all invites to a tenant + * InvitesList list all invites to a tenant. * * @generated from rpc metalstack.api.v2.TenantService.InvitesList */ @@ -947,7 +945,7 @@ export declare const TenantService: GenService<{ output: typeof TenantServiceInvitesListResponseSchema; }; /** - * InviteGet get an invite + * InviteGet get an invite. * * @generated from rpc metalstack.api.v2.TenantService.InviteGet */ diff --git a/js/metalstack/api/v2/tenant_pb.ts b/js/metalstack/api/v2/tenant_pb.ts index 37fdd8a5..6592cbbe 100644 --- a/js/metalstack/api/v2/tenant_pb.ts +++ b/js/metalstack/api/v2/tenant_pb.ts @@ -19,55 +19,55 @@ export const file_metalstack_api_v2_tenant: GenFile = /*@__PURE__*/ fileDesc("Ch5tZXRhbHN0YWNrL2FwaS92Mi90ZW5hbnQucHJvdG8SEW1ldGFsc3RhY2suYXBpLnYyItUBCgZUZW5hbnQSGgoFbG9naW4YASABKAlCC7pICHIGkLSusQIBEiUKBG1ldGEYAiABKAsyFy5tZXRhbHN0YWNrLmFwaS52Mi5NZXRhEhkKBG5hbWUYAyABKAlCC7pICHIGwLOusQIBEhYKBWVtYWlsGAQgASgJQge6SARyAmABEiAKC2Rlc2NyaXB0aW9uGAUgASgJQgu6SAhyBsizrrECARIfCgphdmF0YXJfdXJsGAYgASgJQgu6SAhyBuCzrrECARISCgpjcmVhdGVkX2J5GAcgASgJIscBCgxUZW5hbnRNZW1iZXISFwoCaWQYASABKAlCC7pICHIGkLSusQIBEjUKBHJvbGUYAiABKA4yHS5tZXRhbHN0YWNrLmFwaS52Mi5UZW5hbnRSb2xlQgi6SAWCAQIQARIQCghwcm9qZWN0cxgDIAMoCRIuCgpjcmVhdGVkX2F0GAQgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBIlCgRtZXRhGAUgASgLMhcubWV0YWxzdGFjay5hcGkudjIuTWV0YSKcAgoMVGVuYW50SW52aXRlEg4KBnNlY3JldBgBIAEoCRIVCg10YXJnZXRfdGVuYW50GAIgASgJEjUKBHJvbGUYAyABKA4yHS5tZXRhbHN0YWNrLmFwaS52Mi5UZW5hbnRSb2xlQgi6SAWCAQIQARIOCgZqb2luZWQYBCABKAgSGgoSdGFyZ2V0X3RlbmFudF9uYW1lGAUgASgJEg4KBnRlbmFudBgGIAEoCRITCgt0ZW5hbnRfbmFtZRgHIAEoCRIuCgpleHBpcmVzX2F0GAggASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBItCglqb2luZWRfYXQYCSABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wIkkKGFRlbmFudFNlcnZpY2VMaXN0UmVxdWVzdBItCgVxdWVyeRgBIAEoCzIeLm1ldGFsc3RhY2suYXBpLnYyLlRlbmFudFF1ZXJ5IscBCgtUZW5hbnRRdWVyeRIfCgVsb2dpbhgBIAEoCUILukgIcgaQtK6xAgFIAIgBARIeCgRuYW1lGAIgASgJQgu6SAhyBsCzrrECAUgBiAEBEi4KBmxhYmVscxgDIAEoCzIZLm1ldGFsc3RhY2suYXBpLnYyLkxhYmVsc0gCiAEBEikKBnBhZ2luZxgEIAEoCzIZLm1ldGFsc3RhY2suYXBpLnYyLlBhZ2luZ0IICgZfbG9naW5CBwoFX25hbWVCCQoHX2xhYmVscyIoChdUZW5hbnRTZXJ2aWNlR2V0UmVxdWVzdBINCgVsb2dpbhgBIAEoCSL1AQoaVGVuYW50U2VydmljZUNyZWF0ZVJlcXVlc3QSGQoEbmFtZRgBIAEoCUILukgIcgbAs66xAgESJQoLZGVzY3JpcHRpb24YAiABKAlCC7pICHIGyLOusQIBSACIAQESGwoFZW1haWwYAyABKAlCB7pIBHICYAFIAYgBARIkCgphdmF0YXJfdXJsGAQgASgJQgu6SAhyBuCzrrECAUgCiAEBEikKBmxhYmVscxgFIAEoCzIZLm1ldGFsc3RhY2suYXBpLnYyLkxhYmVsc0IOCgxfZGVzY3JpcHRpb25CCAoGX2VtYWlsQg0KC19hdmF0YXJfdXJsIvECChpUZW5hbnRTZXJ2aWNlVXBkYXRlUmVxdWVzdBIaCgVsb2dpbhgBIAEoCUILukgIcgaQtK6xAgESOgoLdXBkYXRlX21ldGEYAiABKAsyHS5tZXRhbHN0YWNrLmFwaS52Mi5VcGRhdGVNZXRhQga6SAPIAQESHgoEbmFtZRgDIAEoCUILukgIcgbAs66xAgFIAIgBARIbCgVlbWFpbBgEIAEoCUIHukgEcgJgAUgBiAEBEiUKC2Rlc2NyaXB0aW9uGAUgASgJQgu6SAhyBsizrrECAUgCiAEBEiQKCmF2YXRhcl91cmwYBiABKAlCC7pICHIG4LOusQIBSAOIAQESNAoGbGFiZWxzGAcgASgLMh8ubWV0YWxzdGFjay5hcGkudjIuVXBkYXRlTGFiZWxzSASIAQFCBwoFX25hbWVCCAoGX2VtYWlsQg4KDF9kZXNjcmlwdGlvbkINCgtfYXZhdGFyX3VybEIJCgdfbGFiZWxzIjgKGlRlbmFudFNlcnZpY2VEZWxldGVSZXF1ZXN0EhoKBWxvZ2luGAEgASgJQgu6SAhyBpC0rrECASJ+ChhUZW5hbnRTZXJ2aWNlR2V0UmVzcG9uc2USKQoGdGVuYW50GAEgASgLMhkubWV0YWxzdGFjay5hcGkudjIuVGVuYW50EjcKDnRlbmFudF9tZW1iZXJzGAIgAygLMh8ubWV0YWxzdGFjay5hcGkudjIuVGVuYW50TWVtYmVyIkcKGVRlbmFudFNlcnZpY2VMaXN0UmVzcG9uc2USKgoHdGVuYW50cxgBIAMoCzIZLm1ldGFsc3RhY2suYXBpLnYyLlRlbmFudCJIChtUZW5hbnRTZXJ2aWNlQ3JlYXRlUmVzcG9uc2USKQoGdGVuYW50GAEgASgLMhkubWV0YWxzdGFjay5hcGkudjIuVGVuYW50IkgKG1RlbmFudFNlcnZpY2VVcGRhdGVSZXNwb25zZRIpCgZ0ZW5hbnQYASABKAsyGS5tZXRhbHN0YWNrLmFwaS52Mi5UZW5hbnQiSAobVGVuYW50U2VydmljZURlbGV0ZVJlc3BvbnNlEikKBnRlbmFudBgBIAEoCzIZLm1ldGFsc3RhY2suYXBpLnYyLlRlbmFudCJvChpUZW5hbnRTZXJ2aWNlSW52aXRlUmVxdWVzdBIaCgVsb2dpbhgBIAEoCUILukgIcgaQtK6xAgESNQoEcm9sZRgCIAEoDjIdLm1ldGFsc3RhY2suYXBpLnYyLlRlbmFudFJvbGVCCLpIBYIBAhABIk4KG1RlbmFudFNlcnZpY2VJbnZpdGVSZXNwb25zZRIvCgZpbnZpdGUYASABKAsyHy5tZXRhbHN0YWNrLmFwaS52Mi5UZW5hbnRJbnZpdGUiPQofVGVuYW50U2VydmljZUludml0ZXNMaXN0UmVxdWVzdBIaCgVsb2dpbhgBIAEoCUILukgIcgaQtK6xAgEiVAogVGVuYW50U2VydmljZUludml0ZXNMaXN0UmVzcG9uc2USMAoHaW52aXRlcxgBIAMoCzIfLm1ldGFsc3RhY2suYXBpLnYyLlRlbmFudEludml0ZSIvCh1UZW5hbnRTZXJ2aWNlSW52aXRlR2V0UmVxdWVzdBIOCgZzZWNyZXQYASABKAkiUQoeVGVuYW50U2VydmljZUludml0ZUdldFJlc3BvbnNlEi8KBmludml0ZRgBIAEoCzIfLm1ldGFsc3RhY2suYXBpLnYyLlRlbmFudEludml0ZSJOCiBUZW5hbnRTZXJ2aWNlUmVtb3ZlTWVtYmVyUmVxdWVzdBIaCgVsb2dpbhgBIAEoCUILukgIcgaQtK6xAgESDgoGbWVtYmVyGAIgASgJIjcKGVRlbmFudFNlcnZpY2VMZWF2ZVJlcXVlc3QSGgoFbG9naW4YASABKAlCC7pICHIGkLSusQIBIhwKGlRlbmFudFNlcnZpY2VMZWF2ZVJlc3BvbnNlIlsKIVRlbmFudFNlcnZpY2VSZW1vdmVNZW1iZXJSZXNwb25zZRI2Cg10ZW5hbnRfbWVtYmVyGAEgASgLMh8ubWV0YWxzdGFjay5hcGkudjIuVGVuYW50TWVtYmVyIjIKIFRlbmFudFNlcnZpY2VJbnZpdGVBY2NlcHRSZXF1ZXN0Eg4KBnNlY3JldBgBIAEoCSJICiFUZW5hbnRTZXJ2aWNlSW52aXRlQWNjZXB0UmVzcG9uc2USDgoGdGVuYW50GAEgASgJEhMKC3RlbmFudF9uYW1lGAIgASgJIk4KIFRlbmFudFNlcnZpY2VJbnZpdGVEZWxldGVSZXF1ZXN0EhoKBWxvZ2luGAEgASgJQgu6SAhyBpC0rrECARIOCgZzZWNyZXQYAiABKAkiIwohVGVuYW50U2VydmljZUludml0ZURlbGV0ZVJlc3BvbnNlIo8BCh1UZW5hbnRTZXJ2aWNlQWRkTWVtYmVyUmVxdWVzdBIaCgVsb2dpbhgBIAEoCUILukgIcgaQtK6xAgESGwoGbWVtYmVyGAIgASgJQgu6SAhyBpC0rrECARI1CgRyb2xlGAMgASgOMh0ubWV0YWxzdGFjay5hcGkudjIuVGVuYW50Um9sZUIIukgFggECEAEiWAoeVGVuYW50U2VydmljZUFkZE1lbWJlclJlc3BvbnNlEjYKDXRlbmFudF9tZW1iZXIYASABKAsyHy5tZXRhbHN0YWNrLmFwaS52Mi5UZW5hbnRNZW1iZXIikgEKIFRlbmFudFNlcnZpY2VVcGRhdGVNZW1iZXJSZXF1ZXN0EhoKBWxvZ2luGAEgASgJQgu6SAhyBpC0rrECARIbCgZtZW1iZXIYAiABKAlCC7pICHIGkLSusQIBEjUKBHJvbGUYAyABKA4yHS5tZXRhbHN0YWNrLmFwaS52Mi5UZW5hbnRSb2xlQgi6SAWCAQIQASJbCiFUZW5hbnRTZXJ2aWNlVXBkYXRlTWVtYmVyUmVzcG9uc2USNgoNdGVuYW50X21lbWJlchgBIAEoCzIfLm1ldGFsc3RhY2suYXBpLnYyLlRlbmFudE1lbWJlcjLFDQoNVGVuYW50U2VydmljZRJxCgZDcmVhdGUSLS5tZXRhbHN0YWNrLmFwaS52Mi5UZW5hbnRTZXJ2aWNlQ3JlYXRlUmVxdWVzdBouLm1ldGFsc3RhY2suYXBpLnYyLlRlbmFudFNlcnZpY2VDcmVhdGVSZXNwb25zZSII2PMYAuDzGAESawoETGlzdBIrLm1ldGFsc3RhY2suYXBpLnYyLlRlbmFudFNlcnZpY2VMaXN0UmVxdWVzdBosLm1ldGFsc3RhY2suYXBpLnYyLlRlbmFudFNlcnZpY2VMaXN0UmVzcG9uc2UiCNjzGALg8xgCEmwKA0dldBIqLm1ldGFsc3RhY2suYXBpLnYyLlRlbmFudFNlcnZpY2VHZXRSZXF1ZXN0GisubWV0YWxzdGFjay5hcGkudjIuVGVuYW50U2VydmljZUdldFJlc3BvbnNlIgzC8xgEAQIDBODzGAIScwoGVXBkYXRlEi0ubWV0YWxzdGFjay5hcGkudjIuVGVuYW50U2VydmljZVVwZGF0ZVJlcXVlc3QaLi5tZXRhbHN0YWNrLmFwaS52Mi5UZW5hbnRTZXJ2aWNlVXBkYXRlUmVzcG9uc2UiCsLzGAIBAuDzGAEScwoGRGVsZXRlEi0ubWV0YWxzdGFjay5hcGkudjIuVGVuYW50U2VydmljZURlbGV0ZVJlcXVlc3QaLi5tZXRhbHN0YWNrLmFwaS52Mi5UZW5hbnRTZXJ2aWNlRGVsZXRlUmVzcG9uc2UiCsLzGAIBAuDzGAESbwoFTGVhdmUSLC5tZXRhbHN0YWNrLmFwaS52Mi5UZW5hbnRTZXJ2aWNlTGVhdmVSZXF1ZXN0Gi0ubWV0YWxzdGFjay5hcGkudjIuVGVuYW50U2VydmljZUxlYXZlUmVzcG9uc2UiCcLzGAED4PMYARJ8CglBZGRNZW1iZXISMC5tZXRhbHN0YWNrLmFwaS52Mi5UZW5hbnRTZXJ2aWNlQWRkTWVtYmVyUmVxdWVzdBoxLm1ldGFsc3RhY2suYXBpLnYyLlRlbmFudFNlcnZpY2VBZGRNZW1iZXJSZXNwb25zZSIKwvMYAgEC4PMYARKEAQoMUmVtb3ZlTWVtYmVyEjMubWV0YWxzdGFjay5hcGkudjIuVGVuYW50U2VydmljZVJlbW92ZU1lbWJlclJlcXVlc3QaNC5tZXRhbHN0YWNrLmFwaS52Mi5UZW5hbnRTZXJ2aWNlUmVtb3ZlTWVtYmVyUmVzcG9uc2UiCcLzGAEB4PMYARKEAQoMVXBkYXRlTWVtYmVyEjMubWV0YWxzdGFjay5hcGkudjIuVGVuYW50U2VydmljZVVwZGF0ZU1lbWJlclJlcXVlc3QaNC5tZXRhbHN0YWNrLmFwaS52Mi5UZW5hbnRTZXJ2aWNlVXBkYXRlTWVtYmVyUmVzcG9uc2UiCcLzGAEB4PMYARJyCgZJbnZpdGUSLS5tZXRhbHN0YWNrLmFwaS52Mi5UZW5hbnRTZXJ2aWNlSW52aXRlUmVxdWVzdBouLm1ldGFsc3RhY2suYXBpLnYyLlRlbmFudFNlcnZpY2VJbnZpdGVSZXNwb25zZSIJwvMYAQHg8xgBEoMBCgxJbnZpdGVBY2NlcHQSMy5tZXRhbHN0YWNrLmFwaS52Mi5UZW5hbnRTZXJ2aWNlSW52aXRlQWNjZXB0UmVxdWVzdBo0Lm1ldGFsc3RhY2suYXBpLnYyLlRlbmFudFNlcnZpY2VJbnZpdGVBY2NlcHRSZXNwb25zZSII2PMYAuDzGAEShAEKDEludml0ZURlbGV0ZRIzLm1ldGFsc3RhY2suYXBpLnYyLlRlbmFudFNlcnZpY2VJbnZpdGVEZWxldGVSZXF1ZXN0GjQubWV0YWxzdGFjay5hcGkudjIuVGVuYW50U2VydmljZUludml0ZURlbGV0ZVJlc3BvbnNlIgnC8xgBAeDzGAESgQEKC0ludml0ZXNMaXN0EjIubWV0YWxzdGFjay5hcGkudjIuVGVuYW50U2VydmljZUludml0ZXNMaXN0UmVxdWVzdBozLm1ldGFsc3RhY2suYXBpLnYyLlRlbmFudFNlcnZpY2VJbnZpdGVzTGlzdFJlc3BvbnNlIgnC8xgBAeDzGAISegoJSW52aXRlR2V0EjAubWV0YWxzdGFjay5hcGkudjIuVGVuYW50U2VydmljZUludml0ZUdldFJlcXVlc3QaMS5tZXRhbHN0YWNrLmFwaS52Mi5UZW5hbnRTZXJ2aWNlSW52aXRlR2V0UmVzcG9uc2UiCNjzGALg8xgCQsEBChVjb20ubWV0YWxzdGFjay5hcGkudjJCC1RlbmFudFByb3RvUAFaNWdpdGh1Yi5jb20vbWV0YWwtc3RhY2svYXBpL2dvL21ldGFsc3RhY2svYXBpL3YyO2FwaXYyogIDTUFYqgIRTWV0YWxzdGFjay5BcGkuVjLKAhFNZXRhbHN0YWNrXEFwaVxWMuICHU1ldGFsc3RhY2tcQXBpXFYyXEdQQk1ldGFkYXRh6gITTWV0YWxzdGFjazo6QXBpOjpWMmIGcHJvdG8z", [file_buf_validate_validate, file_google_protobuf_timestamp, file_metalstack_api_v2_common, file_metalstack_api_v2_predefined_rules]); /** - * Tenant is a customer of the platform + * Tenant is a customer of the platform. * * @generated from message metalstack.api.v2.Tenant */ export type Tenant = Message<"metalstack.api.v2.Tenant"> & { /** - * Login of the tenant + * Login of the tenant. * * @generated from field: string login = 1; */ login: string; /** - * Meta for this tenant + * Meta for this tenant. * * @generated from field: metalstack.api.v2.Meta meta = 2; */ meta?: Meta | undefined; /** - * Name of the tenant + * Name of the tenant. * * @generated from field: string name = 3; */ name: string; /** - * Email of the tenant + * Email of the tenant. * * @generated from field: string email = 4; */ email: string; /** - * Description of this tenant + * Description of this tenant. * * @generated from field: string description = 5; */ description: string; /** - * AvatarUrl of the tenant + * AvatarUrl of the tenant. * * @generated from field: string avatar_url = 6; */ avatarUrl: string; /** - * CreatedBy stores who created this tenant + * CreatedBy stores who created this tenant. * * @generated from field: string created_by = 7; */ @@ -82,41 +82,41 @@ export const TenantSchema: GenMessage = /*@__PURE__*/ messageDesc(file_metalstack_api_v2_tenant, 0); /** - * TenantMember defines a user that participates in a tenant + * TenantMember defines a user that participates in a tenant. * * @generated from message metalstack.api.v2.TenantMember */ export type TenantMember = Message<"metalstack.api.v2.TenantMember"> & { /** - * Id is the user id of the member + * Id is the user id of the member. * * @generated from field: string id = 1; */ id: string; /** - * Role is the role of the member + * Role is the role of the member. * * @generated from field: metalstack.api.v2.TenantRole role = 2; */ role: TenantRole; /** - * Projects in which a user is a direct member + * Projects in which a user is a direct member. * * @generated from field: repeated string projects = 3; */ projects: string[]; /** - * CreatedAt the date when the member was added to the tenant + * CreatedAt the date when the member was added to the tenant. * * @generated from field: google.protobuf.Timestamp created_at = 4; */ createdAt?: Timestamp | undefined; /** - * Meta for this tenant member + * Meta for this tenant member. * * @generated from field: metalstack.api.v2.Meta meta = 5; */ @@ -131,69 +131,69 @@ export const TenantMemberSchema: GenMessage = /*@__PURE__*/ messageDesc(file_metalstack_api_v2_tenant, 1); /** - * TenantInvite defines invite to tenant + * TenantInvite defines invite to tenant. * * @generated from message metalstack.api.v2.TenantInvite */ export type TenantInvite = Message<"metalstack.api.v2.TenantInvite"> & { /** - * Secret is the secret part of the invite, typically part of the url + * Secret is the secret part of the invite, typically part of the url. * * @generated from field: string secret = 1; */ secret: string; /** - * TargetTenant is the tenant id for which this invite was created + * TargetTenant is the tenant id for which this invite was created. * * @generated from field: string target_tenant = 2; */ targetTenant: string; /** - * Role is the role in this tenant the user will get after accepting the invitation + * Role is the role in this tenant the user will get after accepting the invitation. * * @generated from field: metalstack.api.v2.TenantRole role = 3; */ role: TenantRole; /** - * Joined is false as long as a user has not accepted the invite + * Joined is false as long as a user has not accepted the invite. * * @generated from field: bool joined = 4; */ joined: boolean; /** - * TargetTenantName is the tenant name for which this invite was created + * TargetTenantName is the tenant name for which this invite was created. * * @generated from field: string target_tenant_name = 5; */ targetTenantName: string; /** - * Tenant is the login of the tenant inviting another user to join this tenant + * Tenant is the login of the tenant inviting another user to join this tenant. * * @generated from field: string tenant = 6; */ tenant: string; /** - * TenantName is the name of the tenant inviting another user to join this tenant + * TenantName is the name of the tenant inviting another user to join this tenant. * * @generated from field: string tenant_name = 7; */ tenantName: string; /** - * ExpiresAt the date when this invite expires + * ExpiresAt the date when this invite expires. * * @generated from field: google.protobuf.Timestamp expires_at = 8; */ expiresAt?: Timestamp | undefined; /** - * JoinedAt the date when the member accepted this invite + * JoinedAt the date when the member accepted this invite. * * @generated from field: google.protobuf.Timestamp joined_at = 9; */ @@ -208,13 +208,13 @@ export const TenantInviteSchema: GenMessage = /*@__PURE__*/ messageDesc(file_metalstack_api_v2_tenant, 2); /** - * TenantServiceListRequest is the request payload of the tenant list request + * TenantServiceListRequest is the request payload of the tenant list request. * * @generated from message metalstack.api.v2.TenantServiceListRequest */ export type TenantServiceListRequest = Message<"metalstack.api.v2.TenantServiceListRequest"> & { /** - * Query for tenants + * Query for tenants. * * @generated from field: metalstack.api.v2.TenantQuery query = 1; */ @@ -229,34 +229,34 @@ export const TenantServiceListRequestSchema: GenMessage & { /** - * Id filters tenants by login + * Id filters tenants by login. * * @generated from field: optional string login = 1; */ login?: string | undefined; /** - * Name filters tenants by name + * Name filters tenants by name. * * @generated from field: optional string name = 2; */ name?: string | undefined; /** - * Labels lists only projects containing the given labels + * Labels lists only projects containing the given labels. * * @generated from field: optional metalstack.api.v2.Labels labels = 3; */ labels?: Labels | undefined; /** - * Paging details for the list request + * Paging details for the list request. * * @generated from field: metalstack.api.v2.Paging paging = 4; */ @@ -271,13 +271,13 @@ export const TenantQuerySchema: GenMessage = /*@__PURE__*/ messageDesc(file_metalstack_api_v2_tenant, 4); /** - * TenantServiceGetRequest is the request payload of the tenant get request + * TenantServiceGetRequest is the request payload of the tenant get request. * * @generated from message metalstack.api.v2.TenantServiceGetRequest */ export type TenantServiceGetRequest = Message<"metalstack.api.v2.TenantServiceGetRequest"> & { /** - * Login of the tenant + * Login of the tenant. * * @generated from field: string login = 1; */ @@ -292,41 +292,41 @@ export const TenantServiceGetRequestSchema: GenMessage messageDesc(file_metalstack_api_v2_tenant, 5); /** - * TenantServiceCreateRequest is the request payload of the tenant create request + * TenantServiceCreateRequest is the request payload of the tenant create request. * * @generated from message metalstack.api.v2.TenantServiceCreateRequest */ export type TenantServiceCreateRequest = Message<"metalstack.api.v2.TenantServiceCreateRequest"> & { /** - * Name of this tenant + * Name of this tenant. * * @generated from field: string name = 1; */ name: string; /** - * Description of this tenant + * Description of this tenant. * * @generated from field: optional string description = 2; */ description?: string | undefined; /** - * Email of the tenant, if not set will be inherited from the creator + * Email of the tenant, if not set will be inherited from the creator. * * @generated from field: optional string email = 3; */ email?: string | undefined; /** - * AvatarUrl of the tenant + * AvatarUrl of the tenant. * * @generated from field: optional string avatar_url = 4; */ avatarUrl?: string | undefined; /** - * Labels on the tenant + * Labels on the tenant. * * @generated from field: metalstack.api.v2.Labels labels = 5; */ @@ -341,55 +341,55 @@ export const TenantServiceCreateRequestSchema: GenMessage & { /** - * Login of the tenant + * Login of the tenant. * * @generated from field: string login = 1; */ login: string; /** - * UpdateMeta contains the timestamp and strategy to be used in this update request + * UpdateMeta contains the timestamp and strategy to be used in this update request. * * @generated from field: metalstack.api.v2.UpdateMeta update_meta = 2; */ updateMeta?: UpdateMeta | undefined; /** - * Name of the tenant + * Name of the tenant. * * @generated from field: optional string name = 3; */ name?: string | undefined; /** - * Email of the tenant + * Email of the tenant. * * @generated from field: optional string email = 4; */ email?: string | undefined; /** - * Description of this tenant + * Description of this tenant. * * @generated from field: optional string description = 5; */ description?: string | undefined; /** - * AvatarUrl of the tenant + * AvatarUrl of the tenant. * * @generated from field: optional string avatar_url = 6; */ avatarUrl?: string | undefined; /** - * Labels on the tenant + * Labels on the tenant. * * @generated from field: optional metalstack.api.v2.UpdateLabels labels = 7; */ @@ -404,13 +404,13 @@ export const TenantServiceUpdateRequestSchema: GenMessage & { /** - * Login of the tenant + * Login of the tenant. * * @generated from field: string login = 1; */ @@ -425,20 +425,20 @@ export const TenantServiceDeleteRequestSchema: GenMessage & { /** - * Tenant is the tenant + * Tenant is the tenant. * * @generated from field: metalstack.api.v2.Tenant tenant = 1; */ tenant?: Tenant | undefined; /** - * TenantMembers of this tenant + * TenantMembers of this tenant. * * @generated from field: repeated metalstack.api.v2.TenantMember tenant_members = 2; */ @@ -453,13 +453,13 @@ export const TenantServiceGetResponseSchema: GenMessage & { /** - * Tenants is the list of tenants + * Tenants is the list of tenants. * * @generated from field: repeated metalstack.api.v2.Tenant tenants = 1; */ @@ -474,13 +474,13 @@ export const TenantServiceListResponseSchema: GenMessage & { /** - * Tenant is the tenant + * Tenant is the tenant. * * @generated from field: metalstack.api.v2.Tenant tenant = 1; */ @@ -495,13 +495,13 @@ export const TenantServiceCreateResponseSchema: GenMessage & { /** - * Tenant is the tenant + * Tenant is the tenant. * * @generated from field: metalstack.api.v2.Tenant tenant = 1; */ @@ -516,13 +516,13 @@ export const TenantServiceUpdateResponseSchema: GenMessage & { /** - * Tenant is the tenant + * Tenant is the tenant. * * @generated from field: metalstack.api.v2.Tenant tenant = 1; */ @@ -537,20 +537,20 @@ export const TenantServiceDeleteResponseSchema: GenMessage & { /** - * Login of the tenant + * Login of the tenant. * * @generated from field: string login = 1; */ login: string; /** - * Role of this user in this tenant + * Role of this user in this tenant. * * @generated from field: metalstack.api.v2.TenantRole role = 2; */ @@ -565,15 +565,13 @@ export const TenantServiceInviteRequestSchema: GenMessage & { /** - * Invite contains a secret which can be sent to a potential user - * can be appended to the invitation endpoint at our cloud console like - * console.metalstack.cloud/invite/ + * Invite contains a secret which can be sent to a potential user. * * @generated from field: metalstack.api.v2.TenantInvite invite = 1; */ @@ -588,13 +586,13 @@ export const TenantServiceInviteResponseSchema: GenMessage & { /** - * Login of the tenant + * Login of the tenant. * * @generated from field: string login = 1; */ @@ -609,13 +607,13 @@ export const TenantServiceInvitesListRequestSchema: GenMessage & { /** - * Invites that have not yet accepted the invitation to this tenant + * Invites that have not yet accepted the invitation to this tenant. * * @generated from field: repeated metalstack.api.v2.TenantInvite invites = 1; */ @@ -630,13 +628,13 @@ export const TenantServiceInvitesListResponseSchema: GenMessage & { /** - * Secret of the invite to get + * Secret of the invite to get. * * @generated from field: string secret = 1; */ @@ -651,13 +649,13 @@ export const TenantServiceInviteGetRequestSchema: GenMessage & { /** - * Invite is the invite + * Invite is the invite. * * @generated from field: metalstack.api.v2.TenantInvite invite = 1; */ @@ -672,20 +670,20 @@ export const TenantServiceInviteGetResponseSchema: GenMessage & { /** - * Login of the tenant + * Login of the tenant. * * @generated from field: string login = 1; */ login: string; /** - * Member is the id of the member to remove from this tenant + * Member is the id of the member to remove from this tenant. * * @generated from field: string member = 2; */ @@ -700,13 +698,13 @@ export const TenantServiceRemoveMemberRequestSchema: GenMessage & { /** - * Login of the tenant + * Login of the tenant. * * @generated from field: string login = 1; */ @@ -721,7 +719,7 @@ export const TenantServiceLeaveRequestSchema: GenMessage & { /** - * TenantMember is the removed tenant member + * TenantMember is the removed tenant member. * * @generated from field: metalstack.api.v2.TenantMember tenant_member = 1; */ @@ -757,13 +755,13 @@ export const TenantServiceRemoveMemberResponseSchema: GenMessage & { /** - * Secret is the invitation secret part of the invitation url + * Secret is the invitation secret part of the invitation url. * * @generated from field: string secret = 1; */ @@ -778,20 +776,20 @@ export const TenantServiceInviteAcceptRequestSchema: GenMessage & { /** - * Tenant ID of the joined tenant + * Tenant ID of the joined tenant. * * @generated from field: string tenant = 1; */ tenant: string; /** - * TenantName of the joined tenant + * TenantName of the joined tenant. * * @generated from field: string tenant_name = 2; */ @@ -806,20 +804,20 @@ export const TenantServiceInviteAcceptResponseSchema: GenMessage & { /** - * Login of the tenant + * Login of the tenant. * * @generated from field: string login = 1; */ login: string; /** - * Secret of the invite to delete + * Secret of the invite to delete. * * @generated from field: string secret = 2; */ @@ -834,7 +832,7 @@ export const TenantServiceInviteDeleteRequestSchema: GenMessage & { /** - * Login of the tenant to which the member will be added + * Login of the tenant to which the member will be added. * * @generated from field: string login = 1; */ login: string; /** - * Login of the member to add + * Login of the member to add. * * @generated from field: string member = 2; */ member: string; /** - * Role to assign to the new member + * Role to assign to the new member. * * @generated from field: metalstack.api.v2.TenantRole role = 3; */ @@ -884,13 +882,13 @@ export const TenantServiceAddMemberRequestSchema: GenMessage & { /** - * TenantMember is the added tenant member + * TenantMember is the added tenant member. * * @generated from field: metalstack.api.v2.TenantMember tenant_member = 1; */ @@ -905,27 +903,27 @@ export const TenantServiceAddMemberResponseSchema: GenMessage & { /** - * Login of the tenant + * Login of the tenant. * * @generated from field: string login = 1; */ login: string; /** - * Member is the id of the member to update in this tenant + * Member is the id of the member to update in this tenant. * * @generated from field: string member = 2; */ member: string; /** - * Role of this user in this tenant + * Role of this user in this tenant. * * @generated from field: metalstack.api.v2.TenantRole role = 3; */ @@ -940,13 +938,13 @@ export const TenantServiceUpdateMemberRequestSchema: GenMessage & { /** - * TenantMember is the updated membership + * TenantMember is the updated membership. * * @generated from field: metalstack.api.v2.TenantMember tenant_member = 1; */ @@ -987,7 +985,7 @@ export const TenantService: GenService<{ output: typeof TenantServiceListResponseSchema; }, /** - * Get a tenant + * Get a tenant. * * @generated from rpc metalstack.api.v2.TenantService.Get */ @@ -997,7 +995,7 @@ export const TenantService: GenService<{ output: typeof TenantServiceGetResponseSchema; }, /** - * Update a tenant + * Update a tenant. * * @generated from rpc metalstack.api.v2.TenantService.Update */ @@ -1007,7 +1005,7 @@ export const TenantService: GenService<{ output: typeof TenantServiceUpdateResponseSchema; }, /** - * Delete a tenant + * Delete a tenant. * * @generated from rpc metalstack.api.v2.TenantService.Delete */ @@ -1017,7 +1015,7 @@ export const TenantService: GenService<{ output: typeof TenantServiceDeleteResponseSchema; }, /** - * Leave removes a member from a tenant + * Leave removes a member from a tenant. * * @generated from rpc metalstack.api.v2.TenantService.Leave */ @@ -1027,7 +1025,7 @@ export const TenantService: GenService<{ output: typeof TenantServiceLeaveResponseSchema; }, /** - * AddMember adds a member to a tenant + * AddMember adds a member to a tenant. * * @generated from rpc metalstack.api.v2.TenantService.AddMember */ @@ -1037,7 +1035,7 @@ export const TenantService: GenService<{ output: typeof TenantServiceAddMemberResponseSchema; }, /** - * RemoveMember removes a member from a tenant + * RemoveMember removes a member from a tenant. * * @generated from rpc metalstack.api.v2.TenantService.RemoveMember */ @@ -1047,7 +1045,7 @@ export const TenantService: GenService<{ output: typeof TenantServiceRemoveMemberResponseSchema; }, /** - * UpdateMember update a member of a tenant + * UpdateMember update a member of a tenant. * * @generated from rpc metalstack.api.v2.TenantService.UpdateMember */ @@ -1057,7 +1055,7 @@ export const TenantService: GenService<{ output: typeof TenantServiceUpdateMemberResponseSchema; }, /** - * Invite a user to a tenant + * Invite a user to a tenant. * * @generated from rpc metalstack.api.v2.TenantService.Invite */ @@ -1067,7 +1065,7 @@ export const TenantService: GenService<{ output: typeof TenantServiceInviteResponseSchema; }, /** - * InviteAccept is called from a user to accept an invitation + * InviteAccept is called from a user to accept an invitation. * * @generated from rpc metalstack.api.v2.TenantService.InviteAccept */ @@ -1077,7 +1075,7 @@ export const TenantService: GenService<{ output: typeof TenantServiceInviteAcceptResponseSchema; }, /** - * InviteDelete deletes a pending invitation + * InviteDelete deletes a pending invitation. * * @generated from rpc metalstack.api.v2.TenantService.InviteDelete */ @@ -1087,7 +1085,7 @@ export const TenantService: GenService<{ output: typeof TenantServiceInviteDeleteResponseSchema; }, /** - * InvitesList list all invites to a tenant + * InvitesList list all invites to a tenant. * * @generated from rpc metalstack.api.v2.TenantService.InvitesList */ @@ -1097,7 +1095,7 @@ export const TenantService: GenService<{ output: typeof TenantServiceInvitesListResponseSchema; }, /** - * InviteGet get an invite + * InviteGet get an invite. * * @generated from rpc metalstack.api.v2.TenantService.InviteGet */ diff --git a/js/metalstack/api/v2/token_pb.d.ts b/js/metalstack/api/v2/token_pb.d.ts index 971d567e..f6cbbbc6 100644 --- a/js/metalstack/api/v2/token_pb.d.ts +++ b/js/metalstack/api/v2/token_pb.d.ts @@ -7,12 +7,12 @@ import type { Message } from "@bufbuild/protobuf"; */ export declare const file_metalstack_api_v2_token: GenFile; /** - * Token generates a jwt authentication token to access the api + * Token generates a jwt authentication token to access the api. * - * There are two different types of tokens, api- and user- tokens + * 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 + * 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. @@ -20,25 +20,25 @@ export declare const file_metalstack_api_v2_token: GenFile; * 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. * - * Message level validation, can be developed using https://protovalidate.com/playground + * Message level validation, can be developed using https://protovalidate.com/playground. * * @generated from message metalstack.api.v2.Token */ export type Token = Message<"metalstack.api.v2.Token"> & { /** - * Uuid of the jwt token, used to reference it by revoke + * Uuid of the jwt token, used to reference it by revoke. * * @generated from field: string uuid = 1; */ uuid: string; /** - * User who created this token + * User who created this token. * * @generated from field: string user = 2; */ user: string; /** - * Meta for this token + * Meta for this token. * * @generated from field: metalstack.api.v2.Meta meta = 3; */ @@ -50,31 +50,31 @@ export type Token = Message<"metalstack.api.v2.Token"> & { */ description: string; /** - * Permissions is a list of service methods this token can be used for + * Permissions is a list of service methods this token can be used for. * * @generated from field: repeated metalstack.api.v2.MethodPermission permissions = 5; */ permissions: MethodPermission[]; /** - * Expires gives the date in the future after which this token can not be used anymore + * Expires gives the date in the future after which this token can not be used anymore. * * @generated from field: google.protobuf.Timestamp expires = 6; */ expires?: Timestamp | undefined; /** - * IssuedAt gives the date when this token was created + * IssuedAt gives the date when this token was created. * * @generated from field: google.protobuf.Timestamp issued_at = 7; */ issuedAt?: Timestamp | undefined; /** - * TokenType describes the type of this token + * TokenType describes the type of this token. * * @generated from field: metalstack.api.v2.TokenType token_type = 8; */ tokenType: TokenType; /** - * ProjectRoles associates a project id with the corresponding role of the token owner + * ProjectRoles associates a project id with the corresponding role of the token owner. * * @generated from field: map project_roles = 9; */ @@ -82,7 +82,7 @@ export type Token = Message<"metalstack.api.v2.Token"> & { [key: string]: ProjectRole; }; /** - * TenantRoles associates a tenant id with the corresponding role of the token owner + * TenantRoles associates a tenant id with the corresponding role of the token owner. * * @generated from field: map tenant_roles = 10; */ @@ -90,20 +90,20 @@ export type Token = Message<"metalstack.api.v2.Token"> & { [key: string]: TenantRole; }; /** - * AdminRole defines the admin role of the token owner + * AdminRole defines the admin role of the token owner. * * @generated from field: optional metalstack.api.v2.AdminRole admin_role = 11; */ adminRole?: AdminRole | undefined; /** - * InfraRole defines the infrastructure role of the token owner + * InfraRole defines the infrastructure role of the token owner. * * @generated from field: optional metalstack.api.v2.InfraRole infra_role = 12; */ infraRole?: InfraRole | undefined; /** - * 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 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. * * @generated from field: map machine_roles = 13; */ @@ -117,31 +117,31 @@ export type Token = Message<"metalstack.api.v2.Token"> & { */ export declare const TokenSchema: GenMessage; /** - * TokenServiceCreateRequest is the request payload to create a token + * TokenServiceCreateRequest is the request payload to create a token. * * @generated from message metalstack.api.v2.TokenServiceCreateRequest */ export type TokenServiceCreateRequest = Message<"metalstack.api.v2.TokenServiceCreateRequest"> & { /** - * Description of the token + * Description of the token. * * @generated from field: string description = 1; */ description: string; /** - * Permissions is a list of service methods this token can be used for + * Permissions is a list of service methods this token can be used for. * * @generated from field: repeated metalstack.api.v2.PermissionsByVisibility permissions = 2; */ permissions: PermissionsByVisibility[]; /** - * Expires gives the duration since now, after which this token can not be used anymore + * Expires gives the duration since now, after which this token can not be used anymore. * * @generated from field: google.protobuf.Duration expires = 3; */ expires?: Duration | undefined; /** - * ProjectRoles associates a project id with the corresponding role of the token owner + * ProjectRoles associates a project id with the corresponding role of the token owner. * * @generated from field: map project_roles = 4; */ @@ -149,7 +149,7 @@ export type TokenServiceCreateRequest = Message<"metalstack.api.v2.TokenServiceC [key: string]: ProjectRole; }; /** - * TenantRoles associates a tenant id with the corresponding role of the token owner + * TenantRoles associates a tenant id with the corresponding role of the token owner. * * @generated from field: map tenant_roles = 5; */ @@ -157,19 +157,19 @@ export type TokenServiceCreateRequest = Message<"metalstack.api.v2.TokenServiceC [key: string]: TenantRole; }; /** - * AdminRole defines the admin role of the token owner + * AdminRole defines the admin role of the token owner. * * @generated from field: optional metalstack.api.v2.AdminRole admin_role = 6; */ adminRole?: AdminRole | undefined; /** - * InfraRole defines the infrastructure role of the token owner + * InfraRole defines the infrastructure role of the token owner. * * @generated from field: optional metalstack.api.v2.InfraRole infra_role = 7; */ infraRole?: InfraRole | undefined; /** - * MachineRoles associates a machine uuid with the corresponding role of the token owner + * MachineRoles associates a machine uuid with the corresponding role of the token owner. * * @generated from field: map machine_roles = 8; */ @@ -177,7 +177,7 @@ export type TokenServiceCreateRequest = Message<"metalstack.api.v2.TokenServiceC [key: string]: MachineRole; }; /** - * Labels on this token + * Labels on this token. * * @generated from field: metalstack.api.v2.Labels labels = 9; */ @@ -189,24 +189,23 @@ export type TokenServiceCreateRequest = Message<"metalstack.api.v2.TokenServiceC */ export declare const TokenServiceCreateRequestSchema: GenMessage; /** - * MethodPermission is a mapping from a subject/project to a service method + * MethodPermission is a mapping from a subject/project to a service method. * * @generated from message metalstack.api.v2.MethodPermission */ export type MethodPermission = Message<"metalstack.api.v2.MethodPermission"> & { /** - * Subject maybe either the project or the tenant - * for which the methods should be allowed + * 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 + * 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. * * @generated from field: string subject = 1; */ subject: string; /** - * Methods which should be accessible + * Methods which should be accessible. * * @generated from field: repeated string methods = 2; */ @@ -218,19 +217,19 @@ export type MethodPermission = Message<"metalstack.api.v2.MethodPermission"> & { */ export declare const MethodPermissionSchema: GenMessage; /** - * PermissionsByVisibility contains method permissions by visibility + * PermissionsByVisibility contains method permissions by visibility. * * @generated from message metalstack.api.v2.PermissionsByVisibility */ export type PermissionsByVisibility = Message<"metalstack.api.v2.PermissionsByVisibility"> & { /** - * Visibility defines the visibility of the requested method permissions + * Visibility defines the visibility of the requested method permissions. * * @generated from oneof metalstack.api.v2.PermissionsByVisibility.visibility */ visibility: { /** - * PublicPermissions carries public method permissions + * PublicPermissions carries public method permissions. * * @generated from field: metalstack.api.v2.PublicPermissions public = 1; */ @@ -238,7 +237,7 @@ export type PermissionsByVisibility = Message<"metalstack.api.v2.PermissionsByVi case: "public"; } | { /** - * SelfPermissions carries self method permissions + * SelfPermissions carries self method permissions. * * @generated from field: metalstack.api.v2.SelfPermissions self = 2; */ @@ -246,7 +245,7 @@ export type PermissionsByVisibility = Message<"metalstack.api.v2.PermissionsByVi case: "self"; } | { /** - * ProjectPermissions carries project method permissions + * ProjectPermissions carries project method permissions. * * @generated from field: metalstack.api.v2.ProjectPermissions project = 3; */ @@ -254,7 +253,7 @@ export type PermissionsByVisibility = Message<"metalstack.api.v2.PermissionsByVi case: "project"; } | { /** - * TenantPermissions carries tenant method permissions + * TenantPermissions carries tenant method permissions. * * @generated from field: metalstack.api.v2.TenantPermissions tenant = 4; */ @@ -262,7 +261,7 @@ export type PermissionsByVisibility = Message<"metalstack.api.v2.PermissionsByVi case: "tenant"; } | { /** - * AdminPermissions carries admin method permissions + * AdminPermissions carries admin method permissions. * * @generated from field: metalstack.api.v2.AdminPermissions admin = 5; */ @@ -270,7 +269,7 @@ export type PermissionsByVisibility = Message<"metalstack.api.v2.PermissionsByVi case: "admin"; } | { /** - * MachinePermissions carries machine method permissions + * MachinePermissions carries machine method permissions. * * @generated from field: metalstack.api.v2.MachinePermissions machine = 6; */ @@ -278,7 +277,7 @@ export type PermissionsByVisibility = Message<"metalstack.api.v2.PermissionsByVi case: "machine"; } | { /** - * InfraPermissions carries infra method permissions + * InfraPermissions carries infra method permissions. * * @generated from field: metalstack.api.v2.InfraPermissions infra = 7; */ @@ -295,13 +294,13 @@ export type PermissionsByVisibility = Message<"metalstack.api.v2.PermissionsByVi */ export declare const PermissionsByVisibilitySchema: GenMessage; /** - * PublicPermissions carries public method permissions + * PublicPermissions carries public method permissions. * * @generated from message metalstack.api.v2.PublicPermissions */ export type PublicPermissions = Message<"metalstack.api.v2.PublicPermissions"> & { /** - * Methods which should be accessible + * Methods which should be accessible. * * @generated from field: repeated string methods = 2; */ @@ -313,13 +312,13 @@ export type PublicPermissions = Message<"metalstack.api.v2.PublicPermissions"> & */ export declare const PublicPermissionsSchema: GenMessage; /** - * SelfPermissions carries self method permissions + * SelfPermissions carries self method permissions. * * @generated from message metalstack.api.v2.SelfPermissions */ export type SelfPermissions = Message<"metalstack.api.v2.SelfPermissions"> & { /** - * Methods which should be accessible + * Methods which should be accessible. * * @generated from field: repeated string methods = 2; */ @@ -331,19 +330,20 @@ export type SelfPermissions = Message<"metalstack.api.v2.SelfPermissions"> & { */ export declare const SelfPermissionsSchema: GenMessage; /** - * ProjectPermissions carries project method permissions + * ProjectPermissions carries project method permissions. * * @generated from message metalstack.api.v2.ProjectPermissions */ export type ProjectPermissions = Message<"metalstack.api.v2.ProjectPermissions"> & { /** - * asterisk (*) can be specified to match any subject + * Project scope for the permissions. + * Asterisk (*) can be specified to match any subject. * * @generated from field: string project = 1; */ project: string; /** - * Methods which should be accessible + * Methods which should be accessible. * * @generated from field: repeated string methods = 2; */ @@ -355,20 +355,20 @@ export type ProjectPermissions = Message<"metalstack.api.v2.ProjectPermissions"> */ export declare const ProjectPermissionsSchema: GenMessage; /** - * TenantPermissions carries tenant method permissions + * TenantPermissions carries tenant method permissions. * * @generated from message metalstack.api.v2.TenantPermissions */ export type TenantPermissions = Message<"metalstack.api.v2.TenantPermissions"> & { /** - * Login of the tenant - * asterisk (*) can be specified to match any subject + * Login of the tenant. + * Asterisk (*) can be specified to match any subject. * * @generated from field: string login = 1; */ login: string; /** - * Methods which should be accessible + * Methods which should be accessible. * * @generated from field: repeated string methods = 2; */ @@ -380,13 +380,13 @@ export type TenantPermissions = Message<"metalstack.api.v2.TenantPermissions"> & */ export declare const TenantPermissionsSchema: GenMessage; /** - * AdminPermissions carries admin method permissions + * AdminPermissions carries admin method permissions. * * @generated from message metalstack.api.v2.AdminPermissions */ export type AdminPermissions = Message<"metalstack.api.v2.AdminPermissions"> & { /** - * Methods which should be accessible + * Methods which should be accessible. * * @generated from field: repeated string methods = 2; */ @@ -398,20 +398,20 @@ export type AdminPermissions = Message<"metalstack.api.v2.AdminPermissions"> & { */ export declare const AdminPermissionsSchema: GenMessage; /** - * MachinePermissions carries machine method permissions + * MachinePermissions carries machine method permissions. * * @generated from message metalstack.api.v2.MachinePermissions */ export type MachinePermissions = Message<"metalstack.api.v2.MachinePermissions"> & { /** - * UUID of this machine - * asterisk (*) can be specified to match any subject + * UUID of this machine. + * Asterisk (*) can be specified to match any subject. * * @generated from field: string uuid = 1; */ uuid: string; /** - * Methods which should be accessible + * Methods which should be accessible. * * @generated from field: repeated string methods = 2; */ @@ -423,13 +423,13 @@ export type MachinePermissions = Message<"metalstack.api.v2.MachinePermissions"> */ export declare const MachinePermissionsSchema: GenMessage; /** - * InfraPermissions carries infra method permissions + * InfraPermissions carries infra method permissions. * * @generated from message metalstack.api.v2.InfraPermissions */ export type InfraPermissions = Message<"metalstack.api.v2.InfraPermissions"> & { /** - * Methods which should be accessible + * Methods which should be accessible. * * @generated from field: repeated string methods = 2; */ @@ -441,19 +441,19 @@ export type InfraPermissions = Message<"metalstack.api.v2.InfraPermissions"> & { */ export declare const InfraPermissionsSchema: GenMessage; /** - * TokenServiceCreateResponse is the response payload of a token create request + * TokenServiceCreateResponse is the response payload of a token create request. * * @generated from message metalstack.api.v2.TokenServiceCreateResponse */ export type TokenServiceCreateResponse = Message<"metalstack.api.v2.TokenServiceCreateResponse"> & { /** - * Token which was created + * Token which was created. * * @generated from field: metalstack.api.v2.Token token = 1; */ token?: Token | undefined; /** - * Secret is the body of the JWT token, should be used in API requests as bearer token + * Secret is the body of the JWT token, should be used in API requests as bearer token. * * @generated from field: string secret = 2; */ @@ -465,13 +465,13 @@ export type TokenServiceCreateResponse = Message<"metalstack.api.v2.TokenService */ export declare const TokenServiceCreateResponseSchema: GenMessage; /** - * TokenServiceListRequest is the request payload to list tokens + * TokenServiceListRequest is the request payload to list tokens. * * @generated from message metalstack.api.v2.TokenServiceListRequest */ export type TokenServiceListRequest = Message<"metalstack.api.v2.TokenServiceListRequest"> & { /** - * Query for tokens + * Query for tokens. * * @generated from field: metalstack.api.v2.TokenQuery query = 1; */ @@ -483,13 +483,13 @@ export type TokenServiceListRequest = Message<"metalstack.api.v2.TokenServiceLis */ export declare const TokenServiceListRequestSchema: GenMessage; /** - * TokenServiceListResponse is the response payload of a token list request + * TokenServiceListResponse is the response payload of a token list request. * * @generated from message metalstack.api.v2.TokenServiceListResponse */ export type TokenServiceListResponse = Message<"metalstack.api.v2.TokenServiceListResponse"> & { /** - * Tokens is a list of tokens without the secrets + * Tokens is a list of tokens without the secrets. * * @generated from field: repeated metalstack.api.v2.Token tokens = 1; */ @@ -501,13 +501,13 @@ export type TokenServiceListResponse = Message<"metalstack.api.v2.TokenServiceLi */ export declare const TokenServiceListResponseSchema: GenMessage; /** - * TokenServiceRevokeRequest is the request payload of a token revoke request + * TokenServiceRevokeRequest is the request payload of a token revoke request. * * @generated from message metalstack.api.v2.TokenServiceRevokeRequest */ export type TokenServiceRevokeRequest = Message<"metalstack.api.v2.TokenServiceRevokeRequest"> & { /** - * Uuid of the token to revoke + * Uuid of the token to revoke. * * @generated from field: string uuid = 1; */ @@ -519,7 +519,7 @@ export type TokenServiceRevokeRequest = Message<"metalstack.api.v2.TokenServiceR */ export declare const TokenServiceRevokeRequestSchema: GenMessage; /** - * TokenServiceRevokeResponse is the response payload of a token revoke request + * TokenServiceRevokeResponse is the response payload of a token revoke request. * * @generated from message metalstack.api.v2.TokenServiceRevokeResponse */ @@ -530,20 +530,20 @@ export type TokenServiceRevokeResponse = Message<"metalstack.api.v2.TokenService */ export declare const TokenServiceRevokeResponseSchema: GenMessage; /** - * TokenServiceUpdateRequest is the request payload of a token update request + * TokenServiceUpdateRequest is the request payload of a token update request. * * @generated from message metalstack.api.v2.TokenServiceUpdateRequest */ export type TokenServiceUpdateRequest = Message<"metalstack.api.v2.TokenServiceUpdateRequest"> & { /** - * Uuid of the token to update + * Uuid of the token to update. * * @generated from field: string uuid = 1; */ uuid: string; /** - * UpdateMeta contains the timestamp and strategy to be used in this update request - * TokenUpdate is not guarded with optlock in the backend + * UpdateMeta contains the timestamp and strategy to be used in this update request. + * TokenUpdate is not guarded with optlock in the backend. * * @generated from field: metalstack.api.v2.UpdateMeta update_meta = 2; */ @@ -555,13 +555,13 @@ export type TokenServiceUpdateRequest = Message<"metalstack.api.v2.TokenServiceU */ description?: string | undefined; /** - * Permissions is a list of service methods this token can be used for + * Permissions is a list of service methods this token can be used for. * * @generated from field: repeated metalstack.api.v2.PermissionsByVisibility permissions = 4; */ permissions: PermissionsByVisibility[]; /** - * ProjectRoles associates a project id with the corresponding role of the token owner + * ProjectRoles associates a project id with the corresponding role of the token owner. * * @generated from field: map project_roles = 5; */ @@ -569,7 +569,7 @@ export type TokenServiceUpdateRequest = Message<"metalstack.api.v2.TokenServiceU [key: string]: ProjectRole; }; /** - * TenantRoles associates a tenant id with the corresponding role of the token owner + * TenantRoles associates a tenant id with the corresponding role of the token owner. * * @generated from field: map tenant_roles = 6; */ @@ -577,19 +577,19 @@ export type TokenServiceUpdateRequest = Message<"metalstack.api.v2.TokenServiceU [key: string]: TenantRole; }; /** - * AdminRole defines the admin role of the token owner + * AdminRole defines the admin role of the token owner. * * @generated from field: optional metalstack.api.v2.AdminRole admin_role = 7; */ adminRole?: AdminRole | undefined; /** - * InfraRole defines the infrastructure role of the token owner + * InfraRole defines the infrastructure role of the token owner. * * @generated from field: optional metalstack.api.v2.InfraRole infra_role = 8; */ infraRole?: InfraRole | undefined; /** - * MachineRoles associates a machine uuid with the corresponding role of the token owner + * MachineRoles associates a machine uuid with the corresponding role of the token owner. * * @generated from field: map machine_roles = 9; */ @@ -597,7 +597,7 @@ export type TokenServiceUpdateRequest = Message<"metalstack.api.v2.TokenServiceU [key: string]: MachineRole; }; /** - * Labels on this token + * Labels on this token. * * @generated from field: metalstack.api.v2.UpdateLabels labels = 10; */ @@ -609,13 +609,13 @@ export type TokenServiceUpdateRequest = Message<"metalstack.api.v2.TokenServiceU */ export declare const TokenServiceUpdateRequestSchema: GenMessage; /** - * TokenServiceUpdateResponse is the response payload of a token update request + * TokenServiceUpdateResponse is the response payload of a token update request. * * @generated from message metalstack.api.v2.TokenServiceUpdateResponse */ export type TokenServiceUpdateResponse = Message<"metalstack.api.v2.TokenServiceUpdateResponse"> & { /** - * Token is the updated token + * Token is the updated token. * * @generated from field: metalstack.api.v2.Token token = 1; */ @@ -627,13 +627,13 @@ export type TokenServiceUpdateResponse = Message<"metalstack.api.v2.TokenService */ export declare const TokenServiceUpdateResponseSchema: GenMessage; /** - * TokenServiceGetRequest is the request payload of a token get request + * TokenServiceGetRequest is the request payload of a token get request. * * @generated from message metalstack.api.v2.TokenServiceGetRequest */ export type TokenServiceGetRequest = Message<"metalstack.api.v2.TokenServiceGetRequest"> & { /** - * Uuid of the token to get + * Uuid of the token to get. * * @generated from field: string uuid = 1; */ @@ -645,13 +645,13 @@ export type TokenServiceGetRequest = Message<"metalstack.api.v2.TokenServiceGetR */ export declare const TokenServiceGetRequestSchema: GenMessage; /** - * TokenServiceGetResponse is the response payload of a token get request + * TokenServiceGetResponse is the response payload of a token get request. * * @generated from message metalstack.api.v2.TokenServiceGetResponse */ export type TokenServiceGetResponse = Message<"metalstack.api.v2.TokenServiceGetResponse"> & { /** - * Token is the token + * Token is the token. * * @generated from field: metalstack.api.v2.Token token = 1; */ @@ -663,9 +663,9 @@ export type TokenServiceGetResponse = Message<"metalstack.api.v2.TokenServiceGet */ export declare const TokenServiceGetResponseSchema: GenMessage; /** - * TokenServiceRefreshRequest is the request payload of a token refresh request + * 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) + * The expiration duration will be calculated from the existing token (exp - iat). * * @generated from message metalstack.api.v2.TokenServiceRefreshRequest */ @@ -676,19 +676,19 @@ export type TokenServiceRefreshRequest = Message<"metalstack.api.v2.TokenService */ export declare const TokenServiceRefreshRequestSchema: GenMessage; /** - * TokenServiceRefreshResponse is the response payload of a token refresh request + * TokenServiceRefreshResponse is the response payload of a token refresh request. * * @generated from message metalstack.api.v2.TokenServiceRefreshResponse */ export type TokenServiceRefreshResponse = Message<"metalstack.api.v2.TokenServiceRefreshResponse"> & { /** - * Token which was refreshed + * Token which was refreshed. * * @generated from field: metalstack.api.v2.Token token = 1; */ token?: Token | undefined; /** - * Secret is the body of the JWT token, should be used in API requests as bearer token + * Secret is the body of the JWT token, should be used in API requests as bearer token. * * @generated from field: string secret = 2; */ @@ -700,38 +700,38 @@ export type TokenServiceRefreshResponse = Message<"metalstack.api.v2.TokenServic */ export declare const TokenServiceRefreshResponseSchema: GenMessage; /** - * TokenQuery is used to search tokens + * TokenQuery is used to search tokens. * * @generated from message metalstack.api.v2.TokenQuery */ export type TokenQuery = Message<"metalstack.api.v2.TokenQuery"> & { /** - * UUID of the token to get + * UUID of the token to get. * * @generated from field: optional string uuid = 1; */ uuid?: string | undefined; /** - * Name of the token user to query + * Name of the token user to query. * Only useful for admins. * * @generated from field: optional string user = 2; */ user?: string | undefined; /** - * Description of the token to query + * Description of the token to query. * * @generated from field: optional string description = 3; */ description?: string | undefined; /** - * Labels lists only tokens containing the given labels + * Labels lists only tokens containing the given labels. * * @generated from field: optional metalstack.api.v2.Labels labels = 4; */ labels?: Labels | undefined; /** - * Token type of the token to query + * Token type of the token to query. * * @generated from field: optional metalstack.api.v2.TokenType token_type = 5; */ @@ -743,19 +743,19 @@ export type TokenQuery = Message<"metalstack.api.v2.TokenQuery"> & { */ export declare const TokenQuerySchema: GenMessage; /** - * TokenType specifies different use cases of tokens + * TokenType specifies different use cases of tokens. * * @generated from enum metalstack.api.v2.TokenType */ export declare enum TokenType { /** - * TOKEN_TYPE_UNSPECIFIED is not specified + * TOKEN_TYPE_UNSPECIFIED is not specified. * * @generated from enum value: TOKEN_TYPE_UNSPECIFIED = 0; */ UNSPECIFIED = 0, /** - * TOKEN_TYPE_API is a token for api usage + * TOKEN_TYPE_API is a token for api usage. * * @generated from enum value: TOKEN_TYPE_API = 1; */ diff --git a/js/metalstack/api/v2/token_pb.js b/js/metalstack/api/v2/token_pb.js index 75a25155..0f66c02a 100644 --- a/js/metalstack/api/v2/token_pb.js +++ b/js/metalstack/api/v2/token_pb.js @@ -126,20 +126,20 @@ export const TokenServiceRefreshResponseSchema = /*@__PURE__*/ messageDesc(file_ */ export const TokenQuerySchema = /*@__PURE__*/ messageDesc(file_metalstack_api_v2_token, 22); /** - * TokenType specifies different use cases of tokens + * TokenType specifies different use cases of tokens. * * @generated from enum metalstack.api.v2.TokenType */ export var TokenType; (function (TokenType) { /** - * TOKEN_TYPE_UNSPECIFIED is not specified + * TOKEN_TYPE_UNSPECIFIED is not specified. * * @generated from enum value: TOKEN_TYPE_UNSPECIFIED = 0; */ TokenType[TokenType["UNSPECIFIED"] = 0] = "UNSPECIFIED"; /** - * TOKEN_TYPE_API is a token for api usage + * TOKEN_TYPE_API is a token for api usage. * * @generated from enum value: TOKEN_TYPE_API = 1; */ diff --git a/js/metalstack/api/v2/token_pb.ts b/js/metalstack/api/v2/token_pb.ts index dfe626f7..17021392 100644 --- a/js/metalstack/api/v2/token_pb.ts +++ b/js/metalstack/api/v2/token_pb.ts @@ -19,12 +19,12 @@ export const file_metalstack_api_v2_token: GenFile = /*@__PURE__*/ fileDesc("Ch1tZXRhbHN0YWNrL2FwaS92Mi90b2tlbi5wcm90bxIRbWV0YWxzdGFjay5hcGkudjIilQgKBVRva2VuEhYKBHV1aWQYASABKAlCCLpIBXIDsAEBEhkKBHVzZXIYAiABKAlCC7pICHIG+LOusQIBEiUKBG1ldGEYAyABKAsyFy5tZXRhbHN0YWNrLmFwaS52Mi5NZXRhEiAKC2Rlc2NyaXB0aW9uGAQgASgJQgu6SAhyBsizrrECARJDCgtwZXJtaXNzaW9ucxgFIAMoCzIjLm1ldGFsc3RhY2suYXBpLnYyLk1ldGhvZFBlcm1pc3Npb25CCbpIBpIBAxD0AxIrCgdleHBpcmVzGAYgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBItCglpc3N1ZWRfYXQYByABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wEjoKCnRva2VuX3R5cGUYCCABKA4yHC5tZXRhbHN0YWNrLmFwaS52Mi5Ub2tlblR5cGVCCLpIBYIBAhABElwKDXByb2plY3Rfcm9sZXMYCSADKAsyKi5tZXRhbHN0YWNrLmFwaS52Mi5Ub2tlbi5Qcm9qZWN0Um9sZXNFbnRyeUIZukgWmgETwJW4sQIByJW4sQIBKgWCAQIQARJaCgx0ZW5hbnRfcm9sZXMYCiADKAsyKS5tZXRhbHN0YWNrLmFwaS52Mi5Ub2tlbi5UZW5hbnRSb2xlc0VudHJ5Qhm6SBaaARPAlbixAgHQlbixAgEqBYIBAhABEj8KCmFkbWluX3JvbGUYCyABKA4yHC5tZXRhbHN0YWNrLmFwaS52Mi5BZG1pblJvbGVCCLpIBYIBAhABSACIAQESPwoKaW5mcmFfcm9sZRgMIAEoDjIcLm1ldGFsc3RhY2suYXBpLnYyLkluZnJhUm9sZUIIukgFggECEAFIAYgBARJcCg1tYWNoaW5lX3JvbGVzGA0gAygLMioubWV0YWxzdGFjay5hcGkudjIuVG9rZW4uTWFjaGluZVJvbGVzRW50cnlCGbpIFpoBE8CVuLECAdiVuLECASoFggECEAEaUwoRUHJvamVjdFJvbGVzRW50cnkSCwoDa2V5GAEgASgJEi0KBXZhbHVlGAIgASgOMh4ubWV0YWxzdGFjay5hcGkudjIuUHJvamVjdFJvbGU6AjgBGlEKEFRlbmFudFJvbGVzRW50cnkSCwoDa2V5GAEgASgJEiwKBXZhbHVlGAIgASgOMh0ubWV0YWxzdGFjay5hcGkudjIuVGVuYW50Um9sZToCOAEaUwoRTWFjaGluZVJvbGVzRW50cnkSCwoDa2V5GAEgASgJEi0KBXZhbHVlGAIgASgOMh4ubWV0YWxzdGFjay5hcGkudjIuTWFjaGluZVJvbGU6AjgBQg0KC19hZG1pbl9yb2xlQg0KC19pbmZyYV9yb2xlIuQHChlUb2tlblNlcnZpY2VDcmVhdGVSZXF1ZXN0EiAKC2Rlc2NyaXB0aW9uGAEgASgJQgu6SAhyBsizrrECARJJCgtwZXJtaXNzaW9ucxgCIAMoCzIqLm1ldGFsc3RhY2suYXBpLnYyLlBlcm1pc3Npb25zQnlWaXNpYmlsaXR5Qgi6SAWSAQIQZBI+CgdleHBpcmVzGAMgASgLMhkuZ29vZ2xlLnByb3RvYnVmLkR1cmF0aW9uQhK6SA+qAQwaBQiB54QPMgMI2AQScAoNcHJvamVjdF9yb2xlcxgEIAMoCzI+Lm1ldGFsc3RhY2suYXBpLnYyLlRva2VuU2VydmljZUNyZWF0ZVJlcXVlc3QuUHJvamVjdFJvbGVzRW50cnlCGbpIFpoBE8CVuLECAciVuLECASoFggECEAESbgoMdGVuYW50X3JvbGVzGAUgAygLMj0ubWV0YWxzdGFjay5hcGkudjIuVG9rZW5TZXJ2aWNlQ3JlYXRlUmVxdWVzdC5UZW5hbnRSb2xlc0VudHJ5Qhm6SBaaARPAlbixAgHQlbixAgEqBYIBAhABEj8KCmFkbWluX3JvbGUYBiABKA4yHC5tZXRhbHN0YWNrLmFwaS52Mi5BZG1pblJvbGVCCLpIBYIBAhABSACIAQESPwoKaW5mcmFfcm9sZRgHIAEoDjIcLm1ldGFsc3RhY2suYXBpLnYyLkluZnJhUm9sZUIIukgFggECEAFIAYgBARJwCg1tYWNoaW5lX3JvbGVzGAggAygLMj4ubWV0YWxzdGFjay5hcGkudjIuVG9rZW5TZXJ2aWNlQ3JlYXRlUmVxdWVzdC5NYWNoaW5lUm9sZXNFbnRyeUIZukgWmgETwJW4sQIB2JW4sQIBKgWCAQIQARIpCgZsYWJlbHMYCSABKAsyGS5tZXRhbHN0YWNrLmFwaS52Mi5MYWJlbHMaUwoRUHJvamVjdFJvbGVzRW50cnkSCwoDa2V5GAEgASgJEi0KBXZhbHVlGAIgASgOMh4ubWV0YWxzdGFjay5hcGkudjIuUHJvamVjdFJvbGU6AjgBGlEKEFRlbmFudFJvbGVzRW50cnkSCwoDa2V5GAEgASgJEiwKBXZhbHVlGAIgASgOMh0ubWV0YWxzdGFjay5hcGkudjIuVGVuYW50Um9sZToCOAEaUwoRTWFjaGluZVJvbGVzRW50cnkSCwoDa2V5GAEgASgJEi0KBXZhbHVlGAIgASgOMh4ubWV0YWxzdGFjay5hcGkudjIuTWFjaGluZVJvbGU6AjgBQg0KC19hZG1pbl9yb2xlQg0KC19pbmZyYV9yb2xlIkkKEE1ldGhvZFBlcm1pc3Npb24SGQoHc3ViamVjdBgBIAEoCUIIukgFcgMYgAISGgoHbWV0aG9kcxgCIAMoCUIJukgGkgEDEPQDIqsDChdQZXJtaXNzaW9uc0J5VmlzaWJpbGl0eRI2CgZwdWJsaWMYASABKAsyJC5tZXRhbHN0YWNrLmFwaS52Mi5QdWJsaWNQZXJtaXNzaW9uc0gAEjIKBHNlbGYYAiABKAsyIi5tZXRhbHN0YWNrLmFwaS52Mi5TZWxmUGVybWlzc2lvbnNIABI4Cgdwcm9qZWN0GAMgASgLMiUubWV0YWxzdGFjay5hcGkudjIuUHJvamVjdFBlcm1pc3Npb25zSAASNgoGdGVuYW50GAQgASgLMiQubWV0YWxzdGFjay5hcGkudjIuVGVuYW50UGVybWlzc2lvbnNIABI0CgVhZG1pbhgFIAEoCzIjLm1ldGFsc3RhY2suYXBpLnYyLkFkbWluUGVybWlzc2lvbnNIABI4CgdtYWNoaW5lGAYgASgLMiUubWV0YWxzdGFjay5hcGkudjIuTWFjaGluZVBlcm1pc3Npb25zSAASNAoFaW5mcmEYByABKAsyIy5tZXRhbHN0YWNrLmFwaS52Mi5JbmZyYVBlcm1pc3Npb25zSABCDAoKdmlzaWJpbGl0eSIvChFQdWJsaWNQZXJtaXNzaW9ucxIaCgdtZXRob2RzGAIgAygJQgm6SAaSAQMQ9AMiLQoPU2VsZlBlcm1pc3Npb25zEhoKB21ldGhvZHMYAiADKAlCCbpIBpIBAxD0AyJOChJQcm9qZWN0UGVybWlzc2lvbnMSHAoHcHJvamVjdBgBIAEoCUILukgIcgagtK6xAgESGgoHbWV0aG9kcxgCIAMoCUIJukgGkgEDEPQDIksKEVRlbmFudFBlcm1pc3Npb25zEhoKBWxvZ2luGAEgASgJQgu6SAhyBpi0rrECARIaCgdtZXRob2RzGAIgAygJQgm6SAaSAQMQ9AMiLgoQQWRtaW5QZXJtaXNzaW9ucxIaCgdtZXRob2RzGAIgAygJQgm6SAaSAQMQ9AMiSwoSTWFjaGluZVBlcm1pc3Npb25zEhkKBHV1aWQYASABKAlCC7pICHIGqLSusQIBEhoKB21ldGhvZHMYAiADKAlCCbpIBpIBAxD0AyIuChBJbmZyYVBlcm1pc3Npb25zEhoKB21ldGhvZHMYAiADKAlCCbpIBpIBAxD0AyJVChpUb2tlblNlcnZpY2VDcmVhdGVSZXNwb25zZRInCgV0b2tlbhgBIAEoCzIYLm1ldGFsc3RhY2suYXBpLnYyLlRva2VuEg4KBnNlY3JldBgCIAEoCSJHChdUb2tlblNlcnZpY2VMaXN0UmVxdWVzdBIsCgVxdWVyeRgBIAEoCzIdLm1ldGFsc3RhY2suYXBpLnYyLlRva2VuUXVlcnkiRAoYVG9rZW5TZXJ2aWNlTGlzdFJlc3BvbnNlEigKBnRva2VucxgBIAMoCzIYLm1ldGFsc3RhY2suYXBpLnYyLlRva2VuIjMKGVRva2VuU2VydmljZVJldm9rZVJlcXVlc3QSFgoEdXVpZBgBIAEoCUIIukgFcgOwAQEiHAoaVG9rZW5TZXJ2aWNlUmV2b2tlUmVzcG9uc2UiiQgKGVRva2VuU2VydmljZVVwZGF0ZVJlcXVlc3QSFgoEdXVpZBgBIAEoCUIIukgFcgOwAQESOgoLdXBkYXRlX21ldGEYAiABKAsyHS5tZXRhbHN0YWNrLmFwaS52Mi5VcGRhdGVNZXRhQga6SAPIAQASJQoLZGVzY3JpcHRpb24YAyABKAlCC7pICHIGyLOusQIBSACIAQESPwoLcGVybWlzc2lvbnMYBCADKAsyKi5tZXRhbHN0YWNrLmFwaS52Mi5QZXJtaXNzaW9uc0J5VmlzaWJpbGl0eRJwCg1wcm9qZWN0X3JvbGVzGAUgAygLMj4ubWV0YWxzdGFjay5hcGkudjIuVG9rZW5TZXJ2aWNlVXBkYXRlUmVxdWVzdC5Qcm9qZWN0Um9sZXNFbnRyeUIZukgWmgETwJW4sQIByJW4sQIBKgWCAQIQARJuCgx0ZW5hbnRfcm9sZXMYBiADKAsyPS5tZXRhbHN0YWNrLmFwaS52Mi5Ub2tlblNlcnZpY2VVcGRhdGVSZXF1ZXN0LlRlbmFudFJvbGVzRW50cnlCGbpIFpoBE8CVuLECAdCVuLECASoFggECEAESPwoKYWRtaW5fcm9sZRgHIAEoDjIcLm1ldGFsc3RhY2suYXBpLnYyLkFkbWluUm9sZUIIukgFggECEAFIAYgBARI/CgppbmZyYV9yb2xlGAggASgOMhwubWV0YWxzdGFjay5hcGkudjIuSW5mcmFSb2xlQgi6SAWCAQIQAUgCiAEBEnAKDW1hY2hpbmVfcm9sZXMYCSADKAsyPi5tZXRhbHN0YWNrLmFwaS52Mi5Ub2tlblNlcnZpY2VVcGRhdGVSZXF1ZXN0Lk1hY2hpbmVSb2xlc0VudHJ5Qhm6SBaaARPAlbixAgHYlbixAgEqBYIBAhABEi8KBmxhYmVscxgKIAEoCzIfLm1ldGFsc3RhY2suYXBpLnYyLlVwZGF0ZUxhYmVscxpTChFQcm9qZWN0Um9sZXNFbnRyeRILCgNrZXkYASABKAkSLQoFdmFsdWUYAiABKA4yHi5tZXRhbHN0YWNrLmFwaS52Mi5Qcm9qZWN0Um9sZToCOAEaUQoQVGVuYW50Um9sZXNFbnRyeRILCgNrZXkYASABKAkSLAoFdmFsdWUYAiABKA4yHS5tZXRhbHN0YWNrLmFwaS52Mi5UZW5hbnRSb2xlOgI4ARpTChFNYWNoaW5lUm9sZXNFbnRyeRILCgNrZXkYASABKAkSLQoFdmFsdWUYAiABKA4yHi5tZXRhbHN0YWNrLmFwaS52Mi5NYWNoaW5lUm9sZToCOAFCDgoMX2Rlc2NyaXB0aW9uQg0KC19hZG1pbl9yb2xlQg0KC19pbmZyYV9yb2xlIkUKGlRva2VuU2VydmljZVVwZGF0ZVJlc3BvbnNlEicKBXRva2VuGAEgASgLMhgubWV0YWxzdGFjay5hcGkudjIuVG9rZW4iMAoWVG9rZW5TZXJ2aWNlR2V0UmVxdWVzdBIWCgR1dWlkGAEgASgJQgi6SAVyA7ABASJCChdUb2tlblNlcnZpY2VHZXRSZXNwb25zZRInCgV0b2tlbhgBIAEoCzIYLm1ldGFsc3RhY2suYXBpLnYyLlRva2VuIhwKGlRva2VuU2VydmljZVJlZnJlc2hSZXF1ZXN0IlYKG1Rva2VuU2VydmljZVJlZnJlc2hSZXNwb25zZRInCgV0b2tlbhgBIAEoCzIYLm1ldGFsc3RhY2suYXBpLnYyLlRva2VuEg4KBnNlY3JldBgCIAEoCSKdAgoKVG9rZW5RdWVyeRIbCgR1dWlkGAEgASgJQgi6SAVyA7ABAUgAiAEBEh4KBHVzZXIYAiABKAlCC7pICHIG+LOusQIBSAGIAQESJQoLZGVzY3JpcHRpb24YAyABKAlCC7pICHIGyLOusQIBSAKIAQESLgoGbGFiZWxzGAQgASgLMhkubWV0YWxzdGFjay5hcGkudjIuTGFiZWxzSAOIAQESPwoKdG9rZW5fdHlwZRgFIAEoDjIcLm1ldGFsc3RhY2suYXBpLnYyLlRva2VuVHlwZUIIukgFggECEAFIBIgBAUIHCgVfdXVpZEIHCgVfdXNlckIOCgxfZGVzY3JpcHRpb25CCQoHX2xhYmVsc0INCgtfdG9rZW5fdHlwZSpQCglUb2tlblR5cGUSGgoWVE9LRU5fVFlQRV9VTlNQRUNJRklFRBAAEhIKDlRPS0VOX1RZUEVfQVBJEAESEwoPVE9LRU5fVFlQRV9VU0VSEAIyqAUKDFRva2VuU2VydmljZRJmCgNHZXQSKS5tZXRhbHN0YWNrLmFwaS52Mi5Ub2tlblNlcnZpY2VHZXRSZXF1ZXN0GioubWV0YWxzdGFjay5hcGkudjIuVG9rZW5TZXJ2aWNlR2V0UmVzcG9uc2UiCNjzGALg8xgBEm8KBkNyZWF0ZRIsLm1ldGFsc3RhY2suYXBpLnYyLlRva2VuU2VydmljZUNyZWF0ZVJlcXVlc3QaLS5tZXRhbHN0YWNrLmFwaS52Mi5Ub2tlblNlcnZpY2VDcmVhdGVSZXNwb25zZSII2PMYAuDzGAESbwoGVXBkYXRlEiwubWV0YWxzdGFjay5hcGkudjIuVG9rZW5TZXJ2aWNlVXBkYXRlUmVxdWVzdBotLm1ldGFsc3RhY2suYXBpLnYyLlRva2VuU2VydmljZVVwZGF0ZVJlc3BvbnNlIgjY8xgC4PMYARJpCgRMaXN0EioubWV0YWxzdGFjay5hcGkudjIuVG9rZW5TZXJ2aWNlTGlzdFJlcXVlc3QaKy5tZXRhbHN0YWNrLmFwaS52Mi5Ub2tlblNlcnZpY2VMaXN0UmVzcG9uc2UiCNjzGALg8xgBEm8KBlJldm9rZRIsLm1ldGFsc3RhY2suYXBpLnYyLlRva2VuU2VydmljZVJldm9rZVJlcXVlc3QaLS5tZXRhbHN0YWNrLmFwaS52Mi5Ub2tlblNlcnZpY2VSZXZva2VSZXNwb25zZSII2PMYAuDzGAEScgoHUmVmcmVzaBItLm1ldGFsc3RhY2suYXBpLnYyLlRva2VuU2VydmljZVJlZnJlc2hSZXF1ZXN0Gi4ubWV0YWxzdGFjay5hcGkudjIuVG9rZW5TZXJ2aWNlUmVmcmVzaFJlc3BvbnNlIgjY8xgC4PMYAULAAQoVY29tLm1ldGFsc3RhY2suYXBpLnYyQgpUb2tlblByb3RvUAFaNWdpdGh1Yi5jb20vbWV0YWwtc3RhY2svYXBpL2dvL21ldGFsc3RhY2svYXBpL3YyO2FwaXYyogIDTUFYqgIRTWV0YWxzdGFjay5BcGkuVjLKAhFNZXRhbHN0YWNrXEFwaVxWMuICHU1ldGFsc3RhY2tcQXBpXFYyXEdQQk1ldGFkYXRh6gITTWV0YWxzdGFjazo6QXBpOjpWMmIGcHJvdG8z", [file_buf_validate_validate, file_google_protobuf_duration, file_google_protobuf_timestamp, file_metalstack_api_v2_common, file_metalstack_api_v2_predefined_rules]); /** - * Token generates a jwt authentication token to access the api + * Token generates a jwt authentication token to access the api. * - * There are two different types of tokens, api- and user- tokens + * 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 + * 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. @@ -32,27 +32,27 @@ export const file_metalstack_api_v2_token: GenFile = /*@__PURE__*/ * 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. * - * Message level validation, can be developed using https://protovalidate.com/playground + * Message level validation, can be developed using https://protovalidate.com/playground. * * @generated from message metalstack.api.v2.Token */ export type Token = Message<"metalstack.api.v2.Token"> & { /** - * Uuid of the jwt token, used to reference it by revoke + * Uuid of the jwt token, used to reference it by revoke. * * @generated from field: string uuid = 1; */ uuid: string; /** - * User who created this token + * User who created this token. * * @generated from field: string user = 2; */ user: string; /** - * Meta for this token + * Meta for this token. * * @generated from field: metalstack.api.v2.Meta meta = 3; */ @@ -66,64 +66,64 @@ export type Token = Message<"metalstack.api.v2.Token"> & { description: string; /** - * Permissions is a list of service methods this token can be used for + * Permissions is a list of service methods this token can be used for. * * @generated from field: repeated metalstack.api.v2.MethodPermission permissions = 5; */ permissions: MethodPermission[]; /** - * Expires gives the date in the future after which this token can not be used anymore + * Expires gives the date in the future after which this token can not be used anymore. * * @generated from field: google.protobuf.Timestamp expires = 6; */ expires?: Timestamp | undefined; /** - * IssuedAt gives the date when this token was created + * IssuedAt gives the date when this token was created. * * @generated from field: google.protobuf.Timestamp issued_at = 7; */ issuedAt?: Timestamp | undefined; /** - * TokenType describes the type of this token + * TokenType describes the type of this token. * * @generated from field: metalstack.api.v2.TokenType token_type = 8; */ tokenType: TokenType; /** - * ProjectRoles associates a project id with the corresponding role of the token owner + * ProjectRoles associates a project id with the corresponding role of the token owner. * * @generated from field: map project_roles = 9; */ projectRoles: { [key: string]: ProjectRole }; /** - * TenantRoles associates a tenant id with the corresponding role of the token owner + * TenantRoles associates a tenant id with the corresponding role of the token owner. * * @generated from field: map tenant_roles = 10; */ tenantRoles: { [key: string]: TenantRole }; /** - * AdminRole defines the admin role of the token owner + * AdminRole defines the admin role of the token owner. * * @generated from field: optional metalstack.api.v2.AdminRole admin_role = 11; */ adminRole?: AdminRole | undefined; /** - * InfraRole defines the infrastructure role of the token owner + * InfraRole defines the infrastructure role of the token owner. * * @generated from field: optional metalstack.api.v2.InfraRole infra_role = 12; */ infraRole?: InfraRole | undefined; /** - * 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 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. * * @generated from field: map machine_roles = 13; */ @@ -138,69 +138,69 @@ export const TokenSchema: GenMessage = /*@__PURE__*/ messageDesc(file_metalstack_api_v2_token, 0); /** - * TokenServiceCreateRequest is the request payload to create a token + * TokenServiceCreateRequest is the request payload to create a token. * * @generated from message metalstack.api.v2.TokenServiceCreateRequest */ export type TokenServiceCreateRequest = Message<"metalstack.api.v2.TokenServiceCreateRequest"> & { /** - * Description of the token + * Description of the token. * * @generated from field: string description = 1; */ description: string; /** - * Permissions is a list of service methods this token can be used for + * Permissions is a list of service methods this token can be used for. * * @generated from field: repeated metalstack.api.v2.PermissionsByVisibility permissions = 2; */ permissions: PermissionsByVisibility[]; /** - * Expires gives the duration since now, after which this token can not be used anymore + * Expires gives the duration since now, after which this token can not be used anymore. * * @generated from field: google.protobuf.Duration expires = 3; */ expires?: Duration | undefined; /** - * ProjectRoles associates a project id with the corresponding role of the token owner + * ProjectRoles associates a project id with the corresponding role of the token owner. * * @generated from field: map project_roles = 4; */ projectRoles: { [key: string]: ProjectRole }; /** - * TenantRoles associates a tenant id with the corresponding role of the token owner + * TenantRoles associates a tenant id with the corresponding role of the token owner. * * @generated from field: map tenant_roles = 5; */ tenantRoles: { [key: string]: TenantRole }; /** - * AdminRole defines the admin role of the token owner + * AdminRole defines the admin role of the token owner. * * @generated from field: optional metalstack.api.v2.AdminRole admin_role = 6; */ adminRole?: AdminRole | undefined; /** - * InfraRole defines the infrastructure role of the token owner + * InfraRole defines the infrastructure role of the token owner. * * @generated from field: optional metalstack.api.v2.InfraRole infra_role = 7; */ infraRole?: InfraRole | undefined; /** - * MachineRoles associates a machine uuid with the corresponding role of the token owner + * MachineRoles associates a machine uuid with the corresponding role of the token owner. * * @generated from field: map machine_roles = 8; */ machineRoles: { [key: string]: MachineRole }; /** - * Labels on this token + * Labels on this token. * * @generated from field: metalstack.api.v2.Labels labels = 9; */ @@ -215,25 +215,24 @@ export const TokenServiceCreateRequestSchema: GenMessage & { /** - * Subject maybe either the project or the tenant - * for which the methods should be allowed + * 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 + * 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. * * @generated from field: string subject = 1; */ subject: string; /** - * Methods which should be accessible + * Methods which should be accessible. * * @generated from field: repeated string methods = 2; */ @@ -248,19 +247,19 @@ export const MethodPermissionSchema: GenMessage = /*@__PURE__* messageDesc(file_metalstack_api_v2_token, 2); /** - * PermissionsByVisibility contains method permissions by visibility + * PermissionsByVisibility contains method permissions by visibility. * * @generated from message metalstack.api.v2.PermissionsByVisibility */ export type PermissionsByVisibility = Message<"metalstack.api.v2.PermissionsByVisibility"> & { /** - * Visibility defines the visibility of the requested method permissions + * Visibility defines the visibility of the requested method permissions. * * @generated from oneof metalstack.api.v2.PermissionsByVisibility.visibility */ visibility: { /** - * PublicPermissions carries public method permissions + * PublicPermissions carries public method permissions. * * @generated from field: metalstack.api.v2.PublicPermissions public = 1; */ @@ -268,7 +267,7 @@ export type PermissionsByVisibility = Message<"metalstack.api.v2.PermissionsByVi case: "public"; } | { /** - * SelfPermissions carries self method permissions + * SelfPermissions carries self method permissions. * * @generated from field: metalstack.api.v2.SelfPermissions self = 2; */ @@ -276,7 +275,7 @@ export type PermissionsByVisibility = Message<"metalstack.api.v2.PermissionsByVi case: "self"; } | { /** - * ProjectPermissions carries project method permissions + * ProjectPermissions carries project method permissions. * * @generated from field: metalstack.api.v2.ProjectPermissions project = 3; */ @@ -284,7 +283,7 @@ export type PermissionsByVisibility = Message<"metalstack.api.v2.PermissionsByVi case: "project"; } | { /** - * TenantPermissions carries tenant method permissions + * TenantPermissions carries tenant method permissions. * * @generated from field: metalstack.api.v2.TenantPermissions tenant = 4; */ @@ -292,7 +291,7 @@ export type PermissionsByVisibility = Message<"metalstack.api.v2.PermissionsByVi case: "tenant"; } | { /** - * AdminPermissions carries admin method permissions + * AdminPermissions carries admin method permissions. * * @generated from field: metalstack.api.v2.AdminPermissions admin = 5; */ @@ -300,7 +299,7 @@ export type PermissionsByVisibility = Message<"metalstack.api.v2.PermissionsByVi case: "admin"; } | { /** - * MachinePermissions carries machine method permissions + * MachinePermissions carries machine method permissions. * * @generated from field: metalstack.api.v2.MachinePermissions machine = 6; */ @@ -308,7 +307,7 @@ export type PermissionsByVisibility = Message<"metalstack.api.v2.PermissionsByVi case: "machine"; } | { /** - * InfraPermissions carries infra method permissions + * InfraPermissions carries infra method permissions. * * @generated from field: metalstack.api.v2.InfraPermissions infra = 7; */ @@ -325,13 +324,13 @@ export const PermissionsByVisibilitySchema: GenMessage messageDesc(file_metalstack_api_v2_token, 3); /** - * PublicPermissions carries public method permissions + * PublicPermissions carries public method permissions. * * @generated from message metalstack.api.v2.PublicPermissions */ export type PublicPermissions = Message<"metalstack.api.v2.PublicPermissions"> & { /** - * Methods which should be accessible + * Methods which should be accessible. * * @generated from field: repeated string methods = 2; */ @@ -346,13 +345,13 @@ export const PublicPermissionsSchema: GenMessage = /*@__PURE_ messageDesc(file_metalstack_api_v2_token, 4); /** - * SelfPermissions carries self method permissions + * SelfPermissions carries self method permissions. * * @generated from message metalstack.api.v2.SelfPermissions */ export type SelfPermissions = Message<"metalstack.api.v2.SelfPermissions"> & { /** - * Methods which should be accessible + * Methods which should be accessible. * * @generated from field: repeated string methods = 2; */ @@ -367,20 +366,21 @@ export const SelfPermissionsSchema: GenMessage = /*@__PURE__*/ messageDesc(file_metalstack_api_v2_token, 5); /** - * ProjectPermissions carries project method permissions + * ProjectPermissions carries project method permissions. * * @generated from message metalstack.api.v2.ProjectPermissions */ export type ProjectPermissions = Message<"metalstack.api.v2.ProjectPermissions"> & { /** - * asterisk (*) can be specified to match any subject + * Project scope for the permissions. + * Asterisk (*) can be specified to match any subject. * * @generated from field: string project = 1; */ project: string; /** - * Methods which should be accessible + * Methods which should be accessible. * * @generated from field: repeated string methods = 2; */ @@ -395,21 +395,21 @@ export const ProjectPermissionsSchema: GenMessage = /*@__PUR messageDesc(file_metalstack_api_v2_token, 6); /** - * TenantPermissions carries tenant method permissions + * TenantPermissions carries tenant method permissions. * * @generated from message metalstack.api.v2.TenantPermissions */ export type TenantPermissions = Message<"metalstack.api.v2.TenantPermissions"> & { /** - * Login of the tenant - * asterisk (*) can be specified to match any subject + * Login of the tenant. + * Asterisk (*) can be specified to match any subject. * * @generated from field: string login = 1; */ login: string; /** - * Methods which should be accessible + * Methods which should be accessible. * * @generated from field: repeated string methods = 2; */ @@ -424,13 +424,13 @@ export const TenantPermissionsSchema: GenMessage = /*@__PURE_ messageDesc(file_metalstack_api_v2_token, 7); /** - * AdminPermissions carries admin method permissions + * AdminPermissions carries admin method permissions. * * @generated from message metalstack.api.v2.AdminPermissions */ export type AdminPermissions = Message<"metalstack.api.v2.AdminPermissions"> & { /** - * Methods which should be accessible + * Methods which should be accessible. * * @generated from field: repeated string methods = 2; */ @@ -445,21 +445,21 @@ export const AdminPermissionsSchema: GenMessage = /*@__PURE__* messageDesc(file_metalstack_api_v2_token, 8); /** - * MachinePermissions carries machine method permissions + * MachinePermissions carries machine method permissions. * * @generated from message metalstack.api.v2.MachinePermissions */ export type MachinePermissions = Message<"metalstack.api.v2.MachinePermissions"> & { /** - * UUID of this machine - * asterisk (*) can be specified to match any subject + * UUID of this machine. + * Asterisk (*) can be specified to match any subject. * * @generated from field: string uuid = 1; */ uuid: string; /** - * Methods which should be accessible + * Methods which should be accessible. * * @generated from field: repeated string methods = 2; */ @@ -474,13 +474,13 @@ export const MachinePermissionsSchema: GenMessage = /*@__PUR messageDesc(file_metalstack_api_v2_token, 9); /** - * InfraPermissions carries infra method permissions + * InfraPermissions carries infra method permissions. * * @generated from message metalstack.api.v2.InfraPermissions */ export type InfraPermissions = Message<"metalstack.api.v2.InfraPermissions"> & { /** - * Methods which should be accessible + * Methods which should be accessible. * * @generated from field: repeated string methods = 2; */ @@ -495,20 +495,20 @@ export const InfraPermissionsSchema: GenMessage = /*@__PURE__* messageDesc(file_metalstack_api_v2_token, 10); /** - * TokenServiceCreateResponse is the response payload of a token create request + * TokenServiceCreateResponse is the response payload of a token create request. * * @generated from message metalstack.api.v2.TokenServiceCreateResponse */ export type TokenServiceCreateResponse = Message<"metalstack.api.v2.TokenServiceCreateResponse"> & { /** - * Token which was created + * Token which was created. * * @generated from field: metalstack.api.v2.Token token = 1; */ token?: Token | undefined; /** - * Secret is the body of the JWT token, should be used in API requests as bearer token + * Secret is the body of the JWT token, should be used in API requests as bearer token. * * @generated from field: string secret = 2; */ @@ -523,13 +523,13 @@ export const TokenServiceCreateResponseSchema: GenMessage & { /** - * Query for tokens + * Query for tokens. * * @generated from field: metalstack.api.v2.TokenQuery query = 1; */ @@ -544,13 +544,13 @@ export const TokenServiceListRequestSchema: GenMessage messageDesc(file_metalstack_api_v2_token, 12); /** - * TokenServiceListResponse is the response payload of a token list request + * TokenServiceListResponse is the response payload of a token list request. * * @generated from message metalstack.api.v2.TokenServiceListResponse */ export type TokenServiceListResponse = Message<"metalstack.api.v2.TokenServiceListResponse"> & { /** - * Tokens is a list of tokens without the secrets + * Tokens is a list of tokens without the secrets. * * @generated from field: repeated metalstack.api.v2.Token tokens = 1; */ @@ -565,13 +565,13 @@ export const TokenServiceListResponseSchema: GenMessage & { /** - * Uuid of the token to revoke + * Uuid of the token to revoke. * * @generated from field: string uuid = 1; */ @@ -586,7 +586,7 @@ export const TokenServiceRevokeRequestSchema: GenMessage & { /** - * Uuid of the token to update + * Uuid of the token to update. * * @generated from field: string uuid = 1; */ uuid: string; /** - * UpdateMeta contains the timestamp and strategy to be used in this update request - * TokenUpdate is not guarded with optlock in the backend + * UpdateMeta contains the timestamp and strategy to be used in this update request. + * TokenUpdate is not guarded with optlock in the backend. * * @generated from field: metalstack.api.v2.UpdateMeta update_meta = 2; */ @@ -629,49 +629,49 @@ export type TokenServiceUpdateRequest = Message<"metalstack.api.v2.TokenServiceU description?: string | undefined; /** - * Permissions is a list of service methods this token can be used for + * Permissions is a list of service methods this token can be used for. * * @generated from field: repeated metalstack.api.v2.PermissionsByVisibility permissions = 4; */ permissions: PermissionsByVisibility[]; /** - * ProjectRoles associates a project id with the corresponding role of the token owner + * ProjectRoles associates a project id with the corresponding role of the token owner. * * @generated from field: map project_roles = 5; */ projectRoles: { [key: string]: ProjectRole }; /** - * TenantRoles associates a tenant id with the corresponding role of the token owner + * TenantRoles associates a tenant id with the corresponding role of the token owner. * * @generated from field: map tenant_roles = 6; */ tenantRoles: { [key: string]: TenantRole }; /** - * AdminRole defines the admin role of the token owner + * AdminRole defines the admin role of the token owner. * * @generated from field: optional metalstack.api.v2.AdminRole admin_role = 7; */ adminRole?: AdminRole | undefined; /** - * InfraRole defines the infrastructure role of the token owner + * InfraRole defines the infrastructure role of the token owner. * * @generated from field: optional metalstack.api.v2.InfraRole infra_role = 8; */ infraRole?: InfraRole | undefined; /** - * MachineRoles associates a machine uuid with the corresponding role of the token owner + * MachineRoles associates a machine uuid with the corresponding role of the token owner. * * @generated from field: map machine_roles = 9; */ machineRoles: { [key: string]: MachineRole }; /** - * Labels on this token + * Labels on this token. * * @generated from field: metalstack.api.v2.UpdateLabels labels = 10; */ @@ -686,13 +686,13 @@ export const TokenServiceUpdateRequestSchema: GenMessage & { /** - * Token is the updated token + * Token is the updated token. * * @generated from field: metalstack.api.v2.Token token = 1; */ @@ -707,13 +707,13 @@ export const TokenServiceUpdateResponseSchema: GenMessage & { /** - * Uuid of the token to get + * Uuid of the token to get. * * @generated from field: string uuid = 1; */ @@ -728,13 +728,13 @@ export const TokenServiceGetRequestSchema: GenMessage = messageDesc(file_metalstack_api_v2_token, 18); /** - * TokenServiceGetResponse is the response payload of a token get request + * TokenServiceGetResponse is the response payload of a token get request. * * @generated from message metalstack.api.v2.TokenServiceGetResponse */ export type TokenServiceGetResponse = Message<"metalstack.api.v2.TokenServiceGetResponse"> & { /** - * Token is the token + * Token is the token. * * @generated from field: metalstack.api.v2.Token token = 1; */ @@ -749,9 +749,9 @@ export const TokenServiceGetResponseSchema: GenMessage messageDesc(file_metalstack_api_v2_token, 19); /** - * TokenServiceRefreshRequest is the request payload of a token refresh request + * 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) + * The expiration duration will be calculated from the existing token (exp - iat). * * @generated from message metalstack.api.v2.TokenServiceRefreshRequest */ @@ -766,20 +766,20 @@ export const TokenServiceRefreshRequestSchema: GenMessage & { /** - * Token which was refreshed + * Token which was refreshed. * * @generated from field: metalstack.api.v2.Token token = 1; */ token?: Token | undefined; /** - * Secret is the body of the JWT token, should be used in API requests as bearer token + * Secret is the body of the JWT token, should be used in API requests as bearer token. * * @generated from field: string secret = 2; */ @@ -794,20 +794,20 @@ export const TokenServiceRefreshResponseSchema: GenMessage & { /** - * UUID of the token to get + * UUID of the token to get. * * @generated from field: optional string uuid = 1; */ uuid?: string | undefined; /** - * Name of the token user to query + * Name of the token user to query. * Only useful for admins. * * @generated from field: optional string user = 2; @@ -815,21 +815,21 @@ export type TokenQuery = Message<"metalstack.api.v2.TokenQuery"> & { user?: string | undefined; /** - * Description of the token to query + * Description of the token to query. * * @generated from field: optional string description = 3; */ description?: string | undefined; /** - * Labels lists only tokens containing the given labels + * Labels lists only tokens containing the given labels. * * @generated from field: optional metalstack.api.v2.Labels labels = 4; */ labels?: Labels | undefined; /** - * Token type of the token to query + * Token type of the token to query. * * @generated from field: optional metalstack.api.v2.TokenType token_type = 5; */ @@ -844,20 +844,20 @@ export const TokenQuerySchema: GenMessage = /*@__PURE__*/ messageDesc(file_metalstack_api_v2_token, 22); /** - * TokenType specifies different use cases of tokens + * TokenType specifies different use cases of tokens. * * @generated from enum metalstack.api.v2.TokenType */ export enum TokenType { /** - * TOKEN_TYPE_UNSPECIFIED is not specified + * TOKEN_TYPE_UNSPECIFIED is not specified. * * @generated from enum value: TOKEN_TYPE_UNSPECIFIED = 0; */ UNSPECIFIED = 0, /** - * TOKEN_TYPE_API is a token for api usage + * TOKEN_TYPE_API is a token for api usage. * * @generated from enum value: TOKEN_TYPE_API = 1; */ diff --git a/js/metalstack/api/v2/user_pb.d.ts b/js/metalstack/api/v2/user_pb.d.ts index ac82bc3e..4250744d 100644 --- a/js/metalstack/api/v2/user_pb.d.ts +++ b/js/metalstack/api/v2/user_pb.d.ts @@ -13,43 +13,43 @@ export declare const file_metalstack_api_v2_user: GenFile; */ export type User = Message<"metalstack.api.v2.User"> & { /** - * Login is the login at the provider + * Login is the login at the provider. * * @generated from field: string login = 1; */ login: string; /** - * Name of the user + * Name of the user. * * @generated from field: string name = 2; */ name: string; /** - * Email of the user + * Email of the user. * * @generated from field: string email = 3; */ email: string; /** - * AvatarUrl of the user + * AvatarUrl of the user. * * @generated from field: string avatar_url = 4; */ avatarUrl: string; /** - * Tenants the user belongs to + * Tenants the user belongs to. * * @generated from field: repeated metalstack.api.v2.Tenant tenants = 5; */ tenants: Tenant[]; /** - * Projects the user belongs to + * Projects the user belongs to. * * @generated from field: repeated metalstack.api.v2.Project projects = 6; */ projects: Project[]; /** - * DefaultTenant the default tenant that this user belongs to + * DefaultTenant the default tenant that this user belongs to. * * @generated from field: metalstack.api.v2.Tenant default_tenant = 7; */ @@ -78,7 +78,7 @@ export declare const UserServiceGetRequestSchema: GenMessage & { /** - * User contains the authenticated user + * User contains the authenticated user. * * @generated from field: metalstack.api.v2.User user = 1; */ diff --git a/js/metalstack/api/v2/user_pb.ts b/js/metalstack/api/v2/user_pb.ts index 0b48c4a6..f814a3e2 100644 --- a/js/metalstack/api/v2/user_pb.ts +++ b/js/metalstack/api/v2/user_pb.ts @@ -26,49 +26,49 @@ export const file_metalstack_api_v2_user: GenFile = /*@__PURE__*/ */ export type User = Message<"metalstack.api.v2.User"> & { /** - * Login is the login at the provider + * Login is the login at the provider. * * @generated from field: string login = 1; */ login: string; /** - * Name of the user + * Name of the user. * * @generated from field: string name = 2; */ name: string; /** - * Email of the user + * Email of the user. * * @generated from field: string email = 3; */ email: string; /** - * AvatarUrl of the user + * AvatarUrl of the user. * * @generated from field: string avatar_url = 4; */ avatarUrl: string; /** - * Tenants the user belongs to + * Tenants the user belongs to. * * @generated from field: repeated metalstack.api.v2.Tenant tenants = 5; */ tenants: Tenant[]; /** - * Projects the user belongs to + * Projects the user belongs to. * * @generated from field: repeated metalstack.api.v2.Project projects = 6; */ projects: Project[]; /** - * DefaultTenant the default tenant that this user belongs to + * DefaultTenant the default tenant that this user belongs to. * * @generated from field: metalstack.api.v2.Tenant default_tenant = 7; */ @@ -104,7 +104,7 @@ export const UserServiceGetRequestSchema: GenMessage = /* */ export type UserServiceGetResponse = Message<"metalstack.api.v2.UserServiceGetResponse"> & { /** - * User contains the authenticated user + * User contains the authenticated user. * * @generated from field: metalstack.api.v2.User user = 1; */ diff --git a/js/metalstack/api/v2/version_pb.d.ts b/js/metalstack/api/v2/version_pb.d.ts index fa67ec01..d3f4a6fe 100644 --- a/js/metalstack/api/v2/version_pb.d.ts +++ b/js/metalstack/api/v2/version_pb.d.ts @@ -11,25 +11,25 @@ export declare const file_metalstack_api_v2_version: GenFile; */ export type Version = Message<"metalstack.api.v2.Version"> & { /** - * Version of the application + * Version of the application. * * @generated from field: string version = 1; */ version: string; /** - * Revision of the application + * Revision of the application. * * @generated from field: string revision = 2; */ revision: string; /** - * GitSHA1 of the application + * GitSHA1 of the application. * * @generated from field: string git_sha1 = 3; */ gitSha1: string; /** - * BuildDate of the application + * BuildDate of the application. * * @generated from field: string build_date = 4; */ @@ -58,7 +58,7 @@ export declare const VersionServiceGetRequestSchema: GenMessage & { /** - * Version contains the version of the application + * Version contains the version of the application. * * @generated from field: metalstack.api.v2.Version version = 1; */ diff --git a/js/metalstack/api/v2/version_pb.ts b/js/metalstack/api/v2/version_pb.ts index 1b6a1b8d..9a3b3b56 100644 --- a/js/metalstack/api/v2/version_pb.ts +++ b/js/metalstack/api/v2/version_pb.ts @@ -22,28 +22,28 @@ export const file_metalstack_api_v2_version: GenFile = /*@__PURE__*/ */ export type Version = Message<"metalstack.api.v2.Version"> & { /** - * Version of the application + * Version of the application. * * @generated from field: string version = 1; */ version: string; /** - * Revision of the application + * Revision of the application. * * @generated from field: string revision = 2; */ revision: string; /** - * GitSHA1 of the application + * GitSHA1 of the application. * * @generated from field: string git_sha1 = 3; */ gitSha1: string; /** - * BuildDate of the application + * BuildDate of the application. * * @generated from field: string build_date = 4; */ @@ -79,7 +79,7 @@ export const VersionServiceGetRequestSchema: GenMessage & { /** - * Version contains the version of the application + * Version contains the version of the application. * * @generated from field: metalstack.api.v2.Version version = 1; */ diff --git a/js/metalstack/api/v2/vpn_pb.d.ts b/js/metalstack/api/v2/vpn_pb.d.ts index f2d83a5b..84feddde 100644 --- a/js/metalstack/api/v2/vpn_pb.d.ts +++ b/js/metalstack/api/v2/vpn_pb.d.ts @@ -12,37 +12,37 @@ export declare const file_metalstack_api_v2_vpn: GenFile; */ export type VPNNode = Message<"metalstack.api.v2.VPNNode"> & { /** - * ID of this node + * ID of this node. * * @generated from field: uint64 id = 1; */ id: bigint; /** - * Name of this node + * Name of this node. * * @generated from field: string name = 2; */ name: string; /** - * Project of this node, maps to a project + * Project of this node, maps to a project. * * @generated from field: string project = 3; */ project: string; /** - * IPAddresses of this node in the VPN + * IPAddresses of this node in the VPN. * * @generated from field: repeated string ip_addresses = 4; */ ipAddresses: string[]; /** - * LastSeen timestamp when this node reached out to the control plane + * LastSeen timestamp when this node reached out to the control plane. * * @generated from field: google.protobuf.Timestamp last_seen = 5; */ lastSeen?: Timestamp | undefined; /** - * Online indicates if this node is online + * Online indicates if this node is online. * * @generated from field: bool online = 6; */ diff --git a/js/metalstack/api/v2/vpn_pb.ts b/js/metalstack/api/v2/vpn_pb.ts index 93a485d9..06821e43 100644 --- a/js/metalstack/api/v2/vpn_pb.ts +++ b/js/metalstack/api/v2/vpn_pb.ts @@ -23,42 +23,42 @@ export const file_metalstack_api_v2_vpn: GenFile = /*@__PURE__*/ */ export type VPNNode = Message<"metalstack.api.v2.VPNNode"> & { /** - * ID of this node + * ID of this node. * * @generated from field: uint64 id = 1; */ id: bigint; /** - * Name of this node + * Name of this node. * * @generated from field: string name = 2; */ name: string; /** - * Project of this node, maps to a project + * Project of this node, maps to a project. * * @generated from field: string project = 3; */ project: string; /** - * IPAddresses of this node in the VPN + * IPAddresses of this node in the VPN. * * @generated from field: repeated string ip_addresses = 4; */ ipAddresses: string[]; /** - * LastSeen timestamp when this node reached out to the control plane + * LastSeen timestamp when this node reached out to the control plane. * * @generated from field: google.protobuf.Timestamp last_seen = 5; */ lastSeen?: Timestamp | undefined; /** - * Online indicates if this node is online + * Online indicates if this node is online. * * @generated from field: bool online = 6; */ diff --git a/js/metalstack/infra/v2/bmc_pb.d.ts b/js/metalstack/infra/v2/bmc_pb.d.ts index 12e8ca3d..858cf267 100644 --- a/js/metalstack/infra/v2/bmc_pb.d.ts +++ b/js/metalstack/infra/v2/bmc_pb.d.ts @@ -12,13 +12,13 @@ export declare const file_metalstack_infra_v2_bmc: GenFile; */ export type UpdateBMCInfoRequest = Message<"metalstack.infra.v2.UpdateBMCInfoRequest"> & { /** - * Partition is the partition ID where metal-bmc wants to receive events + * Partition is the partition ID where metal-bmc wants to receive events. * * @generated from field: string partition = 1; */ partition: string; /** - * BmcReports maps the BMC report per machine UUID + * BmcReports maps the BMC report per machine UUID. * * @generated from field: map bmc_reports = 2; */ @@ -38,13 +38,13 @@ export declare const UpdateBMCInfoRequestSchema: GenMessage & { /** - * UpdatedMachines is a slice of machine UUIDs which were updated + * UpdatedMachines is a slice of machine UUIDs which were updated. * * @generated from field: repeated string updated_machines = 1; */ updatedMachines: string[]; /** - * CreatedMachines is a slice of machine UUIDs which were created + * CreatedMachines is a slice of machine UUIDs which were created. * * @generated from field: repeated string created_machines = 2; */ @@ -62,7 +62,7 @@ export declare const UpdateBMCInfoResponseSchema: GenMessage & { /** - * Partition is the partition ID where metal-bmc wants to receive BMC commands + * Partition is the partition ID where metal-bmc wants to receive BMC commands. * * @generated from field: string partition = 1; */ @@ -80,26 +80,26 @@ export declare const WaitForBMCCommandRequestSchema: GenMessage & { /** - * UUID of the machine to send the command to + * UUID of the machine to send the command to. * * @generated from field: string uuid = 1; */ uuid: string; /** - * BmcCommand to execute against the BMC of the machine + * BmcCommand to execute against the BMC of the machine. * * @generated from field: metalstack.api.v2.MachineBMCCommand bmc_command = 2; */ bmcCommand: MachineBMCCommand; /** - * MachineBmc contains connection details of the machine to issue the BMC command to + * MachineBmc contains connection details of the machine to issue the BMC command to. * * @generated from field: metalstack.api.v2.MachineBMC machine_bmc = 3; */ machineBmc?: MachineBMC | undefined; /** - * CommandId is a unique ID which must be sent back after execution - * It is usually in the form: :machine-bmc-command: + * CommandId is a unique ID which must be sent back after execution. + * It is usually in the form: :machine-bmc-command:. * * @generated from field: string command_id = 4; */ @@ -117,14 +117,14 @@ export declare const WaitForBMCCommandResponseSchema: GenMessage & { /** - * CommandId is a unique ID which must be sent back after execution - * It is usually in the form: :machine-bmc-command + * CommandId is a unique ID which must be sent back after execution. + * It is usually in the form: :machine-bmc-command. * * @generated from field: string command_id = 1; */ commandId: string; /** - * Error of the command execution, nil if it was successful + * Error of the command execution, nil if it was successful. * * @generated from field: optional string error = 2; */ diff --git a/js/metalstack/infra/v2/bmc_pb.ts b/js/metalstack/infra/v2/bmc_pb.ts index 29f41fb8..c64b51b8 100644 --- a/js/metalstack/infra/v2/bmc_pb.ts +++ b/js/metalstack/infra/v2/bmc_pb.ts @@ -24,14 +24,14 @@ export const file_metalstack_infra_v2_bmc: GenFile = /*@__PURE__*/ */ export type UpdateBMCInfoRequest = Message<"metalstack.infra.v2.UpdateBMCInfoRequest"> & { /** - * Partition is the partition ID where metal-bmc wants to receive events + * Partition is the partition ID where metal-bmc wants to receive events. * * @generated from field: string partition = 1; */ partition: string; /** - * BmcReports maps the BMC report per machine UUID + * BmcReports maps the BMC report per machine UUID. * * @generated from field: map bmc_reports = 2; */ @@ -52,14 +52,14 @@ export const UpdateBMCInfoRequestSchema: GenMessage = /*@_ */ export type UpdateBMCInfoResponse = Message<"metalstack.infra.v2.UpdateBMCInfoResponse"> & { /** - * UpdatedMachines is a slice of machine UUIDs which were updated + * UpdatedMachines is a slice of machine UUIDs which were updated. * * @generated from field: repeated string updated_machines = 1; */ updatedMachines: string[]; /** - * CreatedMachines is a slice of machine UUIDs which were created + * CreatedMachines is a slice of machine UUIDs which were created. * * @generated from field: repeated string created_machines = 2; */ @@ -80,7 +80,7 @@ export const UpdateBMCInfoResponseSchema: GenMessage = /* */ export type WaitForBMCCommandRequest = Message<"metalstack.infra.v2.WaitForBMCCommandRequest"> & { /** - * Partition is the partition ID where metal-bmc wants to receive BMC commands + * Partition is the partition ID where metal-bmc wants to receive BMC commands. * * @generated from field: string partition = 1; */ @@ -101,29 +101,29 @@ export const WaitForBMCCommandRequestSchema: GenMessage & { /** - * UUID of the machine to send the command to + * UUID of the machine to send the command to. * * @generated from field: string uuid = 1; */ uuid: string; /** - * BmcCommand to execute against the BMC of the machine + * BmcCommand to execute against the BMC of the machine. * * @generated from field: metalstack.api.v2.MachineBMCCommand bmc_command = 2; */ bmcCommand: MachineBMCCommand; /** - * MachineBmc contains connection details of the machine to issue the BMC command to + * MachineBmc contains connection details of the machine to issue the BMC command to. * * @generated from field: metalstack.api.v2.MachineBMC machine_bmc = 3; */ machineBmc?: MachineBMC | undefined; /** - * CommandId is a unique ID which must be sent back after execution - * It is usually in the form: :machine-bmc-command: + * CommandId is a unique ID which must be sent back after execution. + * It is usually in the form: :machine-bmc-command:. * * @generated from field: string command_id = 4; */ @@ -144,15 +144,15 @@ export const WaitForBMCCommandResponseSchema: GenMessage & { /** - * CommandId is a unique ID which must be sent back after execution - * It is usually in the form: :machine-bmc-command + * CommandId is a unique ID which must be sent back after execution. + * It is usually in the form: :machine-bmc-command. * * @generated from field: string command_id = 1; */ commandId: string; /** - * Error of the command execution, nil if it was successful + * Error of the command execution, nil if it was successful. * * @generated from field: optional string error = 2; */ diff --git a/js/metalstack/infra/v2/boot_pb.d.ts b/js/metalstack/infra/v2/boot_pb.d.ts index 0355e944..88747f85 100644 --- a/js/metalstack/infra/v2/boot_pb.d.ts +++ b/js/metalstack/infra/v2/boot_pb.d.ts @@ -6,19 +6,19 @@ import type { Message } from "@bufbuild/protobuf"; */ export declare const file_metalstack_infra_v2_boot: GenFile; /** - * BootServiceDhcpRequest is called once a machine issues a dhcp request + * BootServiceDhcpRequest is called once a machine issues a dhcp request. * * @generated from message metalstack.infra.v2.BootServiceDhcpRequest */ export type BootServiceDhcpRequest = Message<"metalstack.infra.v2.BootServiceDhcpRequest"> & { /** - * UUID of the machine + * UUID of the machine. * * @generated from field: string uuid = 1; */ uuid: string; /** - * Partition where this machine is located + * Partition where this machine is located. * * @generated from field: string partition = 2; */ @@ -30,7 +30,7 @@ export type BootServiceDhcpRequest = Message<"metalstack.infra.v2.BootServiceDhc */ export declare const BootServiceDhcpRequestSchema: GenMessage; /** - * BootServiceDhcpResponse contains the response to a dhcp request + * BootServiceDhcpResponse contains the response to a dhcp request. * * @generated from message metalstack.infra.v2.BootServiceDhcpResponse */ @@ -41,19 +41,19 @@ export type BootServiceDhcpResponse = Message<"metalstack.infra.v2.BootServiceDh */ export declare const BootServiceDhcpResponseSchema: GenMessage; /** - * BootServiceBootRequest is called to get specified parameters to boot a machine with the given mac + * BootServiceBootRequest is called to get specified parameters to boot a machine with the given mac. * * @generated from message metalstack.infra.v2.BootServiceBootRequest */ export type BootServiceBootRequest = Message<"metalstack.infra.v2.BootServiceBootRequest"> & { /** - * Mac address of the machine + * Mac address of the machine. * * @generated from field: string mac = 1; */ mac: string; /** - * Partition where this machine is located + * Partition where this machine is located. * * @generated from field: string partition = 2; */ @@ -65,25 +65,25 @@ export type BootServiceBootRequest = Message<"metalstack.infra.v2.BootServiceBoo */ export declare const BootServiceBootRequestSchema: GenMessage; /** - * BootServiceBootResponse contains additional infos which are required to boot a machine + * BootServiceBootResponse contains additional infos which are required to boot a machine. * * @generated from message metalstack.infra.v2.BootServiceBootResponse */ export type BootServiceBootResponse = Message<"metalstack.infra.v2.BootServiceBootResponse"> & { /** - * Kernel is the url to the linux kernel to boot + * Kernel is the url to the linux kernel to boot. * * @generated from field: string kernel = 1; */ kernel: string; /** - * Initial ram disk is the url to the initial ram disk to boot + * Initial ram disk is the url to the initial ram disk to boot. * * @generated from field: repeated string init_ram_disks = 2; */ initRamDisks: string[]; /** - * CMDLine contains kernel command line parameters to boot + * CMDLine contains kernel command line parameters to boot. * * @generated from field: optional string cmdline = 3; */ @@ -95,55 +95,55 @@ export type BootServiceBootResponse = Message<"metalstack.infra.v2.BootServiceBo */ export declare const BootServiceBootResponseSchema: GenMessage; /** - * BootServiceRegisterRequest is called from metal-hammer to register a machine with as much hardware details as possible + * BootServiceRegisterRequest is called from metal-hammer to register a machine with as much hardware details as possible. * * @generated from message metalstack.infra.v2.BootServiceRegisterRequest */ export type BootServiceRegisterRequest = Message<"metalstack.infra.v2.BootServiceRegisterRequest"> & { /** - * UUID of this machine + * UUID of this machine. * * @generated from field: string uuid = 1; */ uuid: string; /** - * Hardware details of this machine + * Hardware details of this machine. * * @generated from field: metalstack.api.v2.MachineHardware hardware = 2; */ hardware?: MachineHardware | undefined; /** - * Bios details of this machine + * Bios details of this machine. * * @generated from field: metalstack.api.v2.MachineBios bios = 3; */ bios?: MachineBios | undefined; /** - * BMC details of this machine + * BMC details of this machine. * * @generated from field: metalstack.api.v2.MachineBMC bmc = 4; */ bmc?: MachineBMC | undefined; /** - * FRU details of this machine + * FRU details of this machine. * * @generated from field: metalstack.api.v2.MachineFRU fru = 5; */ fru?: MachineFRU | undefined; /** - * Tags of this machine + * Tags of this machine. * * @generated from field: repeated string tags = 6; */ tags: string[]; /** - * MetalHammer version this machine was booted into + * MetalHammer version this machine was booted into. * * @generated from field: string metal_hammer_version = 7; */ metalHammerVersion: string; /** - * Partition where this machine is located + * Partition where this machine is located. * * @generated from field: string partition = 8; */ @@ -155,25 +155,25 @@ export type BootServiceRegisterRequest = Message<"metalstack.infra.v2.BootServic */ export declare const BootServiceRegisterRequestSchema: GenMessage; /** - * BootServiceRegisterResponse response to a BootServiceRegisterResponse request + * BootServiceRegisterResponse response to a BootServiceRegisterResponse request. * * @generated from message metalstack.infra.v2.BootServiceRegisterResponse */ export type BootServiceRegisterResponse = Message<"metalstack.infra.v2.BootServiceRegisterResponse"> & { /** - * UUID of this machine + * UUID of this machine. * * @generated from field: string uuid = 1; */ uuid: string; /** - * Size is the calculated size from given hardware details + * Size is the calculated size from given hardware details. * * @generated from field: string size = 2; */ size: string; /** - * Partition of this machine + * Partition of this machine. * * @generated from field: string partition = 3; */ @@ -185,13 +185,13 @@ export type BootServiceRegisterResponse = Message<"metalstack.infra.v2.BootServi */ export declare const BootServiceRegisterResponseSchema: GenMessage; /** - * BootServiceWaitRequest is called when a machine was registered and is waiting for allocation + * BootServiceWaitRequest is called when a machine was registered and is waiting for allocation. * * @generated from message metalstack.infra.v2.BootServiceWaitRequest */ export type BootServiceWaitRequest = Message<"metalstack.infra.v2.BootServiceWaitRequest"> & { /** - * UUID of this machine + * UUID of this machine. * * @generated from field: string uuid = 1; */ @@ -203,13 +203,13 @@ export type BootServiceWaitRequest = Message<"metalstack.infra.v2.BootServiceWai */ export declare const BootServiceWaitRequestSchema: GenMessage; /** - * BootServiceWaitResponse response to a wait request + * BootServiceWaitResponse response to a wait request. * * @generated from message metalstack.infra.v2.BootServiceWaitResponse */ export type BootServiceWaitResponse = Message<"metalstack.infra.v2.BootServiceWaitResponse"> & { /** - * Allocation contains the machine.allocation to actually install the machine + * Allocation contains the machine.allocation to actually install the machine. * * @generated from field: metalstack.api.v2.MachineAllocation allocation = 1; */ @@ -221,19 +221,19 @@ export type BootServiceWaitResponse = Message<"metalstack.infra.v2.BootServiceWa */ export declare const BootServiceWaitResponseSchema: GenMessage; /** - * BootServiceInstallationSucceededRequest is sent from metal-hammer to the api to report the installation succeeded + * BootServiceInstallationSucceededRequest is sent from metal-hammer to the api to report the installation succeeded. * * @generated from message metalstack.infra.v2.BootServiceInstallationSucceededRequest */ export type BootServiceInstallationSucceededRequest = Message<"metalstack.infra.v2.BootServiceInstallationSucceededRequest"> & { /** - * UUID of the machine to boot + * UUID of the machine to boot. * * @generated from field: string uuid = 1; */ uuid: string; /** - * ConsolePassword + * ConsolePassword. * * @generated from field: string console_password = 2; */ @@ -245,7 +245,7 @@ export type BootServiceInstallationSucceededRequest = Message<"metalstack.infra. */ export declare const BootServiceInstallationSucceededRequestSchema: GenMessage; /** - * BootServiceInstallationSucceededResponse is the response to a BootServiceInstallationSucceededRequest + * BootServiceInstallationSucceededResponse is the response to a BootServiceInstallationSucceededRequest. * * @generated from message metalstack.infra.v2.BootServiceInstallationSucceededResponse */ @@ -256,13 +256,13 @@ export type BootServiceInstallationSucceededResponse = Message<"metalstack.infra */ export declare const BootServiceInstallationSucceededResponseSchema: GenMessage; /** - * BootServiceSuperUserPasswordRequest this call returns the password for the machine superuser + * BootServiceSuperUserPasswordRequest this call returns the password for the machine superuser. * * @generated from message metalstack.infra.v2.BootServiceSuperUserPasswordRequest */ export type BootServiceSuperUserPasswordRequest = Message<"metalstack.infra.v2.BootServiceSuperUserPasswordRequest"> & { /** - * UUID of this machine + * UUID of this machine. * * @generated from field: string uuid = 1; */ @@ -274,7 +274,7 @@ export type BootServiceSuperUserPasswordRequest = Message<"metalstack.infra.v2.B */ export declare const BootServiceSuperUserPasswordRequestSchema: GenMessage; /** - * BootServiceSuperUserPasswordResponse the super user password is returned + * BootServiceSuperUserPasswordResponse the super user password is returned. * * @generated from message metalstack.infra.v2.BootServiceSuperUserPasswordResponse */ @@ -286,7 +286,7 @@ export type BootServiceSuperUserPasswordResponse = Message<"metalstack.infra.v2. */ featureDisabled: boolean; /** - * SuperUserPassword is the password of the superuser on the ipmi device + * SuperUserPassword is the password of the superuser on the ipmi device. * * @generated from field: string super_user_password = 2; */ diff --git a/js/metalstack/infra/v2/boot_pb.ts b/js/metalstack/infra/v2/boot_pb.ts index 4b44f768..4dde9f4e 100644 --- a/js/metalstack/infra/v2/boot_pb.ts +++ b/js/metalstack/infra/v2/boot_pb.ts @@ -18,20 +18,20 @@ export const file_metalstack_infra_v2_boot: GenFile = /*@__PURE__*/ fileDesc("Ch5tZXRhbHN0YWNrL2luZnJhL3YyL2Jvb3QucHJvdG8SE21ldGFsc3RhY2suaW5mcmEudjIiUAoWQm9vdFNlcnZpY2VEaGNwUmVxdWVzdBIWCgR1dWlkGAEgASgJQgi6SAVyA7ABARIeCglwYXJ0aXRpb24YAiABKAlCC7pICHIG0LOusQIBIhkKF0Jvb3RTZXJ2aWNlRGhjcFJlc3BvbnNlIlIKFkJvb3RTZXJ2aWNlQm9vdFJlcXVlc3QSGAoDbWFjGAEgASgJQgu6SAhyBrizrrECARIeCglwYXJ0aXRpb24YAiABKAlCC7pICHIG0LOusQIBIn0KF0Jvb3RTZXJ2aWNlQm9vdFJlc3BvbnNlEhsKBmtlcm5lbBgBIAEoCUILukgIcgbgs66xAgESFgoOaW5pdF9yYW1fZGlza3MYAiADKAkSIQoHY21kbGluZRgDIAEoCUILukgIcgbIs66xAgFIAIgBAUIKCghfY21kbGluZSLJAgoaQm9vdFNlcnZpY2VSZWdpc3RlclJlcXVlc3QSFgoEdXVpZBgBIAEoCUIIukgFcgOwAQESNAoIaGFyZHdhcmUYAiABKAsyIi5tZXRhbHN0YWNrLmFwaS52Mi5NYWNoaW5lSGFyZHdhcmUSLAoEYmlvcxgDIAEoCzIeLm1ldGFsc3RhY2suYXBpLnYyLk1hY2hpbmVCaW9zEioKA2JtYxgEIAEoCzIdLm1ldGFsc3RhY2suYXBpLnYyLk1hY2hpbmVCTUMSKgoDZnJ1GAUgASgLMh0ubWV0YWxzdGFjay5hcGkudjIuTWFjaGluZUZSVRIMCgR0YWdzGAYgAygJEikKFG1ldGFsX2hhbW1lcl92ZXJzaW9uGAcgASgJQgu6SAhyBsizrrECARIeCglwYXJ0aXRpb24YCCABKAlCC7pICHIG0LOusQIBInAKG0Jvb3RTZXJ2aWNlUmVnaXN0ZXJSZXNwb25zZRIWCgR1dWlkGAEgASgJQgi6SAVyA7ABARIZCgRzaXplGAIgASgJQgu6SAhyBsizrrECARIeCglwYXJ0aXRpb24YAyABKAlCC7pICHIG0LOusQIBIjAKFkJvb3RTZXJ2aWNlV2FpdFJlcXVlc3QSFgoEdXVpZBgBIAEoCUIIukgFcgOwAQEiUwoXQm9vdFNlcnZpY2VXYWl0UmVzcG9uc2USOAoKYWxsb2NhdGlvbhgBIAEoCzIkLm1ldGFsc3RhY2suYXBpLnYyLk1hY2hpbmVBbGxvY2F0aW9uImcKJ0Jvb3RTZXJ2aWNlSW5zdGFsbGF0aW9uU3VjY2VlZGVkUmVxdWVzdBIWCgR1dWlkGAEgASgJQgi6SAVyA7ABARIkChBjb25zb2xlX3Bhc3N3b3JkGAIgASgJQgq6SAdyBRACGIABIioKKEJvb3RTZXJ2aWNlSW5zdGFsbGF0aW9uU3VjY2VlZGVkUmVzcG9uc2UiPQojQm9vdFNlcnZpY2VTdXBlclVzZXJQYXNzd29yZFJlcXVlc3QSFgoEdXVpZBgBIAEoCUIIukgFcgOwAQEiaQokQm9vdFNlcnZpY2VTdXBlclVzZXJQYXNzd29yZFJlc3BvbnNlEhgKEGZlYXR1cmVfZGlzYWJsZWQYASABKAgSJwoTc3VwZXJfdXNlcl9wYXNzd29yZBgCIAEoCUIKukgHcgUQAhiAATKLBgoLQm9vdFNlcnZpY2USbAoERGhjcBIrLm1ldGFsc3RhY2suaW5mcmEudjIuQm9vdFNlcnZpY2VEaGNwUmVxdWVzdBosLm1ldGFsc3RhY2suaW5mcmEudjIuQm9vdFNlcnZpY2VEaGNwUmVzcG9uc2UiCeDzGALq8xgBARJsCgRCb290EisubWV0YWxzdGFjay5pbmZyYS52Mi5Cb290U2VydmljZUJvb3RSZXF1ZXN0GiwubWV0YWxzdGFjay5pbmZyYS52Mi5Cb290U2VydmljZUJvb3RSZXNwb25zZSIJ4PMYAurzGAEBEpMBChFTdXBlclVzZXJQYXNzd29yZBI4Lm1ldGFsc3RhY2suaW5mcmEudjIuQm9vdFNlcnZpY2VTdXBlclVzZXJQYXNzd29yZFJlcXVlc3QaOS5tZXRhbHN0YWNrLmluZnJhLnYyLkJvb3RTZXJ2aWNlU3VwZXJVc2VyUGFzc3dvcmRSZXNwb25zZSIJ4PMYAvLzGAEBEngKCFJlZ2lzdGVyEi8ubWV0YWxzdGFjay5pbmZyYS52Mi5Cb290U2VydmljZVJlZ2lzdGVyUmVxdWVzdBowLm1ldGFsc3RhY2suaW5mcmEudjIuQm9vdFNlcnZpY2VSZWdpc3RlclJlc3BvbnNlIgng8xgC8vMYAQESbgoEV2FpdBIrLm1ldGFsc3RhY2suaW5mcmEudjIuQm9vdFNlcnZpY2VXYWl0UmVxdWVzdBosLm1ldGFsc3RhY2suaW5mcmEudjIuQm9vdFNlcnZpY2VXYWl0UmVzcG9uc2UiCeDzGALy8xgBATABEp8BChVJbnN0YWxsYXRpb25TdWNjZWVkZWQSPC5tZXRhbHN0YWNrLmluZnJhLnYyLkJvb3RTZXJ2aWNlSW5zdGFsbGF0aW9uU3VjY2VlZGVkUmVxdWVzdBo9Lm1ldGFsc3RhY2suaW5mcmEudjIuQm9vdFNlcnZpY2VJbnN0YWxsYXRpb25TdWNjZWVkZWRSZXNwb25zZSIJ4PMYAvLzGAEBQs0BChdjb20ubWV0YWxzdGFjay5pbmZyYS52MkIJQm9vdFByb3RvUAFaOWdpdGh1Yi5jb20vbWV0YWwtc3RhY2svYXBpL2dvL21ldGFsc3RhY2svaW5mcmEvdjI7aW5mcmF2MqICA01JWKoCE01ldGFsc3RhY2suSW5mcmEuVjLKAhNNZXRhbHN0YWNrXEluZnJhXFYy4gIfTWV0YWxzdGFja1xJbmZyYVxWMlxHUEJNZXRhZGF0YeoCFU1ldGFsc3RhY2s6OkluZnJhOjpWMmIGcHJvdG8z", [file_buf_validate_validate, file_metalstack_api_v2_common, file_metalstack_api_v2_machine, file_metalstack_api_v2_predefined_rules]); /** - * BootServiceDhcpRequest is called once a machine issues a dhcp request + * BootServiceDhcpRequest is called once a machine issues a dhcp request. * * @generated from message metalstack.infra.v2.BootServiceDhcpRequest */ export type BootServiceDhcpRequest = Message<"metalstack.infra.v2.BootServiceDhcpRequest"> & { /** - * UUID of the machine + * UUID of the machine. * * @generated from field: string uuid = 1; */ uuid: string; /** - * Partition where this machine is located + * Partition where this machine is located. * * @generated from field: string partition = 2; */ @@ -46,7 +46,7 @@ export const BootServiceDhcpRequestSchema: GenMessage = messageDesc(file_metalstack_infra_v2_boot, 0); /** - * BootServiceDhcpResponse contains the response to a dhcp request + * BootServiceDhcpResponse contains the response to a dhcp request. * * @generated from message metalstack.infra.v2.BootServiceDhcpResponse */ @@ -61,20 +61,20 @@ export const BootServiceDhcpResponseSchema: GenMessage messageDesc(file_metalstack_infra_v2_boot, 1); /** - * BootServiceBootRequest is called to get specified parameters to boot a machine with the given mac + * BootServiceBootRequest is called to get specified parameters to boot a machine with the given mac. * * @generated from message metalstack.infra.v2.BootServiceBootRequest */ export type BootServiceBootRequest = Message<"metalstack.infra.v2.BootServiceBootRequest"> & { /** - * Mac address of the machine + * Mac address of the machine. * * @generated from field: string mac = 1; */ mac: string; /** - * Partition where this machine is located + * Partition where this machine is located. * * @generated from field: string partition = 2; */ @@ -89,27 +89,27 @@ export const BootServiceBootRequestSchema: GenMessage = messageDesc(file_metalstack_infra_v2_boot, 2); /** - * BootServiceBootResponse contains additional infos which are required to boot a machine + * BootServiceBootResponse contains additional infos which are required to boot a machine. * * @generated from message metalstack.infra.v2.BootServiceBootResponse */ export type BootServiceBootResponse = Message<"metalstack.infra.v2.BootServiceBootResponse"> & { /** - * Kernel is the url to the linux kernel to boot + * Kernel is the url to the linux kernel to boot. * * @generated from field: string kernel = 1; */ kernel: string; /** - * Initial ram disk is the url to the initial ram disk to boot + * Initial ram disk is the url to the initial ram disk to boot. * * @generated from field: repeated string init_ram_disks = 2; */ initRamDisks: string[]; /** - * CMDLine contains kernel command line parameters to boot + * CMDLine contains kernel command line parameters to boot. * * @generated from field: optional string cmdline = 3; */ @@ -124,62 +124,62 @@ export const BootServiceBootResponseSchema: GenMessage messageDesc(file_metalstack_infra_v2_boot, 3); /** - * BootServiceRegisterRequest is called from metal-hammer to register a machine with as much hardware details as possible + * BootServiceRegisterRequest is called from metal-hammer to register a machine with as much hardware details as possible. * * @generated from message metalstack.infra.v2.BootServiceRegisterRequest */ export type BootServiceRegisterRequest = Message<"metalstack.infra.v2.BootServiceRegisterRequest"> & { /** - * UUID of this machine + * UUID of this machine. * * @generated from field: string uuid = 1; */ uuid: string; /** - * Hardware details of this machine + * Hardware details of this machine. * * @generated from field: metalstack.api.v2.MachineHardware hardware = 2; */ hardware?: MachineHardware | undefined; /** - * Bios details of this machine + * Bios details of this machine. * * @generated from field: metalstack.api.v2.MachineBios bios = 3; */ bios?: MachineBios | undefined; /** - * BMC details of this machine + * BMC details of this machine. * * @generated from field: metalstack.api.v2.MachineBMC bmc = 4; */ bmc?: MachineBMC | undefined; /** - * FRU details of this machine + * FRU details of this machine. * * @generated from field: metalstack.api.v2.MachineFRU fru = 5; */ fru?: MachineFRU | undefined; /** - * Tags of this machine + * Tags of this machine. * * @generated from field: repeated string tags = 6; */ tags: string[]; /** - * MetalHammer version this machine was booted into + * MetalHammer version this machine was booted into. * * @generated from field: string metal_hammer_version = 7; */ metalHammerVersion: string; /** - * Partition where this machine is located + * Partition where this machine is located. * * @generated from field: string partition = 8; */ @@ -194,27 +194,27 @@ export const BootServiceRegisterRequestSchema: GenMessage & { /** - * UUID of this machine + * UUID of this machine. * * @generated from field: string uuid = 1; */ uuid: string; /** - * Size is the calculated size from given hardware details + * Size is the calculated size from given hardware details. * * @generated from field: string size = 2; */ size: string; /** - * Partition of this machine + * Partition of this machine. * * @generated from field: string partition = 3; */ @@ -229,13 +229,13 @@ export const BootServiceRegisterResponseSchema: GenMessage & { /** - * UUID of this machine + * UUID of this machine. * * @generated from field: string uuid = 1; */ @@ -250,13 +250,13 @@ export const BootServiceWaitRequestSchema: GenMessage = messageDesc(file_metalstack_infra_v2_boot, 6); /** - * BootServiceWaitResponse response to a wait request + * BootServiceWaitResponse response to a wait request. * * @generated from message metalstack.infra.v2.BootServiceWaitResponse */ export type BootServiceWaitResponse = Message<"metalstack.infra.v2.BootServiceWaitResponse"> & { /** - * Allocation contains the machine.allocation to actually install the machine + * Allocation contains the machine.allocation to actually install the machine. * * @generated from field: metalstack.api.v2.MachineAllocation allocation = 1; */ @@ -271,20 +271,20 @@ export const BootServiceWaitResponseSchema: GenMessage messageDesc(file_metalstack_infra_v2_boot, 7); /** - * BootServiceInstallationSucceededRequest is sent from metal-hammer to the api to report the installation succeeded + * BootServiceInstallationSucceededRequest is sent from metal-hammer to the api to report the installation succeeded. * * @generated from message metalstack.infra.v2.BootServiceInstallationSucceededRequest */ export type BootServiceInstallationSucceededRequest = Message<"metalstack.infra.v2.BootServiceInstallationSucceededRequest"> & { /** - * UUID of the machine to boot + * UUID of the machine to boot. * * @generated from field: string uuid = 1; */ uuid: string; /** - * ConsolePassword + * ConsolePassword. * * @generated from field: string console_password = 2; */ @@ -299,7 +299,7 @@ export const BootServiceInstallationSucceededRequestSchema: GenMessage & { /** - * UUID of this machine + * UUID of this machine. * * @generated from field: string uuid = 1; */ @@ -335,7 +335,7 @@ export const BootServiceSuperUserPasswordRequestSchema: GenMessage & { /** - * Type defines which service is actually pinging + * Type defines which service is actually pinging. * * @generated from field: metalstack.api.v2.ComponentType type = 1; */ type: ComponentType; /** - * Identifier is a unique identifier of this service, for example if two instances are running, this might be the pod ID + * Identifier is a unique identifier of this service, for example if two instances are running, this might be the pod ID. * * @generated from field: string identifier = 2; */ identifier: string; /** - * StartedAt is the timestamp this service was started + * StartedAt is the timestamp this service was started. * * @generated from field: google.protobuf.Timestamp started_at = 3; */ startedAt?: Timestamp | undefined; /** - * Interval at which the ping is scheduled, must be between 5 seconds and 1 hour + * Interval at which the ping is scheduled, must be between 5 seconds and 1 hour. * * @generated from field: google.protobuf.Duration interval = 4; */ interval?: Duration | undefined; /** - * Version of this service + * Version of this service. * * @generated from field: metalstack.api.v2.Version version = 5; */ diff --git a/js/metalstack/infra/v2/component_pb.ts b/js/metalstack/infra/v2/component_pb.ts index d3f4a703..4d444c23 100644 --- a/js/metalstack/infra/v2/component_pb.ts +++ b/js/metalstack/infra/v2/component_pb.ts @@ -28,35 +28,35 @@ export const file_metalstack_infra_v2_component: GenFile = /*@__PURE__*/ */ export type ComponentServicePingRequest = Message<"metalstack.infra.v2.ComponentServicePingRequest"> & { /** - * Type defines which service is actually pinging + * Type defines which service is actually pinging. * * @generated from field: metalstack.api.v2.ComponentType type = 1; */ type: ComponentType; /** - * Identifier is a unique identifier of this service, for example if two instances are running, this might be the pod ID + * Identifier is a unique identifier of this service, for example if two instances are running, this might be the pod ID. * * @generated from field: string identifier = 2; */ identifier: string; /** - * StartedAt is the timestamp this service was started + * StartedAt is the timestamp this service was started. * * @generated from field: google.protobuf.Timestamp started_at = 3; */ startedAt?: Timestamp | undefined; /** - * Interval at which the ping is scheduled, must be between 5 seconds and 1 hour + * Interval at which the ping is scheduled, must be between 5 seconds and 1 hour. * * @generated from field: google.protobuf.Duration interval = 4; */ interval?: Duration | undefined; /** - * Version of this service + * Version of this service. * * @generated from field: metalstack.api.v2.Version version = 5; */ diff --git a/js/metalstack/infra/v2/event_pb.d.ts b/js/metalstack/infra/v2/event_pb.d.ts index c9f16e41..71b03940 100644 --- a/js/metalstack/infra/v2/event_pb.d.ts +++ b/js/metalstack/infra/v2/event_pb.d.ts @@ -12,7 +12,7 @@ export declare const file_metalstack_infra_v2_event: GenFile; */ export type EventServiceSendRequest = Message<"metalstack.infra.v2.EventServiceSendRequest"> & { /** - * Events grouped by machine IDs + * Events grouped by machine IDs. * * @generated from field: map events = 1; */ @@ -32,13 +32,13 @@ export declare const EventServiceSendRequestSchema: GenMessage & { /** - * Events counts the number of events successfully stored in the database + * Events counts the number of events successfully stored in the database. * * @generated from field: uint64 events = 1; */ events: bigint; /** - * Failed contains IDs of all machines whose events could not be stored in the database + * Failed contains IDs of all machines whose events could not be stored in the database. * * @generated from field: repeated string failed = 2; */ diff --git a/js/metalstack/infra/v2/event_pb.ts b/js/metalstack/infra/v2/event_pb.ts index 13d06db1..6d8e92e8 100644 --- a/js/metalstack/infra/v2/event_pb.ts +++ b/js/metalstack/infra/v2/event_pb.ts @@ -22,7 +22,7 @@ export const file_metalstack_infra_v2_event: GenFile = /*@__PURE__*/ */ export type EventServiceSendRequest = Message<"metalstack.infra.v2.EventServiceSendRequest"> & { /** - * Events grouped by machine IDs + * Events grouped by machine IDs. * * @generated from field: map events = 1; */ @@ -43,14 +43,14 @@ export const EventServiceSendRequestSchema: GenMessage */ export type EventServiceSendResponse = Message<"metalstack.infra.v2.EventServiceSendResponse"> & { /** - * Events counts the number of events successfully stored in the database + * Events counts the number of events successfully stored in the database. * * @generated from field: uint64 events = 1; */ events: bigint; /** - * Failed contains IDs of all machines whose events could not be stored in the database + * Failed contains IDs of all machines whose events could not be stored in the database. * * @generated from field: repeated string failed = 2; */ diff --git a/js/metalstack/infra/v2/switch_pb.d.ts b/js/metalstack/infra/v2/switch_pb.d.ts index 20bf265c..d018fccc 100644 --- a/js/metalstack/infra/v2/switch_pb.d.ts +++ b/js/metalstack/infra/v2/switch_pb.d.ts @@ -13,7 +13,7 @@ export declare const file_metalstack_infra_v2_switch: GenFile; */ export type SwitchServiceGetRequest = Message<"metalstack.infra.v2.SwitchServiceGetRequest"> & { /** - * Id of the switch + * Id of the switch. * * @generated from field: string id = 1; */ @@ -31,7 +31,7 @@ export declare const SwitchServiceGetRequestSchema: GenMessage & { /** - * Switch contains the requested switch + * Switch contains the requested switch. * * @generated from field: metalstack.api.v2.Switch switch = 1; */ @@ -49,7 +49,7 @@ export declare const SwitchServiceGetResponseSchema: GenMessage & { /** - * Switch to register + * Switch to register. * * @generated from field: metalstack.api.v2.Switch switch = 1; */ @@ -67,7 +67,7 @@ export declare const SwitchServiceRegisterRequestSchema: GenMessage & { /** - * Switch contains the registered switch + * Switch contains the registered switch. * * @generated from field: metalstack.api.v2.Switch switch = 1; */ @@ -85,25 +85,25 @@ export declare const SwitchServiceRegisterResponseSchema: GenMessage & { /** - * Id of the switch + * Id of the switch. * * @generated from field: string id = 1; */ id: string; /** - * Duration of the sync + * Duration of the sync. * * @generated from field: google.protobuf.Duration duration = 2; */ duration?: Duration | undefined; /** - * Error if any occurred during the sync + * Error if any occurred during the sync. * * @generated from field: optional string error = 3; */ error?: string | undefined; /** - * PortStates maps port identifiers to the respective port's operational state + * PortStates maps port identifiers to the respective port's operational state. * * @generated from field: map port_states = 4; */ @@ -111,7 +111,7 @@ export type SwitchServiceHeartbeatRequest = Message<"metalstack.infra.v2.SwitchS [key: string]: SwitchPortStatus; }; /** - * BgpPortStates maps port identifiers to the respective port's BGP state + * BgpPortStates maps port identifiers to the respective port's BGP state. * * @generated from field: map bgp_port_states = 5; */ @@ -131,19 +131,19 @@ export declare const SwitchServiceHeartbeatRequestSchema: GenMessage & { /** - * Id of the switch + * Id of the switch. * * @generated from field: string id = 1; */ id: string; /** - * LastSync holds information about the last sync + * LastSync holds information about the last sync. * * @generated from field: metalstack.api.v2.SwitchSync last_sync = 2; */ lastSync?: SwitchSync | undefined; /** - * LastSyncError holds information about the last erroneous sync + * LastSyncError holds information about the last erroneous sync. * * @generated from field: metalstack.api.v2.SwitchSync last_sync_error = 3; */ diff --git a/js/metalstack/infra/v2/switch_pb.ts b/js/metalstack/infra/v2/switch_pb.ts index af721b8a..66974525 100644 --- a/js/metalstack/infra/v2/switch_pb.ts +++ b/js/metalstack/infra/v2/switch_pb.ts @@ -26,7 +26,7 @@ export const file_metalstack_infra_v2_switch: GenFile = /*@__PURE__*/ */ export type SwitchServiceGetRequest = Message<"metalstack.infra.v2.SwitchServiceGetRequest"> & { /** - * Id of the switch + * Id of the switch. * * @generated from field: string id = 1; */ @@ -47,7 +47,7 @@ export const SwitchServiceGetRequestSchema: GenMessage */ export type SwitchServiceGetResponse = Message<"metalstack.infra.v2.SwitchServiceGetResponse"> & { /** - * Switch contains the requested switch + * Switch contains the requested switch. * * @generated from field: metalstack.api.v2.Switch switch = 1; */ @@ -68,7 +68,7 @@ export const SwitchServiceGetResponseSchema: GenMessage & { /** - * Switch to register + * Switch to register. * * @generated from field: metalstack.api.v2.Switch switch = 1; */ @@ -89,7 +89,7 @@ export const SwitchServiceRegisterRequestSchema: GenMessage & { /** - * Switch contains the registered switch + * Switch contains the registered switch. * * @generated from field: metalstack.api.v2.Switch switch = 1; */ @@ -110,35 +110,35 @@ export const SwitchServiceRegisterResponseSchema: GenMessage & { /** - * Id of the switch + * Id of the switch. * * @generated from field: string id = 1; */ id: string; /** - * Duration of the sync + * Duration of the sync. * * @generated from field: google.protobuf.Duration duration = 2; */ duration?: Duration | undefined; /** - * Error if any occurred during the sync + * Error if any occurred during the sync. * * @generated from field: optional string error = 3; */ error?: string | undefined; /** - * PortStates maps port identifiers to the respective port's operational state + * PortStates maps port identifiers to the respective port's operational state. * * @generated from field: map port_states = 4; */ portStates: { [key: string]: SwitchPortStatus }; /** - * BgpPortStates maps port identifiers to the respective port's BGP state + * BgpPortStates maps port identifiers to the respective port's BGP state. * * @generated from field: map bgp_port_states = 5; */ @@ -159,21 +159,21 @@ export const SwitchServiceHeartbeatRequestSchema: GenMessage & { /** - * Id of the switch + * Id of the switch. * * @generated from field: string id = 1; */ id: string; /** - * LastSync holds information about the last sync + * LastSync holds information about the last sync. * * @generated from field: metalstack.api.v2.SwitchSync last_sync = 2; */ lastSync?: SwitchSync | undefined; /** - * LastSyncError holds information about the last erroneous sync + * LastSyncError holds information about the last erroneous sync. * * @generated from field: metalstack.api.v2.SwitchSync last_sync_error = 3; */ diff --git a/js/test-interceptor.d.ts b/js/test-interceptor.d.ts new file mode 100644 index 00000000..bf9185e3 --- /dev/null +++ b/js/test-interceptor.d.ts @@ -0,0 +1,9 @@ +import type { Interceptor, UnaryResponse } from "@connectrpc/connect"; +import type { DescMessage, MessageShape } from "@bufbuild/protobuf"; +export type ClientCall = { + wantRequest: MessageShape; + wantRequestSchema: Req; + wantResponse?: () => UnaryResponse; + wantError?: Error; +}; +export declare function newTestInterceptor(calls: ClientCall[]): Interceptor; diff --git a/js/test-interceptor.js b/js/test-interceptor.js new file mode 100644 index 00000000..0dcfac46 --- /dev/null +++ b/js/test-interceptor.js @@ -0,0 +1,33 @@ +var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { + function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } + return new (P || (P = Promise))(function (resolve, reject) { + function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } + function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } + function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } + step((generator = generator.apply(thisArg, _arguments || [])).next()); + }); +}; +import { equals } from "@bufbuild/protobuf"; +export function newTestInterceptor(calls) { + let count = 0; + return (next) => (req) => __awaiter(this, void 0, void 0, function* () { + var _a, _b; + var _c; + const reqAny = req; + const expected = calls[count]; + if (!expected) { + throw new Error(`received an unexpected client call of type ${(_c = (_b = (_a = reqAny.method) === null || _a === void 0 ? void 0 : _a.input) === null || _b === void 0 ? void 0 : _b.typeName) !== null && _c !== void 0 ? _c : "unknown"}`); + } + count++; + if (!equals(expected.wantRequestSchema, reqAny.message, expected.wantRequest)) { + throw new Error(`request mismatch for call #${count - 1}: got ${JSON.stringify(reqAny.message)}`); + } + if (expected.wantError) { + throw expected.wantError; + } + if (expected.wantResponse) { + return expected.wantResponse(); + } + throw new Error(`no wantResponse or wantError configured for call #${count - 1}`); + }); +} diff --git a/package.json b/package.json index 404118c2..82d871d0 100644 --- a/package.json +++ b/package.json @@ -14,6 +14,7 @@ "@connectrpc/connect-web": "^2.1.2" }, "devDependencies": { + "@types/bun": "^1.3.14", "typescript": "^7.0.2" }, "files": [ diff --git a/proto/metalstack/admin/v2/audit.proto b/proto/metalstack/admin/v2/audit.proto index 8c7af842..61c1669a 100644 --- a/proto/metalstack/admin/v2/audit.proto +++ b/proto/metalstack/admin/v2/audit.proto @@ -24,26 +24,26 @@ service AuditService { // AuditServiceListRequest is the request payload for listing audit traces. message AuditServiceListRequest { - // Query for audit traces + // Query for audit traces. metalstack.api.v2.AuditQuery query = 1; } // AuditServiceListResponse is the response payload for listing audit traces. message AuditServiceListResponse { - // Traces contains the list of audit traces + // Traces contains the list of audit traces. repeated metalstack.api.v2.AuditTrace traces = 1; } // AuditServiceGetRequest is the request payload for getting an audit trace. message AuditServiceGetRequest { - // Uuid of the audit trace + // Uuid of the audit trace. string uuid = 1 [(buf.validate.field).string.uuid = true]; - // Phase specifies the audit phase. Defaults to request + // Phase specifies the audit phase. Defaults to request. optional metalstack.api.v2.AuditPhase phase = 2 [(buf.validate.field).enum.defined_only = true]; } // AuditServiceGetResponse is the response payload for getting an audit trace. message AuditServiceGetResponse { - // Trace is the audit trace + // Trace is the audit trace. metalstack.api.v2.AuditTrace trace = 1; } diff --git a/proto/metalstack/admin/v2/component.proto b/proto/metalstack/admin/v2/component.proto index 26a7b2ee..e026bf2f 100644 --- a/proto/metalstack/admin/v2/component.proto +++ b/proto/metalstack/admin/v2/component.proto @@ -29,36 +29,36 @@ service ComponentService { // ComponentServiceListRequest is the request payload for listing components. message ComponentServiceListRequest { - // Query filters components + // Query filters components. metalstack.api.v2.ComponentQuery query = 1; } // ComponentServiceListResponse is the response payload for listing components. message ComponentServiceListResponse { - // Components contains the list of components + // Components contains the list of components. repeated metalstack.api.v2.Component components = 1; } // ComponentServiceGetRequest is the request payload for getting a component. message ComponentServiceGetRequest { - // UUID identifies the component to get + // UUID identifies the component to get. string uuid = 1 [(buf.validate.field).string.uuid = true]; } // ComponentServiceGetResponse is the response payload for getting a component. message ComponentServiceGetResponse { - // Component contains the retrieved component + // Component contains the retrieved component. metalstack.api.v2.Component component = 1; } // ComponentServiceDeleteRequest is the request payload for deleting a component. message ComponentServiceDeleteRequest { - // UUID identifies the component to delete + // UUID identifies the component to delete. string uuid = 1 [(buf.validate.field).string.uuid = true]; } // ComponentServiceDeleteResponse is the response payload for deleting a component. message ComponentServiceDeleteResponse { - // Component contains the deleted component + // Component contains the deleted component. metalstack.api.v2.Component component = 1; } diff --git a/proto/metalstack/admin/v2/filesystem.proto b/proto/metalstack/admin/v2/filesystem.proto index 6353bd5a..2437b4cd 100644 --- a/proto/metalstack/admin/v2/filesystem.proto +++ b/proto/metalstack/admin/v2/filesystem.proto @@ -34,90 +34,90 @@ service FilesystemService { // FilesystemServiceCreateRequest is the request payload for creating a filesystem. message FilesystemServiceCreateRequest { - // FilesystemLayout is the filesystem layout to create + // FilesystemLayout is the filesystem layout to create. metalstack.api.v2.FilesystemLayout filesystem_layout = 1; } // FilesystemServiceCreateResponse is the response payload for creating a filesystem. message FilesystemServiceCreateResponse { - // FilesystemLayout contains the created filesystem layout + // FilesystemLayout contains the created filesystem layout. metalstack.api.v2.FilesystemLayout filesystem_layout = 1; } // FilesystemServiceUpdateRequest is the request payload for updating a filesystem. message FilesystemServiceUpdateRequest { - // Id of this filesystemLayout + // Id of this filesystemLayout. string id = 1 [(buf.validate.field).string.(metalstack.api.v2.is_name) = true]; - // UpdateMeta contains the timestamp and strategy to be used in this update request + // UpdateMeta contains the timestamp and strategy to be used in this update request. metalstack.api.v2.UpdateMeta update_meta = 2 [(buf.validate.field).required = true]; - // Name of this filesystemLayout + // Name of this filesystemLayout. optional string name = 3 [(buf.validate.field).string.(metalstack.api.v2.is_name) = true]; - // Description of this filesystemLayout + // Description of this filesystemLayout. optional string description = 4 [(buf.validate.field).string.(metalstack.api.v2.is_description) = true]; - // Filesystems is a list of filesystems to create on a machine + // Filesystems is a list of filesystems to create on a machine. repeated metalstack.api.v2.Filesystem filesystems = 5; - // Disks list of disks that belong to this layout + // Disks list of disks that belong to this layout. repeated metalstack.api.v2.Disk disks = 6; - // Raid arrays to create + // Raid arrays to create. repeated metalstack.api.v2.Raid raid = 7; - // VolumeGroups list of volumegroups to create + // VolumeGroups list of volumegroups to create. repeated metalstack.api.v2.VolumeGroup volume_groups = 8; - // LogicalVolumes list of logicalvolumes to create + // LogicalVolumes list of logicalvolumes to create. repeated metalstack.api.v2.LogicalVolume logical_volumes = 9; - // Constraints which must match that this layout is taken, if sizes and images are empty these are develop layouts + // Constraints which must match that this layout is taken, if sizes and images are empty these are develop layouts. metalstack.api.v2.FilesystemLayoutConstraints constraints = 10; } // FilesystemServiceUpdateResponse is the response payload for updating a filesystem. message FilesystemServiceUpdateResponse { - // FilesystemLayout contains the updated filesystem layout + // FilesystemLayout contains the updated filesystem layout. metalstack.api.v2.FilesystemLayout filesystem_layout = 1; } // FilesystemServiceDeleteRequest is the request payload for deleting a filesystem. message FilesystemServiceDeleteRequest { - // ID of the filesystem to delete + // ID of the filesystem to delete. string id = 1 [(buf.validate.field).string.(metalstack.api.v2.is_name) = true]; } // FilesystemServiceDeleteResponse is the response payload for deleting a filesystem. message FilesystemServiceDeleteResponse { - // FilesystemLayout contains the deleted filesystem layout + // FilesystemLayout contains the deleted filesystem layout. metalstack.api.v2.FilesystemLayout filesystem_layout = 1; } -// FilesystemServiceMatchRequest +// FilesystemServiceMatchRequest. message FilesystemServiceMatchRequest { - // Match size and image to a filesystem layout - // or match a machine to a filesystem layout + // Match size and image to a filesystem layout. + // or match a machine to a filesystem layout. oneof match { - // ensure at least one match is specified + // ensure at least one match is specified. option (buf.validate.oneof).required = true; - // SizeAndImage + // SizeAndImage. MatchImageAndSize size_and_image = 1; - // MachineAndFilesystemlayout + // MachineAndFilesystemlayout. MatchMachineAndFilesystemLayout machine_and_filesystemlayout = 2; } } -// MatchImageAndSize +// MatchImageAndSize. message MatchImageAndSize { - // Size, machine size to try + // Size, machine size to try. string size = 1 [(buf.validate.field).string.(metalstack.api.v2.is_name) = true]; - // Image machine image to try + // Image machine image to try. string image = 2 [(buf.validate.field).string.(metalstack.api.v2.is_name) = true]; } -// MatchMachineAndFilesystemLayout +// MatchMachineAndFilesystemLayout. message MatchMachineAndFilesystemLayout { - // Machine to check + // Machine to check. string machine = 1 [(buf.validate.field).string.uuid = true]; - // FilesystemLayout to check + // FilesystemLayout to check. string filesystem_layout = 2 [(buf.validate.field).string.(metalstack.api.v2.is_name) = true]; } -// FilesystemServiceMatchResponse +// FilesystemServiceMatchResponse. message FilesystemServiceMatchResponse { - // FilesystemLayout the filesystemlayout + // FilesystemLayout the filesystemlayout. metalstack.api.v2.FilesystemLayout filesystem_layout = 1; } diff --git a/proto/metalstack/admin/v2/image.proto b/proto/metalstack/admin/v2/image.proto index 92ded52b..eb51283b 100644 --- a/proto/metalstack/admin/v2/image.proto +++ b/proto/metalstack/admin/v2/image.proto @@ -35,70 +35,70 @@ service ImageService { // ImageServiceCreateRequest is the request payload for creating an image. message ImageServiceCreateRequest { - // Image is the image to create + // Image is the image to create. metalstack.api.v2.Image image = 1; } // ImageServiceCreateResponse is the response payload for creating an image. message ImageServiceCreateResponse { - // Image contains the created image + // Image contains the created image. metalstack.api.v2.Image image = 1; } // ImageServiceUpdateRequest is the request payload for updating an image. message ImageServiceUpdateRequest { - // Id of this image + // Id of this image. string id = 1 [(buf.validate.field).string.(metalstack.api.v2.is_name) = true]; - // UpdateMeta contains the timestamp and strategy to be used in this update request + // UpdateMeta contains the timestamp and strategy to be used in this update request. metalstack.api.v2.UpdateMeta update_meta = 2 [(buf.validate.field).required = true]; - // URL where this image is located + // URL where this image is located. optional string url = 3 [(buf.validate.field).string.(metalstack.api.v2.is_uri) = true]; - // Name of this image + // Name of this image. optional string name = 4 [(buf.validate.field).string.(metalstack.api.v2.is_name) = true]; - // Description of this image + // Description of this image. optional string description = 5 [(buf.validate.field).string.(metalstack.api.v2.is_description) = true]; - // Features of this image + // Features of this image. repeated metalstack.api.v2.ImageFeature features = 6 [(buf.validate.field).repeated = { unique: true items: { enum: {defined_only: true} } }]; - // Classification of this image + // Classification of this image. metalstack.api.v2.ImageClassification classification = 7 [(buf.validate.field).enum.defined_only = true]; - // ExpiresAt indicates that usage is not possible after this date + // ExpiresAt indicates that usage is not possible after this date. google.protobuf.Timestamp expires_at = 8; - // Labels to update on this image + // Labels to update on this image. optional metalstack.api.v2.UpdateLabels labels = 9; } // ImageServiceUpdateResponse is the response payload for updating an image. message ImageServiceUpdateResponse { - // Image contains the updated image + // Image contains the updated image. metalstack.api.v2.Image image = 1; } // ImageServiceDeleteRequest is the request payload for deleting an image. message ImageServiceDeleteRequest { - // ID of the image to delete + // ID of the image to delete. string id = 1 [(buf.validate.field).string.(metalstack.api.v2.is_name) = true]; } // ImageServiceDeleteResponse is the response payload for deleting an image. message ImageServiceDeleteResponse { - // Image contains the deleted image + // Image contains the deleted image. metalstack.api.v2.Image image = 1; } // ImageServiceUsageRequest is the request payload for getting image usage. message ImageServiceUsageRequest { - // Query for which images the usage should be reported + // Query for which images the usage should be reported. metalstack.api.v2.ImageQuery query = 1; } // ImageServiceUsageResponse is the response payload for getting image usage. message ImageServiceUsageResponse { - // Images contains usage information + // Images contains usage information. repeated metalstack.api.v2.ImageUsage image_usage = 1; } diff --git a/proto/metalstack/admin/v2/ip.proto b/proto/metalstack/admin/v2/ip.proto index ab102aab..982e7881 100644 --- a/proto/metalstack/admin/v2/ip.proto +++ b/proto/metalstack/admin/v2/ip.proto @@ -17,12 +17,12 @@ service IPService { // IPServiceListRequest is the request payload for listing IP addresses. message IPServiceListRequest { - // Query to search for IP addresses + // Query to search for IP addresses. metalstack.api.v2.IPQuery query = 1; } // IPServiceListResponse is the response payload for listing IP addresses. message IPServiceListResponse { - // IPs contains the list of IP addresses + // IPs contains the list of IP addresses. repeated metalstack.api.v2.IP ips = 1; } diff --git a/proto/metalstack/admin/v2/machine.proto b/proto/metalstack/admin/v2/machine.proto index a027d4cb..a74f3fac 100644 --- a/proto/metalstack/admin/v2/machine.proto +++ b/proto/metalstack/admin/v2/machine.proto @@ -54,7 +54,7 @@ service MachineService { option (metalstack.api.v2.admin_roles) = ADMIN_ROLE_EDITOR; option (metalstack.api.v2.auditing) = AUDITING_INCLUDED; } - // Issues allows to query issues of machines + // Issues allows to query issues of machines. rpc Issues(MachineServiceIssuesRequest) returns (MachineServiceIssuesResponse) { option (metalstack.api.v2.admin_roles) = ADMIN_ROLE_EDITOR; option (metalstack.api.v2.admin_roles) = ADMIN_ROLE_VIEWER; @@ -64,79 +64,79 @@ service MachineService { // ------------------------ Service Messages ---------------------------------- -// MachineServiceGetRequest is the request payload for a machine get request +// MachineServiceGetRequest is the request payload for a machine get request. message MachineServiceGetRequest { - // UUID of the machine to get + // UUID of the machine to get. string uuid = 1 [(buf.validate.field).string.uuid = true]; } -// MachineServiceGetResponse is the response payload for a machine get request +// MachineServiceGetResponse is the response payload for a machine get request. message MachineServiceGetResponse { - // Machine is the machine requested + // Machine is the machine requested. metalstack.api.v2.Machine machine = 1; } -// MachineServiceListRequest is the request payload for a machine list request +// MachineServiceListRequest is the request payload for a machine list request. message MachineServiceListRequest { - // Query to list one or more machines + // Query to list one or more machines. metalstack.api.v2.MachineQuery query = 1; - // Partition for which machines should be listed, could be left empty if only one partition is present - // otherwise an error is thrown that the partition must be specified + // Partition for which machines should be listed, could be left empty if only one partition is present. + // otherwise an error is thrown that the partition must be specified. optional string partition = 2 [(buf.validate.field).string.(metalstack.api.v2.is_partition) = true]; } -// MachineServiceListResponse is the response payload for a machine list request +// MachineServiceListResponse is the response payload for a machine list request. message MachineServiceListResponse { - // Machines are the machines requested by a list request + // Machines are the machines requested by a list request. repeated metalstack.api.v2.Machine machines = 1; } -// MachineServiceDeleteRequest is the request payload for a machine delete request +// MachineServiceDeleteRequest is the request payload for a machine delete request. message MachineServiceDeleteRequest { - // UUID of the machine to permanently delete + // UUID of the machine to permanently delete. string uuid = 1 [(buf.validate.field).string.uuid = true]; } -// MachineServiceDeleteResponse is the response payload for a machine delete request +// MachineServiceDeleteResponse is the response payload for a machine delete request. message MachineServiceDeleteResponse { - // Machine is the machine permanently deleted + // Machine is the machine permanently deleted. metalstack.api.v2.Machine machine = 1; } -// MachineServiceBMCCommandRequest is the request payload for a machine bmc command +// MachineServiceBMCCommandRequest is the request payload for a machine bmc command. message MachineServiceBMCCommandRequest { - // UUID of the machine to send the command to + // UUID of the machine to send the command to. string uuid = 1 [(buf.validate.field).string.uuid = true]; - // Command to send to the bmc of the machine + // Command to send to the bmc of the machine. metalstack.api.v2.MachineBMCCommand command = 2 [(buf.validate.field).enum.defined_only = true]; } -// MachineServiceBMCCommandResponse is the response payload for a machine bmc command +// MachineServiceBMCCommandResponse is the response payload for a machine bmc command. message MachineServiceBMCCommandResponse {} -// MachineServiceGetBMCRequest is the request payload for a machine getbmc request +// MachineServiceGetBMCRequest is the request payload for a machine getbmc request. message MachineServiceGetBMCRequest { - // UUID of the machine to get + // UUID of the machine to get. string uuid = 1 [(buf.validate.field).string.uuid = true]; } -// MachineServiceGetBMCResponse is the response payload for a machine getbmc request +// MachineServiceGetBMCResponse is the response payload for a machine getbmc request. message MachineServiceGetBMCResponse { - // UUID of the machine + // UUID of the machine. string uuid = 1 [(buf.validate.field).string.uuid = true]; - // BMC contains the BMC details of this machine + // BMC contains the BMC details of this machine. metalstack.api.v2.MachineBMCReport bmc = 2; } -// MachineServiceListBMCRequest is the request payload for a machine listbmc request +// MachineServiceListBMCRequest is the request payload for a machine listbmc request. message MachineServiceListBMCRequest { - // Query to list one or more BMCs of many machines + // Query to list one or more BMCs of many machines. metalstack.api.v2.MachineBMCQuery query = 1; } -// MachineServiceListBMCResponse is the response payload for a machine listbmc request +// MachineServiceListBMCResponse is the response payload for a machine listbmc request. message MachineServiceListBMCResponse { - // BMCReports maps the bmc report per machine uuid + // BMCReports maps the bmc report per machine uuid. map bmc_reports = 1 [(buf.validate.field).map = { keys: { string: {uuid: true} @@ -146,10 +146,10 @@ message MachineServiceListBMCResponse { // MachineServiceConsolePasswordRequest is the request payload for getting the console password. message MachineServiceConsolePasswordRequest { - // UUID of the machine to get + // UUID of the machine to get. string uuid = 1 [(buf.validate.field).string.uuid = true]; - // Reason must be provided why access to the console is requested - // Reason is only forwarded to an audit sink + // Reason must be provided why access to the console is requested. + // Reason is only forwarded to an audit sink. string reason = 2 [ (buf.validate.field).string.min_len = 10, (buf.validate.field).string.max_len = 512 @@ -158,37 +158,37 @@ message MachineServiceConsolePasswordRequest { // MachineServiceConsolePasswordResponse is the response payload for getting the console password. message MachineServiceConsolePasswordResponse { - // UUID of the machine to get + // UUID of the machine to get. string uuid = 1 [(buf.validate.field).string.uuid = true]; - // Password to access the console + // Password to access the console. string password = 2; } -// MachineServiceSetStateRequest is the request payload for a machine set state request +// MachineServiceSetStateRequest is the request payload for a machine set state request. message MachineServiceSetStateRequest { - // UUID of the machine to set the state to + // UUID of the machine to set the state to. string uuid = 1 [(buf.validate.field).string.uuid = true]; // State the state of this machine. // If State set to available, description is also cleared. metalstack.api.v2.MachineState state = 2 [(buf.validate.field).enum.defined_only = true]; - // Description a description why this machine is in the given state + // Description a description why this machine is in the given state. string description = 3 [(buf.validate.field).string.(metalstack.api.v2.is_description) = true]; } -// MachineServiceSetStateResponse is the response payload for a machine set state request +// MachineServiceSetStateResponse is the response payload for a machine set state request. message MachineServiceSetStateResponse { // Machine with the changed state. metalstack.api.v2.Machine machine = 1; } -// MachineServiceIssuesRequest is the request payload for a machine issues request +// MachineServiceIssuesRequest is the request payload for a machine issues request. message MachineServiceIssuesRequest { - // Query which machine issues to include + // Query which machine issues to include. metalstack.api.v2.MachineIssuesQuery query = 1; } -// MachineServiceIssuesResponse is the response payload for a machine issues request +// MachineServiceIssuesResponse is the response payload for a machine issues request. message MachineServiceIssuesResponse { - // Issues is the result of the issues query + // Issues is the result of the issues query. repeated metalstack.api.v2.MachineIssues issues = 1; } diff --git a/proto/metalstack/admin/v2/network.proto b/proto/metalstack/admin/v2/network.proto index 9485fa0a..c79bd313 100644 --- a/proto/metalstack/admin/v2/network.proto +++ b/proto/metalstack/admin/v2/network.proto @@ -40,77 +40,77 @@ service NetworkService { // NetworkServiceGetRequest is the request payload for getting a network. message NetworkServiceGetRequest { - // ID of the network to get + // ID of the network to get. string id = 1 [(buf.validate.field).string.(metalstack.api.v2.is_name) = true]; } // NetworkServiceGetResponse is the response payload for getting a network. message NetworkServiceGetResponse { - // Network contains the requested network + // Network contains the requested network. metalstack.api.v2.Network network = 1; } // NetworkServiceCreateRequest is the request payload for creating a network. message NetworkServiceCreateRequest { - // Id of this network + // Id of this network. optional string id = 1 [(buf.validate.field).string.(metalstack.api.v2.is_name) = true]; - // Name of this network + // Name of this network. optional string name = 2 [(buf.validate.field).string.(metalstack.api.v2.is_name) = true]; - // Description of this network + // Description of this network. optional string description = 3 [(buf.validate.field).string.(metalstack.api.v2.is_description) = true]; - // Partition where this network will be created + // Partition where this network will be created. optional string partition = 4 [(buf.validate.field).string.(metalstack.api.v2.is_partition) = true]; - // Project where this network belongs to + // Project where this network belongs to. optional string project = 5 [(buf.validate.field).string.uuid = true]; - // Type of the network to create + // Type of the network to create. metalstack.api.v2.NetworkType type = 6 [(buf.validate.field).enum.defined_only = true]; - // Labels on this network + // Labels on this network. optional metalstack.api.v2.Labels labels = 7; - // Prefixes in this network + // Prefixes in this network. repeated string prefixes = 8 [(buf.validate.field).repeated.(metalstack.api.v2.prefixes) = true]; - // Destination Prefixes in this network + // Destination Prefixes in this network. repeated string destination_prefixes = 9 [(buf.validate.field).repeated.(metalstack.api.v2.prefixes) = true]; - // Default Child Prefix length defines the bitlength of a child network created per addressfamily, if not specified during the allocate request + // Default Child Prefix length defines the bitlength of a child network created per addressfamily, if not specified during the allocate request. metalstack.api.v2.ChildPrefixLength default_child_prefix_length = 10; - // Min Child Prefix length asserts that during child network creation the requested bit length is greater or equal the min child prefix length + // Min Child Prefix length asserts that during child network creation the requested bit length is greater or equal the min child prefix length. metalstack.api.v2.ChildPrefixLength min_child_prefix_length = 11; - // NATType of this network + // NATType of this network. optional metalstack.api.v2.NATType nat_type = 12 [(buf.validate.field).enum.defined_only = true]; - // VRF of this network has this VNI + // VRF of this network has this VNI. optional uint32 vrf = 13; - // Parent Network points to the id of the parent network if any + // Parent Network points to the id of the parent network if any. optional string parent_network = 14 [(buf.validate.field).string.(metalstack.api.v2.is_name) = true]; - // AdditionalAnnouncableCidrs will be added to the allow list on the switch which prefixes might be announced + // AdditionalAnnouncableCidrs will be added to the allow list on the switch which prefixes might be announced. repeated string additional_announcable_cidrs = 15 [(buf.validate.field).repeated.(metalstack.api.v2.prefixes) = true]; - // Length per addressfamily + // Length per addressfamily. optional metalstack.api.v2.ChildPrefixLength length = 16; - // AddressFamily to create, defaults to the same as the parent + // AddressFamily to create, defaults to the same as the parent. optional metalstack.api.v2.NetworkAddressFamily address_family = 17 [(buf.validate.field).enum.defined_only = true]; } // NetworkServiceUpdateRequest is the request payload for updating a network. message NetworkServiceUpdateRequest { - // Id of this network + // Id of this network. string id = 1 [(buf.validate.field).string.(metalstack.api.v2.is_name) = true]; - // UpdateMeta contains the timestamp and strategy to be used in this update request + // UpdateMeta contains the timestamp and strategy to be used in this update request. metalstack.api.v2.UpdateMeta update_meta = 2 [(buf.validate.field).required = true]; - // Name of this network + // Name of this network. optional string name = 3 [(buf.validate.field).string.(metalstack.api.v2.is_name) = true]; - // Description of this network + // Description of this network. optional string description = 4 [(buf.validate.field).string.(metalstack.api.v2.is_description) = true]; - // Labels to update on this network + // Labels to update on this network. optional metalstack.api.v2.UpdateLabels labels = 5; - // Prefixes in this network + // Prefixes in this network. repeated string prefixes = 6 [(buf.validate.field).repeated.(metalstack.api.v2.prefixes) = true]; - // Destination Prefixes in this network + // Destination Prefixes in this network. repeated string destination_prefixes = 7 [(buf.validate.field).repeated.(metalstack.api.v2.prefixes) = true]; - // Default Child Prefix length defines the bit length of a child network created per addressfamily, if not specified during the allocate request + // Default Child Prefix length defines the bit length of a child network created per addressfamily, if not specified during the allocate request. optional metalstack.api.v2.ChildPrefixLength default_child_prefix_length = 8; - // Min Child Prefix length asserts that during child network creation the requested bit length is greater or equal the min child prefix length + // Min Child Prefix length asserts that during child network creation the requested bit length is greater or equal the min child prefix length. optional metalstack.api.v2.ChildPrefixLength min_child_prefix_length = 9; - // NATType of this network + // NATType of this network. optional metalstack.api.v2.NATType nat_type = 10 [(buf.validate.field).enum.defined_only = true]; - // AdditionalAnnouncableCidrs will be added to the allow list on the switch which prefixes might be announced + // AdditionalAnnouncableCidrs will be added to the allow list on the switch which prefixes might be announced. repeated string additional_announcable_cidrs = 11 [(buf.validate.field).repeated.(metalstack.api.v2.prefixes) = true]; // Force update, prevents accidental removal of additional_announcable_cidrs which will destroy your dataplane. @@ -119,36 +119,36 @@ message NetworkServiceUpdateRequest { // NetworkServiceDeleteRequest is the request payload for deleting a network. message NetworkServiceDeleteRequest { - // ID of the network to get + // ID of the network to get. string id = 1 [(buf.validate.field).string.(metalstack.api.v2.is_name) = true]; } // NetworkServiceListRequest is the request payload for listing networks. message NetworkServiceListRequest { - // Query specifies which networks to return + // Query specifies which networks to return. metalstack.api.v2.NetworkQuery query = 1; } // NetworkServiceCreateResponse is the response payload for creating a network. message NetworkServiceCreateResponse { - // Network contains the created network + // Network contains the created network. metalstack.api.v2.Network network = 1; } // NetworkServiceUpdateResponse is the response payload for updating a network. message NetworkServiceUpdateResponse { - // Network contains the updated network + // Network contains the updated network. metalstack.api.v2.Network network = 1; } // NetworkServiceDeleteResponse is the response payload for deleting a network. message NetworkServiceDeleteResponse { - // Network contains the deleted network + // Network contains the deleted network. metalstack.api.v2.Network network = 1; } // NetworkServiceListResponse is the response payload for listing networks. message NetworkServiceListResponse { - // Networks contains the list of networks + // Networks contains the list of networks. repeated metalstack.api.v2.Network networks = 1; } diff --git a/proto/metalstack/admin/v2/partition.proto b/proto/metalstack/admin/v2/partition.proto index 21025a34..2ff8028e 100644 --- a/proto/metalstack/admin/v2/partition.proto +++ b/proto/metalstack/admin/v2/partition.proto @@ -32,74 +32,74 @@ service PartitionService { } } -// PartitionServiceCreateRequest is the request payload for a partition create request +// PartitionServiceCreateRequest is the request payload for a partition create request. message PartitionServiceCreateRequest { - // Partition the partition + // Partition the partition. metalstack.api.v2.Partition partition = 1; } // PartitionServiceUpdateRequest is the request payload for updating a partition. message PartitionServiceUpdateRequest { - // ID of this partition + // ID of this partition. string id = 1 [(buf.validate.field).string.(metalstack.api.v2.is_partition) = true]; - // UpdateMeta contains the timestamp and strategy to be used in this update request + // UpdateMeta contains the timestamp and strategy to be used in this update request. metalstack.api.v2.UpdateMeta update_meta = 2 [(buf.validate.field).required = true]; - // Description of this partition + // Description of this partition. optional string description = 3 [(buf.validate.field).string.(metalstack.api.v2.is_description) = true]; - // PartitionBootConfiguration defines how metal-hammer boots + // PartitionBootConfiguration defines how metal-hammer boots. metalstack.api.v2.PartitionBootConfiguration boot_configuration = 4; - // DNSServers for this partition + // DNSServers for this partition. repeated metalstack.api.v2.DNSServer dns_servers = 5 [(buf.validate.field).repeated.max_items = 3]; - // NTPServers for this partition + // NTPServers for this partition. repeated metalstack.api.v2.NTPServer ntp_servers = 6 [(buf.validate.field).repeated.max_items = 10]; - // ManagementServiceAddresses defines where the management is reachable - // must be in the form : + // ManagementServiceAddresses defines where the management is reachable. + // must be in the form :. repeated string mgmt_service_addresses = 7 [(buf.validate.field).repeated.(metalstack.api.v2.are_host_and_port) = true]; - // Labels to update on this network + // Labels to update on this network. optional metalstack.api.v2.UpdateLabels labels = 8; } -// PartitionServiceDeleteRequest is the request payload for a partition delete request +// PartitionServiceDeleteRequest is the request payload for a partition delete request. message PartitionServiceDeleteRequest { - // ID of the partition to delete + // ID of the partition to delete. string id = 1 [(buf.validate.field).string.(metalstack.api.v2.is_partition) = true]; } -// PartitionServiceCreateResponse is the response payload for a partition create request +// PartitionServiceCreateResponse is the response payload for a partition create request. message PartitionServiceCreateResponse { - // Partition the partition + // Partition the partition. metalstack.api.v2.Partition partition = 1; } -// PartitionServiceUpdateResponse is the response payload for a partition update request +// PartitionServiceUpdateResponse is the response payload for a partition update request. message PartitionServiceUpdateResponse { - // Partition the partition + // Partition the partition. metalstack.api.v2.Partition partition = 1; } // PartitionServiceDeleteResponse is the response payload for deleting a partition. message PartitionServiceDeleteResponse { - // Partition contains the deleted partition + // Partition contains the deleted partition. metalstack.api.v2.Partition partition = 1; } // PartitionServiceCapacityRequest is the request payload for getting partition capacity. message PartitionServiceCapacityRequest { - // ID of the partition to get + // ID of the partition to get. optional string id = 1 [(buf.validate.field).string.(metalstack.api.v2.is_partition) = true]; - // Size of machines to show the capacity + // Size of machines to show the capacity. optional string size = 2 [(buf.validate.field).string.(metalstack.api.v2.is_name) = true]; - // Project of machines to show the capacity + // Project of machines to show the capacity. optional string project = 3 [(buf.validate.field).string.uuid = true]; } -// PartitionServiceCapacityResponse is the response payload for a partition capacity request +// PartitionServiceCapacityResponse is the response payload for a partition capacity request. message PartitionServiceCapacityResponse { - // PartitionCapacity is a capacity report per partition + // PartitionCapacity is a capacity report per partition. repeated PartitionCapacity partition_capacity = 1; } -// PartitionCapacity is the capacity of one partition +// PartitionCapacity is the capacity of one partition. message PartitionCapacity { // Partition of which this capacity is reported. string partition = 1 [(buf.validate.field).string.(metalstack.api.v2.is_partition) = true]; @@ -107,7 +107,7 @@ message PartitionCapacity { repeated MachineSizeCapacity machine_size_capacities = 2; } -// ServerCapacity is the capacity of one server type, eg machine size +// ServerCapacity is the capacity of one server type, eg machine size. message MachineSizeCapacity { // Size is the size id correlating to all counts in this server capacity. string size = 2 [(buf.validate.field).string.(metalstack.api.v2.is_name) = true]; @@ -131,7 +131,7 @@ message MachineSizeCapacity { // Free is the amount of machines in a partition that can be freely allocated at any given moment by a project. // Effectively this is the amount of waiting machines minus the machines that are unavailable due to machine state or un-allocatable due to size reservations. int64 free = 10; - // Unavailable is the amount of machine in a partition that are currently not allocatable because they are not waiting or + // Unavailable is the amount of machine in a partition that are currently not allocatable because they are not waiting or. // not in the machine state "available", e.g. locked or reserved. int64 unavailable = 11; diff --git a/proto/metalstack/admin/v2/project.proto b/proto/metalstack/admin/v2/project.proto index e0b2292c..3300e11f 100644 --- a/proto/metalstack/admin/v2/project.proto +++ b/proto/metalstack/admin/v2/project.proto @@ -17,12 +17,12 @@ service ProjectService { // ProjectServiceListRequest is the request payload for listing projects. message ProjectServiceListRequest { - // Query for projects + // Query for projects. optional metalstack.api.v2.ProjectQuery query = 1; } // ProjectServiceListResponse is the response payload for listing projects. message ProjectServiceListResponse { - // Projects contains the list of projects + // Projects contains the list of projects. repeated metalstack.api.v2.Project projects = 1; } diff --git a/proto/metalstack/admin/v2/size.proto b/proto/metalstack/admin/v2/size.proto index a2382c53..cd3c9a5a 100644 --- a/proto/metalstack/admin/v2/size.proto +++ b/proto/metalstack/admin/v2/size.proto @@ -28,46 +28,46 @@ service SizeService { // SizeServiceCreateRequest is the request payload for creating a size. message SizeServiceCreateRequest { - // Size is the size to create + // Size is the size to create. metalstack.api.v2.Size size = 1; } // SizeServiceCreateResponse is the response payload for creating a size. message SizeServiceCreateResponse { - // Size contains the created size + // Size contains the created size. metalstack.api.v2.Size size = 1; } // SizeServiceUpdateRequest is the request payload for updating a size. message SizeServiceUpdateRequest { - // Id of this size + // Id of this size. string id = 1 [(buf.validate.field).string.(metalstack.api.v2.is_name) = true]; - // UpdateMeta contains the timestamp and strategy to be used in this update request + // UpdateMeta contains the timestamp and strategy to be used in this update request. metalstack.api.v2.UpdateMeta update_meta = 2 [(buf.validate.field).required = true]; - // Name of this size + // Name of this size. optional string name = 3 [(buf.validate.field).string.(metalstack.api.v2.is_name) = true]; - // Description of this size + // Description of this size. optional string description = 4 [(buf.validate.field).string.(metalstack.api.v2.is_description) = true]; - // Constraints which must match that a specific machine is considered of this size + // Constraints which must match that a specific machine is considered of this size. repeated metalstack.api.v2.SizeConstraint constraints = 5; - // Labels to update on this size + // Labels to update on this size. optional metalstack.api.v2.UpdateLabels labels = 6; } // SizeServiceUpdateResponse is the response payload for updating a size. message SizeServiceUpdateResponse { - // Size contains the updated size + // Size contains the updated size. metalstack.api.v2.Size size = 1; } // SizeServiceDeleteRequest is the request payload for deleting a size. message SizeServiceDeleteRequest { - // ID of the size to delete + // ID of the size to delete. string id = 1 [(buf.validate.field).string.(metalstack.api.v2.is_name) = true]; } // SizeServiceDeleteResponse is the response payload for deleting a size. message SizeServiceDeleteResponse { - // Size contains the deleted size + // Size contains the deleted size. metalstack.api.v2.Size size = 1; } diff --git a/proto/metalstack/admin/v2/size_imageconstraint.proto b/proto/metalstack/admin/v2/size_imageconstraint.proto index a0d5868e..3dfaca1f 100644 --- a/proto/metalstack/admin/v2/size_imageconstraint.proto +++ b/proto/metalstack/admin/v2/size_imageconstraint.proto @@ -40,76 +40,76 @@ service SizeImageConstraintService { // SizeImageConstraintServiceCreateRequest is the request payload for creating a size image constraint. message SizeImageConstraintServiceCreateRequest { - // Size of the constraint + // Size of the constraint. string size = 1 [(buf.validate.field).string.(metalstack.api.v2.is_name) = true]; - // ImageConstraints to apply to this size + // ImageConstraints to apply to this size. repeated metalstack.api.v2.ImageConstraint image_constraints = 2; - // Meta for this size image constraint + // Meta for this size image constraint. metalstack.api.v2.Meta meta = 3; - // Name of this size image constraint + // Name of this size image constraint. optional string name = 4 [(buf.validate.field).string.(metalstack.api.v2.is_name) = true]; - // Description of this size image constraint + // Description of this size image constraint. optional string description = 5 [(buf.validate.field).string.(metalstack.api.v2.is_description) = true]; } // SizeImageConstraintServiceCreateResponse is the response payload for creating a size image constraint. message SizeImageConstraintServiceCreateResponse { - // SizeImageConstraint contains the created constraint + // SizeImageConstraint contains the created constraint. metalstack.api.v2.SizeImageConstraint size_image_constraint = 1; } // SizeImageConstraintServiceUpdateRequest is the request payload for updating a size image constraint. message SizeImageConstraintServiceUpdateRequest { - // Size of the image constraint to update + // Size of the image constraint to update. string size = 1 [(buf.validate.field).string.(metalstack.api.v2.is_name) = true]; - // UpdateMeta contains the timestamp and strategy to be used in this update request + // UpdateMeta contains the timestamp and strategy to be used in this update request. metalstack.api.v2.UpdateMeta update_meta = 2 [(buf.validate.field).required = true]; - // ImageConstraints to apply to this size + // ImageConstraints to apply to this size. repeated metalstack.api.v2.ImageConstraint image_constraints = 3; - // Name of this size image constraint + // Name of this size image constraint. optional string name = 4 [(buf.validate.field).string.(metalstack.api.v2.is_name) = true]; - // Description of this size image constraint + // Description of this size image constraint. optional string description = 5 [(buf.validate.field).string.(metalstack.api.v2.is_description) = true]; } // SizeImageConstraintServiceUpdateResponse is the response payload for updating a size image constraint. message SizeImageConstraintServiceUpdateResponse { - // SizeImageConstraint contains the updated constraint + // SizeImageConstraint contains the updated constraint. metalstack.api.v2.SizeImageConstraint size_image_constraint = 1; } // SizeImageConstraintServiceDeleteRequest is the request payload for deleting a size image constraint. message SizeImageConstraintServiceDeleteRequest { - // Size of the constraint + // Size of the constraint. string size = 1 [(buf.validate.field).string.(metalstack.api.v2.is_name) = true]; } // SizeImageConstraintServiceDeleteResponse is the response payload for deleting a size image constraint. message SizeImageConstraintServiceDeleteResponse { - // SizeImageConstraint contains the deleted constraint + // SizeImageConstraint contains the deleted constraint. metalstack.api.v2.SizeImageConstraint size_image_constraint = 1; } // SizeImageConstraintServiceGetRequest is the request payload for getting a size image constraint. message SizeImageConstraintServiceGetRequest { - // Size of the constraint + // Size of the constraint. string size = 1 [(buf.validate.field).string.(metalstack.api.v2.is_name) = true]; } // SizeImageConstraintServiceGetResponse is the response payload for getting a size image constraint. message SizeImageConstraintServiceGetResponse { - // SizeImageConstraint contains the retrieved constraint + // SizeImageConstraint contains the retrieved constraint. metalstack.api.v2.SizeImageConstraint size_image_constraint = 1; } // SizeImageConstraintServiceListRequest is the request payload for listing size image constraints. message SizeImageConstraintServiceListRequest { - // Query for size image constraints + // Query for size image constraints. metalstack.api.v2.SizeImageConstraintQuery query = 1; } // SizeImageConstraintServiceListResponse is the response payload for listing size image constraints. message SizeImageConstraintServiceListResponse { - // SizeImageConstraints contains the list of constraints + // SizeImageConstraints contains the list of constraints. repeated metalstack.api.v2.SizeImageConstraint size_image_constraints = 1; } diff --git a/proto/metalstack/admin/v2/size_reservation.proto b/proto/metalstack/admin/v2/size_reservation.proto index 253c3352..bc968e54 100644 --- a/proto/metalstack/admin/v2/size_reservation.proto +++ b/proto/metalstack/admin/v2/size_reservation.proto @@ -34,64 +34,64 @@ service SizeReservationService { // SizeReservationServiceCreateRequest is the request payload for creating a size reservation. message SizeReservationServiceCreateRequest { - // SizeReservation is the size reservation to create + // SizeReservation is the size reservation to create. metalstack.api.v2.SizeReservation size_reservation = 1; } // SizeReservationServiceCreateResponse is the response payload for creating a size reservation. message SizeReservationServiceCreateResponse { - // SizeReservation contains the created reservation + // SizeReservation contains the created reservation. metalstack.api.v2.SizeReservation size_reservation = 1; } // SizeReservationServiceUpdateRequest is the request payload for updating a size reservation. message SizeReservationServiceUpdateRequest { - // Id of this size reservation + // Id of this size reservation. string id = 1 [(buf.validate.field).string.uuid = true]; - // Name of this size reservation + // Name of this size reservation. optional string name = 2 [(buf.validate.field).string.(metalstack.api.v2.is_name) = true]; - // Description of this size reservation + // Description of this size reservation. optional string description = 3 [(buf.validate.field).string.(metalstack.api.v2.is_description) = true]; - // UpdateMeta contains the timestamp and strategy to be used in this update request + // UpdateMeta contains the timestamp and strategy to be used in this update request. metalstack.api.v2.UpdateMeta update_meta = 4 [(buf.validate.field).required = true]; - // Partition ids of this size reservation + // Partition ids of this size reservation. repeated string partitions = 5 [ (buf.validate.field).repeated.min_items = 1, (buf.validate.field).repeated.unique = true, (buf.validate.field).repeated.items.string.(metalstack.api.v2.is_partition) = true ]; - // Amount of reservations of this size reservation + // Amount of reservations of this size reservation. optional int32 amount = 6 [(buf.validate.field).int32.gt = 0]; - // Labels to update of this size reservation + // Labels to update of this size reservation. optional metalstack.api.v2.UpdateLabels labels = 7; } // SizeReservationServiceUpdateResponse is the response payload for updating a size reservation. message SizeReservationServiceUpdateResponse { - // SizeReservation contains the updated reservation + // SizeReservation contains the updated reservation. metalstack.api.v2.SizeReservation size_reservation = 1; } // SizeReservationServiceDeleteRequest is the request payload for deleting a size reservation. message SizeReservationServiceDeleteRequest { - // ID of the size reservation to delete + // ID of the size reservation to delete. string id = 1 [(buf.validate.field).string.uuid = true]; } // SizeReservationServiceDeleteResponse is the response payload for deleting a size reservation. message SizeReservationServiceDeleteResponse { - // SizeReservation contains the deleted reservation + // SizeReservation contains the deleted reservation. metalstack.api.v2.SizeReservation size_reservation = 1; } // SizeReservationServiceListRequest is the request payload for listing size reservations. message SizeReservationServiceListRequest { - // Query for size reservations + // Query for size reservations. metalstack.api.v2.SizeReservationQuery query = 1; } // SizeReservationServiceListResponse is the response payload for listing size reservations. message SizeReservationServiceListResponse { - // SizeReservations contains the list of reservations + // SizeReservations contains the list of reservations. repeated metalstack.api.v2.SizeReservation size_reservations = 1; } diff --git a/proto/metalstack/admin/v2/switch.proto b/proto/metalstack/admin/v2/switch.proto index 4812cf80..4d8edd63 100644 --- a/proto/metalstack/admin/v2/switch.proto +++ b/proto/metalstack/admin/v2/switch.proto @@ -53,7 +53,7 @@ service SwitchService { // SwitchServiceGetRequest is the request payload for getting a switch. message SwitchServiceGetRequest { - // Id of the switch to get + // Id of the switch to get. string id = 1 [(buf.validate.field).string = { hostname: true [metalstack.api.v2.is_name]: true @@ -62,81 +62,81 @@ message SwitchServiceGetRequest { // SwitchServiceGetResponse is the response payload for getting a switch. message SwitchServiceGetResponse { - // Switch contains the requested switch + // Switch contains the requested switch. metalstack.api.v2.Switch switch = 1; } // SwitchServiceListRequest is the request payload for listing switches. message SwitchServiceListRequest { - // Query to filter the results + // Query to filter the results. metalstack.api.v2.SwitchQuery query = 1; } // SwitchServiceListResponse is the response payload for listing switches. message SwitchServiceListResponse { - // Switches that match the request query + // Switches that match the request query. repeated metalstack.api.v2.Switch switches = 1; } // SwitchServiceUpdateRequest is the request payload for updating a switch. message SwitchServiceUpdateRequest { - // ID of the switch + // ID of the switch. string id = 1 [(buf.validate.field).string = { hostname: true [metalstack.api.v2.is_name]: true }]; - // UpdateMeta contains the timestamp and strategy to be used in this update request + // UpdateMeta contains the timestamp and strategy to be used in this update request. metalstack.api.v2.UpdateMeta update_meta = 2 [(buf.validate.field).required = true]; - // UpdatedAt is the date when this entity was updated - // Must be part of the update request to ensure optimistic locking + // UpdatedAt is the date when this entity was updated. + // Must be part of the update request to ensure optimistic locking. google.protobuf.Timestamp updated_at = 3; - // Description of the switch + // Description of the switch. optional string description = 4 [(buf.validate.field).string.(metalstack.api.v2.is_description) = true]; - // ReplaceMode is used to mark a switch ready for replacement + // ReplaceMode is used to mark a switch ready for replacement. optional metalstack.api.v2.SwitchReplaceMode replace_mode = 5 [(buf.validate.field).enum.defined_only = true]; - // ManagementIp is the switch's IP for management access + // ManagementIp is the switch's IP for management access. optional string management_ip = 6 [(buf.validate.field).string.ip = true]; - // ManagementUser is the user name to use for management access + // ManagementUser is the user name to use for management access. optional string management_user = 7 [(buf.validate.field).string.(metalstack.api.v2.is_name) = true]; - // ConsoleCommand is the command for accessing the switch's console + // ConsoleCommand is the command for accessing the switch's console. optional string console_command = 8 [(buf.validate.field).string.(metalstack.api.v2.is_description) = true]; - // Nics are the front panel ports of the switch + // Nics are the front panel ports of the switch. repeated metalstack.api.v2.SwitchNic nics = 9; - // SwitchOs is the OS running on the switch + // SwitchOs is the OS running on the switch. optional metalstack.api.v2.SwitchOS os = 10; } // SwitchServiceUpdateResponse is the response payload for updating a switch. message SwitchServiceUpdateResponse { - // Switch contains the updated switch + // Switch contains the updated switch. metalstack.api.v2.Switch switch = 1; } // SwitchServiceDeleteRequest is the request payload for deleting a switch. message SwitchServiceDeleteRequest { - // Id of the switch + // Id of the switch. string id = 1 [(buf.validate.field).string = { hostname: true [metalstack.api.v2.is_name]: true }]; - // Force will allow switch deletion despite existing machine connections + // Force will allow switch deletion despite existing machine connections. bool force = 2; } // SwitchServiceDeleteResponse is the response payload for deleting a switch. message SwitchServiceDeleteResponse { - // Switch contains the deleted switch + // Switch contains the deleted switch. metalstack.api.v2.Switch switch = 1; } // SwitchServiceMigrateRequest is the request payload for migrating a switch. message SwitchServiceMigrateRequest { - // OldSwitch is the switch to migrate away from + // OldSwitch is the switch to migrate away from. string old_switch = 1 [(buf.validate.field).string = { hostname: true [metalstack.api.v2.is_name]: true }]; - // NewSwitch is the switch to migrate to + // NewSwitch is the switch to migrate to. string new_switch = 2 [(buf.validate.field).string = { hostname: true [metalstack.api.v2.is_name]: true @@ -145,39 +145,39 @@ message SwitchServiceMigrateRequest { // SwitchServiceMigrateResponse is the response payload for migrating a switch. message SwitchServiceMigrateResponse { - // Switch contains the switch that was migrated to + // Switch contains the switch that was migrated to. metalstack.api.v2.Switch switch = 1; } // SwitchServicePortRequest is the request payload for setting the port status of a switch port. message SwitchServicePortRequest { - // Id of the switch + // Id of the switch. string id = 1 [(buf.validate.field).string = { hostname: true [metalstack.api.v2.is_name]: true }]; - // NicName of the port whose status should be changed + // NicName of the port whose status should be changed. string nic_name = 2 [(buf.validate.field).string.(metalstack.api.v2.is_name) = true]; - // Status that the port should have + // Status that the port should have. metalstack.api.v2.SwitchPortStatus status = 3 [(buf.validate.field).enum.defined_only = true]; } // SwitchServicePortResponse is the response payload for setting the port status of a switch port. message SwitchServicePortResponse { - // Switch after the port status toggle + // Switch after the port status toggle. metalstack.api.v2.Switch switch = 1; } // SwitchServiceConnectedMachinesRequest is the request payload for listing switches with machine connections. message SwitchServiceConnectedMachinesRequest { - // Query to filter the switch results + // Query to filter the switch results. metalstack.api.v2.SwitchQuery query = 1; - // MachineQuery to filter the machine results + // MachineQuery to filter the machine results. metalstack.api.v2.MachineQuery machine_query = 2; } // SwitchServiceConnectedMachinesResponse is the response payload for listing switches with machine connections. message SwitchServiceConnectedMachinesResponse { - // SwitchesWithMachines contains all switches with their machine connections + // SwitchesWithMachines contains all switches with their machine connections. repeated metalstack.api.v2.SwitchWithMachines switches_with_machines = 1; } diff --git a/proto/metalstack/admin/v2/task.proto b/proto/metalstack/admin/v2/task.proto index 3e5ddb9f..66659d33 100644 --- a/proto/metalstack/admin/v2/task.proto +++ b/proto/metalstack/admin/v2/task.proto @@ -35,23 +35,23 @@ service TaskService { // TaskServiceGetRequest is the request payload for getting a task. message TaskServiceGetRequest { - // TaskId is the identifier of the task to get + // TaskId is the identifier of the task to get. string task_id = 1; - // Queue is the queue where this task was scheduled to + // Queue is the queue where this task was scheduled to. string queue = 2; } // TaskServiceGetResponse is the response payload for getting a task. message TaskServiceGetResponse { - // Task contains the task details + // Task contains the task details. TaskInfo task = 1; } // TaskServiceDeleteRequest is the request payload for deleting a task. message TaskServiceDeleteRequest { - // TaskId is the identifier of the task to cancel + // TaskId is the identifier of the task to cancel. string task_id = 1; - // Queue is the queue where this task was scheduled to + // Queue is the queue where this task was scheduled to. string queue = 2; } @@ -63,95 +63,95 @@ message TaskServiceQueuesRequest {} // TaskServiceQueuesResponse is the response payload for getting all queues. message TaskServiceQueuesResponse { - // Queues configured for the async system + // Queues configured for the async system. repeated string queues = 1; } // TaskServiceListRequest is the request payload for listing tasks. message TaskServiceListRequest { - // Queue filters tasks by this queue - // Will return tasks from all queues if not specified + // Queue filters tasks by this queue. + // Will return tasks from all queues if not specified. optional string queue = 1; - // Count is the number of tasks to return + // Count is the number of tasks to return. optional uint32 count = 2; - // Page is the page of tasks to return + // Page is the page of tasks to return. optional uint32 page = 3; } // TaskServiceListResponse is the response payload for listing tasks. message TaskServiceListResponse { - // Tasks contains the list of requested tasks + // Tasks contains the list of requested tasks. repeated TaskInfo tasks = 1; } // TaskInfo contains details of an asynchronous task. message TaskInfo { - // ID is the identifier of the task + // ID is the identifier of the task. string id = 1; - // Queue is the name of the queue in which the task belongs + // Queue is the name of the queue in which the task belongs. string queue = 2; - // Type is the type name of the task + // Type is the type name of the task. string type = 3; - // Payload is the payload data of the task + // Payload is the payload data of the task. bytes payload = 4; - // State indicates the task state + // State indicates the task state. TaskState state = 5; - // MaxRetry is the maximum number of times the task can be retried + // MaxRetry is the maximum number of times the task can be retried. int32 max_retry = 6; - // Retried is the number of times the task has retried so far + // Retried is the number of times the task has retried so far. int32 retried = 7; - // LastError is the error message from the last failure + // LastError is the error message from the last failure. string last_error = 8; - // LastFailedAt is the time of the last failure if any - // If the task has no failures, LastFailedAt is zero time (i.e. time.Time{}) + // LastFailedAt is the time of the last failure if any. + // If the task has no failures, LastFailedAt is zero time (i.e. time.Time{}). google.protobuf.Timestamp last_failed_at = 9; - // Timeout is the duration the task can be processed by Handler before being retried + // Timeout is the duration the task can be processed by Handler before being retried. google.protobuf.Duration timeout = 10; - // Deadline is the deadline for the task + // Deadline is the deadline for the task. google.protobuf.Timestamp deadline = 11; - // Group is the name of the group in which the task belongs + // Group is the name of the group in which the task belongs. // - // Tasks in the same queue can be grouped together by Group name and will be aggregated into one task - // by a Server processing the queue + // Tasks in the same queue can be grouped together by Group name and will be aggregated into one task. + // by a Server processing the queue. // - // Empty string (default) indicates task does not belong to any groups, and no aggregation will be applied to the task + // Empty string (default) indicates task does not belong to any groups, and no aggregation will be applied to the task. string group = 12; - // NextProcessAt is the time the task is scheduled to be processed - // Zero if not applicable + // NextProcessAt is the time the task is scheduled to be processed. + // Zero if not applicable. google.protobuf.Timestamp next_process_at = 13; - // IsOrphaned describes whether the task is left in active state with no worker processing it - // An orphaned task indicates that the worker has crashed or experienced network failures and was not able to - // extend its lease on the task + // IsOrphaned describes whether the task is left in active state with no worker processing it. + // An orphaned task indicates that the worker has crashed or experienced network failures and was not able to. + // extend its lease on the task. // - // This task will be recovered by running a server against the queue the task is in - // This field is only applicable to tasks with TaskStateActive + // This task will be recovered by running a server against the queue the task is in. + // This field is only applicable to tasks with TaskStateActive. bool is_orphaned = 14; - // Retention is duration of the retention period after the task is successfully processed + // Retention is duration of the retention period after the task is successfully processed. google.protobuf.Duration retention = 15; - // CompletedAt is the time when the task is processed successfully - // Zero value (i.e. time.Time{}) indicates no value + // CompletedAt is the time when the task is processed successfully. + // Zero value (i.e. time.Time{}) indicates no value. google.protobuf.Timestamp completed_at = 16; - // Result holds the result data associated with the task - // Use ResultWriter to write result data from the Handler + // Result holds the result data associated with the task. + // Use ResultWriter to write result data from the Handler. bytes result = 17; } // TaskState defines the state of the task. enum TaskState { - // TASK_STATE_UNSPECIFIED is not specified + // TASK_STATE_UNSPECIFIED is not specified. TASK_STATE_UNSPECIFIED = 0; - // TASK_STATE_ACTIVE indicates that the task is currently being processed by Handler + // TASK_STATE_ACTIVE indicates that the task is currently being processed by Handler. TASK_STATE_ACTIVE = 1 [(metalstack.api.v2.enum_string_value) = "active"]; - // TASK_STATE_PENDING indicates that the task is ready to be processed by Handler + // TASK_STATE_PENDING indicates that the task is ready to be processed by Handler. TASK_STATE_PENDING = 2 [(metalstack.api.v2.enum_string_value) = "pending"]; - // TASK_STATE_SCHEDULED indicates that the task is scheduled to be processed some time in the future + // TASK_STATE_SCHEDULED indicates that the task is scheduled to be processed some time in the future. TASK_STATE_SCHEDULED = 3 [(metalstack.api.v2.enum_string_value) = "scheduled"]; - // TASK_STATE_RETRY indicates that the task has previously failed and is scheduled to be processed some time in the future + // TASK_STATE_RETRY indicates that the task has previously failed and is scheduled to be processed some time in the future. TASK_STATE_RETRY = 4 [(metalstack.api.v2.enum_string_value) = "retry"]; - // TASK_STATE_ARCHIVED indicates that the task is archived and stored for inspection purposes + // TASK_STATE_ARCHIVED indicates that the task is archived and stored for inspection purposes. TASK_STATE_ARCHIVED = 5 [(metalstack.api.v2.enum_string_value) = "archived"]; - // TASK_STATE_COMPLETED indicates that the task is processed successfully and retained until the retention TTL expires + // TASK_STATE_COMPLETED indicates that the task is processed successfully and retained until the retention TTL expires. TASK_STATE_COMPLETED = 6 [(metalstack.api.v2.enum_string_value) = "completed"]; - // TASK_STATE_AGGREGATING indicates that the task is waiting in a group to be aggregated into one task + // TASK_STATE_AGGREGATING indicates that the task is waiting in a group to be aggregated into one task. TASK_STATE_AGGREGATING = 7 [(metalstack.api.v2.enum_string_value) = "aggregating"]; } diff --git a/proto/metalstack/admin/v2/tenant.proto b/proto/metalstack/admin/v2/tenant.proto index 2716e65f..417f4821 100644 --- a/proto/metalstack/admin/v2/tenant.proto +++ b/proto/metalstack/admin/v2/tenant.proto @@ -20,12 +20,12 @@ service TenantService { option (metalstack.api.v2.admin_roles) = ADMIN_ROLE_VIEWER; option (metalstack.api.v2.auditing) = AUDITING_INCLUDED; } - // Add a member to a tenant + // Add a member to a tenant. rpc AddMember(TenantServiceAddMemberRequest) returns (TenantServiceAddMemberResponse) { option (metalstack.api.v2.admin_roles) = ADMIN_ROLE_EDITOR; option (metalstack.api.v2.auditing) = AUDITING_INCLUDED; } - // RemoveMember removes a member from a tenant + // RemoveMember removes a member from a tenant. rpc RemoveMember(TenantServiceRemoveMemberRequest) returns (TenantServiceRemoveMemberResponse) { option (metalstack.api.v2.admin_roles) = ADMIN_ROLE_EDITOR; option (metalstack.api.v2.auditing) = AUDITING_INCLUDED; @@ -34,64 +34,64 @@ service TenantService { // TenantServiceCreateRequest is the request payload for creating a tenant. message TenantServiceCreateRequest { - // Name of the tenant + // Name of the tenant. string name = 1 [(buf.validate.field).string.(metalstack.api.v2.is_tenant_login) = true]; - // Description of the tenant + // Description of the tenant. optional string description = 2 [(buf.validate.field).string.(metalstack.api.v2.is_description) = true]; - // Email of the tenant, if not set will be inherited from the creator + // Email of the tenant, if not set will be inherited from the creator. optional string email = 3 [(buf.validate.field).string.email = true]; - // AvatarUrl of the tenant + // AvatarUrl of the tenant. optional string avatar_url = 4 [(buf.validate.field).string.(metalstack.api.v2.is_uri) = true]; - // Labels on the tenant + // Labels on the tenant. metalstack.api.v2.Labels labels = 5; } // TenantServiceCreateResponse is the response payload for creating a tenant. message TenantServiceCreateResponse { - // Tenant contains the created tenant + // Tenant contains the created tenant. metalstack.api.v2.Tenant tenant = 1; } // TenantServiceListRequest is the request payload for listing tenants. message TenantServiceListRequest { - // Query for tenants + // Query for tenants. metalstack.api.v2.TenantQuery query = 1; } // TenantServiceListResponse is the response payload for listing tenants. message TenantServiceListResponse { - // Tenants contains the list of tenants + // Tenants contains the list of tenants. repeated metalstack.api.v2.Tenant tenants = 1; - // NextPage is used for pagination, returns the next page to be fetched and must then be provided in the list request + // NextPage is used for pagination, returns the next page to be fetched and must then be provided in the list request. optional uint64 next_page = 2; } -// TenantServiceAddMemberRequest is the request payload for adding a member to a tenant +// TenantServiceAddMemberRequest is the request payload for adding a member to a tenant. message TenantServiceAddMemberRequest { - // Login of the tenant to which the member will be added + // Login of the tenant to which the member will be added. string tenant = 1 [(buf.validate.field).string.(metalstack.api.v2.is_tenant_login) = true]; - // Login of the member to add + // Login of the member to add. string member = 2 [(buf.validate.field).string.(metalstack.api.v2.is_tenant_login) = true]; - // Role to assign to the new member + // Role to assign to the new member. metalstack.api.v2.TenantRole role = 3 [(buf.validate.field).enum.defined_only = true]; } -// TenantServiceAddMemberResponse is the response payload for the add member request +// TenantServiceAddMemberResponse is the response payload for the add member request. message TenantServiceAddMemberResponse { - // TenantMember is the added tenant member + // TenantMember is the added tenant member. metalstack.api.v2.TenantMember tenant_member = 1; } -// TenantServiceRemoveMemberRequest is the request payload for removing a member from a tenant +// TenantServiceRemoveMemberRequest is the request payload for removing a member from a tenant. message TenantServiceRemoveMemberRequest { - // Login of the tenant from which the member will be removed + // Login of the tenant from which the member will be removed. string tenant = 1 [(buf.validate.field).string.(metalstack.api.v2.is_tenant_login) = true]; - // Login of the member to remove + // Login of the member to remove. string member = 2 [(buf.validate.field).string.(metalstack.api.v2.is_tenant_login) = true]; } -// TenantServiceRemoveMemberResponse is the response payload for the remove member request +// TenantServiceRemoveMemberResponse is the response payload for the remove member request. message TenantServiceRemoveMemberResponse { - // TenantMember is the removed tenant member + // TenantMember is the removed tenant member. metalstack.api.v2.TenantMember tenant_member = 1; } diff --git a/proto/metalstack/admin/v2/token.proto b/proto/metalstack/admin/v2/token.proto index 6538d99a..512fff7d 100644 --- a/proto/metalstack/admin/v2/token.proto +++ b/proto/metalstack/admin/v2/token.proto @@ -30,21 +30,21 @@ service TokenService { // TokenServiceListRequest is the request payload for listing tokens. message TokenServiceListRequest { - // Query for tokens + // Query for tokens. metalstack.api.v2.TokenQuery query = 1; } // TokenServiceListResponse is the response payload for listing tokens. message TokenServiceListResponse { - // Tokens contains the list of tokens + // Tokens contains the list of tokens. repeated metalstack.api.v2.Token tokens = 1; } // TokenServiceRevokeRequest is the request payload for revoking a token. message TokenServiceRevokeRequest { - // Uuid is the uuid of the token which should be revoked + // Uuid is the uuid of the token which should be revoked. string uuid = 1 [(buf.validate.field).string.uuid = true]; - // User is the id of the user for which the token should be revoked + // User is the id of the user for which the token should be revoked. string user = 2 [(buf.validate.field).string.(metalstack.api.v2.is_user) = true]; } @@ -53,16 +53,16 @@ message TokenServiceRevokeResponse {} // TokenServiceCreateRequest is the request payload for creating a token. message TokenServiceCreateRequest { - // User this token should be created for, if omitted, user is derived from caller + // User this token should be created for, if omitted, user is derived from caller. optional string user = 1 [(buf.validate.field).string.(metalstack.api.v2.is_user) = true]; - // TokenCreateRequest which should be created + // TokenCreateRequest which should be created. metalstack.api.v2.TokenServiceCreateRequest token_create_request = 2; } // TokenServiceCreateResponse is the response payload for creating a token. message TokenServiceCreateResponse { - // Token contains the created token + // Token contains the created token. metalstack.api.v2.Token token = 1; - // Secret is the body if the JWT token, should be used in API requests as bearer token + // Secret is the body if the JWT token, should be used in API requests as bearer token. string secret = 2; } diff --git a/proto/metalstack/admin/v2/vpn.proto b/proto/metalstack/admin/v2/vpn.proto index eabc41c8..632570ac 100644 --- a/proto/metalstack/admin/v2/vpn.proto +++ b/proto/metalstack/admin/v2/vpn.proto @@ -27,14 +27,14 @@ service VPNService { // VPNServiceAuthKeyRequest is the request payload for generating a VPN authentication key. message VPNServiceAuthKeyRequest { - // Project for which a VPN authentication key should be generated + // Project for which a VPN authentication key should be generated. string project = 1 [(buf.validate.field).string.uuid = true]; - // Ephemeral defines if the authentication key should be ephemeral + // Ephemeral defines if the authentication key should be ephemeral. bool ephemeral = 2; - // Expires defines the duration after which the authentication key expires + // Expires defines the duration after which the authentication key expires. google.protobuf.Duration expires = 3; - // Reason must be provided why access to the VPN is requested - // Reason is only forwarded to an audit sink + // Reason must be provided why access to the VPN is requested. + // Reason is only forwarded to an audit sink. string reason = 4 [ (buf.validate.field).string.min_len = 10, (buf.validate.field).string.max_len = 512 @@ -43,27 +43,27 @@ message VPNServiceAuthKeyRequest { // VPNServiceAuthKeyResponse is the response payload for generating a VPN authentication key. message VPNServiceAuthKeyResponse { - // Address is the address of the VPN control plane + // Address is the address of the VPN control plane. string address = 1; - // AuthKey is the key to connect to the VPN at the given address - // This key can only be seen once + // AuthKey is the key to connect to the VPN at the given address. + // This key can only be seen once. string auth_key = 2; - // Ephemeral defines if the authentication key should be ephemeral + // Ephemeral defines if the authentication key should be ephemeral. bool ephemeral = 3; - // ExpiresAt this key cannot be used after this timestamp + // ExpiresAt this key cannot be used after this timestamp. google.protobuf.Timestamp expires_at = 4; - // CreatedAt this key was created at this timestamp + // CreatedAt this key was created at this timestamp. google.protobuf.Timestamp created_at = 5; } // VPNServiceListNodesRequest is the request payload for listing VPN nodes. message VPNServiceListNodesRequest { - // Project filters nodes by this project + // Project filters nodes by this project. optional string project = 1; } // VPNServiceListNodesResponse is the response payload for listing VPN nodes. message VPNServiceListNodesResponse { - // Nodes connected to the VPN + // Nodes connected to the VPN. repeated metalstack.api.v2.VPNNode nodes = 1; } diff --git a/proto/metalstack/api/v2/audit.proto b/proto/metalstack/api/v2/audit.proto index d5062a90..8f9c2175 100644 --- a/proto/metalstack/api/v2/audit.proto +++ b/proto/metalstack/api/v2/audit.proto @@ -23,101 +23,101 @@ service AuditService { // AuditPhase specifies the phase of an audit trace. enum AuditPhase { - // AUDIT_PHASE_UNSPECIFIED is not specified + // AUDIT_PHASE_UNSPECIFIED is not specified. AUDIT_PHASE_UNSPECIFIED = 0; - // AUDIT_PHASE_REQUEST defines an audit trace in the request phase + // AUDIT_PHASE_REQUEST defines an audit trace in the request phase. AUDIT_PHASE_REQUEST = 1; - // AUDIT_PHASE_RESPONSE defines an audit trace in the response phase + // AUDIT_PHASE_RESPONSE defines an audit trace in the response phase. AUDIT_PHASE_RESPONSE = 2; } // AuditTrace is an audit trace. message AuditTrace { - // Uuid of the audit trace + // Uuid of the audit trace. string uuid = 1 [(buf.validate.field).string.uuid = true]; - // Timestamp is the timestamp when the request arrived at the API + // Timestamp is the timestamp when the request arrived at the API. google.protobuf.Timestamp timestamp = 2; - // User is the login user who called the API method + // User is the login user who called the API method. string user = 3; - // Tenant is the tenant targeted by the API call + // Tenant is the tenant targeted by the API call. string tenant = 4; - // Project is the project targeted by the API call + // Project is the project targeted by the API call. optional string project = 5; - // Method is the API method that was called + // Method is the API method that was called. string method = 6; - // 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 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. optional string body = 7; - // SourceIP contains the source IP address of the API call + // SourceIP contains the source IP address of the API call. string source_ip = 8; - // 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 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. optional int32 result_code = 9; - // Phase represents the phase of the audit trace + // Phase represents the phase of the audit trace. AuditPhase phase = 10; - // Meta for this audit trace + // Meta for this audit trace. Meta meta = 11; } -// AuditQuery is the query for audit traces +// AuditQuery is the query for audit traces. message AuditQuery { - // Uuid of the audit trace + // Uuid of the audit trace. optional string uuid = 2 [(buf.validate.field).string.uuid = true]; - // From describes the start of the time window in which to list audit traces. Defaults to the last eight hours + // From describes the start of the time window in which to list audit traces. Defaults to the last eight hours. optional google.protobuf.Timestamp from = 3; - // To describes the end of the time window in which to list audit traces. Defaults to the time the request was issued + // To describes the end of the time window in which to list audit traces. Defaults to the time the request was issued. optional google.protobuf.Timestamp to = 4; - // User is the user who called the api method + // User is the user who called the api method. optional string user = 5 [(buf.validate.field).string.(metalstack.api.v2.is_name) = true]; - // Project is the project targeted by the api call + // Project is the project targeted by the api call. optional string project = 6 [(buf.validate.field).string.uuid = true]; - // Method is the api method that was called + // Method is the api method that was called. optional string method = 7 [(buf.validate.field).string = { min_len: 2 max_len: 256 }]; - // Source IP contains the ip address of the caller + // Source IP contains the ip address of the caller. optional string source_ip = 8 [(buf.validate.field).string.ip = true]; - // Result Code is a string describing the result of the api call + // Result Code is a string describing the result of the api call. optional int32 result_code = 9 [(buf.validate.field).int32 = {gte: 0}]; - // Body is a string providing text-search of the body field + // Body is a string providing text-search of the body field. optional string body = 10 [(buf.validate.field).string = { min_len: 2 max_len: 256 }]; - // Limit is a number limiting the length of the response (min: 1, max: 1000, defaults to 200) + // Limit is a number limiting the length of the response (min: 1, max: 1000, defaults to 200). optional int32 limit = 11 [(buf.validate.field).int32 = { gt: 0 lte: 1000 }]; - // Phase specifies the audit phase + // Phase specifies the audit phase. optional AuditPhase phase = 12 [(buf.validate.field).enum.defined_only = true]; } -// AuditServiceListRequest is the request payload for an audit list request +// AuditServiceListRequest is the request payload for an audit list request. message AuditServiceListRequest { - // Login for this tenant + // Login for this tenant. string login = 1 [(buf.validate.field).string.(metalstack.api.v2.is_name) = true]; - // Query for audit traces + // Query for audit traces. AuditQuery query = 2; } -// AuditServiceListResponse is the response payload of a audit list request +// AuditServiceListResponse is the response payload of a audit list request. message AuditServiceListResponse { - // Traces is a list of audit traces + // Traces is a list of audit traces. repeated AuditTrace traces = 1; } -// AuditServiceGetRequest is the request payload of a audit get request +// AuditServiceGetRequest is the request payload of a audit get request. message AuditServiceGetRequest { - // Login for this tenant + // Login for this tenant. string login = 1 [(buf.validate.field).string.(metalstack.api.v2.is_name) = true]; - // Uuid of the audit trace + // Uuid of the audit trace. string uuid = 2 [(buf.validate.field).string.uuid = true]; - // Phase specifies the audit phase. Defaults to request + // Phase specifies the audit phase. Defaults to request. optional AuditPhase phase = 3 [(buf.validate.field).enum.defined_only = true]; } -// AuditServiceGetResponse is the response payload of a audit get request +// AuditServiceGetResponse is the response payload of a audit get request. message AuditServiceGetResponse { - // Trace is the audit trace + // Trace is the audit trace. AuditTrace trace = 1; } diff --git a/proto/metalstack/api/v2/common.proto b/proto/metalstack/api/v2/common.proto index ecf9c11d..79b1a2aa 100644 --- a/proto/metalstack/api/v2/common.proto +++ b/proto/metalstack/api/v2/common.proto @@ -7,122 +7,122 @@ import "google/protobuf/descriptor.proto"; import "google/protobuf/timestamp.proto"; import "metalstack/api/v2/predefined_rules.proto"; -// TenantRole specifies what role a logged in user needs to call this tenant scoped service +// TenantRole specifies what role a logged in user needs to call this tenant scoped service. enum TenantRole { - // TENANT_ROLE_UNSPECIFIED is not specified + // TENANT_ROLE_UNSPECIFIED is not specified. TENANT_ROLE_UNSPECIFIED = 0; - // TENANT_ROLE_OWNER the logged in user needs at least owner role to call this method + // TENANT_ROLE_OWNER the logged in user needs at least owner role to call this method. TENANT_ROLE_OWNER = 1; - // TENANT_ROLE_EDITOR the logged in user needs at least editor role to call this method + // TENANT_ROLE_EDITOR the logged in user needs at least editor role to call this method. TENANT_ROLE_EDITOR = 2; - // TENANT_ROLE_VIEWER the logged in user needs at least viewer role to call this method + // TENANT_ROLE_VIEWER the logged in user needs at least viewer role to call this method. TENANT_ROLE_VIEWER = 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 + // 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. TENANT_ROLE_GUEST = 4; } -// ProjectRole specifies what role a logged in user needs to call this project scoped service +// ProjectRole specifies what role a logged in user needs to call this project scoped service. enum ProjectRole { - // PROJECT_ROLE_UNSPECIFIED is not specified + // PROJECT_ROLE_UNSPECIFIED is not specified. PROJECT_ROLE_UNSPECIFIED = 0; - // PROJECT_ROLE_OWNER the logged in user needs at least owner role to call this method + // PROJECT_ROLE_OWNER the logged in user needs at least owner role to call this method. PROJECT_ROLE_OWNER = 1; - // PROJECT_ROLE_EDITOR the logged in user needs at least editor role to call this method + // PROJECT_ROLE_EDITOR the logged in user needs at least editor role to call this method. PROJECT_ROLE_EDITOR = 2; - // PROJECT_ROLE_VIEWER the logged in user needs at least viewer role to call this method + // PROJECT_ROLE_VIEWER the logged in user needs at least viewer role to call this method. PROJECT_ROLE_VIEWER = 3; } -// AdminRole specifies what role a logged in user needs to call this admin service +// AdminRole specifies what role a logged in user needs to call this admin service. enum AdminRole { - // ADMIN_ROLE_UNSPECIFIED is not specified + // ADMIN_ROLE_UNSPECIFIED is not specified. ADMIN_ROLE_UNSPECIFIED = 0; - // ADMIN_ROLE_EDITOR the logged in user needs at least editor role to call this method + // ADMIN_ROLE_EDITOR the logged in user needs at least editor role to call this method. ADMIN_ROLE_EDITOR = 1; - // ADMIN_ROLE_VIEWER the logged in user needs at least viewer role to call this method + // ADMIN_ROLE_VIEWER the logged in user needs at least viewer role to call this method. ADMIN_ROLE_VIEWER = 2; } -// InfraRole specifies what role a microservice needs to call this infra service +// InfraRole specifies what role a microservice needs to call this infra service. enum InfraRole { - // INFRA_ROLE_UNSPECIFIED is not specified + // INFRA_ROLE_UNSPECIFIED is not specified. INFRA_ROLE_UNSPECIFIED = 0; - // INFRA_ROLE_EDITOR a microservice needs at least editor role to call this method + // INFRA_ROLE_EDITOR a microservice needs at least editor role to call this method. INFRA_ROLE_EDITOR = 1; - // INFRA_ROLE_VIEWER a microservice needs at least viewer role to call this method + // INFRA_ROLE_VIEWER a microservice needs at least viewer role to call this method. INFRA_ROLE_VIEWER = 2; } -// MachineRole specifies what role a microservice needs to call this machine service +// MachineRole specifies what role a microservice needs to call this machine service. enum MachineRole { - // MACHINE_ROLE_UNSPECIFIED is not specified + // MACHINE_ROLE_UNSPECIFIED is not specified. MACHINE_ROLE_UNSPECIFIED = 0; - // MACHINE_ROLE_EDITOR a microservice needs at least editor role to call this method + // MACHINE_ROLE_EDITOR a microservice needs at least editor role to call this method. MACHINE_ROLE_EDITOR = 1; - // MACHINE_ROLE_VIEWER a microservice needs at least viewer role to call this method + // MACHINE_ROLE_VIEWER a microservice needs at least viewer role to call this method. MACHINE_ROLE_VIEWER = 2; } -// Visibility of a method +// Visibility of a method. enum Visibility { - // VISIBILITY_UNSPECIFIED is not defined + // VISIBILITY_UNSPECIFIED is not defined. VISIBILITY_UNSPECIFIED = 0; - // VISIBILITY_PUBLIC specifies that this service is accessible without authentication + // VISIBILITY_PUBLIC specifies that this service is accessible without authentication. VISIBILITY_PUBLIC = 1; - // VISIBILITY_SELF restricts calls to the authenticated user only + // VISIBILITY_SELF restricts calls to the authenticated user only. VISIBILITY_SELF = 2; } -// 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 +// 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. enum Auditing { - // AUDITING_UNSPECIFIED is not specified + // AUDITING_UNSPECIFIED is not specified. AUDITING_UNSPECIFIED = 0; - // AUDITING_INCLUDED if a method is annotated with this, all calls are audited + // AUDITING_INCLUDED if a method is annotated with this, all calls are audited. AUDITING_INCLUDED = 1; - // AUDITING_EXCLUDED if a method is annotated with this, no calls are audited + // AUDITING_EXCLUDED if a method is annotated with this, no calls are audited. AUDITING_EXCLUDED = 2; } -// MethodOptions to specify specific annotations to methods +// MethodOptions to specify specific annotations to methods. extend google.protobuf.MethodOptions { - // TenantRoles are used to define the tenant role a logged in user must provide to call this method + // TenantRoles are used to define the tenant role a logged in user must provide to call this method. repeated TenantRole tenant_roles = 51000; - // ProjectRoles are used to define the project role a logged in user must provide to call this method + // ProjectRoles are used to define the project role a logged in user must provide to call this method. repeated ProjectRole project_roles = 51001; - // AdminRoles are used to define the admin role a logged in user must provide to call this method + // AdminRoles are used to define the admin role a logged in user must provide to call this method. repeated AdminRole admin_roles = 51002; - // Visibility defines the visibility of this method, this is used to have public or self visible methods + // Visibility defines the visibility of this method, this is used to have public or self visible methods. Visibility visibility = 51003; - // Auditing defines if calls to this method should be audited or not + // Auditing defines if calls to this method should be audited or not. Auditing auditing = 51004; - // InfraRoles are used to define the infra role a microservice must provide to call this method + // InfraRoles are used to define the infra role a microservice must provide to call this method. repeated InfraRole infra_roles = 51005; - // MachineRole are used to define which machine role a microservice must provide to call this method + // MachineRole are used to define which machine role a microservice must provide to call this method. repeated MachineRole machine_roles = 51006; } -// EnumValueOptions, can be accessed with go/enum/GetFormatStringValue +// EnumValueOptions, can be accessed with go/enum/GetFormatStringValue. extend google.protobuf.EnumValueOptions { - // StringValue which can be set to a enum + // StringValue which can be set to a enum. string enum_string_value = 52000; } -// Paging defines paging for methods with a lot of results +// Paging defines paging for methods with a lot of results. message Paging { - // Page is used for pagination, if unset only the first page is returned, + // 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. optional uint64 page = 1; - // Count is the number of results returned per page, if not given server side defaults apply + // Count is the number of results returned per page, if not given server side defaults apply. optional uint64 count = 2; } -// Labels define additional information to a entity +// Labels define additional information to a entity. message Labels { - // Labels consists labels + // Labels consists labels. map labels = 1 [ (buf.validate.field).map = { keys: { @@ -142,14 +142,14 @@ message Labels { ]; } -// Meta of a message +// Meta of a message. message Meta { - // Tags on this entity + // Tags on this entity. optional Labels labels = 1; - // CreatedAt is the date when this entity was created + // CreatedAt is the date when this entity was created. google.protobuf.Timestamp created_at = 2; - // UpdatedAt is the date when this entity was updated - // must be part of the update request to ensure optimistic locking + // UpdatedAt is the date when this entity was updated. + // must be part of the update request to ensure optimistic locking. google.protobuf.Timestamp updated_at = 3; // Generation identifies how often this entity was modified since creation. uint64 generation = 4; @@ -158,25 +158,25 @@ message Meta { optional string deletion_task_id = 5; } -// UpdateLabels is a message to update labels +// UpdateLabels is a message to update labels. message UpdateLabels { - // Strategy defines the label update strategy + // Strategy defines the label update strategy. oneof strategy { - // ensure at least one match is specified + // ensure at least one match is specified. option (buf.validate.oneof).required = true; - // Replace existing labels with the given ones + // Replace existing labels with the given ones. Labels replace = 1; - // Patch adds, updates or remove given labels without modifying others + // Patch adds, updates or remove given labels without modifying others. LabelsPatch patch = 2; } } -// LabelsPatch adds, updates or remove given labels without modifying others +// LabelsPatch adds, updates or remove given labels without modifying others. message LabelsPatch { - // Update labels. New ones will be added, existing ones overwritten + // Update labels. New ones will be added, existing ones overwritten. Labels update = 1; - // Remove labels by key + // Remove labels by key. repeated string remove = 2 [(buf.validate.field).repeated = { unique: true items: { @@ -185,24 +185,24 @@ message LabelsPatch { }]; } -// UpdateMeta must be provided with every UpdateRequest to define how optimistic locking should be handled +// UpdateMeta must be provided with every UpdateRequest to define how optimistic locking should be handled. message UpdateMeta { - // UpdatedAt is the date when this entity was updated - // must be part of the update request to ensure optimistic locking + // UpdatedAt is the date when this entity was updated. + // Must be part of the update request to ensure optimistic locking. google.protobuf.Timestamp updated_at = 1; - // LockingStrategy to be used for this update request + // LockingStrategy to be used for this update request. OptimisticLockingStrategy locking_strategy = 2 [(buf.validate.field).enum.defined_only = true]; } // OptimisticLockingStrategy defines how optimistic locking should be handled. -// It defaults to client side, which requires the UpdatedAt timestamp to be provided +// It defaults to client side, which requires the UpdatedAt timestamp to be provided. enum OptimisticLockingStrategy { - // OPTIMISTIC_LOCKING_STRATEGY_UNSPECIFIED same as client side + // OPTIMISTIC_LOCKING_STRATEGY_UNSPECIFIED same as client side. OPTIMISTIC_LOCKING_STRATEGY_UNSPECIFIED = 0; - // OPTIMISTIC_LOCKING_STRATEGY_CLIENT requires UpdatedAt to be specified + // OPTIMISTIC_LOCKING_STRATEGY_CLIENT requires UpdatedAt to be specified. OPTIMISTIC_LOCKING_STRATEGY_CLIENT = 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 + // OPTIMISTIC_LOCKING_STRATEGY_SERVER allows to omit UpdatedAt. + // and fetches the most recent entity before updating with the given values with the update request. OPTIMISTIC_LOCKING_STRATEGY_SERVER = 2; } diff --git a/proto/metalstack/api/v2/component.proto b/proto/metalstack/api/v2/component.proto index 94d72e51..07f48373 100644 --- a/proto/metalstack/api/v2/component.proto +++ b/proto/metalstack/api/v2/component.proto @@ -10,54 +10,54 @@ import "metalstack/api/v2/predefined_rules.proto"; import "metalstack/api/v2/token.proto"; import "metalstack/api/v2/version.proto"; -// Component represents a microservice connected to our apiserver +// Component represents a microservice connected to our apiserver. message Component { - // UUID identifies this component event + // UUID identifies this component event. string uuid = 1 [(buf.validate.field).string.uuid = true]; - // Type defines which service is actually pinging + // Type defines which service is actually pinging. ComponentType type = 2 [(buf.validate.field).enum.defined_only = true]; // 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. string identifier = 3 [(buf.validate.field).string.(metalstack.api.v2.is_name) = true]; - // StartedAt is the timestamp this service was started + // StartedAt is the timestamp this service was started. google.protobuf.Timestamp started_at = 4; // ReportedAt is the timestamp this service sent this ping. google.protobuf.Timestamp reported_at = 5; // Interval at which the ping is scheduled. google.protobuf.Duration interval = 6; - // Version of this service + // Version of this service. metalstack.api.v2.Version version = 7; // Token is the token which is actually used by this microservice. Token token = 8; - // Meta for this component + // Meta for this component. Meta meta = 9; } -// ComponentQuery to query components +// ComponentQuery to query components. message ComponentQuery { - // UUID identifies this component + // UUID identifies this component. optional string uuid = 1 [(buf.validate.field).string.uuid = true]; - // Type defines which service is actually pinging + // Type defines which service is actually pinging. optional ComponentType type = 2 [(buf.validate.field).enum.defined_only = true]; // 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. optional string identifier = 3 [(buf.validate.field).string.(metalstack.api.v2.is_name) = true]; } -// ComponentType defines which service is actually pinging +// ComponentType defines which service is actually pinging. enum ComponentType { - // COMPONENT_TYPE_UNSPECIFIED is unspecified + // COMPONENT_TYPE_UNSPECIFIED is unspecified. COMPONENT_TYPE_UNSPECIFIED = 0 [(metalstack.api.v2.enum_string_value) = "unspecified"]; - // COMPONENT_TYPE_PIXIECORE is pixiecore + // COMPONENT_TYPE_PIXIECORE is pixiecore. COMPONENT_TYPE_PIXIECORE = 1 [(metalstack.api.v2.enum_string_value) = "pixiecore"]; - // COMPONENT_TYPE_METAL_CORE is metal-core + // COMPONENT_TYPE_METAL_CORE is metal-core. COMPONENT_TYPE_METAL_CORE = 2 [(metalstack.api.v2.enum_string_value) = "metal-core"]; - // COMPONENT_TYPE_METAL_BMC is metal-bmc + // COMPONENT_TYPE_METAL_BMC is metal-bmc. COMPONENT_TYPE_METAL_BMC = 3 [(metalstack.api.v2.enum_string_value) = "metal-bmc"]; - // COMPONENT_TYPE_METAL_IMAGE_CACHE_SYNC is metal-image-cache-sync + // COMPONENT_TYPE_METAL_IMAGE_CACHE_SYNC is metal-image-cache-sync. COMPONENT_TYPE_METAL_IMAGE_CACHE_SYNC = 4 [(metalstack.api.v2.enum_string_value) = "metal-image-cache-sync"]; - // COMPONENT_TYPE_METAL_CONSOLE is metal-console + // COMPONENT_TYPE_METAL_CONSOLE is metal-console. COMPONENT_TYPE_METAL_CONSOLE = 5 [(metalstack.api.v2.enum_string_value) = "metal-console"]; - // COMPONENT_TYPE_METAL_METRICS_EXPORTER is metal-metrics-exporter + // COMPONENT_TYPE_METAL_METRICS_EXPORTER is metal-metrics-exporter. COMPONENT_TYPE_METAL_METRICS_EXPORTER = 6 [(metalstack.api.v2.enum_string_value) = "metal-metrics-exporter"]; } diff --git a/proto/metalstack/api/v2/filesystem.proto b/proto/metalstack/api/v2/filesystem.proto index 6a7c637a..9f4b2d26 100644 --- a/proto/metalstack/api/v2/filesystem.proto +++ b/proto/metalstack/api/v2/filesystem.proto @@ -20,91 +20,91 @@ service FilesystemService { } } -// FilesystemServiceGetRequest is the request payload for a filesystem get request +// FilesystemServiceGetRequest is the request payload for a filesystem get request. message FilesystemServiceGetRequest { - // ID of the filesystem to get + // ID of the filesystem to get. string id = 1 [(buf.validate.field).string.(metalstack.api.v2.is_name) = true]; } -// FilesystemServiceListRequest is the request payload for a filesystem list request +// FilesystemServiceListRequest is the request payload for a filesystem list request. message FilesystemServiceListRequest { - // ID of the filesystem to get + // ID of the filesystem to get. optional string id = 1 [(buf.validate.field).string.(metalstack.api.v2.is_name) = true]; } -// FilesystemServiceGetResponse is the response payload for a filesystem get request +// FilesystemServiceGetResponse is the response payload for a filesystem get request. message FilesystemServiceGetResponse { - // FilesystemLayout the filesystemlayout + // FilesystemLayout the filesystemlayout. FilesystemLayout filesystem_layout = 1; } -// FilesystemServiceListResponse is the response payload for a filesystem list request +// FilesystemServiceListResponse is the response payload for a filesystem list request. message FilesystemServiceListResponse { - // FilesystemLayouts the filesystemlayouts + // FilesystemLayouts the filesystemlayouts. repeated FilesystemLayout filesystem_layouts = 1; } -// FilesystemLayout +// FilesystemLayout. message FilesystemLayout { - // Id of this filesystemLayout + // Id of this filesystemLayout. string id = 1 [(buf.validate.field).string.(metalstack.api.v2.is_name) = true]; - // Meta for this filesystemLayout + // Meta for this filesystemLayout. Meta meta = 2; - // Name of this filesystemLayout + // Name of this filesystemLayout. optional string name = 3 [(buf.validate.field).string.(metalstack.api.v2.is_name) = true]; - // Description of this filesystemLayout + // Description of this filesystemLayout. optional string description = 4 [(buf.validate.field).string.(metalstack.api.v2.is_description) = true]; - // Filesystems is a list of filesystems to create on a machine + // Filesystems is a list of filesystems to create on a machine. repeated Filesystem filesystems = 5; - // Disks list of disks that belong to this layout + // Disks list of disks that belong to this layout. repeated Disk disks = 6; - // raid arrays to create + // Raid arrays to create. repeated Raid raid = 7; - // VolumeGroups list of volumegroups to create + // VolumeGroups list of volumegroups to create. repeated VolumeGroup volume_groups = 8; - // LogicalVolumes list of logicalvolumes to create + // LogicalVolumes list of logicalvolumes to create. repeated LogicalVolume logical_volumes = 9; - // Constraints which must match that this layout is taken, if sizes and images are empty these are develop layouts + // Constraints which must match that this layout is taken, if sizes and images are empty these are develop layouts. FilesystemLayoutConstraints constraints = 10; } -// FilesystemLayoutConstraints +// FilesystemLayoutConstraints. message FilesystemLayoutConstraints { - // Sizes list of sizes this layout applies to - // this could either be a concrete size, or a asterisk to match all sizes + // Sizes list of sizes this layout applies to. + // This could either be a concrete size, or a asterisk to match all sizes. repeated string sizes = 1; - // 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 image - // 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.0 - // "debian":">= 12.0" + // 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. map images = 2; } -// Filesystem +// Filesystem. message Filesystem { - // Device the underlying device where this filesystem should be created + // Device the underlying device where this filesystem should be created. string device = 1 [(buf.validate.field).string.(metalstack.api.v2.is_name) = true]; - // Format of the filesystem format + // Format of the filesystem format. Format format = 2 [ (buf.validate.field).enum.defined_only = true, (buf.validate.field).required = true ]; - // Name of this filesystem + // Name of this filesystem. optional string name = 3 [(buf.validate.field).string.(metalstack.api.v2.is_name) = true]; - // Description of this filesystem + // Description of this filesystem. optional string description = 4 [(buf.validate.field).string.(metalstack.api.v2.is_description) = true]; - // Path the mountpoint where this filesystem should be mounted on + // Path the mountpoint where this filesystem should be mounted on. optional string path = 5 [(buf.validate.field).string = { min_len: 1 max_len: 4096 }]; - // Label an optional label for this filesystem + // Label an optional label for this filesystem. optional string label = 6 [ (buf.validate.field).string.(metalstack.api.v2.is_name) = true, (buf.validate.field).string.(metalstack.api.v2.trimmed) = true ]; - // MountOptions the options to use to mount this filesystem + // MountOptions the options to use to mount this filesystem. repeated string mount_options = 7 [(buf.validate.field).repeated = { unique: true max_items: 32 @@ -112,7 +112,7 @@ message Filesystem { string: {[metalstack.api.v2.is_option]: true} } }]; - // CreateOptions the options to use to create (mkfs) this filesystem + // CreateOptions the options to use to create (mkfs) this filesystem. repeated string create_options = 8 [(buf.validate.field).repeated = { unique: true max_items: 32 @@ -122,25 +122,25 @@ message Filesystem { }]; } -// Disk +// Disk. message Disk { - // Device the device to create the partitions + // Device the device to create the partitions. string device = 1 [ (buf.validate.field).string.(metalstack.api.v2.is_name) = true, (buf.validate.field).string.(metalstack.api.v2.trimmed) = true ]; - // Partitions list of partitions to create on this disk + // Partitions list of partitions to create on this disk. repeated DiskPartition partitions = 2; } -// Raid +// Raid. message Raid { - // ArrayName the name of the resulting array device + // ArrayName the name of the resulting array device. string array_name = 1 [ (buf.validate.field).string.(metalstack.api.v2.is_name) = true, (buf.validate.field).string.(metalstack.api.v2.trimmed) = true ]; - // Devices list of devices to form the raid array from + // Devices list of devices to form the raid array from. repeated string devices = 2 [ (buf.validate.field).repeated = { max_items: 128 @@ -150,12 +150,12 @@ message Raid { }, (buf.validate.field).repeated.(metalstack.api.v2.all_trimmed) = true ]; - // Level raid level to create, should be 0 or 1 + // Level raid level to create, should be 0 or 1. RaidLevel level = 3 [ (buf.validate.field).enum.defined_only = true, (buf.validate.field).required = true ]; - // CreateOptions the options to use to create the raid array + // CreateOptions the options to use to create the raid array. repeated string create_options = 4 [(buf.validate.field).repeated = { unique: true max_items: 32 @@ -163,33 +163,33 @@ message Raid { string: {[metalstack.api.v2.is_option]: true} } }]; - // Spares number of spares for the raid array + // Spares number of spares for the raid array. int32 spares = 5; } -// DiskPartition +// DiskPartition. message DiskPartition { - // Number partition number, will be appended to partitionprefix to create the final devicename + // Number partition number, will be appended to partitionprefix to create the final devicename. uint32 number = 1; - // Label an optional label for this partition + // Label an optional label for this partition. optional string label = 2 [ (buf.validate.field).string.(metalstack.api.v2.is_name) = true, (buf.validate.field).string.(metalstack.api.v2.trimmed) = true ]; - // Size in mebibytes (MiB) of this partition + // Size in mebibytes (MiB) of this partition. uint64 size = 3; - // GPTType the gpt partition table type of this partition + // GPTType the gpt partition table type of this partition. optional GPTType gpt_type = 4 [ (buf.validate.field).enum.defined_only = true, (buf.validate.field).required = true ]; } -// VolumeGroup +// VolumeGroup. message VolumeGroup { - // Name the name of the resulting volume group + // Name the name of the resulting volume group. string name = 1 [(buf.validate.field).string.(metalstack.api.v2.is_name) = true]; - // Devices list of devices to form the volume group from + // Devices list of devices to form the volume group from. repeated string devices = 2 [ (buf.validate.field).repeated = { max_items: 128 @@ -199,7 +199,7 @@ message VolumeGroup { }, (buf.validate.field).repeated.(metalstack.api.v2.all_trimmed) = true ]; - // Tags list of tags to add to the volume group + // Tags list of tags to add to the volume group. repeated string tags = 3 [ (buf.validate.field).repeated = { max_items: 128 @@ -211,68 +211,68 @@ message VolumeGroup { ]; } -// LogicalVolume +// LogicalVolume. message LogicalVolume { - // Name the name of the logical volume + // Name the name of the logical volume. string name = 1 [(buf.validate.field).string.(metalstack.api.v2.is_name) = true]; - // VolumeGroup the name of the volume group where to create the logical volume onto + // VolumeGroup the name of the volume group where to create the logical volume onto. string volume_group = 2 [(buf.validate.field).string.(metalstack.api.v2.is_name) = true]; - // Size size in mebibytes (MiB) of this volume + // Size size in mebibytes (MiB) of this volume. uint64 size = 3; - // LVMType the type of this logical volume can be either linear|striped|raid1 + // LVMType the type of this logical volume can be either linear|striped|raid1. LVMType lvm_type = 4 [(buf.validate.field).enum.defined_only = true]; } -// LVMType +// LVMType. enum LVMType { - // LVM_TYPE_UNSPECIFIED is not specified + // LVM_TYPE_UNSPECIFIED is not specified. LVM_TYPE_UNSPECIFIED = 0; - // LVM_TYPE_LINEAR append across all physical volumes + // LVM_TYPE_LINEAR append across all physical volumes. LVM_TYPE_LINEAR = 1 [(enum_string_value) = "linear"]; - // LVM_TYPE_STRIPED stripe across all physical volumes + // LVM_TYPE_STRIPED stripe across all physical volumes. LVM_TYPE_STRIPED = 2 [(enum_string_value) = "striped"]; - // LVM_TYPE_RAID1 mirror with raid across all physical volumes + // LVM_TYPE_RAID1 mirror with raid across all physical volumes. LVM_TYPE_RAID1 = 3 [(enum_string_value) = "raid1"]; } -// Format specifies the filesystem to use on a volume +// Format specifies the filesystem to use on a volume. enum Format { - // FORMAT_UNSPECIFIED + // FORMAT_UNSPECIFIED. FORMAT_UNSPECIFIED = 0; - // FORMAT_VFAT is used for the UEFI boot partition + // FORMAT_VFAT is used for the UEFI boot partition. FORMAT_VFAT = 1 [(enum_string_value) = "vfat"]; - // FORMAT_EXT3 is usually only used for /boot + // FORMAT_EXT3 is usually only used for /boot. FORMAT_EXT3 = 2 [(enum_string_value) = "ext3"]; - // FORMAT_EXT4 is the default fs + // FORMAT_EXT4 is the default fs. FORMAT_EXT4 = 3 [(enum_string_value) = "ext4"]; - // FORMAT_SWAP is for the swap partition + // FORMAT_SWAP is for the swap partition. FORMAT_SWAP = 4 [(enum_string_value) = "swap"]; - // FORMAT_TMPFS is used for a memory filesystem typically /tmp + // FORMAT_TMPFS is used for a memory filesystem typically /tmp. FORMAT_TMPFS = 5 [(enum_string_value) = "tmpfs"]; - // FORMAT_NONE + // FORMAT_NONE. FORMAT_NONE = 6 [(enum_string_value) = "none"]; } -// GPTType specifies the partition type in uefi systems +// GPTType specifies the partition type in uefi systems. enum GPTType { - // GPT_TYPE_UNSPECIFIED is no specified + // GPT_TYPE_UNSPECIFIED is no specified. GPT_TYPE_UNSPECIFIED = 0; - // GPT_TYPE_BOOT EFI Boot Partition + // GPT_TYPE_BOOT EFI Boot Partition. GPT_TYPE_BOOT = 1 [(enum_string_value) = "ef00"]; - // GPT_TYPE_LINUX Linux Partition + // GPT_TYPE_LINUX Linux Partition. GPT_TYPE_LINUX = 2 [(enum_string_value) = "8300"]; - // GPT_TYPE_LINUX_RAID Linux Raid Partition + // GPT_TYPE_LINUX_RAID Linux Raid Partition. GPT_TYPE_LINUX_RAID = 3 [(enum_string_value) = "fd00"]; - // GPT_TYPE_LINUX_LVM Linux LVM Partition + // GPT_TYPE_LINUX_LVM Linux LVM Partition. GPT_TYPE_LINUX_LVM = 4 [(enum_string_value) = "8e00"]; } -// RaidLevel defines howto mirror two or more block devices +// RaidLevel defines howto mirror two or more block devices. enum RaidLevel { - // RAID_LEVEL_UNSPECIFIED is not specified + // RAID_LEVEL_UNSPECIFIED is not specified. RAID_LEVEL_UNSPECIFIED = 0; - // RAID_LEVEL_0 is a stripe of two or more disks + // RAID_LEVEL_0 is a stripe of two or more disks. RAID_LEVEL_0 = 1 [(enum_string_value) = "0"]; - // RAID_LEVEL_1 is a mirror of two disks + // RAID_LEVEL_1 is a mirror of two disks. RAID_LEVEL_1 = 2 [(enum_string_value) = "1"]; } diff --git a/proto/metalstack/api/v2/health.proto b/proto/metalstack/api/v2/health.proto index d931bb41..8c6a5e8d 100644 --- a/proto/metalstack/api/v2/health.proto +++ b/proto/metalstack/api/v2/health.proto @@ -15,61 +15,61 @@ service HealthService { // ServiceStatus defines the status of a service. enum ServiceStatus { - // SERVICE_STATUS_UNSPECIFIED service status is not known or unspecified + // SERVICE_STATUS_UNSPECIFIED service status is not known or unspecified. SERVICE_STATUS_UNSPECIFIED = 0; - // SERVICE_STATUS_DEGRADED the service is in degraded status, not the whole functionality is available + // SERVICE_STATUS_DEGRADED the service is in degraded status, not the whole functionality is available. SERVICE_STATUS_DEGRADED = 1; - // SERVICE_STATUS_UNHEALTHY the service is in unhealthy status, serious impact is expected + // SERVICE_STATUS_UNHEALTHY the service is in unhealthy status, serious impact is expected. SERVICE_STATUS_UNHEALTHY = 2; - // SERVICE_STATUS_HEALTHY the service is in healthy status, for example fully functional + // SERVICE_STATUS_HEALTHY the service is in healthy status, for example fully functional. SERVICE_STATUS_HEALTHY = 3; } // Service defines the service for which the healthiness is reported. enum Service { - // SERVICE_UNSPECIFIED is a unknown service + // SERVICE_UNSPECIFIED is a unknown service. SERVICE_UNSPECIFIED = 0; - // SERVICE_IPAM the IPAM service + // SERVICE_IPAM the IPAM service. SERVICE_IPAM = 1 [(enum_string_value) = "ipam"]; - // SERVICE_RETHINK the RethinkDB + // SERVICE_RETHINK the RethinkDB. SERVICE_RETHINK = 2 [(enum_string_value) = "rethinkdb"]; - // SERVICE_TENANT_APISERVER the tenant-apiserver + // SERVICE_TENANT_APISERVER the tenant-apiserver. SERVICE_TENANT_APISERVER = 3 [(enum_string_value) = "tenant-apiserver"]; - // SERVICE_MACHINES the machine service + // SERVICE_MACHINES the machine service. SERVICE_MACHINES = 4 [(enum_string_value) = "machines"]; - // SERVICE_AUDIT the auditing + // SERVICE_AUDIT the auditing. SERVICE_AUDIT = 5 [(enum_string_value) = "audit"]; - // SERVICE_VPN the VPN service + // SERVICE_VPN the VPN service. SERVICE_VPN = 6 [(enum_string_value) = "vpn"]; - // SERVICE_REDIS the Redis service + // SERVICE_REDIS the Redis service. SERVICE_REDIS = 7 [(enum_string_value) = "redis"]; - // SERVICE_TASKS the tasks service + // SERVICE_TASKS the tasks service. SERVICE_TASKS = 8 [(enum_string_value) = "tasks"]; } // Health reports the health status of all services. message Health { - // Services contains the health of all individual services + // Services contains the health of all individual services. repeated HealthStatus services = 1; } // HealthStatus represents the health status of one service. message HealthStatus { - // Name is the name of the service + // Name is the name of the service. Service name = 1; - // Status is the status of this service + // Status is the status of this service. ServiceStatus status = 2; - // Message describes the reason for the unhealthy status if possible + // Message describes the reason for the unhealthy status if possible. string message = 3; - // Partitions describes the health of the service by partition + // Partitions describes the health of the service by partition. map partitions = 4; } // PartitionHealth represents the status of a specific service in this partition. message PartitionHealth { - // Status is the health status of the service in this partition + // Status is the health status of the service in this partition. ServiceStatus status = 1; - // Message describes the reason for the unhealthy status if possible + // Message describes the reason for the unhealthy status if possible. string message = 2; } @@ -78,6 +78,6 @@ message HealthServiceGetRequest {} // HealthServiceGetResponse is the response payload for getting the health of the system. message HealthServiceGetResponse { - // Health contains the overall health of the system + // Health contains the overall health of the system. Health health = 1; } diff --git a/proto/metalstack/api/v2/image.proto b/proto/metalstack/api/v2/image.proto index dfed9d51..394957e2 100644 --- a/proto/metalstack/api/v2/image.proto +++ b/proto/metalstack/api/v2/image.proto @@ -26,127 +26,127 @@ service ImageService { } } -// ImageServiceGetRequest is the request payload for an image get request +// ImageServiceGetRequest is the request payload for an image get request. message ImageServiceGetRequest { - // ID of the image to get + // ID of the image to get. string id = 1 [(buf.validate.field).string.(metalstack.api.v2.is_name) = true]; } -// ImageServiceListRequest is the request payload for an image list request +// ImageServiceListRequest is the request payload for an image list request. message ImageServiceListRequest { - // Query for images + // Query for images. ImageQuery query = 1; } -// ImageServiceLatestRequest is the request payload for an image latest request +// ImageServiceLatestRequest is the request payload for an image latest request. message ImageServiceLatestRequest { - // 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 for which the latest image should be fetched. + // Should contain os and major.minor then latest patch version of this os is returned. string os = 1; - // Classification of the image latest image + // Classification of the image latest image. optional ImageClassification classification = 2 [(buf.validate.field).enum.defined_only = true]; } -// ImageServiceGetResponse is the response payload for an image get request +// ImageServiceGetResponse is the response payload for an image get request. message ImageServiceGetResponse { - // Image the image + // Image the image. Image image = 1; } -// ImageServiceListResponse is the response payload for an image list request +// ImageServiceListResponse is the response payload for an image list request. message ImageServiceListResponse { - // Images the images + // Images the images. repeated Image images = 1; } -// ImageServiceLatestResponse is the response payload for an image latest request +// ImageServiceLatestResponse is the response payload for an image latest request. message ImageServiceLatestResponse { - // Image which is the latest for one os + // Image which is the latest for one os. Image image = 1; } -// Image +// Image. message Image { - // Id of this image + // Id of this image. string id = 1 [(buf.validate.field).string.(metalstack.api.v2.is_name) = true]; - // Meta for this image + // Meta for this image. Meta meta = 2; - // URL where this image is located + // URL where this image is located. string url = 3 [(buf.validate.field).string.(metalstack.api.v2.is_uri) = true]; - // Name of this image + // Name of this image. optional string name = 4 [(buf.validate.field).string.(metalstack.api.v2.is_name) = true]; - // Description of this image + // Description of this image. optional string description = 5 [(buf.validate.field).string.(metalstack.api.v2.is_description) = true]; - // Features of this image + // Features of this image. repeated ImageFeature features = 6 [(buf.validate.field).repeated = { unique: true items: { enum: {defined_only: true} } }]; - // Classification of this image + // Classification of this image. ImageClassification classification = 7 [(buf.validate.field).enum.defined_only = true]; - // ExpiresAt usage is not possible after this date + // ExpiresAt usage is not possible after this date. google.protobuf.Timestamp expires_at = 8; } -// ImageUsage reports which machines/firewalls actually use this image +// ImageUsage reports which machines/firewalls actually use this image. message ImageUsage { - // Image with usage + // Image with usage. Image image = 1; - // UsedBy the following machines/firewalls + // UsedBy the following machines/firewalls. repeated string used_by = 2; } -// ImageQuery is used to search images +// ImageQuery is used to search images. message ImageQuery { - // ID of the image to get + // ID of the image to get. optional string id = 1 [(buf.validate.field).string.(metalstack.api.v2.is_name) = true]; - // OS of the image + // OS of the image. optional string os = 2 [(buf.validate.field).string = { min_len: 2 max_len: 128 }]; - // Version of the Image + // Version of the Image. optional string version = 3 [(buf.validate.field).string = { min_len: 1 max_len: 128 }]; - // Name of the image to query + // Name of the image to query. optional string name = 4 [(buf.validate.field).string.(metalstack.api.v2.is_name) = true]; - // Description of the image to query + // Description of the image to query. optional string description = 5 [(buf.validate.field).string.(metalstack.api.v2.is_description) = true]; - // Url of the image to query + // Url of the image to query. optional string url = 6 [(buf.validate.field).string.(metalstack.api.v2.is_uri) = true]; - // Feature of the image to query + // Feature of the image to query. optional ImageFeature feature = 7 [(buf.validate.field).enum.defined_only = true]; - // Classification of the image to query + // Classification of the image to query. optional ImageClassification classification = 8 [(buf.validate.field).enum.defined_only = true]; - // Labels lists only images containing the given labels + // Labels lists only images containing the given labels. optional Labels labels = 9; } -// ImageFeature +// ImageFeature. enum ImageFeature { - // IMAGE_FEATURE_UNSPECIFIED is not specified + // IMAGE_FEATURE_UNSPECIFIED is not specified. IMAGE_FEATURE_UNSPECIFIED = 0; - // IMAGE_FEATURE_MACHINE indicates this image is usable for a machine + // IMAGE_FEATURE_MACHINE indicates this image is usable for a machine. IMAGE_FEATURE_MACHINE = 1 [(enum_string_value) = "machine"]; - // IMAGE_FEATURE_FIREWALL indicates this image is usable for a firewall + // IMAGE_FEATURE_FIREWALL indicates this image is usable for a firewall. IMAGE_FEATURE_FIREWALL = 2 [(enum_string_value) = "firewall"]; } -// Image +// Image. enum ImageClassification { - // IMAGE_CLASSIFICATION_UNSPECIFIED is not specified + // IMAGE_CLASSIFICATION_UNSPECIFIED is not specified. IMAGE_CLASSIFICATION_UNSPECIFIED = 0; - // IMAGE_CLASSIFICATION_PREVIEW indicates that this image is in preview + // IMAGE_CLASSIFICATION_PREVIEW indicates that this image is in preview. IMAGE_CLASSIFICATION_PREVIEW = 1 [(enum_string_value) = "preview"]; - // IMAGE_CLASSIFICATION_SUPPORTED indicates that this image is supported + // IMAGE_CLASSIFICATION_SUPPORTED indicates that this image is supported. IMAGE_CLASSIFICATION_SUPPORTED = 2 [(enum_string_value) = "supported"]; - // IMAGE_CLASSIFICATION_DEPRECATED indicates that this image is deprecated + // IMAGE_CLASSIFICATION_DEPRECATED indicates that this image is deprecated. IMAGE_CLASSIFICATION_DEPRECATED = 3 [(enum_string_value) = "deprecated"]; } diff --git a/proto/metalstack/api/v2/ip.proto b/proto/metalstack/api/v2/ip.proto index cf7fe208..fe487698 100644 --- a/proto/metalstack/api/v2/ip.proto +++ b/proto/metalstack/api/v2/ip.proto @@ -42,167 +42,167 @@ service IPService { } } -// IPType specifies different IP address types +// IPType specifies different IP address types. enum IPType { - // IP_TYPE_UNSPECIFIED is not specified + // IP_TYPE_UNSPECIFIED is not specified. IP_TYPE_UNSPECIFIED = 0; - // IP_TYPE_EPHEMERAL defines an ephemeral IP address which is freed/deleted after usage + // IP_TYPE_EPHEMERAL defines an ephemeral IP address which is freed/deleted after usage. IP_TYPE_EPHEMERAL = 1 [(enum_string_value) = "ephemeral"]; - // IP_TYPE_STATIC defines a static ip address which must be freed/deleted explicitly + // IP_TYPE_STATIC defines a static ip address which must be freed/deleted explicitly. IP_TYPE_STATIC = 2 [(enum_string_value) = "static"]; } -// IPAddressFamily defines either IPv4 or IPv6 Addressfamily +// IPAddressFamily defines either IPv4 or IPv6 Addressfamily. enum IPAddressFamily { - // IP_ADDRESS_FAMILY_UNSPECIFIED is not specified + // IP_ADDRESS_FAMILY_UNSPECIFIED is not specified. IP_ADDRESS_FAMILY_UNSPECIFIED = 0; - // IP_ADDRESS_FAMILY_V4 defines a IPv4 address + // IP_ADDRESS_FAMILY_V4 defines a IPv4 address. IP_ADDRESS_FAMILY_V4 = 1 [(enum_string_value) = "ipv4"]; - // IP_ADDRESS_FAMILY_V6 defines a IPv6 address + // IP_ADDRESS_FAMILY_V6 defines a IPv6 address. IP_ADDRESS_FAMILY_V6 = 2 [(enum_string_value) = "ipv6"]; } -// IP is an IP address which can be used as loadbalancer addresses +// IP is an IP address which can be used as loadbalancer addresses. message IP { - // Uuid of this ip + // Uuid of this ip. string uuid = 1 [(buf.validate.field).string.uuid = true]; - // Meta for this ip + // Meta for this ip. Meta meta = 2; - // Ip is either ipv4 or ipv6 address + // Ip is either ipv4 or ipv6 address. string ip = 3 [(buf.validate.field).string.ip = true]; - // Name of this ip + // Name of this ip. string name = 4 [(buf.validate.field).string.(metalstack.api.v2.is_name) = true]; - // Description of this ip + // Description of this ip. string description = 5 [(buf.validate.field).string.(metalstack.api.v2.is_description) = true]; - // Network is the network this ip belongs to + // Network is the network this ip belongs to. string network = 6 [(buf.validate.field).string.(metalstack.api.v2.is_name) = true]; - // Project where this ip address belongs to + // Project where this ip address belongs to. string project = 7 [(buf.validate.field).string.uuid = true]; - // Type of this ip + // Type of this ip. IPType type = 8 [(buf.validate.field).enum.defined_only = true]; - // 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 if specified this ip is from a namespaced network and can therefore overlap with others. + // Will be equal with project most of the time. optional string namespace = 9 [(buf.validate.field).string.uuid = true]; } -// IPServiceGetRequest is the request payload for an IP get request +// IPServiceGetRequest is the request payload for an IP get request. message IPServiceGetRequest { - // IP of the ip to get + // IP of the ip to get. string ip = 1 [(buf.validate.field).string.ip = true]; - // Project of the ip + // Project of the ip. string project = 2 [(buf.validate.field).string.uuid = true]; // Namespace can be specified to get the ip of a namespace. optional string namespace = 3 [(buf.validate.field).string.uuid = true]; } -// IPServiceCreateRequest is the request payload for an IP create request +// IPServiceCreateRequest is the request payload for an IP create request. message IPServiceCreateRequest { - // Network from which the IP should be created + // Network from which the IP should be created. string network = 1 [(buf.validate.field).string.(metalstack.api.v2.is_name) = true]; - // Project of the ip + // Project of the ip. string project = 2 [(buf.validate.field).string.uuid = true]; - // Name of the ip + // Name of the ip. optional string name = 3 [(buf.validate.field).string.(metalstack.api.v2.is_name) = true]; - // Description of the ip + // Description of the ip. optional string description = 4 [(buf.validate.field).string.(metalstack.api.v2.is_description) = true]; - // IP if given try to create this ip if still available + // IP if given try to create this ip if still available. optional string ip = 5 [(buf.validate.field).string.ip = true]; - // Machine for which this ip should get created + // Machine for which this ip should get created. optional string machine = 6 [(buf.validate.field).string.uuid = true]; - // Labels to put onto the ip + // Labels to put onto the ip. optional Labels labels = 7; - // Type of the IP, ether ephemeral (default), or static + // Type of the IP, ether ephemeral (default), or static. optional IPType type = 8 [(buf.validate.field).enum.defined_only = true]; - // Addressfamily of the IP to create, defaults to ipv4 + // Addressfamily of the IP to create, defaults to ipv4. optional IPAddressFamily address_family = 9 [(buf.validate.field).enum.defined_only = true]; } -// IPServiceUpdateRequest is the request payload for an IP update request +// IPServiceUpdateRequest is the request payload for an IP update request. message IPServiceUpdateRequest { - // Ip the ip address to update + // Ip the ip address to update. string ip = 1 [(buf.validate.field).string.ip = true]; - // UpdateMeta contains the timestamp and strategy to be used in this update request + // UpdateMeta contains the timestamp and strategy to be used in this update request. UpdateMeta update_meta = 2 [(buf.validate.field).required = true]; - // Project id of the ip + // Project id of the ip. string project = 3 [(buf.validate.field).string.uuid = true]; - // Name of this ip + // Name of this ip. optional string name = 4 [(buf.validate.field).string.(metalstack.api.v2.is_name) = true]; - // Description of this ip + // Description of this ip. optional string description = 5 [(buf.validate.field).string.(metalstack.api.v2.is_description) = true]; - // Type of this ip + // Type of this ip. optional IPType type = 6 [(buf.validate.field).enum.defined_only = true]; - // Labels on this ip + // Labels on this ip. optional UpdateLabels labels = 7; } -// IPServiceListRequest is the request payload for an IP list request +// IPServiceListRequest is the request payload for an IP list request. message IPServiceListRequest { - // Project of the ips to list + // Project of the ips to list. string project = 1 [(buf.validate.field).string.uuid = true]; - // Query to list one or more IPs + // Query to list one or more IPs. IPQuery query = 2; } -// IPQuery can be used to query a IP or a list of IP +// IPQuery can be used to query a IP or a list of IP. message IPQuery { - // Ip the ip to list + // Ip the ip to list. optional string ip = 1 [(buf.validate.field).string.ip = true]; - // Network from which the IPs are to list + // Network from which the IPs are to list. optional string network = 2 [(buf.validate.field).string.(metalstack.api.v2.is_name) = true]; - // Project of the ips to list + // Project of the ips to list. optional string project = 3 [(buf.validate.field).string.uuid = true]; - // Name of this ip + // Name of this ip. optional string name = 4 [(buf.validate.field).string.(metalstack.api.v2.is_name) = true]; - // UUID for which these IPs should be filtered + // UUID for which these IPs should be filtered. optional string uuid = 5 [(buf.validate.field).string.uuid = true]; - // Machine for which these IPs should be filtered + // Machine for which these IPs should be filtered. optional string machine = 6 [(buf.validate.field).string.uuid = true]; - // ParentPrefixCidr for which this ips should get filtered + // ParentPrefixCidr for which this ips should get filtered. optional string parent_prefix_cidr = 7 [(buf.validate.field).string.ip_prefix = true]; - // Labels for which these IPs should be filtered + // Labels for which these IPs should be filtered. optional Labels labels = 8; - // Static if set to true, this will be a Static ip + // Static if set to true, this will be a Static ip. optional IPType type = 9 [(buf.validate.field).enum.defined_only = true]; - // Address family of the IPs to list, defaults to all address families + // Address family of the IPs to list, defaults to all address families. optional IPAddressFamily address_family = 10 [(buf.validate.field).enum.defined_only = true]; // Namespace can be specified to get the ip of a namespace. optional string namespace = 11 [(buf.validate.field).string.uuid = true]; } -// IPServiceDeleteRequest is the request payload for a ip delete request +// IPServiceDeleteRequest is the request payload for a ip delete request. message IPServiceDeleteRequest { - // IP of the ip to delete + // IP of the ip to delete. string ip = 1 [(buf.validate.field).string.ip = true]; - // Project of the ip + // Project of the ip. string project = 2 [(buf.validate.field).string.uuid = true]; } -// IPServiceGetResponse is the response payload for an IP get request +// IPServiceGetResponse is the response payload for an IP get request. message IPServiceGetResponse { - // Ip the ip + // Ip the ip. IP ip = 1; } -// IPServiceUpdateResponse is the response payload for a ip update request +// IPServiceUpdateResponse is the response payload for a ip update request. message IPServiceUpdateResponse { - // Ip the ip + // Ip the ip. IP ip = 1; } -// IPServiceCreateResponse is the response payload for an IP create request +// IPServiceCreateResponse is the response payload for an IP create request. message IPServiceCreateResponse { - // Ip the ip + // Ip the ip. IP ip = 1; } -// IPServiceListResponse is the response payload for an IP list request +// IPServiceListResponse is the response payload for an IP list request. message IPServiceListResponse { - // Ips the ips + // Ips the ips. repeated IP ips = 1; } -// IPServiceDeleteResponse is the response payload for an IP delete request +// IPServiceDeleteResponse is the response payload for an IP delete request. message IPServiceDeleteResponse { - // Ip the ip + // Ip the ip. IP ip = 1; } diff --git a/proto/metalstack/api/v2/machine.proto b/proto/metalstack/api/v2/machine.proto index dff40722..c35d8381 100644 --- a/proto/metalstack/api/v2/machine.proto +++ b/proto/metalstack/api/v2/machine.proto @@ -63,51 +63,51 @@ service MachineService { // ------------------------ Service Messages ---------------------------------- -// MachineServiceGetRequest is the request payload for a machine get request +// MachineServiceGetRequest is the request payload for a machine get request. message MachineServiceGetRequest { - // UUID of the machine to get + // UUID of the machine to get. string uuid = 1 [(buf.validate.field).string.uuid = true]; - // Project of the machine + // Project of the machine. string project = 2 [(buf.validate.field).string.uuid = true]; } -// MachineServiceGetResponse is the response payload for a machine get request +// MachineServiceGetResponse is the response payload for a machine get request. message MachineServiceGetResponse { - // Machine is the machine requested + // Machine is the machine requested. Machine machine = 1; } -// MachineServiceCreateRequest is the request payload for a machine create request +// MachineServiceCreateRequest is the request payload for a machine create request. message MachineServiceCreateRequest { - // Project of the machine + // Project of the machine. string project = 1 [(buf.validate.field).string.uuid = true]; // 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 + // Can only be used with ADMIN_ROLE_EDITOR. optional string uuid = 2 [(buf.validate.field).string.uuid = true]; - // Name of this machine + // Name of this machine. string name = 3 [(buf.validate.field).string.(metalstack.api.v2.is_name) = true]; - // Description for this machine + // Description for this machine. optional string description = 4 [(buf.validate.field).string.(metalstack.api.v2.is_description) = true]; - // Hostname the hostname for the allocated machine (defaults to metal) + // Hostname the hostname for the allocated machine (defaults to metal). optional string hostname = 5 [(buf.validate.field).string.hostname = true]; - // Partition the partition id to assign this machine to, must be omitted if uuid is given + // Partition the partition id to assign this machine to, must be omitted if uuid is given. optional string partition = 6 [(buf.validate.field).string.(metalstack.api.v2.is_partition) = true]; - // Size of the machine to create, must be omitted if uuid is given + // Size of the machine to create, must be omitted if uuid is given. optional string size = 7 [(buf.validate.field).string.(metalstack.api.v2.is_name) = true]; - // Image which should be installed on this machine + // 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.20260402 - // or in a simplified form which omits the patch version - // - debian-13.0 - // 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. + // - 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. string image = 8 [(buf.validate.field).string.(metalstack.api.v2.is_name) = true]; - // FilesystemLayout which should be applied for the operating system installation + // 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 + // Can be specified to test new fsls during development of fsls. optional string filesystem_layout = 9 [(buf.validate.field).string.(metalstack.api.v2.is_name) = true]; - // SSHPublicKeys defines the ssh public key to be installed on the machine to access it via ssh + // SSHPublicKeys defines the ssh public key to be installed on the machine to access it via ssh. repeated string ssh_public_keys = 10 [ (buf.validate.field).repeated = { // At most 50 keys can be stored. @@ -120,54 +120,54 @@ message MachineServiceCreateRequest { }, (buf.validate.field).repeated.(metalstack.api.v2.all_trimmed) = true ]; - // Userdata contains instructions required to bootstrap the machine - // AWS limits the max userdata size to 16k, lets allow twice as much + // Userdata contains instructions required to bootstrap the machine. + // AWS limits the max userdata size to 16k, lets allow twice as much. optional string userdata = 11 [ (buf.validate.field).string = {max_len: 32768}, (buf.validate.field).string.(metalstack.api.v2.trimmed) = true ]; - // Labels to be attached to this machine allocation + // Labels to be attached to this machine allocation. Labels labels = 12; // Networks the networks that this machine will be placed in. repeated MachineAllocationNetwork networks = 13 [(buf.validate.field).repeated.min_items = 1]; // PlacementTags by default machines are spread across the racks inside a partition for every project. - // if placement tags are provided, the machine candidate has an additional anti-affinity to other machines having the same tags + // if placement tags are provided, the machine candidate has an additional anti-affinity to other machines having the same tags. repeated string placement_tags = 14 [(buf.validate.field).repeated.max_items = 64]; - // DNSServer the dns servers used for the machine + // DNSServer the dns servers used for the machine. repeated DNSServer dns_servers = 15 [(buf.validate.field).repeated.max_items = 3]; - // NTPServer the ntp servers used for the machine + // NTPServer the ntp servers used for the machine. repeated NTPServer ntp_servers = 16 [(buf.validate.field).repeated.max_items = 10]; - // AllocationType of this machine + // AllocationType of this machine. MachineAllocationType allocation_type = 17 [(buf.validate.field).enum.defined_only = true]; - // FirewallSpec provides firewall specific parameters if allocationType is firewall + // FirewallSpec provides firewall specific parameters if allocationType is firewall. FirewallSpec firewall_spec = 18; } -// FirewallSpec contains firewall specific firewall creation parameters +// FirewallSpec contains firewall specific firewall creation parameters. message FirewallSpec { - // FirewallRules to be applied if this is a firewall + // FirewallRules to be applied if this is a firewall. FirewallRules firewall_rules = 1; } -// MachineServiceCreateResponse is the response payload for a machine create request +// MachineServiceCreateResponse is the response payload for a machine create request. message MachineServiceCreateResponse { - // Machine which was created + // Machine which was created. Machine machine = 1; } -// MachineServiceUpdateRequest is the request payload for a machine update request +// MachineServiceUpdateRequest is the request payload for a machine update request. message MachineServiceUpdateRequest { - // UUID of the machine to modify + // UUID of the machine to modify. string uuid = 1 [(buf.validate.field).string.uuid = true]; - // UpdateMeta contains the timestamp and strategy to be used in this update request + // UpdateMeta contains the timestamp and strategy to be used in this update request. UpdateMeta update_meta = 2 [(buf.validate.field).required = true]; - // Project of the machine + // Project of the machine. string project = 3 [(buf.validate.field).string.uuid = true]; - // Description of this machine allocation + // Description of this machine allocation. optional string description = 4 [(buf.validate.field).string.(metalstack.api.v2.is_description) = true]; - // Labels to update on this machine allocation + // Labels to update on this machine allocation. optional UpdateLabels labels = 5; - // SSHPublicKeys which should be update of this machine allocation + // SSHPublicKeys which should be update of this machine allocation. repeated string ssh_public_keys = 6 [ (buf.validate.field).repeated = { // At most 50 keys can be stored. @@ -182,66 +182,66 @@ message MachineServiceUpdateRequest { ]; } -// MachineServiceUpdateResponse is the response payload for a machine update request +// MachineServiceUpdateResponse is the response payload for a machine update request. message MachineServiceUpdateResponse { - // Machine which was updated + // Machine which was updated. Machine machine = 1; } -// MachineServiceListRequest is the request payload for a machine list request +// MachineServiceListRequest is the request payload for a machine list request. message MachineServiceListRequest { - // Project of the machines to list + // Project of the machines to list. string project = 1 [(buf.validate.field).string.uuid = true]; - // Query to list one ore more machines + // Query to list one ore more machines. MachineQuery query = 2; } -// MachineServiceListResponse is the response payload for a machine list request +// MachineServiceListResponse is the response payload for a machine list request. message MachineServiceListResponse { - // Machines are the machines requested by a list request + // Machines are the machines requested by a list request. repeated Machine machines = 1; } -// MachineServiceDeleteRequest is the request payload for a machine delete request +// MachineServiceDeleteRequest is the request payload for a machine delete request. message MachineServiceDeleteRequest { - // UUID of the machine to delete + // UUID of the machine to delete. string uuid = 1 [(buf.validate.field).string.uuid = true]; - // Project of the machine + // Project of the machine. string project = 2 [(buf.validate.field).string.uuid = true]; } -// MachineServiceDeleteResponse is the response payload for a machine delete request +// MachineServiceDeleteResponse is the response payload for a machine delete request. message MachineServiceDeleteResponse { - // Machine which was deleted + // Machine which was deleted. Machine machine = 1; } -// MachineServiceBMCCommandRequest is the request payload for a machine bmc command +// MachineServiceBMCCommandRequest is the request payload for a machine bmc command. message MachineServiceBMCCommandRequest { - // UUID of the machine to send the command to + // UUID of the machine to send the command to. string uuid = 1 [(buf.validate.field).string.uuid = true]; - // Project of the machine + // Project of the machine. string project = 2 [(buf.validate.field).string.uuid = true]; - // Command to send to the bmc of the machine + // Command to send to the bmc of the machine. MachineBMCCommand command = 3 [(buf.validate.field).enum.defined_only = true]; } -// MachineServiceBMCCommandResponse is the response payload for a machine bmc command +// MachineServiceBMCCommandResponse is the response payload for a machine bmc command. message MachineServiceBMCCommandResponse {} -// MachineServiceGetBMCRequest is the request payload for a machine getbmc request +// MachineServiceGetBMCRequest is the request payload for a machine getbmc request. message MachineServiceGetBMCRequest { - // UUID of the machine to get + // UUID of the machine to get. string uuid = 1 [(buf.validate.field).string.uuid = true]; - // Project of the machine + // Project of the machine. string project = 2 [(buf.validate.field).string.uuid = true]; } -// MachineServiceGetBMCResponse is the response payload for a machine getbmc request +// MachineServiceGetBMCResponse is the response payload for a machine getbmc request. message MachineServiceGetBMCResponse { - // UUID of the machine + // UUID of the machine. string uuid = 1 [(buf.validate.field).string.uuid = true]; - // BMC contains the BMC details of this machine + // BMC contains the BMC details of this machine. MachineBMCReport bmc = 2; } @@ -249,74 +249,74 @@ message MachineServiceGetBMCResponse { // Machine represents a physical bare metal machine. message Machine { - // UUID of this machine + // UUID of this machine. string uuid = 1 [(buf.validate.field).string.uuid = true]; - // Meta for this machine + // Meta for this machine. Meta meta = 2; - // Partition where this machine resides + // Partition where this machine resides. Partition partition = 3; - // Rack where this machine is located + // Rack where this machine is located. string rack = 4 [(buf.validate.field).string = {max_len: 128}]; - // Room where this machine is located + // Room where this machine is located. string room = 5 [(buf.validate.field).string = {max_len: 128}]; - // Size of this machine + // Size of this machine. Size size = 6; - // Hardware specs of this machine + // Hardware specs of this machine. MachineHardware hardware = 7; - // Allocation details + // Allocation details. MachineAllocation allocation = 8; - // Status contains several status details related to this machine + // Status contains several status details related to this machine. MachineStatus status = 9; - // MachineRecentProvisioningEvents contains the recent provisioning events + // MachineRecentProvisioningEvents contains the recent provisioning events. MachineRecentProvisioningEvents recent_provisioning_events = 10; } -// MachineStatus contains several status details related to this machine +// MachineStatus contains several status details related to this machine. message MachineStatus { - // Condition describes the availability + // Condition describes the availability. MachineCondition condition = 1; - // LEDState indicates the state of the indicator LED on this machine + // LEDState indicates the state of the indicator LED on this machine. MachineChassisIdentifyLEDState led_state = 2; - // Liveliness of this machine + // Liveliness of this machine. MachineLiveliness liveliness = 3 [(buf.validate.field).enum.defined_only = true]; - // MetalHammerVersion the version of metal hammer which put the machine in waiting state + // MetalHammerVersion the version of metal hammer which put the machine in waiting state. string metal_hammer_version = 4; } -// MachineCondition describes the availability of this machine +// MachineCondition describes the availability of this machine. message MachineCondition { - // State the state of this machine. empty means available for all + // State the state of this machine. empty means available for al. MachineState state = 1 [(buf.validate.field).enum.defined_only = true]; - // Description a description why this machine is in the given state + // Description a description why this machine is in the given state. string description = 2 [(buf.validate.field).string.(metalstack.api.v2.is_description) = true]; - // Issuer the user that changed the state + // Issuer the user that changed the state. string issuer = 3 [(buf.validate.field).string = {max_len: 256}]; } -// MachineAllocation contains properties if this machine is allocated +// MachineAllocation contains properties if this machine is allocated. message MachineAllocation { - // UUID of this machine allocation + // UUID of this machine allocation. string uuid = 1 [(buf.validate.field).string.uuid = true]; - // Meta for this machine allocation + // Meta for this machine allocation. Meta meta = 2; - // Name of this allocation + // Name of this allocation. string name = 3 [(buf.validate.field).string.(metalstack.api.v2.is_name) = true]; - // Description of this allocation + // Description of this allocation. string description = 4 [(buf.validate.field).string.(metalstack.api.v2.is_description) = true]; - // Created By indicates who created this machine allocation + // Created By indicates who created this machine allocation. string created_by = 5 [(buf.validate.field).string = {max_len: 128}]; - // Project of the allocation + // Project of the allocation. string project = 6 [(buf.validate.field).string.uuid = true]; - // Image to be used to install on this machine + // Image to be used to install on this machine. Image image = 7; - // FilesystemLayout to create on the disks + // FilesystemLayout to create on the disks. FilesystemLayout filesystem_layout = 8; - // Networks this machine should be attached to + // Networks this machine should be attached to. // Order of ips of external networks will be preserved. repeated MachineNetwork networks = 9; - // Hostname of the allocated machine + // Hostname of the allocated machine. string hostname = 10 [(buf.validate.field).string.hostname = true]; - // SSHPublicKeys which should be installed on this machine + // SSHPublicKeys which should be installed on this machine. repeated string ssh_public_keys = 11 [ (buf.validate.field).repeated = { // At most 50 keys can be stored. @@ -330,54 +330,54 @@ message MachineAllocation { (buf.validate.field).repeated.(metalstack.api.v2.all_trimmed) = true ]; // Userdata contains instructions required to bootstrap the machine. - // AWS limits the max userdata size to 16k, lets allow twice as much + // AWS limits the max userdata size to 16k, lets allow twice as much. string userdata = 12 [ (buf.validate.field).string = {max_len: 32768}, (buf.validate.field).string.(metalstack.api.v2.trimmed) = true ]; - // AllocationType of this machine + // AllocationType of this machine. MachineAllocationType allocation_type = 13 [(buf.validate.field).enum.defined_only = true]; - // FirewallRules to be applied if this is a firewall + // FirewallRules to be applied if this is a firewall. FirewallRules firewall_rules = 14; - // DNSServers for this machine + // DNSServers for this machine. repeated DNSServer dns_servers = 15 [(buf.validate.field).repeated.max_items = 3]; - // NTPServers for this machine + // NTPServers for this machine. repeated NTPServer ntp_servers = 16 [(buf.validate.field).repeated.max_items = 10]; - // VPN connection configuration + // VPN connection configuration. MachineVPN vpn = 17; } -// MachineAllocationNetwork defines which network should be attached to a machine and if ips should be autoacquired +// MachineAllocationNetwork defines which network should be attached to a machine and if ips should be autoacquired. message MachineAllocationNetwork { - // Network the id of the network that this machine will be placed in + // Network the id of the network that this machine will be placed in. string network = 1 [(buf.validate.field).string.(metalstack.api.v2.is_name) = true]; - // IPs to to attach to this machine additionally - // If none given, one ip address is acquired per network for the machine + // 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. repeated string ips = 2 [(buf.validate.field).repeated.(metalstack.api.v2.ips) = true]; } -// FirewallRules can be defined during firewall allocation +// FirewallRules can be defined during firewall allocation. message FirewallRules { - // Egress list of egress rules to be deployed during firewall allocation + // Egress list of egress rules to be deployed during firewall allocation. repeated FirewallEgressRule egress = 1; - // Ingress list of ingress rules to be deployed during firewall allocation + // Ingress list of ingress rules to be deployed during firewall allocation. repeated FirewallIngressRule ingress = 2; } -// FirewallEgressRule defines rules for outgoing traffic +// FirewallEgressRule defines rules for outgoing traffic. message FirewallEgressRule { - // Protocol the protocol for the rule, defaults to tcp + // Protocol the protocol for the rule, defaults to tcp. IPProtocol protocol = 1 [(buf.validate.field).enum.defined_only = true]; - // Ports the ports affected by this rule + // Ports the ports affected by this rule. repeated uint32 ports = 2 [(buf.validate.field).repeated = { items: { uint32: {lte: 65532} } }]; - // To the destination cidrs affected by this rule + // To the destination cidrs affected by this rule. repeated string to = 3 [(buf.validate.field).repeated.(metalstack.api.v2.prefixes) = true]; - // Comment for this rule + // Comment for this rule. string comment = 4 [(buf.validate.field) = { string: { pattern: "^[a-z_ -]*$" @@ -387,21 +387,21 @@ message FirewallEgressRule { }]; } -// FirewallIngressRule defines rules for incoming traffic +// FirewallIngressRule defines rules for incoming traffic. message FirewallIngressRule { - // Protocol the protocol for the rule, defaults to tcp + // Protocol the protocol for the rule, defaults to tcp. IPProtocol protocol = 1 [(buf.validate.field).enum.defined_only = true]; - // Ports the ports affected by this rule + // Ports the ports affected by this rule. repeated uint32 ports = 2 [(buf.validate.field).repeated = { items: { uint32: {lte: 65532} } }]; - // To the destination cidrs affected by this rule + // To the destination cidrs affected by this rule. repeated string to = 3 [(buf.validate.field).repeated.(metalstack.api.v2.prefixes) = true]; - // From the source cidrs affected by this rule + // From the source cidrs affected by this rule. repeated string from = 4 [(buf.validate.field).repeated.(metalstack.api.v2.prefixes) = true]; - // Comment for this rule + // Comment for this rule. string comment = 5 [(buf.validate.field) = { string: { pattern: "^[a-z_ -]*$" @@ -411,368 +411,360 @@ message FirewallIngressRule { }]; } -// IPProtocol defines tcp|udp +// IPProtocol defines tcp|udp. enum IPProtocol { - // IP_PROTOCOL_UNSPECIFIED is not specified + // IP_PROTOCOL_UNSPECIFIED is not specified. IP_PROTOCOL_UNSPECIFIED = 0; - // IP_PROTOCOL_TCP is tcp + // IP_PROTOCOL_TCP is tcp. IP_PROTOCOL_TCP = 1 [(enum_string_value) = "tcp"]; - // IP_PROTOCOL_UDP is udp + // IP_PROTOCOL_UDP is udp. IP_PROTOCOL_UDP = 2 [(enum_string_value) = "udp"]; } -// MachineNetwork contains details which network should be created on a allocated machine +// MachineNetwork contains details which network should be created on a allocated machine. message MachineNetwork { - // Network the networkID of the allocated machine in this vrf + // Network the networkID of the allocated machine in this vrf. string network = 1; - // Prefixes the prefixes of this network + // Prefixes the prefixes of this network. repeated string prefixes = 2 [(buf.validate.field).repeated.(metalstack.api.v2.prefixes) = true]; - // DestinationPrefixes prefixes that are reachable within this network + // DestinationPrefixes prefixes that are reachable within this network. repeated string destination_prefixes = 3 [(buf.validate.field).repeated.(metalstack.api.v2.prefixes) = true]; - // IPs the ip addresses of the allocated machine in this vrf + // IPs the ip addresses of the allocated machine in this vrf. repeated string ips = 4 [(buf.validate.field).repeated.(metalstack.api.v2.ips) = true]; - // NetworkType the type of network of this vrf + // NetworkType the type of network of this vrf. NetworkType network_type = 5 [(buf.validate.field).enum.defined_only = true]; - // NatType what type of nat if any should be used + // NatType what type of nat if any should be used. NATType nat_type = 6 [(buf.validate.field).enum.defined_only = true]; - // VRF the vrf id + // VRF the vrf id. uint64 vrf = 7; - // ASN the autonomous system number for this network + // ASN the autonomous system number for this network. uint32 asn = 8; - // Project is the project uuid associated with this network + // Project is the project uuid associated with this network. optional string project = 9 [(buf.validate.field).string.uuid = true]; } -// MachineHardware contains hardware details +// MachineHardware contains hardware details. message MachineHardware { - // Memory the total memory of the machine in bytes + // Memory the total memory of the machine in bytes. uint64 memory = 1; - // Disks the list of block devices of this machine + // Disks the list of block devices of this machine. repeated MachineBlockDevice disks = 2; - // CPUs the cpu details + // CPUs the cpu details. repeated MetalCPU cpus = 3; - // GPUs the gpu details + // GPUs the gpu details. repeated MetalGPU gpus = 4; - // Nics the list of network interfaces of this machine + // Nics the list of network interfaces of this machine. repeated MachineNic nics = 5; } -// MetalCPU contains details of a cpu in this machine +// MetalCPU contains details of a cpu in this machine. message MetalCPU { - // Vendor of this cpu + // Vendor of this cpu. string vendor = 1 [(buf.validate.field).string = {max_len: 256}]; - // Model of this cpu + // Model of this cpu. string model = 2 [(buf.validate.field).string = {max_len: 256}]; - // Cores of this cpu + // Cores of this cpu. uint32 cores = 3; - // Threads of this cpu + // Threads of this cpu. uint32 threads = 4; } -// MetalGPU contains details of a gpu in this machine +// MetalGPU contains details of a gpu in this machine. message MetalGPU { - // Vendor of this gpu + // Vendor of this gpu. string vendor = 1 [(buf.validate.field).string = {max_len: 256}]; - // Model of this gpu + // Model of this gpu. string model = 2 [(buf.validate.field).string = {max_len: 256}]; } -// MachineNic contains details of a network interface of this machine +// MachineNic contains details of a network interface of this machine. message MachineNic { - // Mac the macaddress of this interface + // Mac the macaddress of this interface. string mac = 1 [(buf.validate.field).string.(macaddress) = true]; - // Name of this interface + // Name of this interface. string name = 2 [(buf.validate.field).string.(metalstack.api.v2.is_name) = true]; - // Identifier the unique identifier of this network interface + // Identifier the unique identifier of this network interface. string identifier = 3 [(buf.validate.field).string = {max_len: 128}]; - // Vendor of this network card + // Vendor of this network card. string vendor = 4 [(buf.validate.field).string = {max_len: 128}]; - // Model of this network card + // Model of this network card. string model = 5 [(buf.validate.field).string = {max_len: 128}]; - // Speed in bits/second of this network card + // Speed in bits/second of this network card. uint64 speed = 6; - // Neighbors the neighbors visible to this network interface + // Neighbors the neighbors visible to this network interface. repeated MachineNic neighbors = 7; - // Hostname the nic belongs to + // Hostname the nic belongs to. string hostname = 8; } -// MachineBlockDevice contains details of a block device of this machine +// MachineBlockDevice contains details of a block device of this machine. message MachineBlockDevice { - // Name of this block device + // Name of this block device. string name = 1 [(buf.validate.field).string.(metalstack.api.v2.is_name) = true]; - // Size of this block device in bytes + // Size of this block device in bytes. uint64 size = 2; } -// MachineState defines if the machine was locked or reserved from a operator +// MachineState defines if the machine was locked or reserved from a operator. enum MachineState { - // MACHINE_STATE_UNSPECIFIED is not specified + // MACHINE_STATE_UNSPECIFIED is not specified. MACHINE_STATE_UNSPECIFIED = 0 [(enum_string_value) = ""]; - // MACHINE_STATE_TAINTED this machine is tainted, i.e. this machine is not considered during random machine allocation, but still by specifying the uuid + // MACHINE_STATE_TAINTED this machine is tainted, i.e. this machine is not considered during random machine allocation, but still by specifying the uui. MACHINE_STATE_TAINTED = 1 [(enum_string_value) = "tainted"]; - // MACHINE_STATE_LOCKED this machine is locked, i.e. this machine cannot be allocated or deleted + // MACHINE_STATE_LOCKED this machine is locked, i.e. this machine cannot be allocated or delete. MACHINE_STATE_LOCKED = 2 [(enum_string_value) = "locked"]; - // MACHINE_STATE_AVAILABLE this machine is available for all + // MACHINE_STATE_AVAILABLE this machine is available for all. MACHINE_STATE_AVAILABLE = 3 [(enum_string_value) = "available"]; } -// MachineChassisIdentifyLEDState describes the identifier led state +// MachineChassisIdentifyLEDState describes the identifier led state. message MachineChassisIdentifyLEDState { - // Value the state of this chassis identify LED. empty means LED-OFF + // Value the state of this chassis identify LED. empty means LED-OF. string value = 1 [(buf.validate.field).string = {max_len: 128}]; - // Description a description why this chassis identify LED is in the given state + // Description a description why this chassis identify LED is in the given state. string description = 2 [(buf.validate.field).string.(metalstack.api.v2.is_description) = true]; } -// MachineBMCReport is sent from the metal-bmc to update bmc and power related details +// MachineBMCReport is sent from the metal-bmc to update bmc and power related details. message MachineBMCReport { - // Bmc contains bmc details + // Bmc contains bmc details. MachineBMC bmc = 1; - // Bios contains bios details + // Bios contains bios details. MachineBios bios = 2; - // Fru contains field replaceable unit details + // Fru contains field replaceable unit details. MachineFRU fru = 3; - // PowerMetric contains the power statistics of the machine + // PowerMetric contains the power statistics of the machine. MachinePowerMetric power_metric = 4; - // PowerSupplies contains details about all power supplies and their state + // PowerSupplies contains details about all power supplies and their state. repeated MachinePowerSupply power_supplies = 5; - // LedState indicates the state of the indicator LED on this machine + // LedState indicates the state of the indicator LED on this machine. MachineChassisIdentifyLEDState led_state = 6; - // UpdatedAt contains the date when this data was last updated + // UpdatedAt contains the date when this data was last updated. google.protobuf.Timestamp updated_at = 7; } -// MachineBios contains BIOS details of this machine +// MachineBios contains BIOS details of this machine. message MachineBios { - // Version the bios version + // Version the bios version. string version = 1 [(buf.validate.field).string.(metalstack.api.v2.is_description) = true]; - // Vendor the bios vendor + // Vendor the bios vendor. string vendor = 2 [(buf.validate.field).string.(metalstack.api.v2.is_description) = true]; - // Date the bios date as string because every vendor has different ideas how to describe the date + // Date the bios date as string because every vendor has different ideas how to describe the date. string date = 3 [(buf.validate.field).string.(metalstack.api.v2.is_description) = true]; } -// MachineBMC describe details of the ipmi or out of band device +// MachineBMC describe details of the ipmi or out of band device. message MachineBMC { - // Address of this ipmi device from outside in the form of : + // Address of this ipmi device from outside in the form of :. string address = 1 [(buf.validate.field).string.host_and_port = true]; - // Mac address of the network interface of this ipmi device + // Mac address of the network interface of this ipmi device. string mac = 2 [(buf.validate.field).string.(macaddress) = true]; - // User of this ipmi device + // User of this ipmi device. string user = 3 [(buf.validate.field).string.(metalstack.api.v2.is_description) = true]; - // Password of this ipmi device + // Password of this ipmi device. string password = 4 [(buf.validate.field).string.(metalstack.api.v2.is_description) = true]; - // Interface of this ipmi device + // Interface of this ipmi device. string interface = 5 [(buf.validate.field).string.(metalstack.api.v2.is_description) = true]; - // Version of this bmc device + // Version of this bmc device. string version = 6 [(buf.validate.field).string.(metalstack.api.v2.is_description) = true]; - // PowerState of this machine + // PowerState of this machine. string power_state = 7 [(buf.validate.field).string.(metalstack.api.v2.is_description) = true]; } -// MachineFRU describes details to the machine which are required in case of a necessary replacement +// MachineFRU describes details to the machine which are required in case of a necessary replacement. message MachineFRU { - // ChassisPartNumber is the part number of the machine chassis + // ChassisPartNumber is the part number of the machine chassis. optional string chassis_part_number = 1 [(buf.validate.field).string.(metalstack.api.v2.is_description) = true]; - // ChassisPartSerial is the serial number of the machine chassis + // ChassisPartSerial is the serial number of the machine chassis. optional string chassis_part_serial = 2 [(buf.validate.field).string.(metalstack.api.v2.is_description) = true]; - // BoardMfg is the short description of the mainboard + // BoardMfg is the short description of the mainboard. optional string board_mfg = 3 [(buf.validate.field).string.(metalstack.api.v2.is_description) = true]; - // BoardMfgSerial is the serial number of the mainboard + // BoardMfgSerial is the serial number of the mainboard. optional string board_mfg_serial = 4 [(buf.validate.field).string.(metalstack.api.v2.is_description) = true]; - // BoardPartNumber is the part number of the mainboard + // BoardPartNumber is the part number of the mainboard. optional string board_part_number = 5 [(buf.validate.field).string.(metalstack.api.v2.is_description) = true]; - // ProductManufacturer is the manufacturer of the machine + // ProductManufacturer is the manufacturer of the machine. optional string product_manufacturer = 6 [(buf.validate.field).string.(metalstack.api.v2.is_description) = true]; - // ProductPartNumber is the part number of the machine + // ProductPartNumber is the part number of the machine. optional string product_part_number = 7 [(buf.validate.field).string.(metalstack.api.v2.is_description) = true]; - // ProductSerial is the serial number of the machine + // ProductSerial is the serial number of the machine. optional string product_serial = 8 [(buf.validate.field).string.(metalstack.api.v2.is_description) = true]; } -// MachinePowerMetric contains metrics of the power consumption of a machine +// MachinePowerMetric contains metrics of the power consumption of a machine. message MachinePowerMetric { - // AverageConsumedWatts shall represent the - // average power level that occurred averaged over the last IntervalInMin - // minutes. + // AverageConsumedWatts shall represent the average power level that occurred averaged over the last IntervalInMin minutes. float average_consumed_watts = 1; - // IntervalInMin shall represent the time - // interval (or window), in minutes, in which the PowerMetrics properties - // are measured over. + // 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. float interval_in_min = 2; - // MaxConsumedWatts shall represent the - // maximum power level in watts that occurred within the last - // IntervalInMin minutes. + // MaxConsumedWatts shall represent the maximum power level in watts that occurred within the last IntervalInMin minutes. float max_consumed_watts = 3; - // MinConsumedWatts shall represent the - // minimum power level in watts that occurred within the last - // IntervalInMin minutes. + // MinConsumedWatts shall represent the minimum power level in watts that occurred within the last IntervalInMin minutes. float min_consumed_watts = 4; } -// MachinePowerSupply contains details of the power supply of a machine +// MachinePowerSupply contains details of the power supply of a machine. message MachinePowerSupply { - // Health of the powersupply + // Health of the powersupply. string health = 1; - // State of the powersupply + // State of the powersupply. string state = 2; } -// MachineRecentProvisioningEvents the recent provisioning events for this machine +// MachineRecentProvisioningEvents the recent provisioning events for this machine. message MachineRecentProvisioningEvents { - // Events the log of recent machine provisioning events + // Events the log of recent machine provisioning events. repeated MachineProvisioningEvent events = 1; - // LastEventTime the time where the last event was received + // LastEventTime the time where the last event was received. google.protobuf.Timestamp last_event_time = 2; - // LastErrorEvent the last erroneous event received + // LastErrorEvent the last erroneous event received. MachineProvisioningEvent last_error_event = 3; - // State can be either CrashLoop, FailedReclaim or something else + // State can be either CrashLoop, FailedReclaim or something else. MachineProvisioningEventState state = 4 [(buf.validate.field).enum.defined_only = true]; } -// MachineProvisioningEventState possible event states +// MachineProvisioningEventState possible event states. enum MachineProvisioningEventState { - // MACHINE_PROVISIONING_EVENT_STATE_UNSPECIFIED is not specified + // MACHINE_PROVISIONING_EVENT_STATE_UNSPECIFIED is not specified. MACHINE_PROVISIONING_EVENT_STATE_UNSPECIFIED = 0 [(enum_string_value) = ""]; - // MACHINE_PROVISIONING_EVENT_STATE_CRASHLOOP machine is in crash loop + // MACHINE_PROVISIONING_EVENT_STATE_CRASHLOOP machine is in crash loop. MACHINE_PROVISIONING_EVENT_STATE_CRASHLOOP = 1 [(enum_string_value) = "crashloop"]; - // MACHINE_PROVISIONING_EVENT_STATE_FAILED_RECLAIM machine is in failed reclaim + // MACHINE_PROVISIONING_EVENT_STATE_FAILED_RECLAIM machine is in failed reclaim. MACHINE_PROVISIONING_EVENT_STATE_FAILED_RECLAIM = 2 [(enum_string_value) = "failed-reclaim"]; } -// MachineProvisioningEventType defines in which phase the machine actually is +// MachineProvisioningEventType defines in which phase the machine actually is. enum MachineProvisioningEventType { - // MACHINE_PROVISIONING_EVENT_TYPE_UNSPECIFIED is not specified + // MACHINE_PROVISIONING_EVENT_TYPE_UNSPECIFIED is not specified. MACHINE_PROVISIONING_EVENT_TYPE_UNSPECIFIED = 0; - // MACHINE_PROVISIONING_EVENT_TYPE_ALIVE machine is alive + // MACHINE_PROVISIONING_EVENT_TYPE_ALIVE machine is alive. MACHINE_PROVISIONING_EVENT_TYPE_ALIVE = 1 [(enum_string_value) = "Alive"]; - // MACHINE_PROVISIONING_EVENT_TYPE_CRASHED machine crashed + // MACHINE_PROVISIONING_EVENT_TYPE_CRASHED machine crashed. MACHINE_PROVISIONING_EVENT_TYPE_CRASHED = 2 [(enum_string_value) = "Crashed"]; - // MACHINE_PROVISIONING_EVENT_TYPE_PXE_BOOTING machine is pxe booting into metal-hammer + // MACHINE_PROVISIONING_EVENT_TYPE_PXE_BOOTING machine is pxe booting into metal-hammer. MACHINE_PROVISIONING_EVENT_TYPE_PXE_BOOTING = 3 [(enum_string_value) = "PXE Booting"]; - // MACHINE_PROVISIONING_EVENT_TYPE_PLANNED_REBOOT machine got a reboot instruction + // MACHINE_PROVISIONING_EVENT_TYPE_PLANNED_REBOOT machine got a reboot instruction. MACHINE_PROVISIONING_EVENT_TYPE_PLANNED_REBOOT = 4 [(enum_string_value) = "Planned Reboot"]; - // MACHINE_PROVISIONING_EVENT_TYPE_PREPARING metal-hammer is preparing the machine + // MACHINE_PROVISIONING_EVENT_TYPE_PREPARING metal-hammer is preparing the machine. MACHINE_PROVISIONING_EVENT_TYPE_PREPARING = 5 [(enum_string_value) = "Preparing"]; - // MACHINE_PROVISIONING_EVENT_TYPE_REGISTERING metal-hammer registers machine at the apiserver + // MACHINE_PROVISIONING_EVENT_TYPE_REGISTERING metal-hammer registers machine at the apiserver. MACHINE_PROVISIONING_EVENT_TYPE_REGISTERING = 6 [(enum_string_value) = "Registering"]; - // MACHINE_PROVISIONING_EVENT_TYPE_WAITING machine is waiting for installation + // MACHINE_PROVISIONING_EVENT_TYPE_WAITING machine is waiting for installation. MACHINE_PROVISIONING_EVENT_TYPE_WAITING = 7 [(enum_string_value) = "Waiting"]; - // MACHINE_PROVISIONING_EVENT_TYPE_INSTALLING metal-hammer is installing the desired os + // MACHINE_PROVISIONING_EVENT_TYPE_INSTALLING metal-hammer is installing the desired os. MACHINE_PROVISIONING_EVENT_TYPE_INSTALLING = 8 [(enum_string_value) = "Installing"]; - // MACHINE_PROVISIONING_EVENT_TYPE_BOOTING_NEW_KERNEL metal-hammer completed installation and boots into target os + // MACHINE_PROVISIONING_EVENT_TYPE_BOOTING_NEW_KERNEL metal-hammer completed installation and boots into target os. MACHINE_PROVISIONING_EVENT_TYPE_BOOTING_NEW_KERNEL = 9 [(enum_string_value) = "Booting New Kernel"]; - // MACHINE_PROVISIONING_EVENT_TYPE_PHONED_HOME machine is installed and phones home + // MACHINE_PROVISIONING_EVENT_TYPE_PHONED_HOME machine is installed and phones home. MACHINE_PROVISIONING_EVENT_TYPE_PHONED_HOME = 10 [(enum_string_value) = "Phoned Home"]; - // MACHINE_PROVISIONING_EVENT_TYPE_MACHINE_RECLAIM machine is not allocated, but phones home + // MACHINE_PROVISIONING_EVENT_TYPE_MACHINE_RECLAIM machine is not allocated, but phones home. MACHINE_PROVISIONING_EVENT_TYPE_MACHINE_RECLAIM = 11 [(enum_string_value) = "Machine Reclaim"]; } -// MachineProvisioningEvent is an event that has occurred during provisioning +// MachineProvisioningEvent is an event that has occurred during provisioning. message MachineProvisioningEvent { - // Time the time that this event was received + // Time the time that this event was received. google.protobuf.Timestamp time = 1; - // Event the event emitted by the machine + // Event the event emitted by the machine. MachineProvisioningEventType event = 2 [(buf.validate.field).enum.defined_only = true]; - // Message an additional message to add to the event + // Message an additional message to add to the event. string message = 3; } -// MachineVPN contains configuration data for the VPN connection +// MachineVPN contains configuration data for the VPN connection. message MachineVPN { - // Address of VPN control plane + // Address of VPN control plane. string control_plane_address = 1; - // Auth key used to connect to VPN + // Auth key used to connect to VPN. string auth_key = 2; - // Connected indicate if this machine is connected to the VPN + // Connected indicate if this machine is connected to the VPN. bool connected = 3; - // IPs of the machine connected to the vpn + // IPs of the machine connected to the vpn. repeated string ips = 4 [(buf.validate.field).repeated.(metalstack.api.v2.ips) = true]; } -// MachineLiveliness specifies the liveliness of a machine +// MachineLiveliness specifies the liveliness of a machine. enum MachineLiveliness { - // MACHINE_LIVELINESS_UNSPECIFIED is not defined + // MACHINE_LIVELINESS_UNSPECIFIED is not defined. MACHINE_LIVELINESS_UNSPECIFIED = 0 [(enum_string_value) = ""]; - // MACHINE_LIVELINESS_ALIVE liveliness is alive + // MACHINE_LIVELINESS_ALIVE liveliness is alive. MACHINE_LIVELINESS_ALIVE = 1 [(enum_string_value) = "alive"]; - // MACHINE_LIVELINESS_DEAD liveliness is dead + // MACHINE_LIVELINESS_DEAD liveliness is dead. MACHINE_LIVELINESS_DEAD = 2 [(enum_string_value) = "dead"]; - // MACHINE_LIVELINESS_UNKNOWN liveliness is unknown + // MACHINE_LIVELINESS_UNKNOWN liveliness is unknown. MACHINE_LIVELINESS_UNKNOWN = 3 [(enum_string_value) = "unknown"]; } -// MachineAllocationType defines if this is a machine or a firewall +// MachineAllocationType defines if this is a machine or a firewall. enum MachineAllocationType { - // MACHINE_ALLOCATION_TYPE_UNSPECIFIED is unspecified + // MACHINE_ALLOCATION_TYPE_UNSPECIFIED is unspecified. MACHINE_ALLOCATION_TYPE_UNSPECIFIED = 0 [(enum_string_value) = ""]; - // MACHINE_ALLOCATION_TYPE_MACHINE is a machine + // MACHINE_ALLOCATION_TYPE_MACHINE is a machine. MACHINE_ALLOCATION_TYPE_MACHINE = 1 [(enum_string_value) = "machine"]; - // MACHINE_ALLOCATION_TYPE_FIREWALL is a firewall + // MACHINE_ALLOCATION_TYPE_FIREWALL is a firewall. MACHINE_ALLOCATION_TYPE_FIREWALL = 2 [(enum_string_value) = "firewall"]; } -// MachineBMCCommand defines commands send to the BMC of the machine +// MachineBMCCommand defines commands send to the BMC of the machine. enum MachineBMCCommand { - // MACHINE_BMC_COMMAND_UNSPECIFIED is not defined + // MACHINE_BMC_COMMAND_UNSPECIFIED is not defined. MACHINE_BMC_COMMAND_UNSPECIFIED = 0; - // MACHINE_BMC_COMMAND_ON Power on the machine + // MACHINE_BMC_COMMAND_ON Power on the machine. MACHINE_BMC_COMMAND_ON = 1 [(enum_string_value) = "on"]; - // MACHINE_BMC_COMMAND_OFF Power off the machine + // MACHINE_BMC_COMMAND_OFF Power off the machine. MACHINE_BMC_COMMAND_OFF = 2 [(enum_string_value) = "off"]; - // MACHINE_BMC_COMMAND_RESET Power reset the machine + // MACHINE_BMC_COMMAND_RESET Power reset the machine. MACHINE_BMC_COMMAND_RESET = 3 [(enum_string_value) = "reset"]; - // MACHINE_BMC_COMMAND_CYCLE Power cycle the machine + // MACHINE_BMC_COMMAND_CYCLE Power cycle the machine. MACHINE_BMC_COMMAND_CYCLE = 4 [(enum_string_value) = "cycle"]; - // MACHINE_BMC_COMMAND_BOOT_TO_BIOS boot the machine into bios + // MACHINE_BMC_COMMAND_BOOT_TO_BIOS boot the machine into bios. MACHINE_BMC_COMMAND_BOOT_TO_BIOS = 5 [(enum_string_value) = "boot-to-bios"]; - // MACHINE_BMC_COMMAND_BOOT_FROM_DISK boot the machine from hard disk + // MACHINE_BMC_COMMAND_BOOT_FROM_DISK boot the machine from hard disk. MACHINE_BMC_COMMAND_BOOT_FROM_DISK = 6 [(enum_string_value) = "boot-from-disk"]; - // MACHINE_BMC_COMMAND_BOOT_FROM_PXE boot the machine from pxe + // MACHINE_BMC_COMMAND_BOOT_FROM_PXE boot the machine from pxe. MACHINE_BMC_COMMAND_BOOT_FROM_PXE = 7 [(enum_string_value) = "boot-from-pxe"]; - // MACHINE_BMC_COMMAND_IDENTIFY_LED_ON set identify led of the machine chassis to on + // MACHINE_BMC_COMMAND_IDENTIFY_LED_ON set identify led of the machine chassis to on. MACHINE_BMC_COMMAND_IDENTIFY_LED_ON = 8 [(enum_string_value) = "identify-led-on"]; - // MACHINE_BMC_COMMAND_IDENTIFY_LED_OFF set identify led of the machine chassis to off + // MACHINE_BMC_COMMAND_IDENTIFY_LED_OFF set identify led of the machine chassis to off. MACHINE_BMC_COMMAND_IDENTIFY_LED_OFF = 9 [(enum_string_value) = "identify-led-off"]; - // MACHINE_BMC_COMMAND_MACHINE_DELETED should be called if the machine was deleted to power cycle and boot into pxe + // MACHINE_BMC_COMMAND_MACHINE_DELETED should be called if the machine was deleted to power cycle and boot into pxe. MACHINE_BMC_COMMAND_MACHINE_DELETED = 10 [(enum_string_value) = "machine-deleted"]; - // MACHINE_BMC_COMMAND_MACHINE_CREATED should be called if the machine was created to set the boot order to boot from disk + // MACHINE_BMC_COMMAND_MACHINE_CREATED should be called if the machine was created to set the boot order to boot from disk. MACHINE_BMC_COMMAND_MACHINE_CREATED = 11 [(enum_string_value) = "machine-created"]; } // MachineQuery contains fields which can be specified to list specific machines. message MachineQuery { - // UUID of the machine to get + // UUID of the machine to get. optional string uuid = 1 [(buf.validate.field).string.uuid = true]; - // Name of the machine to get + // Name of the machine to get. optional string name = 2 [(buf.validate.field).string.(metalstack.api.v2.is_name) = true]; - // Partition of the machine to get + // Partition of the machine to get. optional string partition = 3 [(buf.validate.field).string.(metalstack.api.v2.is_partition) = true]; - // Size of the machine to get + // Size of the machine to get. optional string size = 4 [(buf.validate.field).string.(metalstack.api.v2.is_name) = true]; - // Rack of the machine to get + // Rack of the machine to get. optional string rack = 5 [(buf.validate.field).string.(metalstack.api.v2.is_name) = true]; - // Room of the machine to get + // Room of the machine to get. optional string room = 6 [(buf.validate.field).string.(metalstack.api.v2.is_name) = true]; - // Labels for which this machine should get filtered + // Labels for which this machine should get filtered. optional Labels labels = 7; - // Allocation specific machine queries + // Allocation specific machine queries. optional MachineAllocationQuery allocation = 8; - // Network specific machine queries + // Network specific machine queries. optional MachineNetworkQuery network = 9; - // Nic specific machine queries + // Nic specific machine queries. optional MachineNicQuery nic = 10; - // Disk specific machine queries + // Disk specific machine queries. optional MachineDiskQuery disk = 11; - // Bmc specific machine queries + // Bmc specific machine queries. optional MachineBMCQuery bmc = 12; - // Fru specific machine queries + // Fru specific machine queries. optional MachineFRUQuery fru = 13; - // Hardware specific machine query + // Hardware specific machine query. optional MachineHardwareQuery hardware = 14; - // State this machine has + // State this machine has. optional MachineState state = 15; // Waiting if set to true, only waiting machines are returned. // Only useful for admins. @@ -785,47 +777,47 @@ message MachineQuery { optional bool not_allocated = 18; } -// MachineAllocationQuery allocation specific query parameters +// MachineAllocationQuery allocation specific query parameters. message MachineAllocationQuery { - // UUID of the allocation of the machine to get + // UUID of the allocation of the machine to get. optional string uuid = 1 [(buf.validate.field).string.uuid = true]; - // Name of the machine to get + // Name of the machine to get. optional string name = 2 [(buf.validate.field).string.(metalstack.api.v2.is_name) = true]; - // Project of the machine to get + // Project of the machine to get. optional string project = 3 [(buf.validate.field).string.uuid = true]; - // Image of the machine to get + // Image of the machine to get. optional string image = 4 [(buf.validate.field).string.(metalstack.api.v2.is_name) = true]; - // FilesystemLayout of the machine to get + // FilesystemLayout of the machine to get. optional string filesystem_layout = 5 [(buf.validate.field).string.(metalstack.api.v2.is_name) = true]; - // Hostname of the machine to get + // Hostname of the machine to get. optional string hostname = 6 [(buf.validate.field).string.hostname = true]; - // AllocationType of this machine + // AllocationType of this machine. optional MachineAllocationType allocation_type = 7 [(buf.validate.field).enum.defined_only = true]; - // Labels for which this machine allocation should get filtered + // Labels for which this machine allocation should get filtered. optional Labels labels = 8; - // VPN query if this machine has a vpn configuration + // VPN query if this machine has a vpn configuration. optional MachineVPN vpn = 9; } -// MachineNetworkQuery network specific machine queries +// MachineNetworkQuery network specific machine queries. message MachineNetworkQuery { - // Networks this machine is connected to + // Networks this machine is connected to. repeated string networks = 1; - // Prefixes this machine is connected to + // Prefixes this machine is connected to. repeated string prefixes = 2 [(buf.validate.field).repeated.(metalstack.api.v2.prefixes) = true]; - // DestinationPrefixes this machine is connected to + // DestinationPrefixes this machine is connected to. repeated string destination_prefixes = 3 [(buf.validate.field).repeated.(metalstack.api.v2.prefixes) = true]; - // IPs this machine has + // IPs this machine has. repeated string ips = 4 [(buf.validate.field).repeated.(metalstack.api.v2.ips) = true]; - // VRFs this machine is connected to + // VRFs this machine is connected to. repeated uint64 vrfs = 5; - // ASNs this machine is connected to + // ASNs this machine is connected to. repeated uint32 asns = 6; } -// MachineNicQuery nic specific machine queries +// MachineNicQuery nic specific machine queries. message MachineNicQuery { - // Macs this machine nic has + // Macs this machine nic has. repeated string macs = 1 [(buf.validate.field).repeated = { max_items: 100 unique: true @@ -833,7 +825,7 @@ message MachineNicQuery { string: {[metalstack.api.v2.macaddress]: true} } }]; - // Names this machine nic has + // Names this machine nic has. repeated string names = 2 [(buf.validate.field).repeated = { max_items: 100 unique: true @@ -841,7 +833,7 @@ message MachineNicQuery { string: {max_len: 128} } }]; - // NeighborMacs this machine nic has + // NeighborMacs this machine nic has. repeated string neighbor_macs = 3 [(buf.validate.field).repeated = { max_items: 100 unique: true @@ -849,7 +841,7 @@ message MachineNicQuery { string: {[metalstack.api.v2.macaddress]: true} } }]; - // NeighborNames this machine nic has + // NeighborNames this machine nic has. repeated string neighbor_names = 4 [(buf.validate.field).repeated = { max_items: 100 unique: true @@ -859,145 +851,145 @@ message MachineNicQuery { }]; } -// MachineDiskQuery disk specific machine queries +// MachineDiskQuery disk specific machine queries. message MachineDiskQuery { - // Names of disks in this machine + // Names of disks in this machine. repeated string names = 1 [(buf.validate.field).repeated = { max_items: 100 items: { string: {max_len: 128} } }]; - // Sizes of disks in this machine + // Sizes of disks in this machine. repeated uint64 sizes = 2 [(buf.validate.field).repeated = {max_items: 100}]; } -// MachineBMCQuery machine ipmi or bmc specific machine queries +// MachineBMCQuery machine ipmi or bmc specific machine queries. message MachineBMCQuery { - // Address of the ipmi system of this machine + // Address of the ipmi system of this machine. optional string address = 1 [(buf.validate.field).string.ip = true]; - // Mac of the ipmi system of this machine + // Mac of the ipmi system of this machine. optional string mac = 2 [(buf.validate.field).string.(macaddress) = true]; - // User of the ipmi system of this machine + // User of the ipmi system of this machine. optional string user = 3 [(buf.validate.field).string = {max_len: 128}]; - // Interface of the ipmi system of this machine + // Interface of the ipmi system of this machine. optional string interface = 4 [(buf.validate.field).string = {max_len: 128}]; } -// MachineFRUQuery machine fru specific machine queries +// MachineFRUQuery machine fru specific machine queries. message MachineFRUQuery { - // ChassisPartNumber of this machine + // ChassisPartNumber of this machine. optional string chassis_part_number = 1 [(buf.validate.field).string = {max_len: 128}]; - // ChassisPartSerial of this machine + // ChassisPartSerial of this machine. optional string chassis_part_serial = 2 [(buf.validate.field).string = {max_len: 128}]; - // BoardMFG of this machine + // BoardMFG of this machine. optional string board_mfg = 3 [(buf.validate.field).string = {max_len: 128}]; - // BoardSerial of this machine + // BoardSerial of this machine. optional string board_serial = 4 [(buf.validate.field).string = {max_len: 128}]; - // BoardPartNumber of this machine + // BoardPartNumber of this machine. optional string board_part_number = 5 [(buf.validate.field).string = {max_len: 128}]; - // ProductManufacturer of this machine + // ProductManufacturer of this machine. optional string product_manufacturer = 6 [(buf.validate.field).string = {max_len: 128}]; - // ProductPartNumber of this machine + // ProductPartNumber of this machine. optional string product_part_number = 7 [(buf.validate.field).string = {max_len: 128}]; - // ProductSerial of this machine + // ProductSerial of this machine. optional string product_serial = 8 [(buf.validate.field).string = {max_len: 128}]; } -// MachineHardwareQuery machine hardware specific machine queries +// MachineHardwareQuery machine hardware specific machine queries. message MachineHardwareQuery { - // Memory the total memory of the machine in bytes + // Memory the total memory of the machine in bytes. optional uint64 memory = 1; - // CPUCores the number of cpu cores + // CPUCores the number of cpu cores. optional uint32 cpu_cores = 2; } -// Issues related +// Issues related. -// MachineIssuesQuery defines which machine issues should be listed +// MachineIssuesQuery defines which machine issues should be listed. message MachineIssuesQuery { - // MachineQuery to select specific machines + // MachineQuery to select specific machines. metalstack.api.v2.MachineQuery machine_query = 1; - // Only includes the specified machine issue types + // Only includes the specified machine issue types. repeated MachineIssueType only = 2 [(buf.validate.field).repeated = { items: { enum: {defined_only: true} } }]; - // Omits the specified machine issues + // Omits the specified machine issues. repeated MachineIssueType omit = 3 [(buf.validate.field).repeated = { items: { enum: {defined_only: true} } }]; - // Severity filters issue for given severity + // Severity filters issue for given severity. optional MachineIssueSeverity severity = 4 [(buf.validate.field).enum.defined_only = true]; - // LastErrorThreshold defines the last error threshold + // LastErrorThreshold defines the last error threshold. google.protobuf.Duration last_error_threshold = 5; } -// MachineIssues is a list of issues for a machine +// MachineIssues is a list of issues for a machine. message MachineIssues { - // UUID of the machine for which the issues are listed + // UUID of the machine for which the issues are listed. string uuid = 1 [(buf.validate.field).string.uuid = true]; - // Issues of this machine + // Issues of this machine. repeated MachineIssue issues = 2; } -// MachineIssue contains details of one issue +// MachineIssue contains details of one issue. message MachineIssue { - // Type specifies the issue type (id) + // Type specifies the issue type (id). MachineIssueType type = 1 [(buf.validate.field).enum.defined_only = true]; - // Severity specifies the severity of an issue + // Severity specifies the severity of an issue. MachineIssueSeverity severity = 2 [(buf.validate.field).enum.defined_only = true]; - // Description provides an issue description + // Description provides an issue description. string description = 3 [(buf.validate.field).string.(metalstack.api.v2.is_description) = true]; - // RefURL provides a link to a more detailed issue description in the metal-stack documentation + // RefURL provides a link to a more detailed issue description in the metal-stack documentation. string reference_url = 4 [(buf.validate.field).string.(metalstack.api.v2.is_uri) = true]; - // Details may contain additional details on an evaluated issue + // Details may contain additional details on an evaluated issue. string details = 5; } -// MachineIssueType defines which type of issue it is +// MachineIssueType defines which type of issue it is. enum MachineIssueType { - // MACHINE_ISSUE_TYPE_UNSPECIFIED type is not specified + // MACHINE_ISSUE_TYPE_UNSPECIFIED type is not specified. MACHINE_ISSUE_TYPE_UNSPECIFIED = 0; - // MACHINE_ISSUE_TYPE_ASN_UNIQUENESS machine asn is not unique + // MACHINE_ISSUE_TYPE_ASN_UNIQUENESS machine asn is not unique. MACHINE_ISSUE_TYPE_ASN_UNIQUENESS = 1 [(enum_string_value) = "asn-not-unique"]; - // MACHINE_ISSUE_TYPE_BMC_INFO_OUTDATED machine bmc info out of date + // MACHINE_ISSUE_TYPE_BMC_INFO_OUTDATED machine bmc info out of date. MACHINE_ISSUE_TYPE_BMC_INFO_OUTDATED = 2 [(enum_string_value) = "bmc-info-outdated"]; - // MACHINE_ISSUE_TYPE_BMC_NON_DISTINCT_IP machine bmc ip is not distinct + // MACHINE_ISSUE_TYPE_BMC_NON_DISTINCT_IP machine bmc ip is not distinct. MACHINE_ISSUE_TYPE_BMC_NON_DISTINCT_IP = 3 [(enum_string_value) = "bmc-no-distinct-ip"]; - // MACHINE_ISSUE_TYPE_BMC_WITHOUT_IP machine bmc without ip + // MACHINE_ISSUE_TYPE_BMC_WITHOUT_IP machine bmc without ip. MACHINE_ISSUE_TYPE_BMC_WITHOUT_IP = 4 [(enum_string_value) = "bmc-without-ip"]; - // MACHINE_ISSUE_TYPE_BMC_WITHOUT_MAC machine bmc without mac address + // MACHINE_ISSUE_TYPE_BMC_WITHOUT_MAC machine bmc without mac address. MACHINE_ISSUE_TYPE_BMC_WITHOUT_MAC = 5 [(enum_string_value) = "bmc-without-mac"]; - // MACHINE_ISSUE_TYPE_CRASH_LOOP machine is in crashloop + // MACHINE_ISSUE_TYPE_CRASH_LOOP machine is in crashloop. MACHINE_ISSUE_TYPE_CRASH_LOOP = 6 [(enum_string_value) = "crashloop"]; - // MACHINE_ISSUE_TYPE_FAILED_MACHINE_RECLAIM machine was not freed after delete + // MACHINE_ISSUE_TYPE_FAILED_MACHINE_RECLAIM machine was not freed after delete. MACHINE_ISSUE_TYPE_FAILED_MACHINE_RECLAIM = 7 [(enum_string_value) = "failed-machine-reclaim"]; - // MACHINE_ISSUE_TYPE_LAST_EVENT_ERROR machine last event error + // MACHINE_ISSUE_TYPE_LAST_EVENT_ERROR machine last event error. MACHINE_ISSUE_TYPE_LAST_EVENT_ERROR = 8 [(enum_string_value) = "last-event-error"]; - // MACHINE_ISSUE_TYPE_LIVELINESS_DEAD machine is dead + // MACHINE_ISSUE_TYPE_LIVELINESS_DEAD machine is dead. MACHINE_ISSUE_TYPE_LIVELINESS_DEAD = 9 [(enum_string_value) = "liveliness-dead"]; - // MACHINE_ISSUE_TYPE_LIVELINESS_NOT_AVAILABLE machine liveliness is not available + // MACHINE_ISSUE_TYPE_LIVELINESS_NOT_AVAILABLE machine liveliness is not available. MACHINE_ISSUE_TYPE_LIVELINESS_NOT_AVAILABLE = 10 [(enum_string_value) = "liveliness-not-available"]; - // MACHINE_ISSUE_TYPE_LIVELINESS_UNKNOWN machine liveliness is unknown + // MACHINE_ISSUE_TYPE_LIVELINESS_UNKNOWN machine liveliness is unknown. MACHINE_ISSUE_TYPE_LIVELINESS_UNKNOWN = 11 [(enum_string_value) = "liveliness-unknown"]; - // MACHINE_ISSUE_TYPE_NO_EVENT_CONTAINER machine does not have a event container + // MACHINE_ISSUE_TYPE_NO_EVENT_CONTAINER machine does not have a event container. MACHINE_ISSUE_TYPE_NO_EVENT_CONTAINER = 12 [(enum_string_value) = "no-event-container"]; - // MACHINE_ISSUE_TYPE_NO_PARTITION no partition set + // MACHINE_ISSUE_TYPE_NO_PARTITION no partition set. MACHINE_ISSUE_TYPE_NO_PARTITION = 13 [(enum_string_value) = "no-partition"]; } -// MachineIssueSeverity defines the severity of an issue +// MachineIssueSeverity defines the severity of an issue. enum MachineIssueSeverity { - // MACHINE_ISSUE_SEVERITY_UNSPECIFIED severity is not specified + // MACHINE_ISSUE_SEVERITY_UNSPECIFIED severity is not specified. MACHINE_ISSUE_SEVERITY_UNSPECIFIED = 0; - // MACHINE_ISSUE_SEVERITY_MINOR machine issues is of severity minor + // MACHINE_ISSUE_SEVERITY_MINOR machine issues is of severity minor. MACHINE_ISSUE_SEVERITY_MINOR = 1 [(enum_string_value) = "minor"]; - // MACHINE_ISSUE_SEVERITY_MAJOR machine issues is of severity major + // MACHINE_ISSUE_SEVERITY_MAJOR machine issues is of severity major. MACHINE_ISSUE_SEVERITY_MAJOR = 2 [(enum_string_value) = "major"]; - // MACHINE_ISSUE_SEVERITY_CRITICAL machine issues is of severity critical + // MACHINE_ISSUE_SEVERITY_CRITICAL machine issues is of severity critical. MACHINE_ISSUE_SEVERITY_CRITICAL = 3 [(enum_string_value) = "critical"]; } diff --git a/proto/metalstack/api/v2/method.proto b/proto/metalstack/api/v2/method.proto index 5152f3fd..6d031fc9 100644 --- a/proto/metalstack/api/v2/method.proto +++ b/proto/metalstack/api/v2/method.proto @@ -26,7 +26,7 @@ message MethodServiceListRequest {} // MethodServiceListResponse is the response payload for listing all public methods. message MethodServiceListResponse { - // Methods is a list of methods public callable + // Methods is a list of methods public callable. repeated string methods = 1; } @@ -35,16 +35,16 @@ message MethodServiceTokenScopedListRequest {} // MethodServiceTokenScopedListResponse is the response payload which contains all methods which are callable with the given token. message MethodServiceTokenScopedListResponse { - // Permissions contains a list of methods which can be called + // Permissions contains a list of methods which can be called. repeated MethodPermission permissions = 1; - // ProjectRoles associates a project ID with the corresponding role of the token owner + // ProjectRoles associates a project ID with the corresponding role of the token owner. map project_roles = 2; - // TenantRoles associates a tenant ID with the corresponding role of the token owner + // TenantRoles associates a tenant ID with the corresponding role of the token owner. map tenant_roles = 3; - // AdminRole defines the admin role of the token owner + // AdminRole defines the admin role of the token owner. optional AdminRole admin_role = 4 [(buf.validate.field).enum.defined_only = true]; - // InfraRole defines the infrastructure role of the token owner + // InfraRole defines the infrastructure role of the token owner. optional InfraRole infra_role = 5 [(buf.validate.field).enum.defined_only = true]; - // MachineRoles defines the machine roles of the token owner + // MachineRoles defines the machine roles of the token owner. map machine_roles = 6; } diff --git a/proto/metalstack/api/v2/network.proto b/proto/metalstack/api/v2/network.proto index a0be3190..80edf6b8 100644 --- a/proto/metalstack/api/v2/network.proto +++ b/proto/metalstack/api/v2/network.proto @@ -49,255 +49,255 @@ service NetworkService { } } -// NetworkServiceGetRequest +// NetworkServiceGetRequest. message NetworkServiceGetRequest { - // ID of the network to get + // ID of the network to get. string id = 1 [(buf.validate.field).string.(metalstack.api.v2.is_name) = true]; - // Project of the network + // Project of the network. string project = 2 [ (buf.validate.field).ignore = IGNORE_IF_ZERO_VALUE, (buf.validate.field).string.uuid = true ]; } -// NetworkServiceGetResponse +// NetworkServiceGetResponse. message NetworkServiceGetResponse { - // Network which was requested to get + // Network which was requested to get. Network network = 1; } -// NetworkServiceCreateRequest +// NetworkServiceCreateRequest. message NetworkServiceCreateRequest { - // Project where this network belongs to + // Project where this network belongs to. string project = 1 [(buf.validate.field).string.uuid = true]; - // Name of this network + // Name of this network. optional string name = 2 [(buf.validate.field).string.(metalstack.api.v2.is_name) = true]; - // Description of this network + // Description of this network. optional string description = 3 [(buf.validate.field).string.(metalstack.api.v2.is_description) = true]; - // Partition where this network will be created + // Partition where this network will be created. optional string partition = 4 [(buf.validate.field).string.(metalstack.api.v2.is_partition) = true]; - // Labels on this network + // Labels on this network. Labels labels = 5; - // Parent Network points to the id of the parent network if any + // Parent Network points to the id of the parent network if any. optional string parent_network = 6 [(buf.validate.field).string.(metalstack.api.v2.is_name) = true]; - // Length per addressfamily + // Length per addressfamily. optional ChildPrefixLength length = 7; - // AddressFamily to create, defaults to the same as the parent + // AddressFamily to create, defaults to the same as the parent. optional NetworkAddressFamily address_family = 8 [(buf.validate.field).enum.defined_only = true]; } -// NetworkServiceCreateResponse +// NetworkServiceCreateResponse. message NetworkServiceCreateResponse { - // Network is the created network + // Network is the created network. Network network = 1; } -// NetworkServiceUpdateRequest +// NetworkServiceUpdateRequest. message NetworkServiceUpdateRequest { - // ID of the network to get + // ID of the network to get. string id = 1 [(buf.validate.field).string.(metalstack.api.v2.is_name) = true]; - // UpdateMeta contains the timestamp and strategy to be used in this update request + // UpdateMeta contains the timestamp and strategy to be used in this update request. UpdateMeta update_meta = 2 [(buf.validate.field).required = true]; - // Project of the network + // Project of the network. string project = 3 [(buf.validate.field).string.uuid = true]; - // Name of this network + // Name of this network. optional string name = 4 [(buf.validate.field).string.(metalstack.api.v2.is_name) = true]; - // Description of this network + // Description of this network. optional string description = 5 [(buf.validate.field).string.(metalstack.api.v2.is_description) = true]; - // Labels on this network + // Labels on this network. optional UpdateLabels labels = 6; } -// NetworkServiceUpdateResponse +// NetworkServiceUpdateResponse. message NetworkServiceUpdateResponse { - // Network is the updated network + // Network is the updated network. Network network = 1; } -// NetworkServiceListRequest +// NetworkServiceListRequest. message NetworkServiceListRequest { - // Project of the networks to list + // Project of the networks to list. string project = 1 [ (buf.validate.field).ignore = IGNORE_IF_ZERO_VALUE, (buf.validate.field).string.uuid = true ]; - // Query which specifies which networks to return + // Query which specifies which networks to return. NetworkQuery query = 2; } -// NetworkServiceListResponse +// NetworkServiceListResponse. message NetworkServiceListResponse { - // Networks are the requested networks + // Networks are the requested networks. repeated Network networks = 1; } -// NetworkServiceListRequest +// NetworkServiceListRequest. message NetworkServiceListBaseNetworksRequest { - // Project of the base networks to list + // Project of the base networks to list. string project = 1 [ (buf.validate.field).ignore = IGNORE_IF_ZERO_VALUE, (buf.validate.field).string.uuid = true ]; - // Query which specifies which networks to return + // Query which specifies which networks to return. NetworkQuery query = 2; } -// NetworkServiceListResponse +// NetworkServiceListResponse. message NetworkServiceListBaseNetworksResponse { - // Networks are the requested networks + // Networks are the requested networks. repeated Network networks = 1; } -// NetworkServiceDeleteRequest +// NetworkServiceDeleteRequest. message NetworkServiceDeleteRequest { - // ID of the network to get + // ID of the network to get. string id = 1 [(buf.validate.field).string.(metalstack.api.v2.is_name) = true]; - // Project of the network + // Project of the network. string project = 2 [(buf.validate.field).string.uuid = true]; } -// NetworkServiceDeleteResponse +// NetworkServiceDeleteResponse. message NetworkServiceDeleteResponse { - // Network is the deleted network + // Network is the deleted network. Network network = 1; } -// Network +// Network. message Network { - // Id of this network + // Id of this network. string id = 1 [(buf.validate.field).string.(metalstack.api.v2.is_name) = true]; - // Meta for this network + // Meta for this network. Meta meta = 2; - // Name of this network + // Name of this network. optional string name = 3 [(buf.validate.field).string.(metalstack.api.v2.is_name) = true]; - // Description of this network + // Description of this network. optional string description = 4 [(buf.validate.field).string.(metalstack.api.v2.is_description) = true]; - // Partition where this network will be created + // Partition where this network will be created. optional string partition = 5 [(buf.validate.field).string.(metalstack.api.v2.is_partition) = true]; - // Project where this network belongs to + // Project where this network belongs to. optional string project = 6 [(buf.validate.field).string.uuid = true]; - // Namespace if specified, this network is namespaced and can therefore overlap with others - // Will be equal with project most of the time + // Namespace if specified, this network is namespaced and can therefore overlap with others. + // Will be equal with project most of the time. optional string namespace = 7 [(buf.validate.field).string.uuid = true]; - // Prefixes in this network + // Prefixes in this network. repeated string prefixes = 8 [(buf.validate.field).repeated.(metalstack.api.v2.prefixes) = true]; - // Destination Prefixes in this network + // Destination Prefixes in this network. repeated string destination_prefixes = 9 [(buf.validate.field).repeated.(metalstack.api.v2.prefixes) = true]; - // Default Child Prefix length defines the bit length of a child network created per address family, if not specified during the allocate request + // Default Child Prefix length defines the bit length of a child network created per address family, if not specified during the allocate request. ChildPrefixLength default_child_prefix_length = 10; - // Min Child Prefix length asserts that during child network creation the requested bit length is greater or equal the min child prefix length + // Min Child Prefix length asserts that during child network creation the requested bit length is greater or equal the min child prefix length. ChildPrefixLength min_child_prefix_length = 11; - // Type of the network + // Type of the network. NetworkType type = 12 [(buf.validate.field).enum.defined_only = true]; - // NATType of this network + // NATType of this network. NATType nat_type = 13 [(buf.validate.field).enum.defined_only = true]; // VRF of this network has this VNI. optional uint32 vrf = 14; - // Parent Network points to the id of the parent network if any + // Parent Network points to the id of the parent network if any. optional string parent_network = 15 [(buf.validate.field).string.(metalstack.api.v2.is_name) = true]; - // AdditionalAnnouncableCidrs will be added to the allow list on the switch which prefixes might be announced + // AdditionalAnnouncableCidrs will be added to the allow list on the switch which prefixes might be announced. repeated string additional_announcable_cidrs = 16 [(buf.validate.field).repeated.(metalstack.api.v2.prefixes) = true]; - // Consumption of IPs and prefixes in this network + // Consumption of IPs and prefixes in this network. NetworkConsumption consumption = 17; } -// NetworkQuery defines which networks to query +// NetworkQuery defines which networks to query. message NetworkQuery { - // Id of the network to query + // Id of the network to query. optional string id = 1 [(buf.validate.field).string.(metalstack.api.v2.is_name) = true]; - // Name of this network + // Name of this network. optional string name = 2 [(buf.validate.field).string.(metalstack.api.v2.is_name) = true]; - // Description of this network + // Description of this network. optional string description = 3 [(buf.validate.field).string.(metalstack.api.v2.is_description) = true]; - // Partition where this network will be created + // Partition where this network will be created. optional string partition = 4 [(buf.validate.field).string.(metalstack.api.v2.is_partition) = true]; - // Project where this network belongs to + // Project where this network belongs to. optional string project = 5 [(buf.validate.field).string.uuid = true]; - // Namespace where this network belongs to + // Namespace where this network belongs to. optional string namespace = 6 [(buf.validate.field).string.uuid = true]; - // Prefixes in this network + // Prefixes in this network. repeated string prefixes = 7 [(buf.validate.field).repeated.(metalstack.api.v2.prefixes) = true]; - // Destination Prefixes in this network + // Destination Prefixes in this network. repeated string destination_prefixes = 8 [(buf.validate.field).repeated.(metalstack.api.v2.prefixes) = true]; // VRF of this network has this VNI. optional uint32 vrf = 9; - // Parent Network points to the id of the parent network if any + // Parent Network points to the id of the parent network if any. optional string parent_network = 10 [(buf.validate.field).string.(metalstack.api.v2.is_name) = true]; - // Addressfamily to query + // Addressfamily to query. optional NetworkAddressFamily address_family = 11 [(buf.validate.field).enum.defined_only = true]; - // Type of the network to query for + // Type of the network to query for. optional NetworkType type = 12 [(buf.validate.field).enum.defined_only = true]; - // NATType configured + // NATType configured. optional NATType nat_type = 13 [(buf.validate.field).enum.defined_only = true]; - // Labels on this network + // Labels on this network. optional Labels labels = 14; } -// ChildPrefixLength +// ChildPrefixLength. message ChildPrefixLength { - // IPv4 bit length of this network in this addressfamily + // IPv4 bit length of this network in this addressfamily. optional uint32 ipv4 = 1 [(buf.validate.field).uint32 = { gt: 0 lte: 32 }]; - // IPv6 bit length of this network in this addressfamily + // IPv6 bit length of this network in this addressfamily. optional uint32 ipv6 = 2 [(buf.validate.field).uint32 = { gt: 0 lte: 128 }]; } -// NetworkConsumption contains ip and prefix usage by addressfamily +// NetworkConsumption contains ip and prefix usage by addressfamily. message NetworkConsumption { - // IPv4 network usage + // IPv4 network usage. NetworkUsage ipv4 = 1; - // IPv6 network usage, this can be approximated for high numbers + // IPv6 network usage, this can be approximated for high numbers. NetworkUsage ipv6 = 2; } // NetworkUsage reports core metrics about available and used IPs or Prefixes in a Network. message NetworkUsage { - // the total available IPs + // the total available IPs. uint64 available_ips = 1; - // the total used IPs + // the total used IPs. uint64 used_ips = 2; - // the total available 2-bit prefixes + // the total available 2-bit prefixes. uint64 available_prefixes = 3; - // the total used Prefixes + // the total used Prefixes. uint64 used_prefixes = 4; } -// NATType defines how and if outgoing traffic is translated +// NATType defines how and if outgoing traffic is translated. enum NATType { - // NAT_TYPE_UNSPECIFIED indicates a unspecified nat type + // NAT_TYPE_UNSPECIFIED indicates a unspecified nat type. NAT_TYPE_UNSPECIFIED = 0; - // NAT_TYPE_NONE indicates that no nat is configured + // NAT_TYPE_NONE indicates that no nat is configured. NAT_TYPE_NONE = 1 [(enum_string_value) = "none"]; - // NAT_TYPE_IPV4_MASQUERADE masquerade ipv4 behind gateway ip when traffic enters this network + // NAT_TYPE_IPV4_MASQUERADE masquerade ipv4 behind gateway ip when traffic enters this network. NAT_TYPE_IPV4_MASQUERADE = 2 [(enum_string_value) = "ipv4-masq"]; } -// NetworkType indicates the purpose of the network, it cannot be changed after creation +// NetworkType indicates the purpose of the network, it cannot be changed after creation. enum NetworkType { - // NETWORK_TYPE_UNSPECIFIED indicates a unknown network type + // NETWORK_TYPE_UNSPECIFIED indicates a unknown network type. NETWORK_TYPE_UNSPECIFIED = 0; - // NETWORK_TYPE_EXTERNAL indicates network where multiple projects can allocate ips, it offers connectivity to other external networks + // 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. NETWORK_TYPE_EXTERNAL = 1 [(enum_string_value) = "external"]; - // NETWORK_TYPE_UNDERLAY indicates a underlay network - // The underlay network connects all switches and the firewalls to build a EVPN dataplane + // 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. NETWORK_TYPE_UNDERLAY = 2 [(enum_string_value) = "underlay"]; - // NETWORK_TYPE_SUPER indicates a super network which is only used to create child networks + // 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 + // For child creation destination prefixes will be inherited. // If this is project scoped, the child project must match, otherwise can be freely specified. NETWORK_TYPE_SUPER = 3 [(enum_string_value) = "super"]; // NETWORK_TYPE_SUPER_NAMESPACED indicates a super network which is only used to create child networks. @@ -320,14 +320,14 @@ enum NetworkType { NETWORK_TYPE_CHILD_SHARED = 6 [(enum_string_value) = "child-shared"]; } -// NetworkAddressFamily defines the address family of a network +// NetworkAddressFamily defines the address family of a network. enum NetworkAddressFamily { - // NETWORK_ADDRESS_FAMILY_UNSPECIFIED is not specified + // NETWORK_ADDRESS_FAMILY_UNSPECIFIED is not specified. NETWORK_ADDRESS_FAMILY_UNSPECIFIED = 0; - // NETWORK_ADDRESS_FAMILY_V4 defines a network with IPv4 address prefixes + // NETWORK_ADDRESS_FAMILY_V4 defines a network with IPv4 address prefixes. NETWORK_ADDRESS_FAMILY_V4 = 1 [(enum_string_value) = "ipv4"]; - // NETWORK_ADDRESS_FAMILY_V6 defines a network with IPv6 address prefixes + // NETWORK_ADDRESS_FAMILY_V6 defines a network with IPv6 address prefixes. NETWORK_ADDRESS_FAMILY_V6 = 2 [(enum_string_value) = "ipv6"]; - // NETWORK_ADDRESS_FAMILY_DUAL_STACK defines a network with both IPv4 and IPv6 address prefixes + // NETWORK_ADDRESS_FAMILY_DUAL_STACK defines a network with both IPv4 and IPv6 address prefixes. NETWORK_ADDRESS_FAMILY_DUAL_STACK = 3 [(enum_string_value) = "dual-stack"]; } diff --git a/proto/metalstack/api/v2/partition.proto b/proto/metalstack/api/v2/partition.proto index 8b9eab57..de9307e2 100644 --- a/proto/metalstack/api/v2/partition.proto +++ b/proto/metalstack/api/v2/partition.proto @@ -20,75 +20,75 @@ service PartitionService { } } -// Partition is a failure domain with machines and switches +// Partition is a failure domain with machines and switches. message Partition { - // ID of this partition + // ID of this partition. string id = 1 [(buf.validate.field).string.(metalstack.api.v2.is_partition) = true]; - // Meta for this partition + // Meta for this partition. Meta meta = 2; - // Description of this partition + // Description of this partition. string description = 3 [(buf.validate.field).string.(metalstack.api.v2.is_description) = true]; - // PartitionBootConfiguration defines how metal-hammer boots + // PartitionBootConfiguration defines how metal-hammer boots. PartitionBootConfiguration boot_configuration = 4; - // DNSServers for this partition + // DNSServers for this partition. repeated DNSServer dns_servers = 5 [(buf.validate.field).repeated.max_items = 3]; - // NTPServers for this partition + // NTPServers for this partition. repeated NTPServer ntp_servers = 6 [(buf.validate.field).repeated.max_items = 10]; - // ManagementServiceAddresses defines where the management is reachable - // should be in the form : + // ManagementServiceAddresses defines where the management is reachable. + // should be in the form :. repeated string mgmt_service_addresses = 7 [(buf.validate.field).repeated.(metalstack.api.v2.are_host_and_port) = true]; } -// PartitionQuery is used to search partitions +// PartitionQuery is used to search partitions. message PartitionQuery { - // ID of the partition to get + // ID of the partition to get. optional string id = 1 [(buf.validate.field).string.(metalstack.api.v2.is_partition) = true]; - // Labels lists only partitions containing the given labels + // Labels lists only partitions containing the given labels. optional Labels labels = 2; } -// PartitionBootConfiguration defines how metal-hammer boots +// PartitionBootConfiguration defines how metal-hammer boots. message PartitionBootConfiguration { - // ImageURL the url to download the initrd for the boot image + // ImageURL the url to download the initrd for the boot image. string image_url = 1 [(buf.validate.field).string.(metalstack.api.v2.is_uri) = true]; - // KernelURL the url to download the kernel for the boot image + // KernelURL the url to download the kernel for the boot image. string kernel_url = 2 [(buf.validate.field).string.(metalstack.api.v2.is_uri) = true]; - // Commandline the kernel command line for the boot image + // Commandline the kernel command line for the boot image. string commandline = 3 [(buf.validate.field).string.max_len = 4096]; } -// DNSServer +// DNSServer. message DNSServer { - // IP address of this dns server + // IP address of this dns server. string ip = 1 [(buf.validate.field).string.ip = true]; } -// NTPServer +// NTPServer. message NTPServer { - // Address either as ip or hostname + // Address either as ip or hostname. string address = 1 [(buf.validate.field).string.(metalstack.api.v2.is_ip_or_hostname) = true]; } -// PartitionServiceGetRequest is the request payload for a partition get request +// PartitionServiceGetRequest is the request payload for a partition get request. message PartitionServiceGetRequest { - // ID of the partition to get + // ID of the partition to get. string id = 1 [(buf.validate.field).string.(metalstack.api.v2.is_partition) = true]; } -// PartitionServiceListRequest is the request payload for a partition list request +// PartitionServiceListRequest is the request payload for a partition list request. message PartitionServiceListRequest { - // Query for partitions + // Query for partitions. PartitionQuery query = 1; } -// PartitionServiceGetResponse is the response payload for a partition get request +// PartitionServiceGetResponse is the response payload for a partition get request. message PartitionServiceGetResponse { - // Partition is the partition + // Partition is the partition. Partition partition = 1; } -// PartitionServiceListResponse is the response payload for a partition list request +// PartitionServiceListResponse is the response payload for a partition list request. message PartitionServiceListResponse { - // Partitions are the partitions + // Partitions are the partitions. repeated Partition partitions = 1; } diff --git a/proto/metalstack/api/v2/predefined_rules.proto b/proto/metalstack/api/v2/predefined_rules.proto index 638ad7df..4e4514b0 100644 --- a/proto/metalstack/api/v2/predefined_rules.proto +++ b/proto/metalstack/api/v2/predefined_rules.proto @@ -8,92 +8,92 @@ import "buf/validate/validate.proto"; // See https://celbyexample.com/ for cel documentation extend buf.validate.StringRules { - // Macaddress returns true if the given string is a valid macaddress + // Macaddress returns true if the given string is a valid macaddress. optional bool macaddress = 80048951 [(buf.validate.predefined).cel = { id: "string.macaddress" message: "this string must be a valid macaddress" expression: "this.matches('^([0-9A-Fa-f]{2}[:]){5}([0-9A-Fa-f]{2})$')" }]; - // IsName returns true if name field satisfies our requirements + // IsName returns true if name field satisfies our requirements. optional bool is_name = 80048952 [(buf.validate.predefined).cel = { id: "string.is_name" message: "must be within 2 and 128 characters" expression: "this.size() >= 2 && this.size() <= 128" }]; - // IsDescription returns true if description field satisfies our requirements + // IsDescription returns true if description field satisfies our requirements. optional bool is_description = 80048953 [(buf.validate.predefined).cel = { id: "string.is_description" message: "must be shorter than 256 characters" expression: "this.size() <= 256" }]; - // IsPartition returns true if partition field satisfies our requirements + // IsPartition returns true if partition field satisfies our requirements. optional bool is_partition = 80048954 [(buf.validate.predefined).cel = { id: "string.is_partition" message: "must be within 2 and 128 characters" expression: "this.size() >= 2 && this.size() <= 128" }]; - // IsPrefix validates if the given string is a valid prefix + // IsPrefix validates if the given string is a valid prefix. optional bool is_prefix = 80048955 [(buf.validate.predefined).cel = { id: "string.prefixes" message: "given prefixes must be valid" expression: "this.isIpPrefix()" }]; - // IsUri validates if the given string is a valid URI + // IsUri validates if the given string is a valid URI. optional bool is_uri = 80048956 [(buf.validate.predefined).cel = { id: "string.uri" message: "given uri must be valid" expression: "this.isUri()" }]; - // IsIpOrHostname validates that the given string is either a ip or a hostname + // IsIpOrHostname validates that the given string is either a ip or a hostname. optional bool is_ip_or_hostname = 80048957 [(buf.validate.predefined).cel = { id: "valid_address" message: "must be a valid IP address or hostname" expression: "this.isIp() || this.isHostname()" }]; - // Trimmed enforces the string to be trimmed, e.g. no whitespaces at the begin and end + // Trimmed enforces the string to be trimmed, e.g. no whitespaces at the begin and end. optional bool trimmed = 80048958 [(buf.validate.predefined).cel = { id: "string.trimmed" message: "value must not start or end with whitespace" expression: "this.trim().size() == this.size()" }]; - // IsUser returns true if name field satisfies our requirements + // IsUser returns true if name field satisfies our requirements. optional bool is_user = 80048959 [(buf.validate.predefined).cel = { id: "string.is_user" message: "must be within 2 and 512 characters" expression: "this.size() >= 2 && this.size() <= 512" }]; - // IsOption returns true if name field satisfies our requirements + // IsOption returns true if name field satisfies our requirements. optional bool is_option = 80048960 [(buf.validate.predefined).cel = { id: "string.is_option" message: "must be within 1 and 128 characters" expression: "this.size() >= 1 && this.size() <= 128" }]; - // IsKey returns true if name field satisfies our requirements + // IsKey returns true if name field satisfies our requirements. optional bool is_key = 80048961 [(buf.validate.predefined).cel = { id: "string.is_key" message: "must be within 1 and 8192 characters" expression: "this.size() >= 1 && this.size() <= 8192" }]; - // IsTenantLogin returns true if name field satisfies our requirements + // IsTenantLogin returns true if name field satisfies our requirements. optional bool is_tenant_login = 80048962 [(buf.validate.predefined).cel = { id: "string.is_tenant_login" message: "must be within 2 and 128 characters" expression: "this.size() >= 2 && this.size() <= 128" }]; - // IsTenantSubjectPermission returns true if name field satisfies our requirements + // IsTenantSubjectPermission returns true if name field satisfies our requirements. optional bool is_tenant_subject_permission = 80048963 [(buf.validate.predefined).cel = { id: "string.is_tenant_subject_permission" message: "must be '*' or within 2 and 128 characters" expression: "this == '*' || this.size() >= 2 && this.size() <= 128" }]; - // IsProjectSubjectPermission returns true if name field satisfies our requirements + // IsProjectSubjectPermission returns true if name field satisfies our requirements. optional bool is_project_subject_permission = 80048964 [(buf.validate.predefined).cel = { id: "string.is_project_subject_permission" message: "must be '*' or a uuid" expression: "this == '*' || this.matches('^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$')" }]; - // IsMachineSubjectPermission returns true if name field satisfies our requirements + // IsMachineSubjectPermission returns true if name field satisfies our requirements. optional bool is_machine_subject_permission = 80048965 [(buf.validate.predefined).cel = { id: "string.is_machine_subject_permission" message: "must be '*' or a uuid" @@ -102,25 +102,25 @@ extend buf.validate.StringRules { } extend buf.validate.RepeatedRules { - // Prefixes validates if a slice of prefixes in string form are valid + // Prefixes validates if a slice of prefixes in string form are valid. optional bool prefixes = 80058951 [(buf.validate.predefined).cel = { id: "repeated.prefixes" message: "given prefixes must be valid" expression: "this.all(m, m.isIpPrefix())" }]; - // Ips validates if a slice of ips in string form are valid + // Ips validates if a slice of ips in string form are valid. optional bool ips = 80058952 [(buf.validate.predefined).cel = { id: "repeated.ips" message: "given ips must be valid" expression: "this.all(m, m.isIp())" }]; - // AreHostAndPort validates if a slice of strings are all in the form of : + // AreHostAndPort validates if a slice of strings are all in the form of :. optional bool are_host_and_port = 80058953 [(buf.validate.predefined).cel = { id: "repeated.are_host_and_port" message: "given entries must all be in the form of : but port is optional" expression: "this.all(m, m.isHostAndPort(false))" }]; - // All Trimmed enforces all strings to be trimmed, e.g. no whitespaces at the begin and end + // All Trimmed enforces all strings to be trimmed, e.g. no whitespaces at the begin and end. optional bool all_trimmed = 80058954 [(buf.validate.predefined).cel = { id: "repeated.all_trimmed" message: "given values must not start or end with whitespace" @@ -129,31 +129,31 @@ extend buf.validate.RepeatedRules { } extend buf.validate.MapRules { - // Keys and Values trimmed enforces all map keys and values to be trimmed, e.g. no whitespaces at the begin and end + // 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 [(buf.validate.predefined).cel = { id: "map.keys_and_values_trimmed" message: "keys and values must not start or end with whitespace" expression: "this.all(k, k.trim().size() == k.size()) && this.all(v, v.trim().size() == v.size())" }]; - // Keys trimmed enforces all map keys and values to be trimmed, e.g. no whitespaces at the begin and end + // 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 [(buf.validate.predefined).cel = { id: "map.keys_trimmed" message: "keys must not start or end with whitespace" expression: "this.all(k, k.trim().size() == k.size())" }]; - // ProjectRolesKeysValid ensures that project roles keys met our requirements + // ProjectRolesKeysValid ensures that project roles keys met our requirements. optional bool project_roles_keys_valid = 80068953 [(buf.validate.predefined).cel = { id: "project_roles.key.valid" message: "subject must be a '*', or a valid UUID" expression: "this.all(k, k == '*' || k.matches('^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$'))" }]; - // TenantRolesKeysValid ensures that tenant roles keys met our requirements + // TenantRolesKeysValid ensures that tenant roles keys met our requirements. optional bool tenant_roles_keys_valid = 80068954 [(buf.validate.predefined).cel = { id: "tenant_roles.key.valid" message: "subject must be '*' or between 2 and 128 characters" expression: "this.all(k, k == '*' || this.size() >= 2 || this.size() <=128 )" }]; - // MachineRolesKeysValid ensures that machine roles keys met our requirements + // MachineRolesKeysValid ensures that machine roles keys met our requirements. optional bool machine_roles_keys_valid = 80068955 [(buf.validate.predefined).cel = { id: "machine_roles.key.valid" message: "subject must be empty string, '*', or a valid UUID" diff --git a/proto/metalstack/api/v2/project.proto b/proto/metalstack/api/v2/project.proto index cff27a64..bdd425f1 100644 --- a/proto/metalstack/api/v2/project.proto +++ b/proto/metalstack/api/v2/project.proto @@ -21,334 +21,334 @@ service ProjectService { option (project_roles) = PROJECT_ROLE_VIEWER; option (auditing) = AUDITING_EXCLUDED; } - // Create a project + // Create a project. rpc Create(ProjectServiceCreateRequest) returns (ProjectServiceCreateResponse) { option (tenant_roles) = TENANT_ROLE_OWNER; option (tenant_roles) = TENANT_ROLE_EDITOR; option (auditing) = AUDITING_INCLUDED; } - // Delete a project + // Delete a project. rpc Delete(ProjectServiceDeleteRequest) returns (ProjectServiceDeleteResponse) { option (project_roles) = PROJECT_ROLE_OWNER; option (auditing) = AUDITING_INCLUDED; } - // Update a project + // Update a project. rpc Update(ProjectServiceUpdateRequest) returns (ProjectServiceUpdateResponse) { option (project_roles) = PROJECT_ROLE_OWNER; option (project_roles) = PROJECT_ROLE_EDITOR; option (auditing) = AUDITING_INCLUDED; } - // Leave project + // Leave project. rpc Leave(ProjectServiceLeaveRequest) returns (ProjectServiceLeaveResponse) { option (project_roles) = PROJECT_ROLE_VIEWER; option (auditing) = AUDITING_INCLUDED; } - // AddMember adds a user to a project + // AddMember adds a user to a project. rpc AddMember(ProjectServiceAddMemberRequest) returns (ProjectServiceAddMemberResponse) { option (project_roles) = PROJECT_ROLE_OWNER; option (auditing) = AUDITING_INCLUDED; } - // RemoveMember removes a user from a project + // RemoveMember removes a user from a project. rpc RemoveMember(ProjectServiceRemoveMemberRequest) returns (ProjectServiceRemoveMemberResponse) { option (project_roles) = PROJECT_ROLE_OWNER; option (auditing) = AUDITING_INCLUDED; } - // UpdateMember updates a user for a project + // UpdateMember updates a user for a project. rpc UpdateMember(ProjectServiceUpdateMemberRequest) returns (ProjectServiceUpdateMemberResponse) { option (project_roles) = PROJECT_ROLE_OWNER; option (auditing) = AUDITING_INCLUDED; } - // Invite a user to a project + // Invite a user to a project. rpc Invite(ProjectServiceInviteRequest) returns (ProjectServiceInviteResponse) { option (project_roles) = PROJECT_ROLE_OWNER; option (auditing) = AUDITING_INCLUDED; } - // InviteAccept is called by a user to accept an invitation + // InviteAccept is called by a user to accept an invitation. rpc InviteAccept(ProjectServiceInviteAcceptRequest) returns (ProjectServiceInviteAcceptResponse) { option (visibility) = VISIBILITY_SELF; option (auditing) = AUDITING_INCLUDED; } - // InviteDelete deletes a pending invitation + // InviteDelete deletes a pending invitation. rpc InviteDelete(ProjectServiceInviteDeleteRequest) returns (ProjectServiceInviteDeleteResponse) { option (project_roles) = PROJECT_ROLE_OWNER; option (auditing) = AUDITING_INCLUDED; } - // InvitesList list all invites to a project + // InvitesList list all invites to a project. rpc InvitesList(ProjectServiceInvitesListRequest) returns (ProjectServiceInvitesListResponse) { option (project_roles) = PROJECT_ROLE_OWNER; option (auditing) = AUDITING_EXCLUDED; } - // InviteGet get an invite + // InviteGet get an invite. rpc InviteGet(ProjectServiceInviteGetRequest) returns (ProjectServiceInviteGetResponse) { option (visibility) = VISIBILITY_SELF; option (auditing) = AUDITING_EXCLUDED; } } -// Project defines a group of resources belonging to a tenant -// a tenant can have multiple projects +// Project defines a group of resources belonging to a tenant. +// a tenant can have multiple projects. message Project { - // Uuid of this project + // Uuid of this project. string uuid = 1; - // Meta for this project + // Meta for this project. Meta meta = 2; - // Name of this project must be unique per tenant + // Name of this project must be unique per tenant. string name = 3 [(buf.validate.field).string.(metalstack.api.v2.is_name) = true]; - // Description of this project + // Description of this project. string description = 4 [(buf.validate.field).string.(metalstack.api.v2.is_description) = true]; - // Tenant this project belongs to + // Tenant this project belongs to. string tenant = 5; - // AvatarUrl of the Project + // AvatarUrl of the Project. optional string avatar_url = 6 [(buf.validate.field).string.(metalstack.api.v2.is_uri) = true]; } -// ProjectMember defines a user that participates in a project +// ProjectMember defines a user that participates in a project. message ProjectMember { - // Id is the user id of the member + // Id is the user id of the member. string id = 1; - // Role is the role of the member + // Role is the role of the member. ProjectRole role = 2 [(buf.validate.field).enum.defined_only = true]; // 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. bool inherited_membership = 3; - // CreatedAt the date when the member was added to the project + // CreatedAt the date when the member was added to the project. google.protobuf.Timestamp created_at = 4; - // Meta for this project member + // Meta for this project member. Meta meta = 5; } -// ProjectInvite defines invite to project +// ProjectInvite defines invite to project. message ProjectInvite { - // Secret is the secret part of the invite, typically part of the url + // Secret is the secret part of the invite, typically part of the url. string secret = 1; - // Project is the project id for which this invite was created + // Project is the project id for which this invite was created. string project = 2; - // Role is the role in this project the user will get after accepting the invitation + // Role is the role in this project the user will get after accepting the invitation. ProjectRole role = 3 [(buf.validate.field).enum.defined_only = true]; - // Joined is false as long as a user has not accepted the invite + // Joined is false as long as a user has not accepted the invite. bool joined = 4; - // ProjectName is the project name for which this invite was created + // ProjectName is the project name for which this invite was created. string project_name = 5; - // Tenant is the login of the tenant inviting another user to join this project + // Tenant is the login of the tenant inviting another user to join this project. string tenant = 6; - // TenantName is the name of the tenant inviting another user to join this project + // TenantName is the name of the tenant inviting another user to join this project. string tenant_name = 7; - // ExpiresAt the date when this invite expires + // ExpiresAt the date when this invite expires. google.protobuf.Timestamp expires_at = 8; - // JoinedAt the date when the member accepted this invite + // JoinedAt the date when the member accepted this invite. google.protobuf.Timestamp joined_at = 9; } -// ProjectServiceListRequest is the request payload to list all projects +// ProjectServiceListRequest is the request payload to list all projects. message ProjectServiceListRequest { - // Query for projects + // Query for projects. ProjectQuery query = 1; } -// ProjectQuery is used to search projects +// ProjectQuery is used to search projects. message ProjectQuery { - // Uuid lists only projects with this uuid + // Uuid lists only projects with this uuid. optional string uuid = 1 [(buf.validate.field).string.uuid = true]; - // Name lists only projects with this name + // Name lists only projects with this name. optional string name = 2 [(buf.validate.field).string.(metalstack.api.v2.is_name) = true]; - // Tenant lists only projects of this tenant + // Tenant lists only projects of this tenant. optional string tenant = 3 [(buf.validate.field).string.(metalstack.api.v2.is_tenant_login) = true]; - // Labels lists only projects containing the given labels + // Labels lists only projects containing the given labels. optional Labels labels = 4; } -// ProjectServiceListResponse is the response payload to list all projects +// ProjectServiceListResponse is the response payload to list all projects. message ProjectServiceListResponse { - // Projects is a list of all your projects + // Projects is a list of all your projects. repeated Project projects = 1; } -// ProjectServiceGetRequest is the request payload to get a project +// ProjectServiceGetRequest is the request payload to get a project. message ProjectServiceGetRequest { - // Project is the uuid of the project to get + // Project is the uuid of the project to get. string project = 1 [(buf.validate.field).string.uuid = true]; } -// ProjectServiceGetResponse is the response payload to get a projects +// ProjectServiceGetResponse is the response payload to get a projects. message ProjectServiceGetResponse { - // Project is the project + // Project is the project. Project project = 1; - // ProjectMembers in this project, projects guests will only see direct project members and not implicit memberships from tenant permissions + // ProjectMembers in this project, projects guests will only see direct project members and not implicit memberships from tenant permissions. repeated ProjectMember project_members = 2; } -// ProjectServiceCreateRequest is the request payload to Create a project +// ProjectServiceCreateRequest is the request payload to Create a project. message ProjectServiceCreateRequest { - // Login is the tenant of this project - // TODO: is login really a good name? + // Login is the tenant of this project. + // TODO: is login really a good name?. string login = 1 [(buf.validate.field).string.(metalstack.api.v2.is_name) = true]; - // Name of this project, unique per tenant + // Name of this project, unique per tenant. string name = 2 [(buf.validate.field).string.(metalstack.api.v2.is_name) = true]; - // Description of this project + // Description of this project. string description = 3 [(buf.validate.field).string.(metalstack.api.v2.is_description) = true]; - // Avatar URL of the project + // Avatar URL of the project. optional string avatar_url = 4 [(buf.validate.field).string.(metalstack.api.v2.is_uri) = true]; - // Labels on the project + // Labels on the project. Labels labels = 5; } -// ProjectServiceCreateResponse is the response payload of creation of a project +// ProjectServiceCreateResponse is the response payload of creation of a project. message ProjectServiceCreateResponse { - // Project is the project + // Project is the project. Project project = 1; } -// ProjectServiceDeleteRequest is the request payload to delete a project +// ProjectServiceDeleteRequest is the request payload to delete a project. message ProjectServiceDeleteRequest { - // Project is the uuid of the project to delete + // Project is the uuid of the project to delete. string project = 1 [(buf.validate.field).string.uuid = true]; } -// ProjectServiceDeleteResponse is the response payload to delete a project +// ProjectServiceDeleteResponse is the response payload to delete a project. message ProjectServiceDeleteResponse { - // Project is the project + // Project is the project. Project project = 1; } -// ProjectServiceUpdateRequest is the request payload to update a project +// ProjectServiceUpdateRequest is the request payload to update a project. message ProjectServiceUpdateRequest { - // Project is the uuid of the project to get + // Project is the uuid of the project to get. string project = 1 [(buf.validate.field).string.uuid = true]; - // UpdateMeta contains the timestamp and strategy to be used in this update request + // UpdateMeta contains the timestamp and strategy to be used in this update request. UpdateMeta update_meta = 2 [(buf.validate.field).required = true]; - // Name of this project unique per tenant + // Name of this project unique per tenant. optional string name = 3 [(buf.validate.field).string.(metalstack.api.v2.is_name) = true]; - // Description of this project + // Description of this project. optional string description = 4 [(buf.validate.field).string.(metalstack.api.v2.is_description) = true]; - // Avatar URL of the project + // Avatar URL of the project. optional string avatar_url = 5 [(buf.validate.field).string.(metalstack.api.v2.is_uri) = true]; - // Labels on this project + // Labels on this project. optional UpdateLabels labels = 6; } -// ProjectServiceUpdateResponse is the response payload to update a project +// ProjectServiceUpdateResponse is the response payload to update a project. message ProjectServiceUpdateResponse { - // Project is the project + // Project is the project. Project project = 1; } -// ProjectServiceInviteRequest is used to invite a member to a project +// ProjectServiceInviteRequest is used to invite a member to a project. message ProjectServiceInviteRequest { - // Project is the uuid of the project + // Project is the uuid of the project. string project = 1 [(buf.validate.field).string.uuid = true]; - // Role of this user in this project + // Role of this user in this project. ProjectRole role = 2 [(buf.validate.field).enum.defined_only = true]; } -// ProjectServiceInviteResponse is the response payload to a invite member request +// ProjectServiceInviteResponse is the response payload to a invite member request. message ProjectServiceInviteResponse { - // 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/ + // 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/= 20.04.20211011" -// debian: ">= 10.0.20210101" +// ubuntu: ">= 20.04.20211011 +// debian: ">= 10.0.20210101 message ImageConstraint { - // Image of the constraint + // Image of the constraint. string image = 1 [(buf.validate.field).string.(metalstack.api.v2.is_name) = true]; - // SemverMatch which defines in semver match format which image version should apply + // SemverMatch which defines in semver match format which image version should apply. string semver_match = 2 [(buf.validate.field).string.(metalstack.api.v2.is_description) = true]; } -// SizeImageConstraintQuery is used to search size image constraints +// SizeImageConstraintQuery is used to search size image constraints. message SizeImageConstraintQuery { - // Size of the size image constraint + // Size of the size image constraint. optional string size = 1 [(buf.validate.field).string.(metalstack.api.v2.is_name) = true]; - // Name of the size image constraint to query + // Name of the size image constraint to query. optional string name = 2 [(buf.validate.field).string.(metalstack.api.v2.is_name) = true]; - // Description of the size image constraint to query + // Description of the size image constraint to query. optional string description = 3 [(buf.validate.field).string.(metalstack.api.v2.is_description) = true]; } diff --git a/proto/metalstack/api/v2/size_reservation.proto b/proto/metalstack/api/v2/size_reservation.proto index c2d9064a..e990bb39 100644 --- a/proto/metalstack/api/v2/size_reservation.proto +++ b/proto/metalstack/api/v2/size_reservation.proto @@ -24,75 +24,75 @@ service SizeReservationService { } } -// SizeReservationServiceGetRequest is the request payload for a size get request +// SizeReservationServiceGetRequest is the request payload for a size get request. message SizeReservationServiceGetRequest { - // ID of the size reservation to get + // ID of the size reservation to get. string id = 1 [(buf.validate.field).string.uuid = true]; - // Project of the size reservation + // Project of the size reservation. string project = 2 [(buf.validate.field).string.uuid = true]; } -// SizeReservationServiceListRequest is the request payload for a size list request +// SizeReservationServiceListRequest is the request payload for a size list request. message SizeReservationServiceListRequest { - // Project of the size reservation + // Project of the size reservation. string project = 1 [(buf.validate.field).string.uuid = true]; - // Query for size reservations + // Query for size reservations. SizeReservationQuery query = 2; } -// SizeReservationServiceGetResponse is the response payload for a size reservation get request +// SizeReservationServiceGetResponse is the response payload for a size reservation get request. message SizeReservationServiceGetResponse { - // Size reservation + // Size reservation. SizeReservation size_reservation = 1; } -// SizeReservationServiceListResponse is the response payload for a size reservation list request +// SizeReservationServiceListResponse is the response payload for a size reservation list request. message SizeReservationServiceListResponse { - // Size reservations + // Size reservations. repeated SizeReservation size_reservations = 1; } -// SizeReservation +// SizeReservation. message SizeReservation { - // Id of this size reservation, is generated on creation + // Id of this size reservation, is generated on creation. string id = 1 [ (buf.validate.field).string.uuid = true, (buf.validate.field).ignore = IGNORE_IF_ZERO_VALUE ]; - // Meta for this size reservation + // Meta for this size reservation. Meta meta = 2; - // Name of this size reservation + // Name of this size reservation. string name = 3 [(buf.validate.field).string.(metalstack.api.v2.is_name) = true]; - // Description of this size reservation + // Description of this size reservation. string description = 4 [(buf.validate.field).string.(metalstack.api.v2.is_description) = true]; - // Project of the size reservation + // Project of the size reservation. string project = 5 [(buf.validate.field).string.uuid = true]; - // Size id of this size reservation + // Size id of this size reservation. string size = 6 [(buf.validate.field).string.(metalstack.api.v2.is_name) = true]; - // Partition ids of this size reservation + // Partition ids of this size reservation. repeated string partitions = 7 [ (buf.validate.field).repeated.min_items = 1, (buf.validate.field).repeated.unique = true, (buf.validate.field).repeated.items.string.(metalstack.api.v2.is_partition) = true ]; - // Amount of reservations of this size reservation + // Amount of reservations of this size reservation. int32 amount = 8 [(buf.validate.field).int32.gt = 0]; } -// SizeReservationQuery is used to search size reservations +// SizeReservationQuery is used to search size reservations. message SizeReservationQuery { - // ID of the size reservation to get + // ID of the size reservation to get. optional string id = 1 [(buf.validate.field).string.uuid = true]; - // Name of this size reservation + // Name of this size reservation. optional string name = 2 [(buf.validate.field).string.(metalstack.api.v2.is_name) = true]; - // Description of this size reservation + // Description of this size reservation. optional string description = 3 [(buf.validate.field).string.(metalstack.api.v2.is_description) = true]; - // Size id of this size reservation + // Size id of this size reservation. optional string size = 4 [(buf.validate.field).string.(metalstack.api.v2.is_name) = true]; - // Project of the size reservation + // Project of the size reservation. optional string project = 5 [(buf.validate.field).string.uuid = true]; - // Partition of the size reservation + // Partition of the size reservation. optional string partition = 6 [(buf.validate.field).string.(metalstack.api.v2.is_partition) = true]; - // Labels lists only size reservations containing the given labels + // Labels lists only size reservations containing the given labels. optional Labels labels = 7; } diff --git a/proto/metalstack/api/v2/switch.proto b/proto/metalstack/api/v2/switch.proto index 9d7239a7..a8b09fb0 100644 --- a/proto/metalstack/api/v2/switch.proto +++ b/proto/metalstack/api/v2/switch.proto @@ -64,13 +64,13 @@ message SwitchOS { // SwitchNic represents a front panel port and its configuration. message SwitchNic { - // Name of the switch port + // Name of the switch port. string name = 1 [(buf.validate.field).string.(metalstack.api.v2.is_name) = true]; - // Identifier of the port + // Identifier of the port. string identifier = 2 [(buf.validate.field).string.(metalstack.api.v2.is_name) = true]; - // MAC address of the port + // MAC address of the port. string mac = 3 [(buf.validate.field).string.(macaddress) = true]; - // VRF name if the port is bound in one + // VRF name if the port is bound in one. optional string vrf = 4 [(buf.validate.field).string.(metalstack.api.v2.is_name) = true]; // NicState describes the current state of the switch port. optional NicState state = 5; @@ -82,9 +82,9 @@ message SwitchNic { // BGPFilter can be used to restrict BGP based on CIDRs and VNIs. message BGPFilter { - // CIDRs for which to allow BGP + // CIDRs for which to allow BGP. repeated string cidrs = 1 [(buf.validate.field).repeated.(metalstack.api.v2.prefixes) = true]; - // VNIs for which to allow BGP + // VNIs for which to allow BGP. repeated string vnis = 2 [(buf.validate.field).repeated.items.string = { min_len: 2 max_len: 128 diff --git a/proto/metalstack/api/v2/tenant.proto b/proto/metalstack/api/v2/tenant.proto index 629edf3a..35f325b9 100644 --- a/proto/metalstack/api/v2/tenant.proto +++ b/proto/metalstack/api/v2/tenant.proto @@ -19,7 +19,7 @@ service TenantService { option (visibility) = VISIBILITY_SELF; option (auditing) = AUDITING_EXCLUDED; } - // Get a tenant + // Get a tenant. rpc Get(TenantServiceGetRequest) returns (TenantServiceGetResponse) { option (tenant_roles) = TENANT_ROLE_OWNER; option (tenant_roles) = TENANT_ROLE_EDITOR; @@ -27,334 +27,332 @@ service TenantService { option (tenant_roles) = TENANT_ROLE_GUEST; option (auditing) = AUDITING_EXCLUDED; } - // Update a tenant + // Update a tenant. rpc Update(TenantServiceUpdateRequest) returns (TenantServiceUpdateResponse) { option (tenant_roles) = TENANT_ROLE_OWNER; option (tenant_roles) = TENANT_ROLE_EDITOR; option (auditing) = AUDITING_INCLUDED; } - // Delete a tenant + // Delete a tenant. rpc Delete(TenantServiceDeleteRequest) returns (TenantServiceDeleteResponse) { option (tenant_roles) = TENANT_ROLE_OWNER; option (tenant_roles) = TENANT_ROLE_EDITOR; option (auditing) = AUDITING_INCLUDED; } - // Leave removes a member from a tenant + // Leave removes a member from a tenant. rpc Leave(TenantServiceLeaveRequest) returns (TenantServiceLeaveResponse) { option (tenant_roles) = TENANT_ROLE_VIEWER; option (auditing) = AUDITING_INCLUDED; } - // AddMember adds a member to a tenant + // AddMember adds a member to a tenant. rpc AddMember(TenantServiceAddMemberRequest) returns (TenantServiceAddMemberResponse) { option (tenant_roles) = TENANT_ROLE_OWNER; option (tenant_roles) = TENANT_ROLE_EDITOR; option (auditing) = AUDITING_INCLUDED; } - // RemoveMember removes a member from a tenant + // RemoveMember removes a member from a tenant. rpc RemoveMember(TenantServiceRemoveMemberRequest) returns (TenantServiceRemoveMemberResponse) { option (tenant_roles) = TENANT_ROLE_OWNER; option (auditing) = AUDITING_INCLUDED; } - // UpdateMember update a member of a tenant + // UpdateMember update a member of a tenant. rpc UpdateMember(TenantServiceUpdateMemberRequest) returns (TenantServiceUpdateMemberResponse) { option (tenant_roles) = TENANT_ROLE_OWNER; option (auditing) = AUDITING_INCLUDED; } - // Invite a user to a tenant + // Invite a user to a tenant. rpc Invite(TenantServiceInviteRequest) returns (TenantServiceInviteResponse) { option (tenant_roles) = TENANT_ROLE_OWNER; option (auditing) = AUDITING_INCLUDED; } - // InviteAccept is called from a user to accept an invitation + // InviteAccept is called from a user to accept an invitation. rpc InviteAccept(TenantServiceInviteAcceptRequest) returns (TenantServiceInviteAcceptResponse) { option (visibility) = VISIBILITY_SELF; option (auditing) = AUDITING_INCLUDED; } - // InviteDelete deletes a pending invitation + // InviteDelete deletes a pending invitation. rpc InviteDelete(TenantServiceInviteDeleteRequest) returns (TenantServiceInviteDeleteResponse) { option (tenant_roles) = TENANT_ROLE_OWNER; option (auditing) = AUDITING_INCLUDED; } - // InvitesList list all invites to a tenant + // InvitesList list all invites to a tenant. rpc InvitesList(TenantServiceInvitesListRequest) returns (TenantServiceInvitesListResponse) { option (tenant_roles) = TENANT_ROLE_OWNER; option (auditing) = AUDITING_EXCLUDED; } - // InviteGet get an invite + // InviteGet get an invite. rpc InviteGet(TenantServiceInviteGetRequest) returns (TenantServiceInviteGetResponse) { option (visibility) = VISIBILITY_SELF; option (auditing) = AUDITING_EXCLUDED; } } -// Tenant is a customer of the platform +// Tenant is a customer of the platform. message Tenant { - // Login of the tenant + // Login of the tenant. string login = 1 [(buf.validate.field).string.(metalstack.api.v2.is_tenant_login) = true]; - // Meta for this tenant + // Meta for this tenant. Meta meta = 2; - // Name of the tenant + // Name of the tenant. string name = 3 [(buf.validate.field).string.(metalstack.api.v2.is_name) = true]; - // Email of the tenant + // Email of the tenant. string email = 4 [(buf.validate.field).string.email = true]; - // Description of this tenant + // Description of this tenant. string description = 5 [(buf.validate.field).string.(metalstack.api.v2.is_description) = true]; - // AvatarUrl of the tenant + // AvatarUrl of the tenant. string avatar_url = 6 [(buf.validate.field).string.(metalstack.api.v2.is_uri) = true]; - // CreatedBy stores who created this tenant + // CreatedBy stores who created this tenant. string created_by = 7; } -// TenantMember defines a user that participates in a tenant +// TenantMember defines a user that participates in a tenant. message TenantMember { - // Id is the user id of the member + // Id is the user id of the member. string id = 1 [(buf.validate.field).string.(metalstack.api.v2.is_tenant_login) = true]; - // Role is the role of the member + // Role is the role of the member. TenantRole role = 2 [(buf.validate.field).enum.defined_only = true]; - // Projects in which a user is a direct member + // Projects in which a user is a direct member. repeated string projects = 3; - // CreatedAt the date when the member was added to the tenant + // CreatedAt the date when the member was added to the tenant. google.protobuf.Timestamp created_at = 4; - // Meta for this tenant member + // Meta for this tenant member. Meta meta = 5; } -// TenantInvite defines invite to tenant +// TenantInvite defines invite to tenant. message TenantInvite { - // Secret is the secret part of the invite, typically part of the url + // Secret is the secret part of the invite, typically part of the url. string secret = 1; - // TargetTenant is the tenant id for which this invite was created + // TargetTenant is the tenant id for which this invite was created. string target_tenant = 2; - // Role is the role in this tenant the user will get after accepting the invitation + // Role is the role in this tenant the user will get after accepting the invitation. TenantRole role = 3 [(buf.validate.field).enum.defined_only = true]; - // Joined is false as long as a user has not accepted the invite + // Joined is false as long as a user has not accepted the invite. bool joined = 4; - // TargetTenantName is the tenant name for which this invite was created + // TargetTenantName is the tenant name for which this invite was created. string target_tenant_name = 5; - // Tenant is the login of the tenant inviting another user to join this tenant + // Tenant is the login of the tenant inviting another user to join this tenant. string tenant = 6; - // TenantName is the name of the tenant inviting another user to join this tenant + // TenantName is the name of the tenant inviting another user to join this tenant. string tenant_name = 7; - // ExpiresAt the date when this invite expires + // ExpiresAt the date when this invite expires. google.protobuf.Timestamp expires_at = 8; - // JoinedAt the date when the member accepted this invite + // JoinedAt the date when the member accepted this invite. google.protobuf.Timestamp joined_at = 9; } -// TenantServiceListRequest is the request payload of the tenant list request +// TenantServiceListRequest is the request payload of the tenant list request. message TenantServiceListRequest { - // Query for tenants + // Query for tenants. TenantQuery query = 1; } -// TenantQuery is used to search tenants +// TenantQuery is used to search tenants. message TenantQuery { - // Id filters tenants by login + // Id filters tenants by login. optional string login = 1 [(buf.validate.field).string.(metalstack.api.v2.is_tenant_login) = true]; - // Name filters tenants by name + // Name filters tenants by name. optional string name = 2 [(buf.validate.field).string.(metalstack.api.v2.is_name) = true]; - // Labels lists only projects containing the given labels + // Labels lists only projects containing the given labels. optional Labels labels = 3; - // Paging details for the list request + // Paging details for the list request. Paging paging = 4; } -// TenantServiceGetRequest is the request payload of the tenant get request +// TenantServiceGetRequest is the request payload of the tenant get request. message TenantServiceGetRequest { - // Login of the tenant + // Login of the tenant. string login = 1; } -// TenantServiceCreateRequest is the request payload of the tenant create request +// TenantServiceCreateRequest is the request payload of the tenant create request. message TenantServiceCreateRequest { - // Name of this tenant + // Name of this tenant. string name = 1 [(buf.validate.field).string.(metalstack.api.v2.is_name) = true]; - // Description of this tenant + // Description of this tenant. optional string description = 2 [(buf.validate.field).string.(metalstack.api.v2.is_description) = true]; - // Email of the tenant, if not set will be inherited from the creator + // Email of the tenant, if not set will be inherited from the creator. optional string email = 3 [(buf.validate.field).string.email = true]; - // AvatarUrl of the tenant + // AvatarUrl of the tenant. optional string avatar_url = 4 [(buf.validate.field).string.(metalstack.api.v2.is_uri) = true]; - // Labels on the tenant + // Labels on the tenant. Labels labels = 5; } -// TenantServiceUpdateRequest is the request payload of the tenant update request +// TenantServiceUpdateRequest is the request payload of the tenant update request. message TenantServiceUpdateRequest { - // Login of the tenant + // Login of the tenant. string login = 1 [(buf.validate.field).string.(metalstack.api.v2.is_tenant_login) = true]; - // UpdateMeta contains the timestamp and strategy to be used in this update request + // UpdateMeta contains the timestamp and strategy to be used in this update request. UpdateMeta update_meta = 2 [(buf.validate.field).required = true]; - // Name of the tenant + // Name of the tenant. optional string name = 3 [(buf.validate.field).string.(metalstack.api.v2.is_name) = true]; - // Email of the tenant + // Email of the tenant. optional string email = 4 [(buf.validate.field).string.email = true]; - // Description of this tenant + // Description of this tenant. optional string description = 5 [(buf.validate.field).string.(metalstack.api.v2.is_description) = true]; - // AvatarUrl of the tenant + // AvatarUrl of the tenant. optional string avatar_url = 6 [(buf.validate.field).string.(metalstack.api.v2.is_uri) = true]; - // Labels on the tenant + // Labels on the tenant. optional UpdateLabels labels = 7; } -// TenantServiceDeleteRequest is the request payload of the tenant delete request +// TenantServiceDeleteRequest is the request payload of the tenant delete request. message TenantServiceDeleteRequest { - // Login of the tenant + // Login of the tenant. string login = 1 [(buf.validate.field).string.(metalstack.api.v2.is_tenant_login) = true]; } -// TenantServiceGetResponse is the response payload of the tenant get request +// TenantServiceGetResponse is the response payload of the tenant get request. message TenantServiceGetResponse { - // Tenant is the tenant + // Tenant is the tenant. Tenant tenant = 1; - // TenantMembers of this tenant + // TenantMembers of this tenant. repeated TenantMember tenant_members = 2; } -// TenantServiceListResponse is the response payload of the tenant list request +// TenantServiceListResponse is the response payload of the tenant list request. message TenantServiceListResponse { - // Tenants is the list of tenants + // Tenants is the list of tenants. repeated Tenant tenants = 1; } -// TenantServiceCreateResponse is the response payload of the tenant create request +// TenantServiceCreateResponse is the response payload of the tenant create request. message TenantServiceCreateResponse { - // Tenant is the tenant + // Tenant is the tenant. Tenant tenant = 1; } -// TenantServiceUpdateResponse is the response payload of the tenant update request +// TenantServiceUpdateResponse is the response payload of the tenant update request. message TenantServiceUpdateResponse { - // Tenant is the tenant + // Tenant is the tenant. Tenant tenant = 1; } -// TenantServiceDeleteResponse is the response payload of the tenant delete request +// TenantServiceDeleteResponse is the response payload of the tenant delete request. message TenantServiceDeleteResponse { - // Tenant is the tenant + // Tenant is the tenant. Tenant tenant = 1; } -// TenantServiceInviteRequest is used to invite a member to a tenant +// TenantServiceInviteRequest is used to invite a member to a tenant. message TenantServiceInviteRequest { - // Login of the tenant + // Login of the tenant. string login = 1 [(buf.validate.field).string.(metalstack.api.v2.is_tenant_login) = true]; - // Role of this user in this tenant + // Role of this user in this tenant. TenantRole role = 2 [(buf.validate.field).enum.defined_only = true]; } -// TenantServiceInviteRequest is the response payload to a invite member request +// TenantServiceInviteRequest is the response payload to a invite member request. message TenantServiceInviteResponse { - // Invite contains a secret which can be sent to a potential user - // can be appended to the invitation endpoint at our cloud console like - // console.metalstack.cloud/invite/ + // Invite contains a secret which can be sent to a potential user. TenantInvite invite = 1; } -// TenantServiceInvitesListRequest is the request payload to a list invites request +// TenantServiceInvitesListRequest is the request payload to a list invites request. message TenantServiceInvitesListRequest { - // Login of the tenant + // Login of the tenant. string login = 1 [(buf.validate.field).string.(metalstack.api.v2.is_tenant_login) = true]; } -// TenantServiceInvitesListResponse is the response payload to a list invites request +// TenantServiceInvitesListResponse is the response payload to a list invites request. message TenantServiceInvitesListResponse { - // Invites that have not yet accepted the invitation to this tenant + // Invites that have not yet accepted the invitation to this tenant. repeated TenantInvite invites = 1; } -// TenantServiceInviteGetRequest is the request payload to get a invite +// TenantServiceInviteGetRequest is the request payload to get a invite. message TenantServiceInviteGetRequest { - // Secret of the invite to get + // Secret of the invite to get. string secret = 1; } -// TenantServiceInviteGetResponse is the response payload to a get invite request +// TenantServiceInviteGetResponse is the response payload to a get invite request. message TenantServiceInviteGetResponse { - // Invite is the invite + // Invite is the invite. TenantInvite invite = 1; } -// TenantServiceRemoveMemberRequest is used to remove a member from a tenant +// TenantServiceRemoveMemberRequest is used to remove a member from a tenant. message TenantServiceRemoveMemberRequest { - // Login of the tenant + // Login of the tenant. string login = 1 [(buf.validate.field).string.(metalstack.api.v2.is_tenant_login) = true]; - // Member is the id of the member to remove from this tenant + // Member is the id of the member to remove from this tenant. string member = 2; } -// TenantServiceLeaveTenantRequest is used to leave a tenant +// TenantServiceLeaveTenantRequest is used to leave a tenant. message TenantServiceLeaveRequest { - // Login of the tenant + // Login of the tenant. string login = 1 [(buf.validate.field).string.(metalstack.api.v2.is_tenant_login) = true]; } -// TenantServiceLeaveTenantResponse is the response payload to a leave tenant request +// TenantServiceLeaveTenantResponse is the response payload to a leave tenant request. message TenantServiceLeaveResponse {} -// TenantServiceRemoveMemberResponse is the response payload to a remove member request +// TenantServiceRemoveMemberResponse is the response payload to a remove member request. message TenantServiceRemoveMemberResponse { - // TenantMember is the removed tenant member + // TenantMember is the removed tenant member. TenantMember tenant_member = 1; } -// TenantServiceInviteAcceptRequest is the request payload to a accept invite request +// TenantServiceInviteAcceptRequest is the request payload to a accept invite request. message TenantServiceInviteAcceptRequest { - // Secret is the invitation secret part of the invitation url + // Secret is the invitation secret part of the invitation url. string secret = 1; } -// TenantServiceInviteAcceptResponse is the response payload to a accept invite request +// TenantServiceInviteAcceptResponse is the response payload to a accept invite request. message TenantServiceInviteAcceptResponse { - // Tenant ID of the joined tenant + // Tenant ID of the joined tenant. string tenant = 1; - // TenantName of the joined tenant + // TenantName of the joined tenant. string tenant_name = 2; } -// TenantServiceInviteDeleteRequest is the request payload to a delete invite +// TenantServiceInviteDeleteRequest is the request payload to a delete invite. message TenantServiceInviteDeleteRequest { - // Login of the tenant + // Login of the tenant. string login = 1 [(buf.validate.field).string.(metalstack.api.v2.is_tenant_login) = true]; - // Secret of the invite to delete + // Secret of the invite to delete. string secret = 2; } -// TenantServiceInviteDeleteResponse is the response payload of a delete invite request +// TenantServiceInviteDeleteResponse is the response payload of a delete invite request. message TenantServiceInviteDeleteResponse {} -// TenantServiceAddMemberRequest is the request payload for adding a member to a tenant +// TenantServiceAddMemberRequest is the request payload for adding a member to a tenant. message TenantServiceAddMemberRequest { - // Login of the tenant to which the member will be added + // Login of the tenant to which the member will be added. string login = 1 [(buf.validate.field).string.(metalstack.api.v2.is_tenant_login) = true]; - // Login of the member to add + // Login of the member to add. string member = 2 [(buf.validate.field).string.(metalstack.api.v2.is_tenant_login) = true]; - // Role to assign to the new member + // Role to assign to the new member. TenantRole role = 3 [(buf.validate.field).enum.defined_only = true]; } -// TenantServiceAddMemberResponse is the response payload for the add member request +// TenantServiceAddMemberResponse is the response payload for the add member request. message TenantServiceAddMemberResponse { - // TenantMember is the added tenant member + // TenantMember is the added tenant member. TenantMember tenant_member = 1; } -// TenantServiceUpdateMemberRequest is used to update a member from a tenant +// TenantServiceUpdateMemberRequest is used to update a member from a tenant. message TenantServiceUpdateMemberRequest { - // Login of the tenant + // Login of the tenant. string login = 1 [(buf.validate.field).string.(metalstack.api.v2.is_tenant_login) = true]; - // Member is the id of the member to update in this tenant + // Member is the id of the member to update in this tenant. string member = 2 [(buf.validate.field).string.(metalstack.api.v2.is_tenant_login) = true]; - // Role of this user in this tenant + // Role of this user in this tenant. TenantRole role = 3 [(buf.validate.field).enum.defined_only = true]; } -// TenantServiceUpdateMemberResponse is the response payload to a update member request +// TenantServiceUpdateMemberResponse is the response payload to a update member request. message TenantServiceUpdateMemberResponse { - // TenantMember is the updated membership + // TenantMember is the updated membership. TenantMember tenant_member = 1; } diff --git a/proto/metalstack/api/v2/token.proto b/proto/metalstack/api/v2/token.proto index db3bcb3c..950f2a28 100644 --- a/proto/metalstack/api/v2/token.proto +++ b/proto/metalstack/api/v2/token.proto @@ -42,12 +42,12 @@ service TokenService { } } -// Token generates a jwt authentication token to access the api +// Token generates a jwt authentication token to access the api. // -// There are two different types of tokens, api- and user- tokens +// 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 +// 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. @@ -55,25 +55,25 @@ service TokenService { // 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. message Token { - // Message level validation, can be developed using https://protovalidate.com/playground + // Message level validation, can be developed using https://protovalidate.com/playground. - // Uuid of the jwt token, used to reference it by revoke + // Uuid of the jwt token, used to reference it by revoke. string uuid = 1 [(buf.validate.field).string.uuid = true]; - // User who created this token + // User who created this token. string user = 2 [(buf.validate.field).string.(metalstack.api.v2.is_user) = true]; - // Meta for this token + // Meta for this token. Meta meta = 3; // Description is a user given description of this token. string description = 4 [(buf.validate.field).string.(metalstack.api.v2.is_description) = true]; - // Permissions is a list of service methods this token can be used for + // Permissions is a list of service methods this token can be used for. repeated MethodPermission permissions = 5 [(buf.validate.field).repeated.max_items = 500]; - // Expires gives the date in the future after which this token can not be used anymore + // Expires gives the date in the future after which this token can not be used anymore. google.protobuf.Timestamp expires = 6; - // IssuedAt gives the date when this token was created + // IssuedAt gives the date when this token was created. google.protobuf.Timestamp issued_at = 7; - // TokenType describes the type of this token + // TokenType describes the type of this token. TokenType token_type = 8 [(buf.validate.field).enum.defined_only = true]; - // ProjectRoles associates a project id with the corresponding role of the token owner + // ProjectRoles associates a project id with the corresponding role of the token owner. map project_roles = 9 [ (buf.validate.field).map.(metalstack.api.v2.project_roles_keys_valid) = true, (buf.validate.field).map.values = { @@ -81,7 +81,7 @@ message Token { }, (buf.validate.field).map.(metalstack.api.v2.keys_trimmed) = true ]; - // TenantRoles associates a tenant id with the corresponding role of the token owner + // TenantRoles associates a tenant id with the corresponding role of the token owner. map tenant_roles = 10 [ (buf.validate.field).map.(metalstack.api.v2.tenant_roles_keys_valid) = true, (buf.validate.field).map.values = { @@ -89,12 +89,12 @@ message Token { }, (buf.validate.field).map.(metalstack.api.v2.keys_trimmed) = true ]; - // AdminRole defines the admin role of the token owner + // AdminRole defines the admin role of the token owner. optional AdminRole admin_role = 11 [(buf.validate.field).enum.defined_only = true]; - // InfraRole defines the infrastructure role of the token owner + // InfraRole defines the infrastructure role of the token owner. optional InfraRole infra_role = 12 [(buf.validate.field).enum.defined_only = true]; - // 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 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. map machine_roles = 13 [ (buf.validate.field).map.(metalstack.api.v2.machine_roles_keys_valid) = true, (buf.validate.field).map.values = { @@ -104,29 +104,29 @@ message Token { ]; } -// TokenType specifies different use cases of tokens +// TokenType specifies different use cases of tokens. enum TokenType { - // TOKEN_TYPE_UNSPECIFIED is not specified + // TOKEN_TYPE_UNSPECIFIED is not specified. TOKEN_TYPE_UNSPECIFIED = 0; - // TOKEN_TYPE_API is a token for api usage + // TOKEN_TYPE_API is a token for api usage. TOKEN_TYPE_API = 1; // TOKEN_TYPE_USER is a token to access the api with cli, a web application or other user induced actions. TOKEN_TYPE_USER = 2; } -// TokenServiceCreateRequest is the request payload to create a token +// TokenServiceCreateRequest is the request payload to create a token. message TokenServiceCreateRequest { - // Description of the token + // Description of the token. string description = 1 [(buf.validate.field).string.(metalstack.api.v2.is_description) = true]; - // Permissions is a list of service methods this token can be used for + // Permissions is a list of service methods this token can be used for. repeated PermissionsByVisibility permissions = 2 [(buf.validate.field).repeated.max_items = 100]; - // Expires gives the duration since now, after which this token can not be used anymore + // Expires gives the duration since now, after which this token can not be used anymore. google.protobuf.Duration expires = 3 [(buf.validate.field).duration = { - // Max token lifetime is one year + // Max token lifetime is one year. lt: {seconds: 31536001} gte: {seconds: 600} }]; - // ProjectRoles associates a project id with the corresponding role of the token owner + // ProjectRoles associates a project id with the corresponding role of the token owner. map project_roles = 4 [ (buf.validate.field).map.(metalstack.api.v2.project_roles_keys_valid) = true, (buf.validate.field).map.values = { @@ -134,7 +134,7 @@ message TokenServiceCreateRequest { }, (buf.validate.field).map.(metalstack.api.v2.keys_trimmed) = true ]; - // TenantRoles associates a tenant id with the corresponding role of the token owner + // TenantRoles associates a tenant id with the corresponding role of the token owner. map tenant_roles = 5 [ (buf.validate.field).map.(metalstack.api.v2.tenant_roles_keys_valid) = true, (buf.validate.field).map.values = { @@ -142,11 +142,11 @@ message TokenServiceCreateRequest { }, (buf.validate.field).map.(metalstack.api.v2.keys_trimmed) = true ]; - // AdminRole defines the admin role of the token owner + // AdminRole defines the admin role of the token owner. optional AdminRole admin_role = 6 [(buf.validate.field).enum.defined_only = true]; - // InfraRole defines the infrastructure role of the token owner + // InfraRole defines the infrastructure role of the token owner. optional InfraRole infra_role = 7 [(buf.validate.field).enum.defined_only = true]; - // MachineRoles associates a machine uuid with the corresponding role of the token owner + // MachineRoles associates a machine uuid with the corresponding role of the token owner. map machine_roles = 8 [ (buf.validate.field).map.(metalstack.api.v2.machine_roles_keys_valid) = true, (buf.validate.field).map.values = { @@ -154,136 +154,136 @@ message TokenServiceCreateRequest { }, (buf.validate.field).map.(metalstack.api.v2.keys_trimmed) = true ]; - // Labels on this token + // Labels on this token. Labels labels = 9; } -// MethodPermission is a mapping from a subject/project to a service method +// MethodPermission is a mapping from a subject/project to a service method. message MethodPermission { - // Subject maybe either the project or the tenant - // for which the methods should be allowed + // 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 + // 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. string subject = 1 [(buf.validate.field).string = {max_len: 256}]; - // Methods which should be accessible + // Methods which should be accessible. repeated string methods = 2 [(buf.validate.field).repeated.max_items = 500]; } -// PermissionsByVisibility contains method permissions by visibility +// PermissionsByVisibility contains method permissions by visibility. message PermissionsByVisibility { - // Visibility defines the visibility of the requested method permissions + // Visibility defines the visibility of the requested method permissions. oneof visibility { - // PublicPermissions carries public method permissions + // PublicPermissions carries public method permissions. PublicPermissions public = 1; - // SelfPermissions carries self method permissions + // SelfPermissions carries self method permissions. SelfPermissions self = 2; - // ProjectPermissions carries project method permissions + // ProjectPermissions carries project method permissions. ProjectPermissions project = 3; - // TenantPermissions carries tenant method permissions + // TenantPermissions carries tenant method permissions. TenantPermissions tenant = 4; - // AdminPermissions carries admin method permissions + // AdminPermissions carries admin method permissions. AdminPermissions admin = 5; - // MachinePermissions carries machine method permissions + // MachinePermissions carries machine method permissions. MachinePermissions machine = 6; - // InfraPermissions carries infra method permissions + // InfraPermissions carries infra method permissions. InfraPermissions infra = 7; } } -// PublicPermissions carries public method permissions +// PublicPermissions carries public method permissions. message PublicPermissions { - // Methods which should be accessible + // Methods which should be accessible. repeated string methods = 2 [(buf.validate.field).repeated.max_items = 500]; } -// SelfPermissions carries self method permissions +// SelfPermissions carries self method permissions. message SelfPermissions { - // Methods which should be accessible + // Methods which should be accessible. repeated string methods = 2 [(buf.validate.field).repeated.max_items = 500]; } -// ProjectPermissions carries project method permissions +// ProjectPermissions carries project method permissions. message ProjectPermissions { - // asterisk (*) can be specified to match any subject + // Project scope for the permissions. + // Asterisk (*) can be specified to match any subject. string project = 1 [(buf.validate.field).string.(metalstack.api.v2.is_project_subject_permission) = true]; - // Methods which should be accessible + // Methods which should be accessible. repeated string methods = 2 [(buf.validate.field).repeated.max_items = 500]; } -// TenantPermissions carries tenant method permissions +// TenantPermissions carries tenant method permissions. message TenantPermissions { - // Login of the tenant - // asterisk (*) can be specified to match any subject + // Login of the tenant. + // Asterisk (*) can be specified to match any subject. string login = 1 [(buf.validate.field).string.(metalstack.api.v2.is_tenant_subject_permission) = true]; - // Methods which should be accessible + // Methods which should be accessible. repeated string methods = 2 [(buf.validate.field).repeated.max_items = 500]; } -// AdminPermissions carries admin method permissions +// AdminPermissions carries admin method permissions. message AdminPermissions { - // Methods which should be accessible + // Methods which should be accessible. repeated string methods = 2 [(buf.validate.field).repeated.max_items = 500]; } -// MachinePermissions carries machine method permissions +// MachinePermissions carries machine method permissions. message MachinePermissions { - // UUID of this machine - // asterisk (*) can be specified to match any subject + // UUID of this machine. + // Asterisk (*) can be specified to match any subject. string uuid = 1 [(buf.validate.field).string.(metalstack.api.v2.is_machine_subject_permission) = true]; - // Methods which should be accessible + // Methods which should be accessible. repeated string methods = 2 [(buf.validate.field).repeated.max_items = 500]; } -// InfraPermissions carries infra method permissions +// InfraPermissions carries infra method permissions. message InfraPermissions { - // Methods which should be accessible + // Methods which should be accessible. repeated string methods = 2 [(buf.validate.field).repeated.max_items = 500]; } -// TokenServiceCreateResponse is the response payload of a token create request +// TokenServiceCreateResponse is the response payload of a token create request. message TokenServiceCreateResponse { - // Token which was created + // Token which was created. Token token = 1; - // Secret is the body of the JWT token, should be used in API requests as bearer token + // Secret is the body of the JWT token, should be used in API requests as bearer token. string secret = 2; } -// TokenServiceListRequest is the request payload to list tokens +// TokenServiceListRequest is the request payload to list tokens. message TokenServiceListRequest { - // Query for tokens + // Query for tokens. TokenQuery query = 1; } -// TokenServiceListResponse is the response payload of a token list request +// TokenServiceListResponse is the response payload of a token list request. message TokenServiceListResponse { - // Tokens is a list of tokens without the secrets + // Tokens is a list of tokens without the secrets. repeated Token tokens = 1; } -// TokenServiceRevokeRequest is the request payload of a token revoke request +// TokenServiceRevokeRequest is the request payload of a token revoke request. message TokenServiceRevokeRequest { - // Uuid of the token to revoke + // Uuid of the token to revoke. string uuid = 1 [(buf.validate.field).string.uuid = true]; } -// TokenServiceRevokeResponse is the response payload of a token revoke request +// TokenServiceRevokeResponse is the response payload of a token revoke request. message TokenServiceRevokeResponse {} -// TokenServiceUpdateRequest is the request payload of a token update request +// TokenServiceUpdateRequest is the request payload of a token update request. message TokenServiceUpdateRequest { - // Uuid of the token to update + // Uuid of the token to update. string uuid = 1 [(buf.validate.field).string.uuid = true]; - // UpdateMeta contains the timestamp and strategy to be used in this update request - // TokenUpdate is not guarded with optlock in the backend + // UpdateMeta contains the timestamp and strategy to be used in this update request. + // TokenUpdate is not guarded with optlock in the backend. UpdateMeta update_meta = 2 [(buf.validate.field).required = false]; // Description is a user given description of this token. optional string description = 3 [(buf.validate.field).string.(metalstack.api.v2.is_description) = true]; - // Permissions is a list of service methods this token can be used for + // Permissions is a list of service methods this token can be used for. repeated PermissionsByVisibility permissions = 4; - // ProjectRoles associates a project id with the corresponding role of the token owner + // ProjectRoles associates a project id with the corresponding role of the token owner. map project_roles = 5 [ (buf.validate.field).map.(metalstack.api.v2.project_roles_keys_valid) = true, (buf.validate.field).map.values = { @@ -291,7 +291,7 @@ message TokenServiceUpdateRequest { }, (buf.validate.field).map.(metalstack.api.v2.keys_trimmed) = true ]; - // TenantRoles associates a tenant id with the corresponding role of the token owner + // TenantRoles associates a tenant id with the corresponding role of the token owner. map tenant_roles = 6 [ (buf.validate.field).map.(metalstack.api.v2.tenant_roles_keys_valid) = true, (buf.validate.field).map.values = { @@ -299,11 +299,11 @@ message TokenServiceUpdateRequest { }, (buf.validate.field).map.(metalstack.api.v2.keys_trimmed) = true ]; - // AdminRole defines the admin role of the token owner + // AdminRole defines the admin role of the token owner. optional AdminRole admin_role = 7 [(buf.validate.field).enum.defined_only = true]; - // InfraRole defines the infrastructure role of the token owner + // InfraRole defines the infrastructure role of the token owner. optional InfraRole infra_role = 8 [(buf.validate.field).enum.defined_only = true]; - // MachineRoles associates a machine uuid with the corresponding role of the token owner + // MachineRoles associates a machine uuid with the corresponding role of the token owner. map machine_roles = 9 [ (buf.validate.field).map.(metalstack.api.v2.machine_roles_keys_valid) = true, (buf.validate.field).map.values = { @@ -311,52 +311,52 @@ message TokenServiceUpdateRequest { }, (buf.validate.field).map.(metalstack.api.v2.keys_trimmed) = true ]; - // Labels on this token + // Labels on this token. UpdateLabels labels = 10; } -// TokenServiceUpdateResponse is the response payload of a token update request +// TokenServiceUpdateResponse is the response payload of a token update request. message TokenServiceUpdateResponse { - // Token is the updated token + // Token is the updated token. Token token = 1; } -// TokenServiceGetRequest is the request payload of a token get request +// TokenServiceGetRequest is the request payload of a token get request. message TokenServiceGetRequest { - // Uuid of the token to get + // Uuid of the token to get. string uuid = 1 [(buf.validate.field).string.uuid = true]; } -// TokenServiceGetResponse is the response payload of a token get request +// TokenServiceGetResponse is the response payload of a token get request. message TokenServiceGetResponse { - // Token is the token + // Token is the token. Token token = 1; } -// TokenServiceRefreshRequest is the request payload of a token refresh request +// 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) +// The expiration duration will be calculated from the existing token (exp - iat). message TokenServiceRefreshRequest {} -// TokenServiceRefreshResponse is the response payload of a token refresh request +// TokenServiceRefreshResponse is the response payload of a token refresh request. message TokenServiceRefreshResponse { - // Token which was refreshed + // Token which was refreshed. Token token = 1; - // Secret is the body of the JWT token, should be used in API requests as bearer token + // Secret is the body of the JWT token, should be used in API requests as bearer token. string secret = 2; } -// TokenQuery is used to search tokens +// TokenQuery is used to search tokens. message TokenQuery { - // UUID of the token to get + // UUID of the token to get. optional string uuid = 1 [(buf.validate.field).string.uuid = true]; - // Name of the token user to query + // Name of the token user to query. // Only useful for admins. optional string user = 2 [(buf.validate.field).string.(metalstack.api.v2.is_user) = true]; - // Description of the token to query + // Description of the token to query. optional string description = 3 [(buf.validate.field).string.(metalstack.api.v2.is_description) = true]; - // Labels lists only tokens containing the given labels + // Labels lists only tokens containing the given labels. optional Labels labels = 4; - // Token type of the token to query + // Token type of the token to query. optional TokenType token_type = 5 [(buf.validate.field).enum.defined_only = true]; } diff --git a/proto/metalstack/api/v2/user.proto b/proto/metalstack/api/v2/user.proto index 5be7159b..5b15947f 100644 --- a/proto/metalstack/api/v2/user.proto +++ b/proto/metalstack/api/v2/user.proto @@ -19,19 +19,19 @@ service UserService { // User represents an end user of the platform. message User { - // Login is the login at the provider + // Login is the login at the provider. string login = 1 [(buf.validate.field).string.(metalstack.api.v2.is_tenant_login) = true]; - // Name of the user + // Name of the user. string name = 2 [(buf.validate.field).string.(metalstack.api.v2.is_name) = true]; - // Email of the user + // Email of the user. string email = 3 [(buf.validate.field).string.email = true]; - // AvatarUrl of the user + // AvatarUrl of the user. string avatar_url = 4 [(buf.validate.field).string.(metalstack.api.v2.is_uri) = true]; - // Tenants the user belongs to + // Tenants the user belongs to. repeated Tenant tenants = 5; - // Projects the user belongs to + // Projects the user belongs to. repeated Project projects = 6; - // DefaultTenant the default tenant that this user belongs to + // DefaultTenant the default tenant that this user belongs to. Tenant default_tenant = 7; } @@ -40,6 +40,6 @@ message UserServiceGetRequest {} // UserServiceGetResponse is the response payload for getting the user. message UserServiceGetResponse { - // User contains the authenticated user + // User contains the authenticated user. User user = 1; } diff --git a/proto/metalstack/api/v2/version.proto b/proto/metalstack/api/v2/version.proto index beb0c2e9..8b695604 100644 --- a/proto/metalstack/api/v2/version.proto +++ b/proto/metalstack/api/v2/version.proto @@ -17,13 +17,13 @@ service VersionService { // Version represents the version of the application. message Version { - // Version of the application + // Version of the application. string version = 1 [(buf.validate.field).string.(metalstack.api.v2.is_description) = true]; - // Revision of the application + // Revision of the application. string revision = 2 [(buf.validate.field).string.(metalstack.api.v2.is_description) = true]; - // GitSHA1 of the application + // GitSHA1 of the application. string git_sha1 = 3 [(buf.validate.field).string.(metalstack.api.v2.is_description) = true]; - // BuildDate of the application + // BuildDate of the application. string build_date = 4 [(buf.validate.field).string.(metalstack.api.v2.is_description) = true]; } @@ -32,6 +32,6 @@ message VersionServiceGetRequest {} // VersionServiceGetResponse is the response payload for getting the version. message VersionServiceGetResponse { - // Version contains the version of the application + // Version contains the version of the application. Version version = 1; } diff --git a/proto/metalstack/api/v2/vpn.proto b/proto/metalstack/api/v2/vpn.proto index 46788808..85f2ef8a 100644 --- a/proto/metalstack/api/v2/vpn.proto +++ b/proto/metalstack/api/v2/vpn.proto @@ -8,16 +8,16 @@ import "metalstack/api/v2/predefined_rules.proto"; // VPNNode represents a machine connected to the VPN. message VPNNode { - // ID of this node + // ID of this node. uint64 id = 1; - // Name of this node + // Name of this node. string name = 2 [(buf.validate.field).string.(metalstack.api.v2.is_name) = true]; - // Project of this node, maps to a project + // Project of this node, maps to a project. string project = 3 [(buf.validate.field).string.(metalstack.api.v2.is_name) = true]; - // IPAddresses of this node in the VPN + // IPAddresses of this node in the VPN. repeated string ip_addresses = 4 [(buf.validate.field).repeated.(metalstack.api.v2.ips) = true]; - // LastSeen timestamp when this node reached out to the control plane + // LastSeen timestamp when this node reached out to the control plane. google.protobuf.Timestamp last_seen = 5; - // Online indicates if this node is online + // Online indicates if this node is online. bool online = 6; } diff --git a/proto/metalstack/infra/v2/bmc.proto b/proto/metalstack/infra/v2/bmc.proto index 41491259..16464fe2 100644 --- a/proto/metalstack/infra/v2/bmc.proto +++ b/proto/metalstack/infra/v2/bmc.proto @@ -28,9 +28,9 @@ service BMCService { // UpdateBMCInfoRequest is the request payload for updating BMC information. message UpdateBMCInfoRequest { - // Partition is the partition ID where metal-bmc wants to receive events + // Partition is the partition ID where metal-bmc wants to receive events. string partition = 1 [(buf.validate.field).string.(metalstack.api.v2.is_partition) = true]; - // BmcReports maps the BMC report per machine UUID + // BmcReports maps the BMC report per machine UUID. map bmc_reports = 2 [(buf.validate.field).map = { keys: { string: {uuid: true} @@ -40,37 +40,37 @@ message UpdateBMCInfoRequest { // UpdateBMCInfoResponse is the response payload for updating BMC information. message UpdateBMCInfoResponse { - // UpdatedMachines is a slice of machine UUIDs which were updated + // UpdatedMachines is a slice of machine UUIDs which were updated. repeated string updated_machines = 1; - // CreatedMachines is a slice of machine UUIDs which were created + // CreatedMachines is a slice of machine UUIDs which were created. repeated string created_machines = 2; } // WaitForBMCCommandRequest is the request payload for waiting for a BMC command. message WaitForBMCCommandRequest { - // Partition is the partition ID where metal-bmc wants to receive BMC commands + // Partition is the partition ID where metal-bmc wants to receive BMC commands. string partition = 1 [(buf.validate.field).string.(metalstack.api.v2.is_partition) = true]; } // WaitForBMCCommandResponse is the response payload for waiting for a BMC command. message WaitForBMCCommandResponse { - // UUID of the machine to send the command to + // UUID of the machine to send the command to. string uuid = 1 [(buf.validate.field).string.uuid = true]; - // BmcCommand to execute against the BMC of the machine + // BmcCommand to execute against the BMC of the machine. metalstack.api.v2.MachineBMCCommand bmc_command = 2; - // MachineBmc contains connection details of the machine to issue the BMC command to + // MachineBmc contains connection details of the machine to issue the BMC command to. metalstack.api.v2.MachineBMC machine_bmc = 3; - // CommandId is a unique ID which must be sent back after execution - // It is usually in the form: :machine-bmc-command: + // CommandId is a unique ID which must be sent back after execution. + // It is usually in the form: :machine-bmc-command:. string command_id = 4; } // BMCCommandDoneRequest must be returned after command execution. message BMCCommandDoneRequest { - // CommandId is a unique ID which must be sent back after execution - // It is usually in the form: :machine-bmc-command + // CommandId is a unique ID which must be sent back after execution. + // It is usually in the form: :machine-bmc-command. string command_id = 1; - // Error of the command execution, nil if it was successful + // Error of the command execution, nil if it was successful. optional string error = 2; } diff --git a/proto/metalstack/infra/v2/boot.proto b/proto/metalstack/infra/v2/boot.proto index 53973784..7e183517 100644 --- a/proto/metalstack/infra/v2/boot.proto +++ b/proto/metalstack/infra/v2/boot.proto @@ -46,102 +46,102 @@ service BootService { } } -// BootServiceDhcpRequest is called once a machine issues a dhcp request +// BootServiceDhcpRequest is called once a machine issues a dhcp request. message BootServiceDhcpRequest { - // UUID of the machine + // UUID of the machine. string uuid = 1 [(buf.validate.field).string.uuid = true]; - // Partition where this machine is located + // Partition where this machine is located. string partition = 2 [(buf.validate.field).string.(metalstack.api.v2.is_partition) = true]; } -// BootServiceDhcpResponse contains the response to a dhcp request +// BootServiceDhcpResponse contains the response to a dhcp request. message BootServiceDhcpResponse {} -// BootServiceBootRequest is called to get specified parameters to boot a machine with the given mac +// BootServiceBootRequest is called to get specified parameters to boot a machine with the given mac. message BootServiceBootRequest { - // Mac address of the machine + // Mac address of the machine. string mac = 1 [(buf.validate.field).string.(metalstack.api.v2.macaddress) = true]; - // Partition where this machine is located + // Partition where this machine is located. string partition = 2 [(buf.validate.field).string.(metalstack.api.v2.is_partition) = true]; } -// BootServiceBootResponse contains additional infos which are required to boot a machine +// BootServiceBootResponse contains additional infos which are required to boot a machine. message BootServiceBootResponse { - // Kernel is the url to the linux kernel to boot + // Kernel is the url to the linux kernel to boot. string kernel = 1 [(buf.validate.field).string.(metalstack.api.v2.is_uri) = true]; - // Initial ram disk is the url to the initial ram disk to boot + // Initial ram disk is the url to the initial ram disk to boot. repeated string init_ram_disks = 2; - // CMDLine contains kernel command line parameters to boot + // CMDLine contains kernel command line parameters to boot. optional string cmdline = 3 [(buf.validate.field).string.(metalstack.api.v2.is_description) = true]; } -// BootServiceRegisterRequest is called from metal-hammer to register a machine with as much hardware details as possible +// BootServiceRegisterRequest is called from metal-hammer to register a machine with as much hardware details as possible. message BootServiceRegisterRequest { - // UUID of this machine + // UUID of this machine. string uuid = 1 [(buf.validate.field).string.uuid = true]; - // Hardware details of this machine + // Hardware details of this machine. metalstack.api.v2.MachineHardware hardware = 2; - // Bios details of this machine + // Bios details of this machine. metalstack.api.v2.MachineBios bios = 3; - // BMC details of this machine + // BMC details of this machine. metalstack.api.v2.MachineBMC bmc = 4; - // FRU details of this machine + // FRU details of this machine. metalstack.api.v2.MachineFRU fru = 5; - // Tags of this machine + // Tags of this machine. repeated string tags = 6; - // MetalHammer version this machine was booted into + // MetalHammer version this machine was booted into. string metal_hammer_version = 7 [(buf.validate.field).string.(metalstack.api.v2.is_description) = true]; - // Partition where this machine is located + // Partition where this machine is located. string partition = 8 [(buf.validate.field).string.(metalstack.api.v2.is_partition) = true]; } -// BootServiceRegisterResponse response to a BootServiceRegisterResponse request +// BootServiceRegisterResponse response to a BootServiceRegisterResponse request. message BootServiceRegisterResponse { - // UUID of this machine + // UUID of this machine. string uuid = 1 [(buf.validate.field).string.uuid = true]; - // Size is the calculated size from given hardware details + // Size is the calculated size from given hardware details. string size = 2 [(buf.validate.field).string.(metalstack.api.v2.is_description) = true]; - // Partition of this machine + // Partition of this machine. string partition = 3 [(buf.validate.field).string.(metalstack.api.v2.is_partition) = true]; } -// BootServiceWaitRequest is called when a machine was registered and is waiting for allocation +// BootServiceWaitRequest is called when a machine was registered and is waiting for allocation. message BootServiceWaitRequest { - // UUID of this machine + // UUID of this machine. string uuid = 1 [(buf.validate.field).string.uuid = true]; } -// BootServiceWaitResponse response to a wait request +// BootServiceWaitResponse response to a wait request. message BootServiceWaitResponse { - // Allocation contains the machine.allocation to actually install the machine + // Allocation contains the machine.allocation to actually install the machine. metalstack.api.v2.MachineAllocation allocation = 1; } -// BootServiceInstallationSucceededRequest is sent from metal-hammer to the api to report the installation succeeded +// BootServiceInstallationSucceededRequest is sent from metal-hammer to the api to report the installation succeeded. message BootServiceInstallationSucceededRequest { - // UUID of the machine to boot + // UUID of the machine to boot. string uuid = 1 [(buf.validate.field).string.uuid = true]; - // ConsolePassword + // ConsolePassword. string console_password = 2 [(buf.validate.field).string = { min_len: 2 max_len: 128 }]; } -// BootServiceInstallationSucceededResponse is the response to a BootServiceInstallationSucceededRequest +// BootServiceInstallationSucceededResponse is the response to a BootServiceInstallationSucceededRequest. message BootServiceInstallationSucceededResponse {} -// BootServiceSuperUserPasswordRequest this call returns the password for the machine superuser +// BootServiceSuperUserPasswordRequest this call returns the password for the machine superuser. message BootServiceSuperUserPasswordRequest { - // UUID of this machine + // UUID of this machine. string uuid = 1 [(buf.validate.field).string.uuid = true]; } -// BootServiceSuperUserPasswordResponse the super user password is returned +// BootServiceSuperUserPasswordResponse the super user password is returned. message BootServiceSuperUserPasswordResponse { // FeatureDisabled on set the superuserpassword in the bmc if this feature is not disabled. bool feature_disabled = 1; - // SuperUserPassword is the password of the superuser on the ipmi device + // SuperUserPassword is the password of the superuser on the ipmi device. string super_user_password = 2 [(buf.validate.field).string = { min_len: 2 max_len: 128 diff --git a/proto/metalstack/infra/v2/component.proto b/proto/metalstack/infra/v2/component.proto index 204ecad2..48164975 100644 --- a/proto/metalstack/infra/v2/component.proto +++ b/proto/metalstack/infra/v2/component.proto @@ -21,18 +21,18 @@ service ComponentService { // ComponentServicePingRequest is the request payload for pinging a microservice. message ComponentServicePingRequest { - // Type defines which service is actually pinging + // Type defines which service is actually pinging. metalstack.api.v2.ComponentType type = 1 [(buf.validate.field).enum.defined_only = true]; - // Identifier is a unique identifier of this service, for example if two instances are running, this might be the pod ID + // Identifier is a unique identifier of this service, for example if two instances are running, this might be the pod ID. string identifier = 2 [(buf.validate.field).string.(metalstack.api.v2.is_name) = true]; - // StartedAt is the timestamp this service was started + // StartedAt is the timestamp this service was started. google.protobuf.Timestamp started_at = 3 [(buf.validate.field).timestamp.lt_now = true]; - // Interval at which the ping is scheduled, must be between 5 seconds and 1 hour + // Interval at which the ping is scheduled, must be between 5 seconds and 1 hour. google.protobuf.Duration interval = 4 [(buf.validate.field).duration = { gte: {seconds: 5} lte: {seconds: 3600} }]; - // Version of this service + // Version of this service. metalstack.api.v2.Version version = 5; } diff --git a/proto/metalstack/infra/v2/event.proto b/proto/metalstack/infra/v2/event.proto index 48fcd30b..07741c77 100644 --- a/proto/metalstack/infra/v2/event.proto +++ b/proto/metalstack/infra/v2/event.proto @@ -16,14 +16,14 @@ service EventService { // EventServiceSendRequest is the request payload for sending provisioning events. message EventServiceSendRequest { - // Events grouped by machine IDs + // Events grouped by machine IDs. map events = 1; } // EventServiceSendResponse is the response payload for sending provisioning events. message EventServiceSendResponse { - // Events counts the number of events successfully stored in the database + // Events counts the number of events successfully stored in the database. uint64 events = 1; - // Failed contains IDs of all machines whose events could not be stored in the database + // Failed contains IDs of all machines whose events could not be stored in the database. repeated string failed = 2; } diff --git a/proto/metalstack/infra/v2/switch.proto b/proto/metalstack/infra/v2/switch.proto index c9e90481..cfa30660 100644 --- a/proto/metalstack/infra/v2/switch.proto +++ b/proto/metalstack/infra/v2/switch.proto @@ -30,7 +30,7 @@ service SwitchService { // SwitchServiceGetRequest is the request payload for getting a switch. message SwitchServiceGetRequest { - // Id of the switch + // Id of the switch. string id = 1 [(buf.validate.field).string = { hostname: true [metalstack.api.v2.is_name]: true @@ -39,45 +39,45 @@ message SwitchServiceGetRequest { // SwitchServiceGetResponse is the response payload for getting a switch. message SwitchServiceGetResponse { - // Switch contains the requested switch + // Switch contains the requested switch. metalstack.api.v2.Switch switch = 1; } // SwitchServiceRegisterRequest is the request payload for registering a switch. message SwitchServiceRegisterRequest { - // Switch to register + // Switch to register. metalstack.api.v2.Switch switch = 1; } // SwitchServiceRegisterResponse is the response payload for registering a switch. message SwitchServiceRegisterResponse { - // Switch contains the registered switch + // Switch contains the registered switch. metalstack.api.v2.Switch switch = 1; } // SwitchServiceHeartbeatRequest is the request payload for sending a switch heartbeat. message SwitchServiceHeartbeatRequest { - // Id of the switch + // Id of the switch. string id = 1 [(buf.validate.field).string = { hostname: true [metalstack.api.v2.is_name]: true }]; - // Duration of the sync + // Duration of the sync. google.protobuf.Duration duration = 2; - // Error if any occurred during the sync + // Error if any occurred during the sync. optional string error = 3; - // PortStates maps port identifiers to the respective port's operational state + // PortStates maps port identifiers to the respective port's operational state. map port_states = 4; - // BgpPortStates maps port identifiers to the respective port's BGP state + // BgpPortStates maps port identifiers to the respective port's BGP state. map bgp_port_states = 5; } // SwitchServiceHeartbeatResponse is the response payload for sending a switch heartbeat. message SwitchServiceHeartbeatResponse { - // Id of the switch + // Id of the switch. string id = 1; - // LastSync holds information about the last sync + // LastSync holds information about the last sync. metalstack.api.v2.SwitchSync last_sync = 2; - // LastSyncError holds information about the last erroneous sync + // LastSyncError holds information about the last erroneous sync. metalstack.api.v2.SwitchSync last_sync_error = 3; }
metalstack.api.v2.MachineAllocation

Allocation contains the machine.allocation to actually install the machine

Allocation contains the machine.allocation to actually install the machine.

type metalstack.api.v2.ComponentType

Type defines which service is actually pinging

Type defines which service is actually pinging.

identifier string

Identifier is a unique identifier of this service, for example if two instances are running, this might be the pod ID

Identifier is a unique identifier of this service, for example if two instances are running, this might be the pod ID.

started_at google.protobuf.Timestamp

StartedAt is the timestamp this service was started

StartedAt is the timestamp this service was started.

interval google.protobuf.Duration

Interval at which the ping is scheduled, must be between 5 seconds and 1 hour

Interval at which the ping is scheduled, must be between 5 seconds and 1 hour.

version metalstack.api.v2.Version

Version of this service

Version of this service.

EventServiceSendRequest.EventsEntry repeated

Events grouped by machine IDs

Events grouped by machine IDs.

uint64

Events counts the number of events successfully stored in the database

Events counts the number of events successfully stored in the database.

failed string repeated

Failed contains IDs of all machines whose events could not be stored in the database

Failed contains IDs of all machines whose events could not be stored in the database.

string

Id of the switch

Id of the switch.

metalstack.api.v2.Switch

Switch contains the requested switch

Switch contains the requested switch.

id string

Id of the switch

Id of the switch.

duration google.protobuf.Duration

Duration of the sync

Duration of the sync.

error string optional

Error if any occurred during the sync

Error if any occurred during the sync.

port_states SwitchServiceHeartbeatRequest.PortStatesEntry repeated

PortStates maps port identifiers to the respective port's operational state

PortStates maps port identifiers to the respective port's operational state.

bgp_port_states SwitchServiceHeartbeatRequest.BgpPortStatesEntry repeated

BgpPortStates maps port identifiers to the respective port's BGP state

BgpPortStates maps port identifiers to the respective port's BGP state.

id string

Id of the switch

Id of the switch.

last_sync metalstack.api.v2.SwitchSync

LastSync holds information about the last sync

LastSync holds information about the last sync.

last_sync_error metalstack.api.v2.SwitchSync

LastSyncError holds information about the last erroneous sync

LastSyncError holds information about the last erroneous sync.

switch metalstack.api.v2.Switch

Switch to register

Switch to register.

switch metalstack.api.v2.Switch

Switch contains the registered switch

Switch contains the registered switch.