Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterCommandInspectionServiceServer(s grpc.ServiceRegistrar, srv CommandInspectionServiceServer)
- func RegisterIdentityProviderConfigServiceServer(s grpc.ServiceRegistrar, srv IdentityProviderConfigServiceServer)
- func RegisterPackageManagementServiceServer(s grpc.ServiceRegistrar, srv PackageManagementServiceServer)
- func RegisterParticipantPruningServiceServer(s grpc.ServiceRegistrar, srv ParticipantPruningServiceServer)
- func RegisterPartyManagementServiceServer(s grpc.ServiceRegistrar, srv PartyManagementServiceServer)
- func RegisterUserManagementServiceServer(s grpc.ServiceRegistrar, srv UserManagementServiceServer)
- type AllocateExternalPartyRequest
- func (*AllocateExternalPartyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AllocateExternalPartyRequest) GetIdentityProviderId() string
- func (x *AllocateExternalPartyRequest) GetMultiHashSignatures() []*v2.Signature
- func (x *AllocateExternalPartyRequest) GetOnboardingTransactions() []*AllocateExternalPartyRequest_SignedTransaction
- func (x *AllocateExternalPartyRequest) GetSynchronizer() string
- func (*AllocateExternalPartyRequest) ProtoMessage()
- func (x *AllocateExternalPartyRequest) ProtoReflect() protoreflect.Message
- func (x *AllocateExternalPartyRequest) Reset()
- func (x *AllocateExternalPartyRequest) String() string
- type AllocateExternalPartyRequest_SignedTransaction
- func (*AllocateExternalPartyRequest_SignedTransaction) Descriptor() ([]byte, []int)deprecated
- func (x *AllocateExternalPartyRequest_SignedTransaction) GetSignatures() []*v2.Signature
- func (x *AllocateExternalPartyRequest_SignedTransaction) GetTransaction() []byte
- func (*AllocateExternalPartyRequest_SignedTransaction) ProtoMessage()
- func (x *AllocateExternalPartyRequest_SignedTransaction) ProtoReflect() protoreflect.Message
- func (x *AllocateExternalPartyRequest_SignedTransaction) Reset()
- func (x *AllocateExternalPartyRequest_SignedTransaction) String() string
- type AllocateExternalPartyResponse
- func (*AllocateExternalPartyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AllocateExternalPartyResponse) GetPartyId() string
- func (*AllocateExternalPartyResponse) ProtoMessage()
- func (x *AllocateExternalPartyResponse) ProtoReflect() protoreflect.Message
- func (x *AllocateExternalPartyResponse) Reset()
- func (x *AllocateExternalPartyResponse) String() string
- type AllocatePartyRequest
- func (*AllocatePartyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AllocatePartyRequest) GetIdentityProviderId() string
- func (x *AllocatePartyRequest) GetLocalMetadata() *ObjectMeta
- func (x *AllocatePartyRequest) GetPartyIdHint() string
- func (x *AllocatePartyRequest) GetSynchronizerId() string
- func (x *AllocatePartyRequest) GetUserId() string
- func (*AllocatePartyRequest) ProtoMessage()
- func (x *AllocatePartyRequest) ProtoReflect() protoreflect.Message
- func (x *AllocatePartyRequest) Reset()
- func (x *AllocatePartyRequest) String() string
- type AllocatePartyResponse
- func (*AllocatePartyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AllocatePartyResponse) GetPartyDetails() *PartyDetails
- func (*AllocatePartyResponse) ProtoMessage()
- func (x *AllocatePartyResponse) ProtoReflect() protoreflect.Message
- func (x *AllocatePartyResponse) Reset()
- func (x *AllocatePartyResponse) String() string
- type CommandInspectionServiceClient
- type CommandInspectionServiceServer
- type CommandState
- func (CommandState) Descriptor() protoreflect.EnumDescriptor
- func (x CommandState) Enum() *CommandState
- func (CommandState) EnumDescriptor() ([]byte, []int)deprecated
- func (x CommandState) Number() protoreflect.EnumNumber
- func (x CommandState) String() string
- func (CommandState) Type() protoreflect.EnumType
- type CommandStatus
- func (*CommandStatus) Descriptor() ([]byte, []int)deprecated
- func (x *CommandStatus) GetCommands() []*v2.Command
- func (x *CommandStatus) GetCompleted() *timestamppb.Timestamp
- func (x *CommandStatus) GetCompletion() *v2.Completion
- func (x *CommandStatus) GetRequestStatistics() *RequestStatistics
- func (x *CommandStatus) GetStarted() *timestamppb.Timestamp
- func (x *CommandStatus) GetState() CommandState
- func (x *CommandStatus) GetUpdates() *CommandUpdates
- func (*CommandStatus) ProtoMessage()
- func (x *CommandStatus) ProtoReflect() protoreflect.Message
- func (x *CommandStatus) Reset()
- func (x *CommandStatus) String() string
- type CommandUpdates
- func (*CommandUpdates) Descriptor() ([]byte, []int)deprecated
- func (x *CommandUpdates) GetArchived() []*Contract
- func (x *CommandUpdates) GetCreated() []*Contract
- func (x *CommandUpdates) GetExercised() uint32
- func (x *CommandUpdates) GetFetched() uint32
- func (x *CommandUpdates) GetLookedUpByKey() uint32
- func (*CommandUpdates) ProtoMessage()
- func (x *CommandUpdates) ProtoReflect() protoreflect.Message
- func (x *CommandUpdates) Reset()
- func (x *CommandUpdates) String() string
- type Contract
- func (*Contract) Descriptor() ([]byte, []int)deprecated
- func (x *Contract) GetContractId() string
- func (x *Contract) GetContractKey() *v2.Value
- func (x *Contract) GetTemplateId() *v2.Identifier
- func (*Contract) ProtoMessage()
- func (x *Contract) ProtoReflect() protoreflect.Message
- func (x *Contract) Reset()
- func (x *Contract) String() string
- type CreateIdentityProviderConfigRequest
- func (*CreateIdentityProviderConfigRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateIdentityProviderConfigRequest) GetIdentityProviderConfig() *IdentityProviderConfig
- func (*CreateIdentityProviderConfigRequest) ProtoMessage()
- func (x *CreateIdentityProviderConfigRequest) ProtoReflect() protoreflect.Message
- func (x *CreateIdentityProviderConfigRequest) Reset()
- func (x *CreateIdentityProviderConfigRequest) String() string
- type CreateIdentityProviderConfigResponse
- func (*CreateIdentityProviderConfigResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateIdentityProviderConfigResponse) GetIdentityProviderConfig() *IdentityProviderConfig
- func (*CreateIdentityProviderConfigResponse) ProtoMessage()
- func (x *CreateIdentityProviderConfigResponse) ProtoReflect() protoreflect.Message
- func (x *CreateIdentityProviderConfigResponse) Reset()
- func (x *CreateIdentityProviderConfigResponse) String() string
- type CreateUserRequest
- func (*CreateUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateUserRequest) GetRights() []*Right
- func (x *CreateUserRequest) GetUser() *User
- func (*CreateUserRequest) ProtoMessage()
- func (x *CreateUserRequest) ProtoReflect() protoreflect.Message
- func (x *CreateUserRequest) Reset()
- func (x *CreateUserRequest) String() string
- type CreateUserResponse
- type DeleteIdentityProviderConfigRequest
- func (*DeleteIdentityProviderConfigRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteIdentityProviderConfigRequest) GetIdentityProviderId() string
- func (*DeleteIdentityProviderConfigRequest) ProtoMessage()
- func (x *DeleteIdentityProviderConfigRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteIdentityProviderConfigRequest) Reset()
- func (x *DeleteIdentityProviderConfigRequest) String() string
- type DeleteIdentityProviderConfigResponse
- func (*DeleteIdentityProviderConfigResponse) Descriptor() ([]byte, []int)deprecated
- func (*DeleteIdentityProviderConfigResponse) ProtoMessage()
- func (x *DeleteIdentityProviderConfigResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteIdentityProviderConfigResponse) Reset()
- func (x *DeleteIdentityProviderConfigResponse) String() string
- type DeleteUserRequest
- func (*DeleteUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteUserRequest) GetIdentityProviderId() string
- func (x *DeleteUserRequest) GetUserId() string
- func (*DeleteUserRequest) ProtoMessage()
- func (x *DeleteUserRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteUserRequest) Reset()
- func (x *DeleteUserRequest) String() string
- type DeleteUserResponse
- type GenerateExternalPartyTopologyRequest
- func (*GenerateExternalPartyTopologyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GenerateExternalPartyTopologyRequest) GetConfirmationThreshold() uint32
- func (x *GenerateExternalPartyTopologyRequest) GetLocalParticipantObservationOnly() bool
- func (x *GenerateExternalPartyTopologyRequest) GetObservingParticipantUids() []string
- func (x *GenerateExternalPartyTopologyRequest) GetOtherConfirmingParticipantUids() []string
- func (x *GenerateExternalPartyTopologyRequest) GetPartyHint() string
- func (x *GenerateExternalPartyTopologyRequest) GetPublicKey() *v2.SigningPublicKey
- func (x *GenerateExternalPartyTopologyRequest) GetSynchronizer() string
- func (*GenerateExternalPartyTopologyRequest) ProtoMessage()
- func (x *GenerateExternalPartyTopologyRequest) ProtoReflect() protoreflect.Message
- func (x *GenerateExternalPartyTopologyRequest) Reset()
- func (x *GenerateExternalPartyTopologyRequest) String() string
- type GenerateExternalPartyTopologyResponse
- func (*GenerateExternalPartyTopologyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GenerateExternalPartyTopologyResponse) GetMultiHash() []byte
- func (x *GenerateExternalPartyTopologyResponse) GetPartyId() string
- func (x *GenerateExternalPartyTopologyResponse) GetPublicKeyFingerprint() string
- func (x *GenerateExternalPartyTopologyResponse) GetTopologyTransactions() [][]byte
- func (*GenerateExternalPartyTopologyResponse) ProtoMessage()
- func (x *GenerateExternalPartyTopologyResponse) ProtoReflect() protoreflect.Message
- func (x *GenerateExternalPartyTopologyResponse) Reset()
- func (x *GenerateExternalPartyTopologyResponse) String() string
- type GetCommandStatusRequest
- func (*GetCommandStatusRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetCommandStatusRequest) GetCommandIdPrefix() string
- func (x *GetCommandStatusRequest) GetLimit() uint32
- func (x *GetCommandStatusRequest) GetState() CommandState
- func (*GetCommandStatusRequest) ProtoMessage()
- func (x *GetCommandStatusRequest) ProtoReflect() protoreflect.Message
- func (x *GetCommandStatusRequest) Reset()
- func (x *GetCommandStatusRequest) String() string
- type GetCommandStatusResponse
- func (*GetCommandStatusResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetCommandStatusResponse) GetCommandStatus() []*CommandStatus
- func (*GetCommandStatusResponse) ProtoMessage()
- func (x *GetCommandStatusResponse) ProtoReflect() protoreflect.Message
- func (x *GetCommandStatusResponse) Reset()
- func (x *GetCommandStatusResponse) String() string
- type GetIdentityProviderConfigRequest
- func (*GetIdentityProviderConfigRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetIdentityProviderConfigRequest) GetIdentityProviderId() string
- func (*GetIdentityProviderConfigRequest) ProtoMessage()
- func (x *GetIdentityProviderConfigRequest) ProtoReflect() protoreflect.Message
- func (x *GetIdentityProviderConfigRequest) Reset()
- func (x *GetIdentityProviderConfigRequest) String() string
- type GetIdentityProviderConfigResponse
- func (*GetIdentityProviderConfigResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetIdentityProviderConfigResponse) GetIdentityProviderConfig() *IdentityProviderConfig
- func (*GetIdentityProviderConfigResponse) ProtoMessage()
- func (x *GetIdentityProviderConfigResponse) ProtoReflect() protoreflect.Message
- func (x *GetIdentityProviderConfigResponse) Reset()
- func (x *GetIdentityProviderConfigResponse) String() string
- type GetParticipantIdRequest
- type GetParticipantIdResponse
- func (*GetParticipantIdResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetParticipantIdResponse) GetParticipantId() string
- func (*GetParticipantIdResponse) ProtoMessage()
- func (x *GetParticipantIdResponse) ProtoReflect() protoreflect.Message
- func (x *GetParticipantIdResponse) Reset()
- func (x *GetParticipantIdResponse) String() string
- type GetPartiesRequest
- func (*GetPartiesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetPartiesRequest) GetIdentityProviderId() string
- func (x *GetPartiesRequest) GetParties() []string
- func (*GetPartiesRequest) ProtoMessage()
- func (x *GetPartiesRequest) ProtoReflect() protoreflect.Message
- func (x *GetPartiesRequest) Reset()
- func (x *GetPartiesRequest) String() string
- type GetPartiesResponse
- func (*GetPartiesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetPartiesResponse) GetPartyDetails() []*PartyDetails
- func (*GetPartiesResponse) ProtoMessage()
- func (x *GetPartiesResponse) ProtoReflect() protoreflect.Message
- func (x *GetPartiesResponse) Reset()
- func (x *GetPartiesResponse) String() string
- type GetUserRequest
- func (*GetUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserRequest) GetIdentityProviderId() string
- func (x *GetUserRequest) GetUserId() string
- func (*GetUserRequest) ProtoMessage()
- func (x *GetUserRequest) ProtoReflect() protoreflect.Message
- func (x *GetUserRequest) Reset()
- func (x *GetUserRequest) String() string
- type GetUserResponse
- type GrantUserRightsRequest
- func (*GrantUserRightsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GrantUserRightsRequest) GetIdentityProviderId() string
- func (x *GrantUserRightsRequest) GetRights() []*Right
- func (x *GrantUserRightsRequest) GetUserId() string
- func (*GrantUserRightsRequest) ProtoMessage()
- func (x *GrantUserRightsRequest) ProtoReflect() protoreflect.Message
- func (x *GrantUserRightsRequest) Reset()
- func (x *GrantUserRightsRequest) String() string
- type GrantUserRightsResponse
- func (*GrantUserRightsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GrantUserRightsResponse) GetNewlyGrantedRights() []*Right
- func (*GrantUserRightsResponse) ProtoMessage()
- func (x *GrantUserRightsResponse) ProtoReflect() protoreflect.Message
- func (x *GrantUserRightsResponse) Reset()
- func (x *GrantUserRightsResponse) String() string
- type IdentityProviderConfig
- func (*IdentityProviderConfig) Descriptor() ([]byte, []int)deprecated
- func (x *IdentityProviderConfig) GetAudience() string
- func (x *IdentityProviderConfig) GetIdentityProviderId() string
- func (x *IdentityProviderConfig) GetIsDeactivated() bool
- func (x *IdentityProviderConfig) GetIssuer() string
- func (x *IdentityProviderConfig) GetJwksUrl() string
- func (*IdentityProviderConfig) ProtoMessage()
- func (x *IdentityProviderConfig) ProtoReflect() protoreflect.Message
- func (x *IdentityProviderConfig) Reset()
- func (x *IdentityProviderConfig) String() string
- type IdentityProviderConfigServiceClient
- type IdentityProviderConfigServiceServer
- type ListIdentityProviderConfigsRequest
- func (*ListIdentityProviderConfigsRequest) Descriptor() ([]byte, []int)deprecated
- func (*ListIdentityProviderConfigsRequest) ProtoMessage()
- func (x *ListIdentityProviderConfigsRequest) ProtoReflect() protoreflect.Message
- func (x *ListIdentityProviderConfigsRequest) Reset()
- func (x *ListIdentityProviderConfigsRequest) String() string
- type ListIdentityProviderConfigsResponse
- func (*ListIdentityProviderConfigsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListIdentityProviderConfigsResponse) GetIdentityProviderConfigs() []*IdentityProviderConfig
- func (*ListIdentityProviderConfigsResponse) ProtoMessage()
- func (x *ListIdentityProviderConfigsResponse) ProtoReflect() protoreflect.Message
- func (x *ListIdentityProviderConfigsResponse) Reset()
- func (x *ListIdentityProviderConfigsResponse) String() string
- type ListKnownPackagesRequest
- type ListKnownPackagesResponse
- func (*ListKnownPackagesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListKnownPackagesResponse) GetPackageDetails() []*PackageDetails
- func (*ListKnownPackagesResponse) ProtoMessage()
- func (x *ListKnownPackagesResponse) ProtoReflect() protoreflect.Message
- func (x *ListKnownPackagesResponse) Reset()
- func (x *ListKnownPackagesResponse) String() string
- type ListKnownPartiesRequest
- func (*ListKnownPartiesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListKnownPartiesRequest) GetIdentityProviderId() string
- func (x *ListKnownPartiesRequest) GetPageSize() int32
- func (x *ListKnownPartiesRequest) GetPageToken() string
- func (*ListKnownPartiesRequest) ProtoMessage()
- func (x *ListKnownPartiesRequest) ProtoReflect() protoreflect.Message
- func (x *ListKnownPartiesRequest) Reset()
- func (x *ListKnownPartiesRequest) String() string
- type ListKnownPartiesResponse
- func (*ListKnownPartiesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListKnownPartiesResponse) GetNextPageToken() string
- func (x *ListKnownPartiesResponse) GetPartyDetails() []*PartyDetails
- func (*ListKnownPartiesResponse) ProtoMessage()
- func (x *ListKnownPartiesResponse) ProtoReflect() protoreflect.Message
- func (x *ListKnownPartiesResponse) Reset()
- func (x *ListKnownPartiesResponse) String() string
- type ListUserRightsRequest
- func (*ListUserRightsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListUserRightsRequest) GetIdentityProviderId() string
- func (x *ListUserRightsRequest) GetUserId() string
- func (*ListUserRightsRequest) ProtoMessage()
- func (x *ListUserRightsRequest) ProtoReflect() protoreflect.Message
- func (x *ListUserRightsRequest) Reset()
- func (x *ListUserRightsRequest) String() string
- type ListUserRightsResponse
- func (*ListUserRightsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListUserRightsResponse) GetRights() []*Right
- func (*ListUserRightsResponse) ProtoMessage()
- func (x *ListUserRightsResponse) ProtoReflect() protoreflect.Message
- func (x *ListUserRightsResponse) Reset()
- func (x *ListUserRightsResponse) String() string
- type ListUsersRequest
- func (*ListUsersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListUsersRequest) GetIdentityProviderId() string
- func (x *ListUsersRequest) GetPageSize() int32
- func (x *ListUsersRequest) GetPageToken() string
- func (*ListUsersRequest) ProtoMessage()
- func (x *ListUsersRequest) ProtoReflect() protoreflect.Message
- func (x *ListUsersRequest) Reset()
- func (x *ListUsersRequest) String() string
- type ListUsersResponse
- func (*ListUsersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListUsersResponse) GetNextPageToken() string
- func (x *ListUsersResponse) GetUsers() []*User
- func (*ListUsersResponse) ProtoMessage()
- func (x *ListUsersResponse) ProtoReflect() protoreflect.Message
- func (x *ListUsersResponse) Reset()
- func (x *ListUsersResponse) String() string
- type ObjectMeta
- func (*ObjectMeta) Descriptor() ([]byte, []int)deprecated
- func (x *ObjectMeta) GetAnnotations() map[string]string
- func (x *ObjectMeta) GetResourceVersion() string
- func (*ObjectMeta) ProtoMessage()
- func (x *ObjectMeta) ProtoReflect() protoreflect.Message
- func (x *ObjectMeta) Reset()
- func (x *ObjectMeta) String() string
- type PackageDetails
- func (*PackageDetails) Descriptor() ([]byte, []int)deprecated
- func (x *PackageDetails) GetKnownSince() *timestamppb.Timestamp
- func (x *PackageDetails) GetName() string
- func (x *PackageDetails) GetPackageId() string
- func (x *PackageDetails) GetPackageSize() uint64
- func (x *PackageDetails) GetVersion() string
- func (*PackageDetails) ProtoMessage()
- func (x *PackageDetails) ProtoReflect() protoreflect.Message
- func (x *PackageDetails) Reset()
- func (x *PackageDetails) String() string
- type PackageManagementServiceClient
- type PackageManagementServiceServer
- type ParticipantPruningServiceClient
- type ParticipantPruningServiceServer
- type PartyDetails
- func (*PartyDetails) Descriptor() ([]byte, []int)deprecated
- func (x *PartyDetails) GetIdentityProviderId() string
- func (x *PartyDetails) GetIsLocal() bool
- func (x *PartyDetails) GetLocalMetadata() *ObjectMeta
- func (x *PartyDetails) GetParty() string
- func (*PartyDetails) ProtoMessage()
- func (x *PartyDetails) ProtoReflect() protoreflect.Message
- func (x *PartyDetails) Reset()
- func (x *PartyDetails) String() string
- type PartyManagementServiceClient
- type PartyManagementServiceServer
- type PruneRequest
- func (*PruneRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PruneRequest) GetPruneAllDivulgedContracts() bool
- func (x *PruneRequest) GetPruneUpTo() int64
- func (x *PruneRequest) GetSubmissionId() string
- func (*PruneRequest) ProtoMessage()
- func (x *PruneRequest) ProtoReflect() protoreflect.Message
- func (x *PruneRequest) Reset()
- func (x *PruneRequest) String() string
- type PruneResponse
- type RequestStatistics
- func (*RequestStatistics) Descriptor() ([]byte, []int)deprecated
- func (x *RequestStatistics) GetEnvelopes() uint32
- func (x *RequestStatistics) GetRecipients() uint32
- func (x *RequestStatistics) GetRequestSize() uint32
- func (*RequestStatistics) ProtoMessage()
- func (x *RequestStatistics) ProtoReflect() protoreflect.Message
- func (x *RequestStatistics) Reset()
- func (x *RequestStatistics) String() string
- type RevokeUserRightsRequest
- func (*RevokeUserRightsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RevokeUserRightsRequest) GetIdentityProviderId() string
- func (x *RevokeUserRightsRequest) GetRights() []*Right
- func (x *RevokeUserRightsRequest) GetUserId() string
- func (*RevokeUserRightsRequest) ProtoMessage()
- func (x *RevokeUserRightsRequest) ProtoReflect() protoreflect.Message
- func (x *RevokeUserRightsRequest) Reset()
- func (x *RevokeUserRightsRequest) String() string
- type RevokeUserRightsResponse
- func (*RevokeUserRightsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RevokeUserRightsResponse) GetNewlyRevokedRights() []*Right
- func (*RevokeUserRightsResponse) ProtoMessage()
- func (x *RevokeUserRightsResponse) ProtoReflect() protoreflect.Message
- func (x *RevokeUserRightsResponse) Reset()
- func (x *RevokeUserRightsResponse) String() string
- type Right
- func (*Right) Descriptor() ([]byte, []int)deprecated
- func (x *Right) GetCanActAs() *Right_CanActAs
- func (x *Right) GetCanExecuteAs() *Right_CanExecuteAs
- func (x *Right) GetCanExecuteAsAnyParty() *Right_CanExecuteAsAnyParty
- func (x *Right) GetCanReadAs() *Right_CanReadAs
- func (x *Right) GetCanReadAsAnyParty() *Right_CanReadAsAnyParty
- func (x *Right) GetIdentityProviderAdmin() *Right_IdentityProviderAdmin
- func (x *Right) GetKind() isRight_Kind
- func (x *Right) GetParticipantAdmin() *Right_ParticipantAdmin
- func (*Right) ProtoMessage()
- func (x *Right) ProtoReflect() protoreflect.Message
- func (x *Right) Reset()
- func (x *Right) String() string
- type Right_CanActAs
- type Right_CanActAs_
- type Right_CanExecuteAs
- func (*Right_CanExecuteAs) Descriptor() ([]byte, []int)deprecated
- func (x *Right_CanExecuteAs) GetParty() string
- func (*Right_CanExecuteAs) ProtoMessage()
- func (x *Right_CanExecuteAs) ProtoReflect() protoreflect.Message
- func (x *Right_CanExecuteAs) Reset()
- func (x *Right_CanExecuteAs) String() string
- type Right_CanExecuteAsAnyParty
- type Right_CanExecuteAsAnyParty_
- type Right_CanExecuteAs_
- type Right_CanReadAs
- type Right_CanReadAsAnyParty
- type Right_CanReadAsAnyParty_
- type Right_CanReadAs_
- type Right_IdentityProviderAdmin
- type Right_IdentityProviderAdmin_
- type Right_ParticipantAdmin
- type Right_ParticipantAdmin_
- type UnimplementedCommandInspectionServiceServer
- type UnimplementedIdentityProviderConfigServiceServer
- func (UnimplementedIdentityProviderConfigServiceServer) CreateIdentityProviderConfig(context.Context, *CreateIdentityProviderConfigRequest) (*CreateIdentityProviderConfigResponse, error)
- func (UnimplementedIdentityProviderConfigServiceServer) DeleteIdentityProviderConfig(context.Context, *DeleteIdentityProviderConfigRequest) (*DeleteIdentityProviderConfigResponse, error)
- func (UnimplementedIdentityProviderConfigServiceServer) GetIdentityProviderConfig(context.Context, *GetIdentityProviderConfigRequest) (*GetIdentityProviderConfigResponse, error)
- func (UnimplementedIdentityProviderConfigServiceServer) ListIdentityProviderConfigs(context.Context, *ListIdentityProviderConfigsRequest) (*ListIdentityProviderConfigsResponse, error)
- func (UnimplementedIdentityProviderConfigServiceServer) UpdateIdentityProviderConfig(context.Context, *UpdateIdentityProviderConfigRequest) (*UpdateIdentityProviderConfigResponse, error)
- type UnimplementedPackageManagementServiceServer
- func (UnimplementedPackageManagementServiceServer) ListKnownPackages(context.Context, *ListKnownPackagesRequest) (*ListKnownPackagesResponse, error)
- func (UnimplementedPackageManagementServiceServer) UpdateVettedPackages(context.Context, *UpdateVettedPackagesRequest) (*UpdateVettedPackagesResponse, error)
- func (UnimplementedPackageManagementServiceServer) UploadDarFile(context.Context, *UploadDarFileRequest) (*UploadDarFileResponse, error)
- func (UnimplementedPackageManagementServiceServer) ValidateDarFile(context.Context, *ValidateDarFileRequest) (*ValidateDarFileResponse, error)
- type UnimplementedParticipantPruningServiceServer
- type UnimplementedPartyManagementServiceServer
- func (UnimplementedPartyManagementServiceServer) AllocateExternalParty(context.Context, *AllocateExternalPartyRequest) (*AllocateExternalPartyResponse, error)
- func (UnimplementedPartyManagementServiceServer) AllocateParty(context.Context, *AllocatePartyRequest) (*AllocatePartyResponse, error)
- func (UnimplementedPartyManagementServiceServer) GenerateExternalPartyTopology(context.Context, *GenerateExternalPartyTopologyRequest) (*GenerateExternalPartyTopologyResponse, error)
- func (UnimplementedPartyManagementServiceServer) GetParticipantId(context.Context, *GetParticipantIdRequest) (*GetParticipantIdResponse, error)
- func (UnimplementedPartyManagementServiceServer) GetParties(context.Context, *GetPartiesRequest) (*GetPartiesResponse, error)
- func (UnimplementedPartyManagementServiceServer) ListKnownParties(context.Context, *ListKnownPartiesRequest) (*ListKnownPartiesResponse, error)
- func (UnimplementedPartyManagementServiceServer) UpdatePartyDetails(context.Context, *UpdatePartyDetailsRequest) (*UpdatePartyDetailsResponse, error)
- func (UnimplementedPartyManagementServiceServer) UpdatePartyIdentityProviderId(context.Context, *UpdatePartyIdentityProviderIdRequest) (*UpdatePartyIdentityProviderIdResponse, error)
- type UnimplementedUserManagementServiceServer
- func (UnimplementedUserManagementServiceServer) CreateUser(context.Context, *CreateUserRequest) (*CreateUserResponse, error)
- func (UnimplementedUserManagementServiceServer) DeleteUser(context.Context, *DeleteUserRequest) (*DeleteUserResponse, error)
- func (UnimplementedUserManagementServiceServer) GetUser(context.Context, *GetUserRequest) (*GetUserResponse, error)
- func (UnimplementedUserManagementServiceServer) GrantUserRights(context.Context, *GrantUserRightsRequest) (*GrantUserRightsResponse, error)
- func (UnimplementedUserManagementServiceServer) ListUserRights(context.Context, *ListUserRightsRequest) (*ListUserRightsResponse, error)
- func (UnimplementedUserManagementServiceServer) ListUsers(context.Context, *ListUsersRequest) (*ListUsersResponse, error)
- func (UnimplementedUserManagementServiceServer) RevokeUserRights(context.Context, *RevokeUserRightsRequest) (*RevokeUserRightsResponse, error)
- func (UnimplementedUserManagementServiceServer) UpdateUser(context.Context, *UpdateUserRequest) (*UpdateUserResponse, error)
- func (UnimplementedUserManagementServiceServer) UpdateUserIdentityProviderId(context.Context, *UpdateUserIdentityProviderIdRequest) (*UpdateUserIdentityProviderIdResponse, error)
- type UnsafeCommandInspectionServiceServer
- type UnsafeIdentityProviderConfigServiceServer
- type UnsafePackageManagementServiceServer
- type UnsafeParticipantPruningServiceServer
- type UnsafePartyManagementServiceServer
- type UnsafeUserManagementServiceServer
- type UpdateIdentityProviderConfigRequest
- func (*UpdateIdentityProviderConfigRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateIdentityProviderConfigRequest) GetIdentityProviderConfig() *IdentityProviderConfig
- func (x *UpdateIdentityProviderConfigRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateIdentityProviderConfigRequest) ProtoMessage()
- func (x *UpdateIdentityProviderConfigRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateIdentityProviderConfigRequest) Reset()
- func (x *UpdateIdentityProviderConfigRequest) String() string
- type UpdateIdentityProviderConfigResponse
- func (*UpdateIdentityProviderConfigResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateIdentityProviderConfigResponse) GetIdentityProviderConfig() *IdentityProviderConfig
- func (*UpdateIdentityProviderConfigResponse) ProtoMessage()
- func (x *UpdateIdentityProviderConfigResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateIdentityProviderConfigResponse) Reset()
- func (x *UpdateIdentityProviderConfigResponse) String() string
- type UpdatePartyDetailsRequest
- func (*UpdatePartyDetailsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdatePartyDetailsRequest) GetPartyDetails() *PartyDetails
- func (x *UpdatePartyDetailsRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdatePartyDetailsRequest) ProtoMessage()
- func (x *UpdatePartyDetailsRequest) ProtoReflect() protoreflect.Message
- func (x *UpdatePartyDetailsRequest) Reset()
- func (x *UpdatePartyDetailsRequest) String() string
- type UpdatePartyDetailsResponse
- func (*UpdatePartyDetailsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdatePartyDetailsResponse) GetPartyDetails() *PartyDetails
- func (*UpdatePartyDetailsResponse) ProtoMessage()
- func (x *UpdatePartyDetailsResponse) ProtoReflect() protoreflect.Message
- func (x *UpdatePartyDetailsResponse) Reset()
- func (x *UpdatePartyDetailsResponse) String() string
- type UpdatePartyIdentityProviderIdRequest
- func (*UpdatePartyIdentityProviderIdRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdatePartyIdentityProviderIdRequest) GetParty() string
- func (x *UpdatePartyIdentityProviderIdRequest) GetSourceIdentityProviderId() string
- func (x *UpdatePartyIdentityProviderIdRequest) GetTargetIdentityProviderId() string
- func (*UpdatePartyIdentityProviderIdRequest) ProtoMessage()
- func (x *UpdatePartyIdentityProviderIdRequest) ProtoReflect() protoreflect.Message
- func (x *UpdatePartyIdentityProviderIdRequest) Reset()
- func (x *UpdatePartyIdentityProviderIdRequest) String() string
- type UpdatePartyIdentityProviderIdResponse
- func (*UpdatePartyIdentityProviderIdResponse) Descriptor() ([]byte, []int)deprecated
- func (*UpdatePartyIdentityProviderIdResponse) ProtoMessage()
- func (x *UpdatePartyIdentityProviderIdResponse) ProtoReflect() protoreflect.Message
- func (x *UpdatePartyIdentityProviderIdResponse) Reset()
- func (x *UpdatePartyIdentityProviderIdResponse) String() string
- type UpdateUserIdentityProviderIdRequest
- func (*UpdateUserIdentityProviderIdRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateUserIdentityProviderIdRequest) GetSourceIdentityProviderId() string
- func (x *UpdateUserIdentityProviderIdRequest) GetTargetIdentityProviderId() string
- func (x *UpdateUserIdentityProviderIdRequest) GetUserId() string
- func (*UpdateUserIdentityProviderIdRequest) ProtoMessage()
- func (x *UpdateUserIdentityProviderIdRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateUserIdentityProviderIdRequest) Reset()
- func (x *UpdateUserIdentityProviderIdRequest) String() string
- type UpdateUserIdentityProviderIdResponse
- func (*UpdateUserIdentityProviderIdResponse) Descriptor() ([]byte, []int)deprecated
- func (*UpdateUserIdentityProviderIdResponse) ProtoMessage()
- func (x *UpdateUserIdentityProviderIdResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateUserIdentityProviderIdResponse) Reset()
- func (x *UpdateUserIdentityProviderIdResponse) String() string
- type UpdateUserRequest
- func (*UpdateUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateUserRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (x *UpdateUserRequest) GetUser() *User
- func (*UpdateUserRequest) ProtoMessage()
- func (x *UpdateUserRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateUserRequest) Reset()
- func (x *UpdateUserRequest) String() string
- type UpdateUserResponse
- type UpdateVettedPackagesForceFlag
- func (UpdateVettedPackagesForceFlag) Descriptor() protoreflect.EnumDescriptor
- func (x UpdateVettedPackagesForceFlag) Enum() *UpdateVettedPackagesForceFlag
- func (UpdateVettedPackagesForceFlag) EnumDescriptor() ([]byte, []int)deprecated
- func (x UpdateVettedPackagesForceFlag) Number() protoreflect.EnumNumber
- func (x UpdateVettedPackagesForceFlag) String() string
- func (UpdateVettedPackagesForceFlag) Type() protoreflect.EnumType
- type UpdateVettedPackagesRequest
- func (*UpdateVettedPackagesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateVettedPackagesRequest) GetChanges() []*VettedPackagesChange
- func (x *UpdateVettedPackagesRequest) GetDryRun() bool
- func (x *UpdateVettedPackagesRequest) GetExpectedTopologySerial() *v2.PriorTopologySerial
- func (x *UpdateVettedPackagesRequest) GetSynchronizerId() string
- func (x *UpdateVettedPackagesRequest) GetUpdateVettedPackagesForceFlags() []UpdateVettedPackagesForceFlag
- func (*UpdateVettedPackagesRequest) ProtoMessage()
- func (x *UpdateVettedPackagesRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateVettedPackagesRequest) Reset()
- func (x *UpdateVettedPackagesRequest) String() string
- type UpdateVettedPackagesResponse
- func (*UpdateVettedPackagesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateVettedPackagesResponse) GetNewVettedPackages() *v2.VettedPackages
- func (x *UpdateVettedPackagesResponse) GetPastVettedPackages() *v2.VettedPackages
- func (*UpdateVettedPackagesResponse) ProtoMessage()
- func (x *UpdateVettedPackagesResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateVettedPackagesResponse) Reset()
- func (x *UpdateVettedPackagesResponse) String() string
- type UploadDarFileRequest
- func (*UploadDarFileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UploadDarFileRequest) GetDarFile() []byte
- func (x *UploadDarFileRequest) GetSubmissionId() string
- func (x *UploadDarFileRequest) GetSynchronizerId() string
- func (x *UploadDarFileRequest) GetVettingChange() UploadDarFileRequest_VettingChange
- func (*UploadDarFileRequest) ProtoMessage()
- func (x *UploadDarFileRequest) ProtoReflect() protoreflect.Message
- func (x *UploadDarFileRequest) Reset()
- func (x *UploadDarFileRequest) String() string
- type UploadDarFileRequest_VettingChange
- func (UploadDarFileRequest_VettingChange) Descriptor() protoreflect.EnumDescriptor
- func (x UploadDarFileRequest_VettingChange) Enum() *UploadDarFileRequest_VettingChange
- func (UploadDarFileRequest_VettingChange) EnumDescriptor() ([]byte, []int)deprecated
- func (x UploadDarFileRequest_VettingChange) Number() protoreflect.EnumNumber
- func (x UploadDarFileRequest_VettingChange) String() string
- func (UploadDarFileRequest_VettingChange) Type() protoreflect.EnumType
- type UploadDarFileResponse
- type User
- func (*User) Descriptor() ([]byte, []int)deprecated
- func (x *User) GetId() string
- func (x *User) GetIdentityProviderId() string
- func (x *User) GetIsDeactivated() bool
- func (x *User) GetMetadata() *ObjectMeta
- func (x *User) GetPrimaryParty() string
- func (*User) ProtoMessage()
- func (x *User) ProtoReflect() protoreflect.Message
- func (x *User) Reset()
- func (x *User) String() string
- type UserManagementServiceClient
- type UserManagementServiceServer
- type ValidateDarFileRequest
- func (*ValidateDarFileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ValidateDarFileRequest) GetDarFile() []byte
- func (x *ValidateDarFileRequest) GetSubmissionId() string
- func (x *ValidateDarFileRequest) GetSynchronizerId() string
- func (*ValidateDarFileRequest) ProtoMessage()
- func (x *ValidateDarFileRequest) ProtoReflect() protoreflect.Message
- func (x *ValidateDarFileRequest) Reset()
- func (x *ValidateDarFileRequest) String() string
- type ValidateDarFileResponse
- type VettedPackagesChange
- func (*VettedPackagesChange) Descriptor() ([]byte, []int)deprecated
- func (x *VettedPackagesChange) GetOperation() isVettedPackagesChange_Operation
- func (x *VettedPackagesChange) GetUnvet() *VettedPackagesChange_Unvet
- func (x *VettedPackagesChange) GetVet() *VettedPackagesChange_Vet
- func (*VettedPackagesChange) ProtoMessage()
- func (x *VettedPackagesChange) ProtoReflect() protoreflect.Message
- func (x *VettedPackagesChange) Reset()
- func (x *VettedPackagesChange) String() string
- type VettedPackagesChange_Unvet
- func (*VettedPackagesChange_Unvet) Descriptor() ([]byte, []int)deprecated
- func (x *VettedPackagesChange_Unvet) GetPackages() []*VettedPackagesRef
- func (*VettedPackagesChange_Unvet) ProtoMessage()
- func (x *VettedPackagesChange_Unvet) ProtoReflect() protoreflect.Message
- func (x *VettedPackagesChange_Unvet) Reset()
- func (x *VettedPackagesChange_Unvet) String() string
- type VettedPackagesChange_Unvet_
- type VettedPackagesChange_Vet
- func (*VettedPackagesChange_Vet) Descriptor() ([]byte, []int)deprecated
- func (x *VettedPackagesChange_Vet) GetNewValidFromInclusive() *timestamppb.Timestamp
- func (x *VettedPackagesChange_Vet) GetNewValidUntilExclusive() *timestamppb.Timestamp
- func (x *VettedPackagesChange_Vet) GetPackages() []*VettedPackagesRef
- func (*VettedPackagesChange_Vet) ProtoMessage()
- func (x *VettedPackagesChange_Vet) ProtoReflect() protoreflect.Message
- func (x *VettedPackagesChange_Vet) Reset()
- func (x *VettedPackagesChange_Vet) String() string
- type VettedPackagesChange_Vet_
- type VettedPackagesRef
- func (*VettedPackagesRef) Descriptor() ([]byte, []int)deprecated
- func (x *VettedPackagesRef) GetPackageId() string
- func (x *VettedPackagesRef) GetPackageName() string
- func (x *VettedPackagesRef) GetPackageVersion() string
- func (*VettedPackagesRef) ProtoMessage()
- func (x *VettedPackagesRef) ProtoReflect() protoreflect.Message
- func (x *VettedPackagesRef) Reset()
- func (x *VettedPackagesRef) String() string
Constants ¶
const ( IdentityProviderConfigService_CreateIdentityProviderConfig_FullMethodName = "/com.daml.ledger.api.v2.admin.IdentityProviderConfigService/CreateIdentityProviderConfig" IdentityProviderConfigService_GetIdentityProviderConfig_FullMethodName = "/com.daml.ledger.api.v2.admin.IdentityProviderConfigService/GetIdentityProviderConfig" IdentityProviderConfigService_UpdateIdentityProviderConfig_FullMethodName = "/com.daml.ledger.api.v2.admin.IdentityProviderConfigService/UpdateIdentityProviderConfig" IdentityProviderConfigService_ListIdentityProviderConfigs_FullMethodName = "/com.daml.ledger.api.v2.admin.IdentityProviderConfigService/ListIdentityProviderConfigs" IdentityProviderConfigService_DeleteIdentityProviderConfig_FullMethodName = "/com.daml.ledger.api.v2.admin.IdentityProviderConfigService/DeleteIdentityProviderConfig" )
const ( PackageManagementService_ListKnownPackages_FullMethodName = "/com.daml.ledger.api.v2.admin.PackageManagementService/ListKnownPackages" PackageManagementService_UploadDarFile_FullMethodName = "/com.daml.ledger.api.v2.admin.PackageManagementService/UploadDarFile" PackageManagementService_ValidateDarFile_FullMethodName = "/com.daml.ledger.api.v2.admin.PackageManagementService/ValidateDarFile" PackageManagementService_UpdateVettedPackages_FullMethodName = "/com.daml.ledger.api.v2.admin.PackageManagementService/UpdateVettedPackages" )
const ( PartyManagementService_GetParticipantId_FullMethodName = "/com.daml.ledger.api.v2.admin.PartyManagementService/GetParticipantId" PartyManagementService_GetParties_FullMethodName = "/com.daml.ledger.api.v2.admin.PartyManagementService/GetParties" PartyManagementService_ListKnownParties_FullMethodName = "/com.daml.ledger.api.v2.admin.PartyManagementService/ListKnownParties" PartyManagementService_AllocateParty_FullMethodName = "/com.daml.ledger.api.v2.admin.PartyManagementService/AllocateParty" PartyManagementService_AllocateExternalParty_FullMethodName = "/com.daml.ledger.api.v2.admin.PartyManagementService/AllocateExternalParty" PartyManagementService_UpdatePartyDetails_FullMethodName = "/com.daml.ledger.api.v2.admin.PartyManagementService/UpdatePartyDetails" PartyManagementService_UpdatePartyIdentityProviderId_FullMethodName = "/com.daml.ledger.api.v2.admin.PartyManagementService/UpdatePartyIdentityProviderId" PartyManagementService_GenerateExternalPartyTopology_FullMethodName = "/com.daml.ledger.api.v2.admin.PartyManagementService/GenerateExternalPartyTopology" )
const ( UserManagementService_CreateUser_FullMethodName = "/com.daml.ledger.api.v2.admin.UserManagementService/CreateUser" UserManagementService_GetUser_FullMethodName = "/com.daml.ledger.api.v2.admin.UserManagementService/GetUser" UserManagementService_UpdateUser_FullMethodName = "/com.daml.ledger.api.v2.admin.UserManagementService/UpdateUser" UserManagementService_DeleteUser_FullMethodName = "/com.daml.ledger.api.v2.admin.UserManagementService/DeleteUser" UserManagementService_ListUsers_FullMethodName = "/com.daml.ledger.api.v2.admin.UserManagementService/ListUsers" UserManagementService_GrantUserRights_FullMethodName = "/com.daml.ledger.api.v2.admin.UserManagementService/GrantUserRights" UserManagementService_RevokeUserRights_FullMethodName = "/com.daml.ledger.api.v2.admin.UserManagementService/RevokeUserRights" UserManagementService_ListUserRights_FullMethodName = "/com.daml.ledger.api.v2.admin.UserManagementService/ListUserRights" UserManagementService_UpdateUserIdentityProviderId_FullMethodName = "/com.daml.ledger.api.v2.admin.UserManagementService/UpdateUserIdentityProviderId" )
const (
CommandInspectionService_GetCommandStatus_FullMethodName = "/com.daml.ledger.api.v2.admin.CommandInspectionService/GetCommandStatus"
)
const (
ParticipantPruningService_Prune_FullMethodName = "/com.daml.ledger.api.v2.admin.ParticipantPruningService/Prune"
)
Variables ¶
var ( CommandState_name = map[int32]string{ 0: "COMMAND_STATE_UNSPECIFIED", 1: "COMMAND_STATE_PENDING", 2: "COMMAND_STATE_SUCCEEDED", 3: "COMMAND_STATE_FAILED", } CommandState_value = map[string]int32{ "COMMAND_STATE_UNSPECIFIED": 0, "COMMAND_STATE_PENDING": 1, "COMMAND_STATE_SUCCEEDED": 2, "COMMAND_STATE_FAILED": 3, } )
Enum value maps for CommandState.
var ( UpdateVettedPackagesForceFlag_name = map[int32]string{ 0: "UPDATE_VETTED_PACKAGES_FORCE_FLAG_UNSPECIFIED", 2: "UPDATE_VETTED_PACKAGES_FORCE_FLAG_ALLOW_VET_INCOMPATIBLE_UPGRADES", 3: "UPDATE_VETTED_PACKAGES_FORCE_FLAG_ALLOW_UNVETTED_DEPENDENCIES", } UpdateVettedPackagesForceFlag_value = map[string]int32{ "UPDATE_VETTED_PACKAGES_FORCE_FLAG_UNSPECIFIED": 0, "UPDATE_VETTED_PACKAGES_FORCE_FLAG_ALLOW_VET_INCOMPATIBLE_UPGRADES": 2, "UPDATE_VETTED_PACKAGES_FORCE_FLAG_ALLOW_UNVETTED_DEPENDENCIES": 3, } )
Enum value maps for UpdateVettedPackagesForceFlag.
var ( UploadDarFileRequest_VettingChange_name = map[int32]string{ 0: "VETTING_CHANGE_UNSPECIFIED", 1: "VETTING_CHANGE_VET_ALL_PACKAGES", 2: "VETTING_CHANGE_DONT_VET_ANY_PACKAGES", } UploadDarFileRequest_VettingChange_value = map[string]int32{ "VETTING_CHANGE_UNSPECIFIED": 0, "VETTING_CHANGE_VET_ALL_PACKAGES": 1, "VETTING_CHANGE_DONT_VET_ANY_PACKAGES": 2, } )
Enum value maps for UploadDarFileRequest_VettingChange.
var CommandInspectionService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "com.daml.ledger.api.v2.admin.CommandInspectionService", HandlerType: (*CommandInspectionServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetCommandStatus", Handler: _CommandInspectionService_GetCommandStatus_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "com/daml/ledger/api/v2/admin/command_inspection_service.proto", }
CommandInspectionService_ServiceDesc is the grpc.ServiceDesc for CommandInspectionService 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_daml_ledger_api_v2_admin_command_inspection_service_proto protoreflect.FileDescriptor
var File_com_daml_ledger_api_v2_admin_identity_provider_config_service_proto protoreflect.FileDescriptor
var File_com_daml_ledger_api_v2_admin_object_meta_proto protoreflect.FileDescriptor
var File_com_daml_ledger_api_v2_admin_package_management_service_proto protoreflect.FileDescriptor
var File_com_daml_ledger_api_v2_admin_participant_pruning_service_proto protoreflect.FileDescriptor
var File_com_daml_ledger_api_v2_admin_party_management_service_proto protoreflect.FileDescriptor
var File_com_daml_ledger_api_v2_admin_user_management_service_proto protoreflect.FileDescriptor
var IdentityProviderConfigService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "com.daml.ledger.api.v2.admin.IdentityProviderConfigService", HandlerType: (*IdentityProviderConfigServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateIdentityProviderConfig", Handler: _IdentityProviderConfigService_CreateIdentityProviderConfig_Handler, }, { MethodName: "GetIdentityProviderConfig", Handler: _IdentityProviderConfigService_GetIdentityProviderConfig_Handler, }, { MethodName: "UpdateIdentityProviderConfig", Handler: _IdentityProviderConfigService_UpdateIdentityProviderConfig_Handler, }, { MethodName: "ListIdentityProviderConfigs", Handler: _IdentityProviderConfigService_ListIdentityProviderConfigs_Handler, }, { MethodName: "DeleteIdentityProviderConfig", Handler: _IdentityProviderConfigService_DeleteIdentityProviderConfig_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "com/daml/ledger/api/v2/admin/identity_provider_config_service.proto", }
IdentityProviderConfigService_ServiceDesc is the grpc.ServiceDesc for IdentityProviderConfigService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var PackageManagementService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "com.daml.ledger.api.v2.admin.PackageManagementService", HandlerType: (*PackageManagementServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ListKnownPackages", Handler: _PackageManagementService_ListKnownPackages_Handler, }, { MethodName: "UploadDarFile", Handler: _PackageManagementService_UploadDarFile_Handler, }, { MethodName: "ValidateDarFile", Handler: _PackageManagementService_ValidateDarFile_Handler, }, { MethodName: "UpdateVettedPackages", Handler: _PackageManagementService_UpdateVettedPackages_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "com/daml/ledger/api/v2/admin/package_management_service.proto", }
PackageManagementService_ServiceDesc is the grpc.ServiceDesc for PackageManagementService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var ParticipantPruningService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "com.daml.ledger.api.v2.admin.ParticipantPruningService", HandlerType: (*ParticipantPruningServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Prune", Handler: _ParticipantPruningService_Prune_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "com/daml/ledger/api/v2/admin/participant_pruning_service.proto", }
ParticipantPruningService_ServiceDesc is the grpc.ServiceDesc for ParticipantPruningService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var PartyManagementService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "com.daml.ledger.api.v2.admin.PartyManagementService", HandlerType: (*PartyManagementServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetParticipantId", Handler: _PartyManagementService_GetParticipantId_Handler, }, { MethodName: "GetParties", Handler: _PartyManagementService_GetParties_Handler, }, { MethodName: "ListKnownParties", Handler: _PartyManagementService_ListKnownParties_Handler, }, { MethodName: "AllocateParty", Handler: _PartyManagementService_AllocateParty_Handler, }, { MethodName: "AllocateExternalParty", Handler: _PartyManagementService_AllocateExternalParty_Handler, }, { MethodName: "UpdatePartyDetails", Handler: _PartyManagementService_UpdatePartyDetails_Handler, }, { MethodName: "UpdatePartyIdentityProviderId", Handler: _PartyManagementService_UpdatePartyIdentityProviderId_Handler, }, { MethodName: "GenerateExternalPartyTopology", Handler: _PartyManagementService_GenerateExternalPartyTopology_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "com/daml/ledger/api/v2/admin/party_management_service.proto", }
PartyManagementService_ServiceDesc is the grpc.ServiceDesc for PartyManagementService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var UserManagementService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "com.daml.ledger.api.v2.admin.UserManagementService", HandlerType: (*UserManagementServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateUser", Handler: _UserManagementService_CreateUser_Handler, }, { MethodName: "GetUser", Handler: _UserManagementService_GetUser_Handler, }, { MethodName: "UpdateUser", Handler: _UserManagementService_UpdateUser_Handler, }, { MethodName: "DeleteUser", Handler: _UserManagementService_DeleteUser_Handler, }, { MethodName: "ListUsers", Handler: _UserManagementService_ListUsers_Handler, }, { MethodName: "GrantUserRights", Handler: _UserManagementService_GrantUserRights_Handler, }, { MethodName: "RevokeUserRights", Handler: _UserManagementService_RevokeUserRights_Handler, }, { MethodName: "ListUserRights", Handler: _UserManagementService_ListUserRights_Handler, }, { MethodName: "UpdateUserIdentityProviderId", Handler: _UserManagementService_UpdateUserIdentityProviderId_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "com/daml/ledger/api/v2/admin/user_management_service.proto", }
UserManagementService_ServiceDesc is the grpc.ServiceDesc for UserManagementService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterCommandInspectionServiceServer ¶
func RegisterCommandInspectionServiceServer(s grpc.ServiceRegistrar, srv CommandInspectionServiceServer)
func RegisterIdentityProviderConfigServiceServer ¶
func RegisterIdentityProviderConfigServiceServer(s grpc.ServiceRegistrar, srv IdentityProviderConfigServiceServer)
func RegisterPackageManagementServiceServer ¶
func RegisterPackageManagementServiceServer(s grpc.ServiceRegistrar, srv PackageManagementServiceServer)
func RegisterParticipantPruningServiceServer ¶
func RegisterParticipantPruningServiceServer(s grpc.ServiceRegistrar, srv ParticipantPruningServiceServer)
func RegisterPartyManagementServiceServer ¶
func RegisterPartyManagementServiceServer(s grpc.ServiceRegistrar, srv PartyManagementServiceServer)
func RegisterUserManagementServiceServer ¶
func RegisterUserManagementServiceServer(s grpc.ServiceRegistrar, srv UserManagementServiceServer)
Types ¶
type AllocateExternalPartyRequest ¶
type AllocateExternalPartyRequest struct {
// TODO(#27670) support synchronizer aliases
// Synchronizer ID on which to onboard the party
// Required
Synchronizer string `protobuf:"bytes,1,opt,name=synchronizer,proto3" json:"synchronizer,omitempty"`
// TopologyTransactions to onboard the external party
// Can contain:
// - A namespace for the party.
// This can be either a single NamespaceDelegation,
// or DecentralizedNamespaceDefinition along with its authorized namespace owners in the form of NamespaceDelegations.
// May be provided, if so it must be fully authorized by the signatures in this request combined with the existing topology state.
// - A PartyToKeyMapping to register the party's signing keys.
// May be provided, if so it must be fully authorized by the signatures in this request combined with the existing topology state.
// - A PartyToParticipant to register the hosting relationship of the party.
// Must be provided.
// Required
OnboardingTransactions []*AllocateExternalPartyRequest_SignedTransaction `` /* 127-byte string literal not displayed */
// Optional signatures of the combined hash of all onboarding_transactions
// This may be used instead of providing signatures on each individual transaction
MultiHashSignatures []*v2.Signature `protobuf:"bytes,3,rep,name=multi_hash_signatures,json=multiHashSignatures,proto3" json:"multi_hash_signatures,omitempty"`
// The id of the “Identity Provider“
// If not set, assume the party is managed by the default identity provider.
// Optional
IdentityProviderId string `protobuf:"bytes,4,opt,name=identity_provider_id,json=identityProviderId,proto3" json:"identity_provider_id,omitempty"`
// contains filtered or unexported fields
}
Required authorization: “HasRight(ParticipantAdmin) OR IsAuthenticatedIdentityProviderAdmin(identity_provider_id)“
func (*AllocateExternalPartyRequest) Descriptor
deprecated
func (*AllocateExternalPartyRequest) Descriptor() ([]byte, []int)
Deprecated: Use AllocateExternalPartyRequest.ProtoReflect.Descriptor instead.
func (*AllocateExternalPartyRequest) GetIdentityProviderId ¶
func (x *AllocateExternalPartyRequest) GetIdentityProviderId() string
func (*AllocateExternalPartyRequest) GetMultiHashSignatures ¶
func (x *AllocateExternalPartyRequest) GetMultiHashSignatures() []*v2.Signature
func (*AllocateExternalPartyRequest) GetOnboardingTransactions ¶
func (x *AllocateExternalPartyRequest) GetOnboardingTransactions() []*AllocateExternalPartyRequest_SignedTransaction
func (*AllocateExternalPartyRequest) GetSynchronizer ¶
func (x *AllocateExternalPartyRequest) GetSynchronizer() string
func (*AllocateExternalPartyRequest) ProtoMessage ¶
func (*AllocateExternalPartyRequest) ProtoMessage()
func (*AllocateExternalPartyRequest) ProtoReflect ¶
func (x *AllocateExternalPartyRequest) ProtoReflect() protoreflect.Message
func (*AllocateExternalPartyRequest) Reset ¶
func (x *AllocateExternalPartyRequest) Reset()
func (*AllocateExternalPartyRequest) String ¶
func (x *AllocateExternalPartyRequest) String() string
type AllocateExternalPartyRequest_SignedTransaction ¶
type AllocateExternalPartyRequest_SignedTransaction struct {
// The serialized TopologyTransaction
Transaction []byte `protobuf:"bytes,1,opt,name=transaction,proto3" json:"transaction,omitempty"`
// Additional signatures for this transaction specifically
// Use for transactions that require additional signatures beyond the namespace key signatures
// e.g: PartyToKeyMapping must be signed by all registered keys
Signatures []*v2.Signature `protobuf:"bytes,2,rep,name=signatures,proto3" json:"signatures,omitempty"`
// contains filtered or unexported fields
}
func (*AllocateExternalPartyRequest_SignedTransaction) Descriptor
deprecated
func (*AllocateExternalPartyRequest_SignedTransaction) Descriptor() ([]byte, []int)
Deprecated: Use AllocateExternalPartyRequest_SignedTransaction.ProtoReflect.Descriptor instead.
func (*AllocateExternalPartyRequest_SignedTransaction) GetSignatures ¶
func (x *AllocateExternalPartyRequest_SignedTransaction) GetSignatures() []*v2.Signature
func (*AllocateExternalPartyRequest_SignedTransaction) GetTransaction ¶
func (x *AllocateExternalPartyRequest_SignedTransaction) GetTransaction() []byte
func (*AllocateExternalPartyRequest_SignedTransaction) ProtoMessage ¶
func (*AllocateExternalPartyRequest_SignedTransaction) ProtoMessage()
func (*AllocateExternalPartyRequest_SignedTransaction) ProtoReflect ¶
func (x *AllocateExternalPartyRequest_SignedTransaction) ProtoReflect() protoreflect.Message
func (*AllocateExternalPartyRequest_SignedTransaction) Reset ¶
func (x *AllocateExternalPartyRequest_SignedTransaction) Reset()
func (*AllocateExternalPartyRequest_SignedTransaction) String ¶
func (x *AllocateExternalPartyRequest_SignedTransaction) String() string
type AllocateExternalPartyResponse ¶
type AllocateExternalPartyResponse struct {
PartyId string `protobuf:"bytes,1,opt,name=party_id,json=partyId,proto3" json:"party_id,omitempty"`
// contains filtered or unexported fields
}
func (*AllocateExternalPartyResponse) Descriptor
deprecated
func (*AllocateExternalPartyResponse) Descriptor() ([]byte, []int)
Deprecated: Use AllocateExternalPartyResponse.ProtoReflect.Descriptor instead.
func (*AllocateExternalPartyResponse) GetPartyId ¶
func (x *AllocateExternalPartyResponse) GetPartyId() string
func (*AllocateExternalPartyResponse) ProtoMessage ¶
func (*AllocateExternalPartyResponse) ProtoMessage()
func (*AllocateExternalPartyResponse) ProtoReflect ¶
func (x *AllocateExternalPartyResponse) ProtoReflect() protoreflect.Message
func (*AllocateExternalPartyResponse) Reset ¶
func (x *AllocateExternalPartyResponse) Reset()
func (*AllocateExternalPartyResponse) String ¶
func (x *AllocateExternalPartyResponse) String() string
type AllocatePartyRequest ¶
type AllocatePartyRequest struct {
// A hint to the participant which party ID to allocate. It can be
// ignored.
// Must be a valid PartyIdString (as described in “value.proto“).
// Optional
PartyIdHint string `protobuf:"bytes,1,opt,name=party_id_hint,json=partyIdHint,proto3" json:"party_id_hint,omitempty"`
// Participant-local metadata to be stored in the “PartyDetails“ of this newly allocated party.
// Optional
LocalMetadata *ObjectMeta `protobuf:"bytes,3,opt,name=local_metadata,json=localMetadata,proto3" json:"local_metadata,omitempty"`
// The id of the “Identity Provider“
// Optional, if not set, assume the party is managed by the default identity provider or party is not hosted by the participant.
IdentityProviderId string `protobuf:"bytes,4,opt,name=identity_provider_id,json=identityProviderId,proto3" json:"identity_provider_id,omitempty"`
// The synchronizer, on which the party should be allocated.
// For backwards compatibility, this field may be omitted, if the participant is connected to only one synchronizer.
// Otherwise a synchronizer must be specified.
// Optional
SynchronizerId string `protobuf:"bytes,5,opt,name=synchronizer_id,json=synchronizerId,proto3" json:"synchronizer_id,omitempty"`
// The user who will get the act_as rights to the newly allocated party.
// If set to an empty string (the default), no user will get rights to the party.
// Optional
UserId string `protobuf:"bytes,6,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
// contains filtered or unexported fields
}
Required authorization: “HasRight(ParticipantAdmin) OR IsAuthenticatedIdentityProviderAdmin(identity_provider_id)“
func (*AllocatePartyRequest) Descriptor
deprecated
func (*AllocatePartyRequest) Descriptor() ([]byte, []int)
Deprecated: Use AllocatePartyRequest.ProtoReflect.Descriptor instead.
func (*AllocatePartyRequest) GetIdentityProviderId ¶
func (x *AllocatePartyRequest) GetIdentityProviderId() string
func (*AllocatePartyRequest) GetLocalMetadata ¶
func (x *AllocatePartyRequest) GetLocalMetadata() *ObjectMeta
func (*AllocatePartyRequest) GetPartyIdHint ¶
func (x *AllocatePartyRequest) GetPartyIdHint() string
func (*AllocatePartyRequest) GetSynchronizerId ¶
func (x *AllocatePartyRequest) GetSynchronizerId() string
func (*AllocatePartyRequest) GetUserId ¶
func (x *AllocatePartyRequest) GetUserId() string
func (*AllocatePartyRequest) ProtoMessage ¶
func (*AllocatePartyRequest) ProtoMessage()
func (*AllocatePartyRequest) ProtoReflect ¶
func (x *AllocatePartyRequest) ProtoReflect() protoreflect.Message
func (*AllocatePartyRequest) Reset ¶
func (x *AllocatePartyRequest) Reset()
func (*AllocatePartyRequest) String ¶
func (x *AllocatePartyRequest) String() string
type AllocatePartyResponse ¶
type AllocatePartyResponse struct {
PartyDetails *PartyDetails `protobuf:"bytes,1,opt,name=party_details,json=partyDetails,proto3" json:"party_details,omitempty"`
// contains filtered or unexported fields
}
func (*AllocatePartyResponse) Descriptor
deprecated
func (*AllocatePartyResponse) Descriptor() ([]byte, []int)
Deprecated: Use AllocatePartyResponse.ProtoReflect.Descriptor instead.
func (*AllocatePartyResponse) GetPartyDetails ¶
func (x *AllocatePartyResponse) GetPartyDetails() *PartyDetails
func (*AllocatePartyResponse) ProtoMessage ¶
func (*AllocatePartyResponse) ProtoMessage()
func (*AllocatePartyResponse) ProtoReflect ¶
func (x *AllocatePartyResponse) ProtoReflect() protoreflect.Message
func (*AllocatePartyResponse) Reset ¶
func (x *AllocatePartyResponse) Reset()
func (*AllocatePartyResponse) String ¶
func (x *AllocatePartyResponse) String() string
type CommandInspectionServiceClient ¶
type CommandInspectionServiceClient interface {
// Inquire about the status of a command.
// This service is used for debugging only. The command status is only tracked in memory and is not persisted.
// The service can be used to understand the failure status and the structure of a command.
// Requires admin privileges
// The service is alpha without backward compatibility guarantees.
GetCommandStatus(ctx context.Context, in *GetCommandStatusRequest, opts ...grpc.CallOption) (*GetCommandStatusResponse, error)
}
CommandInspectionServiceClient is the client API for CommandInspectionService 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.
Status: experimental interface, will change before it is deemed production ready
The inspection service provides methods for the ledger administrator to look under the hood of a running system. In V2 Ledger API this service is not available.
func NewCommandInspectionServiceClient ¶
func NewCommandInspectionServiceClient(cc grpc.ClientConnInterface) CommandInspectionServiceClient
type CommandInspectionServiceServer ¶
type CommandInspectionServiceServer interface {
// Inquire about the status of a command.
// This service is used for debugging only. The command status is only tracked in memory and is not persisted.
// The service can be used to understand the failure status and the structure of a command.
// Requires admin privileges
// The service is alpha without backward compatibility guarantees.
GetCommandStatus(context.Context, *GetCommandStatusRequest) (*GetCommandStatusResponse, error)
// contains filtered or unexported methods
}
CommandInspectionServiceServer is the server API for CommandInspectionService service. All implementations must embed UnimplementedCommandInspectionServiceServer for forward compatibility.
Status: experimental interface, will change before it is deemed production ready
The inspection service provides methods for the ledger administrator to look under the hood of a running system. In V2 Ledger API this service is not available.
type CommandState ¶
type CommandState int32
const ( CommandState_COMMAND_STATE_UNSPECIFIED CommandState = 0 // This value acts as wildcard in the queries CommandState_COMMAND_STATE_PENDING CommandState = 1 CommandState_COMMAND_STATE_SUCCEEDED CommandState = 2 CommandState_COMMAND_STATE_FAILED CommandState = 3 )
func (CommandState) Descriptor ¶
func (CommandState) Descriptor() protoreflect.EnumDescriptor
func (CommandState) Enum ¶
func (x CommandState) Enum() *CommandState
func (CommandState) EnumDescriptor
deprecated
func (CommandState) EnumDescriptor() ([]byte, []int)
Deprecated: Use CommandState.Descriptor instead.
func (CommandState) Number ¶
func (x CommandState) Number() protoreflect.EnumNumber
func (CommandState) String ¶
func (x CommandState) String() string
func (CommandState) Type ¶
func (CommandState) Type() protoreflect.EnumType
type CommandStatus ¶
type CommandStatus struct {
Started *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=started,proto3" json:"started,omitempty"`
Completed *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=completed,proto3" json:"completed,omitempty"`
Completion *v2.Completion `protobuf:"bytes,3,opt,name=completion,proto3" json:"completion,omitempty"`
State CommandState `protobuf:"varint,4,opt,name=state,proto3,enum=com.daml.ledger.api.v2.admin.CommandState" json:"state,omitempty"`
Commands []*v2.Command `protobuf:"bytes,5,rep,name=commands,proto3" json:"commands,omitempty"`
RequestStatistics *RequestStatistics `protobuf:"bytes,6,opt,name=request_statistics,json=requestStatistics,proto3" json:"request_statistics,omitempty"`
Updates *CommandUpdates `protobuf:"bytes,7,opt,name=updates,proto3" json:"updates,omitempty"`
// contains filtered or unexported fields
}
func (*CommandStatus) Descriptor
deprecated
func (*CommandStatus) Descriptor() ([]byte, []int)
Deprecated: Use CommandStatus.ProtoReflect.Descriptor instead.
func (*CommandStatus) GetCommands ¶
func (x *CommandStatus) GetCommands() []*v2.Command
func (*CommandStatus) GetCompleted ¶
func (x *CommandStatus) GetCompleted() *timestamppb.Timestamp
func (*CommandStatus) GetCompletion ¶
func (x *CommandStatus) GetCompletion() *v2.Completion
func (*CommandStatus) GetRequestStatistics ¶
func (x *CommandStatus) GetRequestStatistics() *RequestStatistics
func (*CommandStatus) GetStarted ¶
func (x *CommandStatus) GetStarted() *timestamppb.Timestamp
func (*CommandStatus) GetState ¶
func (x *CommandStatus) GetState() CommandState
func (*CommandStatus) GetUpdates ¶
func (x *CommandStatus) GetUpdates() *CommandUpdates
func (*CommandStatus) ProtoMessage ¶
func (*CommandStatus) ProtoMessage()
func (*CommandStatus) ProtoReflect ¶
func (x *CommandStatus) ProtoReflect() protoreflect.Message
func (*CommandStatus) Reset ¶
func (x *CommandStatus) Reset()
func (*CommandStatus) String ¶
func (x *CommandStatus) String() string
type CommandUpdates ¶
type CommandUpdates struct {
Created []*Contract `protobuf:"bytes,1,rep,name=created,proto3" json:"created,omitempty"`
Archived []*Contract `protobuf:"bytes,2,rep,name=archived,proto3" json:"archived,omitempty"`
Exercised uint32 `protobuf:"varint,3,opt,name=exercised,proto3" json:"exercised,omitempty"`
Fetched uint32 `protobuf:"varint,4,opt,name=fetched,proto3" json:"fetched,omitempty"`
LookedUpByKey uint32 `protobuf:"varint,5,opt,name=looked_up_by_key,json=lookedUpByKey,proto3" json:"looked_up_by_key,omitempty"`
// contains filtered or unexported fields
}
func (*CommandUpdates) Descriptor
deprecated
func (*CommandUpdates) Descriptor() ([]byte, []int)
Deprecated: Use CommandUpdates.ProtoReflect.Descriptor instead.
func (*CommandUpdates) GetArchived ¶
func (x *CommandUpdates) GetArchived() []*Contract
func (*CommandUpdates) GetCreated ¶
func (x *CommandUpdates) GetCreated() []*Contract
func (*CommandUpdates) GetExercised ¶
func (x *CommandUpdates) GetExercised() uint32
func (*CommandUpdates) GetFetched ¶
func (x *CommandUpdates) GetFetched() uint32
func (*CommandUpdates) GetLookedUpByKey ¶
func (x *CommandUpdates) GetLookedUpByKey() uint32
func (*CommandUpdates) ProtoMessage ¶
func (*CommandUpdates) ProtoMessage()
func (*CommandUpdates) ProtoReflect ¶
func (x *CommandUpdates) ProtoReflect() protoreflect.Message
func (*CommandUpdates) Reset ¶
func (x *CommandUpdates) Reset()
func (*CommandUpdates) String ¶
func (x *CommandUpdates) String() string
type Contract ¶
type Contract struct {
// The identifier of the template used to create the contract.
// The identifier uses the package-id reference format.
//
// Required
TemplateId *v2.Identifier `protobuf:"bytes,1,opt,name=template_id,json=templateId,proto3" json:"template_id,omitempty"`
// The contract's ID
//
// Required
ContractId string `protobuf:"bytes,2,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
// The contract key, if defined
//
// Optional
ContractKey *v2.Value `protobuf:"bytes,3,opt,name=contract_key,json=contractKey,proto3" json:"contract_key,omitempty"`
// contains filtered or unexported fields
}
func (*Contract) Descriptor
deprecated
func (*Contract) GetContractId ¶
func (*Contract) GetContractKey ¶
func (*Contract) GetTemplateId ¶
func (x *Contract) GetTemplateId() *v2.Identifier
func (*Contract) ProtoMessage ¶
func (*Contract) ProtoMessage()
func (*Contract) ProtoReflect ¶
func (x *Contract) ProtoReflect() protoreflect.Message
type CreateIdentityProviderConfigRequest ¶
type CreateIdentityProviderConfigRequest struct {
// Required
IdentityProviderConfig *IdentityProviderConfig `` /* 129-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*CreateIdentityProviderConfigRequest) Descriptor
deprecated
func (*CreateIdentityProviderConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateIdentityProviderConfigRequest.ProtoReflect.Descriptor instead.
func (*CreateIdentityProviderConfigRequest) GetIdentityProviderConfig ¶
func (x *CreateIdentityProviderConfigRequest) GetIdentityProviderConfig() *IdentityProviderConfig
func (*CreateIdentityProviderConfigRequest) ProtoMessage ¶
func (*CreateIdentityProviderConfigRequest) ProtoMessage()
func (*CreateIdentityProviderConfigRequest) ProtoReflect ¶
func (x *CreateIdentityProviderConfigRequest) ProtoReflect() protoreflect.Message
func (*CreateIdentityProviderConfigRequest) Reset ¶
func (x *CreateIdentityProviderConfigRequest) Reset()
func (*CreateIdentityProviderConfigRequest) String ¶
func (x *CreateIdentityProviderConfigRequest) String() string
type CreateIdentityProviderConfigResponse ¶
type CreateIdentityProviderConfigResponse struct {
IdentityProviderConfig *IdentityProviderConfig `` /* 129-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*CreateIdentityProviderConfigResponse) Descriptor
deprecated
func (*CreateIdentityProviderConfigResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateIdentityProviderConfigResponse.ProtoReflect.Descriptor instead.
func (*CreateIdentityProviderConfigResponse) GetIdentityProviderConfig ¶
func (x *CreateIdentityProviderConfigResponse) GetIdentityProviderConfig() *IdentityProviderConfig
func (*CreateIdentityProviderConfigResponse) ProtoMessage ¶
func (*CreateIdentityProviderConfigResponse) ProtoMessage()
func (*CreateIdentityProviderConfigResponse) ProtoReflect ¶
func (x *CreateIdentityProviderConfigResponse) ProtoReflect() protoreflect.Message
func (*CreateIdentityProviderConfigResponse) Reset ¶
func (x *CreateIdentityProviderConfigResponse) Reset()
func (*CreateIdentityProviderConfigResponse) String ¶
func (x *CreateIdentityProviderConfigResponse) String() string
type CreateUserRequest ¶
type CreateUserRequest struct {
// The user to create.
// Required
User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
// The rights to be assigned to the user upon creation,
// which SHOULD include appropriate rights for the “user.primary_party“.
// Optional
Rights []*Right `protobuf:"bytes,2,rep,name=rights,proto3" json:"rights,omitempty"`
// contains filtered or unexported fields
}
Required authorization: “HasRight(ParticipantAdmin) OR IsAuthenticatedIdentityProviderAdmin(user.identity_provider_id)“
func (*CreateUserRequest) Descriptor
deprecated
func (*CreateUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateUserRequest.ProtoReflect.Descriptor instead.
func (*CreateUserRequest) GetRights ¶
func (x *CreateUserRequest) GetRights() []*Right
func (*CreateUserRequest) GetUser ¶
func (x *CreateUserRequest) GetUser() *User
func (*CreateUserRequest) ProtoMessage ¶
func (*CreateUserRequest) ProtoMessage()
func (*CreateUserRequest) ProtoReflect ¶
func (x *CreateUserRequest) ProtoReflect() protoreflect.Message
func (*CreateUserRequest) Reset ¶
func (x *CreateUserRequest) Reset()
func (*CreateUserRequest) String ¶
func (x *CreateUserRequest) String() string
type CreateUserResponse ¶
type CreateUserResponse struct {
// Created user.
User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
// contains filtered or unexported fields
}
func (*CreateUserResponse) Descriptor
deprecated
func (*CreateUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateUserResponse.ProtoReflect.Descriptor instead.
func (*CreateUserResponse) GetUser ¶
func (x *CreateUserResponse) GetUser() *User
func (*CreateUserResponse) ProtoMessage ¶
func (*CreateUserResponse) ProtoMessage()
func (*CreateUserResponse) ProtoReflect ¶
func (x *CreateUserResponse) ProtoReflect() protoreflect.Message
func (*CreateUserResponse) Reset ¶
func (x *CreateUserResponse) Reset()
func (*CreateUserResponse) String ¶
func (x *CreateUserResponse) String() string
type DeleteIdentityProviderConfigRequest ¶
type DeleteIdentityProviderConfigRequest struct {
// The identity provider config to delete.
// Required
IdentityProviderId string `protobuf:"bytes,1,opt,name=identity_provider_id,json=identityProviderId,proto3" json:"identity_provider_id,omitempty"`
// contains filtered or unexported fields
}
func (*DeleteIdentityProviderConfigRequest) Descriptor
deprecated
func (*DeleteIdentityProviderConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteIdentityProviderConfigRequest.ProtoReflect.Descriptor instead.
func (*DeleteIdentityProviderConfigRequest) GetIdentityProviderId ¶
func (x *DeleteIdentityProviderConfigRequest) GetIdentityProviderId() string
func (*DeleteIdentityProviderConfigRequest) ProtoMessage ¶
func (*DeleteIdentityProviderConfigRequest) ProtoMessage()
func (*DeleteIdentityProviderConfigRequest) ProtoReflect ¶
func (x *DeleteIdentityProviderConfigRequest) ProtoReflect() protoreflect.Message
func (*DeleteIdentityProviderConfigRequest) Reset ¶
func (x *DeleteIdentityProviderConfigRequest) Reset()
func (*DeleteIdentityProviderConfigRequest) String ¶
func (x *DeleteIdentityProviderConfigRequest) String() string
type DeleteIdentityProviderConfigResponse ¶
type DeleteIdentityProviderConfigResponse struct {
// contains filtered or unexported fields
}
Does not (yet) contain any data.
func (*DeleteIdentityProviderConfigResponse) Descriptor
deprecated
func (*DeleteIdentityProviderConfigResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteIdentityProviderConfigResponse.ProtoReflect.Descriptor instead.
func (*DeleteIdentityProviderConfigResponse) ProtoMessage ¶
func (*DeleteIdentityProviderConfigResponse) ProtoMessage()
func (*DeleteIdentityProviderConfigResponse) ProtoReflect ¶
func (x *DeleteIdentityProviderConfigResponse) ProtoReflect() protoreflect.Message
func (*DeleteIdentityProviderConfigResponse) Reset ¶
func (x *DeleteIdentityProviderConfigResponse) Reset()
func (*DeleteIdentityProviderConfigResponse) String ¶
func (x *DeleteIdentityProviderConfigResponse) String() string
type DeleteUserRequest ¶
type DeleteUserRequest struct {
// The user to delete.
// Required
UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
// The id of the “Identity Provider“
// Optional, if not set, assume the user is managed by the default identity provider.
IdentityProviderId string `protobuf:"bytes,2,opt,name=identity_provider_id,json=identityProviderId,proto3" json:"identity_provider_id,omitempty"`
// contains filtered or unexported fields
}
Required authorization: “HasRight(ParticipantAdmin) OR IsAuthenticatedIdentityProviderAdmin(identity_provider_id)“
func (*DeleteUserRequest) Descriptor
deprecated
func (*DeleteUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteUserRequest.ProtoReflect.Descriptor instead.
func (*DeleteUserRequest) GetIdentityProviderId ¶
func (x *DeleteUserRequest) GetIdentityProviderId() string
func (*DeleteUserRequest) GetUserId ¶
func (x *DeleteUserRequest) GetUserId() string
func (*DeleteUserRequest) ProtoMessage ¶
func (*DeleteUserRequest) ProtoMessage()
func (*DeleteUserRequest) ProtoReflect ¶
func (x *DeleteUserRequest) ProtoReflect() protoreflect.Message
func (*DeleteUserRequest) Reset ¶
func (x *DeleteUserRequest) Reset()
func (*DeleteUserRequest) String ¶
func (x *DeleteUserRequest) String() string
type DeleteUserResponse ¶
type DeleteUserResponse struct {
// contains filtered or unexported fields
}
Does not (yet) contain any data.
func (*DeleteUserResponse) Descriptor
deprecated
func (*DeleteUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteUserResponse.ProtoReflect.Descriptor instead.
func (*DeleteUserResponse) ProtoMessage ¶
func (*DeleteUserResponse) ProtoMessage()
func (*DeleteUserResponse) ProtoReflect ¶
func (x *DeleteUserResponse) ProtoReflect() protoreflect.Message
func (*DeleteUserResponse) Reset ¶
func (x *DeleteUserResponse) Reset()
func (*DeleteUserResponse) String ¶
func (x *DeleteUserResponse) String() string
type GenerateExternalPartyTopologyRequest ¶
type GenerateExternalPartyTopologyRequest struct {
// TODO(#27670) support synchronizer aliases
// Required: synchronizer-id for which we are building this request.
Synchronizer string `protobuf:"bytes,1,opt,name=synchronizer,proto3" json:"synchronizer,omitempty"`
// Required: the actual party id will be constructed from this hint and a fingerprint of the public key
PartyHint string `protobuf:"bytes,2,opt,name=party_hint,json=partyHint,proto3" json:"party_hint,omitempty"`
// Required: public key
PublicKey *v2.SigningPublicKey `protobuf:"bytes,3,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
// Optional: if true, then the local participant will only be observing, not confirming. Default false.
LocalParticipantObservationOnly bool `` /* 159-byte string literal not displayed */
// Optional: other participant ids which should be confirming for this party
OtherConfirmingParticipantUids []string `` /* 155-byte string literal not displayed */
// Optional: Confirmation threshold >= 1 for the party. Defaults to all available confirmers (or if set to 0).
ConfirmationThreshold uint32 `protobuf:"varint,6,opt,name=confirmation_threshold,json=confirmationThreshold,proto3" json:"confirmation_threshold,omitempty"`
// Optional: other observing participant ids for this party
ObservingParticipantUids []string `` /* 135-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*GenerateExternalPartyTopologyRequest) Descriptor
deprecated
func (*GenerateExternalPartyTopologyRequest) Descriptor() ([]byte, []int)
Deprecated: Use GenerateExternalPartyTopologyRequest.ProtoReflect.Descriptor instead.
func (*GenerateExternalPartyTopologyRequest) GetConfirmationThreshold ¶
func (x *GenerateExternalPartyTopologyRequest) GetConfirmationThreshold() uint32
func (*GenerateExternalPartyTopologyRequest) GetLocalParticipantObservationOnly ¶
func (x *GenerateExternalPartyTopologyRequest) GetLocalParticipantObservationOnly() bool
func (*GenerateExternalPartyTopologyRequest) GetObservingParticipantUids ¶
func (x *GenerateExternalPartyTopologyRequest) GetObservingParticipantUids() []string
func (*GenerateExternalPartyTopologyRequest) GetOtherConfirmingParticipantUids ¶
func (x *GenerateExternalPartyTopologyRequest) GetOtherConfirmingParticipantUids() []string
func (*GenerateExternalPartyTopologyRequest) GetPartyHint ¶
func (x *GenerateExternalPartyTopologyRequest) GetPartyHint() string
func (*GenerateExternalPartyTopologyRequest) GetPublicKey ¶
func (x *GenerateExternalPartyTopologyRequest) GetPublicKey() *v2.SigningPublicKey
func (*GenerateExternalPartyTopologyRequest) GetSynchronizer ¶
func (x *GenerateExternalPartyTopologyRequest) GetSynchronizer() string
func (*GenerateExternalPartyTopologyRequest) ProtoMessage ¶
func (*GenerateExternalPartyTopologyRequest) ProtoMessage()
func (*GenerateExternalPartyTopologyRequest) ProtoReflect ¶
func (x *GenerateExternalPartyTopologyRequest) ProtoReflect() protoreflect.Message
func (*GenerateExternalPartyTopologyRequest) Reset ¶
func (x *GenerateExternalPartyTopologyRequest) Reset()
func (*GenerateExternalPartyTopologyRequest) String ¶
func (x *GenerateExternalPartyTopologyRequest) String() string
type GenerateExternalPartyTopologyResponse ¶
type GenerateExternalPartyTopologyResponse struct {
// the generated party id
PartyId string `protobuf:"bytes,1,opt,name=party_id,json=partyId,proto3" json:"party_id,omitempty"`
// the fingerprint of the supplied public key
PublicKeyFingerprint string `protobuf:"bytes,2,opt,name=public_key_fingerprint,json=publicKeyFingerprint,proto3" json:"public_key_fingerprint,omitempty"`
// The serialized topology transactions which need to be signed and submitted as part of the allocate party process
// Note that the serialization includes the versioning information. Therefore, the transaction here is serialized
// as an `UntypedVersionedMessage` which in turn contains the serialized `TopologyTransaction` in the version
// supported by the synchronizer.
TopologyTransactions [][]byte `protobuf:"bytes,3,rep,name=topology_transactions,json=topologyTransactions,proto3" json:"topology_transactions,omitempty"`
// the multi-hash which may be signed instead of each individual transaction
MultiHash []byte `protobuf:"bytes,4,opt,name=multi_hash,json=multiHash,proto3" json:"multi_hash,omitempty"`
// contains filtered or unexported fields
}
Response message with topology transactions and the multi-hash to be signed.
func (*GenerateExternalPartyTopologyResponse) Descriptor
deprecated
func (*GenerateExternalPartyTopologyResponse) Descriptor() ([]byte, []int)
Deprecated: Use GenerateExternalPartyTopologyResponse.ProtoReflect.Descriptor instead.
func (*GenerateExternalPartyTopologyResponse) GetMultiHash ¶
func (x *GenerateExternalPartyTopologyResponse) GetMultiHash() []byte
func (*GenerateExternalPartyTopologyResponse) GetPartyId ¶
func (x *GenerateExternalPartyTopologyResponse) GetPartyId() string
func (*GenerateExternalPartyTopologyResponse) GetPublicKeyFingerprint ¶
func (x *GenerateExternalPartyTopologyResponse) GetPublicKeyFingerprint() string
func (*GenerateExternalPartyTopologyResponse) GetTopologyTransactions ¶
func (x *GenerateExternalPartyTopologyResponse) GetTopologyTransactions() [][]byte
func (*GenerateExternalPartyTopologyResponse) ProtoMessage ¶
func (*GenerateExternalPartyTopologyResponse) ProtoMessage()
func (*GenerateExternalPartyTopologyResponse) ProtoReflect ¶
func (x *GenerateExternalPartyTopologyResponse) ProtoReflect() protoreflect.Message
func (*GenerateExternalPartyTopologyResponse) Reset ¶
func (x *GenerateExternalPartyTopologyResponse) Reset()
func (*GenerateExternalPartyTopologyResponse) String ¶
func (x *GenerateExternalPartyTopologyResponse) String() string
type GetCommandStatusRequest ¶
type GetCommandStatusRequest struct {
CommandIdPrefix string `protobuf:"bytes,1,opt,name=command_id_prefix,json=commandIdPrefix,proto3" json:"command_id_prefix,omitempty"` // optional filter by command id
State CommandState `protobuf:"varint,2,opt,name=state,proto3,enum=com.daml.ledger.api.v2.admin.CommandState" json:"state,omitempty"` // optional filter by state
Limit uint32 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"` // optional limit of returned statuses, defaults to 100
// contains filtered or unexported fields
}
func (*GetCommandStatusRequest) Descriptor
deprecated
func (*GetCommandStatusRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetCommandStatusRequest.ProtoReflect.Descriptor instead.
func (*GetCommandStatusRequest) GetCommandIdPrefix ¶
func (x *GetCommandStatusRequest) GetCommandIdPrefix() string
func (*GetCommandStatusRequest) GetLimit ¶
func (x *GetCommandStatusRequest) GetLimit() uint32
func (*GetCommandStatusRequest) GetState ¶
func (x *GetCommandStatusRequest) GetState() CommandState
func (*GetCommandStatusRequest) ProtoMessage ¶
func (*GetCommandStatusRequest) ProtoMessage()
func (*GetCommandStatusRequest) ProtoReflect ¶
func (x *GetCommandStatusRequest) ProtoReflect() protoreflect.Message
func (*GetCommandStatusRequest) Reset ¶
func (x *GetCommandStatusRequest) Reset()
func (*GetCommandStatusRequest) String ¶
func (x *GetCommandStatusRequest) String() string
type GetCommandStatusResponse ¶
type GetCommandStatusResponse struct {
CommandStatus []*CommandStatus `protobuf:"bytes,1,rep,name=command_status,json=commandStatus,proto3" json:"command_status,omitempty"`
// contains filtered or unexported fields
}
func (*GetCommandStatusResponse) Descriptor
deprecated
func (*GetCommandStatusResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetCommandStatusResponse.ProtoReflect.Descriptor instead.
func (*GetCommandStatusResponse) GetCommandStatus ¶
func (x *GetCommandStatusResponse) GetCommandStatus() []*CommandStatus
func (*GetCommandStatusResponse) ProtoMessage ¶
func (*GetCommandStatusResponse) ProtoMessage()
func (*GetCommandStatusResponse) ProtoReflect ¶
func (x *GetCommandStatusResponse) ProtoReflect() protoreflect.Message
func (*GetCommandStatusResponse) Reset ¶
func (x *GetCommandStatusResponse) Reset()
func (*GetCommandStatusResponse) String ¶
func (x *GetCommandStatusResponse) String() string
type GetIdentityProviderConfigRequest ¶
type GetIdentityProviderConfigRequest struct {
// Required
IdentityProviderId string `protobuf:"bytes,1,opt,name=identity_provider_id,json=identityProviderId,proto3" json:"identity_provider_id,omitempty"`
// contains filtered or unexported fields
}
func (*GetIdentityProviderConfigRequest) Descriptor
deprecated
func (*GetIdentityProviderConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetIdentityProviderConfigRequest.ProtoReflect.Descriptor instead.
func (*GetIdentityProviderConfigRequest) GetIdentityProviderId ¶
func (x *GetIdentityProviderConfigRequest) GetIdentityProviderId() string
func (*GetIdentityProviderConfigRequest) ProtoMessage ¶
func (*GetIdentityProviderConfigRequest) ProtoMessage()
func (*GetIdentityProviderConfigRequest) ProtoReflect ¶
func (x *GetIdentityProviderConfigRequest) ProtoReflect() protoreflect.Message
func (*GetIdentityProviderConfigRequest) Reset ¶
func (x *GetIdentityProviderConfigRequest) Reset()
func (*GetIdentityProviderConfigRequest) String ¶
func (x *GetIdentityProviderConfigRequest) String() string
type GetIdentityProviderConfigResponse ¶
type GetIdentityProviderConfigResponse struct {
IdentityProviderConfig *IdentityProviderConfig `` /* 129-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*GetIdentityProviderConfigResponse) Descriptor
deprecated
func (*GetIdentityProviderConfigResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetIdentityProviderConfigResponse.ProtoReflect.Descriptor instead.
func (*GetIdentityProviderConfigResponse) GetIdentityProviderConfig ¶
func (x *GetIdentityProviderConfigResponse) GetIdentityProviderConfig() *IdentityProviderConfig
func (*GetIdentityProviderConfigResponse) ProtoMessage ¶
func (*GetIdentityProviderConfigResponse) ProtoMessage()
func (*GetIdentityProviderConfigResponse) ProtoReflect ¶
func (x *GetIdentityProviderConfigResponse) ProtoReflect() protoreflect.Message
func (*GetIdentityProviderConfigResponse) Reset ¶
func (x *GetIdentityProviderConfigResponse) Reset()
func (*GetIdentityProviderConfigResponse) String ¶
func (x *GetIdentityProviderConfigResponse) String() string
type GetParticipantIdRequest ¶
type GetParticipantIdRequest struct {
// contains filtered or unexported fields
}
Required authorization: “HasRight(ParticipantAdmin)“
func (*GetParticipantIdRequest) Descriptor
deprecated
func (*GetParticipantIdRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetParticipantIdRequest.ProtoReflect.Descriptor instead.
func (*GetParticipantIdRequest) ProtoMessage ¶
func (*GetParticipantIdRequest) ProtoMessage()
func (*GetParticipantIdRequest) ProtoReflect ¶
func (x *GetParticipantIdRequest) ProtoReflect() protoreflect.Message
func (*GetParticipantIdRequest) Reset ¶
func (x *GetParticipantIdRequest) Reset()
func (*GetParticipantIdRequest) String ¶
func (x *GetParticipantIdRequest) String() string
type GetParticipantIdResponse ¶
type GetParticipantIdResponse struct {
// Identifier of the participant, which SHOULD be globally unique.
// Must be a valid LedgerString (as describe in “value.proto“).
ParticipantId string `protobuf:"bytes,1,opt,name=participant_id,json=participantId,proto3" json:"participant_id,omitempty"`
// contains filtered or unexported fields
}
func (*GetParticipantIdResponse) Descriptor
deprecated
func (*GetParticipantIdResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetParticipantIdResponse.ProtoReflect.Descriptor instead.
func (*GetParticipantIdResponse) GetParticipantId ¶
func (x *GetParticipantIdResponse) GetParticipantId() string
func (*GetParticipantIdResponse) ProtoMessage ¶
func (*GetParticipantIdResponse) ProtoMessage()
func (*GetParticipantIdResponse) ProtoReflect ¶
func (x *GetParticipantIdResponse) ProtoReflect() protoreflect.Message
func (*GetParticipantIdResponse) Reset ¶
func (x *GetParticipantIdResponse) Reset()
func (*GetParticipantIdResponse) String ¶
func (x *GetParticipantIdResponse) String() string
type GetPartiesRequest ¶
type GetPartiesRequest struct {
// The stable, unique identifier of the Daml parties.
// Must be valid PartyIdStrings (as described in “value.proto“).
// Required
Parties []string `protobuf:"bytes,1,rep,name=parties,proto3" json:"parties,omitempty"`
// The id of the “Identity Provider“ whose parties should be retrieved.
// Optional, if not set, assume the party is managed by the default identity provider or party is not hosted by the participant.
IdentityProviderId string `protobuf:"bytes,2,opt,name=identity_provider_id,json=identityProviderId,proto3" json:"identity_provider_id,omitempty"`
// contains filtered or unexported fields
}
Required authorization: “HasRight(ParticipantAdmin) OR IsAuthenticatedIdentityProviderAdmin(identity_provider_id)“
func (*GetPartiesRequest) Descriptor
deprecated
func (*GetPartiesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetPartiesRequest.ProtoReflect.Descriptor instead.
func (*GetPartiesRequest) GetIdentityProviderId ¶
func (x *GetPartiesRequest) GetIdentityProviderId() string
func (*GetPartiesRequest) GetParties ¶
func (x *GetPartiesRequest) GetParties() []string
func (*GetPartiesRequest) ProtoMessage ¶
func (*GetPartiesRequest) ProtoMessage()
func (*GetPartiesRequest) ProtoReflect ¶
func (x *GetPartiesRequest) ProtoReflect() protoreflect.Message
func (*GetPartiesRequest) Reset ¶
func (x *GetPartiesRequest) Reset()
func (*GetPartiesRequest) String ¶
func (x *GetPartiesRequest) String() string
type GetPartiesResponse ¶
type GetPartiesResponse struct {
// The details of the requested Daml parties by the participant, if known.
// The party details may not be in the same order as requested.
// Required
PartyDetails []*PartyDetails `protobuf:"bytes,1,rep,name=party_details,json=partyDetails,proto3" json:"party_details,omitempty"`
// contains filtered or unexported fields
}
func (*GetPartiesResponse) Descriptor
deprecated
func (*GetPartiesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetPartiesResponse.ProtoReflect.Descriptor instead.
func (*GetPartiesResponse) GetPartyDetails ¶
func (x *GetPartiesResponse) GetPartyDetails() []*PartyDetails
func (*GetPartiesResponse) ProtoMessage ¶
func (*GetPartiesResponse) ProtoMessage()
func (*GetPartiesResponse) ProtoReflect ¶
func (x *GetPartiesResponse) ProtoReflect() protoreflect.Message
func (*GetPartiesResponse) Reset ¶
func (x *GetPartiesResponse) Reset()
func (*GetPartiesResponse) String ¶
func (x *GetPartiesResponse) String() string
type GetUserRequest ¶
type GetUserRequest struct {
// The user whose data to retrieve.
// If set to empty string (the default), then the data for the authenticated user will be retrieved.
// Optional
UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
// The id of the “Identity Provider“
// Optional, if not set, assume the user is managed by the default identity provider.
IdentityProviderId string `protobuf:"bytes,2,opt,name=identity_provider_id,json=identityProviderId,proto3" json:"identity_provider_id,omitempty"`
// contains filtered or unexported fields
}
Required authorization: “HasRight(ParticipantAdmin) OR IsAuthenticatedIdentityProviderAdmin(identity_provider_id) OR IsAuthenticatedUser(user_id)“
func (*GetUserRequest) Descriptor
deprecated
func (*GetUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetUserRequest.ProtoReflect.Descriptor instead.
func (*GetUserRequest) GetIdentityProviderId ¶
func (x *GetUserRequest) GetIdentityProviderId() string
func (*GetUserRequest) GetUserId ¶
func (x *GetUserRequest) GetUserId() string
func (*GetUserRequest) ProtoMessage ¶
func (*GetUserRequest) ProtoMessage()
func (*GetUserRequest) ProtoReflect ¶
func (x *GetUserRequest) ProtoReflect() protoreflect.Message
func (*GetUserRequest) Reset ¶
func (x *GetUserRequest) Reset()
func (*GetUserRequest) String ¶
func (x *GetUserRequest) String() string
type GetUserResponse ¶
type GetUserResponse struct {
// Retrieved user.
User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
// contains filtered or unexported fields
}
func (*GetUserResponse) Descriptor
deprecated
func (*GetUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetUserResponse.ProtoReflect.Descriptor instead.
func (*GetUserResponse) GetUser ¶
func (x *GetUserResponse) GetUser() *User
func (*GetUserResponse) ProtoMessage ¶
func (*GetUserResponse) ProtoMessage()
func (*GetUserResponse) ProtoReflect ¶
func (x *GetUserResponse) ProtoReflect() protoreflect.Message
func (*GetUserResponse) Reset ¶
func (x *GetUserResponse) Reset()
func (*GetUserResponse) String ¶
func (x *GetUserResponse) String() string
type GrantUserRightsRequest ¶
type GrantUserRightsRequest struct {
// The user to whom to grant rights.
// Required
UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
// The rights to grant.
// Optional
Rights []*Right `protobuf:"bytes,2,rep,name=rights,proto3" json:"rights,omitempty"`
// The id of the “Identity Provider“
// Optional, if not set, assume the user is managed by the default identity provider.
IdentityProviderId string `protobuf:"bytes,3,opt,name=identity_provider_id,json=identityProviderId,proto3" json:"identity_provider_id,omitempty"`
// contains filtered or unexported fields
}
Add the rights to the set of rights granted to the user.
Required authorization: “HasRight(ParticipantAdmin) OR IsAuthenticatedIdentityProviderAdmin(identity_provider_id)“
func (*GrantUserRightsRequest) Descriptor
deprecated
func (*GrantUserRightsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GrantUserRightsRequest.ProtoReflect.Descriptor instead.
func (*GrantUserRightsRequest) GetIdentityProviderId ¶
func (x *GrantUserRightsRequest) GetIdentityProviderId() string
func (*GrantUserRightsRequest) GetRights ¶
func (x *GrantUserRightsRequest) GetRights() []*Right
func (*GrantUserRightsRequest) GetUserId ¶
func (x *GrantUserRightsRequest) GetUserId() string
func (*GrantUserRightsRequest) ProtoMessage ¶
func (*GrantUserRightsRequest) ProtoMessage()
func (*GrantUserRightsRequest) ProtoReflect ¶
func (x *GrantUserRightsRequest) ProtoReflect() protoreflect.Message
func (*GrantUserRightsRequest) Reset ¶
func (x *GrantUserRightsRequest) Reset()
func (*GrantUserRightsRequest) String ¶
func (x *GrantUserRightsRequest) String() string
type GrantUserRightsResponse ¶
type GrantUserRightsResponse struct {
// The rights that were newly granted by the request.
NewlyGrantedRights []*Right `protobuf:"bytes,1,rep,name=newly_granted_rights,json=newlyGrantedRights,proto3" json:"newly_granted_rights,omitempty"`
// contains filtered or unexported fields
}
func (*GrantUserRightsResponse) Descriptor
deprecated
func (*GrantUserRightsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GrantUserRightsResponse.ProtoReflect.Descriptor instead.
func (*GrantUserRightsResponse) GetNewlyGrantedRights ¶
func (x *GrantUserRightsResponse) GetNewlyGrantedRights() []*Right
func (*GrantUserRightsResponse) ProtoMessage ¶
func (*GrantUserRightsResponse) ProtoMessage()
func (*GrantUserRightsResponse) ProtoReflect ¶
func (x *GrantUserRightsResponse) ProtoReflect() protoreflect.Message
func (*GrantUserRightsResponse) Reset ¶
func (x *GrantUserRightsResponse) Reset()
func (*GrantUserRightsResponse) String ¶
func (x *GrantUserRightsResponse) String() string
type IdentityProviderConfig ¶
type IdentityProviderConfig struct {
// The identity provider identifier
// Must be a valid LedgerString (as describe in “value.proto“).
// Required
IdentityProviderId string `protobuf:"bytes,1,opt,name=identity_provider_id,json=identityProviderId,proto3" json:"identity_provider_id,omitempty"`
// When set, the callers using JWT tokens issued by this identity provider are denied all access
// to the Ledger API.
// Optional,
// Modifiable
IsDeactivated bool `protobuf:"varint,2,opt,name=is_deactivated,json=isDeactivated,proto3" json:"is_deactivated,omitempty"`
// Specifies the issuer of the JWT token.
// The issuer value is a case sensitive URL using the https scheme that contains scheme, host,
// and optionally, port number and path components and no query or fragment components.
// Required
// Modifiable
Issuer string `protobuf:"bytes,3,opt,name=issuer,proto3" json:"issuer,omitempty"`
// The JWKS (JSON Web Key Set) URL.
// The Ledger API uses JWKs (JSON Web Keys) from the provided URL to verify that the JWT has been
// signed with the loaded JWK. Only RS256 (RSA Signature with SHA-256) signing algorithm is supported.
// Required
// Modifiable
JwksUrl string `protobuf:"bytes,4,opt,name=jwks_url,json=jwksUrl,proto3" json:"jwks_url,omitempty"`
// Specifies the audience of the JWT token.
// When set, the callers using JWT tokens issued by this identity provider are allowed to get an access
// only if the "aud" claim includes the string specified here
// Optional,
// Modifiable
Audience string `protobuf:"bytes,5,opt,name=audience,proto3" json:"audience,omitempty"`
// contains filtered or unexported fields
}
func (*IdentityProviderConfig) Descriptor
deprecated
func (*IdentityProviderConfig) Descriptor() ([]byte, []int)
Deprecated: Use IdentityProviderConfig.ProtoReflect.Descriptor instead.
func (*IdentityProviderConfig) GetAudience ¶
func (x *IdentityProviderConfig) GetAudience() string
func (*IdentityProviderConfig) GetIdentityProviderId ¶
func (x *IdentityProviderConfig) GetIdentityProviderId() string
func (*IdentityProviderConfig) GetIsDeactivated ¶
func (x *IdentityProviderConfig) GetIsDeactivated() bool
func (*IdentityProviderConfig) GetIssuer ¶
func (x *IdentityProviderConfig) GetIssuer() string
func (*IdentityProviderConfig) GetJwksUrl ¶
func (x *IdentityProviderConfig) GetJwksUrl() string
func (*IdentityProviderConfig) ProtoMessage ¶
func (*IdentityProviderConfig) ProtoMessage()
func (*IdentityProviderConfig) ProtoReflect ¶
func (x *IdentityProviderConfig) ProtoReflect() protoreflect.Message
func (*IdentityProviderConfig) Reset ¶
func (x *IdentityProviderConfig) Reset()
func (*IdentityProviderConfig) String ¶
func (x *IdentityProviderConfig) String() string
type IdentityProviderConfigServiceClient ¶
type IdentityProviderConfigServiceClient interface {
// Create a new identity provider configuration.
// The request will fail if the maximum allowed number of separate configurations is reached.
CreateIdentityProviderConfig(ctx context.Context, in *CreateIdentityProviderConfigRequest, opts ...grpc.CallOption) (*CreateIdentityProviderConfigResponse, error)
// Get the identity provider configuration data by id.
GetIdentityProviderConfig(ctx context.Context, in *GetIdentityProviderConfigRequest, opts ...grpc.CallOption) (*GetIdentityProviderConfigResponse, error)
// Update selected modifiable attribute of an identity provider config resource described
// by the “IdentityProviderConfig“ message.
UpdateIdentityProviderConfig(ctx context.Context, in *UpdateIdentityProviderConfigRequest, opts ...grpc.CallOption) (*UpdateIdentityProviderConfigResponse, error)
// List all existing identity provider configurations.
ListIdentityProviderConfigs(ctx context.Context, in *ListIdentityProviderConfigsRequest, opts ...grpc.CallOption) (*ListIdentityProviderConfigsResponse, error)
// Delete an existing identity provider configuration.
DeleteIdentityProviderConfig(ctx context.Context, in *DeleteIdentityProviderConfigRequest, opts ...grpc.CallOption) (*DeleteIdentityProviderConfigResponse, error)
}
IdentityProviderConfigServiceClient is the client API for IdentityProviderConfigService 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.
Identity Provider Config Service makes it possible for participant node administrators to setup and manage additional identity providers at runtime.
This allows using access tokens from identity providers unknown at deployment time. When an identity provider is configured, independent IDP administrators can manage their own set of parties and users. Such parties and users have a matching `identity_provider_id` defined and are inaccessible to administrators from other identity providers. A user will only be authenticated if the corresponding JWT token is issued by the appropriate identity provider. Users and parties without `identity_provider_id` defined are assumed to be using the default identity provider, which is configured statically at the participant node's deployment time.
The Ledger API uses the "iss" claim of a JWT token to match the token to a specific IDP. If there is no match, the default IDP is assumed.
The fields of request messages (and sub-messages) are marked either as “Optional“ or “Required“:
1. “Optional“ denoting the client may leave the field unset when sending a request. 2. “Required“ denoting the client must set the field to a non-default value when sending a request.
An identity provider config resource is described by the “IdentityProviderConfig“ message, An identity provider config resource, once it has been created, can be modified. In order to update the properties represented by the “IdentityProviderConfig“ message use the “UpdateIdentityProviderConfig“ RPC. The only fields that can be modified are those marked as “Modifiable“.
func NewIdentityProviderConfigServiceClient ¶
func NewIdentityProviderConfigServiceClient(cc grpc.ClientConnInterface) IdentityProviderConfigServiceClient
type IdentityProviderConfigServiceServer ¶
type IdentityProviderConfigServiceServer interface {
// Create a new identity provider configuration.
// The request will fail if the maximum allowed number of separate configurations is reached.
CreateIdentityProviderConfig(context.Context, *CreateIdentityProviderConfigRequest) (*CreateIdentityProviderConfigResponse, error)
// Get the identity provider configuration data by id.
GetIdentityProviderConfig(context.Context, *GetIdentityProviderConfigRequest) (*GetIdentityProviderConfigResponse, error)
// Update selected modifiable attribute of an identity provider config resource described
// by the “IdentityProviderConfig“ message.
UpdateIdentityProviderConfig(context.Context, *UpdateIdentityProviderConfigRequest) (*UpdateIdentityProviderConfigResponse, error)
// List all existing identity provider configurations.
ListIdentityProviderConfigs(context.Context, *ListIdentityProviderConfigsRequest) (*ListIdentityProviderConfigsResponse, error)
// Delete an existing identity provider configuration.
DeleteIdentityProviderConfig(context.Context, *DeleteIdentityProviderConfigRequest) (*DeleteIdentityProviderConfigResponse, error)
// contains filtered or unexported methods
}
IdentityProviderConfigServiceServer is the server API for IdentityProviderConfigService service. All implementations must embed UnimplementedIdentityProviderConfigServiceServer for forward compatibility.
Identity Provider Config Service makes it possible for participant node administrators to setup and manage additional identity providers at runtime.
This allows using access tokens from identity providers unknown at deployment time. When an identity provider is configured, independent IDP administrators can manage their own set of parties and users. Such parties and users have a matching `identity_provider_id` defined and are inaccessible to administrators from other identity providers. A user will only be authenticated if the corresponding JWT token is issued by the appropriate identity provider. Users and parties without `identity_provider_id` defined are assumed to be using the default identity provider, which is configured statically at the participant node's deployment time.
The Ledger API uses the "iss" claim of a JWT token to match the token to a specific IDP. If there is no match, the default IDP is assumed.
The fields of request messages (and sub-messages) are marked either as “Optional“ or “Required“:
1. “Optional“ denoting the client may leave the field unset when sending a request. 2. “Required“ denoting the client must set the field to a non-default value when sending a request.
An identity provider config resource is described by the “IdentityProviderConfig“ message, An identity provider config resource, once it has been created, can be modified. In order to update the properties represented by the “IdentityProviderConfig“ message use the “UpdateIdentityProviderConfig“ RPC. The only fields that can be modified are those marked as “Modifiable“.
type ListIdentityProviderConfigsRequest ¶
type ListIdentityProviderConfigsRequest struct {
// contains filtered or unexported fields
}
func (*ListIdentityProviderConfigsRequest) Descriptor
deprecated
func (*ListIdentityProviderConfigsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListIdentityProviderConfigsRequest.ProtoReflect.Descriptor instead.
func (*ListIdentityProviderConfigsRequest) ProtoMessage ¶
func (*ListIdentityProviderConfigsRequest) ProtoMessage()
func (*ListIdentityProviderConfigsRequest) ProtoReflect ¶
func (x *ListIdentityProviderConfigsRequest) ProtoReflect() protoreflect.Message
func (*ListIdentityProviderConfigsRequest) Reset ¶
func (x *ListIdentityProviderConfigsRequest) Reset()
func (*ListIdentityProviderConfigsRequest) String ¶
func (x *ListIdentityProviderConfigsRequest) String() string
type ListIdentityProviderConfigsResponse ¶
type ListIdentityProviderConfigsResponse struct {
IdentityProviderConfigs []*IdentityProviderConfig `` /* 132-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*ListIdentityProviderConfigsResponse) Descriptor
deprecated
func (*ListIdentityProviderConfigsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListIdentityProviderConfigsResponse.ProtoReflect.Descriptor instead.
func (*ListIdentityProviderConfigsResponse) GetIdentityProviderConfigs ¶
func (x *ListIdentityProviderConfigsResponse) GetIdentityProviderConfigs() []*IdentityProviderConfig
func (*ListIdentityProviderConfigsResponse) ProtoMessage ¶
func (*ListIdentityProviderConfigsResponse) ProtoMessage()
func (*ListIdentityProviderConfigsResponse) ProtoReflect ¶
func (x *ListIdentityProviderConfigsResponse) ProtoReflect() protoreflect.Message
func (*ListIdentityProviderConfigsResponse) Reset ¶
func (x *ListIdentityProviderConfigsResponse) Reset()
func (*ListIdentityProviderConfigsResponse) String ¶
func (x *ListIdentityProviderConfigsResponse) String() string
type ListKnownPackagesRequest ¶
type ListKnownPackagesRequest struct {
// contains filtered or unexported fields
}
func (*ListKnownPackagesRequest) Descriptor
deprecated
func (*ListKnownPackagesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListKnownPackagesRequest.ProtoReflect.Descriptor instead.
func (*ListKnownPackagesRequest) ProtoMessage ¶
func (*ListKnownPackagesRequest) ProtoMessage()
func (*ListKnownPackagesRequest) ProtoReflect ¶
func (x *ListKnownPackagesRequest) ProtoReflect() protoreflect.Message
func (*ListKnownPackagesRequest) Reset ¶
func (x *ListKnownPackagesRequest) Reset()
func (*ListKnownPackagesRequest) String ¶
func (x *ListKnownPackagesRequest) String() string
type ListKnownPackagesResponse ¶
type ListKnownPackagesResponse struct {
// The details of all Daml-LF packages known to backing participant.
// Required
PackageDetails []*PackageDetails `protobuf:"bytes,1,rep,name=package_details,json=packageDetails,proto3" json:"package_details,omitempty"`
// contains filtered or unexported fields
}
func (*ListKnownPackagesResponse) Descriptor
deprecated
func (*ListKnownPackagesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListKnownPackagesResponse.ProtoReflect.Descriptor instead.
func (*ListKnownPackagesResponse) GetPackageDetails ¶
func (x *ListKnownPackagesResponse) GetPackageDetails() []*PackageDetails
func (*ListKnownPackagesResponse) ProtoMessage ¶
func (*ListKnownPackagesResponse) ProtoMessage()
func (*ListKnownPackagesResponse) ProtoReflect ¶
func (x *ListKnownPackagesResponse) ProtoReflect() protoreflect.Message
func (*ListKnownPackagesResponse) Reset ¶
func (x *ListKnownPackagesResponse) Reset()
func (*ListKnownPackagesResponse) String ¶
func (x *ListKnownPackagesResponse) String() string
type ListKnownPartiesRequest ¶
type ListKnownPartiesRequest struct {
// Pagination token to determine the specific page to fetch. Using the token guarantees that parties on a subsequent
// page are all lexically greater than the last party on a previous page. Server does not store intermediate results
// between calls chained by a series of page tokens. As a consequence, if new parties are being added and a page is
// requested twice using the same token, more parties can be returned on the second call.
// Leave empty to fetch the first page.
// Optional
PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Maximum number of results to be returned by the server. The server will return no more than that many results,
// but it might return fewer. If the page_size is 0, the server will decide the number of results to be returned.
// If the page_size exceeds the maximum supported by the server, an error will be returned. To obtain the server's
// maximum consult the PartyManagementFeature descriptor available in the VersionService.
// Optional
PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// The id of the “Identity Provider“ whose parties should be retrieved.
// Optional, if not set, assume the party is managed by the default identity provider or party is not hosted by the participant.
IdentityProviderId string `protobuf:"bytes,1,opt,name=identity_provider_id,json=identityProviderId,proto3" json:"identity_provider_id,omitempty"`
// contains filtered or unexported fields
}
Required authorization: “HasRight(ParticipantAdmin) OR IsAuthenticatedIdentityProviderAdmin(identity_provider_id)“
func (*ListKnownPartiesRequest) Descriptor
deprecated
func (*ListKnownPartiesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListKnownPartiesRequest.ProtoReflect.Descriptor instead.
func (*ListKnownPartiesRequest) GetIdentityProviderId ¶
func (x *ListKnownPartiesRequest) GetIdentityProviderId() string
func (*ListKnownPartiesRequest) GetPageSize ¶
func (x *ListKnownPartiesRequest) GetPageSize() int32
func (*ListKnownPartiesRequest) GetPageToken ¶
func (x *ListKnownPartiesRequest) GetPageToken() string
func (*ListKnownPartiesRequest) ProtoMessage ¶
func (*ListKnownPartiesRequest) ProtoMessage()
func (*ListKnownPartiesRequest) ProtoReflect ¶
func (x *ListKnownPartiesRequest) ProtoReflect() protoreflect.Message
func (*ListKnownPartiesRequest) Reset ¶
func (x *ListKnownPartiesRequest) Reset()
func (*ListKnownPartiesRequest) String ¶
func (x *ListKnownPartiesRequest) String() string
type ListKnownPartiesResponse ¶
type ListKnownPartiesResponse struct {
// The details of all Daml parties known by the participant.
// Required
PartyDetails []*PartyDetails `protobuf:"bytes,1,rep,name=party_details,json=partyDetails,proto3" json:"party_details,omitempty"`
// Pagination token to retrieve the next page.
// Empty, if there are no further results.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}
func (*ListKnownPartiesResponse) Descriptor
deprecated
func (*ListKnownPartiesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListKnownPartiesResponse.ProtoReflect.Descriptor instead.
func (*ListKnownPartiesResponse) GetNextPageToken ¶
func (x *ListKnownPartiesResponse) GetNextPageToken() string
func (*ListKnownPartiesResponse) GetPartyDetails ¶
func (x *ListKnownPartiesResponse) GetPartyDetails() []*PartyDetails
func (*ListKnownPartiesResponse) ProtoMessage ¶
func (*ListKnownPartiesResponse) ProtoMessage()
func (*ListKnownPartiesResponse) ProtoReflect ¶
func (x *ListKnownPartiesResponse) ProtoReflect() protoreflect.Message
func (*ListKnownPartiesResponse) Reset ¶
func (x *ListKnownPartiesResponse) Reset()
func (*ListKnownPartiesResponse) String ¶
func (x *ListKnownPartiesResponse) String() string
type ListUserRightsRequest ¶
type ListUserRightsRequest struct {
// The user for which to list the rights.
// If set to empty string (the default), then the rights for the authenticated user will be listed.
// Required
UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
// The id of the “Identity Provider“
// Optional, if not set, assume the user is managed by the default identity provider.
IdentityProviderId string `protobuf:"bytes,2,opt,name=identity_provider_id,json=identityProviderId,proto3" json:"identity_provider_id,omitempty"`
// contains filtered or unexported fields
}
Required authorization: “HasRight(ParticipantAdmin) OR IsAuthenticatedIdentityProviderAdmin(identity_provider_id) OR IsAuthenticatedUser(user_id)“
func (*ListUserRightsRequest) Descriptor
deprecated
func (*ListUserRightsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListUserRightsRequest.ProtoReflect.Descriptor instead.
func (*ListUserRightsRequest) GetIdentityProviderId ¶
func (x *ListUserRightsRequest) GetIdentityProviderId() string
func (*ListUserRightsRequest) GetUserId ¶
func (x *ListUserRightsRequest) GetUserId() string
func (*ListUserRightsRequest) ProtoMessage ¶
func (*ListUserRightsRequest) ProtoMessage()
func (*ListUserRightsRequest) ProtoReflect ¶
func (x *ListUserRightsRequest) ProtoReflect() protoreflect.Message
func (*ListUserRightsRequest) Reset ¶
func (x *ListUserRightsRequest) Reset()
func (*ListUserRightsRequest) String ¶
func (x *ListUserRightsRequest) String() string
type ListUserRightsResponse ¶
type ListUserRightsResponse struct {
// All rights of the user.
Rights []*Right `protobuf:"bytes,1,rep,name=rights,proto3" json:"rights,omitempty"`
// contains filtered or unexported fields
}
func (*ListUserRightsResponse) Descriptor
deprecated
func (*ListUserRightsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListUserRightsResponse.ProtoReflect.Descriptor instead.
func (*ListUserRightsResponse) GetRights ¶
func (x *ListUserRightsResponse) GetRights() []*Right
func (*ListUserRightsResponse) ProtoMessage ¶
func (*ListUserRightsResponse) ProtoMessage()
func (*ListUserRightsResponse) ProtoReflect ¶
func (x *ListUserRightsResponse) ProtoReflect() protoreflect.Message
func (*ListUserRightsResponse) Reset ¶
func (x *ListUserRightsResponse) Reset()
func (*ListUserRightsResponse) String ¶
func (x *ListUserRightsResponse) String() string
type ListUsersRequest ¶
type ListUsersRequest struct {
// Pagination token to determine the specific page to fetch.
// Leave empty to fetch the first page.
// Optional
PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Maximum number of results to be returned by the server. The server will return no more than that many results, but it might return fewer.
// If 0, the server will decide the number of results to be returned.
// Optional
PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// The id of the “Identity Provider“
// Optional, if not set, assume the user is managed by the default identity provider.
IdentityProviderId string `protobuf:"bytes,4,opt,name=identity_provider_id,json=identityProviderId,proto3" json:"identity_provider_id,omitempty"`
// contains filtered or unexported fields
}
Required authorization: “HasRight(ParticipantAdmin) OR IsAuthenticatedIdentityProviderAdmin(identity_provider_id)“
func (*ListUsersRequest) Descriptor
deprecated
func (*ListUsersRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListUsersRequest.ProtoReflect.Descriptor instead.
func (*ListUsersRequest) GetIdentityProviderId ¶
func (x *ListUsersRequest) GetIdentityProviderId() string
func (*ListUsersRequest) GetPageSize ¶
func (x *ListUsersRequest) GetPageSize() int32
func (*ListUsersRequest) GetPageToken ¶
func (x *ListUsersRequest) GetPageToken() string
func (*ListUsersRequest) ProtoMessage ¶
func (*ListUsersRequest) ProtoMessage()
func (*ListUsersRequest) ProtoReflect ¶
func (x *ListUsersRequest) ProtoReflect() protoreflect.Message
func (*ListUsersRequest) Reset ¶
func (x *ListUsersRequest) Reset()
func (*ListUsersRequest) String ¶
func (x *ListUsersRequest) String() string
type ListUsersResponse ¶
type ListUsersResponse struct {
// A subset of users of the participant node that fit into this page.
Users []*User `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"`
// Pagination token to retrieve the next page.
// Empty, if there are no further results.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}
func (*ListUsersResponse) Descriptor
deprecated
func (*ListUsersResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListUsersResponse.ProtoReflect.Descriptor instead.
func (*ListUsersResponse) GetNextPageToken ¶
func (x *ListUsersResponse) GetNextPageToken() string
func (*ListUsersResponse) GetUsers ¶
func (x *ListUsersResponse) GetUsers() []*User
func (*ListUsersResponse) ProtoMessage ¶
func (*ListUsersResponse) ProtoMessage()
func (*ListUsersResponse) ProtoReflect ¶
func (x *ListUsersResponse) ProtoReflect() protoreflect.Message
func (*ListUsersResponse) Reset ¶
func (x *ListUsersResponse) Reset()
func (*ListUsersResponse) String ¶
func (x *ListUsersResponse) String() string
type ObjectMeta ¶
type ObjectMeta struct {
// An opaque, non-empty value, populated by a participant server which represents the internal version of the resource
// this “ObjectMeta“ message is attached to. The participant server will change it to a unique value each time the corresponding resource is updated.
// You must not rely on the format of resource version. The participant server might change it without notice.
// You can obtain the newest resource version value by issuing a read request.
// You may use it for concurrent change detection by passing it back unmodified in an update request.
// The participant server will then compare the passed value with the value maintained by the system to determine
// if any other updates took place since you had read the resource version.
// Upon a successful update you are guaranteed that no other update took place during your read-modify-write sequence.
// However, if another update took place during your read-modify-write sequence then your update will fail with an appropriate error.
// Concurrent change control is optional. It will be applied only if you include a resource version in an update request.
// When creating a new instance of a resource you must leave the resource version empty.
// Its value will be populated by the participant server upon successful resource creation.
// Optional
ResourceVersion string `protobuf:"bytes,6,opt,name=resource_version,json=resourceVersion,proto3" json:"resource_version,omitempty"`
// A set of modifiable key-value pairs that can be used to represent arbitrary, client-specific metadata.
// Constraints:
//
// 1. The total size over all keys and values cannot exceed 256kb in UTF-8 encoding.
// 2. Keys are composed of an optional prefix segment and a required name segment such that:
//
// - key prefix, when present, must be a valid DNS subdomain with at most 253 characters, followed by a '/' (forward slash) character,
// - name segment must have at most 63 characters that are either alphanumeric ([a-z0-9A-Z]), or a '.' (dot), '-' (dash) or '_' (underscore);
// and it must start and end with an alphanumeric character.
//
// 3. Values can be any non-empty strings.
//
// Keys with empty prefix are reserved for end-users.
// Properties set by external tools or internally by the participant server must use non-empty key prefixes.
// Duplicate keys are disallowed by the semantics of the protobuf3 maps.
// See: https://developers.google.com/protocol-buffers/docs/proto3#maps
// Annotations may be a part of a modifiable resource.
// Use the resource's update RPC to update its annotations.
// In order to add a new annotation or update an existing one using an update RPC, provide the desired annotation in the update request.
// In order to remove an annotation using an update RPC, provide the target annotation's key but set its value to the empty string in the update request.
// Optional
// Modifiable
Annotations map[string]string `` /* 150-byte string literal not displayed */
// contains filtered or unexported fields
}
Represents metadata corresponding to a participant resource (e.g. a participant user or participant local information about a party).
Based on “ObjectMeta“ meta used in Kubernetes API. See https://github.com/kubernetes/apimachinery/blob/master/pkg/apis/meta/v1/generated.proto#L640
func (*ObjectMeta) Descriptor
deprecated
func (*ObjectMeta) Descriptor() ([]byte, []int)
Deprecated: Use ObjectMeta.ProtoReflect.Descriptor instead.
func (*ObjectMeta) GetAnnotations ¶
func (x *ObjectMeta) GetAnnotations() map[string]string
func (*ObjectMeta) GetResourceVersion ¶
func (x *ObjectMeta) GetResourceVersion() string
func (*ObjectMeta) ProtoMessage ¶
func (*ObjectMeta) ProtoMessage()
func (*ObjectMeta) ProtoReflect ¶
func (x *ObjectMeta) ProtoReflect() protoreflect.Message
func (*ObjectMeta) Reset ¶
func (x *ObjectMeta) Reset()
func (*ObjectMeta) String ¶
func (x *ObjectMeta) String() string
type PackageDetails ¶
type PackageDetails struct {
// The identity of the Daml-LF package.
// Must be a valid PackageIdString (as describe in “value.proto“).
// Required
PackageId string `protobuf:"bytes,1,opt,name=package_id,json=packageId,proto3" json:"package_id,omitempty"`
// Size of the package in bytes.
// The size of the package is given by the size of the “daml_lf“
// ArchivePayload. See further details in “daml_lf.proto“.
// Required
PackageSize uint64 `protobuf:"varint,2,opt,name=package_size,json=packageSize,proto3" json:"package_size,omitempty"`
// Indicates since when the package is known to the backing participant.
// Required
KnownSince *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=known_since,json=knownSince,proto3" json:"known_since,omitempty"`
// Name of the package as defined by the package metadata
Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
// Version of the package as defined by the package metadata
Version string `protobuf:"bytes,5,opt,name=version,proto3" json:"version,omitempty"`
// contains filtered or unexported fields
}
func (*PackageDetails) Descriptor
deprecated
func (*PackageDetails) Descriptor() ([]byte, []int)
Deprecated: Use PackageDetails.ProtoReflect.Descriptor instead.
func (*PackageDetails) GetKnownSince ¶
func (x *PackageDetails) GetKnownSince() *timestamppb.Timestamp
func (*PackageDetails) GetName ¶
func (x *PackageDetails) GetName() string
func (*PackageDetails) GetPackageId ¶
func (x *PackageDetails) GetPackageId() string
func (*PackageDetails) GetPackageSize ¶
func (x *PackageDetails) GetPackageSize() uint64
func (*PackageDetails) GetVersion ¶
func (x *PackageDetails) GetVersion() string
func (*PackageDetails) ProtoMessage ¶
func (*PackageDetails) ProtoMessage()
func (*PackageDetails) ProtoReflect ¶
func (x *PackageDetails) ProtoReflect() protoreflect.Message
func (*PackageDetails) Reset ¶
func (x *PackageDetails) Reset()
func (*PackageDetails) String ¶
func (x *PackageDetails) String() string
type PackageManagementServiceClient ¶
type PackageManagementServiceClient interface {
// Returns the details of all Daml-LF packages known to the backing participant.
ListKnownPackages(ctx context.Context, in *ListKnownPackagesRequest, opts ...grpc.CallOption) (*ListKnownPackagesResponse, error)
// Upload a DAR file to the participant.
//
// If vetting is enabled in the request, the DAR is checked for upgrade compatibility
// with the set of the already vetted packages on the target vetting synchronizer
// See UploadDarFileRequest for details regarding vetting and the target vetting synchronizer.
UploadDarFile(ctx context.Context, in *UploadDarFileRequest, opts ...grpc.CallOption) (*UploadDarFileResponse, error)
// Validates the DAR and checks the upgrade compatibility of the DAR's packages
// with the set of the already vetted packages on the target vetting synchronizer.
// See ValidateDarFileRequest for details regarding the target vetting synchronizer.
//
// The operation has no effect on the state of the participant or the Canton ledger:
// the DAR payload and its packages are not persisted neither are the packages vetted.
ValidateDarFile(ctx context.Context, in *ValidateDarFileRequest, opts ...grpc.CallOption) (*ValidateDarFileResponse, error)
// Update the vetted packages of this participant
UpdateVettedPackages(ctx context.Context, in *UpdateVettedPackagesRequest, opts ...grpc.CallOption) (*UpdateVettedPackagesResponse, error)
}
PackageManagementServiceClient is the client API for PackageManagementService 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.
Status: experimental interface, will change before it is deemed production ready
Query the Daml-LF packages supported by the ledger participant and upload DAR files. We use 'backing participant' to refer to this specific participant in the methods of this API.
func NewPackageManagementServiceClient ¶
func NewPackageManagementServiceClient(cc grpc.ClientConnInterface) PackageManagementServiceClient
type PackageManagementServiceServer ¶
type PackageManagementServiceServer interface {
// Returns the details of all Daml-LF packages known to the backing participant.
ListKnownPackages(context.Context, *ListKnownPackagesRequest) (*ListKnownPackagesResponse, error)
// Upload a DAR file to the participant.
//
// If vetting is enabled in the request, the DAR is checked for upgrade compatibility
// with the set of the already vetted packages on the target vetting synchronizer
// See UploadDarFileRequest for details regarding vetting and the target vetting synchronizer.
UploadDarFile(context.Context, *UploadDarFileRequest) (*UploadDarFileResponse, error)
// Validates the DAR and checks the upgrade compatibility of the DAR's packages
// with the set of the already vetted packages on the target vetting synchronizer.
// See ValidateDarFileRequest for details regarding the target vetting synchronizer.
//
// The operation has no effect on the state of the participant or the Canton ledger:
// the DAR payload and its packages are not persisted neither are the packages vetted.
ValidateDarFile(context.Context, *ValidateDarFileRequest) (*ValidateDarFileResponse, error)
// Update the vetted packages of this participant
UpdateVettedPackages(context.Context, *UpdateVettedPackagesRequest) (*UpdateVettedPackagesResponse, error)
// contains filtered or unexported methods
}
PackageManagementServiceServer is the server API for PackageManagementService service. All implementations must embed UnimplementedPackageManagementServiceServer for forward compatibility.
Status: experimental interface, will change before it is deemed production ready
Query the Daml-LF packages supported by the ledger participant and upload DAR files. We use 'backing participant' to refer to this specific participant in the methods of this API.
type ParticipantPruningServiceClient ¶
type ParticipantPruningServiceClient interface {
// Prune the ledger specifying the offset before and at which ledger transactions should be removed. Only returns when
// the potentially long-running prune request ends successfully or with an error.
Prune(ctx context.Context, in *PruneRequest, opts ...grpc.CallOption) (*PruneResponse, error)
}
ParticipantPruningServiceClient is the client API for ParticipantPruningService 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.
Prunes/truncates the "oldest" transactions from the participant (the participant Ledger Api Server plus any other participant-local state) by removing a portion of the ledger in such a way that the set of future, allowed commands are not affected.
This enables:
1. keeping the "inactive" portion of the ledger to a manageable size and 2. removing inactive state to honor the right to be forgotten.
func NewParticipantPruningServiceClient ¶
func NewParticipantPruningServiceClient(cc grpc.ClientConnInterface) ParticipantPruningServiceClient
type ParticipantPruningServiceServer ¶
type ParticipantPruningServiceServer interface {
// Prune the ledger specifying the offset before and at which ledger transactions should be removed. Only returns when
// the potentially long-running prune request ends successfully or with an error.
Prune(context.Context, *PruneRequest) (*PruneResponse, error)
// contains filtered or unexported methods
}
ParticipantPruningServiceServer is the server API for ParticipantPruningService service. All implementations must embed UnimplementedParticipantPruningServiceServer for forward compatibility.
Prunes/truncates the "oldest" transactions from the participant (the participant Ledger Api Server plus any other participant-local state) by removing a portion of the ledger in such a way that the set of future, allowed commands are not affected.
This enables:
1. keeping the "inactive" portion of the ledger to a manageable size and 2. removing inactive state to honor the right to be forgotten.
type PartyDetails ¶
type PartyDetails struct {
// The stable unique identifier of a Daml party.
// Must be a valid PartyIdString (as described in “value.proto“).
// Required
Party string `protobuf:"bytes,1,opt,name=party,proto3" json:"party,omitempty"`
// true if party is hosted by the participant and the party shares the same identity provider as the user issuing the request.
// Optional
IsLocal bool `protobuf:"varint,3,opt,name=is_local,json=isLocal,proto3" json:"is_local,omitempty"`
// Participant-local metadata of this party.
// Optional,
// Modifiable
LocalMetadata *ObjectMeta `protobuf:"bytes,4,opt,name=local_metadata,json=localMetadata,proto3" json:"local_metadata,omitempty"`
// The id of the “Identity Provider“
// Optional, if not set, there could be 3 options:
//
// 1. the party is managed by the default identity provider.
// 2. party is not hosted by the participant.
// 3. party is hosted by the participant, but is outside of the user's identity provider.
IdentityProviderId string `protobuf:"bytes,5,opt,name=identity_provider_id,json=identityProviderId,proto3" json:"identity_provider_id,omitempty"`
// contains filtered or unexported fields
}
func (*PartyDetails) Descriptor
deprecated
func (*PartyDetails) Descriptor() ([]byte, []int)
Deprecated: Use PartyDetails.ProtoReflect.Descriptor instead.
func (*PartyDetails) GetIdentityProviderId ¶
func (x *PartyDetails) GetIdentityProviderId() string
func (*PartyDetails) GetIsLocal ¶
func (x *PartyDetails) GetIsLocal() bool
func (*PartyDetails) GetLocalMetadata ¶
func (x *PartyDetails) GetLocalMetadata() *ObjectMeta
func (*PartyDetails) GetParty ¶
func (x *PartyDetails) GetParty() string
func (*PartyDetails) ProtoMessage ¶
func (*PartyDetails) ProtoMessage()
func (*PartyDetails) ProtoReflect ¶
func (x *PartyDetails) ProtoReflect() protoreflect.Message
func (*PartyDetails) Reset ¶
func (x *PartyDetails) Reset()
func (*PartyDetails) String ¶
func (x *PartyDetails) String() string
type PartyManagementServiceClient ¶
type PartyManagementServiceClient interface {
// Return the identifier of the participant.
// All horizontally scaled replicas should return the same id.
// daml-on-kv-ledger: returns an identifier supplied on command line at launch time
// canton: returns globally unique identifier of the participant
GetParticipantId(ctx context.Context, in *GetParticipantIdRequest, opts ...grpc.CallOption) (*GetParticipantIdResponse, error)
// Get the party details of the given parties. Only known parties will be
// returned in the list.
GetParties(ctx context.Context, in *GetPartiesRequest, opts ...grpc.CallOption) (*GetPartiesResponse, error)
// List the parties known by the participant.
// The list returned contains parties whose ledger access is facilitated by
// the participant and the ones maintained elsewhere.
ListKnownParties(ctx context.Context, in *ListKnownPartiesRequest, opts ...grpc.CallOption) (*ListKnownPartiesResponse, error)
// Allocates a new party on a ledger and adds it to the set managed by the participant.
// Caller specifies a party identifier suggestion, the actual identifier
// allocated might be different and is implementation specific.
// Caller can specify party metadata that is stored locally on the participant.
// This call may:
//
// - Succeed, in which case the actual allocated identifier is visible in
// the response.
// - Respond with a gRPC error
//
// daml-on-kv-ledger: suggestion's uniqueness is checked by the validators in
// the consensus layer and call rejected if the identifier is already present.
// canton: completely different globally unique identifier is allocated.
// Behind the scenes calls to an internal protocol are made. As that protocol
// is richer than the surface protocol, the arguments take implicit values
// The party identifier suggestion must be a valid party name. Party names are required to be non-empty US-ASCII strings built from letters, digits, space,
// colon, minus and underscore limited to 255 chars
AllocateParty(ctx context.Context, in *AllocatePartyRequest, opts ...grpc.CallOption) (*AllocatePartyResponse, error)
// Alpha 3.3: Endpoint to allocate a new external party on a synchronizer
//
// # Expected to be stable in 3.5
//
// The external party must be hosted (at least) on this node with either confirmation or observation permissions
// It can optionally be hosted on other nodes (then called a multi-hosted party).
// If hosted on additional nodes, explicit authorization of the hosting relationship must be performed on those nodes
// before the party can be used.
// Decentralized namespaces are supported but must be provided fully authorized by their owners.
// The individual owner namespace transactions can be submitted in the same call (fully authorized as well).
// In the simple case of a non-multi hosted, non-decentralized party, the RPC will return once the party is
// effectively allocated and ready to use, similarly to the AllocateParty behavior.
// For more complex scenarios applications may need to query the party status explicitly (only through the admin API as of now).
AllocateExternalParty(ctx context.Context, in *AllocateExternalPartyRequest, opts ...grpc.CallOption) (*AllocateExternalPartyResponse, error)
// Update selected modifiable participant-local attributes of a party details resource.
// Can update the participant's local information for local parties.
UpdatePartyDetails(ctx context.Context, in *UpdatePartyDetailsRequest, opts ...grpc.CallOption) (*UpdatePartyDetailsResponse, error)
// Update the assignment of a party from one IDP to another.
UpdatePartyIdentityProviderId(ctx context.Context, in *UpdatePartyIdentityProviderIdRequest, opts ...grpc.CallOption) (*UpdatePartyIdentityProviderIdResponse, error)
// Alpha 3.3: Convenience endpoint to generate topology transactions for external signing
//
// # Expected to be stable in 3.5
//
// You may use this endpoint to generate the common external topology transactions
// which can be signed externally and uploaded as part of the allocate party process
//
// Note that this request will create a normal namespace using the same key for the
// identity as for signing. More elaborate schemes such as multi-signature
// or decentralized parties require you to construct the topology transactions yourself.
GenerateExternalPartyTopology(ctx context.Context, in *GenerateExternalPartyTopologyRequest, opts ...grpc.CallOption) (*GenerateExternalPartyTopologyResponse, error)
}
PartyManagementServiceClient is the client API for PartyManagementService 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.
This service allows inspecting the party management state of the ledger known to the participant and managing the participant-local party metadata.
The authorization rules for its RPCs are specified on the “<RpcName>Request“ messages as boolean expressions over these facts:
- “HasRight(r)“ denoting whether the authenticated user has right “r“ and
- “IsAuthenticatedIdentityProviderAdmin(idp)“ denoting whether “idp“ is equal to the “identity_provider_id“ of the authenticated user and the user has an IdentityProviderAdmin right.
If `identity_provider_id` is set to an empty string, then it's effectively set to the value of access token's 'iss' field if that is provided. If `identity_provider_id` remains an empty string, the default identity provider will be assumed.
The fields of request messages (and sub-messages) are marked either as “Optional“ or “Required“:
1. “Optional“ denoting the client may leave the field unset when sending a request. 2. “Required“ denoting the client must set the field to a non-default value when sending a request.
A party details resource is described by the “PartyDetails“ message, A party details resource, once it has been created, can be modified using the “UpdatePartyDetails“ RPC. The only fields that can be modified are those marked as “Modifiable“.
func NewPartyManagementServiceClient ¶
func NewPartyManagementServiceClient(cc grpc.ClientConnInterface) PartyManagementServiceClient
type PartyManagementServiceServer ¶
type PartyManagementServiceServer interface {
// Return the identifier of the participant.
// All horizontally scaled replicas should return the same id.
// daml-on-kv-ledger: returns an identifier supplied on command line at launch time
// canton: returns globally unique identifier of the participant
GetParticipantId(context.Context, *GetParticipantIdRequest) (*GetParticipantIdResponse, error)
// Get the party details of the given parties. Only known parties will be
// returned in the list.
GetParties(context.Context, *GetPartiesRequest) (*GetPartiesResponse, error)
// List the parties known by the participant.
// The list returned contains parties whose ledger access is facilitated by
// the participant and the ones maintained elsewhere.
ListKnownParties(context.Context, *ListKnownPartiesRequest) (*ListKnownPartiesResponse, error)
// Allocates a new party on a ledger and adds it to the set managed by the participant.
// Caller specifies a party identifier suggestion, the actual identifier
// allocated might be different and is implementation specific.
// Caller can specify party metadata that is stored locally on the participant.
// This call may:
//
// - Succeed, in which case the actual allocated identifier is visible in
// the response.
// - Respond with a gRPC error
//
// daml-on-kv-ledger: suggestion's uniqueness is checked by the validators in
// the consensus layer and call rejected if the identifier is already present.
// canton: completely different globally unique identifier is allocated.
// Behind the scenes calls to an internal protocol are made. As that protocol
// is richer than the surface protocol, the arguments take implicit values
// The party identifier suggestion must be a valid party name. Party names are required to be non-empty US-ASCII strings built from letters, digits, space,
// colon, minus and underscore limited to 255 chars
AllocateParty(context.Context, *AllocatePartyRequest) (*AllocatePartyResponse, error)
// Alpha 3.3: Endpoint to allocate a new external party on a synchronizer
//
// # Expected to be stable in 3.5
//
// The external party must be hosted (at least) on this node with either confirmation or observation permissions
// It can optionally be hosted on other nodes (then called a multi-hosted party).
// If hosted on additional nodes, explicit authorization of the hosting relationship must be performed on those nodes
// before the party can be used.
// Decentralized namespaces are supported but must be provided fully authorized by their owners.
// The individual owner namespace transactions can be submitted in the same call (fully authorized as well).
// In the simple case of a non-multi hosted, non-decentralized party, the RPC will return once the party is
// effectively allocated and ready to use, similarly to the AllocateParty behavior.
// For more complex scenarios applications may need to query the party status explicitly (only through the admin API as of now).
AllocateExternalParty(context.Context, *AllocateExternalPartyRequest) (*AllocateExternalPartyResponse, error)
// Update selected modifiable participant-local attributes of a party details resource.
// Can update the participant's local information for local parties.
UpdatePartyDetails(context.Context, *UpdatePartyDetailsRequest) (*UpdatePartyDetailsResponse, error)
// Update the assignment of a party from one IDP to another.
UpdatePartyIdentityProviderId(context.Context, *UpdatePartyIdentityProviderIdRequest) (*UpdatePartyIdentityProviderIdResponse, error)
// Alpha 3.3: Convenience endpoint to generate topology transactions for external signing
//
// # Expected to be stable in 3.5
//
// You may use this endpoint to generate the common external topology transactions
// which can be signed externally and uploaded as part of the allocate party process
//
// Note that this request will create a normal namespace using the same key for the
// identity as for signing. More elaborate schemes such as multi-signature
// or decentralized parties require you to construct the topology transactions yourself.
GenerateExternalPartyTopology(context.Context, *GenerateExternalPartyTopologyRequest) (*GenerateExternalPartyTopologyResponse, error)
// contains filtered or unexported methods
}
PartyManagementServiceServer is the server API for PartyManagementService service. All implementations must embed UnimplementedPartyManagementServiceServer for forward compatibility.
This service allows inspecting the party management state of the ledger known to the participant and managing the participant-local party metadata.
The authorization rules for its RPCs are specified on the “<RpcName>Request“ messages as boolean expressions over these facts:
- “HasRight(r)“ denoting whether the authenticated user has right “r“ and
- “IsAuthenticatedIdentityProviderAdmin(idp)“ denoting whether “idp“ is equal to the “identity_provider_id“ of the authenticated user and the user has an IdentityProviderAdmin right.
If `identity_provider_id` is set to an empty string, then it's effectively set to the value of access token's 'iss' field if that is provided. If `identity_provider_id` remains an empty string, the default identity provider will be assumed.
The fields of request messages (and sub-messages) are marked either as “Optional“ or “Required“:
1. “Optional“ denoting the client may leave the field unset when sending a request. 2. “Required“ denoting the client must set the field to a non-default value when sending a request.
A party details resource is described by the “PartyDetails“ message, A party details resource, once it has been created, can be modified using the “UpdatePartyDetails“ RPC. The only fields that can be modified are those marked as “Modifiable“.
type PruneRequest ¶
type PruneRequest struct {
// Inclusive valid absolute offset (positive integer) up to which the ledger is to be pruned.
// By default the following data is pruned:
//
// 1. All normal and divulged contracts that have been archived before
// `prune_up_to`.
// 2. All transaction events and completions before `prune_up_to`
// 3. All immediately divulged contracts created before `prune_up_to` independent of whether
// they were archived before `prune_up_to`.
PruneUpTo int64 `protobuf:"varint,1,opt,name=prune_up_to,json=pruneUpTo,proto3" json:"prune_up_to,omitempty"`
// Unique submission identifier.
// Optional, defaults to a random identifier, used for logging.
SubmissionId string `protobuf:"bytes,2,opt,name=submission_id,json=submissionId,proto3" json:"submission_id,omitempty"`
// Deprecated flag used to prune all immediately and retroactively divulged contracts.
// It is a no-op since the divulged contracts are pruned along with the deactivated contracts.
PruneAllDivulgedContracts bool `` /* 141-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*PruneRequest) Descriptor
deprecated
func (*PruneRequest) Descriptor() ([]byte, []int)
Deprecated: Use PruneRequest.ProtoReflect.Descriptor instead.
func (*PruneRequest) GetPruneAllDivulgedContracts ¶
func (x *PruneRequest) GetPruneAllDivulgedContracts() bool
func (*PruneRequest) GetPruneUpTo ¶
func (x *PruneRequest) GetPruneUpTo() int64
func (*PruneRequest) GetSubmissionId ¶
func (x *PruneRequest) GetSubmissionId() string
func (*PruneRequest) ProtoMessage ¶
func (*PruneRequest) ProtoMessage()
func (*PruneRequest) ProtoReflect ¶
func (x *PruneRequest) ProtoReflect() protoreflect.Message
func (*PruneRequest) Reset ¶
func (x *PruneRequest) Reset()
func (*PruneRequest) String ¶
func (x *PruneRequest) String() string
type PruneResponse ¶
type PruneResponse struct {
// contains filtered or unexported fields
}
func (*PruneResponse) Descriptor
deprecated
func (*PruneResponse) Descriptor() ([]byte, []int)
Deprecated: Use PruneResponse.ProtoReflect.Descriptor instead.
func (*PruneResponse) ProtoMessage ¶
func (*PruneResponse) ProtoMessage()
func (*PruneResponse) ProtoReflect ¶
func (x *PruneResponse) ProtoReflect() protoreflect.Message
func (*PruneResponse) Reset ¶
func (x *PruneResponse) Reset()
func (*PruneResponse) String ¶
func (x *PruneResponse) String() string
type RequestStatistics ¶
type RequestStatistics struct {
Envelopes uint32 `protobuf:"varint,1,opt,name=envelopes,proto3" json:"envelopes,omitempty"`
RequestSize uint32 `protobuf:"varint,2,opt,name=request_size,json=requestSize,proto3" json:"request_size,omitempty"`
Recipients uint32 `protobuf:"varint,3,opt,name=recipients,proto3" json:"recipients,omitempty"`
// contains filtered or unexported fields
}
func (*RequestStatistics) Descriptor
deprecated
func (*RequestStatistics) Descriptor() ([]byte, []int)
Deprecated: Use RequestStatistics.ProtoReflect.Descriptor instead.
func (*RequestStatistics) GetEnvelopes ¶
func (x *RequestStatistics) GetEnvelopes() uint32
func (*RequestStatistics) GetRecipients ¶
func (x *RequestStatistics) GetRecipients() uint32
func (*RequestStatistics) GetRequestSize ¶
func (x *RequestStatistics) GetRequestSize() uint32
func (*RequestStatistics) ProtoMessage ¶
func (*RequestStatistics) ProtoMessage()
func (*RequestStatistics) ProtoReflect ¶
func (x *RequestStatistics) ProtoReflect() protoreflect.Message
func (*RequestStatistics) Reset ¶
func (x *RequestStatistics) Reset()
func (*RequestStatistics) String ¶
func (x *RequestStatistics) String() string
type RevokeUserRightsRequest ¶
type RevokeUserRightsRequest struct {
// The user from whom to revoke rights.
// Required
UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
// The rights to revoke.
// Optional
Rights []*Right `protobuf:"bytes,2,rep,name=rights,proto3" json:"rights,omitempty"`
// The id of the “Identity Provider“
// Optional, if not set, assume the user is managed by the default identity provider.
IdentityProviderId string `protobuf:"bytes,3,opt,name=identity_provider_id,json=identityProviderId,proto3" json:"identity_provider_id,omitempty"`
// contains filtered or unexported fields
}
Remove the rights from the set of rights granted to the user.
Required authorization: “HasRight(ParticipantAdmin) OR IsAuthenticatedIdentityProviderAdmin(identity_provider_id)“
func (*RevokeUserRightsRequest) Descriptor
deprecated
func (*RevokeUserRightsRequest) Descriptor() ([]byte, []int)
Deprecated: Use RevokeUserRightsRequest.ProtoReflect.Descriptor instead.
func (*RevokeUserRightsRequest) GetIdentityProviderId ¶
func (x *RevokeUserRightsRequest) GetIdentityProviderId() string
func (*RevokeUserRightsRequest) GetRights ¶
func (x *RevokeUserRightsRequest) GetRights() []*Right
func (*RevokeUserRightsRequest) GetUserId ¶
func (x *RevokeUserRightsRequest) GetUserId() string
func (*RevokeUserRightsRequest) ProtoMessage ¶
func (*RevokeUserRightsRequest) ProtoMessage()
func (*RevokeUserRightsRequest) ProtoReflect ¶
func (x *RevokeUserRightsRequest) ProtoReflect() protoreflect.Message
func (*RevokeUserRightsRequest) Reset ¶
func (x *RevokeUserRightsRequest) Reset()
func (*RevokeUserRightsRequest) String ¶
func (x *RevokeUserRightsRequest) String() string
type RevokeUserRightsResponse ¶
type RevokeUserRightsResponse struct {
// The rights that were actually revoked by the request.
NewlyRevokedRights []*Right `protobuf:"bytes,1,rep,name=newly_revoked_rights,json=newlyRevokedRights,proto3" json:"newly_revoked_rights,omitempty"`
// contains filtered or unexported fields
}
func (*RevokeUserRightsResponse) Descriptor
deprecated
func (*RevokeUserRightsResponse) Descriptor() ([]byte, []int)
Deprecated: Use RevokeUserRightsResponse.ProtoReflect.Descriptor instead.
func (*RevokeUserRightsResponse) GetNewlyRevokedRights ¶
func (x *RevokeUserRightsResponse) GetNewlyRevokedRights() []*Right
func (*RevokeUserRightsResponse) ProtoMessage ¶
func (*RevokeUserRightsResponse) ProtoMessage()
func (*RevokeUserRightsResponse) ProtoReflect ¶
func (x *RevokeUserRightsResponse) ProtoReflect() protoreflect.Message
func (*RevokeUserRightsResponse) Reset ¶
func (x *RevokeUserRightsResponse) Reset()
func (*RevokeUserRightsResponse) String ¶
func (x *RevokeUserRightsResponse) String() string
type Right ¶
type Right struct {
// Required
//
// Types that are valid to be assigned to Kind:
//
// *Right_ParticipantAdmin_
// *Right_CanActAs_
// *Right_CanReadAs_
// *Right_IdentityProviderAdmin_
// *Right_CanReadAsAnyParty_
// *Right_CanExecuteAs_
// *Right_CanExecuteAsAnyParty_
Kind isRight_Kind `protobuf_oneof:"kind"`
// contains filtered or unexported fields
}
A right granted to a user.
func (*Right) Descriptor
deprecated
func (*Right) GetCanActAs ¶
func (x *Right) GetCanActAs() *Right_CanActAs
func (*Right) GetCanExecuteAs ¶
func (x *Right) GetCanExecuteAs() *Right_CanExecuteAs
func (*Right) GetCanExecuteAsAnyParty ¶
func (x *Right) GetCanExecuteAsAnyParty() *Right_CanExecuteAsAnyParty
func (*Right) GetCanReadAs ¶
func (x *Right) GetCanReadAs() *Right_CanReadAs
func (*Right) GetCanReadAsAnyParty ¶
func (x *Right) GetCanReadAsAnyParty() *Right_CanReadAsAnyParty
func (*Right) GetIdentityProviderAdmin ¶
func (x *Right) GetIdentityProviderAdmin() *Right_IdentityProviderAdmin
func (*Right) GetParticipantAdmin ¶
func (x *Right) GetParticipantAdmin() *Right_ParticipantAdmin
func (*Right) ProtoMessage ¶
func (*Right) ProtoMessage()
func (*Right) ProtoReflect ¶
func (x *Right) ProtoReflect() protoreflect.Message
type Right_CanActAs ¶
type Right_CanActAs struct {
// The right to authorize commands for this party.
Party string `protobuf:"bytes,1,opt,name=party,proto3" json:"party,omitempty"`
// contains filtered or unexported fields
}
func (*Right_CanActAs) Descriptor
deprecated
func (*Right_CanActAs) Descriptor() ([]byte, []int)
Deprecated: Use Right_CanActAs.ProtoReflect.Descriptor instead.
func (*Right_CanActAs) GetParty ¶
func (x *Right_CanActAs) GetParty() string
func (*Right_CanActAs) ProtoMessage ¶
func (*Right_CanActAs) ProtoMessage()
func (*Right_CanActAs) ProtoReflect ¶
func (x *Right_CanActAs) ProtoReflect() protoreflect.Message
func (*Right_CanActAs) Reset ¶
func (x *Right_CanActAs) Reset()
func (*Right_CanActAs) String ¶
func (x *Right_CanActAs) String() string
type Right_CanActAs_ ¶
type Right_CanActAs_ struct {
// The user can act as a specific party.
CanActAs *Right_CanActAs `protobuf:"bytes,2,opt,name=can_act_as,json=canActAs,proto3,oneof"`
}
type Right_CanExecuteAs ¶
type Right_CanExecuteAs struct {
// The right to prepare and execute submissions as this party.
// This right does not entitle the user to perform any reads.
// If reading is required, a separate ReadAs right must be added.
// Right to execute as a party is also implicitly contained in the CanActAs right.
Party string `protobuf:"bytes,1,opt,name=party,proto3" json:"party,omitempty"`
// contains filtered or unexported fields
}
func (*Right_CanExecuteAs) Descriptor
deprecated
func (*Right_CanExecuteAs) Descriptor() ([]byte, []int)
Deprecated: Use Right_CanExecuteAs.ProtoReflect.Descriptor instead.
func (*Right_CanExecuteAs) GetParty ¶
func (x *Right_CanExecuteAs) GetParty() string
func (*Right_CanExecuteAs) ProtoMessage ¶
func (*Right_CanExecuteAs) ProtoMessage()
func (*Right_CanExecuteAs) ProtoReflect ¶
func (x *Right_CanExecuteAs) ProtoReflect() protoreflect.Message
func (*Right_CanExecuteAs) Reset ¶
func (x *Right_CanExecuteAs) Reset()
func (*Right_CanExecuteAs) String ¶
func (x *Right_CanExecuteAs) String() string
type Right_CanExecuteAsAnyParty ¶
type Right_CanExecuteAsAnyParty struct {
// contains filtered or unexported fields
}
The rights of a user to prepare and execute transactions as any party. Its utility is predominantly for users that perform interactive submissions on behalf of many parties.
func (*Right_CanExecuteAsAnyParty) Descriptor
deprecated
func (*Right_CanExecuteAsAnyParty) Descriptor() ([]byte, []int)
Deprecated: Use Right_CanExecuteAsAnyParty.ProtoReflect.Descriptor instead.
func (*Right_CanExecuteAsAnyParty) ProtoMessage ¶
func (*Right_CanExecuteAsAnyParty) ProtoMessage()
func (*Right_CanExecuteAsAnyParty) ProtoReflect ¶
func (x *Right_CanExecuteAsAnyParty) ProtoReflect() protoreflect.Message
func (*Right_CanExecuteAsAnyParty) Reset ¶
func (x *Right_CanExecuteAsAnyParty) Reset()
func (*Right_CanExecuteAsAnyParty) String ¶
func (x *Right_CanExecuteAsAnyParty) String() string
type Right_CanExecuteAsAnyParty_ ¶
type Right_CanExecuteAsAnyParty_ struct {
// The user can prepare and execute submissions as any party on a participant.
CanExecuteAsAnyParty *Right_CanExecuteAsAnyParty `protobuf:"bytes,7,opt,name=can_execute_as_any_party,json=canExecuteAsAnyParty,proto3,oneof"`
}
type Right_CanExecuteAs_ ¶
type Right_CanExecuteAs_ struct {
// The user can prepare and execute submissions as a specific party.
CanExecuteAs *Right_CanExecuteAs `protobuf:"bytes,6,opt,name=can_execute_as,json=canExecuteAs,proto3,oneof"`
}
type Right_CanReadAs ¶
type Right_CanReadAs struct {
// The right to read ledger data visible to this party.
Party string `protobuf:"bytes,1,opt,name=party,proto3" json:"party,omitempty"`
// contains filtered or unexported fields
}
func (*Right_CanReadAs) Descriptor
deprecated
func (*Right_CanReadAs) Descriptor() ([]byte, []int)
Deprecated: Use Right_CanReadAs.ProtoReflect.Descriptor instead.
func (*Right_CanReadAs) GetParty ¶
func (x *Right_CanReadAs) GetParty() string
func (*Right_CanReadAs) ProtoMessage ¶
func (*Right_CanReadAs) ProtoMessage()
func (*Right_CanReadAs) ProtoReflect ¶
func (x *Right_CanReadAs) ProtoReflect() protoreflect.Message
func (*Right_CanReadAs) Reset ¶
func (x *Right_CanReadAs) Reset()
func (*Right_CanReadAs) String ¶
func (x *Right_CanReadAs) String() string
type Right_CanReadAsAnyParty ¶
type Right_CanReadAsAnyParty struct {
// contains filtered or unexported fields
}
The rights of a participant's super reader. Its utility is predominantly for feeding external tools, such as PQS, continually without the need to change subscriptions as new parties pop in and out of existence.
func (*Right_CanReadAsAnyParty) Descriptor
deprecated
func (*Right_CanReadAsAnyParty) Descriptor() ([]byte, []int)
Deprecated: Use Right_CanReadAsAnyParty.ProtoReflect.Descriptor instead.
func (*Right_CanReadAsAnyParty) ProtoMessage ¶
func (*Right_CanReadAsAnyParty) ProtoMessage()
func (*Right_CanReadAsAnyParty) ProtoReflect ¶
func (x *Right_CanReadAsAnyParty) ProtoReflect() protoreflect.Message
func (*Right_CanReadAsAnyParty) Reset ¶
func (x *Right_CanReadAsAnyParty) Reset()
func (*Right_CanReadAsAnyParty) String ¶
func (x *Right_CanReadAsAnyParty) String() string
type Right_CanReadAsAnyParty_ ¶
type Right_CanReadAsAnyParty_ struct {
// The user can read as any party on a participant
CanReadAsAnyParty *Right_CanReadAsAnyParty `protobuf:"bytes,5,opt,name=can_read_as_any_party,json=canReadAsAnyParty,proto3,oneof"`
}
type Right_CanReadAs_ ¶
type Right_CanReadAs_ struct {
// The user can read ledger data visible to a specific party.
CanReadAs *Right_CanReadAs `protobuf:"bytes,3,opt,name=can_read_as,json=canReadAs,proto3,oneof"`
}
type Right_IdentityProviderAdmin ¶
type Right_IdentityProviderAdmin struct {
// contains filtered or unexported fields
}
The right to administer the identity provider that the user is assigned to. It means, being able to manage users and parties that are also assigned to the same identity provider.
func (*Right_IdentityProviderAdmin) Descriptor
deprecated
func (*Right_IdentityProviderAdmin) Descriptor() ([]byte, []int)
Deprecated: Use Right_IdentityProviderAdmin.ProtoReflect.Descriptor instead.
func (*Right_IdentityProviderAdmin) ProtoMessage ¶
func (*Right_IdentityProviderAdmin) ProtoMessage()
func (*Right_IdentityProviderAdmin) ProtoReflect ¶
func (x *Right_IdentityProviderAdmin) ProtoReflect() protoreflect.Message
func (*Right_IdentityProviderAdmin) Reset ¶
func (x *Right_IdentityProviderAdmin) Reset()
func (*Right_IdentityProviderAdmin) String ¶
func (x *Right_IdentityProviderAdmin) String() string
type Right_IdentityProviderAdmin_ ¶
type Right_IdentityProviderAdmin_ struct {
// The user can administer users and parties assigned to the same identity provider as the one of the user.
IdentityProviderAdmin *Right_IdentityProviderAdmin `protobuf:"bytes,4,opt,name=identity_provider_admin,json=identityProviderAdmin,proto3,oneof"`
}
type Right_ParticipantAdmin ¶
type Right_ParticipantAdmin struct {
// contains filtered or unexported fields
}
The right to administer the participant node.
func (*Right_ParticipantAdmin) Descriptor
deprecated
func (*Right_ParticipantAdmin) Descriptor() ([]byte, []int)
Deprecated: Use Right_ParticipantAdmin.ProtoReflect.Descriptor instead.
func (*Right_ParticipantAdmin) ProtoMessage ¶
func (*Right_ParticipantAdmin) ProtoMessage()
func (*Right_ParticipantAdmin) ProtoReflect ¶
func (x *Right_ParticipantAdmin) ProtoReflect() protoreflect.Message
func (*Right_ParticipantAdmin) Reset ¶
func (x *Right_ParticipantAdmin) Reset()
func (*Right_ParticipantAdmin) String ¶
func (x *Right_ParticipantAdmin) String() string
type Right_ParticipantAdmin_ ¶
type Right_ParticipantAdmin_ struct {
// The user can administer the participant node.
ParticipantAdmin *Right_ParticipantAdmin `protobuf:"bytes,1,opt,name=participant_admin,json=participantAdmin,proto3,oneof"`
}
type UnimplementedCommandInspectionServiceServer ¶
type UnimplementedCommandInspectionServiceServer struct{}
UnimplementedCommandInspectionServiceServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedCommandInspectionServiceServer) GetCommandStatus ¶
func (UnimplementedCommandInspectionServiceServer) GetCommandStatus(context.Context, *GetCommandStatusRequest) (*GetCommandStatusResponse, error)
type UnimplementedIdentityProviderConfigServiceServer ¶
type UnimplementedIdentityProviderConfigServiceServer struct{}
UnimplementedIdentityProviderConfigServiceServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedIdentityProviderConfigServiceServer) CreateIdentityProviderConfig ¶
func (UnimplementedIdentityProviderConfigServiceServer) CreateIdentityProviderConfig(context.Context, *CreateIdentityProviderConfigRequest) (*CreateIdentityProviderConfigResponse, error)
func (UnimplementedIdentityProviderConfigServiceServer) DeleteIdentityProviderConfig ¶
func (UnimplementedIdentityProviderConfigServiceServer) DeleteIdentityProviderConfig(context.Context, *DeleteIdentityProviderConfigRequest) (*DeleteIdentityProviderConfigResponse, error)
func (UnimplementedIdentityProviderConfigServiceServer) GetIdentityProviderConfig ¶
func (UnimplementedIdentityProviderConfigServiceServer) GetIdentityProviderConfig(context.Context, *GetIdentityProviderConfigRequest) (*GetIdentityProviderConfigResponse, error)
func (UnimplementedIdentityProviderConfigServiceServer) ListIdentityProviderConfigs ¶
func (UnimplementedIdentityProviderConfigServiceServer) ListIdentityProviderConfigs(context.Context, *ListIdentityProviderConfigsRequest) (*ListIdentityProviderConfigsResponse, error)
func (UnimplementedIdentityProviderConfigServiceServer) UpdateIdentityProviderConfig ¶
func (UnimplementedIdentityProviderConfigServiceServer) UpdateIdentityProviderConfig(context.Context, *UpdateIdentityProviderConfigRequest) (*UpdateIdentityProviderConfigResponse, error)
type UnimplementedPackageManagementServiceServer ¶
type UnimplementedPackageManagementServiceServer struct{}
UnimplementedPackageManagementServiceServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedPackageManagementServiceServer) ListKnownPackages ¶
func (UnimplementedPackageManagementServiceServer) ListKnownPackages(context.Context, *ListKnownPackagesRequest) (*ListKnownPackagesResponse, error)
func (UnimplementedPackageManagementServiceServer) UpdateVettedPackages ¶
func (UnimplementedPackageManagementServiceServer) UpdateVettedPackages(context.Context, *UpdateVettedPackagesRequest) (*UpdateVettedPackagesResponse, error)
func (UnimplementedPackageManagementServiceServer) UploadDarFile ¶
func (UnimplementedPackageManagementServiceServer) UploadDarFile(context.Context, *UploadDarFileRequest) (*UploadDarFileResponse, error)
func (UnimplementedPackageManagementServiceServer) ValidateDarFile ¶
func (UnimplementedPackageManagementServiceServer) ValidateDarFile(context.Context, *ValidateDarFileRequest) (*ValidateDarFileResponse, error)
type UnimplementedParticipantPruningServiceServer ¶
type UnimplementedParticipantPruningServiceServer struct{}
UnimplementedParticipantPruningServiceServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedParticipantPruningServiceServer) Prune ¶
func (UnimplementedParticipantPruningServiceServer) Prune(context.Context, *PruneRequest) (*PruneResponse, error)
type UnimplementedPartyManagementServiceServer ¶
type UnimplementedPartyManagementServiceServer struct{}
UnimplementedPartyManagementServiceServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedPartyManagementServiceServer) AllocateExternalParty ¶
func (UnimplementedPartyManagementServiceServer) AllocateExternalParty(context.Context, *AllocateExternalPartyRequest) (*AllocateExternalPartyResponse, error)
func (UnimplementedPartyManagementServiceServer) AllocateParty ¶
func (UnimplementedPartyManagementServiceServer) AllocateParty(context.Context, *AllocatePartyRequest) (*AllocatePartyResponse, error)
func (UnimplementedPartyManagementServiceServer) GenerateExternalPartyTopology ¶
func (UnimplementedPartyManagementServiceServer) GenerateExternalPartyTopology(context.Context, *GenerateExternalPartyTopologyRequest) (*GenerateExternalPartyTopologyResponse, error)
func (UnimplementedPartyManagementServiceServer) GetParticipantId ¶
func (UnimplementedPartyManagementServiceServer) GetParticipantId(context.Context, *GetParticipantIdRequest) (*GetParticipantIdResponse, error)
func (UnimplementedPartyManagementServiceServer) GetParties ¶
func (UnimplementedPartyManagementServiceServer) GetParties(context.Context, *GetPartiesRequest) (*GetPartiesResponse, error)
func (UnimplementedPartyManagementServiceServer) ListKnownParties ¶
func (UnimplementedPartyManagementServiceServer) ListKnownParties(context.Context, *ListKnownPartiesRequest) (*ListKnownPartiesResponse, error)
func (UnimplementedPartyManagementServiceServer) UpdatePartyDetails ¶
func (UnimplementedPartyManagementServiceServer) UpdatePartyDetails(context.Context, *UpdatePartyDetailsRequest) (*UpdatePartyDetailsResponse, error)
func (UnimplementedPartyManagementServiceServer) UpdatePartyIdentityProviderId ¶
func (UnimplementedPartyManagementServiceServer) UpdatePartyIdentityProviderId(context.Context, *UpdatePartyIdentityProviderIdRequest) (*UpdatePartyIdentityProviderIdResponse, error)
type UnimplementedUserManagementServiceServer ¶
type UnimplementedUserManagementServiceServer struct{}
UnimplementedUserManagementServiceServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedUserManagementServiceServer) CreateUser ¶
func (UnimplementedUserManagementServiceServer) CreateUser(context.Context, *CreateUserRequest) (*CreateUserResponse, error)
func (UnimplementedUserManagementServiceServer) DeleteUser ¶
func (UnimplementedUserManagementServiceServer) DeleteUser(context.Context, *DeleteUserRequest) (*DeleteUserResponse, error)
func (UnimplementedUserManagementServiceServer) GetUser ¶
func (UnimplementedUserManagementServiceServer) GetUser(context.Context, *GetUserRequest) (*GetUserResponse, error)
func (UnimplementedUserManagementServiceServer) GrantUserRights ¶
func (UnimplementedUserManagementServiceServer) GrantUserRights(context.Context, *GrantUserRightsRequest) (*GrantUserRightsResponse, error)
func (UnimplementedUserManagementServiceServer) ListUserRights ¶
func (UnimplementedUserManagementServiceServer) ListUserRights(context.Context, *ListUserRightsRequest) (*ListUserRightsResponse, error)
func (UnimplementedUserManagementServiceServer) ListUsers ¶
func (UnimplementedUserManagementServiceServer) ListUsers(context.Context, *ListUsersRequest) (*ListUsersResponse, error)
func (UnimplementedUserManagementServiceServer) RevokeUserRights ¶
func (UnimplementedUserManagementServiceServer) RevokeUserRights(context.Context, *RevokeUserRightsRequest) (*RevokeUserRightsResponse, error)
func (UnimplementedUserManagementServiceServer) UpdateUser ¶
func (UnimplementedUserManagementServiceServer) UpdateUser(context.Context, *UpdateUserRequest) (*UpdateUserResponse, error)
func (UnimplementedUserManagementServiceServer) UpdateUserIdentityProviderId ¶
func (UnimplementedUserManagementServiceServer) UpdateUserIdentityProviderId(context.Context, *UpdateUserIdentityProviderIdRequest) (*UpdateUserIdentityProviderIdResponse, error)
type UnsafeCommandInspectionServiceServer ¶
type UnsafeCommandInspectionServiceServer interface {
// contains filtered or unexported methods
}
UnsafeCommandInspectionServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CommandInspectionServiceServer will result in compilation errors.
type UnsafeIdentityProviderConfigServiceServer ¶
type UnsafeIdentityProviderConfigServiceServer interface {
// contains filtered or unexported methods
}
UnsafeIdentityProviderConfigServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to IdentityProviderConfigServiceServer will result in compilation errors.
type UnsafePackageManagementServiceServer ¶
type UnsafePackageManagementServiceServer interface {
// contains filtered or unexported methods
}
UnsafePackageManagementServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to PackageManagementServiceServer will result in compilation errors.
type UnsafeParticipantPruningServiceServer ¶
type UnsafeParticipantPruningServiceServer interface {
// contains filtered or unexported methods
}
UnsafeParticipantPruningServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ParticipantPruningServiceServer will result in compilation errors.
type UnsafePartyManagementServiceServer ¶
type UnsafePartyManagementServiceServer interface {
// contains filtered or unexported methods
}
UnsafePartyManagementServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to PartyManagementServiceServer will result in compilation errors.
type UnsafeUserManagementServiceServer ¶
type UnsafeUserManagementServiceServer interface {
// contains filtered or unexported methods
}
UnsafeUserManagementServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to UserManagementServiceServer will result in compilation errors.
type UpdateIdentityProviderConfigRequest ¶
type UpdateIdentityProviderConfigRequest struct {
// The identity provider config to update.
// Required,
// Modifiable
IdentityProviderConfig *IdentityProviderConfig `` /* 129-byte string literal not displayed */
// An update mask specifies how and which properties of the “IdentityProviderConfig“ message are to be updated.
// An update mask consists of a set of update paths.
// A valid update path points to a field or a subfield relative to the “IdentityProviderConfig“ message.
// A valid update mask must:
//
// 1. contain at least one update path,
// 2. contain only valid update paths.
//
// Fields that can be updated are marked as “Modifiable“.
// For additional information see the documentation for standard protobuf3's “google.protobuf.FieldMask“.
// Required
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// contains filtered or unexported fields
}
func (*UpdateIdentityProviderConfigRequest) Descriptor
deprecated
func (*UpdateIdentityProviderConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateIdentityProviderConfigRequest.ProtoReflect.Descriptor instead.
func (*UpdateIdentityProviderConfigRequest) GetIdentityProviderConfig ¶
func (x *UpdateIdentityProviderConfigRequest) GetIdentityProviderConfig() *IdentityProviderConfig
func (*UpdateIdentityProviderConfigRequest) GetUpdateMask ¶
func (x *UpdateIdentityProviderConfigRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateIdentityProviderConfigRequest) ProtoMessage ¶
func (*UpdateIdentityProviderConfigRequest) ProtoMessage()
func (*UpdateIdentityProviderConfigRequest) ProtoReflect ¶
func (x *UpdateIdentityProviderConfigRequest) ProtoReflect() protoreflect.Message
func (*UpdateIdentityProviderConfigRequest) Reset ¶
func (x *UpdateIdentityProviderConfigRequest) Reset()
func (*UpdateIdentityProviderConfigRequest) String ¶
func (x *UpdateIdentityProviderConfigRequest) String() string
type UpdateIdentityProviderConfigResponse ¶
type UpdateIdentityProviderConfigResponse struct {
// Updated identity provider config
IdentityProviderConfig *IdentityProviderConfig `` /* 129-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*UpdateIdentityProviderConfigResponse) Descriptor
deprecated
func (*UpdateIdentityProviderConfigResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateIdentityProviderConfigResponse.ProtoReflect.Descriptor instead.
func (*UpdateIdentityProviderConfigResponse) GetIdentityProviderConfig ¶
func (x *UpdateIdentityProviderConfigResponse) GetIdentityProviderConfig() *IdentityProviderConfig
func (*UpdateIdentityProviderConfigResponse) ProtoMessage ¶
func (*UpdateIdentityProviderConfigResponse) ProtoMessage()
func (*UpdateIdentityProviderConfigResponse) ProtoReflect ¶
func (x *UpdateIdentityProviderConfigResponse) ProtoReflect() protoreflect.Message
func (*UpdateIdentityProviderConfigResponse) Reset ¶
func (x *UpdateIdentityProviderConfigResponse) Reset()
func (*UpdateIdentityProviderConfigResponse) String ¶
func (x *UpdateIdentityProviderConfigResponse) String() string
type UpdatePartyDetailsRequest ¶
type UpdatePartyDetailsRequest struct {
// Party to be updated
// Required,
// Modifiable
PartyDetails *PartyDetails `protobuf:"bytes,1,opt,name=party_details,json=partyDetails,proto3" json:"party_details,omitempty"`
// An update mask specifies how and which properties of the “PartyDetails“ message are to be updated.
// An update mask consists of a set of update paths.
// A valid update path points to a field or a subfield relative to the “PartyDetails“ message.
// A valid update mask must:
//
// 1. contain at least one update path,
// 2. contain only valid update paths.
//
// Fields that can be updated are marked as “Modifiable“.
// An update path can also point to non-“Modifiable“ fields such as 'party' and 'local_metadata.resource_version'
// because they are used:
//
// 1. to identify the party details resource subject to the update,
// 2. for concurrent change control.
//
// An update path can also point to non-“Modifiable“ fields such as 'is_local'
// as long as the values provided in the update request match the server values.
// Examples of update paths: 'local_metadata.annotations', 'local_metadata'.
// For additional information see the documentation for standard protobuf3's “google.protobuf.FieldMask“.
// For similar Ledger API see “com.daml.ledger.api.v2.admin.UpdateUserRequest“.
// Required
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// contains filtered or unexported fields
}
Required authorization: “HasRight(ParticipantAdmin) OR IsAuthenticatedIdentityProviderAdmin(party_details.identity_provider_id)“
func (*UpdatePartyDetailsRequest) Descriptor
deprecated
func (*UpdatePartyDetailsRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdatePartyDetailsRequest.ProtoReflect.Descriptor instead.
func (*UpdatePartyDetailsRequest) GetPartyDetails ¶
func (x *UpdatePartyDetailsRequest) GetPartyDetails() *PartyDetails
func (*UpdatePartyDetailsRequest) GetUpdateMask ¶
func (x *UpdatePartyDetailsRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdatePartyDetailsRequest) ProtoMessage ¶
func (*UpdatePartyDetailsRequest) ProtoMessage()
func (*UpdatePartyDetailsRequest) ProtoReflect ¶
func (x *UpdatePartyDetailsRequest) ProtoReflect() protoreflect.Message
func (*UpdatePartyDetailsRequest) Reset ¶
func (x *UpdatePartyDetailsRequest) Reset()
func (*UpdatePartyDetailsRequest) String ¶
func (x *UpdatePartyDetailsRequest) String() string
type UpdatePartyDetailsResponse ¶
type UpdatePartyDetailsResponse struct {
// Updated party details
PartyDetails *PartyDetails `protobuf:"bytes,1,opt,name=party_details,json=partyDetails,proto3" json:"party_details,omitempty"`
// contains filtered or unexported fields
}
func (*UpdatePartyDetailsResponse) Descriptor
deprecated
func (*UpdatePartyDetailsResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdatePartyDetailsResponse.ProtoReflect.Descriptor instead.
func (*UpdatePartyDetailsResponse) GetPartyDetails ¶
func (x *UpdatePartyDetailsResponse) GetPartyDetails() *PartyDetails
func (*UpdatePartyDetailsResponse) ProtoMessage ¶
func (*UpdatePartyDetailsResponse) ProtoMessage()
func (*UpdatePartyDetailsResponse) ProtoReflect ¶
func (x *UpdatePartyDetailsResponse) ProtoReflect() protoreflect.Message
func (*UpdatePartyDetailsResponse) Reset ¶
func (x *UpdatePartyDetailsResponse) Reset()
func (*UpdatePartyDetailsResponse) String ¶
func (x *UpdatePartyDetailsResponse) String() string
type UpdatePartyIdentityProviderIdRequest ¶
type UpdatePartyIdentityProviderIdRequest struct {
// Party to update
Party string `protobuf:"bytes,1,opt,name=party,proto3" json:"party,omitempty"`
// Current identity provider id of the party
SourceIdentityProviderId string `` /* 137-byte string literal not displayed */
// Target identity provider id of the party
TargetIdentityProviderId string `` /* 137-byte string literal not displayed */
// contains filtered or unexported fields
}
Required authorization: “HasRight(ParticipantAdmin)“
func (*UpdatePartyIdentityProviderIdRequest) Descriptor
deprecated
func (*UpdatePartyIdentityProviderIdRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdatePartyIdentityProviderIdRequest.ProtoReflect.Descriptor instead.
func (*UpdatePartyIdentityProviderIdRequest) GetParty ¶
func (x *UpdatePartyIdentityProviderIdRequest) GetParty() string
func (*UpdatePartyIdentityProviderIdRequest) GetSourceIdentityProviderId ¶
func (x *UpdatePartyIdentityProviderIdRequest) GetSourceIdentityProviderId() string
func (*UpdatePartyIdentityProviderIdRequest) GetTargetIdentityProviderId ¶
func (x *UpdatePartyIdentityProviderIdRequest) GetTargetIdentityProviderId() string
func (*UpdatePartyIdentityProviderIdRequest) ProtoMessage ¶
func (*UpdatePartyIdentityProviderIdRequest) ProtoMessage()
func (*UpdatePartyIdentityProviderIdRequest) ProtoReflect ¶
func (x *UpdatePartyIdentityProviderIdRequest) ProtoReflect() protoreflect.Message
func (*UpdatePartyIdentityProviderIdRequest) Reset ¶
func (x *UpdatePartyIdentityProviderIdRequest) Reset()
func (*UpdatePartyIdentityProviderIdRequest) String ¶
func (x *UpdatePartyIdentityProviderIdRequest) String() string
type UpdatePartyIdentityProviderIdResponse ¶
type UpdatePartyIdentityProviderIdResponse struct {
// contains filtered or unexported fields
}
func (*UpdatePartyIdentityProviderIdResponse) Descriptor
deprecated
func (*UpdatePartyIdentityProviderIdResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdatePartyIdentityProviderIdResponse.ProtoReflect.Descriptor instead.
func (*UpdatePartyIdentityProviderIdResponse) ProtoMessage ¶
func (*UpdatePartyIdentityProviderIdResponse) ProtoMessage()
func (*UpdatePartyIdentityProviderIdResponse) ProtoReflect ¶
func (x *UpdatePartyIdentityProviderIdResponse) ProtoReflect() protoreflect.Message
func (*UpdatePartyIdentityProviderIdResponse) Reset ¶
func (x *UpdatePartyIdentityProviderIdResponse) Reset()
func (*UpdatePartyIdentityProviderIdResponse) String ¶
func (x *UpdatePartyIdentityProviderIdResponse) String() string
type UpdateUserIdentityProviderIdRequest ¶
type UpdateUserIdentityProviderIdRequest struct {
// User to update
UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
// Current identity provider ID of the user
SourceIdentityProviderId string `` /* 137-byte string literal not displayed */
// Target identity provider ID of the user
TargetIdentityProviderId string `` /* 137-byte string literal not displayed */
// contains filtered or unexported fields
}
Required authorization: “HasRight(ParticipantAdmin)“
func (*UpdateUserIdentityProviderIdRequest) Descriptor
deprecated
func (*UpdateUserIdentityProviderIdRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateUserIdentityProviderIdRequest.ProtoReflect.Descriptor instead.
func (*UpdateUserIdentityProviderIdRequest) GetSourceIdentityProviderId ¶
func (x *UpdateUserIdentityProviderIdRequest) GetSourceIdentityProviderId() string
func (*UpdateUserIdentityProviderIdRequest) GetTargetIdentityProviderId ¶
func (x *UpdateUserIdentityProviderIdRequest) GetTargetIdentityProviderId() string
func (*UpdateUserIdentityProviderIdRequest) GetUserId ¶
func (x *UpdateUserIdentityProviderIdRequest) GetUserId() string
func (*UpdateUserIdentityProviderIdRequest) ProtoMessage ¶
func (*UpdateUserIdentityProviderIdRequest) ProtoMessage()
func (*UpdateUserIdentityProviderIdRequest) ProtoReflect ¶
func (x *UpdateUserIdentityProviderIdRequest) ProtoReflect() protoreflect.Message
func (*UpdateUserIdentityProviderIdRequest) Reset ¶
func (x *UpdateUserIdentityProviderIdRequest) Reset()
func (*UpdateUserIdentityProviderIdRequest) String ¶
func (x *UpdateUserIdentityProviderIdRequest) String() string
type UpdateUserIdentityProviderIdResponse ¶
type UpdateUserIdentityProviderIdResponse struct {
// contains filtered or unexported fields
}
func (*UpdateUserIdentityProviderIdResponse) Descriptor
deprecated
func (*UpdateUserIdentityProviderIdResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateUserIdentityProviderIdResponse.ProtoReflect.Descriptor instead.
func (*UpdateUserIdentityProviderIdResponse) ProtoMessage ¶
func (*UpdateUserIdentityProviderIdResponse) ProtoMessage()
func (*UpdateUserIdentityProviderIdResponse) ProtoReflect ¶
func (x *UpdateUserIdentityProviderIdResponse) ProtoReflect() protoreflect.Message
func (*UpdateUserIdentityProviderIdResponse) Reset ¶
func (x *UpdateUserIdentityProviderIdResponse) Reset()
func (*UpdateUserIdentityProviderIdResponse) String ¶
func (x *UpdateUserIdentityProviderIdResponse) String() string
type UpdateUserRequest ¶
type UpdateUserRequest struct {
// The user to update.
// Required,
// Modifiable
User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
// An update mask specifies how and which properties of the “User“ message are to be updated.
// An update mask consists of a set of update paths.
// A valid update path points to a field or a subfield relative to the “User“ message.
// A valid update mask must:
//
// 1. contain at least one update path,
// 2. contain only valid update paths.
//
// Fields that can be updated are marked as “Modifiable“.
// An update path can also point to a non-“Modifiable“ fields such as 'id' and 'metadata.resource_version'
// because they are used:
//
// 1. to identify the user resource subject to the update,
// 2. for concurrent change control.
//
// Examples of valid update paths: 'primary_party', 'metadata', 'metadata.annotations'.
// For additional information see the documentation for standard protobuf3's “google.protobuf.FieldMask“.
// For similar Ledger API see “com.daml.ledger.api.v2.admin.UpdatePartyDetailsRequest“.
// Required
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// contains filtered or unexported fields
}
Required authorization: “HasRight(ParticipantAdmin) OR IsAuthenticatedIdentityProviderAdmin(user.identity_provider_id)“
func (*UpdateUserRequest) Descriptor
deprecated
func (*UpdateUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateUserRequest.ProtoReflect.Descriptor instead.
func (*UpdateUserRequest) GetUpdateMask ¶
func (x *UpdateUserRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateUserRequest) GetUser ¶
func (x *UpdateUserRequest) GetUser() *User
func (*UpdateUserRequest) ProtoMessage ¶
func (*UpdateUserRequest) ProtoMessage()
func (*UpdateUserRequest) ProtoReflect ¶
func (x *UpdateUserRequest) ProtoReflect() protoreflect.Message
func (*UpdateUserRequest) Reset ¶
func (x *UpdateUserRequest) Reset()
func (*UpdateUserRequest) String ¶
func (x *UpdateUserRequest) String() string
type UpdateUserResponse ¶
type UpdateUserResponse struct {
// Updated user
User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
// contains filtered or unexported fields
}
func (*UpdateUserResponse) Descriptor
deprecated
func (*UpdateUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateUserResponse.ProtoReflect.Descriptor instead.
func (*UpdateUserResponse) GetUser ¶
func (x *UpdateUserResponse) GetUser() *User
func (*UpdateUserResponse) ProtoMessage ¶
func (*UpdateUserResponse) ProtoMessage()
func (*UpdateUserResponse) ProtoReflect ¶
func (x *UpdateUserResponse) ProtoReflect() protoreflect.Message
func (*UpdateUserResponse) Reset ¶
func (x *UpdateUserResponse) Reset()
func (*UpdateUserResponse) String ¶
func (x *UpdateUserResponse) String() string
type UpdateVettedPackagesForceFlag ¶
type UpdateVettedPackagesForceFlag int32
const ( // Force flag left unspecified, defaults to no force flag used in the backend. UpdateVettedPackagesForceFlag_UPDATE_VETTED_PACKAGES_FORCE_FLAG_UNSPECIFIED UpdateVettedPackagesForceFlag = 0 // * Allow vetting a package that is upgrade-incompatible with other vetted packages UpdateVettedPackagesForceFlag_UPDATE_VETTED_PACKAGES_FORCE_FLAG_ALLOW_VET_INCOMPATIBLE_UPGRADES UpdateVettedPackagesForceFlag = 2 // * Allow vetting a package without vetting one or more of its dependencies UpdateVettedPackagesForceFlag_UPDATE_VETTED_PACKAGES_FORCE_FLAG_ALLOW_UNVETTED_DEPENDENCIES UpdateVettedPackagesForceFlag = 3 )
func (UpdateVettedPackagesForceFlag) Descriptor ¶
func (UpdateVettedPackagesForceFlag) Descriptor() protoreflect.EnumDescriptor
func (UpdateVettedPackagesForceFlag) Enum ¶
func (x UpdateVettedPackagesForceFlag) Enum() *UpdateVettedPackagesForceFlag
func (UpdateVettedPackagesForceFlag) EnumDescriptor
deprecated
func (UpdateVettedPackagesForceFlag) EnumDescriptor() ([]byte, []int)
Deprecated: Use UpdateVettedPackagesForceFlag.Descriptor instead.
func (UpdateVettedPackagesForceFlag) Number ¶
func (x UpdateVettedPackagesForceFlag) Number() protoreflect.EnumNumber
func (UpdateVettedPackagesForceFlag) String ¶
func (x UpdateVettedPackagesForceFlag) String() string
func (UpdateVettedPackagesForceFlag) Type ¶
func (UpdateVettedPackagesForceFlag) Type() protoreflect.EnumType
type UpdateVettedPackagesRequest ¶
type UpdateVettedPackagesRequest struct {
// Changes to apply to the current vetting state of the participant on the
// specified synchronizer. The changes are applied in order.
// Any package not changed will keep their previous vetting state.
Changes []*VettedPackagesChange `protobuf:"bytes,1,rep,name=changes,proto3" json:"changes,omitempty"`
// If dry_run is true, then the changes are only prepared, but not applied. If
// a request would trigger an error when run (e.g. TOPOLOGY_DEPENDENCIES_NOT_VETTED),
// it will also trigger an error when dry_run.
//
// Use this flag to preview a change before applying it.
DryRun bool `protobuf:"varint,2,opt,name=dry_run,json=dryRun,proto3" json:"dry_run,omitempty"`
// If set, the requested changes will take place on the specified
// synchronizer. If synchronizer_id is unset and the participant is only
// connected to a single synchronizer, that synchronizer will be used by
// default. If synchronizer_id is unset and the participant is connected to
// multiple synchronizers, the request will error out with
// PACKAGE_SERVICE_CANNOT_AUTODETECT_SYNCHRONIZER.
//
// Optional
SynchronizerId string `protobuf:"bytes,3,opt,name=synchronizer_id,json=synchronizerId,proto3" json:"synchronizer_id,omitempty"`
// The serial of the last “VettedPackages“ topology transaction of this
// participant and on this synchronizer.
//
// Execution of the request fails if this is not correct. Use this to guard
// against concurrent changes.
//
// If left unspecified, no validation is done against the last transaction's
// serial.
//
// Optional
ExpectedTopologySerial *v2.PriorTopologySerial `` /* 129-byte string literal not displayed */
// Controls whether potentially unsafe vetting updates are allowed.
//
// Optional, defaults to FORCE_FLAG_UNSPECIFIED.
UpdateVettedPackagesForceFlags []UpdateVettedPackagesForceFlag `` /* 229-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*UpdateVettedPackagesRequest) Descriptor
deprecated
func (*UpdateVettedPackagesRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateVettedPackagesRequest.ProtoReflect.Descriptor instead.
func (*UpdateVettedPackagesRequest) GetChanges ¶
func (x *UpdateVettedPackagesRequest) GetChanges() []*VettedPackagesChange
func (*UpdateVettedPackagesRequest) GetDryRun ¶
func (x *UpdateVettedPackagesRequest) GetDryRun() bool
func (*UpdateVettedPackagesRequest) GetExpectedTopologySerial ¶
func (x *UpdateVettedPackagesRequest) GetExpectedTopologySerial() *v2.PriorTopologySerial
func (*UpdateVettedPackagesRequest) GetSynchronizerId ¶
func (x *UpdateVettedPackagesRequest) GetSynchronizerId() string
func (*UpdateVettedPackagesRequest) GetUpdateVettedPackagesForceFlags ¶
func (x *UpdateVettedPackagesRequest) GetUpdateVettedPackagesForceFlags() []UpdateVettedPackagesForceFlag
func (*UpdateVettedPackagesRequest) ProtoMessage ¶
func (*UpdateVettedPackagesRequest) ProtoMessage()
func (*UpdateVettedPackagesRequest) ProtoReflect ¶
func (x *UpdateVettedPackagesRequest) ProtoReflect() protoreflect.Message
func (*UpdateVettedPackagesRequest) Reset ¶
func (x *UpdateVettedPackagesRequest) Reset()
func (*UpdateVettedPackagesRequest) String ¶
func (x *UpdateVettedPackagesRequest) String() string
type UpdateVettedPackagesResponse ¶
type UpdateVettedPackagesResponse struct {
// All vetted packages on this participant and synchronizer, before the
// specified changes. Empty if no vetting state existed beforehand.
PastVettedPackages *v2.VettedPackages `protobuf:"bytes,1,opt,name=past_vetted_packages,json=pastVettedPackages,proto3" json:"past_vetted_packages,omitempty"`
// All vetted packages on this participant and synchronizer, after the specified changes.
NewVettedPackages *v2.VettedPackages `protobuf:"bytes,2,opt,name=new_vetted_packages,json=newVettedPackages,proto3" json:"new_vetted_packages,omitempty"`
// contains filtered or unexported fields
}
func (*UpdateVettedPackagesResponse) Descriptor
deprecated
func (*UpdateVettedPackagesResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateVettedPackagesResponse.ProtoReflect.Descriptor instead.
func (*UpdateVettedPackagesResponse) GetNewVettedPackages ¶
func (x *UpdateVettedPackagesResponse) GetNewVettedPackages() *v2.VettedPackages
func (*UpdateVettedPackagesResponse) GetPastVettedPackages ¶
func (x *UpdateVettedPackagesResponse) GetPastVettedPackages() *v2.VettedPackages
func (*UpdateVettedPackagesResponse) ProtoMessage ¶
func (*UpdateVettedPackagesResponse) ProtoMessage()
func (*UpdateVettedPackagesResponse) ProtoReflect ¶
func (x *UpdateVettedPackagesResponse) ProtoReflect() protoreflect.Message
func (*UpdateVettedPackagesResponse) Reset ¶
func (x *UpdateVettedPackagesResponse) Reset()
func (*UpdateVettedPackagesResponse) String ¶
func (x *UpdateVettedPackagesResponse) String() string
type UploadDarFileRequest ¶
type UploadDarFileRequest struct {
// Contains a Daml archive DAR file, which in turn is a jar like zipped
// container for “daml_lf“ archives. See further details in
// “daml_lf.proto“.
// Required
DarFile []byte `protobuf:"bytes,1,opt,name=dar_file,json=darFile,proto3" json:"dar_file,omitempty"`
// Unique submission identifier.
// Optional, defaults to a random identifier.
SubmissionId string `protobuf:"bytes,2,opt,name=submission_id,json=submissionId,proto3" json:"submission_id,omitempty"`
// How to vet packages in the DAR being uploaded
VettingChange UploadDarFileRequest_VettingChange `` /* 170-byte string literal not displayed */
// Only used if VettingChange is set to VETTING_CHANGE_VET_ALL_PACKAGES, in
// order to specify which synchronizer to vet on.
//
// If synchronizer_id is set, the synchronizer with this ID will be used. If
// synchronizer_id is unset and the participant is only connected to a single
// synchronizer, that synchronizer will be used by default. If synchronizer_id
// is unset and the participant is connected to multiple synchronizers, the
// request will error out with PACKAGE_SERVICE_CANNOT_AUTODETECT_SYNCHRONIZER.
//
// Optional
SynchronizerId string `protobuf:"bytes,4,opt,name=synchronizer_id,json=synchronizerId,proto3" json:"synchronizer_id,omitempty"`
// contains filtered or unexported fields
}
func (*UploadDarFileRequest) Descriptor
deprecated
func (*UploadDarFileRequest) Descriptor() ([]byte, []int)
Deprecated: Use UploadDarFileRequest.ProtoReflect.Descriptor instead.
func (*UploadDarFileRequest) GetDarFile ¶
func (x *UploadDarFileRequest) GetDarFile() []byte
func (*UploadDarFileRequest) GetSubmissionId ¶
func (x *UploadDarFileRequest) GetSubmissionId() string
func (*UploadDarFileRequest) GetSynchronizerId ¶
func (x *UploadDarFileRequest) GetSynchronizerId() string
func (*UploadDarFileRequest) GetVettingChange ¶
func (x *UploadDarFileRequest) GetVettingChange() UploadDarFileRequest_VettingChange
func (*UploadDarFileRequest) ProtoMessage ¶
func (*UploadDarFileRequest) ProtoMessage()
func (*UploadDarFileRequest) ProtoReflect ¶
func (x *UploadDarFileRequest) ProtoReflect() protoreflect.Message
func (*UploadDarFileRequest) Reset ¶
func (x *UploadDarFileRequest) Reset()
func (*UploadDarFileRequest) String ¶
func (x *UploadDarFileRequest) String() string
type UploadDarFileRequest_VettingChange ¶
type UploadDarFileRequest_VettingChange int32
const ( // Vetting change field left unspecified, defaults to vetting all the // packages in the DAR. UploadDarFileRequest_VETTING_CHANGE_UNSPECIFIED UploadDarFileRequest_VettingChange = 0 // Vet all the packages in the DAR. UploadDarFileRequest_VETTING_CHANGE_VET_ALL_PACKAGES UploadDarFileRequest_VettingChange = 1 // Do not vet any packages in the DAR. UploadDarFileRequest_VETTING_CHANGE_DONT_VET_ANY_PACKAGES UploadDarFileRequest_VettingChange = 2 )
func (UploadDarFileRequest_VettingChange) Descriptor ¶
func (UploadDarFileRequest_VettingChange) Descriptor() protoreflect.EnumDescriptor
func (UploadDarFileRequest_VettingChange) Enum ¶
func (x UploadDarFileRequest_VettingChange) Enum() *UploadDarFileRequest_VettingChange
func (UploadDarFileRequest_VettingChange) EnumDescriptor
deprecated
func (UploadDarFileRequest_VettingChange) EnumDescriptor() ([]byte, []int)
Deprecated: Use UploadDarFileRequest_VettingChange.Descriptor instead.
func (UploadDarFileRequest_VettingChange) Number ¶
func (x UploadDarFileRequest_VettingChange) Number() protoreflect.EnumNumber
func (UploadDarFileRequest_VettingChange) String ¶
func (x UploadDarFileRequest_VettingChange) String() string
func (UploadDarFileRequest_VettingChange) Type ¶
func (UploadDarFileRequest_VettingChange) Type() protoreflect.EnumType
type UploadDarFileResponse ¶
type UploadDarFileResponse struct {
// contains filtered or unexported fields
}
A message that is received when the upload operation succeeded.
func (*UploadDarFileResponse) Descriptor
deprecated
func (*UploadDarFileResponse) Descriptor() ([]byte, []int)
Deprecated: Use UploadDarFileResponse.ProtoReflect.Descriptor instead.
func (*UploadDarFileResponse) ProtoMessage ¶
func (*UploadDarFileResponse) ProtoMessage()
func (*UploadDarFileResponse) ProtoReflect ¶
func (x *UploadDarFileResponse) ProtoReflect() protoreflect.Message
func (*UploadDarFileResponse) Reset ¶
func (x *UploadDarFileResponse) Reset()
func (*UploadDarFileResponse) String ¶
func (x *UploadDarFileResponse) String() string
type User ¶
type User struct {
// The user identifier, which must be a non-empty string of at most 128
// characters that are either alphanumeric ASCII characters or one of the symbols "@^$.!`-#+'~_|:".
// Required
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// The primary party as which this user reads and acts by default on the ledger
// *provided* it has the corresponding “CanReadAs(primary_party)“ or
// “CanActAs(primary_party)“ rights.
// Ledger API clients SHOULD set this field to a non-empty value for all users to
// enable the users to act on the ledger using their own Daml party.
// Users for participant administrators MAY have an associated primary party.
// Optional,
// Modifiable
PrimaryParty string `protobuf:"bytes,2,opt,name=primary_party,json=primaryParty,proto3" json:"primary_party,omitempty"`
// When set, then the user is denied all access to the Ledger API.
// Otherwise, the user has access to the Ledger API as per the user's rights.
// Optional,
// Modifiable
IsDeactivated bool `protobuf:"varint,3,opt,name=is_deactivated,json=isDeactivated,proto3" json:"is_deactivated,omitempty"`
// The metadata of this user.
// Note that the “metadata.resource_version“ tracks changes to the properties described by the “User“ message and not the user's rights.
// Optional,
// Modifiable
Metadata *ObjectMeta `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata,omitempty"`
// The ID of the identity provider configured by “Identity Provider Config“
// Optional, if not set, assume the user is managed by the default identity provider.
IdentityProviderId string `protobuf:"bytes,5,opt,name=identity_provider_id,json=identityProviderId,proto3" json:"identity_provider_id,omitempty"`
// contains filtered or unexported fields
}
Users are used to dynamically manage the rights given to Daml applications. They are stored and managed per participant node.
func (*User) Descriptor
deprecated
func (*User) GetIdentityProviderId ¶
func (*User) GetIsDeactivated ¶
func (*User) GetMetadata ¶
func (x *User) GetMetadata() *ObjectMeta
func (*User) GetPrimaryParty ¶
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) ProtoReflect ¶
func (x *User) ProtoReflect() protoreflect.Message
type UserManagementServiceClient ¶
type UserManagementServiceClient interface {
// Create a new user.
CreateUser(ctx context.Context, in *CreateUserRequest, opts ...grpc.CallOption) (*CreateUserResponse, error)
// Get the user data of a specific user or the authenticated user.
GetUser(ctx context.Context, in *GetUserRequest, opts ...grpc.CallOption) (*GetUserResponse, error)
// Update selected modifiable attribute of a user resource described by the “User“ message.
UpdateUser(ctx context.Context, in *UpdateUserRequest, opts ...grpc.CallOption) (*UpdateUserResponse, error)
// Delete an existing user and all its rights.
DeleteUser(ctx context.Context, in *DeleteUserRequest, opts ...grpc.CallOption) (*DeleteUserResponse, error)
// List all existing users.
ListUsers(ctx context.Context, in *ListUsersRequest, opts ...grpc.CallOption) (*ListUsersResponse, error)
// Grant rights to a user.
// Granting rights does not affect the resource version of the corresponding user.
GrantUserRights(ctx context.Context, in *GrantUserRightsRequest, opts ...grpc.CallOption) (*GrantUserRightsResponse, error)
// Revoke rights from a user.
// Revoking rights does not affect the resource version of the corresponding user.
RevokeUserRights(ctx context.Context, in *RevokeUserRightsRequest, opts ...grpc.CallOption) (*RevokeUserRightsResponse, error)
// List the set of all rights granted to a user.
ListUserRights(ctx context.Context, in *ListUserRightsRequest, opts ...grpc.CallOption) (*ListUserRightsResponse, error)
// Update the assignment of a user from one IDP to another.
UpdateUserIdentityProviderId(ctx context.Context, in *UpdateUserIdentityProviderIdRequest, opts ...grpc.CallOption) (*UpdateUserIdentityProviderIdResponse, error)
}
UserManagementServiceClient is the client API for UserManagementService 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.
Service to manage users and their rights for interacting with the Ledger API served by a participant node.
The authorization rules for its RPCs are specified on the “<RpcName>Request“ messages as boolean expressions over these facts:
- “HasRight(r)“ denoting whether the authenticated user has right “r“ and
- “IsAuthenticatedUser(uid)“ denoting whether “uid“ is the empty string or equal to the id of the authenticated user.
- “IsAuthenticatedIdentityProviderAdmin(idp)“ denoting whether “idp“ is equal to the “identity_provider_id“ of the authenticated user and the user has an IdentityProviderAdmin right.
If `user_id` is set to the empty string (the default), then the data for the authenticated user will be retrieved. If `identity_provider_id` is set to an empty string, then it's effectively set to the value of access token's 'iss' field if that is provided. If `identity_provider_id` remains an empty string, the default identity provider will be assumed.
The fields of request messages (and sub-messages) are marked either as “Optional“ or “Required“:
1. “Optional“ denoting the client may leave the field unset when sending a request. 2. “Required“ denoting the client must set the field to a non-default value when sending a request.
A user resource consists of:
1. a set of properties represented by the “User“ message, 2. a set of user rights, where each right is represented by the “Right“ message.
A user resource, once it has been created, can be modified. In order to update the properties represented by the “User“ message use the “UpdateUser“ RPC. The only fields that can be modified are those marked as “Modifiable“. In order to grant or revoke user rights use “GrantRights' and “RevokeRights“ RPCs.
func NewUserManagementServiceClient ¶
func NewUserManagementServiceClient(cc grpc.ClientConnInterface) UserManagementServiceClient
type UserManagementServiceServer ¶
type UserManagementServiceServer interface {
// Create a new user.
CreateUser(context.Context, *CreateUserRequest) (*CreateUserResponse, error)
// Get the user data of a specific user or the authenticated user.
GetUser(context.Context, *GetUserRequest) (*GetUserResponse, error)
// Update selected modifiable attribute of a user resource described by the “User“ message.
UpdateUser(context.Context, *UpdateUserRequest) (*UpdateUserResponse, error)
// Delete an existing user and all its rights.
DeleteUser(context.Context, *DeleteUserRequest) (*DeleteUserResponse, error)
// List all existing users.
ListUsers(context.Context, *ListUsersRequest) (*ListUsersResponse, error)
// Grant rights to a user.
// Granting rights does not affect the resource version of the corresponding user.
GrantUserRights(context.Context, *GrantUserRightsRequest) (*GrantUserRightsResponse, error)
// Revoke rights from a user.
// Revoking rights does not affect the resource version of the corresponding user.
RevokeUserRights(context.Context, *RevokeUserRightsRequest) (*RevokeUserRightsResponse, error)
// List the set of all rights granted to a user.
ListUserRights(context.Context, *ListUserRightsRequest) (*ListUserRightsResponse, error)
// Update the assignment of a user from one IDP to another.
UpdateUserIdentityProviderId(context.Context, *UpdateUserIdentityProviderIdRequest) (*UpdateUserIdentityProviderIdResponse, error)
// contains filtered or unexported methods
}
UserManagementServiceServer is the server API for UserManagementService service. All implementations must embed UnimplementedUserManagementServiceServer for forward compatibility.
Service to manage users and their rights for interacting with the Ledger API served by a participant node.
The authorization rules for its RPCs are specified on the “<RpcName>Request“ messages as boolean expressions over these facts:
- “HasRight(r)“ denoting whether the authenticated user has right “r“ and
- “IsAuthenticatedUser(uid)“ denoting whether “uid“ is the empty string or equal to the id of the authenticated user.
- “IsAuthenticatedIdentityProviderAdmin(idp)“ denoting whether “idp“ is equal to the “identity_provider_id“ of the authenticated user and the user has an IdentityProviderAdmin right.
If `user_id` is set to the empty string (the default), then the data for the authenticated user will be retrieved. If `identity_provider_id` is set to an empty string, then it's effectively set to the value of access token's 'iss' field if that is provided. If `identity_provider_id` remains an empty string, the default identity provider will be assumed.
The fields of request messages (and sub-messages) are marked either as “Optional“ or “Required“:
1. “Optional“ denoting the client may leave the field unset when sending a request. 2. “Required“ denoting the client must set the field to a non-default value when sending a request.
A user resource consists of:
1. a set of properties represented by the “User“ message, 2. a set of user rights, where each right is represented by the “Right“ message.
A user resource, once it has been created, can be modified. In order to update the properties represented by the “User“ message use the “UpdateUser“ RPC. The only fields that can be modified are those marked as “Modifiable“. In order to grant or revoke user rights use “GrantRights' and “RevokeRights“ RPCs.
type ValidateDarFileRequest ¶
type ValidateDarFileRequest struct {
// Contains a Daml archive DAR file, which in turn is a jar like zipped
// container for “daml_lf“ archives. See further details in
// “daml_lf.proto“.
// Required
DarFile []byte `protobuf:"bytes,1,opt,name=dar_file,json=darFile,proto3" json:"dar_file,omitempty"`
// Unique submission identifier.
// Optional, defaults to a random identifier.
SubmissionId string `protobuf:"bytes,2,opt,name=submission_id,json=submissionId,proto3" json:"submission_id,omitempty"`
// If synchronizer_id is set, the synchronizer with this ID will be used. If
// synchronizer_id is unset and the participant is only connected to a single
// synchronizer, that synchronizer will be used by default. If synchronizer_id
// is unset and the participant is connected to multiple synchronizers, the
// request will error out with PACKAGE_SERVICE_CANNOT_AUTODETECT_SYNCHRONIZER.
//
// Optional
SynchronizerId string `protobuf:"bytes,4,opt,name=synchronizer_id,json=synchronizerId,proto3" json:"synchronizer_id,omitempty"`
// contains filtered or unexported fields
}
Performs the same checks that UploadDarFileRequest would perform, but doesn't upload the DAR.
func (*ValidateDarFileRequest) Descriptor
deprecated
func (*ValidateDarFileRequest) Descriptor() ([]byte, []int)
Deprecated: Use ValidateDarFileRequest.ProtoReflect.Descriptor instead.
func (*ValidateDarFileRequest) GetDarFile ¶
func (x *ValidateDarFileRequest) GetDarFile() []byte
func (*ValidateDarFileRequest) GetSubmissionId ¶
func (x *ValidateDarFileRequest) GetSubmissionId() string
func (*ValidateDarFileRequest) GetSynchronizerId ¶
func (x *ValidateDarFileRequest) GetSynchronizerId() string
func (*ValidateDarFileRequest) ProtoMessage ¶
func (*ValidateDarFileRequest) ProtoMessage()
func (*ValidateDarFileRequest) ProtoReflect ¶
func (x *ValidateDarFileRequest) ProtoReflect() protoreflect.Message
func (*ValidateDarFileRequest) Reset ¶
func (x *ValidateDarFileRequest) Reset()
func (*ValidateDarFileRequest) String ¶
func (x *ValidateDarFileRequest) String() string
type ValidateDarFileResponse ¶
type ValidateDarFileResponse struct {
// contains filtered or unexported fields
}
func (*ValidateDarFileResponse) Descriptor
deprecated
func (*ValidateDarFileResponse) Descriptor() ([]byte, []int)
Deprecated: Use ValidateDarFileResponse.ProtoReflect.Descriptor instead.
func (*ValidateDarFileResponse) ProtoMessage ¶
func (*ValidateDarFileResponse) ProtoMessage()
func (*ValidateDarFileResponse) ProtoReflect ¶
func (x *ValidateDarFileResponse) ProtoReflect() protoreflect.Message
func (*ValidateDarFileResponse) Reset ¶
func (x *ValidateDarFileResponse) Reset()
func (*ValidateDarFileResponse) String ¶
func (x *ValidateDarFileResponse) String() string
type VettedPackagesChange ¶
type VettedPackagesChange struct {
// Types that are valid to be assigned to Operation:
//
// *VettedPackagesChange_Vet_
// *VettedPackagesChange_Unvet_
Operation isVettedPackagesChange_Operation `protobuf_oneof:"operation"`
// contains filtered or unexported fields
}
A change to the set of vetted packages.
func (*VettedPackagesChange) Descriptor
deprecated
func (*VettedPackagesChange) Descriptor() ([]byte, []int)
Deprecated: Use VettedPackagesChange.ProtoReflect.Descriptor instead.
func (*VettedPackagesChange) GetOperation ¶
func (x *VettedPackagesChange) GetOperation() isVettedPackagesChange_Operation
func (*VettedPackagesChange) GetUnvet ¶
func (x *VettedPackagesChange) GetUnvet() *VettedPackagesChange_Unvet
func (*VettedPackagesChange) GetVet ¶
func (x *VettedPackagesChange) GetVet() *VettedPackagesChange_Vet
func (*VettedPackagesChange) ProtoMessage ¶
func (*VettedPackagesChange) ProtoMessage()
func (*VettedPackagesChange) ProtoReflect ¶
func (x *VettedPackagesChange) ProtoReflect() protoreflect.Message
func (*VettedPackagesChange) Reset ¶
func (x *VettedPackagesChange) Reset()
func (*VettedPackagesChange) String ¶
func (x *VettedPackagesChange) String() string
type VettedPackagesChange_Unvet ¶
type VettedPackagesChange_Unvet struct {
// Packages to be unvetted.
//
// If a reference in this list matches multiple packages, they are all
// unvetted.
Packages []*VettedPackagesRef `protobuf:"bytes,1,rep,name=packages,proto3" json:"packages,omitempty"`
// contains filtered or unexported fields
}
Remove packages from the set of vetted packages
func (*VettedPackagesChange_Unvet) Descriptor
deprecated
func (*VettedPackagesChange_Unvet) Descriptor() ([]byte, []int)
Deprecated: Use VettedPackagesChange_Unvet.ProtoReflect.Descriptor instead.
func (*VettedPackagesChange_Unvet) GetPackages ¶
func (x *VettedPackagesChange_Unvet) GetPackages() []*VettedPackagesRef
func (*VettedPackagesChange_Unvet) ProtoMessage ¶
func (*VettedPackagesChange_Unvet) ProtoMessage()
func (*VettedPackagesChange_Unvet) ProtoReflect ¶
func (x *VettedPackagesChange_Unvet) ProtoReflect() protoreflect.Message
func (*VettedPackagesChange_Unvet) Reset ¶
func (x *VettedPackagesChange_Unvet) Reset()
func (*VettedPackagesChange_Unvet) String ¶
func (x *VettedPackagesChange_Unvet) String() string
type VettedPackagesChange_Unvet_ ¶
type VettedPackagesChange_Unvet_ struct {
// Remove packages from the set of vetted packages.
Unvet *VettedPackagesChange_Unvet `protobuf:"bytes,2,opt,name=unvet,proto3,oneof"`
}
type VettedPackagesChange_Vet ¶
type VettedPackagesChange_Vet struct {
// Packages to be vetted.
//
// If a reference in this list matches more than one package, the change is
// considered ambiguous and the entire update request is rejected. In other
// words, every reference must match exactly one package.
Packages []*VettedPackagesRef `protobuf:"bytes,1,rep,name=packages,proto3" json:"packages,omitempty"`
// The time from which these packages should be vetted, prior lower bounds
// are overwritten.
// Optional
NewValidFromInclusive *timestamppb.Timestamp `` /* 128-byte string literal not displayed */
// The time until which these packages should be vetted, prior upper bounds
// are overwritten.
// Optional
NewValidUntilExclusive *timestamppb.Timestamp `` /* 131-byte string literal not displayed */
// contains filtered or unexported fields
}
Set vetting bounds of a list of packages. Packages that were not previously vetted have their bounds added, previous vetting bounds are overwritten.
func (*VettedPackagesChange_Vet) Descriptor
deprecated
func (*VettedPackagesChange_Vet) Descriptor() ([]byte, []int)
Deprecated: Use VettedPackagesChange_Vet.ProtoReflect.Descriptor instead.
func (*VettedPackagesChange_Vet) GetNewValidFromInclusive ¶
func (x *VettedPackagesChange_Vet) GetNewValidFromInclusive() *timestamppb.Timestamp
func (*VettedPackagesChange_Vet) GetNewValidUntilExclusive ¶
func (x *VettedPackagesChange_Vet) GetNewValidUntilExclusive() *timestamppb.Timestamp
func (*VettedPackagesChange_Vet) GetPackages ¶
func (x *VettedPackagesChange_Vet) GetPackages() []*VettedPackagesRef
func (*VettedPackagesChange_Vet) ProtoMessage ¶
func (*VettedPackagesChange_Vet) ProtoMessage()
func (*VettedPackagesChange_Vet) ProtoReflect ¶
func (x *VettedPackagesChange_Vet) ProtoReflect() protoreflect.Message
func (*VettedPackagesChange_Vet) Reset ¶
func (x *VettedPackagesChange_Vet) Reset()
func (*VettedPackagesChange_Vet) String ¶
func (x *VettedPackagesChange_Vet) String() string
type VettedPackagesChange_Vet_ ¶
type VettedPackagesChange_Vet_ struct {
// Add packages to or update packages in the set of vetted packages.
Vet *VettedPackagesChange_Vet `protobuf:"bytes,1,opt,name=vet,proto3,oneof"`
}
type VettedPackagesRef ¶
type VettedPackagesRef struct {
// Package's package id must be the same as this field.
// Optional
PackageId string `protobuf:"bytes,1,opt,name=package_id,json=packageId,proto3" json:"package_id,omitempty"`
// Package's name must be the same as this field.
// Optional
PackageName string `protobuf:"bytes,2,opt,name=package_name,json=packageName,proto3" json:"package_name,omitempty"`
// Package's version must be the same as this field.
// Optional
PackageVersion string `protobuf:"bytes,3,opt,name=package_version,json=packageVersion,proto3" json:"package_version,omitempty"`
// contains filtered or unexported fields
}
A reference to identify one or more packages.
A reference matches a package if its “package_id“ matches the package's ID, its “package_name“ matches the package's name, and its “package_version“ matches the package's version. If an attribute in the reference is left unspecified (i.e. as an empty string), that attribute is treated as a wildcard. At a minimum, “package_id“ or the “package_name“ must be specified.
If a reference does not match any package, the reference is considered unresolved and the entire update request is rejected.
func (*VettedPackagesRef) Descriptor
deprecated
func (*VettedPackagesRef) Descriptor() ([]byte, []int)
Deprecated: Use VettedPackagesRef.ProtoReflect.Descriptor instead.
func (*VettedPackagesRef) GetPackageId ¶
func (x *VettedPackagesRef) GetPackageId() string
func (*VettedPackagesRef) GetPackageName ¶
func (x *VettedPackagesRef) GetPackageName() string
func (*VettedPackagesRef) GetPackageVersion ¶
func (x *VettedPackagesRef) GetPackageVersion() string
func (*VettedPackagesRef) ProtoMessage ¶
func (*VettedPackagesRef) ProtoMessage()
func (*VettedPackagesRef) ProtoReflect ¶
func (x *VettedPackagesRef) ProtoReflect() protoreflect.Message
func (*VettedPackagesRef) Reset ¶
func (x *VettedPackagesRef) Reset()
func (*VettedPackagesRef) String ¶
func (x *VettedPackagesRef) String() string
Source Files
¶
- command_inspection_service.pb.go
- command_inspection_service_grpc.pb.go
- identity_provider_config_service.pb.go
- identity_provider_config_service_grpc.pb.go
- object_meta.pb.go
- package_management_service.pb.go
- package_management_service_grpc.pb.go
- participant_pruning_service.pb.go
- participant_pruning_service_grpc.pb.go
- party_management_service.pb.go
- party_management_service_grpc.pb.go
- user_management_service.pb.go
- user_management_service_grpc.pb.go