serviceaccountsv1

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2024 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_iam_service_accounts_v1_access_key_proto protoreflect.FileDescriptor
View Source
var File_iam_service_accounts_v1_access_keys_proto protoreflect.FileDescriptor
View Source
var File_iam_service_accounts_v1_service_account_proto protoreflect.FileDescriptor
View Source
var File_iam_service_accounts_v1_service_accounts_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AccessKey

type AccessKey struct {

	// UserID - id ключа
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// ServiceAccountID - идентификатор сервисного аккаунта
	ServiceAccountId string `protobuf:"bytes,5,opt,name=service_account_id,json=serviceAccountId,proto3" json:"service_account_id,omitempty"`
	// Description - описание
	Description string `protobuf:"bytes,10,opt,name=description,proto3" json:"description,omitempty"`
	// KeyID - логин для получения токена
	KeyId string `protobuf:"bytes,15,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"` // @gotags: secret:"true"
	// CreatedAt - дата создания записи
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,25,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// ExpiredAt - дата истечения действия ключа
	ExpiredAt *timestamppb.Timestamp `protobuf:"bytes,26,opt,name=expired_at,json=expiredAt,proto3" json:"expired_at,omitempty"`
	// contains filtered or unexported fields
}

AccessKeyWithoutSecret - ключ доступа без секрета

func (*AccessKey) Descriptor deprecated

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

Deprecated: Use AccessKey.ProtoReflect.Descriptor instead.

func (*AccessKey) GetCreatedAt

func (x *AccessKey) GetCreatedAt() *timestamppb.Timestamp

func (*AccessKey) GetDescription

func (x *AccessKey) GetDescription() string

func (*AccessKey) GetExpiredAt

func (x *AccessKey) GetExpiredAt() *timestamppb.Timestamp

func (*AccessKey) GetId

func (x *AccessKey) GetId() string

func (*AccessKey) GetKeyId

func (x *AccessKey) GetKeyId() string

func (*AccessKey) GetServiceAccountId

func (x *AccessKey) GetServiceAccountId() string

func (*AccessKey) ProtoMessage

func (*AccessKey) ProtoMessage()

func (*AccessKey) ProtoReflect

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

func (*AccessKey) Reset

func (x *AccessKey) Reset()

func (*AccessKey) String

func (x *AccessKey) String() string

func (*AccessKey) Validate

func (m *AccessKey) Validate() error

Validate checks the field values on AccessKey with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*AccessKey) ValidateAll

func (m *AccessKey) ValidateAll() error

ValidateAll checks the field values on AccessKey with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AccessKeyMultiError, or nil if none found.

type AccessKeyCredentialsServiceClient

