Documentation
¶
Index ¶
- Constants
- Variables
- func ApplyOrgSOOp(ctx context.Context, stateData []byte, opData []byte, sender peer.ID) ([]byte, error)
- func LookupDeleteOrganizationOp(ctx context.Context, opTypeID string) (world.Operation, error)
- func LookupInitOrganizationOp(ctx context.Context, opTypeID string) (world.Operation, error)
- func LookupUpdateOrgOp(ctx context.Context, opTypeID string) (world.Operation, error)
- func MarshalDeleteOrgSOOp(op *DeleteOrganizationOp) ([]byte, error)
- func MarshalInitOrgSOOp(op *InitOrganizationOp) ([]byte, error)
- func MarshalUpdateOrgSOOp(op *UpdateOrgOp) ([]byte, error)
- func NewDeleteOrganizationOpBlock() block.Block
- func NewInitOrganizationOpBlock() block.Block
- func NewOrgSharedObjectMeta(displayName string) *sobject.SharedObjectMeta
- func NewOrgStateBlock() block.Block
- func NewSRPCOrgResourceServiceHandler(impl SRPCOrgResourceServiceServer, serviceID string) srpc.Handler
- func NewUpdateOrgOpBlock() block.Block
- func OrgDisplayNameFromMeta(meta *sobject.SharedObjectMeta) string
- func SRPCRegisterOrgResourceService(mux srpc.Mux, impl SRPCOrgResourceServiceServer) error
- type AddOrgChildSo
- func (m *AddOrgChildSo) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *AddOrgChildSo) CloneVT() *AddOrgChildSo
- func (this *AddOrgChildSo) EqualMessageVT(thatMsg any) bool
- func (this *AddOrgChildSo) EqualVT(that *AddOrgChildSo) bool
- func (x *AddOrgChildSo) GetSharedObjectId() string
- func (x *AddOrgChildSo) MarshalJSON() ([]byte, error)
- func (x *AddOrgChildSo) MarshalProtoJSON(s *json.MarshalState)
- func (x *AddOrgChildSo) MarshalProtoText() string
- func (m *AddOrgChildSo) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *AddOrgChildSo) MarshalToVT(dAtA []byte) (int, error)
- func (m *AddOrgChildSo) MarshalVT() (dAtA []byte, err error)
- func (*AddOrgChildSo) ProtoMessage()
- func (x *AddOrgChildSo) Reset()
- func (m *AddOrgChildSo) SizeVT() (n int)
- func (x *AddOrgChildSo) String() string
- func (x *AddOrgChildSo) UnmarshalJSON(b []byte) error
- func (x *AddOrgChildSo) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *AddOrgChildSo) UnmarshalVT(dAtA []byte) error
- type AddOrgMember
- func (m *AddOrgMember) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *AddOrgMember) CloneVT() *AddOrgMember
- func (this *AddOrgMember) EqualMessageVT(thatMsg any) bool
- func (this *AddOrgMember) EqualVT(that *AddOrgMember) bool
- func (x *AddOrgMember) GetMember() *OrgMemberInfo
- func (x *AddOrgMember) MarshalJSON() ([]byte, error)
- func (x *AddOrgMember) MarshalProtoJSON(s *json.MarshalState)
- func (x *AddOrgMember) MarshalProtoText() string
- func (m *AddOrgMember) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *AddOrgMember) MarshalToVT(dAtA []byte) (int, error)
- func (m *AddOrgMember) MarshalVT() (dAtA []byte, err error)
- func (*AddOrgMember) ProtoMessage()
- func (x *AddOrgMember) Reset()
- func (m *AddOrgMember) SizeVT() (n int)
- func (x *AddOrgMember) String() string
- func (x *AddOrgMember) UnmarshalJSON(b []byte) error
- func (x *AddOrgMember) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *AddOrgMember) UnmarshalVT(dAtA []byte) error
- type CreateOrgInviteOp
- func (m *CreateOrgInviteOp) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *CreateOrgInviteOp) CloneVT() *CreateOrgInviteOp
- func (this *CreateOrgInviteOp) EqualMessageVT(thatMsg any) bool
- func (this *CreateOrgInviteOp) EqualVT(that *CreateOrgInviteOp) bool
- func (x *CreateOrgInviteOp) GetConfig() string
- func (x *CreateOrgInviteOp) GetExpiresAt() *timestamppb.Timestamp
- func (x *CreateOrgInviteOp) GetMaxUses() uint32
- func (x *CreateOrgInviteOp) GetTimestamp() *timestamppb.Timestamp
- func (x *CreateOrgInviteOp) GetType() OrgInviteType
- func (x *CreateOrgInviteOp) MarshalJSON() ([]byte, error)
- func (x *CreateOrgInviteOp) MarshalProtoJSON(s *json.MarshalState)
- func (x *CreateOrgInviteOp) MarshalProtoText() string
- func (m *CreateOrgInviteOp) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *CreateOrgInviteOp) MarshalToVT(dAtA []byte) (int, error)
- func (m *CreateOrgInviteOp) MarshalVT() (dAtA []byte, err error)
- func (*CreateOrgInviteOp) ProtoMessage()
- func (x *CreateOrgInviteOp) Reset()
- func (m *CreateOrgInviteOp) SizeVT() (n int)
- func (x *CreateOrgInviteOp) String() string
- func (x *CreateOrgInviteOp) UnmarshalJSON(b []byte) error
- func (x *CreateOrgInviteOp) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *CreateOrgInviteOp) UnmarshalVT(dAtA []byte) error
- type DeleteOrganizationOp
- func (o *DeleteOrganizationOp) ApplyWorldObjectOp(ctx context.Context, le *logrus.Entry, os world.ObjectState, sender peer.ID) (bool, error)
- func (o *DeleteOrganizationOp) ApplyWorldOp(ctx context.Context, le *logrus.Entry, ws world.WorldState, sender peer.ID) (bool, error)
- func (m *DeleteOrganizationOp) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *DeleteOrganizationOp) CloneVT() *DeleteOrganizationOp
- func (this *DeleteOrganizationOp) EqualMessageVT(thatMsg any) bool
- func (this *DeleteOrganizationOp) EqualVT(that *DeleteOrganizationOp) bool
- func (o *DeleteOrganizationOp) GetOperationTypeId() string
- func (x *DeleteOrganizationOp) GetOrgObjectKey() string
- func (o *DeleteOrganizationOp) MarshalBlock() ([]byte, error)
- func (x *DeleteOrganizationOp) MarshalJSON() ([]byte, error)
- func (x *DeleteOrganizationOp) MarshalProtoJSON(s *json.MarshalState)
- func (x *DeleteOrganizationOp) MarshalProtoText() string
- func (m *DeleteOrganizationOp) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *DeleteOrganizationOp) MarshalToVT(dAtA []byte) (int, error)
- func (m *DeleteOrganizationOp) MarshalVT() (dAtA []byte, err error)
- func (*DeleteOrganizationOp) ProtoMessage()
- func (x *DeleteOrganizationOp) Reset()
- func (m *DeleteOrganizationOp) SizeVT() (n int)
- func (x *DeleteOrganizationOp) String() string
- func (o *DeleteOrganizationOp) UnmarshalBlock(data []byte) error
- func (x *DeleteOrganizationOp) UnmarshalJSON(b []byte) error
- func (x *DeleteOrganizationOp) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *DeleteOrganizationOp) UnmarshalVT(dAtA []byte) error
- func (o *DeleteOrganizationOp) Validate() error
- type InitOrganizationOp
- func (o *InitOrganizationOp) ApplyWorldObjectOp(ctx context.Context, le *logrus.Entry, os world.ObjectState, sender peer.ID) (bool, error)
- func (o *InitOrganizationOp) ApplyWorldOp(ctx context.Context, le *logrus.Entry, ws world.WorldState, sender peer.ID) (bool, error)
- func (m *InitOrganizationOp) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *InitOrganizationOp) CloneVT() *InitOrganizationOp
- func (this *InitOrganizationOp) EqualMessageVT(thatMsg any) bool
- func (this *InitOrganizationOp) EqualVT(that *InitOrganizationOp) bool
- func (x *InitOrganizationOp) GetCreatorAccountId() string
- func (x *InitOrganizationOp) GetDisplayName() string
- func (o *InitOrganizationOp) GetOperationTypeId() string
- func (x *InitOrganizationOp) GetOrgObjectKey() string
- func (x *InitOrganizationOp) GetTimestamp() *timestamppb.Timestamp
- func (o *InitOrganizationOp) MarshalBlock() ([]byte, error)
- func (x *InitOrganizationOp) MarshalJSON() ([]byte, error)
- func (x *InitOrganizationOp) MarshalProtoJSON(s *json.MarshalState)
- func (x *InitOrganizationOp) MarshalProtoText() string
- func (m *InitOrganizationOp) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *InitOrganizationOp) MarshalToVT(dAtA []byte) (int, error)
- func (m *InitOrganizationOp) MarshalVT() (dAtA []byte, err error)
- func (*InitOrganizationOp) ProtoMessage()
- func (x *InitOrganizationOp) Reset()
- func (m *InitOrganizationOp) SizeVT() (n int)
- func (x *InitOrganizationOp) String() string
- func (o *InitOrganizationOp) UnmarshalBlock(data []byte) error
- func (x *InitOrganizationOp) UnmarshalJSON(b []byte) error
- func (x *InitOrganizationOp) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *InitOrganizationOp) UnmarshalVT(dAtA []byte) error
- func (o *InitOrganizationOp) Validate() error
- type JoinOrgViaInviteOp
- func (m *JoinOrgViaInviteOp) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *JoinOrgViaInviteOp) CloneVT() *JoinOrgViaInviteOp
- func (this *JoinOrgViaInviteOp) EqualMessageVT(thatMsg any) bool
- func (this *JoinOrgViaInviteOp) EqualVT(that *JoinOrgViaInviteOp) bool
- func (x *JoinOrgViaInviteOp) GetAccountId() string
- func (x *JoinOrgViaInviteOp) GetTimestamp() *timestamppb.Timestamp
- func (x *JoinOrgViaInviteOp) GetToken() string
- func (x *JoinOrgViaInviteOp) MarshalJSON() ([]byte, error)
- func (x *JoinOrgViaInviteOp) MarshalProtoJSON(s *json.MarshalState)
- func (x *JoinOrgViaInviteOp) MarshalProtoText() string
- func (m *JoinOrgViaInviteOp) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *JoinOrgViaInviteOp) MarshalToVT(dAtA []byte) (int, error)
- func (m *JoinOrgViaInviteOp) MarshalVT() (dAtA []byte, err error)
- func (*JoinOrgViaInviteOp) ProtoMessage()
- func (x *JoinOrgViaInviteOp) Reset()
- func (m *JoinOrgViaInviteOp) SizeVT() (n int)
- func (x *JoinOrgViaInviteOp) String() string
- func (x *JoinOrgViaInviteOp) UnmarshalJSON(b []byte) error
- func (x *JoinOrgViaInviteOp) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *JoinOrgViaInviteOp) UnmarshalVT(dAtA []byte) error
- type OrgChildRef
- func (m *OrgChildRef) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *OrgChildRef) CloneVT() *OrgChildRef
- func (this *OrgChildRef) EqualMessageVT(thatMsg any) bool
- func (this *OrgChildRef) EqualVT(that *OrgChildRef) bool
- func (x *OrgChildRef) GetSharedObjectId() string
- func (x *OrgChildRef) MarshalJSON() ([]byte, error)
- func (x *OrgChildRef) MarshalProtoJSON(s *json.MarshalState)
- func (x *OrgChildRef) MarshalProtoText() string
- func (m *OrgChildRef) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *OrgChildRef) MarshalToVT(dAtA []byte) (int, error)
- func (m *OrgChildRef) MarshalVT() (dAtA []byte, err error)
- func (*OrgChildRef) ProtoMessage()
- func (x *OrgChildRef) Reset()
- func (m *OrgChildRef) SizeVT() (n int)
- func (x *OrgChildRef) String() string
- func (x *OrgChildRef) UnmarshalJSON(b []byte) error
- func (x *OrgChildRef) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *OrgChildRef) UnmarshalVT(dAtA []byte) error
- type OrgInvite
- func (m *OrgInvite) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *OrgInvite) CloneVT() *OrgInvite
- func (this *OrgInvite) EqualMessageVT(thatMsg any) bool
- func (this *OrgInvite) EqualVT(that *OrgInvite) bool
- func (x *OrgInvite) GetConfig() string
- func (x *OrgInvite) GetExpiresAt() *timestamppb.Timestamp
- func (x *OrgInvite) GetId() string
- func (x *OrgInvite) GetMaxUses() uint32
- func (x *OrgInvite) GetToken() string
- func (x *OrgInvite) GetType() OrgInviteType
- func (x *OrgInvite) GetUses() uint32
- func (x *OrgInvite) MarshalJSON() ([]byte, error)
- func (x *OrgInvite) MarshalProtoJSON(s *json.MarshalState)
- func (x *OrgInvite) MarshalProtoText() string
- func (m *OrgInvite) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *OrgInvite) MarshalToVT(dAtA []byte) (int, error)
- func (m *OrgInvite) MarshalVT() (dAtA []byte, err error)
- func (*OrgInvite) ProtoMessage()
- func (x *OrgInvite) Reset()
- func (m *OrgInvite) SizeVT() (n int)
- func (x *OrgInvite) String() string
- func (x *OrgInvite) UnmarshalJSON(b []byte) error
- func (x *OrgInvite) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *OrgInvite) UnmarshalVT(dAtA []byte) error
- type OrgInviteType
- func (x OrgInviteType) Enum() *OrgInviteType
- func (x OrgInviteType) MarshalJSON() ([]byte, error)
- func (x OrgInviteType) MarshalProtoJSON(s *json.MarshalState)
- func (x OrgInviteType) MarshalProtoText() string
- func (x OrgInviteType) MarshalText() ([]byte, error)
- func (x OrgInviteType) String() string
- func (x *OrgInviteType) UnmarshalJSON(b []byte) error
- func (x *OrgInviteType) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (x *OrgInviteType) UnmarshalText(b []byte) error
- type OrgMemberInfo
- func (m *OrgMemberInfo) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *OrgMemberInfo) CloneVT() *OrgMemberInfo
- func (this *OrgMemberInfo) EqualMessageVT(thatMsg any) bool
- func (this *OrgMemberInfo) EqualVT(that *OrgMemberInfo) bool
- func (x *OrgMemberInfo) GetAccountId() string
- func (x *OrgMemberInfo) GetDisplayRole() string
- func (x *OrgMemberInfo) GetJoinedAt() *timestamppb.Timestamp
- func (x *OrgMemberInfo) MarshalJSON() ([]byte, error)
- func (x *OrgMemberInfo) MarshalProtoJSON(s *json.MarshalState)
- func (x *OrgMemberInfo) MarshalProtoText() string
- func (m *OrgMemberInfo) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *OrgMemberInfo) MarshalToVT(dAtA []byte) (int, error)
- func (m *OrgMemberInfo) MarshalVT() (dAtA []byte, err error)
- func (*OrgMemberInfo) ProtoMessage()
- func (x *OrgMemberInfo) Reset()
- func (m *OrgMemberInfo) SizeVT() (n int)
- func (x *OrgMemberInfo) String() string
- func (x *OrgMemberInfo) UnmarshalJSON(b []byte) error
- func (x *OrgMemberInfo) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *OrgMemberInfo) UnmarshalVT(dAtA []byte) error
- type OrgResource
- type OrgSOOp
- func (m *OrgSOOp) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *OrgSOOp) CloneVT() *OrgSOOp
- func (this *OrgSOOp) EqualMessageVT(thatMsg any) bool
- func (this *OrgSOOp) EqualVT(that *OrgSOOp) bool
- func (m *OrgSOOp) GetBody() isOrgSOOp_Body
- func (x *OrgSOOp) GetDeleteOrg() *DeleteOrganizationOp
- func (x *OrgSOOp) GetInitOrg() *InitOrganizationOp
- func (x *OrgSOOp) GetUpdateOrg() *UpdateOrgOp
- func (x *OrgSOOp) MarshalJSON() ([]byte, error)
- func (x *OrgSOOp) MarshalProtoJSON(s *json.MarshalState)
- func (x *OrgSOOp) MarshalProtoText() string
- func (m *OrgSOOp) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *OrgSOOp) MarshalToVT(dAtA []byte) (int, error)
- func (m *OrgSOOp) MarshalVT() (dAtA []byte, err error)
- func (*OrgSOOp) ProtoMessage()
- func (x *OrgSOOp) Reset()
- func (m *OrgSOOp) SizeVT() (n int)
- func (x *OrgSOOp) String() string
- func (x *OrgSOOp) UnmarshalJSON(b []byte) error
- func (x *OrgSOOp) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *OrgSOOp) UnmarshalVT(dAtA []byte) error
- type OrgSOOp_DeleteOrg
- func (m *OrgSOOp_DeleteOrg) CloneOneofVT() isOrgSOOp_Body
- func (m *OrgSOOp_DeleteOrg) CloneVT() *OrgSOOp_DeleteOrg
- func (this *OrgSOOp_DeleteOrg) EqualVT(thatIface isOrgSOOp_Body) bool
- func (m *OrgSOOp_DeleteOrg) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *OrgSOOp_DeleteOrg) MarshalToVT(dAtA []byte) (int, error)
- func (m *OrgSOOp_DeleteOrg) SizeVT() (n int)
- type OrgSOOp_InitOrg
- func (m *OrgSOOp_InitOrg) CloneOneofVT() isOrgSOOp_Body
- func (m *OrgSOOp_InitOrg) CloneVT() *OrgSOOp_InitOrg
- func (this *OrgSOOp_InitOrg) EqualVT(thatIface isOrgSOOp_Body) bool
- func (m *OrgSOOp_InitOrg) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *OrgSOOp_InitOrg) MarshalToVT(dAtA []byte) (int, error)
- func (m *OrgSOOp_InitOrg) SizeVT() (n int)
- type OrgSOOp_UpdateOrg
- func (m *OrgSOOp_UpdateOrg) CloneOneofVT() isOrgSOOp_Body
- func (m *OrgSOOp_UpdateOrg) CloneVT() *OrgSOOp_UpdateOrg
- func (this *OrgSOOp_UpdateOrg) EqualVT(thatIface isOrgSOOp_Body) bool
- func (m *OrgSOOp_UpdateOrg) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *OrgSOOp_UpdateOrg) MarshalToVT(dAtA []byte) (int, error)
- func (m *OrgSOOp_UpdateOrg) SizeVT() (n int)
- type OrgState
- func (m *OrgState) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *OrgState) CloneVT() *OrgState
- func (this *OrgState) EqualMessageVT(thatMsg any) bool
- func (this *OrgState) EqualVT(that *OrgState) bool
- func (x *OrgState) GetBillingAccountId() string
- func (x *OrgState) GetChildSharedObjects() []*OrgChildRef
- func (x *OrgState) GetCreatedAt() *timestamppb.Timestamp
- func (x *OrgState) GetDisplayName() string
- func (x *OrgState) GetInvites() []*OrgInvite
- func (x *OrgState) GetMembers() []*OrgMemberInfo
- func (o *OrgState) MarshalBlock() ([]byte, error)
- func (x *OrgState) MarshalJSON() ([]byte, error)
- func (x *OrgState) MarshalProtoJSON(s *json.MarshalState)
- func (x *OrgState) MarshalProtoText() string
- func (m *OrgState) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *OrgState) MarshalToVT(dAtA []byte) (int, error)
- func (m *OrgState) MarshalVT() (dAtA []byte, err error)
- func (*OrgState) ProtoMessage()
- func (x *OrgState) Reset()
- func (m *OrgState) SizeVT() (n int)
- func (x *OrgState) String() string
- func (o *OrgState) UnmarshalBlock(data []byte) error
- func (x *OrgState) UnmarshalJSON(b []byte) error
- func (x *OrgState) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *OrgState) UnmarshalVT(dAtA []byte) error
- func (o *OrgState) Validate() error
- type RemoveOrgChildSo
- func (m *RemoveOrgChildSo) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *RemoveOrgChildSo) CloneVT() *RemoveOrgChildSo
- func (this *RemoveOrgChildSo) EqualMessageVT(thatMsg any) bool
- func (this *RemoveOrgChildSo) EqualVT(that *RemoveOrgChildSo) bool
- func (x *RemoveOrgChildSo) GetSharedObjectId() string
- func (x *RemoveOrgChildSo) MarshalJSON() ([]byte, error)
- func (x *RemoveOrgChildSo) MarshalProtoJSON(s *json.MarshalState)
- func (x *RemoveOrgChildSo) MarshalProtoText() string
- func (m *RemoveOrgChildSo) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *RemoveOrgChildSo) MarshalToVT(dAtA []byte) (int, error)
- func (m *RemoveOrgChildSo) MarshalVT() (dAtA []byte, err error)
- func (*RemoveOrgChildSo) ProtoMessage()
- func (x *RemoveOrgChildSo) Reset()
- func (m *RemoveOrgChildSo) SizeVT() (n int)
- func (x *RemoveOrgChildSo) String() string
- func (x *RemoveOrgChildSo) UnmarshalJSON(b []byte) error
- func (x *RemoveOrgChildSo) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *RemoveOrgChildSo) UnmarshalVT(dAtA []byte) error
- type RemoveOrgMember
- func (m *RemoveOrgMember) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *RemoveOrgMember) CloneVT() *RemoveOrgMember
- func (this *RemoveOrgMember) EqualMessageVT(thatMsg any) bool
- func (this *RemoveOrgMember) EqualVT(that *RemoveOrgMember) bool
- func (x *RemoveOrgMember) GetAccountId() string
- func (x *RemoveOrgMember) MarshalJSON() ([]byte, error)
- func (x *RemoveOrgMember) MarshalProtoJSON(s *json.MarshalState)
- func (x *RemoveOrgMember) MarshalProtoText() string
- func (m *RemoveOrgMember) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *RemoveOrgMember) MarshalToVT(dAtA []byte) (int, error)
- func (m *RemoveOrgMember) MarshalVT() (dAtA []byte, err error)
- func (*RemoveOrgMember) ProtoMessage()
- func (x *RemoveOrgMember) Reset()
- func (m *RemoveOrgMember) SizeVT() (n int)
- func (x *RemoveOrgMember) String() string
- func (x *RemoveOrgMember) UnmarshalJSON(b []byte) error
- func (x *RemoveOrgMember) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *RemoveOrgMember) UnmarshalVT(dAtA []byte) error
- type RevokeOrgInviteOp
- func (m *RevokeOrgInviteOp) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *RevokeOrgInviteOp) CloneVT() *RevokeOrgInviteOp
- func (this *RevokeOrgInviteOp) EqualMessageVT(thatMsg any) bool
- func (this *RevokeOrgInviteOp) EqualVT(that *RevokeOrgInviteOp) bool
- func (x *RevokeOrgInviteOp) GetInviteId() string
- func (x *RevokeOrgInviteOp) MarshalJSON() ([]byte, error)
- func (x *RevokeOrgInviteOp) MarshalProtoJSON(s *json.MarshalState)
- func (x *RevokeOrgInviteOp) MarshalProtoText() string
- func (m *RevokeOrgInviteOp) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *RevokeOrgInviteOp) MarshalToVT(dAtA []byte) (int, error)
- func (m *RevokeOrgInviteOp) MarshalVT() (dAtA []byte, err error)
- func (*RevokeOrgInviteOp) ProtoMessage()
- func (x *RevokeOrgInviteOp) Reset()
- func (m *RevokeOrgInviteOp) SizeVT() (n int)
- func (x *RevokeOrgInviteOp) String() string
- func (x *RevokeOrgInviteOp) UnmarshalJSON(b []byte) error
- func (x *RevokeOrgInviteOp) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *RevokeOrgInviteOp) UnmarshalVT(dAtA []byte) error
- type SRPCOrgResourceServiceClient
- type SRPCOrgResourceServiceHandler
- func (SRPCOrgResourceServiceHandler) GetMethodIDs() []string
- func (d *SRPCOrgResourceServiceHandler) GetServiceID() string
- func (d *SRPCOrgResourceServiceHandler) InvokeMethod(serviceID, methodID string, strm srpc.Stream) (bool, error)
- func (SRPCOrgResourceServiceHandler) InvokeMethod_WatchOrgState(impl SRPCOrgResourceServiceServer, strm srpc.Stream) error
- type SRPCOrgResourceServiceServer
- type SRPCOrgResourceService_WatchOrgStateClient
- type SRPCOrgResourceService_WatchOrgStateStream
- type UpdateOrgDisplayName
- func (m *UpdateOrgDisplayName) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *UpdateOrgDisplayName) CloneVT() *UpdateOrgDisplayName
- func (this *UpdateOrgDisplayName) EqualMessageVT(thatMsg any) bool
- func (this *UpdateOrgDisplayName) EqualVT(that *UpdateOrgDisplayName) bool
- func (x *UpdateOrgDisplayName) GetDisplayName() string
- func (x *UpdateOrgDisplayName) MarshalJSON() ([]byte, error)
- func (x *UpdateOrgDisplayName) MarshalProtoJSON(s *json.MarshalState)
- func (x *UpdateOrgDisplayName) MarshalProtoText() string
- func (m *UpdateOrgDisplayName) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *UpdateOrgDisplayName) MarshalToVT(dAtA []byte) (int, error)
- func (m *UpdateOrgDisplayName) MarshalVT() (dAtA []byte, err error)
- func (*UpdateOrgDisplayName) ProtoMessage()
- func (x *UpdateOrgDisplayName) Reset()
- func (m *UpdateOrgDisplayName) SizeVT() (n int)
- func (x *UpdateOrgDisplayName) String() string
- func (x *UpdateOrgDisplayName) UnmarshalJSON(b []byte) error
- func (x *UpdateOrgDisplayName) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *UpdateOrgDisplayName) UnmarshalVT(dAtA []byte) error
- type UpdateOrgOp
- func (o *UpdateOrgOp) ApplyWorldObjectOp(ctx context.Context, le *logrus.Entry, os world.ObjectState, sender peer.ID) (bool, error)
- func (o *UpdateOrgOp) ApplyWorldOp(ctx context.Context, le *logrus.Entry, ws world.WorldState, sender peer.ID) (bool, error)
- func (m *UpdateOrgOp) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *UpdateOrgOp) CloneVT() *UpdateOrgOp
- func (this *UpdateOrgOp) EqualMessageVT(thatMsg any) bool
- func (this *UpdateOrgOp) EqualVT(that *UpdateOrgOp) bool
- func (x *UpdateOrgOp) GetAddChildSo() *AddOrgChildSo
- func (x *UpdateOrgOp) GetAddMember() *AddOrgMember
- func (m *UpdateOrgOp) GetBody() isUpdateOrgOp_Body
- func (x *UpdateOrgOp) GetCreateInvite() *CreateOrgInviteOp
- func (x *UpdateOrgOp) GetJoinViaInvite() *JoinOrgViaInviteOp
- func (o *UpdateOrgOp) GetOperationTypeId() string
- func (x *UpdateOrgOp) GetOrgObjectKey() string
- func (x *UpdateOrgOp) GetRemoveChildSo() *RemoveOrgChildSo
- func (x *UpdateOrgOp) GetRemoveMember() *RemoveOrgMember
- func (x *UpdateOrgOp) GetRevokeInvite() *RevokeOrgInviteOp
- func (x *UpdateOrgOp) GetUpdateDisplayName() *UpdateOrgDisplayName
- func (o *UpdateOrgOp) MarshalBlock() ([]byte, error)
- func (x *UpdateOrgOp) MarshalJSON() ([]byte, error)
- func (x *UpdateOrgOp) MarshalProtoJSON(s *json.MarshalState)
- func (x *UpdateOrgOp) MarshalProtoText() string
- func (m *UpdateOrgOp) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *UpdateOrgOp) MarshalToVT(dAtA []byte) (int, error)
- func (m *UpdateOrgOp) MarshalVT() (dAtA []byte, err error)
- func (*UpdateOrgOp) ProtoMessage()
- func (x *UpdateOrgOp) Reset()
- func (m *UpdateOrgOp) SizeVT() (n int)
- func (x *UpdateOrgOp) String() string
- func (o *UpdateOrgOp) UnmarshalBlock(data []byte) error
- func (x *UpdateOrgOp) UnmarshalJSON(b []byte) error
- func (x *UpdateOrgOp) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *UpdateOrgOp) UnmarshalVT(dAtA []byte) error
- func (o *UpdateOrgOp) Validate() error
- type UpdateOrgOp_AddChildSo
- func (m *UpdateOrgOp_AddChildSo) CloneOneofVT() isUpdateOrgOp_Body
- func (m *UpdateOrgOp_AddChildSo) CloneVT() *UpdateOrgOp_AddChildSo
- func (this *UpdateOrgOp_AddChildSo) EqualVT(thatIface isUpdateOrgOp_Body) bool
- func (m *UpdateOrgOp_AddChildSo) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *UpdateOrgOp_AddChildSo) MarshalToVT(dAtA []byte) (int, error)
- func (m *UpdateOrgOp_AddChildSo) SizeVT() (n int)
- type UpdateOrgOp_AddMember
- func (m *UpdateOrgOp_AddMember) CloneOneofVT() isUpdateOrgOp_Body
- func (m *UpdateOrgOp_AddMember) CloneVT() *UpdateOrgOp_AddMember
- func (this *UpdateOrgOp_AddMember) EqualVT(thatIface isUpdateOrgOp_Body) bool
- func (m *UpdateOrgOp_AddMember) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *UpdateOrgOp_AddMember) MarshalToVT(dAtA []byte) (int, error)
- func (m *UpdateOrgOp_AddMember) SizeVT() (n int)
- type UpdateOrgOp_CreateInvite
- func (m *UpdateOrgOp_CreateInvite) CloneOneofVT() isUpdateOrgOp_Body
- func (m *UpdateOrgOp_CreateInvite) CloneVT() *UpdateOrgOp_CreateInvite
- func (this *UpdateOrgOp_CreateInvite) EqualVT(thatIface isUpdateOrgOp_Body) bool
- func (m *UpdateOrgOp_CreateInvite) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *UpdateOrgOp_CreateInvite) MarshalToVT(dAtA []byte) (int, error)
- func (m *UpdateOrgOp_CreateInvite) SizeVT() (n int)
- type UpdateOrgOp_JoinViaInvite
- func (m *UpdateOrgOp_JoinViaInvite) CloneOneofVT() isUpdateOrgOp_Body
- func (m *UpdateOrgOp_JoinViaInvite) CloneVT() *UpdateOrgOp_JoinViaInvite
- func (this *UpdateOrgOp_JoinViaInvite) EqualVT(thatIface isUpdateOrgOp_Body) bool
- func (m *UpdateOrgOp_JoinViaInvite) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *UpdateOrgOp_JoinViaInvite) MarshalToVT(dAtA []byte) (int, error)
- func (m *UpdateOrgOp_JoinViaInvite) SizeVT() (n int)
- type UpdateOrgOp_RemoveChildSo
- func (m *UpdateOrgOp_RemoveChildSo) CloneOneofVT() isUpdateOrgOp_Body
- func (m *UpdateOrgOp_RemoveChildSo) CloneVT() *UpdateOrgOp_RemoveChildSo
- func (this *UpdateOrgOp_RemoveChildSo) EqualVT(thatIface isUpdateOrgOp_Body) bool
- func (m *UpdateOrgOp_RemoveChildSo) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *UpdateOrgOp_RemoveChildSo) MarshalToVT(dAtA []byte) (int, error)
- func (m *UpdateOrgOp_RemoveChildSo) SizeVT() (n int)
- type UpdateOrgOp_RemoveMember
- func (m *UpdateOrgOp_RemoveMember) CloneOneofVT() isUpdateOrgOp_Body
- func (m *UpdateOrgOp_RemoveMember) CloneVT() *UpdateOrgOp_RemoveMember
- func (this *UpdateOrgOp_RemoveMember) EqualVT(thatIface isUpdateOrgOp_Body) bool
- func (m *UpdateOrgOp_RemoveMember) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *UpdateOrgOp_RemoveMember) MarshalToVT(dAtA []byte) (int, error)
- func (m *UpdateOrgOp_RemoveMember) SizeVT() (n int)
- type UpdateOrgOp_RevokeInvite
- func (m *UpdateOrgOp_RevokeInvite) CloneOneofVT() isUpdateOrgOp_Body
- func (m *UpdateOrgOp_RevokeInvite) CloneVT() *UpdateOrgOp_RevokeInvite
- func (this *UpdateOrgOp_RevokeInvite) EqualVT(thatIface isUpdateOrgOp_Body) bool
- func (m *UpdateOrgOp_RevokeInvite) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *UpdateOrgOp_RevokeInvite) MarshalToVT(dAtA []byte) (int, error)
- func (m *UpdateOrgOp_RevokeInvite) SizeVT() (n int)
- type UpdateOrgOp_UpdateDisplayName
- func (m *UpdateOrgOp_UpdateDisplayName) CloneOneofVT() isUpdateOrgOp_Body
- func (m *UpdateOrgOp_UpdateDisplayName) CloneVT() *UpdateOrgOp_UpdateDisplayName
- func (this *UpdateOrgOp_UpdateDisplayName) EqualVT(thatIface isUpdateOrgOp_Body) bool
- func (m *UpdateOrgOp_UpdateDisplayName) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *UpdateOrgOp_UpdateDisplayName) MarshalToVT(dAtA []byte) (int, error)
- func (m *UpdateOrgOp_UpdateDisplayName) SizeVT() (n int)
- type WatchOrgStateRequest
- func (m *WatchOrgStateRequest) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *WatchOrgStateRequest) CloneVT() *WatchOrgStateRequest
- func (this *WatchOrgStateRequest) EqualMessageVT(thatMsg any) bool
- func (this *WatchOrgStateRequest) EqualVT(that *WatchOrgStateRequest) bool
- func (x *WatchOrgStateRequest) MarshalJSON() ([]byte, error)
- func (x *WatchOrgStateRequest) MarshalProtoJSON(s *json.MarshalState)
- func (x *WatchOrgStateRequest) MarshalProtoText() string
- func (m *WatchOrgStateRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *WatchOrgStateRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *WatchOrgStateRequest) MarshalVT() (dAtA []byte, err error)
- func (*WatchOrgStateRequest) ProtoMessage()
- func (x *WatchOrgStateRequest) Reset()
- func (m *WatchOrgStateRequest) SizeVT() (n int)
- func (x *WatchOrgStateRequest) String() string
- func (x *WatchOrgStateRequest) UnmarshalJSON(b []byte) error
- func (x *WatchOrgStateRequest) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *WatchOrgStateRequest) UnmarshalVT(dAtA []byte) error
- type WatchOrgStateResponse
- func (m *WatchOrgStateResponse) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *WatchOrgStateResponse) CloneVT() *WatchOrgStateResponse
- func (this *WatchOrgStateResponse) EqualMessageVT(thatMsg any) bool
- func (this *WatchOrgStateResponse) EqualVT(that *WatchOrgStateResponse) bool
- func (x *WatchOrgStateResponse) GetState() *OrgState
- func (x *WatchOrgStateResponse) MarshalJSON() ([]byte, error)
- func (x *WatchOrgStateResponse) MarshalProtoJSON(s *json.MarshalState)
- func (x *WatchOrgStateResponse) MarshalProtoText() string
- func (m *WatchOrgStateResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *WatchOrgStateResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *WatchOrgStateResponse) MarshalVT() (dAtA []byte, err error)
- func (*WatchOrgStateResponse) ProtoMessage()
- func (x *WatchOrgStateResponse) Reset()
- func (m *WatchOrgStateResponse) SizeVT() (n int)
- func (x *WatchOrgStateResponse) String() string
- func (x *WatchOrgStateResponse) UnmarshalJSON(b []byte) error
- func (x *WatchOrgStateResponse) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *WatchOrgStateResponse) UnmarshalVT(dAtA []byte) error
Constants ¶
const OrgBodyType = "organization"
OrgBodyType is the SharedObject body type for organization SOs.
const OrgObjectKey = "org/state"
OrgObjectKey is the default organization object key within the SO world.
const OrgRoleMember = "Member"
OrgRoleMember is the display role for organization members.
const OrgRoleOwner = "Owner"
OrgRoleOwner is the display role for organization owners.
const OrganizationTypeID = "spacewave/organization"
OrganizationTypeID is the type identifier for organization objects.
const SRPCOrgResourceServiceServiceID = "s4wave.org.OrgResourceService"
Variables ¶
var ( OrgInviteType_name = map[int32]string{ 0: "ORG_INVITE_TYPE_UNKNOWN", 1: "ORG_INVITE_TYPE_CODE", 2: "ORG_INVITE_TYPE_LINK", 3: "ORG_INVITE_TYPE_EMAIL", } OrgInviteType_value = map[string]int32{ "ORG_INVITE_TYPE_UNKNOWN": 0, "ORG_INVITE_TYPE_CODE": 1, "ORG_INVITE_TYPE_LINK": 2, "ORG_INVITE_TYPE_EMAIL": 3, } )
Enum value maps for OrgInviteType.
var DeleteOrganizationOpID = "org/delete-organization"
DeleteOrganizationOpID is the operation type ID.
var InitOrganizationOpID = "org/init-organization"
InitOrganizationOpID is the operation type ID.
var ProcessOrgOps sobject.ProcessOpsFunc = sobject_stateproc.BuildProcessOpsFunc(ApplyOrgSOOp)
ProcessOrgOps is a ProcessOpsFunc that applies OrgSOOp operations to OrgState data. Used by the lightweight state processor for org SOs.
var UpdateOrgOpID = "org/update-organization"
UpdateOrgOpID is the operation type ID.
Functions ¶
func ApplyOrgSOOp ¶
func ApplyOrgSOOp(ctx context.Context, stateData []byte, opData []byte, sender peer.ID) ([]byte, error)
ApplyOrgSOOp applies an org SO operation to the current state. ctx satisfies the sobject_stateproc.ApplyOpFunc contract; application is pure today and performs no I/O with it. stateData is the current marshaled OrgState (nil for uninitialized). opData is the marshaled OrgSOOp. Returns the next marshaled OrgState.
func LookupDeleteOrganizationOp ¶
LookupDeleteOrganizationOp looks up the delete organization operation.
func LookupInitOrganizationOp ¶
LookupInitOrganizationOp looks up the init organization operation.
func LookupUpdateOrgOp ¶
LookupUpdateOrgOp looks up the update organization operation.
func MarshalDeleteOrgSOOp ¶
func MarshalDeleteOrgSOOp(op *DeleteOrganizationOp) ([]byte, error)
MarshalDeleteOrgSOOp wraps a DeleteOrganizationOp in OrgSOOp and marshals it.
func MarshalInitOrgSOOp ¶
func MarshalInitOrgSOOp(op *InitOrganizationOp) ([]byte, error)
MarshalInitOrgSOOp wraps an InitOrganizationOp in OrgSOOp and marshals it.
func MarshalUpdateOrgSOOp ¶
func MarshalUpdateOrgSOOp(op *UpdateOrgOp) ([]byte, error)
MarshalUpdateOrgSOOp wraps an UpdateOrgOp in OrgSOOp and marshals it.
func NewDeleteOrganizationOpBlock ¶
NewDeleteOrganizationOpBlock creates an empty block for deserialization.
func NewInitOrganizationOpBlock ¶
NewInitOrganizationOpBlock creates an empty block for deserialization.
func NewOrgSharedObjectMeta ¶
func NewOrgSharedObjectMeta(displayName string) *sobject.SharedObjectMeta
NewOrgSharedObjectMeta constructs a SharedObjectMeta for an org SO. The displayName is stored in BodyMeta for use by org list scans.
func NewOrgStateBlock ¶
NewOrgStateBlock constructs a new OrgState block.
func NewSRPCOrgResourceServiceHandler ¶
func NewSRPCOrgResourceServiceHandler(impl SRPCOrgResourceServiceServer, serviceID string) srpc.Handler
NewSRPCOrgResourceServiceHandler constructs a new RPC handler. serviceID: if empty, uses default: s4wave.org.OrgResourceService
func NewUpdateOrgOpBlock ¶
NewUpdateOrgOpBlock creates an empty block for deserialization.
func OrgDisplayNameFromMeta ¶
func OrgDisplayNameFromMeta(meta *sobject.SharedObjectMeta) string
OrgDisplayNameFromMeta extracts the display name from an org SO's BodyMeta.
func SRPCRegisterOrgResourceService ¶
func SRPCRegisterOrgResourceService(mux srpc.Mux, impl SRPCOrgResourceServiceServer) error
SRPCRegisterOrgResourceService registers the implementation with the mux. Uses the default serviceID: s4wave.org.OrgResourceService
Types ¶
type AddOrgChildSo ¶
type AddOrgChildSo struct {
SharedObjectId string `protobuf:"bytes,1,opt,name=shared_object_id,json=sharedObjectId,proto3" json:"sharedObjectId,omitempty"`
// contains filtered or unexported fields
}
AddOrgChildSo is the body for adding a child SO reference.
func (*AddOrgChildSo) CloneMessageVT ¶
func (m *AddOrgChildSo) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*AddOrgChildSo) CloneVT ¶
func (m *AddOrgChildSo) CloneVT() *AddOrgChildSo
func (*AddOrgChildSo) EqualMessageVT ¶
func (this *AddOrgChildSo) EqualMessageVT(thatMsg any) bool
func (*AddOrgChildSo) EqualVT ¶
func (this *AddOrgChildSo) EqualVT(that *AddOrgChildSo) bool
func (*AddOrgChildSo) GetSharedObjectId ¶
func (x *AddOrgChildSo) GetSharedObjectId() string
func (*AddOrgChildSo) MarshalJSON ¶
func (x *AddOrgChildSo) MarshalJSON() ([]byte, error)
MarshalJSON marshals the AddOrgChildSo to JSON.
func (*AddOrgChildSo) MarshalProtoJSON ¶
func (x *AddOrgChildSo) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the AddOrgChildSo message to JSON.
func (*AddOrgChildSo) MarshalProtoText ¶
func (x *AddOrgChildSo) MarshalProtoText() string
func (*AddOrgChildSo) MarshalToSizedBufferVT ¶
func (m *AddOrgChildSo) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*AddOrgChildSo) MarshalToVT ¶
func (m *AddOrgChildSo) MarshalToVT(dAtA []byte) (int, error)
func (*AddOrgChildSo) MarshalVT ¶
func (m *AddOrgChildSo) MarshalVT() (dAtA []byte, err error)
func (*AddOrgChildSo) ProtoMessage ¶
func (*AddOrgChildSo) ProtoMessage()
func (*AddOrgChildSo) Reset ¶
func (x *AddOrgChildSo) Reset()
func (*AddOrgChildSo) SizeVT ¶
func (m *AddOrgChildSo) SizeVT() (n int)
func (*AddOrgChildSo) String ¶
func (x *AddOrgChildSo) String() string
func (*AddOrgChildSo) UnmarshalJSON ¶
func (x *AddOrgChildSo) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the AddOrgChildSo from JSON.
func (*AddOrgChildSo) UnmarshalProtoJSON ¶
func (x *AddOrgChildSo) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the AddOrgChildSo message from JSON.
func (*AddOrgChildSo) UnmarshalVT ¶
func (m *AddOrgChildSo) UnmarshalVT(dAtA []byte) error
type AddOrgMember ¶
type AddOrgMember struct {
// Member is the member info to add.
Member *OrgMemberInfo `protobuf:"bytes,1,opt,name=member,proto3" json:"member,omitempty"`
// contains filtered or unexported fields
}
AddOrgMember is the body for adding a member.
func (*AddOrgMember) CloneMessageVT ¶
func (m *AddOrgMember) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*AddOrgMember) CloneVT ¶
func (m *AddOrgMember) CloneVT() *AddOrgMember
func (*AddOrgMember) EqualMessageVT ¶
func (this *AddOrgMember) EqualMessageVT(thatMsg any) bool
func (*AddOrgMember) EqualVT ¶
func (this *AddOrgMember) EqualVT(that *AddOrgMember) bool
func (*AddOrgMember) GetMember ¶
func (x *AddOrgMember) GetMember() *OrgMemberInfo
func (*AddOrgMember) MarshalJSON ¶
func (x *AddOrgMember) MarshalJSON() ([]byte, error)
MarshalJSON marshals the AddOrgMember to JSON.
func (*AddOrgMember) MarshalProtoJSON ¶
func (x *AddOrgMember) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the AddOrgMember message to JSON.
func (*AddOrgMember) MarshalProtoText ¶
func (x *AddOrgMember) MarshalProtoText() string
func (*AddOrgMember) MarshalToSizedBufferVT ¶
func (m *AddOrgMember) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*AddOrgMember) MarshalToVT ¶
func (m *AddOrgMember) MarshalToVT(dAtA []byte) (int, error)
func (*AddOrgMember) MarshalVT ¶
func (m *AddOrgMember) MarshalVT() (dAtA []byte, err error)
func (*AddOrgMember) ProtoMessage ¶
func (*AddOrgMember) ProtoMessage()
func (*AddOrgMember) Reset ¶
func (x *AddOrgMember) Reset()
func (*AddOrgMember) SizeVT ¶
func (m *AddOrgMember) SizeVT() (n int)
func (*AddOrgMember) String ¶
func (x *AddOrgMember) String() string
func (*AddOrgMember) UnmarshalJSON ¶
func (x *AddOrgMember) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the AddOrgMember from JSON.
func (*AddOrgMember) UnmarshalProtoJSON ¶
func (x *AddOrgMember) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the AddOrgMember message from JSON.
func (*AddOrgMember) UnmarshalVT ¶
func (m *AddOrgMember) UnmarshalVT(dAtA []byte) error
type CreateOrgInviteOp ¶
type CreateOrgInviteOp struct {
// Type is the invite type (code, link, or email).
Type OrgInviteType `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty"`
// MaxUses is the maximum number of uses (0 = unlimited).
MaxUses uint32 `protobuf:"varint,2,opt,name=max_uses,json=maxUses,proto3" json:"maxUses,omitempty"`
// ExpiresAt is the invite expiration timestamp (zero = no expiry).
ExpiresAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=expires_at,json=expiresAt,proto3" json:"expiresAt,omitempty"`
// Config is optional configuration (e.g. target email for email invites).
Config string `protobuf:"bytes,4,opt,name=config,proto3" json:"config,omitempty"`
// Timestamp is the creation timestamp for deterministic replay.
Timestamp *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
// contains filtered or unexported fields
}
CreateOrgInviteOp creates a new invite in the organization.
func (*CreateOrgInviteOp) CloneMessageVT ¶
func (m *CreateOrgInviteOp) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*CreateOrgInviteOp) CloneVT ¶
func (m *CreateOrgInviteOp) CloneVT() *CreateOrgInviteOp
func (*CreateOrgInviteOp) EqualMessageVT ¶
func (this *CreateOrgInviteOp) EqualMessageVT(thatMsg any) bool
func (*CreateOrgInviteOp) EqualVT ¶
func (this *CreateOrgInviteOp) EqualVT(that *CreateOrgInviteOp) bool
func (*CreateOrgInviteOp) GetConfig ¶
func (x *CreateOrgInviteOp) GetConfig() string
func (*CreateOrgInviteOp) GetExpiresAt ¶
func (x *CreateOrgInviteOp) GetExpiresAt() *timestamppb.Timestamp
func (*CreateOrgInviteOp) GetMaxUses ¶
func (x *CreateOrgInviteOp) GetMaxUses() uint32
func (*CreateOrgInviteOp) GetTimestamp ¶
func (x *CreateOrgInviteOp) GetTimestamp() *timestamppb.Timestamp
func (*CreateOrgInviteOp) GetType ¶
func (x *CreateOrgInviteOp) GetType() OrgInviteType
func (*CreateOrgInviteOp) MarshalJSON ¶
func (x *CreateOrgInviteOp) MarshalJSON() ([]byte, error)
MarshalJSON marshals the CreateOrgInviteOp to JSON.
func (*CreateOrgInviteOp) MarshalProtoJSON ¶
func (x *CreateOrgInviteOp) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the CreateOrgInviteOp message to JSON.
func (*CreateOrgInviteOp) MarshalProtoText ¶
func (x *CreateOrgInviteOp) MarshalProtoText() string
func (*CreateOrgInviteOp) MarshalToSizedBufferVT ¶
func (m *CreateOrgInviteOp) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*CreateOrgInviteOp) MarshalToVT ¶
func (m *CreateOrgInviteOp) MarshalToVT(dAtA []byte) (int, error)
func (*CreateOrgInviteOp) MarshalVT ¶
func (m *CreateOrgInviteOp) MarshalVT() (dAtA []byte, err error)
func (*CreateOrgInviteOp) ProtoMessage ¶
func (*CreateOrgInviteOp) ProtoMessage()
func (*CreateOrgInviteOp) Reset ¶
func (x *CreateOrgInviteOp) Reset()
func (*CreateOrgInviteOp) SizeVT ¶
func (m *CreateOrgInviteOp) SizeVT() (n int)
func (*CreateOrgInviteOp) String ¶
func (x *CreateOrgInviteOp) String() string
func (*CreateOrgInviteOp) UnmarshalJSON ¶
func (x *CreateOrgInviteOp) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the CreateOrgInviteOp from JSON.
func (*CreateOrgInviteOp) UnmarshalProtoJSON ¶
func (x *CreateOrgInviteOp) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the CreateOrgInviteOp message from JSON.
func (*CreateOrgInviteOp) UnmarshalVT ¶
func (m *CreateOrgInviteOp) UnmarshalVT(dAtA []byte) error
type DeleteOrganizationOp ¶
type DeleteOrganizationOp struct {
// OrgObjectKey is the key for the organization object.
OrgObjectKey string `protobuf:"bytes,1,opt,name=org_object_key,json=orgObjectKey,proto3" json:"orgObjectKey,omitempty"`
// contains filtered or unexported fields
}
DeleteOrganizationOp marks an organization as deleted. Blocked if child_shared_objects is non-empty.
func (*DeleteOrganizationOp) ApplyWorldObjectOp ¶
func (o *DeleteOrganizationOp) ApplyWorldObjectOp( ctx context.Context, le *logrus.Entry, os world.ObjectState, sender peer.ID, ) (bool, error)
ApplyWorldObjectOp is not supported for this operation.
func (*DeleteOrganizationOp) ApplyWorldOp ¶
func (o *DeleteOrganizationOp) ApplyWorldOp( ctx context.Context, le *logrus.Entry, ws world.WorldState, sender peer.ID, ) (bool, error)
ApplyWorldOp applies the delete organization operation.
func (*DeleteOrganizationOp) CloneMessageVT ¶
func (m *DeleteOrganizationOp) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*DeleteOrganizationOp) CloneVT ¶
func (m *DeleteOrganizationOp) CloneVT() *DeleteOrganizationOp
func (*DeleteOrganizationOp) EqualMessageVT ¶
func (this *DeleteOrganizationOp) EqualMessageVT(thatMsg any) bool
func (*DeleteOrganizationOp) EqualVT ¶
func (this *DeleteOrganizationOp) EqualVT(that *DeleteOrganizationOp) bool
func (*DeleteOrganizationOp) GetOperationTypeId ¶
func (o *DeleteOrganizationOp) GetOperationTypeId() string
GetOperationTypeId returns the operation type ID.
func (*DeleteOrganizationOp) GetOrgObjectKey ¶
func (x *DeleteOrganizationOp) GetOrgObjectKey() string
func (*DeleteOrganizationOp) MarshalBlock ¶
func (o *DeleteOrganizationOp) MarshalBlock() ([]byte, error)
MarshalBlock marshals the operation to bytes.
func (*DeleteOrganizationOp) MarshalJSON ¶
func (x *DeleteOrganizationOp) MarshalJSON() ([]byte, error)
MarshalJSON marshals the DeleteOrganizationOp to JSON.
func (*DeleteOrganizationOp) MarshalProtoJSON ¶
func (x *DeleteOrganizationOp) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the DeleteOrganizationOp message to JSON.
func (*DeleteOrganizationOp) MarshalProtoText ¶
func (x *DeleteOrganizationOp) MarshalProtoText() string
func (*DeleteOrganizationOp) MarshalToSizedBufferVT ¶
func (m *DeleteOrganizationOp) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*DeleteOrganizationOp) MarshalToVT ¶
func (m *DeleteOrganizationOp) MarshalToVT(dAtA []byte) (int, error)
func (*DeleteOrganizationOp) MarshalVT ¶
func (m *DeleteOrganizationOp) MarshalVT() (dAtA []byte, err error)
func (*DeleteOrganizationOp) ProtoMessage ¶
func (*DeleteOrganizationOp) ProtoMessage()
func (*DeleteOrganizationOp) Reset ¶
func (x *DeleteOrganizationOp) Reset()
func (*DeleteOrganizationOp) SizeVT ¶
func (m *DeleteOrganizationOp) SizeVT() (n int)
func (*DeleteOrganizationOp) String ¶
func (x *DeleteOrganizationOp) String() string
func (*DeleteOrganizationOp) UnmarshalBlock ¶
func (o *DeleteOrganizationOp) UnmarshalBlock(data []byte) error
UnmarshalBlock unmarshals the operation from bytes.
func (*DeleteOrganizationOp) UnmarshalJSON ¶
func (x *DeleteOrganizationOp) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the DeleteOrganizationOp from JSON.
func (*DeleteOrganizationOp) UnmarshalProtoJSON ¶
func (x *DeleteOrganizationOp) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the DeleteOrganizationOp message from JSON.
func (*DeleteOrganizationOp) UnmarshalVT ¶
func (m *DeleteOrganizationOp) UnmarshalVT(dAtA []byte) error
func (*DeleteOrganizationOp) Validate ¶
func (o *DeleteOrganizationOp) Validate() error
Validate validates the operation.
type InitOrganizationOp ¶
type InitOrganizationOp struct {
// OrgObjectKey is the key for the organization object.
OrgObjectKey string `protobuf:"bytes,1,opt,name=org_object_key,json=orgObjectKey,proto3" json:"orgObjectKey,omitempty"`
// DisplayName is the organization display name.
DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"displayName,omitempty"`
// CreatorAccountId is the account ID of the organization creator.
CreatorAccountId string `protobuf:"bytes,3,opt,name=creator_account_id,json=creatorAccountId,proto3" json:"creatorAccountId,omitempty"`
// Timestamp is the creation timestamp.
Timestamp *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
// contains filtered or unexported fields
}
InitOrganizationOp initializes an organization world object on space quickstart.
func (*InitOrganizationOp) ApplyWorldObjectOp ¶
func (o *InitOrganizationOp) ApplyWorldObjectOp( ctx context.Context, le *logrus.Entry, os world.ObjectState, sender peer.ID, ) (bool, error)
ApplyWorldObjectOp is not supported for this operation.
func (*InitOrganizationOp) ApplyWorldOp ¶
func (o *InitOrganizationOp) ApplyWorldOp( ctx context.Context, le *logrus.Entry, ws world.WorldState, sender peer.ID, ) (bool, error)
ApplyWorldOp applies the init organization operation.
func (*InitOrganizationOp) CloneMessageVT ¶
func (m *InitOrganizationOp) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*InitOrganizationOp) CloneVT ¶
func (m *InitOrganizationOp) CloneVT() *InitOrganizationOp
func (*InitOrganizationOp) EqualMessageVT ¶
func (this *InitOrganizationOp) EqualMessageVT(thatMsg any) bool
func (*InitOrganizationOp) EqualVT ¶
func (this *InitOrganizationOp) EqualVT(that *InitOrganizationOp) bool
func (*InitOrganizationOp) GetCreatorAccountId ¶
func (x *InitOrganizationOp) GetCreatorAccountId() string
func (*InitOrganizationOp) GetDisplayName ¶
func (x *InitOrganizationOp) GetDisplayName() string
func (*InitOrganizationOp) GetOperationTypeId ¶
func (o *InitOrganizationOp) GetOperationTypeId() string
GetOperationTypeId returns the operation type ID.
func (*InitOrganizationOp) GetOrgObjectKey ¶
func (x *InitOrganizationOp) GetOrgObjectKey() string
func (*InitOrganizationOp) GetTimestamp ¶
func (x *InitOrganizationOp) GetTimestamp() *timestamppb.Timestamp
func (*InitOrganizationOp) MarshalBlock ¶
func (o *InitOrganizationOp) MarshalBlock() ([]byte, error)
MarshalBlock marshals the operation to bytes.
func (*InitOrganizationOp) MarshalJSON ¶
func (x *InitOrganizationOp) MarshalJSON() ([]byte, error)
MarshalJSON marshals the InitOrganizationOp to JSON.
func (*InitOrganizationOp) MarshalProtoJSON ¶
func (x *InitOrganizationOp) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the InitOrganizationOp message to JSON.
func (*InitOrganizationOp) MarshalProtoText ¶
func (x *InitOrganizationOp) MarshalProtoText() string
func (*InitOrganizationOp) MarshalToSizedBufferVT ¶
func (m *InitOrganizationOp) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*InitOrganizationOp) MarshalToVT ¶
func (m *InitOrganizationOp) MarshalToVT(dAtA []byte) (int, error)
func (*InitOrganizationOp) MarshalVT ¶
func (m *InitOrganizationOp) MarshalVT() (dAtA []byte, err error)
func (*InitOrganizationOp) ProtoMessage ¶
func (*InitOrganizationOp) ProtoMessage()
func (*InitOrganizationOp) Reset ¶
func (x *InitOrganizationOp) Reset()
func (*InitOrganizationOp) SizeVT ¶
func (m *InitOrganizationOp) SizeVT() (n int)
func (*InitOrganizationOp) String ¶
func (x *InitOrganizationOp) String() string
func (*InitOrganizationOp) UnmarshalBlock ¶
func (o *InitOrganizationOp) UnmarshalBlock(data []byte) error
UnmarshalBlock unmarshals the operation from bytes.
func (*InitOrganizationOp) UnmarshalJSON ¶
func (x *InitOrganizationOp) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the InitOrganizationOp from JSON.
func (*InitOrganizationOp) UnmarshalProtoJSON ¶
func (x *InitOrganizationOp) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the InitOrganizationOp message from JSON.
func (*InitOrganizationOp) UnmarshalVT ¶
func (m *InitOrganizationOp) UnmarshalVT(dAtA []byte) error
func (*InitOrganizationOp) Validate ¶
func (o *InitOrganizationOp) Validate() error
Validate validates the operation.
type JoinOrgViaInviteOp ¶
type JoinOrgViaInviteOp struct {
// Token is the invite token to validate.
Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
// AccountId is the account ID of the joiner.
AccountId string `protobuf:"bytes,2,opt,name=account_id,json=accountId,proto3" json:"accountId,omitempty"`
// Timestamp is the join timestamp.
Timestamp *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
// contains filtered or unexported fields
}
JoinOrgViaInviteOp joins the organization using an invite token.
func (*JoinOrgViaInviteOp) CloneMessageVT ¶
func (m *JoinOrgViaInviteOp) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*JoinOrgViaInviteOp) CloneVT ¶
func (m *JoinOrgViaInviteOp) CloneVT() *JoinOrgViaInviteOp
func (*JoinOrgViaInviteOp) EqualMessageVT ¶
func (this *JoinOrgViaInviteOp) EqualMessageVT(thatMsg any) bool
func (*JoinOrgViaInviteOp) EqualVT ¶
func (this *JoinOrgViaInviteOp) EqualVT(that *JoinOrgViaInviteOp) bool
func (*JoinOrgViaInviteOp) GetAccountId ¶
func (x *JoinOrgViaInviteOp) GetAccountId() string
func (*JoinOrgViaInviteOp) GetTimestamp ¶
func (x *JoinOrgViaInviteOp) GetTimestamp() *timestamppb.Timestamp
func (*JoinOrgViaInviteOp) GetToken ¶
func (x *JoinOrgViaInviteOp) GetToken() string
func (*JoinOrgViaInviteOp) MarshalJSON ¶
func (x *JoinOrgViaInviteOp) MarshalJSON() ([]byte, error)
MarshalJSON marshals the JoinOrgViaInviteOp to JSON.
func (*JoinOrgViaInviteOp) MarshalProtoJSON ¶
func (x *JoinOrgViaInviteOp) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the JoinOrgViaInviteOp message to JSON.
func (*JoinOrgViaInviteOp) MarshalProtoText ¶
func (x *JoinOrgViaInviteOp) MarshalProtoText() string
func (*JoinOrgViaInviteOp) MarshalToSizedBufferVT ¶
func (m *JoinOrgViaInviteOp) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*JoinOrgViaInviteOp) MarshalToVT ¶
func (m *JoinOrgViaInviteOp) MarshalToVT(dAtA []byte) (int, error)
func (*JoinOrgViaInviteOp) MarshalVT ¶
func (m *JoinOrgViaInviteOp) MarshalVT() (dAtA []byte, err error)
func (*JoinOrgViaInviteOp) ProtoMessage ¶
func (*JoinOrgViaInviteOp) ProtoMessage()
func (*JoinOrgViaInviteOp) Reset ¶
func (x *JoinOrgViaInviteOp) Reset()
func (*JoinOrgViaInviteOp) SizeVT ¶
func (m *JoinOrgViaInviteOp) SizeVT() (n int)
func (*JoinOrgViaInviteOp) String ¶
func (x *JoinOrgViaInviteOp) String() string
func (*JoinOrgViaInviteOp) UnmarshalJSON ¶
func (x *JoinOrgViaInviteOp) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the JoinOrgViaInviteOp from JSON.
func (*JoinOrgViaInviteOp) UnmarshalProtoJSON ¶
func (x *JoinOrgViaInviteOp) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the JoinOrgViaInviteOp message from JSON.
func (*JoinOrgViaInviteOp) UnmarshalVT ¶
func (m *JoinOrgViaInviteOp) UnmarshalVT(dAtA []byte) error
type OrgChildRef ¶
type OrgChildRef struct {
SharedObjectId string `protobuf:"bytes,1,opt,name=shared_object_id,json=sharedObjectId,proto3" json:"sharedObjectId,omitempty"`
// contains filtered or unexported fields
}
OrgChildRef is a reference to a child SharedObject owned by this organization.
func (*OrgChildRef) CloneMessageVT ¶
func (m *OrgChildRef) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*OrgChildRef) CloneVT ¶
func (m *OrgChildRef) CloneVT() *OrgChildRef
func (*OrgChildRef) EqualMessageVT ¶
func (this *OrgChildRef) EqualMessageVT(thatMsg any) bool
func (*OrgChildRef) EqualVT ¶
func (this *OrgChildRef) EqualVT(that *OrgChildRef) bool
func (*OrgChildRef) GetSharedObjectId ¶
func (x *OrgChildRef) GetSharedObjectId() string
func (*OrgChildRef) MarshalJSON ¶
func (x *OrgChildRef) MarshalJSON() ([]byte, error)
MarshalJSON marshals the OrgChildRef to JSON.
func (*OrgChildRef) MarshalProtoJSON ¶
func (x *OrgChildRef) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the OrgChildRef message to JSON.
func (*OrgChildRef) MarshalProtoText ¶
func (x *OrgChildRef) MarshalProtoText() string
func (*OrgChildRef) MarshalToSizedBufferVT ¶
func (m *OrgChildRef) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*OrgChildRef) MarshalToVT ¶
func (m *OrgChildRef) MarshalToVT(dAtA []byte) (int, error)
func (*OrgChildRef) MarshalVT ¶
func (m *OrgChildRef) MarshalVT() (dAtA []byte, err error)
func (*OrgChildRef) ProtoMessage ¶
func (*OrgChildRef) ProtoMessage()
func (*OrgChildRef) Reset ¶
func (x *OrgChildRef) Reset()
func (*OrgChildRef) SizeVT ¶
func (m *OrgChildRef) SizeVT() (n int)
func (*OrgChildRef) String ¶
func (x *OrgChildRef) String() string
func (*OrgChildRef) UnmarshalJSON ¶
func (x *OrgChildRef) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the OrgChildRef from JSON.
func (*OrgChildRef) UnmarshalProtoJSON ¶
func (x *OrgChildRef) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the OrgChildRef message from JSON.
func (*OrgChildRef) UnmarshalVT ¶
func (m *OrgChildRef) UnmarshalVT(dAtA []byte) error
type OrgInvite ¶
type OrgInvite struct {
// Id is the unique invite identifier.
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// Type is the invite mechanism type.
Type OrgInviteType `protobuf:"varint,2,opt,name=type,proto3" json:"type,omitempty"`
// Token is the invite token (8-char code, 32-char hex, or email-specific).
Token string `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"`
// Config is optional invite configuration (e.g. target email for email invites).
Config string `protobuf:"bytes,4,opt,name=config,proto3" json:"config,omitempty"`
// Uses is the current number of times this invite has been used.
Uses uint32 `protobuf:"varint,5,opt,name=uses,proto3" json:"uses,omitempty"`
// MaxUses is the maximum number of uses (0 = unlimited).
MaxUses uint32 `protobuf:"varint,6,opt,name=max_uses,json=maxUses,proto3" json:"maxUses,omitempty"`
// ExpiresAt is the invite expiration timestamp (zero = no expiry).
ExpiresAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=expires_at,json=expiresAt,proto3" json:"expiresAt,omitempty"`
// contains filtered or unexported fields
}
OrgInvite is an organization invite stored in OrgState.
func (*OrgInvite) CloneMessageVT ¶
func (m *OrgInvite) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*OrgInvite) EqualMessageVT ¶
func (*OrgInvite) GetExpiresAt ¶
func (x *OrgInvite) GetExpiresAt() *timestamppb.Timestamp
func (*OrgInvite) GetMaxUses ¶
func (*OrgInvite) GetType ¶
func (x *OrgInvite) GetType() OrgInviteType
func (*OrgInvite) MarshalJSON ¶
MarshalJSON marshals the OrgInvite to JSON.
func (*OrgInvite) MarshalProtoJSON ¶
func (x *OrgInvite) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the OrgInvite message to JSON.
func (*OrgInvite) MarshalProtoText ¶
func (*OrgInvite) MarshalToSizedBufferVT ¶
func (*OrgInvite) ProtoMessage ¶
func (*OrgInvite) ProtoMessage()
func (*OrgInvite) UnmarshalJSON ¶
UnmarshalJSON unmarshals the OrgInvite from JSON.
func (*OrgInvite) UnmarshalProtoJSON ¶
func (x *OrgInvite) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the OrgInvite message from JSON.
func (*OrgInvite) UnmarshalVT ¶
type OrgInviteType ¶
type OrgInviteType int32
OrgInviteType is the type of organization invite.
const ( // ORG_INVITE_TYPE_UNKNOWN is unknown. OrgInviteType_ORG_INVITE_TYPE_UNKNOWN OrgInviteType = 0 // ORG_INVITE_TYPE_CODE is a short alphanumeric code invite. OrgInviteType_ORG_INVITE_TYPE_CODE OrgInviteType = 1 // ORG_INVITE_TYPE_LINK is a URL link invite. OrgInviteType_ORG_INVITE_TYPE_LINK OrgInviteType = 2 // ORG_INVITE_TYPE_EMAIL is an email invite (cloud relay). OrgInviteType_ORG_INVITE_TYPE_EMAIL OrgInviteType = 3 )
func (OrgInviteType) Enum ¶
func (x OrgInviteType) Enum() *OrgInviteType
func (OrgInviteType) MarshalJSON ¶
func (x OrgInviteType) MarshalJSON() ([]byte, error)
MarshalJSON marshals the OrgInviteType to JSON.
func (OrgInviteType) MarshalProtoJSON ¶
func (x OrgInviteType) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the OrgInviteType to JSON.
func (OrgInviteType) MarshalProtoText ¶
func (x OrgInviteType) MarshalProtoText() string
func (OrgInviteType) MarshalText ¶
func (x OrgInviteType) MarshalText() ([]byte, error)
MarshalText marshals the OrgInviteType to text.
func (OrgInviteType) String ¶
func (x OrgInviteType) String() string
func (*OrgInviteType) UnmarshalJSON ¶
func (x *OrgInviteType) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the OrgInviteType from JSON.
func (*OrgInviteType) UnmarshalProtoJSON ¶
func (x *OrgInviteType) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the OrgInviteType from JSON.
func (*OrgInviteType) UnmarshalText ¶
func (x *OrgInviteType) UnmarshalText(b []byte) error
UnmarshalText unmarshals the OrgInviteType from text.
type OrgMemberInfo ¶
type OrgMemberInfo struct {
// AccountId is the member's account identifier.
AccountId string `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"accountId,omitempty"`
// DisplayRole is the human-readable role label (e.g. "Owner", "Member").
DisplayRole string `protobuf:"bytes,2,opt,name=display_role,json=displayRole,proto3" json:"displayRole,omitempty"`
// JoinedAt is when the member joined the organization.
JoinedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=joined_at,json=joinedAt,proto3" json:"joinedAt,omitempty"`
// contains filtered or unexported fields
}
OrgMemberInfo contains per-member metadata within the organization. Supplements SOParticipantConfig (which holds crypto access roles).
func (*OrgMemberInfo) CloneMessageVT ¶
func (m *OrgMemberInfo) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*OrgMemberInfo) CloneVT ¶
func (m *OrgMemberInfo) CloneVT() *OrgMemberInfo
func (*OrgMemberInfo) EqualMessageVT ¶
func (this *OrgMemberInfo) EqualMessageVT(thatMsg any) bool
func (*OrgMemberInfo) EqualVT ¶
func (this *OrgMemberInfo) EqualVT(that *OrgMemberInfo) bool
func (*OrgMemberInfo) GetAccountId ¶
func (x *OrgMemberInfo) GetAccountId() string
func (*OrgMemberInfo) GetDisplayRole ¶
func (x *OrgMemberInfo) GetDisplayRole() string
func (*OrgMemberInfo) GetJoinedAt ¶
func (x *OrgMemberInfo) GetJoinedAt() *timestamppb.Timestamp
func (*OrgMemberInfo) MarshalJSON ¶
func (x *OrgMemberInfo) MarshalJSON() ([]byte, error)
MarshalJSON marshals the OrgMemberInfo to JSON.
func (*OrgMemberInfo) MarshalProtoJSON ¶
func (x *OrgMemberInfo) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the OrgMemberInfo message to JSON.
func (*OrgMemberInfo) MarshalProtoText ¶
func (x *OrgMemberInfo) MarshalProtoText() string
func (*OrgMemberInfo) MarshalToSizedBufferVT ¶
func (m *OrgMemberInfo) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*OrgMemberInfo) MarshalToVT ¶
func (m *OrgMemberInfo) MarshalToVT(dAtA []byte) (int, error)
func (*OrgMemberInfo) MarshalVT ¶
func (m *OrgMemberInfo) MarshalVT() (dAtA []byte, err error)
func (*OrgMemberInfo) ProtoMessage ¶
func (*OrgMemberInfo) ProtoMessage()
func (*OrgMemberInfo) Reset ¶
func (x *OrgMemberInfo) Reset()
func (*OrgMemberInfo) SizeVT ¶
func (m *OrgMemberInfo) SizeVT() (n int)
func (*OrgMemberInfo) String ¶
func (x *OrgMemberInfo) String() string
func (*OrgMemberInfo) UnmarshalJSON ¶
func (x *OrgMemberInfo) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the OrgMemberInfo from JSON.
func (*OrgMemberInfo) UnmarshalProtoJSON ¶
func (x *OrgMemberInfo) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the OrgMemberInfo message from JSON.
func (*OrgMemberInfo) UnmarshalVT ¶
func (m *OrgMemberInfo) UnmarshalVT(dAtA []byte) error
type OrgResource ¶
type OrgResource struct {
// contains filtered or unexported fields
}
OrgResource implements the OrgResourceService SRPC interface.
func NewOrgResource ¶
func NewOrgResource(ws world.WorldState, objKey string, state *OrgState) *OrgResource
NewOrgResource creates a new OrgResource. If ws and objKey are set, the resource watches the World object and streams state revisions to WatchOrgState callers.
func (*OrgResource) Close ¶ added in v0.57.2
func (r *OrgResource) Close()
Close releases the org resource lifecycle.
func (*OrgResource) GetMux ¶
func (r *OrgResource) GetMux() srpc.Mux
GetMux returns the srpc mux for this resource.
func (*OrgResource) WatchOrgState ¶
func (r *OrgResource) WatchOrgState(_ *WatchOrgStateRequest, strm SRPCOrgResourceService_WatchOrgStateStream) error
WatchOrgState streams organization state changes.
type OrgSOOp ¶
type OrgSOOp struct {
// Body is the operation to apply.
//
// Types that are assignable to Body:
//
// *OrgSOOp_InitOrg
// *OrgSOOp_UpdateOrg
// *OrgSOOp_DeleteOrg
Body isOrgSOOp_Body `protobuf_oneof:"body"`
// contains filtered or unexported fields
}
OrgSOOp wraps org operations for the lightweight SO state processor. This is the operation format queued to org SharedObjects.
func (*OrgSOOp) CloneMessageVT ¶
func (m *OrgSOOp) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*OrgSOOp) EqualMessageVT ¶
func (*OrgSOOp) GetDeleteOrg ¶
func (x *OrgSOOp) GetDeleteOrg() *DeleteOrganizationOp
func (*OrgSOOp) GetInitOrg ¶
func (x *OrgSOOp) GetInitOrg() *InitOrganizationOp
func (*OrgSOOp) GetUpdateOrg ¶
func (x *OrgSOOp) GetUpdateOrg() *UpdateOrgOp
func (*OrgSOOp) MarshalJSON ¶
MarshalJSON marshals the OrgSOOp to JSON.
func (*OrgSOOp) MarshalProtoJSON ¶
func (x *OrgSOOp) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the OrgSOOp message to JSON.
func (*OrgSOOp) MarshalProtoText ¶
func (*OrgSOOp) MarshalToSizedBufferVT ¶
func (*OrgSOOp) ProtoMessage ¶
func (*OrgSOOp) ProtoMessage()
func (*OrgSOOp) UnmarshalJSON ¶
UnmarshalJSON unmarshals the OrgSOOp from JSON.
func (*OrgSOOp) UnmarshalProtoJSON ¶
func (x *OrgSOOp) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the OrgSOOp message from JSON.
func (*OrgSOOp) UnmarshalVT ¶
type OrgSOOp_DeleteOrg ¶
type OrgSOOp_DeleteOrg struct {
// DeleteOrg marks the organization as deleted.
DeleteOrg *DeleteOrganizationOp `protobuf:"bytes,3,opt,name=delete_org,json=deleteOrg,proto3,oneof"`
}
func (*OrgSOOp_DeleteOrg) CloneOneofVT ¶
func (m *OrgSOOp_DeleteOrg) CloneOneofVT() isOrgSOOp_Body
func (*OrgSOOp_DeleteOrg) CloneVT ¶
func (m *OrgSOOp_DeleteOrg) CloneVT() *OrgSOOp_DeleteOrg
func (*OrgSOOp_DeleteOrg) EqualVT ¶
func (this *OrgSOOp_DeleteOrg) EqualVT(thatIface isOrgSOOp_Body) bool
func (*OrgSOOp_DeleteOrg) MarshalToSizedBufferVT ¶
func (m *OrgSOOp_DeleteOrg) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*OrgSOOp_DeleteOrg) MarshalToVT ¶
func (m *OrgSOOp_DeleteOrg) MarshalToVT(dAtA []byte) (int, error)
func (*OrgSOOp_DeleteOrg) SizeVT ¶
func (m *OrgSOOp_DeleteOrg) SizeVT() (n int)
type OrgSOOp_InitOrg ¶
type OrgSOOp_InitOrg struct {
// InitOrg initializes the organization state.
InitOrg *InitOrganizationOp `protobuf:"bytes,1,opt,name=init_org,json=initOrg,proto3,oneof"`
}
func (*OrgSOOp_InitOrg) CloneOneofVT ¶
func (m *OrgSOOp_InitOrg) CloneOneofVT() isOrgSOOp_Body
func (*OrgSOOp_InitOrg) CloneVT ¶
func (m *OrgSOOp_InitOrg) CloneVT() *OrgSOOp_InitOrg
func (*OrgSOOp_InitOrg) EqualVT ¶
func (this *OrgSOOp_InitOrg) EqualVT(thatIface isOrgSOOp_Body) bool
func (*OrgSOOp_InitOrg) MarshalToSizedBufferVT ¶
func (m *OrgSOOp_InitOrg) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*OrgSOOp_InitOrg) MarshalToVT ¶
func (m *OrgSOOp_InitOrg) MarshalToVT(dAtA []byte) (int, error)
func (*OrgSOOp_InitOrg) SizeVT ¶
func (m *OrgSOOp_InitOrg) SizeVT() (n int)
type OrgSOOp_UpdateOrg ¶
type OrgSOOp_UpdateOrg struct {
// UpdateOrg applies a mutation to the organization state.
UpdateOrg *UpdateOrgOp `protobuf:"bytes,2,opt,name=update_org,json=updateOrg,proto3,oneof"`
}
func (*OrgSOOp_UpdateOrg) CloneOneofVT ¶
func (m *OrgSOOp_UpdateOrg) CloneOneofVT() isOrgSOOp_Body
func (*OrgSOOp_UpdateOrg) CloneVT ¶
func (m *OrgSOOp_UpdateOrg) CloneVT() *OrgSOOp_UpdateOrg
func (*OrgSOOp_UpdateOrg) EqualVT ¶
func (this *OrgSOOp_UpdateOrg) EqualVT(thatIface isOrgSOOp_Body) bool
func (*OrgSOOp_UpdateOrg) MarshalToSizedBufferVT ¶
func (m *OrgSOOp_UpdateOrg) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*OrgSOOp_UpdateOrg) MarshalToVT ¶
func (m *OrgSOOp_UpdateOrg) MarshalToVT(dAtA []byte) (int, error)
func (*OrgSOOp_UpdateOrg) SizeVT ¶
func (m *OrgSOOp_UpdateOrg) SizeVT() (n int)
type OrgState ¶
type OrgState struct {
// DisplayName is the organization display name.
DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"displayName,omitempty"`
// CreatedAt is the organization creation timestamp.
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"createdAt,omitempty"`
// BillingAccountId is the linked billing account ID (cloud only).
// Empty until a subscription is created for the org.
BillingAccountId string `protobuf:"bytes,3,opt,name=billing_account_id,json=billingAccountId,proto3" json:"billingAccountId,omitempty"`
// Members is the list of organization members with metadata.
// SOParticipantConfig is the authority for membership, this is supplementary.
Members []*OrgMemberInfo `protobuf:"bytes,4,rep,name=members,proto3" json:"members,omitempty"`
ChildSharedObjects []*OrgChildRef `protobuf:"bytes,5,rep,name=child_shared_objects,json=childSharedObjects,proto3" json:"childSharedObjects,omitempty"`
// Invites is the list of active organization invites.
Invites []*OrgInvite `protobuf:"bytes,6,rep,name=invites,proto3" json:"invites,omitempty"`
// contains filtered or unexported fields
}
OrgState is the state of an Organization SharedObject. Stored as the organization's world block.
func UnmarshalOrgState ¶
UnmarshalOrgState unmarshals an org state from a cursor.
func (*OrgState) CloneMessageVT ¶
func (m *OrgState) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*OrgState) EqualMessageVT ¶
func (*OrgState) GetBillingAccountId ¶
func (*OrgState) GetChildSharedObjects ¶
func (x *OrgState) GetChildSharedObjects() []*OrgChildRef
func (*OrgState) GetCreatedAt ¶
func (x *OrgState) GetCreatedAt() *timestamppb.Timestamp
func (*OrgState) GetDisplayName ¶
func (*OrgState) GetInvites ¶
func (*OrgState) GetMembers ¶
func (x *OrgState) GetMembers() []*OrgMemberInfo
func (*OrgState) MarshalBlock ¶
MarshalBlock marshals the OrgState to bytes.
func (*OrgState) MarshalJSON ¶
MarshalJSON marshals the OrgState to JSON.
func (*OrgState) MarshalProtoJSON ¶
func (x *OrgState) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the OrgState message to JSON.
func (*OrgState) MarshalProtoText ¶
func (*OrgState) MarshalToSizedBufferVT ¶
func (*OrgState) ProtoMessage ¶
func (*OrgState) ProtoMessage()
func (*OrgState) UnmarshalBlock ¶
UnmarshalBlock unmarshals the OrgState from bytes.
func (*OrgState) UnmarshalJSON ¶
UnmarshalJSON unmarshals the OrgState from JSON.
func (*OrgState) UnmarshalProtoJSON ¶
func (x *OrgState) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the OrgState message from JSON.
func (*OrgState) UnmarshalVT ¶
type RemoveOrgChildSo ¶
type RemoveOrgChildSo struct {
SharedObjectId string `protobuf:"bytes,1,opt,name=shared_object_id,json=sharedObjectId,proto3" json:"sharedObjectId,omitempty"`
// contains filtered or unexported fields
}
RemoveOrgChildSo is the body for removing a child SO reference.
func (*RemoveOrgChildSo) CloneMessageVT ¶
func (m *RemoveOrgChildSo) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*RemoveOrgChildSo) CloneVT ¶
func (m *RemoveOrgChildSo) CloneVT() *RemoveOrgChildSo
func (*RemoveOrgChildSo) EqualMessageVT ¶
func (this *RemoveOrgChildSo) EqualMessageVT(thatMsg any) bool
func (*RemoveOrgChildSo) EqualVT ¶
func (this *RemoveOrgChildSo) EqualVT(that *RemoveOrgChildSo) bool
func (*RemoveOrgChildSo) GetSharedObjectId ¶
func (x *RemoveOrgChildSo) GetSharedObjectId() string
func (*RemoveOrgChildSo) MarshalJSON ¶
func (x *RemoveOrgChildSo) MarshalJSON() ([]byte, error)
MarshalJSON marshals the RemoveOrgChildSo to JSON.
func (*RemoveOrgChildSo) MarshalProtoJSON ¶
func (x *RemoveOrgChildSo) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the RemoveOrgChildSo message to JSON.
func (*RemoveOrgChildSo) MarshalProtoText ¶
func (x *RemoveOrgChildSo) MarshalProtoText() string
func (*RemoveOrgChildSo) MarshalToSizedBufferVT ¶
func (m *RemoveOrgChildSo) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*RemoveOrgChildSo) MarshalToVT ¶
func (m *RemoveOrgChildSo) MarshalToVT(dAtA []byte) (int, error)
func (*RemoveOrgChildSo) MarshalVT ¶
func (m *RemoveOrgChildSo) MarshalVT() (dAtA []byte, err error)
func (*RemoveOrgChildSo) ProtoMessage ¶
func (*RemoveOrgChildSo) ProtoMessage()
func (*RemoveOrgChildSo) Reset ¶
func (x *RemoveOrgChildSo) Reset()
func (*RemoveOrgChildSo) SizeVT ¶
func (m *RemoveOrgChildSo) SizeVT() (n int)
func (*RemoveOrgChildSo) String ¶
func (x *RemoveOrgChildSo) String() string
func (*RemoveOrgChildSo) UnmarshalJSON ¶
func (x *RemoveOrgChildSo) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the RemoveOrgChildSo from JSON.
func (*RemoveOrgChildSo) UnmarshalProtoJSON ¶
func (x *RemoveOrgChildSo) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the RemoveOrgChildSo message from JSON.
func (*RemoveOrgChildSo) UnmarshalVT ¶
func (m *RemoveOrgChildSo) UnmarshalVT(dAtA []byte) error
type RemoveOrgMember ¶
type RemoveOrgMember struct {
// AccountId is the account ID of the member to remove.
AccountId string `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"accountId,omitempty"`
// contains filtered or unexported fields
}
RemoveOrgMember is the body for removing a member.
func (*RemoveOrgMember) CloneMessageVT ¶
func (m *RemoveOrgMember) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*RemoveOrgMember) CloneVT ¶
func (m *RemoveOrgMember) CloneVT() *RemoveOrgMember
func (*RemoveOrgMember) EqualMessageVT ¶
func (this *RemoveOrgMember) EqualMessageVT(thatMsg any) bool
func (*RemoveOrgMember) EqualVT ¶
func (this *RemoveOrgMember) EqualVT(that *RemoveOrgMember) bool
func (*RemoveOrgMember) GetAccountId ¶
func (x *RemoveOrgMember) GetAccountId() string
func (*RemoveOrgMember) MarshalJSON ¶
func (x *RemoveOrgMember) MarshalJSON() ([]byte, error)
MarshalJSON marshals the RemoveOrgMember to JSON.
func (*RemoveOrgMember) MarshalProtoJSON ¶
func (x *RemoveOrgMember) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the RemoveOrgMember message to JSON.
func (*RemoveOrgMember) MarshalProtoText ¶
func (x *RemoveOrgMember) MarshalProtoText() string
func (*RemoveOrgMember) MarshalToSizedBufferVT ¶
func (m *RemoveOrgMember) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*RemoveOrgMember) MarshalToVT ¶
func (m *RemoveOrgMember) MarshalToVT(dAtA []byte) (int, error)
func (*RemoveOrgMember) MarshalVT ¶
func (m *RemoveOrgMember) MarshalVT() (dAtA []byte, err error)
func (*RemoveOrgMember) ProtoMessage ¶
func (*RemoveOrgMember) ProtoMessage()
func (*RemoveOrgMember) Reset ¶
func (x *RemoveOrgMember) Reset()
func (*RemoveOrgMember) SizeVT ¶
func (m *RemoveOrgMember) SizeVT() (n int)
func (*RemoveOrgMember) String ¶
func (x *RemoveOrgMember) String() string
func (*RemoveOrgMember) UnmarshalJSON ¶
func (x *RemoveOrgMember) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the RemoveOrgMember from JSON.
func (*RemoveOrgMember) UnmarshalProtoJSON ¶
func (x *RemoveOrgMember) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the RemoveOrgMember message from JSON.
func (*RemoveOrgMember) UnmarshalVT ¶
func (m *RemoveOrgMember) UnmarshalVT(dAtA []byte) error
type RevokeOrgInviteOp ¶
type RevokeOrgInviteOp struct {
// InviteId is the ID of the invite to revoke.
InviteId string `protobuf:"bytes,1,opt,name=invite_id,json=inviteId,proto3" json:"inviteId,omitempty"`
// contains filtered or unexported fields
}
RevokeOrgInviteOp revokes an existing invite by ID.
func (*RevokeOrgInviteOp) CloneMessageVT ¶
func (m *RevokeOrgInviteOp) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*RevokeOrgInviteOp) CloneVT ¶
func (m *RevokeOrgInviteOp) CloneVT() *RevokeOrgInviteOp
func (*RevokeOrgInviteOp) EqualMessageVT ¶
func (this *RevokeOrgInviteOp) EqualMessageVT(thatMsg any) bool
func (*RevokeOrgInviteOp) EqualVT ¶
func (this *RevokeOrgInviteOp) EqualVT(that *RevokeOrgInviteOp) bool
func (*RevokeOrgInviteOp) GetInviteId ¶
func (x *RevokeOrgInviteOp) GetInviteId() string
func (*RevokeOrgInviteOp) MarshalJSON ¶
func (x *RevokeOrgInviteOp) MarshalJSON() ([]byte, error)
MarshalJSON marshals the RevokeOrgInviteOp to JSON.
func (*RevokeOrgInviteOp) MarshalProtoJSON ¶
func (x *RevokeOrgInviteOp) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the RevokeOrgInviteOp message to JSON.
func (*RevokeOrgInviteOp) MarshalProtoText ¶
func (x *RevokeOrgInviteOp) MarshalProtoText() string
func (*RevokeOrgInviteOp) MarshalToSizedBufferVT ¶
func (m *RevokeOrgInviteOp) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*RevokeOrgInviteOp) MarshalToVT ¶
func (m *RevokeOrgInviteOp) MarshalToVT(dAtA []byte) (int, error)
func (*RevokeOrgInviteOp) MarshalVT ¶
func (m *RevokeOrgInviteOp) MarshalVT() (dAtA []byte, err error)
func (*RevokeOrgInviteOp) ProtoMessage ¶
func (*RevokeOrgInviteOp) ProtoMessage()
func (*RevokeOrgInviteOp) Reset ¶
func (x *RevokeOrgInviteOp) Reset()
func (*RevokeOrgInviteOp) SizeVT ¶
func (m *RevokeOrgInviteOp) SizeVT() (n int)
func (*RevokeOrgInviteOp) String ¶
func (x *RevokeOrgInviteOp) String() string
func (*RevokeOrgInviteOp) UnmarshalJSON ¶
func (x *RevokeOrgInviteOp) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the RevokeOrgInviteOp from JSON.
func (*RevokeOrgInviteOp) UnmarshalProtoJSON ¶
func (x *RevokeOrgInviteOp) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the RevokeOrgInviteOp message from JSON.
func (*RevokeOrgInviteOp) UnmarshalVT ¶
func (m *RevokeOrgInviteOp) UnmarshalVT(dAtA []byte) error
type SRPCOrgResourceServiceClient ¶
type SRPCOrgResourceServiceClient interface {
// SRPCClient returns the underlying SRPC client.
SRPCClient() srpc.Client
WatchOrgState(ctx context.Context, in *WatchOrgStateRequest) (SRPCOrgResourceService_WatchOrgStateClient, error)
}
func NewSRPCOrgResourceServiceClient ¶
func NewSRPCOrgResourceServiceClient(cc srpc.Client) SRPCOrgResourceServiceClient
func NewSRPCOrgResourceServiceClientWithServiceID ¶
func NewSRPCOrgResourceServiceClientWithServiceID(cc srpc.Client, serviceID string) SRPCOrgResourceServiceClient
type SRPCOrgResourceServiceHandler ¶
type SRPCOrgResourceServiceHandler struct {
// contains filtered or unexported fields
}
func (SRPCOrgResourceServiceHandler) GetMethodIDs ¶
func (SRPCOrgResourceServiceHandler) GetMethodIDs() []string
func (*SRPCOrgResourceServiceHandler) GetServiceID ¶
func (d *SRPCOrgResourceServiceHandler) GetServiceID() string
func (*SRPCOrgResourceServiceHandler) InvokeMethod ¶
func (SRPCOrgResourceServiceHandler) InvokeMethod_WatchOrgState ¶
func (SRPCOrgResourceServiceHandler) InvokeMethod_WatchOrgState(impl SRPCOrgResourceServiceServer, strm srpc.Stream) error
type SRPCOrgResourceServiceServer ¶
type SRPCOrgResourceServiceServer interface {
WatchOrgState(*WatchOrgStateRequest, SRPCOrgResourceService_WatchOrgStateStream) error
}
type SRPCOrgResourceService_WatchOrgStateClient ¶
type SRPCOrgResourceService_WatchOrgStateClient interface {
srpc.Stream
Recv() (*WatchOrgStateResponse, error)
RecvTo(*WatchOrgStateResponse) error
}
type SRPCOrgResourceService_WatchOrgStateStream ¶
type SRPCOrgResourceService_WatchOrgStateStream interface {
srpc.Stream
Send(*WatchOrgStateResponse) error
SendAndClose(*WatchOrgStateResponse) error
}
type UpdateOrgDisplayName ¶
type UpdateOrgDisplayName struct {
// DisplayName is the new display name.
DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"displayName,omitempty"`
// contains filtered or unexported fields
}
UpdateOrgDisplayName is the body for updating the org display name.
func (*UpdateOrgDisplayName) CloneMessageVT ¶
func (m *UpdateOrgDisplayName) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*UpdateOrgDisplayName) CloneVT ¶
func (m *UpdateOrgDisplayName) CloneVT() *UpdateOrgDisplayName
func (*UpdateOrgDisplayName) EqualMessageVT ¶
func (this *UpdateOrgDisplayName) EqualMessageVT(thatMsg any) bool
func (*UpdateOrgDisplayName) EqualVT ¶
func (this *UpdateOrgDisplayName) EqualVT(that *UpdateOrgDisplayName) bool
func (*UpdateOrgDisplayName) GetDisplayName ¶
func (x *UpdateOrgDisplayName) GetDisplayName() string
func (*UpdateOrgDisplayName) MarshalJSON ¶
func (x *UpdateOrgDisplayName) MarshalJSON() ([]byte, error)
MarshalJSON marshals the UpdateOrgDisplayName to JSON.
func (*UpdateOrgDisplayName) MarshalProtoJSON ¶
func (x *UpdateOrgDisplayName) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the UpdateOrgDisplayName message to JSON.
func (*UpdateOrgDisplayName) MarshalProtoText ¶
func (x *UpdateOrgDisplayName) MarshalProtoText() string
func (*UpdateOrgDisplayName) MarshalToSizedBufferVT ¶
func (m *UpdateOrgDisplayName) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*UpdateOrgDisplayName) MarshalToVT ¶
func (m *UpdateOrgDisplayName) MarshalToVT(dAtA []byte) (int, error)
func (*UpdateOrgDisplayName) MarshalVT ¶
func (m *UpdateOrgDisplayName) MarshalVT() (dAtA []byte, err error)
func (*UpdateOrgDisplayName) ProtoMessage ¶
func (*UpdateOrgDisplayName) ProtoMessage()
func (*UpdateOrgDisplayName) Reset ¶
func (x *UpdateOrgDisplayName) Reset()
func (*UpdateOrgDisplayName) SizeVT ¶
func (m *UpdateOrgDisplayName) SizeVT() (n int)
func (*UpdateOrgDisplayName) String ¶
func (x *UpdateOrgDisplayName) String() string
func (*UpdateOrgDisplayName) UnmarshalJSON ¶
func (x *UpdateOrgDisplayName) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the UpdateOrgDisplayName from JSON.
func (*UpdateOrgDisplayName) UnmarshalProtoJSON ¶
func (x *UpdateOrgDisplayName) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the UpdateOrgDisplayName message from JSON.
func (*UpdateOrgDisplayName) UnmarshalVT ¶
func (m *UpdateOrgDisplayName) UnmarshalVT(dAtA []byte) error
type UpdateOrgOp ¶
type UpdateOrgOp struct {
// OrgObjectKey is the key for the organization object.
OrgObjectKey string `protobuf:"bytes,1,opt,name=org_object_key,json=orgObjectKey,proto3" json:"orgObjectKey,omitempty"`
// Body is the mutation to apply.
//
// Types that are assignable to Body:
//
// *UpdateOrgOp_UpdateDisplayName
// *UpdateOrgOp_AddMember
// *UpdateOrgOp_RemoveMember
// *UpdateOrgOp_AddChildSo
// *UpdateOrgOp_RemoveChildSo
// *UpdateOrgOp_CreateInvite
// *UpdateOrgOp_RevokeInvite
// *UpdateOrgOp_JoinViaInvite
Body isUpdateOrgOp_Body `protobuf_oneof:"body"`
// contains filtered or unexported fields
}
UpdateOrgOp applies a mutation to an existing organization object.
func (*UpdateOrgOp) ApplyWorldObjectOp ¶
func (o *UpdateOrgOp) ApplyWorldObjectOp( ctx context.Context, le *logrus.Entry, os world.ObjectState, sender peer.ID, ) (bool, error)
ApplyWorldObjectOp is not supported for this operation.
func (*UpdateOrgOp) ApplyWorldOp ¶
func (o *UpdateOrgOp) ApplyWorldOp( ctx context.Context, le *logrus.Entry, ws world.WorldState, sender peer.ID, ) (bool, error)
ApplyWorldOp applies the update organization operation.
func (*UpdateOrgOp) CloneMessageVT ¶
func (m *UpdateOrgOp) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*UpdateOrgOp) CloneVT ¶
func (m *UpdateOrgOp) CloneVT() *UpdateOrgOp
func (*UpdateOrgOp) EqualMessageVT ¶
func (this *UpdateOrgOp) EqualMessageVT(thatMsg any) bool
func (*UpdateOrgOp) EqualVT ¶
func (this *UpdateOrgOp) EqualVT(that *UpdateOrgOp) bool
func (*UpdateOrgOp) GetAddChildSo ¶
func (x *UpdateOrgOp) GetAddChildSo() *AddOrgChildSo
func (*UpdateOrgOp) GetAddMember ¶
func (x *UpdateOrgOp) GetAddMember() *AddOrgMember
func (*UpdateOrgOp) GetBody ¶
func (m *UpdateOrgOp) GetBody() isUpdateOrgOp_Body
func (*UpdateOrgOp) GetCreateInvite ¶
func (x *UpdateOrgOp) GetCreateInvite() *CreateOrgInviteOp
func (*UpdateOrgOp) GetJoinViaInvite ¶
func (x *UpdateOrgOp) GetJoinViaInvite() *JoinOrgViaInviteOp
func (*UpdateOrgOp) GetOperationTypeId ¶
func (o *UpdateOrgOp) GetOperationTypeId() string
GetOperationTypeId returns the operation type ID.
func (*UpdateOrgOp) GetOrgObjectKey ¶
func (x *UpdateOrgOp) GetOrgObjectKey() string
func (*UpdateOrgOp) GetRemoveChildSo ¶
func (x *UpdateOrgOp) GetRemoveChildSo() *RemoveOrgChildSo
func (*UpdateOrgOp) GetRemoveMember ¶
func (x *UpdateOrgOp) GetRemoveMember() *RemoveOrgMember
func (*UpdateOrgOp) GetRevokeInvite ¶
func (x *UpdateOrgOp) GetRevokeInvite() *RevokeOrgInviteOp
func (*UpdateOrgOp) GetUpdateDisplayName ¶
func (x *UpdateOrgOp) GetUpdateDisplayName() *UpdateOrgDisplayName
func (*UpdateOrgOp) MarshalBlock ¶
func (o *UpdateOrgOp) MarshalBlock() ([]byte, error)
MarshalBlock marshals the operation to bytes.
func (*UpdateOrgOp) MarshalJSON ¶
func (x *UpdateOrgOp) MarshalJSON() ([]byte, error)
MarshalJSON marshals the UpdateOrgOp to JSON.
func (*UpdateOrgOp) MarshalProtoJSON ¶
func (x *UpdateOrgOp) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the UpdateOrgOp message to JSON.
func (*UpdateOrgOp) MarshalProtoText ¶
func (x *UpdateOrgOp) MarshalProtoText() string
func (*UpdateOrgOp) MarshalToSizedBufferVT ¶
func (m *UpdateOrgOp) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*UpdateOrgOp) MarshalToVT ¶
func (m *UpdateOrgOp) MarshalToVT(dAtA []byte) (int, error)
func (*UpdateOrgOp) MarshalVT ¶
func (m *UpdateOrgOp) MarshalVT() (dAtA []byte, err error)
func (*UpdateOrgOp) ProtoMessage ¶
func (*UpdateOrgOp) ProtoMessage()
func (*UpdateOrgOp) Reset ¶
func (x *UpdateOrgOp) Reset()
func (*UpdateOrgOp) SizeVT ¶
func (m *UpdateOrgOp) SizeVT() (n int)
func (*UpdateOrgOp) String ¶
func (x *UpdateOrgOp) String() string
func (*UpdateOrgOp) UnmarshalBlock ¶
func (o *UpdateOrgOp) UnmarshalBlock(data []byte) error
UnmarshalBlock unmarshals the operation from bytes.
func (*UpdateOrgOp) UnmarshalJSON ¶
func (x *UpdateOrgOp) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the UpdateOrgOp from JSON.
func (*UpdateOrgOp) UnmarshalProtoJSON ¶
func (x *UpdateOrgOp) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the UpdateOrgOp message from JSON.
func (*UpdateOrgOp) UnmarshalVT ¶
func (m *UpdateOrgOp) UnmarshalVT(dAtA []byte) error
func (*UpdateOrgOp) Validate ¶
func (o *UpdateOrgOp) Validate() error
Validate validates the operation.
type UpdateOrgOp_AddChildSo ¶
type UpdateOrgOp_AddChildSo struct {
// AddChildSo adds a child SO reference.
AddChildSo *AddOrgChildSo `protobuf:"bytes,5,opt,name=add_child_so,json=addChildSo,proto3,oneof"`
}
func (*UpdateOrgOp_AddChildSo) CloneOneofVT ¶
func (m *UpdateOrgOp_AddChildSo) CloneOneofVT() isUpdateOrgOp_Body
func (*UpdateOrgOp_AddChildSo) CloneVT ¶
func (m *UpdateOrgOp_AddChildSo) CloneVT() *UpdateOrgOp_AddChildSo
func (*UpdateOrgOp_AddChildSo) EqualVT ¶
func (this *UpdateOrgOp_AddChildSo) EqualVT(thatIface isUpdateOrgOp_Body) bool
func (*UpdateOrgOp_AddChildSo) MarshalToSizedBufferVT ¶
func (m *UpdateOrgOp_AddChildSo) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*UpdateOrgOp_AddChildSo) MarshalToVT ¶
func (m *UpdateOrgOp_AddChildSo) MarshalToVT(dAtA []byte) (int, error)
func (*UpdateOrgOp_AddChildSo) SizeVT ¶
func (m *UpdateOrgOp_AddChildSo) SizeVT() (n int)
type UpdateOrgOp_AddMember ¶
type UpdateOrgOp_AddMember struct {
// AddMember adds a member to the organization.
AddMember *AddOrgMember `protobuf:"bytes,3,opt,name=add_member,json=addMember,proto3,oneof"`
}
func (*UpdateOrgOp_AddMember) CloneOneofVT ¶
func (m *UpdateOrgOp_AddMember) CloneOneofVT() isUpdateOrgOp_Body
func (*UpdateOrgOp_AddMember) CloneVT ¶
func (m *UpdateOrgOp_AddMember) CloneVT() *UpdateOrgOp_AddMember
func (*UpdateOrgOp_AddMember) EqualVT ¶
func (this *UpdateOrgOp_AddMember) EqualVT(thatIface isUpdateOrgOp_Body) bool
func (*UpdateOrgOp_AddMember) MarshalToSizedBufferVT ¶
func (m *UpdateOrgOp_AddMember) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*UpdateOrgOp_AddMember) MarshalToVT ¶
func (m *UpdateOrgOp_AddMember) MarshalToVT(dAtA []byte) (int, error)
func (*UpdateOrgOp_AddMember) SizeVT ¶
func (m *UpdateOrgOp_AddMember) SizeVT() (n int)
type UpdateOrgOp_CreateInvite ¶
type UpdateOrgOp_CreateInvite struct {
// CreateInvite creates a new invite.
CreateInvite *CreateOrgInviteOp `protobuf:"bytes,7,opt,name=create_invite,json=createInvite,proto3,oneof"`
}
func (*UpdateOrgOp_CreateInvite) CloneOneofVT ¶
func (m *UpdateOrgOp_CreateInvite) CloneOneofVT() isUpdateOrgOp_Body
func (*UpdateOrgOp_CreateInvite) CloneVT ¶
func (m *UpdateOrgOp_CreateInvite) CloneVT() *UpdateOrgOp_CreateInvite
func (*UpdateOrgOp_CreateInvite) EqualVT ¶
func (this *UpdateOrgOp_CreateInvite) EqualVT(thatIface isUpdateOrgOp_Body) bool
func (*UpdateOrgOp_CreateInvite) MarshalToSizedBufferVT ¶
func (m *UpdateOrgOp_CreateInvite) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*UpdateOrgOp_CreateInvite) MarshalToVT ¶
func (m *UpdateOrgOp_CreateInvite) MarshalToVT(dAtA []byte) (int, error)
func (*UpdateOrgOp_CreateInvite) SizeVT ¶
func (m *UpdateOrgOp_CreateInvite) SizeVT() (n int)
type UpdateOrgOp_JoinViaInvite ¶
type UpdateOrgOp_JoinViaInvite struct {
// JoinViaInvite joins the org using an invite token.
JoinViaInvite *JoinOrgViaInviteOp `protobuf:"bytes,9,opt,name=join_via_invite,json=joinViaInvite,proto3,oneof"`
}
func (*UpdateOrgOp_JoinViaInvite) CloneOneofVT ¶
func (m *UpdateOrgOp_JoinViaInvite) CloneOneofVT() isUpdateOrgOp_Body
func (*UpdateOrgOp_JoinViaInvite) CloneVT ¶
func (m *UpdateOrgOp_JoinViaInvite) CloneVT() *UpdateOrgOp_JoinViaInvite
func (*UpdateOrgOp_JoinViaInvite) EqualVT ¶
func (this *UpdateOrgOp_JoinViaInvite) EqualVT(thatIface isUpdateOrgOp_Body) bool
func (*UpdateOrgOp_JoinViaInvite) MarshalToSizedBufferVT ¶
func (m *UpdateOrgOp_JoinViaInvite) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*UpdateOrgOp_JoinViaInvite) MarshalToVT ¶
func (m *UpdateOrgOp_JoinViaInvite) MarshalToVT(dAtA []byte) (int, error)
func (*UpdateOrgOp_JoinViaInvite) SizeVT ¶
func (m *UpdateOrgOp_JoinViaInvite) SizeVT() (n int)
type UpdateOrgOp_RemoveChildSo ¶
type UpdateOrgOp_RemoveChildSo struct {
// RemoveChildSo removes a child SO reference.
RemoveChildSo *RemoveOrgChildSo `protobuf:"bytes,6,opt,name=remove_child_so,json=removeChildSo,proto3,oneof"`
}
func (*UpdateOrgOp_RemoveChildSo) CloneOneofVT ¶
func (m *UpdateOrgOp_RemoveChildSo) CloneOneofVT() isUpdateOrgOp_Body
func (*UpdateOrgOp_RemoveChildSo) CloneVT ¶
func (m *UpdateOrgOp_RemoveChildSo) CloneVT() *UpdateOrgOp_RemoveChildSo
func (*UpdateOrgOp_RemoveChildSo) EqualVT ¶
func (this *UpdateOrgOp_RemoveChildSo) EqualVT(thatIface isUpdateOrgOp_Body) bool
func (*UpdateOrgOp_RemoveChildSo) MarshalToSizedBufferVT ¶
func (m *UpdateOrgOp_RemoveChildSo) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*UpdateOrgOp_RemoveChildSo) MarshalToVT ¶
func (m *UpdateOrgOp_RemoveChildSo) MarshalToVT(dAtA []byte) (int, error)
func (*UpdateOrgOp_RemoveChildSo) SizeVT ¶
func (m *UpdateOrgOp_RemoveChildSo) SizeVT() (n int)
type UpdateOrgOp_RemoveMember ¶
type UpdateOrgOp_RemoveMember struct {
// RemoveMember removes a member from the organization.
RemoveMember *RemoveOrgMember `protobuf:"bytes,4,opt,name=remove_member,json=removeMember,proto3,oneof"`
}
func (*UpdateOrgOp_RemoveMember) CloneOneofVT ¶
func (m *UpdateOrgOp_RemoveMember) CloneOneofVT() isUpdateOrgOp_Body
func (*UpdateOrgOp_RemoveMember) CloneVT ¶
func (m *UpdateOrgOp_RemoveMember) CloneVT() *UpdateOrgOp_RemoveMember
func (*UpdateOrgOp_RemoveMember) EqualVT ¶
func (this *UpdateOrgOp_RemoveMember) EqualVT(thatIface isUpdateOrgOp_Body) bool
func (*UpdateOrgOp_RemoveMember) MarshalToSizedBufferVT ¶
func (m *UpdateOrgOp_RemoveMember) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*UpdateOrgOp_RemoveMember) MarshalToVT ¶
func (m *UpdateOrgOp_RemoveMember) MarshalToVT(dAtA []byte) (int, error)
func (*UpdateOrgOp_RemoveMember) SizeVT ¶
func (m *UpdateOrgOp_RemoveMember) SizeVT() (n int)
type UpdateOrgOp_RevokeInvite ¶
type UpdateOrgOp_RevokeInvite struct {
// RevokeInvite revokes an existing invite.
RevokeInvite *RevokeOrgInviteOp `protobuf:"bytes,8,opt,name=revoke_invite,json=revokeInvite,proto3,oneof"`
}
func (*UpdateOrgOp_RevokeInvite) CloneOneofVT ¶
func (m *UpdateOrgOp_RevokeInvite) CloneOneofVT() isUpdateOrgOp_Body
func (*UpdateOrgOp_RevokeInvite) CloneVT ¶
func (m *UpdateOrgOp_RevokeInvite) CloneVT() *UpdateOrgOp_RevokeInvite
func (*UpdateOrgOp_RevokeInvite) EqualVT ¶
func (this *UpdateOrgOp_RevokeInvite) EqualVT(thatIface isUpdateOrgOp_Body) bool
func (*UpdateOrgOp_RevokeInvite) MarshalToSizedBufferVT ¶
func (m *UpdateOrgOp_RevokeInvite) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*UpdateOrgOp_RevokeInvite) MarshalToVT ¶
func (m *UpdateOrgOp_RevokeInvite) MarshalToVT(dAtA []byte) (int, error)
func (*UpdateOrgOp_RevokeInvite) SizeVT ¶
func (m *UpdateOrgOp_RevokeInvite) SizeVT() (n int)
type UpdateOrgOp_UpdateDisplayName ¶
type UpdateOrgOp_UpdateDisplayName struct {
// UpdateDisplayName changes the display name.
UpdateDisplayName *UpdateOrgDisplayName `protobuf:"bytes,2,opt,name=update_display_name,json=updateDisplayName,proto3,oneof"`
}
func (*UpdateOrgOp_UpdateDisplayName) CloneOneofVT ¶
func (m *UpdateOrgOp_UpdateDisplayName) CloneOneofVT() isUpdateOrgOp_Body
func (*UpdateOrgOp_UpdateDisplayName) CloneVT ¶
func (m *UpdateOrgOp_UpdateDisplayName) CloneVT() *UpdateOrgOp_UpdateDisplayName
func (*UpdateOrgOp_UpdateDisplayName) EqualVT ¶
func (this *UpdateOrgOp_UpdateDisplayName) EqualVT(thatIface isUpdateOrgOp_Body) bool
func (*UpdateOrgOp_UpdateDisplayName) MarshalToSizedBufferVT ¶
func (m *UpdateOrgOp_UpdateDisplayName) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*UpdateOrgOp_UpdateDisplayName) MarshalToVT ¶
func (m *UpdateOrgOp_UpdateDisplayName) MarshalToVT(dAtA []byte) (int, error)
func (*UpdateOrgOp_UpdateDisplayName) SizeVT ¶
func (m *UpdateOrgOp_UpdateDisplayName) SizeVT() (n int)
type WatchOrgStateRequest ¶
type WatchOrgStateRequest struct {
// contains filtered or unexported fields
}
WatchOrgStateRequest is a request to watch organization state.
func (*WatchOrgStateRequest) CloneMessageVT ¶
func (m *WatchOrgStateRequest) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*WatchOrgStateRequest) CloneVT ¶
func (m *WatchOrgStateRequest) CloneVT() *WatchOrgStateRequest
func (*WatchOrgStateRequest) EqualMessageVT ¶
func (this *WatchOrgStateRequest) EqualMessageVT(thatMsg any) bool
func (*WatchOrgStateRequest) EqualVT ¶
func (this *WatchOrgStateRequest) EqualVT(that *WatchOrgStateRequest) bool
func (*WatchOrgStateRequest) MarshalJSON ¶
func (x *WatchOrgStateRequest) MarshalJSON() ([]byte, error)
MarshalJSON marshals the WatchOrgStateRequest to JSON.
func (*WatchOrgStateRequest) MarshalProtoJSON ¶
func (x *WatchOrgStateRequest) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the WatchOrgStateRequest message to JSON.
func (*WatchOrgStateRequest) MarshalProtoText ¶
func (x *WatchOrgStateRequest) MarshalProtoText() string
func (*WatchOrgStateRequest) MarshalToSizedBufferVT ¶
func (m *WatchOrgStateRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*WatchOrgStateRequest) MarshalToVT ¶
func (m *WatchOrgStateRequest) MarshalToVT(dAtA []byte) (int, error)
func (*WatchOrgStateRequest) MarshalVT ¶
func (m *WatchOrgStateRequest) MarshalVT() (dAtA []byte, err error)
func (*WatchOrgStateRequest) ProtoMessage ¶
func (*WatchOrgStateRequest) ProtoMessage()
func (*WatchOrgStateRequest) Reset ¶
func (x *WatchOrgStateRequest) Reset()
func (*WatchOrgStateRequest) SizeVT ¶
func (m *WatchOrgStateRequest) SizeVT() (n int)
func (*WatchOrgStateRequest) String ¶
func (x *WatchOrgStateRequest) String() string
func (*WatchOrgStateRequest) UnmarshalJSON ¶
func (x *WatchOrgStateRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the WatchOrgStateRequest from JSON.
func (*WatchOrgStateRequest) UnmarshalProtoJSON ¶
func (x *WatchOrgStateRequest) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the WatchOrgStateRequest message from JSON.
func (*WatchOrgStateRequest) UnmarshalVT ¶
func (m *WatchOrgStateRequest) UnmarshalVT(dAtA []byte) error
type WatchOrgStateResponse ¶
type WatchOrgStateResponse struct {
// State is the current organization state.
State *OrgState `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"`
// contains filtered or unexported fields
}
WatchOrgStateResponse contains the current organization state.
func (*WatchOrgStateResponse) CloneMessageVT ¶
func (m *WatchOrgStateResponse) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*WatchOrgStateResponse) CloneVT ¶
func (m *WatchOrgStateResponse) CloneVT() *WatchOrgStateResponse
func (*WatchOrgStateResponse) EqualMessageVT ¶
func (this *WatchOrgStateResponse) EqualMessageVT(thatMsg any) bool
func (*WatchOrgStateResponse) EqualVT ¶
func (this *WatchOrgStateResponse) EqualVT(that *WatchOrgStateResponse) bool
func (*WatchOrgStateResponse) GetState ¶
func (x *WatchOrgStateResponse) GetState() *OrgState
func (*WatchOrgStateResponse) MarshalJSON ¶
func (x *WatchOrgStateResponse) MarshalJSON() ([]byte, error)
MarshalJSON marshals the WatchOrgStateResponse to JSON.
func (*WatchOrgStateResponse) MarshalProtoJSON ¶
func (x *WatchOrgStateResponse) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the WatchOrgStateResponse message to JSON.
func (*WatchOrgStateResponse) MarshalProtoText ¶
func (x *WatchOrgStateResponse) MarshalProtoText() string
func (*WatchOrgStateResponse) MarshalToSizedBufferVT ¶
func (m *WatchOrgStateResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*WatchOrgStateResponse) MarshalToVT ¶
func (m *WatchOrgStateResponse) MarshalToVT(dAtA []byte) (int, error)
func (*WatchOrgStateResponse) MarshalVT ¶
func (m *WatchOrgStateResponse) MarshalVT() (dAtA []byte, err error)
func (*WatchOrgStateResponse) ProtoMessage ¶
func (*WatchOrgStateResponse) ProtoMessage()
func (*WatchOrgStateResponse) Reset ¶
func (x *WatchOrgStateResponse) Reset()
func (*WatchOrgStateResponse) SizeVT ¶
func (m *WatchOrgStateResponse) SizeVT() (n int)
func (*WatchOrgStateResponse) String ¶
func (x *WatchOrgStateResponse) String() string
func (*WatchOrgStateResponse) UnmarshalJSON ¶
func (x *WatchOrgStateResponse) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the WatchOrgStateResponse from JSON.
func (*WatchOrgStateResponse) UnmarshalProtoJSON ¶
func (x *WatchOrgStateResponse) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the WatchOrgStateResponse message from JSON.
func (*WatchOrgStateResponse) UnmarshalVT ¶
func (m *WatchOrgStateResponse) UnmarshalVT(dAtA []byte) error