Documentation ¶
Index ¶
- Variables
- type AccessKey
- func (*AccessKey) Descriptor() ([]byte, []int)deprecated
- func (x *AccessKey) GetCreatedAt() *timestamppb.Timestamp
- func (x *AccessKey) GetDescription() string
- func (x *AccessKey) GetExpiredAt() *timestamppb.Timestamp
- func (x *AccessKey) GetId() string
- func (x *AccessKey) GetKeyId() string
- func (x *AccessKey) GetServiceAccountId() string
- func (*AccessKey) ProtoMessage()
- func (x *AccessKey) ProtoReflect() protoreflect.Message
- func (x *AccessKey) Reset()
- func (x *AccessKey) String() string
- func (m *AccessKey) Validate() error
- func (m *AccessKey) ValidateAll() error
- type AccessKeyCredentialsServiceClient
- type AccessKeyMultiError
- type AccessKeyValidationError
- type AddAccessKeyRequest
- func (*AddAccessKeyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddAccessKeyRequest) GetDescription() string
- func (x *AddAccessKeyRequest) GetServiceAccountId() string
- func (x *AddAccessKeyRequest) GetTtl() string
- func (*AddAccessKeyRequest) ProtoMessage()
- func (x *AddAccessKeyRequest) ProtoReflect() protoreflect.Message
- func (x *AddAccessKeyRequest) Reset()
- func (x *AddAccessKeyRequest) String() string
- func (m *AddAccessKeyRequest) Validate() error
- func (m *AddAccessKeyRequest) ValidateAll() error
- type AddAccessKeyRequestMultiError
- type AddAccessKeyRequestValidationError
- func (e AddAccessKeyRequestValidationError) Cause() error
- func (e AddAccessKeyRequestValidationError) Error() string
- func (e AddAccessKeyRequestValidationError) ErrorName() string
- func (e AddAccessKeyRequestValidationError) Field() string
- func (e AddAccessKeyRequestValidationError) Key() bool
- func (e AddAccessKeyRequestValidationError) Reason() string
- type AddAccessKeyResponse
- func (*AddAccessKeyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AddAccessKeyResponse) GetCreatedAt() *timestamppb.Timestamp
- func (x *AddAccessKeyResponse) GetDescription() string
- func (x *AddAccessKeyResponse) GetExpiredAt() *timestamppb.Timestamp
- func (x *AddAccessKeyResponse) GetId() string
- func (x *AddAccessKeyResponse) GetKeyId() string
- func (x *AddAccessKeyResponse) GetSecret() string
- func (x *AddAccessKeyResponse) GetServiceAccountId() string
- func (*AddAccessKeyResponse) ProtoMessage()
- func (x *AddAccessKeyResponse) ProtoReflect() protoreflect.Message
- func (x *AddAccessKeyResponse) Reset()
- func (x *AddAccessKeyResponse) String() string
- func (m *AddAccessKeyResponse) Validate() error
- func (m *AddAccessKeyResponse) ValidateAll() error
- type AddAccessKeyResponseMultiError
- type AddAccessKeyResponseValidationError
- func (e AddAccessKeyResponseValidationError) Cause() error
- func (e AddAccessKeyResponseValidationError) Error() string
- func (e AddAccessKeyResponseValidationError) ErrorName() string
- func (e AddAccessKeyResponseValidationError) Field() string
- func (e AddAccessKeyResponseValidationError) Key() bool
- func (e AddAccessKeyResponseValidationError) Reason() string
- type AddServiceAccountRequest
- func (*AddServiceAccountRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddServiceAccountRequest) GetDescription() string
- func (x *AddServiceAccountRequest) GetName() string
- func (x *AddServiceAccountRequest) GetProjectId() string
- func (*AddServiceAccountRequest) ProtoMessage()
- func (x *AddServiceAccountRequest) ProtoReflect() protoreflect.Message
- func (x *AddServiceAccountRequest) Reset()
- func (x *AddServiceAccountRequest) String() string
- func (m *AddServiceAccountRequest) Validate() error
- func (m *AddServiceAccountRequest) ValidateAll() error
- type AddServiceAccountRequestMultiError
- type AddServiceAccountRequestValidationError
- func (e AddServiceAccountRequestValidationError) Cause() error
- func (e AddServiceAccountRequestValidationError) Error() string
- func (e AddServiceAccountRequestValidationError) ErrorName() string
- func (e AddServiceAccountRequestValidationError) Field() string
- func (e AddServiceAccountRequestValidationError) Key() bool
- func (e AddServiceAccountRequestValidationError) Reason() string
- type AddServiceAccountResponse
- func (*AddServiceAccountResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AddServiceAccountResponse) GetServiceAccount() *ServiceAccount
- func (*AddServiceAccountResponse) ProtoMessage()
- func (x *AddServiceAccountResponse) ProtoReflect() protoreflect.Message
- func (x *AddServiceAccountResponse) Reset()
- func (x *AddServiceAccountResponse) String() string
- func (m *AddServiceAccountResponse) Validate() error
- func (m *AddServiceAccountResponse) ValidateAll() error
- type AddServiceAccountResponseMultiError
- type AddServiceAccountResponseValidationError
- func (e AddServiceAccountResponseValidationError) Cause() error
- func (e AddServiceAccountResponseValidationError) Error() string
- func (e AddServiceAccountResponseValidationError) ErrorName() string
- func (e AddServiceAccountResponseValidationError) Field() string
- func (e AddServiceAccountResponseValidationError) Key() bool
- func (e AddServiceAccountResponseValidationError) Reason() string
- type DeleteAccessKeyRequest
- func (*DeleteAccessKeyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteAccessKeyRequest) GetId() string
- func (*DeleteAccessKeyRequest) ProtoMessage()
- func (x *DeleteAccessKeyRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteAccessKeyRequest) Reset()
- func (x *DeleteAccessKeyRequest) String() string
- func (m *DeleteAccessKeyRequest) Validate() error
- func (m *DeleteAccessKeyRequest) ValidateAll() error
- type DeleteAccessKeyRequestMultiError
- type DeleteAccessKeyRequestValidationError
- func (e DeleteAccessKeyRequestValidationError) Cause() error
- func (e DeleteAccessKeyRequestValidationError) Error() string
- func (e DeleteAccessKeyRequestValidationError) ErrorName() string
- func (e DeleteAccessKeyRequestValidationError) Field() string
- func (e DeleteAccessKeyRequestValidationError) Key() bool
- func (e DeleteAccessKeyRequestValidationError) Reason() string
- type DeleteServiceAccountRequest
- func (*DeleteServiceAccountRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteServiceAccountRequest) GetServiceAccountId() string
- func (*DeleteServiceAccountRequest) ProtoMessage()
- func (x *DeleteServiceAccountRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteServiceAccountRequest) Reset()
- func (x *DeleteServiceAccountRequest) String() string
- func (m *DeleteServiceAccountRequest) Validate() error
- func (m *DeleteServiceAccountRequest) ValidateAll() error
- type DeleteServiceAccountRequestMultiError
- type DeleteServiceAccountRequestValidationError
- func (e DeleteServiceAccountRequestValidationError) Cause() error
- func (e DeleteServiceAccountRequestValidationError) Error() string
- func (e DeleteServiceAccountRequestValidationError) ErrorName() string
- func (e DeleteServiceAccountRequestValidationError) Field() string
- func (e DeleteServiceAccountRequestValidationError) Key() bool
- func (e DeleteServiceAccountRequestValidationError) Reason() string
- type GetAccessKeyRequest
- func (*GetAccessKeyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetAccessKeyRequest) GetId() string
- func (*GetAccessKeyRequest) ProtoMessage()
- func (x *GetAccessKeyRequest) ProtoReflect() protoreflect.Message
- func (x *GetAccessKeyRequest) Reset()
- func (x *GetAccessKeyRequest) String() string
- func (m *GetAccessKeyRequest) Validate() error
- func (m *GetAccessKeyRequest) ValidateAll() error
- type GetAccessKeyRequestMultiError
- type GetAccessKeyRequestValidationError
- func (e GetAccessKeyRequestValidationError) Cause() error
- func (e GetAccessKeyRequestValidationError) Error() string
- func (e GetAccessKeyRequestValidationError) ErrorName() string
- func (e GetAccessKeyRequestValidationError) Field() string
- func (e GetAccessKeyRequestValidationError) Key() bool
- func (e GetAccessKeyRequestValidationError) Reason() string
- type GetAccessKeyResponse
- func (*GetAccessKeyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetAccessKeyResponse) GetKey() *AccessKey
- func (*GetAccessKeyResponse) ProtoMessage()
- func (x *GetAccessKeyResponse) ProtoReflect() protoreflect.Message
- func (x *GetAccessKeyResponse) Reset()
- func (x *GetAccessKeyResponse) String() string
- func (m *GetAccessKeyResponse) Validate() error
- func (m *GetAccessKeyResponse) ValidateAll() error
- type GetAccessKeyResponseMultiError
- type GetAccessKeyResponseValidationError
- func (e GetAccessKeyResponseValidationError) Cause() error
- func (e GetAccessKeyResponseValidationError) Error() string
- func (e GetAccessKeyResponseValidationError) ErrorName() string
- func (e GetAccessKeyResponseValidationError) Field() string
- func (e GetAccessKeyResponseValidationError) Key() bool
- func (e GetAccessKeyResponseValidationError) Reason() string
- type GetServiceAccountRequest
- func (*GetServiceAccountRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetServiceAccountRequest) GetServiceAccountId() string
- func (*GetServiceAccountRequest) ProtoMessage()
- func (x *GetServiceAccountRequest) ProtoReflect() protoreflect.Message
- func (x *GetServiceAccountRequest) Reset()
- func (x *GetServiceAccountRequest) String() string
- func (m *GetServiceAccountRequest) Validate() error
- func (m *GetServiceAccountRequest) ValidateAll() error
- type GetServiceAccountRequestMultiError
- type GetServiceAccountRequestValidationError
- func (e GetServiceAccountRequestValidationError) Cause() error
- func (e GetServiceAccountRequestValidationError) Error() string
- func (e GetServiceAccountRequestValidationError) ErrorName() string
- func (e GetServiceAccountRequestValidationError) Field() string
- func (e GetServiceAccountRequestValidationError) Key() bool
- func (e GetServiceAccountRequestValidationError) Reason() string
- type GetServiceAccountResponse
- func (*GetServiceAccountResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetServiceAccountResponse) GetServiceAccount() *ServiceAccount
- func (*GetServiceAccountResponse) ProtoMessage()
- func (x *GetServiceAccountResponse) ProtoReflect() protoreflect.Message
- func (x *GetServiceAccountResponse) Reset()
- func (x *GetServiceAccountResponse) String() string
- func (m *GetServiceAccountResponse) Validate() error
- func (m *GetServiceAccountResponse) ValidateAll() error
- type GetServiceAccountResponseMultiError
- type GetServiceAccountResponseValidationError
- func (e GetServiceAccountResponseValidationError) Cause() error
- func (e GetServiceAccountResponseValidationError) Error() string
- func (e GetServiceAccountResponseValidationError) ErrorName() string
- func (e GetServiceAccountResponseValidationError) Field() string
- func (e GetServiceAccountResponseValidationError) Key() bool
- func (e GetServiceAccountResponseValidationError) Reason() string
- type ListAccessKeyRequest
- func (*ListAccessKeyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListAccessKeyRequest) GetServiceAccountId() string
- func (*ListAccessKeyRequest) ProtoMessage()
- func (x *ListAccessKeyRequest) ProtoReflect() protoreflect.Message
- func (x *ListAccessKeyRequest) Reset()
- func (x *ListAccessKeyRequest) String() string
- func (m *ListAccessKeyRequest) Validate() error
- func (m *ListAccessKeyRequest) ValidateAll() error
- type ListAccessKeyRequestMultiError
- type ListAccessKeyRequestValidationError
- func (e ListAccessKeyRequestValidationError) Cause() error
- func (e ListAccessKeyRequestValidationError) Error() string
- func (e ListAccessKeyRequestValidationError) ErrorName() string
- func (e ListAccessKeyRequestValidationError) Field() string
- func (e ListAccessKeyRequestValidationError) Key() bool
- func (e ListAccessKeyRequestValidationError) Reason() string
- type ListAccessKeyResponse
- func (*ListAccessKeyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListAccessKeyResponse) GetAccessKeys() []*AccessKey
- func (*ListAccessKeyResponse) ProtoMessage()
- func (x *ListAccessKeyResponse) ProtoReflect() protoreflect.Message
- func (x *ListAccessKeyResponse) Reset()
- func (x *ListAccessKeyResponse) String() string
- func (m *ListAccessKeyResponse) Validate() error
- func (m *ListAccessKeyResponse) ValidateAll() error
- type ListAccessKeyResponseMultiError
- type ListAccessKeyResponseValidationError
- func (e ListAccessKeyResponseValidationError) Cause() error
- func (e ListAccessKeyResponseValidationError) Error() string
- func (e ListAccessKeyResponseValidationError) ErrorName() string
- func (e ListAccessKeyResponseValidationError) Field() string
- func (e ListAccessKeyResponseValidationError) Key() bool
- func (e ListAccessKeyResponseValidationError) Reason() string
- type ServiceAccount
- func (*ServiceAccount) Descriptor() ([]byte, []int)deprecated
- func (x *ServiceAccount) GetCreatedAt() *timestamppb.Timestamp
- func (x *ServiceAccount) GetDescription() string
- func (x *ServiceAccount) GetEmail() string
- func (x *ServiceAccount) GetEnabled() bool
- func (x *ServiceAccount) GetId() string
- func (x *ServiceAccount) GetName() string
- func (x *ServiceAccount) GetNamespaceId() string
- func (x *ServiceAccount) GetUpdatedAt() *timestamppb.Timestamp
- func (x *ServiceAccount) GetUseRefreshTokens() bool
- func (*ServiceAccount) ProtoMessage()
- func (x *ServiceAccount) ProtoReflect() protoreflect.Message
- func (x *ServiceAccount) Reset()
- func (x *ServiceAccount) String() string
- func (m *ServiceAccount) Validate() error
- func (m *ServiceAccount) ValidateAll() error
- type ServiceAccountID
- func (*ServiceAccountID) Descriptor() ([]byte, []int)deprecated
- func (x *ServiceAccountID) GetId() string
- func (*ServiceAccountID) ProtoMessage()
- func (x *ServiceAccountID) ProtoReflect() protoreflect.Message
- func (x *ServiceAccountID) Reset()
- func (x *ServiceAccountID) String() string
- func (m *ServiceAccountID) Validate() error
- func (m *ServiceAccountID) ValidateAll() error
- type ServiceAccountIDMultiError
- type ServiceAccountIDValidationError
- func (e ServiceAccountIDValidationError) Cause() error
- func (e ServiceAccountIDValidationError) Error() string
- func (e ServiceAccountIDValidationError) ErrorName() string
- func (e ServiceAccountIDValidationError) Field() string
- func (e ServiceAccountIDValidationError) Key() bool
- func (e ServiceAccountIDValidationError) Reason() string
- type ServiceAccountMultiError
- type ServiceAccountServiceClient
- type ServiceAccountValidationError
- func (e ServiceAccountValidationError) Cause() error
- func (e ServiceAccountValidationError) Error() string
- func (e ServiceAccountValidationError) ErrorName() string
- func (e ServiceAccountValidationError) Field() string
- func (e ServiceAccountValidationError) Key() bool
- func (e ServiceAccountValidationError) Reason() string
- type ServiceAccounts
- func (*ServiceAccounts) Descriptor() ([]byte, []int)deprecated
- func (x *ServiceAccounts) GetServiceAccounts() []*ServiceAccount
- func (*ServiceAccounts) ProtoMessage()
- func (x *ServiceAccounts) ProtoReflect() protoreflect.Message
- func (x *ServiceAccounts) Reset()
- func (x *ServiceAccounts) String() string
- func (m *ServiceAccounts) Validate() error
- func (m *ServiceAccounts) ValidateAll() error
- type ServiceAccountsMultiError
- type ServiceAccountsValidationError
- func (e ServiceAccountsValidationError) Cause() error
- func (e ServiceAccountsValidationError) Error() string
- func (e ServiceAccountsValidationError) ErrorName() string
- func (e ServiceAccountsValidationError) Field() string
- func (e ServiceAccountsValidationError) Key() bool
- func (e ServiceAccountsValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var File_iam_service_accounts_v1_access_key_proto protoreflect.FileDescriptor
var File_iam_service_accounts_v1_access_keys_proto protoreflect.FileDescriptor
var File_iam_service_accounts_v1_service_account_proto protoreflect.FileDescriptor
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) GetCreatedAt ¶
func (x *AccessKey) GetCreatedAt() *timestamppb.Timestamp
func (*AccessKey) GetDescription ¶
func (*AccessKey) GetExpiredAt ¶
func (x *AccessKey) GetExpiredAt() *timestamppb.Timestamp
func (*AccessKey) GetServiceAccountId ¶
func (*AccessKey) ProtoMessage ¶
func (*AccessKey) ProtoMessage()
func (*AccessKey) ProtoReflect ¶
func (x *AccessKey) ProtoReflect() protoreflect.Message
func (*AccessKey) Validate ¶
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 ¶
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.
func NewAccessKeyCredentialsServiceClient ¶
func NewAccessKeyCredentialsServiceClient(cc grpc.ClientConnInterface) AccessKeyCredentialsServiceClient
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 ¶
func (e AccessKeyValidationError) Key() bool
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 ¶
func (m AddAccessKeyRequestMultiError) Error() string
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 ¶
func (e AddAccessKeyRequestValidationError) Cause() error
Cause function returns cause value.
func (AddAccessKeyRequestValidationError) Error ¶
func (e AddAccessKeyRequestValidationError) Error() string
Error satisfies the builtin error interface
func (AddAccessKeyRequestValidationError) ErrorName ¶
func (e AddAccessKeyRequestValidationError) ErrorName() string
ErrorName returns error name.
func (AddAccessKeyRequestValidationError) Field ¶
func (e AddAccessKeyRequestValidationError) Field() string
Field function returns field value.
func (AddAccessKeyRequestValidationError) Key ¶
func (e AddAccessKeyRequestValidationError) Key() bool
Key function returns key value.
func (AddAccessKeyRequestValidationError) Reason ¶
func (e AddAccessKeyRequestValidationError) Reason() string
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 ¶
func (m AddAccessKeyResponseMultiError) Error() string
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 ¶
func (e AddAccessKeyResponseValidationError) Cause() error
Cause function returns cause value.
func (AddAccessKeyResponseValidationError) Error ¶
func (e AddAccessKeyResponseValidationError) Error() string
Error satisfies the builtin error interface
func (AddAccessKeyResponseValidationError) ErrorName ¶
func (e AddAccessKeyResponseValidationError) ErrorName() string
ErrorName returns error name.
func (AddAccessKeyResponseValidationError) Field ¶
func (e AddAccessKeyResponseValidationError) Field() string
Field function returns field value.
func (AddAccessKeyResponseValidationError) Key ¶
func (e AddAccessKeyResponseValidationError) Key() bool
Key function returns key value.
func (AddAccessKeyResponseValidationError) Reason ¶
func (e AddAccessKeyResponseValidationError) Reason() string
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 ¶
func (m AddServiceAccountRequestMultiError) Error() string
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 ¶
func (e AddServiceAccountRequestValidationError) Cause() error
Cause function returns cause value.
func (AddServiceAccountRequestValidationError) Error ¶
func (e AddServiceAccountRequestValidationError) Error() string
Error satisfies the builtin error interface
func (AddServiceAccountRequestValidationError) ErrorName ¶
func (e AddServiceAccountRequestValidationError) ErrorName() string
ErrorName returns error name.
func (AddServiceAccountRequestValidationError) Field ¶
func (e AddServiceAccountRequestValidationError) Field() string
Field function returns field value.
func (AddServiceAccountRequestValidationError) Key ¶
func (e AddServiceAccountRequestValidationError) Key() bool
Key function returns key value.
func (AddServiceAccountRequestValidationError) Reason ¶
func (e AddServiceAccountRequestValidationError) Reason() string
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 (x *AddServiceAccountResponse) ProtoReflect() protoreflect.Message
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 ¶
func (m AddServiceAccountResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AddServiceAccountResponseMultiError) Error ¶
func (m AddServiceAccountResponseMultiError) Error() string
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 ¶
func (e AddServiceAccountResponseValidationError) Cause() error
Cause function returns cause value.
func (AddServiceAccountResponseValidationError) Error ¶
func (e AddServiceAccountResponseValidationError) Error() string
Error satisfies the builtin error interface
func (AddServiceAccountResponseValidationError) ErrorName ¶
func (e AddServiceAccountResponseValidationError) ErrorName() string
ErrorName returns error name.
func (AddServiceAccountResponseValidationError) Field ¶
func (e AddServiceAccountResponseValidationError) Field() string
Field function returns field value.
func (AddServiceAccountResponseValidationError) Key ¶
func (e AddServiceAccountResponseValidationError) Key() bool
Key function returns key value.
func (AddServiceAccountResponseValidationError) Reason ¶
func (e AddServiceAccountResponseValidationError) Reason() string
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 ¶
func (m DeleteAccessKeyRequestMultiError) Error() string
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 ¶
func (e DeleteAccessKeyRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteAccessKeyRequestValidationError) Error ¶
func (e DeleteAccessKeyRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteAccessKeyRequestValidationError) ErrorName ¶
func (e DeleteAccessKeyRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteAccessKeyRequestValidationError) Field ¶
func (e DeleteAccessKeyRequestValidationError) Field() string
Field function returns field value.
func (DeleteAccessKeyRequestValidationError) Key ¶
func (e DeleteAccessKeyRequestValidationError) Key() bool
Key function returns key value.
func (DeleteAccessKeyRequestValidationError) Reason ¶
func (e DeleteAccessKeyRequestValidationError) Reason() string
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 (x *DeleteServiceAccountRequest) ProtoReflect() protoreflect.Message
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 ¶
func (m DeleteServiceAccountRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteServiceAccountRequestMultiError) Error ¶
func (m DeleteServiceAccountRequestMultiError) Error() string
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 ¶
func (e DeleteServiceAccountRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteServiceAccountRequestValidationError) Error ¶
func (e DeleteServiceAccountRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteServiceAccountRequestValidationError) ErrorName ¶
func (e DeleteServiceAccountRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteServiceAccountRequestValidationError) Field ¶
func (e DeleteServiceAccountRequestValidationError) Field() string
Field function returns field value.
func (DeleteServiceAccountRequestValidationError) Key ¶
func (e DeleteServiceAccountRequestValidationError) Key() bool
Key function returns key value.
func (DeleteServiceAccountRequestValidationError) Reason ¶
func (e DeleteServiceAccountRequestValidationError) Reason() string
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 ¶
func (m GetAccessKeyRequestMultiError) Error() string
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 ¶
func (e GetAccessKeyRequestValidationError) Cause() error
Cause function returns cause value.
func (GetAccessKeyRequestValidationError) Error ¶
func (e GetAccessKeyRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetAccessKeyRequestValidationError) ErrorName ¶
func (e GetAccessKeyRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetAccessKeyRequestValidationError) Field ¶
func (e GetAccessKeyRequestValidationError) Field() string
Field function returns field value.
func (GetAccessKeyRequestValidationError) Key ¶
func (e GetAccessKeyRequestValidationError) Key() bool
Key function returns key value.
func (GetAccessKeyRequestValidationError) Reason ¶
func (e GetAccessKeyRequestValidationError) Reason() string
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 ¶
func (m GetAccessKeyResponseMultiError) Error() string
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 ¶
func (e GetAccessKeyResponseValidationError) Cause() error
Cause function returns cause value.
func (GetAccessKeyResponseValidationError) Error ¶
func (e GetAccessKeyResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetAccessKeyResponseValidationError) ErrorName ¶
func (e GetAccessKeyResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetAccessKeyResponseValidationError) Field ¶
func (e GetAccessKeyResponseValidationError) Field() string
Field function returns field value.
func (GetAccessKeyResponseValidationError) Key ¶
func (e GetAccessKeyResponseValidationError) Key() bool
Key function returns key value.
func (GetAccessKeyResponseValidationError) Reason ¶
func (e GetAccessKeyResponseValidationError) Reason() string
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 ¶
func (m GetServiceAccountRequestMultiError) Error() string
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 ¶
func (e GetServiceAccountRequestValidationError) Cause() error
Cause function returns cause value.
func (GetServiceAccountRequestValidationError) Error ¶
func (e GetServiceAccountRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetServiceAccountRequestValidationError) ErrorName ¶
func (e GetServiceAccountRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetServiceAccountRequestValidationError) Field ¶
func (e GetServiceAccountRequestValidationError) Field() string
Field function returns field value.
func (GetServiceAccountRequestValidationError) Key ¶
func (e GetServiceAccountRequestValidationError) Key() bool
Key function returns key value.
func (GetServiceAccountRequestValidationError) Reason ¶
func (e GetServiceAccountRequestValidationError) Reason() string
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 (x *GetServiceAccountResponse) ProtoReflect() protoreflect.Message
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 ¶
func (m GetServiceAccountResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetServiceAccountResponseMultiError) Error ¶
func (m GetServiceAccountResponseMultiError) Error() string
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 ¶
func (e GetServiceAccountResponseValidationError) Cause() error
Cause function returns cause value.
func (GetServiceAccountResponseValidationError) Error ¶
func (e GetServiceAccountResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetServiceAccountResponseValidationError) ErrorName ¶
func (e GetServiceAccountResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetServiceAccountResponseValidationError) Field ¶
func (e GetServiceAccountResponseValidationError) Field() string
Field function returns field value.
func (GetServiceAccountResponseValidationError) Key ¶
func (e GetServiceAccountResponseValidationError) Key() bool
Key function returns key value.
func (GetServiceAccountResponseValidationError) Reason ¶
func (e GetServiceAccountResponseValidationError) Reason() string
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 ¶
func (m ListAccessKeyRequestMultiError) Error() string
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 ¶
func (e ListAccessKeyRequestValidationError) Cause() error
Cause function returns cause value.
func (ListAccessKeyRequestValidationError) Error ¶
func (e ListAccessKeyRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListAccessKeyRequestValidationError) ErrorName ¶
func (e ListAccessKeyRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListAccessKeyRequestValidationError) Field ¶
func (e ListAccessKeyRequestValidationError) Field() string
Field function returns field value.
func (ListAccessKeyRequestValidationError) Key ¶
func (e ListAccessKeyRequestValidationError) Key() bool
Key function returns key value.
func (ListAccessKeyRequestValidationError) Reason ¶
func (e ListAccessKeyRequestValidationError) Reason() string
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 ¶
func (m ListAccessKeyResponseMultiError) Error() string
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 ¶
func (e ListAccessKeyResponseValidationError) Cause() error
Cause function returns cause value.
func (ListAccessKeyResponseValidationError) Error ¶
func (e ListAccessKeyResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ListAccessKeyResponseValidationError) ErrorName ¶
func (e ListAccessKeyResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ListAccessKeyResponseValidationError) Field ¶
func (e ListAccessKeyResponseValidationError) Field() string
Field function returns field value.
func (ListAccessKeyResponseValidationError) Key ¶
func (e ListAccessKeyResponseValidationError) Key() bool
Key function returns key value.
func (ListAccessKeyResponseValidationError) Reason ¶
func (e ListAccessKeyResponseValidationError) Reason() string
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 ¶
func (m ServiceAccountIDMultiError) Error() string
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 ¶
func (e ServiceAccountIDValidationError) Cause() error
Cause function returns cause value.
func (ServiceAccountIDValidationError) Error ¶
func (e ServiceAccountIDValidationError) Error() string
Error satisfies the builtin error interface
func (ServiceAccountIDValidationError) ErrorName ¶
func (e ServiceAccountIDValidationError) ErrorName() string
ErrorName returns error name.
func (ServiceAccountIDValidationError) Field ¶
func (e ServiceAccountIDValidationError) Field() string
Field function returns field value.
func (ServiceAccountIDValidationError) Key ¶
func (e ServiceAccountIDValidationError) Key() bool
Key function returns key value.
func (ServiceAccountIDValidationError) Reason ¶
func (e ServiceAccountIDValidationError) Reason() string
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.
func NewServiceAccountServiceClient ¶
func NewServiceAccountServiceClient(cc grpc.ClientConnInterface) ServiceAccountServiceClient
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 ¶
func (e ServiceAccountValidationError) Cause() error
Cause function returns cause value.
func (ServiceAccountValidationError) Error ¶
func (e ServiceAccountValidationError) Error() string
Error satisfies the builtin error interface
func (ServiceAccountValidationError) ErrorName ¶
func (e ServiceAccountValidationError) ErrorName() string
ErrorName returns error name.
func (ServiceAccountValidationError) Field ¶
func (e ServiceAccountValidationError) Field() string
Field function returns field value.
func (ServiceAccountValidationError) Key ¶
func (e ServiceAccountValidationError) Key() bool
Key function returns key value.
func (ServiceAccountValidationError) Reason ¶
func (e ServiceAccountValidationError) Reason() string
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 ¶
func (m ServiceAccountsMultiError) Error() string
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 ¶
func (e ServiceAccountsValidationError) Cause() error
Cause function returns cause value.
func (ServiceAccountsValidationError) Error ¶
func (e ServiceAccountsValidationError) Error() string
Error satisfies the builtin error interface
func (ServiceAccountsValidationError) ErrorName ¶
func (e ServiceAccountsValidationError) ErrorName() string
ErrorName returns error name.
func (ServiceAccountsValidationError) Field ¶
func (e ServiceAccountsValidationError) Field() string
Field function returns field value.
func (ServiceAccountsValidationError) Key ¶
func (e ServiceAccountsValidationError) Key() bool
Key function returns key value.
func (ServiceAccountsValidationError) Reason ¶
func (e ServiceAccountsValidationError) Reason() string
Reason function returns reason value.