type AccessKeyCredentialsServiceClient interface {
	// Add добавляет ключ доступа сервисного аккаунта
	Add(ctx context.Context, in *AddAccessKeyRequest, opts ...grpc.CallOption) (*AddAccessKeyResponse, error)
	// Get возвращает информацию о ключе доступа по id для сервисного аккаунта
	Get(ctx context.Context, in *GetAccessKeyRequest, opts ...grpc.CallOption) (*GetAccessKeyResponse, error)
	// List возвращает список ключей доступа для сервисного аккаунта
	List(ctx context.Context, in *ListAccessKeyRequest, opts ...grpc.CallOption) (*ListAccessKeyResponse, error)
	// Delete удаляет ключ доступа по id ключа для сервисного аккаунта
	Delete(ctx context.Context, in *DeleteAccessKeyRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
}

AccessKeyCredentialsServiceClient is the client API for AccessKeyCredentialsService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type AccessKeyMultiError

type AccessKeyMultiError []error

AccessKeyMultiError is an error wrapping multiple validation errors returned by AccessKey.ValidateAll() if the designated constraints aren't met.

func (AccessKeyMultiError) AllErrors

func (m AccessKeyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AccessKeyMultiError) Error

func (m AccessKeyMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type AccessKeyValidationError

type AccessKeyValidationError struct {
	// contains filtered or unexported fields
}

AccessKeyValidationError is the validation error returned by AccessKey.Validate if the designated constraints aren't met.

func (AccessKeyValidationError) Cause

func (e AccessKeyValidationError) Cause() error

Cause function returns cause value.

func (AccessKeyValidationError) Error

func (e AccessKeyValidationError) Error() string

Error satisfies the builtin error interface

func (AccessKeyValidationError) ErrorName

func (e AccessKeyValidationError) ErrorName() string

ErrorName returns error name.

func (AccessKeyValidationError) Field

func (e AccessKeyValidationError) Field() string

Field function returns field value.

func (AccessKeyValidationError) Key

Key function returns key value.

func (AccessKeyValidationError) Reason

func (e AccessKeyValidationError) Reason() string

Reason function returns reason value.

type AddAccessKeyRequest

type AddAccessKeyRequest struct {

	// ServiceAccountID - идентификатор сервисного аккаунта
	ServiceAccountId string `protobuf:"bytes,1,opt,name=service_account_id,json=serviceAccountId,proto3" json:"service_account_id,omitempty"`
	// Description - описание
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// Ttl - время жизни ключа. Указывается в формате
	// duration, например:
	//  - 5h - 5 часов
	//  - 1m - 1 минута
	//  - 10s - 10 секунд
	//
	// h - часы
	// m - минуты
	// s - секунды
	Ttl string `protobuf:"bytes,5,opt,name=ttl,proto3" json:"ttl,omitempty"`
	// contains filtered or unexported fields
}

AddAccessKeyRequest - запрос на добавление ключа доступа для сервисного аккаунта

func (*AddAccessKeyRequest) Descriptor deprecated

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

Deprecated: Use AddAccessKeyRequest.ProtoReflect.Descriptor instead.

func (*AddAccessKeyRequest) GetDescription

func (x *AddAccessKeyRequest) GetDescription() string

func (*AddAccessKeyRequest) GetServiceAccountId

func (x *AddAccessKeyRequest) GetServiceAccountId() string

func (*AddAccessKeyRequest) GetTtl

func (x *AddAccessKeyRequest) GetTtl() string

func (*AddAccessKeyRequest) ProtoMessage

func (*AddAccessKeyRequest) ProtoMessage()

func (*AddAccessKeyRequest) ProtoReflect

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

func (*AddAccessKeyRequest) Reset

func (x *AddAccessKeyRequest) Reset()

func (*AddAccessKeyRequest) String

func (x *AddAccessKeyRequest) String() string

func (*AddAccessKeyRequest) Validate

func (m *AddAccessKeyRequest) Validate() error

Validate checks the field values on AddAccessKeyRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*AddAccessKeyRequest) ValidateAll

func (m *AddAccessKeyRequest) ValidateAll() error

ValidateAll checks the field values on AddAccessKeyRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AddAccessKeyRequestMultiError, or nil if none found.

type AddAccessKeyRequestMultiError

type AddAccessKeyRequestMultiError []error

AddAccessKeyRequestMultiError is an error wrapping multiple validation errors returned by AddAccessKeyRequest.ValidateAll() if the designated constraints aren't met.

func (AddAccessKeyRequestMultiError) AllErrors

func (m AddAccessKeyRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AddAccessKeyRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type AddAccessKeyRequestValidationError

type AddAccessKeyRequestValidationError struct {
	// contains filtered or unexported fields
}

AddAccessKeyRequestValidationError is the validation error returned by AddAccessKeyRequest.Validate if the designated constraints aren't met.

func (AddAccessKeyRequestValidationError) Cause

Cause function returns cause value.

func (AddAccessKeyRequestValidationError) Error

Error satisfies the builtin error interface

func (AddAccessKeyRequestValidationError) ErrorName

ErrorName returns error name.

func (AddAccessKeyRequestValidationError) Field

Field function returns field value.

func (AddAccessKeyRequestValidationError) Key

Key function returns key value.

func (AddAccessKeyRequestValidationError) Reason

Reason function returns reason value.

type AddAccessKeyResponse

type AddAccessKeyResponse struct {

	// UserID - id ключа
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// ServiceAccountID - идентификатор сервисного аккаунта
	ServiceAccountId string `protobuf:"bytes,5,opt,name=service_account_id,json=serviceAccountId,proto3" json:"service_account_id,omitempty"`
	// Description - описание
	Description string `protobuf:"bytes,10,opt,name=description,proto3" json:"description,omitempty"`
	// KeyID - логин для получения токена
	KeyId string `protobuf:"bytes,15,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"` // @gotags: secret:"true"
	// Secret - зашифрованная строка.
	// Пароль для получения токена.
	// Deprecated секрет отображается только при создании ключа
	Secret string `protobuf:"bytes,20,opt,name=secret,proto3" json:"secret,omitempty"` // @gotags: secret:"true"
	// CreatedAt - дата создания записи
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,25,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// ExpiredAt - дата истечения действия ключа
	ExpiredAt *timestamppb.Timestamp `protobuf:"bytes,26,opt,name=expired_at,json=expiredAt,proto3" json:"expired_at,omitempty"`
	// contains filtered or unexported fields
}

AddAccessKeyResponse ответ на запрос добавления ключа доступа

func (*AddAccessKeyResponse) Descriptor deprecated

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

Deprecated: Use AddAccessKeyResponse.ProtoReflect.Descriptor instead.

func (*AddAccessKeyResponse) GetCreatedAt

func (x *AddAccessKeyResponse) GetCreatedAt() *timestamppb.Timestamp

func (*AddAccessKeyResponse) GetDescription

func (x *AddAccessKeyResponse) GetDescription() string

func (*AddAccessKeyResponse) GetExpiredAt

func (x *AddAccessKeyResponse) GetExpiredAt() *timestamppb.Timestamp

func (*AddAccessKeyResponse) GetId

func (x *AddAccessKeyResponse) GetId() string

func (*AddAccessKeyResponse) GetKeyId

func (x *AddAccessKeyResponse) GetKeyId() string

func (*AddAccessKeyResponse) GetSecret

func (x *AddAccessKeyResponse) GetSecret() string

func (*AddAccessKeyResponse) GetServiceAccountId

func (x *AddAccessKeyResponse) GetServiceAccountId() string

func (*AddAccessKeyResponse) ProtoMessage

func (*AddAccessKeyResponse) ProtoMessage()

func (*AddAccessKeyResponse) ProtoReflect

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

func (*AddAccessKeyResponse) Reset

func (x *AddAccessKeyResponse) Reset()

func (*AddAccessKeyResponse) String

func (x *AddAccessKeyResponse) String() string

func (*AddAccessKeyResponse) Validate

func (m *AddAccessKeyResponse) Validate() error

Validate checks the field values on AddAccessKeyResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*AddAccessKeyResponse) ValidateAll

func (m *AddAccessKeyResponse) ValidateAll() error

ValidateAll checks the field values on AddAccessKeyResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AddAccessKeyResponseMultiError, or nil if none found.

type AddAccessKeyResponseMultiError

type AddAccessKeyResponseMultiError []error

AddAccessKeyResponseMultiError is an error wrapping multiple validation errors returned by AddAccessKeyResponse.ValidateAll() if the designated constraints aren't met.

func (AddAccessKeyResponseMultiError) AllErrors

func (m AddAccessKeyResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AddAccessKeyResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type AddAccessKeyResponseValidationError

type AddAccessKeyResponseValidationError struct {
	// contains filtered or unexported fields
}

AddAccessKeyResponseValidationError is the validation error returned by AddAccessKeyResponse.Validate if the designated constraints aren't met.

func (AddAccessKeyResponseValidationError) Cause

Cause function returns cause value.

func (AddAccessKeyResponseValidationError) Error

Error satisfies the builtin error interface

func (AddAccessKeyResponseValidationError) ErrorName

ErrorName returns error name.

func (AddAccessKeyResponseValidationError) Field

Field function returns field value.

func (AddAccessKeyResponseValidationError) Key

Key function returns key value.

func (AddAccessKeyResponseValidationError) Reason

Reason function returns reason value.

type AddServiceAccountRequest

type AddServiceAccountRequest struct {

	// Name - название сервисного аккаунта.
	// Уникально для namespace_id.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// Description - описание
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// ProjectID - id ресурса типа `project`, для которого добавляется сервисный аккаунт
	ProjectId string `protobuf:"bytes,4,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// contains filtered or unexported fields
}

AddServiceAccountRequest - запрос на создание сервисного аккаунта

func (*AddServiceAccountRequest) Descriptor deprecated

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

Deprecated: Use AddServiceAccountRequest.ProtoReflect.Descriptor instead.

func (*AddServiceAccountRequest) GetDescription

func (x *AddServiceAccountRequest) GetDescription() string

func (*AddServiceAccountRequest) GetName

func (x *AddServiceAccountRequest) GetName() string

func (*AddServiceAccountRequest) GetProjectId

func (x *AddServiceAccountRequest) GetProjectId() string

func (*AddServiceAccountRequest) ProtoMessage

func (*AddServiceAccountRequest) ProtoMessage()

func (*AddServiceAccountRequest) ProtoReflect

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

func (*AddServiceAccountRequest) Reset

func (x *AddServiceAccountRequest) Reset()

func (*AddServiceAccountRequest) String

func (x *AddServiceAccountRequest) String() string

func (*AddServiceAccountRequest) Validate

func (m *AddServiceAccountRequest) Validate() error

Validate checks the field values on AddServiceAccountRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*AddServiceAccountRequest) ValidateAll

func (m *AddServiceAccountRequest) ValidateAll() error

ValidateAll checks the field values on AddServiceAccountRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AddServiceAccountRequestMultiError, or nil if none found.

type AddServiceAccountRequestMultiError

type AddServiceAccountRequestMultiError []error

AddServiceAccountRequestMultiError is an error wrapping multiple validation errors returned by AddServiceAccountRequest.ValidateAll() if the designated constraints aren't met.

func (AddServiceAccountRequestMultiError) AllErrors

func (m AddServiceAccountRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AddServiceAccountRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type AddServiceAccountRequestValidationError

type AddServiceAccountRequestValidationError struct {
	// contains filtered or unexported fields
}

AddServiceAccountRequestValidationError is the validation error returned by AddServiceAccountRequest.Validate if the designated constraints aren't met.

func (AddServiceAccountRequestValidationError) Cause

Cause function returns cause value.

func (AddServiceAccountRequestValidationError) Error

Error satisfies the builtin error interface

func (AddServiceAccountRequestValidationError) ErrorName

ErrorName returns error name.

func (AddServiceAccountRequestValidationError) Field

Field function returns field value.

func (AddServiceAccountRequestValidationError) Key

Key function returns key value.

func (AddServiceAccountRequestValidationError) Reason

Reason function returns reason value.

type AddServiceAccountResponse

type AddServiceAccountResponse struct {

	// ServiceAccount созданный сервисный аккаунт
	ServiceAccount *ServiceAccount `protobuf:"bytes,1,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"`
	// contains filtered or unexported fields
}

AddServiceAccountResponse - ответ на запрос добавления сервисного аккаунта

func (*AddServiceAccountResponse) Descriptor deprecated

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

Deprecated: Use AddServiceAccountResponse.ProtoReflect.Descriptor instead.

func (*AddServiceAccountResponse) GetServiceAccount

func (x *AddServiceAccountResponse) GetServiceAccount() *ServiceAccount

func (*AddServiceAccountResponse) ProtoMessage

func (*AddServiceAccountResponse) ProtoMessage()

func (*AddServiceAccountResponse) ProtoReflect

func (*AddServiceAccountResponse) Reset

func (x *AddServiceAccountResponse) Reset()

func (*AddServiceAccountResponse) String

func (x *AddServiceAccountResponse) String() string

func (*AddServiceAccountResponse) Validate

func (m *AddServiceAccountResponse) Validate() error

Validate checks the field values on AddServiceAccountResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*AddServiceAccountResponse) ValidateAll

func (m *AddServiceAccountResponse) ValidateAll() error

ValidateAll checks the field values on AddServiceAccountResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AddServiceAccountResponseMultiError, or nil if none found.

type AddServiceAccountResponseMultiError

type AddServiceAccountResponseMultiError []error

AddServiceAccountResponseMultiError is an error wrapping multiple validation errors returned by AddServiceAccountResponse.ValidateAll() if the designated constraints aren't met.

func (AddServiceAccountResponseMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (AddServiceAccountResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type AddServiceAccountResponseValidationError

type AddServiceAccountResponseValidationError struct {
	// contains filtered or unexported fields
}

AddServiceAccountResponseValidationError is the validation error returned by AddServiceAccountResponse.Validate if the designated constraints aren't met.

func (AddServiceAccountResponseValidationError) Cause

Cause function returns cause value.

func (AddServiceAccountResponseValidationError) Error

Error satisfies the builtin error interface

func (AddServiceAccountResponseValidationError) ErrorName

ErrorName returns error name.

func (AddServiceAccountResponseValidationError) Field

Field function returns field value.

func (AddServiceAccountResponseValidationError) Key

Key function returns key value.

func (AddServiceAccountResponseValidationError) Reason

Reason function returns reason value.

type DeleteAccessKeyRequest

type DeleteAccessKeyRequest struct {

	// UserID - идентификатор ключа
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

DeleteAccessKeyRequest - запрос на удаление ключа доступа по id ключа для сервисного аккаунта

func (*DeleteAccessKeyRequest) Descriptor deprecated

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

Deprecated: Use DeleteAccessKeyRequest.ProtoReflect.Descriptor instead.

func (*DeleteAccessKeyRequest) GetId

func (x *DeleteAccessKeyRequest) GetId() string

func (*DeleteAccessKeyRequest) ProtoMessage

func (*DeleteAccessKeyRequest) ProtoMessage()

func (*DeleteAccessKeyRequest) ProtoReflect

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

func (*DeleteAccessKeyRequest) Reset

func (x *DeleteAccessKeyRequest) Reset()

func (*DeleteAccessKeyRequest) String

func (x *DeleteAccessKeyRequest) String() string

func (*DeleteAccessKeyRequest) Validate

func (m *DeleteAccessKeyRequest) Validate() error

Validate checks the field values on DeleteAccessKeyRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DeleteAccessKeyRequest) ValidateAll

func (m *DeleteAccessKeyRequest) ValidateAll() error

ValidateAll checks the field values on DeleteAccessKeyRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteAccessKeyRequestMultiError, or nil if none found.

type DeleteAccessKeyRequestMultiError

type DeleteAccessKeyRequestMultiError []error

DeleteAccessKeyRequestMultiError is an error wrapping multiple validation errors returned by DeleteAccessKeyRequest.ValidateAll() if the designated constraints aren't met.

func (DeleteAccessKeyRequestMultiError) AllErrors

func (m DeleteAccessKeyRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteAccessKeyRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type DeleteAccessKeyRequestValidationError

type DeleteAccessKeyRequestValidationError struct {
	// contains filtered or unexported fields
}

DeleteAccessKeyRequestValidationError is the validation error returned by DeleteAccessKeyRequest.Validate if the designated constraints aren't met.

func (DeleteAccessKeyRequestValidationError) Cause

Cause function returns cause value.

func (DeleteAccessKeyRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteAccessKeyRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteAccessKeyRequestValidationError) Field

Field function returns field value.

func (DeleteAccessKeyRequestValidationError) Key

Key function returns key value.

func (DeleteAccessKeyRequestValidationError) Reason

Reason function returns reason value.

type DeleteServiceAccountRequest

type DeleteServiceAccountRequest struct {

	// ServiceAccountID - идентификатор сервисного аккаунта
	ServiceAccountId string `protobuf:"bytes,1,opt,name=service_account_id,json=serviceAccountId,proto3" json:"service_account_id,omitempty"`
	// contains filtered or unexported fields
}

DeleteServiceAccountRequest - запрос на удаление сервисного аккаунта

func (*DeleteServiceAccountRequest) Descriptor deprecated

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

Deprecated: Use DeleteServiceAccountRequest.ProtoReflect.Descriptor instead.

func (*DeleteServiceAccountRequest) GetServiceAccountId

func (x *DeleteServiceAccountRequest) GetServiceAccountId() string

func (*DeleteServiceAccountRequest) ProtoMessage

func (*DeleteServiceAccountRequest) ProtoMessage()

func (*DeleteServiceAccountRequest) ProtoReflect

func (*DeleteServiceAccountRequest) Reset

func (x *DeleteServiceAccountRequest) Reset()

func (*DeleteServiceAccountRequest) String

func (x *DeleteServiceAccountRequest) String() string

func (*DeleteServiceAccountRequest) Validate

func (m *DeleteServiceAccountRequest) Validate() error

Validate checks the field values on DeleteServiceAccountRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DeleteServiceAccountRequest) ValidateAll

func (m *DeleteServiceAccountRequest) ValidateAll() error

ValidateAll checks the field values on DeleteServiceAccountRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteServiceAccountRequestMultiError, or nil if none found.

type DeleteServiceAccountRequestMultiError

type DeleteServiceAccountRequestMultiError []error

DeleteServiceAccountRequestMultiError is an error wrapping multiple validation errors returned by DeleteServiceAccountRequest.ValidateAll() if the designated constraints aren't met.

func (DeleteServiceAccountRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (DeleteServiceAccountRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type DeleteServiceAccountRequestValidationError

type DeleteServiceAccountRequestValidationError struct {
	// contains filtered or unexported fields
}

DeleteServiceAccountRequestValidationError is the validation error returned by DeleteServiceAccountRequest.Validate if the designated constraints aren't met.

func (DeleteServiceAccountRequestValidationError) Cause

Cause function returns cause value.

func (DeleteServiceAccountRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteServiceAccountRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteServiceAccountRequestValidationError) Field

Field function returns field value.

func (DeleteServiceAccountRequestValidationError) Key

Key function returns key value.

func (DeleteServiceAccountRequestValidationError) Reason

Reason function returns reason value.

type GetAccessKeyRequest

type GetAccessKeyRequest struct {

	// UserID - идентификатор ключа
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

GetByIDRequest - запрос ключа доступа по id ключа для сервисного аккаунта

func (*GetAccessKeyRequest) Descriptor deprecated

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

Deprecated: Use GetAccessKeyRequest.ProtoReflect.Descriptor instead.

func (*GetAccessKeyRequest) GetId

func (x *GetAccessKeyRequest) GetId() string

func (*GetAccessKeyRequest) ProtoMessage

func (*GetAccessKeyRequest) ProtoMessage()

func (*GetAccessKeyRequest) ProtoReflect

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

func (*GetAccessKeyRequest) Reset

func (x *GetAccessKeyRequest) Reset()

func (*GetAccessKeyRequest) String

func (x *GetAccessKeyRequest) String() string

func (*GetAccessKeyRequest) Validate

func (m *GetAccessKeyRequest) Validate() error

Validate checks the field values on GetAccessKeyRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetAccessKeyRequest) ValidateAll

func (m *GetAccessKeyRequest) ValidateAll() error

ValidateAll checks the field values on GetAccessKeyRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetAccessKeyRequestMultiError, or nil if none found.

type GetAccessKeyRequestMultiError

type GetAccessKeyRequestMultiError []error

GetAccessKeyRequestMultiError is an error wrapping multiple validation errors returned by GetAccessKeyRequest.ValidateAll() if the designated constraints aren't met.

func (GetAccessKeyRequestMultiError) AllErrors

func (m GetAccessKeyRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetAccessKeyRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetAccessKeyRequestValidationError

type GetAccessKeyRequestValidationError struct {
	// contains filtered or unexported fields
}

GetAccessKeyRequestValidationError is the validation error returned by GetAccessKeyRequest.Validate if the designated constraints aren't met.

func (GetAccessKeyRequestValidationError) Cause

Cause function returns cause value.

func (GetAccessKeyRequestValidationError) Error

Error satisfies the builtin error interface

func (GetAccessKeyRequestValidationError) ErrorName

ErrorName returns error name.

func (GetAccessKeyRequestValidationError) Field

Field function returns field value.

func (GetAccessKeyRequestValidationError) Key

Key function returns key value.

func (GetAccessKeyRequestValidationError) Reason

Reason function returns reason value.

type GetAccessKeyResponse

type GetAccessKeyResponse struct {

	// Key ключ доступа, не содержит secret
	Key *AccessKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// contains filtered or unexported fields
}

GetByIDResponse ответ на запрос получения ключа доступа

func (*GetAccessKeyResponse) Descriptor deprecated

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

Deprecated: Use GetAccessKeyResponse.ProtoReflect.Descriptor instead.

func (*GetAccessKeyResponse) GetKey

func (x *GetAccessKeyResponse) GetKey() *AccessKey

func (*GetAccessKeyResponse) ProtoMessage

func (*GetAccessKeyResponse) ProtoMessage()

func (*GetAccessKeyResponse) ProtoReflect

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

func (*GetAccessKeyResponse) Reset

func (x *GetAccessKeyResponse) Reset()

func (*GetAccessKeyResponse) String

func (x *GetAccessKeyResponse) String() string

func (*GetAccessKeyResponse) Validate

func (m *GetAccessKeyResponse) Validate() error

Validate checks the field values on GetAccessKeyResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetAccessKeyResponse) ValidateAll

func (m *GetAccessKeyResponse) ValidateAll() error

ValidateAll checks the field values on GetAccessKeyResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetAccessKeyResponseMultiError, or nil if none found.

type GetAccessKeyResponseMultiError

type GetAccessKeyResponseMultiError []error

GetAccessKeyResponseMultiError is an error wrapping multiple validation errors returned by GetAccessKeyResponse.ValidateAll() if the designated constraints aren't met.

func (GetAccessKeyResponseMultiError) AllErrors

func (m GetAccessKeyResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetAccessKeyResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetAccessKeyResponseValidationError

type GetAccessKeyResponseValidationError struct {
	// contains filtered or unexported fields
}

GetAccessKeyResponseValidationError is the validation error returned by GetAccessKeyResponse.Validate if the designated constraints aren't met.

func (GetAccessKeyResponseValidationError) Cause

Cause function returns cause value.

func (GetAccessKeyResponseValidationError) Error

Error satisfies the builtin error interface

func (GetAccessKeyResponseValidationError) ErrorName

ErrorName returns error name.

func (GetAccessKeyResponseValidationError) Field

Field function returns field value.

func (GetAccessKeyResponseValidationError) Key

Key function returns key value.

func (GetAccessKeyResponseValidationError) Reason

Reason function returns reason value.

type GetServiceAccountRequest

type GetServiceAccountRequest struct {

	// ServiceAccountID - идентификатор сервисного аккаунта
	ServiceAccountId string `protobuf:"bytes,1,opt,name=service_account_id,json=serviceAccountId,proto3" json:"service_account_id,omitempty"`
	// contains filtered or unexported fields
}

GetServiceAccountRequest - запрос на получение сервисного аккаунта

func (*GetServiceAccountRequest) Descriptor deprecated

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

Deprecated: Use GetServiceAccountRequest.ProtoReflect.Descriptor instead.

func (*GetServiceAccountRequest) GetServiceAccountId

func (x *GetServiceAccountRequest) GetServiceAccountId() string

func (*GetServiceAccountRequest) ProtoMessage

func (*GetServiceAccountRequest) ProtoMessage()

func (*GetServiceAccountRequest) ProtoReflect

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

func (*GetServiceAccountRequest) Reset

func (x *GetServiceAccountRequest) Reset()

func (*GetServiceAccountRequest) String

func (x *GetServiceAccountRequest) String() string

func (*GetServiceAccountRequest) Validate

func (m *GetServiceAccountRequest) Validate() error

Validate checks the field values on GetServiceAccountRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetServiceAccountRequest) ValidateAll

func (m *GetServiceAccountRequest) ValidateAll() error

ValidateAll checks the field values on GetServiceAccountRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetServiceAccountRequestMultiError, or nil if none found.

type GetServiceAccountRequestMultiError

type GetServiceAccountRequestMultiError []error

GetServiceAccountRequestMultiError is an error wrapping multiple validation errors returned by GetServiceAccountRequest.ValidateAll() if the designated constraints aren't met.

func (GetServiceAccountRequestMultiError) AllErrors

func (m GetServiceAccountRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetServiceAccountRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetServiceAccountRequestValidationError

type GetServiceAccountRequestValidationError struct {
	// contains filtered or unexported fields
}

GetServiceAccountRequestValidationError is the validation error returned by GetServiceAccountRequest.Validate if the designated constraints aren't met.

func (GetServiceAccountRequestValidationError) Cause

Cause function returns cause value.

func (GetServiceAccountRequestValidationError) Error

Error satisfies the builtin error interface

func (GetServiceAccountRequestValidationError) ErrorName

ErrorName returns error name.

func (GetServiceAccountRequestValidationError) Field

Field function returns field value.

func (GetServiceAccountRequestValidationError) Key

Key function returns key value.

func (GetServiceAccountRequestValidationError) Reason

Reason function returns reason value.

type GetServiceAccountResponse

type GetServiceAccountResponse struct {

	// ServiceAccount сервисный аккаунт
	ServiceAccount *ServiceAccount `protobuf:"bytes,1,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"`
	// contains filtered or unexported fields
}

GetServiceAccountResponse ответ на запрос получения сервисного аккаунта

func (*GetServiceAccountResponse) Descriptor deprecated

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

Deprecated: Use GetServiceAccountResponse.ProtoReflect.Descriptor instead.

func (*GetServiceAccountResponse) GetServiceAccount

func (x *GetServiceAccountResponse) GetServiceAccount() *ServiceAccount

func (*GetServiceAccountResponse) ProtoMessage

func (*GetServiceAccountResponse) ProtoMessage()

func (*GetServiceAccountResponse) ProtoReflect

func (*GetServiceAccountResponse) Reset

func (x *GetServiceAccountResponse) Reset()

func (*GetServiceAccountResponse) String

func (x *GetServiceAccountResponse) String() string

func (*GetServiceAccountResponse) Validate

func (m *GetServiceAccountResponse) Validate() error

Validate checks the field values on GetServiceAccountResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetServiceAccountResponse) ValidateAll

func (m *GetServiceAccountResponse) ValidateAll() error

ValidateAll checks the field values on GetServiceAccountResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetServiceAccountResponseMultiError, or nil if none found.

type GetServiceAccountResponseMultiError

type GetServiceAccountResponseMultiError []error

GetServiceAccountResponseMultiError is an error wrapping multiple validation errors returned by GetServiceAccountResponse.ValidateAll() if the designated constraints aren't met.

func (GetServiceAccountResponseMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (GetServiceAccountResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetServiceAccountResponseValidationError

type GetServiceAccountResponseValidationError struct {
	// contains filtered or unexported fields
}

GetServiceAccountResponseValidationError is the validation error returned by GetServiceAccountResponse.Validate if the designated constraints aren't met.

func (GetServiceAccountResponseValidationError) Cause

Cause function returns cause value.

func (GetServiceAccountResponseValidationError) Error

Error satisfies the builtin error interface

func (GetServiceAccountResponseValidationError) ErrorName

ErrorName returns error name.

func (GetServiceAccountResponseValidationError) Field

Field function returns field value.

func (GetServiceAccountResponseValidationError) Key

Key function returns key value.

func (GetServiceAccountResponseValidationError) Reason

Reason function returns reason value.

type ListAccessKeyRequest

type ListAccessKeyRequest struct {

	// ServiceAccountID - идентификатор сервисного аккаунта
	ServiceAccountId string `protobuf:"bytes,1,opt,name=service_account_id,json=serviceAccountId,proto3" json:"service_account_id,omitempty"`
	// contains filtered or unexported fields
}

ListAccessKeyRequest запрос на получение списка ключей доступа для сервисного аккаунта

func (*ListAccessKeyRequest) Descriptor deprecated

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

Deprecated: Use ListAccessKeyRequest.ProtoReflect.Descriptor instead.

func (*ListAccessKeyRequest) GetServiceAccountId

func (x *ListAccessKeyRequest) GetServiceAccountId() string

func (*ListAccessKeyRequest) ProtoMessage

func (*ListAccessKeyRequest) ProtoMessage()

func (*ListAccessKeyRequest) ProtoReflect

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

func (*ListAccessKeyRequest) Reset

func (x *ListAccessKeyRequest) Reset()

func (*ListAccessKeyRequest) String

func (x *ListAccessKeyRequest) String() string

func (*ListAccessKeyRequest) Validate

func (m *ListAccessKeyRequest) Validate() error

Validate checks the field values on ListAccessKeyRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListAccessKeyRequest) ValidateAll

func (m *ListAccessKeyRequest) ValidateAll() error

ValidateAll checks the field values on ListAccessKeyRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListAccessKeyRequestMultiError, or nil if none found.

type ListAccessKeyRequestMultiError

type ListAccessKeyRequestMultiError []error

ListAccessKeyRequestMultiError is an error wrapping multiple validation errors returned by ListAccessKeyRequest.ValidateAll() if the designated constraints aren't met.

func (ListAccessKeyRequestMultiError) AllErrors

func (m ListAccessKeyRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListAccessKeyRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ListAccessKeyRequestValidationError

type ListAccessKeyRequestValidationError struct {
	// contains filtered or unexported fields
}

ListAccessKeyRequestValidationError is the validation error returned by ListAccessKeyRequest.Validate if the designated constraints aren't met.

func (ListAccessKeyRequestValidationError) Cause

Cause function returns cause value.

func (ListAccessKeyRequestValidationError) Error

Error satisfies the builtin error interface

func (ListAccessKeyRequestValidationError) ErrorName

ErrorName returns error name.

func (ListAccessKeyRequestValidationError) Field

Field function returns field value.

func (ListAccessKeyRequestValidationError) Key

Key function returns key value.

func (ListAccessKeyRequestValidationError) Reason

Reason function returns reason value.

type ListAccessKeyResponse

type ListAccessKeyResponse struct {

	// AccessKey - список ключей доступа
	AccessKeys []*AccessKey `protobuf:"bytes,1,rep,name=access_keys,json=accessKeys,proto3" json:"access_keys,omitempty"`
	// contains filtered or unexported fields
}

ListAccessKeyResponse ответ на запрос на получение списка ключей доступа для сервисного аккаунта

func (*ListAccessKeyResponse) Descriptor deprecated

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

Deprecated: Use ListAccessKeyResponse.ProtoReflect.Descriptor instead.

func (*ListAccessKeyResponse) GetAccessKeys

func (x *ListAccessKeyResponse) GetAccessKeys() []*AccessKey

func (*ListAccessKeyResponse) ProtoMessage

func (*ListAccessKeyResponse) ProtoMessage()

func (*ListAccessKeyResponse) ProtoReflect

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

func (*ListAccessKeyResponse) Reset

func (x *ListAccessKeyResponse) Reset()

func (*ListAccessKeyResponse) String

func (x *ListAccessKeyResponse) String() string

func (*ListAccessKeyResponse) Validate

func (m *ListAccessKeyResponse) Validate() error

Validate checks the field values on ListAccessKeyResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListAccessKeyResponse) ValidateAll

func (m *ListAccessKeyResponse) ValidateAll() error

ValidateAll checks the field values on ListAccessKeyResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListAccessKeyResponseMultiError, or nil if none found.

type ListAccessKeyResponseMultiError

type ListAccessKeyResponseMultiError []error

ListAccessKeyResponseMultiError is an error wrapping multiple validation errors returned by ListAccessKeyResponse.ValidateAll() if the designated constraints aren't met.

func (ListAccessKeyResponseMultiError) AllErrors

func (m ListAccessKeyResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListAccessKeyResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ListAccessKeyResponseValidationError

type ListAccessKeyResponseValidationError struct {
	// contains filtered or unexported fields
}

ListAccessKeyResponseValidationError is the validation error returned by ListAccessKeyResponse.Validate if the designated constraints aren't met.

func (ListAccessKeyResponseValidationError) Cause

Cause function returns cause value.

func (ListAccessKeyResponseValidationError) Error

Error satisfies the builtin error interface

func (ListAccessKeyResponseValidationError) ErrorName

ErrorName returns error name.

func (ListAccessKeyResponseValidationError) Field

Field function returns field value.

func (ListAccessKeyResponseValidationError) Key

Key function returns key value.

func (ListAccessKeyResponseValidationError) Reason

Reason function returns reason value.

type ServiceAccount

type ServiceAccount struct {

	// UserID - идентификатор сервисного аккаунта
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// NamespaceID - область видимости
	NamespaceId string `protobuf:"bytes,2,opt,name=namespace_id,json=namespaceId,proto3" json:"namespace_id,omitempty"`
	// Name - название сервисного аккаунта.
	// Уникально для namespace_id.
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// Email - email сервисного аккаунта.
	// Только для чтения, виртуальный.
	Email string `protobuf:"bytes,4,opt,name=email,proto3" json:"email,omitempty"`
	// Description - описание
	Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
	// UseRefreshTokens - выпускать refresh_token или нет (по умолчанию false)
	UseRefreshTokens bool `protobuf:"varint,6,opt,name=use_refresh_tokens,json=useRefreshTokens,proto3" json:"use_refresh_tokens,omitempty"`
	// Enabled - включен или выключен сервисный аккаунт
	Enabled bool `protobuf:"varint,7,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// CreatedAt - дата создания записи
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// UpdatedAt - дата обновления записи
	UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// contains filtered or unexported fields
}

ServiceAccount - информация о сервисном аккаунте

func (*ServiceAccount) Descriptor deprecated

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

Deprecated: Use ServiceAccount.ProtoReflect.Descriptor instead.

func (*ServiceAccount) GetCreatedAt

func (x *ServiceAccount) GetCreatedAt() *timestamppb.Timestamp

func (*ServiceAccount) GetDescription

func (x *ServiceAccount) GetDescription() string

func (*ServiceAccount) GetEmail

func (x *ServiceAccount) GetEmail() string

func (*ServiceAccount) GetEnabled

func (x *ServiceAccount) GetEnabled() bool

func (*ServiceAccount) GetId

func (x *ServiceAccount) GetId() string

func (*ServiceAccount) GetName

func (x *ServiceAccount) GetName() string

func (*ServiceAccount) GetNamespaceId

func (x *ServiceAccount) GetNamespaceId() string

func (*ServiceAccount) GetUpdatedAt

func (x *ServiceAccount) GetUpdatedAt() *timestamppb.Timestamp

func (*ServiceAccount) GetUseRefreshTokens

func (x *ServiceAccount) GetUseRefreshTokens() bool

func (*ServiceAccount) ProtoMessage

func (*ServiceAccount) ProtoMessage()

func (*ServiceAccount) ProtoReflect

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

func (*ServiceAccount) Reset

func (x *ServiceAccount) Reset()

func (*ServiceAccount) String

func (x *ServiceAccount) String() string

func (*ServiceAccount) Validate

func (m *ServiceAccount) Validate() error

Validate checks the field values on ServiceAccount with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ServiceAccount) ValidateAll

func (m *ServiceAccount) ValidateAll() error

ValidateAll checks the field values on ServiceAccount with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ServiceAccountMultiError, or nil if none found.

type ServiceAccountID

type ServiceAccountID struct {

	// UserID - идентификатор сервисного аккаунта
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*ServiceAccountID) Descriptor deprecated

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

Deprecated: Use ServiceAccountID.ProtoReflect.Descriptor instead.

func (*ServiceAccountID) GetId

func (x *ServiceAccountID) GetId() string

func (*ServiceAccountID) ProtoMessage

func (*ServiceAccountID) ProtoMessage()

func (*ServiceAccountID) ProtoReflect

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

func (*ServiceAccountID) Reset

func (x *ServiceAccountID) Reset()

func (*ServiceAccountID) String

func (x *ServiceAccountID) String() string

func (*ServiceAccountID) Validate

func (m *ServiceAccountID) Validate() error

Validate checks the field values on ServiceAccountID with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ServiceAccountID) ValidateAll

