Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterApiKeysServiceServer(s grpc.ServiceRegistrar, srv ApiKeysServiceServer)
- type ApiKeysServiceClient
- type ApiKeysServiceServer
- type CreateApiKeyRequest
- func (*CreateApiKeyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateApiKeyRequest) GetHashed() bool
- func (x *CreateApiKeyRequest) GetKeyPermissions() *CreateApiKeyRequest_KeyPermissions
- func (x *CreateApiKeyRequest) GetName() string
- func (x *CreateApiKeyRequest) GetOwner() *Owner
- func (*CreateApiKeyRequest) ProtoMessage()
- func (x *CreateApiKeyRequest) ProtoReflect() protoreflect.Message
- func (x *CreateApiKeyRequest) Reset()
- func (x *CreateApiKeyRequest) String() string
- type CreateApiKeyRequest_KeyPermissions
- func (*CreateApiKeyRequest_KeyPermissions) Descriptor() ([]byte, []int)deprecated
- func (x *CreateApiKeyRequest_KeyPermissions) GetPermissions() []string
- func (x *CreateApiKeyRequest_KeyPermissions) GetPresets() []string
- func (*CreateApiKeyRequest_KeyPermissions) ProtoMessage()
- func (x *CreateApiKeyRequest_KeyPermissions) ProtoReflect() protoreflect.Message
- func (x *CreateApiKeyRequest_KeyPermissions) Reset()
- func (x *CreateApiKeyRequest_KeyPermissions) String() string
- type CreateApiKeyResponse
- func (*CreateApiKeyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateApiKeyResponse) GetKeyId() string
- func (x *CreateApiKeyResponse) GetName() string
- func (x *CreateApiKeyResponse) GetValue() string
- func (*CreateApiKeyResponse) ProtoMessage()
- func (x *CreateApiKeyResponse) ProtoReflect() protoreflect.Message
- func (x *CreateApiKeyResponse) Reset()
- func (x *CreateApiKeyResponse) String() string
- type DeleteApiKeyRequest
- func (*DeleteApiKeyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteApiKeyRequest) GetKeyId() string
- func (*DeleteApiKeyRequest) ProtoMessage()
- func (x *DeleteApiKeyRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteApiKeyRequest) Reset()
- func (x *DeleteApiKeyRequest) String() string
- type DeleteApiKeyResponse
- type GetApiKeyRequest
- type GetApiKeyResponse
- type KeyInfo
- func (*KeyInfo) Descriptor() ([]byte, []int)deprecated
- func (x *KeyInfo) GetActive() bool
- func (x *KeyInfo) GetHashed() bool
- func (x *KeyInfo) GetKeyPermissions() *KeyInfo_KeyPermissions
- func (x *KeyInfo) GetName() string
- func (x *KeyInfo) GetOwner() *Owner
- func (x *KeyInfo) GetValue() string
- func (*KeyInfo) ProtoMessage()
- func (x *KeyInfo) ProtoReflect() protoreflect.Message
- func (x *KeyInfo) Reset()
- func (x *KeyInfo) String() string
- type KeyInfo_KeyPermissions
- func (*KeyInfo_KeyPermissions) Descriptor() ([]byte, []int)deprecated
- func (x *KeyInfo_KeyPermissions) GetPermissions() []string
- func (x *KeyInfo_KeyPermissions) GetPresets() []*PresetInfo
- func (*KeyInfo_KeyPermissions) ProtoMessage()
- func (x *KeyInfo_KeyPermissions) ProtoReflect() protoreflect.Message
- func (x *KeyInfo_KeyPermissions) Reset()
- func (x *KeyInfo_KeyPermissions) String() string
- type Owner
- func (*Owner) Descriptor() ([]byte, []int)deprecated
- func (x *Owner) GetOrganisationId() string
- func (m *Owner) GetOwner() isOwner_Owner
- func (x *Owner) GetTeamId() uint32
- func (x *Owner) GetUserId() string
- func (*Owner) ProtoMessage()
- func (x *Owner) ProtoReflect() protoreflect.Message
- func (x *Owner) Reset()
- func (x *Owner) String() string
- type Owner_OrganisationId
- type Owner_TeamId
- type Owner_UserId
- type PresetInfo
- type UnimplementedApiKeysServiceServer
- func (UnimplementedApiKeysServiceServer) CreateApiKey(context.Context, *CreateApiKeyRequest) (*CreateApiKeyResponse, error)
- func (UnimplementedApiKeysServiceServer) DeleteApiKey(context.Context, *DeleteApiKeyRequest) (*DeleteApiKeyResponse, error)
- func (UnimplementedApiKeysServiceServer) GetApiKey(context.Context, *GetApiKeyRequest) (*GetApiKeyResponse, error)
- func (UnimplementedApiKeysServiceServer) UpdateApiKey(context.Context, *UpdateApiKeyRequest) (*UpdateApiKeyResponse, error)
- type UnsafeApiKeysServiceServer
- type UpdateApiKeyRequest
- func (*UpdateApiKeyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateApiKeyRequest) GetIsActive() bool
- func (x *UpdateApiKeyRequest) GetKeyId() string
- func (x *UpdateApiKeyRequest) GetNewName() string
- func (x *UpdateApiKeyRequest) GetPermissions() *UpdateApiKeyRequest_Permissions
- func (x *UpdateApiKeyRequest) GetPresets() *UpdateApiKeyRequest_Presets
- func (*UpdateApiKeyRequest) ProtoMessage()
- func (x *UpdateApiKeyRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateApiKeyRequest) Reset()
- func (x *UpdateApiKeyRequest) String() string
- type UpdateApiKeyRequest_Permissions
- func (*UpdateApiKeyRequest_Permissions) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateApiKeyRequest_Permissions) GetPermissions() []string
- func (*UpdateApiKeyRequest_Permissions) ProtoMessage()
- func (x *UpdateApiKeyRequest_Permissions) ProtoReflect() protoreflect.Message
- func (x *UpdateApiKeyRequest_Permissions) Reset()
- func (x *UpdateApiKeyRequest_Permissions) String() string
- type UpdateApiKeyRequest_Presets
- func (*UpdateApiKeyRequest_Presets) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateApiKeyRequest_Presets) GetPresets() []string
- func (*UpdateApiKeyRequest_Presets) ProtoMessage()
- func (x *UpdateApiKeyRequest_Presets) ProtoReflect() protoreflect.Message
- func (x *UpdateApiKeyRequest_Presets) Reset()
- func (x *UpdateApiKeyRequest_Presets) String() string
- type UpdateApiKeyResponse
Constants ¶
const ( ApiKeysService_CreateApiKey_FullMethodName = "/com.coralogixapis.aaa.apikeys.v3.ApiKeysService/CreateApiKey" ApiKeysService_GetApiKey_FullMethodName = "/com.coralogixapis.aaa.apikeys.v3.ApiKeysService/GetApiKey" ApiKeysService_DeleteApiKey_FullMethodName = "/com.coralogixapis.aaa.apikeys.v3.ApiKeysService/DeleteApiKey" ApiKeysService_UpdateApiKey_FullMethodName = "/com.coralogixapis.aaa.apikeys.v3.ApiKeysService/UpdateApiKey" )
Variables ¶
var ApiKeysService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "com.coralogixapis.aaa.apikeys.v3.ApiKeysService", HandlerType: (*ApiKeysServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateApiKey", Handler: _ApiKeysService_CreateApiKey_Handler, }, { MethodName: "GetApiKey", Handler: _ApiKeysService_GetApiKey_Handler, }, { MethodName: "DeleteApiKey", Handler: _ApiKeysService_DeleteApiKey_Handler, }, { MethodName: "UpdateApiKey", Handler: _ApiKeysService_UpdateApiKey_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "com/coralogixapis/aaa/apikeys/v3/api_keys.proto", }
ApiKeysService_ServiceDesc is the grpc.ServiceDesc for ApiKeysService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_com_coralogixapis_aaa_apikeys_v3_api_keys_proto protoreflect.FileDescriptor
Functions ¶
func RegisterApiKeysServiceServer ¶
func RegisterApiKeysServiceServer(s grpc.ServiceRegistrar, srv ApiKeysServiceServer)
Types ¶
type ApiKeysServiceClient ¶
type ApiKeysServiceClient interface { CreateApiKey(ctx context.Context, in *CreateApiKeyRequest, opts ...grpc.CallOption) (*CreateApiKeyResponse, error) GetApiKey(ctx context.Context, in *GetApiKeyRequest, opts ...grpc.CallOption) (*GetApiKeyResponse, error) DeleteApiKey(ctx context.Context, in *DeleteApiKeyRequest, opts ...grpc.CallOption) (*DeleteApiKeyResponse, error) UpdateApiKey(ctx context.Context, in *UpdateApiKeyRequest, opts ...grpc.CallOption) (*UpdateApiKeyResponse, error) }
ApiKeysServiceClient is the client API for ApiKeysService 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 NewApiKeysServiceClient ¶
func NewApiKeysServiceClient(cc grpc.ClientConnInterface) ApiKeysServiceClient
type ApiKeysServiceServer ¶
type ApiKeysServiceServer interface { CreateApiKey(context.Context, *CreateApiKeyRequest) (*CreateApiKeyResponse, error) GetApiKey(context.Context, *GetApiKeyRequest) (*GetApiKeyResponse, error) DeleteApiKey(context.Context, *DeleteApiKeyRequest) (*DeleteApiKeyResponse, error) UpdateApiKey(context.Context, *UpdateApiKeyRequest) (*UpdateApiKeyResponse, error) // contains filtered or unexported methods }
ApiKeysServiceServer is the server API for ApiKeysService service. All implementations must embed UnimplementedApiKeysServiceServer for forward compatibility
type CreateApiKeyRequest ¶
type CreateApiKeyRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Owner *Owner `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"` KeyPermissions *CreateApiKeyRequest_KeyPermissions `protobuf:"bytes,3,opt,name=key_permissions,json=keyPermissions,proto3" json:"key_permissions,omitempty"` Hashed bool `protobuf:"varint,4,opt,name=hashed,proto3" json:"hashed,omitempty"` // contains filtered or unexported fields }
func (*CreateApiKeyRequest) Descriptor
deprecated
func (*CreateApiKeyRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateApiKeyRequest.ProtoReflect.Descriptor instead.
func (*CreateApiKeyRequest) GetHashed ¶
func (x *CreateApiKeyRequest) GetHashed() bool
func (*CreateApiKeyRequest) GetKeyPermissions ¶
func (x *CreateApiKeyRequest) GetKeyPermissions() *CreateApiKeyRequest_KeyPermissions
func (*CreateApiKeyRequest) GetName ¶
func (x *CreateApiKeyRequest) GetName() string
func (*CreateApiKeyRequest) GetOwner ¶
func (x *CreateApiKeyRequest) GetOwner() *Owner
func (*CreateApiKeyRequest) ProtoMessage ¶
func (*CreateApiKeyRequest) ProtoMessage()
func (*CreateApiKeyRequest) ProtoReflect ¶
func (x *CreateApiKeyRequest) ProtoReflect() protoreflect.Message
func (*CreateApiKeyRequest) Reset ¶
func (x *CreateApiKeyRequest) Reset()
func (*CreateApiKeyRequest) String ¶
func (x *CreateApiKeyRequest) String() string
type CreateApiKeyRequest_KeyPermissions ¶
type CreateApiKeyRequest_KeyPermissions struct { Presets []string `protobuf:"bytes,1,rep,name=presets,proto3" json:"presets,omitempty"` Permissions []string `protobuf:"bytes,2,rep,name=permissions,proto3" json:"permissions,omitempty"` // contains filtered or unexported fields }
func (*CreateApiKeyRequest_KeyPermissions) Descriptor
deprecated
func (*CreateApiKeyRequest_KeyPermissions) Descriptor() ([]byte, []int)
Deprecated: Use CreateApiKeyRequest_KeyPermissions.ProtoReflect.Descriptor instead.
func (*CreateApiKeyRequest_KeyPermissions) GetPermissions ¶
func (x *CreateApiKeyRequest_KeyPermissions) GetPermissions() []string
func (*CreateApiKeyRequest_KeyPermissions) GetPresets ¶
func (x *CreateApiKeyRequest_KeyPermissions) GetPresets() []string
func (*CreateApiKeyRequest_KeyPermissions) ProtoMessage ¶
func (*CreateApiKeyRequest_KeyPermissions) ProtoMessage()
func (*CreateApiKeyRequest_KeyPermissions) ProtoReflect ¶
func (x *CreateApiKeyRequest_KeyPermissions) ProtoReflect() protoreflect.Message
func (*CreateApiKeyRequest_KeyPermissions) Reset ¶
func (x *CreateApiKeyRequest_KeyPermissions) Reset()
func (*CreateApiKeyRequest_KeyPermissions) String ¶
func (x *CreateApiKeyRequest_KeyPermissions) String() string
type CreateApiKeyResponse ¶
type CreateApiKeyResponse struct { KeyId string `protobuf:"bytes,1,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*CreateApiKeyResponse) Descriptor
deprecated
func (*CreateApiKeyResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateApiKeyResponse.ProtoReflect.Descriptor instead.
func (*CreateApiKeyResponse) GetKeyId ¶
func (x *CreateApiKeyResponse) GetKeyId() string
func (*CreateApiKeyResponse) GetName ¶
func (x *CreateApiKeyResponse) GetName() string
func (*CreateApiKeyResponse) GetValue ¶
func (x *CreateApiKeyResponse) GetValue() string
func (*CreateApiKeyResponse) ProtoMessage ¶
func (*CreateApiKeyResponse) ProtoMessage()
func (*CreateApiKeyResponse) ProtoReflect ¶
func (x *CreateApiKeyResponse) ProtoReflect() protoreflect.Message
func (*CreateApiKeyResponse) Reset ¶
func (x *CreateApiKeyResponse) Reset()
func (*CreateApiKeyResponse) String ¶
func (x *CreateApiKeyResponse) String() string
type DeleteApiKeyRequest ¶
type DeleteApiKeyRequest struct { KeyId string `protobuf:"bytes,1,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"` // contains filtered or unexported fields }
func (*DeleteApiKeyRequest) Descriptor
deprecated
func (*DeleteApiKeyRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteApiKeyRequest.ProtoReflect.Descriptor instead.
func (*DeleteApiKeyRequest) GetKeyId ¶
func (x *DeleteApiKeyRequest) GetKeyId() string
func (*DeleteApiKeyRequest) ProtoMessage ¶
func (*DeleteApiKeyRequest) ProtoMessage()
func (*DeleteApiKeyRequest) ProtoReflect ¶
func (x *DeleteApiKeyRequest) ProtoReflect() protoreflect.Message
func (*DeleteApiKeyRequest) Reset ¶
func (x *DeleteApiKeyRequest) Reset()
func (*DeleteApiKeyRequest) String ¶
func (x *DeleteApiKeyRequest) String() string
type DeleteApiKeyResponse ¶
type DeleteApiKeyResponse struct {
// contains filtered or unexported fields
}
func (*DeleteApiKeyResponse) Descriptor
deprecated
func (*DeleteApiKeyResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteApiKeyResponse.ProtoReflect.Descriptor instead.
func (*DeleteApiKeyResponse) ProtoMessage ¶
func (*DeleteApiKeyResponse) ProtoMessage()
func (*DeleteApiKeyResponse) ProtoReflect ¶
func (x *DeleteApiKeyResponse) ProtoReflect() protoreflect.Message
func (*DeleteApiKeyResponse) Reset ¶
func (x *DeleteApiKeyResponse) Reset()
func (*DeleteApiKeyResponse) String ¶
func (x *DeleteApiKeyResponse) String() string
type GetApiKeyRequest ¶
type GetApiKeyRequest struct { KeyId string `protobuf:"bytes,1,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"` // contains filtered or unexported fields }
func (*GetApiKeyRequest) Descriptor
deprecated
func (*GetApiKeyRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetApiKeyRequest.ProtoReflect.Descriptor instead.
func (*GetApiKeyRequest) GetKeyId ¶
func (x *GetApiKeyRequest) GetKeyId() string
func (*GetApiKeyRequest) ProtoMessage ¶
func (*GetApiKeyRequest) ProtoMessage()
func (*GetApiKeyRequest) ProtoReflect ¶
func (x *GetApiKeyRequest) ProtoReflect() protoreflect.Message
func (*GetApiKeyRequest) Reset ¶
func (x *GetApiKeyRequest) Reset()
func (*GetApiKeyRequest) String ¶
func (x *GetApiKeyRequest) String() string
type GetApiKeyResponse ¶
type GetApiKeyResponse struct { KeyInfo *KeyInfo `protobuf:"bytes,1,opt,name=key_info,json=keyInfo,proto3" json:"key_info,omitempty"` // contains filtered or unexported fields }
func (*GetApiKeyResponse) Descriptor
deprecated
func (*GetApiKeyResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetApiKeyResponse.ProtoReflect.Descriptor instead.
func (*GetApiKeyResponse) GetKeyInfo ¶
func (x *GetApiKeyResponse) GetKeyInfo() *KeyInfo
func (*GetApiKeyResponse) ProtoMessage ¶
func (*GetApiKeyResponse) ProtoMessage()
func (*GetApiKeyResponse) ProtoReflect ¶
func (x *GetApiKeyResponse) ProtoReflect() protoreflect.Message
func (*GetApiKeyResponse) Reset ¶
func (x *GetApiKeyResponse) Reset()
func (*GetApiKeyResponse) String ¶
func (x *GetApiKeyResponse) String() string
type KeyInfo ¶
type KeyInfo struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Owner *Owner `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"` Active bool `protobuf:"varint,3,opt,name=active,proto3" json:"active,omitempty"` Hashed bool `protobuf:"varint,4,opt,name=hashed,proto3" json:"hashed,omitempty"` KeyPermissions *KeyInfo_KeyPermissions `protobuf:"bytes,5,opt,name=key_permissions,json=keyPermissions,proto3" json:"key_permissions,omitempty"` Value *string `protobuf:"bytes,6,opt,name=value,proto3,oneof" json:"value,omitempty"` // contains filtered or unexported fields }
func (*KeyInfo) Descriptor
deprecated
func (*KeyInfo) GetKeyPermissions ¶
func (x *KeyInfo) GetKeyPermissions() *KeyInfo_KeyPermissions
func (*KeyInfo) ProtoMessage ¶
func (*KeyInfo) ProtoMessage()
func (*KeyInfo) ProtoReflect ¶
func (x *KeyInfo) ProtoReflect() protoreflect.Message
type KeyInfo_KeyPermissions ¶
type KeyInfo_KeyPermissions struct { Presets []*PresetInfo `protobuf:"bytes,1,rep,name=presets,proto3" json:"presets,omitempty"` Permissions []string `protobuf:"bytes,2,rep,name=permissions,proto3" json:"permissions,omitempty"` // contains filtered or unexported fields }
func (*KeyInfo_KeyPermissions) Descriptor
deprecated
func (*KeyInfo_KeyPermissions) Descriptor() ([]byte, []int)
Deprecated: Use KeyInfo_KeyPermissions.ProtoReflect.Descriptor instead.
func (*KeyInfo_KeyPermissions) GetPermissions ¶
func (x *KeyInfo_KeyPermissions) GetPermissions() []string
func (*KeyInfo_KeyPermissions) GetPresets ¶
func (x *KeyInfo_KeyPermissions) GetPresets() []*PresetInfo
func (*KeyInfo_KeyPermissions) ProtoMessage ¶
func (*KeyInfo_KeyPermissions) ProtoMessage()
func (*KeyInfo_KeyPermissions) ProtoReflect ¶
func (x *KeyInfo_KeyPermissions) ProtoReflect() protoreflect.Message
func (*KeyInfo_KeyPermissions) Reset ¶
func (x *KeyInfo_KeyPermissions) Reset()
func (*KeyInfo_KeyPermissions) String ¶
func (x *KeyInfo_KeyPermissions) String() string
type Owner ¶
type Owner struct { // Types that are assignable to Owner: // // *Owner_UserId // *Owner_TeamId // *Owner_OrganisationId Owner isOwner_Owner `protobuf_oneof:"owner"` // contains filtered or unexported fields }
func (*Owner) Descriptor
deprecated
func (*Owner) GetOrganisationId ¶
func (*Owner) ProtoMessage ¶
func (*Owner) ProtoMessage()
func (*Owner) ProtoReflect ¶
func (x *Owner) ProtoReflect() protoreflect.Message
type Owner_OrganisationId ¶
type Owner_OrganisationId struct {
OrganisationId string `protobuf:"bytes,3,opt,name=organisation_id,json=organisationId,proto3,oneof"`
}
type Owner_TeamId ¶
type Owner_TeamId struct {
TeamId uint32 `protobuf:"varint,2,opt,name=team_id,json=teamId,proto3,oneof"`
}
type Owner_UserId ¶
type Owner_UserId struct {
UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3,oneof"`
}
type PresetInfo ¶
type PresetInfo struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Permissions []string `protobuf:"bytes,2,rep,name=permissions,proto3" json:"permissions,omitempty"` // contains filtered or unexported fields }
func (*PresetInfo) Descriptor
deprecated
func (*PresetInfo) Descriptor() ([]byte, []int)
Deprecated: Use PresetInfo.ProtoReflect.Descriptor instead.
func (*PresetInfo) GetName ¶
func (x *PresetInfo) GetName() string
func (*PresetInfo) GetPermissions ¶
func (x *PresetInfo) GetPermissions() []string
func (*PresetInfo) ProtoMessage ¶
func (*PresetInfo) ProtoMessage()
func (*PresetInfo) ProtoReflect ¶
func (x *PresetInfo) ProtoReflect() protoreflect.Message
func (*PresetInfo) Reset ¶
func (x *PresetInfo) Reset()
func (*PresetInfo) String ¶
func (x *PresetInfo) String() string
type UnimplementedApiKeysServiceServer ¶
type UnimplementedApiKeysServiceServer struct { }
UnimplementedApiKeysServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedApiKeysServiceServer) CreateApiKey ¶
func (UnimplementedApiKeysServiceServer) CreateApiKey(context.Context, *CreateApiKeyRequest) (*CreateApiKeyResponse, error)
func (UnimplementedApiKeysServiceServer) DeleteApiKey ¶
func (UnimplementedApiKeysServiceServer) DeleteApiKey(context.Context, *DeleteApiKeyRequest) (*DeleteApiKeyResponse, error)
func (UnimplementedApiKeysServiceServer) GetApiKey ¶
func (UnimplementedApiKeysServiceServer) GetApiKey(context.Context, *GetApiKeyRequest) (*GetApiKeyResponse, error)
func (UnimplementedApiKeysServiceServer) UpdateApiKey ¶
func (UnimplementedApiKeysServiceServer) UpdateApiKey(context.Context, *UpdateApiKeyRequest) (*UpdateApiKeyResponse, error)
type UnsafeApiKeysServiceServer ¶
type UnsafeApiKeysServiceServer interface {
// contains filtered or unexported methods
}
UnsafeApiKeysServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ApiKeysServiceServer will result in compilation errors.
type UpdateApiKeyRequest ¶
type UpdateApiKeyRequest struct { KeyId string `protobuf:"bytes,1,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"` NewName *string `protobuf:"bytes,2,opt,name=new_name,json=newName,proto3,oneof" json:"new_name,omitempty"` IsActive *bool `protobuf:"varint,3,opt,name=is_active,json=isActive,proto3,oneof" json:"is_active,omitempty"` Presets *UpdateApiKeyRequest_Presets `protobuf:"bytes,4,opt,name=presets,proto3,oneof" json:"presets,omitempty"` Permissions *UpdateApiKeyRequest_Permissions `protobuf:"bytes,5,opt,name=permissions,proto3,oneof" json:"permissions,omitempty"` // contains filtered or unexported fields }
func (*UpdateApiKeyRequest) Descriptor
deprecated
func (*UpdateApiKeyRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateApiKeyRequest.ProtoReflect.Descriptor instead.
func (*UpdateApiKeyRequest) GetIsActive ¶
func (x *UpdateApiKeyRequest) GetIsActive() bool
func (*UpdateApiKeyRequest) GetKeyId ¶
func (x *UpdateApiKeyRequest) GetKeyId() string
func (*UpdateApiKeyRequest) GetNewName ¶
func (x *UpdateApiKeyRequest) GetNewName() string
func (*UpdateApiKeyRequest) GetPermissions ¶
func (x *UpdateApiKeyRequest) GetPermissions() *UpdateApiKeyRequest_Permissions
func (*UpdateApiKeyRequest) GetPresets ¶
func (x *UpdateApiKeyRequest) GetPresets() *UpdateApiKeyRequest_Presets
func (*UpdateApiKeyRequest) ProtoMessage ¶
func (*UpdateApiKeyRequest) ProtoMessage()
func (*UpdateApiKeyRequest) ProtoReflect ¶
func (x *UpdateApiKeyRequest) ProtoReflect() protoreflect.Message
func (*UpdateApiKeyRequest) Reset ¶
func (x *UpdateApiKeyRequest) Reset()
func (*UpdateApiKeyRequest) String ¶
func (x *UpdateApiKeyRequest) String() string
type UpdateApiKeyRequest_Permissions ¶
type UpdateApiKeyRequest_Permissions struct { Permissions []string `protobuf:"bytes,1,rep,name=permissions,proto3" json:"permissions,omitempty"` // contains filtered or unexported fields }
func (*UpdateApiKeyRequest_Permissions) Descriptor
deprecated
func (*UpdateApiKeyRequest_Permissions) Descriptor() ([]byte, []int)
Deprecated: Use UpdateApiKeyRequest_Permissions.ProtoReflect.Descriptor instead.
func (*UpdateApiKeyRequest_Permissions) GetPermissions ¶
func (x *UpdateApiKeyRequest_Permissions) GetPermissions() []string
func (*UpdateApiKeyRequest_Permissions) ProtoMessage ¶
func (*UpdateApiKeyRequest_Permissions) ProtoMessage()
func (*UpdateApiKeyRequest_Permissions) ProtoReflect ¶
func (x *UpdateApiKeyRequest_Permissions) ProtoReflect() protoreflect.Message
func (*UpdateApiKeyRequest_Permissions) Reset ¶
func (x *UpdateApiKeyRequest_Permissions) Reset()
func (*UpdateApiKeyRequest_Permissions) String ¶
func (x *UpdateApiKeyRequest_Permissions) String() string
type UpdateApiKeyRequest_Presets ¶
type UpdateApiKeyRequest_Presets struct { Presets []string `protobuf:"bytes,1,rep,name=presets,proto3" json:"presets,omitempty"` // contains filtered or unexported fields }
func (*UpdateApiKeyRequest_Presets) Descriptor
deprecated
func (*UpdateApiKeyRequest_Presets) Descriptor() ([]byte, []int)
Deprecated: Use UpdateApiKeyRequest_Presets.ProtoReflect.Descriptor instead.
func (*UpdateApiKeyRequest_Presets) GetPresets ¶
func (x *UpdateApiKeyRequest_Presets) GetPresets() []string
func (*UpdateApiKeyRequest_Presets) ProtoMessage ¶
func (*UpdateApiKeyRequest_Presets) ProtoMessage()
func (*UpdateApiKeyRequest_Presets) ProtoReflect ¶
func (x *UpdateApiKeyRequest_Presets) ProtoReflect() protoreflect.Message
func (*UpdateApiKeyRequest_Presets) Reset ¶
func (x *UpdateApiKeyRequest_Presets) Reset()
func (*UpdateApiKeyRequest_Presets) String ¶
func (x *UpdateApiKeyRequest_Presets) String() string
type UpdateApiKeyResponse ¶
type UpdateApiKeyResponse struct {
// contains filtered or unexported fields
}
func (*UpdateApiKeyResponse) Descriptor
deprecated
func (*UpdateApiKeyResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateApiKeyResponse.ProtoReflect.Descriptor instead.
func (*UpdateApiKeyResponse) ProtoMessage ¶
func (*UpdateApiKeyResponse) ProtoMessage()
func (*UpdateApiKeyResponse) ProtoReflect ¶
func (x *UpdateApiKeyResponse) ProtoReflect() protoreflect.Message
func (*UpdateApiKeyResponse) Reset ¶
func (x *UpdateApiKeyResponse) Reset()
func (*UpdateApiKeyResponse) String ¶
func (x *UpdateApiKeyResponse) String() string