func (m *ServiceAccountID) ValidateAll() error

ValidateAll checks the field values on ServiceAccountID with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ServiceAccountIDMultiError, or nil if none found.

type ServiceAccountIDMultiError

type ServiceAccountIDMultiError []error

ServiceAccountIDMultiError is an error wrapping multiple validation errors returned by ServiceAccountID.ValidateAll() if the designated constraints aren't met.

func (ServiceAccountIDMultiError) AllErrors

func (m ServiceAccountIDMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ServiceAccountIDMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ServiceAccountIDValidationError

type ServiceAccountIDValidationError struct {
	// contains filtered or unexported fields
}

ServiceAccountIDValidationError is the validation error returned by ServiceAccountID.Validate if the designated constraints aren't met.

func (ServiceAccountIDValidationError) Cause

Cause function returns cause value.

func (ServiceAccountIDValidationError) Error

Error satisfies the builtin error interface

func (ServiceAccountIDValidationError) ErrorName

ErrorName returns error name.

func (ServiceAccountIDValidationError) Field

Field function returns field value.

func (ServiceAccountIDValidationError) Key

Key function returns key value.

func (ServiceAccountIDValidationError) Reason

Reason function returns reason value.

type ServiceAccountMultiError

type ServiceAccountMultiError []error

ServiceAccountMultiError is an error wrapping multiple validation errors returned by ServiceAccount.ValidateAll() if the designated constraints aren't met.

func (ServiceAccountMultiError) AllErrors

func (m ServiceAccountMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ServiceAccountMultiError) Error

func (m ServiceAccountMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type ServiceAccountServiceClient

type ServiceAccountServiceClient interface {
	// Add добавляет новый сервисный аккаунт
	Add(ctx context.Context, in *AddServiceAccountRequest, opts ...grpc.CallOption) (*AddServiceAccountResponse, error)
	// Get возвращает информацию о сервисном аккаунте
	Get(ctx context.Context, in *GetServiceAccountRequest, opts ...grpc.CallOption) (*GetServiceAccountResponse, error)
	// Delete удаляет сервисный аккаунт
	Delete(ctx context.Context, in *DeleteServiceAccountRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
}

ServiceAccountServiceClient is the client API for ServiceAccountService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type ServiceAccountValidationError

type ServiceAccountValidationError struct {
	// contains filtered or unexported fields
}

ServiceAccountValidationError is the validation error returned by ServiceAccount.Validate if the designated constraints aren't met.

func (ServiceAccountValidationError) Cause

Cause function returns cause value.

func (ServiceAccountValidationError) Error

Error satisfies the builtin error interface

func (ServiceAccountValidationError) ErrorName

func (e ServiceAccountValidationError) ErrorName() string

ErrorName returns error name.

func (ServiceAccountValidationError) Field

Field function returns field value.

func (ServiceAccountValidationError) Key

Key function returns key value.

func (ServiceAccountValidationError) Reason

Reason function returns reason value.

type ServiceAccounts

type ServiceAccounts struct {

	// ServiceAccounts - список сервисных аккаунтов
	ServiceAccounts []*ServiceAccount `protobuf:"bytes,1,rep,name=service_accounts,json=serviceAccounts,proto3" json:"service_accounts,omitempty"`
	// contains filtered or unexported fields
}

ServiceAccounts - список сервисных аккаунтов

func (*ServiceAccounts) Descriptor deprecated

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

Deprecated: Use ServiceAccounts.ProtoReflect.Descriptor instead.

func (*ServiceAccounts) GetServiceAccounts

func (x *ServiceAccounts) GetServiceAccounts() []*ServiceAccount

func (*ServiceAccounts) ProtoMessage

func (*ServiceAccounts) ProtoMessage()

func (*ServiceAccounts) ProtoReflect

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

func (*ServiceAccounts) Reset

func (x *ServiceAccounts) Reset()

func (*ServiceAccounts) String

func (x *ServiceAccounts) String() string

func (*ServiceAccounts) Validate

func (m *ServiceAccounts) Validate() error

Validate checks the field values on ServiceAccounts with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ServiceAccounts) ValidateAll

func (m *ServiceAccounts) ValidateAll() error

ValidateAll checks the field values on ServiceAccounts with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ServiceAccountsMultiError, or nil if none found.

type ServiceAccountsMultiError

type ServiceAccountsMultiError []error

ServiceAccountsMultiError is an error wrapping multiple validation errors returned by ServiceAccounts.ValidateAll() if the designated constraints aren't met.

func (ServiceAccountsMultiError) AllErrors

func (m ServiceAccountsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ServiceAccountsMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ServiceAccountsValidationError

type ServiceAccountsValidationError struct {
	// contains filtered or unexported fields
}

ServiceAccountsValidationError is the validation error returned by ServiceAccounts.Validate if the designated constraints aren't met.

func (ServiceAccountsValidationError) Cause

Cause function returns cause value.

func (ServiceAccountsValidationError) Error

Error satisfies the builtin error interface

func (ServiceAccountsValidationError) ErrorName

func (e ServiceAccountsValidationError) ErrorName() string

ErrorName returns error name.

func (ServiceAccountsValidationError) Field

Field function returns field value.

func (ServiceAccountsValidationError) Key

Key function returns key value.

func (ServiceAccountsValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL